Class: MicrosoftGraph::Models::DelegatedAdminAccessAssignment
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/delegated_admin_access_assignment.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
-
#access_container ⇒ Object
Gets the accessContainer property value.
-
#access_container=(value) ⇒ Object
Sets the accessContainer property value.
-
#access_details ⇒ Object
Gets the accessDetails property value.
-
#access_details=(value) ⇒ Object
Sets the accessDetails property value.
-
#created_date_time ⇒ Object
Gets the createdDateTime property value.
-
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new delegatedAdminAccessAssignment 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.
-
#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 delegatedAdminAccessAssignment and sets the default values.
59 60 61 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 59 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
82 83 84 85 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 82 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return DelegatedAdminAccessAssignment.new end |
Instance Method Details
#access_container ⇒ Object
Gets the accessContainer property value. The accessContainer property
29 30 31 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 29 def access_container return @access_container end |
#access_container=(value) ⇒ Object
Sets the accessContainer property value. The accessContainer property
37 38 39 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 37 def access_container=(value) @access_container = value end |
#access_details ⇒ Object
Gets the accessDetails property value. The accessDetails property
44 45 46 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 44 def access_details return @access_details end |
#access_details=(value) ⇒ Object
Sets the accessDetails property value. The accessDetails property
52 53 54 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 52 def access_details=(value) @access_details = value end |
#created_date_time ⇒ Object
Gets the createdDateTime property value. The date and time in ISO 8601 format and in UTC time when the access assignment was created. Read-only.
66 67 68 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 66 def created_date_time return @created_date_time end |
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value. The date and time in ISO 8601 format and in UTC time when the access assignment was created. Read-only.
74 75 76 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 74 def created_date_time=(value) @created_date_time = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
90 91 92 93 94 95 96 97 98 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 90 def get_field_deserializers() return super.merge({ "accessContainer" => lambda {|n| @access_container = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DelegatedAdminAccessContainer.create_from_discriminator_value(pn) }) }, "accessDetails" => lambda {|n| @access_details = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DelegatedAdminAccessDetails.create_from_discriminator_value(pn) }) }, "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::DelegatedAdminAccessAssignmentStatus) }, }) end |
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value. The date and time in ISO 8601 and in UTC time when this access assignment was last modified. Read-only.
103 104 105 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 103 def last_modified_date_time return @last_modified_date_time end |
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value. The date and time in ISO 8601 and in UTC time when this access assignment was last modified. Read-only.
111 112 113 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 111 def last_modified_date_time=(value) @last_modified_date_time = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
119 120 121 122 123 124 125 126 127 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 119 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("accessContainer", @access_container) writer.write_object_value("accessDetails", @access_details) writer.write_date_time_value("createdDateTime", @created_date_time) writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) writer.write_enum_value("status", @status) end |
#status ⇒ Object
Gets the status property value. The status of the access assignment. Read-only. The possible values are: pending, active, deleting, deleted, error, unknownFutureValue.
132 133 134 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 132 def status return @status end |
#status=(value) ⇒ Object
Sets the status property value. The status of the access assignment. Read-only. The possible values are: pending, active, deleting, deleted, error, unknownFutureValue.
140 141 142 |
# File 'lib/models/delegated_admin_access_assignment.rb', line 140 def status=(value) @status = value end |