Class: MicrosoftGraph::Applications::Item::Synchronization::Jobs::ValidateCredentials::ValidateCredentialsPostRequestBody
- Inherits:
-
Object
- Object
- MicrosoftGraph::Applications::Item::Synchronization::Jobs::ValidateCredentials::ValidateCredentialsPostRequestBody
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/applications/item/synchronization/jobs/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.
67 68 69 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 67 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
75 76 77 78 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 75 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.
37 38 39 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 37 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.
45 46 47 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 45 def additional_data=(value) @additional_data = value end |
#application_identifier ⇒ Object
Gets the applicationIdentifier property value. The applicationIdentifier property
52 53 54 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 52 def application_identifier return @application_identifier end |
#application_identifier=(value) ⇒ Object
Sets the applicationIdentifier property value. The applicationIdentifier property
60 61 62 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 60 def application_identifier=(value) @application_identifier = value end |
#credentials ⇒ Object
Gets the credentials property value. The credentials property
83 84 85 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 83 def credentials return @credentials end |
#credentials=(value) ⇒ Object
Sets the credentials property value. The credentials property
91 92 93 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 91 def credentials=(value) @credentials = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
98 99 100 101 102 103 104 105 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 98 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
111 112 113 114 115 116 117 118 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 111 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
123 124 125 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 123 def template_id return @template_id end |
#template_id=(value) ⇒ Object
Sets the templateId property value. The templateId property
131 132 133 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 131 def template_id=(value) @template_id = value end |
#use_saved_credentials ⇒ Object
Gets the useSavedCredentials property value. The useSavedCredentials property
138 139 140 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 138 def use_saved_credentials return @use_saved_credentials end |
#use_saved_credentials=(value) ⇒ Object
Sets the useSavedCredentials property value. The useSavedCredentials property
146 147 148 |
# File 'lib/applications/item/synchronization/jobs/validate_credentials/validate_credentials_post_request_body.rb', line 146 def use_saved_credentials=(value) @use_saved_credentials = value end |