Class: MicrosoftGraph::Applications::Item::Synchronization::Jobs::Item::ValidateCredentials::ValidateCredentialsPostRequestBody
- Inherits:
-
Object
- Object
- MicrosoftGraph::Applications::Item::Synchronization::Jobs::Item::ValidateCredentials::ValidateCredentialsPostRequestBody
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.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
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#application_identifier ⇒ Object
Gets the applicationIdentifier property value.
-
#application_identifier=(value) ⇒ Object
Sets the applicationIdentifier property value.
-
#credentials ⇒ Object
Gets the credentials property value.
-
#credentials=(value) ⇒ Object
Sets the credentials property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new validateCredentialsPostRequestBody and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#template_id ⇒ Object
Gets the templateId property value.
-
#template_id=(value) ⇒ Object
Sets the templateId property value.
-
#use_saved_credentials ⇒ Object
Gets the useSavedCredentials property value.
-
#use_saved_credentials=(value) ⇒ Object
Sets the useSavedCredentials property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new validateCredentialsPostRequestBody and sets the default values.
69 70 71 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 69 def initialize() @additional_data = Hash.new end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
77 78 79 80 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 77 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ValidateCredentialsPostRequestBody.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
39 40 41 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 39 def additional_data return @additional_data end |
#additional_data=(value) ⇒ Object
Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
47 48 49 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 47 def additional_data=(value) @additional_data = value end |
#application_identifier ⇒ Object
Gets the applicationIdentifier property value. The applicationIdentifier property
54 55 56 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 54 def application_identifier return @application_identifier end |
#application_identifier=(value) ⇒ Object
Sets the applicationIdentifier property value. The applicationIdentifier property
62 63 64 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 62 def application_identifier=(value) @application_identifier = value end |
#credentials ⇒ Object
Gets the credentials property value. The credentials property
85 86 87 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 85 def credentials return @credentials end |
#credentials=(value) ⇒ Object
Sets the credentials property value. The credentials property
93 94 95 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 93 def credentials=(value) @credentials = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
100 101 102 103 104 105 106 107 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 100 def get_field_deserializers() return { "applicationIdentifier" => lambda {|n| @application_identifier = n.get_string_value() }, "credentials" => lambda {|n| @credentials = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SynchronizationSecretKeyStringValuePair.create_from_discriminator_value(pn) }) }, "templateId" => lambda {|n| @template_id = n.get_string_value() }, "useSavedCredentials" => lambda {|n| @use_saved_credentials = n.get_boolean_value() }, } end |
#serialize(writer) ⇒ Object
Serializes information the current object
113 114 115 116 117 118 119 120 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 113 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("applicationIdentifier", @application_identifier) writer.write_collection_of_object_values("credentials", @credentials) writer.write_string_value("templateId", @template_id) writer.write_boolean_value("useSavedCredentials", @use_saved_credentials) writer.write_additional_data(@additional_data) end |
#template_id ⇒ Object
Gets the templateId property value. The templateId property
125 126 127 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 125 def template_id return @template_id end |
#template_id=(value) ⇒ Object
Sets the templateId property value. The templateId property
133 134 135 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 133 def template_id=(value) @template_id = value end |
#use_saved_credentials ⇒ Object
Gets the useSavedCredentials property value. The useSavedCredentials property
140 141 142 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 140 def use_saved_credentials return @use_saved_credentials end |
#use_saved_credentials=(value) ⇒ Object
Sets the useSavedCredentials property value. The useSavedCredentials property
148 149 150 |
# File 'lib/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_post_request_body.rb', line 148 def use_saved_credentials=(value) @use_saved_credentials = value end |