feat: shit shit
This commit is contained in:
248
pkg/api/yandex/ymclient/docs/SuggestedOfferDTO.md
Normal file
248
pkg/api/yandex/ymclient/docs/SuggestedOfferDTO.md
Normal file
@@ -0,0 +1,248 @@
|
||||
# SuggestedOfferDTO
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**OfferId** | Pointer to **string** | Ваш :no-translate[SKU] — идентификатор товара в вашей системе. Правила использования :no-translate[SKU]: * У каждого товара :no-translate[SKU] должен быть свой. * Уже заданный :no-translate[SKU] нельзя освободить и использовать заново для другого товара. Каждый товар должен получать новый идентификатор, до того никогда не использовавшийся в вашем каталоге. :no-translate[SKU] товара можно изменить в кабинете продавца на Маркете. О том, как это сделать, читайте [в Справке Маркета для продавцов](https://yandex.ru/support2/marketplace/ru/assortment/operations/edit-sku). [Что такое :no-translate[SKU] и как его назначать](https://yandex.ru/support/marketplace/assortment/add/index.html#fields) | [optional]
|
||||
**Name** | Pointer to **string** | Составляйте название по схеме: тип + бренд или производитель + модель + особенности, если есть (например, цвет, размер или вес) и количество в упаковке. Не включайте в название условия продажи (например, «скидка», «бесплатная доставка» и т. д.), эмоциональные характеристики («хит», «супер» и т. д.). Не пишите слова большими буквами — кроме устоявшихся названий брендов и моделей. Оптимальная длина — 50–60 символов. [Рекомендации и правила](https://yandex.ru/support/marketplace/assortment/fields/title.html) | [optional]
|
||||
**Category** | Pointer to **string** | {% note warning \"Вместо него используйте `marketCategoryId`.\" %} {% endnote %} Категория товара в вашем магазине. | [optional]
|
||||
**Vendor** | Pointer to **string** | Название бренда или производителя. Должно быть записано так, как его пишет сам бренд. | [optional]
|
||||
**Barcodes** | Pointer to **[]string** | Указывайте в виде последовательности цифр. Подойдут коды :no-translate[EAN-13, EAN-8, UPC-A, UPC-E] или :no-translate[Code 128]. Для книг указывайте :no-translate[ISBN]. Для товаров [определенных категорий и торговых марок](https://yastatic.net/s3/doc-binary/src/support/market/ru/yandex-market-list-for-gtin.xlsx) штрихкод должен быть действительным кодом :no-translate[GTIN]. Обратите внимание: внутренние штрихкоды, начинающиеся на 2 или 02, и коды формата :no-translate[Code 128] не являются :no-translate[GTIN]. [Что такое :no-translate[GTIN]](:no-translate[*gtin]) | [optional]
|
||||
**Description** | Pointer to **string** | Подробное описание товара: например, его преимущества и особенности. Не давайте в описании инструкций по установке и сборке. Не используйте слова «скидка», «распродажа», «дешевый», «подарок» (кроме подарочных категорий), «бесплатно», «акция», «специальная цена», «новинка», «new», «аналог», «заказ», «хит». Не указывайте никакой контактной информации и не давайте ссылок. Для форматирования текста можно использовать теги HTML: * \\<h>, \\<h1>, \\<h2> и так далее — для заголовков; * \\<br> и \\<p> — для переноса строки; * \\<ol> — для нумерованного списка; * \\<ul> — для маркированного списка; * \\<li> — для создания элементов списка (должен находиться внутри \\<ol> или \\<ul>); * \\<div> — поддерживается, но не влияет на отображение текста. Оптимальная длина — 400–600 символов. [Рекомендации и правила](https://yandex.ru/support/marketplace/assortment/fields/description.html) | [optional]
|
||||
**VendorCode** | Pointer to **string** | Артикул товара от производителя. | [optional]
|
||||
**BasicPrice** | Pointer to [**BasePriceDTO**](BasePriceDTO.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewSuggestedOfferDTO
|
||||
|
||||
`func NewSuggestedOfferDTO() *SuggestedOfferDTO`
|
||||
|
||||
NewSuggestedOfferDTO instantiates a new SuggestedOfferDTO 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
|
||||
|
||||
### NewSuggestedOfferDTOWithDefaults
|
||||
|
||||
`func NewSuggestedOfferDTOWithDefaults() *SuggestedOfferDTO`
|
||||
|
||||
NewSuggestedOfferDTOWithDefaults instantiates a new SuggestedOfferDTO 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
|
||||
|
||||
### GetOfferId
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetOfferId() string`
|
||||
|
||||
GetOfferId returns the OfferId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOfferIdOk
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetOfferIdOk() (*string, bool)`
|
||||
|
||||
GetOfferIdOk returns a tuple with the OfferId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOfferId
|
||||
|
||||
`func (o *SuggestedOfferDTO) SetOfferId(v string)`
|
||||
|
||||
SetOfferId sets OfferId field to given value.
|
||||
|
||||
### HasOfferId
|
||||
|
||||
`func (o *SuggestedOfferDTO) HasOfferId() bool`
|
||||
|
||||
HasOfferId returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *SuggestedOfferDTO) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *SuggestedOfferDTO) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetCategory
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetCategory() string`
|
||||
|
||||
GetCategory returns the Category field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCategoryOk
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetCategoryOk() (*string, bool)`
|
||||
|
||||
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCategory
|
||||
|
||||
`func (o *SuggestedOfferDTO) SetCategory(v string)`
|
||||
|
||||
SetCategory sets Category field to given value.
|
||||
|
||||
### HasCategory
|
||||
|
||||
`func (o *SuggestedOfferDTO) HasCategory() bool`
|
||||
|
||||
HasCategory returns a boolean if a field has been set.
|
||||
|
||||
### GetVendor
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetVendor() string`
|
||||
|
||||
GetVendor returns the Vendor field if non-nil, zero value otherwise.
|
||||
|
||||
### GetVendorOk
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetVendorOk() (*string, bool)`
|
||||
|
||||
GetVendorOk returns a tuple with the Vendor field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetVendor
|
||||
|
||||
`func (o *SuggestedOfferDTO) SetVendor(v string)`
|
||||
|
||||
SetVendor sets Vendor field to given value.
|
||||
|
||||
### HasVendor
|
||||
|
||||
`func (o *SuggestedOfferDTO) HasVendor() bool`
|
||||
|
||||
HasVendor returns a boolean if a field has been set.
|
||||
|
||||
### GetBarcodes
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetBarcodes() []string`
|
||||
|
||||
GetBarcodes returns the Barcodes field if non-nil, zero value otherwise.
|
||||
|
||||
### GetBarcodesOk
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetBarcodesOk() (*[]string, bool)`
|
||||
|
||||
GetBarcodesOk returns a tuple with the Barcodes field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetBarcodes
|
||||
|
||||
`func (o *SuggestedOfferDTO) SetBarcodes(v []string)`
|
||||
|
||||
SetBarcodes sets Barcodes field to given value.
|
||||
|
||||
### HasBarcodes
|
||||
|
||||
`func (o *SuggestedOfferDTO) HasBarcodes() bool`
|
||||
|
||||
HasBarcodes returns a boolean if a field has been set.
|
||||
|
||||
### SetBarcodesNil
|
||||
|
||||
`func (o *SuggestedOfferDTO) SetBarcodesNil(b bool)`
|
||||
|
||||
SetBarcodesNil sets the value for Barcodes to be an explicit nil
|
||||
|
||||
### UnsetBarcodes
|
||||
`func (o *SuggestedOfferDTO) UnsetBarcodes()`
|
||||
|
||||
UnsetBarcodes ensures that no value is present for Barcodes, not even an explicit nil
|
||||
### GetDescription
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetDescription() string`
|
||||
|
||||
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDescriptionOk
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetDescriptionOk() (*string, bool)`
|
||||
|
||||
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDescription
|
||||
|
||||
`func (o *SuggestedOfferDTO) SetDescription(v string)`
|
||||
|
||||
SetDescription sets Description field to given value.
|
||||
|
||||
### HasDescription
|
||||
|
||||
`func (o *SuggestedOfferDTO) HasDescription() bool`
|
||||
|
||||
HasDescription returns a boolean if a field has been set.
|
||||
|
||||
### GetVendorCode
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetVendorCode() string`
|
||||
|
||||
GetVendorCode returns the VendorCode field if non-nil, zero value otherwise.
|
||||
|
||||
### GetVendorCodeOk
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetVendorCodeOk() (*string, bool)`
|
||||
|
||||
GetVendorCodeOk returns a tuple with the VendorCode field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetVendorCode
|
||||
|
||||
`func (o *SuggestedOfferDTO) SetVendorCode(v string)`
|
||||
|
||||
SetVendorCode sets VendorCode field to given value.
|
||||
|
||||
### HasVendorCode
|
||||
|
||||
`func (o *SuggestedOfferDTO) HasVendorCode() bool`
|
||||
|
||||
HasVendorCode returns a boolean if a field has been set.
|
||||
|
||||
### GetBasicPrice
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetBasicPrice() BasePriceDTO`
|
||||
|
||||
GetBasicPrice returns the BasicPrice field if non-nil, zero value otherwise.
|
||||
|
||||
### GetBasicPriceOk
|
||||
|
||||
`func (o *SuggestedOfferDTO) GetBasicPriceOk() (*BasePriceDTO, bool)`
|
||||
|
||||
GetBasicPriceOk returns a tuple with the BasicPrice field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetBasicPrice
|
||||
|
||||
`func (o *SuggestedOfferDTO) SetBasicPrice(v BasePriceDTO)`
|
||||
|
||||
SetBasicPrice sets BasicPrice field to given value.
|
||||
|
||||
### HasBasicPrice
|
||||
|
||||
`func (o *SuggestedOfferDTO) HasBasicPrice() bool`
|
||||
|
||||
HasBasicPrice returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user