Class: Kombo::Models::Shared::PostAtsJobsJobIdApplicationsRequestBodyLocationData

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(address_line_1: nil, address_line_2: nil, region_subdivision_1: nil, country_region_reference: nil, country_city_reference: nil) ⇒ PostAtsJobsJobIdApplicationsRequestBodyLocationData

Returns a new instance of PostAtsJobsJobIdApplicationsRequestBodyLocationData.



27
28
29
30
31
32
33
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_location_data.rb', line 27

def initialize(address_line_1: nil, address_line_2: nil, region_subdivision_1: nil, country_region_reference: nil, country_city_reference: nil)
  @address_line_1 = address_line_1
  @address_line_2 = address_line_2
  @region_subdivision_1 = region_subdivision_1
  @country_region_reference = country_region_reference
  @country_city_reference = country_city_reference
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
42
43
44
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_location_data.rb', line 36

def ==(other)
  return false unless other.is_a? self.class
  return false unless @address_line_1 == other.address_line_1
  return false unless @address_line_2 == other.address_line_2
  return false unless @region_subdivision_1 == other.region_subdivision_1
  return false unless @country_region_reference == other.country_region_reference
  return false unless @country_city_reference == other.country_city_reference
  true
end