Class: KintsugiSDK::Models::Shared::BackendSrcAddressValidationResponsesValidationErrorItem

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(type:, loc:, msg:, input:, ctx:) ⇒ BackendSrcAddressValidationResponsesValidationErrorItem

Returns a new instance of BackendSrcAddressValidationResponsesValidationErrorItem.



28
29
30
31
32
33
34
# File 'lib/kintsugi_sdk/models/shared/backend_src_address_validation_responses_validationerroritem.rb', line 28

def initialize(type:, loc:, msg:, input:, ctx:)
  @type = type
  @loc = loc
  @msg = msg
  @input = input
  @ctx = ctx
end

Instance Method Details

#==(other) ⇒ Object



37
38
39
40
41
42
43
44
45
# File 'lib/kintsugi_sdk/models/shared/backend_src_address_validation_responses_validationerroritem.rb', line 37

def ==(other)
  return false unless other.is_a? self.class
  return false unless @type == other.type
  return false unless @loc == other.loc
  return false unless @msg == other.msg
  return false unless @input == other.input
  return false unless @ctx == other.ctx
  true
end