Class: OpenApiSDK::Models::Operations::GetCustomerLink
- Inherits:
-
Object
- Object
- OpenApiSDK::Models::Operations::GetCustomerLink
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/operations/getcustomer_link.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, domain:, key:, short_link:, url:, program_id: nil) ⇒ GetCustomerLink
constructor
A new instance of GetCustomerLink.
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) ⇒ GetCustomerLink
Returns a new instance of GetCustomerLink.
29 30 31 32 33 34 35 36 |
# File 'lib/open_api_sdk/models/operations/getcustomer_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/getcustomer_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 |