Name | Type | Description | Notes |
---|---|---|---|
Tag | string | The type of address reference | |
Id | string | [readonly] | |
FirstName | string | ||
LastName | string | ||
Company | Pointer to string | [optional] | |
StreetAddress1 | string | ||
StreetAddress2 | Pointer to string | [optional] | |
Locality | string | ||
PostalCode | string | ||
Region | Pointer to string | [optional] | |
CountryCode | string | ||
Pointer to string | [optional] | ||
Phone | Pointer to string | [optional] |
func NewAddressReference(tag string, id string, firstName string, lastName string, streetAddress1 string, locality string, postalCode string, countryCode string, ) *AddressReference
NewAddressReference instantiates a new AddressReference 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 NewAddressReferenceWithDefaults() *AddressReference
NewAddressReferenceWithDefaults instantiates a new AddressReference 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 *AddressReference) GetTag() string
GetTag returns the Tag field if non-nil, zero value otherwise.
func (o *AddressReference) GetTagOk() (*string, bool)
GetTagOk returns a tuple with the Tag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddressReference) SetTag(v string)
SetTag sets Tag field to given value.
func (o *AddressReference) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *AddressReference) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddressReference) SetId(v string)
SetId sets Id field to given value.
func (o *AddressReference) GetFirstName() string
GetFirstName returns the FirstName field if non-nil, zero value otherwise.
func (o *AddressReference) GetFirstNameOk() (*string, bool)
GetFirstNameOk returns a tuple with the FirstName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddressReference) SetFirstName(v string)
SetFirstName sets FirstName field to given value.
func (o *AddressReference) GetLastName() string
GetLastName returns the LastName field if non-nil, zero value otherwise.
func (o *AddressReference) GetLastNameOk() (*string, bool)
GetLastNameOk returns a tuple with the LastName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddressReference) SetLastName(v string)
SetLastName sets LastName field to given value.
func (o *AddressReference) GetCompany() string
GetCompany returns the Company field if non-nil, zero value otherwise.
func (o *AddressReference) GetCompanyOk() (*string, bool)
GetCompanyOk returns a tuple with the Company field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddressReference) SetCompany(v string)
SetCompany sets Company field to given value.
func (o *AddressReference) HasCompany() bool
HasCompany returns a boolean if a field has been set.
func (o *AddressReference) GetStreetAddress1() string
GetStreetAddress1 returns the StreetAddress1 field if non-nil, zero value otherwise.
func (o *AddressReference) GetStreetAddress1Ok() (*string, bool)
GetStreetAddress1Ok returns a tuple with the StreetAddress1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddressReference) SetStreetAddress1(v string)
SetStreetAddress1 sets StreetAddress1 field to given value.
func (o *AddressReference) GetStreetAddress2() string
GetStreetAddress2 returns the StreetAddress2 field if non-nil, zero value otherwise.
func (o *AddressReference) GetStreetAddress2Ok() (*string, bool)
GetStreetAddress2Ok returns a tuple with the StreetAddress2 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddressReference) SetStreetAddress2(v string)
SetStreetAddress2 sets StreetAddress2 field to given value.
func (o *AddressReference) HasStreetAddress2() bool
HasStreetAddress2 returns a boolean if a field has been set.
func (o *AddressReference) GetLocality() string
GetLocality returns the Locality field if non-nil, zero value otherwise.
func (o *AddressReference) 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.
func (o *AddressReference) SetLocality(v string)
SetLocality sets Locality field to given value.
func (o *AddressReference) GetPostalCode() string
GetPostalCode returns the PostalCode field if non-nil, zero value otherwise.
func (o *AddressReference) 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 *AddressReference) SetPostalCode(v string)
SetPostalCode sets PostalCode field to given value.
func (o *AddressReference) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *AddressReference) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddressReference) SetRegion(v string)
SetRegion sets Region field to given value.
func (o *AddressReference) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (o *AddressReference) GetCountryCode() string
GetCountryCode returns the CountryCode field if non-nil, zero value otherwise.
func (o *AddressReference) GetCountryCodeOk() (*string, bool)
GetCountryCodeOk returns a tuple with the CountryCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddressReference) SetCountryCode(v string)
SetCountryCode sets CountryCode field to given value.
func (o *AddressReference) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *AddressReference) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddressReference) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *AddressReference) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *AddressReference) GetPhone() string
GetPhone returns the Phone field if non-nil, zero value otherwise.
func (o *AddressReference) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddressReference) SetPhone(v string)
SetPhone sets Phone field to given value.
func (o *AddressReference) HasPhone() bool
HasPhone returns a boolean if a field has been set.