Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AdAPIService
- func (a *AdAPIService) AdsAdDelete(ctx context.Context, ad string) ApiAdsAdDeleteRequest
- func (a *AdAPIService) AdsAdDeleteExecute(r ApiAdsAdDeleteRequest) (*http.Response, error)
- func (a *AdAPIService) AdsAdGet(ctx context.Context, ad string) ApiAdsAdGetRequest
- func (a *AdAPIService) AdsAdGetExecute(r ApiAdsAdGetRequest) (*http.Response, error)
- func (a *AdAPIService) AdsAdPut(ctx context.Context, ad string) ApiAdsAdPutRequest
- func (a *AdAPIService) AdsAdPutExecute(r ApiAdsAdPutRequest) (*http.Response, error)
- func (a *AdAPIService) ChannelsChannelAdsGet(ctx context.Context, channel string) ApiChannelsChannelAdsGetRequest
- func (a *AdAPIService) ChannelsChannelAdsGetExecute(r ApiChannelsChannelAdsGetRequest) (*http.Response, error)
- func (a *AdAPIService) ChannelsChannelAdsPost(ctx context.Context, channel string) ApiChannelsChannelAdsPostRequest
- func (a *AdAPIService) ChannelsChannelAdsPostExecute(r ApiChannelsChannelAdsPostRequest) (*http.Response, error)
- type AdsAdPutRequest
- func (o *AdsAdPutRequest) GetAdType() string
- func (o *AdsAdPutRequest) GetAdTypeOk() (*string, bool)
- func (o *AdsAdPutRequest) GetClickThrough() string
- func (o *AdsAdPutRequest) GetClickThroughOk() (*string, bool)
- func (o *AdsAdPutRequest) GetDescription() string
- func (o *AdsAdPutRequest) GetDescriptionOk() (*string, bool)
- func (o *AdsAdPutRequest) GetPlayTime() int32
- func (o *AdsAdPutRequest) GetPlayTimeOk() (*int32, bool)
- func (o *AdsAdPutRequest) GetSkipOffset() int32
- func (o *AdsAdPutRequest) GetSkipOffsetOk() (*int32, bool)
- func (o *AdsAdPutRequest) GetSkipType() string
- func (o *AdsAdPutRequest) GetSkipTypeOk() (*string, bool)
- func (o *AdsAdPutRequest) GetTitle() string
- func (o *AdsAdPutRequest) GetTitleOk() (*string, bool)
- func (o *AdsAdPutRequest) HasAdType() bool
- func (o *AdsAdPutRequest) HasClickThrough() bool
- func (o *AdsAdPutRequest) HasDescription() bool
- func (o *AdsAdPutRequest) HasPlayTime() bool
- func (o *AdsAdPutRequest) HasSkipOffset() bool
- func (o *AdsAdPutRequest) HasSkipType() bool
- func (o *AdsAdPutRequest) HasTitle() bool
- func (o AdsAdPutRequest) MarshalJSON() ([]byte, error)
- func (o *AdsAdPutRequest) SetAdType(v string)
- func (o *AdsAdPutRequest) SetClickThrough(v string)
- func (o *AdsAdPutRequest) SetDescription(v string)
- func (o *AdsAdPutRequest) SetPlayTime(v int32)
- func (o *AdsAdPutRequest) SetSkipOffset(v int32)
- func (o *AdsAdPutRequest) SetSkipType(v string)
- func (o *AdsAdPutRequest) SetTitle(v string)
- func (o AdsAdPutRequest) ToMap() (map[string]interface{}, error)
- type AdsCategoryAPIService
- func (a *AdsCategoryAPIService) AdsAdCategoriesCategoryDelete(ctx context.Context, ad string, category string) ApiAdsAdCategoriesCategoryDeleteRequest
- func (a *AdsCategoryAPIService) AdsAdCategoriesCategoryDeleteExecute(r ApiAdsAdCategoriesCategoryDeleteRequest) (*http.Response, error)
- func (a *AdsCategoryAPIService) AdsAdCategoriesCategoryPut(ctx context.Context, ad string, category string) ApiAdsAdCategoriesCategoryPutRequest
- func (a *AdsCategoryAPIService) AdsAdCategoriesCategoryPutExecute(r ApiAdsAdCategoriesCategoryPutRequest) (*http.Response, error)
- func (a *AdsCategoryAPIService) AdsAdCategoriesGet(ctx context.Context, ad string) ApiAdsAdCategoriesGetRequest
- func (a *AdsCategoryAPIService) AdsAdCategoriesGetExecute(r ApiAdsAdCategoriesGetRequest) (*http.Response, error)
- type ApiAdsAdCategoriesCategoryDeleteRequest
- type ApiAdsAdCategoriesCategoryPutRequest
- type ApiAdsAdCategoriesGetRequest
- type ApiAdsAdDeleteRequest
- type ApiAdsAdGetRequest
- type ApiAdsAdPutRequest
- type ApiAdsAdReportsTrackEventPeriodGetRequest
- func (r ApiAdsAdReportsTrackEventPeriodGetRequest) Execute() (*http.Response, error)
- func (r ApiAdsAdReportsTrackEventPeriodGetRequest) From(from string) ApiAdsAdReportsTrackEventPeriodGetRequest
- func (r ApiAdsAdReportsTrackEventPeriodGetRequest) To(to string) ApiAdsAdReportsTrackEventPeriodGetRequest
- type ApiCampaignsCampaignAdsAdDeleteRequest
- type ApiCampaignsCampaignAdsAdGetRequest
- type ApiCampaignsCampaignAdsAdPutRequest
- type ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest
- func (r ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest) Execute() (*http.Response, error)
- func (r ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest) From(from string) ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest
- func (r ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest) To(to string) ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest
- type ApiCampaignsCampaignAdsGetRequest
- type ApiCampaignsCampaignAdsPostRequest
- type ApiCampaignsCampaignDeleteRequest
- type ApiCampaignsCampaignGetRequest
- type ApiCampaignsCampaignPutRequest
- type ApiCampaignsCampaignReportsTrackEventPeriodGetRequest
- func (r ApiCampaignsCampaignReportsTrackEventPeriodGetRequest) Execute() (*http.Response, error)
- func (r ApiCampaignsCampaignReportsTrackEventPeriodGetRequest) From(from string) ApiCampaignsCampaignReportsTrackEventPeriodGetRequest
- func (r ApiCampaignsCampaignReportsTrackEventPeriodGetRequest) To(to string) ApiCampaignsCampaignReportsTrackEventPeriodGetRequest
- type ApiCategoriesCategoryDeleteRequest
- type ApiCategoriesCategoryGetRequest
- type ApiCategoriesCategoryPutRequest
- type ApiCategoriesGetRequest
- type ApiCategoriesPostRequest
- type ApiChannelsChannelAdsGetRequest
- func (r ApiChannelsChannelAdsGetRequest) Execute() (*http.Response, error)
- func (r ApiChannelsChannelAdsGetRequest) Filter(filter string) ApiChannelsChannelAdsGetRequest
- func (r ApiChannelsChannelAdsGetRequest) Page(page int32) ApiChannelsChannelAdsGetRequest
- func (r ApiChannelsChannelAdsGetRequest) PerPage(perPage int32) ApiChannelsChannelAdsGetRequest
- type ApiChannelsChannelAdsPostRequest
- func (r ApiChannelsChannelAdsPostRequest) AdType(adType string) ApiChannelsChannelAdsPostRequest
- func (r ApiChannelsChannelAdsPostRequest) ClickThrough(clickThrough string) ApiChannelsChannelAdsPostRequest
- func (r ApiChannelsChannelAdsPostRequest) Description(description string) ApiChannelsChannelAdsPostRequest
- func (r ApiChannelsChannelAdsPostRequest) Execute() (*http.Response, error)
- func (r ApiChannelsChannelAdsPostRequest) MediaFile(mediaFile *os.File) ApiChannelsChannelAdsPostRequest
- func (r ApiChannelsChannelAdsPostRequest) SkipOffset(skipOffset int32) ApiChannelsChannelAdsPostRequest
- func (r ApiChannelsChannelAdsPostRequest) SkipType(skipType string) ApiChannelsChannelAdsPostRequest
- func (r ApiChannelsChannelAdsPostRequest) Title(title string) ApiChannelsChannelAdsPostRequest
- type ApiChannelsChannelCampaignsGetRequest
- type ApiChannelsChannelCampaignsPostRequest
- type ApiChannelsChannelDeleteRequest
- type ApiChannelsChannelGetRequest
- type ApiChannelsChannelPutRequest
- type ApiChannelsGetRequest
- type ApiChannelsPostRequest
- type ApiDomainGetRequest
- type ApiDomainPostRequest
- type BasicAuth
- type CampaignAPIService
- func (a *CampaignAPIService) CampaignsCampaignDelete(ctx context.Context, campaign string) ApiCampaignsCampaignDeleteRequest
- func (a *CampaignAPIService) CampaignsCampaignDeleteExecute(r ApiCampaignsCampaignDeleteRequest) (*http.Response, error)
- func (a *CampaignAPIService) CampaignsCampaignGet(ctx context.Context, campaign string) ApiCampaignsCampaignGetRequest
- func (a *CampaignAPIService) CampaignsCampaignGetExecute(r ApiCampaignsCampaignGetRequest) (*http.Response, error)
- func (a *CampaignAPIService) CampaignsCampaignPut(ctx context.Context, campaign string) ApiCampaignsCampaignPutRequest
- func (a *CampaignAPIService) CampaignsCampaignPutExecute(r ApiCampaignsCampaignPutRequest) (*http.Response, error)
- func (a *CampaignAPIService) ChannelsChannelCampaignsGet(ctx context.Context, channel string) ApiChannelsChannelCampaignsGetRequest
- func (a *CampaignAPIService) ChannelsChannelCampaignsGetExecute(r ApiChannelsChannelCampaignsGetRequest) (*http.Response, error)
- func (a *CampaignAPIService) ChannelsChannelCampaignsPost(ctx context.Context, channel string) ApiChannelsChannelCampaignsPostRequest
- func (a *CampaignAPIService) ChannelsChannelCampaignsPostExecute(r ApiChannelsChannelCampaignsPostRequest) (*http.Response, error)
- type CampaignsAdAPIService
- func (a *CampaignsAdAPIService) CampaignsCampaignAdsAdDelete(ctx context.Context, campaign string, ad string) ApiCampaignsCampaignAdsAdDeleteRequest
- func (a *CampaignsAdAPIService) CampaignsCampaignAdsAdDeleteExecute(r ApiCampaignsCampaignAdsAdDeleteRequest) (*http.Response, error)
- func (a *CampaignsAdAPIService) CampaignsCampaignAdsAdGet(ctx context.Context, campaign string, ad string) ApiCampaignsCampaignAdsAdGetRequest
- func (a *CampaignsAdAPIService) CampaignsCampaignAdsAdGetExecute(r ApiCampaignsCampaignAdsAdGetRequest) (*http.Response, error)
- func (a *CampaignsAdAPIService) CampaignsCampaignAdsAdPut(ctx context.Context, campaign string, ad string) ApiCampaignsCampaignAdsAdPutRequest
- func (a *CampaignsAdAPIService) CampaignsCampaignAdsAdPutExecute(r ApiCampaignsCampaignAdsAdPutRequest) (*http.Response, error)
- func (a *CampaignsAdAPIService) CampaignsCampaignAdsGet(ctx context.Context, campaign string) ApiCampaignsCampaignAdsGetRequest
- func (a *CampaignsAdAPIService) CampaignsCampaignAdsGetExecute(r ApiCampaignsCampaignAdsGetRequest) (*http.Response, error)
- func (a *CampaignsAdAPIService) CampaignsCampaignAdsPost(ctx context.Context, campaign string) ApiCampaignsCampaignAdsPostRequest
- func (a *CampaignsAdAPIService) CampaignsCampaignAdsPostExecute(r ApiCampaignsCampaignAdsPostRequest) (*http.Response, error)
- type CampaignsCampaignAdsAdPutRequest
- func (o *CampaignsCampaignAdsAdPutRequest) GetFilterBrowser() []string
- func (o *CampaignsCampaignAdsAdPutRequest) GetFilterBrowserOk() ([]string, bool)
- func (o *CampaignsCampaignAdsAdPutRequest) GetFilterDevice() []string
- func (o *CampaignsCampaignAdsAdPutRequest) GetFilterDeviceOk() ([]string, bool)
- func (o *CampaignsCampaignAdsAdPutRequest) GetFilterPlatform() []string
- func (o *CampaignsCampaignAdsAdPutRequest) GetFilterPlatformOk() ([]string, bool)
- func (o *CampaignsCampaignAdsAdPutRequest) GetQuota() []CampaignsCampaignAdsPostRequestQuotaInner
- func (o *CampaignsCampaignAdsAdPutRequest) GetQuotaOk() ([]CampaignsCampaignAdsPostRequestQuotaInner, bool)
- func (o *CampaignsCampaignAdsAdPutRequest) GetQuotaType() string
- func (o *CampaignsCampaignAdsAdPutRequest) GetQuotaTypeOk() (*string, bool)
- func (o *CampaignsCampaignAdsAdPutRequest) GetWeight() int32
- func (o *CampaignsCampaignAdsAdPutRequest) GetWeightOk() (*int32, bool)
- func (o *CampaignsCampaignAdsAdPutRequest) HasFilterBrowser() bool
- func (o *CampaignsCampaignAdsAdPutRequest) HasFilterDevice() bool
- func (o *CampaignsCampaignAdsAdPutRequest) HasFilterPlatform() bool
- func (o *CampaignsCampaignAdsAdPutRequest) HasQuota() bool
- func (o *CampaignsCampaignAdsAdPutRequest) HasQuotaType() bool
- func (o *CampaignsCampaignAdsAdPutRequest) HasWeight() bool
- func (o CampaignsCampaignAdsAdPutRequest) MarshalJSON() ([]byte, error)
- func (o *CampaignsCampaignAdsAdPutRequest) SetFilterBrowser(v []string)
- func (o *CampaignsCampaignAdsAdPutRequest) SetFilterDevice(v []string)
- func (o *CampaignsCampaignAdsAdPutRequest) SetFilterPlatform(v []string)
- func (o *CampaignsCampaignAdsAdPutRequest) SetQuota(v []CampaignsCampaignAdsPostRequestQuotaInner)
- func (o *CampaignsCampaignAdsAdPutRequest) SetQuotaType(v string)
- func (o *CampaignsCampaignAdsAdPutRequest) SetWeight(v int32)
- func (o CampaignsCampaignAdsAdPutRequest) ToMap() (map[string]interface{}, error)
- type CampaignsCampaignAdsPostRequest
- func (o *CampaignsCampaignAdsPostRequest) GetAdId() string
- func (o *CampaignsCampaignAdsPostRequest) GetAdIdOk() (*string, bool)
- func (o *CampaignsCampaignAdsPostRequest) GetFilterBrowser() []string
- func (o *CampaignsCampaignAdsPostRequest) GetFilterBrowserOk() ([]string, bool)
- func (o *CampaignsCampaignAdsPostRequest) GetFilterDevice() []string
- func (o *CampaignsCampaignAdsPostRequest) GetFilterDeviceOk() ([]string, bool)
- func (o *CampaignsCampaignAdsPostRequest) GetFilterPlatform() []string
- func (o *CampaignsCampaignAdsPostRequest) GetFilterPlatformOk() ([]string, bool)
- func (o *CampaignsCampaignAdsPostRequest) GetQuota() []CampaignsCampaignAdsPostRequestQuotaInner
- func (o *CampaignsCampaignAdsPostRequest) GetQuotaOk() ([]CampaignsCampaignAdsPostRequestQuotaInner, bool)
- func (o *CampaignsCampaignAdsPostRequest) GetQuotaType() string
- func (o *CampaignsCampaignAdsPostRequest) GetQuotaTypeOk() (*string, bool)
- func (o *CampaignsCampaignAdsPostRequest) GetWeight() int32
- func (o *CampaignsCampaignAdsPostRequest) GetWeightOk() (*int32, bool)
- func (o *CampaignsCampaignAdsPostRequest) HasFilterBrowser() bool
- func (o *CampaignsCampaignAdsPostRequest) HasFilterDevice() bool
- func (o *CampaignsCampaignAdsPostRequest) HasFilterPlatform() bool
- func (o *CampaignsCampaignAdsPostRequest) HasQuota() bool
- func (o *CampaignsCampaignAdsPostRequest) HasQuotaType() bool
- func (o CampaignsCampaignAdsPostRequest) MarshalJSON() ([]byte, error)
- func (o *CampaignsCampaignAdsPostRequest) SetAdId(v string)
- func (o *CampaignsCampaignAdsPostRequest) SetFilterBrowser(v []string)
- func (o *CampaignsCampaignAdsPostRequest) SetFilterDevice(v []string)
- func (o *CampaignsCampaignAdsPostRequest) SetFilterPlatform(v []string)
- func (o *CampaignsCampaignAdsPostRequest) SetQuota(v []CampaignsCampaignAdsPostRequestQuotaInner)
- func (o *CampaignsCampaignAdsPostRequest) SetQuotaType(v string)
- func (o *CampaignsCampaignAdsPostRequest) SetWeight(v int32)
- func (o CampaignsCampaignAdsPostRequest) ToMap() (map[string]interface{}, error)
- type CampaignsCampaignAdsPostRequestQuotaInner
- func (o *CampaignsCampaignAdsPostRequestQuotaInner) GetKey() string
- func (o *CampaignsCampaignAdsPostRequestQuotaInner) GetKeyOk() (*string, bool)
- func (o *CampaignsCampaignAdsPostRequestQuotaInner) GetValue() int32
- func (o *CampaignsCampaignAdsPostRequestQuotaInner) GetValueOk() (*int32, bool)
- func (o CampaignsCampaignAdsPostRequestQuotaInner) MarshalJSON() ([]byte, error)
- func (o *CampaignsCampaignAdsPostRequestQuotaInner) SetKey(v string)
- func (o *CampaignsCampaignAdsPostRequestQuotaInner) SetValue(v int32)
- func (o CampaignsCampaignAdsPostRequestQuotaInner) ToMap() (map[string]interface{}, error)
- type CampaignsCampaignPutRequest
- func (o *CampaignsCampaignPutRequest) GetActive() bool
- func (o *CampaignsCampaignPutRequest) GetActiveOk() (*bool, bool)
- func (o *CampaignsCampaignPutRequest) GetDescription() string
- func (o *CampaignsCampaignPutRequest) GetDescriptionOk() (*string, bool)
- func (o *CampaignsCampaignPutRequest) GetSkipOffset() int32
- func (o *CampaignsCampaignPutRequest) GetSkipOffsetOk() (*int32, bool)
- func (o *CampaignsCampaignPutRequest) GetSkipType() string
- func (o *CampaignsCampaignPutRequest) GetSkipTypeOk() (*string, bool)
- func (o *CampaignsCampaignPutRequest) GetTitle() string
- func (o *CampaignsCampaignPutRequest) GetTitleOk() (*string, bool)
- func (o *CampaignsCampaignPutRequest) HasActive() bool
- func (o *CampaignsCampaignPutRequest) HasDescription() bool
- func (o *CampaignsCampaignPutRequest) HasSkipOffset() bool
- func (o *CampaignsCampaignPutRequest) HasSkipType() bool
- func (o *CampaignsCampaignPutRequest) HasTitle() bool
- func (o CampaignsCampaignPutRequest) MarshalJSON() ([]byte, error)
- func (o *CampaignsCampaignPutRequest) SetActive(v bool)
- func (o *CampaignsCampaignPutRequest) SetDescription(v string)
- func (o *CampaignsCampaignPutRequest) SetSkipOffset(v int32)
- func (o *CampaignsCampaignPutRequest) SetSkipType(v string)
- func (o *CampaignsCampaignPutRequest) SetTitle(v string)
- func (o CampaignsCampaignPutRequest) ToMap() (map[string]interface{}, error)
- type CategoriesCategoryPutRequest
- func (o *CategoriesCategoryPutRequest) GetTitle() string
- func (o *CategoriesCategoryPutRequest) GetTitleOk() (*string, bool)
- func (o *CategoriesCategoryPutRequest) HasTitle() bool
- func (o CategoriesCategoryPutRequest) MarshalJSON() ([]byte, error)
- func (o *CategoriesCategoryPutRequest) SetTitle(v string)
- func (o CategoriesCategoryPutRequest) ToMap() (map[string]interface{}, error)
- type CategoriesPostRequest
- type CategoryAPIService
- func (a *CategoryAPIService) CategoriesCategoryDelete(ctx context.Context, category string) ApiCategoriesCategoryDeleteRequest
- func (a *CategoryAPIService) CategoriesCategoryDeleteExecute(r ApiCategoriesCategoryDeleteRequest) (*http.Response, error)
- func (a *CategoryAPIService) CategoriesCategoryGet(ctx context.Context, category string) ApiCategoriesCategoryGetRequest
- func (a *CategoryAPIService) CategoriesCategoryGetExecute(r ApiCategoriesCategoryGetRequest) (*http.Response, error)
- func (a *CategoryAPIService) CategoriesCategoryPut(ctx context.Context, category string) ApiCategoriesCategoryPutRequest
- func (a *CategoryAPIService) CategoriesCategoryPutExecute(r ApiCategoriesCategoryPutRequest) (*http.Response, error)
- func (a *CategoryAPIService) CategoriesGet(ctx context.Context) ApiCategoriesGetRequest
- func (a *CategoryAPIService) CategoriesGetExecute(r ApiCategoriesGetRequest) (*http.Response, error)
- func (a *CategoryAPIService) CategoriesPost(ctx context.Context) ApiCategoriesPostRequest
- func (a *CategoryAPIService) CategoriesPostExecute(r ApiCategoriesPostRequest) (*http.Response, error)
- type ChannelAPIService
- func (a *ChannelAPIService) ChannelsChannelDelete(ctx context.Context, channel string) ApiChannelsChannelDeleteRequest
- func (a *ChannelAPIService) ChannelsChannelDeleteExecute(r ApiChannelsChannelDeleteRequest) (*http.Response, error)
- func (a *ChannelAPIService) ChannelsChannelGet(ctx context.Context, channel string) ApiChannelsChannelGetRequest
- func (a *ChannelAPIService) ChannelsChannelGetExecute(r ApiChannelsChannelGetRequest) (*http.Response, error)
- func (a *ChannelAPIService) ChannelsChannelPut(ctx context.Context, channel string) ApiChannelsChannelPutRequest
- func (a *ChannelAPIService) ChannelsChannelPutExecute(r ApiChannelsChannelPutRequest) (*http.Response, error)
- func (a *ChannelAPIService) ChannelsGet(ctx context.Context) ApiChannelsGetRequest
- func (a *ChannelAPIService) ChannelsGetExecute(r ApiChannelsGetRequest) (*http.Response, error)
- func (a *ChannelAPIService) ChannelsPost(ctx context.Context) ApiChannelsPostRequest
- func (a *ChannelAPIService) ChannelsPostExecute(r ApiChannelsPostRequest) (*http.Response, error)
- type ChannelsChannelCampaignsPostRequest
- func (o *ChannelsChannelCampaignsPostRequest) GetActive() bool
- func (o *ChannelsChannelCampaignsPostRequest) GetActiveOk() (*bool, bool)
- func (o *ChannelsChannelCampaignsPostRequest) GetDescription() string
- func (o *ChannelsChannelCampaignsPostRequest) GetDescriptionOk() (*string, bool)
- func (o *ChannelsChannelCampaignsPostRequest) GetSkipOffset() int32
- func (o *ChannelsChannelCampaignsPostRequest) GetSkipOffsetOk() (*int32, bool)
- func (o *ChannelsChannelCampaignsPostRequest) GetSkipType() string
- func (o *ChannelsChannelCampaignsPostRequest) GetSkipTypeOk() (*string, bool)
- func (o *ChannelsChannelCampaignsPostRequest) GetTitle() string
- func (o *ChannelsChannelCampaignsPostRequest) GetTitleOk() (*string, bool)
- func (o *ChannelsChannelCampaignsPostRequest) HasDescription() bool
- func (o *ChannelsChannelCampaignsPostRequest) HasSkipOffset() bool
- func (o ChannelsChannelCampaignsPostRequest) MarshalJSON() ([]byte, error)
- func (o *ChannelsChannelCampaignsPostRequest) SetActive(v bool)
- func (o *ChannelsChannelCampaignsPostRequest) SetDescription(v string)
- func (o *ChannelsChannelCampaignsPostRequest) SetSkipOffset(v int32)
- func (o *ChannelsChannelCampaignsPostRequest) SetSkipType(v string)
- func (o *ChannelsChannelCampaignsPostRequest) SetTitle(v string)
- func (o ChannelsChannelCampaignsPostRequest) ToMap() (map[string]interface{}, error)
- type ChannelsChannelPutRequest
- func (o *ChannelsChannelPutRequest) GetDescription() string
- func (o *ChannelsChannelPutRequest) GetDescriptionOk() (*string, bool)
- func (o *ChannelsChannelPutRequest) GetTitle() string
- func (o *ChannelsChannelPutRequest) GetTitleOk() (*string, bool)
- func (o *ChannelsChannelPutRequest) HasDescription() bool
- func (o *ChannelsChannelPutRequest) HasTitle() bool
- func (o ChannelsChannelPutRequest) MarshalJSON() ([]byte, error)
- func (o *ChannelsChannelPutRequest) SetDescription(v string)
- func (o *ChannelsChannelPutRequest) SetTitle(v string)
- func (o ChannelsChannelPutRequest) ToMap() (map[string]interface{}, error)
- type ChannelsPostRequest
- func (o *ChannelsPostRequest) GetDescription() string
- func (o *ChannelsPostRequest) GetDescriptionOk() (*string, bool)
- func (o *ChannelsPostRequest) GetTitle() string
- func (o *ChannelsPostRequest) GetTitleOk() (*string, bool)
- func (o *ChannelsPostRequest) HasDescription() bool
- func (o ChannelsPostRequest) MarshalJSON() ([]byte, error)
- func (o *ChannelsPostRequest) SetDescription(v string)
- func (o *ChannelsPostRequest) SetTitle(v string)
- func (o ChannelsPostRequest) ToMap() (map[string]interface{}, error)
- type Configuration
- type DomainAPIService
- func (a *DomainAPIService) DomainGet(ctx context.Context) ApiDomainGetRequest
- func (a *DomainAPIService) DomainGetExecute(r ApiDomainGetRequest) (*http.Response, error)
- func (a *DomainAPIService) DomainPost(ctx context.Context) ApiDomainPostRequest
- func (a *DomainAPIService) DomainPostExecute(r ApiDomainPostRequest) (*http.Response, error)
- type DomainPostRequest
- func (o *DomainPostRequest) GetSubdomain() string
- func (o *DomainPostRequest) GetSubdomainOk() (*string, bool)
- func (o *DomainPostRequest) HasSubdomain() bool
- func (o DomainPostRequest) MarshalJSON() ([]byte, error)
- func (o *DomainPostRequest) SetSubdomain(v string)
- func (o DomainPostRequest) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type MappedNullable
- type NullableAdsAdPutRequest
- func (v NullableAdsAdPutRequest) Get() *AdsAdPutRequest
- func (v NullableAdsAdPutRequest) IsSet() bool
- func (v NullableAdsAdPutRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAdsAdPutRequest) Set(val *AdsAdPutRequest)
- func (v *NullableAdsAdPutRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAdsAdPutRequest) Unset()
- type NullableBool
- type NullableCampaignsCampaignAdsAdPutRequest
- func (v NullableCampaignsCampaignAdsAdPutRequest) Get() *CampaignsCampaignAdsAdPutRequest
- func (v NullableCampaignsCampaignAdsAdPutRequest) IsSet() bool
- func (v NullableCampaignsCampaignAdsAdPutRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCampaignsCampaignAdsAdPutRequest) Set(val *CampaignsCampaignAdsAdPutRequest)
- func (v *NullableCampaignsCampaignAdsAdPutRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCampaignsCampaignAdsAdPutRequest) Unset()
- type NullableCampaignsCampaignAdsPostRequest
- func (v NullableCampaignsCampaignAdsPostRequest) Get() *CampaignsCampaignAdsPostRequest
- func (v NullableCampaignsCampaignAdsPostRequest) IsSet() bool
- func (v NullableCampaignsCampaignAdsPostRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCampaignsCampaignAdsPostRequest) Set(val *CampaignsCampaignAdsPostRequest)
- func (v *NullableCampaignsCampaignAdsPostRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCampaignsCampaignAdsPostRequest) Unset()
- type NullableCampaignsCampaignAdsPostRequestQuotaInner
- func (v NullableCampaignsCampaignAdsPostRequestQuotaInner) Get() *CampaignsCampaignAdsPostRequestQuotaInner
- func (v NullableCampaignsCampaignAdsPostRequestQuotaInner) IsSet() bool
- func (v NullableCampaignsCampaignAdsPostRequestQuotaInner) MarshalJSON() ([]byte, error)
- func (v *NullableCampaignsCampaignAdsPostRequestQuotaInner) Set(val *CampaignsCampaignAdsPostRequestQuotaInner)
- func (v *NullableCampaignsCampaignAdsPostRequestQuotaInner) UnmarshalJSON(src []byte) error
- func (v *NullableCampaignsCampaignAdsPostRequestQuotaInner) Unset()
- type NullableCampaignsCampaignPutRequest
- func (v NullableCampaignsCampaignPutRequest) Get() *CampaignsCampaignPutRequest
- func (v NullableCampaignsCampaignPutRequest) IsSet() bool
- func (v NullableCampaignsCampaignPutRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCampaignsCampaignPutRequest) Set(val *CampaignsCampaignPutRequest)
- func (v *NullableCampaignsCampaignPutRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCampaignsCampaignPutRequest) Unset()
- type NullableCategoriesCategoryPutRequest
- func (v NullableCategoriesCategoryPutRequest) Get() *CategoriesCategoryPutRequest
- func (v NullableCategoriesCategoryPutRequest) IsSet() bool
- func (v NullableCategoriesCategoryPutRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCategoriesCategoryPutRequest) Set(val *CategoriesCategoryPutRequest)
- func (v *NullableCategoriesCategoryPutRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCategoriesCategoryPutRequest) Unset()
- type NullableCategoriesPostRequest
- func (v NullableCategoriesPostRequest) Get() *CategoriesPostRequest
- func (v NullableCategoriesPostRequest) IsSet() bool
- func (v NullableCategoriesPostRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCategoriesPostRequest) Set(val *CategoriesPostRequest)
- func (v *NullableCategoriesPostRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCategoriesPostRequest) Unset()
- type NullableChannelsChannelCampaignsPostRequest
- func (v NullableChannelsChannelCampaignsPostRequest) Get() *ChannelsChannelCampaignsPostRequest
- func (v NullableChannelsChannelCampaignsPostRequest) IsSet() bool
- func (v NullableChannelsChannelCampaignsPostRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChannelsChannelCampaignsPostRequest) Set(val *ChannelsChannelCampaignsPostRequest)
- func (v *NullableChannelsChannelCampaignsPostRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChannelsChannelCampaignsPostRequest) Unset()
- type NullableChannelsChannelPutRequest
- func (v NullableChannelsChannelPutRequest) Get() *ChannelsChannelPutRequest
- func (v NullableChannelsChannelPutRequest) IsSet() bool
- func (v NullableChannelsChannelPutRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChannelsChannelPutRequest) Set(val *ChannelsChannelPutRequest)
- func (v *NullableChannelsChannelPutRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChannelsChannelPutRequest) Unset()
- type NullableChannelsPostRequest
- func (v NullableChannelsPostRequest) Get() *ChannelsPostRequest
- func (v NullableChannelsPostRequest) IsSet() bool
- func (v NullableChannelsPostRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChannelsPostRequest) Set(val *ChannelsPostRequest)
- func (v *NullableChannelsPostRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChannelsPostRequest) Unset()
- type NullableDomainPostRequest
- func (v NullableDomainPostRequest) Get() *DomainPostRequest
- func (v NullableDomainPostRequest) IsSet() bool
- func (v NullableDomainPostRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDomainPostRequest) Set(val *DomainPostRequest)
- func (v *NullableDomainPostRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDomainPostRequest) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableString
- type NullableTime
- type ReportAPIService
- func (a *ReportAPIService) AdsAdReportsTrackEventPeriodGet(ctx context.Context, ad string, event string, period string) ApiAdsAdReportsTrackEventPeriodGetRequest
- func (a *ReportAPIService) AdsAdReportsTrackEventPeriodGetExecute(r ApiAdsAdReportsTrackEventPeriodGetRequest) (*http.Response, error)
- func (a *ReportAPIService) CampaignsCampaignAdsAdReportsTrackEventPeriodGet(ctx context.Context, campaign string, ad string, event string, period string) ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest
- func (a *ReportAPIService) CampaignsCampaignAdsAdReportsTrackEventPeriodGetExecute(r ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest) (*http.Response, error)
- func (a *ReportAPIService) CampaignsCampaignReportsTrackEventPeriodGet(ctx context.Context, campaign string, event string, period string) ApiCampaignsCampaignReportsTrackEventPeriodGetRequest
- func (a *ReportAPIService) CampaignsCampaignReportsTrackEventPeriodGetExecute(r ApiCampaignsCampaignReportsTrackEventPeriodGetRequest) (*http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AdAPI *AdAPIService AdsCategoryAPI *AdsCategoryAPIService CampaignAPI *CampaignAPIService CampaignsAdAPI *CampaignsAdAPIService CategoryAPI *CategoryAPIService ChannelAPI *ChannelAPIService DomainAPI *DomainAPIService ReportAPI *ReportAPIService // contains filtered or unexported fields }
APIClient manages communication with the ArvanCloud Video Advertising Service API v2.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AdAPIService ¶
type AdAPIService service
AdAPIService AdAPI service
func (*AdAPIService) AdsAdDelete ¶
func (a *AdAPIService) AdsAdDelete(ctx context.Context, ad string) ApiAdsAdDeleteRequest
AdsAdDelete Remove the specified ad.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ad The Id of ad @return ApiAdsAdDeleteRequest
func (*AdAPIService) AdsAdDeleteExecute ¶
func (a *AdAPIService) AdsAdDeleteExecute(r ApiAdsAdDeleteRequest) (*http.Response, error)
Execute executes the request
func (*AdAPIService) AdsAdGet ¶
func (a *AdAPIService) AdsAdGet(ctx context.Context, ad string) ApiAdsAdGetRequest
AdsAdGet Return the specified ad.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ad The Id of ad @return ApiAdsAdGetRequest
func (*AdAPIService) AdsAdGetExecute ¶
func (a *AdAPIService) AdsAdGetExecute(r ApiAdsAdGetRequest) (*http.Response, error)
Execute executes the request
func (*AdAPIService) AdsAdPut ¶
func (a *AdAPIService) AdsAdPut(ctx context.Context, ad string) ApiAdsAdPutRequest
AdsAdPut Update the specified ad.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ad The Id of ad @return ApiAdsAdPutRequest
func (*AdAPIService) AdsAdPutExecute ¶
func (a *AdAPIService) AdsAdPutExecute(r ApiAdsAdPutRequest) (*http.Response, error)
Execute executes the request
func (*AdAPIService) ChannelsChannelAdsGet ¶
func (a *AdAPIService) ChannelsChannelAdsGet(ctx context.Context, channel string) ApiChannelsChannelAdsGetRequest
ChannelsChannelAdsGet Return all channel's ads.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channel The Id of channel @return ApiChannelsChannelAdsGetRequest
func (*AdAPIService) ChannelsChannelAdsGetExecute ¶
func (a *AdAPIService) ChannelsChannelAdsGetExecute(r ApiChannelsChannelAdsGetRequest) (*http.Response, error)
Execute executes the request
func (*AdAPIService) ChannelsChannelAdsPost ¶
func (a *AdAPIService) ChannelsChannelAdsPost(ctx context.Context, channel string) ApiChannelsChannelAdsPostRequest
ChannelsChannelAdsPost Store a newly ad for specific channel.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channel The Id of channel @return ApiChannelsChannelAdsPostRequest
func (*AdAPIService) ChannelsChannelAdsPostExecute ¶
func (a *AdAPIService) ChannelsChannelAdsPostExecute(r ApiChannelsChannelAdsPostRequest) (*http.Response, error)
Execute executes the request
type AdsAdPutRequest ¶
type AdsAdPutRequest struct { // Title of ad Title *string `json:"title,omitempty"` // Description of ad Description *string `json:"description,omitempty"` // Ad type AdType *string `json:"ad_type,omitempty"` // Specify mid-roll time in seconds PlayTime *int32 `json:"play_time,omitempty"` // Skip type SkipType *string `json:"skip_type,omitempty"` // Skip offset in seconds (required if skip type is allow) SkipOffset *int32 `json:"skip_offset,omitempty"` // Click URL when user click on ad ClickThrough *string `json:"click_through,omitempty"` }
AdsAdPutRequest struct for AdsAdPutRequest
func NewAdsAdPutRequest ¶
func NewAdsAdPutRequest() *AdsAdPutRequest
NewAdsAdPutRequest instantiates a new AdsAdPutRequest 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
func NewAdsAdPutRequestWithDefaults ¶
func NewAdsAdPutRequestWithDefaults() *AdsAdPutRequest
NewAdsAdPutRequestWithDefaults instantiates a new AdsAdPutRequest 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
func (*AdsAdPutRequest) GetAdType ¶
func (o *AdsAdPutRequest) GetAdType() string
GetAdType returns the AdType field value if set, zero value otherwise.
func (*AdsAdPutRequest) GetAdTypeOk ¶
func (o *AdsAdPutRequest) GetAdTypeOk() (*string, bool)
GetAdTypeOk returns a tuple with the AdType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdsAdPutRequest) GetClickThrough ¶
func (o *AdsAdPutRequest) GetClickThrough() string
GetClickThrough returns the ClickThrough field value if set, zero value otherwise.
func (*AdsAdPutRequest) GetClickThroughOk ¶
func (o *AdsAdPutRequest) GetClickThroughOk() (*string, bool)
GetClickThroughOk returns a tuple with the ClickThrough field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdsAdPutRequest) GetDescription ¶
func (o *AdsAdPutRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AdsAdPutRequest) GetDescriptionOk ¶
func (o *AdsAdPutRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdsAdPutRequest) GetPlayTime ¶
func (o *AdsAdPutRequest) GetPlayTime() int32
GetPlayTime returns the PlayTime field value if set, zero value otherwise.
func (*AdsAdPutRequest) GetPlayTimeOk ¶
func (o *AdsAdPutRequest) GetPlayTimeOk() (*int32, bool)
GetPlayTimeOk returns a tuple with the PlayTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdsAdPutRequest) GetSkipOffset ¶
func (o *AdsAdPutRequest) GetSkipOffset() int32
GetSkipOffset returns the SkipOffset field value if set, zero value otherwise.
func (*AdsAdPutRequest) GetSkipOffsetOk ¶
func (o *AdsAdPutRequest) GetSkipOffsetOk() (*int32, bool)
GetSkipOffsetOk returns a tuple with the SkipOffset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdsAdPutRequest) GetSkipType ¶
func (o *AdsAdPutRequest) GetSkipType() string
GetSkipType returns the SkipType field value if set, zero value otherwise.
func (*AdsAdPutRequest) GetSkipTypeOk ¶
func (o *AdsAdPutRequest) GetSkipTypeOk() (*string, bool)
GetSkipTypeOk returns a tuple with the SkipType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdsAdPutRequest) GetTitle ¶
func (o *AdsAdPutRequest) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*AdsAdPutRequest) GetTitleOk ¶
func (o *AdsAdPutRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdsAdPutRequest) HasAdType ¶
func (o *AdsAdPutRequest) HasAdType() bool
HasAdType returns a boolean if a field has been set.
func (*AdsAdPutRequest) HasClickThrough ¶
func (o *AdsAdPutRequest) HasClickThrough() bool
HasClickThrough returns a boolean if a field has been set.
func (*AdsAdPutRequest) HasDescription ¶
func (o *AdsAdPutRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AdsAdPutRequest) HasPlayTime ¶
func (o *AdsAdPutRequest) HasPlayTime() bool
HasPlayTime returns a boolean if a field has been set.
func (*AdsAdPutRequest) HasSkipOffset ¶
func (o *AdsAdPutRequest) HasSkipOffset() bool
HasSkipOffset returns a boolean if a field has been set.
func (*AdsAdPutRequest) HasSkipType ¶
func (o *AdsAdPutRequest) HasSkipType() bool
HasSkipType returns a boolean if a field has been set.
func (*AdsAdPutRequest) HasTitle ¶
func (o *AdsAdPutRequest) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (AdsAdPutRequest) MarshalJSON ¶
func (o AdsAdPutRequest) MarshalJSON() ([]byte, error)
func (*AdsAdPutRequest) SetAdType ¶
func (o *AdsAdPutRequest) SetAdType(v string)
SetAdType gets a reference to the given string and assigns it to the AdType field.
func (*AdsAdPutRequest) SetClickThrough ¶
func (o *AdsAdPutRequest) SetClickThrough(v string)
SetClickThrough gets a reference to the given string and assigns it to the ClickThrough field.
func (*AdsAdPutRequest) SetDescription ¶
func (o *AdsAdPutRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AdsAdPutRequest) SetPlayTime ¶
func (o *AdsAdPutRequest) SetPlayTime(v int32)
SetPlayTime gets a reference to the given int32 and assigns it to the PlayTime field.
func (*AdsAdPutRequest) SetSkipOffset ¶
func (o *AdsAdPutRequest) SetSkipOffset(v int32)
SetSkipOffset gets a reference to the given int32 and assigns it to the SkipOffset field.
func (*AdsAdPutRequest) SetSkipType ¶
func (o *AdsAdPutRequest) SetSkipType(v string)
SetSkipType gets a reference to the given string and assigns it to the SkipType field.
func (*AdsAdPutRequest) SetTitle ¶
func (o *AdsAdPutRequest) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (AdsAdPutRequest) ToMap ¶
func (o AdsAdPutRequest) ToMap() (map[string]interface{}, error)
type AdsCategoryAPIService ¶
type AdsCategoryAPIService service
AdsCategoryAPIService AdsCategoryAPI service
func (*AdsCategoryAPIService) AdsAdCategoriesCategoryDelete ¶
func (a *AdsCategoryAPIService) AdsAdCategoriesCategoryDelete(ctx context.Context, ad string, category string) ApiAdsAdCategoriesCategoryDeleteRequest
AdsAdCategoriesCategoryDelete Detach category from ad.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ad The Id of ad @param category The Id of category @return ApiAdsAdCategoriesCategoryDeleteRequest
func (*AdsCategoryAPIService) AdsAdCategoriesCategoryDeleteExecute ¶
func (a *AdsCategoryAPIService) AdsAdCategoriesCategoryDeleteExecute(r ApiAdsAdCategoriesCategoryDeleteRequest) (*http.Response, error)
Execute executes the request
func (*AdsCategoryAPIService) AdsAdCategoriesCategoryPut ¶
func (a *AdsCategoryAPIService) AdsAdCategoriesCategoryPut(ctx context.Context, ad string, category string) ApiAdsAdCategoriesCategoryPutRequest
AdsAdCategoriesCategoryPut Attach category to ad
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ad The Id of ad @param category The Id of category @return ApiAdsAdCategoriesCategoryPutRequest
func (*AdsCategoryAPIService) AdsAdCategoriesCategoryPutExecute ¶
func (a *AdsCategoryAPIService) AdsAdCategoriesCategoryPutExecute(r ApiAdsAdCategoriesCategoryPutRequest) (*http.Response, error)
Execute executes the request
func (*AdsCategoryAPIService) AdsAdCategoriesGet ¶
func (a *AdsCategoryAPIService) AdsAdCategoriesGet(ctx context.Context, ad string) ApiAdsAdCategoriesGetRequest
AdsAdCategoriesGet Return all ad's categories.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ad The Id of ad @return ApiAdsAdCategoriesGetRequest
func (*AdsCategoryAPIService) AdsAdCategoriesGetExecute ¶
func (a *AdsCategoryAPIService) AdsAdCategoriesGetExecute(r ApiAdsAdCategoriesGetRequest) (*http.Response, error)
Execute executes the request
type ApiAdsAdCategoriesCategoryDeleteRequest ¶
type ApiAdsAdCategoriesCategoryDeleteRequest struct { ApiService *AdsCategoryAPIService // contains filtered or unexported fields }
type ApiAdsAdCategoriesCategoryPutRequest ¶
type ApiAdsAdCategoriesCategoryPutRequest struct { ApiService *AdsCategoryAPIService // contains filtered or unexported fields }
type ApiAdsAdCategoriesGetRequest ¶
type ApiAdsAdCategoriesGetRequest struct { ApiService *AdsCategoryAPIService // contains filtered or unexported fields }
type ApiAdsAdDeleteRequest ¶
type ApiAdsAdDeleteRequest struct { ApiService *AdAPIService // contains filtered or unexported fields }
type ApiAdsAdGetRequest ¶
type ApiAdsAdGetRequest struct { ApiService *AdAPIService // contains filtered or unexported fields }
type ApiAdsAdPutRequest ¶
type ApiAdsAdPutRequest struct { ApiService *AdAPIService // contains filtered or unexported fields }
func (ApiAdsAdPutRequest) Body ¶
func (r ApiAdsAdPutRequest) Body(body AdsAdPutRequest) ApiAdsAdPutRequest
Ad's details
type ApiAdsAdReportsTrackEventPeriodGetRequest ¶
type ApiAdsAdReportsTrackEventPeriodGetRequest struct { ApiService *ReportAPIService // contains filtered or unexported fields }
func (ApiAdsAdReportsTrackEventPeriodGetRequest) Execute ¶
func (r ApiAdsAdReportsTrackEventPeriodGetRequest) Execute() (*http.Response, error)
func (ApiAdsAdReportsTrackEventPeriodGetRequest) From ¶
func (r ApiAdsAdReportsTrackEventPeriodGetRequest) From(from string) ApiAdsAdReportsTrackEventPeriodGetRequest
Starting datetime of report. Format: 'YYYY-MM-DD H:i:s' like: '2018-01-01 00:00:00'
func (ApiAdsAdReportsTrackEventPeriodGetRequest) To ¶
func (r ApiAdsAdReportsTrackEventPeriodGetRequest) To(to string) ApiAdsAdReportsTrackEventPeriodGetRequest
Ending datetime of report. Format: 'YYYY-MM-DD H:i:s' like: '2018-01-01 00:00:00'
type ApiCampaignsCampaignAdsAdDeleteRequest ¶
type ApiCampaignsCampaignAdsAdDeleteRequest struct { ApiService *CampaignsAdAPIService // contains filtered or unexported fields }
type ApiCampaignsCampaignAdsAdGetRequest ¶
type ApiCampaignsCampaignAdsAdGetRequest struct { ApiService *CampaignsAdAPIService // contains filtered or unexported fields }
type ApiCampaignsCampaignAdsAdPutRequest ¶
type ApiCampaignsCampaignAdsAdPutRequest struct { ApiService *CampaignsAdAPIService // contains filtered or unexported fields }
func (ApiCampaignsCampaignAdsAdPutRequest) Body ¶
func (r ApiCampaignsCampaignAdsAdPutRequest) Body(body CampaignsCampaignAdsAdPutRequest) ApiCampaignsCampaignAdsAdPutRequest
Campaign's ad details
type ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest ¶
type ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest struct { ApiService *ReportAPIService // contains filtered or unexported fields }
func (ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest) Execute ¶
func (r ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest) Execute() (*http.Response, error)
func (ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest) From ¶
func (r ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest) From(from string) ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest
Starting datetime of report. Format: 'YYYY-MM-DD H:i:s' like: '2018-01-01 00:00:00'
func (ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest) To ¶
func (r ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest) To(to string) ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest
Ending datetime of report. Format: 'YYYY-MM-DD H:i:s' like: '2018-01-01 00:00:00'
type ApiCampaignsCampaignAdsGetRequest ¶
type ApiCampaignsCampaignAdsGetRequest struct { ApiService *CampaignsAdAPIService // contains filtered or unexported fields }
type ApiCampaignsCampaignAdsPostRequest ¶
type ApiCampaignsCampaignAdsPostRequest struct { ApiService *CampaignsAdAPIService // contains filtered or unexported fields }
func (ApiCampaignsCampaignAdsPostRequest) Body ¶
func (r ApiCampaignsCampaignAdsPostRequest) Body(body CampaignsCampaignAdsPostRequest) ApiCampaignsCampaignAdsPostRequest
Campaign's ad details
type ApiCampaignsCampaignDeleteRequest ¶
type ApiCampaignsCampaignDeleteRequest struct { ApiService *CampaignAPIService // contains filtered or unexported fields }
type ApiCampaignsCampaignGetRequest ¶
type ApiCampaignsCampaignGetRequest struct { ApiService *CampaignAPIService // contains filtered or unexported fields }
type ApiCampaignsCampaignPutRequest ¶
type ApiCampaignsCampaignPutRequest struct { ApiService *CampaignAPIService // contains filtered or unexported fields }
func (ApiCampaignsCampaignPutRequest) Body ¶
func (r ApiCampaignsCampaignPutRequest) Body(body CampaignsCampaignPutRequest) ApiCampaignsCampaignPutRequest
Ad's ad details
type ApiCampaignsCampaignReportsTrackEventPeriodGetRequest ¶
type ApiCampaignsCampaignReportsTrackEventPeriodGetRequest struct { ApiService *ReportAPIService // contains filtered or unexported fields }
func (ApiCampaignsCampaignReportsTrackEventPeriodGetRequest) Execute ¶
func (r ApiCampaignsCampaignReportsTrackEventPeriodGetRequest) Execute() (*http.Response, error)
func (ApiCampaignsCampaignReportsTrackEventPeriodGetRequest) From ¶
func (r ApiCampaignsCampaignReportsTrackEventPeriodGetRequest) From(from string) ApiCampaignsCampaignReportsTrackEventPeriodGetRequest
Starting datetime of report. Format: 'YYYY-MM-DD H:i:s' like: '2018-01-01 00:00:00'
func (ApiCampaignsCampaignReportsTrackEventPeriodGetRequest) To ¶
func (r ApiCampaignsCampaignReportsTrackEventPeriodGetRequest) To(to string) ApiCampaignsCampaignReportsTrackEventPeriodGetRequest
Ending datetime of report. Format: 'YYYY-MM-DD H:i:s' like: '2018-01-01 00:00:00'
type ApiCategoriesCategoryDeleteRequest ¶
type ApiCategoriesCategoryDeleteRequest struct { ApiService *CategoryAPIService // contains filtered or unexported fields }
type ApiCategoriesCategoryGetRequest ¶
type ApiCategoriesCategoryGetRequest struct { ApiService *CategoryAPIService // contains filtered or unexported fields }
type ApiCategoriesCategoryPutRequest ¶
type ApiCategoriesCategoryPutRequest struct { ApiService *CategoryAPIService // contains filtered or unexported fields }
func (ApiCategoriesCategoryPutRequest) Body ¶
func (r ApiCategoriesCategoryPutRequest) Body(body CategoriesCategoryPutRequest) ApiCategoriesCategoryPutRequest
Category details
type ApiCategoriesGetRequest ¶
type ApiCategoriesGetRequest struct { ApiService *CategoryAPIService // contains filtered or unexported fields }
func (ApiCategoriesGetRequest) Execute ¶
func (r ApiCategoriesGetRequest) Execute() (*http.Response, error)
func (ApiCategoriesGetRequest) Page ¶
func (r ApiCategoriesGetRequest) Page(page int32) ApiCategoriesGetRequest
Page number
func (ApiCategoriesGetRequest) PerPage ¶
func (r ApiCategoriesGetRequest) PerPage(perPage int32) ApiCategoriesGetRequest
Page limit
type ApiCategoriesPostRequest ¶
type ApiCategoriesPostRequest struct { ApiService *CategoryAPIService // contains filtered or unexported fields }
func (ApiCategoriesPostRequest) Body ¶
func (r ApiCategoriesPostRequest) Body(body CategoriesPostRequest) ApiCategoriesPostRequest
Category details
type ApiChannelsChannelAdsGetRequest ¶
type ApiChannelsChannelAdsGetRequest struct { ApiService *AdAPIService // contains filtered or unexported fields }
func (ApiChannelsChannelAdsGetRequest) Execute ¶
func (r ApiChannelsChannelAdsGetRequest) Execute() (*http.Response, error)
func (ApiChannelsChannelAdsGetRequest) Filter ¶
func (r ApiChannelsChannelAdsGetRequest) Filter(filter string) ApiChannelsChannelAdsGetRequest
Filter result
func (ApiChannelsChannelAdsGetRequest) Page ¶
func (r ApiChannelsChannelAdsGetRequest) Page(page int32) ApiChannelsChannelAdsGetRequest
Page number
func (ApiChannelsChannelAdsGetRequest) PerPage ¶
func (r ApiChannelsChannelAdsGetRequest) PerPage(perPage int32) ApiChannelsChannelAdsGetRequest
Page limit for query
type ApiChannelsChannelAdsPostRequest ¶
type ApiChannelsChannelAdsPostRequest struct { ApiService *AdAPIService // contains filtered or unexported fields }
func (ApiChannelsChannelAdsPostRequest) AdType ¶
func (r ApiChannelsChannelAdsPostRequest) AdType(adType string) ApiChannelsChannelAdsPostRequest
Ad type
func (ApiChannelsChannelAdsPostRequest) ClickThrough ¶
func (r ApiChannelsChannelAdsPostRequest) ClickThrough(clickThrough string) ApiChannelsChannelAdsPostRequest
Click URL when user click on ad
func (ApiChannelsChannelAdsPostRequest) Description ¶
func (r ApiChannelsChannelAdsPostRequest) Description(description string) ApiChannelsChannelAdsPostRequest
Description of ad
func (ApiChannelsChannelAdsPostRequest) Execute ¶
func (r ApiChannelsChannelAdsPostRequest) Execute() (*http.Response, error)
func (ApiChannelsChannelAdsPostRequest) MediaFile ¶
func (r ApiChannelsChannelAdsPostRequest) MediaFile(mediaFile *os.File) ApiChannelsChannelAdsPostRequest
Media file for ad (Accept video/mp4 for pre_roll ads)
func (ApiChannelsChannelAdsPostRequest) SkipOffset ¶
func (r ApiChannelsChannelAdsPostRequest) SkipOffset(skipOffset int32) ApiChannelsChannelAdsPostRequest
Skip offset in seconds (required if skip type is allow)
func (ApiChannelsChannelAdsPostRequest) SkipType ¶
func (r ApiChannelsChannelAdsPostRequest) SkipType(skipType string) ApiChannelsChannelAdsPostRequest
Skip type
func (ApiChannelsChannelAdsPostRequest) Title ¶
func (r ApiChannelsChannelAdsPostRequest) Title(title string) ApiChannelsChannelAdsPostRequest
Title of ad
type ApiChannelsChannelCampaignsGetRequest ¶
type ApiChannelsChannelCampaignsGetRequest struct { ApiService *CampaignAPIService // contains filtered or unexported fields }
func (ApiChannelsChannelCampaignsGetRequest) Execute ¶
func (r ApiChannelsChannelCampaignsGetRequest) Execute() (*http.Response, error)
func (ApiChannelsChannelCampaignsGetRequest) Page ¶
func (r ApiChannelsChannelCampaignsGetRequest) Page(page int32) ApiChannelsChannelCampaignsGetRequest
Page number
func (ApiChannelsChannelCampaignsGetRequest) PerPage ¶
func (r ApiChannelsChannelCampaignsGetRequest) PerPage(perPage int32) ApiChannelsChannelCampaignsGetRequest
Page limit for query
type ApiChannelsChannelCampaignsPostRequest ¶
type ApiChannelsChannelCampaignsPostRequest struct { ApiService *CampaignAPIService // contains filtered or unexported fields }
func (ApiChannelsChannelCampaignsPostRequest) Body ¶
func (r ApiChannelsChannelCampaignsPostRequest) Body(body ChannelsChannelCampaignsPostRequest) ApiChannelsChannelCampaignsPostRequest
Ad's ad details
type ApiChannelsChannelDeleteRequest ¶
type ApiChannelsChannelDeleteRequest struct { ApiService *ChannelAPIService // contains filtered or unexported fields }
type ApiChannelsChannelGetRequest ¶
type ApiChannelsChannelGetRequest struct { ApiService *ChannelAPIService // contains filtered or unexported fields }
type ApiChannelsChannelPutRequest ¶
type ApiChannelsChannelPutRequest struct { ApiService *ChannelAPIService // contains filtered or unexported fields }
func (ApiChannelsChannelPutRequest) Body ¶
func (r ApiChannelsChannelPutRequest) Body(body ChannelsChannelPutRequest) ApiChannelsChannelPutRequest
Channel details
type ApiChannelsGetRequest ¶
type ApiChannelsGetRequest struct { ApiService *ChannelAPIService // contains filtered or unexported fields }
func (ApiChannelsGetRequest) Execute ¶
func (r ApiChannelsGetRequest) Execute() (*http.Response, error)
func (ApiChannelsGetRequest) Filter ¶
func (r ApiChannelsGetRequest) Filter(filter string) ApiChannelsGetRequest
Filter result
func (ApiChannelsGetRequest) Page ¶
func (r ApiChannelsGetRequest) Page(page int32) ApiChannelsGetRequest
Page number
func (ApiChannelsGetRequest) PerPage ¶
func (r ApiChannelsGetRequest) PerPage(perPage int32) ApiChannelsGetRequest
Page limit
type ApiChannelsPostRequest ¶
type ApiChannelsPostRequest struct { ApiService *ChannelAPIService // contains filtered or unexported fields }
func (ApiChannelsPostRequest) Body ¶
func (r ApiChannelsPostRequest) Body(body ChannelsPostRequest) ApiChannelsPostRequest
Channel details
type ApiDomainGetRequest ¶
type ApiDomainGetRequest struct { ApiService *DomainAPIService // contains filtered or unexported fields }
type ApiDomainPostRequest ¶
type ApiDomainPostRequest struct { ApiService *DomainAPIService // contains filtered or unexported fields }
func (ApiDomainPostRequest) Body ¶
func (r ApiDomainPostRequest) Body(body DomainPostRequest) ApiDomainPostRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CampaignAPIService ¶
type CampaignAPIService service
CampaignAPIService CampaignAPI service
func (*CampaignAPIService) CampaignsCampaignDelete ¶
func (a *CampaignAPIService) CampaignsCampaignDelete(ctx context.Context, campaign string) ApiCampaignsCampaignDeleteRequest
CampaignsCampaignDelete Remove the specified campaign.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param campaign The Id of campaign @return ApiCampaignsCampaignDeleteRequest
func (*CampaignAPIService) CampaignsCampaignDeleteExecute ¶
func (a *CampaignAPIService) CampaignsCampaignDeleteExecute(r ApiCampaignsCampaignDeleteRequest) (*http.Response, error)
Execute executes the request
func (*CampaignAPIService) CampaignsCampaignGet ¶
func (a *CampaignAPIService) CampaignsCampaignGet(ctx context.Context, campaign string) ApiCampaignsCampaignGetRequest
CampaignsCampaignGet Return the specified campaign.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param campaign The Id of campaign @return ApiCampaignsCampaignGetRequest
func (*CampaignAPIService) CampaignsCampaignGetExecute ¶
func (a *CampaignAPIService) CampaignsCampaignGetExecute(r ApiCampaignsCampaignGetRequest) (*http.Response, error)
Execute executes the request
func (*CampaignAPIService) CampaignsCampaignPut ¶
func (a *CampaignAPIService) CampaignsCampaignPut(ctx context.Context, campaign string) ApiCampaignsCampaignPutRequest
CampaignsCampaignPut Update the specified campaign.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param campaign The Id of campaign @return ApiCampaignsCampaignPutRequest
func (*CampaignAPIService) CampaignsCampaignPutExecute ¶
func (a *CampaignAPIService) CampaignsCampaignPutExecute(r ApiCampaignsCampaignPutRequest) (*http.Response, error)
Execute executes the request
func (*CampaignAPIService) ChannelsChannelCampaignsGet ¶
func (a *CampaignAPIService) ChannelsChannelCampaignsGet(ctx context.Context, channel string) ApiChannelsChannelCampaignsGetRequest
ChannelsChannelCampaignsGet Return all channel's campaigns.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channel The Id of channel @return ApiChannelsChannelCampaignsGetRequest
func (*CampaignAPIService) ChannelsChannelCampaignsGetExecute ¶
func (a *CampaignAPIService) ChannelsChannelCampaignsGetExecute(r ApiChannelsChannelCampaignsGetRequest) (*http.Response, error)
Execute executes the request
func (*CampaignAPIService) ChannelsChannelCampaignsPost ¶
func (a *CampaignAPIService) ChannelsChannelCampaignsPost(ctx context.Context, channel string) ApiChannelsChannelCampaignsPostRequest
ChannelsChannelCampaignsPost Store a newly campaign for specific channel.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channel The Id of channel @return ApiChannelsChannelCampaignsPostRequest
func (*CampaignAPIService) ChannelsChannelCampaignsPostExecute ¶
func (a *CampaignAPIService) ChannelsChannelCampaignsPostExecute(r ApiChannelsChannelCampaignsPostRequest) (*http.Response, error)
Execute executes the request
type CampaignsAdAPIService ¶
type CampaignsAdAPIService service
CampaignsAdAPIService CampaignsAdAPI service
func (*CampaignsAdAPIService) CampaignsCampaignAdsAdDelete ¶
func (a *CampaignsAdAPIService) CampaignsCampaignAdsAdDelete(ctx context.Context, campaign string, ad string) ApiCampaignsCampaignAdsAdDeleteRequest
CampaignsCampaignAdsAdDelete Detach ad from campaign.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param campaign The Id of campaign @param ad The Id of ad @return ApiCampaignsCampaignAdsAdDeleteRequest
func (*CampaignsAdAPIService) CampaignsCampaignAdsAdDeleteExecute ¶
func (a *CampaignsAdAPIService) CampaignsCampaignAdsAdDeleteExecute(r ApiCampaignsCampaignAdsAdDeleteRequest) (*http.Response, error)
Execute executes the request
func (*CampaignsAdAPIService) CampaignsCampaignAdsAdGet ¶
func (a *CampaignsAdAPIService) CampaignsCampaignAdsAdGet(ctx context.Context, campaign string, ad string) ApiCampaignsCampaignAdsAdGetRequest
CampaignsCampaignAdsAdGet Show attach detail of specific campaign's ad.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param campaign The Id of campaign @param ad The Id of ad @return ApiCampaignsCampaignAdsAdGetRequest
func (*CampaignsAdAPIService) CampaignsCampaignAdsAdGetExecute ¶
func (a *CampaignsAdAPIService) CampaignsCampaignAdsAdGetExecute(r ApiCampaignsCampaignAdsAdGetRequest) (*http.Response, error)
Execute executes the request
func (*CampaignsAdAPIService) CampaignsCampaignAdsAdPut ¶
func (a *CampaignsAdAPIService) CampaignsCampaignAdsAdPut(ctx context.Context, campaign string, ad string) ApiCampaignsCampaignAdsAdPutRequest
CampaignsCampaignAdsAdPut Update the specified campaign's ad.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param campaign The Id of campaign @param ad The Id of ad @return ApiCampaignsCampaignAdsAdPutRequest
func (*CampaignsAdAPIService) CampaignsCampaignAdsAdPutExecute ¶
func (a *CampaignsAdAPIService) CampaignsCampaignAdsAdPutExecute(r ApiCampaignsCampaignAdsAdPutRequest) (*http.Response, error)
Execute executes the request
func (*CampaignsAdAPIService) CampaignsCampaignAdsGet ¶
func (a *CampaignsAdAPIService) CampaignsCampaignAdsGet(ctx context.Context, campaign string) ApiCampaignsCampaignAdsGetRequest
CampaignsCampaignAdsGet Return all campaign's ads.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param campaign The Id of campaign @return ApiCampaignsCampaignAdsGetRequest
func (*CampaignsAdAPIService) CampaignsCampaignAdsGetExecute ¶
func (a *CampaignsAdAPIService) CampaignsCampaignAdsGetExecute(r ApiCampaignsCampaignAdsGetRequest) (*http.Response, error)
Execute executes the request
func (*CampaignsAdAPIService) CampaignsCampaignAdsPost ¶
func (a *CampaignsAdAPIService) CampaignsCampaignAdsPost(ctx context.Context, campaign string) ApiCampaignsCampaignAdsPostRequest
CampaignsCampaignAdsPost Attach ad to campaign
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param campaign The Id of campaign @return ApiCampaignsCampaignAdsPostRequest
func (*CampaignsAdAPIService) CampaignsCampaignAdsPostExecute ¶
func (a *CampaignsAdAPIService) CampaignsCampaignAdsPostExecute(r ApiCampaignsCampaignAdsPostRequest) (*http.Response, error)
Execute executes the request
type CampaignsCampaignAdsAdPutRequest ¶
type CampaignsCampaignAdsAdPutRequest struct { // Weight of ad. * When exists similar type ad(s,) use weight for choose ad to insert in VAST XML Weight *int32 `json:"weight,omitempty"` // Set device filter for show ads FilterDevice []string `json:"filter_device,omitempty"` // Set browser filter for show ads FilterBrowser []string `json:"filter_browser,omitempty"` // Set platform filter for show ads FilterPlatform []string `json:"filter_platform,omitempty"` // Limited condition(s) of trigger event that stop present ad in campaign Quota []CampaignsCampaignAdsPostRequestQuotaInner `json:"quota,omitempty"` // Quota type QuotaType *string `json:"quota_type,omitempty"` }
CampaignsCampaignAdsAdPutRequest struct for CampaignsCampaignAdsAdPutRequest
func NewCampaignsCampaignAdsAdPutRequest ¶
func NewCampaignsCampaignAdsAdPutRequest() *CampaignsCampaignAdsAdPutRequest
NewCampaignsCampaignAdsAdPutRequest instantiates a new CampaignsCampaignAdsAdPutRequest 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
func NewCampaignsCampaignAdsAdPutRequestWithDefaults ¶
func NewCampaignsCampaignAdsAdPutRequestWithDefaults() *CampaignsCampaignAdsAdPutRequest
NewCampaignsCampaignAdsAdPutRequestWithDefaults instantiates a new CampaignsCampaignAdsAdPutRequest 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
func (*CampaignsCampaignAdsAdPutRequest) GetFilterBrowser ¶
func (o *CampaignsCampaignAdsAdPutRequest) GetFilterBrowser() []string
GetFilterBrowser returns the FilterBrowser field value if set, zero value otherwise.
func (*CampaignsCampaignAdsAdPutRequest) GetFilterBrowserOk ¶
func (o *CampaignsCampaignAdsAdPutRequest) GetFilterBrowserOk() ([]string, bool)
GetFilterBrowserOk returns a tuple with the FilterBrowser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsAdPutRequest) GetFilterDevice ¶
func (o *CampaignsCampaignAdsAdPutRequest) GetFilterDevice() []string
GetFilterDevice returns the FilterDevice field value if set, zero value otherwise.
func (*CampaignsCampaignAdsAdPutRequest) GetFilterDeviceOk ¶
func (o *CampaignsCampaignAdsAdPutRequest) GetFilterDeviceOk() ([]string, bool)
GetFilterDeviceOk returns a tuple with the FilterDevice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsAdPutRequest) GetFilterPlatform ¶
func (o *CampaignsCampaignAdsAdPutRequest) GetFilterPlatform() []string
GetFilterPlatform returns the FilterPlatform field value if set, zero value otherwise.
func (*CampaignsCampaignAdsAdPutRequest) GetFilterPlatformOk ¶
func (o *CampaignsCampaignAdsAdPutRequest) GetFilterPlatformOk() ([]string, bool)
GetFilterPlatformOk returns a tuple with the FilterPlatform field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsAdPutRequest) GetQuota ¶
func (o *CampaignsCampaignAdsAdPutRequest) GetQuota() []CampaignsCampaignAdsPostRequestQuotaInner
GetQuota returns the Quota field value if set, zero value otherwise.
func (*CampaignsCampaignAdsAdPutRequest) GetQuotaOk ¶
func (o *CampaignsCampaignAdsAdPutRequest) GetQuotaOk() ([]CampaignsCampaignAdsPostRequestQuotaInner, bool)
GetQuotaOk returns a tuple with the Quota field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsAdPutRequest) GetQuotaType ¶
func (o *CampaignsCampaignAdsAdPutRequest) GetQuotaType() string
GetQuotaType returns the QuotaType field value if set, zero value otherwise.
func (*CampaignsCampaignAdsAdPutRequest) GetQuotaTypeOk ¶
func (o *CampaignsCampaignAdsAdPutRequest) GetQuotaTypeOk() (*string, bool)
GetQuotaTypeOk returns a tuple with the QuotaType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsAdPutRequest) GetWeight ¶
func (o *CampaignsCampaignAdsAdPutRequest) GetWeight() int32
GetWeight returns the Weight field value if set, zero value otherwise.
func (*CampaignsCampaignAdsAdPutRequest) GetWeightOk ¶
func (o *CampaignsCampaignAdsAdPutRequest) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsAdPutRequest) HasFilterBrowser ¶
func (o *CampaignsCampaignAdsAdPutRequest) HasFilterBrowser() bool
HasFilterBrowser returns a boolean if a field has been set.
func (*CampaignsCampaignAdsAdPutRequest) HasFilterDevice ¶
func (o *CampaignsCampaignAdsAdPutRequest) HasFilterDevice() bool
HasFilterDevice returns a boolean if a field has been set.
func (*CampaignsCampaignAdsAdPutRequest) HasFilterPlatform ¶
func (o *CampaignsCampaignAdsAdPutRequest) HasFilterPlatform() bool
HasFilterPlatform returns a boolean if a field has been set.
func (*CampaignsCampaignAdsAdPutRequest) HasQuota ¶
func (o *CampaignsCampaignAdsAdPutRequest) HasQuota() bool
HasQuota returns a boolean if a field has been set.
func (*CampaignsCampaignAdsAdPutRequest) HasQuotaType ¶
func (o *CampaignsCampaignAdsAdPutRequest) HasQuotaType() bool
HasQuotaType returns a boolean if a field has been set.
func (*CampaignsCampaignAdsAdPutRequest) HasWeight ¶
func (o *CampaignsCampaignAdsAdPutRequest) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (CampaignsCampaignAdsAdPutRequest) MarshalJSON ¶
func (o CampaignsCampaignAdsAdPutRequest) MarshalJSON() ([]byte, error)
func (*CampaignsCampaignAdsAdPutRequest) SetFilterBrowser ¶
func (o *CampaignsCampaignAdsAdPutRequest) SetFilterBrowser(v []string)
SetFilterBrowser gets a reference to the given []string and assigns it to the FilterBrowser field.
func (*CampaignsCampaignAdsAdPutRequest) SetFilterDevice ¶
func (o *CampaignsCampaignAdsAdPutRequest) SetFilterDevice(v []string)
SetFilterDevice gets a reference to the given []string and assigns it to the FilterDevice field.
func (*CampaignsCampaignAdsAdPutRequest) SetFilterPlatform ¶
func (o *CampaignsCampaignAdsAdPutRequest) SetFilterPlatform(v []string)
SetFilterPlatform gets a reference to the given []string and assigns it to the FilterPlatform field.
func (*CampaignsCampaignAdsAdPutRequest) SetQuota ¶
func (o *CampaignsCampaignAdsAdPutRequest) SetQuota(v []CampaignsCampaignAdsPostRequestQuotaInner)
SetQuota gets a reference to the given []CampaignsCampaignAdsPostRequestQuotaInner and assigns it to the Quota field.
func (*CampaignsCampaignAdsAdPutRequest) SetQuotaType ¶
func (o *CampaignsCampaignAdsAdPutRequest) SetQuotaType(v string)
SetQuotaType gets a reference to the given string and assigns it to the QuotaType field.
func (*CampaignsCampaignAdsAdPutRequest) SetWeight ¶
func (o *CampaignsCampaignAdsAdPutRequest) SetWeight(v int32)
SetWeight gets a reference to the given int32 and assigns it to the Weight field.
func (CampaignsCampaignAdsAdPutRequest) ToMap ¶
func (o CampaignsCampaignAdsAdPutRequest) ToMap() (map[string]interface{}, error)
type CampaignsCampaignAdsPostRequest ¶
type CampaignsCampaignAdsPostRequest struct { // The id of ad * Notice: Both ad & campaign most belongs to same channel. AdId string `json:"ad_id"` // Weight of ad. * When exists similar type ad(s,) use weight for choose ad to insert in VAST XML Weight int32 `json:"weight"` // Set device filter for show ads FilterDevice []string `json:"filter_device,omitempty"` // Set browser filter for show ads FilterBrowser []string `json:"filter_browser,omitempty"` // Set platform filter for show ads FilterPlatform []string `json:"filter_platform,omitempty"` // Limited condition(s) of trigger event that stop present ad in campaign Quota []CampaignsCampaignAdsPostRequestQuotaInner `json:"quota,omitempty"` // Quota type QuotaType *string `json:"quota_type,omitempty"` }
CampaignsCampaignAdsPostRequest struct for CampaignsCampaignAdsPostRequest
func NewCampaignsCampaignAdsPostRequest ¶
func NewCampaignsCampaignAdsPostRequest(adId string, weight int32) *CampaignsCampaignAdsPostRequest
NewCampaignsCampaignAdsPostRequest instantiates a new CampaignsCampaignAdsPostRequest 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
func NewCampaignsCampaignAdsPostRequestWithDefaults ¶
func NewCampaignsCampaignAdsPostRequestWithDefaults() *CampaignsCampaignAdsPostRequest
NewCampaignsCampaignAdsPostRequestWithDefaults instantiates a new CampaignsCampaignAdsPostRequest 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
func (*CampaignsCampaignAdsPostRequest) GetAdId ¶
func (o *CampaignsCampaignAdsPostRequest) GetAdId() string
GetAdId returns the AdId field value
func (*CampaignsCampaignAdsPostRequest) GetAdIdOk ¶
func (o *CampaignsCampaignAdsPostRequest) GetAdIdOk() (*string, bool)
GetAdIdOk returns a tuple with the AdId field value and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsPostRequest) GetFilterBrowser ¶
func (o *CampaignsCampaignAdsPostRequest) GetFilterBrowser() []string
GetFilterBrowser returns the FilterBrowser field value if set, zero value otherwise.
func (*CampaignsCampaignAdsPostRequest) GetFilterBrowserOk ¶
func (o *CampaignsCampaignAdsPostRequest) GetFilterBrowserOk() ([]string, bool)
GetFilterBrowserOk returns a tuple with the FilterBrowser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsPostRequest) GetFilterDevice ¶
func (o *CampaignsCampaignAdsPostRequest) GetFilterDevice() []string
GetFilterDevice returns the FilterDevice field value if set, zero value otherwise.
func (*CampaignsCampaignAdsPostRequest) GetFilterDeviceOk ¶
func (o *CampaignsCampaignAdsPostRequest) GetFilterDeviceOk() ([]string, bool)
GetFilterDeviceOk returns a tuple with the FilterDevice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsPostRequest) GetFilterPlatform ¶
func (o *CampaignsCampaignAdsPostRequest) GetFilterPlatform() []string
GetFilterPlatform returns the FilterPlatform field value if set, zero value otherwise.
func (*CampaignsCampaignAdsPostRequest) GetFilterPlatformOk ¶
func (o *CampaignsCampaignAdsPostRequest) GetFilterPlatformOk() ([]string, bool)
GetFilterPlatformOk returns a tuple with the FilterPlatform field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsPostRequest) GetQuota ¶
func (o *CampaignsCampaignAdsPostRequest) GetQuota() []CampaignsCampaignAdsPostRequestQuotaInner
GetQuota returns the Quota field value if set, zero value otherwise.
func (*CampaignsCampaignAdsPostRequest) GetQuotaOk ¶
func (o *CampaignsCampaignAdsPostRequest) GetQuotaOk() ([]CampaignsCampaignAdsPostRequestQuotaInner, bool)
GetQuotaOk returns a tuple with the Quota field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsPostRequest) GetQuotaType ¶
func (o *CampaignsCampaignAdsPostRequest) GetQuotaType() string
GetQuotaType returns the QuotaType field value if set, zero value otherwise.
func (*CampaignsCampaignAdsPostRequest) GetQuotaTypeOk ¶
func (o *CampaignsCampaignAdsPostRequest) GetQuotaTypeOk() (*string, bool)
GetQuotaTypeOk returns a tuple with the QuotaType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsPostRequest) GetWeight ¶
func (o *CampaignsCampaignAdsPostRequest) GetWeight() int32
GetWeight returns the Weight field value
func (*CampaignsCampaignAdsPostRequest) GetWeightOk ¶
func (o *CampaignsCampaignAdsPostRequest) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsPostRequest) HasFilterBrowser ¶
func (o *CampaignsCampaignAdsPostRequest) HasFilterBrowser() bool
HasFilterBrowser returns a boolean if a field has been set.
func (*CampaignsCampaignAdsPostRequest) HasFilterDevice ¶
func (o *CampaignsCampaignAdsPostRequest) HasFilterDevice() bool
HasFilterDevice returns a boolean if a field has been set.
func (*CampaignsCampaignAdsPostRequest) HasFilterPlatform ¶
func (o *CampaignsCampaignAdsPostRequest) HasFilterPlatform() bool
HasFilterPlatform returns a boolean if a field has been set.
func (*CampaignsCampaignAdsPostRequest) HasQuota ¶
func (o *CampaignsCampaignAdsPostRequest) HasQuota() bool
HasQuota returns a boolean if a field has been set.
func (*CampaignsCampaignAdsPostRequest) HasQuotaType ¶
func (o *CampaignsCampaignAdsPostRequest) HasQuotaType() bool
HasQuotaType returns a boolean if a field has been set.
func (CampaignsCampaignAdsPostRequest) MarshalJSON ¶
func (o CampaignsCampaignAdsPostRequest) MarshalJSON() ([]byte, error)
func (*CampaignsCampaignAdsPostRequest) SetAdId ¶
func (o *CampaignsCampaignAdsPostRequest) SetAdId(v string)
SetAdId sets field value
func (*CampaignsCampaignAdsPostRequest) SetFilterBrowser ¶
func (o *CampaignsCampaignAdsPostRequest) SetFilterBrowser(v []string)
SetFilterBrowser gets a reference to the given []string and assigns it to the FilterBrowser field.
func (*CampaignsCampaignAdsPostRequest) SetFilterDevice ¶
func (o *CampaignsCampaignAdsPostRequest) SetFilterDevice(v []string)
SetFilterDevice gets a reference to the given []string and assigns it to the FilterDevice field.
func (*CampaignsCampaignAdsPostRequest) SetFilterPlatform ¶
func (o *CampaignsCampaignAdsPostRequest) SetFilterPlatform(v []string)
SetFilterPlatform gets a reference to the given []string and assigns it to the FilterPlatform field.
func (*CampaignsCampaignAdsPostRequest) SetQuota ¶
func (o *CampaignsCampaignAdsPostRequest) SetQuota(v []CampaignsCampaignAdsPostRequestQuotaInner)
SetQuota gets a reference to the given []CampaignsCampaignAdsPostRequestQuotaInner and assigns it to the Quota field.
func (*CampaignsCampaignAdsPostRequest) SetQuotaType ¶
func (o *CampaignsCampaignAdsPostRequest) SetQuotaType(v string)
SetQuotaType gets a reference to the given string and assigns it to the QuotaType field.
func (*CampaignsCampaignAdsPostRequest) SetWeight ¶
func (o *CampaignsCampaignAdsPostRequest) SetWeight(v int32)
SetWeight sets field value
func (CampaignsCampaignAdsPostRequest) ToMap ¶
func (o CampaignsCampaignAdsPostRequest) ToMap() (map[string]interface{}, error)
type CampaignsCampaignAdsPostRequestQuotaInner ¶
type CampaignsCampaignAdsPostRequestQuotaInner struct { // The event of this quota Key string `json:"key"` // Value of limit this quota Value int32 `json:"value"` }
CampaignsCampaignAdsPostRequestQuotaInner struct for CampaignsCampaignAdsPostRequestQuotaInner
func NewCampaignsCampaignAdsPostRequestQuotaInner ¶
func NewCampaignsCampaignAdsPostRequestQuotaInner(key string, value int32) *CampaignsCampaignAdsPostRequestQuotaInner
NewCampaignsCampaignAdsPostRequestQuotaInner instantiates a new CampaignsCampaignAdsPostRequestQuotaInner 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
func NewCampaignsCampaignAdsPostRequestQuotaInnerWithDefaults ¶
func NewCampaignsCampaignAdsPostRequestQuotaInnerWithDefaults() *CampaignsCampaignAdsPostRequestQuotaInner
NewCampaignsCampaignAdsPostRequestQuotaInnerWithDefaults instantiates a new CampaignsCampaignAdsPostRequestQuotaInner 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
func (*CampaignsCampaignAdsPostRequestQuotaInner) GetKey ¶
func (o *CampaignsCampaignAdsPostRequestQuotaInner) GetKey() string
GetKey returns the Key field value
func (*CampaignsCampaignAdsPostRequestQuotaInner) GetKeyOk ¶
func (o *CampaignsCampaignAdsPostRequestQuotaInner) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*CampaignsCampaignAdsPostRequestQuotaInner) GetValue ¶
func (o *CampaignsCampaignAdsPostRequestQuotaInner) GetValue() int32
GetValue returns the Value field value
func (*CampaignsCampaignAdsPostRequestQuotaInner) GetValueOk ¶
func (o *CampaignsCampaignAdsPostRequestQuotaInner) GetValueOk() (*int32, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (CampaignsCampaignAdsPostRequestQuotaInner) MarshalJSON ¶
func (o CampaignsCampaignAdsPostRequestQuotaInner) MarshalJSON() ([]byte, error)
func (*CampaignsCampaignAdsPostRequestQuotaInner) SetKey ¶
func (o *CampaignsCampaignAdsPostRequestQuotaInner) SetKey(v string)
SetKey sets field value
func (*CampaignsCampaignAdsPostRequestQuotaInner) SetValue ¶
func (o *CampaignsCampaignAdsPostRequestQuotaInner) SetValue(v int32)
SetValue sets field value
func (CampaignsCampaignAdsPostRequestQuotaInner) ToMap ¶
func (o CampaignsCampaignAdsPostRequestQuotaInner) ToMap() (map[string]interface{}, error)
type CampaignsCampaignPutRequest ¶
type CampaignsCampaignPutRequest struct { // Title of campaign Title *string `json:"title,omitempty"` // Description of campaign Description *string `json:"description,omitempty"` // Skip type - If ad skip_type is follow_campaign then this will be use SkipType *string `json:"skip_type,omitempty"` // Skip offset in seconds (required if skip type is allow) SkipOffset *int32 `json:"skip_offset,omitempty"` // If false then vast not working Active *bool `json:"active,omitempty"` }
CampaignsCampaignPutRequest struct for CampaignsCampaignPutRequest
func NewCampaignsCampaignPutRequest ¶
func NewCampaignsCampaignPutRequest() *CampaignsCampaignPutRequest
NewCampaignsCampaignPutRequest instantiates a new CampaignsCampaignPutRequest 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
func NewCampaignsCampaignPutRequestWithDefaults ¶
func NewCampaignsCampaignPutRequestWithDefaults() *CampaignsCampaignPutRequest
NewCampaignsCampaignPutRequestWithDefaults instantiates a new CampaignsCampaignPutRequest 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
func (*CampaignsCampaignPutRequest) GetActive ¶
func (o *CampaignsCampaignPutRequest) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*CampaignsCampaignPutRequest) GetActiveOk ¶
func (o *CampaignsCampaignPutRequest) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignPutRequest) GetDescription ¶
func (o *CampaignsCampaignPutRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CampaignsCampaignPutRequest) GetDescriptionOk ¶
func (o *CampaignsCampaignPutRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignPutRequest) GetSkipOffset ¶
func (o *CampaignsCampaignPutRequest) GetSkipOffset() int32
GetSkipOffset returns the SkipOffset field value if set, zero value otherwise.
func (*CampaignsCampaignPutRequest) GetSkipOffsetOk ¶
func (o *CampaignsCampaignPutRequest) GetSkipOffsetOk() (*int32, bool)
GetSkipOffsetOk returns a tuple with the SkipOffset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignPutRequest) GetSkipType ¶
func (o *CampaignsCampaignPutRequest) GetSkipType() string
GetSkipType returns the SkipType field value if set, zero value otherwise.
func (*CampaignsCampaignPutRequest) GetSkipTypeOk ¶
func (o *CampaignsCampaignPutRequest) GetSkipTypeOk() (*string, bool)
GetSkipTypeOk returns a tuple with the SkipType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignPutRequest) GetTitle ¶
func (o *CampaignsCampaignPutRequest) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*CampaignsCampaignPutRequest) GetTitleOk ¶
func (o *CampaignsCampaignPutRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignsCampaignPutRequest) HasActive ¶
func (o *CampaignsCampaignPutRequest) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*CampaignsCampaignPutRequest) HasDescription ¶
func (o *CampaignsCampaignPutRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CampaignsCampaignPutRequest) HasSkipOffset ¶
func (o *CampaignsCampaignPutRequest) HasSkipOffset() bool
HasSkipOffset returns a boolean if a field has been set.
func (*CampaignsCampaignPutRequest) HasSkipType ¶
func (o *CampaignsCampaignPutRequest) HasSkipType() bool
HasSkipType returns a boolean if a field has been set.
func (*CampaignsCampaignPutRequest) HasTitle ¶
func (o *CampaignsCampaignPutRequest) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (CampaignsCampaignPutRequest) MarshalJSON ¶
func (o CampaignsCampaignPutRequest) MarshalJSON() ([]byte, error)
func (*CampaignsCampaignPutRequest) SetActive ¶
func (o *CampaignsCampaignPutRequest) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*CampaignsCampaignPutRequest) SetDescription ¶
func (o *CampaignsCampaignPutRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CampaignsCampaignPutRequest) SetSkipOffset ¶
func (o *CampaignsCampaignPutRequest) SetSkipOffset(v int32)
SetSkipOffset gets a reference to the given int32 and assigns it to the SkipOffset field.
func (*CampaignsCampaignPutRequest) SetSkipType ¶
func (o *CampaignsCampaignPutRequest) SetSkipType(v string)
SetSkipType gets a reference to the given string and assigns it to the SkipType field.
func (*CampaignsCampaignPutRequest) SetTitle ¶
func (o *CampaignsCampaignPutRequest) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (CampaignsCampaignPutRequest) ToMap ¶
func (o CampaignsCampaignPutRequest) ToMap() (map[string]interface{}, error)
type CategoriesCategoryPutRequest ¶
type CategoriesCategoryPutRequest struct { // Title of category Title *string `json:"title,omitempty"` }
CategoriesCategoryPutRequest struct for CategoriesCategoryPutRequest
func NewCategoriesCategoryPutRequest ¶
func NewCategoriesCategoryPutRequest() *CategoriesCategoryPutRequest
NewCategoriesCategoryPutRequest instantiates a new CategoriesCategoryPutRequest 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
func NewCategoriesCategoryPutRequestWithDefaults ¶
func NewCategoriesCategoryPutRequestWithDefaults() *CategoriesCategoryPutRequest
NewCategoriesCategoryPutRequestWithDefaults instantiates a new CategoriesCategoryPutRequest 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
func (*CategoriesCategoryPutRequest) GetTitle ¶
func (o *CategoriesCategoryPutRequest) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*CategoriesCategoryPutRequest) GetTitleOk ¶
func (o *CategoriesCategoryPutRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CategoriesCategoryPutRequest) HasTitle ¶
func (o *CategoriesCategoryPutRequest) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (CategoriesCategoryPutRequest) MarshalJSON ¶
func (o CategoriesCategoryPutRequest) MarshalJSON() ([]byte, error)
func (*CategoriesCategoryPutRequest) SetTitle ¶
func (o *CategoriesCategoryPutRequest) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (CategoriesCategoryPutRequest) ToMap ¶
func (o CategoriesCategoryPutRequest) ToMap() (map[string]interface{}, error)
type CategoriesPostRequest ¶
type CategoriesPostRequest struct { // Title of category Title string `json:"title"` }
CategoriesPostRequest struct for CategoriesPostRequest
func NewCategoriesPostRequest ¶
func NewCategoriesPostRequest(title string) *CategoriesPostRequest
NewCategoriesPostRequest instantiates a new CategoriesPostRequest 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
func NewCategoriesPostRequestWithDefaults ¶
func NewCategoriesPostRequestWithDefaults() *CategoriesPostRequest
NewCategoriesPostRequestWithDefaults instantiates a new CategoriesPostRequest 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
func (*CategoriesPostRequest) GetTitle ¶
func (o *CategoriesPostRequest) GetTitle() string
GetTitle returns the Title field value
func (*CategoriesPostRequest) GetTitleOk ¶
func (o *CategoriesPostRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (CategoriesPostRequest) MarshalJSON ¶
func (o CategoriesPostRequest) MarshalJSON() ([]byte, error)
func (*CategoriesPostRequest) SetTitle ¶
func (o *CategoriesPostRequest) SetTitle(v string)
SetTitle sets field value
func (CategoriesPostRequest) ToMap ¶
func (o CategoriesPostRequest) ToMap() (map[string]interface{}, error)
type CategoryAPIService ¶
type CategoryAPIService service
CategoryAPIService CategoryAPI service
func (*CategoryAPIService) CategoriesCategoryDelete ¶
func (a *CategoryAPIService) CategoriesCategoryDelete(ctx context.Context, category string) ApiCategoriesCategoryDeleteRequest
CategoriesCategoryDelete Remove the specified category.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param category The Id of category @return ApiCategoriesCategoryDeleteRequest
func (*CategoryAPIService) CategoriesCategoryDeleteExecute ¶
func (a *CategoryAPIService) CategoriesCategoryDeleteExecute(r ApiCategoriesCategoryDeleteRequest) (*http.Response, error)
Execute executes the request
func (*CategoryAPIService) CategoriesCategoryGet ¶
func (a *CategoryAPIService) CategoriesCategoryGet(ctx context.Context, category string) ApiCategoriesCategoryGetRequest
CategoriesCategoryGet Return the specified category.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param category The Id of category @return ApiCategoriesCategoryGetRequest
func (*CategoryAPIService) CategoriesCategoryGetExecute ¶
func (a *CategoryAPIService) CategoriesCategoryGetExecute(r ApiCategoriesCategoryGetRequest) (*http.Response, error)
Execute executes the request
func (*CategoryAPIService) CategoriesCategoryPut ¶
func (a *CategoryAPIService) CategoriesCategoryPut(ctx context.Context, category string) ApiCategoriesCategoryPutRequest
CategoriesCategoryPut Update the specified category.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param category The Id of category @return ApiCategoriesCategoryPutRequest
func (*CategoryAPIService) CategoriesCategoryPutExecute ¶
func (a *CategoryAPIService) CategoriesCategoryPutExecute(r ApiCategoriesCategoryPutRequest) (*http.Response, error)
Execute executes the request
func (*CategoryAPIService) CategoriesGet ¶
func (a *CategoryAPIService) CategoriesGet(ctx context.Context) ApiCategoriesGetRequest
CategoriesGet Return all user categories.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCategoriesGetRequest
func (*CategoryAPIService) CategoriesGetExecute ¶
func (a *CategoryAPIService) CategoriesGetExecute(r ApiCategoriesGetRequest) (*http.Response, error)
Execute executes the request
func (*CategoryAPIService) CategoriesPost ¶
func (a *CategoryAPIService) CategoriesPost(ctx context.Context) ApiCategoriesPostRequest
CategoriesPost Store a newly category.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCategoriesPostRequest
func (*CategoryAPIService) CategoriesPostExecute ¶
func (a *CategoryAPIService) CategoriesPostExecute(r ApiCategoriesPostRequest) (*http.Response, error)
Execute executes the request
type ChannelAPIService ¶
type ChannelAPIService service
ChannelAPIService ChannelAPI service
func (*ChannelAPIService) ChannelsChannelDelete ¶
func (a *ChannelAPIService) ChannelsChannelDelete(ctx context.Context, channel string) ApiChannelsChannelDeleteRequest
ChannelsChannelDelete Remove the specified channel.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channel The Id of channel @return ApiChannelsChannelDeleteRequest
func (*ChannelAPIService) ChannelsChannelDeleteExecute ¶
func (a *ChannelAPIService) ChannelsChannelDeleteExecute(r ApiChannelsChannelDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ChannelAPIService) ChannelsChannelGet ¶
func (a *ChannelAPIService) ChannelsChannelGet(ctx context.Context, channel string) ApiChannelsChannelGetRequest
ChannelsChannelGet Return the specified channel.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channel The Id of channel @return ApiChannelsChannelGetRequest
func (*ChannelAPIService) ChannelsChannelGetExecute ¶
func (a *ChannelAPIService) ChannelsChannelGetExecute(r ApiChannelsChannelGetRequest) (*http.Response, error)
Execute executes the request
func (*ChannelAPIService) ChannelsChannelPut ¶
func (a *ChannelAPIService) ChannelsChannelPut(ctx context.Context, channel string) ApiChannelsChannelPutRequest
ChannelsChannelPut Update the specified channel.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channel The Id of channel @return ApiChannelsChannelPutRequest
func (*ChannelAPIService) ChannelsChannelPutExecute ¶
func (a *ChannelAPIService) ChannelsChannelPutExecute(r ApiChannelsChannelPutRequest) (*http.Response, error)
Execute executes the request
func (*ChannelAPIService) ChannelsGet ¶
func (a *ChannelAPIService) ChannelsGet(ctx context.Context) ApiChannelsGetRequest
ChannelsGet Return all user channels.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiChannelsGetRequest
func (*ChannelAPIService) ChannelsGetExecute ¶
func (a *ChannelAPIService) ChannelsGetExecute(r ApiChannelsGetRequest) (*http.Response, error)
Execute executes the request
func (*ChannelAPIService) ChannelsPost ¶
func (a *ChannelAPIService) ChannelsPost(ctx context.Context) ApiChannelsPostRequest
ChannelsPost Store a newly channel.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiChannelsPostRequest
func (*ChannelAPIService) ChannelsPostExecute ¶
func (a *ChannelAPIService) ChannelsPostExecute(r ApiChannelsPostRequest) (*http.Response, error)
Execute executes the request
type ChannelsChannelCampaignsPostRequest ¶
type ChannelsChannelCampaignsPostRequest struct { // Title of campaign Title string `json:"title"` // Description of campaign Description *string `json:"description,omitempty"` // Skip type - If ad skip_type is follow_campaign then this will be use SkipType string `json:"skip_type"` // Skip offset in seconds (required if skip type is allow) SkipOffset *int32 `json:"skip_offset,omitempty"` // If false then vast not working Active bool `json:"active"` }
ChannelsChannelCampaignsPostRequest struct for ChannelsChannelCampaignsPostRequest
func NewChannelsChannelCampaignsPostRequest ¶
func NewChannelsChannelCampaignsPostRequest(title string, skipType string, active bool) *ChannelsChannelCampaignsPostRequest
NewChannelsChannelCampaignsPostRequest instantiates a new ChannelsChannelCampaignsPostRequest 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
func NewChannelsChannelCampaignsPostRequestWithDefaults ¶
func NewChannelsChannelCampaignsPostRequestWithDefaults() *ChannelsChannelCampaignsPostRequest
NewChannelsChannelCampaignsPostRequestWithDefaults instantiates a new ChannelsChannelCampaignsPostRequest 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
func (*ChannelsChannelCampaignsPostRequest) GetActive ¶
func (o *ChannelsChannelCampaignsPostRequest) GetActive() bool
GetActive returns the Active field value
func (*ChannelsChannelCampaignsPostRequest) GetActiveOk ¶
func (o *ChannelsChannelCampaignsPostRequest) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.
func (*ChannelsChannelCampaignsPostRequest) GetDescription ¶
func (o *ChannelsChannelCampaignsPostRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ChannelsChannelCampaignsPostRequest) GetDescriptionOk ¶
func (o *ChannelsChannelCampaignsPostRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelsChannelCampaignsPostRequest) GetSkipOffset ¶
func (o *ChannelsChannelCampaignsPostRequest) GetSkipOffset() int32
GetSkipOffset returns the SkipOffset field value if set, zero value otherwise.
func (*ChannelsChannelCampaignsPostRequest) GetSkipOffsetOk ¶
func (o *ChannelsChannelCampaignsPostRequest) GetSkipOffsetOk() (*int32, bool)
GetSkipOffsetOk returns a tuple with the SkipOffset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelsChannelCampaignsPostRequest) GetSkipType ¶
func (o *ChannelsChannelCampaignsPostRequest) GetSkipType() string
GetSkipType returns the SkipType field value
func (*ChannelsChannelCampaignsPostRequest) GetSkipTypeOk ¶
func (o *ChannelsChannelCampaignsPostRequest) GetSkipTypeOk() (*string, bool)
GetSkipTypeOk returns a tuple with the SkipType field value and a boolean to check if the value has been set.
func (*ChannelsChannelCampaignsPostRequest) GetTitle ¶
func (o *ChannelsChannelCampaignsPostRequest) GetTitle() string
GetTitle returns the Title field value
func (*ChannelsChannelCampaignsPostRequest) GetTitleOk ¶
func (o *ChannelsChannelCampaignsPostRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*ChannelsChannelCampaignsPostRequest) HasDescription ¶
func (o *ChannelsChannelCampaignsPostRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ChannelsChannelCampaignsPostRequest) HasSkipOffset ¶
func (o *ChannelsChannelCampaignsPostRequest) HasSkipOffset() bool
HasSkipOffset returns a boolean if a field has been set.
func (ChannelsChannelCampaignsPostRequest) MarshalJSON ¶
func (o ChannelsChannelCampaignsPostRequest) MarshalJSON() ([]byte, error)
func (*ChannelsChannelCampaignsPostRequest) SetActive ¶
func (o *ChannelsChannelCampaignsPostRequest) SetActive(v bool)
SetActive sets field value
func (*ChannelsChannelCampaignsPostRequest) SetDescription ¶
func (o *ChannelsChannelCampaignsPostRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ChannelsChannelCampaignsPostRequest) SetSkipOffset ¶
func (o *ChannelsChannelCampaignsPostRequest) SetSkipOffset(v int32)
SetSkipOffset gets a reference to the given int32 and assigns it to the SkipOffset field.
func (*ChannelsChannelCampaignsPostRequest) SetSkipType ¶
func (o *ChannelsChannelCampaignsPostRequest) SetSkipType(v string)
SetSkipType sets field value
func (*ChannelsChannelCampaignsPostRequest) SetTitle ¶
func (o *ChannelsChannelCampaignsPostRequest) SetTitle(v string)
SetTitle sets field value
func (ChannelsChannelCampaignsPostRequest) ToMap ¶
func (o ChannelsChannelCampaignsPostRequest) ToMap() (map[string]interface{}, error)
type ChannelsChannelPutRequest ¶
type ChannelsChannelPutRequest struct { // Title of channel Title *string `json:"title,omitempty"` // Description of channel Description *string `json:"description,omitempty"` }
ChannelsChannelPutRequest struct for ChannelsChannelPutRequest
func NewChannelsChannelPutRequest ¶
func NewChannelsChannelPutRequest() *ChannelsChannelPutRequest
NewChannelsChannelPutRequest instantiates a new ChannelsChannelPutRequest 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
func NewChannelsChannelPutRequestWithDefaults ¶
func NewChannelsChannelPutRequestWithDefaults() *ChannelsChannelPutRequest
NewChannelsChannelPutRequestWithDefaults instantiates a new ChannelsChannelPutRequest 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
func (*ChannelsChannelPutRequest) GetDescription ¶
func (o *ChannelsChannelPutRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ChannelsChannelPutRequest) GetDescriptionOk ¶
func (o *ChannelsChannelPutRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelsChannelPutRequest) GetTitle ¶
func (o *ChannelsChannelPutRequest) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*ChannelsChannelPutRequest) GetTitleOk ¶
func (o *ChannelsChannelPutRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelsChannelPutRequest) HasDescription ¶
func (o *ChannelsChannelPutRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ChannelsChannelPutRequest) HasTitle ¶
func (o *ChannelsChannelPutRequest) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (ChannelsChannelPutRequest) MarshalJSON ¶
func (o ChannelsChannelPutRequest) MarshalJSON() ([]byte, error)
func (*ChannelsChannelPutRequest) SetDescription ¶
func (o *ChannelsChannelPutRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ChannelsChannelPutRequest) SetTitle ¶
func (o *ChannelsChannelPutRequest) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (ChannelsChannelPutRequest) ToMap ¶
func (o ChannelsChannelPutRequest) ToMap() (map[string]interface{}, error)
type ChannelsPostRequest ¶
type ChannelsPostRequest struct { // Title of channel Title string `json:"title"` // Description of channel Description *string `json:"description,omitempty"` }
ChannelsPostRequest struct for ChannelsPostRequest
func NewChannelsPostRequest ¶
func NewChannelsPostRequest(title string) *ChannelsPostRequest
NewChannelsPostRequest instantiates a new ChannelsPostRequest 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
func NewChannelsPostRequestWithDefaults ¶
func NewChannelsPostRequestWithDefaults() *ChannelsPostRequest
NewChannelsPostRequestWithDefaults instantiates a new ChannelsPostRequest 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
func (*ChannelsPostRequest) GetDescription ¶
func (o *ChannelsPostRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ChannelsPostRequest) GetDescriptionOk ¶
func (o *ChannelsPostRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelsPostRequest) GetTitle ¶
func (o *ChannelsPostRequest) GetTitle() string
GetTitle returns the Title field value
func (*ChannelsPostRequest) GetTitleOk ¶
func (o *ChannelsPostRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*ChannelsPostRequest) HasDescription ¶
func (o *ChannelsPostRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (ChannelsPostRequest) MarshalJSON ¶
func (o ChannelsPostRequest) MarshalJSON() ([]byte, error)
func (*ChannelsPostRequest) SetDescription ¶
func (o *ChannelsPostRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ChannelsPostRequest) SetTitle ¶
func (o *ChannelsPostRequest) SetTitle(v string)
SetTitle sets field value
func (ChannelsPostRequest) ToMap ¶
func (o ChannelsPostRequest) ToMap() (map[string]interface{}, error)
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DomainAPIService ¶
type DomainAPIService service
DomainAPIService DomainAPI service
func (*DomainAPIService) DomainGet ¶
func (a *DomainAPIService) DomainGet(ctx context.Context) ApiDomainGetRequest
DomainGet Return User Domain.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDomainGetRequest
func (*DomainAPIService) DomainGetExecute ¶
func (a *DomainAPIService) DomainGetExecute(r ApiDomainGetRequest) (*http.Response, error)
Execute executes the request
func (*DomainAPIService) DomainPost ¶
func (a *DomainAPIService) DomainPost(ctx context.Context) ApiDomainPostRequest
DomainPost Set subdomain for VAds service.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDomainPostRequest
func (*DomainAPIService) DomainPostExecute ¶
func (a *DomainAPIService) DomainPostExecute(r ApiDomainPostRequest) (*http.Response, error)
Execute executes the request
type DomainPostRequest ¶
type DomainPostRequest struct { // The subdomain. Only contain lower case letters and digits Subdomain *string `json:"subdomain,omitempty"` }
DomainPostRequest struct for DomainPostRequest
func NewDomainPostRequest ¶
func NewDomainPostRequest() *DomainPostRequest
NewDomainPostRequest instantiates a new DomainPostRequest 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
func NewDomainPostRequestWithDefaults ¶
func NewDomainPostRequestWithDefaults() *DomainPostRequest
NewDomainPostRequestWithDefaults instantiates a new DomainPostRequest 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
func (*DomainPostRequest) GetSubdomain ¶
func (o *DomainPostRequest) GetSubdomain() string
GetSubdomain returns the Subdomain field value if set, zero value otherwise.
func (*DomainPostRequest) GetSubdomainOk ¶
func (o *DomainPostRequest) GetSubdomainOk() (*string, bool)
GetSubdomainOk returns a tuple with the Subdomain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DomainPostRequest) HasSubdomain ¶
func (o *DomainPostRequest) HasSubdomain() bool
HasSubdomain returns a boolean if a field has been set.
func (DomainPostRequest) MarshalJSON ¶
func (o DomainPostRequest) MarshalJSON() ([]byte, error)
func (*DomainPostRequest) SetSubdomain ¶
func (o *DomainPostRequest) SetSubdomain(v string)
SetSubdomain gets a reference to the given string and assigns it to the Subdomain field.
func (DomainPostRequest) ToMap ¶
func (o DomainPostRequest) ToMap() (map[string]interface{}, error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type MappedNullable ¶
type NullableAdsAdPutRequest ¶
type NullableAdsAdPutRequest struct {
// contains filtered or unexported fields
}
func NewNullableAdsAdPutRequest ¶
func NewNullableAdsAdPutRequest(val *AdsAdPutRequest) *NullableAdsAdPutRequest
func (NullableAdsAdPutRequest) Get ¶
func (v NullableAdsAdPutRequest) Get() *AdsAdPutRequest
func (NullableAdsAdPutRequest) IsSet ¶
func (v NullableAdsAdPutRequest) IsSet() bool
func (NullableAdsAdPutRequest) MarshalJSON ¶
func (v NullableAdsAdPutRequest) MarshalJSON() ([]byte, error)
func (*NullableAdsAdPutRequest) Set ¶
func (v *NullableAdsAdPutRequest) Set(val *AdsAdPutRequest)
func (*NullableAdsAdPutRequest) UnmarshalJSON ¶
func (v *NullableAdsAdPutRequest) UnmarshalJSON(src []byte) error
func (*NullableAdsAdPutRequest) Unset ¶
func (v *NullableAdsAdPutRequest) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCampaignsCampaignAdsAdPutRequest ¶
type NullableCampaignsCampaignAdsAdPutRequest struct {
// contains filtered or unexported fields
}
func NewNullableCampaignsCampaignAdsAdPutRequest ¶
func NewNullableCampaignsCampaignAdsAdPutRequest(val *CampaignsCampaignAdsAdPutRequest) *NullableCampaignsCampaignAdsAdPutRequest
func (NullableCampaignsCampaignAdsAdPutRequest) IsSet ¶
func (v NullableCampaignsCampaignAdsAdPutRequest) IsSet() bool
func (NullableCampaignsCampaignAdsAdPutRequest) MarshalJSON ¶
func (v NullableCampaignsCampaignAdsAdPutRequest) MarshalJSON() ([]byte, error)
func (*NullableCampaignsCampaignAdsAdPutRequest) Set ¶
func (v *NullableCampaignsCampaignAdsAdPutRequest) Set(val *CampaignsCampaignAdsAdPutRequest)
func (*NullableCampaignsCampaignAdsAdPutRequest) UnmarshalJSON ¶
func (v *NullableCampaignsCampaignAdsAdPutRequest) UnmarshalJSON(src []byte) error
func (*NullableCampaignsCampaignAdsAdPutRequest) Unset ¶
func (v *NullableCampaignsCampaignAdsAdPutRequest) Unset()
type NullableCampaignsCampaignAdsPostRequest ¶
type NullableCampaignsCampaignAdsPostRequest struct {
// contains filtered or unexported fields
}
func NewNullableCampaignsCampaignAdsPostRequest ¶
func NewNullableCampaignsCampaignAdsPostRequest(val *CampaignsCampaignAdsPostRequest) *NullableCampaignsCampaignAdsPostRequest
func (NullableCampaignsCampaignAdsPostRequest) IsSet ¶
func (v NullableCampaignsCampaignAdsPostRequest) IsSet() bool
func (NullableCampaignsCampaignAdsPostRequest) MarshalJSON ¶
func (v NullableCampaignsCampaignAdsPostRequest) MarshalJSON() ([]byte, error)
func (*NullableCampaignsCampaignAdsPostRequest) Set ¶
func (v *NullableCampaignsCampaignAdsPostRequest) Set(val *CampaignsCampaignAdsPostRequest)
func (*NullableCampaignsCampaignAdsPostRequest) UnmarshalJSON ¶
func (v *NullableCampaignsCampaignAdsPostRequest) UnmarshalJSON(src []byte) error
func (*NullableCampaignsCampaignAdsPostRequest) Unset ¶
func (v *NullableCampaignsCampaignAdsPostRequest) Unset()
type NullableCampaignsCampaignAdsPostRequestQuotaInner ¶
type NullableCampaignsCampaignAdsPostRequestQuotaInner struct {
// contains filtered or unexported fields
}
func NewNullableCampaignsCampaignAdsPostRequestQuotaInner ¶
func NewNullableCampaignsCampaignAdsPostRequestQuotaInner(val *CampaignsCampaignAdsPostRequestQuotaInner) *NullableCampaignsCampaignAdsPostRequestQuotaInner
func (NullableCampaignsCampaignAdsPostRequestQuotaInner) IsSet ¶
func (v NullableCampaignsCampaignAdsPostRequestQuotaInner) IsSet() bool
func (NullableCampaignsCampaignAdsPostRequestQuotaInner) MarshalJSON ¶
func (v NullableCampaignsCampaignAdsPostRequestQuotaInner) MarshalJSON() ([]byte, error)
func (*NullableCampaignsCampaignAdsPostRequestQuotaInner) UnmarshalJSON ¶
func (v *NullableCampaignsCampaignAdsPostRequestQuotaInner) UnmarshalJSON(src []byte) error
func (*NullableCampaignsCampaignAdsPostRequestQuotaInner) Unset ¶
func (v *NullableCampaignsCampaignAdsPostRequestQuotaInner) Unset()
type NullableCampaignsCampaignPutRequest ¶
type NullableCampaignsCampaignPutRequest struct {
// contains filtered or unexported fields
}
func NewNullableCampaignsCampaignPutRequest ¶
func NewNullableCampaignsCampaignPutRequest(val *CampaignsCampaignPutRequest) *NullableCampaignsCampaignPutRequest
func (NullableCampaignsCampaignPutRequest) Get ¶
func (v NullableCampaignsCampaignPutRequest) Get() *CampaignsCampaignPutRequest
func (NullableCampaignsCampaignPutRequest) IsSet ¶
func (v NullableCampaignsCampaignPutRequest) IsSet() bool
func (NullableCampaignsCampaignPutRequest) MarshalJSON ¶
func (v NullableCampaignsCampaignPutRequest) MarshalJSON() ([]byte, error)
func (*NullableCampaignsCampaignPutRequest) Set ¶
func (v *NullableCampaignsCampaignPutRequest) Set(val *CampaignsCampaignPutRequest)
func (*NullableCampaignsCampaignPutRequest) UnmarshalJSON ¶
func (v *NullableCampaignsCampaignPutRequest) UnmarshalJSON(src []byte) error
func (*NullableCampaignsCampaignPutRequest) Unset ¶
func (v *NullableCampaignsCampaignPutRequest) Unset()
type NullableCategoriesCategoryPutRequest ¶
type NullableCategoriesCategoryPutRequest struct {
// contains filtered or unexported fields
}
func NewNullableCategoriesCategoryPutRequest ¶
func NewNullableCategoriesCategoryPutRequest(val *CategoriesCategoryPutRequest) *NullableCategoriesCategoryPutRequest
func (NullableCategoriesCategoryPutRequest) Get ¶
func (v NullableCategoriesCategoryPutRequest) Get() *CategoriesCategoryPutRequest
func (NullableCategoriesCategoryPutRequest) IsSet ¶
func (v NullableCategoriesCategoryPutRequest) IsSet() bool
func (NullableCategoriesCategoryPutRequest) MarshalJSON ¶
func (v NullableCategoriesCategoryPutRequest) MarshalJSON() ([]byte, error)
func (*NullableCategoriesCategoryPutRequest) Set ¶
func (v *NullableCategoriesCategoryPutRequest) Set(val *CategoriesCategoryPutRequest)
func (*NullableCategoriesCategoryPutRequest) UnmarshalJSON ¶
func (v *NullableCategoriesCategoryPutRequest) UnmarshalJSON(src []byte) error
func (*NullableCategoriesCategoryPutRequest) Unset ¶
func (v *NullableCategoriesCategoryPutRequest) Unset()
type NullableCategoriesPostRequest ¶
type NullableCategoriesPostRequest struct {
// contains filtered or unexported fields
}
func NewNullableCategoriesPostRequest ¶
func NewNullableCategoriesPostRequest(val *CategoriesPostRequest) *NullableCategoriesPostRequest
func (NullableCategoriesPostRequest) Get ¶
func (v NullableCategoriesPostRequest) Get() *CategoriesPostRequest
func (NullableCategoriesPostRequest) IsSet ¶
func (v NullableCategoriesPostRequest) IsSet() bool
func (NullableCategoriesPostRequest) MarshalJSON ¶
func (v NullableCategoriesPostRequest) MarshalJSON() ([]byte, error)
func (*NullableCategoriesPostRequest) Set ¶
func (v *NullableCategoriesPostRequest) Set(val *CategoriesPostRequest)
func (*NullableCategoriesPostRequest) UnmarshalJSON ¶
func (v *NullableCategoriesPostRequest) UnmarshalJSON(src []byte) error
func (*NullableCategoriesPostRequest) Unset ¶
func (v *NullableCategoriesPostRequest) Unset()
type NullableChannelsChannelCampaignsPostRequest ¶
type NullableChannelsChannelCampaignsPostRequest struct {
// contains filtered or unexported fields
}
func NewNullableChannelsChannelCampaignsPostRequest ¶
func NewNullableChannelsChannelCampaignsPostRequest(val *ChannelsChannelCampaignsPostRequest) *NullableChannelsChannelCampaignsPostRequest
func (NullableChannelsChannelCampaignsPostRequest) IsSet ¶
func (v NullableChannelsChannelCampaignsPostRequest) IsSet() bool
func (NullableChannelsChannelCampaignsPostRequest) MarshalJSON ¶
func (v NullableChannelsChannelCampaignsPostRequest) MarshalJSON() ([]byte, error)
func (*NullableChannelsChannelCampaignsPostRequest) Set ¶
func (v *NullableChannelsChannelCampaignsPostRequest) Set(val *ChannelsChannelCampaignsPostRequest)
func (*NullableChannelsChannelCampaignsPostRequest) UnmarshalJSON ¶
func (v *NullableChannelsChannelCampaignsPostRequest) UnmarshalJSON(src []byte) error
func (*NullableChannelsChannelCampaignsPostRequest) Unset ¶
func (v *NullableChannelsChannelCampaignsPostRequest) Unset()
type NullableChannelsChannelPutRequest ¶
type NullableChannelsChannelPutRequest struct {
// contains filtered or unexported fields
}
func NewNullableChannelsChannelPutRequest ¶
func NewNullableChannelsChannelPutRequest(val *ChannelsChannelPutRequest) *NullableChannelsChannelPutRequest
func (NullableChannelsChannelPutRequest) Get ¶
func (v NullableChannelsChannelPutRequest) Get() *ChannelsChannelPutRequest
func (NullableChannelsChannelPutRequest) IsSet ¶
func (v NullableChannelsChannelPutRequest) IsSet() bool
func (NullableChannelsChannelPutRequest) MarshalJSON ¶
func (v NullableChannelsChannelPutRequest) MarshalJSON() ([]byte, error)
func (*NullableChannelsChannelPutRequest) Set ¶
func (v *NullableChannelsChannelPutRequest) Set(val *ChannelsChannelPutRequest)
func (*NullableChannelsChannelPutRequest) UnmarshalJSON ¶
func (v *NullableChannelsChannelPutRequest) UnmarshalJSON(src []byte) error
func (*NullableChannelsChannelPutRequest) Unset ¶
func (v *NullableChannelsChannelPutRequest) Unset()
type NullableChannelsPostRequest ¶
type NullableChannelsPostRequest struct {
// contains filtered or unexported fields
}
func NewNullableChannelsPostRequest ¶
func NewNullableChannelsPostRequest(val *ChannelsPostRequest) *NullableChannelsPostRequest
func (NullableChannelsPostRequest) Get ¶
func (v NullableChannelsPostRequest) Get() *ChannelsPostRequest
func (NullableChannelsPostRequest) IsSet ¶
func (v NullableChannelsPostRequest) IsSet() bool
func (NullableChannelsPostRequest) MarshalJSON ¶
func (v NullableChannelsPostRequest) MarshalJSON() ([]byte, error)
func (*NullableChannelsPostRequest) Set ¶
func (v *NullableChannelsPostRequest) Set(val *ChannelsPostRequest)
func (*NullableChannelsPostRequest) UnmarshalJSON ¶
func (v *NullableChannelsPostRequest) UnmarshalJSON(src []byte) error
func (*NullableChannelsPostRequest) Unset ¶
func (v *NullableChannelsPostRequest) Unset()
type NullableDomainPostRequest ¶
type NullableDomainPostRequest struct {
// contains filtered or unexported fields
}
func NewNullableDomainPostRequest ¶
func NewNullableDomainPostRequest(val *DomainPostRequest) *NullableDomainPostRequest
func (NullableDomainPostRequest) Get ¶
func (v NullableDomainPostRequest) Get() *DomainPostRequest
func (NullableDomainPostRequest) IsSet ¶
func (v NullableDomainPostRequest) IsSet() bool
func (NullableDomainPostRequest) MarshalJSON ¶
func (v NullableDomainPostRequest) MarshalJSON() ([]byte, error)
func (*NullableDomainPostRequest) Set ¶
func (v *NullableDomainPostRequest) Set(val *DomainPostRequest)
func (*NullableDomainPostRequest) UnmarshalJSON ¶
func (v *NullableDomainPostRequest) UnmarshalJSON(src []byte) error
func (*NullableDomainPostRequest) Unset ¶
func (v *NullableDomainPostRequest) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type ReportAPIService ¶
type ReportAPIService service
ReportAPIService ReportAPI service
func (*ReportAPIService) AdsAdReportsTrackEventPeriodGet ¶
func (a *ReportAPIService) AdsAdReportsTrackEventPeriodGet(ctx context.Context, ad string, event string, period string) ApiAdsAdReportsTrackEventPeriodGetRequest
AdsAdReportsTrackEventPeriodGet Ad track report per event.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ad The Id of ad @param event Event type @param period Report period @return ApiAdsAdReportsTrackEventPeriodGetRequest
func (*ReportAPIService) AdsAdReportsTrackEventPeriodGetExecute ¶
func (a *ReportAPIService) AdsAdReportsTrackEventPeriodGetExecute(r ApiAdsAdReportsTrackEventPeriodGetRequest) (*http.Response, error)
Execute executes the request
func (*ReportAPIService) CampaignsCampaignAdsAdReportsTrackEventPeriodGet ¶
func (a *ReportAPIService) CampaignsCampaignAdsAdReportsTrackEventPeriodGet(ctx context.Context, campaign string, ad string, event string, period string) ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest
CampaignsCampaignAdsAdReportsTrackEventPeriodGet Ad in campaign track report per event.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param campaign The Id of campaign @param ad The Id of ad @param event Event type @param period Report period @return ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest
func (*ReportAPIService) CampaignsCampaignAdsAdReportsTrackEventPeriodGetExecute ¶
func (a *ReportAPIService) CampaignsCampaignAdsAdReportsTrackEventPeriodGetExecute(r ApiCampaignsCampaignAdsAdReportsTrackEventPeriodGetRequest) (*http.Response, error)
Execute executes the request
func (*ReportAPIService) CampaignsCampaignReportsTrackEventPeriodGet ¶
func (a *ReportAPIService) CampaignsCampaignReportsTrackEventPeriodGet(ctx context.Context, campaign string, event string, period string) ApiCampaignsCampaignReportsTrackEventPeriodGetRequest
CampaignsCampaignReportsTrackEventPeriodGet Campaign track report per event.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param campaign The Id of campaign @param event Event type @param period Report period @return ApiCampaignsCampaignReportsTrackEventPeriodGetRequest
func (*ReportAPIService) CampaignsCampaignReportsTrackEventPeriodGetExecute ¶
func (a *ReportAPIService) CampaignsCampaignReportsTrackEventPeriodGetExecute(r ApiCampaignsCampaignReportsTrackEventPeriodGetRequest) (*http.Response, error)
Execute executes the request
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
Source Files ¶
- api_ad.go
- api_ads_category.go
- api_campaign.go
- api_campaigns_ad.go
- api_category.go
- api_channel.go
- api_domain.go
- api_report.go
- client.go
- configuration.go
- model__ads__ad__put_request.go
- model__campaigns__campaign__ads__ad__put_request.go
- model__campaigns__campaign__ads_post_request.go
- model__campaigns__campaign__ads_post_request_quota_inner.go
- model__campaigns__campaign__put_request.go
- model__categories__category__put_request.go
- model__categories_post_request.go
- model__channels__channel__campaigns_post_request.go
- model__channels__channel__put_request.go
- model__channels_post_request.go
- model__domain_post_request.go
- response.go
- utils.go