Class: StackOne::Models::Shared::UnifiedUploadRequestDto
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::UnifiedUploadRequestDto
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/unifieduploadrequestdto.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(category: nil, category_id: nil, confidential: nil, content: nil, file_format: nil, name: nil, path: nil) ⇒ UnifiedUploadRequestDto
constructor
A new instance of UnifiedUploadRequestDto.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(category: nil, category_id: nil, confidential: nil, content: nil, file_format: nil, name: nil, path: nil) ⇒ UnifiedUploadRequestDto
Returns a new instance of UnifiedUploadRequestDto.
31 32 33 34 35 36 37 38 39 |
# File 'lib/stack_one/models/shared/unifieduploadrequestdto.rb', line 31 def initialize(category: nil, category_id: nil, confidential: nil, content: nil, file_format: nil, name: nil, path: nil) @category = category @category_id = category_id @confidential = confidential @content = content @file_format = file_format @name = name @path = path end |
Instance Method Details
#==(other) ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/stack_one/models/shared/unifieduploadrequestdto.rb', line 42 def ==(other) return false unless other.is_a? self.class return false unless @category == other.category return false unless @category_id == other.category_id return false unless @confidential == other.confidential return false unless @content == other.content return false unless @file_format == other.file_format return false unless @name == other.name return false unless @path == other.path true end |