Class: FastpixApiSDK::Models::Operations::PushMediaSettings
- Inherits:
-
Object
- Object
- FastpixApiSDK::Models::Operations::PushMediaSettings
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_api_sdk/models/operations/push_media_settings.rb
Overview
Configuration settings for media upload.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(access_policy:, start_time: nil, end_time: nil, inputs: nil, metadata: nil, subtitles: nil, source_access: nil, mp4_support: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, access_restrictions: nil, optimize_audio: true, max_resolution: Models::Operations::MaxResolution::ONE_THOUSAND_AND_EIGHTYP) ⇒ PushMediaSettings
constructor
A new instance of PushMediaSettings.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(access_policy:, start_time: nil, end_time: nil, inputs: nil, metadata: nil, subtitles: nil, source_access: nil, mp4_support: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, access_restrictions: nil, optimize_audio: true, max_resolution: Models::Operations::MaxResolution::ONE_THOUSAND_AND_EIGHTYP) ⇒ PushMediaSettings
Returns a new instance of PushMediaSettings.
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/fastpix_api_sdk/models/operations/push_media_settings.rb', line 54 def initialize(access_policy:, start_time: nil, end_time: nil, inputs: nil, metadata: nil, subtitles: nil, source_access: nil, mp4_support: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, access_restrictions: nil, optimize_audio: true, max_resolution: Models::Operations::MaxResolution::ONE_THOUSAND_AND_EIGHTYP) @access_policy = access_policy @start_time = start_time @end_time = end_time @inputs = inputs @metadata = @subtitles = subtitles @source_access = source_access @mp4_support = mp4_support @summary = summary @chapters = chapters @named_entities = named_entities @moderation = moderation @access_restrictions = access_restrictions @optimize_audio = optimize_audio @max_resolution = max_resolution end |
Instance Method Details
#==(other) ⇒ Object
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/fastpix_api_sdk/models/operations/push_media_settings.rb', line 73 def ==(other) return false unless other.is_a? self.class return false unless @access_policy == other.access_policy return false unless @start_time == other.start_time return false unless @end_time == other.end_time return false unless @inputs == other.inputs return false unless @metadata == other. return false unless @subtitles == other.subtitles return false unless @source_access == other.source_access return false unless @mp4_support == other.mp4_support 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 @access_restrictions == other.access_restrictions return false unless @optimize_audio == other.optimize_audio return false unless @max_resolution == other.max_resolution true end |