Class: FastpixClient::Models::Components::UpdateMedia
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::UpdateMedia
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/update_media.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(thumbnail: nil, id: nil, workspace_id: nil, media_quality: nil, status: nil, mp4_support: nil, source_access: nil, playback_ids: nil, tracks: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, subtitle_available: nil, duration: nil, aspect_ratio: nil, created_at: nil, updated_at: nil, metadata: nil, creator_id: '8fa85f64-5717-4562-b3fc-2c963f66afa6', title: 'My Video Title', max_resolution: Models::Components::UpdateMediaMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::UpdateMediaSourceResolution::ONE_THOUSAND_AND_EIGHTYP, generated_subtitles: nil, is_audio_only: nil) ⇒ UpdateMedia
constructor
A new instance of UpdateMedia.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(thumbnail: nil, id: nil, workspace_id: nil, media_quality: nil, status: nil, mp4_support: nil, source_access: nil, playback_ids: nil, tracks: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, subtitle_available: nil, duration: nil, aspect_ratio: nil, created_at: nil, updated_at: nil, metadata: nil, creator_id: '8fa85f64-5717-4562-b3fc-2c963f66afa6', title: 'My Video Title', max_resolution: Models::Components::UpdateMediaMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::UpdateMediaSourceResolution::ONE_THOUSAND_AND_EIGHTYP, generated_subtitles: nil, is_audio_only: nil) ⇒ UpdateMedia
Returns a new instance of UpdateMedia.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/fastpix_client/models/components/update_media.rb', line 72 def initialize(thumbnail: nil, id: nil, workspace_id: nil, media_quality: nil, status: nil, mp4_support: nil, source_access: nil, playback_ids: nil, tracks: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, subtitle_available: nil, duration: nil, aspect_ratio: nil, created_at: nil, updated_at: nil, metadata: nil, creator_id: '8fa85f64-5717-4562-b3fc-2c963f66afa6', title: 'My Video Title', max_resolution: Models::Components::UpdateMediaMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::UpdateMediaSourceResolution::ONE_THOUSAND_AND_EIGHTYP, generated_subtitles: nil, is_audio_only: nil) @thumbnail = thumbnail @id = id @workspace_id = workspace_id @media_quality = media_quality @status = status @mp4_support = mp4_support @source_access = source_access @playback_ids = playback_ids @tracks = tracks @summary = summary @chapters = chapters @named_entities = named_entities @moderation = moderation @subtitle_available = subtitle_available @duration = duration @aspect_ratio = aspect_ratio @created_at = created_at @updated_at = updated_at @metadata = @creator_id = creator_id @title = title @max_resolution = max_resolution @source_resolution = source_resolution @generated_subtitles = generated_subtitles @is_audio_only = is_audio_only end |
Instance Method Details
#==(other) ⇒ Object
101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/fastpix_client/models/components/update_media.rb', line 101 def ==(other) return false unless other.is_a? self.class [@thumbnail, @id, @workspace_id, @media_quality, @status, @mp4_support, @source_access, @playback_ids, @tracks, @summary, @chapters, @named_entities, @moderation, @subtitle_available, @duration, @aspect_ratio, @created_at, @updated_at, @metadata, @creator_id, @title, @max_resolution, @source_resolution, @generated_subtitles, @is_audio_only] == [other.thumbnail, other.id, other.workspace_id, other.media_quality, other.status, other.mp4_support, other.source_access, other.playback_ids, other.tracks, other.summary, other.chapters, other.named_entities, other.moderation, other.subtitle_available, other.duration, other.aspect_ratio, other.created_at, other.updated_at, other., other.creator_id, other.title, other.max_resolution, other.source_resolution, other.generated_subtitles, other.is_audio_only] end |