Class: OpenApiSDK::Models::Shared::PartnerApplicationSubmittedEventPartner
- Inherits:
-
Object
- Object
- OpenApiSDK::Models::Shared::PartnerApplicationSubmittedEventPartner
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/shared/partnerapplicationsubmittedevent_partner.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, name:, status:, company_name: nil, email: nil, image: nil, country: nil, description: nil, group_id: nil, website: nil, youtube: nil, twitter: nil, linkedin: nil, instagram: nil, tiktok: nil) ⇒ PartnerApplicationSubmittedEventPartner
constructor
A new instance of PartnerApplicationSubmittedEventPartner.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, name:, status:, company_name: nil, email: nil, image: nil, country: nil, description: nil, group_id: nil, website: nil, youtube: nil, twitter: nil, linkedin: nil, instagram: nil, tiktok: nil) ⇒ PartnerApplicationSubmittedEventPartner
Returns a new instance of PartnerApplicationSubmittedEventPartner.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/open_api_sdk/models/shared/partnerapplicationsubmittedevent_partner.rb', line 47 def initialize(id:, name:, status:, company_name: nil, email: nil, image: nil, country: nil, description: nil, group_id: nil, website: nil, youtube: nil, twitter: nil, linkedin: nil, instagram: nil, tiktok: nil) @id = id @name = name @status = status @company_name = company_name @email = email @image = image @country = country @description = description @group_id = group_id @website = website @youtube = youtube @twitter = twitter @linkedin = linkedin @instagram = instagram @tiktok = tiktok end |
Instance Method Details
#==(other) ⇒ Object
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/open_api_sdk/models/shared/partnerapplicationsubmittedevent_partner.rb', line 66 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @name == other.name return false unless @status == other.status return false unless @company_name == other.company_name return false unless @email == other.email return false unless @image == other.image return false unless @country == other.country return false unless @description == other.description return false unless @group_id == other.group_id return false unless @website == other.website return false unless @youtube == other.youtube return false unless @twitter == other.twitter return false unless @linkedin == other.linkedin return false unless @instagram == other.instagram return false unless @tiktok == other.tiktok true end |