Class: FastpixClient::Models::Components::PatchResponseData
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::PatchResponseData
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/patchresponsedata.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, reconnect_window: nil, enable_recording: nil, enable_dvr_mode: nil, media_policy: nil, metadata: nil, low_latency: nil, closed_captions: nil, playback_ids: nil, srt_playback_response: nil) ⇒ PatchResponseData
constructor
A new instance of PatchResponseData.
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, reconnect_window: nil, enable_recording: nil, enable_dvr_mode: nil, media_policy: nil, metadata: nil, low_latency: nil, closed_captions: nil, playback_ids: nil, srt_playback_response: nil) ⇒ PatchResponseData
Returns a new instance of PatchResponseData.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/fastpix_client/models/components/patchresponsedata.rb', line 51 def initialize(stream_id: nil, stream_key: nil, srt_secret: nil, trial: nil, status: nil, max_resolution: nil, max_duration: nil, created_at: nil, reconnect_window: nil, enable_recording: nil, enable_dvr_mode: nil, media_policy: nil, metadata: nil, low_latency: nil, closed_captions: nil, playback_ids: nil, srt_playback_response: nil) @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 @reconnect_window = reconnect_window @enable_recording = enable_recording @enable_dvr_mode = enable_dvr_mode @media_policy = media_policy @metadata = @low_latency = low_latency @closed_captions = closed_captions @playback_ids = playback_ids @srt_playback_response = srt_playback_response end |
Instance Method Details
#==(other) ⇒ Object
72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/fastpix_client/models/components/patchresponsedata.rb', line 72 def ==(other) return false unless other.is_a? self.class [@stream_id, @stream_key, @srt_secret, @trial, @status, @max_resolution, @max_duration, @created_at, @reconnect_window, @enable_recording, @enable_dvr_mode, @media_policy, @metadata, @low_latency, @closed_captions, @playback_ids, @srt_playback_response] == [other.stream_id, other.stream_key, other.srt_secret, other.trial, other.status, other.max_resolution, other.max_duration, other.created_at, other.reconnect_window, other.enable_recording, other.enable_dvr_mode, other.media_policy, other., other.low_latency, other.closed_captions, other.playback_ids, other.srt_playback_response] end |