555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
|
# File 'lib/merge_ruby_client/crm/types/address_request.rb', line 555
def initialize(street_1: OMIT, street_2: OMIT, city: OMIT, state: OMIT, postal_code: OMIT, country: OMIT,
address_type: OMIT, integration_params: OMIT, linked_account_params: OMIT, additional_properties: nil)
@street_1 = street_1 if street_1 != OMIT
@street_2 = street_2 if street_2 != OMIT
@city = city if city != OMIT
@state = state if state != OMIT
@postal_code = postal_code if postal_code != OMIT
@country = country if country != OMIT
@address_type = address_type if address_type != OMIT
@integration_params = integration_params if integration_params != OMIT
@linked_account_params = linked_account_params if linked_account_params != OMIT
@additional_properties = additional_properties
@_field_set = {
"street_1": street_1,
"street_2": street_2,
"city": city,
"state": state,
"postal_code": postal_code,
"country": country,
"address_type": address_type,
"integration_params": integration_params,
"linked_account_params": linked_account_params
}.reject do |_k, v|
v == OMIT
end
end
|