Class: FastpixClient::Models::Components::UnusedDirectUpload
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::UnusedDirectUpload
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/unuseddirectupload.rb
Overview
Displays the result of the request.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(upload_id: nil, trial: nil, status: nil, url: nil, cors_origin: nil, push_media_settings: nil, timeout: 14_400.0) ⇒ UnusedDirectUpload
constructor
A new instance of UnusedDirectUpload.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(upload_id: nil, trial: nil, status: nil, url: nil, cors_origin: nil, push_media_settings: nil, timeout: 14_400.0) ⇒ UnusedDirectUpload
Returns a new instance of UnusedDirectUpload.
32 33 34 35 36 37 38 39 40 |
# File 'lib/fastpix_client/models/components/unuseddirectupload.rb', line 32 def initialize(upload_id: nil, trial: nil, status: nil, url: nil, cors_origin: nil, push_media_settings: nil, timeout: 14_400.0) @upload_id = upload_id @trial = trial @status = status @url = url @cors_origin = cors_origin @push_media_settings = push_media_settings @timeout = timeout end |
Instance Method Details
#==(other) ⇒ Object
43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/fastpix_client/models/components/unuseddirectupload.rb', line 43 def ==(other) return false unless other.is_a? self.class return false unless @upload_id == other.upload_id return false unless @trial == other.trial return false unless @status == other.status return false unless @url == other.url return false unless @cors_origin == other.cors_origin return false unless @push_media_settings == other.push_media_settings return false unless @timeout == other.timeout true end |