Class: GustoEmbedded::Models::Operations::PutV1ContractorDocumentSignRequestBody

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(fields_:, agree:, signed_by_ip_address: nil) ⇒ PutV1ContractorDocumentSignRequestBody

Returns a new instance of PutV1ContractorDocumentSignRequestBody.



23
24
25
26
27
# File 'lib/gusto_embedded/models/operations/put_v1_contractor_document_sign_requestbody.rb', line 23

def initialize(fields_:, agree:, signed_by_ip_address: nil)
  @fields_ = fields_
  @agree = agree
  @signed_by_ip_address = signed_by_ip_address
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/gusto_embedded/models/operations/put_v1_contractor_document_sign_requestbody.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @fields_ == other.fields_
  return false unless @agree == other.agree
  return false unless @signed_by_ip_address == other.signed_by_ip_address
  true
end