Class: FastpixApiSDK::Models::Components::GetCreateLiveStreamResponseDTO
- Inherits:
-
Object
- Object
- FastpixApiSDK::Models::Components::GetCreateLiveStreamResponseDTO
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_api_sdk/models/components/getcreatelivestreamresponsedto.rb
Overview
Displays the result of the request.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(stream_id: nil, stream_key: nil, srt_secret: nil, trial: nil, status: nil, max_resolution: nil, max_duration: nil, created_at: nil, enable_recording: nil, media_policy: nil, metadata: nil, playback_id: nil, srt_playback_response: nil, reconnect_window: 60) ⇒ GetCreateLiveStreamResponseDTO
constructor
A new instance of GetCreateLiveStreamResponseDTO.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(stream_id: nil, stream_key: nil, srt_secret: nil, trial: nil, status: nil, max_resolution: nil, max_duration: nil, created_at: nil, enable_recording: nil, media_policy: nil, metadata: nil, playback_id: nil, srt_playback_response: nil, reconnect_window: 60) ⇒ GetCreateLiveStreamResponseDTO
Returns a new instance of GetCreateLiveStreamResponseDTO.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/fastpix_api_sdk/models/components/getcreatelivestreamresponsedto.rb', line 46 def initialize(stream_id: nil, stream_key: nil, srt_secret: nil, trial: nil, status: nil, max_resolution: nil, max_duration: nil, created_at: nil, enable_recording: nil, media_policy: nil, metadata: nil, playback_id: nil, srt_playback_response: nil, reconnect_window: 60) @stream_id = stream_id @stream_key = stream_key @srt_secret = srt_secret @trial = trial @status = status @max_resolution = max_resolution @max_duration = max_duration @created_at = created_at @enable_recording = enable_recording @media_policy = media_policy @metadata = @playback_id = playback_id @srt_playback_response = srt_playback_response @reconnect_window = reconnect_window end |
Instance Method Details
#==(other) ⇒ Object
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/fastpix_api_sdk/models/components/getcreatelivestreamresponsedto.rb', line 64 def ==(other) return false unless other.is_a? self.class return false unless @stream_id == other.stream_id return false unless @stream_key == other.stream_key return false unless @srt_secret == other.srt_secret return false unless @trial == other.trial return false unless @status == other.status return false unless @max_resolution == other.max_resolution return false unless @max_duration == other.max_duration return false unless @created_at == other.created_at return false unless @enable_recording == other.enable_recording return false unless @media_policy == other.media_policy return false unless @metadata == other. return false unless @playback_id == other.playback_id return false unless @srt_playback_response == other.srt_playback_response return false unless @reconnect_window == other.reconnect_window true end |