Class: MicrosoftGraph::Models::CallRecordsClientUserAgent
- Inherits:
-
CallRecordsUserAgent
- Object
- CallRecordsUserAgent
- MicrosoftGraph::Models::CallRecordsClientUserAgent
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/call_records_client_user_agent.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
-
#azure_a_d_app_id ⇒ Object
Gets the azureADAppId property value.
-
#azure_a_d_app_id=(value) ⇒ Object
Sets the azureADAppId property value.
-
#communication_service_id ⇒ Object
Gets the communicationServiceId property value.
-
#communication_service_id=(value) ⇒ Object
Sets the communicationServiceId property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new callRecordsClientUserAgent and sets the default values.
-
#platform ⇒ Object
Gets the platform property value.
-
#platform=(value) ⇒ Object
Sets the platform property value.
-
#product_family ⇒ Object
Gets the productFamily property value.
-
#product_family=(value) ⇒ Object
Sets the productFamily property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from CallRecordsUserAgent
#additional_data, #additional_data=, #application_version, #application_version=, #header_value, #header_value=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new callRecordsClientUserAgent and sets the default values.
55 56 57 58 |
# File 'lib/models/call_records_client_user_agent.rb', line 55 def initialize() super @odata_type = "#microsoft.graph.callRecords.clientUserAgent" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
64 65 66 67 |
# File 'lib/models/call_records_client_user_agent.rb', line 64 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return CallRecordsClientUserAgent.new end |
Instance Method Details
#azure_a_d_app_id ⇒ Object
Gets the azureADAppId property value. The unique identifier of the Azure AD application used by this endpoint.
25 26 27 |
# File 'lib/models/call_records_client_user_agent.rb', line 25 def azure_a_d_app_id return @azure_a_d_app_id end |
#azure_a_d_app_id=(value) ⇒ Object
Sets the azureADAppId property value. The unique identifier of the Azure AD application used by this endpoint.
33 34 35 |
# File 'lib/models/call_records_client_user_agent.rb', line 33 def azure_a_d_app_id=(value) @azure_a_d_app_id = value end |
#communication_service_id ⇒ Object
Gets the communicationServiceId property value. Immutable resource identifier of the Azure Communication Service associated with this endpoint based on Communication Services APIs.
40 41 42 |
# File 'lib/models/call_records_client_user_agent.rb', line 40 def communication_service_id return @communication_service_id end |
#communication_service_id=(value) ⇒ Object
Sets the communicationServiceId property value. Immutable resource identifier of the Azure Communication Service associated with this endpoint based on Communication Services APIs.
48 49 50 |
# File 'lib/models/call_records_client_user_agent.rb', line 48 def communication_service_id=(value) @communication_service_id = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
72 73 74 75 76 77 78 79 |
# File 'lib/models/call_records_client_user_agent.rb', line 72 def get_field_deserializers() return super.merge({ "azureADAppId" => lambda {|n| @azure_a_d_app_id = n.get_string_value() }, "communicationServiceId" => lambda {|n| @communication_service_id = n.get_string_value() }, "platform" => lambda {|n| @platform = n.get_enum_value(MicrosoftGraph::Models::CallRecordsClientPlatform) }, "productFamily" => lambda {|n| @product_family = n.get_enum_value(MicrosoftGraph::Models::CallRecordsProductFamily) }, }) end |
#platform ⇒ Object
Gets the platform property value. The platform property
84 85 86 |
# File 'lib/models/call_records_client_user_agent.rb', line 84 def platform return @platform end |
#platform=(value) ⇒ Object
Sets the platform property value. The platform property
92 93 94 |
# File 'lib/models/call_records_client_user_agent.rb', line 92 def platform=(value) @platform = value end |
#product_family ⇒ Object
Gets the productFamily property value. The productFamily property
99 100 101 |
# File 'lib/models/call_records_client_user_agent.rb', line 99 def product_family return @product_family end |
#product_family=(value) ⇒ Object
Sets the productFamily property value. The productFamily property
107 108 109 |
# File 'lib/models/call_records_client_user_agent.rb', line 107 def product_family=(value) @product_family = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
115 116 117 118 119 120 121 122 |
# File 'lib/models/call_records_client_user_agent.rb', line 115 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("azureADAppId", @azure_a_d_app_id) writer.write_string_value("communicationServiceId", @communication_service_id) writer.write_enum_value("platform", @platform) writer.write_enum_value("productFamily", @product_family) end |