Method: Merge::Ats::PaginatedCandidateList#initialize

Defined in:
lib/merge_ruby_client/ats/types/paginated_candidate_list.rb

#initialize(next_: OMIT, previous: OMIT, results: OMIT, additional_properties: nil) ⇒ Merge::Ats::PaginatedCandidateList

Parameters:

  • next_ (String) (defaults to: OMIT)
  • previous (String) (defaults to: OMIT)
  • results (Array<Merge::Ats::Candidate>) (defaults to: OMIT)
  • additional_properties (OpenStruct) (defaults to: nil)

    Additional properties unmapped to the current class definition



29
30
31
32
33
34
35
36
37
# File 'lib/merge_ruby_client/ats/types/paginated_candidate_list.rb', line 29

def initialize(next_: OMIT, previous: OMIT, results: OMIT, additional_properties: nil)
  @next_ = next_ if next_ != OMIT
  @previous = previous if previous != OMIT
  @results = results if results != OMIT
  @additional_properties = additional_properties
  @_field_set = { "next": next_, "previous": previous, "results": results }.reject do |_k, v|
    v == OMIT
  end
end