Class: FastpixApiSDK::Models::Components::SimulcastUpdateResponseData

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/fastpix_api_sdk/models/components/simulcastupdateresponse_data.rb

Overview

Displays the result of the request.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(simulcast_id: nil, url: nil, stream_key: nil, is_enabled: nil, metadata: nil) ⇒ SimulcastUpdateResponseData

Returns a new instance of SimulcastUpdateResponseData.



28
29
30
31
32
33
34
# File 'lib/fastpix_api_sdk/models/components/simulcastupdateresponse_data.rb', line 28

def initialize(simulcast_id: nil, url: nil, stream_key: nil, is_enabled: nil, metadata: nil)
  @simulcast_id = simulcast_id
  @url = url
  @stream_key = stream_key
  @is_enabled = is_enabled
   = 
end

Instance Method Details

#==(other) ⇒ Object



37
38
39
40
41
42
43
44
45
# File 'lib/fastpix_api_sdk/models/components/simulcastupdateresponse_data.rb', line 37

def ==(other)
  return false unless other.is_a? self.class
  return false unless @simulcast_id == other.simulcast_id
  return false unless @url == other.url
  return false unless @stream_key == other.stream_key
  return false unless @is_enabled == other.is_enabled
  return false unless  == other.
  true
end