Class: KintsugiSDK::Models::Shared::BodyUploadExemptionCertificateV1ExemptionsExemptionIdAttachmentsPost

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(file:) ⇒ BodyUploadExemptionCertificateV1ExemptionsExemptionIdAttachmentsPost

Returns a new instance of BodyUploadExemptionCertificateV1ExemptionsExemptionIdAttachmentsPost.



20
21
22
# File 'lib/kintsugi_sdk/models/shared/body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post.rb', line 20

def initialize(file:)
  @file = file
end

Instance Method Details

#==(other) ⇒ Object



25
26
27
28
29
# File 'lib/kintsugi_sdk/models/shared/body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post.rb', line 25

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