Class: MicrosoftGraph::Models::CallRecordsParticipantEndpoint
- Inherits:
-
CallRecordsEndpoint
- Object
- CallRecordsEndpoint
- MicrosoftGraph::Models::CallRecordsParticipantEndpoint
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/call_records_participant_endpoint.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
-
#cpu_cores_count ⇒ Object
Gets the cpuCoresCount property value.
-
#cpu_cores_count=(value) ⇒ Object
Sets the cpuCoresCount property value.
-
#cpu_name ⇒ Object
Gets the cpuName property value.
-
#cpu_name=(value) ⇒ Object
Sets the cpuName property value.
-
#cpu_processor_speed_in_mhz ⇒ Object
Gets the cpuProcessorSpeedInMhz property value.
-
#cpu_processor_speed_in_mhz=(value) ⇒ Object
Sets the cpuProcessorSpeedInMhz property value.
-
#feedback ⇒ Object
Gets the feedback property value.
-
#feedback=(value) ⇒ Object
Sets the feedback 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 callRecordsParticipantEndpoint and sets the default values.
-
#name ⇒ Object
Gets the name property value.
-
#name=(value) ⇒ Object
Sets the name property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from CallRecordsEndpoint
#additional_data, #additional_data=, #odata_type, #odata_type=, #user_agent, #user_agent=
Constructor Details
#initialize ⇒ Object
Instantiates a new callRecordsParticipantEndpoint and sets the default values.
31 32 33 34 |
# File 'lib/models/call_records_participant_endpoint.rb', line 31 def initialize() super @odata_type = "#microsoft.graph.callRecords.participantEndpoint" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
85 86 87 88 |
# File 'lib/models/call_records_participant_endpoint.rb', line 85 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return CallRecordsParticipantEndpoint.new end |
Instance Method Details
#cpu_cores_count ⇒ Object
Gets the cpuCoresCount property value. CPU number of cores used by the media endpoint.
39 40 41 |
# File 'lib/models/call_records_participant_endpoint.rb', line 39 def cpu_cores_count return @cpu_cores_count end |
#cpu_cores_count=(value) ⇒ Object
Sets the cpuCoresCount property value. CPU number of cores used by the media endpoint.
47 48 49 |
# File 'lib/models/call_records_participant_endpoint.rb', line 47 def cpu_cores_count=(value) @cpu_cores_count = value end |
#cpu_name ⇒ Object
Gets the cpuName property value. CPU name used by the media endpoint.
54 55 56 |
# File 'lib/models/call_records_participant_endpoint.rb', line 54 def cpu_name return @cpu_name end |
#cpu_name=(value) ⇒ Object
Sets the cpuName property value. CPU name used by the media endpoint.
62 63 64 |
# File 'lib/models/call_records_participant_endpoint.rb', line 62 def cpu_name=(value) @cpu_name = value end |
#cpu_processor_speed_in_mhz ⇒ Object
Gets the cpuProcessorSpeedInMhz property value. CPU processor speed used by the media endpoint.
69 70 71 |
# File 'lib/models/call_records_participant_endpoint.rb', line 69 def cpu_processor_speed_in_mhz return @cpu_processor_speed_in_mhz end |
#cpu_processor_speed_in_mhz=(value) ⇒ Object
Sets the cpuProcessorSpeedInMhz property value. CPU processor speed used by the media endpoint.
77 78 79 |
# File 'lib/models/call_records_participant_endpoint.rb', line 77 def cpu_processor_speed_in_mhz=(value) @cpu_processor_speed_in_mhz = value end |
#feedback ⇒ Object
Gets the feedback property value. The feedback provided by the user of this endpoint about the quality of the session.
93 94 95 |
# File 'lib/models/call_records_participant_endpoint.rb', line 93 def feedback return @feedback end |
#feedback=(value) ⇒ Object
Sets the feedback property value. The feedback provided by the user of this endpoint about the quality of the session.
101 102 103 |
# File 'lib/models/call_records_participant_endpoint.rb', line 101 def feedback=(value) @feedback = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
108 109 110 111 112 113 114 115 116 117 |
# File 'lib/models/call_records_participant_endpoint.rb', line 108 def get_field_deserializers() return super.merge({ "cpuCoresCount" => lambda {|n| @cpu_cores_count = n.get_number_value() }, "cpuName" => lambda {|n| @cpu_name = n.get_string_value() }, "cpuProcessorSpeedInMhz" => lambda {|n| @cpu_processor_speed_in_mhz = n.get_number_value() }, "feedback" => lambda {|n| @feedback = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CallRecordsUserFeedback.create_from_discriminator_value(pn) }) }, "identity" => lambda {|n| @identity = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, "name" => lambda {|n| @name = n.get_string_value() }, }) end |
#identity ⇒ Object
Gets the identity property value. Identity associated with the endpoint.
122 123 124 |
# File 'lib/models/call_records_participant_endpoint.rb', line 122 def identity return @identity end |
#identity=(value) ⇒ Object
Sets the identity property value. Identity associated with the endpoint.
130 131 132 |
# File 'lib/models/call_records_participant_endpoint.rb', line 130 def identity=(value) @identity = value end |
#name ⇒ Object
Gets the name property value. Name of the device used by the media endpoint.
137 138 139 |
# File 'lib/models/call_records_participant_endpoint.rb', line 137 def name return @name end |
#name=(value) ⇒ Object
Sets the name property value. Name of the device used by the media endpoint.
145 146 147 |
# File 'lib/models/call_records_participant_endpoint.rb', line 145 def name=(value) @name = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
153 154 155 156 157 158 159 160 161 162 |
# File 'lib/models/call_records_participant_endpoint.rb', line 153 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_number_value("cpuCoresCount", @cpu_cores_count) writer.write_string_value("cpuName", @cpu_name) writer.write_number_value("cpuProcessorSpeedInMhz", @cpu_processor_speed_in_mhz) writer.write_object_value("feedback", @feedback) writer.write_object_value("identity", @identity) writer.write_string_value("name", @name) end |