Class: MicrosoftGraph::Models::SynchronizationTaskExecution
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::SynchronizationTaskExecution
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/synchronization_task_execution.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
-
#activity_identifier ⇒ Object
Gets the activityIdentifier property value.
-
#activity_identifier=(value) ⇒ Object
Sets the activityIdentifier property value.
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#count_entitled ⇒ Object
Gets the countEntitled property value.
-
#count_entitled=(value) ⇒ Object
Sets the countEntitled property value.
-
#count_entitled_for_provisioning ⇒ Object
Gets the countEntitledForProvisioning property value.
-
#count_entitled_for_provisioning=(value) ⇒ Object
Sets the countEntitledForProvisioning property value.
-
#count_escrowed ⇒ Object
Gets the countEscrowed property value.
-
#count_escrowed=(value) ⇒ Object
Sets the countEscrowed property value.
-
#count_escrowed_raw ⇒ Object
Gets the countEscrowedRaw property value.
-
#count_escrowed_raw=(value) ⇒ Object
Sets the countEscrowedRaw property value.
-
#count_exported ⇒ Object
Gets the countExported property value.
-
#count_exported=(value) ⇒ Object
Sets the countExported property value.
-
#count_exports ⇒ Object
Gets the countExports property value.
-
#count_exports=(value) ⇒ Object
Sets the countExports property value.
-
#count_imported ⇒ Object
Gets the countImported property value.
-
#count_imported=(value) ⇒ Object
Sets the countImported property value.
-
#count_imported_deltas ⇒ Object
Gets the countImportedDeltas property value.
-
#count_imported_deltas=(value) ⇒ Object
Sets the countImportedDeltas property value.
-
#count_imported_reference_deltas ⇒ Object
Gets the countImportedReferenceDeltas property value.
-
#count_imported_reference_deltas=(value) ⇒ Object
Sets the countImportedReferenceDeltas property value.
-
#error ⇒ Object
Gets the error property value.
-
#error=(value) ⇒ Object
Sets the error property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new synchronizationTaskExecution and sets the default values.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#state ⇒ Object
Gets the state property value.
-
#state=(value) ⇒ Object
Sets the state property value.
-
#time_began ⇒ Object
Gets the timeBegan property value.
-
#time_began=(value) ⇒ Object
Sets the timeBegan property value.
-
#time_ended ⇒ Object
Gets the timeEnded property value.
-
#time_ended=(value) ⇒ Object
Sets the timeEnded property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new synchronizationTaskExecution and sets the default values.
92 93 94 |
# File 'lib/models/synchronization_task_execution.rb', line 92 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
235 236 237 238 |
# File 'lib/models/synchronization_task_execution.rb', line 235 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SynchronizationTaskExecution.new end |
Instance Method Details
#activity_identifier ⇒ Object
Gets the activityIdentifier property value. Identifier of the job run.
62 63 64 |
# File 'lib/models/synchronization_task_execution.rb', line 62 def activity_identifier return @activity_identifier end |
#activity_identifier=(value) ⇒ Object
Sets the activityIdentifier property value. Identifier of the job run.
70 71 72 |
# File 'lib/models/synchronization_task_execution.rb', line 70 def activity_identifier=(value) @activity_identifier = value end |
#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.
77 78 79 |
# File 'lib/models/synchronization_task_execution.rb', line 77 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.
85 86 87 |
# File 'lib/models/synchronization_task_execution.rb', line 85 def additional_data=(value) @additional_data = value end |
#count_entitled ⇒ Object
Gets the countEntitled property value. Count of processed entries that were assigned for this application.
99 100 101 |
# File 'lib/models/synchronization_task_execution.rb', line 99 def count_entitled return @count_entitled end |
#count_entitled=(value) ⇒ Object
Sets the countEntitled property value. Count of processed entries that were assigned for this application.
107 108 109 |
# File 'lib/models/synchronization_task_execution.rb', line 107 def count_entitled=(value) @count_entitled = value end |
#count_entitled_for_provisioning ⇒ Object
Gets the countEntitledForProvisioning property value. Count of processed entries that were assigned for provisioning.
114 115 116 |
# File 'lib/models/synchronization_task_execution.rb', line 114 def count_entitled_for_provisioning return @count_entitled_for_provisioning end |
#count_entitled_for_provisioning=(value) ⇒ Object
Sets the countEntitledForProvisioning property value. Count of processed entries that were assigned for provisioning.
122 123 124 |
# File 'lib/models/synchronization_task_execution.rb', line 122 def count_entitled_for_provisioning=(value) @count_entitled_for_provisioning = value end |
#count_escrowed ⇒ Object
Gets the countEscrowed property value. Count of entries that were escrowed (errors).
129 130 131 |
# File 'lib/models/synchronization_task_execution.rb', line 129 def count_escrowed return @count_escrowed end |
#count_escrowed=(value) ⇒ Object
Sets the countEscrowed property value. Count of entries that were escrowed (errors).
137 138 139 |
# File 'lib/models/synchronization_task_execution.rb', line 137 def count_escrowed=(value) @count_escrowed = value end |
#count_escrowed_raw ⇒ Object
Gets the countEscrowedRaw property value. Count of entries that were escrowed, including system-generated escrows.
144 145 146 |
# File 'lib/models/synchronization_task_execution.rb', line 144 def count_escrowed_raw return @count_escrowed_raw end |
#count_escrowed_raw=(value) ⇒ Object
Sets the countEscrowedRaw property value. Count of entries that were escrowed, including system-generated escrows.
152 153 154 |
# File 'lib/models/synchronization_task_execution.rb', line 152 def count_escrowed_raw=(value) @count_escrowed_raw = value end |
#count_exported ⇒ Object
Gets the countExported property value. Count of exported entries.
159 160 161 |
# File 'lib/models/synchronization_task_execution.rb', line 159 def count_exported return @count_exported end |
#count_exported=(value) ⇒ Object
Sets the countExported property value. Count of exported entries.
167 168 169 |
# File 'lib/models/synchronization_task_execution.rb', line 167 def count_exported=(value) @count_exported = value end |
#count_exports ⇒ Object
Gets the countExports property value. Count of entries that were expected to be exported.
174 175 176 |
# File 'lib/models/synchronization_task_execution.rb', line 174 def count_exports return @count_exports end |
#count_exports=(value) ⇒ Object
Sets the countExports property value. Count of entries that were expected to be exported.
182 183 184 |
# File 'lib/models/synchronization_task_execution.rb', line 182 def count_exports=(value) @count_exports = value end |
#count_imported ⇒ Object
Gets the countImported property value. Count of imported entries.
189 190 191 |
# File 'lib/models/synchronization_task_execution.rb', line 189 def count_imported return @count_imported end |
#count_imported=(value) ⇒ Object
Sets the countImported property value. Count of imported entries.
197 198 199 |
# File 'lib/models/synchronization_task_execution.rb', line 197 def count_imported=(value) @count_imported = value end |
#count_imported_deltas ⇒ Object
Gets the countImportedDeltas property value. Count of imported delta-changes.
204 205 206 |
# File 'lib/models/synchronization_task_execution.rb', line 204 def count_imported_deltas return @count_imported_deltas end |
#count_imported_deltas=(value) ⇒ Object
Sets the countImportedDeltas property value. Count of imported delta-changes.
212 213 214 |
# File 'lib/models/synchronization_task_execution.rb', line 212 def count_imported_deltas=(value) @count_imported_deltas = value end |
#count_imported_reference_deltas ⇒ Object
Gets the countImportedReferenceDeltas property value. Count of imported delta-changes pertaining to reference changes.
219 220 221 |
# File 'lib/models/synchronization_task_execution.rb', line 219 def count_imported_reference_deltas return @count_imported_reference_deltas end |
#count_imported_reference_deltas=(value) ⇒ Object
Sets the countImportedReferenceDeltas property value. Count of imported delta-changes pertaining to reference changes.
227 228 229 |
# File 'lib/models/synchronization_task_execution.rb', line 227 def count_imported_reference_deltas=(value) @count_imported_reference_deltas = value end |
#error ⇒ Object
Gets the error property value. If an error was encountered, contains a synchronizationError object with details.
243 244 245 |
# File 'lib/models/synchronization_task_execution.rb', line 243 def error return @error end |
#error=(value) ⇒ Object
Sets the error property value. If an error was encountered, contains a synchronizationError object with details.
251 252 253 |
# File 'lib/models/synchronization_task_execution.rb', line 251 def error=(value) @error = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 |
# File 'lib/models/synchronization_task_execution.rb', line 258 def get_field_deserializers() return { "activityIdentifier" => lambda {|n| @activity_identifier = n.get_string_value() }, "countEntitled" => lambda {|n| @count_entitled = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "countEntitledForProvisioning" => lambda {|n| @count_entitled_for_provisioning = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "countEscrowed" => lambda {|n| @count_escrowed = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "countEscrowedRaw" => lambda {|n| @count_escrowed_raw = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "countExported" => lambda {|n| @count_exported = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "countExports" => lambda {|n| @count_exports = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "countImported" => lambda {|n| @count_imported = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "countImportedDeltas" => lambda {|n| @count_imported_deltas = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "countImportedReferenceDeltas" => lambda {|n| @count_imported_reference_deltas = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "error" => lambda {|n| @error = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SynchronizationError.create_from_discriminator_value(pn) }) }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "state" => lambda {|n| @state = n.get_enum_value(MicrosoftGraph::Models::SynchronizationTaskExecutionResult) }, "timeBegan" => lambda {|n| @time_began = n.get_date_time_value() }, "timeEnded" => lambda {|n| @time_ended = n.get_date_time_value() }, } end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
281 282 283 |
# File 'lib/models/synchronization_task_execution.rb', line 281 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
289 290 291 |
# File 'lib/models/synchronization_task_execution.rb', line 289 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 |
# File 'lib/models/synchronization_task_execution.rb', line 297 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("activityIdentifier", @activity_identifier) writer.write_object_value("countEntitled", @count_entitled) writer.write_object_value("countEntitledForProvisioning", @count_entitled_for_provisioning) writer.write_object_value("countEscrowed", @count_escrowed) writer.write_object_value("countEscrowedRaw", @count_escrowed_raw) writer.write_object_value("countExported", @count_exported) writer.write_object_value("countExports", @count_exports) writer.write_object_value("countImported", @count_imported) writer.write_object_value("countImportedDeltas", @count_imported_deltas) writer.write_object_value("countImportedReferenceDeltas", @count_imported_reference_deltas) writer.write_object_value("error", @error) writer.write_string_value("@odata.type", @odata_type) writer.write_enum_value("state", @state) writer.write_date_time_value("timeBegan", @time_began) writer.write_date_time_value("timeEnded", @time_ended) writer.write_additional_data(@additional_data) end |
#state ⇒ Object
Gets the state property value. The state property
320 321 322 |
# File 'lib/models/synchronization_task_execution.rb', line 320 def state return @state end |
#state=(value) ⇒ Object
Sets the state property value. The state property
328 329 330 |
# File 'lib/models/synchronization_task_execution.rb', line 328 def state=(value) @state = value end |
#time_began ⇒ Object
Gets the timeBegan property value. Time when this job run began. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
335 336 337 |
# File 'lib/models/synchronization_task_execution.rb', line 335 def time_began return @time_began end |
#time_began=(value) ⇒ Object
Sets the timeBegan property value. Time when this job run began. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
343 344 345 |
# File 'lib/models/synchronization_task_execution.rb', line 343 def time_began=(value) @time_began = value end |
#time_ended ⇒ Object
Gets the timeEnded property value. Time when this job run ended. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
350 351 352 |
# File 'lib/models/synchronization_task_execution.rb', line 350 def time_ended return @time_ended end |
#time_ended=(value) ⇒ Object
Sets the timeEnded property value. Time when this job run ended. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
358 359 360 |
# File 'lib/models/synchronization_task_execution.rb', line 358 def time_ended=(value) @time_ended = value end |