// Code generated by ogen, DO NOT EDIT.
package api
import (
	"io"
	"time"
	"github.com/go-faster/errors"
	"github.com/go-faster/jx"
	"github.com/google/uuid"
	ht "github.com/ogen-go/ogen/http"
)
type APIV2BufferGoodsTaskGetBadRequest struct {
	Data      OptAPIV2BufferGoodsTaskGetBadRequestData `json:"data"`
	Error     OptBool                                  `json:"error"`
	ErrorText OptString                                `json:"errorText"`
}
// GetData returns the value of Data.
func (s *APIV2BufferGoodsTaskGetBadRequest) GetData() OptAPIV2BufferGoodsTaskGetBadRequestData {
	return s.Data
}
// GetError returns the value of Error.
func (s *APIV2BufferGoodsTaskGetBadRequest) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *APIV2BufferGoodsTaskGetBadRequest) GetErrorText() OptString {
	return s.ErrorText
}
// SetData sets the value of Data.
func (s *APIV2BufferGoodsTaskGetBadRequest) SetData(val OptAPIV2BufferGoodsTaskGetBadRequestData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *APIV2BufferGoodsTaskGetBadRequest) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *APIV2BufferGoodsTaskGetBadRequest) SetErrorText(val OptString) {
	s.ErrorText = val
}
func (*APIV2BufferGoodsTaskGetBadRequest) aPIV2BufferGoodsTaskGetRes() {}
type APIV2BufferGoodsTaskGetBadRequestData struct{}
type APIV2BufferTasksGetBadRequest struct {
	Data      OptAPIV2BufferTasksGetBadRequestData `json:"data"`
	Error     OptBool                              `json:"error"`
	ErrorText OptString                            `json:"errorText"`
}
// GetData returns the value of Data.
func (s *APIV2BufferTasksGetBadRequest) GetData() OptAPIV2BufferTasksGetBadRequestData {
	return s.Data
}
// GetError returns the value of Error.
func (s *APIV2BufferTasksGetBadRequest) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *APIV2BufferTasksGetBadRequest) GetErrorText() OptString {
	return s.ErrorText
}
// SetData sets the value of Data.
func (s *APIV2BufferTasksGetBadRequest) SetData(val OptAPIV2BufferTasksGetBadRequestData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *APIV2BufferTasksGetBadRequest) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *APIV2BufferTasksGetBadRequest) SetErrorText(val OptString) {
	s.ErrorText = val
}
func (*APIV2BufferTasksGetBadRequest) aPIV2BufferTasksGetRes() {}
type APIV2BufferTasksGetBadRequestData struct{}
type APIV2HistoryGoodsTaskGetBadRequest struct {
	Data      OptAPIV2HistoryGoodsTaskGetBadRequestData `json:"data"`
	Error     OptBool                                   `json:"error"`
	ErrorText OptString                                 `json:"errorText"`
}
// GetData returns the value of Data.
func (s *APIV2HistoryGoodsTaskGetBadRequest) GetData() OptAPIV2HistoryGoodsTaskGetBadRequestData {
	return s.Data
}
// GetError returns the value of Error.
func (s *APIV2HistoryGoodsTaskGetBadRequest) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *APIV2HistoryGoodsTaskGetBadRequest) GetErrorText() OptString {
	return s.ErrorText
}
// SetData sets the value of Data.
func (s *APIV2HistoryGoodsTaskGetBadRequest) SetData(val OptAPIV2HistoryGoodsTaskGetBadRequestData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *APIV2HistoryGoodsTaskGetBadRequest) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *APIV2HistoryGoodsTaskGetBadRequest) SetErrorText(val OptString) {
	s.ErrorText = val
}
func (*APIV2HistoryGoodsTaskGetBadRequest) aPIV2HistoryGoodsTaskGetRes() {}
type APIV2HistoryGoodsTaskGetBadRequestData struct{}
type APIV2HistoryTasksGetBadRequest struct {
	Data      OptAPIV2HistoryTasksGetBadRequestData `json:"data"`
	Error     OptBool                               `json:"error"`
	ErrorText OptString                             `json:"errorText"`
}
// GetData returns the value of Data.
func (s *APIV2HistoryTasksGetBadRequest) GetData() OptAPIV2HistoryTasksGetBadRequestData {
	return s.Data
}
// GetError returns the value of Error.
func (s *APIV2HistoryTasksGetBadRequest) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *APIV2HistoryTasksGetBadRequest) GetErrorText() OptString {
	return s.ErrorText
}
// SetData sets the value of Data.
func (s *APIV2HistoryTasksGetBadRequest) SetData(val OptAPIV2HistoryTasksGetBadRequestData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *APIV2HistoryTasksGetBadRequest) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *APIV2HistoryTasksGetBadRequest) SetErrorText(val OptString) {
	s.ErrorText = val
}
func (*APIV2HistoryTasksGetBadRequest) aPIV2HistoryTasksGetRes() {}
type APIV2HistoryTasksGetBadRequestData struct{}
type APIV2QuarantineGoodsGetBadRequest ResponseError
func (*APIV2QuarantineGoodsGetBadRequest) aPIV2QuarantineGoodsGetRes() {}
type APIV2QuarantineGoodsGetUnprocessableEntity ResponseError
func (*APIV2QuarantineGoodsGetUnprocessableEntity) aPIV2QuarantineGoodsGetRes() {}
type APIV2UploadTaskClubDiscountPostBadRequest ResponseError
func (*APIV2UploadTaskClubDiscountPostBadRequest) aPIV2UploadTaskClubDiscountPostRes() {}
type APIV2UploadTaskClubDiscountPostReq struct {
	Data ClubDisc `json:"data"`
}
// GetData returns the value of Data.
func (s *APIV2UploadTaskClubDiscountPostReq) GetData() ClubDisc {
	return s.Data
}
// SetData sets the value of Data.
func (s *APIV2UploadTaskClubDiscountPostReq) SetData(val ClubDisc) {
	s.Data = val
}
type APIV2UploadTaskClubDiscountPostUnprocessableEntity ResponseError
func (*APIV2UploadTaskClubDiscountPostUnprocessableEntity) aPIV2UploadTaskClubDiscountPostRes() {}
type APIV2UploadTaskPostBadRequest ResponseError
func (*APIV2UploadTaskPostBadRequest) aPIV2UploadTaskPostRes() {}
type APIV2UploadTaskPostReq struct {
	Data Goods `json:"data"`
}
// GetData returns the value of Data.
func (s *APIV2UploadTaskPostReq) GetData() Goods {
	return s.Data
}
// SetData sets the value of Data.
func (s *APIV2UploadTaskPostReq) SetData(val Goods) {
	s.Data = val
}
type APIV2UploadTaskPostUnprocessableEntity ResponseError
func (*APIV2UploadTaskPostUnprocessableEntity) aPIV2UploadTaskPostRes() {}
type APIV2UploadTaskSizePostBadRequest ResponseError
func (*APIV2UploadTaskSizePostBadRequest) aPIV2UploadTaskSizePostRes() {}
type APIV2UploadTaskSizePostReq struct {
	Data SizeGoodsBody `json:"data"`
}
// GetData returns the value of Data.
func (s *APIV2UploadTaskSizePostReq) GetData() SizeGoodsBody {
	return s.Data
}
// SetData sets the value of Data.
func (s *APIV2UploadTaskSizePostReq) SetData(val SizeGoodsBody) {
	s.Data = val
}
type APIV2UploadTaskSizePostUnprocessableEntity ResponseError
func (*APIV2UploadTaskSizePostUnprocessableEntity) aPIV2UploadTaskSizePostRes() {}
type APIV3OfficesGetOKApplicationJSON []Office
func (*APIV3OfficesGetOKApplicationJSON) aPIV3OfficesGetRes() {}
type APIV3StocksWarehouseIdDeleteBadRequest Error
func (*APIV3StocksWarehouseIdDeleteBadRequest) aPIV3StocksWarehouseIdDeleteRes() {}
type APIV3StocksWarehouseIdDeleteConflict Error
func (*APIV3StocksWarehouseIdDeleteConflict) aPIV3StocksWarehouseIdDeleteRes() {}
type APIV3StocksWarehouseIdDeleteForbidden Error
func (*APIV3StocksWarehouseIdDeleteForbidden) aPIV3StocksWarehouseIdDeleteRes() {}
// APIV3StocksWarehouseIdDeleteNoContent is response for APIV3StocksWarehouseIdDelete operation.
type APIV3StocksWarehouseIdDeleteNoContent struct{}
func (*APIV3StocksWarehouseIdDeleteNoContent) aPIV3StocksWarehouseIdDeleteRes() {}
type APIV3StocksWarehouseIdDeleteNotFound Error
func (*APIV3StocksWarehouseIdDeleteNotFound) aPIV3StocksWarehouseIdDeleteRes() {}
type APIV3StocksWarehouseIdDeleteReq struct {
	// Массив баркодов.
	Skus []string `json:"skus"`
}
// GetSkus returns the value of Skus.
func (s *APIV3StocksWarehouseIdDeleteReq) GetSkus() []string {
	return s.Skus
}
// SetSkus sets the value of Skus.
func (s *APIV3StocksWarehouseIdDeleteReq) SetSkus(val []string) {
	s.Skus = val
}
type APIV3StocksWarehouseIdPostBadRequest Error
func (*APIV3StocksWarehouseIdPostBadRequest) aPIV3StocksWarehouseIdPostRes() {}
type APIV3StocksWarehouseIdPostForbidden Error
func (*APIV3StocksWarehouseIdPostForbidden) aPIV3StocksWarehouseIdPostRes() {}
type APIV3StocksWarehouseIdPostNotFound Error
func (*APIV3StocksWarehouseIdPostNotFound) aPIV3StocksWarehouseIdPostRes() {}
type APIV3StocksWarehouseIdPostOK struct {
	Stocks []APIV3StocksWarehouseIdPostOKStocksItem `json:"stocks"`
}
// GetStocks returns the value of Stocks.
func (s *APIV3StocksWarehouseIdPostOK) GetStocks() []APIV3StocksWarehouseIdPostOKStocksItem {
	return s.Stocks
}
// SetStocks sets the value of Stocks.
func (s *APIV3StocksWarehouseIdPostOK) SetStocks(val []APIV3StocksWarehouseIdPostOKStocksItem) {
	s.Stocks = val
}
func (*APIV3StocksWarehouseIdPostOK) aPIV3StocksWarehouseIdPostRes() {}
type APIV3StocksWarehouseIdPostOKStocksItem struct {
	// Баркод.
	Sku OptString `json:"sku"`
	// Остаток.
	Amount OptInt `json:"amount"`
}
// GetSku returns the value of Sku.
func (s *APIV3StocksWarehouseIdPostOKStocksItem) GetSku() OptString {
	return s.Sku
}
// GetAmount returns the value of Amount.
func (s *APIV3StocksWarehouseIdPostOKStocksItem) GetAmount() OptInt {
	return s.Amount
}
// SetSku sets the value of Sku.
func (s *APIV3StocksWarehouseIdPostOKStocksItem) SetSku(val OptString) {
	s.Sku = val
}
// SetAmount sets the value of Amount.
func (s *APIV3StocksWarehouseIdPostOKStocksItem) SetAmount(val OptInt) {
	s.Amount = val
}
type APIV3StocksWarehouseIdPostReq struct {
	// Массив баркодов.
	Skus []string `json:"skus"`
}
// GetSkus returns the value of Skus.
func (s *APIV3StocksWarehouseIdPostReq) GetSkus() []string {
	return s.Skus
}
// SetSkus sets the value of Skus.
func (s *APIV3StocksWarehouseIdPostReq) SetSkus(val []string) {
	s.Skus = val
}
type APIV3StocksWarehouseIdPutConflict Error
func (*APIV3StocksWarehouseIdPutConflict) aPIV3StocksWarehouseIdPutRes() {}
type APIV3StocksWarehouseIdPutForbidden Error
func (*APIV3StocksWarehouseIdPutForbidden) aPIV3StocksWarehouseIdPutRes() {}
// APIV3StocksWarehouseIdPutNoContent is response for APIV3StocksWarehouseIdPut operation.
type APIV3StocksWarehouseIdPutNoContent struct{}
func (*APIV3StocksWarehouseIdPutNoContent) aPIV3StocksWarehouseIdPutRes() {}
type APIV3StocksWarehouseIdPutNotAcceptableApplicationJSON jx.Raw
func (*APIV3StocksWarehouseIdPutNotAcceptableApplicationJSON) aPIV3StocksWarehouseIdPutRes() {}
type APIV3StocksWarehouseIdPutNotFound Error
func (*APIV3StocksWarehouseIdPutNotFound) aPIV3StocksWarehouseIdPutRes() {}
type APIV3StocksWarehouseIdPutReq struct {
	// Массив баркодов товаров и их остатков.
	Stocks []APIV3StocksWarehouseIdPutReqStocksItem `json:"stocks"`
}
// GetStocks returns the value of Stocks.
func (s *APIV3StocksWarehouseIdPutReq) GetStocks() []APIV3StocksWarehouseIdPutReqStocksItem {
	return s.Stocks
}
// SetStocks sets the value of Stocks.
func (s *APIV3StocksWarehouseIdPutReq) SetStocks(val []APIV3StocksWarehouseIdPutReqStocksItem) {
	s.Stocks = val
}
type APIV3StocksWarehouseIdPutReqStocksItem struct {
	// Баркод.
	Sku OptString `json:"sku"`
	// Остаток.
	Amount OptInt `json:"amount"`
}
// GetSku returns the value of Sku.
func (s *APIV3StocksWarehouseIdPutReqStocksItem) GetSku() OptString {
	return s.Sku
}
// GetAmount returns the value of Amount.
func (s *APIV3StocksWarehouseIdPutReqStocksItem) GetAmount() OptInt {
	return s.Amount
}
// SetSku sets the value of Sku.
func (s *APIV3StocksWarehouseIdPutReqStocksItem) SetSku(val OptString) {
	s.Sku = val
}
// SetAmount sets the value of Amount.
func (s *APIV3StocksWarehouseIdPutReqStocksItem) SetAmount(val OptInt) {
	s.Amount = val
}
type APIV3WarehousesGetOKApplicationJSON []Warehouse
func (*APIV3WarehousesGetOKApplicationJSON) aPIV3WarehousesGetRes() {}
type APIV3WarehousesPostBadRequest Error
func (*APIV3WarehousesPostBadRequest) aPIV3WarehousesPostRes() {}
type APIV3WarehousesPostConflict Error
func (*APIV3WarehousesPostConflict) aPIV3WarehousesPostRes() {}
type APIV3WarehousesPostCreated struct {
	// ID склада продавца.
	ID OptInt `json:"id"`
}
// GetID returns the value of ID.
func (s *APIV3WarehousesPostCreated) GetID() OptInt {
	return s.ID
}
// SetID sets the value of ID.
func (s *APIV3WarehousesPostCreated) SetID(val OptInt) {
	s.ID = val
}
func (*APIV3WarehousesPostCreated) aPIV3WarehousesPostRes() {}
type APIV3WarehousesPostForbidden Error
func (*APIV3WarehousesPostForbidden) aPIV3WarehousesPostRes() {}
type APIV3WarehousesPostNotFound Error
func (*APIV3WarehousesPostNotFound) aPIV3WarehousesPostRes() {}
type APIV3WarehousesPostReq struct {
	// Имя склада продавца.
	Name string `json:"name"`
	// ID склада WB.
	OfficeId int `json:"officeId"`
}
// GetName returns the value of Name.
func (s *APIV3WarehousesPostReq) GetName() string {
	return s.Name
}
// GetOfficeId returns the value of OfficeId.
func (s *APIV3WarehousesPostReq) GetOfficeId() int {
	return s.OfficeId
}
// SetName sets the value of Name.
func (s *APIV3WarehousesPostReq) SetName(val string) {
	s.Name = val
}
// SetOfficeId sets the value of OfficeId.
func (s *APIV3WarehousesPostReq) SetOfficeId(val int) {
	s.OfficeId = val
}
type APIV3WarehousesWarehouseIdDeleteForbidden Error
func (*APIV3WarehousesWarehouseIdDeleteForbidden) aPIV3WarehousesWarehouseIdDeleteRes() {}
// APIV3WarehousesWarehouseIdDeleteNoContent is response for APIV3WarehousesWarehouseIdDelete operation.
type APIV3WarehousesWarehouseIdDeleteNoContent struct{}
func (*APIV3WarehousesWarehouseIdDeleteNoContent) aPIV3WarehousesWarehouseIdDeleteRes() {}
type APIV3WarehousesWarehouseIdDeleteNotFound Error
func (*APIV3WarehousesWarehouseIdDeleteNotFound) aPIV3WarehousesWarehouseIdDeleteRes() {}
type APIV3WarehousesWarehouseIdPutBadRequest Error
func (*APIV3WarehousesWarehouseIdPutBadRequest) aPIV3WarehousesWarehouseIdPutRes() {}
type APIV3WarehousesWarehouseIdPutConflict Error
func (*APIV3WarehousesWarehouseIdPutConflict) aPIV3WarehousesWarehouseIdPutRes() {}
type APIV3WarehousesWarehouseIdPutForbidden Error
func (*APIV3WarehousesWarehouseIdPutForbidden) aPIV3WarehousesWarehouseIdPutRes() {}
// APIV3WarehousesWarehouseIdPutNoContent is response for APIV3WarehousesWarehouseIdPut operation.
type APIV3WarehousesWarehouseIdPutNoContent struct{}
func (*APIV3WarehousesWarehouseIdPutNoContent) aPIV3WarehousesWarehouseIdPutRes() {}
type APIV3WarehousesWarehouseIdPutNotFound Error
func (*APIV3WarehousesWarehouseIdPutNotFound) aPIV3WarehousesWarehouseIdPutRes() {}
type APIV3WarehousesWarehouseIdPutReq struct {
	// Имя склада продавца.
	Name string `json:"name"`
	// ID склада WB.
	OfficeId int `json:"officeId"`
}
// GetName returns the value of Name.
func (s *APIV3WarehousesWarehouseIdPutReq) GetName() string {
	return s.Name
}
// GetOfficeId returns the value of OfficeId.
func (s *APIV3WarehousesWarehouseIdPutReq) GetOfficeId() int {
	return s.OfficeId
}
// SetName sets the value of Name.
func (s *APIV3WarehousesWarehouseIdPutReq) SetName(val string) {
	s.Name = val
}
// SetOfficeId sets the value of OfficeId.
func (s *APIV3WarehousesWarehouseIdPutReq) SetOfficeId(val int) {
	s.OfficeId = val
}
type ClubDisc []ClubDiscReq
// Ref: #/components/schemas/ClubDiscReq
type ClubDiscReq struct {
	// Артикул WB.
	NmID int `json:"nmID"`
	// Скидка WB Клуба, %.
	ClubDiscount int `json:"clubDiscount"`
}
// GetNmID returns the value of NmID.
func (s *ClubDiscReq) GetNmID() int {
	return s.NmID
}
// GetClubDiscount returns the value of ClubDiscount.
func (s *ClubDiscReq) GetClubDiscount() int {
	return s.ClubDiscount
}
// SetNmID sets the value of NmID.
func (s *ClubDiscReq) SetNmID(val int) {
	s.NmID = val
}
// SetClubDiscount sets the value of ClubDiscount.
func (s *ClubDiscReq) SetClubDiscount(val int) {
	s.ClubDiscount = val
}
type ContentV2BarcodesPostOK struct {
	// Массив сгенерированных баркодов.
	Data []string `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2BarcodesPostOK) GetData() []string {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2BarcodesPostOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2BarcodesPostOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2BarcodesPostOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2BarcodesPostOK) SetData(val []string) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2BarcodesPostOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2BarcodesPostOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2BarcodesPostOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2BarcodesPostOK) contentV2BarcodesPostRes() {}
type ContentV2BarcodesPostReq struct {
	// Кол-во баркодов которые надо сгенерировать,
	// максимальное доступное количество баркодов для
	// генерации - `5 000`.
	Count OptInt `json:"count"`
}
// GetCount returns the value of Count.
func (s *ContentV2BarcodesPostReq) GetCount() OptInt {
	return s.Count
}
// SetCount sets the value of Count.
func (s *ContentV2BarcodesPostReq) SetCount(val OptInt) {
	s.Count = val
}
type ContentV2CardsDeleteTrashPostOK struct {
	Data OptContentV2CardsDeleteTrashPostOKData `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptContentV2CardsDeleteTrashPostOKAdditionalErrors `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2CardsDeleteTrashPostOK) GetData() OptContentV2CardsDeleteTrashPostOKData {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2CardsDeleteTrashPostOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2CardsDeleteTrashPostOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2CardsDeleteTrashPostOK) GetAdditionalErrors() OptContentV2CardsDeleteTrashPostOKAdditionalErrors {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2CardsDeleteTrashPostOK) SetData(val OptContentV2CardsDeleteTrashPostOKData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2CardsDeleteTrashPostOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2CardsDeleteTrashPostOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2CardsDeleteTrashPostOK) SetAdditionalErrors(val OptContentV2CardsDeleteTrashPostOKAdditionalErrors) {
	s.AdditionalErrors = val
}
func (*ContentV2CardsDeleteTrashPostOK) contentV2CardsDeleteTrashPostRes() {}
// Дополнительные ошибки.
type ContentV2CardsDeleteTrashPostOKAdditionalErrors struct{}
type ContentV2CardsDeleteTrashPostOKData struct{}
type ContentV2CardsDeleteTrashPostReq struct {
	// Артикул WB (max. 1000).
	NmIDs []int `json:"nmIDs"`
}
// GetNmIDs returns the value of NmIDs.
func (s *ContentV2CardsDeleteTrashPostReq) GetNmIDs() []int {
	return s.NmIDs
}
// SetNmIDs sets the value of NmIDs.
func (s *ContentV2CardsDeleteTrashPostReq) SetNmIDs(val []int) {
	s.NmIDs = val
}
type ContentV2CardsErrorListGetOK struct {
	Data []ContentV2CardsErrorListGetOKDataItem `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2CardsErrorListGetOK) GetData() []ContentV2CardsErrorListGetOKDataItem {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2CardsErrorListGetOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2CardsErrorListGetOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2CardsErrorListGetOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2CardsErrorListGetOK) SetData(val []ContentV2CardsErrorListGetOKDataItem) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2CardsErrorListGetOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2CardsErrorListGetOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2CardsErrorListGetOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2CardsErrorListGetOK) contentV2CardsErrorListGetRes() {}
type ContentV2CardsErrorListGetOKDataItem struct {
	// Категория, для которой создавалась карточка товара.
	Object OptString `json:"object"`
	// Артикул продавца.
	VendorCode OptString `json:"vendorCode"`
	// Дата и время запроса на создание карточки товара.
	UpdateAt OptString `json:"updateAt"`
	// Список ошибок, из-за которых не обработался запрос на
	// создание карточки товара.
	Errors []string `json:"errors"`
	// ID предмета.
	ObjectID OptInt `json:"objectID"`
}
// GetObject returns the value of Object.
func (s *ContentV2CardsErrorListGetOKDataItem) GetObject() OptString {
	return s.Object
}
// GetVendorCode returns the value of VendorCode.
func (s *ContentV2CardsErrorListGetOKDataItem) GetVendorCode() OptString {
	return s.VendorCode
}
// GetUpdateAt returns the value of UpdateAt.
func (s *ContentV2CardsErrorListGetOKDataItem) GetUpdateAt() OptString {
	return s.UpdateAt
}
// GetErrors returns the value of Errors.
func (s *ContentV2CardsErrorListGetOKDataItem) GetErrors() []string {
	return s.Errors
}
// GetObjectID returns the value of ObjectID.
func (s *ContentV2CardsErrorListGetOKDataItem) GetObjectID() OptInt {
	return s.ObjectID
}
// SetObject sets the value of Object.
func (s *ContentV2CardsErrorListGetOKDataItem) SetObject(val OptString) {
	s.Object = val
}
// SetVendorCode sets the value of VendorCode.
func (s *ContentV2CardsErrorListGetOKDataItem) SetVendorCode(val OptString) {
	s.VendorCode = val
}
// SetUpdateAt sets the value of UpdateAt.
func (s *ContentV2CardsErrorListGetOKDataItem) SetUpdateAt(val OptString) {
	s.UpdateAt = val
}
// SetErrors sets the value of Errors.
func (s *ContentV2CardsErrorListGetOKDataItem) SetErrors(val []string) {
	s.Errors = val
}
// SetObjectID sets the value of ObjectID.
func (s *ContentV2CardsErrorListGetOKDataItem) SetObjectID(val OptInt) {
	s.ObjectID = val
}
type ContentV2CardsLimitsGetOK struct {
	Data OptContentV2CardsLimitsGetOKData `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2CardsLimitsGetOK) GetData() OptContentV2CardsLimitsGetOKData {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2CardsLimitsGetOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2CardsLimitsGetOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2CardsLimitsGetOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2CardsLimitsGetOK) SetData(val OptContentV2CardsLimitsGetOKData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2CardsLimitsGetOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2CardsLimitsGetOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2CardsLimitsGetOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2CardsLimitsGetOK) contentV2CardsLimitsGetRes() {}
type ContentV2CardsLimitsGetOKData struct {
	// Количество бесплатных лимитов.
	FreeLimits OptInt `json:"freeLimits"`
	// Количество оплаченных лимитов.
	PaidLimits OptInt `json:"paidLimits"`
}
// GetFreeLimits returns the value of FreeLimits.
func (s *ContentV2CardsLimitsGetOKData) GetFreeLimits() OptInt {
	return s.FreeLimits
}
// GetPaidLimits returns the value of PaidLimits.
func (s *ContentV2CardsLimitsGetOKData) GetPaidLimits() OptInt {
	return s.PaidLimits
}
// SetFreeLimits sets the value of FreeLimits.
func (s *ContentV2CardsLimitsGetOKData) SetFreeLimits(val OptInt) {
	s.FreeLimits = val
}
// SetPaidLimits sets the value of PaidLimits.
func (s *ContentV2CardsLimitsGetOKData) SetPaidLimits(val OptInt) {
	s.PaidLimits = val
}
type ContentV2CardsRecoverPostOK struct {
	Data OptContentV2CardsRecoverPostOKData `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptContentV2CardsRecoverPostOKAdditionalErrors `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2CardsRecoverPostOK) GetData() OptContentV2CardsRecoverPostOKData {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2CardsRecoverPostOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2CardsRecoverPostOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2CardsRecoverPostOK) GetAdditionalErrors() OptContentV2CardsRecoverPostOKAdditionalErrors {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2CardsRecoverPostOK) SetData(val OptContentV2CardsRecoverPostOKData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2CardsRecoverPostOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2CardsRecoverPostOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2CardsRecoverPostOK) SetAdditionalErrors(val OptContentV2CardsRecoverPostOKAdditionalErrors) {
	s.AdditionalErrors = val
}
func (*ContentV2CardsRecoverPostOK) contentV2CardsRecoverPostRes() {}
// Дополнительные ошибки.
type ContentV2CardsRecoverPostOKAdditionalErrors struct{}
type ContentV2CardsRecoverPostOKData struct{}
type ContentV2CardsRecoverPostReq struct {
	// Артикул WB (max. 1000).
	NmIDs []int `json:"nmIDs"`
}
// GetNmIDs returns the value of NmIDs.
func (s *ContentV2CardsRecoverPostReq) GetNmIDs() []int {
	return s.NmIDs
}
// SetNmIDs sets the value of NmIDs.
func (s *ContentV2CardsRecoverPostReq) SetNmIDs(val []int) {
	s.NmIDs = val
}
type ContentV2CardsUpdatePostReqItem struct {
	// Артикул WB.
	NmID int `json:"nmID"`
	// Артикул продавца.
	VendorCode string `json:"vendorCode"`
	// Бренд.
	Brand OptString `json:"brand"`
	// Наименование товара.
	Title OptString `json:"title"`
	// Описание товара
	// Максимальное количество символов зависит от
	// категории товара
	// Стандарт — 2000, минимум — 1000, максимум — 5000
	// Подробно о правилах описания в **Правилах заполнения
	// карточки товара** в [Справочном центре](https://seller.wildberries.
	// ru/help-center/article/A-113#описание) на портале продавцов.
	Description OptString `json:"description"`
	// Габариты и вес товара `c упаковкой`
	// Указывать в `сантиметрах` и `килограммах` для любого
	// товара.
	Dimensions OptContentV2CardsUpdatePostReqItemDimensions `json:"dimensions"`
	// Характеристики товара.
	Characteristics []ContentV2CardsUpdatePostReqItemCharacteristicsItem `json:"characteristics"`
	// Массив размеров
	// Для безразмерного товара всё равно нужно передавать
	// данный массив без параметров (wbSize и techSize), но с
	// баркодом.
	Sizes []ContentV2CardsUpdatePostReqItemSizesItem `json:"sizes"`
}
// GetNmID returns the value of NmID.
func (s *ContentV2CardsUpdatePostReqItem) GetNmID() int {
	return s.NmID
}
// GetVendorCode returns the value of VendorCode.
func (s *ContentV2CardsUpdatePostReqItem) GetVendorCode() string {
	return s.VendorCode
}
// GetBrand returns the value of Brand.
func (s *ContentV2CardsUpdatePostReqItem) GetBrand() OptString {
	return s.Brand
}
// GetTitle returns the value of Title.
func (s *ContentV2CardsUpdatePostReqItem) GetTitle() OptString {
	return s.Title
}
// GetDescription returns the value of Description.
func (s *ContentV2CardsUpdatePostReqItem) GetDescription() OptString {
	return s.Description
}
// GetDimensions returns the value of Dimensions.
func (s *ContentV2CardsUpdatePostReqItem) GetDimensions() OptContentV2CardsUpdatePostReqItemDimensions {
	return s.Dimensions
}
// GetCharacteristics returns the value of Characteristics.
func (s *ContentV2CardsUpdatePostReqItem) GetCharacteristics() []ContentV2CardsUpdatePostReqItemCharacteristicsItem {
	return s.Characteristics
}
// GetSizes returns the value of Sizes.
func (s *ContentV2CardsUpdatePostReqItem) GetSizes() []ContentV2CardsUpdatePostReqItemSizesItem {
	return s.Sizes
}
// SetNmID sets the value of NmID.
func (s *ContentV2CardsUpdatePostReqItem) SetNmID(val int) {
	s.NmID = val
}
// SetVendorCode sets the value of VendorCode.
func (s *ContentV2CardsUpdatePostReqItem) SetVendorCode(val string) {
	s.VendorCode = val
}
// SetBrand sets the value of Brand.
func (s *ContentV2CardsUpdatePostReqItem) SetBrand(val OptString) {
	s.Brand = val
}
// SetTitle sets the value of Title.
func (s *ContentV2CardsUpdatePostReqItem) SetTitle(val OptString) {
	s.Title = val
}
// SetDescription sets the value of Description.
func (s *ContentV2CardsUpdatePostReqItem) SetDescription(val OptString) {
	s.Description = val
}
// SetDimensions sets the value of Dimensions.
func (s *ContentV2CardsUpdatePostReqItem) SetDimensions(val OptContentV2CardsUpdatePostReqItemDimensions) {
	s.Dimensions = val
}
// SetCharacteristics sets the value of Characteristics.
func (s *ContentV2CardsUpdatePostReqItem) SetCharacteristics(val []ContentV2CardsUpdatePostReqItemCharacteristicsItem) {
	s.Characteristics = val
}
// SetSizes sets the value of Sizes.
func (s *ContentV2CardsUpdatePostReqItem) SetSizes(val []ContentV2CardsUpdatePostReqItemSizesItem) {
	s.Sizes = val
}
type ContentV2CardsUpdatePostReqItemCharacteristicsItem struct {
	// ID характеристики.
	ID OptInt `json:"id"`
	// Значение характеристики. Тип значения зависит от
	// типа характеристики.
	Value jx.Raw `json:"value"`
}
// GetID returns the value of ID.
func (s *ContentV2CardsUpdatePostReqItemCharacteristicsItem) GetID() OptInt {
	return s.ID
}
// GetValue returns the value of Value.
func (s *ContentV2CardsUpdatePostReqItemCharacteristicsItem) GetValue() jx.Raw {
	return s.Value
}
// SetID sets the value of ID.
func (s *ContentV2CardsUpdatePostReqItemCharacteristicsItem) SetID(val OptInt) {
	s.ID = val
}
// SetValue sets the value of Value.
func (s *ContentV2CardsUpdatePostReqItemCharacteristicsItem) SetValue(val jx.Raw) {
	s.Value = val
}
// Габариты и вес товара `c упаковкой`
// Указывать в `сантиметрах` и `килограммах` для любого
// товара.
type ContentV2CardsUpdatePostReqItemDimensions struct {
	// Длина, см.
	Length OptInt `json:"length"`
	// Ширина, см.
	Width OptInt `json:"width"`
	// Высота, см.
	Height OptInt `json:"height"`
	// Вес, кг
Количество знаков после запятой <=3.
	WeightBrutto OptFloat64 `json:"weightBrutto"`
}
// GetLength returns the value of Length.
func (s *ContentV2CardsUpdatePostReqItemDimensions) GetLength() OptInt {
	return s.Length
}
// GetWidth returns the value of Width.
func (s *ContentV2CardsUpdatePostReqItemDimensions) GetWidth() OptInt {
	return s.Width
}
// GetHeight returns the value of Height.
func (s *ContentV2CardsUpdatePostReqItemDimensions) GetHeight() OptInt {
	return s.Height
}
// GetWeightBrutto returns the value of WeightBrutto.
func (s *ContentV2CardsUpdatePostReqItemDimensions) GetWeightBrutto() OptFloat64 {
	return s.WeightBrutto
}
// SetLength sets the value of Length.
func (s *ContentV2CardsUpdatePostReqItemDimensions) SetLength(val OptInt) {
	s.Length = val
}
// SetWidth sets the value of Width.
func (s *ContentV2CardsUpdatePostReqItemDimensions) SetWidth(val OptInt) {
	s.Width = val
}
// SetHeight sets the value of Height.
func (s *ContentV2CardsUpdatePostReqItemDimensions) SetHeight(val OptInt) {
	s.Height = val
}
// SetWeightBrutto sets the value of WeightBrutto.
func (s *ContentV2CardsUpdatePostReqItemDimensions) SetWeightBrutto(val OptFloat64) {
	s.WeightBrutto = val
}
type ContentV2CardsUpdatePostReqItemSizesItem struct {
	// ID размера для данного артикула WB
	// Обязателен к заполнению для существующих размеров
	// Для добавляемых размеров не указывается.
	ChrtID OptInt `json:"chrtID"`
	// Размер товара (например, XL, S, 45).
	TechSize OptString `json:"techSize"`
	// Российский размер товара.
	WbSize OptString `json:"wbSize"`
	// Баркоды.
	Skus []string `json:"skus"`
}
// GetChrtID returns the value of ChrtID.
func (s *ContentV2CardsUpdatePostReqItemSizesItem) GetChrtID() OptInt {
	return s.ChrtID
}
// GetTechSize returns the value of TechSize.
func (s *ContentV2CardsUpdatePostReqItemSizesItem) GetTechSize() OptString {
	return s.TechSize
}
// GetWbSize returns the value of WbSize.
func (s *ContentV2CardsUpdatePostReqItemSizesItem) GetWbSize() OptString {
	return s.WbSize
}
// GetSkus returns the value of Skus.
func (s *ContentV2CardsUpdatePostReqItemSizesItem) GetSkus() []string {
	return s.Skus
}
// SetChrtID sets the value of ChrtID.
func (s *ContentV2CardsUpdatePostReqItemSizesItem) SetChrtID(val OptInt) {
	s.ChrtID = val
}
// SetTechSize sets the value of TechSize.
func (s *ContentV2CardsUpdatePostReqItemSizesItem) SetTechSize(val OptString) {
	s.TechSize = val
}
// SetWbSize sets the value of WbSize.
func (s *ContentV2CardsUpdatePostReqItemSizesItem) SetWbSize(val OptString) {
	s.WbSize = val
}
// SetSkus sets the value of Skus.
func (s *ContentV2CardsUpdatePostReqItemSizesItem) SetSkus(val []string) {
	s.Skus = val
}
type ContentV2CardsUpdatePostRequestEntityTooLarge struct {
	// Заголовок ошибки.
	Title OptString `json:"title"`
	// Детали ошибки.
	Detail OptString `json:"detail"`
	// Внутренний код ошибки.
	Code OptString `json:"code"`
	// Уникальный ID запроса.
	RequestId OptString `json:"requestId"`
	// ID внутреннего сервиса WB.
	Origin OptString `json:"origin"`
	// HTTP статус-код.
	Status OptFloat64 `json:"status"`
	// Расшифровка HTTP статус-кода.
	StatusText OptString `json:"statusText"`
}
// GetTitle returns the value of Title.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) GetTitle() OptString {
	return s.Title
}
// GetDetail returns the value of Detail.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) GetDetail() OptString {
	return s.Detail
}
// GetCode returns the value of Code.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) GetCode() OptString {
	return s.Code
}
// GetRequestId returns the value of RequestId.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) GetRequestId() OptString {
	return s.RequestId
}
// GetOrigin returns the value of Origin.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) GetOrigin() OptString {
	return s.Origin
}
// GetStatus returns the value of Status.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) GetStatus() OptFloat64 {
	return s.Status
}
// GetStatusText returns the value of StatusText.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) GetStatusText() OptString {
	return s.StatusText
}
// SetTitle sets the value of Title.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) SetTitle(val OptString) {
	s.Title = val
}
// SetDetail sets the value of Detail.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) SetDetail(val OptString) {
	s.Detail = val
}
// SetCode sets the value of Code.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) SetCode(val OptString) {
	s.Code = val
}
// SetRequestId sets the value of RequestId.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) SetRequestId(val OptString) {
	s.RequestId = val
}
// SetOrigin sets the value of Origin.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) SetOrigin(val OptString) {
	s.Origin = val
}
// SetStatus sets the value of Status.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) SetStatus(val OptFloat64) {
	s.Status = val
}
// SetStatusText sets the value of StatusText.
func (s *ContentV2CardsUpdatePostRequestEntityTooLarge) SetStatusText(val OptString) {
	s.StatusText = val
}
func (*ContentV2CardsUpdatePostRequestEntityTooLarge) contentV2CardsUpdatePostRes() {}
type ContentV2CardsUploadAddPostReq struct {
	// `imtID` карточки товара, к которой присоединяется
	// карточка товара.
	ImtID OptInt `json:"imtID"`
	// Структура присоединяемой карточки товара.
	CardsToAdd []ContentV2CardsUploadAddPostReqCardsToAddItem `json:"cardsToAdd"`
}
// GetImtID returns the value of ImtID.
func (s *ContentV2CardsUploadAddPostReq) GetImtID() OptInt {
	return s.ImtID
}
// GetCardsToAdd returns the value of CardsToAdd.
func (s *ContentV2CardsUploadAddPostReq) GetCardsToAdd() []ContentV2CardsUploadAddPostReqCardsToAddItem {
	return s.CardsToAdd
}
// SetImtID sets the value of ImtID.
func (s *ContentV2CardsUploadAddPostReq) SetImtID(val OptInt) {
	s.ImtID = val
}
// SetCardsToAdd sets the value of CardsToAdd.
func (s *ContentV2CardsUploadAddPostReq) SetCardsToAdd(val []ContentV2CardsUploadAddPostReqCardsToAddItem) {
	s.CardsToAdd = val
}
type ContentV2CardsUploadAddPostReqCardsToAddItem struct {
	// Бренд.
	Brand OptString `json:"brand"`
	// Артикул продавца.
	VendorCode string `json:"vendorCode"`
	// Наименование товара.
	Title OptString `json:"title"`
	// Описание товара
	// Максимальное количество символов зависит от
	// категории товара
	// Стандарт — 2000, минимум — 1000, максимум — 5000
	// Подробно о правилах описания в **Правилах заполнения
	// карточки товара** в [Справочном центре](https://seller.wildberries.
	// ru/help-center/article/A-113#описание) на портале продавцов.
	Description OptString `json:"description"`
	// Габариты и вес товара `c упаковкой`
	// Указывать в `сантиметрах` и `килограммах` для любого
	// товара
	// Если не указать, сгенерируется автоматически с
	// нулевыми значениями длины, ширины, высоты, веса.
	Dimensions OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions `json:"dimensions"`
	// Массив размеров
	// Если не указать для размерного товара (обувь, одежда и
	// др.), сгенерируется автоматически с `techSize` = "A", `wbSize` = "1"
	// и баркодом.
	Sizes []ContentV2CardsUploadAddPostReqCardsToAddItemSizesItem `json:"sizes"`
	// Массив характеристик товара.
	Characteristics []ContentV2CardsUploadAddPostReqCardsToAddItemCharacteristicsItem `json:"characteristics"`
}
// GetBrand returns the value of Brand.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) GetBrand() OptString {
	return s.Brand
}
// GetVendorCode returns the value of VendorCode.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) GetVendorCode() string {
	return s.VendorCode
}
// GetTitle returns the value of Title.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) GetTitle() OptString {
	return s.Title
}
// GetDescription returns the value of Description.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) GetDescription() OptString {
	return s.Description
}
// GetDimensions returns the value of Dimensions.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) GetDimensions() OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions {
	return s.Dimensions
}
// GetSizes returns the value of Sizes.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) GetSizes() []ContentV2CardsUploadAddPostReqCardsToAddItemSizesItem {
	return s.Sizes
}
// GetCharacteristics returns the value of Characteristics.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) GetCharacteristics() []ContentV2CardsUploadAddPostReqCardsToAddItemCharacteristicsItem {
	return s.Characteristics
}
// SetBrand sets the value of Brand.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) SetBrand(val OptString) {
	s.Brand = val
}
// SetVendorCode sets the value of VendorCode.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) SetVendorCode(val string) {
	s.VendorCode = val
}
// SetTitle sets the value of Title.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) SetTitle(val OptString) {
	s.Title = val
}
// SetDescription sets the value of Description.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) SetDescription(val OptString) {
	s.Description = val
}
// SetDimensions sets the value of Dimensions.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) SetDimensions(val OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions) {
	s.Dimensions = val
}
// SetSizes sets the value of Sizes.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) SetSizes(val []ContentV2CardsUploadAddPostReqCardsToAddItemSizesItem) {
	s.Sizes = val
}
// SetCharacteristics sets the value of Characteristics.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItem) SetCharacteristics(val []ContentV2CardsUploadAddPostReqCardsToAddItemCharacteristicsItem) {
	s.Characteristics = val
}
type ContentV2CardsUploadAddPostReqCardsToAddItemCharacteristicsItem struct {
	// ID характеристики.
	ID int `json:"id"`
	// Значение характеристики. Тип значения зависит от
	// типа характеристики.
	Value jx.Raw `json:"value"`
}
// GetID returns the value of ID.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemCharacteristicsItem) GetID() int {
	return s.ID
}
// GetValue returns the value of Value.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemCharacteristicsItem) GetValue() jx.Raw {
	return s.Value
}
// SetID sets the value of ID.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemCharacteristicsItem) SetID(val int) {
	s.ID = val
}
// SetValue sets the value of Value.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemCharacteristicsItem) SetValue(val jx.Raw) {
	s.Value = val
}
// Габариты и вес товара `c упаковкой`
// Указывать в `сантиметрах` и `килограммах` для любого
// товара
// Если не указать, сгенерируется автоматически с
// нулевыми значениями длины, ширины, высоты, веса.
type ContentV2CardsUploadAddPostReqCardsToAddItemDimensions struct {
	// Длина, см.
	Length OptInt `json:"length"`
	// Ширина, см.
	Width OptInt `json:"width"`
	// Высота, см.
	Height OptInt `json:"height"`
	// Вес, кг
Количество знаков после запятой <=3.
	WeightBrutto OptFloat64 `json:"weightBrutto"`
}
// GetLength returns the value of Length.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemDimensions) GetLength() OptInt {
	return s.Length
}
// GetWidth returns the value of Width.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemDimensions) GetWidth() OptInt {
	return s.Width
}
// GetHeight returns the value of Height.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemDimensions) GetHeight() OptInt {
	return s.Height
}
// GetWeightBrutto returns the value of WeightBrutto.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemDimensions) GetWeightBrutto() OptFloat64 {
	return s.WeightBrutto
}
// SetLength sets the value of Length.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemDimensions) SetLength(val OptInt) {
	s.Length = val
}
// SetWidth sets the value of Width.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemDimensions) SetWidth(val OptInt) {
	s.Width = val
}
// SetHeight sets the value of Height.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemDimensions) SetHeight(val OptInt) {
	s.Height = val
}
// SetWeightBrutto sets the value of WeightBrutto.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemDimensions) SetWeightBrutto(val OptFloat64) {
	s.WeightBrutto = val
}
type ContentV2CardsUploadAddPostReqCardsToAddItemSizesItem struct {
	// Размер товара (например, XL, 45).
	TechSize OptString `json:"techSize"`
	// Российский размер товара.
	WbSize OptString `json:"wbSize"`
	// Цена товара.
	Price OptInt `json:"price"`
	// Баркод. Если не указать, сгенерируется автоматически.
	Skus []string `json:"skus"`
}
// GetTechSize returns the value of TechSize.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemSizesItem) GetTechSize() OptString {
	return s.TechSize
}
// GetWbSize returns the value of WbSize.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemSizesItem) GetWbSize() OptString {
	return s.WbSize
}
// GetPrice returns the value of Price.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemSizesItem) GetPrice() OptInt {
	return s.Price
}
// GetSkus returns the value of Skus.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemSizesItem) GetSkus() []string {
	return s.Skus
}
// SetTechSize sets the value of TechSize.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemSizesItem) SetTechSize(val OptString) {
	s.TechSize = val
}
// SetWbSize sets the value of WbSize.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemSizesItem) SetWbSize(val OptString) {
	s.WbSize = val
}
// SetPrice sets the value of Price.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemSizesItem) SetPrice(val OptInt) {
	s.Price = val
}
// SetSkus sets the value of Skus.
func (s *ContentV2CardsUploadAddPostReqCardsToAddItemSizesItem) SetSkus(val []string) {
	s.Skus = val
}
type ContentV2CardsUploadAddPostRequestEntityTooLarge struct {
	// Заголовок ошибки.
	Title OptString `json:"title"`
	// Детали ошибки.
	Detail OptString `json:"detail"`
	// Внутренний код ошибки.
	Code OptString `json:"code"`
	// Уникальный ID запроса.
	RequestId OptString `json:"requestId"`
	// ID внутреннего сервиса WB.
	Origin OptString `json:"origin"`
	// HTTP статус-код.
	Status OptFloat64 `json:"status"`
	// Расшифровка HTTP статус-кода.
	StatusText OptString `json:"statusText"`
}
// GetTitle returns the value of Title.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) GetTitle() OptString {
	return s.Title
}
// GetDetail returns the value of Detail.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) GetDetail() OptString {
	return s.Detail
}
// GetCode returns the value of Code.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) GetCode() OptString {
	return s.Code
}
// GetRequestId returns the value of RequestId.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) GetRequestId() OptString {
	return s.RequestId
}
// GetOrigin returns the value of Origin.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) GetOrigin() OptString {
	return s.Origin
}
// GetStatus returns the value of Status.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) GetStatus() OptFloat64 {
	return s.Status
}
// GetStatusText returns the value of StatusText.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) GetStatusText() OptString {
	return s.StatusText
}
// SetTitle sets the value of Title.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) SetTitle(val OptString) {
	s.Title = val
}
// SetDetail sets the value of Detail.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) SetDetail(val OptString) {
	s.Detail = val
}
// SetCode sets the value of Code.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) SetCode(val OptString) {
	s.Code = val
}
// SetRequestId sets the value of RequestId.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) SetRequestId(val OptString) {
	s.RequestId = val
}
// SetOrigin sets the value of Origin.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) SetOrigin(val OptString) {
	s.Origin = val
}
// SetStatus sets the value of Status.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) SetStatus(val OptFloat64) {
	s.Status = val
}
// SetStatusText sets the value of StatusText.
func (s *ContentV2CardsUploadAddPostRequestEntityTooLarge) SetStatusText(val OptString) {
	s.StatusText = val
}
func (*ContentV2CardsUploadAddPostRequestEntityTooLarge) contentV2CardsUploadAddPostRes() {}
type ContentV2CardsUploadPostReqItem struct {
	// ID предмета.
	SubjectID int `json:"subjectID"`
	// Массив вариантов товара
	// В каждой объединённой карточке товара может быть не
	// более 30 карточек товаров.
	Variants []ContentV2CardsUploadPostReqItemVariantsItem `json:"variants"`
}
// GetSubjectID returns the value of SubjectID.
func (s *ContentV2CardsUploadPostReqItem) GetSubjectID() int {
	return s.SubjectID
}
// GetVariants returns the value of Variants.
func (s *ContentV2CardsUploadPostReqItem) GetVariants() []ContentV2CardsUploadPostReqItemVariantsItem {
	return s.Variants
}
// SetSubjectID sets the value of SubjectID.
func (s *ContentV2CardsUploadPostReqItem) SetSubjectID(val int) {
	s.SubjectID = val
}
// SetVariants sets the value of Variants.
func (s *ContentV2CardsUploadPostReqItem) SetVariants(val []ContentV2CardsUploadPostReqItemVariantsItem) {
	s.Variants = val
}
type ContentV2CardsUploadPostReqItemVariantsItem struct {
	// Бренд.
	Brand OptString `json:"brand"`
	// Наименование товара.
	Title OptString `json:"title"`
	// Описание товара
	// Максимальное количество символов зависит от
	// категории товара
	// Стандарт — 2000, минимум — 1000, максимум — 5000
	// Подробно о правилах описания в **Правилах заполнения
	// карточки товара** в разделе в [Справочном
	// центре](https://seller.wildberries.ru/help-center/article/A-113#описание) на
	// портале продавцов.
	Description OptString `json:"description"`
	// Артикул продавца.
	VendorCode string `json:"vendorCode"`
	// Габариты и вес товара `c упаковкой`
	// Указывать в `сантиметрах` и `килограммах` для любого
	// товара
	// Если не указать, сгенерируется автоматически с
	// нулевыми значениями длины, ширины, высоты, веса.
	Dimensions OptContentV2CardsUploadPostReqItemVariantsItemDimensions `json:"dimensions"`
	// Массив размеров
	// Если не указать для размерного товара (обувь, одежда и
	// др.), сгенерируется автоматически с `techSize` = "A", `wbSize` = "1"
	// и баркодом.
	Sizes []ContentV2CardsUploadPostReqItemVariantsItemSizesItem `json:"sizes"`
	// Массив характеристик товара.
	Characteristics []ContentV2CardsUploadPostReqItemVariantsItemCharacteristicsItem `json:"characteristics"`
}
// GetBrand returns the value of Brand.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) GetBrand() OptString {
	return s.Brand
}
// GetTitle returns the value of Title.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) GetTitle() OptString {
	return s.Title
}
// GetDescription returns the value of Description.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) GetDescription() OptString {
	return s.Description
}
// GetVendorCode returns the value of VendorCode.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) GetVendorCode() string {
	return s.VendorCode
}
// GetDimensions returns the value of Dimensions.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) GetDimensions() OptContentV2CardsUploadPostReqItemVariantsItemDimensions {
	return s.Dimensions
}
// GetSizes returns the value of Sizes.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) GetSizes() []ContentV2CardsUploadPostReqItemVariantsItemSizesItem {
	return s.Sizes
}
// GetCharacteristics returns the value of Characteristics.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) GetCharacteristics() []ContentV2CardsUploadPostReqItemVariantsItemCharacteristicsItem {
	return s.Characteristics
}
// SetBrand sets the value of Brand.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) SetBrand(val OptString) {
	s.Brand = val
}
// SetTitle sets the value of Title.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) SetTitle(val OptString) {
	s.Title = val
}
// SetDescription sets the value of Description.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) SetDescription(val OptString) {
	s.Description = val
}
// SetVendorCode sets the value of VendorCode.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) SetVendorCode(val string) {
	s.VendorCode = val
}
// SetDimensions sets the value of Dimensions.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) SetDimensions(val OptContentV2CardsUploadPostReqItemVariantsItemDimensions) {
	s.Dimensions = val
}
// SetSizes sets the value of Sizes.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) SetSizes(val []ContentV2CardsUploadPostReqItemVariantsItemSizesItem) {
	s.Sizes = val
}
// SetCharacteristics sets the value of Characteristics.
func (s *ContentV2CardsUploadPostReqItemVariantsItem) SetCharacteristics(val []ContentV2CardsUploadPostReqItemVariantsItemCharacteristicsItem) {
	s.Characteristics = val
}
type ContentV2CardsUploadPostReqItemVariantsItemCharacteristicsItem struct {
	// ID характеристики.
	ID int `json:"id"`
	// Значение характеристики. Тип значения зависит от
	// типа характеристики.
	Value jx.Raw `json:"value"`
}
// GetID returns the value of ID.
func (s *ContentV2CardsUploadPostReqItemVariantsItemCharacteristicsItem) GetID() int {
	return s.ID
}
// GetValue returns the value of Value.
func (s *ContentV2CardsUploadPostReqItemVariantsItemCharacteristicsItem) GetValue() jx.Raw {
	return s.Value
}
// SetID sets the value of ID.
func (s *ContentV2CardsUploadPostReqItemVariantsItemCharacteristicsItem) SetID(val int) {
	s.ID = val
}
// SetValue sets the value of Value.
func (s *ContentV2CardsUploadPostReqItemVariantsItemCharacteristicsItem) SetValue(val jx.Raw) {
	s.Value = val
}
// Габариты и вес товара `c упаковкой`
// Указывать в `сантиметрах` и `килограммах` для любого
// товара
// Если не указать, сгенерируется автоматически с
// нулевыми значениями длины, ширины, высоты, веса.
type ContentV2CardsUploadPostReqItemVariantsItemDimensions struct {
	// Длина, см.
	Length OptInt `json:"length"`
	// Ширина, см.
	Width OptInt `json:"width"`
	// Высота, см.
	Height OptInt `json:"height"`
	// Вес, кг
Количество знаков после запятой <=3.
	WeightBrutto OptFloat64 `json:"weightBrutto"`
}
// GetLength returns the value of Length.
func (s *ContentV2CardsUploadPostReqItemVariantsItemDimensions) GetLength() OptInt {
	return s.Length
}
// GetWidth returns the value of Width.
func (s *ContentV2CardsUploadPostReqItemVariantsItemDimensions) GetWidth() OptInt {
	return s.Width
}
// GetHeight returns the value of Height.
func (s *ContentV2CardsUploadPostReqItemVariantsItemDimensions) GetHeight() OptInt {
	return s.Height
}
// GetWeightBrutto returns the value of WeightBrutto.
func (s *ContentV2CardsUploadPostReqItemVariantsItemDimensions) GetWeightBrutto() OptFloat64 {
	return s.WeightBrutto
}
// SetLength sets the value of Length.
func (s *ContentV2CardsUploadPostReqItemVariantsItemDimensions) SetLength(val OptInt) {
	s.Length = val
}
// SetWidth sets the value of Width.
func (s *ContentV2CardsUploadPostReqItemVariantsItemDimensions) SetWidth(val OptInt) {
	s.Width = val
}
// SetHeight sets the value of Height.
func (s *ContentV2CardsUploadPostReqItemVariantsItemDimensions) SetHeight(val OptInt) {
	s.Height = val
}
// SetWeightBrutto sets the value of WeightBrutto.
func (s *ContentV2CardsUploadPostReqItemVariantsItemDimensions) SetWeightBrutto(val OptFloat64) {
	s.WeightBrutto = val
}
type ContentV2CardsUploadPostReqItemVariantsItemSizesItem struct {
	// Размер товара (например, XL, 45).
	TechSize OptString `json:"techSize"`
	// Российский размер товара.
	WbSize OptString `json:"wbSize"`
	// Цена товара.
	Price OptInt `json:"price"`
	// Баркод. Если не указать, сгенерируется автоматически.
	Skus []string `json:"skus"`
}
// GetTechSize returns the value of TechSize.
func (s *ContentV2CardsUploadPostReqItemVariantsItemSizesItem) GetTechSize() OptString {
	return s.TechSize
}
// GetWbSize returns the value of WbSize.
func (s *ContentV2CardsUploadPostReqItemVariantsItemSizesItem) GetWbSize() OptString {
	return s.WbSize
}
// GetPrice returns the value of Price.
func (s *ContentV2CardsUploadPostReqItemVariantsItemSizesItem) GetPrice() OptInt {
	return s.Price
}
// GetSkus returns the value of Skus.
func (s *ContentV2CardsUploadPostReqItemVariantsItemSizesItem) GetSkus() []string {
	return s.Skus
}
// SetTechSize sets the value of TechSize.
func (s *ContentV2CardsUploadPostReqItemVariantsItemSizesItem) SetTechSize(val OptString) {
	s.TechSize = val
}
// SetWbSize sets the value of WbSize.
func (s *ContentV2CardsUploadPostReqItemVariantsItemSizesItem) SetWbSize(val OptString) {
	s.WbSize = val
}
// SetPrice sets the value of Price.
func (s *ContentV2CardsUploadPostReqItemVariantsItemSizesItem) SetPrice(val OptInt) {
	s.Price = val
}
// SetSkus sets the value of Skus.
func (s *ContentV2CardsUploadPostReqItemVariantsItemSizesItem) SetSkus(val []string) {
	s.Skus = val
}
type ContentV2CardsUploadPostRequestEntityTooLarge struct {
	// Заголовок ошибки.
	Title OptString `json:"title"`
	// Детали ошибки.
	Detail OptString `json:"detail"`
	// Внутренний код ошибки.
	Code OptString `json:"code"`
	// Уникальный ID запроса.
	RequestId OptString `json:"requestId"`
	// ID внутреннего сервиса WB.
	Origin OptString `json:"origin"`
	// HTTP статус-код.
	Status OptFloat64 `json:"status"`
	// Расшифровка HTTP статус-кода.
	StatusText OptString `json:"statusText"`
}
// GetTitle returns the value of Title.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) GetTitle() OptString {
	return s.Title
}
// GetDetail returns the value of Detail.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) GetDetail() OptString {
	return s.Detail
}
// GetCode returns the value of Code.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) GetCode() OptString {
	return s.Code
}
// GetRequestId returns the value of RequestId.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) GetRequestId() OptString {
	return s.RequestId
}
// GetOrigin returns the value of Origin.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) GetOrigin() OptString {
	return s.Origin
}
// GetStatus returns the value of Status.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) GetStatus() OptFloat64 {
	return s.Status
}
// GetStatusText returns the value of StatusText.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) GetStatusText() OptString {
	return s.StatusText
}
// SetTitle sets the value of Title.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) SetTitle(val OptString) {
	s.Title = val
}
// SetDetail sets the value of Detail.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) SetDetail(val OptString) {
	s.Detail = val
}
// SetCode sets the value of Code.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) SetCode(val OptString) {
	s.Code = val
}
// SetRequestId sets the value of RequestId.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) SetRequestId(val OptString) {
	s.RequestId = val
}
// SetOrigin sets the value of Origin.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) SetOrigin(val OptString) {
	s.Origin = val
}
// SetStatus sets the value of Status.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) SetStatus(val OptFloat64) {
	s.Status = val
}
// SetStatusText sets the value of StatusText.
func (s *ContentV2CardsUploadPostRequestEntityTooLarge) SetStatusText(val OptString) {
	s.StatusText = val
}
func (*ContentV2CardsUploadPostRequestEntityTooLarge) contentV2CardsUploadPostRes() {}
type ContentV2DirectoryColorsGetOK struct {
	Data jx.Raw `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2DirectoryColorsGetOK) GetData() jx.Raw {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2DirectoryColorsGetOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2DirectoryColorsGetOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2DirectoryColorsGetOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2DirectoryColorsGetOK) SetData(val jx.Raw) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2DirectoryColorsGetOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2DirectoryColorsGetOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2DirectoryColorsGetOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2DirectoryColorsGetOK) contentV2DirectoryColorsGetRes() {}
type ContentV2DirectoryCountriesGetOK struct {
	Data jx.Raw `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2DirectoryCountriesGetOK) GetData() jx.Raw {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2DirectoryCountriesGetOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2DirectoryCountriesGetOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2DirectoryCountriesGetOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2DirectoryCountriesGetOK) SetData(val jx.Raw) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2DirectoryCountriesGetOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2DirectoryCountriesGetOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2DirectoryCountriesGetOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2DirectoryCountriesGetOK) contentV2DirectoryCountriesGetRes() {}
type ContentV2DirectoryKindsGetOK struct {
	// Массив значений для хар-ки Пол.
	Data []string `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2DirectoryKindsGetOK) GetData() []string {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2DirectoryKindsGetOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2DirectoryKindsGetOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2DirectoryKindsGetOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2DirectoryKindsGetOK) SetData(val []string) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2DirectoryKindsGetOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2DirectoryKindsGetOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2DirectoryKindsGetOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2DirectoryKindsGetOK) contentV2DirectoryKindsGetRes() {}
type ContentV2DirectorySeasonsGetOK struct {
	// Массив значений для хар-ки Сезон.
	Data []string `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2DirectorySeasonsGetOK) GetData() []string {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2DirectorySeasonsGetOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2DirectorySeasonsGetOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2DirectorySeasonsGetOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2DirectorySeasonsGetOK) SetData(val []string) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2DirectorySeasonsGetOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2DirectorySeasonsGetOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2DirectorySeasonsGetOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2DirectorySeasonsGetOK) contentV2DirectorySeasonsGetRes() {}
type ContentV2DirectoryTnvedGetOK struct {
	// Данные.
	Data []ContentV2DirectoryTnvedGetOKDataItem `json:"data"`
	// Флаг наличия ошибки.
	Error OptBool `json:"error"`
	// Текст ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2DirectoryTnvedGetOK) GetData() []ContentV2DirectoryTnvedGetOKDataItem {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2DirectoryTnvedGetOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2DirectoryTnvedGetOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2DirectoryTnvedGetOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2DirectoryTnvedGetOK) SetData(val []ContentV2DirectoryTnvedGetOKDataItem) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2DirectoryTnvedGetOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2DirectoryTnvedGetOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2DirectoryTnvedGetOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2DirectoryTnvedGetOK) contentV2DirectoryTnvedGetRes() {}
type ContentV2DirectoryTnvedGetOKDataItem struct {
	// ТНВЭД-код.
	Tnved OptString `json:"tnved"`
	// - `true` - код маркировки требуется
	// - `false` - код маркировки не требуется.
	IsKiz OptBool `json:"isKiz"`
}
// GetTnved returns the value of Tnved.
func (s *ContentV2DirectoryTnvedGetOKDataItem) GetTnved() OptString {
	return s.Tnved
}
// GetIsKiz returns the value of IsKiz.
func (s *ContentV2DirectoryTnvedGetOKDataItem) GetIsKiz() OptBool {
	return s.IsKiz
}
// SetTnved sets the value of Tnved.
func (s *ContentV2DirectoryTnvedGetOKDataItem) SetTnved(val OptString) {
	s.Tnved = val
}
// SetIsKiz sets the value of IsKiz.
func (s *ContentV2DirectoryTnvedGetOKDataItem) SetIsKiz(val OptBool) {
	s.IsKiz = val
}
type ContentV2DirectoryVatGetOK struct {
	Data []string `json:"data"`
	// Флаг наличия ошибки.
	Error OptBool `json:"error"`
	// Текст ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2DirectoryVatGetOK) GetData() []string {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2DirectoryVatGetOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2DirectoryVatGetOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2DirectoryVatGetOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2DirectoryVatGetOK) SetData(val []string) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2DirectoryVatGetOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2DirectoryVatGetOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2DirectoryVatGetOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2DirectoryVatGetOK) contentV2DirectoryVatGetRes() {}
type ContentV2GetCardsListPostBadRequestPlainText struct {
	Data io.Reader
}
// Read reads data from the Data reader.
//
// Kept to satisfy the io.Reader interface.
func (s ContentV2GetCardsListPostBadRequestPlainText) Read(p []byte) (n int, err error) {
	if s.Data == nil {
		return 0, io.EOF
	}
	return s.Data.Read(p)
}
func (*ContentV2GetCardsListPostBadRequestPlainText) contentV2GetCardsListPostRes() {}
type ContentV2GetCardsListPostOK struct {
	// Список карточек товаров.
	Cards []ContentV2GetCardsListPostOKCardsItem `json:"cards"`
	// Пагинатор.
	Cursor OptContentV2GetCardsListPostOKCursor `json:"cursor"`
}
// GetCards returns the value of Cards.
func (s *ContentV2GetCardsListPostOK) GetCards() []ContentV2GetCardsListPostOKCardsItem {
	return s.Cards
}
// GetCursor returns the value of Cursor.
func (s *ContentV2GetCardsListPostOK) GetCursor() OptContentV2GetCardsListPostOKCursor {
	return s.Cursor
}
// SetCards sets the value of Cards.
func (s *ContentV2GetCardsListPostOK) SetCards(val []ContentV2GetCardsListPostOKCardsItem) {
	s.Cards = val
}
// SetCursor sets the value of Cursor.
func (s *ContentV2GetCardsListPostOK) SetCursor(val OptContentV2GetCardsListPostOKCursor) {
	s.Cursor = val
}
type ContentV2GetCardsListPostOKCardsItem struct {
	// Артикул WB.
	NmID OptInt `json:"nmID"`
	// ID объединённой карточки товара
Един для всех
	// артикулов WB одной объединённой карточки
	// товара
Есть у карточки товара, даже если она не
	// объединена ни с одной другой карточкой.
	ImtID OptInt `json:"imtID"`
	// Внутренний технический ID карточки товара.
	NmUUID OptUUID `json:"nmUUID"`
	// ID предмета.
	SubjectID OptInt `json:"subjectID"`
	// Название предмета.
	SubjectName OptString `json:"subjectName"`
	// Артикул продавца.
	VendorCode OptString `json:"vendorCode"`
	// Бренд.
	Brand OptString `json:"brand"`
	// Наименование товара.
	Title OptString `json:"title"`
	// Описание товара.
	Description OptString `json:"description"`
	// Требуется ли [код маркировки](https://честныйзнак.рф/) для
	// этого товара
	// 
	// * `false` — не требуется
	// 
	// * `true` — требуется.
	NeedKiz OptBool `json:"needKiz"`
	// Массив фото.
	Photos []ContentV2GetCardsListPostOKCardsItemPhotosItem `json:"photos"`
	// URL видео.
	Video OptString `json:"video"`
	// Габариты и вес товара c упаковкой, см и кг.
	Dimensions OptContentV2GetCardsListPostOKCardsItemDimensions `json:"dimensions"`
	// Характеристики.
	Characteristics []ContentV2GetCardsListPostOKCardsItemCharacteristicsItem `json:"characteristics"`
	// Размеры товара.
	Sizes []ContentV2GetCardsListPostOKCardsItemSizesItem `json:"sizes"`
	// Ярлыки.
	Tags []ContentV2GetCardsListPostOKCardsItemTagsItem `json:"tags"`
	// Дата и время создания.
	CreatedAt OptString `json:"createdAt"`
	// Дата и время изменения.
	UpdatedAt OptString `json:"updatedAt"`
}
// GetNmID returns the value of NmID.
func (s *ContentV2GetCardsListPostOKCardsItem) GetNmID() OptInt {
	return s.NmID
}
// GetImtID returns the value of ImtID.
func (s *ContentV2GetCardsListPostOKCardsItem) GetImtID() OptInt {
	return s.ImtID
}
// GetNmUUID returns the value of NmUUID.
func (s *ContentV2GetCardsListPostOKCardsItem) GetNmUUID() OptUUID {
	return s.NmUUID
}
// GetSubjectID returns the value of SubjectID.
func (s *ContentV2GetCardsListPostOKCardsItem) GetSubjectID() OptInt {
	return s.SubjectID
}
// GetSubjectName returns the value of SubjectName.
func (s *ContentV2GetCardsListPostOKCardsItem) GetSubjectName() OptString {
	return s.SubjectName
}
// GetVendorCode returns the value of VendorCode.
func (s *ContentV2GetCardsListPostOKCardsItem) GetVendorCode() OptString {
	return s.VendorCode
}
// GetBrand returns the value of Brand.
func (s *ContentV2GetCardsListPostOKCardsItem) GetBrand() OptString {
	return s.Brand
}
// GetTitle returns the value of Title.
func (s *ContentV2GetCardsListPostOKCardsItem) GetTitle() OptString {
	return s.Title
}
// GetDescription returns the value of Description.
func (s *ContentV2GetCardsListPostOKCardsItem) GetDescription() OptString {
	return s.Description
}
// GetNeedKiz returns the value of NeedKiz.
func (s *ContentV2GetCardsListPostOKCardsItem) GetNeedKiz() OptBool {
	return s.NeedKiz
}
// GetPhotos returns the value of Photos.
func (s *ContentV2GetCardsListPostOKCardsItem) GetPhotos() []ContentV2GetCardsListPostOKCardsItemPhotosItem {
	return s.Photos
}
// GetVideo returns the value of Video.
func (s *ContentV2GetCardsListPostOKCardsItem) GetVideo() OptString {
	return s.Video
}
// GetDimensions returns the value of Dimensions.
func (s *ContentV2GetCardsListPostOKCardsItem) GetDimensions() OptContentV2GetCardsListPostOKCardsItemDimensions {
	return s.Dimensions
}
// GetCharacteristics returns the value of Characteristics.
func (s *ContentV2GetCardsListPostOKCardsItem) GetCharacteristics() []ContentV2GetCardsListPostOKCardsItemCharacteristicsItem {
	return s.Characteristics
}
// GetSizes returns the value of Sizes.
func (s *ContentV2GetCardsListPostOKCardsItem) GetSizes() []ContentV2GetCardsListPostOKCardsItemSizesItem {
	return s.Sizes
}
// GetTags returns the value of Tags.
func (s *ContentV2GetCardsListPostOKCardsItem) GetTags() []ContentV2GetCardsListPostOKCardsItemTagsItem {
	return s.Tags
}
// GetCreatedAt returns the value of CreatedAt.
func (s *ContentV2GetCardsListPostOKCardsItem) GetCreatedAt() OptString {
	return s.CreatedAt
}
// GetUpdatedAt returns the value of UpdatedAt.
func (s *ContentV2GetCardsListPostOKCardsItem) GetUpdatedAt() OptString {
	return s.UpdatedAt
}
// SetNmID sets the value of NmID.
func (s *ContentV2GetCardsListPostOKCardsItem) SetNmID(val OptInt) {
	s.NmID = val
}
// SetImtID sets the value of ImtID.
func (s *ContentV2GetCardsListPostOKCardsItem) SetImtID(val OptInt) {
	s.ImtID = val
}
// SetNmUUID sets the value of NmUUID.
func (s *ContentV2GetCardsListPostOKCardsItem) SetNmUUID(val OptUUID) {
	s.NmUUID = val
}
// SetSubjectID sets the value of SubjectID.
func (s *ContentV2GetCardsListPostOKCardsItem) SetSubjectID(val OptInt) {
	s.SubjectID = val
}
// SetSubjectName sets the value of SubjectName.
func (s *ContentV2GetCardsListPostOKCardsItem) SetSubjectName(val OptString) {
	s.SubjectName = val
}
// SetVendorCode sets the value of VendorCode.
func (s *ContentV2GetCardsListPostOKCardsItem) SetVendorCode(val OptString) {
	s.VendorCode = val
}
// SetBrand sets the value of Brand.
func (s *ContentV2GetCardsListPostOKCardsItem) SetBrand(val OptString) {
	s.Brand = val
}
// SetTitle sets the value of Title.
func (s *ContentV2GetCardsListPostOKCardsItem) SetTitle(val OptString) {
	s.Title = val
}
// SetDescription sets the value of Description.
func (s *ContentV2GetCardsListPostOKCardsItem) SetDescription(val OptString) {
	s.Description = val
}
// SetNeedKiz sets the value of NeedKiz.
func (s *ContentV2GetCardsListPostOKCardsItem) SetNeedKiz(val OptBool) {
	s.NeedKiz = val
}
// SetPhotos sets the value of Photos.
func (s *ContentV2GetCardsListPostOKCardsItem) SetPhotos(val []ContentV2GetCardsListPostOKCardsItemPhotosItem) {
	s.Photos = val
}
// SetVideo sets the value of Video.
func (s *ContentV2GetCardsListPostOKCardsItem) SetVideo(val OptString) {
	s.Video = val
}
// SetDimensions sets the value of Dimensions.
func (s *ContentV2GetCardsListPostOKCardsItem) SetDimensions(val OptContentV2GetCardsListPostOKCardsItemDimensions) {
	s.Dimensions = val
}
// SetCharacteristics sets the value of Characteristics.
func (s *ContentV2GetCardsListPostOKCardsItem) SetCharacteristics(val []ContentV2GetCardsListPostOKCardsItemCharacteristicsItem) {
	s.Characteristics = val
}
// SetSizes sets the value of Sizes.
func (s *ContentV2GetCardsListPostOKCardsItem) SetSizes(val []ContentV2GetCardsListPostOKCardsItemSizesItem) {
	s.Sizes = val
}
// SetTags sets the value of Tags.
func (s *ContentV2GetCardsListPostOKCardsItem) SetTags(val []ContentV2GetCardsListPostOKCardsItemTagsItem) {
	s.Tags = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *ContentV2GetCardsListPostOKCardsItem) SetCreatedAt(val OptString) {
	s.CreatedAt = val
}
// SetUpdatedAt sets the value of UpdatedAt.
func (s *ContentV2GetCardsListPostOKCardsItem) SetUpdatedAt(val OptString) {
	s.UpdatedAt = val
}
type ContentV2GetCardsListPostOKCardsItemCharacteristicsItem struct {
	// ID характеристики.
	ID OptInt `json:"id"`
	// Название характеристики.
	Name OptString `json:"name"`
	// Значение характеристики. Тип значения зависит от
	// типа характеристики.
	Value jx.Raw `json:"value"`
}
// GetID returns the value of ID.
func (s *ContentV2GetCardsListPostOKCardsItemCharacteristicsItem) GetID() OptInt {
	return s.ID
}
// GetName returns the value of Name.
func (s *ContentV2GetCardsListPostOKCardsItemCharacteristicsItem) GetName() OptString {
	return s.Name
}
// GetValue returns the value of Value.
func (s *ContentV2GetCardsListPostOKCardsItemCharacteristicsItem) GetValue() jx.Raw {
	return s.Value
}
// SetID sets the value of ID.
func (s *ContentV2GetCardsListPostOKCardsItemCharacteristicsItem) SetID(val OptInt) {
	s.ID = val
}
// SetName sets the value of Name.
func (s *ContentV2GetCardsListPostOKCardsItemCharacteristicsItem) SetName(val OptString) {
	s.Name = val
}
// SetValue sets the value of Value.
func (s *ContentV2GetCardsListPostOKCardsItemCharacteristicsItem) SetValue(val jx.Raw) {
	s.Value = val
}
// Габариты и вес товара c упаковкой, см и кг.
type ContentV2GetCardsListPostOKCardsItemDimensions struct {
	// Длина, см.
	Length OptInt `json:"length"`
	// Ширина, см.
	Width OptInt `json:"width"`
	// Высота, см.
	Height OptInt `json:"height"`
	// Вес, кг
Количество знаков после запятой <=3.
	WeightBrutto OptFloat64 `json:"weightBrutto"`
	// Потенциальная некорректность габаритов товара:
	// - `true` — не выявлена. `"isValid":true` не гарантирует, что
	// размеры указаны корректно. В отдельных случаях
	// (например, при создании новой категории товаров)
	// `"isValid":true` будет возвращаться при любых значениях,
	// кроме нулевых.
	// - `false` — указанные габариты значительно отличаются от
	// средних по категории (предмету). Рекомендуется
	// перепроверить, правильно ли указаны размеры товара в
	// упаковке **в сантиметрах**. Функциональность карточки
	// товара, в том числе начисление логистики и хранения,
	// при этом ограничена не будет. Логистика и хранение
	// продолжают начисляться — по текущим габаритам. Также
	// `"isValid":false` возвращается при отсутствии значений или
	// нулевом значении любой стороны.
	IsValid OptBool `json:"isValid"`
}
// GetLength returns the value of Length.
func (s *ContentV2GetCardsListPostOKCardsItemDimensions) GetLength() OptInt {
	return s.Length
}
// GetWidth returns the value of Width.
func (s *ContentV2GetCardsListPostOKCardsItemDimensions) GetWidth() OptInt {
	return s.Width
}
// GetHeight returns the value of Height.
func (s *ContentV2GetCardsListPostOKCardsItemDimensions) GetHeight() OptInt {
	return s.Height
}
// GetWeightBrutto returns the value of WeightBrutto.
func (s *ContentV2GetCardsListPostOKCardsItemDimensions) GetWeightBrutto() OptFloat64 {
	return s.WeightBrutto
}
// GetIsValid returns the value of IsValid.
func (s *ContentV2GetCardsListPostOKCardsItemDimensions) GetIsValid() OptBool {
	return s.IsValid
}
// SetLength sets the value of Length.
func (s *ContentV2GetCardsListPostOKCardsItemDimensions) SetLength(val OptInt) {
	s.Length = val
}
// SetWidth sets the value of Width.
func (s *ContentV2GetCardsListPostOKCardsItemDimensions) SetWidth(val OptInt) {
	s.Width = val
}
// SetHeight sets the value of Height.
func (s *ContentV2GetCardsListPostOKCardsItemDimensions) SetHeight(val OptInt) {
	s.Height = val
}
// SetWeightBrutto sets the value of WeightBrutto.
func (s *ContentV2GetCardsListPostOKCardsItemDimensions) SetWeightBrutto(val OptFloat64) {
	s.WeightBrutto = val
}
// SetIsValid sets the value of IsValid.
func (s *ContentV2GetCardsListPostOKCardsItemDimensions) SetIsValid(val OptBool) {
	s.IsValid = val
}
type ContentV2GetCardsListPostOKCardsItemPhotosItem struct {
	// URL фото `900х1200`.
	Big OptString `json:"big"`
	// URL фото `248х328`.
	C246x328 OptString `json:"c246x328"`
	// URL фото `516х688`.
	C516x688 OptString `json:"c516x688"`
	// URL фото `600х600`.
	Square OptString `json:"square"`
	// URL фото `75х100`.
	Tm OptString `json:"tm"`
}
// GetBig returns the value of Big.
func (s *ContentV2GetCardsListPostOKCardsItemPhotosItem) GetBig() OptString {
	return s.Big
}
// GetC246x328 returns the value of C246x328.
func (s *ContentV2GetCardsListPostOKCardsItemPhotosItem) GetC246x328() OptString {
	return s.C246x328
}
// GetC516x688 returns the value of C516x688.
func (s *ContentV2GetCardsListPostOKCardsItemPhotosItem) GetC516x688() OptString {
	return s.C516x688
}
// GetSquare returns the value of Square.
func (s *ContentV2GetCardsListPostOKCardsItemPhotosItem) GetSquare() OptString {
	return s.Square
}
// GetTm returns the value of Tm.
func (s *ContentV2GetCardsListPostOKCardsItemPhotosItem) GetTm() OptString {
	return s.Tm
}
// SetBig sets the value of Big.
func (s *ContentV2GetCardsListPostOKCardsItemPhotosItem) SetBig(val OptString) {
	s.Big = val
}
// SetC246x328 sets the value of C246x328.
func (s *ContentV2GetCardsListPostOKCardsItemPhotosItem) SetC246x328(val OptString) {
	s.C246x328 = val
}
// SetC516x688 sets the value of C516x688.
func (s *ContentV2GetCardsListPostOKCardsItemPhotosItem) SetC516x688(val OptString) {
	s.C516x688 = val
}
// SetSquare sets the value of Square.
func (s *ContentV2GetCardsListPostOKCardsItemPhotosItem) SetSquare(val OptString) {
	s.Square = val
}
// SetTm sets the value of Tm.
func (s *ContentV2GetCardsListPostOKCardsItemPhotosItem) SetTm(val OptString) {
	s.Tm = val
}
type ContentV2GetCardsListPostOKCardsItemSizesItem struct {
	// Числовой ID размера для данного артикула WB.
	ChrtID OptInt `json:"chrtID"`
	// Размер товара (А, XXL, 57 и др.).
	TechSize OptString `json:"techSize"`
	// Российский размер товара.
	WbSize OptString `json:"wbSize"`
	// Баркод товара.
	Skus []string `json:"skus"`
}
// GetChrtID returns the value of ChrtID.
func (s *ContentV2GetCardsListPostOKCardsItemSizesItem) GetChrtID() OptInt {
	return s.ChrtID
}
// GetTechSize returns the value of TechSize.
func (s *ContentV2GetCardsListPostOKCardsItemSizesItem) GetTechSize() OptString {
	return s.TechSize
}
// GetWbSize returns the value of WbSize.
func (s *ContentV2GetCardsListPostOKCardsItemSizesItem) GetWbSize() OptString {
	return s.WbSize
}
// GetSkus returns the value of Skus.
func (s *ContentV2GetCardsListPostOKCardsItemSizesItem) GetSkus() []string {
	return s.Skus
}
// SetChrtID sets the value of ChrtID.
func (s *ContentV2GetCardsListPostOKCardsItemSizesItem) SetChrtID(val OptInt) {
	s.ChrtID = val
}
// SetTechSize sets the value of TechSize.
func (s *ContentV2GetCardsListPostOKCardsItemSizesItem) SetTechSize(val OptString) {
	s.TechSize = val
}
// SetWbSize sets the value of WbSize.
func (s *ContentV2GetCardsListPostOKCardsItemSizesItem) SetWbSize(val OptString) {
	s.WbSize = val
}
// SetSkus sets the value of Skus.
func (s *ContentV2GetCardsListPostOKCardsItemSizesItem) SetSkus(val []string) {
	s.Skus = val
}
type ContentV2GetCardsListPostOKCardsItemTagsItem struct {
	// ID ярлыка.
	ID OptInt `json:"id"`
	// Название ярлыка.
	Name OptString `json:"name"`
	// Цвет ярлыка
	// 
	// - Доступные цвета:
 
	// D1CFD7 - серый 
	// FEE0E0 - красный 
	// ECDAFF - фиолетовый 
	// E4EAFF - синий 
	// DEF1DD - зеленый 
	// FFECC7 - желтый 
	// 
.
	Color OptString `json:"color"`
}
// GetID returns the value of ID.
func (s *ContentV2GetCardsListPostOKCardsItemTagsItem) GetID() OptInt {
	return s.ID
}
// GetName returns the value of Name.
func (s *ContentV2GetCardsListPostOKCardsItemTagsItem) GetName() OptString {
	return s.Name
}
// GetColor returns the value of Color.
func (s *ContentV2GetCardsListPostOKCardsItemTagsItem) GetColor() OptString {
	return s.Color
}
// SetID sets the value of ID.
func (s *ContentV2GetCardsListPostOKCardsItemTagsItem) SetID(val OptInt) {
	s.ID = val
}
// SetName sets the value of Name.
func (s *ContentV2GetCardsListPostOKCardsItemTagsItem) SetName(val OptString) {
	s.Name = val
}
// SetColor sets the value of Color.
func (s *ContentV2GetCardsListPostOKCardsItemTagsItem) SetColor(val OptString) {
	s.Color = val
}
// Пагинатор.
type ContentV2GetCardsListPostOKCursor struct {
	// Дата и время, с которых надо запрашивать следующий
	// список карточек товаров.
	UpdatedAt OptString `json:"updatedAt"`
	// Артикул WB, с которого надо запрашивать следующий
	// список карточек товаров.
	NmID OptInt `json:"nmID"`
	// Количество возвращённых карточек товаров.
	Total OptInt `json:"total"`
}
// GetUpdatedAt returns the value of UpdatedAt.
func (s *ContentV2GetCardsListPostOKCursor) GetUpdatedAt() OptString {
	return s.UpdatedAt
}
// GetNmID returns the value of NmID.
func (s *ContentV2GetCardsListPostOKCursor) GetNmID() OptInt {
	return s.NmID
}
// GetTotal returns the value of Total.
func (s *ContentV2GetCardsListPostOKCursor) GetTotal() OptInt {
	return s.Total
}
// SetUpdatedAt sets the value of UpdatedAt.
func (s *ContentV2GetCardsListPostOKCursor) SetUpdatedAt(val OptString) {
	s.UpdatedAt = val
}
// SetNmID sets the value of NmID.
func (s *ContentV2GetCardsListPostOKCursor) SetNmID(val OptInt) {
	s.NmID = val
}
// SetTotal sets the value of Total.
func (s *ContentV2GetCardsListPostOKCursor) SetTotal(val OptInt) {
	s.Total = val
}
// ContentV2GetCardsListPostOKHeaders wraps ContentV2GetCardsListPostOK with response headers.
type ContentV2GetCardsListPostOKHeaders struct {
	XRatelimitRemaining OptInt
	Response            ContentV2GetCardsListPostOK
}
// GetXRatelimitRemaining returns the value of XRatelimitRemaining.
func (s *ContentV2GetCardsListPostOKHeaders) GetXRatelimitRemaining() OptInt {
	return s.XRatelimitRemaining
}
// GetResponse returns the value of Response.
func (s *ContentV2GetCardsListPostOKHeaders) GetResponse() ContentV2GetCardsListPostOK {
	return s.Response
}
// SetXRatelimitRemaining sets the value of XRatelimitRemaining.
func (s *ContentV2GetCardsListPostOKHeaders) SetXRatelimitRemaining(val OptInt) {
	s.XRatelimitRemaining = val
}
// SetResponse sets the value of Response.
func (s *ContentV2GetCardsListPostOKHeaders) SetResponse(val ContentV2GetCardsListPostOK) {
	s.Response = val
}
func (*ContentV2GetCardsListPostOKHeaders) contentV2GetCardsListPostRes() {}
type ContentV2GetCardsListPostReq struct {
	// Настройки.
	Settings OptContentV2GetCardsListPostReqSettings `json:"settings"`
}
// GetSettings returns the value of Settings.
func (s *ContentV2GetCardsListPostReq) GetSettings() OptContentV2GetCardsListPostReqSettings {
	return s.Settings
}
// SetSettings sets the value of Settings.
func (s *ContentV2GetCardsListPostReq) SetSettings(val OptContentV2GetCardsListPostReqSettings) {
	s.Settings = val
}
// Настройки.
type ContentV2GetCardsListPostReqSettings struct {
	// Параметр сортировки.
	Sort OptContentV2GetCardsListPostReqSettingsSort `json:"sort"`
	// Параметры фильтрации.
	Filter OptContentV2GetCardsListPostReqSettingsFilter `json:"filter"`
	// Курсор.
	Cursor OptContentV2GetCardsListPostReqSettingsCursor `json:"cursor"`
}
// GetSort returns the value of Sort.
func (s *ContentV2GetCardsListPostReqSettings) GetSort() OptContentV2GetCardsListPostReqSettingsSort {
	return s.Sort
}
// GetFilter returns the value of Filter.
func (s *ContentV2GetCardsListPostReqSettings) GetFilter() OptContentV2GetCardsListPostReqSettingsFilter {
	return s.Filter
}
// GetCursor returns the value of Cursor.
func (s *ContentV2GetCardsListPostReqSettings) GetCursor() OptContentV2GetCardsListPostReqSettingsCursor {
	return s.Cursor
}
// SetSort sets the value of Sort.
func (s *ContentV2GetCardsListPostReqSettings) SetSort(val OptContentV2GetCardsListPostReqSettingsSort) {
	s.Sort = val
}
// SetFilter sets the value of Filter.
func (s *ContentV2GetCardsListPostReqSettings) SetFilter(val OptContentV2GetCardsListPostReqSettingsFilter) {
	s.Filter = val
}
// SetCursor sets the value of Cursor.
func (s *ContentV2GetCardsListPostReqSettings) SetCursor(val OptContentV2GetCardsListPostReqSettingsCursor) {
	s.Cursor = val
}
// Курсор.
type ContentV2GetCardsListPostReqSettingsCursor struct {
	// Сколько карточек товаров выдать в ответе.
	Limit     OptInt    `json:"limit"`
	UpdatedAt OptString `json:"updatedAt"`
	// Артикул WB последней карточки из предыдущего ответа.
	// Используется для пагинации.
	NmID OptInt `json:"nmID"`
}
// GetLimit returns the value of Limit.
func (s *ContentV2GetCardsListPostReqSettingsCursor) GetLimit() OptInt {
	return s.Limit
}
// GetUpdatedAt returns the value of UpdatedAt.
func (s *ContentV2GetCardsListPostReqSettingsCursor) GetUpdatedAt() OptString {
	return s.UpdatedAt
}
// GetNmID returns the value of NmID.
func (s *ContentV2GetCardsListPostReqSettingsCursor) GetNmID() OptInt {
	return s.NmID
}
// SetLimit sets the value of Limit.
func (s *ContentV2GetCardsListPostReqSettingsCursor) SetLimit(val OptInt) {
	s.Limit = val
}
// SetUpdatedAt sets the value of UpdatedAt.
func (s *ContentV2GetCardsListPostReqSettingsCursor) SetUpdatedAt(val OptString) {
	s.UpdatedAt = val
}
// SetNmID sets the value of NmID.
func (s *ContentV2GetCardsListPostReqSettingsCursor) SetNmID(val OptInt) {
	s.NmID = val
}
// Параметры фильтрации.
type ContentV2GetCardsListPostReqSettingsFilter struct {
	// Фильтр по фото:
	// * `0` — только карточки без фото
	// * `1` — только карточки с фото
	// * `-1` — все карточки товара.
	WithPhoto OptInt `json:"withPhoto"`
	// Поиск по артикулу продавца, артикулу WB, баркоду.
	TextSearch OptString `json:"textSearch"`
	// Поиск по ID ярлыков.
	TagIDs []int `json:"tagIDs"`
	// Фильтр по категории. `true` - только разрешённые, `false` -
	// все. Не используется в песочнице.
	AllowedCategoriesOnly OptBool `json:"allowedCategoriesOnly"`
	// Поиск по id предметов.
	ObjectIDs []int `json:"objectIDs"`
	// Поиск по брендам.
	Brands []string `json:"brands"`
	// Поиск по ID карточки товара.
	ImtID OptInt `json:"imtID"`
}
// GetWithPhoto returns the value of WithPhoto.
func (s *ContentV2GetCardsListPostReqSettingsFilter) GetWithPhoto() OptInt {
	return s.WithPhoto
}
// GetTextSearch returns the value of TextSearch.
func (s *ContentV2GetCardsListPostReqSettingsFilter) GetTextSearch() OptString {
	return s.TextSearch
}
// GetTagIDs returns the value of TagIDs.
func (s *ContentV2GetCardsListPostReqSettingsFilter) GetTagIDs() []int {
	return s.TagIDs
}
// GetAllowedCategoriesOnly returns the value of AllowedCategoriesOnly.
func (s *ContentV2GetCardsListPostReqSettingsFilter) GetAllowedCategoriesOnly() OptBool {
	return s.AllowedCategoriesOnly
}
// GetObjectIDs returns the value of ObjectIDs.
func (s *ContentV2GetCardsListPostReqSettingsFilter) GetObjectIDs() []int {
	return s.ObjectIDs
}
// GetBrands returns the value of Brands.
func (s *ContentV2GetCardsListPostReqSettingsFilter) GetBrands() []string {
	return s.Brands
}
// GetImtID returns the value of ImtID.
func (s *ContentV2GetCardsListPostReqSettingsFilter) GetImtID() OptInt {
	return s.ImtID
}
// SetWithPhoto sets the value of WithPhoto.
func (s *ContentV2GetCardsListPostReqSettingsFilter) SetWithPhoto(val OptInt) {
	s.WithPhoto = val
}
// SetTextSearch sets the value of TextSearch.
func (s *ContentV2GetCardsListPostReqSettingsFilter) SetTextSearch(val OptString) {
	s.TextSearch = val
}
// SetTagIDs sets the value of TagIDs.
func (s *ContentV2GetCardsListPostReqSettingsFilter) SetTagIDs(val []int) {
	s.TagIDs = val
}
// SetAllowedCategoriesOnly sets the value of AllowedCategoriesOnly.
func (s *ContentV2GetCardsListPostReqSettingsFilter) SetAllowedCategoriesOnly(val OptBool) {
	s.AllowedCategoriesOnly = val
}
// SetObjectIDs sets the value of ObjectIDs.
func (s *ContentV2GetCardsListPostReqSettingsFilter) SetObjectIDs(val []int) {
	s.ObjectIDs = val
}
// SetBrands sets the value of Brands.
func (s *ContentV2GetCardsListPostReqSettingsFilter) SetBrands(val []string) {
	s.Brands = val
}
// SetImtID sets the value of ImtID.
func (s *ContentV2GetCardsListPostReqSettingsFilter) SetImtID(val OptInt) {
	s.ImtID = val
}
// Параметр сортировки.
type ContentV2GetCardsListPostReqSettingsSort struct {
	// Сортировать по полю **updatedAt** (`false` - по убыванию, `true` - по
	// возрастанию).
	Ascending OptBool `json:"ascending"`
}
// GetAscending returns the value of Ascending.
func (s *ContentV2GetCardsListPostReqSettingsSort) GetAscending() OptBool {
	return s.Ascending
}
// SetAscending sets the value of Ascending.
func (s *ContentV2GetCardsListPostReqSettingsSort) SetAscending(val OptBool) {
	s.Ascending = val
}
type ContentV2GetCardsTrashPostBadRequestPlainText struct {
	Data io.Reader
}
// Read reads data from the Data reader.
//
// Kept to satisfy the io.Reader interface.
func (s ContentV2GetCardsTrashPostBadRequestPlainText) Read(p []byte) (n int, err error) {
	if s.Data == nil {
		return 0, io.EOF
	}
	return s.Data.Read(p)
}
func (*ContentV2GetCardsTrashPostBadRequestPlainText) contentV2GetCardsTrashPostRes() {}
type ContentV2GetCardsTrashPostLocale string
const (
	ContentV2GetCardsTrashPostLocaleRu ContentV2GetCardsTrashPostLocale = "ru"
	ContentV2GetCardsTrashPostLocaleEn ContentV2GetCardsTrashPostLocale = "en"
	ContentV2GetCardsTrashPostLocaleZh ContentV2GetCardsTrashPostLocale = "zh"
)
// AllValues returns all ContentV2GetCardsTrashPostLocale values.
func (ContentV2GetCardsTrashPostLocale) AllValues() []ContentV2GetCardsTrashPostLocale {
	return []ContentV2GetCardsTrashPostLocale{
		ContentV2GetCardsTrashPostLocaleRu,
		ContentV2GetCardsTrashPostLocaleEn,
		ContentV2GetCardsTrashPostLocaleZh,
	}
}
// MarshalText implements encoding.TextMarshaler.
func (s ContentV2GetCardsTrashPostLocale) MarshalText() ([]byte, error) {
	switch s {
	case ContentV2GetCardsTrashPostLocaleRu:
		return []byte(s), nil
	case ContentV2GetCardsTrashPostLocaleEn:
		return []byte(s), nil
	case ContentV2GetCardsTrashPostLocaleZh:
		return []byte(s), nil
	default:
		return nil, errors.Errorf("invalid value: %q", s)
	}
}
// UnmarshalText implements encoding.TextUnmarshaler.
func (s *ContentV2GetCardsTrashPostLocale) UnmarshalText(data []byte) error {
	switch ContentV2GetCardsTrashPostLocale(data) {
	case ContentV2GetCardsTrashPostLocaleRu:
		*s = ContentV2GetCardsTrashPostLocaleRu
		return nil
	case ContentV2GetCardsTrashPostLocaleEn:
		*s = ContentV2GetCardsTrashPostLocaleEn
		return nil
	case ContentV2GetCardsTrashPostLocaleZh:
		*s = ContentV2GetCardsTrashPostLocaleZh
		return nil
	default:
		return errors.Errorf("invalid value: %q", data)
	}
}
type ContentV2GetCardsTrashPostOK struct {
	// Массив карточек товаров.
	Cards []ContentV2GetCardsTrashPostOKCardsItem `json:"cards"`
	// Пагинатор.
	Cursor OptContentV2GetCardsTrashPostOKCursor `json:"cursor"`
}
// GetCards returns the value of Cards.
func (s *ContentV2GetCardsTrashPostOK) GetCards() []ContentV2GetCardsTrashPostOKCardsItem {
	return s.Cards
}
// GetCursor returns the value of Cursor.
func (s *ContentV2GetCardsTrashPostOK) GetCursor() OptContentV2GetCardsTrashPostOKCursor {
	return s.Cursor
}
// SetCards sets the value of Cards.
func (s *ContentV2GetCardsTrashPostOK) SetCards(val []ContentV2GetCardsTrashPostOKCardsItem) {
	s.Cards = val
}
// SetCursor sets the value of Cursor.
func (s *ContentV2GetCardsTrashPostOK) SetCursor(val OptContentV2GetCardsTrashPostOKCursor) {
	s.Cursor = val
}
func (*ContentV2GetCardsTrashPostOK) contentV2GetCardsTrashPostRes() {}
type ContentV2GetCardsTrashPostOKCardsItem struct {
	// Артикул WB.
	NmID OptInt `json:"nmID"`
	// Артикул продавца.
	VendorCode OptString `json:"vendorCode"`
	// ID предмета.
	SubjectID OptInt `json:"subjectID"`
	// Название предмета.
	SubjectName OptString `json:"subjectName"`
	// Массив фото.
	Photos []ContentV2GetCardsTrashPostOKCardsItemPhotosItem `json:"photos"`
	// URL видео.
	Video OptString `json:"video"`
	// Массив размеров.
	Sizes []ContentV2GetCardsTrashPostOKCardsItemSizesItem `json:"sizes"`
	// Габариты и вес товара c упаковкой, см и кг.
	Dimensions OptContentV2GetCardsTrashPostOKCardsItemDimensions `json:"dimensions"`
	// Характеристики.
	Characteristics []ContentV2GetCardsTrashPostOKCardsItemCharacteristicsItem `json:"characteristics"`
	// Дата и время создания.
	CreatedAt OptString `json:"createdAt"`
	// Дата и время помещения в корзину.
	TrashedAt OptString `json:"trashedAt"`
}
// GetNmID returns the value of NmID.
func (s *ContentV2GetCardsTrashPostOKCardsItem) GetNmID() OptInt {
	return s.NmID
}
// GetVendorCode returns the value of VendorCode.
func (s *ContentV2GetCardsTrashPostOKCardsItem) GetVendorCode() OptString {
	return s.VendorCode
}
// GetSubjectID returns the value of SubjectID.
func (s *ContentV2GetCardsTrashPostOKCardsItem) GetSubjectID() OptInt {
	return s.SubjectID
}
// GetSubjectName returns the value of SubjectName.
func (s *ContentV2GetCardsTrashPostOKCardsItem) GetSubjectName() OptString {
	return s.SubjectName
}
// GetPhotos returns the value of Photos.
func (s *ContentV2GetCardsTrashPostOKCardsItem) GetPhotos() []ContentV2GetCardsTrashPostOKCardsItemPhotosItem {
	return s.Photos
}
// GetVideo returns the value of Video.
func (s *ContentV2GetCardsTrashPostOKCardsItem) GetVideo() OptString {
	return s.Video
}
// GetSizes returns the value of Sizes.
func (s *ContentV2GetCardsTrashPostOKCardsItem) GetSizes() []ContentV2GetCardsTrashPostOKCardsItemSizesItem {
	return s.Sizes
}
// GetDimensions returns the value of Dimensions.
func (s *ContentV2GetCardsTrashPostOKCardsItem) GetDimensions() OptContentV2GetCardsTrashPostOKCardsItemDimensions {
	return s.Dimensions
}
// GetCharacteristics returns the value of Characteristics.
func (s *ContentV2GetCardsTrashPostOKCardsItem) GetCharacteristics() []ContentV2GetCardsTrashPostOKCardsItemCharacteristicsItem {
	return s.Characteristics
}
// GetCreatedAt returns the value of CreatedAt.
func (s *ContentV2GetCardsTrashPostOKCardsItem) GetCreatedAt() OptString {
	return s.CreatedAt
}
// GetTrashedAt returns the value of TrashedAt.
func (s *ContentV2GetCardsTrashPostOKCardsItem) GetTrashedAt() OptString {
	return s.TrashedAt
}
// SetNmID sets the value of NmID.
func (s *ContentV2GetCardsTrashPostOKCardsItem) SetNmID(val OptInt) {
	s.NmID = val
}
// SetVendorCode sets the value of VendorCode.
func (s *ContentV2GetCardsTrashPostOKCardsItem) SetVendorCode(val OptString) {
	s.VendorCode = val
}
// SetSubjectID sets the value of SubjectID.
func (s *ContentV2GetCardsTrashPostOKCardsItem) SetSubjectID(val OptInt) {
	s.SubjectID = val
}
// SetSubjectName sets the value of SubjectName.
func (s *ContentV2GetCardsTrashPostOKCardsItem) SetSubjectName(val OptString) {
	s.SubjectName = val
}
// SetPhotos sets the value of Photos.
func (s *ContentV2GetCardsTrashPostOKCardsItem) SetPhotos(val []ContentV2GetCardsTrashPostOKCardsItemPhotosItem) {
	s.Photos = val
}
// SetVideo sets the value of Video.
func (s *ContentV2GetCardsTrashPostOKCardsItem) SetVideo(val OptString) {
	s.Video = val
}
// SetSizes sets the value of Sizes.
func (s *ContentV2GetCardsTrashPostOKCardsItem) SetSizes(val []ContentV2GetCardsTrashPostOKCardsItemSizesItem) {
	s.Sizes = val
}
// SetDimensions sets the value of Dimensions.
func (s *ContentV2GetCardsTrashPostOKCardsItem) SetDimensions(val OptContentV2GetCardsTrashPostOKCardsItemDimensions) {
	s.Dimensions = val
}
// SetCharacteristics sets the value of Characteristics.
func (s *ContentV2GetCardsTrashPostOKCardsItem) SetCharacteristics(val []ContentV2GetCardsTrashPostOKCardsItemCharacteristicsItem) {
	s.Characteristics = val
}
// SetCreatedAt sets the value of CreatedAt.
func (s *ContentV2GetCardsTrashPostOKCardsItem) SetCreatedAt(val OptString) {
	s.CreatedAt = val
}
// SetTrashedAt sets the value of TrashedAt.
func (s *ContentV2GetCardsTrashPostOKCardsItem) SetTrashedAt(val OptString) {
	s.TrashedAt = val
}
type ContentV2GetCardsTrashPostOKCardsItemCharacteristicsItem struct {
	// ID характеристики.
	ID OptInt `json:"id"`
	// Название характеристики.
	Name OptString `json:"name"`
	// Значение характеристики. Тип значения зависит от
	// типа характеристики.
	Value jx.Raw `json:"value"`
}
// GetID returns the value of ID.
func (s *ContentV2GetCardsTrashPostOKCardsItemCharacteristicsItem) GetID() OptInt {
	return s.ID
}
// GetName returns the value of Name.
func (s *ContentV2GetCardsTrashPostOKCardsItemCharacteristicsItem) GetName() OptString {
	return s.Name
}
// GetValue returns the value of Value.
func (s *ContentV2GetCardsTrashPostOKCardsItemCharacteristicsItem) GetValue() jx.Raw {
	return s.Value
}
// SetID sets the value of ID.
func (s *ContentV2GetCardsTrashPostOKCardsItemCharacteristicsItem) SetID(val OptInt) {
	s.ID = val
}
// SetName sets the value of Name.
func (s *ContentV2GetCardsTrashPostOKCardsItemCharacteristicsItem) SetName(val OptString) {
	s.Name = val
}
// SetValue sets the value of Value.
func (s *ContentV2GetCardsTrashPostOKCardsItemCharacteristicsItem) SetValue(val jx.Raw) {
	s.Value = val
}
// Габариты и вес товара c упаковкой, см и кг.
type ContentV2GetCardsTrashPostOKCardsItemDimensions struct {
	// Длина, см.
	Length OptInt `json:"length"`
	// Ширина, см.
	Width OptInt `json:"width"`
	// Высота, см.
	Height OptInt `json:"height"`
	// Вес, кг
Количество знаков после запятой <=3.
	WeightBrutto OptFloat64 `json:"weightBrutto"`
	// Потенциальная некорректность габаритов товара:
	// - `true` — не выявлена. `"isValid":true` не гарантирует, что
	// размеры указаны корректно. В отдельных случаях
	// (например, при создании новой категории товаров)
	// `"isValid":true` будет возвращаться при любых значениях,
	// кроме нулевых.
	// - `false` — указанные габариты значительно отличаются от
	// средних по категории (предмету). Рекомендуется
	// перепроверить, правильно ли указаны размеры товара в
	// упаковке **в сантиметрах**. Функциональность карточки
	// товара, в том числе начисление логистики и хранения,
	// при этом ограничена не будет. Логистика и хранение
	// продолжают начисляться — по текущим габаритам. Также
	// `"isValid":false` возвращается при отсутствии значений или
	// нулевом значении любой стороны.
	IsValid OptBool `json:"isValid"`
}
// GetLength returns the value of Length.
func (s *ContentV2GetCardsTrashPostOKCardsItemDimensions) GetLength() OptInt {
	return s.Length
}
// GetWidth returns the value of Width.
func (s *ContentV2GetCardsTrashPostOKCardsItemDimensions) GetWidth() OptInt {
	return s.Width
}
// GetHeight returns the value of Height.
func (s *ContentV2GetCardsTrashPostOKCardsItemDimensions) GetHeight() OptInt {
	return s.Height
}
// GetWeightBrutto returns the value of WeightBrutto.
func (s *ContentV2GetCardsTrashPostOKCardsItemDimensions) GetWeightBrutto() OptFloat64 {
	return s.WeightBrutto
}
// GetIsValid returns the value of IsValid.
func (s *ContentV2GetCardsTrashPostOKCardsItemDimensions) GetIsValid() OptBool {
	return s.IsValid
}
// SetLength sets the value of Length.
func (s *ContentV2GetCardsTrashPostOKCardsItemDimensions) SetLength(val OptInt) {
	s.Length = val
}
// SetWidth sets the value of Width.
func (s *ContentV2GetCardsTrashPostOKCardsItemDimensions) SetWidth(val OptInt) {
	s.Width = val
}
// SetHeight sets the value of Height.
func (s *ContentV2GetCardsTrashPostOKCardsItemDimensions) SetHeight(val OptInt) {
	s.Height = val
}
// SetWeightBrutto sets the value of WeightBrutto.
func (s *ContentV2GetCardsTrashPostOKCardsItemDimensions) SetWeightBrutto(val OptFloat64) {
	s.WeightBrutto = val
}
// SetIsValid sets the value of IsValid.
func (s *ContentV2GetCardsTrashPostOKCardsItemDimensions) SetIsValid(val OptBool) {
	s.IsValid = val
}
type ContentV2GetCardsTrashPostOKCardsItemPhotosItem struct {
	// URL фото `900х1200`.
	Big OptString `json:"big"`
	// URL фото `248х328`.
	C246x328 OptString `json:"c246x328"`
	// URL фото `516х688`.
	C516x688 OptString `json:"c516x688"`
	// URL фото `600х600`.
	Square OptString `json:"square"`
	// URL фото `75х100`.
	Tm OptString `json:"tm"`
}
// GetBig returns the value of Big.
func (s *ContentV2GetCardsTrashPostOKCardsItemPhotosItem) GetBig() OptString {
	return s.Big
}
// GetC246x328 returns the value of C246x328.
func (s *ContentV2GetCardsTrashPostOKCardsItemPhotosItem) GetC246x328() OptString {
	return s.C246x328
}
// GetC516x688 returns the value of C516x688.
func (s *ContentV2GetCardsTrashPostOKCardsItemPhotosItem) GetC516x688() OptString {
	return s.C516x688
}
// GetSquare returns the value of Square.
func (s *ContentV2GetCardsTrashPostOKCardsItemPhotosItem) GetSquare() OptString {
	return s.Square
}
// GetTm returns the value of Tm.
func (s *ContentV2GetCardsTrashPostOKCardsItemPhotosItem) GetTm() OptString {
	return s.Tm
}
// SetBig sets the value of Big.
func (s *ContentV2GetCardsTrashPostOKCardsItemPhotosItem) SetBig(val OptString) {
	s.Big = val
}
// SetC246x328 sets the value of C246x328.
func (s *ContentV2GetCardsTrashPostOKCardsItemPhotosItem) SetC246x328(val OptString) {
	s.C246x328 = val
}
// SetC516x688 sets the value of C516x688.
func (s *ContentV2GetCardsTrashPostOKCardsItemPhotosItem) SetC516x688(val OptString) {
	s.C516x688 = val
}
// SetSquare sets the value of Square.
func (s *ContentV2GetCardsTrashPostOKCardsItemPhotosItem) SetSquare(val OptString) {
	s.Square = val
}
// SetTm sets the value of Tm.
func (s *ContentV2GetCardsTrashPostOKCardsItemPhotosItem) SetTm(val OptString) {
	s.Tm = val
}
type ContentV2GetCardsTrashPostOKCardsItemSizesItem struct {
	// ID размера.
	ChrtID OptInt `json:"chrtID"`
	// Размер товара.
	TechSize OptString `json:"techSize"`
	// Российский размер товара.
	WbSize OptString `json:"wbSize"`
	// Массив баркодов.
	Skus []string `json:"skus"`
}
// GetChrtID returns the value of ChrtID.
func (s *ContentV2GetCardsTrashPostOKCardsItemSizesItem) GetChrtID() OptInt {
	return s.ChrtID
}
// GetTechSize returns the value of TechSize.
func (s *ContentV2GetCardsTrashPostOKCardsItemSizesItem) GetTechSize() OptString {
	return s.TechSize
}
// GetWbSize returns the value of WbSize.
func (s *ContentV2GetCardsTrashPostOKCardsItemSizesItem) GetWbSize() OptString {
	return s.WbSize
}
// GetSkus returns the value of Skus.
func (s *ContentV2GetCardsTrashPostOKCardsItemSizesItem) GetSkus() []string {
	return s.Skus
}
// SetChrtID sets the value of ChrtID.
func (s *ContentV2GetCardsTrashPostOKCardsItemSizesItem) SetChrtID(val OptInt) {
	s.ChrtID = val
}
// SetTechSize sets the value of TechSize.
func (s *ContentV2GetCardsTrashPostOKCardsItemSizesItem) SetTechSize(val OptString) {
	s.TechSize = val
}
// SetWbSize sets the value of WbSize.
func (s *ContentV2GetCardsTrashPostOKCardsItemSizesItem) SetWbSize(val OptString) {
	s.WbSize = val
}
// SetSkus sets the value of Skus.
func (s *ContentV2GetCardsTrashPostOKCardsItemSizesItem) SetSkus(val []string) {
	s.Skus = val
}
// Пагинатор.
type ContentV2GetCardsTrashPostOKCursor struct {
	// Дата и время, с которых надо запрашивать следующий
	// список карточек товаров.
	TrashedAt OptString `json:"trashedAt"`
	// Артикул WB, с которого надо запрашивать следующий
	// список карточек товаров.
	NmID OptInt `json:"nmID"`
	// Количество возвращённых карточек товаров.
	Total OptInt `json:"total"`
}
// GetTrashedAt returns the value of TrashedAt.
func (s *ContentV2GetCardsTrashPostOKCursor) GetTrashedAt() OptString {
	return s.TrashedAt
}
// GetNmID returns the value of NmID.
func (s *ContentV2GetCardsTrashPostOKCursor) GetNmID() OptInt {
	return s.NmID
}
// GetTotal returns the value of Total.
func (s *ContentV2GetCardsTrashPostOKCursor) GetTotal() OptInt {
	return s.Total
}
// SetTrashedAt sets the value of TrashedAt.
func (s *ContentV2GetCardsTrashPostOKCursor) SetTrashedAt(val OptString) {
	s.TrashedAt = val
}
// SetNmID sets the value of NmID.
func (s *ContentV2GetCardsTrashPostOKCursor) SetNmID(val OptInt) {
	s.NmID = val
}
// SetTotal sets the value of Total.
func (s *ContentV2GetCardsTrashPostOKCursor) SetTotal(val OptInt) {
	s.Total = val
}
type ContentV2GetCardsTrashPostReq struct {
	// Настройки.
	Settings OptContentV2GetCardsTrashPostReqSettings `json:"settings"`
}
// GetSettings returns the value of Settings.
func (s *ContentV2GetCardsTrashPostReq) GetSettings() OptContentV2GetCardsTrashPostReqSettings {
	return s.Settings
}
// SetSettings sets the value of Settings.
func (s *ContentV2GetCardsTrashPostReq) SetSettings(val OptContentV2GetCardsTrashPostReqSettings) {
	s.Settings = val
}
// Настройки.
type ContentV2GetCardsTrashPostReqSettings struct {
	// Параметр сортировки.
	Sort OptContentV2GetCardsTrashPostReqSettingsSort `json:"sort"`
	// Курсор.
	Cursor OptContentV2GetCardsTrashPostReqSettingsCursor `json:"cursor"`
	// Параметры фильтрации.
	Filter OptContentV2GetCardsTrashPostReqSettingsFilter `json:"filter"`
}
// GetSort returns the value of Sort.
func (s *ContentV2GetCardsTrashPostReqSettings) GetSort() OptContentV2GetCardsTrashPostReqSettingsSort {
	return s.Sort
}
// GetCursor returns the value of Cursor.
func (s *ContentV2GetCardsTrashPostReqSettings) GetCursor() OptContentV2GetCardsTrashPostReqSettingsCursor {
	return s.Cursor
}
// GetFilter returns the value of Filter.
func (s *ContentV2GetCardsTrashPostReqSettings) GetFilter() OptContentV2GetCardsTrashPostReqSettingsFilter {
	return s.Filter
}
// SetSort sets the value of Sort.
func (s *ContentV2GetCardsTrashPostReqSettings) SetSort(val OptContentV2GetCardsTrashPostReqSettingsSort) {
	s.Sort = val
}
// SetCursor sets the value of Cursor.
func (s *ContentV2GetCardsTrashPostReqSettings) SetCursor(val OptContentV2GetCardsTrashPostReqSettingsCursor) {
	s.Cursor = val
}
// SetFilter sets the value of Filter.
func (s *ContentV2GetCardsTrashPostReqSettings) SetFilter(val OptContentV2GetCardsTrashPostReqSettingsFilter) {
	s.Filter = val
}
// Курсор.
type ContentV2GetCardsTrashPostReqSettingsCursor struct {
	// Сколько карточек товаров выдать в ответе.
	Limit OptInt `json:"limit"`
}
// GetLimit returns the value of Limit.
func (s *ContentV2GetCardsTrashPostReqSettingsCursor) GetLimit() OptInt {
	return s.Limit
}
// SetLimit sets the value of Limit.
func (s *ContentV2GetCardsTrashPostReqSettingsCursor) SetLimit(val OptInt) {
	s.Limit = val
}
// Параметры фильтрации.
type ContentV2GetCardsTrashPostReqSettingsFilter struct {
	// Поиск по артикулу продавца, артикулу WB, баркоду.
	TextSearch OptString `json:"textSearch"`
}
// GetTextSearch returns the value of TextSearch.
func (s *ContentV2GetCardsTrashPostReqSettingsFilter) GetTextSearch() OptString {
	return s.TextSearch
}
// SetTextSearch sets the value of TextSearch.
func (s *ContentV2GetCardsTrashPostReqSettingsFilter) SetTextSearch(val OptString) {
	s.TextSearch = val
}
// Параметр сортировки.
type ContentV2GetCardsTrashPostReqSettingsSort struct {
	// Сортировать по `trashedAt` (`false` - по убыванию, `true` - по
	// возрастанию).
	Ascending OptBool `json:"ascending"`
}
// GetAscending returns the value of Ascending.
func (s *ContentV2GetCardsTrashPostReqSettingsSort) GetAscending() OptBool {
	return s.Ascending
}
// SetAscending sets the value of Ascending.
func (s *ContentV2GetCardsTrashPostReqSettingsSort) SetAscending(val OptBool) {
	s.Ascending = val
}
type ContentV2ObjectAllGetOK struct {
	// Предметы.
	Data []ContentV2ObjectAllGetOKDataItem `json:"data"`
	// Флаг наличия ошибки.
	Error OptBool `json:"error"`
	// Текст ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2ObjectAllGetOK) GetData() []ContentV2ObjectAllGetOKDataItem {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2ObjectAllGetOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2ObjectAllGetOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2ObjectAllGetOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2ObjectAllGetOK) SetData(val []ContentV2ObjectAllGetOKDataItem) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2ObjectAllGetOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2ObjectAllGetOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2ObjectAllGetOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2ObjectAllGetOK) contentV2ObjectAllGetRes() {}
type ContentV2ObjectAllGetOKDataItem struct {
	// ID предмета.
	SubjectID OptInt `json:"subjectID"`
	// ID родительской категории.
	ParentID OptInt `json:"parentID"`
	// Название предмета.
	SubjectName OptString `json:"subjectName"`
	// Название родительской категории.
	ParentName OptString `json:"parentName"`
}
// GetSubjectID returns the value of SubjectID.
func (s *ContentV2ObjectAllGetOKDataItem) GetSubjectID() OptInt {
	return s.SubjectID
}
// GetParentID returns the value of ParentID.
func (s *ContentV2ObjectAllGetOKDataItem) GetParentID() OptInt {
	return s.ParentID
}
// GetSubjectName returns the value of SubjectName.
func (s *ContentV2ObjectAllGetOKDataItem) GetSubjectName() OptString {
	return s.SubjectName
}
// GetParentName returns the value of ParentName.
func (s *ContentV2ObjectAllGetOKDataItem) GetParentName() OptString {
	return s.ParentName
}
// SetSubjectID sets the value of SubjectID.
func (s *ContentV2ObjectAllGetOKDataItem) SetSubjectID(val OptInt) {
	s.SubjectID = val
}
// SetParentID sets the value of ParentID.
func (s *ContentV2ObjectAllGetOKDataItem) SetParentID(val OptInt) {
	s.ParentID = val
}
// SetSubjectName sets the value of SubjectName.
func (s *ContentV2ObjectAllGetOKDataItem) SetSubjectName(val OptString) {
	s.SubjectName = val
}
// SetParentName sets the value of ParentName.
func (s *ContentV2ObjectAllGetOKDataItem) SetParentName(val OptString) {
	s.ParentName = val
}
type ContentV2ObjectCharcsSubjectIdGetOK struct {
	// Данные.
	Data []ContentV2ObjectCharcsSubjectIdGetOKDataItem `json:"data"`
	// Флаг наличия ошибки.
	Error OptBool `json:"error"`
	// Текст ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2ObjectCharcsSubjectIdGetOK) GetData() []ContentV2ObjectCharcsSubjectIdGetOKDataItem {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2ObjectCharcsSubjectIdGetOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2ObjectCharcsSubjectIdGetOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2ObjectCharcsSubjectIdGetOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2ObjectCharcsSubjectIdGetOK) SetData(val []ContentV2ObjectCharcsSubjectIdGetOKDataItem) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2ObjectCharcsSubjectIdGetOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2ObjectCharcsSubjectIdGetOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2ObjectCharcsSubjectIdGetOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2ObjectCharcsSubjectIdGetOK) contentV2ObjectCharcsSubjectIdGetRes() {}
type ContentV2ObjectCharcsSubjectIdGetOKDataItem struct {
	// ID характеристики.
	CharcID OptInt `json:"charcID"`
	// Название предмета.
	SubjectName OptString `json:"subjectName"`
	// ID предмета.
	SubjectID OptInt `json:"subjectID"`
	// Название характеристики.
	Name OptString `json:"name"`
	// True - характеристику необходимо обязательно указать в
	// карточке товара. false - характеристику не обязательно
	// указывать.
	Required OptBool `json:"required"`
	// Единица измерения.
	UnitName OptString `json:"unitName"`
	// Максимальное кол-во значений, которое можно
	// присвоить данной характеристике.
	// Если 0, то нет ограничения.
	MaxCount OptInt `json:"maxCount"`
	// Характеристика популярна у пользователей (true - да, false
	// - нет).
	Popular OptBool `json:"popular"`
	// Тип характеристики (1 и 0 - строка или массив строк; 4 -
	// число или массив чисел).
	CharcType OptInt `json:"charcType"`
}
// GetCharcID returns the value of CharcID.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) GetCharcID() OptInt {
	return s.CharcID
}
// GetSubjectName returns the value of SubjectName.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) GetSubjectName() OptString {
	return s.SubjectName
}
// GetSubjectID returns the value of SubjectID.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) GetSubjectID() OptInt {
	return s.SubjectID
}
// GetName returns the value of Name.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) GetName() OptString {
	return s.Name
}
// GetRequired returns the value of Required.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) GetRequired() OptBool {
	return s.Required
}
// GetUnitName returns the value of UnitName.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) GetUnitName() OptString {
	return s.UnitName
}
// GetMaxCount returns the value of MaxCount.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) GetMaxCount() OptInt {
	return s.MaxCount
}
// GetPopular returns the value of Popular.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) GetPopular() OptBool {
	return s.Popular
}
// GetCharcType returns the value of CharcType.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) GetCharcType() OptInt {
	return s.CharcType
}
// SetCharcID sets the value of CharcID.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) SetCharcID(val OptInt) {
	s.CharcID = val
}
// SetSubjectName sets the value of SubjectName.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) SetSubjectName(val OptString) {
	s.SubjectName = val
}
// SetSubjectID sets the value of SubjectID.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) SetSubjectID(val OptInt) {
	s.SubjectID = val
}
// SetName sets the value of Name.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) SetName(val OptString) {
	s.Name = val
}
// SetRequired sets the value of Required.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) SetRequired(val OptBool) {
	s.Required = val
}
// SetUnitName sets the value of UnitName.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) SetUnitName(val OptString) {
	s.UnitName = val
}
// SetMaxCount sets the value of MaxCount.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) SetMaxCount(val OptInt) {
	s.MaxCount = val
}
// SetPopular sets the value of Popular.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) SetPopular(val OptBool) {
	s.Popular = val
}
// SetCharcType sets the value of CharcType.
func (s *ContentV2ObjectCharcsSubjectIdGetOKDataItem) SetCharcType(val OptInt) {
	s.CharcType = val
}
type ContentV2ObjectParentAllGetOK struct {
	Data jx.Raw `json:"data"`
	// Флаг наличия ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2ObjectParentAllGetOK) GetData() jx.Raw {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2ObjectParentAllGetOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2ObjectParentAllGetOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2ObjectParentAllGetOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2ObjectParentAllGetOK) SetData(val jx.Raw) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2ObjectParentAllGetOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2ObjectParentAllGetOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2ObjectParentAllGetOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2ObjectParentAllGetOK) contentV2ObjectParentAllGetRes() {}
type ContentV2TagNomenclatureLinkPostReq struct {
	// Артикул WB.
	NmID OptInt `json:"nmID"`
	// Массив числовых ID ярлыков.
	// Что бы снять ярлыки с карточки товара, необходимо
	// передать пустой массив.
	// Чтобы добавить ярлыки к уже имеющимся в карточке
	// товара, необходимо в запросе передать новые ярлыки и
	// ярлыки, которые уже есть в карточке товара.
	TagsIDs []int `json:"tagsIDs"`
}
// GetNmID returns the value of NmID.
func (s *ContentV2TagNomenclatureLinkPostReq) GetNmID() OptInt {
	return s.NmID
}
// GetTagsIDs returns the value of TagsIDs.
func (s *ContentV2TagNomenclatureLinkPostReq) GetTagsIDs() []int {
	return s.TagsIDs
}
// SetNmID sets the value of NmID.
func (s *ContentV2TagNomenclatureLinkPostReq) SetNmID(val OptInt) {
	s.NmID = val
}
// SetTagsIDs sets the value of TagsIDs.
func (s *ContentV2TagNomenclatureLinkPostReq) SetTagsIDs(val []int) {
	s.TagsIDs = val
}
type ContentV2TagsGetOK struct {
	Data jx.Raw `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV2TagsGetOK) GetData() jx.Raw {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV2TagsGetOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV2TagsGetOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV2TagsGetOK) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV2TagsGetOK) SetData(val jx.Raw) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV2TagsGetOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV2TagsGetOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV2TagsGetOK) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ContentV2TagsGetOK) contentV2TagsGetRes() {}
type ContentV3MediaFilePostApplicationJSONBadRequest MediaErrors
func (*ContentV3MediaFilePostApplicationJSONBadRequest) contentV3MediaFilePostRes() {}
type ContentV3MediaFilePostBadRequestPlainText struct {
	Data io.Reader
}
// Read reads data from the Data reader.
//
// Kept to satisfy the io.Reader interface.
func (s ContentV3MediaFilePostBadRequestPlainText) Read(p []byte) (n int, err error) {
	if s.Data == nil {
		return 0, io.EOF
	}
	return s.Data.Read(p)
}
func (*ContentV3MediaFilePostBadRequestPlainText) contentV3MediaFilePostRes() {}
type ContentV3MediaFilePostForbidden MediaErrors
func (*ContentV3MediaFilePostForbidden) contentV3MediaFilePostRes() {}
type ContentV3MediaFilePostOK struct {
	Data *ContentV3MediaFilePostOKData `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptContentV3MediaFilePostOKAdditionalErrors `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV3MediaFilePostOK) GetData() *ContentV3MediaFilePostOKData {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV3MediaFilePostOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV3MediaFilePostOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV3MediaFilePostOK) GetAdditionalErrors() OptContentV3MediaFilePostOKAdditionalErrors {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV3MediaFilePostOK) SetData(val *ContentV3MediaFilePostOKData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV3MediaFilePostOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV3MediaFilePostOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV3MediaFilePostOK) SetAdditionalErrors(val OptContentV3MediaFilePostOKAdditionalErrors) {
	s.AdditionalErrors = val
}
func (*ContentV3MediaFilePostOK) contentV3MediaFilePostRes() {}
// Дополнительные ошибки.
type ContentV3MediaFilePostOKAdditionalErrors struct{}
type ContentV3MediaFilePostOKData struct{}
type ContentV3MediaFilePostReq struct {
	Uploadfile OptMultipartFile `json:"uploadfile"`
}
// GetUploadfile returns the value of Uploadfile.
func (s *ContentV3MediaFilePostReq) GetUploadfile() OptMultipartFile {
	return s.Uploadfile
}
// SetUploadfile sets the value of Uploadfile.
func (s *ContentV3MediaFilePostReq) SetUploadfile(val OptMultipartFile) {
	s.Uploadfile = val
}
type ContentV3MediaSavePostBadRequest MediaErrors
func (*ContentV3MediaSavePostBadRequest) contentV3MediaSavePostRes() {}
type ContentV3MediaSavePostConflict MediaErrors
func (*ContentV3MediaSavePostConflict) contentV3MediaSavePostRes() {}
type ContentV3MediaSavePostForbidden MediaErrors
func (*ContentV3MediaSavePostForbidden) contentV3MediaSavePostRes() {}
type ContentV3MediaSavePostOK struct {
	Data *ContentV3MediaSavePostOKData `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptContentV3MediaSavePostOKAdditionalErrors `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ContentV3MediaSavePostOK) GetData() *ContentV3MediaSavePostOKData {
	return s.Data
}
// GetError returns the value of Error.
func (s *ContentV3MediaSavePostOK) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ContentV3MediaSavePostOK) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ContentV3MediaSavePostOK) GetAdditionalErrors() OptContentV3MediaSavePostOKAdditionalErrors {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ContentV3MediaSavePostOK) SetData(val *ContentV3MediaSavePostOKData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ContentV3MediaSavePostOK) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ContentV3MediaSavePostOK) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ContentV3MediaSavePostOK) SetAdditionalErrors(val OptContentV3MediaSavePostOKAdditionalErrors) {
	s.AdditionalErrors = val
}
func (*ContentV3MediaSavePostOK) contentV3MediaSavePostRes() {}
// Дополнительные ошибки.
type ContentV3MediaSavePostOKAdditionalErrors struct{}
type ContentV3MediaSavePostOKData struct{}
type ContentV3MediaSavePostReq struct {
	// Артикул WB.
	NmId OptInt `json:"nmId"`
	// Ссылки на изображения в том порядке, в котором они
	// будут в карточке товара, и на видео, на любой позиции
	// массива.
	Data []string `json:"data"`
}
// GetNmId returns the value of NmId.
func (s *ContentV3MediaSavePostReq) GetNmId() OptInt {
	return s.NmId
}
// GetData returns the value of Data.
func (s *ContentV3MediaSavePostReq) GetData() []string {
	return s.Data
}
// SetNmId sets the value of NmId.
func (s *ContentV3MediaSavePostReq) SetNmId(val OptInt) {
	s.NmId = val
}
// SetData sets the value of Data.
func (s *ContentV3MediaSavePostReq) SetData(val []string) {
	s.Data = val
}
type ContentV3MediaSavePostUnprocessableEntity MediaErrors
func (*ContentV3MediaSavePostUnprocessableEntity) contentV3MediaSavePostRes() {}
// Ref: #/components/schemas/Error
type Error struct {
	// Код ошибки.
	Code OptString `json:"code"`
	// Описание ошибки.
	Message OptString `json:"message"`
	// Дополнительные данные, обогащающие ошибку.
	Data OptErrorData `json:"data"`
}
// GetCode returns the value of Code.
func (s *Error) GetCode() OptString {
	return s.Code
}
// GetMessage returns the value of Message.
func (s *Error) GetMessage() OptString {
	return s.Message
}
// GetData returns the value of Data.
func (s *Error) GetData() OptErrorData {
	return s.Data
}
// SetCode sets the value of Code.
func (s *Error) SetCode(val OptString) {
	s.Code = val
}
// SetMessage sets the value of Message.
func (s *Error) SetMessage(val OptString) {
	s.Message = val
}
// SetData sets the value of Data.
func (s *Error) SetData(val OptErrorData) {
	s.Data = val
}
func (*Error) aPIV3OfficesGetRes()    {}
func (*Error) aPIV3WarehousesGetRes() {}
// Дополнительные данные, обогащающие ошибку.
type ErrorData struct{}
// Ref: #/components/schemas/Good
type Good struct {
	// Артикул WB.
	NmID int `json:"nmID"`
	// Цена. Валюту можно получить с помощью метода
	// [Получение списка товаров по артикулам](.
	// /work-with-products#tag/Ceny-i-skidki/paths/~1api~1v2~1list~1goods~1filter/get), поле
	// `currencyIsoCode4217`.
	Price OptInt `json:"price"`
	// Скидка, %.
	Discount OptInt `json:"discount"`
}
// GetNmID returns the value of NmID.
func (s *Good) GetNmID() int {
	return s.NmID
}
// GetPrice returns the value of Price.
func (s *Good) GetPrice() OptInt {
	return s.Price
}
// GetDiscount returns the value of Discount.
func (s *Good) GetDiscount() OptInt {
	return s.Discount
}
// SetNmID sets the value of NmID.
func (s *Good) SetNmID(val int) {
	s.NmID = val
}
// SetPrice sets the value of Price.
func (s *Good) SetPrice(val OptInt) {
	s.Price = val
}
// SetDiscount sets the value of Discount.
func (s *Good) SetDiscount(val OptInt) {
	s.Discount = val
}
// Ref: #/components/schemas/GoodBufferHistory
type GoodBufferHistory struct {
	// Артикул WB.
	NmID OptInt `json:"nmID"`
	// Артикул продавца.
	VendorCode OptString `json:"vendorCode"`
	// ID размера. В методах контента это поле `chrtID`.
	SizeID OptInt `json:"sizeID"`
	// Размер.
	TechSizeName OptString `json:"techSizeName"`
	// Цена.
	Price OptInt `json:"price"`
	// Валюта, по стандарту ISO 4217.
	CurrencyIsoCode4217 OptString `json:"currencyIsoCode4217"`
	// Скидка, %.
	Discount OptInt `json:"discount"`
	// Скидка WB Клуба, %.
	ClubDiscount OptInt              `json:"clubDiscount"`
	Status       OptGoodStatusBuffer `json:"status"`
	// Текст ошибки.
	ErrorText OptString `json:"errorText"`
}
// GetNmID returns the value of NmID.
func (s *GoodBufferHistory) GetNmID() OptInt {
	return s.NmID
}
// GetVendorCode returns the value of VendorCode.
func (s *GoodBufferHistory) GetVendorCode() OptString {
	return s.VendorCode
}
// GetSizeID returns the value of SizeID.
func (s *GoodBufferHistory) GetSizeID() OptInt {
	return s.SizeID
}
// GetTechSizeName returns the value of TechSizeName.
func (s *GoodBufferHistory) GetTechSizeName() OptString {
	return s.TechSizeName
}
// GetPrice returns the value of Price.
func (s *GoodBufferHistory) GetPrice() OptInt {
	return s.Price
}
// GetCurrencyIsoCode4217 returns the value of CurrencyIsoCode4217.
func (s *GoodBufferHistory) GetCurrencyIsoCode4217() OptString {
	return s.CurrencyIsoCode4217
}
// GetDiscount returns the value of Discount.
func (s *GoodBufferHistory) GetDiscount() OptInt {
	return s.Discount
}
// GetClubDiscount returns the value of ClubDiscount.
func (s *GoodBufferHistory) GetClubDiscount() OptInt {
	return s.ClubDiscount
}
// GetStatus returns the value of Status.
func (s *GoodBufferHistory) GetStatus() OptGoodStatusBuffer {
	return s.Status
}
// GetErrorText returns the value of ErrorText.
func (s *GoodBufferHistory) GetErrorText() OptString {
	return s.ErrorText
}
// SetNmID sets the value of NmID.
func (s *GoodBufferHistory) SetNmID(val OptInt) {
	s.NmID = val
}
// SetVendorCode sets the value of VendorCode.
func (s *GoodBufferHistory) SetVendorCode(val OptString) {
	s.VendorCode = val
}
// SetSizeID sets the value of SizeID.
func (s *GoodBufferHistory) SetSizeID(val OptInt) {
	s.SizeID = val
}
// SetTechSizeName sets the value of TechSizeName.
func (s *GoodBufferHistory) SetTechSizeName(val OptString) {
	s.TechSizeName = val
}
// SetPrice sets the value of Price.
func (s *GoodBufferHistory) SetPrice(val OptInt) {
	s.Price = val
}
// SetCurrencyIsoCode4217 sets the value of CurrencyIsoCode4217.
func (s *GoodBufferHistory) SetCurrencyIsoCode4217(val OptString) {
	s.CurrencyIsoCode4217 = val
}
// SetDiscount sets the value of Discount.
func (s *GoodBufferHistory) SetDiscount(val OptInt) {
	s.Discount = val
}
// SetClubDiscount sets the value of ClubDiscount.
func (s *GoodBufferHistory) SetClubDiscount(val OptInt) {
	s.ClubDiscount = val
}
// SetStatus sets the value of Status.
func (s *GoodBufferHistory) SetStatus(val OptGoodStatusBuffer) {
	s.Status = val
}
// SetErrorText sets the value of ErrorText.
func (s *GoodBufferHistory) SetErrorText(val OptString) {
	s.ErrorText = val
}
// Ref: #/components/schemas/GoodHistory
type GoodHistory struct {
	// Артикул WB.
	NmID OptInt `json:"nmID"`
	// Артикул продавца.
	VendorCode OptString `json:"vendorCode"`
	// ID размера. В методах контента это поле `chrtID`.
	SizeID OptInt `json:"sizeID"`
	// Размер.
	TechSizeName OptString `json:"techSizeName"`
	// Цена.
	Price OptInt `json:"price"`
	// Валюта, по стандарту ISO 4217.
	CurrencyIsoCode4217 OptString `json:"currencyIsoCode4217"`
	// Скидка, %.
	Discount OptInt `json:"discount"`
	// Скидка WB Клуба, %.
	ClubDiscount OptNilInt     `json:"clubDiscount"`
	Status       OptGoodStatus `json:"status"`
	// Текст ошибки
	// 
	// Ошибка 
The new price is several times lower than the current price. Item has been
	// moved to Price Quarantine возникает, если новая цена со
	// скидкой хотя бы в 3 раза меньше старой. Вы можете
	// изменить цену или скидку с помощью API либо вывести
	// товар из карантина 
в личном кабинете
	// 
 .
	ErrorText OptString `json:"errorText"`
}
// GetNmID returns the value of NmID.
func (s *GoodHistory) GetNmID() OptInt {
	return s.NmID
}
// GetVendorCode returns the value of VendorCode.
func (s *GoodHistory) GetVendorCode() OptString {
	return s.VendorCode
}
// GetSizeID returns the value of SizeID.
func (s *GoodHistory) GetSizeID() OptInt {
	return s.SizeID
}
// GetTechSizeName returns the value of TechSizeName.
func (s *GoodHistory) GetTechSizeName() OptString {
	return s.TechSizeName
}
// GetPrice returns the value of Price.
func (s *GoodHistory) GetPrice() OptInt {
	return s.Price
}
// GetCurrencyIsoCode4217 returns the value of CurrencyIsoCode4217.
func (s *GoodHistory) GetCurrencyIsoCode4217() OptString {
	return s.CurrencyIsoCode4217
}
// GetDiscount returns the value of Discount.
func (s *GoodHistory) GetDiscount() OptInt {
	return s.Discount
}
// GetClubDiscount returns the value of ClubDiscount.
func (s *GoodHistory) GetClubDiscount() OptNilInt {
	return s.ClubDiscount
}
// GetStatus returns the value of Status.
func (s *GoodHistory) GetStatus() OptGoodStatus {
	return s.Status
}
// GetErrorText returns the value of ErrorText.
func (s *GoodHistory) GetErrorText() OptString {
	return s.ErrorText
}
// SetNmID sets the value of NmID.
func (s *GoodHistory) SetNmID(val OptInt) {
	s.NmID = val
}
// SetVendorCode sets the value of VendorCode.
func (s *GoodHistory) SetVendorCode(val OptString) {
	s.VendorCode = val
}
// SetSizeID sets the value of SizeID.
func (s *GoodHistory) SetSizeID(val OptInt) {
	s.SizeID = val
}
// SetTechSizeName sets the value of TechSizeName.
func (s *GoodHistory) SetTechSizeName(val OptString) {
	s.TechSizeName = val
}
// SetPrice sets the value of Price.
func (s *GoodHistory) SetPrice(val OptInt) {
	s.Price = val
}
// SetCurrencyIsoCode4217 sets the value of CurrencyIsoCode4217.
func (s *GoodHistory) SetCurrencyIsoCode4217(val OptString) {
	s.CurrencyIsoCode4217 = val
}
// SetDiscount sets the value of Discount.
func (s *GoodHistory) SetDiscount(val OptInt) {
	s.Discount = val
}
// SetClubDiscount sets the value of ClubDiscount.
func (s *GoodHistory) SetClubDiscount(val OptNilInt) {
	s.ClubDiscount = val
}
// SetStatus sets the value of Status.
func (s *GoodHistory) SetStatus(val OptGoodStatus) {
	s.Status = val
}
// SetErrorText sets the value of ErrorText.
func (s *GoodHistory) SetErrorText(val OptString) {
	s.ErrorText = val
}
type GoodStatus int
type GoodStatusBuffer int
type Goods []Good
// Размеры товара.
// Ref: #/components/schemas/GoodsList
type GoodsList struct {
	// Артикул WB.
	NmID OptInt `json:"nmID"`
	// Артикул продавца.
	VendorCode OptString `json:"vendorCode"`
	// Размер.
	Sizes []GoodsListSizesItem `json:"sizes"`
	// Валюта, по стандарту ISO 4217.
	CurrencyIsoCode4217 OptString `json:"currencyIsoCode4217"`
	// Скидка, %.
	Discount OptInt `json:"discount"`
	// Скидка WB Клуба, %.
	ClubDiscount OptInt `json:"clubDiscount"`
	// Можно ли устанавливать цены отдельно для разных
	// размеров: `true` — можно, `false` — нельзя. Эта возможность
	// зависит от категории товара.
	EditableSizePrice OptBool `json:"editableSizePrice"`
}
// GetNmID returns the value of NmID.
func (s *GoodsList) GetNmID() OptInt {
	return s.NmID
}
// GetVendorCode returns the value of VendorCode.
func (s *GoodsList) GetVendorCode() OptString {
	return s.VendorCode
}
// GetSizes returns the value of Sizes.
func (s *GoodsList) GetSizes() []GoodsListSizesItem {
	return s.Sizes
}
// GetCurrencyIsoCode4217 returns the value of CurrencyIsoCode4217.
func (s *GoodsList) GetCurrencyIsoCode4217() OptString {
	return s.CurrencyIsoCode4217
}
// GetDiscount returns the value of Discount.
func (s *GoodsList) GetDiscount() OptInt {
	return s.Discount
}
// GetClubDiscount returns the value of ClubDiscount.
func (s *GoodsList) GetClubDiscount() OptInt {
	return s.ClubDiscount
}
// GetEditableSizePrice returns the value of EditableSizePrice.
func (s *GoodsList) GetEditableSizePrice() OptBool {
	return s.EditableSizePrice
}
// SetNmID sets the value of NmID.
func (s *GoodsList) SetNmID(val OptInt) {
	s.NmID = val
}
// SetVendorCode sets the value of VendorCode.
func (s *GoodsList) SetVendorCode(val OptString) {
	s.VendorCode = val
}
// SetSizes sets the value of Sizes.
func (s *GoodsList) SetSizes(val []GoodsListSizesItem) {
	s.Sizes = val
}
// SetCurrencyIsoCode4217 sets the value of CurrencyIsoCode4217.
func (s *GoodsList) SetCurrencyIsoCode4217(val OptString) {
	s.CurrencyIsoCode4217 = val
}
// SetDiscount sets the value of Discount.
func (s *GoodsList) SetDiscount(val OptInt) {
	s.Discount = val
}
// SetClubDiscount sets the value of ClubDiscount.
func (s *GoodsList) SetClubDiscount(val OptInt) {
	s.ClubDiscount = val
}
// SetEditableSizePrice sets the value of EditableSizePrice.
func (s *GoodsList) SetEditableSizePrice(val OptBool) {
	s.EditableSizePrice = val
}
type GoodsListSizesItem struct {
	// ID размера. В методах контента это поле `chrtID`.
	SizeID OptInt64 `json:"sizeID"`
	// Цена.
	Price OptInt `json:"price"`
	// Цена со скидкой.
	DiscountedPrice OptFloat64 `json:"discountedPrice"`
	// Цена со скидкой, включая скидку WB Клуба.
	ClubDiscountedPrice OptFloat64 `json:"clubDiscountedPrice"`
	// Размер товара.
	TechSizeName OptString `json:"techSizeName"`
}
// GetSizeID returns the value of SizeID.
func (s *GoodsListSizesItem) GetSizeID() OptInt64 {
	return s.SizeID
}
// GetPrice returns the value of Price.
func (s *GoodsListSizesItem) GetPrice() OptInt {
	return s.Price
}
// GetDiscountedPrice returns the value of DiscountedPrice.
func (s *GoodsListSizesItem) GetDiscountedPrice() OptFloat64 {
	return s.DiscountedPrice
}
// GetClubDiscountedPrice returns the value of ClubDiscountedPrice.
func (s *GoodsListSizesItem) GetClubDiscountedPrice() OptFloat64 {
	return s.ClubDiscountedPrice
}
// GetTechSizeName returns the value of TechSizeName.
func (s *GoodsListSizesItem) GetTechSizeName() OptString {
	return s.TechSizeName
}
// SetSizeID sets the value of SizeID.
func (s *GoodsListSizesItem) SetSizeID(val OptInt64) {
	s.SizeID = val
}
// SetPrice sets the value of Price.
func (s *GoodsListSizesItem) SetPrice(val OptInt) {
	s.Price = val
}
// SetDiscountedPrice sets the value of DiscountedPrice.
func (s *GoodsListSizesItem) SetDiscountedPrice(val OptFloat64) {
	s.DiscountedPrice = val
}
// SetClubDiscountedPrice sets the value of ClubDiscountedPrice.
func (s *GoodsListSizesItem) SetClubDiscountedPrice(val OptFloat64) {
	s.ClubDiscountedPrice = val
}
// SetTechSizeName sets the value of TechSizeName.
func (s *GoodsListSizesItem) SetTechSizeName(val OptString) {
	s.TechSizeName = val
}
type HeaderApiKey struct {
	APIKey string
	Roles  []string
}
// GetAPIKey returns the value of APIKey.
func (s *HeaderApiKey) GetAPIKey() string {
	return s.APIKey
}
// GetRoles returns the value of Roles.
func (s *HeaderApiKey) GetRoles() []string {
	return s.Roles
}
// SetAPIKey sets the value of APIKey.
func (s *HeaderApiKey) SetAPIKey(val string) {
	s.APIKey = val
}
// SetRoles sets the value of Roles.
func (s *HeaderApiKey) SetRoles(val []string) {
	s.Roles = val
}
// Ref: #/components/schemas/mediaErrors
type MediaErrors struct {
	// Дополнительные ошибки.
	AdditionalErrors OptMediaErrorsAdditionalErrors `json:"additionalErrors"`
	Data             *MediaErrorsData               `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *MediaErrors) GetAdditionalErrors() OptMediaErrorsAdditionalErrors {
	return s.AdditionalErrors
}
// GetData returns the value of Data.
func (s *MediaErrors) GetData() *MediaErrorsData {
	return s.Data
}
// GetError returns the value of Error.
func (s *MediaErrors) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *MediaErrors) GetErrorText() OptString {
	return s.ErrorText
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *MediaErrors) SetAdditionalErrors(val OptMediaErrorsAdditionalErrors) {
	s.AdditionalErrors = val
}
// SetData sets the value of Data.
func (s *MediaErrors) SetData(val *MediaErrorsData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *MediaErrors) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *MediaErrors) SetErrorText(val OptString) {
	s.ErrorText = val
}
// Дополнительные ошибки.
type MediaErrorsAdditionalErrors struct{}
type MediaErrorsData struct{}
// Данные о складе WB.
// Ref: #/components/schemas/Office
type Office struct {
	// Адрес.
	Address OptString `json:"address"`
	// Название.
	Name OptString `json:"name"`
	// Город.
	City OptString `json:"city"`
	// ID.
	ID OptInt64 `json:"id"`
	// Долгота.
	Longitude OptFloat64 `json:"longitude"`
	// Широта.
	Latitude OptFloat64 `json:"latitude"`
	//  - Тип товара, который принимает склад:
  - 1 - МГТ
	// (малогабаритный, то есть обычный товар)
  - 2 - СГТ
	// (Сверхгабаритный товар)
  - 3 - КГТ+ (Крупногабаритный
	// товар)
  
.
	CargoType OptOfficeCargoType `json:"cargoType"`
	// Тип доставки, который принимает склад:
	// - `1` — доставка на склад WB (FBS)
	// - `2` — доставка силами продавца (DBS)
	// - `3` — доставка курьером WB (DBW)
	// - `5` — самовывоз (C&C)
	// - `6` — экспресс-доставка силами продавца (ЕDBS).
	DeliveryType OptOfficeDeliveryType `json:"deliveryType"`
	// Признак того, что склад уже выбран продавцом.
	Selected OptBool `json:"selected"`
}
// GetAddress returns the value of Address.
func (s *Office) GetAddress() OptString {
	return s.Address
}
// GetName returns the value of Name.
func (s *Office) GetName() OptString {
	return s.Name
}
// GetCity returns the value of City.
func (s *Office) GetCity() OptString {
	return s.City
}
// GetID returns the value of ID.
func (s *Office) GetID() OptInt64 {
	return s.ID
}
// GetLongitude returns the value of Longitude.
func (s *Office) GetLongitude() OptFloat64 {
	return s.Longitude
}
// GetLatitude returns the value of Latitude.
func (s *Office) GetLatitude() OptFloat64 {
	return s.Latitude
}
// GetCargoType returns the value of CargoType.
func (s *Office) GetCargoType() OptOfficeCargoType {
	return s.CargoType
}
// GetDeliveryType returns the value of DeliveryType.
func (s *Office) GetDeliveryType() OptOfficeDeliveryType {
	return s.DeliveryType
}
// GetSelected returns the value of Selected.
func (s *Office) GetSelected() OptBool {
	return s.Selected
}
// SetAddress sets the value of Address.
func (s *Office) SetAddress(val OptString) {
	s.Address = val
}
// SetName sets the value of Name.
func (s *Office) SetName(val OptString) {
	s.Name = val
}
// SetCity sets the value of City.
func (s *Office) SetCity(val OptString) {
	s.City = val
}
// SetID sets the value of ID.
func (s *Office) SetID(val OptInt64) {
	s.ID = val
}
// SetLongitude sets the value of Longitude.
func (s *Office) SetLongitude(val OptFloat64) {
	s.Longitude = val
}
// SetLatitude sets the value of Latitude.
func (s *Office) SetLatitude(val OptFloat64) {
	s.Latitude = val
}
// SetCargoType sets the value of CargoType.
func (s *Office) SetCargoType(val OptOfficeCargoType) {
	s.CargoType = val
}
// SetDeliveryType sets the value of DeliveryType.
func (s *Office) SetDeliveryType(val OptOfficeDeliveryType) {
	s.DeliveryType = val
}
// SetSelected sets the value of Selected.
func (s *Office) SetSelected(val OptBool) {
	s.Selected = val
}
//  - Тип товара, который принимает склад:
  - 1 - МГТ
// (малогабаритный, то есть обычный товар)
  - 2 - СГТ
// (Сверхгабаритный товар)
  - 3 - КГТ+ (Крупногабаритный
// товар)
  
.
type OfficeCargoType int
const (
	OfficeCargoType1 OfficeCargoType = 1
	OfficeCargoType2 OfficeCargoType = 2
	OfficeCargoType3 OfficeCargoType = 3
)
// AllValues returns all OfficeCargoType values.
func (OfficeCargoType) AllValues() []OfficeCargoType {
	return []OfficeCargoType{
		OfficeCargoType1,
		OfficeCargoType2,
		OfficeCargoType3,
	}
}
// Тип доставки, который принимает склад:
// - `1` — доставка на склад WB (FBS)
// - `2` — доставка силами продавца (DBS)
// - `3` — доставка курьером WB (DBW)
// - `5` — самовывоз (C&C)
// - `6` — экспресс-доставка силами продавца (ЕDBS).
type OfficeDeliveryType int
const (
	OfficeDeliveryType1 OfficeDeliveryType = 1
	OfficeDeliveryType2 OfficeDeliveryType = 2
	OfficeDeliveryType3 OfficeDeliveryType = 3
	OfficeDeliveryType5 OfficeDeliveryType = 5
	OfficeDeliveryType6 OfficeDeliveryType = 6
)
// AllValues returns all OfficeDeliveryType values.
func (OfficeDeliveryType) AllValues() []OfficeDeliveryType {
	return []OfficeDeliveryType{
		OfficeDeliveryType1,
		OfficeDeliveryType2,
		OfficeDeliveryType3,
		OfficeDeliveryType5,
		OfficeDeliveryType6,
	}
}
// NewOptAPIV2BufferGoodsTaskGetBadRequestData returns new OptAPIV2BufferGoodsTaskGetBadRequestData with value set to v.
func NewOptAPIV2BufferGoodsTaskGetBadRequestData(v *APIV2BufferGoodsTaskGetBadRequestData) OptAPIV2BufferGoodsTaskGetBadRequestData {
	return OptAPIV2BufferGoodsTaskGetBadRequestData{
		Value: v,
		Set:   true,
	}
}
// OptAPIV2BufferGoodsTaskGetBadRequestData is optional *APIV2BufferGoodsTaskGetBadRequestData.
type OptAPIV2BufferGoodsTaskGetBadRequestData struct {
	Value *APIV2BufferGoodsTaskGetBadRequestData
	Set   bool
}
// IsSet returns true if OptAPIV2BufferGoodsTaskGetBadRequestData was set.
func (o OptAPIV2BufferGoodsTaskGetBadRequestData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptAPIV2BufferGoodsTaskGetBadRequestData) Reset() {
	var v *APIV2BufferGoodsTaskGetBadRequestData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptAPIV2BufferGoodsTaskGetBadRequestData) SetTo(v *APIV2BufferGoodsTaskGetBadRequestData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptAPIV2BufferGoodsTaskGetBadRequestData) Get() (v *APIV2BufferGoodsTaskGetBadRequestData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptAPIV2BufferGoodsTaskGetBadRequestData) Or(d *APIV2BufferGoodsTaskGetBadRequestData) *APIV2BufferGoodsTaskGetBadRequestData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptAPIV2BufferTasksGetBadRequestData returns new OptAPIV2BufferTasksGetBadRequestData with value set to v.
func NewOptAPIV2BufferTasksGetBadRequestData(v *APIV2BufferTasksGetBadRequestData) OptAPIV2BufferTasksGetBadRequestData {
	return OptAPIV2BufferTasksGetBadRequestData{
		Value: v,
		Set:   true,
	}
}
// OptAPIV2BufferTasksGetBadRequestData is optional *APIV2BufferTasksGetBadRequestData.
type OptAPIV2BufferTasksGetBadRequestData struct {
	Value *APIV2BufferTasksGetBadRequestData
	Set   bool
}
// IsSet returns true if OptAPIV2BufferTasksGetBadRequestData was set.
func (o OptAPIV2BufferTasksGetBadRequestData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptAPIV2BufferTasksGetBadRequestData) Reset() {
	var v *APIV2BufferTasksGetBadRequestData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptAPIV2BufferTasksGetBadRequestData) SetTo(v *APIV2BufferTasksGetBadRequestData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptAPIV2BufferTasksGetBadRequestData) Get() (v *APIV2BufferTasksGetBadRequestData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptAPIV2BufferTasksGetBadRequestData) Or(d *APIV2BufferTasksGetBadRequestData) *APIV2BufferTasksGetBadRequestData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptAPIV2HistoryGoodsTaskGetBadRequestData returns new OptAPIV2HistoryGoodsTaskGetBadRequestData with value set to v.
func NewOptAPIV2HistoryGoodsTaskGetBadRequestData(v *APIV2HistoryGoodsTaskGetBadRequestData) OptAPIV2HistoryGoodsTaskGetBadRequestData {
	return OptAPIV2HistoryGoodsTaskGetBadRequestData{
		Value: v,
		Set:   true,
	}
}
// OptAPIV2HistoryGoodsTaskGetBadRequestData is optional *APIV2HistoryGoodsTaskGetBadRequestData.
type OptAPIV2HistoryGoodsTaskGetBadRequestData struct {
	Value *APIV2HistoryGoodsTaskGetBadRequestData
	Set   bool
}
// IsSet returns true if OptAPIV2HistoryGoodsTaskGetBadRequestData was set.
func (o OptAPIV2HistoryGoodsTaskGetBadRequestData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptAPIV2HistoryGoodsTaskGetBadRequestData) Reset() {
	var v *APIV2HistoryGoodsTaskGetBadRequestData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptAPIV2HistoryGoodsTaskGetBadRequestData) SetTo(v *APIV2HistoryGoodsTaskGetBadRequestData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptAPIV2HistoryGoodsTaskGetBadRequestData) Get() (v *APIV2HistoryGoodsTaskGetBadRequestData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptAPIV2HistoryGoodsTaskGetBadRequestData) Or(d *APIV2HistoryGoodsTaskGetBadRequestData) *APIV2HistoryGoodsTaskGetBadRequestData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptAPIV2HistoryTasksGetBadRequestData returns new OptAPIV2HistoryTasksGetBadRequestData with value set to v.
func NewOptAPIV2HistoryTasksGetBadRequestData(v *APIV2HistoryTasksGetBadRequestData) OptAPIV2HistoryTasksGetBadRequestData {
	return OptAPIV2HistoryTasksGetBadRequestData{
		Value: v,
		Set:   true,
	}
}
// OptAPIV2HistoryTasksGetBadRequestData is optional *APIV2HistoryTasksGetBadRequestData.
type OptAPIV2HistoryTasksGetBadRequestData struct {
	Value *APIV2HistoryTasksGetBadRequestData
	Set   bool
}
// IsSet returns true if OptAPIV2HistoryTasksGetBadRequestData was set.
func (o OptAPIV2HistoryTasksGetBadRequestData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptAPIV2HistoryTasksGetBadRequestData) Reset() {
	var v *APIV2HistoryTasksGetBadRequestData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptAPIV2HistoryTasksGetBadRequestData) SetTo(v *APIV2HistoryTasksGetBadRequestData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptAPIV2HistoryTasksGetBadRequestData) Get() (v *APIV2HistoryTasksGetBadRequestData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptAPIV2HistoryTasksGetBadRequestData) Or(d *APIV2HistoryTasksGetBadRequestData) *APIV2HistoryTasksGetBadRequestData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptAPIV3StocksWarehouseIdPutReq returns new OptAPIV3StocksWarehouseIdPutReq with value set to v.
func NewOptAPIV3StocksWarehouseIdPutReq(v APIV3StocksWarehouseIdPutReq) OptAPIV3StocksWarehouseIdPutReq {
	return OptAPIV3StocksWarehouseIdPutReq{
		Value: v,
		Set:   true,
	}
}
// OptAPIV3StocksWarehouseIdPutReq is optional APIV3StocksWarehouseIdPutReq.
type OptAPIV3StocksWarehouseIdPutReq struct {
	Value APIV3StocksWarehouseIdPutReq
	Set   bool
}
// IsSet returns true if OptAPIV3StocksWarehouseIdPutReq was set.
func (o OptAPIV3StocksWarehouseIdPutReq) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptAPIV3StocksWarehouseIdPutReq) Reset() {
	var v APIV3StocksWarehouseIdPutReq
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptAPIV3StocksWarehouseIdPutReq) SetTo(v APIV3StocksWarehouseIdPutReq) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptAPIV3StocksWarehouseIdPutReq) Get() (v APIV3StocksWarehouseIdPutReq, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptAPIV3StocksWarehouseIdPutReq) Or(d APIV3StocksWarehouseIdPutReq) APIV3StocksWarehouseIdPutReq {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptBool returns new OptBool with value set to v.
func NewOptBool(v bool) OptBool {
	return OptBool{
		Value: v,
		Set:   true,
	}
}
// OptBool is optional bool.
type OptBool struct {
	Value bool
	Set   bool
}
// IsSet returns true if OptBool was set.
func (o OptBool) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptBool) Reset() {
	var v bool
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptBool) SetTo(v bool) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptBool) Get() (v bool, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptBool) Or(d bool) bool {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2CardsDeleteTrashPostOKAdditionalErrors returns new OptContentV2CardsDeleteTrashPostOKAdditionalErrors with value set to v.
func NewOptContentV2CardsDeleteTrashPostOKAdditionalErrors(v *ContentV2CardsDeleteTrashPostOKAdditionalErrors) OptContentV2CardsDeleteTrashPostOKAdditionalErrors {
	return OptContentV2CardsDeleteTrashPostOKAdditionalErrors{
		Value: v,
		Set:   true,
	}
}
// OptContentV2CardsDeleteTrashPostOKAdditionalErrors is optional *ContentV2CardsDeleteTrashPostOKAdditionalErrors.
type OptContentV2CardsDeleteTrashPostOKAdditionalErrors struct {
	Value *ContentV2CardsDeleteTrashPostOKAdditionalErrors
	Set   bool
}
// IsSet returns true if OptContentV2CardsDeleteTrashPostOKAdditionalErrors was set.
func (o OptContentV2CardsDeleteTrashPostOKAdditionalErrors) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2CardsDeleteTrashPostOKAdditionalErrors) Reset() {
	var v *ContentV2CardsDeleteTrashPostOKAdditionalErrors
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2CardsDeleteTrashPostOKAdditionalErrors) SetTo(v *ContentV2CardsDeleteTrashPostOKAdditionalErrors) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2CardsDeleteTrashPostOKAdditionalErrors) Get() (v *ContentV2CardsDeleteTrashPostOKAdditionalErrors, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2CardsDeleteTrashPostOKAdditionalErrors) Or(d *ContentV2CardsDeleteTrashPostOKAdditionalErrors) *ContentV2CardsDeleteTrashPostOKAdditionalErrors {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2CardsDeleteTrashPostOKData returns new OptContentV2CardsDeleteTrashPostOKData with value set to v.
func NewOptContentV2CardsDeleteTrashPostOKData(v *ContentV2CardsDeleteTrashPostOKData) OptContentV2CardsDeleteTrashPostOKData {
	return OptContentV2CardsDeleteTrashPostOKData{
		Value: v,
		Set:   true,
	}
}
// OptContentV2CardsDeleteTrashPostOKData is optional *ContentV2CardsDeleteTrashPostOKData.
type OptContentV2CardsDeleteTrashPostOKData struct {
	Value *ContentV2CardsDeleteTrashPostOKData
	Set   bool
}
// IsSet returns true if OptContentV2CardsDeleteTrashPostOKData was set.
func (o OptContentV2CardsDeleteTrashPostOKData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2CardsDeleteTrashPostOKData) Reset() {
	var v *ContentV2CardsDeleteTrashPostOKData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2CardsDeleteTrashPostOKData) SetTo(v *ContentV2CardsDeleteTrashPostOKData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2CardsDeleteTrashPostOKData) Get() (v *ContentV2CardsDeleteTrashPostOKData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2CardsDeleteTrashPostOKData) Or(d *ContentV2CardsDeleteTrashPostOKData) *ContentV2CardsDeleteTrashPostOKData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2CardsLimitsGetOKData returns new OptContentV2CardsLimitsGetOKData with value set to v.
func NewOptContentV2CardsLimitsGetOKData(v ContentV2CardsLimitsGetOKData) OptContentV2CardsLimitsGetOKData {
	return OptContentV2CardsLimitsGetOKData{
		Value: v,
		Set:   true,
	}
}
// OptContentV2CardsLimitsGetOKData is optional ContentV2CardsLimitsGetOKData.
type OptContentV2CardsLimitsGetOKData struct {
	Value ContentV2CardsLimitsGetOKData
	Set   bool
}
// IsSet returns true if OptContentV2CardsLimitsGetOKData was set.
func (o OptContentV2CardsLimitsGetOKData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2CardsLimitsGetOKData) Reset() {
	var v ContentV2CardsLimitsGetOKData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2CardsLimitsGetOKData) SetTo(v ContentV2CardsLimitsGetOKData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2CardsLimitsGetOKData) Get() (v ContentV2CardsLimitsGetOKData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2CardsLimitsGetOKData) Or(d ContentV2CardsLimitsGetOKData) ContentV2CardsLimitsGetOKData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2CardsRecoverPostOKAdditionalErrors returns new OptContentV2CardsRecoverPostOKAdditionalErrors with value set to v.
func NewOptContentV2CardsRecoverPostOKAdditionalErrors(v *ContentV2CardsRecoverPostOKAdditionalErrors) OptContentV2CardsRecoverPostOKAdditionalErrors {
	return OptContentV2CardsRecoverPostOKAdditionalErrors{
		Value: v,
		Set:   true,
	}
}
// OptContentV2CardsRecoverPostOKAdditionalErrors is optional *ContentV2CardsRecoverPostOKAdditionalErrors.
type OptContentV2CardsRecoverPostOKAdditionalErrors struct {
	Value *ContentV2CardsRecoverPostOKAdditionalErrors
	Set   bool
}
// IsSet returns true if OptContentV2CardsRecoverPostOKAdditionalErrors was set.
func (o OptContentV2CardsRecoverPostOKAdditionalErrors) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2CardsRecoverPostOKAdditionalErrors) Reset() {
	var v *ContentV2CardsRecoverPostOKAdditionalErrors
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2CardsRecoverPostOKAdditionalErrors) SetTo(v *ContentV2CardsRecoverPostOKAdditionalErrors) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2CardsRecoverPostOKAdditionalErrors) Get() (v *ContentV2CardsRecoverPostOKAdditionalErrors, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2CardsRecoverPostOKAdditionalErrors) Or(d *ContentV2CardsRecoverPostOKAdditionalErrors) *ContentV2CardsRecoverPostOKAdditionalErrors {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2CardsRecoverPostOKData returns new OptContentV2CardsRecoverPostOKData with value set to v.
func NewOptContentV2CardsRecoverPostOKData(v *ContentV2CardsRecoverPostOKData) OptContentV2CardsRecoverPostOKData {
	return OptContentV2CardsRecoverPostOKData{
		Value: v,
		Set:   true,
	}
}
// OptContentV2CardsRecoverPostOKData is optional *ContentV2CardsRecoverPostOKData.
type OptContentV2CardsRecoverPostOKData struct {
	Value *ContentV2CardsRecoverPostOKData
	Set   bool
}
// IsSet returns true if OptContentV2CardsRecoverPostOKData was set.
func (o OptContentV2CardsRecoverPostOKData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2CardsRecoverPostOKData) Reset() {
	var v *ContentV2CardsRecoverPostOKData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2CardsRecoverPostOKData) SetTo(v *ContentV2CardsRecoverPostOKData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2CardsRecoverPostOKData) Get() (v *ContentV2CardsRecoverPostOKData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2CardsRecoverPostOKData) Or(d *ContentV2CardsRecoverPostOKData) *ContentV2CardsRecoverPostOKData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2CardsUpdatePostReqItemDimensions returns new OptContentV2CardsUpdatePostReqItemDimensions with value set to v.
func NewOptContentV2CardsUpdatePostReqItemDimensions(v ContentV2CardsUpdatePostReqItemDimensions) OptContentV2CardsUpdatePostReqItemDimensions {
	return OptContentV2CardsUpdatePostReqItemDimensions{
		Value: v,
		Set:   true,
	}
}
// OptContentV2CardsUpdatePostReqItemDimensions is optional ContentV2CardsUpdatePostReqItemDimensions.
type OptContentV2CardsUpdatePostReqItemDimensions struct {
	Value ContentV2CardsUpdatePostReqItemDimensions
	Set   bool
}
// IsSet returns true if OptContentV2CardsUpdatePostReqItemDimensions was set.
func (o OptContentV2CardsUpdatePostReqItemDimensions) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2CardsUpdatePostReqItemDimensions) Reset() {
	var v ContentV2CardsUpdatePostReqItemDimensions
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2CardsUpdatePostReqItemDimensions) SetTo(v ContentV2CardsUpdatePostReqItemDimensions) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2CardsUpdatePostReqItemDimensions) Get() (v ContentV2CardsUpdatePostReqItemDimensions, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2CardsUpdatePostReqItemDimensions) Or(d ContentV2CardsUpdatePostReqItemDimensions) ContentV2CardsUpdatePostReqItemDimensions {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2CardsUploadAddPostReq returns new OptContentV2CardsUploadAddPostReq with value set to v.
func NewOptContentV2CardsUploadAddPostReq(v ContentV2CardsUploadAddPostReq) OptContentV2CardsUploadAddPostReq {
	return OptContentV2CardsUploadAddPostReq{
		Value: v,
		Set:   true,
	}
}
// OptContentV2CardsUploadAddPostReq is optional ContentV2CardsUploadAddPostReq.
type OptContentV2CardsUploadAddPostReq struct {
	Value ContentV2CardsUploadAddPostReq
	Set   bool
}
// IsSet returns true if OptContentV2CardsUploadAddPostReq was set.
func (o OptContentV2CardsUploadAddPostReq) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2CardsUploadAddPostReq) Reset() {
	var v ContentV2CardsUploadAddPostReq
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2CardsUploadAddPostReq) SetTo(v ContentV2CardsUploadAddPostReq) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2CardsUploadAddPostReq) Get() (v ContentV2CardsUploadAddPostReq, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2CardsUploadAddPostReq) Or(d ContentV2CardsUploadAddPostReq) ContentV2CardsUploadAddPostReq {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2CardsUploadAddPostReqCardsToAddItemDimensions returns new OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions with value set to v.
func NewOptContentV2CardsUploadAddPostReqCardsToAddItemDimensions(v ContentV2CardsUploadAddPostReqCardsToAddItemDimensions) OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions {
	return OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions{
		Value: v,
		Set:   true,
	}
}
// OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions is optional ContentV2CardsUploadAddPostReqCardsToAddItemDimensions.
type OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions struct {
	Value ContentV2CardsUploadAddPostReqCardsToAddItemDimensions
	Set   bool
}
// IsSet returns true if OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions was set.
func (o OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions) Reset() {
	var v ContentV2CardsUploadAddPostReqCardsToAddItemDimensions
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions) SetTo(v ContentV2CardsUploadAddPostReqCardsToAddItemDimensions) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions) Get() (v ContentV2CardsUploadAddPostReqCardsToAddItemDimensions, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2CardsUploadAddPostReqCardsToAddItemDimensions) Or(d ContentV2CardsUploadAddPostReqCardsToAddItemDimensions) ContentV2CardsUploadAddPostReqCardsToAddItemDimensions {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2CardsUploadPostReqItemVariantsItemDimensions returns new OptContentV2CardsUploadPostReqItemVariantsItemDimensions with value set to v.
func NewOptContentV2CardsUploadPostReqItemVariantsItemDimensions(v ContentV2CardsUploadPostReqItemVariantsItemDimensions) OptContentV2CardsUploadPostReqItemVariantsItemDimensions {
	return OptContentV2CardsUploadPostReqItemVariantsItemDimensions{
		Value: v,
		Set:   true,
	}
}
// OptContentV2CardsUploadPostReqItemVariantsItemDimensions is optional ContentV2CardsUploadPostReqItemVariantsItemDimensions.
type OptContentV2CardsUploadPostReqItemVariantsItemDimensions struct {
	Value ContentV2CardsUploadPostReqItemVariantsItemDimensions
	Set   bool
}
// IsSet returns true if OptContentV2CardsUploadPostReqItemVariantsItemDimensions was set.
func (o OptContentV2CardsUploadPostReqItemVariantsItemDimensions) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2CardsUploadPostReqItemVariantsItemDimensions) Reset() {
	var v ContentV2CardsUploadPostReqItemVariantsItemDimensions
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2CardsUploadPostReqItemVariantsItemDimensions) SetTo(v ContentV2CardsUploadPostReqItemVariantsItemDimensions) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2CardsUploadPostReqItemVariantsItemDimensions) Get() (v ContentV2CardsUploadPostReqItemVariantsItemDimensions, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2CardsUploadPostReqItemVariantsItemDimensions) Or(d ContentV2CardsUploadPostReqItemVariantsItemDimensions) ContentV2CardsUploadPostReqItemVariantsItemDimensions {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsListPostOKCardsItemDimensions returns new OptContentV2GetCardsListPostOKCardsItemDimensions with value set to v.
func NewOptContentV2GetCardsListPostOKCardsItemDimensions(v ContentV2GetCardsListPostOKCardsItemDimensions) OptContentV2GetCardsListPostOKCardsItemDimensions {
	return OptContentV2GetCardsListPostOKCardsItemDimensions{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsListPostOKCardsItemDimensions is optional ContentV2GetCardsListPostOKCardsItemDimensions.
type OptContentV2GetCardsListPostOKCardsItemDimensions struct {
	Value ContentV2GetCardsListPostOKCardsItemDimensions
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsListPostOKCardsItemDimensions was set.
func (o OptContentV2GetCardsListPostOKCardsItemDimensions) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsListPostOKCardsItemDimensions) Reset() {
	var v ContentV2GetCardsListPostOKCardsItemDimensions
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsListPostOKCardsItemDimensions) SetTo(v ContentV2GetCardsListPostOKCardsItemDimensions) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsListPostOKCardsItemDimensions) Get() (v ContentV2GetCardsListPostOKCardsItemDimensions, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsListPostOKCardsItemDimensions) Or(d ContentV2GetCardsListPostOKCardsItemDimensions) ContentV2GetCardsListPostOKCardsItemDimensions {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsListPostOKCursor returns new OptContentV2GetCardsListPostOKCursor with value set to v.
func NewOptContentV2GetCardsListPostOKCursor(v ContentV2GetCardsListPostOKCursor) OptContentV2GetCardsListPostOKCursor {
	return OptContentV2GetCardsListPostOKCursor{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsListPostOKCursor is optional ContentV2GetCardsListPostOKCursor.
type OptContentV2GetCardsListPostOKCursor struct {
	Value ContentV2GetCardsListPostOKCursor
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsListPostOKCursor was set.
func (o OptContentV2GetCardsListPostOKCursor) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsListPostOKCursor) Reset() {
	var v ContentV2GetCardsListPostOKCursor
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsListPostOKCursor) SetTo(v ContentV2GetCardsListPostOKCursor) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsListPostOKCursor) Get() (v ContentV2GetCardsListPostOKCursor, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsListPostOKCursor) Or(d ContentV2GetCardsListPostOKCursor) ContentV2GetCardsListPostOKCursor {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsListPostReqSettings returns new OptContentV2GetCardsListPostReqSettings with value set to v.
func NewOptContentV2GetCardsListPostReqSettings(v ContentV2GetCardsListPostReqSettings) OptContentV2GetCardsListPostReqSettings {
	return OptContentV2GetCardsListPostReqSettings{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsListPostReqSettings is optional ContentV2GetCardsListPostReqSettings.
type OptContentV2GetCardsListPostReqSettings struct {
	Value ContentV2GetCardsListPostReqSettings
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsListPostReqSettings was set.
func (o OptContentV2GetCardsListPostReqSettings) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsListPostReqSettings) Reset() {
	var v ContentV2GetCardsListPostReqSettings
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsListPostReqSettings) SetTo(v ContentV2GetCardsListPostReqSettings) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsListPostReqSettings) Get() (v ContentV2GetCardsListPostReqSettings, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsListPostReqSettings) Or(d ContentV2GetCardsListPostReqSettings) ContentV2GetCardsListPostReqSettings {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsListPostReqSettingsCursor returns new OptContentV2GetCardsListPostReqSettingsCursor with value set to v.
func NewOptContentV2GetCardsListPostReqSettingsCursor(v ContentV2GetCardsListPostReqSettingsCursor) OptContentV2GetCardsListPostReqSettingsCursor {
	return OptContentV2GetCardsListPostReqSettingsCursor{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsListPostReqSettingsCursor is optional ContentV2GetCardsListPostReqSettingsCursor.
type OptContentV2GetCardsListPostReqSettingsCursor struct {
	Value ContentV2GetCardsListPostReqSettingsCursor
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsListPostReqSettingsCursor was set.
func (o OptContentV2GetCardsListPostReqSettingsCursor) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsListPostReqSettingsCursor) Reset() {
	var v ContentV2GetCardsListPostReqSettingsCursor
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsListPostReqSettingsCursor) SetTo(v ContentV2GetCardsListPostReqSettingsCursor) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsListPostReqSettingsCursor) Get() (v ContentV2GetCardsListPostReqSettingsCursor, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsListPostReqSettingsCursor) Or(d ContentV2GetCardsListPostReqSettingsCursor) ContentV2GetCardsListPostReqSettingsCursor {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsListPostReqSettingsFilter returns new OptContentV2GetCardsListPostReqSettingsFilter with value set to v.
func NewOptContentV2GetCardsListPostReqSettingsFilter(v ContentV2GetCardsListPostReqSettingsFilter) OptContentV2GetCardsListPostReqSettingsFilter {
	return OptContentV2GetCardsListPostReqSettingsFilter{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsListPostReqSettingsFilter is optional ContentV2GetCardsListPostReqSettingsFilter.
type OptContentV2GetCardsListPostReqSettingsFilter struct {
	Value ContentV2GetCardsListPostReqSettingsFilter
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsListPostReqSettingsFilter was set.
func (o OptContentV2GetCardsListPostReqSettingsFilter) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsListPostReqSettingsFilter) Reset() {
	var v ContentV2GetCardsListPostReqSettingsFilter
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsListPostReqSettingsFilter) SetTo(v ContentV2GetCardsListPostReqSettingsFilter) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsListPostReqSettingsFilter) Get() (v ContentV2GetCardsListPostReqSettingsFilter, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsListPostReqSettingsFilter) Or(d ContentV2GetCardsListPostReqSettingsFilter) ContentV2GetCardsListPostReqSettingsFilter {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsListPostReqSettingsSort returns new OptContentV2GetCardsListPostReqSettingsSort with value set to v.
func NewOptContentV2GetCardsListPostReqSettingsSort(v ContentV2GetCardsListPostReqSettingsSort) OptContentV2GetCardsListPostReqSettingsSort {
	return OptContentV2GetCardsListPostReqSettingsSort{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsListPostReqSettingsSort is optional ContentV2GetCardsListPostReqSettingsSort.
type OptContentV2GetCardsListPostReqSettingsSort struct {
	Value ContentV2GetCardsListPostReqSettingsSort
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsListPostReqSettingsSort was set.
func (o OptContentV2GetCardsListPostReqSettingsSort) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsListPostReqSettingsSort) Reset() {
	var v ContentV2GetCardsListPostReqSettingsSort
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsListPostReqSettingsSort) SetTo(v ContentV2GetCardsListPostReqSettingsSort) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsListPostReqSettingsSort) Get() (v ContentV2GetCardsListPostReqSettingsSort, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsListPostReqSettingsSort) Or(d ContentV2GetCardsListPostReqSettingsSort) ContentV2GetCardsListPostReqSettingsSort {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsTrashPostLocale returns new OptContentV2GetCardsTrashPostLocale with value set to v.
func NewOptContentV2GetCardsTrashPostLocale(v ContentV2GetCardsTrashPostLocale) OptContentV2GetCardsTrashPostLocale {
	return OptContentV2GetCardsTrashPostLocale{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsTrashPostLocale is optional ContentV2GetCardsTrashPostLocale.
type OptContentV2GetCardsTrashPostLocale struct {
	Value ContentV2GetCardsTrashPostLocale
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsTrashPostLocale was set.
func (o OptContentV2GetCardsTrashPostLocale) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsTrashPostLocale) Reset() {
	var v ContentV2GetCardsTrashPostLocale
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsTrashPostLocale) SetTo(v ContentV2GetCardsTrashPostLocale) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsTrashPostLocale) Get() (v ContentV2GetCardsTrashPostLocale, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsTrashPostLocale) Or(d ContentV2GetCardsTrashPostLocale) ContentV2GetCardsTrashPostLocale {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsTrashPostOKCardsItemDimensions returns new OptContentV2GetCardsTrashPostOKCardsItemDimensions with value set to v.
func NewOptContentV2GetCardsTrashPostOKCardsItemDimensions(v ContentV2GetCardsTrashPostOKCardsItemDimensions) OptContentV2GetCardsTrashPostOKCardsItemDimensions {
	return OptContentV2GetCardsTrashPostOKCardsItemDimensions{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsTrashPostOKCardsItemDimensions is optional ContentV2GetCardsTrashPostOKCardsItemDimensions.
type OptContentV2GetCardsTrashPostOKCardsItemDimensions struct {
	Value ContentV2GetCardsTrashPostOKCardsItemDimensions
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsTrashPostOKCardsItemDimensions was set.
func (o OptContentV2GetCardsTrashPostOKCardsItemDimensions) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsTrashPostOKCardsItemDimensions) Reset() {
	var v ContentV2GetCardsTrashPostOKCardsItemDimensions
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsTrashPostOKCardsItemDimensions) SetTo(v ContentV2GetCardsTrashPostOKCardsItemDimensions) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsTrashPostOKCardsItemDimensions) Get() (v ContentV2GetCardsTrashPostOKCardsItemDimensions, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsTrashPostOKCardsItemDimensions) Or(d ContentV2GetCardsTrashPostOKCardsItemDimensions) ContentV2GetCardsTrashPostOKCardsItemDimensions {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsTrashPostOKCursor returns new OptContentV2GetCardsTrashPostOKCursor with value set to v.
func NewOptContentV2GetCardsTrashPostOKCursor(v ContentV2GetCardsTrashPostOKCursor) OptContentV2GetCardsTrashPostOKCursor {
	return OptContentV2GetCardsTrashPostOKCursor{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsTrashPostOKCursor is optional ContentV2GetCardsTrashPostOKCursor.
type OptContentV2GetCardsTrashPostOKCursor struct {
	Value ContentV2GetCardsTrashPostOKCursor
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsTrashPostOKCursor was set.
func (o OptContentV2GetCardsTrashPostOKCursor) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsTrashPostOKCursor) Reset() {
	var v ContentV2GetCardsTrashPostOKCursor
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsTrashPostOKCursor) SetTo(v ContentV2GetCardsTrashPostOKCursor) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsTrashPostOKCursor) Get() (v ContentV2GetCardsTrashPostOKCursor, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsTrashPostOKCursor) Or(d ContentV2GetCardsTrashPostOKCursor) ContentV2GetCardsTrashPostOKCursor {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsTrashPostReqSettings returns new OptContentV2GetCardsTrashPostReqSettings with value set to v.
func NewOptContentV2GetCardsTrashPostReqSettings(v ContentV2GetCardsTrashPostReqSettings) OptContentV2GetCardsTrashPostReqSettings {
	return OptContentV2GetCardsTrashPostReqSettings{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsTrashPostReqSettings is optional ContentV2GetCardsTrashPostReqSettings.
type OptContentV2GetCardsTrashPostReqSettings struct {
	Value ContentV2GetCardsTrashPostReqSettings
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsTrashPostReqSettings was set.
func (o OptContentV2GetCardsTrashPostReqSettings) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsTrashPostReqSettings) Reset() {
	var v ContentV2GetCardsTrashPostReqSettings
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsTrashPostReqSettings) SetTo(v ContentV2GetCardsTrashPostReqSettings) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsTrashPostReqSettings) Get() (v ContentV2GetCardsTrashPostReqSettings, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsTrashPostReqSettings) Or(d ContentV2GetCardsTrashPostReqSettings) ContentV2GetCardsTrashPostReqSettings {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsTrashPostReqSettingsCursor returns new OptContentV2GetCardsTrashPostReqSettingsCursor with value set to v.
func NewOptContentV2GetCardsTrashPostReqSettingsCursor(v ContentV2GetCardsTrashPostReqSettingsCursor) OptContentV2GetCardsTrashPostReqSettingsCursor {
	return OptContentV2GetCardsTrashPostReqSettingsCursor{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsTrashPostReqSettingsCursor is optional ContentV2GetCardsTrashPostReqSettingsCursor.
type OptContentV2GetCardsTrashPostReqSettingsCursor struct {
	Value ContentV2GetCardsTrashPostReqSettingsCursor
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsTrashPostReqSettingsCursor was set.
func (o OptContentV2GetCardsTrashPostReqSettingsCursor) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsTrashPostReqSettingsCursor) Reset() {
	var v ContentV2GetCardsTrashPostReqSettingsCursor
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsTrashPostReqSettingsCursor) SetTo(v ContentV2GetCardsTrashPostReqSettingsCursor) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsTrashPostReqSettingsCursor) Get() (v ContentV2GetCardsTrashPostReqSettingsCursor, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsTrashPostReqSettingsCursor) Or(d ContentV2GetCardsTrashPostReqSettingsCursor) ContentV2GetCardsTrashPostReqSettingsCursor {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsTrashPostReqSettingsFilter returns new OptContentV2GetCardsTrashPostReqSettingsFilter with value set to v.
func NewOptContentV2GetCardsTrashPostReqSettingsFilter(v ContentV2GetCardsTrashPostReqSettingsFilter) OptContentV2GetCardsTrashPostReqSettingsFilter {
	return OptContentV2GetCardsTrashPostReqSettingsFilter{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsTrashPostReqSettingsFilter is optional ContentV2GetCardsTrashPostReqSettingsFilter.
type OptContentV2GetCardsTrashPostReqSettingsFilter struct {
	Value ContentV2GetCardsTrashPostReqSettingsFilter
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsTrashPostReqSettingsFilter was set.
func (o OptContentV2GetCardsTrashPostReqSettingsFilter) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsTrashPostReqSettingsFilter) Reset() {
	var v ContentV2GetCardsTrashPostReqSettingsFilter
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsTrashPostReqSettingsFilter) SetTo(v ContentV2GetCardsTrashPostReqSettingsFilter) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsTrashPostReqSettingsFilter) Get() (v ContentV2GetCardsTrashPostReqSettingsFilter, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsTrashPostReqSettingsFilter) Or(d ContentV2GetCardsTrashPostReqSettingsFilter) ContentV2GetCardsTrashPostReqSettingsFilter {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV2GetCardsTrashPostReqSettingsSort returns new OptContentV2GetCardsTrashPostReqSettingsSort with value set to v.
func NewOptContentV2GetCardsTrashPostReqSettingsSort(v ContentV2GetCardsTrashPostReqSettingsSort) OptContentV2GetCardsTrashPostReqSettingsSort {
	return OptContentV2GetCardsTrashPostReqSettingsSort{
		Value: v,
		Set:   true,
	}
}
// OptContentV2GetCardsTrashPostReqSettingsSort is optional ContentV2GetCardsTrashPostReqSettingsSort.
type OptContentV2GetCardsTrashPostReqSettingsSort struct {
	Value ContentV2GetCardsTrashPostReqSettingsSort
	Set   bool
}
// IsSet returns true if OptContentV2GetCardsTrashPostReqSettingsSort was set.
func (o OptContentV2GetCardsTrashPostReqSettingsSort) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV2GetCardsTrashPostReqSettingsSort) Reset() {
	var v ContentV2GetCardsTrashPostReqSettingsSort
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV2GetCardsTrashPostReqSettingsSort) SetTo(v ContentV2GetCardsTrashPostReqSettingsSort) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV2GetCardsTrashPostReqSettingsSort) Get() (v ContentV2GetCardsTrashPostReqSettingsSort, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV2GetCardsTrashPostReqSettingsSort) Or(d ContentV2GetCardsTrashPostReqSettingsSort) ContentV2GetCardsTrashPostReqSettingsSort {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV3MediaFilePostOKAdditionalErrors returns new OptContentV3MediaFilePostOKAdditionalErrors with value set to v.
func NewOptContentV3MediaFilePostOKAdditionalErrors(v *ContentV3MediaFilePostOKAdditionalErrors) OptContentV3MediaFilePostOKAdditionalErrors {
	return OptContentV3MediaFilePostOKAdditionalErrors{
		Value: v,
		Set:   true,
	}
}
// OptContentV3MediaFilePostOKAdditionalErrors is optional *ContentV3MediaFilePostOKAdditionalErrors.
type OptContentV3MediaFilePostOKAdditionalErrors struct {
	Value *ContentV3MediaFilePostOKAdditionalErrors
	Set   bool
}
// IsSet returns true if OptContentV3MediaFilePostOKAdditionalErrors was set.
func (o OptContentV3MediaFilePostOKAdditionalErrors) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV3MediaFilePostOKAdditionalErrors) Reset() {
	var v *ContentV3MediaFilePostOKAdditionalErrors
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV3MediaFilePostOKAdditionalErrors) SetTo(v *ContentV3MediaFilePostOKAdditionalErrors) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV3MediaFilePostOKAdditionalErrors) Get() (v *ContentV3MediaFilePostOKAdditionalErrors, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV3MediaFilePostOKAdditionalErrors) Or(d *ContentV3MediaFilePostOKAdditionalErrors) *ContentV3MediaFilePostOKAdditionalErrors {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptContentV3MediaSavePostOKAdditionalErrors returns new OptContentV3MediaSavePostOKAdditionalErrors with value set to v.
func NewOptContentV3MediaSavePostOKAdditionalErrors(v *ContentV3MediaSavePostOKAdditionalErrors) OptContentV3MediaSavePostOKAdditionalErrors {
	return OptContentV3MediaSavePostOKAdditionalErrors{
		Value: v,
		Set:   true,
	}
}
// OptContentV3MediaSavePostOKAdditionalErrors is optional *ContentV3MediaSavePostOKAdditionalErrors.
type OptContentV3MediaSavePostOKAdditionalErrors struct {
	Value *ContentV3MediaSavePostOKAdditionalErrors
	Set   bool
}
// IsSet returns true if OptContentV3MediaSavePostOKAdditionalErrors was set.
func (o OptContentV3MediaSavePostOKAdditionalErrors) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptContentV3MediaSavePostOKAdditionalErrors) Reset() {
	var v *ContentV3MediaSavePostOKAdditionalErrors
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptContentV3MediaSavePostOKAdditionalErrors) SetTo(v *ContentV3MediaSavePostOKAdditionalErrors) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptContentV3MediaSavePostOKAdditionalErrors) Get() (v *ContentV3MediaSavePostOKAdditionalErrors, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptContentV3MediaSavePostOKAdditionalErrors) Or(d *ContentV3MediaSavePostOKAdditionalErrors) *ContentV3MediaSavePostOKAdditionalErrors {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptDateTime returns new OptDateTime with value set to v.
func NewOptDateTime(v time.Time) OptDateTime {
	return OptDateTime{
		Value: v,
		Set:   true,
	}
}
// OptDateTime is optional time.Time.
type OptDateTime struct {
	Value time.Time
	Set   bool
}
// IsSet returns true if OptDateTime was set.
func (o OptDateTime) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptDateTime) Reset() {
	var v time.Time
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptDateTime) SetTo(v time.Time) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptDateTime) Get() (v time.Time, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptDateTime) Or(d time.Time) time.Time {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptErrorData returns new OptErrorData with value set to v.
func NewOptErrorData(v *ErrorData) OptErrorData {
	return OptErrorData{
		Value: v,
		Set:   true,
	}
}
// OptErrorData is optional *ErrorData.
type OptErrorData struct {
	Value *ErrorData
	Set   bool
}
// IsSet returns true if OptErrorData was set.
func (o OptErrorData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptErrorData) Reset() {
	var v *ErrorData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptErrorData) SetTo(v *ErrorData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptErrorData) Get() (v *ErrorData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptErrorData) Or(d *ErrorData) *ErrorData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptFloat32 returns new OptFloat32 with value set to v.
func NewOptFloat32(v float32) OptFloat32 {
	return OptFloat32{
		Value: v,
		Set:   true,
	}
}
// OptFloat32 is optional float32.
type OptFloat32 struct {
	Value float32
	Set   bool
}
// IsSet returns true if OptFloat32 was set.
func (o OptFloat32) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptFloat32) Reset() {
	var v float32
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptFloat32) SetTo(v float32) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptFloat32) Get() (v float32, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptFloat32) Or(d float32) float32 {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptFloat64 returns new OptFloat64 with value set to v.
func NewOptFloat64(v float64) OptFloat64 {
	return OptFloat64{
		Value: v,
		Set:   true,
	}
}
// OptFloat64 is optional float64.
type OptFloat64 struct {
	Value float64
	Set   bool
}
// IsSet returns true if OptFloat64 was set.
func (o OptFloat64) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptFloat64) Reset() {
	var v float64
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptFloat64) SetTo(v float64) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptFloat64) Get() (v float64, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptFloat64) Or(d float64) float64 {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptGoodStatus returns new OptGoodStatus with value set to v.
func NewOptGoodStatus(v GoodStatus) OptGoodStatus {
	return OptGoodStatus{
		Value: v,
		Set:   true,
	}
}
// OptGoodStatus is optional GoodStatus.
type OptGoodStatus struct {
	Value GoodStatus
	Set   bool
}
// IsSet returns true if OptGoodStatus was set.
func (o OptGoodStatus) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptGoodStatus) Reset() {
	var v GoodStatus
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptGoodStatus) SetTo(v GoodStatus) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptGoodStatus) Get() (v GoodStatus, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptGoodStatus) Or(d GoodStatus) GoodStatus {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptGoodStatusBuffer returns new OptGoodStatusBuffer with value set to v.
func NewOptGoodStatusBuffer(v GoodStatusBuffer) OptGoodStatusBuffer {
	return OptGoodStatusBuffer{
		Value: v,
		Set:   true,
	}
}
// OptGoodStatusBuffer is optional GoodStatusBuffer.
type OptGoodStatusBuffer struct {
	Value GoodStatusBuffer
	Set   bool
}
// IsSet returns true if OptGoodStatusBuffer was set.
func (o OptGoodStatusBuffer) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptGoodStatusBuffer) Reset() {
	var v GoodStatusBuffer
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptGoodStatusBuffer) SetTo(v GoodStatusBuffer) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptGoodStatusBuffer) Get() (v GoodStatusBuffer, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptGoodStatusBuffer) Or(d GoodStatusBuffer) GoodStatusBuffer {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptInt returns new OptInt with value set to v.
func NewOptInt(v int) OptInt {
	return OptInt{
		Value: v,
		Set:   true,
	}
}
// OptInt is optional int.
type OptInt struct {
	Value int
	Set   bool
}
// IsSet returns true if OptInt was set.
func (o OptInt) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptInt) Reset() {
	var v int
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptInt) SetTo(v int) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptInt) Get() (v int, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptInt) Or(d int) int {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptInt64 returns new OptInt64 with value set to v.
func NewOptInt64(v int64) OptInt64 {
	return OptInt64{
		Value: v,
		Set:   true,
	}
}
// OptInt64 is optional int64.
type OptInt64 struct {
	Value int64
	Set   bool
}
// IsSet returns true if OptInt64 was set.
func (o OptInt64) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptInt64) Reset() {
	var v int64
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptInt64) SetTo(v int64) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptInt64) Get() (v int64, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptInt64) Or(d int64) int64 {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptMediaErrorsAdditionalErrors returns new OptMediaErrorsAdditionalErrors with value set to v.
func NewOptMediaErrorsAdditionalErrors(v *MediaErrorsAdditionalErrors) OptMediaErrorsAdditionalErrors {
	return OptMediaErrorsAdditionalErrors{
		Value: v,
		Set:   true,
	}
}
// OptMediaErrorsAdditionalErrors is optional *MediaErrorsAdditionalErrors.
type OptMediaErrorsAdditionalErrors struct {
	Value *MediaErrorsAdditionalErrors
	Set   bool
}
// IsSet returns true if OptMediaErrorsAdditionalErrors was set.
func (o OptMediaErrorsAdditionalErrors) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptMediaErrorsAdditionalErrors) Reset() {
	var v *MediaErrorsAdditionalErrors
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptMediaErrorsAdditionalErrors) SetTo(v *MediaErrorsAdditionalErrors) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptMediaErrorsAdditionalErrors) Get() (v *MediaErrorsAdditionalErrors, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptMediaErrorsAdditionalErrors) Or(d *MediaErrorsAdditionalErrors) *MediaErrorsAdditionalErrors {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptMultipartFile returns new OptMultipartFile with value set to v.
func NewOptMultipartFile(v ht.MultipartFile) OptMultipartFile {
	return OptMultipartFile{
		Value: v,
		Set:   true,
	}
}
// OptMultipartFile is optional ht.MultipartFile.
type OptMultipartFile struct {
	Value ht.MultipartFile
	Set   bool
}
// IsSet returns true if OptMultipartFile was set.
func (o OptMultipartFile) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptMultipartFile) Reset() {
	var v ht.MultipartFile
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptMultipartFile) SetTo(v ht.MultipartFile) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptMultipartFile) Get() (v ht.MultipartFile, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptMultipartFile) Or(d ht.MultipartFile) ht.MultipartFile {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptNilInt returns new OptNilInt with value set to v.
func NewOptNilInt(v int) OptNilInt {
	return OptNilInt{
		Value: v,
		Set:   true,
	}
}
// OptNilInt is optional nullable int.
type OptNilInt struct {
	Value int
	Set   bool
	Null  bool
}
// IsSet returns true if OptNilInt was set.
func (o OptNilInt) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptNilInt) Reset() {
	var v int
	o.Value = v
	o.Set = false
	o.Null = false
}
// SetTo sets value to v.
func (o *OptNilInt) SetTo(v int) {
	o.Set = true
	o.Null = false
	o.Value = v
}
// IsNull returns true if value is Null.
func (o OptNilInt) IsNull() bool { return o.Null }
// SetToNull sets value to null.
func (o *OptNilInt) SetToNull() {
	o.Set = true
	o.Null = true
	var v int
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptNilInt) Get() (v int, ok bool) {
	if o.Null {
		return v, false
	}
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptNilInt) Or(d int) int {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptNilResponseBodyContentError400AdditionalErrors returns new OptNilResponseBodyContentError400AdditionalErrors with value set to v.
func NewOptNilResponseBodyContentError400AdditionalErrors(v ResponseBodyContentError400AdditionalErrors) OptNilResponseBodyContentError400AdditionalErrors {
	return OptNilResponseBodyContentError400AdditionalErrors{
		Value: v,
		Set:   true,
	}
}
// OptNilResponseBodyContentError400AdditionalErrors is optional nullable ResponseBodyContentError400AdditionalErrors.
type OptNilResponseBodyContentError400AdditionalErrors struct {
	Value ResponseBodyContentError400AdditionalErrors
	Set   bool
	Null  bool
}
// IsSet returns true if OptNilResponseBodyContentError400AdditionalErrors was set.
func (o OptNilResponseBodyContentError400AdditionalErrors) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptNilResponseBodyContentError400AdditionalErrors) Reset() {
	var v ResponseBodyContentError400AdditionalErrors
	o.Value = v
	o.Set = false
	o.Null = false
}
// SetTo sets value to v.
func (o *OptNilResponseBodyContentError400AdditionalErrors) SetTo(v ResponseBodyContentError400AdditionalErrors) {
	o.Set = true
	o.Null = false
	o.Value = v
}
// IsNull returns true if value is Null.
func (o OptNilResponseBodyContentError400AdditionalErrors) IsNull() bool { return o.Null }
// SetToNull sets value to null.
func (o *OptNilResponseBodyContentError400AdditionalErrors) SetToNull() {
	o.Set = true
	o.Null = true
	var v ResponseBodyContentError400AdditionalErrors
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptNilResponseBodyContentError400AdditionalErrors) Get() (v ResponseBodyContentError400AdditionalErrors, ok bool) {
	if o.Null {
		return v, false
	}
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptNilResponseBodyContentError400AdditionalErrors) Or(d ResponseBodyContentError400AdditionalErrors) ResponseBodyContentError400AdditionalErrors {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptNilResponseContentError4AdditionalErrors returns new OptNilResponseContentError4AdditionalErrors with value set to v.
func NewOptNilResponseContentError4AdditionalErrors(v ResponseContentError4AdditionalErrors) OptNilResponseContentError4AdditionalErrors {
	return OptNilResponseContentError4AdditionalErrors{
		Value: v,
		Set:   true,
	}
}
// OptNilResponseContentError4AdditionalErrors is optional nullable ResponseContentError4AdditionalErrors.
type OptNilResponseContentError4AdditionalErrors struct {
	Value ResponseContentError4AdditionalErrors
	Set   bool
	Null  bool
}
// IsSet returns true if OptNilResponseContentError4AdditionalErrors was set.
func (o OptNilResponseContentError4AdditionalErrors) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptNilResponseContentError4AdditionalErrors) Reset() {
	var v ResponseContentError4AdditionalErrors
	o.Value = v
	o.Set = false
	o.Null = false
}
// SetTo sets value to v.
func (o *OptNilResponseContentError4AdditionalErrors) SetTo(v ResponseContentError4AdditionalErrors) {
	o.Set = true
	o.Null = false
	o.Value = v
}
// IsNull returns true if value is Null.
func (o OptNilResponseContentError4AdditionalErrors) IsNull() bool { return o.Null }
// SetToNull sets value to null.
func (o *OptNilResponseContentError4AdditionalErrors) SetToNull() {
	o.Set = true
	o.Null = true
	var v ResponseContentError4AdditionalErrors
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptNilResponseContentError4AdditionalErrors) Get() (v ResponseContentError4AdditionalErrors, ok bool) {
	if o.Null {
		return v, false
	}
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptNilResponseContentError4AdditionalErrors) Or(d ResponseContentError4AdditionalErrors) ResponseContentError4AdditionalErrors {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptNilResponseQuarantineGoodsData returns new OptNilResponseQuarantineGoodsData with value set to v.
func NewOptNilResponseQuarantineGoodsData(v ResponseQuarantineGoodsData) OptNilResponseQuarantineGoodsData {
	return OptNilResponseQuarantineGoodsData{
		Value: v,
		Set:   true,
	}
}
// OptNilResponseQuarantineGoodsData is optional nullable ResponseQuarantineGoodsData.
type OptNilResponseQuarantineGoodsData struct {
	Value ResponseQuarantineGoodsData
	Set   bool
	Null  bool
}
// IsSet returns true if OptNilResponseQuarantineGoodsData was set.
func (o OptNilResponseQuarantineGoodsData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptNilResponseQuarantineGoodsData) Reset() {
	var v ResponseQuarantineGoodsData
	o.Value = v
	o.Set = false
	o.Null = false
}
// SetTo sets value to v.
func (o *OptNilResponseQuarantineGoodsData) SetTo(v ResponseQuarantineGoodsData) {
	o.Set = true
	o.Null = false
	o.Value = v
}
// IsNull returns true if value is Null.
func (o OptNilResponseQuarantineGoodsData) IsNull() bool { return o.Null }
// SetToNull sets value to null.
func (o *OptNilResponseQuarantineGoodsData) SetToNull() {
	o.Set = true
	o.Null = true
	var v ResponseQuarantineGoodsData
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptNilResponseQuarantineGoodsData) Get() (v ResponseQuarantineGoodsData, ok bool) {
	if o.Null {
		return v, false
	}
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptNilResponseQuarantineGoodsData) Or(d ResponseQuarantineGoodsData) ResponseQuarantineGoodsData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptNilString returns new OptNilString with value set to v.
func NewOptNilString(v string) OptNilString {
	return OptNilString{
		Value: v,
		Set:   true,
	}
}
// OptNilString is optional nullable string.
type OptNilString struct {
	Value string
	Set   bool
	Null  bool
}
// IsSet returns true if OptNilString was set.
func (o OptNilString) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptNilString) Reset() {
	var v string
	o.Value = v
	o.Set = false
	o.Null = false
}
// SetTo sets value to v.
func (o *OptNilString) SetTo(v string) {
	o.Set = true
	o.Null = false
	o.Value = v
}
// IsNull returns true if value is Null.
func (o OptNilString) IsNull() bool { return o.Null }
// SetToNull sets value to null.
func (o *OptNilString) SetToNull() {
	o.Set = true
	o.Null = true
	var v string
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptNilString) Get() (v string, ok bool) {
	if o.Null {
		return v, false
	}
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptNilString) Or(d string) string {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptOfficeCargoType returns new OptOfficeCargoType with value set to v.
func NewOptOfficeCargoType(v OfficeCargoType) OptOfficeCargoType {
	return OptOfficeCargoType{
		Value: v,
		Set:   true,
	}
}
// OptOfficeCargoType is optional OfficeCargoType.
type OptOfficeCargoType struct {
	Value OfficeCargoType
	Set   bool
}
// IsSet returns true if OptOfficeCargoType was set.
func (o OptOfficeCargoType) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptOfficeCargoType) Reset() {
	var v OfficeCargoType
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptOfficeCargoType) SetTo(v OfficeCargoType) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptOfficeCargoType) Get() (v OfficeCargoType, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptOfficeCargoType) Or(d OfficeCargoType) OfficeCargoType {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptOfficeDeliveryType returns new OptOfficeDeliveryType with value set to v.
func NewOptOfficeDeliveryType(v OfficeDeliveryType) OptOfficeDeliveryType {
	return OptOfficeDeliveryType{
		Value: v,
		Set:   true,
	}
}
// OptOfficeDeliveryType is optional OfficeDeliveryType.
type OptOfficeDeliveryType struct {
	Value OfficeDeliveryType
	Set   bool
}
// IsSet returns true if OptOfficeDeliveryType was set.
func (o OptOfficeDeliveryType) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptOfficeDeliveryType) Reset() {
	var v OfficeDeliveryType
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptOfficeDeliveryType) SetTo(v OfficeDeliveryType) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptOfficeDeliveryType) Get() (v OfficeDeliveryType, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptOfficeDeliveryType) Or(d OfficeDeliveryType) OfficeDeliveryType {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptRequestAlreadyExistsErrorData returns new OptRequestAlreadyExistsErrorData with value set to v.
func NewOptRequestAlreadyExistsErrorData(v RequestAlreadyExistsErrorData) OptRequestAlreadyExistsErrorData {
	return OptRequestAlreadyExistsErrorData{
		Value: v,
		Set:   true,
	}
}
// OptRequestAlreadyExistsErrorData is optional RequestAlreadyExistsErrorData.
type OptRequestAlreadyExistsErrorData struct {
	Value RequestAlreadyExistsErrorData
	Set   bool
}
// IsSet returns true if OptRequestAlreadyExistsErrorData was set.
func (o OptRequestAlreadyExistsErrorData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptRequestAlreadyExistsErrorData) Reset() {
	var v RequestAlreadyExistsErrorData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptRequestAlreadyExistsErrorData) SetTo(v RequestAlreadyExistsErrorData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptRequestAlreadyExistsErrorData) Get() (v RequestAlreadyExistsErrorData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptRequestAlreadyExistsErrorData) Or(d RequestAlreadyExistsErrorData) RequestAlreadyExistsErrorData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptResponseBodyContentError400Data returns new OptResponseBodyContentError400Data with value set to v.
func NewOptResponseBodyContentError400Data(v *ResponseBodyContentError400Data) OptResponseBodyContentError400Data {
	return OptResponseBodyContentError400Data{
		Value: v,
		Set:   true,
	}
}
// OptResponseBodyContentError400Data is optional *ResponseBodyContentError400Data.
type OptResponseBodyContentError400Data struct {
	Value *ResponseBodyContentError400Data
	Set   bool
}
// IsSet returns true if OptResponseBodyContentError400Data was set.
func (o OptResponseBodyContentError400Data) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptResponseBodyContentError400Data) Reset() {
	var v *ResponseBodyContentError400Data
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptResponseBodyContentError400Data) SetTo(v *ResponseBodyContentError400Data) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptResponseBodyContentError400Data) Get() (v *ResponseBodyContentError400Data, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptResponseBodyContentError400Data) Or(d *ResponseBodyContentError400Data) *ResponseBodyContentError400Data {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptResponseBodyContentError403Data returns new OptResponseBodyContentError403Data with value set to v.
func NewOptResponseBodyContentError403Data(v *ResponseBodyContentError403Data) OptResponseBodyContentError403Data {
	return OptResponseBodyContentError403Data{
		Value: v,
		Set:   true,
	}
}
// OptResponseBodyContentError403Data is optional *ResponseBodyContentError403Data.
type OptResponseBodyContentError403Data struct {
	Value *ResponseBodyContentError403Data
	Set   bool
}
// IsSet returns true if OptResponseBodyContentError403Data was set.
func (o OptResponseBodyContentError403Data) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptResponseBodyContentError403Data) Reset() {
	var v *ResponseBodyContentError403Data
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptResponseBodyContentError403Data) SetTo(v *ResponseBodyContentError403Data) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptResponseBodyContentError403Data) Get() (v *ResponseBodyContentError403Data, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptResponseBodyContentError403Data) Or(d *ResponseBodyContentError403Data) *ResponseBodyContentError403Data {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptResponseCardCreateAdditionalErrors returns new OptResponseCardCreateAdditionalErrors with value set to v.
func NewOptResponseCardCreateAdditionalErrors(v ResponseCardCreateAdditionalErrors) OptResponseCardCreateAdditionalErrors {
	return OptResponseCardCreateAdditionalErrors{
		Value: v,
		Set:   true,
	}
}
// OptResponseCardCreateAdditionalErrors is optional ResponseCardCreateAdditionalErrors.
type OptResponseCardCreateAdditionalErrors struct {
	Value ResponseCardCreateAdditionalErrors
	Set   bool
}
// IsSet returns true if OptResponseCardCreateAdditionalErrors was set.
func (o OptResponseCardCreateAdditionalErrors) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptResponseCardCreateAdditionalErrors) Reset() {
	var v ResponseCardCreateAdditionalErrors
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptResponseCardCreateAdditionalErrors) SetTo(v ResponseCardCreateAdditionalErrors) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptResponseCardCreateAdditionalErrors) Get() (v ResponseCardCreateAdditionalErrors, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptResponseCardCreateAdditionalErrors) Or(d ResponseCardCreateAdditionalErrors) ResponseCardCreateAdditionalErrors {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptResponseCardCreateData returns new OptResponseCardCreateData with value set to v.
func NewOptResponseCardCreateData(v *ResponseCardCreateData) OptResponseCardCreateData {
	return OptResponseCardCreateData{
		Value: v,
		Set:   true,
	}
}
// OptResponseCardCreateData is optional *ResponseCardCreateData.
type OptResponseCardCreateData struct {
	Value *ResponseCardCreateData
	Set   bool
}
// IsSet returns true if OptResponseCardCreateData was set.
func (o OptResponseCardCreateData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptResponseCardCreateData) Reset() {
	var v *ResponseCardCreateData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptResponseCardCreateData) SetTo(v *ResponseCardCreateData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptResponseCardCreateData) Get() (v *ResponseCardCreateData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptResponseCardCreateData) Or(d *ResponseCardCreateData) *ResponseCardCreateData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptResponseContentError4Data returns new OptResponseContentError4Data with value set to v.
func NewOptResponseContentError4Data(v *ResponseContentError4Data) OptResponseContentError4Data {
	return OptResponseContentError4Data{
		Value: v,
		Set:   true,
	}
}
// OptResponseContentError4Data is optional *ResponseContentError4Data.
type OptResponseContentError4Data struct {
	Value *ResponseContentError4Data
	Set   bool
}
// IsSet returns true if OptResponseContentError4Data was set.
func (o OptResponseContentError4Data) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptResponseContentError4Data) Reset() {
	var v *ResponseContentError4Data
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptResponseContentError4Data) SetTo(v *ResponseContentError4Data) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptResponseContentError4Data) Get() (v *ResponseContentError4Data, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptResponseContentError4Data) Or(d *ResponseContentError4Data) *ResponseContentError4Data {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptResponseContentError6Data returns new OptResponseContentError6Data with value set to v.
func NewOptResponseContentError6Data(v *ResponseContentError6Data) OptResponseContentError6Data {
	return OptResponseContentError6Data{
		Value: v,
		Set:   true,
	}
}
// OptResponseContentError6Data is optional *ResponseContentError6Data.
type OptResponseContentError6Data struct {
	Value *ResponseContentError6Data
	Set   bool
}
// IsSet returns true if OptResponseContentError6Data was set.
func (o OptResponseContentError6Data) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptResponseContentError6Data) Reset() {
	var v *ResponseContentError6Data
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptResponseContentError6Data) SetTo(v *ResponseContentError6Data) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptResponseContentError6Data) Get() (v *ResponseContentError6Data, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptResponseContentError6Data) Or(d *ResponseContentError6Data) *ResponseContentError6Data {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptResponseErrorData returns new OptResponseErrorData with value set to v.
func NewOptResponseErrorData(v *ResponseErrorData) OptResponseErrorData {
	return OptResponseErrorData{
		Value: v,
		Set:   true,
	}
}
// OptResponseErrorData is optional *ResponseErrorData.
type OptResponseErrorData struct {
	Value *ResponseErrorData
	Set   bool
}
// IsSet returns true if OptResponseErrorData was set.
func (o OptResponseErrorData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptResponseErrorData) Reset() {
	var v *ResponseErrorData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptResponseErrorData) SetTo(v *ResponseErrorData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptResponseErrorData) Get() (v *ResponseErrorData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptResponseErrorData) Or(d *ResponseErrorData) *ResponseErrorData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptResponseGoodBufferHistoriesData returns new OptResponseGoodBufferHistoriesData with value set to v.
func NewOptResponseGoodBufferHistoriesData(v ResponseGoodBufferHistoriesData) OptResponseGoodBufferHistoriesData {
	return OptResponseGoodBufferHistoriesData{
		Value: v,
		Set:   true,
	}
}
// OptResponseGoodBufferHistoriesData is optional ResponseGoodBufferHistoriesData.
type OptResponseGoodBufferHistoriesData struct {
	Value ResponseGoodBufferHistoriesData
	Set   bool
}
// IsSet returns true if OptResponseGoodBufferHistoriesData was set.
func (o OptResponseGoodBufferHistoriesData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptResponseGoodBufferHistoriesData) Reset() {
	var v ResponseGoodBufferHistoriesData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptResponseGoodBufferHistoriesData) SetTo(v ResponseGoodBufferHistoriesData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptResponseGoodBufferHistoriesData) Get() (v ResponseGoodBufferHistoriesData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptResponseGoodBufferHistoriesData) Or(d ResponseGoodBufferHistoriesData) ResponseGoodBufferHistoriesData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptResponseGoodHistoriesData returns new OptResponseGoodHistoriesData with value set to v.
func NewOptResponseGoodHistoriesData(v ResponseGoodHistoriesData) OptResponseGoodHistoriesData {
	return OptResponseGoodHistoriesData{
		Value: v,
		Set:   true,
	}
}
// OptResponseGoodHistoriesData is optional ResponseGoodHistoriesData.
type OptResponseGoodHistoriesData struct {
	Value ResponseGoodHistoriesData
	Set   bool
}
// IsSet returns true if OptResponseGoodHistoriesData was set.
func (o OptResponseGoodHistoriesData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptResponseGoodHistoriesData) Reset() {
	var v ResponseGoodHistoriesData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptResponseGoodHistoriesData) SetTo(v ResponseGoodHistoriesData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptResponseGoodHistoriesData) Get() (v ResponseGoodHistoriesData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptResponseGoodHistoriesData) Or(d ResponseGoodHistoriesData) ResponseGoodHistoriesData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptResponseGoodsListsData returns new OptResponseGoodsListsData with value set to v.
func NewOptResponseGoodsListsData(v ResponseGoodsListsData) OptResponseGoodsListsData {
	return OptResponseGoodsListsData{
		Value: v,
		Set:   true,
	}
}
// OptResponseGoodsListsData is optional ResponseGoodsListsData.
type OptResponseGoodsListsData struct {
	Value ResponseGoodsListsData
	Set   bool
}
// IsSet returns true if OptResponseGoodsListsData was set.
func (o OptResponseGoodsListsData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptResponseGoodsListsData) Reset() {
	var v ResponseGoodsListsData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptResponseGoodsListsData) SetTo(v ResponseGoodsListsData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptResponseGoodsListsData) Get() (v ResponseGoodsListsData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptResponseGoodsListsData) Or(d ResponseGoodsListsData) ResponseGoodsListsData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptResponseSizeListsData returns new OptResponseSizeListsData with value set to v.
func NewOptResponseSizeListsData(v ResponseSizeListsData) OptResponseSizeListsData {
	return OptResponseSizeListsData{
		Value: v,
		Set:   true,
	}
}
// OptResponseSizeListsData is optional ResponseSizeListsData.
type OptResponseSizeListsData struct {
	Value ResponseSizeListsData
	Set   bool
}
// IsSet returns true if OptResponseSizeListsData was set.
func (o OptResponseSizeListsData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptResponseSizeListsData) Reset() {
	var v ResponseSizeListsData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptResponseSizeListsData) SetTo(v ResponseSizeListsData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptResponseSizeListsData) Get() (v ResponseSizeListsData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptResponseSizeListsData) Or(d ResponseSizeListsData) ResponseSizeListsData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptStocksWarehouseErrorItemData returns new OptStocksWarehouseErrorItemData with value set to v.
func NewOptStocksWarehouseErrorItemData(v *StocksWarehouseErrorItemData) OptStocksWarehouseErrorItemData {
	return OptStocksWarehouseErrorItemData{
		Value: v,
		Set:   true,
	}
}
// OptStocksWarehouseErrorItemData is optional *StocksWarehouseErrorItemData.
type OptStocksWarehouseErrorItemData struct {
	Value *StocksWarehouseErrorItemData
	Set   bool
}
// IsSet returns true if OptStocksWarehouseErrorItemData was set.
func (o OptStocksWarehouseErrorItemData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptStocksWarehouseErrorItemData) Reset() {
	var v *StocksWarehouseErrorItemData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptStocksWarehouseErrorItemData) SetTo(v *StocksWarehouseErrorItemData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptStocksWarehouseErrorItemData) Get() (v *StocksWarehouseErrorItemData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptStocksWarehouseErrorItemData) Or(d *StocksWarehouseErrorItemData) *StocksWarehouseErrorItemData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptString returns new OptString with value set to v.
func NewOptString(v string) OptString {
	return OptString{
		Value: v,
		Set:   true,
	}
}
// OptString is optional string.
type OptString struct {
	Value string
	Set   bool
}
// IsSet returns true if OptString was set.
func (o OptString) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptString) Reset() {
	var v string
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptString) SetTo(v string) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptString) Get() (v string, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptString) Or(d string) string {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptTaskCreatedData returns new OptTaskCreatedData with value set to v.
func NewOptTaskCreatedData(v TaskCreatedData) OptTaskCreatedData {
	return OptTaskCreatedData{
		Value: v,
		Set:   true,
	}
}
// OptTaskCreatedData is optional TaskCreatedData.
type OptTaskCreatedData struct {
	Value TaskCreatedData
	Set   bool
}
// IsSet returns true if OptTaskCreatedData was set.
func (o OptTaskCreatedData) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptTaskCreatedData) Reset() {
	var v TaskCreatedData
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptTaskCreatedData) SetTo(v TaskCreatedData) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptTaskCreatedData) Get() (v TaskCreatedData, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptTaskCreatedData) Or(d TaskCreatedData) TaskCreatedData {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptUUID returns new OptUUID with value set to v.
func NewOptUUID(v uuid.UUID) OptUUID {
	return OptUUID{
		Value: v,
		Set:   true,
	}
}
// OptUUID is optional uuid.UUID.
type OptUUID struct {
	Value uuid.UUID
	Set   bool
}
// IsSet returns true if OptUUID was set.
func (o OptUUID) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptUUID) Reset() {
	var v uuid.UUID
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptUUID) SetTo(v uuid.UUID) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptUUID) Get() (v uuid.UUID, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptUUID) Or(d uuid.UUID) uuid.UUID {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptUint returns new OptUint with value set to v.
func NewOptUint(v uint) OptUint {
	return OptUint{
		Value: v,
		Set:   true,
	}
}
// OptUint is optional uint.
type OptUint struct {
	Value uint
	Set   bool
}
// IsSet returns true if OptUint was set.
func (o OptUint) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptUint) Reset() {
	var v uint
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptUint) SetTo(v uint) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptUint) Get() (v uint, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptUint) Or(d uint) uint {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptWarehouseCargoType returns new OptWarehouseCargoType with value set to v.
func NewOptWarehouseCargoType(v WarehouseCargoType) OptWarehouseCargoType {
	return OptWarehouseCargoType{
		Value: v,
		Set:   true,
	}
}
// OptWarehouseCargoType is optional WarehouseCargoType.
type OptWarehouseCargoType struct {
	Value WarehouseCargoType
	Set   bool
}
// IsSet returns true if OptWarehouseCargoType was set.
func (o OptWarehouseCargoType) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptWarehouseCargoType) Reset() {
	var v WarehouseCargoType
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptWarehouseCargoType) SetTo(v WarehouseCargoType) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptWarehouseCargoType) Get() (v WarehouseCargoType, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptWarehouseCargoType) Or(d WarehouseCargoType) WarehouseCargoType {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// NewOptWarehouseDeliveryType returns new OptWarehouseDeliveryType with value set to v.
func NewOptWarehouseDeliveryType(v WarehouseDeliveryType) OptWarehouseDeliveryType {
	return OptWarehouseDeliveryType{
		Value: v,
		Set:   true,
	}
}
// OptWarehouseDeliveryType is optional WarehouseDeliveryType.
type OptWarehouseDeliveryType struct {
	Value WarehouseDeliveryType
	Set   bool
}
// IsSet returns true if OptWarehouseDeliveryType was set.
func (o OptWarehouseDeliveryType) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptWarehouseDeliveryType) Reset() {
	var v WarehouseDeliveryType
	o.Value = v
	o.Set = false
}
// SetTo sets value to v.
func (o *OptWarehouseDeliveryType) SetTo(v WarehouseDeliveryType) {
	o.Set = true
	o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptWarehouseDeliveryType) Get() (v WarehouseDeliveryType, ok bool) {
	if !o.Set {
		return v, false
	}
	return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptWarehouseDeliveryType) Or(d WarehouseDeliveryType) WarehouseDeliveryType {
	if v, ok := o.Get(); ok {
		return v
	}
	return d
}
// Ref: #/components/schemas/QuarantineGoods
type QuarantineGoods struct {
	// Артикул WB.
	NmID OptInt `json:"nmID"`
	// Не используется.
	SizeID OptInt `json:"sizeID"`
	// Не используется.
	TechSizeName OptString `json:"techSizeName"`
	// Валюта по стандарту ISO 4217.
	CurrencyIsoCode4217 OptString `json:"currencyIsoCode4217"`
	// Новая цена продавца до скидки.
	NewPrice OptFloat32 `json:"newPrice"`
	// Текущая цена продавца до скидки.
	OldPrice OptFloat32 `json:"oldPrice"`
	// Новая скидка продавца, %.
	NewDiscount OptInt `json:"newDiscount"`
	// Текущая скидка продавца, %.
	OldDiscount OptInt `json:"oldDiscount"`
	// Разница: `newPrice` * (1 - `newDiscount` / 100) - `oldPrice` * (1 - `oldDiscount` / 100).
	PriceDiff OptFloat32 `json:"priceDiff"`
}
// GetNmID returns the value of NmID.
func (s *QuarantineGoods) GetNmID() OptInt {
	return s.NmID
}
// GetSizeID returns the value of SizeID.
func (s *QuarantineGoods) GetSizeID() OptInt {
	return s.SizeID
}
// GetTechSizeName returns the value of TechSizeName.
func (s *QuarantineGoods) GetTechSizeName() OptString {
	return s.TechSizeName
}
// GetCurrencyIsoCode4217 returns the value of CurrencyIsoCode4217.
func (s *QuarantineGoods) GetCurrencyIsoCode4217() OptString {
	return s.CurrencyIsoCode4217
}
// GetNewPrice returns the value of NewPrice.
func (s *QuarantineGoods) GetNewPrice() OptFloat32 {
	return s.NewPrice
}
// GetOldPrice returns the value of OldPrice.
func (s *QuarantineGoods) GetOldPrice() OptFloat32 {
	return s.OldPrice
}
// GetNewDiscount returns the value of NewDiscount.
func (s *QuarantineGoods) GetNewDiscount() OptInt {
	return s.NewDiscount
}
// GetOldDiscount returns the value of OldDiscount.
func (s *QuarantineGoods) GetOldDiscount() OptInt {
	return s.OldDiscount
}
// GetPriceDiff returns the value of PriceDiff.
func (s *QuarantineGoods) GetPriceDiff() OptFloat32 {
	return s.PriceDiff
}
// SetNmID sets the value of NmID.
func (s *QuarantineGoods) SetNmID(val OptInt) {
	s.NmID = val
}
// SetSizeID sets the value of SizeID.
func (s *QuarantineGoods) SetSizeID(val OptInt) {
	s.SizeID = val
}
// SetTechSizeName sets the value of TechSizeName.
func (s *QuarantineGoods) SetTechSizeName(val OptString) {
	s.TechSizeName = val
}
// SetCurrencyIsoCode4217 sets the value of CurrencyIsoCode4217.
func (s *QuarantineGoods) SetCurrencyIsoCode4217(val OptString) {
	s.CurrencyIsoCode4217 = val
}
// SetNewPrice sets the value of NewPrice.
func (s *QuarantineGoods) SetNewPrice(val OptFloat32) {
	s.NewPrice = val
}
// SetOldPrice sets the value of OldPrice.
func (s *QuarantineGoods) SetOldPrice(val OptFloat32) {
	s.OldPrice = val
}
// SetNewDiscount sets the value of NewDiscount.
func (s *QuarantineGoods) SetNewDiscount(val OptInt) {
	s.NewDiscount = val
}
// SetOldDiscount sets the value of OldDiscount.
func (s *QuarantineGoods) SetOldDiscount(val OptInt) {
	s.OldDiscount = val
}
// SetPriceDiff sets the value of PriceDiff.
func (s *QuarantineGoods) SetPriceDiff(val OptFloat32) {
	s.PriceDiff = val
}
type R401 struct {
	// Заголовок ошибки.
	Title OptString `json:"title"`
	// Детали ошибки.
	Detail OptString `json:"detail"`
	// Внутренний код ошибки.
	Code OptString `json:"code"`
	// Уникальный ID запроса.
	RequestId OptString `json:"requestId"`
	// ID внутреннего сервиса WB.
	Origin OptString `json:"origin"`
	// HTTP статус-код.
	Status OptFloat64 `json:"status"`
	// Расшифровка HTTP статус-кода.
	StatusText OptString `json:"statusText"`
	// Дата и время запроса.
	Timestamp OptDateTime `json:"timestamp"`
}
// GetTitle returns the value of Title.
func (s *R401) GetTitle() OptString {
	return s.Title
}
// GetDetail returns the value of Detail.
func (s *R401) GetDetail() OptString {
	return s.Detail
}
// GetCode returns the value of Code.
func (s *R401) GetCode() OptString {
	return s.Code
}
// GetRequestId returns the value of RequestId.
func (s *R401) GetRequestId() OptString {
	return s.RequestId
}
// GetOrigin returns the value of Origin.
func (s *R401) GetOrigin() OptString {
	return s.Origin
}
// GetStatus returns the value of Status.
func (s *R401) GetStatus() OptFloat64 {
	return s.Status
}
// GetStatusText returns the value of StatusText.
func (s *R401) GetStatusText() OptString {
	return s.StatusText
}
// GetTimestamp returns the value of Timestamp.
func (s *R401) GetTimestamp() OptDateTime {
	return s.Timestamp
}
// SetTitle sets the value of Title.
func (s *R401) SetTitle(val OptString) {
	s.Title = val
}
// SetDetail sets the value of Detail.
func (s *R401) SetDetail(val OptString) {
	s.Detail = val
}
// SetCode sets the value of Code.
func (s *R401) SetCode(val OptString) {
	s.Code = val
}
// SetRequestId sets the value of RequestId.
func (s *R401) SetRequestId(val OptString) {
	s.RequestId = val
}
// SetOrigin sets the value of Origin.
func (s *R401) SetOrigin(val OptString) {
	s.Origin = val
}
// SetStatus sets the value of Status.
func (s *R401) SetStatus(val OptFloat64) {
	s.Status = val
}
// SetStatusText sets the value of StatusText.
func (s *R401) SetStatusText(val OptString) {
	s.StatusText = val
}
// SetTimestamp sets the value of Timestamp.
func (s *R401) SetTimestamp(val OptDateTime) {
	s.Timestamp = val
}
func (*R401) aPIV2BufferGoodsTaskGetRes()           {}
func (*R401) aPIV2BufferTasksGetRes()               {}
func (*R401) aPIV2HistoryGoodsTaskGetRes()          {}
func (*R401) aPIV2HistoryTasksGetRes()              {}
func (*R401) aPIV2ListGoodsFilterGetRes()           {}
func (*R401) aPIV2ListGoodsSizeNmGetRes()           {}
func (*R401) aPIV2QuarantineGoodsGetRes()           {}
func (*R401) aPIV2UploadTaskClubDiscountPostRes()   {}
func (*R401) aPIV2UploadTaskPostRes()               {}
func (*R401) aPIV2UploadTaskSizePostRes()           {}
func (*R401) aPIV3OfficesGetRes()                   {}
func (*R401) aPIV3StocksWarehouseIdDeleteRes()      {}
func (*R401) aPIV3StocksWarehouseIdPostRes()        {}
func (*R401) aPIV3StocksWarehouseIdPutRes()         {}
func (*R401) aPIV3WarehousesGetRes()                {}
func (*R401) aPIV3WarehousesPostRes()               {}
func (*R401) aPIV3WarehousesWarehouseIdDeleteRes()  {}
func (*R401) aPIV3WarehousesWarehouseIdPutRes()     {}
func (*R401) contentV2BarcodesPostRes()             {}
func (*R401) contentV2CardsDeleteTrashPostRes()     {}
func (*R401) contentV2CardsErrorListGetRes()        {}
func (*R401) contentV2CardsLimitsGetRes()           {}
func (*R401) contentV2CardsRecoverPostRes()         {}
func (*R401) contentV2CardsUpdatePostRes()          {}
func (*R401) contentV2CardsUploadAddPostRes()       {}
func (*R401) contentV2CardsUploadPostRes()          {}
func (*R401) contentV2DirectoryColorsGetRes()       {}
func (*R401) contentV2DirectoryCountriesGetRes()    {}
func (*R401) contentV2DirectoryKindsGetRes()        {}
func (*R401) contentV2DirectorySeasonsGetRes()      {}
func (*R401) contentV2DirectoryTnvedGetRes()        {}
func (*R401) contentV2DirectoryVatGetRes()          {}
func (*R401) contentV2GetCardsListPostRes()         {}
func (*R401) contentV2GetCardsTrashPostRes()        {}
func (*R401) contentV2ObjectAllGetRes()             {}
func (*R401) contentV2ObjectCharcsSubjectIdGetRes() {}
func (*R401) contentV2ObjectParentAllGetRes()       {}
func (*R401) contentV2TagNomenclatureLinkPostRes()  {}
func (*R401) contentV2TagsGetRes()                  {}
func (*R401) contentV3MediaFilePostRes()            {}
func (*R401) contentV3MediaSavePostRes()            {}
type R429 struct {
	// Заголовок ошибки.
	Title OptString `json:"title"`
	// Детали ошибки.
	Detail OptString `json:"detail"`
	// Внутренний код ошибки.
	Code OptString `json:"code"`
	// Уникальный ID запроса.
	RequestId OptString `json:"requestId"`
	// ID внутреннего сервиса WB.
	Origin OptString `json:"origin"`
	// HTTP статус-код.
	Status OptFloat64 `json:"status"`
	// Расшифровка HTTP статус-кода.
	StatusText OptString `json:"statusText"`
	// Дата и время запроса.
	Timestamp OptDateTime `json:"timestamp"`
}
// GetTitle returns the value of Title.
func (s *R429) GetTitle() OptString {
	return s.Title
}
// GetDetail returns the value of Detail.
func (s *R429) GetDetail() OptString {
	return s.Detail
}
// GetCode returns the value of Code.
func (s *R429) GetCode() OptString {
	return s.Code
}
// GetRequestId returns the value of RequestId.
func (s *R429) GetRequestId() OptString {
	return s.RequestId
}
// GetOrigin returns the value of Origin.
func (s *R429) GetOrigin() OptString {
	return s.Origin
}
// GetStatus returns the value of Status.
func (s *R429) GetStatus() OptFloat64 {
	return s.Status
}
// GetStatusText returns the value of StatusText.
func (s *R429) GetStatusText() OptString {
	return s.StatusText
}
// GetTimestamp returns the value of Timestamp.
func (s *R429) GetTimestamp() OptDateTime {
	return s.Timestamp
}
// SetTitle sets the value of Title.
func (s *R429) SetTitle(val OptString) {
	s.Title = val
}
// SetDetail sets the value of Detail.
func (s *R429) SetDetail(val OptString) {
	s.Detail = val
}
// SetCode sets the value of Code.
func (s *R429) SetCode(val OptString) {
	s.Code = val
}
// SetRequestId sets the value of RequestId.
func (s *R429) SetRequestId(val OptString) {
	s.RequestId = val
}
// SetOrigin sets the value of Origin.
func (s *R429) SetOrigin(val OptString) {
	s.Origin = val
}
// SetStatus sets the value of Status.
func (s *R429) SetStatus(val OptFloat64) {
	s.Status = val
}
// SetStatusText sets the value of StatusText.
func (s *R429) SetStatusText(val OptString) {
	s.StatusText = val
}
// SetTimestamp sets the value of Timestamp.
func (s *R429) SetTimestamp(val OptDateTime) {
	s.Timestamp = val
}
// R429Headers wraps R429 with response headers.
type R429Headers struct {
	XRatelimitLimit OptInt
	XRatelimitReset OptInt
	XRatelimitRetry OptInt
	Response        R429
}
// GetXRatelimitLimit returns the value of XRatelimitLimit.
func (s *R429Headers) GetXRatelimitLimit() OptInt {
	return s.XRatelimitLimit
}
// GetXRatelimitReset returns the value of XRatelimitReset.
func (s *R429Headers) GetXRatelimitReset() OptInt {
	return s.XRatelimitReset
}
// GetXRatelimitRetry returns the value of XRatelimitRetry.
func (s *R429Headers) GetXRatelimitRetry() OptInt {
	return s.XRatelimitRetry
}
// GetResponse returns the value of Response.
func (s *R429Headers) GetResponse() R429 {
	return s.Response
}
// SetXRatelimitLimit sets the value of XRatelimitLimit.
func (s *R429Headers) SetXRatelimitLimit(val OptInt) {
	s.XRatelimitLimit = val
}
// SetXRatelimitReset sets the value of XRatelimitReset.
func (s *R429Headers) SetXRatelimitReset(val OptInt) {
	s.XRatelimitReset = val
}
// SetXRatelimitRetry sets the value of XRatelimitRetry.
func (s *R429Headers) SetXRatelimitRetry(val OptInt) {
	s.XRatelimitRetry = val
}
// SetResponse sets the value of Response.
func (s *R429Headers) SetResponse(val R429) {
	s.Response = val
}
func (*R429Headers) aPIV2BufferGoodsTaskGetRes()           {}
func (*R429Headers) aPIV2BufferTasksGetRes()               {}
func (*R429Headers) aPIV2HistoryGoodsTaskGetRes()          {}
func (*R429Headers) aPIV2HistoryTasksGetRes()              {}
func (*R429Headers) aPIV2ListGoodsFilterGetRes()           {}
func (*R429Headers) aPIV2ListGoodsSizeNmGetRes()           {}
func (*R429Headers) aPIV2QuarantineGoodsGetRes()           {}
func (*R429Headers) aPIV2UploadTaskClubDiscountPostRes()   {}
func (*R429Headers) aPIV2UploadTaskPostRes()               {}
func (*R429Headers) aPIV2UploadTaskSizePostRes()           {}
func (*R429Headers) aPIV3OfficesGetRes()                   {}
func (*R429Headers) aPIV3StocksWarehouseIdDeleteRes()      {}
func (*R429Headers) aPIV3StocksWarehouseIdPostRes()        {}
func (*R429Headers) aPIV3StocksWarehouseIdPutRes()         {}
func (*R429Headers) aPIV3WarehousesGetRes()                {}
func (*R429Headers) aPIV3WarehousesPostRes()               {}
func (*R429Headers) aPIV3WarehousesWarehouseIdDeleteRes()  {}
func (*R429Headers) aPIV3WarehousesWarehouseIdPutRes()     {}
func (*R429Headers) contentV2BarcodesPostRes()             {}
func (*R429Headers) contentV2CardsDeleteTrashPostRes()     {}
func (*R429Headers) contentV2CardsErrorListGetRes()        {}
func (*R429Headers) contentV2CardsLimitsGetRes()           {}
func (*R429Headers) contentV2CardsRecoverPostRes()         {}
func (*R429Headers) contentV2CardsUpdatePostRes()          {}
func (*R429Headers) contentV2CardsUploadAddPostRes()       {}
func (*R429Headers) contentV2CardsUploadPostRes()          {}
func (*R429Headers) contentV2DirectoryColorsGetRes()       {}
func (*R429Headers) contentV2DirectoryCountriesGetRes()    {}
func (*R429Headers) contentV2DirectoryKindsGetRes()        {}
func (*R429Headers) contentV2DirectorySeasonsGetRes()      {}
func (*R429Headers) contentV2DirectoryTnvedGetRes()        {}
func (*R429Headers) contentV2DirectoryVatGetRes()          {}
func (*R429Headers) contentV2GetCardsListPostRes()         {}
func (*R429Headers) contentV2GetCardsTrashPostRes()        {}
func (*R429Headers) contentV2ObjectAllGetRes()             {}
func (*R429Headers) contentV2ObjectCharcsSubjectIdGetRes() {}
func (*R429Headers) contentV2ObjectParentAllGetRes()       {}
func (*R429Headers) contentV2TagNomenclatureLinkPostRes()  {}
func (*R429Headers) contentV2TagsGetRes()                  {}
func (*R429Headers) contentV3MediaFilePostRes()            {}
func (*R429Headers) contentV3MediaSavePostRes()            {}
// Ref: #/components/schemas/RequestAlreadyExistsError
type RequestAlreadyExistsError struct {
	Data OptRequestAlreadyExistsErrorData `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Текст ошибки.
	ErrorText OptString `json:"errorText"`
}
// GetData returns the value of Data.
func (s *RequestAlreadyExistsError) GetData() OptRequestAlreadyExistsErrorData {
	return s.Data
}
// GetError returns the value of Error.
func (s *RequestAlreadyExistsError) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *RequestAlreadyExistsError) GetErrorText() OptString {
	return s.ErrorText
}
// SetData sets the value of Data.
func (s *RequestAlreadyExistsError) SetData(val OptRequestAlreadyExistsErrorData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *RequestAlreadyExistsError) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *RequestAlreadyExistsError) SetErrorText(val OptString) {
	s.ErrorText = val
}
func (*RequestAlreadyExistsError) aPIV2UploadTaskClubDiscountPostRes() {}
func (*RequestAlreadyExistsError) aPIV2UploadTaskPostRes()             {}
func (*RequestAlreadyExistsError) aPIV2UploadTaskSizePostRes()         {}
type RequestAlreadyExistsErrorData struct {
	// ID загрузки.
	ID OptInt `json:"id"`
	// Флаг дублирования загрузки: `true` — такая загрузка уже
	// есть.
	AlreadyExists OptBool `json:"alreadyExists"`
}
// GetID returns the value of ID.
func (s *RequestAlreadyExistsErrorData) GetID() OptInt {
	return s.ID
}
// GetAlreadyExists returns the value of AlreadyExists.
func (s *RequestAlreadyExistsErrorData) GetAlreadyExists() OptBool {
	return s.AlreadyExists
}
// SetID sets the value of ID.
func (s *RequestAlreadyExistsErrorData) SetID(val OptInt) {
	s.ID = val
}
// SetAlreadyExists sets the value of AlreadyExists.
func (s *RequestAlreadyExistsErrorData) SetAlreadyExists(val OptBool) {
	s.AlreadyExists = val
}
// Ref: #/components/schemas/responseBodyContentError400
type ResponseBodyContentError400 struct {
	Data OptResponseBodyContentError400Data `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilResponseBodyContentError400AdditionalErrors `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ResponseBodyContentError400) GetData() OptResponseBodyContentError400Data {
	return s.Data
}
// GetError returns the value of Error.
func (s *ResponseBodyContentError400) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ResponseBodyContentError400) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ResponseBodyContentError400) GetAdditionalErrors() OptNilResponseBodyContentError400AdditionalErrors {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ResponseBodyContentError400) SetData(val OptResponseBodyContentError400Data) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ResponseBodyContentError400) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ResponseBodyContentError400) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ResponseBodyContentError400) SetAdditionalErrors(val OptNilResponseBodyContentError400AdditionalErrors) {
	s.AdditionalErrors = val
}
func (*ResponseBodyContentError400) contentV2CardsDeleteTrashPostRes()     {}
func (*ResponseBodyContentError400) contentV2CardsErrorListGetRes()        {}
func (*ResponseBodyContentError400) contentV2CardsRecoverPostRes()         {}
func (*ResponseBodyContentError400) contentV2CardsUpdatePostRes()          {}
func (*ResponseBodyContentError400) contentV2CardsUploadAddPostRes()       {}
func (*ResponseBodyContentError400) contentV2CardsUploadPostRes()          {}
func (*ResponseBodyContentError400) contentV2DirectoryColorsGetRes()       {}
func (*ResponseBodyContentError400) contentV2DirectoryCountriesGetRes()    {}
func (*ResponseBodyContentError400) contentV2DirectoryKindsGetRes()        {}
func (*ResponseBodyContentError400) contentV2DirectorySeasonsGetRes()      {}
func (*ResponseBodyContentError400) contentV2DirectoryTnvedGetRes()        {}
func (*ResponseBodyContentError400) contentV2DirectoryVatGetRes()          {}
func (*ResponseBodyContentError400) contentV2GetCardsListPostRes()         {}
func (*ResponseBodyContentError400) contentV2GetCardsTrashPostRes()        {}
func (*ResponseBodyContentError400) contentV2ObjectCharcsSubjectIdGetRes() {}
func (*ResponseBodyContentError400) contentV2ObjectParentAllGetRes()       {}
// Дополнительные ошибки.
type ResponseBodyContentError400AdditionalErrors struct {
	MoveNmsToTrash OptString `json:"MoveNmsToTrash"`
}
// GetMoveNmsToTrash returns the value of MoveNmsToTrash.
func (s *ResponseBodyContentError400AdditionalErrors) GetMoveNmsToTrash() OptString {
	return s.MoveNmsToTrash
}
// SetMoveNmsToTrash sets the value of MoveNmsToTrash.
func (s *ResponseBodyContentError400AdditionalErrors) SetMoveNmsToTrash(val OptString) {
	s.MoveNmsToTrash = val
}
type ResponseBodyContentError400Data struct{}
// Ref: #/components/schemas/responseBodyContentError403
type ResponseBodyContentError403 struct {
	Data OptResponseBodyContentError403Data `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ResponseBodyContentError403) GetData() OptResponseBodyContentError403Data {
	return s.Data
}
// GetError returns the value of Error.
func (s *ResponseBodyContentError403) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ResponseBodyContentError403) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ResponseBodyContentError403) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ResponseBodyContentError403) SetData(val OptResponseBodyContentError403Data) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ResponseBodyContentError403) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ResponseBodyContentError403) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ResponseBodyContentError403) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ResponseBodyContentError403) contentV2BarcodesPostRes()             {}
func (*ResponseBodyContentError403) contentV2CardsDeleteTrashPostRes()     {}
func (*ResponseBodyContentError403) contentV2CardsErrorListGetRes()        {}
func (*ResponseBodyContentError403) contentV2CardsLimitsGetRes()           {}
func (*ResponseBodyContentError403) contentV2CardsRecoverPostRes()         {}
func (*ResponseBodyContentError403) contentV2CardsUpdatePostRes()          {}
func (*ResponseBodyContentError403) contentV2DirectoryColorsGetRes()       {}
func (*ResponseBodyContentError403) contentV2DirectoryCountriesGetRes()    {}
func (*ResponseBodyContentError403) contentV2DirectoryKindsGetRes()        {}
func (*ResponseBodyContentError403) contentV2DirectorySeasonsGetRes()      {}
func (*ResponseBodyContentError403) contentV2DirectoryTnvedGetRes()        {}
func (*ResponseBodyContentError403) contentV2DirectoryVatGetRes()          {}
func (*ResponseBodyContentError403) contentV2GetCardsListPostRes()         {}
func (*ResponseBodyContentError403) contentV2GetCardsTrashPostRes()        {}
func (*ResponseBodyContentError403) contentV2ObjectCharcsSubjectIdGetRes() {}
func (*ResponseBodyContentError403) contentV2ObjectParentAllGetRes()       {}
func (*ResponseBodyContentError403) contentV2TagNomenclatureLinkPostRes()  {}
func (*ResponseBodyContentError403) contentV2TagsGetRes()                  {}
type ResponseBodyContentError403Data struct{}
// Ref: #/components/schemas/responseCardCreate
type ResponseCardCreate struct {
	Data OptResponseCardCreateData `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptResponseCardCreateAdditionalErrors `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ResponseCardCreate) GetData() OptResponseCardCreateData {
	return s.Data
}
// GetError returns the value of Error.
func (s *ResponseCardCreate) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ResponseCardCreate) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ResponseCardCreate) GetAdditionalErrors() OptResponseCardCreateAdditionalErrors {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ResponseCardCreate) SetData(val OptResponseCardCreateData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ResponseCardCreate) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ResponseCardCreate) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ResponseCardCreate) SetAdditionalErrors(val OptResponseCardCreateAdditionalErrors) {
	s.AdditionalErrors = val
}
func (*ResponseCardCreate) contentV2CardsUpdatePostRes()    {}
func (*ResponseCardCreate) contentV2CardsUploadAddPostRes() {}
func (*ResponseCardCreate) contentV2CardsUploadPostRes()    {}
// Дополнительные ошибки.
// ResponseCardCreateAdditionalErrors represents sum type.
type ResponseCardCreateAdditionalErrors struct {
	Type                                ResponseCardCreateAdditionalErrorsType // switch on this field
	Null                                struct{}
	ResponseCardCreateAdditionalErrors0 ResponseCardCreateAdditionalErrors0
	String                              string
}
// ResponseCardCreateAdditionalErrorsType is oneOf type of ResponseCardCreateAdditionalErrors.
type ResponseCardCreateAdditionalErrorsType string
// Possible values for ResponseCardCreateAdditionalErrorsType.
const (
	NullResponseCardCreateAdditionalErrors                                ResponseCardCreateAdditionalErrorsType = "struct{}"
	ResponseCardCreateAdditionalErrors0ResponseCardCreateAdditionalErrors ResponseCardCreateAdditionalErrorsType = "ResponseCardCreateAdditionalErrors0"
	StringResponseCardCreateAdditionalErrors                              ResponseCardCreateAdditionalErrorsType = "string"
)
// IsNull reports whether ResponseCardCreateAdditionalErrors is struct{}.
func (s ResponseCardCreateAdditionalErrors) IsNull() bool {
	return s.Type == NullResponseCardCreateAdditionalErrors
}
// IsResponseCardCreateAdditionalErrors0 reports whether ResponseCardCreateAdditionalErrors is ResponseCardCreateAdditionalErrors0.
func (s ResponseCardCreateAdditionalErrors) IsResponseCardCreateAdditionalErrors0() bool {
	return s.Type == ResponseCardCreateAdditionalErrors0ResponseCardCreateAdditionalErrors
}
// IsString reports whether ResponseCardCreateAdditionalErrors is string.
func (s ResponseCardCreateAdditionalErrors) IsString() bool {
	return s.Type == StringResponseCardCreateAdditionalErrors
}
// SetNull sets ResponseCardCreateAdditionalErrors to struct{}.
func (s *ResponseCardCreateAdditionalErrors) SetNull(v struct{}) {
	s.Type = NullResponseCardCreateAdditionalErrors
	s.Null = v
}
// GetNull returns struct{} and true boolean if ResponseCardCreateAdditionalErrors is struct{}.
func (s ResponseCardCreateAdditionalErrors) GetNull() (v struct{}, ok bool) {
	if !s.IsNull() {
		return v, false
	}
	return s.Null, true
}
// NewNullResponseCardCreateAdditionalErrors returns new ResponseCardCreateAdditionalErrors from struct{}.
func NewNullResponseCardCreateAdditionalErrors(v struct{}) ResponseCardCreateAdditionalErrors {
	var s ResponseCardCreateAdditionalErrors
	s.SetNull(v)
	return s
}
// SetResponseCardCreateAdditionalErrors0 sets ResponseCardCreateAdditionalErrors to ResponseCardCreateAdditionalErrors0.
func (s *ResponseCardCreateAdditionalErrors) SetResponseCardCreateAdditionalErrors0(v ResponseCardCreateAdditionalErrors0) {
	s.Type = ResponseCardCreateAdditionalErrors0ResponseCardCreateAdditionalErrors
	s.ResponseCardCreateAdditionalErrors0 = v
}
// GetResponseCardCreateAdditionalErrors0 returns ResponseCardCreateAdditionalErrors0 and true boolean if ResponseCardCreateAdditionalErrors is ResponseCardCreateAdditionalErrors0.
func (s ResponseCardCreateAdditionalErrors) GetResponseCardCreateAdditionalErrors0() (v ResponseCardCreateAdditionalErrors0, ok bool) {
	if !s.IsResponseCardCreateAdditionalErrors0() {
		return v, false
	}
	return s.ResponseCardCreateAdditionalErrors0, true
}
// NewResponseCardCreateAdditionalErrors0ResponseCardCreateAdditionalErrors returns new ResponseCardCreateAdditionalErrors from ResponseCardCreateAdditionalErrors0.
func NewResponseCardCreateAdditionalErrors0ResponseCardCreateAdditionalErrors(v ResponseCardCreateAdditionalErrors0) ResponseCardCreateAdditionalErrors {
	var s ResponseCardCreateAdditionalErrors
	s.SetResponseCardCreateAdditionalErrors0(v)
	return s
}
// SetString sets ResponseCardCreateAdditionalErrors to string.
func (s *ResponseCardCreateAdditionalErrors) SetString(v string) {
	s.Type = StringResponseCardCreateAdditionalErrors
	s.String = v
}
// GetString returns string and true boolean if ResponseCardCreateAdditionalErrors is string.
func (s ResponseCardCreateAdditionalErrors) GetString() (v string, ok bool) {
	if !s.IsString() {
		return v, false
	}
	return s.String, true
}
// NewStringResponseCardCreateAdditionalErrors returns new ResponseCardCreateAdditionalErrors from string.
func NewStringResponseCardCreateAdditionalErrors(v string) ResponseCardCreateAdditionalErrors {
	var s ResponseCardCreateAdditionalErrors
	s.SetString(v)
	return s
}
type ResponseCardCreateAdditionalErrors0 struct {
	String OptString `json:"string"`
}
// GetString returns the value of String.
func (s *ResponseCardCreateAdditionalErrors0) GetString() OptString {
	return s.String
}
// SetString sets the value of String.
func (s *ResponseCardCreateAdditionalErrors0) SetString(val OptString) {
	s.String = val
}
type ResponseCardCreateData struct{}
// Ref: #/components/schemas/responseContentError4
type ResponseContentError4 struct {
	Data OptResponseContentError4Data `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilResponseContentError4AdditionalErrors `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ResponseContentError4) GetData() OptResponseContentError4Data {
	return s.Data
}
// GetError returns the value of Error.
func (s *ResponseContentError4) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ResponseContentError4) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ResponseContentError4) GetAdditionalErrors() OptNilResponseContentError4AdditionalErrors {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ResponseContentError4) SetData(val OptResponseContentError4Data) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ResponseContentError4) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ResponseContentError4) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ResponseContentError4) SetAdditionalErrors(val OptNilResponseContentError4AdditionalErrors) {
	s.AdditionalErrors = val
}
func (*ResponseContentError4) contentV2TagNomenclatureLinkPostRes() {}
// Дополнительные ошибки.
type ResponseContentError4AdditionalErrors struct {
	Description OptString `json:"description"`
}
// GetDescription returns the value of Description.
func (s *ResponseContentError4AdditionalErrors) GetDescription() OptString {
	return s.Description
}
// SetDescription sets the value of Description.
func (s *ResponseContentError4AdditionalErrors) SetDescription(val OptString) {
	s.Description = val
}
type ResponseContentError4Data struct{}
// Ref: #/components/schemas/responseContentError6
type ResponseContentError6 struct {
	Data OptResponseContentError6Data `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Описание ошибки.
	ErrorText OptString `json:"errorText"`
	// Дополнительные ошибки.
	AdditionalErrors OptNilString `json:"additionalErrors"`
}
// GetData returns the value of Data.
func (s *ResponseContentError6) GetData() OptResponseContentError6Data {
	return s.Data
}
// GetError returns the value of Error.
func (s *ResponseContentError6) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ResponseContentError6) GetErrorText() OptString {
	return s.ErrorText
}
// GetAdditionalErrors returns the value of AdditionalErrors.
func (s *ResponseContentError6) GetAdditionalErrors() OptNilString {
	return s.AdditionalErrors
}
// SetData sets the value of Data.
func (s *ResponseContentError6) SetData(val OptResponseContentError6Data) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ResponseContentError6) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ResponseContentError6) SetErrorText(val OptString) {
	s.ErrorText = val
}
// SetAdditionalErrors sets the value of AdditionalErrors.
func (s *ResponseContentError6) SetAdditionalErrors(val OptNilString) {
	s.AdditionalErrors = val
}
func (*ResponseContentError6) contentV2TagNomenclatureLinkPostRes() {}
type ResponseContentError6Data struct{}
// Ref: #/components/schemas/ResponseError
type ResponseError struct {
	Data      OptResponseErrorData `json:"data"`
	Error     OptBool              `json:"error"`
	ErrorText OptString            `json:"errorText"`
}
// GetData returns the value of Data.
func (s *ResponseError) GetData() OptResponseErrorData {
	return s.Data
}
// GetError returns the value of Error.
func (s *ResponseError) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ResponseError) GetErrorText() OptString {
	return s.ErrorText
}
// SetData sets the value of Data.
func (s *ResponseError) SetData(val OptResponseErrorData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ResponseError) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ResponseError) SetErrorText(val OptString) {
	s.ErrorText = val
}
func (*ResponseError) aPIV2ListGoodsFilterGetRes() {}
func (*ResponseError) aPIV2ListGoodsSizeNmGetRes() {}
type ResponseErrorData struct{}
type ResponseGoodBufferHistories struct {
	Data OptResponseGoodBufferHistoriesData `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Текст ошибки.
	ErrorText OptString `json:"errorText"`
}
// GetData returns the value of Data.
func (s *ResponseGoodBufferHistories) GetData() OptResponseGoodBufferHistoriesData {
	return s.Data
}
// GetError returns the value of Error.
func (s *ResponseGoodBufferHistories) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ResponseGoodBufferHistories) GetErrorText() OptString {
	return s.ErrorText
}
// SetData sets the value of Data.
func (s *ResponseGoodBufferHistories) SetData(val OptResponseGoodBufferHistoriesData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ResponseGoodBufferHistories) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ResponseGoodBufferHistories) SetErrorText(val OptString) {
	s.ErrorText = val
}
func (*ResponseGoodBufferHistories) aPIV2BufferGoodsTaskGetRes() {}
type ResponseGoodBufferHistoriesData struct {
	// ID загрузки.
	UploadID OptInt `json:"uploadID"`
	// Информация о товарах в загрузке.
	BufferGoods []GoodBufferHistory `json:"bufferGoods"`
}
// GetUploadID returns the value of UploadID.
func (s *ResponseGoodBufferHistoriesData) GetUploadID() OptInt {
	return s.UploadID
}
// GetBufferGoods returns the value of BufferGoods.
func (s *ResponseGoodBufferHistoriesData) GetBufferGoods() []GoodBufferHistory {
	return s.BufferGoods
}
// SetUploadID sets the value of UploadID.
func (s *ResponseGoodBufferHistoriesData) SetUploadID(val OptInt) {
	s.UploadID = val
}
// SetBufferGoods sets the value of BufferGoods.
func (s *ResponseGoodBufferHistoriesData) SetBufferGoods(val []GoodBufferHistory) {
	s.BufferGoods = val
}
type ResponseGoodHistories struct {
	Data OptResponseGoodHistoriesData `json:"data"`
}
// GetData returns the value of Data.
func (s *ResponseGoodHistories) GetData() OptResponseGoodHistoriesData {
	return s.Data
}
// SetData sets the value of Data.
func (s *ResponseGoodHistories) SetData(val OptResponseGoodHistoriesData) {
	s.Data = val
}
func (*ResponseGoodHistories) aPIV2HistoryGoodsTaskGetRes() {}
type ResponseGoodHistoriesData struct {
	// ID загрузки.
	UploadID OptNilInt `json:"uploadID"`
	// Информация о товарах в загрузке.
	HistoryGoods []GoodHistory `json:"historyGoods"`
}
// GetUploadID returns the value of UploadID.
func (s *ResponseGoodHistoriesData) GetUploadID() OptNilInt {
	return s.UploadID
}
// GetHistoryGoods returns the value of HistoryGoods.
func (s *ResponseGoodHistoriesData) GetHistoryGoods() []GoodHistory {
	return s.HistoryGoods
}
// SetUploadID sets the value of UploadID.
func (s *ResponseGoodHistoriesData) SetUploadID(val OptNilInt) {
	s.UploadID = val
}
// SetHistoryGoods sets the value of HistoryGoods.
func (s *ResponseGoodHistoriesData) SetHistoryGoods(val []GoodHistory) {
	s.HistoryGoods = val
}
type ResponseGoodsLists struct {
	Data OptResponseGoodsListsData `json:"data"`
}
// GetData returns the value of Data.
func (s *ResponseGoodsLists) GetData() OptResponseGoodsListsData {
	return s.Data
}
// SetData sets the value of Data.
func (s *ResponseGoodsLists) SetData(val OptResponseGoodsListsData) {
	s.Data = val
}
func (*ResponseGoodsLists) aPIV2ListGoodsFilterGetRes() {}
type ResponseGoodsListsData struct {
	// Информация о товарах.
	ListGoods []GoodsList `json:"listGoods"`
}
// GetListGoods returns the value of ListGoods.
func (s *ResponseGoodsListsData) GetListGoods() []GoodsList {
	return s.ListGoods
}
// SetListGoods sets the value of ListGoods.
func (s *ResponseGoodsListsData) SetListGoods(val []GoodsList) {
	s.ListGoods = val
}
type ResponseQuarantineGoods struct {
	Data OptNilResponseQuarantineGoodsData `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Текст ошибки.
	ErrorText OptString `json:"errorText"`
}
// GetData returns the value of Data.
func (s *ResponseQuarantineGoods) GetData() OptNilResponseQuarantineGoodsData {
	return s.Data
}
// GetError returns the value of Error.
func (s *ResponseQuarantineGoods) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ResponseQuarantineGoods) GetErrorText() OptString {
	return s.ErrorText
}
// SetData sets the value of Data.
func (s *ResponseQuarantineGoods) SetData(val OptNilResponseQuarantineGoodsData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ResponseQuarantineGoods) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ResponseQuarantineGoods) SetErrorText(val OptString) {
	s.ErrorText = val
}
func (*ResponseQuarantineGoods) aPIV2QuarantineGoodsGetRes() {}
type ResponseQuarantineGoodsData struct {
	// Информация о товарах в карантине.
	QuarantineGoods []QuarantineGoods `json:"quarantineGoods"`
}
// GetQuarantineGoods returns the value of QuarantineGoods.
func (s *ResponseQuarantineGoodsData) GetQuarantineGoods() []QuarantineGoods {
	return s.QuarantineGoods
}
// SetQuarantineGoods sets the value of QuarantineGoods.
func (s *ResponseQuarantineGoodsData) SetQuarantineGoods(val []QuarantineGoods) {
	s.QuarantineGoods = val
}
type ResponseSizeLists struct {
	Data OptResponseSizeListsData `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Текст ошибки.
	ErrorText OptString `json:"errorText"`
}
// GetData returns the value of Data.
func (s *ResponseSizeLists) GetData() OptResponseSizeListsData {
	return s.Data
}
// GetError returns the value of Error.
func (s *ResponseSizeLists) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ResponseSizeLists) GetErrorText() OptString {
	return s.ErrorText
}
// SetData sets the value of Data.
func (s *ResponseSizeLists) SetData(val OptResponseSizeListsData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ResponseSizeLists) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ResponseSizeLists) SetErrorText(val OptString) {
	s.ErrorText = val
}
func (*ResponseSizeLists) aPIV2ListGoodsSizeNmGetRes() {}
type ResponseSizeListsData struct {
	// Размеры товара.
	ListGoods []SizeGood `json:"listGoods"`
}
// GetListGoods returns the value of ListGoods.
func (s *ResponseSizeListsData) GetListGoods() []SizeGood {
	return s.ListGoods
}
// SetListGoods sets the value of ListGoods.
func (s *ResponseSizeListsData) SetListGoods(val []SizeGood) {
	s.ListGoods = val
}
type ResponseTaskBuffer struct {
	Data SupplierTaskMetadataBuffer `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Текст ошибки.
	ErrorText OptString `json:"errorText"`
}
// GetData returns the value of Data.
func (s *ResponseTaskBuffer) GetData() SupplierTaskMetadataBuffer {
	return s.Data
}
// GetError returns the value of Error.
func (s *ResponseTaskBuffer) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ResponseTaskBuffer) GetErrorText() OptString {
	return s.ErrorText
}
// SetData sets the value of Data.
func (s *ResponseTaskBuffer) SetData(val SupplierTaskMetadataBuffer) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ResponseTaskBuffer) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ResponseTaskBuffer) SetErrorText(val OptString) {
	s.ErrorText = val
}
func (*ResponseTaskBuffer) aPIV2BufferTasksGetRes() {}
type ResponseTaskHistory struct {
	Data SupplierTaskMetadata `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Текст ошибки
	// 
	// Ошибка 
The new price is several times lower than the current price. Item has been
	// moved to Price Quarantine возникает, если новая цена со
	// скидкой хотя бы в 3 раза меньше старой. Вы можете
	// изменить цену или скидку с помощью API либо вывести
	// товар из карантина 
в личном кабинете
	// 
 .
	ErrorText OptString `json:"errorText"`
}
// GetData returns the value of Data.
func (s *ResponseTaskHistory) GetData() SupplierTaskMetadata {
	return s.Data
}
// GetError returns the value of Error.
func (s *ResponseTaskHistory) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *ResponseTaskHistory) GetErrorText() OptString {
	return s.ErrorText
}
// SetData sets the value of Data.
func (s *ResponseTaskHistory) SetData(val SupplierTaskMetadata) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *ResponseTaskHistory) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *ResponseTaskHistory) SetErrorText(val OptString) {
	s.ErrorText = val
}
func (*ResponseTaskHistory) aPIV2HistoryTasksGetRes() {}
// Информация о размере.
// Ref: #/components/schemas/SizeGood
type SizeGood struct {
	// Артикул WB.
	NmID OptInt `json:"nmID"`
	// ID размера. Можно получить с помощью метода [Получение
	// списка товаров по артикулам](.
	// /work-with-products#tag/Ceny-i-skidki/paths/~1api~1v2~1list~1goods~1filter/get), поле `sizeID`.
	//  В методах контента это поле `chrtID`.
	SizeID OptInt `json:"sizeID"`
	// Артикул продавца.
	VendorCode OptString `json:"vendorCode"`
	// Цена.
	Price OptInt `json:"price"`
	// Валюта, по стандарту ISO 4217.
	CurrencyIsoCode4217 OptString `json:"currencyIsoCode4217"`
	// Цена со скидкой.
	DiscountedPrice OptFloat64 `json:"discountedPrice"`
	// Цена со скидкой, включая скидку WB Клуба.
	ClubDiscountedPrice OptFloat64 `json:"clubDiscountedPrice"`
	// Скидка, %.
	Discount OptInt `json:"discount"`
	// Скидка WB Клуба, %.
	ClubDiscount OptInt `json:"clubDiscount"`
	// Размер товара.
	TechSizeName OptString `json:"techSizeName"`
	// Можно ли устанавливать цены отдельно для разных
	// размеров: `true` — можно, `false` — нельзя. Эта возможность
	// зависит от категории товара.
	EditableSizePrice OptBool `json:"editableSizePrice"`
}
// GetNmID returns the value of NmID.
func (s *SizeGood) GetNmID() OptInt {
	return s.NmID
}
// GetSizeID returns the value of SizeID.
func (s *SizeGood) GetSizeID() OptInt {
	return s.SizeID
}
// GetVendorCode returns the value of VendorCode.
func (s *SizeGood) GetVendorCode() OptString {
	return s.VendorCode
}
// GetPrice returns the value of Price.
func (s *SizeGood) GetPrice() OptInt {
	return s.Price
}
// GetCurrencyIsoCode4217 returns the value of CurrencyIsoCode4217.
func (s *SizeGood) GetCurrencyIsoCode4217() OptString {
	return s.CurrencyIsoCode4217
}
// GetDiscountedPrice returns the value of DiscountedPrice.
func (s *SizeGood) GetDiscountedPrice() OptFloat64 {
	return s.DiscountedPrice
}
// GetClubDiscountedPrice returns the value of ClubDiscountedPrice.
func (s *SizeGood) GetClubDiscountedPrice() OptFloat64 {
	return s.ClubDiscountedPrice
}
// GetDiscount returns the value of Discount.
func (s *SizeGood) GetDiscount() OptInt {
	return s.Discount
}
// GetClubDiscount returns the value of ClubDiscount.
func (s *SizeGood) GetClubDiscount() OptInt {
	return s.ClubDiscount
}
// GetTechSizeName returns the value of TechSizeName.
func (s *SizeGood) GetTechSizeName() OptString {
	return s.TechSizeName
}
// GetEditableSizePrice returns the value of EditableSizePrice.
func (s *SizeGood) GetEditableSizePrice() OptBool {
	return s.EditableSizePrice
}
// SetNmID sets the value of NmID.
func (s *SizeGood) SetNmID(val OptInt) {
	s.NmID = val
}
// SetSizeID sets the value of SizeID.
func (s *SizeGood) SetSizeID(val OptInt) {
	s.SizeID = val
}
// SetVendorCode sets the value of VendorCode.
func (s *SizeGood) SetVendorCode(val OptString) {
	s.VendorCode = val
}
// SetPrice sets the value of Price.
func (s *SizeGood) SetPrice(val OptInt) {
	s.Price = val
}
// SetCurrencyIsoCode4217 sets the value of CurrencyIsoCode4217.
func (s *SizeGood) SetCurrencyIsoCode4217(val OptString) {
	s.CurrencyIsoCode4217 = val
}
// SetDiscountedPrice sets the value of DiscountedPrice.
func (s *SizeGood) SetDiscountedPrice(val OptFloat64) {
	s.DiscountedPrice = val
}
// SetClubDiscountedPrice sets the value of ClubDiscountedPrice.
func (s *SizeGood) SetClubDiscountedPrice(val OptFloat64) {
	s.ClubDiscountedPrice = val
}
// SetDiscount sets the value of Discount.
func (s *SizeGood) SetDiscount(val OptInt) {
	s.Discount = val
}
// SetClubDiscount sets the value of ClubDiscount.
func (s *SizeGood) SetClubDiscount(val OptInt) {
	s.ClubDiscount = val
}
// SetTechSizeName sets the value of TechSizeName.
func (s *SizeGood) SetTechSizeName(val OptString) {
	s.TechSizeName = val
}
// SetEditableSizePrice sets the value of EditableSizePrice.
func (s *SizeGood) SetEditableSizePrice(val OptBool) {
	s.EditableSizePrice = val
}
// Ref: #/components/schemas/SizeGoodReq
type SizeGoodReq struct {
	// Артикул WB.
	NmID int `json:"nmID"`
	// ID размера. Можно получить с помощью метода [Получение
	// списка товаров по артикулам](.
	// /work-with-products#tag/Ceny-i-skidki/paths/~1api~1v2~1list~1goods~1filter/get), поле `sizeID`.
	//  В методах контента это поле `chrtID`.
	SizeID int `json:"sizeID"`
	// Цена. Валюту можно получить с помощью метода
	// [Получение списка товаров по артикулам](.
	// /work-with-products#tag/Ceny-i-skidki/paths/~1api~1v2~1list~1goods~1filter/get), поле
	// `currencyIsoCode4217`.
	Price int `json:"price"`
}
// GetNmID returns the value of NmID.
func (s *SizeGoodReq) GetNmID() int {
	return s.NmID
}
// GetSizeID returns the value of SizeID.
func (s *SizeGoodReq) GetSizeID() int {
	return s.SizeID
}
// GetPrice returns the value of Price.
func (s *SizeGoodReq) GetPrice() int {
	return s.Price
}
// SetNmID sets the value of NmID.
func (s *SizeGoodReq) SetNmID(val int) {
	s.NmID = val
}
// SetSizeID sets the value of SizeID.
func (s *SizeGoodReq) SetSizeID(val int) {
	s.SizeID = val
}
// SetPrice sets the value of Price.
func (s *SizeGoodReq) SetPrice(val int) {
	s.Price = val
}
type SizeGoodsBody []SizeGoodReq
type StocksWarehouseError []StocksWarehouseErrorItem
func (*StocksWarehouseError) aPIV3StocksWarehouseIdPutRes() {}
type StocksWarehouseErrorItem struct {
	// Error code.
	Code OptString `json:"code"`
	// Additional data enriching the error.
	Data OptStocksWarehouseErrorItemData `json:"data"`
	// Error description.
	Message OptString `json:"message"`
}
// GetCode returns the value of Code.
func (s *StocksWarehouseErrorItem) GetCode() OptString {
	return s.Code
}
// GetData returns the value of Data.
func (s *StocksWarehouseErrorItem) GetData() OptStocksWarehouseErrorItemData {
	return s.Data
}
// GetMessage returns the value of Message.
func (s *StocksWarehouseErrorItem) GetMessage() OptString {
	return s.Message
}
// SetCode sets the value of Code.
func (s *StocksWarehouseErrorItem) SetCode(val OptString) {
	s.Code = val
}
// SetData sets the value of Data.
func (s *StocksWarehouseErrorItem) SetData(val OptStocksWarehouseErrorItemData) {
	s.Data = val
}
// SetMessage sets the value of Message.
func (s *StocksWarehouseErrorItem) SetMessage(val OptString) {
	s.Message = val
}
// Additional data enriching the error.
type StocksWarehouseErrorItemData struct{}
type SupplierTaskMetadata jx.Raw
type SupplierTaskMetadataBuffer jx.Raw
// Ref: #/components/schemas/TaskCreated
type TaskCreated struct {
	Data OptTaskCreatedData `json:"data"`
	// Флаг ошибки.
	Error OptBool `json:"error"`
	// Текст ошибки.
	ErrorText OptString `json:"errorText"`
}
// GetData returns the value of Data.
func (s *TaskCreated) GetData() OptTaskCreatedData {
	return s.Data
}
// GetError returns the value of Error.
func (s *TaskCreated) GetError() OptBool {
	return s.Error
}
// GetErrorText returns the value of ErrorText.
func (s *TaskCreated) GetErrorText() OptString {
	return s.ErrorText
}
// SetData sets the value of Data.
func (s *TaskCreated) SetData(val OptTaskCreatedData) {
	s.Data = val
}
// SetError sets the value of Error.
func (s *TaskCreated) SetError(val OptBool) {
	s.Error = val
}
// SetErrorText sets the value of ErrorText.
func (s *TaskCreated) SetErrorText(val OptString) {
	s.ErrorText = val
}
func (*TaskCreated) aPIV2UploadTaskClubDiscountPostRes() {}
func (*TaskCreated) aPIV2UploadTaskPostRes()             {}
func (*TaskCreated) aPIV2UploadTaskSizePostRes()         {}
type TaskCreatedData struct {
	// ID загрузки.
	ID OptInt `json:"id"`
	// Флаг дублирования загрузки: `true` — такая загрузка уже
	// есть.
	AlreadyExists OptBool `json:"alreadyExists"`
}
// GetID returns the value of ID.
func (s *TaskCreatedData) GetID() OptInt {
	return s.ID
}
// GetAlreadyExists returns the value of AlreadyExists.
func (s *TaskCreatedData) GetAlreadyExists() OptBool {
	return s.AlreadyExists
}
// SetID sets the value of ID.
func (s *TaskCreatedData) SetID(val OptInt) {
	s.ID = val
}
// SetAlreadyExists sets the value of AlreadyExists.
func (s *TaskCreatedData) SetAlreadyExists(val OptBool) {
	s.AlreadyExists = val
}
// Данные о складе продавца.
// Ref: #/components/schemas/Warehouse
type Warehouse struct {
	// Название склада продавца.
	Name OptString `json:"name"`
	// ID склада WB.
	OfficeId OptInt64 `json:"officeId"`
	// ID склада продавца.
	ID OptInt64 `json:"id"`
	//  - Тип товара: 
  - 1 - МГТ (малогабаритный, то есть
	// обычный товар)
  - 2 - СГТ (Сверхгабаритный товар)
 
	// - 3 - КГТ+ (Крупногабаритный товар)
  
.
	CargoType OptWarehouseCargoType `json:"cargoType"`
	// Тип доставки, который принимает склад:
	// - `1` — доставка на склад WB (FBS)
	// - `2` — доставка силами продавца (DBS)
	// - `3` — доставка курьером WB (DBW)
	// - `5` — самовывоз (C&C)
	// - `6` — экспресс-доставка силами продавца (ЕDBS).
	DeliveryType OptWarehouseDeliveryType `json:"deliveryType"`
}
// GetName returns the value of Name.
func (s *Warehouse) GetName() OptString {
	return s.Name
}
// GetOfficeId returns the value of OfficeId.
func (s *Warehouse) GetOfficeId() OptInt64 {
	return s.OfficeId
}
// GetID returns the value of ID.
func (s *Warehouse) GetID() OptInt64 {
	return s.ID
}
// GetCargoType returns the value of CargoType.
func (s *Warehouse) GetCargoType() OptWarehouseCargoType {
	return s.CargoType
}
// GetDeliveryType returns the value of DeliveryType.
func (s *Warehouse) GetDeliveryType() OptWarehouseDeliveryType {
	return s.DeliveryType
}
// SetName sets the value of Name.
func (s *Warehouse) SetName(val OptString) {
	s.Name = val
}
// SetOfficeId sets the value of OfficeId.
func (s *Warehouse) SetOfficeId(val OptInt64) {
	s.OfficeId = val
}
// SetID sets the value of ID.
func (s *Warehouse) SetID(val OptInt64) {
	s.ID = val
}
// SetCargoType sets the value of CargoType.
func (s *Warehouse) SetCargoType(val OptWarehouseCargoType) {
	s.CargoType = val
}
// SetDeliveryType sets the value of DeliveryType.
func (s *Warehouse) SetDeliveryType(val OptWarehouseDeliveryType) {
	s.DeliveryType = val
}
//  - Тип товара: 
  - 1 - МГТ (малогабаритный, то есть
// обычный товар)
  - 2 - СГТ (Сверхгабаритный товар)
 
// - 3 - КГТ+ (Крупногабаритный товар)
  
.
type WarehouseCargoType int
const (
	WarehouseCargoType1 WarehouseCargoType = 1
	WarehouseCargoType2 WarehouseCargoType = 2
	WarehouseCargoType3 WarehouseCargoType = 3
)
// AllValues returns all WarehouseCargoType values.
func (WarehouseCargoType) AllValues() []WarehouseCargoType {
	return []WarehouseCargoType{
		WarehouseCargoType1,
		WarehouseCargoType2,
		WarehouseCargoType3,
	}
}
// Тип доставки, который принимает склад:
// - `1` — доставка на склад WB (FBS)
// - `2` — доставка силами продавца (DBS)
// - `3` — доставка курьером WB (DBW)
// - `5` — самовывоз (C&C)
// - `6` — экспресс-доставка силами продавца (ЕDBS).
type WarehouseDeliveryType int
const (
	WarehouseDeliveryType1 WarehouseDeliveryType = 1
	WarehouseDeliveryType2 WarehouseDeliveryType = 2
	WarehouseDeliveryType3 WarehouseDeliveryType = 3
	WarehouseDeliveryType5 WarehouseDeliveryType = 5
	WarehouseDeliveryType6 WarehouseDeliveryType = 6
)
// AllValues returns all WarehouseDeliveryType values.
func (WarehouseDeliveryType) AllValues() []WarehouseDeliveryType {
	return []WarehouseDeliveryType{
		WarehouseDeliveryType1,
		WarehouseDeliveryType2,
		WarehouseDeliveryType3,
		WarehouseDeliveryType5,
		WarehouseDeliveryType6,
	}
}