Class: FastpixApiSDK::Models::Components::CreateMediaResponse
- Inherits:
-
Object
- Object
- FastpixApiSDK::Models::Components::CreateMediaResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_api_sdk/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, trial: true, max_resolution: Models::Components::CreateMediaResponseMaxResolution::ONE_THOUSAND_AND_EIGHTYP) ⇒ 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, trial: true, max_resolution: Models::Components::CreateMediaResponseMaxResolution::ONE_THOUSAND_AND_EIGHTYP) ⇒ CreateMediaResponse
Returns a new instance of CreateMediaResponse.
35 36 37 38 39 40 41 42 43 44 |
# File 'lib/fastpix_api_sdk/models/components/createmediaresponse.rb', line 35 def initialize(id: nil, status: nil, created_at: nil, updated_at: nil, playback_ids: nil, metadata: nil, trial: true, max_resolution: Models::Components::CreateMediaResponseMaxResolution::ONE_THOUSAND_AND_EIGHTYP) @id = id @status = status @created_at = created_at @updated_at = updated_at @playback_ids = playback_ids = @trial = trial @max_resolution = max_resolution end |
Instance Method Details
#==(other) ⇒ Object
47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/fastpix_api_sdk/models/components/createmediaresponse.rb', line 47 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 @trial == other.trial return false unless @max_resolution == other.max_resolution true end |