Files
Sipro-Marketplaces/pkg/api/yandex/ymclient/docs/CountryDTO.md
2025-08-15 11:10:28 +03:00

2.1 KiB

CountryDTO

Properties

Name Type Description Notes
Region RegionDTO
CountryCode string Страна производства в формате ISO 3166-1 alpha-2. Как получить

Methods

NewCountryDTO

func NewCountryDTO(region RegionDTO, countryCode string, ) *CountryDTO

NewCountryDTO instantiates a new CountryDTO 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

NewCountryDTOWithDefaults

func NewCountryDTOWithDefaults() *CountryDTO

NewCountryDTOWithDefaults instantiates a new CountryDTO 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

GetRegion

func (o *CountryDTO) GetRegion() RegionDTO

GetRegion returns the Region field if non-nil, zero value otherwise.

GetRegionOk

func (o *CountryDTO) GetRegionOk() (*RegionDTO, 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.

SetRegion

func (o *CountryDTO) SetRegion(v RegionDTO)

SetRegion sets Region field to given value.

GetCountryCode

func (o *CountryDTO) GetCountryCode() string

GetCountryCode returns the CountryCode field if non-nil, zero value otherwise.

GetCountryCodeOk

func (o *CountryDTO) 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.

SetCountryCode

func (o *CountryDTO) SetCountryCode(v string)

SetCountryCode sets CountryCode field to given value.

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