Name | Type | Description | Notes |
---|---|---|---|
Address1 | Pointer to NullableString | Address line 1 (e.g., street, PO Box, or company name). | [optional] |
Address2 | Pointer to NullableString | Address line 2 (e.g., apartment, suite, unit, or building). | [optional] |
City | Pointer to NullableString | City, district, suburb, town, or village. | [optional] |
Country | Pointer to NullableString | Two-letter country code (ISO 3166-1 alpha-2). | [optional] |
PostalCode | Pointer to NullableString | ZIP or postal code. | [optional] |
State | Pointer to NullableString | State, county, province, or region. | [optional] |
func NewAddress() *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) HasAddress1() bool
HasAddress1 returns a boolean if a field has been set.
func (o *Address) SetAddress1Nil(b bool)
SetAddress1Nil sets the value for Address1 to be an explicit nil
func (o *Address) UnsetAddress1()
UnsetAddress1 ensures that no value is present for Address1, not even an explicit nil
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) SetAddress2Nil(b bool)
SetAddress2Nil sets the value for Address2 to be an explicit nil
func (o *Address) UnsetAddress2()
UnsetAddress2 ensures that no value is present for Address2, not even an explicit nil
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) HasCity() bool
HasCity returns a boolean if a field has been set.
func (o *Address) SetCityNil(b bool)
SetCityNil sets the value for City to be an explicit nil
func (o *Address) UnsetCity()
UnsetCity ensures that no value is present for City, not even an explicit nil
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) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (o *Address) SetCountryNil(b bool)
SetCountryNil sets the value for Country to be an explicit nil
func (o *Address) UnsetCountry()
UnsetCountry ensures that no value is present for Country, not even an explicit nil
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) HasPostalCode() bool
HasPostalCode returns a boolean if a field has been set.
func (o *Address) SetPostalCodeNil(b bool)
SetPostalCodeNil sets the value for PostalCode to be an explicit nil
func (o *Address) UnsetPostalCode()
UnsetPostalCode ensures that no value is present for PostalCode, not even an explicit nil
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.
func (o *Address) HasState() bool
HasState returns a boolean if a field has been set.
func (o *Address) SetStateNil(b bool)
SetStateNil sets the value for State to be an explicit nil
func (o *Address) UnsetState()
UnsetState ensures that no value is present for State, not even an explicit nil