Class: MicrosoftGraph::Models::RecordOperation
- Inherits:
-
CommsOperation
- Object
- Entity
- CommsOperation
- MicrosoftGraph::Models::RecordOperation
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/record_operation.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
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new recordOperation and sets the default values.
-
#recording_access_token ⇒ Object
Gets the recordingAccessToken property value.
-
#recording_access_token=(value) ⇒ Object
Sets the recordingAccessToken property value.
-
#recording_location ⇒ Object
Gets the recordingLocation property value.
-
#recording_location=(value) ⇒ Object
Sets the recordingLocation property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from CommsOperation
#client_context, #client_context=, #result_info, #result_info=, #status, #status=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new recordOperation and sets the default values.
19 20 21 |
# File 'lib/models/record_operation.rb', line 19 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
27 28 29 30 |
# File 'lib/models/record_operation.rb', line 27 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return RecordOperation.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
35 36 37 38 39 40 |
# File 'lib/models/record_operation.rb', line 35 def get_field_deserializers() return super.merge({ "recordingAccessToken" => lambda {|n| @recording_access_token = n.get_string_value() }, "recordingLocation" => lambda {|n| @recording_location = n.get_string_value() }, }) end |
#recording_access_token ⇒ Object
Gets the recordingAccessToken property value. The access token required to retrieve the recording.
45 46 47 |
# File 'lib/models/record_operation.rb', line 45 def recording_access_token return @recording_access_token end |
#recording_access_token=(value) ⇒ Object
Sets the recordingAccessToken property value. The access token required to retrieve the recording.
53 54 55 |
# File 'lib/models/record_operation.rb', line 53 def recording_access_token=(value) @recording_access_token = value end |
#recording_location ⇒ Object
Gets the recordingLocation property value. The location where the recording is located.
60 61 62 |
# File 'lib/models/record_operation.rb', line 60 def recording_location return @recording_location end |
#recording_location=(value) ⇒ Object
Sets the recordingLocation property value. The location where the recording is located.
68 69 70 |
# File 'lib/models/record_operation.rb', line 68 def recording_location=(value) @recording_location = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
76 77 78 79 80 81 |
# File 'lib/models/record_operation.rb', line 76 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("recordingAccessToken", @recording_access_token) writer.write_string_value("recordingLocation", @recording_location) end |