Skip to content

Latest commit

 

History

History
246 lines (137 loc) · 6.27 KB

Address.md

File metadata and controls

246 lines (137 loc) · 6.27 KB

Address

Properties

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]

Methods

NewAddress

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

NewAddressWithDefaults

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

GetAddress1

func (o *Address) GetAddress1() string

GetAddress1 returns the Address1 field if non-nil, zero value otherwise.

GetAddress1Ok

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.

SetAddress1

func (o *Address) SetAddress1(v string)

SetAddress1 sets Address1 field to given value.

HasAddress1

func (o *Address) HasAddress1() bool

HasAddress1 returns a boolean if a field has been set.

SetAddress1Nil

func (o *Address) SetAddress1Nil(b bool)

SetAddress1Nil sets the value for Address1 to be an explicit nil

UnsetAddress1

func (o *Address) UnsetAddress1()

UnsetAddress1 ensures that no value is present for Address1, not even an explicit nil

GetAddress2

func (o *Address) GetAddress2() string

GetAddress2 returns the Address2 field if non-nil, zero value otherwise.

GetAddress2Ok

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.

SetAddress2

func (o *Address) SetAddress2(v string)

SetAddress2 sets Address2 field to given value.

HasAddress2

func (o *Address) HasAddress2() bool

HasAddress2 returns a boolean if a field has been set.

SetAddress2Nil

func (o *Address) SetAddress2Nil(b bool)

SetAddress2Nil sets the value for Address2 to be an explicit nil

UnsetAddress2

func (o *Address) UnsetAddress2()

UnsetAddress2 ensures that no value is present for Address2, not even an explicit nil

GetCity

func (o *Address) GetCity() string

GetCity returns the City field if non-nil, zero value otherwise.

GetCityOk

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.

SetCity

func (o *Address) SetCity(v string)

SetCity sets City field to given value.

HasCity

func (o *Address) HasCity() bool

HasCity returns a boolean if a field has been set.

SetCityNil

func (o *Address) SetCityNil(b bool)

SetCityNil sets the value for City to be an explicit nil

UnsetCity

func (o *Address) UnsetCity()

UnsetCity ensures that no value is present for City, not even an explicit nil

GetCountry

func (o *Address) GetCountry() string

GetCountry returns the Country field if non-nil, zero value otherwise.

GetCountryOk

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.

SetCountry

func (o *Address) SetCountry(v string)

SetCountry sets Country field to given value.

HasCountry

func (o *Address) HasCountry() bool

HasCountry returns a boolean if a field has been set.

SetCountryNil

func (o *Address) SetCountryNil(b bool)

SetCountryNil sets the value for Country to be an explicit nil

UnsetCountry

func (o *Address) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

GetPostalCode

func (o *Address) GetPostalCode() string

GetPostalCode returns the PostalCode field if non-nil, zero value otherwise.

GetPostalCodeOk

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.

SetPostalCode

func (o *Address) SetPostalCode(v string)

SetPostalCode sets PostalCode field to given value.

HasPostalCode

func (o *Address) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

SetPostalCodeNil

func (o *Address) SetPostalCodeNil(b bool)

SetPostalCodeNil sets the value for PostalCode to be an explicit nil

UnsetPostalCode

func (o *Address) UnsetPostalCode()

UnsetPostalCode ensures that no value is present for PostalCode, not even an explicit nil

GetState

func (o *Address) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

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.

SetState

func (o *Address) SetState(v string)

SetState sets State field to given value.

HasState

func (o *Address) HasState() bool

HasState returns a boolean if a field has been set.

SetStateNil

func (o *Address) SetStateNil(b bool)

SetStateNil sets the value for State to be an explicit nil

UnsetState

func (o *Address) UnsetState()

UnsetState ensures that no value is present for State, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]