Class: MicrosoftGraph::DirectoryObjects::Item::GetMemberObjects::GetMemberObjectsResponse
- Inherits:
-
Models::BaseCollectionPaginationCountResponse
- Object
- Models::BaseCollectionPaginationCountResponse
- MicrosoftGraph::DirectoryObjects::Item::GetMemberObjects::GetMemberObjectsResponse
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/directory_objects/item/get_member_objects/get_member_objects_response.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
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new getMemberObjectsResponse and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#value ⇒ Object
Gets the value property value.
-
#value=(value) ⇒ Object
Sets the value property value.
Methods inherited from Models::BaseCollectionPaginationCountResponse
#additional_data, #additional_data=, #odata_count, #odata_count=, #odata_next_link, #odata_next_link=
Constructor Details
#initialize ⇒ Object
Instantiates a new getMemberObjectsResponse and sets the default values.
21 22 23 |
# File 'lib/directory_objects/item/get_member_objects/get_member_objects_response.rb', line 21 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
29 30 31 32 |
# File 'lib/directory_objects/item/get_member_objects/get_member_objects_response.rb', line 29 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return GetMemberObjectsResponse.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
37 38 39 40 41 |
# File 'lib/directory_objects/item/get_member_objects/get_member_objects_response.rb', line 37 def get_field_deserializers() return super.merge({ "value" => lambda {|n| @value = n.get_collection_of_primitive_values(String) }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
47 48 49 50 51 |
# File 'lib/directory_objects/item/get_member_objects/get_member_objects_response.rb', line 47 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_primitive_values("value", @value) end |
#value ⇒ Object
Gets the value property value. The value property
56 57 58 |
# File 'lib/directory_objects/item/get_member_objects/get_member_objects_response.rb', line 56 def value return @value end |
#value=(value) ⇒ Object
Sets the value property value. The value property
64 65 66 |
# File 'lib/directory_objects/item/get_member_objects/get_member_objects_response.rb', line 64 def value=(value) @value = value end |