Class: FastpixApiSDK::Models::Components::GetCreateLiveStreamResponseDTOSrtPlaybackResponse
- Inherits:
-
Object
- Object
- FastpixApiSDK::Models::Components::GetCreateLiveStreamResponseDTOSrtPlaybackResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_api_sdk/models/components/getcreatelivestreamresponsedto_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) ⇒ GetCreateLiveStreamResponseDTOSrtPlaybackResponse
constructor
A new instance of GetCreateLiveStreamResponseDTOSrtPlaybackResponse.
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) ⇒ GetCreateLiveStreamResponseDTOSrtPlaybackResponse
Returns a new instance of GetCreateLiveStreamResponseDTOSrtPlaybackResponse.
22 23 24 25 |
# File 'lib/fastpix_api_sdk/models/components/getcreatelivestreamresponsedto_srtplaybackresponse.rb', line 22 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
28 29 30 31 32 33 |
# File 'lib/fastpix_api_sdk/models/components/getcreatelivestreamresponsedto_srtplaybackresponse.rb', line 28 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 |