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 AnalyticsAPIService
- func (a *AnalyticsAPIService) AnalyticsPlayCountGet(ctx context.Context) ApiAnalyticsPlayCountGetRequest
- func (a *AnalyticsAPIService) AnalyticsPlayCountGetExecute(r ApiAnalyticsPlayCountGetRequest) (*http.Response, error)
- func (a *AnalyticsAPIService) AnalyticsTrafficGet(ctx context.Context) ApiAnalyticsTrafficGetRequest
- func (a *AnalyticsAPIService) AnalyticsTrafficGetExecute(r ApiAnalyticsTrafficGetRequest) (*http.Response, error)
- func (a *AnalyticsAPIService) AnalyticsWatchTimeGet(ctx context.Context) ApiAnalyticsWatchTimeGetRequest
- func (a *AnalyticsAPIService) AnalyticsWatchTimeGetExecute(r ApiAnalyticsWatchTimeGetRequest) (*http.Response, error)
- type ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) Aggregate(aggregate string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) Execute() (*http.Response, error)
- func (r ApiAnalyticsPlayCountGetRequest) FiltersAsn(filtersAsn []string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) FiltersClientFamily(filtersClientFamily []string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) FiltersClientType(filtersClientType []string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) FiltersCountry(filtersCountry []string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) FiltersDeviceBrand(filtersDeviceBrand []string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) FiltersDeviceModel(filtersDeviceModel []string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) FiltersDeviceType(filtersDeviceType []string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) FiltersOsFamily(filtersOsFamily []string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) FiltersResolution(filtersResolution []string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) FiltersStream(filtersStream []string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) GroupBy(groupBy string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) Interval(interval string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) Limit(limit int32) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) Offset(offset int32) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) OrderByName(orderByName string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) OrderByOrder(orderByOrder string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) Period(period string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) Since(since string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) Timezone(timezone string) ApiAnalyticsPlayCountGetRequest
- func (r ApiAnalyticsPlayCountGetRequest) Until(until string) ApiAnalyticsPlayCountGetRequest
- type ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) Aggregate(aggregate string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) Execute() (*http.Response, error)
- func (r ApiAnalyticsTrafficGetRequest) FiltersAsn(filtersAsn []string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) FiltersClientFamily(filtersClientFamily []string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) FiltersClientType(filtersClientType []string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) FiltersCountry(filtersCountry []string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) FiltersDeviceBrand(filtersDeviceBrand []string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) FiltersDeviceModel(filtersDeviceModel []string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) FiltersDeviceType(filtersDeviceType []string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) FiltersOsFamily(filtersOsFamily []string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) FiltersResolution(filtersResolution []string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) FiltersStream(filtersStream []string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) GroupBy(groupBy string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) Interval(interval string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) Limit(limit int32) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) Offset(offset int32) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) OrderByName(orderByName string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) OrderByOrder(orderByOrder string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) Period(period string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) Since(since string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) Timezone(timezone string) ApiAnalyticsTrafficGetRequest
- func (r ApiAnalyticsTrafficGetRequest) Until(until string) ApiAnalyticsTrafficGetRequest
- type ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) Aggregate(aggregate string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) Execute() (*http.Response, error)
- func (r ApiAnalyticsWatchTimeGetRequest) FiltersAsn(filtersAsn []string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) FiltersClientFamily(filtersClientFamily []string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) FiltersClientType(filtersClientType []string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) FiltersCountry(filtersCountry []string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) FiltersDeviceBrand(filtersDeviceBrand []string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) FiltersDeviceModel(filtersDeviceModel []string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) FiltersDeviceType(filtersDeviceType []string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) FiltersOsFamily(filtersOsFamily []string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) FiltersResolution(filtersResolution []string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) FiltersStream(filtersStream []string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) GroupBy(groupBy string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) Interval(interval string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) Limit(limit int32) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) Offset(offset int32) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) OrderByName(orderByName string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) OrderByOrder(orderByOrder string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) Period(period string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) Since(since string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) Timezone(timezone string) ApiAnalyticsWatchTimeGetRequest
- func (r ApiAnalyticsWatchTimeGetRequest) Until(until string) ApiAnalyticsWatchTimeGetRequest
- type ApiDomainGetRequest
- type ApiDomainPostRequest
- type ApiReportGeoGetRequest
- type ApiReportStatisticsGetRequest
- type ApiReportTrafficsGetRequest
- type ApiReportUserAgentGetRequest
- type ApiReportVisitorsGetRequest
- type ApiStreamsGetRequest
- func (r ApiStreamsGetRequest) Execute() (*http.Response, error)
- func (r ApiStreamsGetRequest) Filter(filter string) ApiStreamsGetRequest
- func (r ApiStreamsGetRequest) Page(page int32) ApiStreamsGetRequest
- func (r ApiStreamsGetRequest) PerPage(perPage int32) ApiStreamsGetRequest
- func (r ApiStreamsGetRequest) SecureExpireTime(secureExpireTime int32) ApiStreamsGetRequest
- func (r ApiStreamsGetRequest) SecureIp(secureIp string) ApiStreamsGetRequest
- type ApiStreamsPostRequest
- type ApiStreamsStreamDeleteRequest
- type ApiStreamsStreamGetRequest
- type ApiStreamsStreamPatchRequest
- type ApiStreamsStreamStartRecordGetRequest
- type ApiStreamsStreamStopRecordGetRequest
- type ApiWatermarksGetRequest
- type ApiWatermarksPostRequest
- func (r ApiWatermarksPostRequest) Description(description string) ApiWatermarksPostRequest
- func (r ApiWatermarksPostRequest) Execute() (*http.Response, error)
- func (r ApiWatermarksPostRequest) Title(title string) ApiWatermarksPostRequest
- func (r ApiWatermarksPostRequest) Watermark(watermark *os.File) ApiWatermarksPostRequest
- type ApiWatermarksWatermarkDeleteRequest
- type ApiWatermarksWatermarkGetRequest
- type ApiWatermarksWatermarkPatchRequest
- type BasicAuth
- 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 GeneralReportAPIService
- func (a *GeneralReportAPIService) ReportGeoGet(ctx context.Context) ApiReportGeoGetRequest
- func (a *GeneralReportAPIService) ReportGeoGetExecute(r ApiReportGeoGetRequest) (*http.Response, error)
- func (a *GeneralReportAPIService) ReportStatisticsGet(ctx context.Context) ApiReportStatisticsGetRequest
- func (a *GeneralReportAPIService) ReportStatisticsGetExecute(r ApiReportStatisticsGetRequest) (*http.Response, error)
- func (a *GeneralReportAPIService) ReportTrafficsGet(ctx context.Context) ApiReportTrafficsGetRequest
- func (a *GeneralReportAPIService) ReportTrafficsGetExecute(r ApiReportTrafficsGetRequest) (*http.Response, error)
- func (a *GeneralReportAPIService) ReportUserAgentGet(ctx context.Context) ApiReportUserAgentGetRequest
- func (a *GeneralReportAPIService) ReportUserAgentGetExecute(r ApiReportUserAgentGetRequest) (*http.Response, error)
- func (a *GeneralReportAPIService) ReportVisitorsGet(ctx context.Context) ApiReportVisitorsGetRequest
- func (a *GeneralReportAPIService) ReportVisitorsGetExecute(r ApiReportVisitorsGetRequest) (*http.Response, error)
- type GenericOpenAPIError
- type MappedNullable
- type NullableBool
- 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 NullableStreamsPostRequest
- func (v NullableStreamsPostRequest) Get() *StreamsPostRequest
- func (v NullableStreamsPostRequest) IsSet() bool
- func (v NullableStreamsPostRequest) MarshalJSON() ([]byte, error)
- func (v *NullableStreamsPostRequest) Set(val *StreamsPostRequest)
- func (v *NullableStreamsPostRequest) UnmarshalJSON(src []byte) error
- func (v *NullableStreamsPostRequest) Unset()
- type NullableStreamsPostRequestConvertInfoInner
- func (v NullableStreamsPostRequestConvertInfoInner) Get() *StreamsPostRequestConvertInfoInner
- func (v NullableStreamsPostRequestConvertInfoInner) IsSet() bool
- func (v NullableStreamsPostRequestConvertInfoInner) MarshalJSON() ([]byte, error)
- func (v *NullableStreamsPostRequestConvertInfoInner) Set(val *StreamsPostRequestConvertInfoInner)
- func (v *NullableStreamsPostRequestConvertInfoInner) UnmarshalJSON(src []byte) error
- func (v *NullableStreamsPostRequestConvertInfoInner) Unset()
- type NullableStreamsStreamPatchRequest
- func (v NullableStreamsStreamPatchRequest) Get() *StreamsStreamPatchRequest
- func (v NullableStreamsStreamPatchRequest) IsSet() bool
- func (v NullableStreamsStreamPatchRequest) MarshalJSON() ([]byte, error)
- func (v *NullableStreamsStreamPatchRequest) Set(val *StreamsStreamPatchRequest)
- func (v *NullableStreamsStreamPatchRequest) UnmarshalJSON(src []byte) error
- func (v *NullableStreamsStreamPatchRequest) Unset()
- type NullableString
- type NullableTime
- type NullableWatermarksWatermarkPatchRequest
- func (v NullableWatermarksWatermarkPatchRequest) Get() *WatermarksWatermarkPatchRequest
- func (v NullableWatermarksWatermarkPatchRequest) IsSet() bool
- func (v NullableWatermarksWatermarkPatchRequest) MarshalJSON() ([]byte, error)
- func (v *NullableWatermarksWatermarkPatchRequest) Set(val *WatermarksWatermarkPatchRequest)
- func (v *NullableWatermarksWatermarkPatchRequest) UnmarshalJSON(src []byte) error
- func (v *NullableWatermarksWatermarkPatchRequest) Unset()
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type StreamAPIService
- func (a *StreamAPIService) StreamsGet(ctx context.Context) ApiStreamsGetRequest
- func (a *StreamAPIService) StreamsGetExecute(r ApiStreamsGetRequest) (*http.Response, error)
- func (a *StreamAPIService) StreamsPost(ctx context.Context) ApiStreamsPostRequest
- func (a *StreamAPIService) StreamsPostExecute(r ApiStreamsPostRequest) (*http.Response, error)
- func (a *StreamAPIService) StreamsStreamDelete(ctx context.Context, stream string) ApiStreamsStreamDeleteRequest
- func (a *StreamAPIService) StreamsStreamDeleteExecute(r ApiStreamsStreamDeleteRequest) (*http.Response, error)
- func (a *StreamAPIService) StreamsStreamGet(ctx context.Context, stream string) ApiStreamsStreamGetRequest
- func (a *StreamAPIService) StreamsStreamGetExecute(r ApiStreamsStreamGetRequest) (*http.Response, error)
- func (a *StreamAPIService) StreamsStreamPatch(ctx context.Context, stream string) ApiStreamsStreamPatchRequest
- func (a *StreamAPIService) StreamsStreamPatchExecute(r ApiStreamsStreamPatchRequest) (*http.Response, error)
- func (a *StreamAPIService) StreamsStreamStartRecordGet(ctx context.Context) ApiStreamsStreamStartRecordGetRequest
- func (a *StreamAPIService) StreamsStreamStartRecordGetExecute(r ApiStreamsStreamStartRecordGetRequest) (*http.Response, error)
- func (a *StreamAPIService) StreamsStreamStopRecordGet(ctx context.Context) ApiStreamsStreamStopRecordGetRequest
- func (a *StreamAPIService) StreamsStreamStopRecordGetExecute(r ApiStreamsStreamStopRecordGetRequest) (*http.Response, error)
- type StreamsPostRequest
- func (o *StreamsPostRequest) GetAdsEnabled() bool
- func (o *StreamsPostRequest) GetAdsEnabledOk() (*bool, bool)
- func (o *StreamsPostRequest) GetArchiveEnabled() bool
- func (o *StreamsPostRequest) GetArchiveEnabledOk() (*bool, bool)
- func (o *StreamsPostRequest) GetArchiveMode() string
- func (o *StreamsPostRequest) GetArchiveModeOk() (*string, bool)
- func (o *StreamsPostRequest) GetCampaignId() string
- func (o *StreamsPostRequest) GetCampaignIdOk() (*string, bool)
- func (o *StreamsPostRequest) GetCatchupEnabled() bool
- func (o *StreamsPostRequest) GetCatchupEnabledOk() (*bool, bool)
- func (o *StreamsPostRequest) GetCatchupPeriod() int32
- func (o *StreamsPostRequest) GetCatchupPeriodOk() (*int32, bool)
- func (o *StreamsPostRequest) GetChannelId() string
- func (o *StreamsPostRequest) GetChannelIdOk() (*string, bool)
- func (o *StreamsPostRequest) GetConvertInfo() []StreamsPostRequestConvertInfoInner
- func (o *StreamsPostRequest) GetConvertInfoOk() ([]StreamsPostRequestConvertInfoInner, bool)
- func (o *StreamsPostRequest) GetDescription() string
- func (o *StreamsPostRequest) GetDescriptionOk() (*string, bool)
- func (o *StreamsPostRequest) GetFps() int32
- func (o *StreamsPostRequest) GetFpsMode() string
- func (o *StreamsPostRequest) GetFpsModeOk() (*string, bool)
- func (o *StreamsPostRequest) GetFpsOk() (*int32, bool)
- func (o *StreamsPostRequest) GetInputUrl() string
- func (o *StreamsPostRequest) GetInputUrlOk() (*string, bool)
- func (o *StreamsPostRequest) GetMode() string
- func (o *StreamsPostRequest) GetModeOk() (*string, bool)
- func (o *StreamsPostRequest) GetPresentType() string
- func (o *StreamsPostRequest) GetPresentTypeOk() (*string, bool)
- func (o *StreamsPostRequest) GetSecureLinkEnabled() bool
- func (o *StreamsPostRequest) GetSecureLinkEnabledOk() (*bool, bool)
- func (o *StreamsPostRequest) GetSecureLinkKey() string
- func (o *StreamsPostRequest) GetSecureLinkKeyOk() (*string, bool)
- func (o *StreamsPostRequest) GetSecureLinkWithIp() bool
- func (o *StreamsPostRequest) GetSecureLinkWithIpOk() (*bool, bool)
- func (o *StreamsPostRequest) GetSlug() string
- func (o *StreamsPostRequest) GetSlugOk() (*string, bool)
- func (o *StreamsPostRequest) GetTimeshift() int32
- func (o *StreamsPostRequest) GetTimeshiftOk() (*int32, bool)
- func (o *StreamsPostRequest) GetTitle() string
- func (o *StreamsPostRequest) GetTitleOk() (*string, bool)
- func (o *StreamsPostRequest) GetType() string
- func (o *StreamsPostRequest) GetTypeOk() (*string, bool)
- func (o *StreamsPostRequest) GetWatermarkArea() string
- func (o *StreamsPostRequest) GetWatermarkAreaOk() (*string, bool)
- func (o *StreamsPostRequest) GetWatermarkId() string
- func (o *StreamsPostRequest) GetWatermarkIdOk() (*string, bool)
- func (o *StreamsPostRequest) HasAdsEnabled() bool
- func (o *StreamsPostRequest) HasArchiveEnabled() bool
- func (o *StreamsPostRequest) HasArchiveMode() bool
- func (o *StreamsPostRequest) HasCampaignId() bool
- func (o *StreamsPostRequest) HasCatchupEnabled() bool
- func (o *StreamsPostRequest) HasCatchupPeriod() bool
- func (o *StreamsPostRequest) HasChannelId() bool
- func (o *StreamsPostRequest) HasDescription() bool
- func (o *StreamsPostRequest) HasFpsMode() bool
- func (o *StreamsPostRequest) HasInputUrl() bool
- func (o *StreamsPostRequest) HasPresentType() bool
- func (o *StreamsPostRequest) HasSecureLinkEnabled() bool
- func (o *StreamsPostRequest) HasSecureLinkKey() bool
- func (o *StreamsPostRequest) HasSecureLinkWithIp() bool
- func (o *StreamsPostRequest) HasTimeshift() bool
- func (o *StreamsPostRequest) HasWatermarkArea() bool
- func (o *StreamsPostRequest) HasWatermarkId() bool
- func (o StreamsPostRequest) MarshalJSON() ([]byte, error)
- func (o *StreamsPostRequest) SetAdsEnabled(v bool)
- func (o *StreamsPostRequest) SetArchiveEnabled(v bool)
- func (o *StreamsPostRequest) SetArchiveMode(v string)
- func (o *StreamsPostRequest) SetCampaignId(v string)
- func (o *StreamsPostRequest) SetCatchupEnabled(v bool)
- func (o *StreamsPostRequest) SetCatchupPeriod(v int32)
- func (o *StreamsPostRequest) SetChannelId(v string)
- func (o *StreamsPostRequest) SetConvertInfo(v []StreamsPostRequestConvertInfoInner)
- func (o *StreamsPostRequest) SetDescription(v string)
- func (o *StreamsPostRequest) SetFps(v int32)
- func (o *StreamsPostRequest) SetFpsMode(v string)
- func (o *StreamsPostRequest) SetInputUrl(v string)
- func (o *StreamsPostRequest) SetMode(v string)
- func (o *StreamsPostRequest) SetPresentType(v string)
- func (o *StreamsPostRequest) SetSecureLinkEnabled(v bool)
- func (o *StreamsPostRequest) SetSecureLinkKey(v string)
- func (o *StreamsPostRequest) SetSecureLinkWithIp(v bool)
- func (o *StreamsPostRequest) SetSlug(v string)
- func (o *StreamsPostRequest) SetTimeshift(v int32)
- func (o *StreamsPostRequest) SetTitle(v string)
- func (o *StreamsPostRequest) SetType(v string)
- func (o *StreamsPostRequest) SetWatermarkArea(v string)
- func (o *StreamsPostRequest) SetWatermarkId(v string)
- func (o StreamsPostRequest) ToMap() (map[string]interface{}, error)
- type StreamsPostRequestConvertInfoInner
- func (o *StreamsPostRequestConvertInfoInner) GetAudioBitrate() int32
- func (o *StreamsPostRequestConvertInfoInner) GetAudioBitrateOk() (*int32, bool)
- func (o *StreamsPostRequestConvertInfoInner) GetResolutionHeight() int32
- func (o *StreamsPostRequestConvertInfoInner) GetResolutionHeightOk() (*int32, bool)
- func (o *StreamsPostRequestConvertInfoInner) GetResolutionWidth() int32
- func (o *StreamsPostRequestConvertInfoInner) GetResolutionWidthOk() (*int32, bool)
- func (o *StreamsPostRequestConvertInfoInner) GetVideoBitrate() int32
- func (o *StreamsPostRequestConvertInfoInner) GetVideoBitrateOk() (*int32, bool)
- func (o *StreamsPostRequestConvertInfoInner) GetWatermarkArea() string
- func (o *StreamsPostRequestConvertInfoInner) GetWatermarkAreaOk() (*string, bool)
- func (o *StreamsPostRequestConvertInfoInner) GetWatermarkId() string
- func (o *StreamsPostRequestConvertInfoInner) GetWatermarkIdOk() (*string, bool)
- func (o *StreamsPostRequestConvertInfoInner) HasAudioBitrate() bool
- func (o *StreamsPostRequestConvertInfoInner) HasResolutionHeight() bool
- func (o *StreamsPostRequestConvertInfoInner) HasResolutionWidth() bool
- func (o *StreamsPostRequestConvertInfoInner) HasVideoBitrate() bool
- func (o *StreamsPostRequestConvertInfoInner) HasWatermarkArea() bool
- func (o *StreamsPostRequestConvertInfoInner) HasWatermarkId() bool
- func (o StreamsPostRequestConvertInfoInner) MarshalJSON() ([]byte, error)
- func (o *StreamsPostRequestConvertInfoInner) SetAudioBitrate(v int32)
- func (o *StreamsPostRequestConvertInfoInner) SetResolutionHeight(v int32)
- func (o *StreamsPostRequestConvertInfoInner) SetResolutionWidth(v int32)
- func (o *StreamsPostRequestConvertInfoInner) SetVideoBitrate(v int32)
- func (o *StreamsPostRequestConvertInfoInner) SetWatermarkArea(v string)
- func (o *StreamsPostRequestConvertInfoInner) SetWatermarkId(v string)
- func (o StreamsPostRequestConvertInfoInner) ToMap() (map[string]interface{}, error)
- type StreamsStreamPatchRequest
- func (o *StreamsStreamPatchRequest) GetAdsEnabled() bool
- func (o *StreamsStreamPatchRequest) GetAdsEnabledOk() (*bool, bool)
- func (o *StreamsStreamPatchRequest) GetArchiveEnabled() bool
- func (o *StreamsStreamPatchRequest) GetArchiveEnabledOk() (*bool, bool)
- func (o *StreamsStreamPatchRequest) GetArchiveMode() string
- func (o *StreamsStreamPatchRequest) GetArchiveModeOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetCampaignId() string
- func (o *StreamsStreamPatchRequest) GetCampaignIdOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetCatchupEnabled() bool
- func (o *StreamsStreamPatchRequest) GetCatchupEnabledOk() (*bool, bool)
- func (o *StreamsStreamPatchRequest) GetCatchupPeriod() int32
- func (o *StreamsStreamPatchRequest) GetCatchupPeriodOk() (*int32, bool)
- func (o *StreamsStreamPatchRequest) GetChannelId() string
- func (o *StreamsStreamPatchRequest) GetChannelIdOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetConvertInfo() []StreamsPostRequestConvertInfoInner
- func (o *StreamsStreamPatchRequest) GetConvertInfoOk() ([]StreamsPostRequestConvertInfoInner, bool)
- func (o *StreamsStreamPatchRequest) GetDescription() string
- func (o *StreamsStreamPatchRequest) GetDescriptionOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetFps() int32
- func (o *StreamsStreamPatchRequest) GetFpsMode() string
- func (o *StreamsStreamPatchRequest) GetFpsModeOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetFpsOk() (*int32, bool)
- func (o *StreamsStreamPatchRequest) GetInputUrl() string
- func (o *StreamsStreamPatchRequest) GetInputUrlOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetMode() string
- func (o *StreamsStreamPatchRequest) GetModeOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetPresentType() string
- func (o *StreamsStreamPatchRequest) GetPresentTypeOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetSecureLinkEnabled() bool
- func (o *StreamsStreamPatchRequest) GetSecureLinkEnabledOk() (*bool, bool)
- func (o *StreamsStreamPatchRequest) GetSecureLinkKey() string
- func (o *StreamsStreamPatchRequest) GetSecureLinkKeyOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetSecureLinkWithIp() bool
- func (o *StreamsStreamPatchRequest) GetSecureLinkWithIpOk() (*bool, bool)
- func (o *StreamsStreamPatchRequest) GetSlug() string
- func (o *StreamsStreamPatchRequest) GetSlugOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetTimeshift() int32
- func (o *StreamsStreamPatchRequest) GetTimeshiftOk() (*int32, bool)
- func (o *StreamsStreamPatchRequest) GetTitle() string
- func (o *StreamsStreamPatchRequest) GetTitleOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetType() string
- func (o *StreamsStreamPatchRequest) GetTypeOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetWatermarkArea() string
- func (o *StreamsStreamPatchRequest) GetWatermarkAreaOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) GetWatermarkId() string
- func (o *StreamsStreamPatchRequest) GetWatermarkIdOk() (*string, bool)
- func (o *StreamsStreamPatchRequest) HasAdsEnabled() bool
- func (o *StreamsStreamPatchRequest) HasArchiveEnabled() bool
- func (o *StreamsStreamPatchRequest) HasArchiveMode() bool
- func (o *StreamsStreamPatchRequest) HasCampaignId() bool
- func (o *StreamsStreamPatchRequest) HasCatchupEnabled() bool
- func (o *StreamsStreamPatchRequest) HasCatchupPeriod() bool
- func (o *StreamsStreamPatchRequest) HasChannelId() bool
- func (o *StreamsStreamPatchRequest) HasConvertInfo() bool
- func (o *StreamsStreamPatchRequest) HasDescription() bool
- func (o *StreamsStreamPatchRequest) HasFps() bool
- func (o *StreamsStreamPatchRequest) HasFpsMode() bool
- func (o *StreamsStreamPatchRequest) HasInputUrl() bool
- func (o *StreamsStreamPatchRequest) HasMode() bool
- func (o *StreamsStreamPatchRequest) HasPresentType() bool
- func (o *StreamsStreamPatchRequest) HasSecureLinkEnabled() bool
- func (o *StreamsStreamPatchRequest) HasSecureLinkKey() bool
- func (o *StreamsStreamPatchRequest) HasSecureLinkWithIp() bool
- func (o *StreamsStreamPatchRequest) HasSlug() bool
- func (o *StreamsStreamPatchRequest) HasTimeshift() bool
- func (o *StreamsStreamPatchRequest) HasTitle() bool
- func (o *StreamsStreamPatchRequest) HasType() bool
- func (o *StreamsStreamPatchRequest) HasWatermarkArea() bool
- func (o *StreamsStreamPatchRequest) HasWatermarkId() bool
- func (o StreamsStreamPatchRequest) MarshalJSON() ([]byte, error)
- func (o *StreamsStreamPatchRequest) SetAdsEnabled(v bool)
- func (o *StreamsStreamPatchRequest) SetArchiveEnabled(v bool)
- func (o *StreamsStreamPatchRequest) SetArchiveMode(v string)
- func (o *StreamsStreamPatchRequest) SetCampaignId(v string)
- func (o *StreamsStreamPatchRequest) SetCatchupEnabled(v bool)
- func (o *StreamsStreamPatchRequest) SetCatchupPeriod(v int32)
- func (o *StreamsStreamPatchRequest) SetChannelId(v string)
- func (o *StreamsStreamPatchRequest) SetConvertInfo(v []StreamsPostRequestConvertInfoInner)
- func (o *StreamsStreamPatchRequest) SetDescription(v string)
- func (o *StreamsStreamPatchRequest) SetFps(v int32)
- func (o *StreamsStreamPatchRequest) SetFpsMode(v string)
- func (o *StreamsStreamPatchRequest) SetInputUrl(v string)
- func (o *StreamsStreamPatchRequest) SetMode(v string)
- func (o *StreamsStreamPatchRequest) SetPresentType(v string)
- func (o *StreamsStreamPatchRequest) SetSecureLinkEnabled(v bool)
- func (o *StreamsStreamPatchRequest) SetSecureLinkKey(v string)
- func (o *StreamsStreamPatchRequest) SetSecureLinkWithIp(v bool)
- func (o *StreamsStreamPatchRequest) SetSlug(v string)
- func (o *StreamsStreamPatchRequest) SetTimeshift(v int32)
- func (o *StreamsStreamPatchRequest) SetTitle(v string)
- func (o *StreamsStreamPatchRequest) SetType(v string)
- func (o *StreamsStreamPatchRequest) SetWatermarkArea(v string)
- func (o *StreamsStreamPatchRequest) SetWatermarkId(v string)
- func (o StreamsStreamPatchRequest) ToMap() (map[string]interface{}, error)
- type WatermarkAPIService
- func (a *WatermarkAPIService) WatermarksGet(ctx context.Context) ApiWatermarksGetRequest
- func (a *WatermarkAPIService) WatermarksGetExecute(r ApiWatermarksGetRequest) (*http.Response, error)
- func (a *WatermarkAPIService) WatermarksPost(ctx context.Context) ApiWatermarksPostRequest
- func (a *WatermarkAPIService) WatermarksPostExecute(r ApiWatermarksPostRequest) (*http.Response, error)
- func (a *WatermarkAPIService) WatermarksWatermarkDelete(ctx context.Context, watermark string) ApiWatermarksWatermarkDeleteRequest
- func (a *WatermarkAPIService) WatermarksWatermarkDeleteExecute(r ApiWatermarksWatermarkDeleteRequest) (*http.Response, error)
- func (a *WatermarkAPIService) WatermarksWatermarkGet(ctx context.Context, watermark string) ApiWatermarksWatermarkGetRequest
- func (a *WatermarkAPIService) WatermarksWatermarkGetExecute(r ApiWatermarksWatermarkGetRequest) (*http.Response, error)
- func (a *WatermarkAPIService) WatermarksWatermarkPatch(ctx context.Context, watermark string) ApiWatermarksWatermarkPatchRequest
- func (a *WatermarkAPIService) WatermarksWatermarkPatchExecute(r ApiWatermarksWatermarkPatchRequest) (*http.Response, error)
- type WatermarksWatermarkPatchRequest
- func (o *WatermarksWatermarkPatchRequest) GetDescription() string
- func (o *WatermarksWatermarkPatchRequest) GetDescriptionOk() (*string, bool)
- func (o *WatermarksWatermarkPatchRequest) GetTitle() string
- func (o *WatermarksWatermarkPatchRequest) GetTitleOk() (*string, bool)
- func (o *WatermarksWatermarkPatchRequest) HasDescription() bool
- func (o *WatermarksWatermarkPatchRequest) HasTitle() bool
- func (o WatermarksWatermarkPatchRequest) MarshalJSON() ([]byte, error)
- func (o *WatermarksWatermarkPatchRequest) SetDescription(v string)
- func (o *WatermarksWatermarkPatchRequest) SetTitle(v string)
- func (o WatermarksWatermarkPatchRequest) ToMap() (map[string]interface{}, error)
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 { AnalyticsAPI *AnalyticsAPIService DomainAPI *DomainAPIService GeneralReportAPI *GeneralReportAPIService StreamAPI *StreamAPIService WatermarkAPI *WatermarkAPIService // contains filtered or unexported fields }
APIClient manages communication with the Arvan LIVE 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 AnalyticsAPIService ¶
type AnalyticsAPIService service
AnalyticsAPIService AnalyticsAPI service
func (*AnalyticsAPIService) AnalyticsPlayCountGet ¶
func (a *AnalyticsAPIService) AnalyticsPlayCountGet(ctx context.Context) ApiAnalyticsPlayCountGetRequest
AnalyticsPlayCountGet Return appropriate play count
Interval constraint
Max 'daily' : 30d
Max 'hourly' : 2d
Max 'minutely' : 2h <br/> Period constraint
Max : 30d <br/> Since and until constraint
Max of date format : 30d
Max of date-time format : 2d
The format of both should be the same either as date-time or as date. <br/> Aggregate constraint
It should be used with group_by or interval.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAnalyticsPlayCountGetRequest
func (*AnalyticsAPIService) AnalyticsPlayCountGetExecute ¶
func (a *AnalyticsAPIService) AnalyticsPlayCountGetExecute(r ApiAnalyticsPlayCountGetRequest) (*http.Response, error)
Execute executes the request
func (*AnalyticsAPIService) AnalyticsTrafficGet ¶
func (a *AnalyticsAPIService) AnalyticsTrafficGet(ctx context.Context) ApiAnalyticsTrafficGetRequest
AnalyticsTrafficGet Return appropriate traffic
Interval constraint
Max 'daily' : 30d
Max 'hourly' : 2d
Max 'minutely' : 2h <br/> Period constraint
Max : 30d <br/> Since and until constraint
Max of date format : 30d
Max of date-time format : 2d
The format of both should be the same either as date-time or as date. <br/> Aggregate constraint
It should be used with group_by or interval.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAnalyticsTrafficGetRequest
func (*AnalyticsAPIService) AnalyticsTrafficGetExecute ¶
func (a *AnalyticsAPIService) AnalyticsTrafficGetExecute(r ApiAnalyticsTrafficGetRequest) (*http.Response, error)
Execute executes the request
func (*AnalyticsAPIService) AnalyticsWatchTimeGet ¶
func (a *AnalyticsAPIService) AnalyticsWatchTimeGet(ctx context.Context) ApiAnalyticsWatchTimeGetRequest
AnalyticsWatchTimeGet Return appropriate watch time
Interval constraint
Max 'daily' : 30d
Max 'hourly' : 2d
Max 'minutely' : 2h <br/> Period constraint
Max : 30d <br/> Since and until constraint
Max of date format : 30d
Max of date-time format : 2d
The format of both should be the same either as date-time or as date. <br/> Aggregate constraint
It should be used with group_by or interval.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAnalyticsWatchTimeGetRequest
func (*AnalyticsAPIService) AnalyticsWatchTimeGetExecute ¶
func (a *AnalyticsAPIService) AnalyticsWatchTimeGetExecute(r ApiAnalyticsWatchTimeGetRequest) (*http.Response, error)
Execute executes the request
type ApiAnalyticsPlayCountGetRequest ¶
type ApiAnalyticsPlayCountGetRequest struct { ApiService *AnalyticsAPIService // contains filtered or unexported fields }
func (ApiAnalyticsPlayCountGetRequest) Aggregate ¶
func (r ApiAnalyticsPlayCountGetRequest) Aggregate(aggregate string) ApiAnalyticsPlayCountGetRequest
Enum: 'SUM' 'AVG' 'MIN' 'MAX' 'COUNT'
func (ApiAnalyticsPlayCountGetRequest) Execute ¶
func (r ApiAnalyticsPlayCountGetRequest) Execute() (*http.Response, error)
func (ApiAnalyticsPlayCountGetRequest) FiltersAsn ¶
func (r ApiAnalyticsPlayCountGetRequest) FiltersAsn(filtersAsn []string) ApiAnalyticsPlayCountGetRequest
Filter by asn numbers
func (ApiAnalyticsPlayCountGetRequest) FiltersClientFamily ¶
func (r ApiAnalyticsPlayCountGetRequest) FiltersClientFamily(filtersClientFamily []string) ApiAnalyticsPlayCountGetRequest
Filter by client family
func (ApiAnalyticsPlayCountGetRequest) FiltersClientType ¶
func (r ApiAnalyticsPlayCountGetRequest) FiltersClientType(filtersClientType []string) ApiAnalyticsPlayCountGetRequest
Filter by client type
func (ApiAnalyticsPlayCountGetRequest) FiltersCountry ¶
func (r ApiAnalyticsPlayCountGetRequest) FiltersCountry(filtersCountry []string) ApiAnalyticsPlayCountGetRequest
Filter by country IDs
func (ApiAnalyticsPlayCountGetRequest) FiltersDeviceBrand ¶
func (r ApiAnalyticsPlayCountGetRequest) FiltersDeviceBrand(filtersDeviceBrand []string) ApiAnalyticsPlayCountGetRequest
Filter by device brand
func (ApiAnalyticsPlayCountGetRequest) FiltersDeviceModel ¶
func (r ApiAnalyticsPlayCountGetRequest) FiltersDeviceModel(filtersDeviceModel []string) ApiAnalyticsPlayCountGetRequest
Filter by device model
func (ApiAnalyticsPlayCountGetRequest) FiltersDeviceType ¶
func (r ApiAnalyticsPlayCountGetRequest) FiltersDeviceType(filtersDeviceType []string) ApiAnalyticsPlayCountGetRequest
Filter by device type
func (ApiAnalyticsPlayCountGetRequest) FiltersOsFamily ¶
func (r ApiAnalyticsPlayCountGetRequest) FiltersOsFamily(filtersOsFamily []string) ApiAnalyticsPlayCountGetRequest
Filter by os family
func (ApiAnalyticsPlayCountGetRequest) FiltersResolution ¶
func (r ApiAnalyticsPlayCountGetRequest) FiltersResolution(filtersResolution []string) ApiAnalyticsPlayCountGetRequest
Filter by resolution
func (ApiAnalyticsPlayCountGetRequest) FiltersStream ¶
func (r ApiAnalyticsPlayCountGetRequest) FiltersStream(filtersStream []string) ApiAnalyticsPlayCountGetRequest
Filter by stream IDs
func (ApiAnalyticsPlayCountGetRequest) GroupBy ¶
func (r ApiAnalyticsPlayCountGetRequest) GroupBy(groupBy string) ApiAnalyticsPlayCountGetRequest
Enum: 'channel' 'video' 'country' 'asn'
func (ApiAnalyticsPlayCountGetRequest) Interval ¶
func (r ApiAnalyticsPlayCountGetRequest) Interval(interval string) ApiAnalyticsPlayCountGetRequest
Enum: 'minutely' 'hourly' 'daily'
func (ApiAnalyticsPlayCountGetRequest) Limit ¶
func (r ApiAnalyticsPlayCountGetRequest) Limit(limit int32) ApiAnalyticsPlayCountGetRequest
Limit the number of entities
func (ApiAnalyticsPlayCountGetRequest) Offset ¶
func (r ApiAnalyticsPlayCountGetRequest) Offset(offset int32) ApiAnalyticsPlayCountGetRequest
Define offset of entities
func (ApiAnalyticsPlayCountGetRequest) OrderByName ¶
func (r ApiAnalyticsPlayCountGetRequest) OrderByName(orderByName string) ApiAnalyticsPlayCountGetRequest
Enum: watch_time
func (ApiAnalyticsPlayCountGetRequest) OrderByOrder ¶
func (r ApiAnalyticsPlayCountGetRequest) OrderByOrder(orderByOrder string) ApiAnalyticsPlayCountGetRequest
Enum: 'ASC' 'DESC'
func (ApiAnalyticsPlayCountGetRequest) Period ¶
func (r ApiAnalyticsPlayCountGetRequest) Period(period string) ApiAnalyticsPlayCountGetRequest
Enum: '1h' '2h' '3h' '6h' '12h' '24h' '3d' '7d' '14d' '1m'
func (ApiAnalyticsPlayCountGetRequest) Since ¶
func (r ApiAnalyticsPlayCountGetRequest) Since(since string) ApiAnalyticsPlayCountGetRequest
string <date-time:Y-m-d H:i>|<date: Y-m-d>
func (ApiAnalyticsPlayCountGetRequest) Timezone ¶
func (r ApiAnalyticsPlayCountGetRequest) Timezone(timezone string) ApiAnalyticsPlayCountGetRequest
Timezone ex: Asia/Tehran
func (ApiAnalyticsPlayCountGetRequest) Until ¶
func (r ApiAnalyticsPlayCountGetRequest) Until(until string) ApiAnalyticsPlayCountGetRequest
string <date-time:Y-m-d H:i>|<date: Y-m-d>
type ApiAnalyticsTrafficGetRequest ¶
type ApiAnalyticsTrafficGetRequest struct { ApiService *AnalyticsAPIService // contains filtered or unexported fields }
func (ApiAnalyticsTrafficGetRequest) Aggregate ¶
func (r ApiAnalyticsTrafficGetRequest) Aggregate(aggregate string) ApiAnalyticsTrafficGetRequest
Enum: 'SUM' 'AVG' 'MIN' 'MAX' 'COUNT'
func (ApiAnalyticsTrafficGetRequest) Execute ¶
func (r ApiAnalyticsTrafficGetRequest) Execute() (*http.Response, error)
func (ApiAnalyticsTrafficGetRequest) FiltersAsn ¶
func (r ApiAnalyticsTrafficGetRequest) FiltersAsn(filtersAsn []string) ApiAnalyticsTrafficGetRequest
Filter by asn numbers
func (ApiAnalyticsTrafficGetRequest) FiltersClientFamily ¶
func (r ApiAnalyticsTrafficGetRequest) FiltersClientFamily(filtersClientFamily []string) ApiAnalyticsTrafficGetRequest
Filter by client family
func (ApiAnalyticsTrafficGetRequest) FiltersClientType ¶
func (r ApiAnalyticsTrafficGetRequest) FiltersClientType(filtersClientType []string) ApiAnalyticsTrafficGetRequest
Filter by client type
func (ApiAnalyticsTrafficGetRequest) FiltersCountry ¶
func (r ApiAnalyticsTrafficGetRequest) FiltersCountry(filtersCountry []string) ApiAnalyticsTrafficGetRequest
Filter by country IDs
func (ApiAnalyticsTrafficGetRequest) FiltersDeviceBrand ¶
func (r ApiAnalyticsTrafficGetRequest) FiltersDeviceBrand(filtersDeviceBrand []string) ApiAnalyticsTrafficGetRequest
Filter by device brand
func (ApiAnalyticsTrafficGetRequest) FiltersDeviceModel ¶
func (r ApiAnalyticsTrafficGetRequest) FiltersDeviceModel(filtersDeviceModel []string) ApiAnalyticsTrafficGetRequest
Filter by device model
func (ApiAnalyticsTrafficGetRequest) FiltersDeviceType ¶
func (r ApiAnalyticsTrafficGetRequest) FiltersDeviceType(filtersDeviceType []string) ApiAnalyticsTrafficGetRequest
Filter by device type
func (ApiAnalyticsTrafficGetRequest) FiltersOsFamily ¶
func (r ApiAnalyticsTrafficGetRequest) FiltersOsFamily(filtersOsFamily []string) ApiAnalyticsTrafficGetRequest
Filter by os family
func (ApiAnalyticsTrafficGetRequest) FiltersResolution ¶
func (r ApiAnalyticsTrafficGetRequest) FiltersResolution(filtersResolution []string) ApiAnalyticsTrafficGetRequest
Filter by resolution
func (ApiAnalyticsTrafficGetRequest) FiltersStream ¶
func (r ApiAnalyticsTrafficGetRequest) FiltersStream(filtersStream []string) ApiAnalyticsTrafficGetRequest
Filter by stream IDs
func (ApiAnalyticsTrafficGetRequest) GroupBy ¶
func (r ApiAnalyticsTrafficGetRequest) GroupBy(groupBy string) ApiAnalyticsTrafficGetRequest
Enum: 'channel' 'video' 'country' 'asn' 'referer'
func (ApiAnalyticsTrafficGetRequest) Interval ¶
func (r ApiAnalyticsTrafficGetRequest) Interval(interval string) ApiAnalyticsTrafficGetRequest
Enum: 'minutely' 'hourly' 'daily'
func (ApiAnalyticsTrafficGetRequest) Limit ¶
func (r ApiAnalyticsTrafficGetRequest) Limit(limit int32) ApiAnalyticsTrafficGetRequest
Limit the number of entities
func (ApiAnalyticsTrafficGetRequest) Offset ¶
func (r ApiAnalyticsTrafficGetRequest) Offset(offset int32) ApiAnalyticsTrafficGetRequest
Define offset of entities
func (ApiAnalyticsTrafficGetRequest) OrderByName ¶
func (r ApiAnalyticsTrafficGetRequest) OrderByName(orderByName string) ApiAnalyticsTrafficGetRequest
Enum: traffic
func (ApiAnalyticsTrafficGetRequest) OrderByOrder ¶
func (r ApiAnalyticsTrafficGetRequest) OrderByOrder(orderByOrder string) ApiAnalyticsTrafficGetRequest
Enum: 'ASC' 'DESC'
func (ApiAnalyticsTrafficGetRequest) Period ¶
func (r ApiAnalyticsTrafficGetRequest) Period(period string) ApiAnalyticsTrafficGetRequest
Enum: '1h' '2h' '3h' '6h' '12h' '24h' '3d' '7d' '14d' '1m'
func (ApiAnalyticsTrafficGetRequest) Since ¶
func (r ApiAnalyticsTrafficGetRequest) Since(since string) ApiAnalyticsTrafficGetRequest
string <date-time:Y-m-d H:i>|<date: Y-m-d>
func (ApiAnalyticsTrafficGetRequest) Timezone ¶
func (r ApiAnalyticsTrafficGetRequest) Timezone(timezone string) ApiAnalyticsTrafficGetRequest
Timezone ex: Asia/Tehran
func (ApiAnalyticsTrafficGetRequest) Until ¶
func (r ApiAnalyticsTrafficGetRequest) Until(until string) ApiAnalyticsTrafficGetRequest
string <date-time:Y-m-d H:i>|<date: Y-m-d>
type ApiAnalyticsWatchTimeGetRequest ¶
type ApiAnalyticsWatchTimeGetRequest struct { ApiService *AnalyticsAPIService // contains filtered or unexported fields }
func (ApiAnalyticsWatchTimeGetRequest) Aggregate ¶
func (r ApiAnalyticsWatchTimeGetRequest) Aggregate(aggregate string) ApiAnalyticsWatchTimeGetRequest
Enum: 'SUM' 'AVG' 'MIN' 'MAX' 'COUNT'
func (ApiAnalyticsWatchTimeGetRequest) Execute ¶
func (r ApiAnalyticsWatchTimeGetRequest) Execute() (*http.Response, error)
func (ApiAnalyticsWatchTimeGetRequest) FiltersAsn ¶
func (r ApiAnalyticsWatchTimeGetRequest) FiltersAsn(filtersAsn []string) ApiAnalyticsWatchTimeGetRequest
Filter by asn numbers
func (ApiAnalyticsWatchTimeGetRequest) FiltersClientFamily ¶
func (r ApiAnalyticsWatchTimeGetRequest) FiltersClientFamily(filtersClientFamily []string) ApiAnalyticsWatchTimeGetRequest
Filter by client family
func (ApiAnalyticsWatchTimeGetRequest) FiltersClientType ¶
func (r ApiAnalyticsWatchTimeGetRequest) FiltersClientType(filtersClientType []string) ApiAnalyticsWatchTimeGetRequest
Filter by client type
func (ApiAnalyticsWatchTimeGetRequest) FiltersCountry ¶
func (r ApiAnalyticsWatchTimeGetRequest) FiltersCountry(filtersCountry []string) ApiAnalyticsWatchTimeGetRequest
Filter by country IDs
func (ApiAnalyticsWatchTimeGetRequest) FiltersDeviceBrand ¶
func (r ApiAnalyticsWatchTimeGetRequest) FiltersDeviceBrand(filtersDeviceBrand []string) ApiAnalyticsWatchTimeGetRequest
Filter by device brand
func (ApiAnalyticsWatchTimeGetRequest) FiltersDeviceModel ¶
func (r ApiAnalyticsWatchTimeGetRequest) FiltersDeviceModel(filtersDeviceModel []string) ApiAnalyticsWatchTimeGetRequest
Filter by device model
func (ApiAnalyticsWatchTimeGetRequest) FiltersDeviceType ¶
func (r ApiAnalyticsWatchTimeGetRequest) FiltersDeviceType(filtersDeviceType []string) ApiAnalyticsWatchTimeGetRequest
Filter by device type
func (ApiAnalyticsWatchTimeGetRequest) FiltersOsFamily ¶
func (r ApiAnalyticsWatchTimeGetRequest) FiltersOsFamily(filtersOsFamily []string) ApiAnalyticsWatchTimeGetRequest
Filter by os family
func (ApiAnalyticsWatchTimeGetRequest) FiltersResolution ¶
func (r ApiAnalyticsWatchTimeGetRequest) FiltersResolution(filtersResolution []string) ApiAnalyticsWatchTimeGetRequest
Filter by resolution
func (ApiAnalyticsWatchTimeGetRequest) FiltersStream ¶
func (r ApiAnalyticsWatchTimeGetRequest) FiltersStream(filtersStream []string) ApiAnalyticsWatchTimeGetRequest
Filter by stream IDs
func (ApiAnalyticsWatchTimeGetRequest) GroupBy ¶
func (r ApiAnalyticsWatchTimeGetRequest) GroupBy(groupBy string) ApiAnalyticsWatchTimeGetRequest
Enum: 'channel' 'video' 'country' 'asn'
func (ApiAnalyticsWatchTimeGetRequest) Interval ¶
func (r ApiAnalyticsWatchTimeGetRequest) Interval(interval string) ApiAnalyticsWatchTimeGetRequest
Enum: 'minutely' 'hourly' 'daily'
func (ApiAnalyticsWatchTimeGetRequest) Limit ¶
func (r ApiAnalyticsWatchTimeGetRequest) Limit(limit int32) ApiAnalyticsWatchTimeGetRequest
Limit the number of entities
func (ApiAnalyticsWatchTimeGetRequest) Offset ¶
func (r ApiAnalyticsWatchTimeGetRequest) Offset(offset int32) ApiAnalyticsWatchTimeGetRequest
Define offset of entities
func (ApiAnalyticsWatchTimeGetRequest) OrderByName ¶
func (r ApiAnalyticsWatchTimeGetRequest) OrderByName(orderByName string) ApiAnalyticsWatchTimeGetRequest
Enum: watch_time
func (ApiAnalyticsWatchTimeGetRequest) OrderByOrder ¶
func (r ApiAnalyticsWatchTimeGetRequest) OrderByOrder(orderByOrder string) ApiAnalyticsWatchTimeGetRequest
Enum: 'ASC' 'DESC'
func (ApiAnalyticsWatchTimeGetRequest) Period ¶
func (r ApiAnalyticsWatchTimeGetRequest) Period(period string) ApiAnalyticsWatchTimeGetRequest
Enum: '1h' '2h' '3h' '6h' '12h' '24h' '3d' '7d' '14d' '1m'
func (ApiAnalyticsWatchTimeGetRequest) Since ¶
func (r ApiAnalyticsWatchTimeGetRequest) Since(since string) ApiAnalyticsWatchTimeGetRequest
string <date-time:Y-m-d H:i>|<date: Y-m-d>
func (ApiAnalyticsWatchTimeGetRequest) Timezone ¶
func (r ApiAnalyticsWatchTimeGetRequest) Timezone(timezone string) ApiAnalyticsWatchTimeGetRequest
Timezone ex: Asia/Tehran
func (ApiAnalyticsWatchTimeGetRequest) Until ¶
func (r ApiAnalyticsWatchTimeGetRequest) Until(until string) ApiAnalyticsWatchTimeGetRequest
string <date-time:Y-m-d H:i>|<date: Y-m-d>
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 ApiReportGeoGetRequest ¶
type ApiReportGeoGetRequest struct { ApiService *GeneralReportAPIService // contains filtered or unexported fields }
func (ApiReportGeoGetRequest) Execute ¶
func (r ApiReportGeoGetRequest) Execute() (*http.Response, error)
func (ApiReportGeoGetRequest) Period ¶
func (r ApiReportGeoGetRequest) Period(period string) ApiReportGeoGetRequest
Values: 1h,3h,6h,12h,24h,7d,30d
type ApiReportStatisticsGetRequest ¶
type ApiReportStatisticsGetRequest struct { ApiService *GeneralReportAPIService // contains filtered or unexported fields }
type ApiReportTrafficsGetRequest ¶
type ApiReportTrafficsGetRequest struct { ApiService *GeneralReportAPIService // contains filtered or unexported fields }
func (ApiReportTrafficsGetRequest) Execute ¶
func (r ApiReportTrafficsGetRequest) Execute() (*http.Response, error)
func (ApiReportTrafficsGetRequest) Period ¶
func (r ApiReportTrafficsGetRequest) Period(period string) ApiReportTrafficsGetRequest
Values: 1h,3h,6h,12h,24h,7d,30d
type ApiReportUserAgentGetRequest ¶
type ApiReportUserAgentGetRequest struct { ApiService *GeneralReportAPIService // contains filtered or unexported fields }
func (ApiReportUserAgentGetRequest) Execute ¶
func (r ApiReportUserAgentGetRequest) Execute() (*http.Response, error)
func (ApiReportUserAgentGetRequest) Period ¶
func (r ApiReportUserAgentGetRequest) Period(period string) ApiReportUserAgentGetRequest
Values: 1h,3h,6h,12h,24h,7d,30d
type ApiReportVisitorsGetRequest ¶
type ApiReportVisitorsGetRequest struct { ApiService *GeneralReportAPIService // contains filtered or unexported fields }
func (ApiReportVisitorsGetRequest) Execute ¶
func (r ApiReportVisitorsGetRequest) Execute() (*http.Response, error)
func (ApiReportVisitorsGetRequest) Period ¶
func (r ApiReportVisitorsGetRequest) Period(period string) ApiReportVisitorsGetRequest
Values: 1h,3h,6h,12h,24h,7d,30d
type ApiStreamsGetRequest ¶
type ApiStreamsGetRequest struct { ApiService *StreamAPIService // contains filtered or unexported fields }
func (ApiStreamsGetRequest) Execute ¶
func (r ApiStreamsGetRequest) Execute() (*http.Response, error)
func (ApiStreamsGetRequest) Filter ¶
func (r ApiStreamsGetRequest) Filter(filter string) ApiStreamsGetRequest
Filter result
func (ApiStreamsGetRequest) Page ¶
func (r ApiStreamsGetRequest) Page(page int32) ApiStreamsGetRequest
Page number
func (ApiStreamsGetRequest) PerPage ¶
func (r ApiStreamsGetRequest) PerPage(perPage int32) ApiStreamsGetRequest
Page limit for query
func (ApiStreamsGetRequest) SecureExpireTime ¶
func (r ApiStreamsGetRequest) SecureExpireTime(secureExpireTime int32) ApiStreamsGetRequest
The Unix Timestamp for expire secure links. * If stream is secure default is 24 hours later from now
func (ApiStreamsGetRequest) SecureIp ¶
func (r ApiStreamsGetRequest) SecureIp(secureIp string) ApiStreamsGetRequest
The IP address for generate secure links for. If stream is secure default is request IP
type ApiStreamsPostRequest ¶
type ApiStreamsPostRequest struct { ApiService *StreamAPIService // contains filtered or unexported fields }
func (ApiStreamsPostRequest) Body ¶
func (r ApiStreamsPostRequest) Body(body StreamsPostRequest) ApiStreamsPostRequest
Stream details
type ApiStreamsStreamDeleteRequest ¶
type ApiStreamsStreamDeleteRequest struct { ApiService *StreamAPIService // contains filtered or unexported fields }
type ApiStreamsStreamGetRequest ¶
type ApiStreamsStreamGetRequest struct { ApiService *StreamAPIService // contains filtered or unexported fields }
func (ApiStreamsStreamGetRequest) Execute ¶
func (r ApiStreamsStreamGetRequest) Execute() (*http.Response, error)
func (ApiStreamsStreamGetRequest) SecureExpireTime ¶
func (r ApiStreamsStreamGetRequest) SecureExpireTime(secureExpireTime int32) ApiStreamsStreamGetRequest
The Unix Timestamp for expire secure links. * If stream is secure default is 24 hours later from now
func (ApiStreamsStreamGetRequest) SecureIp ¶
func (r ApiStreamsStreamGetRequest) SecureIp(secureIp string) ApiStreamsStreamGetRequest
The IP address for generate secure links for. If stream is secure default is request IP
type ApiStreamsStreamPatchRequest ¶
type ApiStreamsStreamPatchRequest struct { ApiService *StreamAPIService // contains filtered or unexported fields }
func (ApiStreamsStreamPatchRequest) Body ¶
func (r ApiStreamsStreamPatchRequest) Body(body StreamsStreamPatchRequest) ApiStreamsStreamPatchRequest
Stream details
type ApiStreamsStreamStartRecordGetRequest ¶
type ApiStreamsStreamStartRecordGetRequest struct { ApiService *StreamAPIService // contains filtered or unexported fields }
type ApiStreamsStreamStopRecordGetRequest ¶
type ApiStreamsStreamStopRecordGetRequest struct { ApiService *StreamAPIService // contains filtered or unexported fields }
type ApiWatermarksGetRequest ¶
type ApiWatermarksGetRequest struct { ApiService *WatermarkAPIService // contains filtered or unexported fields }
func (ApiWatermarksGetRequest) Execute ¶
func (r ApiWatermarksGetRequest) Execute() (*http.Response, error)
func (ApiWatermarksGetRequest) Filter ¶
func (r ApiWatermarksGetRequest) Filter(filter string) ApiWatermarksGetRequest
Filter result
func (ApiWatermarksGetRequest) Page ¶
func (r ApiWatermarksGetRequest) Page(page int32) ApiWatermarksGetRequest
Page number
func (ApiWatermarksGetRequest) PerPage ¶
func (r ApiWatermarksGetRequest) PerPage(perPage int32) ApiWatermarksGetRequest
Page limit for query
type ApiWatermarksPostRequest ¶
type ApiWatermarksPostRequest struct { ApiService *WatermarkAPIService // contains filtered or unexported fields }
func (ApiWatermarksPostRequest) Description ¶
func (r ApiWatermarksPostRequest) Description(description string) ApiWatermarksPostRequest
Description of watermark
func (ApiWatermarksPostRequest) Execute ¶
func (r ApiWatermarksPostRequest) Execute() (*http.Response, error)
func (ApiWatermarksPostRequest) Title ¶
func (r ApiWatermarksPostRequest) Title(title string) ApiWatermarksPostRequest
Title of watermark
func (ApiWatermarksPostRequest) Watermark ¶
func (r ApiWatermarksPostRequest) Watermark(watermark *os.File) ApiWatermarksPostRequest
Watermark file
type ApiWatermarksWatermarkDeleteRequest ¶
type ApiWatermarksWatermarkDeleteRequest struct { ApiService *WatermarkAPIService // contains filtered or unexported fields }
type ApiWatermarksWatermarkGetRequest ¶
type ApiWatermarksWatermarkGetRequest struct { ApiService *WatermarkAPIService // contains filtered or unexported fields }
type ApiWatermarksWatermarkPatchRequest ¶
type ApiWatermarksWatermarkPatchRequest struct { ApiService *WatermarkAPIService // contains filtered or unexported fields }
func (ApiWatermarksWatermarkPatchRequest) Body ¶
func (r ApiWatermarksWatermarkPatchRequest) Body(body WatermarksWatermarkPatchRequest) ApiWatermarksWatermarkPatchRequest
Watermark details
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 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 LIVE 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 GeneralReportAPIService ¶
type GeneralReportAPIService service
GeneralReportAPIService GeneralReportAPI service
func (*GeneralReportAPIService) ReportGeoGet ¶
func (a *GeneralReportAPIService) ReportGeoGet(ctx context.Context) ApiReportGeoGetRequest
ReportGeoGet Return Domain Geo Report.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiReportGeoGetRequest
func (*GeneralReportAPIService) ReportGeoGetExecute ¶
func (a *GeneralReportAPIService) ReportGeoGetExecute(r ApiReportGeoGetRequest) (*http.Response, error)
Execute executes the request
func (*GeneralReportAPIService) ReportStatisticsGet ¶
func (a *GeneralReportAPIService) ReportStatisticsGet(ctx context.Context) ApiReportStatisticsGetRequest
ReportStatisticsGet Return Domain statistics report.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiReportStatisticsGetRequest
func (*GeneralReportAPIService) ReportStatisticsGetExecute ¶
func (a *GeneralReportAPIService) ReportStatisticsGetExecute(r ApiReportStatisticsGetRequest) (*http.Response, error)
Execute executes the request
func (*GeneralReportAPIService) ReportTrafficsGet ¶
func (a *GeneralReportAPIService) ReportTrafficsGet(ctx context.Context) ApiReportTrafficsGetRequest
ReportTrafficsGet Return Domain Traffic.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiReportTrafficsGetRequest
func (*GeneralReportAPIService) ReportTrafficsGetExecute ¶
func (a *GeneralReportAPIService) ReportTrafficsGetExecute(r ApiReportTrafficsGetRequest) (*http.Response, error)
Execute executes the request
func (*GeneralReportAPIService) ReportUserAgentGet ¶
func (a *GeneralReportAPIService) ReportUserAgentGet(ctx context.Context) ApiReportUserAgentGetRequest
ReportUserAgentGet Return User Agent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiReportUserAgentGetRequest
func (*GeneralReportAPIService) ReportUserAgentGetExecute ¶
func (a *GeneralReportAPIService) ReportUserAgentGetExecute(r ApiReportUserAgentGetRequest) (*http.Response, error)
Execute executes the request
func (*GeneralReportAPIService) ReportVisitorsGet ¶
func (a *GeneralReportAPIService) ReportVisitorsGet(ctx context.Context) ApiReportVisitorsGetRequest
ReportVisitorsGet Return Domain Visitors.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiReportVisitorsGetRequest
func (*GeneralReportAPIService) ReportVisitorsGetExecute ¶
func (a *GeneralReportAPIService) ReportVisitorsGetExecute(r ApiReportVisitorsGetRequest) (*http.Response, error)
Execute executes the request
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 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 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 NullableStreamsPostRequest ¶
type NullableStreamsPostRequest struct {
// contains filtered or unexported fields
}
func NewNullableStreamsPostRequest ¶
func NewNullableStreamsPostRequest(val *StreamsPostRequest) *NullableStreamsPostRequest
func (NullableStreamsPostRequest) Get ¶
func (v NullableStreamsPostRequest) Get() *StreamsPostRequest
func (NullableStreamsPostRequest) IsSet ¶
func (v NullableStreamsPostRequest) IsSet() bool
func (NullableStreamsPostRequest) MarshalJSON ¶
func (v NullableStreamsPostRequest) MarshalJSON() ([]byte, error)
func (*NullableStreamsPostRequest) Set ¶
func (v *NullableStreamsPostRequest) Set(val *StreamsPostRequest)
func (*NullableStreamsPostRequest) UnmarshalJSON ¶
func (v *NullableStreamsPostRequest) UnmarshalJSON(src []byte) error
func (*NullableStreamsPostRequest) Unset ¶
func (v *NullableStreamsPostRequest) Unset()
type NullableStreamsPostRequestConvertInfoInner ¶
type NullableStreamsPostRequestConvertInfoInner struct {
// contains filtered or unexported fields
}
func NewNullableStreamsPostRequestConvertInfoInner ¶
func NewNullableStreamsPostRequestConvertInfoInner(val *StreamsPostRequestConvertInfoInner) *NullableStreamsPostRequestConvertInfoInner
func (NullableStreamsPostRequestConvertInfoInner) IsSet ¶
func (v NullableStreamsPostRequestConvertInfoInner) IsSet() bool
func (NullableStreamsPostRequestConvertInfoInner) MarshalJSON ¶
func (v NullableStreamsPostRequestConvertInfoInner) MarshalJSON() ([]byte, error)
func (*NullableStreamsPostRequestConvertInfoInner) Set ¶
func (v *NullableStreamsPostRequestConvertInfoInner) Set(val *StreamsPostRequestConvertInfoInner)
func (*NullableStreamsPostRequestConvertInfoInner) UnmarshalJSON ¶
func (v *NullableStreamsPostRequestConvertInfoInner) UnmarshalJSON(src []byte) error
func (*NullableStreamsPostRequestConvertInfoInner) Unset ¶
func (v *NullableStreamsPostRequestConvertInfoInner) Unset()
type NullableStreamsStreamPatchRequest ¶
type NullableStreamsStreamPatchRequest struct {
// contains filtered or unexported fields
}
func NewNullableStreamsStreamPatchRequest ¶
func NewNullableStreamsStreamPatchRequest(val *StreamsStreamPatchRequest) *NullableStreamsStreamPatchRequest
func (NullableStreamsStreamPatchRequest) Get ¶
func (v NullableStreamsStreamPatchRequest) Get() *StreamsStreamPatchRequest
func (NullableStreamsStreamPatchRequest) IsSet ¶
func (v NullableStreamsStreamPatchRequest) IsSet() bool
func (NullableStreamsStreamPatchRequest) MarshalJSON ¶
func (v NullableStreamsStreamPatchRequest) MarshalJSON() ([]byte, error)
func (*NullableStreamsStreamPatchRequest) Set ¶
func (v *NullableStreamsStreamPatchRequest) Set(val *StreamsStreamPatchRequest)
func (*NullableStreamsStreamPatchRequest) UnmarshalJSON ¶
func (v *NullableStreamsStreamPatchRequest) UnmarshalJSON(src []byte) error
func (*NullableStreamsStreamPatchRequest) Unset ¶
func (v *NullableStreamsStreamPatchRequest) 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 NullableWatermarksWatermarkPatchRequest ¶
type NullableWatermarksWatermarkPatchRequest struct {
// contains filtered or unexported fields
}
func NewNullableWatermarksWatermarkPatchRequest ¶
func NewNullableWatermarksWatermarkPatchRequest(val *WatermarksWatermarkPatchRequest) *NullableWatermarksWatermarkPatchRequest
func (NullableWatermarksWatermarkPatchRequest) IsSet ¶
func (v NullableWatermarksWatermarkPatchRequest) IsSet() bool
func (NullableWatermarksWatermarkPatchRequest) MarshalJSON ¶
func (v NullableWatermarksWatermarkPatchRequest) MarshalJSON() ([]byte, error)
func (*NullableWatermarksWatermarkPatchRequest) Set ¶
func (v *NullableWatermarksWatermarkPatchRequest) Set(val *WatermarksWatermarkPatchRequest)
func (*NullableWatermarksWatermarkPatchRequest) UnmarshalJSON ¶
func (v *NullableWatermarksWatermarkPatchRequest) UnmarshalJSON(src []byte) error
func (*NullableWatermarksWatermarkPatchRequest) Unset ¶
func (v *NullableWatermarksWatermarkPatchRequest) Unset()
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
type StreamAPIService ¶
type StreamAPIService service
StreamAPIService StreamAPI service
func (*StreamAPIService) StreamsGet ¶
func (a *StreamAPIService) StreamsGet(ctx context.Context) ApiStreamsGetRequest
StreamsGet Return all streams.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiStreamsGetRequest
func (*StreamAPIService) StreamsGetExecute ¶
func (a *StreamAPIService) StreamsGetExecute(r ApiStreamsGetRequest) (*http.Response, error)
Execute executes the request
func (*StreamAPIService) StreamsPost ¶
func (a *StreamAPIService) StreamsPost(ctx context.Context) ApiStreamsPostRequest
StreamsPost Store a newly created stream.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiStreamsPostRequest
func (*StreamAPIService) StreamsPostExecute ¶
func (a *StreamAPIService) StreamsPostExecute(r ApiStreamsPostRequest) (*http.Response, error)
Execute executes the request
func (*StreamAPIService) StreamsStreamDelete ¶
func (a *StreamAPIService) StreamsStreamDelete(ctx context.Context, stream string) ApiStreamsStreamDeleteRequest
StreamsStreamDelete Remove the specified stream.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stream The Id of stream @return ApiStreamsStreamDeleteRequest
func (*StreamAPIService) StreamsStreamDeleteExecute ¶
func (a *StreamAPIService) StreamsStreamDeleteExecute(r ApiStreamsStreamDeleteRequest) (*http.Response, error)
Execute executes the request
func (*StreamAPIService) StreamsStreamGet ¶
func (a *StreamAPIService) StreamsStreamGet(ctx context.Context, stream string) ApiStreamsStreamGetRequest
StreamsStreamGet Return the specified stream.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stream The Id of stream @return ApiStreamsStreamGetRequest
func (*StreamAPIService) StreamsStreamGetExecute ¶
func (a *StreamAPIService) StreamsStreamGetExecute(r ApiStreamsStreamGetRequest) (*http.Response, error)
Execute executes the request
func (*StreamAPIService) StreamsStreamPatch ¶
func (a *StreamAPIService) StreamsStreamPatch(ctx context.Context, stream string) ApiStreamsStreamPatchRequest
StreamsStreamPatch Update the specified stream.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stream The Id of stream @return ApiStreamsStreamPatchRequest
func (*StreamAPIService) StreamsStreamPatchExecute ¶
func (a *StreamAPIService) StreamsStreamPatchExecute(r ApiStreamsStreamPatchRequest) (*http.Response, error)
Execute executes the request
func (*StreamAPIService) StreamsStreamStartRecordGet ¶
func (a *StreamAPIService) StreamsStreamStartRecordGet(ctx context.Context) ApiStreamsStreamStartRecordGetRequest
StreamsStreamStartRecordGet Start record live stream.
Start live archive
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiStreamsStreamStartRecordGetRequest
func (*StreamAPIService) StreamsStreamStartRecordGetExecute ¶
func (a *StreamAPIService) StreamsStreamStartRecordGetExecute(r ApiStreamsStreamStartRecordGetRequest) (*http.Response, error)
Execute executes the request
func (*StreamAPIService) StreamsStreamStopRecordGet ¶
func (a *StreamAPIService) StreamsStreamStopRecordGet(ctx context.Context) ApiStreamsStreamStopRecordGetRequest
StreamsStreamStopRecordGet Stop record live stream.
Stop live archive
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiStreamsStreamStopRecordGetRequest
func (*StreamAPIService) StreamsStreamStopRecordGetExecute ¶
func (a *StreamAPIService) StreamsStreamStopRecordGetExecute(r ApiStreamsStreamStopRecordGetRequest) (*http.Response, error)
Execute executes the request
type StreamsPostRequest ¶
type StreamsPostRequest struct { // Title of the stream Title string `json:"title"` // Description of the stream Description *string `json:"description,omitempty"` // Stream latency type Type string `json:"type"` // Way to receive input stream Mode string `json:"mode"` // Public URL of stream input in PULL mode InputUrl *string `json:"input_url,omitempty"` // Unique slug for your stream. Only contain lower case letters and digits Slug string `json:"slug"` // Timeshift (DVR) in minutes to watch the earlier content Timeshift *int32 `json:"timeshift,omitempty"` // stream fps mode FpsMode *string `json:"fps_mode,omitempty"` // Input steam frame per second Fps int32 `json:"fps"` // Set this value to True to archive the stream as a VoD ArchiveEnabled *bool `json:"archive_enabled,omitempty"` // Set this value to True to enable catchup for the stream CatchupEnabled *bool `json:"catchup_enabled,omitempty"` // Hours of catchup must be available for the stream CatchupPeriod *int32 `json:"catchup_period,omitempty"` // Way to archive stream ArchiveMode *string `json:"archive_mode,omitempty"` // Channel Id to save archive ChannelId *string `json:"channel_id,omitempty"` // If you want to use watermark for a video, use this ID WatermarkId *string `json:"watermark_id,omitempty"` // Area of the watermark if watermark_id presents WatermarkArea *string `json:"watermark_area,omitempty"` // Array of convert details ConvertInfo []StreamsPostRequestConvertInfoInner `json:"convert_info"` // Enable or disable secure link for all videos in channel SecureLinkEnabled *bool `json:"secure_link_enabled,omitempty"` // Key for generate secure links SecureLinkKey *string `json:"secure_link_key,omitempty"` // IP can be considered as an optional parameter SecureLinkWithIp *bool `json:"secure_link_with_ip,omitempty"` // Enable or disable Ads for created stream AdsEnabled *bool `json:"ads_enabled,omitempty"` // Ads present method PresentType *string `json:"present_type,omitempty"` // Created CampaignId in Ads CampaignId *string `json:"campaign_id,omitempty"` }
StreamsPostRequest struct for StreamsPostRequest
func NewStreamsPostRequest ¶
func NewStreamsPostRequest(title string, type_ string, mode string, slug string, fps int32, convertInfo []StreamsPostRequestConvertInfoInner) *StreamsPostRequest
NewStreamsPostRequest instantiates a new StreamsPostRequest 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 NewStreamsPostRequestWithDefaults ¶
func NewStreamsPostRequestWithDefaults() *StreamsPostRequest
NewStreamsPostRequestWithDefaults instantiates a new StreamsPostRequest 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 (*StreamsPostRequest) GetAdsEnabled ¶
func (o *StreamsPostRequest) GetAdsEnabled() bool
GetAdsEnabled returns the AdsEnabled field value if set, zero value otherwise.
func (*StreamsPostRequest) GetAdsEnabledOk ¶
func (o *StreamsPostRequest) GetAdsEnabledOk() (*bool, bool)
GetAdsEnabledOk returns a tuple with the AdsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetArchiveEnabled ¶
func (o *StreamsPostRequest) GetArchiveEnabled() bool
GetArchiveEnabled returns the ArchiveEnabled field value if set, zero value otherwise.
func (*StreamsPostRequest) GetArchiveEnabledOk ¶
func (o *StreamsPostRequest) GetArchiveEnabledOk() (*bool, bool)
GetArchiveEnabledOk returns a tuple with the ArchiveEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetArchiveMode ¶
func (o *StreamsPostRequest) GetArchiveMode() string
GetArchiveMode returns the ArchiveMode field value if set, zero value otherwise.
func (*StreamsPostRequest) GetArchiveModeOk ¶
func (o *StreamsPostRequest) GetArchiveModeOk() (*string, bool)
GetArchiveModeOk returns a tuple with the ArchiveMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetCampaignId ¶
func (o *StreamsPostRequest) GetCampaignId() string
GetCampaignId returns the CampaignId field value if set, zero value otherwise.
func (*StreamsPostRequest) GetCampaignIdOk ¶
func (o *StreamsPostRequest) GetCampaignIdOk() (*string, bool)
GetCampaignIdOk returns a tuple with the CampaignId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetCatchupEnabled ¶
func (o *StreamsPostRequest) GetCatchupEnabled() bool
GetCatchupEnabled returns the CatchupEnabled field value if set, zero value otherwise.
func (*StreamsPostRequest) GetCatchupEnabledOk ¶
func (o *StreamsPostRequest) GetCatchupEnabledOk() (*bool, bool)
GetCatchupEnabledOk returns a tuple with the CatchupEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetCatchupPeriod ¶
func (o *StreamsPostRequest) GetCatchupPeriod() int32
GetCatchupPeriod returns the CatchupPeriod field value if set, zero value otherwise.
func (*StreamsPostRequest) GetCatchupPeriodOk ¶
func (o *StreamsPostRequest) GetCatchupPeriodOk() (*int32, bool)
GetCatchupPeriodOk returns a tuple with the CatchupPeriod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetChannelId ¶
func (o *StreamsPostRequest) GetChannelId() string
GetChannelId returns the ChannelId field value if set, zero value otherwise.
func (*StreamsPostRequest) GetChannelIdOk ¶
func (o *StreamsPostRequest) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetConvertInfo ¶
func (o *StreamsPostRequest) GetConvertInfo() []StreamsPostRequestConvertInfoInner
GetConvertInfo returns the ConvertInfo field value
func (*StreamsPostRequest) GetConvertInfoOk ¶
func (o *StreamsPostRequest) GetConvertInfoOk() ([]StreamsPostRequestConvertInfoInner, bool)
GetConvertInfoOk returns a tuple with the ConvertInfo field value and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetDescription ¶
func (o *StreamsPostRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*StreamsPostRequest) GetDescriptionOk ¶
func (o *StreamsPostRequest) 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 (*StreamsPostRequest) GetFps ¶
func (o *StreamsPostRequest) GetFps() int32
GetFps returns the Fps field value
func (*StreamsPostRequest) GetFpsMode ¶
func (o *StreamsPostRequest) GetFpsMode() string
GetFpsMode returns the FpsMode field value if set, zero value otherwise.
func (*StreamsPostRequest) GetFpsModeOk ¶
func (o *StreamsPostRequest) GetFpsModeOk() (*string, bool)
GetFpsModeOk returns a tuple with the FpsMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetFpsOk ¶
func (o *StreamsPostRequest) GetFpsOk() (*int32, bool)
GetFpsOk returns a tuple with the Fps field value and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetInputUrl ¶
func (o *StreamsPostRequest) GetInputUrl() string
GetInputUrl returns the InputUrl field value if set, zero value otherwise.
func (*StreamsPostRequest) GetInputUrlOk ¶
func (o *StreamsPostRequest) GetInputUrlOk() (*string, bool)
GetInputUrlOk returns a tuple with the InputUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetMode ¶
func (o *StreamsPostRequest) GetMode() string
GetMode returns the Mode field value
func (*StreamsPostRequest) GetModeOk ¶
func (o *StreamsPostRequest) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetPresentType ¶
func (o *StreamsPostRequest) GetPresentType() string
GetPresentType returns the PresentType field value if set, zero value otherwise.
func (*StreamsPostRequest) GetPresentTypeOk ¶
func (o *StreamsPostRequest) GetPresentTypeOk() (*string, bool)
GetPresentTypeOk returns a tuple with the PresentType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetSecureLinkEnabled ¶
func (o *StreamsPostRequest) GetSecureLinkEnabled() bool
GetSecureLinkEnabled returns the SecureLinkEnabled field value if set, zero value otherwise.
func (*StreamsPostRequest) GetSecureLinkEnabledOk ¶
func (o *StreamsPostRequest) GetSecureLinkEnabledOk() (*bool, bool)
GetSecureLinkEnabledOk returns a tuple with the SecureLinkEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetSecureLinkKey ¶
func (o *StreamsPostRequest) GetSecureLinkKey() string
GetSecureLinkKey returns the SecureLinkKey field value if set, zero value otherwise.
func (*StreamsPostRequest) GetSecureLinkKeyOk ¶
func (o *StreamsPostRequest) GetSecureLinkKeyOk() (*string, bool)
GetSecureLinkKeyOk returns a tuple with the SecureLinkKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetSecureLinkWithIp ¶
func (o *StreamsPostRequest) GetSecureLinkWithIp() bool
GetSecureLinkWithIp returns the SecureLinkWithIp field value if set, zero value otherwise.
func (*StreamsPostRequest) GetSecureLinkWithIpOk ¶
func (o *StreamsPostRequest) GetSecureLinkWithIpOk() (*bool, bool)
GetSecureLinkWithIpOk returns a tuple with the SecureLinkWithIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetSlug ¶
func (o *StreamsPostRequest) GetSlug() string
GetSlug returns the Slug field value
func (*StreamsPostRequest) GetSlugOk ¶
func (o *StreamsPostRequest) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetTimeshift ¶
func (o *StreamsPostRequest) GetTimeshift() int32
GetTimeshift returns the Timeshift field value if set, zero value otherwise.
func (*StreamsPostRequest) GetTimeshiftOk ¶
func (o *StreamsPostRequest) GetTimeshiftOk() (*int32, bool)
GetTimeshiftOk returns a tuple with the Timeshift field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetTitle ¶
func (o *StreamsPostRequest) GetTitle() string
GetTitle returns the Title field value
func (*StreamsPostRequest) GetTitleOk ¶
func (o *StreamsPostRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetType ¶
func (o *StreamsPostRequest) GetType() string
GetType returns the Type field value
func (*StreamsPostRequest) GetTypeOk ¶
func (o *StreamsPostRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetWatermarkArea ¶
func (o *StreamsPostRequest) GetWatermarkArea() string
GetWatermarkArea returns the WatermarkArea field value if set, zero value otherwise.
func (*StreamsPostRequest) GetWatermarkAreaOk ¶
func (o *StreamsPostRequest) GetWatermarkAreaOk() (*string, bool)
GetWatermarkAreaOk returns a tuple with the WatermarkArea field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) GetWatermarkId ¶
func (o *StreamsPostRequest) GetWatermarkId() string
GetWatermarkId returns the WatermarkId field value if set, zero value otherwise.
func (*StreamsPostRequest) GetWatermarkIdOk ¶
func (o *StreamsPostRequest) GetWatermarkIdOk() (*string, bool)
GetWatermarkIdOk returns a tuple with the WatermarkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequest) HasAdsEnabled ¶
func (o *StreamsPostRequest) HasAdsEnabled() bool
HasAdsEnabled returns a boolean if a field has been set.
func (*StreamsPostRequest) HasArchiveEnabled ¶
func (o *StreamsPostRequest) HasArchiveEnabled() bool
HasArchiveEnabled returns a boolean if a field has been set.
func (*StreamsPostRequest) HasArchiveMode ¶
func (o *StreamsPostRequest) HasArchiveMode() bool
HasArchiveMode returns a boolean if a field has been set.
func (*StreamsPostRequest) HasCampaignId ¶
func (o *StreamsPostRequest) HasCampaignId() bool
HasCampaignId returns a boolean if a field has been set.
func (*StreamsPostRequest) HasCatchupEnabled ¶
func (o *StreamsPostRequest) HasCatchupEnabled() bool
HasCatchupEnabled returns a boolean if a field has been set.
func (*StreamsPostRequest) HasCatchupPeriod ¶
func (o *StreamsPostRequest) HasCatchupPeriod() bool
HasCatchupPeriod returns a boolean if a field has been set.
func (*StreamsPostRequest) HasChannelId ¶
func (o *StreamsPostRequest) HasChannelId() bool
HasChannelId returns a boolean if a field has been set.
func (*StreamsPostRequest) HasDescription ¶
func (o *StreamsPostRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*StreamsPostRequest) HasFpsMode ¶
func (o *StreamsPostRequest) HasFpsMode() bool
HasFpsMode returns a boolean if a field has been set.
func (*StreamsPostRequest) HasInputUrl ¶
func (o *StreamsPostRequest) HasInputUrl() bool
HasInputUrl returns a boolean if a field has been set.
func (*StreamsPostRequest) HasPresentType ¶
func (o *StreamsPostRequest) HasPresentType() bool
HasPresentType returns a boolean if a field has been set.
func (*StreamsPostRequest) HasSecureLinkEnabled ¶
func (o *StreamsPostRequest) HasSecureLinkEnabled() bool
HasSecureLinkEnabled returns a boolean if a field has been set.
func (*StreamsPostRequest) HasSecureLinkKey ¶
func (o *StreamsPostRequest) HasSecureLinkKey() bool
HasSecureLinkKey returns a boolean if a field has been set.
func (*StreamsPostRequest) HasSecureLinkWithIp ¶
func (o *StreamsPostRequest) HasSecureLinkWithIp() bool
HasSecureLinkWithIp returns a boolean if a field has been set.
func (*StreamsPostRequest) HasTimeshift ¶
func (o *StreamsPostRequest) HasTimeshift() bool
HasTimeshift returns a boolean if a field has been set.
func (*StreamsPostRequest) HasWatermarkArea ¶
func (o *StreamsPostRequest) HasWatermarkArea() bool
HasWatermarkArea returns a boolean if a field has been set.
func (*StreamsPostRequest) HasWatermarkId ¶
func (o *StreamsPostRequest) HasWatermarkId() bool
HasWatermarkId returns a boolean if a field has been set.
func (StreamsPostRequest) MarshalJSON ¶
func (o StreamsPostRequest) MarshalJSON() ([]byte, error)
func (*StreamsPostRequest) SetAdsEnabled ¶
func (o *StreamsPostRequest) SetAdsEnabled(v bool)
SetAdsEnabled gets a reference to the given bool and assigns it to the AdsEnabled field.
func (*StreamsPostRequest) SetArchiveEnabled ¶
func (o *StreamsPostRequest) SetArchiveEnabled(v bool)
SetArchiveEnabled gets a reference to the given bool and assigns it to the ArchiveEnabled field.
func (*StreamsPostRequest) SetArchiveMode ¶
func (o *StreamsPostRequest) SetArchiveMode(v string)
SetArchiveMode gets a reference to the given string and assigns it to the ArchiveMode field.
func (*StreamsPostRequest) SetCampaignId ¶
func (o *StreamsPostRequest) SetCampaignId(v string)
SetCampaignId gets a reference to the given string and assigns it to the CampaignId field.
func (*StreamsPostRequest) SetCatchupEnabled ¶
func (o *StreamsPostRequest) SetCatchupEnabled(v bool)
SetCatchupEnabled gets a reference to the given bool and assigns it to the CatchupEnabled field.
func (*StreamsPostRequest) SetCatchupPeriod ¶
func (o *StreamsPostRequest) SetCatchupPeriod(v int32)
SetCatchupPeriod gets a reference to the given int32 and assigns it to the CatchupPeriod field.
func (*StreamsPostRequest) SetChannelId ¶
func (o *StreamsPostRequest) SetChannelId(v string)
SetChannelId gets a reference to the given string and assigns it to the ChannelId field.
func (*StreamsPostRequest) SetConvertInfo ¶
func (o *StreamsPostRequest) SetConvertInfo(v []StreamsPostRequestConvertInfoInner)
SetConvertInfo sets field value
func (*StreamsPostRequest) SetDescription ¶
func (o *StreamsPostRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*StreamsPostRequest) SetFps ¶
func (o *StreamsPostRequest) SetFps(v int32)
SetFps sets field value
func (*StreamsPostRequest) SetFpsMode ¶
func (o *StreamsPostRequest) SetFpsMode(v string)
SetFpsMode gets a reference to the given string and assigns it to the FpsMode field.
func (*StreamsPostRequest) SetInputUrl ¶
func (o *StreamsPostRequest) SetInputUrl(v string)
SetInputUrl gets a reference to the given string and assigns it to the InputUrl field.
func (*StreamsPostRequest) SetMode ¶
func (o *StreamsPostRequest) SetMode(v string)
SetMode sets field value
func (*StreamsPostRequest) SetPresentType ¶
func (o *StreamsPostRequest) SetPresentType(v string)
SetPresentType gets a reference to the given string and assigns it to the PresentType field.
func (*StreamsPostRequest) SetSecureLinkEnabled ¶
func (o *StreamsPostRequest) SetSecureLinkEnabled(v bool)
SetSecureLinkEnabled gets a reference to the given bool and assigns it to the SecureLinkEnabled field.
func (*StreamsPostRequest) SetSecureLinkKey ¶
func (o *StreamsPostRequest) SetSecureLinkKey(v string)
SetSecureLinkKey gets a reference to the given string and assigns it to the SecureLinkKey field.
func (*StreamsPostRequest) SetSecureLinkWithIp ¶
func (o *StreamsPostRequest) SetSecureLinkWithIp(v bool)
SetSecureLinkWithIp gets a reference to the given bool and assigns it to the SecureLinkWithIp field.
func (*StreamsPostRequest) SetSlug ¶
func (o *StreamsPostRequest) SetSlug(v string)
SetSlug sets field value
func (*StreamsPostRequest) SetTimeshift ¶
func (o *StreamsPostRequest) SetTimeshift(v int32)
SetTimeshift gets a reference to the given int32 and assigns it to the Timeshift field.
func (*StreamsPostRequest) SetTitle ¶
func (o *StreamsPostRequest) SetTitle(v string)
SetTitle sets field value
func (*StreamsPostRequest) SetType ¶
func (o *StreamsPostRequest) SetType(v string)
SetType sets field value
func (*StreamsPostRequest) SetWatermarkArea ¶
func (o *StreamsPostRequest) SetWatermarkArea(v string)
SetWatermarkArea gets a reference to the given string and assigns it to the WatermarkArea field.
func (*StreamsPostRequest) SetWatermarkId ¶
func (o *StreamsPostRequest) SetWatermarkId(v string)
SetWatermarkId gets a reference to the given string and assigns it to the WatermarkId field.
func (StreamsPostRequest) ToMap ¶
func (o StreamsPostRequest) ToMap() (map[string]interface{}, error)
type StreamsPostRequestConvertInfoInner ¶
type StreamsPostRequestConvertInfoInner struct { // Audio bitrate in kilobit AudioBitrate *int32 `json:"audio_bitrate,omitempty"` // Video bitrate in kilobit VideoBitrate *int32 `json:"video_bitrate,omitempty"` // resolution width ResolutionWidth *int32 `json:"resolution_width,omitempty"` // resolution height ResolutionHeight *int32 `json:"resolution_height,omitempty"` // If you want to use watermark for a video, use this ID WatermarkId *string `json:"watermark_id,omitempty"` // Area of the watermark if watermark_id presents WatermarkArea *string `json:"watermark_area,omitempty"` }
StreamsPostRequestConvertInfoInner struct for StreamsPostRequestConvertInfoInner
func NewStreamsPostRequestConvertInfoInner ¶
func NewStreamsPostRequestConvertInfoInner() *StreamsPostRequestConvertInfoInner
NewStreamsPostRequestConvertInfoInner instantiates a new StreamsPostRequestConvertInfoInner 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 NewStreamsPostRequestConvertInfoInnerWithDefaults ¶
func NewStreamsPostRequestConvertInfoInnerWithDefaults() *StreamsPostRequestConvertInfoInner
NewStreamsPostRequestConvertInfoInnerWithDefaults instantiates a new StreamsPostRequestConvertInfoInner 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 (*StreamsPostRequestConvertInfoInner) GetAudioBitrate ¶
func (o *StreamsPostRequestConvertInfoInner) GetAudioBitrate() int32
GetAudioBitrate returns the AudioBitrate field value if set, zero value otherwise.
func (*StreamsPostRequestConvertInfoInner) GetAudioBitrateOk ¶
func (o *StreamsPostRequestConvertInfoInner) GetAudioBitrateOk() (*int32, bool)
GetAudioBitrateOk returns a tuple with the AudioBitrate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequestConvertInfoInner) GetResolutionHeight ¶
func (o *StreamsPostRequestConvertInfoInner) GetResolutionHeight() int32
GetResolutionHeight returns the ResolutionHeight field value if set, zero value otherwise.
func (*StreamsPostRequestConvertInfoInner) GetResolutionHeightOk ¶
func (o *StreamsPostRequestConvertInfoInner) GetResolutionHeightOk() (*int32, bool)
GetResolutionHeightOk returns a tuple with the ResolutionHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequestConvertInfoInner) GetResolutionWidth ¶
func (o *StreamsPostRequestConvertInfoInner) GetResolutionWidth() int32
GetResolutionWidth returns the ResolutionWidth field value if set, zero value otherwise.
func (*StreamsPostRequestConvertInfoInner) GetResolutionWidthOk ¶
func (o *StreamsPostRequestConvertInfoInner) GetResolutionWidthOk() (*int32, bool)
GetResolutionWidthOk returns a tuple with the ResolutionWidth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequestConvertInfoInner) GetVideoBitrate ¶
func (o *StreamsPostRequestConvertInfoInner) GetVideoBitrate() int32
GetVideoBitrate returns the VideoBitrate field value if set, zero value otherwise.
func (*StreamsPostRequestConvertInfoInner) GetVideoBitrateOk ¶
func (o *StreamsPostRequestConvertInfoInner) GetVideoBitrateOk() (*int32, bool)
GetVideoBitrateOk returns a tuple with the VideoBitrate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequestConvertInfoInner) GetWatermarkArea ¶
func (o *StreamsPostRequestConvertInfoInner) GetWatermarkArea() string
GetWatermarkArea returns the WatermarkArea field value if set, zero value otherwise.
func (*StreamsPostRequestConvertInfoInner) GetWatermarkAreaOk ¶
func (o *StreamsPostRequestConvertInfoInner) GetWatermarkAreaOk() (*string, bool)
GetWatermarkAreaOk returns a tuple with the WatermarkArea field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequestConvertInfoInner) GetWatermarkId ¶
func (o *StreamsPostRequestConvertInfoInner) GetWatermarkId() string
GetWatermarkId returns the WatermarkId field value if set, zero value otherwise.
func (*StreamsPostRequestConvertInfoInner) GetWatermarkIdOk ¶
func (o *StreamsPostRequestConvertInfoInner) GetWatermarkIdOk() (*string, bool)
GetWatermarkIdOk returns a tuple with the WatermarkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsPostRequestConvertInfoInner) HasAudioBitrate ¶
func (o *StreamsPostRequestConvertInfoInner) HasAudioBitrate() bool
HasAudioBitrate returns a boolean if a field has been set.
func (*StreamsPostRequestConvertInfoInner) HasResolutionHeight ¶
func (o *StreamsPostRequestConvertInfoInner) HasResolutionHeight() bool
HasResolutionHeight returns a boolean if a field has been set.
func (*StreamsPostRequestConvertInfoInner) HasResolutionWidth ¶
func (o *StreamsPostRequestConvertInfoInner) HasResolutionWidth() bool
HasResolutionWidth returns a boolean if a field has been set.
func (*StreamsPostRequestConvertInfoInner) HasVideoBitrate ¶
func (o *StreamsPostRequestConvertInfoInner) HasVideoBitrate() bool
HasVideoBitrate returns a boolean if a field has been set.
func (*StreamsPostRequestConvertInfoInner) HasWatermarkArea ¶
func (o *StreamsPostRequestConvertInfoInner) HasWatermarkArea() bool
HasWatermarkArea returns a boolean if a field has been set.
func (*StreamsPostRequestConvertInfoInner) HasWatermarkId ¶
func (o *StreamsPostRequestConvertInfoInner) HasWatermarkId() bool
HasWatermarkId returns a boolean if a field has been set.
func (StreamsPostRequestConvertInfoInner) MarshalJSON ¶
func (o StreamsPostRequestConvertInfoInner) MarshalJSON() ([]byte, error)
func (*StreamsPostRequestConvertInfoInner) SetAudioBitrate ¶
func (o *StreamsPostRequestConvertInfoInner) SetAudioBitrate(v int32)
SetAudioBitrate gets a reference to the given int32 and assigns it to the AudioBitrate field.
func (*StreamsPostRequestConvertInfoInner) SetResolutionHeight ¶
func (o *StreamsPostRequestConvertInfoInner) SetResolutionHeight(v int32)
SetResolutionHeight gets a reference to the given int32 and assigns it to the ResolutionHeight field.
func (*StreamsPostRequestConvertInfoInner) SetResolutionWidth ¶
func (o *StreamsPostRequestConvertInfoInner) SetResolutionWidth(v int32)
SetResolutionWidth gets a reference to the given int32 and assigns it to the ResolutionWidth field.
func (*StreamsPostRequestConvertInfoInner) SetVideoBitrate ¶
func (o *StreamsPostRequestConvertInfoInner) SetVideoBitrate(v int32)
SetVideoBitrate gets a reference to the given int32 and assigns it to the VideoBitrate field.
func (*StreamsPostRequestConvertInfoInner) SetWatermarkArea ¶
func (o *StreamsPostRequestConvertInfoInner) SetWatermarkArea(v string)
SetWatermarkArea gets a reference to the given string and assigns it to the WatermarkArea field.
func (*StreamsPostRequestConvertInfoInner) SetWatermarkId ¶
func (o *StreamsPostRequestConvertInfoInner) SetWatermarkId(v string)
SetWatermarkId gets a reference to the given string and assigns it to the WatermarkId field.
func (StreamsPostRequestConvertInfoInner) ToMap ¶
func (o StreamsPostRequestConvertInfoInner) ToMap() (map[string]interface{}, error)
type StreamsStreamPatchRequest ¶
type StreamsStreamPatchRequest struct { // Title of the stream Title *string `json:"title,omitempty"` // Description of the stream Description *string `json:"description,omitempty"` // Stream latency type Type *string `json:"type,omitempty"` // Way to receive input stream Mode *string `json:"mode,omitempty"` // Public URL of stream input in PULL mode InputUrl *string `json:"input_url,omitempty"` // Unique slug for your stream. Only contain lower case letters and digits Slug *string `json:"slug,omitempty"` // Timeshift (DVR) in minutes to watch the earlier content Timeshift *int32 `json:"timeshift,omitempty"` // stream fps mode FpsMode *string `json:"fps_mode,omitempty"` // Input steam frame per second Fps *int32 `json:"fps,omitempty"` // Set this value to True to archive the stream as a VoD ArchiveEnabled *bool `json:"archive_enabled,omitempty"` // Set this value to True to enable catchup for the stream CatchupEnabled *bool `json:"catchup_enabled,omitempty"` // Hours of catchup must be available for the stream CatchupPeriod *int32 `json:"catchup_period,omitempty"` // Way to archive stream ArchiveMode *string `json:"archive_mode,omitempty"` // Channel Id to save archive ChannelId *string `json:"channel_id,omitempty"` // If you want to use watermark for a video, use this ID WatermarkId *string `json:"watermark_id,omitempty"` // Area of the watermark if watermark_id presents WatermarkArea *string `json:"watermark_area,omitempty"` // Array of convert details ConvertInfo []StreamsPostRequestConvertInfoInner `json:"convert_info,omitempty"` // Enable or disable secure link for all videos in channel SecureLinkEnabled *bool `json:"secure_link_enabled,omitempty"` // Key for generate secure links SecureLinkKey *string `json:"secure_link_key,omitempty"` // IP can be considered as an optional parameter SecureLinkWithIp *bool `json:"secure_link_with_ip,omitempty"` // Enable or disable Ads AdsEnabled *bool `json:"ads_enabled,omitempty"` // Ads present method PresentType *string `json:"present_type,omitempty"` // Created CampaignId in Ads CampaignId *string `json:"campaign_id,omitempty"` }
StreamsStreamPatchRequest struct for StreamsStreamPatchRequest
func NewStreamsStreamPatchRequest ¶
func NewStreamsStreamPatchRequest() *StreamsStreamPatchRequest
NewStreamsStreamPatchRequest instantiates a new StreamsStreamPatchRequest 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 NewStreamsStreamPatchRequestWithDefaults ¶
func NewStreamsStreamPatchRequestWithDefaults() *StreamsStreamPatchRequest
NewStreamsStreamPatchRequestWithDefaults instantiates a new StreamsStreamPatchRequest 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 (*StreamsStreamPatchRequest) GetAdsEnabled ¶
func (o *StreamsStreamPatchRequest) GetAdsEnabled() bool
GetAdsEnabled returns the AdsEnabled field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetAdsEnabledOk ¶
func (o *StreamsStreamPatchRequest) GetAdsEnabledOk() (*bool, bool)
GetAdsEnabledOk returns a tuple with the AdsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetArchiveEnabled ¶
func (o *StreamsStreamPatchRequest) GetArchiveEnabled() bool
GetArchiveEnabled returns the ArchiveEnabled field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetArchiveEnabledOk ¶
func (o *StreamsStreamPatchRequest) GetArchiveEnabledOk() (*bool, bool)
GetArchiveEnabledOk returns a tuple with the ArchiveEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetArchiveMode ¶
func (o *StreamsStreamPatchRequest) GetArchiveMode() string
GetArchiveMode returns the ArchiveMode field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetArchiveModeOk ¶
func (o *StreamsStreamPatchRequest) GetArchiveModeOk() (*string, bool)
GetArchiveModeOk returns a tuple with the ArchiveMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetCampaignId ¶
func (o *StreamsStreamPatchRequest) GetCampaignId() string
GetCampaignId returns the CampaignId field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetCampaignIdOk ¶
func (o *StreamsStreamPatchRequest) GetCampaignIdOk() (*string, bool)
GetCampaignIdOk returns a tuple with the CampaignId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetCatchupEnabled ¶
func (o *StreamsStreamPatchRequest) GetCatchupEnabled() bool
GetCatchupEnabled returns the CatchupEnabled field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetCatchupEnabledOk ¶
func (o *StreamsStreamPatchRequest) GetCatchupEnabledOk() (*bool, bool)
GetCatchupEnabledOk returns a tuple with the CatchupEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetCatchupPeriod ¶
func (o *StreamsStreamPatchRequest) GetCatchupPeriod() int32
GetCatchupPeriod returns the CatchupPeriod field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetCatchupPeriodOk ¶
func (o *StreamsStreamPatchRequest) GetCatchupPeriodOk() (*int32, bool)
GetCatchupPeriodOk returns a tuple with the CatchupPeriod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetChannelId ¶
func (o *StreamsStreamPatchRequest) GetChannelId() string
GetChannelId returns the ChannelId field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetChannelIdOk ¶
func (o *StreamsStreamPatchRequest) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetConvertInfo ¶
func (o *StreamsStreamPatchRequest) GetConvertInfo() []StreamsPostRequestConvertInfoInner
GetConvertInfo returns the ConvertInfo field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetConvertInfoOk ¶
func (o *StreamsStreamPatchRequest) GetConvertInfoOk() ([]StreamsPostRequestConvertInfoInner, bool)
GetConvertInfoOk returns a tuple with the ConvertInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetDescription ¶
func (o *StreamsStreamPatchRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetDescriptionOk ¶
func (o *StreamsStreamPatchRequest) 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 (*StreamsStreamPatchRequest) GetFps ¶
func (o *StreamsStreamPatchRequest) GetFps() int32
GetFps returns the Fps field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetFpsMode ¶
func (o *StreamsStreamPatchRequest) GetFpsMode() string
GetFpsMode returns the FpsMode field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetFpsModeOk ¶
func (o *StreamsStreamPatchRequest) GetFpsModeOk() (*string, bool)
GetFpsModeOk returns a tuple with the FpsMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetFpsOk ¶
func (o *StreamsStreamPatchRequest) GetFpsOk() (*int32, bool)
GetFpsOk returns a tuple with the Fps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetInputUrl ¶
func (o *StreamsStreamPatchRequest) GetInputUrl() string
GetInputUrl returns the InputUrl field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetInputUrlOk ¶
func (o *StreamsStreamPatchRequest) GetInputUrlOk() (*string, bool)
GetInputUrlOk returns a tuple with the InputUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetMode ¶
func (o *StreamsStreamPatchRequest) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetModeOk ¶
func (o *StreamsStreamPatchRequest) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetPresentType ¶
func (o *StreamsStreamPatchRequest) GetPresentType() string
GetPresentType returns the PresentType field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetPresentTypeOk ¶
func (o *StreamsStreamPatchRequest) GetPresentTypeOk() (*string, bool)
GetPresentTypeOk returns a tuple with the PresentType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetSecureLinkEnabled ¶
func (o *StreamsStreamPatchRequest) GetSecureLinkEnabled() bool
GetSecureLinkEnabled returns the SecureLinkEnabled field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetSecureLinkEnabledOk ¶
func (o *StreamsStreamPatchRequest) GetSecureLinkEnabledOk() (*bool, bool)
GetSecureLinkEnabledOk returns a tuple with the SecureLinkEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetSecureLinkKey ¶
func (o *StreamsStreamPatchRequest) GetSecureLinkKey() string
GetSecureLinkKey returns the SecureLinkKey field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetSecureLinkKeyOk ¶
func (o *StreamsStreamPatchRequest) GetSecureLinkKeyOk() (*string, bool)
GetSecureLinkKeyOk returns a tuple with the SecureLinkKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetSecureLinkWithIp ¶
func (o *StreamsStreamPatchRequest) GetSecureLinkWithIp() bool
GetSecureLinkWithIp returns the SecureLinkWithIp field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetSecureLinkWithIpOk ¶
func (o *StreamsStreamPatchRequest) GetSecureLinkWithIpOk() (*bool, bool)
GetSecureLinkWithIpOk returns a tuple with the SecureLinkWithIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetSlug ¶
func (o *StreamsStreamPatchRequest) GetSlug() string
GetSlug returns the Slug field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetSlugOk ¶
func (o *StreamsStreamPatchRequest) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetTimeshift ¶
func (o *StreamsStreamPatchRequest) GetTimeshift() int32
GetTimeshift returns the Timeshift field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetTimeshiftOk ¶
func (o *StreamsStreamPatchRequest) GetTimeshiftOk() (*int32, bool)
GetTimeshiftOk returns a tuple with the Timeshift field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetTitle ¶
func (o *StreamsStreamPatchRequest) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetTitleOk ¶
func (o *StreamsStreamPatchRequest) 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 (*StreamsStreamPatchRequest) GetType ¶
func (o *StreamsStreamPatchRequest) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetTypeOk ¶
func (o *StreamsStreamPatchRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetWatermarkArea ¶
func (o *StreamsStreamPatchRequest) GetWatermarkArea() string
GetWatermarkArea returns the WatermarkArea field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetWatermarkAreaOk ¶
func (o *StreamsStreamPatchRequest) GetWatermarkAreaOk() (*string, bool)
GetWatermarkAreaOk returns a tuple with the WatermarkArea field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) GetWatermarkId ¶
func (o *StreamsStreamPatchRequest) GetWatermarkId() string
GetWatermarkId returns the WatermarkId field value if set, zero value otherwise.
func (*StreamsStreamPatchRequest) GetWatermarkIdOk ¶
func (o *StreamsStreamPatchRequest) GetWatermarkIdOk() (*string, bool)
GetWatermarkIdOk returns a tuple with the WatermarkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamsStreamPatchRequest) HasAdsEnabled ¶
func (o *StreamsStreamPatchRequest) HasAdsEnabled() bool
HasAdsEnabled returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasArchiveEnabled ¶
func (o *StreamsStreamPatchRequest) HasArchiveEnabled() bool
HasArchiveEnabled returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasArchiveMode ¶
func (o *StreamsStreamPatchRequest) HasArchiveMode() bool
HasArchiveMode returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasCampaignId ¶
func (o *StreamsStreamPatchRequest) HasCampaignId() bool
HasCampaignId returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasCatchupEnabled ¶
func (o *StreamsStreamPatchRequest) HasCatchupEnabled() bool
HasCatchupEnabled returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasCatchupPeriod ¶
func (o *StreamsStreamPatchRequest) HasCatchupPeriod() bool
HasCatchupPeriod returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasChannelId ¶
func (o *StreamsStreamPatchRequest) HasChannelId() bool
HasChannelId returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasConvertInfo ¶
func (o *StreamsStreamPatchRequest) HasConvertInfo() bool
HasConvertInfo returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasDescription ¶
func (o *StreamsStreamPatchRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasFps ¶
func (o *StreamsStreamPatchRequest) HasFps() bool
HasFps returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasFpsMode ¶
func (o *StreamsStreamPatchRequest) HasFpsMode() bool
HasFpsMode returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasInputUrl ¶
func (o *StreamsStreamPatchRequest) HasInputUrl() bool
HasInputUrl returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasMode ¶
func (o *StreamsStreamPatchRequest) HasMode() bool
HasMode returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasPresentType ¶
func (o *StreamsStreamPatchRequest) HasPresentType() bool
HasPresentType returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasSecureLinkEnabled ¶
func (o *StreamsStreamPatchRequest) HasSecureLinkEnabled() bool
HasSecureLinkEnabled returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasSecureLinkKey ¶
func (o *StreamsStreamPatchRequest) HasSecureLinkKey() bool
HasSecureLinkKey returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasSecureLinkWithIp ¶
func (o *StreamsStreamPatchRequest) HasSecureLinkWithIp() bool
HasSecureLinkWithIp returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasSlug ¶
func (o *StreamsStreamPatchRequest) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasTimeshift ¶
func (o *StreamsStreamPatchRequest) HasTimeshift() bool
HasTimeshift returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasTitle ¶
func (o *StreamsStreamPatchRequest) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasType ¶
func (o *StreamsStreamPatchRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasWatermarkArea ¶
func (o *StreamsStreamPatchRequest) HasWatermarkArea() bool
HasWatermarkArea returns a boolean if a field has been set.
func (*StreamsStreamPatchRequest) HasWatermarkId ¶
func (o *StreamsStreamPatchRequest) HasWatermarkId() bool
HasWatermarkId returns a boolean if a field has been set.
func (StreamsStreamPatchRequest) MarshalJSON ¶
func (o StreamsStreamPatchRequest) MarshalJSON() ([]byte, error)
func (*StreamsStreamPatchRequest) SetAdsEnabled ¶
func (o *StreamsStreamPatchRequest) SetAdsEnabled(v bool)
SetAdsEnabled gets a reference to the given bool and assigns it to the AdsEnabled field.
func (*StreamsStreamPatchRequest) SetArchiveEnabled ¶
func (o *StreamsStreamPatchRequest) SetArchiveEnabled(v bool)
SetArchiveEnabled gets a reference to the given bool and assigns it to the ArchiveEnabled field.
func (*StreamsStreamPatchRequest) SetArchiveMode ¶
func (o *StreamsStreamPatchRequest) SetArchiveMode(v string)
SetArchiveMode gets a reference to the given string and assigns it to the ArchiveMode field.
func (*StreamsStreamPatchRequest) SetCampaignId ¶
func (o *StreamsStreamPatchRequest) SetCampaignId(v string)
SetCampaignId gets a reference to the given string and assigns it to the CampaignId field.
func (*StreamsStreamPatchRequest) SetCatchupEnabled ¶
func (o *StreamsStreamPatchRequest) SetCatchupEnabled(v bool)
SetCatchupEnabled gets a reference to the given bool and assigns it to the CatchupEnabled field.
func (*StreamsStreamPatchRequest) SetCatchupPeriod ¶
func (o *StreamsStreamPatchRequest) SetCatchupPeriod(v int32)
SetCatchupPeriod gets a reference to the given int32 and assigns it to the CatchupPeriod field.
func (*StreamsStreamPatchRequest) SetChannelId ¶
func (o *StreamsStreamPatchRequest) SetChannelId(v string)
SetChannelId gets a reference to the given string and assigns it to the ChannelId field.
func (*StreamsStreamPatchRequest) SetConvertInfo ¶
func (o *StreamsStreamPatchRequest) SetConvertInfo(v []StreamsPostRequestConvertInfoInner)
SetConvertInfo gets a reference to the given []StreamsPostRequestConvertInfoInner and assigns it to the ConvertInfo field.
func (*StreamsStreamPatchRequest) SetDescription ¶
func (o *StreamsStreamPatchRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*StreamsStreamPatchRequest) SetFps ¶
func (o *StreamsStreamPatchRequest) SetFps(v int32)
SetFps gets a reference to the given int32 and assigns it to the Fps field.
func (*StreamsStreamPatchRequest) SetFpsMode ¶
func (o *StreamsStreamPatchRequest) SetFpsMode(v string)
SetFpsMode gets a reference to the given string and assigns it to the FpsMode field.
func (*StreamsStreamPatchRequest) SetInputUrl ¶
func (o *StreamsStreamPatchRequest) SetInputUrl(v string)
SetInputUrl gets a reference to the given string and assigns it to the InputUrl field.
func (*StreamsStreamPatchRequest) SetMode ¶
func (o *StreamsStreamPatchRequest) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*StreamsStreamPatchRequest) SetPresentType ¶
func (o *StreamsStreamPatchRequest) SetPresentType(v string)
SetPresentType gets a reference to the given string and assigns it to the PresentType field.
func (*StreamsStreamPatchRequest) SetSecureLinkEnabled ¶
func (o *StreamsStreamPatchRequest) SetSecureLinkEnabled(v bool)
SetSecureLinkEnabled gets a reference to the given bool and assigns it to the SecureLinkEnabled field.
func (*StreamsStreamPatchRequest) SetSecureLinkKey ¶
func (o *StreamsStreamPatchRequest) SetSecureLinkKey(v string)
SetSecureLinkKey gets a reference to the given string and assigns it to the SecureLinkKey field.
func (*StreamsStreamPatchRequest) SetSecureLinkWithIp ¶
func (o *StreamsStreamPatchRequest) SetSecureLinkWithIp(v bool)
SetSecureLinkWithIp gets a reference to the given bool and assigns it to the SecureLinkWithIp field.
func (*StreamsStreamPatchRequest) SetSlug ¶
func (o *StreamsStreamPatchRequest) SetSlug(v string)
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (*StreamsStreamPatchRequest) SetTimeshift ¶
func (o *StreamsStreamPatchRequest) SetTimeshift(v int32)
SetTimeshift gets a reference to the given int32 and assigns it to the Timeshift field.
func (*StreamsStreamPatchRequest) SetTitle ¶
func (o *StreamsStreamPatchRequest) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*StreamsStreamPatchRequest) SetType ¶
func (o *StreamsStreamPatchRequest) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*StreamsStreamPatchRequest) SetWatermarkArea ¶
func (o *StreamsStreamPatchRequest) SetWatermarkArea(v string)
SetWatermarkArea gets a reference to the given string and assigns it to the WatermarkArea field.
func (*StreamsStreamPatchRequest) SetWatermarkId ¶
func (o *StreamsStreamPatchRequest) SetWatermarkId(v string)
SetWatermarkId gets a reference to the given string and assigns it to the WatermarkId field.
func (StreamsStreamPatchRequest) ToMap ¶
func (o StreamsStreamPatchRequest) ToMap() (map[string]interface{}, error)
type WatermarkAPIService ¶
type WatermarkAPIService service
WatermarkAPIService WatermarkAPI service
func (*WatermarkAPIService) WatermarksGet ¶
func (a *WatermarkAPIService) WatermarksGet(ctx context.Context) ApiWatermarksGetRequest
WatermarksGet Return all watermarks.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiWatermarksGetRequest
func (*WatermarkAPIService) WatermarksGetExecute ¶
func (a *WatermarkAPIService) WatermarksGetExecute(r ApiWatermarksGetRequest) (*http.Response, error)
Execute executes the request
func (*WatermarkAPIService) WatermarksPost ¶
func (a *WatermarkAPIService) WatermarksPost(ctx context.Context) ApiWatermarksPostRequest
WatermarksPost Store a newly created Watermark.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiWatermarksPostRequest
func (*WatermarkAPIService) WatermarksPostExecute ¶
func (a *WatermarkAPIService) WatermarksPostExecute(r ApiWatermarksPostRequest) (*http.Response, error)
Execute executes the request
func (*WatermarkAPIService) WatermarksWatermarkDelete ¶
func (a *WatermarkAPIService) WatermarksWatermarkDelete(ctx context.Context, watermark string) ApiWatermarksWatermarkDeleteRequest
WatermarksWatermarkDelete Remove the specified watermark.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param watermark The Id of watermark @return ApiWatermarksWatermarkDeleteRequest
func (*WatermarkAPIService) WatermarksWatermarkDeleteExecute ¶
func (a *WatermarkAPIService) WatermarksWatermarkDeleteExecute(r ApiWatermarksWatermarkDeleteRequest) (*http.Response, error)
Execute executes the request
func (*WatermarkAPIService) WatermarksWatermarkGet ¶
func (a *WatermarkAPIService) WatermarksWatermarkGet(ctx context.Context, watermark string) ApiWatermarksWatermarkGetRequest
WatermarksWatermarkGet Return the specified watermark.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param watermark The Id of watermark @return ApiWatermarksWatermarkGetRequest
func (*WatermarkAPIService) WatermarksWatermarkGetExecute ¶
func (a *WatermarkAPIService) WatermarksWatermarkGetExecute(r ApiWatermarksWatermarkGetRequest) (*http.Response, error)
Execute executes the request
func (*WatermarkAPIService) WatermarksWatermarkPatch ¶
func (a *WatermarkAPIService) WatermarksWatermarkPatch(ctx context.Context, watermark string) ApiWatermarksWatermarkPatchRequest
WatermarksWatermarkPatch Update the specified watermark.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param watermark The Id of watermark @return ApiWatermarksWatermarkPatchRequest
func (*WatermarkAPIService) WatermarksWatermarkPatchExecute ¶
func (a *WatermarkAPIService) WatermarksWatermarkPatchExecute(r ApiWatermarksWatermarkPatchRequest) (*http.Response, error)
Execute executes the request
type WatermarksWatermarkPatchRequest ¶
type WatermarksWatermarkPatchRequest struct { // Title of watermark Title *string `json:"title,omitempty"` // Description of watermark Description *string `json:"description,omitempty"` }
WatermarksWatermarkPatchRequest struct for WatermarksWatermarkPatchRequest
func NewWatermarksWatermarkPatchRequest ¶
func NewWatermarksWatermarkPatchRequest() *WatermarksWatermarkPatchRequest
NewWatermarksWatermarkPatchRequest instantiates a new WatermarksWatermarkPatchRequest 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 NewWatermarksWatermarkPatchRequestWithDefaults ¶
func NewWatermarksWatermarkPatchRequestWithDefaults() *WatermarksWatermarkPatchRequest
NewWatermarksWatermarkPatchRequestWithDefaults instantiates a new WatermarksWatermarkPatchRequest 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 (*WatermarksWatermarkPatchRequest) GetDescription ¶
func (o *WatermarksWatermarkPatchRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*WatermarksWatermarkPatchRequest) GetDescriptionOk ¶
func (o *WatermarksWatermarkPatchRequest) 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 (*WatermarksWatermarkPatchRequest) GetTitle ¶
func (o *WatermarksWatermarkPatchRequest) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*WatermarksWatermarkPatchRequest) GetTitleOk ¶
func (o *WatermarksWatermarkPatchRequest) 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 (*WatermarksWatermarkPatchRequest) HasDescription ¶
func (o *WatermarksWatermarkPatchRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*WatermarksWatermarkPatchRequest) HasTitle ¶
func (o *WatermarksWatermarkPatchRequest) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (WatermarksWatermarkPatchRequest) MarshalJSON ¶
func (o WatermarksWatermarkPatchRequest) MarshalJSON() ([]byte, error)
func (*WatermarksWatermarkPatchRequest) SetDescription ¶
func (o *WatermarksWatermarkPatchRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*WatermarksWatermarkPatchRequest) SetTitle ¶
func (o *WatermarksWatermarkPatchRequest) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (WatermarksWatermarkPatchRequest) ToMap ¶
func (o WatermarksWatermarkPatchRequest) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_analytics.go
- api_domain.go
- api_general_report.go
- api_stream.go
- api_watermark.go
- client.go
- configuration.go
- model__domain_post_request.go
- model__streams__stream__patch_request.go
- model__streams_post_request.go
- model__streams_post_request_convert_info_inner.go
- model__watermarks__watermark__patch_request.go
- response.go
- utils.go