Class: GustoEmbedded::Models::Operations::PutV1ContractorDocumentSignRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(document_uuid:, request_body:, x_gusto_client_ip: nil, x_gusto_api_version: Models::Operations::PutV1ContractorDocumentSignHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ PutV1ContractorDocumentSignRequest

Returns a new instance of PutV1ContractorDocumentSignRequest.



25
26
27
28
29
30
# File 'lib/gusto_embedded/models/operations/put_v1_contractor_document_sign_request.rb', line 25

def initialize(document_uuid:, request_body:, x_gusto_client_ip: nil, x_gusto_api_version: Models::Operations::PutV1ContractorDocumentSignHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15)
  @document_uuid = document_uuid
  @request_body = request_body
  @x_gusto_client_ip = x_gusto_client_ip
  @x_gusto_api_version = x_gusto_api_version
end

Instance Method Details

#==(other) ⇒ Object



33
34
35
36
37
38
39
40
# File 'lib/gusto_embedded/models/operations/put_v1_contractor_document_sign_request.rb', line 33

def ==(other)
  return false unless other.is_a? self.class
  return false unless @document_uuid == other.document_uuid
  return false unless @request_body == other.request_body
  return false unless @x_gusto_client_ip == other.x_gusto_client_ip
  return false unless @x_gusto_api_version == other.x_gusto_api_version
  true
end