Class: FastpixClient::Models::Components::CreateMediaResponse
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::CreateMediaResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/createmediaresponse.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id: nil, status: nil, created_at: nil, updated_at: nil, playback_ids: nil, metadata: nil, media_quality: nil, source_access: nil, max_resolution: nil, inputs: nil, optimize_audio: nil, trial: true) ⇒ CreateMediaResponse
constructor
A new instance of CreateMediaResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id: nil, status: nil, created_at: nil, updated_at: nil, playback_ids: nil, metadata: nil, media_quality: nil, source_access: nil, max_resolution: nil, inputs: nil, optimize_audio: nil, trial: true) ⇒ CreateMediaResponse
Returns a new instance of CreateMediaResponse.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/fastpix_client/models/components/createmediaresponse.rb', line 45 def initialize(id: nil, status: nil, created_at: nil, updated_at: nil, playback_ids: nil, metadata: nil, media_quality: nil, source_access: nil, max_resolution: nil, inputs: nil, optimize_audio: nil, trial: true) @id = id @status = status @created_at = created_at @updated_at = updated_at @playback_ids = playback_ids = @media_quality = media_quality @source_access = source_access @max_resolution = max_resolution @inputs = inputs @optimize_audio = optimize_audio @trial = trial end |
Instance Method Details
#==(other) ⇒ Object
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/fastpix_client/models/components/createmediaresponse.rb', line 61 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @status == other.status return false unless @created_at == other.created_at return false unless @updated_at == other.updated_at return false unless @playback_ids == other.playback_ids return false unless == other. return false unless @media_quality == other.media_quality return false unless @source_access == other.source_access return false unless @max_resolution == other.max_resolution return false unless @inputs == other.inputs return false unless @optimize_audio == other.optimize_audio return false unless @trial == other.trial true end |