Class: MicrosoftGraph::Models::CallRecordsSession
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/call_records_session.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
-
#callee ⇒ Object
Gets the callee property value.
-
#callee=(value) ⇒ Object
Sets the callee property value.
-
#caller ⇒ Object
Gets the caller property value.
-
#caller=(value) ⇒ Object
Sets the caller property value.
-
#end_date_time ⇒ Object
Gets the endDateTime property value.
-
#end_date_time=(value) ⇒ Object
Sets the endDateTime property value.
-
#failure_info ⇒ Object
Gets the failureInfo property value.
-
#failure_info=(value) ⇒ Object
Sets the failureInfo property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new callRecordsSession and sets the default values.
-
#is_test ⇒ Object
Gets the isTest property value.
-
#is_test=(value) ⇒ Object
Sets the isTest property value.
-
#modalities ⇒ Object
Gets the modalities property value.
-
#modalities=(value) ⇒ Object
Sets the modalities property value.
-
#segments ⇒ Object
Gets the segments property value.
-
#segments=(value) ⇒ Object
Sets the segments property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#start_date_time ⇒ Object
Gets the startDateTime property value.
-
#start_date_time=(value) ⇒ Object
Sets the startDateTime property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new callRecordsSession and sets the default values.
68 69 70 |
# File 'lib/models/call_records_session.rb', line 68 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
76 77 78 79 |
# File 'lib/models/call_records_session.rb', line 76 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return CallRecordsSession.new end |
Instance Method Details
#callee ⇒ Object
Gets the callee property value. Endpoint that answered the session.
38 39 40 |
# File 'lib/models/call_records_session.rb', line 38 def callee return @callee end |
#callee=(value) ⇒ Object
Sets the callee property value. Endpoint that answered the session.
46 47 48 |
# File 'lib/models/call_records_session.rb', line 46 def callee=(value) @callee = value end |
#caller ⇒ Object
Gets the caller property value. Endpoint that initiated the session.
53 54 55 |
# File 'lib/models/call_records_session.rb', line 53 def caller return @caller end |
#caller=(value) ⇒ Object
Sets the caller property value. Endpoint that initiated the session.
61 62 63 |
# File 'lib/models/call_records_session.rb', line 61 def caller=(value) @caller = value end |
#end_date_time ⇒ Object
Gets the endDateTime property value. UTC time when the last user left the session. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
84 85 86 |
# File 'lib/models/call_records_session.rb', line 84 def end_date_time return @end_date_time end |
#end_date_time=(value) ⇒ Object
Sets the endDateTime property value. UTC time when the last user left the session. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
92 93 94 |
# File 'lib/models/call_records_session.rb', line 92 def end_date_time=(value) @end_date_time = value end |
#failure_info ⇒ Object
Gets the failureInfo property value. Failure information associated with the session if the session failed.
99 100 101 |
# File 'lib/models/call_records_session.rb', line 99 def failure_info return @failure_info end |
#failure_info=(value) ⇒ Object
Sets the failureInfo property value. Failure information associated with the session if the session failed.
107 108 109 |
# File 'lib/models/call_records_session.rb', line 107 def failure_info=(value) @failure_info = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/models/call_records_session.rb', line 114 def get_field_deserializers() return super.merge({ "callee" => lambda {|n| @callee = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CallRecordsEndpoint.create_from_discriminator_value(pn) }) }, "caller" => lambda {|n| @caller = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CallRecordsEndpoint.create_from_discriminator_value(pn) }) }, "endDateTime" => lambda {|n| @end_date_time = n.get_date_time_value() }, "failureInfo" => lambda {|n| @failure_info = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CallRecordsFailureInfo.create_from_discriminator_value(pn) }) }, "isTest" => lambda {|n| @is_test = n.get_boolean_value() }, "modalities" => lambda {|n| @modalities = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::CallRecordsModality.create_from_discriminator_value(pn) }) }, "segments" => lambda {|n| @segments = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::CallRecordsSegment.create_from_discriminator_value(pn) }) }, "startDateTime" => lambda {|n| @start_date_time = n.get_date_time_value() }, }) end |
#is_test ⇒ Object
Gets the isTest property value. Specifies whether the session is a test.
130 131 132 |
# File 'lib/models/call_records_session.rb', line 130 def is_test return @is_test end |
#is_test=(value) ⇒ Object
Sets the isTest property value. Specifies whether the session is a test.
138 139 140 |
# File 'lib/models/call_records_session.rb', line 138 def is_test=(value) @is_test = value end |
#modalities ⇒ Object
Gets the modalities property value. List of modalities present in the session. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
145 146 147 |
# File 'lib/models/call_records_session.rb', line 145 def modalities return @modalities end |
#modalities=(value) ⇒ Object
Sets the modalities property value. List of modalities present in the session. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
153 154 155 |
# File 'lib/models/call_records_session.rb', line 153 def modalities=(value) @modalities = value end |
#segments ⇒ Object
Gets the segments property value. The list of segments involved in the session. Read-only. Nullable.
160 161 162 |
# File 'lib/models/call_records_session.rb', line 160 def segments return @segments end |
#segments=(value) ⇒ Object
Sets the segments property value. The list of segments involved in the session. Read-only. Nullable.
168 169 170 |
# File 'lib/models/call_records_session.rb', line 168 def segments=(value) @segments = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'lib/models/call_records_session.rb', line 176 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("callee", @callee) writer.write_object_value("caller", @caller) writer.write_date_time_value("endDateTime", @end_date_time) writer.write_object_value("failureInfo", @failure_info) writer.write_boolean_value("isTest", @is_test) writer.write_collection_of_object_values("modalities", @modalities) writer.write_collection_of_object_values("segments", @segments) writer.write_date_time_value("startDateTime", @start_date_time) end |
#start_date_time ⇒ Object
Gets the startDateTime property value. UTC time when the first user joined the session. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
192 193 194 |
# File 'lib/models/call_records_session.rb', line 192 def start_date_time return @start_date_time end |
#start_date_time=(value) ⇒ Object
Sets the startDateTime property value. UTC time when the first user joined the session. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
200 201 202 |
# File 'lib/models/call_records_session.rb', line 200 def start_date_time=(value) @start_date_time = value end |