Class: MicrosoftGraph::Models::IdentityApiConnector
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/identity_api_connector.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#authentication_configuration ⇒ Object
Gets the authenticationConfiguration property value.
-
#authentication_configuration=(value) ⇒ Object
Sets the authenticationConfiguration property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new identityApiConnector and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#target_url ⇒ Object
Gets the targetUrl property value.
-
#target_url=(value) ⇒ Object
Sets the targetUrl property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new identityApiConnector and sets the default values.
37 38 39 |
# File 'lib/models/identity_api_connector.rb', line 37 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
45 46 47 48 |
# File 'lib/models/identity_api_connector.rb', line 45 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IdentityApiConnector.new end |
Instance Method Details
#authentication_configuration ⇒ Object
Gets the authenticationConfiguration property value. The object which describes the authentication configuration details for calling the API. Basic and PKCS 12 client certificate are supported.
22 23 24 |
# File 'lib/models/identity_api_connector.rb', line 22 def authentication_configuration return @authentication_configuration end |
#authentication_configuration=(value) ⇒ Object
Sets the authenticationConfiguration property value. The object which describes the authentication configuration details for calling the API. Basic and PKCS 12 client certificate are supported.
30 31 32 |
# File 'lib/models/identity_api_connector.rb', line 30 def authentication_configuration=(value) @authentication_configuration = value end |
#display_name ⇒ Object
Gets the displayName property value. The name of the API connector.
53 54 55 |
# File 'lib/models/identity_api_connector.rb', line 53 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. The name of the API connector.
61 62 63 |
# File 'lib/models/identity_api_connector.rb', line 61 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
68 69 70 71 72 73 74 |
# File 'lib/models/identity_api_connector.rb', line 68 def get_field_deserializers() return super.merge({ "authenticationConfiguration" => lambda {|n| @authentication_configuration = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ApiAuthenticationConfigurationBase.create_from_discriminator_value(pn) }) }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "targetUrl" => lambda {|n| @target_url = n.get_string_value() }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
80 81 82 83 84 85 86 |
# File 'lib/models/identity_api_connector.rb', line 80 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("authenticationConfiguration", @authentication_configuration) writer.write_string_value("displayName", @display_name) writer.write_string_value("targetUrl", @target_url) end |
#target_url ⇒ Object
Gets the targetUrl property value. The URL of the API endpoint to call.
91 92 93 |
# File 'lib/models/identity_api_connector.rb', line 91 def target_url return @target_url end |
#target_url=(value) ⇒ Object
Sets the targetUrl property value. The URL of the API endpoint to call.
99 100 101 |
# File 'lib/models/identity_api_connector.rb', line 99 def target_url=(value) @target_url = value end |