Class: FastpixClient::Models::Components::GetCreateLiveStreamResponseDTO
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::GetCreateLiveStreamResponseDTO
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/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, enable_dvr_mode: nil, media_policy: nil, metadata: nil, low_latency: nil, closed_captions: nil, playback_ids: nil, simulcast_responses: nil, media_ids: 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, enable_dvr_mode: nil, media_policy: nil, metadata: nil, low_latency: nil, closed_captions: nil, playback_ids: nil, simulcast_responses: nil, media_ids: nil, srt_playback_response: nil, reconnect_window: 60) ⇒ GetCreateLiveStreamResponseDTO
Returns a new instance of GetCreateLiveStreamResponseDTO.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/fastpix_client/models/components/getcreatelivestreamresponsedto.rb', line 55 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, enable_dvr_mode: nil, media_policy: nil, metadata: nil, low_latency: nil, closed_captions: nil, playback_ids: nil, simulcast_responses: nil, media_ids: 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 @enable_dvr_mode = enable_dvr_mode @media_policy = media_policy = @low_latency = low_latency @closed_captions = closed_captions @playback_ids = playback_ids @simulcast_responses = simulcast_responses @media_ids = media_ids @srt_playback_response = srt_playback_response @reconnect_window = reconnect_window end |
Instance Method Details
#==(other) ⇒ Object
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/fastpix_client/models/components/getcreatelivestreamresponsedto.rb', line 78 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 @enable_dvr_mode == other.enable_dvr_mode return false unless @media_policy == other.media_policy return false unless == other. return false unless @low_latency == other.low_latency return false unless @closed_captions == other.closed_captions return false unless @playback_ids == other.playback_ids return false unless @simulcast_responses == other.simulcast_responses return false unless @media_ids == other.media_ids return false unless @srt_playback_response == other.srt_playback_response return false unless @reconnect_window == other.reconnect_window true end |