4.1 KiB
PickupAddressDTO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Country | Pointer to string | Страна. | [optional] |
| City | Pointer to string | Город. | [optional] |
| Street | Pointer to string | Улица. | [optional] |
| House | Pointer to string | Номер дома. | [optional] |
| Postcode | Pointer to string | Почтовый индекс. | [optional] |
Methods
NewPickupAddressDTO
func NewPickupAddressDTO() *PickupAddressDTO
NewPickupAddressDTO instantiates a new PickupAddressDTO 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
NewPickupAddressDTOWithDefaults
func NewPickupAddressDTOWithDefaults() *PickupAddressDTO
NewPickupAddressDTOWithDefaults instantiates a new PickupAddressDTO 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
GetCountry
func (o *PickupAddressDTO) GetCountry() string
GetCountry returns the Country field if non-nil, zero value otherwise.
GetCountryOk
func (o *PickupAddressDTO) 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 *PickupAddressDTO) SetCountry(v string)
SetCountry sets Country field to given value.
HasCountry
func (o *PickupAddressDTO) HasCountry() bool
HasCountry returns a boolean if a field has been set.
GetCity
func (o *PickupAddressDTO) GetCity() string
GetCity returns the City field if non-nil, zero value otherwise.
GetCityOk
func (o *PickupAddressDTO) 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 *PickupAddressDTO) SetCity(v string)
SetCity sets City field to given value.
HasCity
func (o *PickupAddressDTO) HasCity() bool
HasCity returns a boolean if a field has been set.
GetStreet
func (o *PickupAddressDTO) GetStreet() string
GetStreet returns the Street field if non-nil, zero value otherwise.
GetStreetOk
func (o *PickupAddressDTO) GetStreetOk() (*string, bool)
GetStreetOk returns a tuple with the Street field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStreet
func (o *PickupAddressDTO) SetStreet(v string)
SetStreet sets Street field to given value.
HasStreet
func (o *PickupAddressDTO) HasStreet() bool
HasStreet returns a boolean if a field has been set.
GetHouse
func (o *PickupAddressDTO) GetHouse() string
GetHouse returns the House field if non-nil, zero value otherwise.
GetHouseOk
func (o *PickupAddressDTO) GetHouseOk() (*string, bool)
GetHouseOk returns a tuple with the House field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetHouse
func (o *PickupAddressDTO) SetHouse(v string)
SetHouse sets House field to given value.
HasHouse
func (o *PickupAddressDTO) HasHouse() bool
HasHouse returns a boolean if a field has been set.
GetPostcode
func (o *PickupAddressDTO) GetPostcode() string
GetPostcode returns the Postcode field if non-nil, zero value otherwise.
GetPostcodeOk
func (o *PickupAddressDTO) 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 *PickupAddressDTO) SetPostcode(v string)
SetPostcode sets Postcode field to given value.
HasPostcode
func (o *PickupAddressDTO) HasPostcode() bool
HasPostcode returns a boolean if a field has been set.