Class: StackOne::Models::Operations::DocumentsDownloadFileRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(id:, x_account_id:, x_stackone_api_session_token: nil, export_format: nil, format: nil) ⇒ DocumentsDownloadFileRequest

Returns a new instance of DocumentsDownloadFileRequest.



27
28
29
30
31
32
33
# File 'lib/stack_one/models/operations/documents_download_file_request.rb', line 27

def initialize(id:, x_account_id:, x_stackone_api_session_token: nil, export_format: nil, format: nil)
  @id = id
  @x_account_id = 
  @x_stackone_api_session_token = x_stackone_api_session_token
  @export_format = export_format
  @format = format
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
42
43
44
# File 'lib/stack_one/models/operations/documents_download_file_request.rb', line 36

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @x_account_id == other.
  return false unless @x_stackone_api_session_token == other.x_stackone_api_session_token
  return false unless @export_format == other.export_format
  return false unless @format == other.format
  true
end