Class: MicrosoftGraph::Models::CallRecordingEventMessageDetail

Inherits:
EventMessageDetail show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/call_recording_event_message_detail.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from EventMessageDetail

#additional_data, #additional_data=, #odata_type, #odata_type=

Constructor Details

#initializeObject

Instantiates a new callRecordingEventMessageDetail and sets the default values.



109
110
111
112
# File 'lib/models/call_recording_event_message_detail.rb', line 109

def initialize()
    super
    @odata_type = "#microsoft.graph.callRecordingEventMessageDetail"
end

Class Method Details

.create_from_discriminator_value(parse_node) ⇒ Object

Creates a new instance of the appropriate class based on discriminator value

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a call_recording_event_message_detail

Raises:

  • (StandardError)


118
119
120
121
# File 'lib/models/call_recording_event_message_detail.rb', line 118

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return CallRecordingEventMessageDetail.new
end

Instance Method Details

#call_idObject

Gets the callId property value. Unique identifier of the call.

Returns:

  • a string



34
35
36
# File 'lib/models/call_recording_event_message_detail.rb', line 34

def call_id
    return @call_id
end

#call_id=(value) ⇒ Object

Sets the callId property value. Unique identifier of the call.

Parameters:

  • value

    Value to set for the callId property.

Returns:

  • a void



42
43
44
# File 'lib/models/call_recording_event_message_detail.rb', line 42

def call_id=(value)
    @call_id = value
end

#call_recording_display_nameObject

Gets the callRecordingDisplayName property value. Display name for the call recording.

Returns:

  • a string



49
50
51
# File 'lib/models/call_recording_event_message_detail.rb', line 49

def call_recording_display_name
    return @call_recording_display_name
end

#call_recording_display_name=(value) ⇒ Object

Sets the callRecordingDisplayName property value. Display name for the call recording.

Parameters:

  • value

    Value to set for the callRecordingDisplayName property.

Returns:

  • a void



57
58
59
# File 'lib/models/call_recording_event_message_detail.rb', line 57

def call_recording_display_name=(value)
    @call_recording_display_name = value
end

#call_recording_durationObject

Gets the callRecordingDuration property value. Duration of the call recording.

Returns:

  • a microsoft_kiota_abstractions::_i_s_o_duration



64
65
66
# File 'lib/models/call_recording_event_message_detail.rb', line 64

def call_recording_duration
    return @call_recording_duration
end

#call_recording_duration=(value) ⇒ Object

Sets the callRecordingDuration property value. Duration of the call recording.

Parameters:

  • value

    Value to set for the callRecordingDuration property.

Returns:

  • a void



72
73
74
# File 'lib/models/call_recording_event_message_detail.rb', line 72

def call_recording_duration=(value)
    @call_recording_duration = value
end

#call_recording_statusObject

Gets the callRecordingStatus property value. Status of the call recording. Possible values are: success, failure, initial, chunkFinished, unknownFutureValue.

Returns:

  • a call_recording_status



79
80
81
# File 'lib/models/call_recording_event_message_detail.rb', line 79

def call_recording_status
    return @call_recording_status
end

#call_recording_status=(value) ⇒ Object

Sets the callRecordingStatus property value. Status of the call recording. Possible values are: success, failure, initial, chunkFinished, unknownFutureValue.

Parameters:

  • value

    Value to set for the callRecordingStatus property.

Returns:

  • a void



87
88
89
# File 'lib/models/call_recording_event_message_detail.rb', line 87

def call_recording_status=(value)
    @call_recording_status = value
end

#call_recording_urlObject

Gets the callRecordingUrl property value. Call recording URL.

Returns:

  • a string



94
95
96
# File 'lib/models/call_recording_event_message_detail.rb', line 94

def call_recording_url
    return @call_recording_url
end

#call_recording_url=(value) ⇒ Object

Sets the callRecordingUrl property value. Call recording URL.

Parameters:

  • value

    Value to set for the callRecordingUrl property.

Returns:

  • a void



102
103
104
# File 'lib/models/call_recording_event_message_detail.rb', line 102

def call_recording_url=(value)
    @call_recording_url = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



126
127
128
129
130
131
132
133
134
135
136
# File 'lib/models/call_recording_event_message_detail.rb', line 126

def get_field_deserializers()
    return super.merge({
        "callId" => lambda {|n| @call_id = n.get_string_value() },
        "callRecordingDisplayName" => lambda {|n| @call_recording_display_name = n.get_string_value() },
        "callRecordingDuration" => lambda {|n| @call_recording_duration = n.get_duration_value() },
        "callRecordingStatus" => lambda {|n| @call_recording_status = n.get_enum_value(MicrosoftGraph::Models::CallRecordingStatus) },
        "callRecordingUrl" => lambda {|n| @call_recording_url = n.get_string_value() },
        "initiator" => lambda {|n| @initiator = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) },
        "meetingOrganizer" => lambda {|n| @meeting_organizer = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) },
    })
end

#initiatorObject

Gets the initiator property value. Initiator of the event.

Returns:

  • a identity_set



141
142
143
# File 'lib/models/call_recording_event_message_detail.rb', line 141

def initiator
    return @initiator
end

#initiator=(value) ⇒ Object

Sets the initiator property value. Initiator of the event.

Parameters:

  • value

    Value to set for the initiator property.

Returns:

  • a void



149
150
151
# File 'lib/models/call_recording_event_message_detail.rb', line 149

def initiator=(value)
    @initiator = value
end

#meeting_organizerObject

Gets the meetingOrganizer property value. Organizer of the meeting.

Returns:

  • a identity_set



156
157
158
# File 'lib/models/call_recording_event_message_detail.rb', line 156

def meeting_organizer
    return @meeting_organizer
end

#meeting_organizer=(value) ⇒ Object

Sets the meetingOrganizer property value. Organizer of the meeting.

Parameters:

  • value

    Value to set for the meetingOrganizer property.

Returns:

  • a void



164
165
166
# File 'lib/models/call_recording_event_message_detail.rb', line 164

def meeting_organizer=(value)
    @meeting_organizer = value
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


172
173
174
175
176
177
178
179
180
181
182
# File 'lib/models/call_recording_event_message_detail.rb', line 172

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_string_value("callId", @call_id)
    writer.write_string_value("callRecordingDisplayName", @call_recording_display_name)
    writer.write_duration_value("callRecordingDuration", @call_recording_duration)
    writer.write_enum_value("callRecordingStatus", @call_recording_status)
    writer.write_string_value("callRecordingUrl", @call_recording_url)
    writer.write_object_value("initiator", @initiator)
    writer.write_object_value("meetingOrganizer", @meeting_organizer)
end