Class: FastpixClient::Models::Components::GetMediaResponse
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::GetMediaResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/getmediaresponse.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id: nil, source_media_id: nil, workspace_id: nil, stream_id: nil, media_quality: nil, creator_id: nil, status: nil, mp4_support: nil, playback_ids: nil, tracks: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, duration: nil, frame_rate: nil, created_at: nil, updated_at: nil, thumbnail: nil, metadata: nil, title: nil, max_resolution: Models::Components::GetMediaResponseMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::GetMediaResponseSourceResolution::ONE_THOUSAND_AND_EIGHTYP, source_access: nil, generated_subtitles: nil, is_audio_only: nil, subtitle_available: nil, aspect_ratio: nil) ⇒ GetMediaResponse
constructor
A new instance of GetMediaResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id: nil, source_media_id: nil, workspace_id: nil, stream_id: nil, media_quality: nil, creator_id: nil, status: nil, mp4_support: nil, playback_ids: nil, tracks: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, duration: nil, frame_rate: nil, created_at: nil, updated_at: nil, thumbnail: nil, metadata: nil, title: nil, max_resolution: Models::Components::GetMediaResponseMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::GetMediaResponseSourceResolution::ONE_THOUSAND_AND_EIGHTYP, source_access: nil, generated_subtitles: nil, is_audio_only: nil, subtitle_available: nil, aspect_ratio: nil) ⇒ GetMediaResponse
Returns a new instance of GetMediaResponse.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/fastpix_client/models/components/getmediaresponse.rb', line 79 def initialize(id: nil, source_media_id: nil, workspace_id: nil, stream_id: nil, media_quality: nil, creator_id: nil, status: nil, mp4_support: nil, playback_ids: nil, tracks: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, duration: nil, frame_rate: nil, created_at: nil, updated_at: nil, thumbnail: nil, metadata: nil, title: nil, max_resolution: Models::Components::GetMediaResponseMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::GetMediaResponseSourceResolution::ONE_THOUSAND_AND_EIGHTYP, source_access: nil, generated_subtitles: nil, is_audio_only: nil, subtitle_available: nil, aspect_ratio: nil) @id = id @source_media_id = source_media_id @workspace_id = workspace_id @stream_id = stream_id @media_quality = media_quality @creator_id = creator_id @status = status @mp4_support = mp4_support @playback_ids = playback_ids @tracks = tracks @summary = summary @chapters = chapters @named_entities = named_entities @moderation = moderation @duration = duration @frame_rate = frame_rate @created_at = created_at @updated_at = updated_at @thumbnail = thumbnail = @title = title @max_resolution = max_resolution @source_resolution = source_resolution @source_access = source_access @generated_subtitles = generated_subtitles @is_audio_only = is_audio_only @subtitle_available = subtitle_available @aspect_ratio = aspect_ratio end |
Instance Method Details
#==(other) ⇒ Object
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'lib/fastpix_client/models/components/getmediaresponse.rb', line 111 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @source_media_id == other.source_media_id return false unless @workspace_id == other.workspace_id return false unless @stream_id == other.stream_id return false unless @media_quality == other.media_quality return false unless @creator_id == other.creator_id return false unless @status == other.status return false unless @mp4_support == other.mp4_support return false unless @playback_ids == other.playback_ids return false unless @tracks == other.tracks return false unless @summary == other.summary return false unless @chapters == other.chapters return false unless @named_entities == other.named_entities return false unless @moderation == other.moderation return false unless @duration == other.duration return false unless @frame_rate == other.frame_rate return false unless @created_at == other.created_at return false unless @updated_at == other.updated_at return false unless @thumbnail == other.thumbnail return false unless == other. return false unless @title == other.title return false unless @max_resolution == other.max_resolution return false unless @source_resolution == other.source_resolution return false unless @source_access == other.source_access return false unless @generated_subtitles == other.generated_subtitles return false unless @is_audio_only == other.is_audio_only return false unless @subtitle_available == other.subtitle_available return false unless @aspect_ratio == other.aspect_ratio true end |