Class: FastpixApiSDK::Models::Components::CreateMediaRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/fastpix_api_sdk/models/components/createmediarequest.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(inputs:, access_policy:, metadata: nil, subtitle: nil, mp4_support: nil, source_access: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, access_restrictions: nil, optimize_audio: false, max_resolution: Models::Components::CreateMediaRequestMaxResolution::ONE_THOUSAND_AND_EIGHTYP) ⇒ CreateMediaRequest

Returns a new instance of CreateMediaRequest.



52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/fastpix_api_sdk/models/components/createmediarequest.rb', line 52

def initialize(inputs:, access_policy:, metadata: nil, subtitle: nil, mp4_support: nil, source_access: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, access_restrictions: nil, optimize_audio: false, max_resolution: Models::Components::CreateMediaRequestMaxResolution::ONE_THOUSAND_AND_EIGHTYP)
  @inputs = inputs
  @access_policy = access_policy
  @metadata = 
  @subtitle = subtitle
  @mp4_support = mp4_support
  @source_access = source_access
  @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



69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# File 'lib/fastpix_api_sdk/models/components/createmediarequest.rb', line 69

def ==(other)
  return false unless other.is_a? self.class
  return false unless @inputs == other.inputs
  return false unless @access_policy == other.access_policy
  return false unless @metadata == other.
  return false unless @subtitle == other.subtitle
  return false unless @mp4_support == other.mp4_support
  return false unless @source_access == other.source_access
  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