Class: Kombo::Models::Shared::PostAtsImportTrackedApplicationRequestBodySuccessfactorsApplicationRemoteID

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id_type:, application_remote_id:) ⇒ PostAtsImportTrackedApplicationRequestBodySuccessfactorsApplicationRemoteID

Returns a new instance of PostAtsImportTrackedApplicationRequestBodySuccessfactorsApplicationRemoteID.



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

def initialize(id_type:, application_remote_id:)
  unless id_type == 'application_remote_id'
    raise ArgumentError, 'Invalid value for id_type'
  end
  @id_type = 'application_remote_id'
  @application_remote_id = application_remote_id
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id_type == other.id_type
  return false unless @application_remote_id == other.application_remote_id
  true
end