Class: Kombo::Models::Shared::PostAtsJobsJobIdApplicationsPositiveResponseSocialMedia

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(link: nil, type: nil, username: nil) ⇒ PostAtsJobsJobIdApplicationsPositiveResponseSocialMedia

Returns a new instance of PostAtsJobsJobIdApplicationsPositiveResponseSocialMedia.



23
24
25
26
27
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationspositiveresponse_social_media.rb', line 23

def initialize(link: nil, type: nil, username: nil)
  @link = link
  @type = type
  @username = username
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationspositiveresponse_social_media.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @link == other.link
  return false unless @type == other.type
  return false unless @username == other.username
  true
end