4.9 KiB
GenerateKeyIndicatorsRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| BusinessId | Pointer to int64 | Идентификатор кабинета. Указывается, если нужно составить отчет по всем магазинам в кабинете. В запросе обязательно должен быть либо `businessId`, либо `campaignId`, но не оба сразу. | [optional] |
| CampaignId | Pointer to int64 | Идентификатор кампании. Указывается, если нужно составить отчет по конкретному магазину. В запросе обязательно должен быть либо `businessId`, либо `campaignId`, но не оба сразу. Его можно узнать с помощью запроса GET campaigns или найти в кабинете продавца на Маркете — нажмите на название своего бизнеса и перейдите на страницу: * Модули и :no-translate[API] → блок Передача данных Маркету. * Лог запросов → выпадающий список в блоке Показывать логи. ⚠️ Не передавайте вместо него идентификатор магазина, который указан в кабинете продавца на Маркете рядом с названием магазина и в некоторых отчетах. | [optional] |
| DetalizationLevel | KeyIndicatorsReportDetalizationLevelType |
Methods
NewGenerateKeyIndicatorsRequest
func NewGenerateKeyIndicatorsRequest(detalizationLevel KeyIndicatorsReportDetalizationLevelType, ) *GenerateKeyIndicatorsRequest
NewGenerateKeyIndicatorsRequest instantiates a new GenerateKeyIndicatorsRequest 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
NewGenerateKeyIndicatorsRequestWithDefaults
func NewGenerateKeyIndicatorsRequestWithDefaults() *GenerateKeyIndicatorsRequest
NewGenerateKeyIndicatorsRequestWithDefaults instantiates a new GenerateKeyIndicatorsRequest 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
GetBusinessId
func (o *GenerateKeyIndicatorsRequest) GetBusinessId() int64
GetBusinessId returns the BusinessId field if non-nil, zero value otherwise.
GetBusinessIdOk
func (o *GenerateKeyIndicatorsRequest) GetBusinessIdOk() (*int64, bool)
GetBusinessIdOk returns a tuple with the BusinessId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBusinessId
func (o *GenerateKeyIndicatorsRequest) SetBusinessId(v int64)
SetBusinessId sets BusinessId field to given value.
HasBusinessId
func (o *GenerateKeyIndicatorsRequest) HasBusinessId() bool
HasBusinessId returns a boolean if a field has been set.
GetCampaignId
func (o *GenerateKeyIndicatorsRequest) GetCampaignId() int64
GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.
GetCampaignIdOk
func (o *GenerateKeyIndicatorsRequest) GetCampaignIdOk() (*int64, bool)
GetCampaignIdOk returns a tuple with the CampaignId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCampaignId
func (o *GenerateKeyIndicatorsRequest) SetCampaignId(v int64)
SetCampaignId sets CampaignId field to given value.
HasCampaignId
func (o *GenerateKeyIndicatorsRequest) HasCampaignId() bool
HasCampaignId returns a boolean if a field has been set.
GetDetalizationLevel
func (o *GenerateKeyIndicatorsRequest) GetDetalizationLevel() KeyIndicatorsReportDetalizationLevelType
GetDetalizationLevel returns the DetalizationLevel field if non-nil, zero value otherwise.
GetDetalizationLevelOk
func (o *GenerateKeyIndicatorsRequest) GetDetalizationLevelOk() (*KeyIndicatorsReportDetalizationLevelType, bool)
GetDetalizationLevelOk returns a tuple with the DetalizationLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDetalizationLevel
func (o *GenerateKeyIndicatorsRequest) SetDetalizationLevel(v KeyIndicatorsReportDetalizationLevelType)
SetDetalizationLevel sets DetalizationLevel field to given value.