1.4 KiB
ModelsDTO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Models | []ModelDTO | Список моделей товаров. |
Methods
NewModelsDTO
func NewModelsDTO(models []ModelDTO, ) *ModelsDTO
NewModelsDTO instantiates a new ModelsDTO object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewModelsDTOWithDefaults
func NewModelsDTOWithDefaults() *ModelsDTO
NewModelsDTOWithDefaults instantiates a new ModelsDTO object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetModels
func (o *ModelsDTO) GetModels() []ModelDTO
GetModels returns the Models field if non-nil, zero value otherwise.
GetModelsOk
func (o *ModelsDTO) GetModelsOk() (*[]ModelDTO, bool)
GetModelsOk returns a tuple with the Models field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetModels
func (o *ModelsDTO) SetModels(v []ModelDTO)
SetModels sets Models field to given value.