Class: StackOne::Models::Shared::AtsDocumentsUploadRequestDto

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/stack_one/models/shared/atsdocumentsuploadrequestdto.rb

Instance Method Summary collapse

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) ⇒ AtsDocumentsUploadRequestDto

Returns a new instance of AtsDocumentsUploadRequestDto.



31
32
33
34
35
36
37
38
39
# File 'lib/stack_one/models/shared/atsdocumentsuploadrequestdto.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/atsdocumentsuploadrequestdto.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