Class: FastpixApiSDK::Models::Components::SimulcastRequest
- Inherits:
-
Object
- Object
- FastpixApiSDK::Models::Components::SimulcastRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_api_sdk/models/components/simulcastrequest.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(url: nil, stream_key: nil) ⇒ SimulcastRequest
constructor
A new instance of SimulcastRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(url: nil, stream_key: nil) ⇒ SimulcastRequest
Returns a new instance of SimulcastRequest.
22 23 24 25 |
# File 'lib/fastpix_api_sdk/models/components/simulcastrequest.rb', line 22 def initialize(url: nil, stream_key: nil) @url = url @stream_key = stream_key end |
Instance Method Details
#==(other) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/fastpix_api_sdk/models/components/simulcastrequest.rb', line 28 def ==(other) return false unless other.is_a? self.class return false unless @url == other.url return false unless @stream_key == other.stream_key true end |