Class: GustoEmbedded::Models::Operations::PostV1CompaniesCompanyIdPeopleBatchesHomeAddress
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::PostV1CompaniesCompanyIdPeopleBatchesHomeAddress
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/post_v1_companies_company_id_people_batches_home_address.rb
Overview
Home address for the employee
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(street_1:, city:, state:, zip:, street_2: nil, country: nil, work_from_home: nil) ⇒ PostV1CompaniesCompanyIdPeopleBatchesHomeAddress
constructor
A new instance of PostV1CompaniesCompanyIdPeopleBatchesHomeAddress.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(street_1:, city:, state:, zip:, street_2: nil, country: nil, work_from_home: nil) ⇒ PostV1CompaniesCompanyIdPeopleBatchesHomeAddress
Returns a new instance of PostV1CompaniesCompanyIdPeopleBatchesHomeAddress.
31 32 33 34 35 36 37 38 39 |
# File 'lib/gusto_embedded/models/operations/post_v1_companies_company_id_people_batches_home_address.rb', line 31 def initialize(street_1:, city:, state:, zip:, street_2: nil, country: nil, work_from_home: nil) @street_1 = street_1 @city = city @state = state @zip = zip @street_2 = street_2 @country = country @work_from_home = work_from_home end |
Instance Method Details
#==(other) ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/gusto_embedded/models/operations/post_v1_companies_company_id_people_batches_home_address.rb', line 42 def ==(other) return false unless other.is_a? self.class return false unless @street_1 == other.street_1 return false unless @city == other.city return false unless @state == other.state return false unless @zip == other.zip return false unless @street_2 == other.street_2 return false unless @country == other.country return false unless @work_from_home == other.work_from_home true end |