Class: OpenApiSDK::Models::Operations::CreatePartnerRequestBody

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(email:, tenant_id: nil, group_id: nil, link_props: nil, name: nil, username: nil, image: nil, country: nil, description: nil) ⇒ CreatePartnerRequestBody

Returns a new instance of CreatePartnerRequestBody.



35
36
37
38
39
40
41
42
43
44
45
# File 'lib/open_api_sdk/models/operations/createpartner_requestbody.rb', line 35

def initialize(email:, tenant_id: nil, group_id: nil, link_props: nil, name: nil, username: nil, image: nil, country: nil, description: nil)
  @email = email
  @tenant_id = tenant_id
  @group_id = group_id
  @link_props = link_props
  @name = name
  @username = username
  @image = image
  @country = country
  @description = description
end

Instance Method Details

#==(other) ⇒ Object



48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/open_api_sdk/models/operations/createpartner_requestbody.rb', line 48

def ==(other)
  return false unless other.is_a? self.class
  return false unless @email == other.email
  return false unless @tenant_id == other.tenant_id
  return false unless @group_id == other.group_id
  return false unless @link_props == other.link_props
  return false unless @name == other.name
  return false unless @username == other.username
  return false unless @image == other.image
  return false unless @country == other.country
  return false unless @description == other.description
  true
end