Class: MicrosoftGraph::Models::CallRecordsCallRecord
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/call_records_call_record.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
-
#end_date_time ⇒ Object
Gets the endDateTime property value.
-
#end_date_time=(value) ⇒ Object
Sets the endDateTime property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new callRecordsCallRecord and sets the default values.
-
#join_web_url ⇒ Object
Gets the joinWebUrl property value.
-
#join_web_url=(value) ⇒ Object
Sets the joinWebUrl property value.
-
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value.
-
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value.
-
#modalities ⇒ Object
Gets the modalities property value.
-
#modalities=(value) ⇒ Object
Sets the modalities property value.
-
#organizer ⇒ Object
Gets the organizer property value.
-
#organizer=(value) ⇒ Object
Sets the organizer property value.
-
#participants ⇒ Object
Gets the participants property value.
-
#participants=(value) ⇒ Object
Sets the participants property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#sessions ⇒ Object
Gets the sessions property value.
-
#sessions=(value) ⇒ Object
Sets the sessions property value.
-
#start_date_time ⇒ Object
Gets the startDateTime property value.
-
#start_date_time=(value) ⇒ Object
Sets the startDateTime property value.
-
#type ⇒ Object
Gets the type property value.
-
#type=(value) ⇒ Object
Sets the type property value.
-
#version ⇒ Object
Gets the version property value.
-
#version=(value) ⇒ Object
Sets the version property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new callRecordsCallRecord and sets the default values.
44 45 46 |
# File 'lib/models/call_records_call_record.rb', line 44 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
52 53 54 55 |
# File 'lib/models/call_records_call_record.rb', line 52 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return CallRecordsCallRecord.new end |
Instance Method Details
#end_date_time ⇒ Object
Gets the endDateTime property value. UTC time when the last user left the call. 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
60 61 62 |
# File 'lib/models/call_records_call_record.rb', line 60 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 call. 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
68 69 70 |
# File 'lib/models/call_records_call_record.rb', line 68 def end_date_time=(value) @end_date_time = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/models/call_records_call_record.rb', line 75 def get_field_deserializers() return super.merge({ "endDateTime" => lambda {|n| @end_date_time = n.get_date_time_value() }, "joinWebUrl" => lambda {|n| @join_web_url = n.get_string_value() }, "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, "modalities" => lambda {|n| @modalities = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::CallRecordsModality.create_from_discriminator_value(pn) }) }, "organizer" => lambda {|n| @organizer = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, "participants" => lambda {|n| @participants = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, "sessions" => lambda {|n| @sessions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::CallRecordsSession.create_from_discriminator_value(pn) }) }, "startDateTime" => lambda {|n| @start_date_time = n.get_date_time_value() }, "type" => lambda {|n| @type = n.get_enum_value(MicrosoftGraph::Models::CallRecordsCallType) }, "version" => lambda {|n| @version = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, }) end |
#join_web_url ⇒ Object
Gets the joinWebUrl property value. Meeting URL associated to the call. May not be available for a peerToPeer call record type.
93 94 95 |
# File 'lib/models/call_records_call_record.rb', line 93 def join_web_url return @join_web_url end |
#join_web_url=(value) ⇒ Object
Sets the joinWebUrl property value. Meeting URL associated to the call. May not be available for a peerToPeer call record type.
101 102 103 |
# File 'lib/models/call_records_call_record.rb', line 101 def join_web_url=(value) @join_web_url = value end |
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value. UTC time when the call record was created. 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
108 109 110 |
# File 'lib/models/call_records_call_record.rb', line 108 def last_modified_date_time return @last_modified_date_time end |
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value. UTC time when the call record was created. 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
116 117 118 |
# File 'lib/models/call_records_call_record.rb', line 116 def last_modified_date_time=(value) @last_modified_date_time = value end |
#modalities ⇒ Object
Gets the modalities property value. List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
123 124 125 |
# File 'lib/models/call_records_call_record.rb', line 123 def modalities return @modalities end |
#modalities=(value) ⇒ Object
Sets the modalities property value. List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
131 132 133 |
# File 'lib/models/call_records_call_record.rb', line 131 def modalities=(value) @modalities = value end |
#organizer ⇒ Object
Gets the organizer property value. The organizing party’s identity.
138 139 140 |
# File 'lib/models/call_records_call_record.rb', line 138 def organizer return @organizer end |
#organizer=(value) ⇒ Object
Sets the organizer property value. The organizing party’s identity.
146 147 148 |
# File 'lib/models/call_records_call_record.rb', line 146 def organizer=(value) @organizer = value end |
#participants ⇒ Object
Gets the participants property value. List of distinct identities involved in the call.
153 154 155 |
# File 'lib/models/call_records_call_record.rb', line 153 def participants return @participants end |
#participants=(value) ⇒ Object
Sets the participants property value. List of distinct identities involved in the call.
161 162 163 |
# File 'lib/models/call_records_call_record.rb', line 161 def participants=(value) @participants = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
169 170 171 172 173 174 175 176 177 178 179 180 181 182 |
# File 'lib/models/call_records_call_record.rb', line 169 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_date_time_value("endDateTime", @end_date_time) writer.write_string_value("joinWebUrl", @join_web_url) writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) writer.write_collection_of_object_values("modalities", @modalities) writer.write_object_value("organizer", @organizer) writer.write_collection_of_object_values("participants", @participants) writer.write_collection_of_object_values("sessions", @sessions) writer.write_date_time_value("startDateTime", @start_date_time) writer.write_enum_value("type", @type) writer.write_object_value("version", @version) end |
#sessions ⇒ Object
Gets the sessions property value. List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable.
187 188 189 |
# File 'lib/models/call_records_call_record.rb', line 187 def sessions return @sessions end |
#sessions=(value) ⇒ Object
Sets the sessions property value. List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable.
195 196 197 |
# File 'lib/models/call_records_call_record.rb', line 195 def sessions=(value) @sessions = value end |
#start_date_time ⇒ Object
Gets the startDateTime property value. UTC time when the first user joined the call. 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.
202 203 204 |
# File 'lib/models/call_records_call_record.rb', line 202 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 call. 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.
210 211 212 |
# File 'lib/models/call_records_call_record.rb', line 210 def start_date_time=(value) @start_date_time = value end |
#type ⇒ Object
Gets the type property value. The type property
217 218 219 |
# File 'lib/models/call_records_call_record.rb', line 217 def type return @type end |
#type=(value) ⇒ Object
Sets the type property value. The type property
225 226 227 |
# File 'lib/models/call_records_call_record.rb', line 225 def type=(value) @type = value end |
#version ⇒ Object
Gets the version property value. Monotonically increasing version of the call record. Higher version call records with the same id includes additional data compared to the lower version.
232 233 234 |
# File 'lib/models/call_records_call_record.rb', line 232 def version return @version end |
#version=(value) ⇒ Object
Sets the version property value. Monotonically increasing version of the call record. Higher version call records with the same id includes additional data compared to the lower version.
240 241 242 |
# File 'lib/models/call_records_call_record.rb', line 240 def version=(value) @version = value end |