Class: OpenApiSDK::Models::Operations::GetCustomersLink

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, domain:, key:, short_link:, url:, program_id: nil) ⇒ GetCustomersLink

Returns a new instance of GetCustomersLink.



29
30
31
32
33
34
35
36
# File 'lib/open_api_sdk/models/operations/getcustomers_link.rb', line 29

def initialize(id:, domain:, key:, short_link:, url:, program_id: nil)
  @id = id
  @domain = domain
  @key = key
  @short_link = short_link
  @url = url
  @program_id = program_id
end

Instance Method Details

#==(other) ⇒ Object



39
40
41
42
43
44
45
46
47
48
# File 'lib/open_api_sdk/models/operations/getcustomers_link.rb', line 39

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @domain == other.domain
  return false unless @key == other.key
  return false unless @short_link == other.short_link
  return false unless @url == other.url
  return false unless @program_id == other.program_id
  true
end