Class: FastpixClient::Models::Components::PatchResponseData

Inherits:
Object
  • Object
show all
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

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
   = 
  @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
84
85
86
87
88
89
90
91
92
# File 'lib/fastpix_client/models/components/patchresponsedata.rb', line 72

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 @reconnect_window == other.reconnect_window
  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 @srt_playback_response == other.srt_playback_response
  true
end