lib/jss/api_object/directory_binding_type/open_directory.rb
def type_setting_xml
                type_setting = REXML::Element.new "admitmac"
                type_setting.add_element("encrypt_using_ssl").text = @encrypt_using_ssl
                type_setting.add_element("perform_secure_bind").text = @perform_secure_bind
                type_setting.add_element("use_for_authentication").text = @use_for_authentication
                type_setting.add_element("use_for_contacts").text = @use_for_contacts

                return type_setting
            end
# Return a REXML Element containing the current state of the DirectoryBindingType
# object for adding into the XML of the container.
# 
# @author Tyler Morgan
#
# @return [REXML::Element]
Return a REXML Element containing the current state of the DirectoryBindingType
object for adding into the XML of the container.
Return a REXML Element containing the current state of the DirectoryBindingType object for adding into the XML of the container .
def type_setting_xml
                type_setting = REXML::Element.new "admitmac"
                type_setting.add_element("encrypt_using_ssl").text = @encrypt_using_ssl
                type_setting.add_element("perform_secure_bind").text = @perform_secure_bind
                type_setting.add_element("use_for_authentication").text = @use_for_authentication
                type_setting.add_element("use_for_contacts").text = @use_for_contacts
                return type_setting
            end
def type_setting_xml type_setting = REXML :: Element . new "admitmac" type_setting . add_element ( "encrypt_using_ssl" ) . text = @encrypt_using_ssl type_setting . add_element ( "perform_secure_bind" ) . text = @perform_secure_bind type_setting . add_element ( "use_for_authentication" ) . text = @use_for_authentication type_setting . add_element ( "use_for_contacts" ) . text = @use_for_contacts return type_setting end
Return a REXML Element containing the current state of the DirectoryBindingType
object for adding into the XML of the container.
Return a REXML Element containing the current state of the DirectoryBindingType object for adding into the XML of the container .
None
REXML::Element
author
None