Class: KintsugiSDK::Models::Ops::UploadExemptionCertRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(exemption_id:, body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post:) ⇒ UploadExemptionCertRequest

Returns a new instance of UploadExemptionCertRequest.



22
23
24
25
# File 'lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rb', line 22

def initialize(exemption_id:, body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post:)
  @exemption_id = exemption_id
  @body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post = body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post
end

Instance Method Details

#==(other) ⇒ Object



28
29
30
31
32
33
# File 'lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rb', line 28

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