Class: StackOne::Models::Shared::AtsCreateOfferRequestDto

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(application_id: nil, currency: nil, offer_history: nil, offer_status: nil, passthrough: nil, salary: nil, start_date: nil) ⇒ AtsCreateOfferRequestDto

Returns a new instance of AtsCreateOfferRequestDto.



31
32
33
34
35
36
37
38
39
# File 'lib/stack_one/models/shared/atscreateofferrequestdto.rb', line 31

def initialize(application_id: nil, currency: nil, offer_history: nil, offer_status: nil, passthrough: nil, salary: nil, start_date: nil)
  @application_id = application_id
  @currency = currency
  @offer_history = offer_history
  @offer_status = offer_status
  @passthrough = passthrough
  @salary = salary
  @start_date = start_date
end

Instance Method Details

#==(other) ⇒ Object



42
43
44
45
46
47
48
49
50
51
52
# File 'lib/stack_one/models/shared/atscreateofferrequestdto.rb', line 42

def ==(other)
  return false unless other.is_a? self.class
  return false unless @application_id == other.application_id
  return false unless @currency == other.currency
  return false unless @offer_history == other.offer_history
  return false unless @offer_status == other.offer_status
  return false unless @passthrough == other.passthrough
  return false unless @salary == other.salary
  return false unless @start_date == other.start_date
  true
end