Skip to content

Latest commit

 

History

History
185 lines (102 loc) · 5.64 KB

AddressResponse.md

File metadata and controls

185 lines (102 loc) · 5.64 KB

AddressResponse

Properties

Name Type Description Notes
StreetAddress NullableString
Locality NullableString
AdministrativeArea NullableString The administrative area of the address. If US or CA, the two-letter state or province abbreviation. Else, the province / administrative area; such as, `Dublin 2` or `County Cork`
Country NullableString The ISO-3166-2 two-letter abbreviation of the country. Reference https://en.wikipedia.org/wiki/ISO_3166-2 for more details
PostCode NullableString

Methods

NewAddressResponse

func NewAddressResponse(streetAddress NullableString, locality NullableString, administrativeArea NullableString, country NullableString, postCode NullableString, ) *AddressResponse

NewAddressResponse instantiates a new AddressResponse 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

NewAddressResponseWithDefaults

func NewAddressResponseWithDefaults() *AddressResponse

NewAddressResponseWithDefaults instantiates a new AddressResponse 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

GetStreetAddress

func (o *AddressResponse) GetStreetAddress() string

GetStreetAddress returns the StreetAddress field if non-nil, zero value otherwise.

GetStreetAddressOk

func (o *AddressResponse) GetStreetAddressOk() (*string, bool)

GetStreetAddressOk returns a tuple with the StreetAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStreetAddress

func (o *AddressResponse) SetStreetAddress(v string)

SetStreetAddress sets StreetAddress field to given value.

SetStreetAddressNil

func (o *AddressResponse) SetStreetAddressNil(b bool)

SetStreetAddressNil sets the value for StreetAddress to be an explicit nil

UnsetStreetAddress

func (o *AddressResponse) UnsetStreetAddress()

UnsetStreetAddress ensures that no value is present for StreetAddress, not even an explicit nil

GetLocality

func (o *AddressResponse) GetLocality() string

GetLocality returns the Locality field if non-nil, zero value otherwise.

GetLocalityOk

func (o *AddressResponse) GetLocalityOk() (*string, bool)

GetLocalityOk returns a tuple with the Locality field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLocality

func (o *AddressResponse) SetLocality(v string)

SetLocality sets Locality field to given value.

SetLocalityNil

func (o *AddressResponse) SetLocalityNil(b bool)

SetLocalityNil sets the value for Locality to be an explicit nil

UnsetLocality

func (o *AddressResponse) UnsetLocality()

UnsetLocality ensures that no value is present for Locality, not even an explicit nil

GetAdministrativeArea

func (o *AddressResponse) GetAdministrativeArea() string

GetAdministrativeArea returns the AdministrativeArea field if non-nil, zero value otherwise.

GetAdministrativeAreaOk

func (o *AddressResponse) GetAdministrativeAreaOk() (*string, bool)

GetAdministrativeAreaOk returns a tuple with the AdministrativeArea field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAdministrativeArea

func (o *AddressResponse) SetAdministrativeArea(v string)

SetAdministrativeArea sets AdministrativeArea field to given value.

SetAdministrativeAreaNil

func (o *AddressResponse) SetAdministrativeAreaNil(b bool)

SetAdministrativeAreaNil sets the value for AdministrativeArea to be an explicit nil

UnsetAdministrativeArea

func (o *AddressResponse) UnsetAdministrativeArea()

UnsetAdministrativeArea ensures that no value is present for AdministrativeArea, not even an explicit nil

GetCountry

func (o *AddressResponse) GetCountry() string

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

GetCountryOk

func (o *AddressResponse) 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 *AddressResponse) SetCountry(v string)

SetCountry sets Country field to given value.

SetCountryNil

func (o *AddressResponse) SetCountryNil(b bool)

SetCountryNil sets the value for Country to be an explicit nil

UnsetCountry

func (o *AddressResponse) UnsetCountry()

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

GetPostCode

func (o *AddressResponse) GetPostCode() string

GetPostCode returns the PostCode field if non-nil, zero value otherwise.

GetPostCodeOk

func (o *AddressResponse) GetPostCodeOk() (*string, bool)

GetPostCodeOk returns a tuple with the PostCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPostCode

func (o *AddressResponse) SetPostCode(v string)

SetPostCode sets PostCode field to given value.

SetPostCodeNil

func (o *AddressResponse) SetPostCodeNil(b bool)

SetPostCodeNil sets the value for PostCode to be an explicit nil

UnsetPostCode

func (o *AddressResponse) UnsetPostCode()

UnsetPostCode ensures that no value is present for PostCode, not even an explicit nil

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