Name | Type | Description | Notes |
---|---|---|---|
Address1 | string | ||
Address2 | Pointer to string | [optional] | |
City | string | ||
Country | string | Two-letter ISO country code to be used as a hint for target region<br/><br/> NOTE: These are sample values, there are many <a href='http://www.iso.org/iso/country_codes.htm'>more</a> | [default to "US"] |
PostalCode | string | Postal or zip code | |
State | string | State or province or territory |
func NewAddress(address1 string, city string, country string, postalCode string, state string, ) *Address
NewAddress instantiates a new Address object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddressWithDefaults() *Address
NewAddressWithDefaults instantiates a new Address object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Address) GetAddress1() string
GetAddress1 returns the Address1 field if non-nil, zero value otherwise.
func (o *Address) GetAddress1Ok() (*string, bool)
GetAddress1Ok returns a tuple with the Address1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Address) SetAddress1(v string)
SetAddress1 sets Address1 field to given value.
func (o *Address) GetAddress2() string
GetAddress2 returns the Address2 field if non-nil, zero value otherwise.
func (o *Address) GetAddress2Ok() (*string, bool)
GetAddress2Ok returns a tuple with the Address2 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Address) SetAddress2(v string)
SetAddress2 sets Address2 field to given value.
func (o *Address) HasAddress2() bool
HasAddress2 returns a boolean if a field has been set.
func (o *Address) GetCity() string
GetCity returns the City field if non-nil, zero value otherwise.
func (o *Address) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Address) SetCity(v string)
SetCity sets City field to given value.
func (o *Address) GetCountry() string
GetCountry returns the Country field if non-nil, zero value otherwise.
func (o *Address) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Address) SetCountry(v string)
SetCountry sets Country field to given value.
func (o *Address) GetPostalCode() string
GetPostalCode returns the PostalCode field if non-nil, zero value otherwise.
func (o *Address) GetPostalCodeOk() (*string, bool)
GetPostalCodeOk returns a tuple with the PostalCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Address) SetPostalCode(v string)
SetPostalCode sets PostalCode field to given value.
func (o *Address) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *Address) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Address) SetState(v string)
SetState sets State field to given value.