Class: FastpixClient::Models::Components::SrtPlaybackResponse
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::SrtPlaybackResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/srtplaybackresponse.rb
Overview
This object contains the livestream playback response details for SRT Protocol
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(srt_playback_stream_id: nil, srt_playback_secret: nil) ⇒ SrtPlaybackResponse
constructor
A new instance of SrtPlaybackResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(srt_playback_stream_id: nil, srt_playback_secret: nil) ⇒ SrtPlaybackResponse
Returns a new instance of SrtPlaybackResponse.
21 22 23 24 |
# File 'lib/fastpix_client/models/components/srtplaybackresponse.rb', line 21 def initialize(srt_playback_stream_id: nil, srt_playback_secret: nil) @srt_playback_stream_id = srt_playback_stream_id @srt_playback_secret = srt_playback_secret end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/fastpix_client/models/components/srtplaybackresponse.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @srt_playback_stream_id == other.srt_playback_stream_id return false unless @srt_playback_secret == other.srt_playback_secret true end |