Class: Kombo::Models::Shared::PostAtsApplicationsApplicationIdResultLinksRequestBody

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(label:, url:, details: nil, remote_fields: nil) ⇒ PostAtsApplicationsApplicationIdResultLinksRequestBody

Returns a new instance of PostAtsApplicationsApplicationIdResultLinksRequestBody.



27
28
29
30
31
32
# File 'lib/kombo/models/shared/postatsapplicationsapplicationidresultlinksrequestbody.rb', line 27

def initialize(label:, url:, details: nil, remote_fields: nil)
  @label = label
  @url = url
  @details = details
  @remote_fields = remote_fields
end

Instance Method Details

#==(other) ⇒ Object



35
36
37
38
39
40
41
42
# File 'lib/kombo/models/shared/postatsapplicationsapplicationidresultlinksrequestbody.rb', line 35

def ==(other)
  return false unless other.is_a? self.class
  return false unless @label == other.label
  return false unless @url == other.url
  return false unless @details == other.details
  return false unless @remote_fields == other.remote_fields
  true
end