Class: FastpixClient::Models::Components::LiveMediaClips
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::LiveMediaClips
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/live_media_clips.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id: nil, workspace_id: nil, stream_id: nil, creator_id: nil, status: nil, source_access: nil, playback_ids: nil, tracks: nil, mp4_support: nil, duration: nil, created_at: nil, updated_at: nil, thumbnail: nil, title: nil, max_resolution: Models::Components::LiveMediaClipsMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::LiveMediaClipsSourceResolution::ONE_THOUSAND_AND_EIGHTYP, generated_subtitles: nil, is_audio_only: nil, subtitle_available: nil, aspect_ratio: nil) ⇒ LiveMediaClips
constructor
A new instance of LiveMediaClips.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id: nil, workspace_id: nil, stream_id: nil, creator_id: nil, status: nil, source_access: nil, playback_ids: nil, tracks: nil, mp4_support: nil, duration: nil, created_at: nil, updated_at: nil, thumbnail: nil, title: nil, max_resolution: Models::Components::LiveMediaClipsMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::LiveMediaClipsSourceResolution::ONE_THOUSAND_AND_EIGHTYP, generated_subtitles: nil, is_audio_only: nil, subtitle_available: nil, aspect_ratio: nil) ⇒ LiveMediaClips
Returns a new instance of LiveMediaClips.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/fastpix_client/models/components/live_media_clips.rb', line 62 def initialize(id: nil, workspace_id: nil, stream_id: nil, creator_id: nil, status: nil, source_access: nil, playback_ids: nil, tracks: nil, mp4_support: nil, duration: nil, created_at: nil, updated_at: nil, thumbnail: nil, title: nil, max_resolution: Models::Components::LiveMediaClipsMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::LiveMediaClipsSourceResolution::ONE_THOUSAND_AND_EIGHTYP, generated_subtitles: nil, is_audio_only: nil, subtitle_available: nil, aspect_ratio: nil) @id = id @workspace_id = workspace_id @stream_id = stream_id @creator_id = creator_id @status = status @source_access = source_access @playback_ids = playback_ids @tracks = tracks @mp4_support = mp4_support @duration = duration @created_at = created_at @updated_at = updated_at @thumbnail = thumbnail @title = title @max_resolution = max_resolution @source_resolution = source_resolution @generated_subtitles = generated_subtitles @is_audio_only = is_audio_only @subtitle_available = subtitle_available @aspect_ratio = aspect_ratio end |
Instance Method Details
#==(other) ⇒ Object
86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/fastpix_client/models/components/live_media_clips.rb', line 86 def ==(other) return false unless other.is_a? self.class [@id, @workspace_id, @stream_id, @creator_id, @status, @source_access, @playback_ids, @tracks, @mp4_support, @duration, @created_at, @updated_at, @thumbnail, @title, @max_resolution, @source_resolution, @generated_subtitles, @is_audio_only, @subtitle_available, @aspect_ratio] == [other.id, other.workspace_id, other.stream_id, other.creator_id, other.status, other.source_access, other.playback_ids, other.tracks, other.mp4_support, other.duration, other.created_at, other.updated_at, other.thumbnail, other.title, other.max_resolution, other.source_resolution, other.generated_subtitles, other.is_audio_only, other.subtitle_available, other.aspect_ratio] end |