Class: MicrosoftGraph::Models::ParticipantInfo
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::ParticipantInfo
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/participant_info.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
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#country_code ⇒ Object
Gets the countryCode property value.
-
#country_code=(value) ⇒ Object
Sets the countryCode property value.
-
#endpoint_type ⇒ Object
Gets the endpointType property value.
-
#endpoint_type=(value) ⇒ Object
Sets the endpointType property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#identity ⇒ Object
Gets the identity property value.
-
#identity=(value) ⇒ Object
Sets the identity property value.
-
#initialize ⇒ Object
constructor
Instantiates a new participantInfo and sets the default values.
-
#language_id ⇒ Object
Gets the languageId property value.
-
#language_id=(value) ⇒ Object
Sets the languageId property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#participant_id ⇒ Object
Gets the participantId property value.
-
#participant_id=(value) ⇒ Object
Sets the participantId property value.
-
#region ⇒ Object
Gets the region property value.
-
#region=(value) ⇒ Object
Sets the region property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Constructor Details
#initialize ⇒ Object
Instantiates a new participantInfo and sets the default values.
52 53 54 |
# File 'lib/models/participant_info.rb', line 52 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
75 76 77 78 |
# File 'lib/models/participant_info.rb', line 75 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ParticipantInfo.new end |
Instance Method Details
#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.
37 38 39 |
# File 'lib/models/participant_info.rb', line 37 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.
45 46 47 |
# File 'lib/models/participant_info.rb', line 45 def additional_data=(value) @additional_data = value end |
#country_code ⇒ Object
Gets the countryCode property value. The ISO 3166-1 Alpha-2 country code of the participant’s best estimated physical location at the start of the call. Read-only.
59 60 61 |
# File 'lib/models/participant_info.rb', line 59 def country_code return @country_code end |
#country_code=(value) ⇒ Object
Sets the countryCode property value. The ISO 3166-1 Alpha-2 country code of the participant’s best estimated physical location at the start of the call. Read-only.
67 68 69 |
# File 'lib/models/participant_info.rb', line 67 def country_code=(value) @country_code = value end |
#endpoint_type ⇒ Object
Gets the endpointType property value. The type of endpoint the participant is using. Possible values are: default, skypeForBusiness, or skypeForBusinessVoipPhone. Read-only.
83 84 85 |
# File 'lib/models/participant_info.rb', line 83 def endpoint_type return @endpoint_type end |
#endpoint_type=(value) ⇒ Object
Sets the endpointType property value. The type of endpoint the participant is using. Possible values are: default, skypeForBusiness, or skypeForBusinessVoipPhone. Read-only.
91 92 93 |
# File 'lib/models/participant_info.rb', line 91 def endpoint_type=(value) @endpoint_type = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/models/participant_info.rb', line 98 def get_field_deserializers() return { "countryCode" => lambda {|n| @country_code = n.get_string_value() }, "endpointType" => lambda {|n| @endpoint_type = n.get_enum_value(MicrosoftGraph::Models::EndpointType) }, "identity" => lambda {|n| @identity = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, "languageId" => lambda {|n| @language_id = n.get_string_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "participantId" => lambda {|n| @participant_id = n.get_string_value() }, "region" => lambda {|n| @region = n.get_string_value() }, } end |
#identity ⇒ Object
Gets the identity property value. The identity property
113 114 115 |
# File 'lib/models/participant_info.rb', line 113 def identity return @identity end |
#identity=(value) ⇒ Object
Sets the identity property value. The identity property
121 122 123 |
# File 'lib/models/participant_info.rb', line 121 def identity=(value) @identity = value end |
#language_id ⇒ Object
Gets the languageId property value. The language culture string. Read-only.
128 129 130 |
# File 'lib/models/participant_info.rb', line 128 def language_id return @language_id end |
#language_id=(value) ⇒ Object
Sets the languageId property value. The language culture string. Read-only.
136 137 138 |
# File 'lib/models/participant_info.rb', line 136 def language_id=(value) @language_id = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
143 144 145 |
# File 'lib/models/participant_info.rb', line 143 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
151 152 153 |
# File 'lib/models/participant_info.rb', line 151 def odata_type=(value) @odata_type = value end |
#participant_id ⇒ Object
Gets the participantId property value. The participant ID of the participant. Read-only.
158 159 160 |
# File 'lib/models/participant_info.rb', line 158 def participant_id return @participant_id end |
#participant_id=(value) ⇒ Object
Sets the participantId property value. The participant ID of the participant. Read-only.
166 167 168 |
# File 'lib/models/participant_info.rb', line 166 def participant_id=(value) @participant_id = value end |
#region ⇒ Object
Gets the region property value. The home region of the participant. This can be a country, a continent, or a larger geographic region. This does not change based on the participant’s current physical location. Read-only.
173 174 175 |
# File 'lib/models/participant_info.rb', line 173 def region return @region end |
#region=(value) ⇒ Object
Sets the region property value. The home region of the participant. This can be a country, a continent, or a larger geographic region. This does not change based on the participant’s current physical location. Read-only.
181 182 183 |
# File 'lib/models/participant_info.rb', line 181 def region=(value) @region = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/models/participant_info.rb', line 189 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("countryCode", @country_code) writer.write_enum_value("endpointType", @endpoint_type) writer.write_object_value("identity", @identity) writer.write_string_value("languageId", @language_id) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("participantId", @participant_id) writer.write_string_value("region", @region) writer.write_additional_data(@additional_data) end |