Class: GustoEmbedded::Models::Operations::PutV1LocationsLocationIdRequestBody
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::PutV1LocationsLocationIdRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/put_v1_locations_location_id_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(version:, phone_number: nil, street_1: nil, city: nil, state: nil, zip: nil, country: nil, mailing_address: nil, filing_address: nil, street_2: nil) ⇒ PutV1LocationsLocationIdRequestBody
constructor
A new instance of PutV1LocationsLocationIdRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(version:, phone_number: nil, street_1: nil, city: nil, state: nil, zip: nil, country: nil, mailing_address: nil, filing_address: nil, street_2: nil) ⇒ PutV1LocationsLocationIdRequestBody
Returns a new instance of PutV1LocationsLocationIdRequestBody.
37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/gusto_embedded/models/operations/put_v1_locations_location_id_requestbody.rb', line 37 def initialize(version:, phone_number: nil, street_1: nil, city: nil, state: nil, zip: nil, country: nil, mailing_address: nil, filing_address: nil, street_2: nil) @version = version @phone_number = phone_number @street_1 = street_1 @city = city @state = state @zip = zip @country = country @mailing_address = mailing_address @filing_address = filing_address @street_2 = street_2 end |
Instance Method Details
#==(other) ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/gusto_embedded/models/operations/put_v1_locations_location_id_requestbody.rb', line 51 def ==(other) return false unless other.is_a? self.class return false unless @version == other.version return false unless @phone_number == other.phone_number 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 @country == other.country return false unless @mailing_address == other.mailing_address return false unless @filing_address == other.filing_address return false unless @street_2 == other.street_2 true end |