Class: GustoEmbedded::Models::Operations::PutV1HomeAddressesHomeAddressUuidRequestBody
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::PutV1HomeAddressesHomeAddressUuidRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/put_v1_home_addresses_home_address_uuid_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(version:, street_1: nil, city: nil, state: nil, zip: nil, courtesy_withholding: nil, street_2: nil, effective_date: nil) ⇒ PutV1HomeAddressesHomeAddressUuidRequestBody
constructor
A new instance of PutV1HomeAddressesHomeAddressUuidRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(version:, street_1: nil, city: nil, state: nil, zip: nil, courtesy_withholding: nil, street_2: nil, effective_date: nil) ⇒ PutV1HomeAddressesHomeAddressUuidRequestBody
Returns a new instance of PutV1HomeAddressesHomeAddressUuidRequestBody.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/gusto_embedded/models/operations/put_v1_home_addresses_home_address_uuid_requestbody.rb', line 33 def initialize(version:, street_1: nil, city: nil, state: nil, zip: nil, courtesy_withholding: nil, street_2: nil, effective_date: nil) @version = version @street_1 = street_1 @city = city @state = state @zip = zip @courtesy_withholding = courtesy_withholding @street_2 = street_2 @effective_date = effective_date end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/gusto_embedded/models/operations/put_v1_home_addresses_home_address_uuid_requestbody.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @version == other.version 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 @courtesy_withholding == other.courtesy_withholding return false unless @street_2 == other.street_2 return false unless @effective_date == other.effective_date true end |