feat: shit shit
This commit is contained in:
213
pkg/api/yandex/ymclient/docs/FullOutletLicenseDTO.md
Normal file
213
pkg/api/yandex/ymclient/docs/FullOutletLicenseDTO.md
Normal file
@@ -0,0 +1,213 @@
|
||||
# FullOutletLicenseDTO
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | Pointer to **int64** | Идентификатор лицензии. Параметр указывается, только если нужно изменить информацию о существующей лицензии. Ее идентификатор можно узнать с помощью запроса [GET campaigns/{campaignId}/outlets/licenses](../../reference/outlets/getOutletLicenses.md). При передаче информации о новой лицензии указывать идентификатор не нужно. Идентификатор лицензии присваивается Маркетом. Не путайте его с номером, указанным на лицензии: он передается в параметре `number`. | [optional]
|
||||
**OutletId** | **int64** | Идентификатор точки продаж, для которой действительна лицензия. |
|
||||
**LicenseType** | [**LicenseType**](LicenseType.md) | |
|
||||
**Number** | **string** | Номер лицензии. |
|
||||
**DateOfIssue** | **time.Time** | Дата выдачи лицензии. Формат даты: :no-translate[ISO 8601] со смещением относительно :no-translate[UTC]. Нужно передать дату, указанную на лицензии, время `00:00:00` и часовой пояс, соответствующий региону точки продаж. Например, если лицензия для точки продаж в Москве выдана 13 ноября 2017 года, то параметр должен иметь значение `2017-11-13T00:00:00+03:00`. Не может быть позже даты окончания срока действия, указанной в параметре `dateOfExpiry`. |
|
||||
**DateOfExpiry** | **time.Time** | Дата окончания действия лицензии. Формат даты: :no-translate[ISO 8601] со смещением относительно :no-translate[UTC]. Нужно передать дату, указанную на лицензии, время `00:00:00` и часовой пояс, соответствующий региону точки продаж. Например, если действие лицензии для точки продаж в Москве заканчивается 20 ноября 2022 года, то параметр должен иметь значение `2022-11-20T00:00:00+03:00`. Не может быть раньше даты выдачи, указанной в параметре `dateOfIssue`. |
|
||||
**CheckStatus** | Pointer to [**LicenseCheckStatusType**](LicenseCheckStatusType.md) | | [optional]
|
||||
**CheckComment** | Pointer to **string** | Причина, по которой лицензия не прошла проверку. Параметр возвращается, только если параметр `checkStatus` имеет значение `FAIL`. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewFullOutletLicenseDTO
|
||||
|
||||
`func NewFullOutletLicenseDTO(outletId int64, licenseType LicenseType, number string, dateOfIssue time.Time, dateOfExpiry time.Time, ) *FullOutletLicenseDTO`
|
||||
|
||||
NewFullOutletLicenseDTO instantiates a new FullOutletLicenseDTO 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
|
||||
|
||||
### NewFullOutletLicenseDTOWithDefaults
|
||||
|
||||
`func NewFullOutletLicenseDTOWithDefaults() *FullOutletLicenseDTO`
|
||||
|
||||
NewFullOutletLicenseDTOWithDefaults instantiates a new FullOutletLicenseDTO 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
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetId() int64`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetIdOk() (*int64, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *FullOutletLicenseDTO) SetId(v int64)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *FullOutletLicenseDTO) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetOutletId
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetOutletId() int64`
|
||||
|
||||
GetOutletId returns the OutletId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOutletIdOk
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetOutletIdOk() (*int64, bool)`
|
||||
|
||||
GetOutletIdOk returns a tuple with the OutletId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOutletId
|
||||
|
||||
`func (o *FullOutletLicenseDTO) SetOutletId(v int64)`
|
||||
|
||||
SetOutletId sets OutletId field to given value.
|
||||
|
||||
|
||||
### GetLicenseType
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetLicenseType() LicenseType`
|
||||
|
||||
GetLicenseType returns the LicenseType field if non-nil, zero value otherwise.
|
||||
|
||||
### GetLicenseTypeOk
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetLicenseTypeOk() (*LicenseType, bool)`
|
||||
|
||||
GetLicenseTypeOk returns a tuple with the LicenseType field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetLicenseType
|
||||
|
||||
`func (o *FullOutletLicenseDTO) SetLicenseType(v LicenseType)`
|
||||
|
||||
SetLicenseType sets LicenseType field to given value.
|
||||
|
||||
|
||||
### GetNumber
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetNumber() string`
|
||||
|
||||
GetNumber returns the Number field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNumberOk
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetNumberOk() (*string, bool)`
|
||||
|
||||
GetNumberOk returns a tuple with the Number field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetNumber
|
||||
|
||||
`func (o *FullOutletLicenseDTO) SetNumber(v string)`
|
||||
|
||||
SetNumber sets Number field to given value.
|
||||
|
||||
|
||||
### GetDateOfIssue
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetDateOfIssue() time.Time`
|
||||
|
||||
GetDateOfIssue returns the DateOfIssue field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDateOfIssueOk
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetDateOfIssueOk() (*time.Time, bool)`
|
||||
|
||||
GetDateOfIssueOk returns a tuple with the DateOfIssue field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDateOfIssue
|
||||
|
||||
`func (o *FullOutletLicenseDTO) SetDateOfIssue(v time.Time)`
|
||||
|
||||
SetDateOfIssue sets DateOfIssue field to given value.
|
||||
|
||||
|
||||
### GetDateOfExpiry
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetDateOfExpiry() time.Time`
|
||||
|
||||
GetDateOfExpiry returns the DateOfExpiry field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDateOfExpiryOk
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetDateOfExpiryOk() (*time.Time, bool)`
|
||||
|
||||
GetDateOfExpiryOk returns a tuple with the DateOfExpiry field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDateOfExpiry
|
||||
|
||||
`func (o *FullOutletLicenseDTO) SetDateOfExpiry(v time.Time)`
|
||||
|
||||
SetDateOfExpiry sets DateOfExpiry field to given value.
|
||||
|
||||
|
||||
### GetCheckStatus
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetCheckStatus() LicenseCheckStatusType`
|
||||
|
||||
GetCheckStatus returns the CheckStatus field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCheckStatusOk
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetCheckStatusOk() (*LicenseCheckStatusType, bool)`
|
||||
|
||||
GetCheckStatusOk returns a tuple with the CheckStatus field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCheckStatus
|
||||
|
||||
`func (o *FullOutletLicenseDTO) SetCheckStatus(v LicenseCheckStatusType)`
|
||||
|
||||
SetCheckStatus sets CheckStatus field to given value.
|
||||
|
||||
### HasCheckStatus
|
||||
|
||||
`func (o *FullOutletLicenseDTO) HasCheckStatus() bool`
|
||||
|
||||
HasCheckStatus returns a boolean if a field has been set.
|
||||
|
||||
### GetCheckComment
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetCheckComment() string`
|
||||
|
||||
GetCheckComment returns the CheckComment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCheckCommentOk
|
||||
|
||||
`func (o *FullOutletLicenseDTO) GetCheckCommentOk() (*string, bool)`
|
||||
|
||||
GetCheckCommentOk returns a tuple with the CheckComment field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCheckComment
|
||||
|
||||
`func (o *FullOutletLicenseDTO) SetCheckComment(v string)`
|
||||
|
||||
SetCheckComment sets CheckComment field to given value.
|
||||
|
||||
### HasCheckComment
|
||||
|
||||
`func (o *FullOutletLicenseDTO) HasCheckComment() bool`
|
||||
|
||||
HasCheckComment returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user