Class: MicrosoftGraph::Models::OnPremisesDirectorySynchronization
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/on_premises_directory_synchronization.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
-
#configuration ⇒ Object
Gets the configuration property value.
-
#configuration=(value) ⇒ Object
Sets the configuration property value.
-
#features ⇒ Object
Gets the features property value.
-
#features=(value) ⇒ Object
Sets the features property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new onPremisesDirectorySynchronization and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new onPremisesDirectorySynchronization and sets the default values.
34 35 36 |
# File 'lib/models/on_premises_directory_synchronization.rb', line 34 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
42 43 44 45 |
# File 'lib/models/on_premises_directory_synchronization.rb', line 42 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return OnPremisesDirectorySynchronization.new end |
Instance Method Details
#configuration ⇒ Object
Gets the configuration property value. Consists of configurations that can be fine-tuned and impact the on-premises directory synchronization process for a tenant.
19 20 21 |
# File 'lib/models/on_premises_directory_synchronization.rb', line 19 def configuration return @configuration end |
#configuration=(value) ⇒ Object
Sets the configuration property value. Consists of configurations that can be fine-tuned and impact the on-premises directory synchronization process for a tenant.
27 28 29 |
# File 'lib/models/on_premises_directory_synchronization.rb', line 27 def configuration=(value) @configuration = value end |
#features ⇒ Object
Gets the features property value. The features property
50 51 52 |
# File 'lib/models/on_premises_directory_synchronization.rb', line 50 def features return @features end |
#features=(value) ⇒ Object
Sets the features property value. The features property
58 59 60 |
# File 'lib/models/on_premises_directory_synchronization.rb', line 58 def features=(value) @features = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
65 66 67 68 69 70 |
# File 'lib/models/on_premises_directory_synchronization.rb', line 65 def get_field_deserializers() return super.merge({ "configuration" => lambda {|n| @configuration = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::OnPremisesDirectorySynchronizationConfiguration.create_from_discriminator_value(pn) }) }, "features" => lambda {|n| @features = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::OnPremisesDirectorySynchronizationFeature.create_from_discriminator_value(pn) }) }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
76 77 78 79 80 81 |
# File 'lib/models/on_premises_directory_synchronization.rb', line 76 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("configuration", @configuration) writer.write_object_value("features", @features) end |