Class: MicrosoftGraph::Models::DelegatedAdminRelationshipOperation
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/delegated_admin_relationship_operation.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
-
#created_date_time ⇒ Object
Gets the createdDateTime property value.
-
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value.
-
#data ⇒ Object
Gets the data property value.
-
#data=(value) ⇒ Object
Sets the data property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new delegatedAdminRelationshipOperation and sets the default values.
-
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value.
-
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value.
-
#operation_type ⇒ Object
Gets the operationType property value.
-
#operation_type=(value) ⇒ Object
Sets the operationType property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#status ⇒ Object
Gets the status property value.
-
#status=(value) ⇒ Object
Sets the status property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new delegatedAdminRelationshipOperation and sets the default values.
29 30 31 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 29 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
52 53 54 55 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 52 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return DelegatedAdminRelationshipOperation.new end |
Instance Method Details
#created_date_time ⇒ Object
Gets the createdDateTime property value. The time in ISO 8601 format and in UTC time when the long-running operation was created. Read-only.
36 37 38 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 36 def created_date_time return @created_date_time end |
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value. The time in ISO 8601 format and in UTC time when the long-running operation was created. Read-only.
44 45 46 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 44 def created_date_time=(value) @created_date_time = value end |
#data ⇒ Object
Gets the data property value. The data (payload) for the operation. Read-only.
60 61 62 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 60 def data return @data end |
#data=(value) ⇒ Object
Sets the data property value. The data (payload) for the operation. Read-only.
68 69 70 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 68 def data=(value) @data = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
75 76 77 78 79 80 81 82 83 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 75 def get_field_deserializers() return super.merge({ "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, "data" => lambda {|n| @data = n.get_string_value() }, "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, "operationType" => lambda {|n| @operation_type = n.get_enum_value(MicrosoftGraph::Models::DelegatedAdminRelationshipOperationType) }, "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::LongRunningOperationStatus) }, }) end |
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value. The time in ISO 8601 format and in UTC time when the long-running operation was last modified. Read-only.
88 89 90 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 88 def last_modified_date_time return @last_modified_date_time end |
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value. The time in ISO 8601 format and in UTC time when the long-running operation was last modified. Read-only.
96 97 98 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 96 def last_modified_date_time=(value) @last_modified_date_time = value end |
#operation_type ⇒ Object
Gets the operationType property value. The operationType property
103 104 105 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 103 def operation_type return @operation_type end |
#operation_type=(value) ⇒ Object
Sets the operationType property value. The operationType property
111 112 113 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 111 def operation_type=(value) @operation_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
119 120 121 122 123 124 125 126 127 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 119 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_date_time_value("createdDateTime", @created_date_time) writer.write_string_value("data", @data) writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) writer.write_enum_value("operationType", @operation_type) writer.write_enum_value("status", @status) end |
#status ⇒ Object
Gets the status property value. The status property
132 133 134 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 132 def status return @status end |
#status=(value) ⇒ Object
Sets the status property value. The status property
140 141 142 |
# File 'lib/models/delegated_admin_relationship_operation.rb', line 140 def status=(value) @status = value end |