vod

package module
v0.0.0-...-f18e262 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 20 Imported by: 0

README

Go API client for vod

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 2.0
  • Package version: 2.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import vod "github.com/hamidfzm/arvancloud-go/vod"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), vod.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), vod.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), vod.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), vod.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://napi.arvancloud.ir/vod/2.0

Class Method HTTP request Description
AnalyticsAPI AnalyticsPlayCountGet Get /analytics/play-count Return appropriate play count
AnalyticsAPI AnalyticsTrafficGet Get /analytics/traffic Return appropriate traffic
AnalyticsAPI AnalyticsWatchTimeGet Get /analytics/watch-time Return appropriate watch time
AudioAPI AudiosAudioDelete Delete /audios/{audio} Remove the specified audio.
AudioAPI AudiosAudioGet Get /audios/{audio} Return the specified audio.
AudioAPI AudiosAudioPatch Patch /audios/{audio} Update the specified audio.
AudioAPI ChannelsChannelAudiosGet Get /channels/{channel}/audios Return all channel's audios.
AudioAPI ChannelsChannelAudiosPost Post /channels/{channel}/audios Store a newly created audio.
AudioTrackAPI AudioTracksAudioTrackDelete Delete /audio-tracks/{audio_track} Remove the specified audio track.
AudioTrackAPI AudioTracksAudioTrackGet Get /audio-tracks/{audio_track} Return the specified audio track.
AudioTrackAPI VideosVideoAudioTracksGet Get /videos/{video}/audio-tracks Display a listing of the Audio Tracks.
AudioTrackAPI VideosVideoAudioTracksPost Post /videos/{video}/audio-tracks Store a newly created audio track.
ChannelAPI ChannelsChannelDelete Delete /channels/{channel} Remove the specified channel.
ChannelAPI ChannelsChannelGet Get /channels/{channel} Return the specified channel.
ChannelAPI ChannelsChannelPatch Patch /channels/{channel} Update the specified channel.
ChannelAPI ChannelsGet Get /channels Return all user's channels.
ChannelAPI ChannelsPost Post /channels Store a newly channel.
DomainAPI DomainGet Get /domain Return User Domain.
DomainAPI DomainPost Post /domain Set subdomain for VOD service.
FileAPI ChannelsChannelFilesFileHead Head /channels/{channel}/files/{file} Get upload offset. See https://tus.io/ for more detail.
FileAPI ChannelsChannelFilesFilePatch Patch /channels/{channel}/files/{file} Upload and apply bytes to a file. See https://tus.io/ for more detail.
FileAPI ChannelsChannelFilesGet Get /channels/{channel}/files Return all draft files of channel.
FileAPI ChannelsChannelFilesPost Post /channels/{channel}/files Request a new upload file. See https://tus.io/ for more detail.
FileAPI FilesFileDelete Delete /files/{file} Remove the specified file.
FileAPI FilesFileGet Get /files/{file} Return the specified file.
GeneralReportAPI ReportGeoGet Get /report/geo Return Domain Geo Report.
GeneralReportAPI ReportStatisticsGet Get /report/statistics Return Domain statistics report.
GeneralReportAPI ReportTrafficsGet Get /report/traffics Return Domain Traffic.
GeneralReportAPI ReportUserAgentGet Get /report/user-agent Return User Agent.
GeneralReportAPI ReportVisitorsGet Get /report/visitors Return Domain Visitors.
ProfileAPI ChannelsChannelProfilesGet Get /channels/{channel}/profiles Return all channel's profiles.
ProfileAPI ChannelsChannelProfilesPost Post /channels/{channel}/profiles Store a newly created profile.
ProfileAPI ProfilesProfileDelete Delete /profiles/{profile} Remove the specified profile.
ProfileAPI ProfilesProfileGet Get /profiles/{profile} Return the specified profile.
ProfileAPI ProfilesProfilePatch Patch /profiles/{profile} Update the specified profile.
SubtitleAPI SubtitlesSubtitleDelete Delete /subtitles/{subtitle} Remove the specified subtitle.
SubtitleAPI SubtitlesSubtitleGet Get /subtitles/{subtitle} Return the specified subtitle.
SubtitleAPI VideosVideoSubtitlesGet Get /videos/{video}/subtitles Display a listing of the subtitle.
SubtitleAPI VideosVideoSubtitlesPost Post /videos/{video}/subtitles Store a newly created subtitle.
TagAPI TagsGet Get /tags Return all user's tags.
TagAPI TagsPost Post /tags Store a newly created Tag.
TagAPI VideosVideoTagsGet Get /videos/{video}/tags Return all vidoe's tags.
TagAPI VideosVideoTagsPut Put /videos/{video}/tags Update the video tags.
ThumbnailAPI VideosVideoThumbnailGet Get /videos/{video}/thumbnail Display video thumbnail.
ThumbnailAPI VideosVideoThumbnailPost Post /videos/{video}/thumbnail Store a newly created thumbnail.
VideoAPI ChannelsChannelVideosGet Get /channels/{channel}/videos Return all channel's videos.
VideoAPI ChannelsChannelVideosPost Post /channels/{channel}/videos Store a newly created video.
VideoAPI VideosBulkDelete Delete /videos/bulk Remove the multiple video.
VideoAPI VideosVideoDelete Delete /videos/{video} Remove the specified video.
VideoAPI VideosVideoGet Get /videos/{video} Return the specified video.
VideoAPI VideosVideoPatch Patch /videos/{video} Update the specified video.
WatermarkAPI ChannelsChannelWatermarksGet Get /channels/{channel}/watermarks Return all channel's watermarks.
WatermarkAPI ChannelsChannelWatermarksPost Post /channels/{channel}/watermarks Store a newly created Watermark.
WatermarkAPI WatermarksWatermarkDelete Delete /watermarks/{watermark} Remove the specified watermark.
WatermarkAPI WatermarksWatermarkGet Get /watermarks/{watermark} Return the specified watermark.
WatermarkAPI WatermarksWatermarkPatch Patch /watermarks/{watermark} Update the specified watermark.

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

api_key
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	AnalyticsAPI *AnalyticsAPIService

	AudioAPI *AudioAPIService

	AudioTrackAPI *AudioTrackAPIService

	ChannelAPI *ChannelAPIService

	DomainAPI *DomainAPIService

	FileAPI *FileAPIService

	GeneralReportAPI *GeneralReportAPIService

	ProfileAPI *ProfileAPIService

	SubtitleAPI *SubtitleAPIService

	TagAPI *TagAPIService

	ThumbnailAPI *ThumbnailAPIService

	VideoAPI *VideoAPIService

	WatermarkAPI *WatermarkAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Arvan VOD 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

type APIKey struct {
	Key    string
	Prefix string
}

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

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

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

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

Enum: &#39;SUM&#39; &#39;AVG&#39; &#39;MIN&#39; &#39;MAX&#39; &#39;COUNT&#39;

func (ApiAnalyticsPlayCountGetRequest) Execute

func (ApiAnalyticsPlayCountGetRequest) FiltersAsn

Filter by asn numbers

func (ApiAnalyticsPlayCountGetRequest) FiltersChannel

func (r ApiAnalyticsPlayCountGetRequest) FiltersChannel(filtersChannel []string) ApiAnalyticsPlayCountGetRequest

Filter by channel IDs

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) FiltersVideo

Filter by video IDs

func (ApiAnalyticsPlayCountGetRequest) GroupBy

Enum: &#39;channel&#39; &#39;video&#39; &#39;country&#39; &#39;asn&#39;

func (ApiAnalyticsPlayCountGetRequest) Interval

Enum: &#39;minutely&#39; &#39;hourly&#39; &#39;daily&#39;

func (ApiAnalyticsPlayCountGetRequest) Limit

Limit the number of entities

func (ApiAnalyticsPlayCountGetRequest) Offset

Define offset of entities

func (ApiAnalyticsPlayCountGetRequest) OrderByName

Enum: watch_time

func (ApiAnalyticsPlayCountGetRequest) OrderByOrder

Enum: &#39;ASC&#39; &#39;DESC&#39;

func (ApiAnalyticsPlayCountGetRequest) Period

Enum: &#39;1h&#39; &#39;2h&#39; &#39;3h&#39; &#39;6h&#39; &#39;12h&#39; &#39;24h&#39; &#39;3d&#39; &#39;7d&#39; &#39;14d&#39; &#39;1m&#39;

func (ApiAnalyticsPlayCountGetRequest) Since

string &lt;date-time:Y-m-d H:i&gt;|&lt;date: Y-m-d&gt;

func (ApiAnalyticsPlayCountGetRequest) Timezone

Timezone ex: Asia/Tehran

func (ApiAnalyticsPlayCountGetRequest) Until

string &lt;date-time:Y-m-d H:i&gt;|&lt;date: Y-m-d&gt;

type ApiAnalyticsTrafficGetRequest

type ApiAnalyticsTrafficGetRequest struct {
	ApiService *AnalyticsAPIService
	// contains filtered or unexported fields
}

func (ApiAnalyticsTrafficGetRequest) Aggregate

Enum: &#39;SUM&#39; &#39;AVG&#39; &#39;MIN&#39; &#39;MAX&#39; &#39;COUNT&#39;

func (ApiAnalyticsTrafficGetRequest) Execute

func (ApiAnalyticsTrafficGetRequest) FiltersAsn

Filter by asn numbers

func (ApiAnalyticsTrafficGetRequest) FiltersChannel

func (r ApiAnalyticsTrafficGetRequest) FiltersChannel(filtersChannel []string) ApiAnalyticsTrafficGetRequest

Filter by channel IDs

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) FiltersVideo

Filter by video IDs

func (ApiAnalyticsTrafficGetRequest) GroupBy

Enum: &#39;channel&#39; &#39;video&#39; &#39;country&#39; &#39;asn&#39; &#39;referer&#39;

func (ApiAnalyticsTrafficGetRequest) Interval

Enum: &#39;minutely&#39; &#39;hourly&#39; &#39;daily&#39;

func (ApiAnalyticsTrafficGetRequest) Limit

Limit the number of entities

func (ApiAnalyticsTrafficGetRequest) Offset

Define offset of entities

func (ApiAnalyticsTrafficGetRequest) OrderByName

Enum: traffic

func (ApiAnalyticsTrafficGetRequest) OrderByOrder

Enum: &#39;ASC&#39; &#39;DESC&#39;

func (ApiAnalyticsTrafficGetRequest) Period

Enum: &#39;1h&#39; &#39;2h&#39; &#39;3h&#39; &#39;6h&#39; &#39;12h&#39; &#39;24h&#39; &#39;3d&#39; &#39;7d&#39; &#39;14d&#39; &#39;1m&#39;

func (ApiAnalyticsTrafficGetRequest) Since

string &lt;date-time:Y-m-d H:i&gt;|&lt;date: Y-m-d&gt;

func (ApiAnalyticsTrafficGetRequest) Timezone

Timezone ex: Asia/Tehran

func (ApiAnalyticsTrafficGetRequest) Until

string &lt;date-time:Y-m-d H:i&gt;|&lt;date: Y-m-d&gt;

type ApiAnalyticsWatchTimeGetRequest

type ApiAnalyticsWatchTimeGetRequest struct {
	ApiService *AnalyticsAPIService
	// contains filtered or unexported fields
}

func (ApiAnalyticsWatchTimeGetRequest) Aggregate

Enum: &#39;SUM&#39; &#39;AVG&#39; &#39;MIN&#39; &#39;MAX&#39; &#39;COUNT&#39;

func (ApiAnalyticsWatchTimeGetRequest) Execute

func (ApiAnalyticsWatchTimeGetRequest) FiltersAsn

Filter by asn numbers

func (ApiAnalyticsWatchTimeGetRequest) FiltersChannel

func (r ApiAnalyticsWatchTimeGetRequest) FiltersChannel(filtersChannel []string) ApiAnalyticsWatchTimeGetRequest

Filter by channel IDs

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) FiltersVideo

Filter by video IDs

func (ApiAnalyticsWatchTimeGetRequest) GroupBy

Enum: &#39;channel&#39; &#39;video&#39; &#39;country&#39; &#39;asn&#39;

func (ApiAnalyticsWatchTimeGetRequest) Interval

Enum: &#39;minutely&#39; &#39;hourly&#39; &#39;daily&#39;

func (ApiAnalyticsWatchTimeGetRequest) Limit

Limit the number of entities

func (ApiAnalyticsWatchTimeGetRequest) Offset

Define offset of entities

func (ApiAnalyticsWatchTimeGetRequest) OrderByName

Enum: watch_time

func (ApiAnalyticsWatchTimeGetRequest) OrderByOrder

Enum: &#39;ASC&#39; &#39;DESC&#39;

func (ApiAnalyticsWatchTimeGetRequest) Period

Enum: &#39;1h&#39; &#39;2h&#39; &#39;3h&#39; &#39;6h&#39; &#39;12h&#39; &#39;24h&#39; &#39;3d&#39; &#39;7d&#39; &#39;14d&#39; &#39;1m&#39;

func (ApiAnalyticsWatchTimeGetRequest) Since

string &lt;date-time:Y-m-d H:i&gt;|&lt;date: Y-m-d&gt;

func (ApiAnalyticsWatchTimeGetRequest) Timezone

Timezone ex: Asia/Tehran

func (ApiAnalyticsWatchTimeGetRequest) Until

string &lt;date-time:Y-m-d H:i&gt;|&lt;date: Y-m-d&gt;

type ApiAudioTracksAudioTrackDeleteRequest

type ApiAudioTracksAudioTrackDeleteRequest struct {
	ApiService *AudioTrackAPIService
	// contains filtered or unexported fields
}

func (ApiAudioTracksAudioTrackDeleteRequest) Execute

type ApiAudioTracksAudioTrackGetRequest

type ApiAudioTracksAudioTrackGetRequest struct {
	ApiService *AudioTrackAPIService
	// contains filtered or unexported fields
}

func (ApiAudioTracksAudioTrackGetRequest) Execute

func (ApiAudioTracksAudioTrackGetRequest) SecureExpireTime

The Unix Timestamp for expire secure links. * If channel is secure default is 24 hours later from now

func (ApiAudioTracksAudioTrackGetRequest) SecureIp

The IP address for generate secure links for. If channel is secure default is request IP

type ApiAudiosAudioDeleteRequest

type ApiAudiosAudioDeleteRequest struct {
	ApiService *AudioAPIService
	// contains filtered or unexported fields
}

func (ApiAudiosAudioDeleteRequest) Execute

type ApiAudiosAudioGetRequest

type ApiAudiosAudioGetRequest struct {
	ApiService *AudioAPIService
	// contains filtered or unexported fields
}

func (ApiAudiosAudioGetRequest) Execute

func (r ApiAudiosAudioGetRequest) Execute() (*http.Response, error)

func (ApiAudiosAudioGetRequest) SecureExpireTime

func (r ApiAudiosAudioGetRequest) SecureExpireTime(secureExpireTime int32) ApiAudiosAudioGetRequest

The Unix Timestamp for expire secure links. * If channel is secure default is 24 hours later from now

func (ApiAudiosAudioGetRequest) SecureIp

The IP address for generate secure links for. If channel is secure default is request IP

type ApiAudiosAudioPatchRequest

type ApiAudiosAudioPatchRequest struct {
	ApiService *AudioAPIService
	// contains filtered or unexported fields
}

func (ApiAudiosAudioPatchRequest) Body

Audio details

func (ApiAudiosAudioPatchRequest) Execute

type ApiChannelsChannelAudiosGetRequest

type ApiChannelsChannelAudiosGetRequest struct {
	ApiService *AudioAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelAudiosGetRequest) Execute

func (ApiChannelsChannelAudiosGetRequest) Filter

Filter result

func (ApiChannelsChannelAudiosGetRequest) Page

Page number

func (ApiChannelsChannelAudiosGetRequest) PerPage

Page limit for query

func (ApiChannelsChannelAudiosGetRequest) SecureExpireTime

The Unix Timestamp for expire secure links. * If channel is secure default is 24 hours later from now

func (ApiChannelsChannelAudiosGetRequest) SecureIp

The IP address for generate secure links for. If channel is secure default is request IP

type ApiChannelsChannelAudiosPostRequest

type ApiChannelsChannelAudiosPostRequest struct {
	ApiService *AudioAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelAudiosPostRequest) Body

Audio details

func (ApiChannelsChannelAudiosPostRequest) Execute

type ApiChannelsChannelDeleteRequest

type ApiChannelsChannelDeleteRequest struct {
	ApiService *ChannelAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelDeleteRequest) Execute

type ApiChannelsChannelFilesFileHeadRequest

type ApiChannelsChannelFilesFileHeadRequest struct {
	ApiService *FileAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelFilesFileHeadRequest) Execute

type ApiChannelsChannelFilesFilePatchRequest

type ApiChannelsChannelFilesFilePatchRequest struct {
	ApiService *FileAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelFilesFilePatchRequest) ContentType

Request content type

func (ApiChannelsChannelFilesFilePatchRequest) Execute

func (ApiChannelsChannelFilesFilePatchRequest) TusResumable

version of tus.io

func (ApiChannelsChannelFilesFilePatchRequest) UploadOffset

request and response header indicates a byte offset within a resource. * For uploading entire file in one request, set this to &#39;0&#39;

type ApiChannelsChannelFilesGetRequest

type ApiChannelsChannelFilesGetRequest struct {
	ApiService *FileAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelFilesGetRequest) Execute

func (ApiChannelsChannelFilesGetRequest) Filter

Filter result

type ApiChannelsChannelFilesPostRequest

type ApiChannelsChannelFilesPostRequest struct {
	ApiService *FileAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelFilesPostRequest) Execute

func (ApiChannelsChannelFilesPostRequest) TusResumable

version of tus.io

func (ApiChannelsChannelFilesPostRequest) UploadLength

To indicate the size of entire upload in bytes

func (ApiChannelsChannelFilesPostRequest) UploadMetadata

To add additional metadata to the upload creation request. * MUST contain &#39;filename&#39; and &#39;filetype&#39;. From all available fields only these two fields will be used. * MUST consist of one or more comma-separated key-value pairs. * The key and value MUST be separated by a space. * The key MUST NOT contain spaces and commas and MUST NOT be empty. * The key SHOULD be ASCII encoded and the value MUST be Base64 encoded.

type ApiChannelsChannelGetRequest

type ApiChannelsChannelGetRequest struct {
	ApiService *ChannelAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelGetRequest) Execute

type ApiChannelsChannelPatchRequest

type ApiChannelsChannelPatchRequest struct {
	ApiService *ChannelAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelPatchRequest) Body

Channel details

func (ApiChannelsChannelPatchRequest) Execute

type ApiChannelsChannelProfilesGetRequest

type ApiChannelsChannelProfilesGetRequest struct {
	ApiService *ProfileAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelProfilesGetRequest) Execute

func (ApiChannelsChannelProfilesGetRequest) Filter

Filter result

func (ApiChannelsChannelProfilesGetRequest) Page

Page number

func (ApiChannelsChannelProfilesGetRequest) PerPage

Page limit

type ApiChannelsChannelProfilesPostRequest

type ApiChannelsChannelProfilesPostRequest struct {
	ApiService *ProfileAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelProfilesPostRequest) Body

Profile details

func (ApiChannelsChannelProfilesPostRequest) Execute

type ApiChannelsChannelVideosGetRequest

type ApiChannelsChannelVideosGetRequest struct {
	ApiService *VideoAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelVideosGetRequest) Execute

func (ApiChannelsChannelVideosGetRequest) Filter

Filter result

func (ApiChannelsChannelVideosGetRequest) OrderBy

Order by ex: title, time

func (ApiChannelsChannelVideosGetRequest) Page

Page number

func (ApiChannelsChannelVideosGetRequest) PerPage

Page limit for query

func (ApiChannelsChannelVideosGetRequest) SecureExpireTime

The Unix Timestamp for expire secure links. * If channel is secure default is 24 hours later from now

func (ApiChannelsChannelVideosGetRequest) SecureIp

The IP address for generate secure links for. If channel is secure default is request IP

func (ApiChannelsChannelVideosGetRequest) Sort

Sort ex: asc ,desc

type ApiChannelsChannelVideosPostRequest

type ApiChannelsChannelVideosPostRequest struct {
	ApiService *VideoAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelVideosPostRequest) Body

Video details

func (ApiChannelsChannelVideosPostRequest) Execute

type ApiChannelsChannelWatermarksGetRequest

type ApiChannelsChannelWatermarksGetRequest struct {
	ApiService *WatermarkAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelWatermarksGetRequest) Execute

func (ApiChannelsChannelWatermarksGetRequest) Filter

Filter result

func (ApiChannelsChannelWatermarksGetRequest) Page

Page number

func (ApiChannelsChannelWatermarksGetRequest) PerPage

Page limit for query

func (ApiChannelsChannelWatermarksGetRequest) SecureExpireTime

The Unix Timestamp for expire secure links. * If channel is secure default is 24 hours later from now

func (ApiChannelsChannelWatermarksGetRequest) SecureIp

The IP address for generate secure links for. If channel is secure default is request IP

type ApiChannelsChannelWatermarksPostRequest

type ApiChannelsChannelWatermarksPostRequest struct {
	ApiService *WatermarkAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsChannelWatermarksPostRequest) Description

Description of watermark

func (ApiChannelsChannelWatermarksPostRequest) Execute

func (ApiChannelsChannelWatermarksPostRequest) Title

Title of watermark

func (ApiChannelsChannelWatermarksPostRequest) Watermark

Watermark file

type ApiChannelsGetRequest

type ApiChannelsGetRequest struct {
	ApiService *ChannelAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsGetRequest) Execute

func (r ApiChannelsGetRequest) Execute() (*http.Response, error)

func (ApiChannelsGetRequest) Filter

Filter result

func (ApiChannelsGetRequest) Page

Page number

func (ApiChannelsGetRequest) PerPage

Page limit

type ApiChannelsPostRequest

type ApiChannelsPostRequest struct {
	ApiService *ChannelAPIService
	// contains filtered or unexported fields
}

func (ApiChannelsPostRequest) Body

Channel details

func (ApiChannelsPostRequest) Execute

func (r ApiChannelsPostRequest) Execute() (*http.Response, error)

type ApiDomainGetRequest

type ApiDomainGetRequest struct {
	ApiService *DomainAPIService
	// contains filtered or unexported fields
}

func (ApiDomainGetRequest) Execute

func (r ApiDomainGetRequest) Execute() (*http.Response, error)

type ApiDomainPostRequest

type ApiDomainPostRequest struct {
	ApiService *DomainAPIService
	// contains filtered or unexported fields
}

func (ApiDomainPostRequest) Body

func (ApiDomainPostRequest) Execute

func (r ApiDomainPostRequest) Execute() (*http.Response, error)

type ApiFilesFileDeleteRequest

type ApiFilesFileDeleteRequest struct {
	ApiService *FileAPIService
	// contains filtered or unexported fields
}

func (ApiFilesFileDeleteRequest) Execute

func (r ApiFilesFileDeleteRequest) Execute() (*http.Response, error)

type ApiFilesFileGetRequest

type ApiFilesFileGetRequest struct {
	ApiService *FileAPIService
	// contains filtered or unexported fields
}

func (ApiFilesFileGetRequest) Execute

func (r ApiFilesFileGetRequest) Execute() (*http.Response, error)

type ApiProfilesProfileDeleteRequest

type ApiProfilesProfileDeleteRequest struct {
	ApiService *ProfileAPIService
	// contains filtered or unexported fields
}

func (ApiProfilesProfileDeleteRequest) Execute

type ApiProfilesProfileGetRequest

type ApiProfilesProfileGetRequest struct {
	ApiService *ProfileAPIService
	// contains filtered or unexported fields
}

func (ApiProfilesProfileGetRequest) Execute

type ApiProfilesProfilePatchRequest

type ApiProfilesProfilePatchRequest struct {
	ApiService *ProfileAPIService
	// contains filtered or unexported fields
}

func (ApiProfilesProfilePatchRequest) Body

Profile details

func (ApiProfilesProfilePatchRequest) Execute

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

Values: 1h,3h,6h,12h,24h,7d,30d

type ApiReportStatisticsGetRequest

type ApiReportStatisticsGetRequest struct {
	ApiService *GeneralReportAPIService
	// contains filtered or unexported fields
}

func (ApiReportStatisticsGetRequest) Execute

type ApiReportTrafficsGetRequest

type ApiReportTrafficsGetRequest struct {
	ApiService *GeneralReportAPIService
	// contains filtered or unexported fields
}

func (ApiReportTrafficsGetRequest) Execute

func (ApiReportTrafficsGetRequest) Period

Values: 1h,3h,6h,12h,24h,7d,30d

type ApiReportUserAgentGetRequest

type ApiReportUserAgentGetRequest struct {
	ApiService *GeneralReportAPIService
	// contains filtered or unexported fields
}

func (ApiReportUserAgentGetRequest) Execute

func (ApiReportUserAgentGetRequest) Period

Values: 1h,3h,6h,12h,24h,7d,30d

type ApiReportVisitorsGetRequest

type ApiReportVisitorsGetRequest struct {
	ApiService *GeneralReportAPIService
	// contains filtered or unexported fields
}

func (ApiReportVisitorsGetRequest) Execute

func (ApiReportVisitorsGetRequest) Period

Values: 1h,3h,6h,12h,24h,7d,30d

type ApiSubtitlesSubtitleDeleteRequest

type ApiSubtitlesSubtitleDeleteRequest struct {
	ApiService *SubtitleAPIService
	// contains filtered or unexported fields
}

func (ApiSubtitlesSubtitleDeleteRequest) Execute

type ApiSubtitlesSubtitleGetRequest

type ApiSubtitlesSubtitleGetRequest struct {
	ApiService *SubtitleAPIService
	// contains filtered or unexported fields
}

func (ApiSubtitlesSubtitleGetRequest) Execute

func (ApiSubtitlesSubtitleGetRequest) SecureExpireTime

func (r ApiSubtitlesSubtitleGetRequest) SecureExpireTime(secureExpireTime int32) ApiSubtitlesSubtitleGetRequest

The Unix Timestamp for expire secure links. * If channel is secure default is 24 hours later from now

func (ApiSubtitlesSubtitleGetRequest) SecureIp

The IP address for generate secure links for. If channel is secure default is request IP

type ApiTagsGetRequest

type ApiTagsGetRequest struct {
	ApiService *TagAPIService
	// contains filtered or unexported fields
}

func (ApiTagsGetRequest) Execute

func (r ApiTagsGetRequest) Execute() (*http.Response, error)

func (ApiTagsGetRequest) Filter

func (r ApiTagsGetRequest) Filter(filter string) ApiTagsGetRequest

Filter result

func (ApiTagsGetRequest) Sort

Sort ex: asc ,desc

type ApiTagsPostRequest

type ApiTagsPostRequest struct {
	ApiService *TagAPIService
	// contains filtered or unexported fields
}

func (ApiTagsPostRequest) Execute

func (r ApiTagsPostRequest) Execute() (*http.Response, error)

func (ApiTagsPostRequest) Title

Title of tag

type ApiVideosBulkDeleteRequest

type ApiVideosBulkDeleteRequest struct {
	ApiService *VideoAPIService
	// contains filtered or unexported fields
}

func (ApiVideosBulkDeleteRequest) Execute

type ApiVideosVideoAudioTracksGetRequest

type ApiVideosVideoAudioTracksGetRequest struct {
	ApiService *AudioTrackAPIService
	// contains filtered or unexported fields
}

func (ApiVideosVideoAudioTracksGetRequest) Execute

func (ApiVideosVideoAudioTracksGetRequest) SecureExpireTime

The Unix Timestamp for expire secure links. * If channel is secure default is 24 hours later from now

func (ApiVideosVideoAudioTracksGetRequest) SecureIp

The IP address for generate secure links for. If channel is secure default is request IP

type ApiVideosVideoAudioTracksPostRequest

type ApiVideosVideoAudioTracksPostRequest struct {
	ApiService *AudioTrackAPIService
	// contains filtered or unexported fields
}

func (ApiVideosVideoAudioTracksPostRequest) AudioTrack

The Mp3 or ACC Audio file.

func (ApiVideosVideoAudioTracksPostRequest) Execute

func (ApiVideosVideoAudioTracksPostRequest) Lang

Track language

type ApiVideosVideoDeleteRequest

type ApiVideosVideoDeleteRequest struct {
	ApiService *VideoAPIService
	// contains filtered or unexported fields
}

func (ApiVideosVideoDeleteRequest) Execute

type ApiVideosVideoGetRequest

type ApiVideosVideoGetRequest struct {
	ApiService *VideoAPIService
	// contains filtered or unexported fields
}

func (ApiVideosVideoGetRequest) Execute

func (r ApiVideosVideoGetRequest) Execute() (*http.Response, error)

func (ApiVideosVideoGetRequest) SecureExpireTime

func (r ApiVideosVideoGetRequest) SecureExpireTime(secureExpireTime int32) ApiVideosVideoGetRequest

The Unix Timestamp for expire secure links. * If channel is secure default is 24 hours later from now

func (ApiVideosVideoGetRequest) SecureIp

The IP address for generate secure links for. If channel is secure default is request IP

type ApiVideosVideoPatchRequest

type ApiVideosVideoPatchRequest struct {
	ApiService *VideoAPIService
	// contains filtered or unexported fields
}

func (ApiVideosVideoPatchRequest) Body

Video details

func (ApiVideosVideoPatchRequest) Execute

type ApiVideosVideoSubtitlesGetRequest

type ApiVideosVideoSubtitlesGetRequest struct {
	ApiService *SubtitleAPIService
	// contains filtered or unexported fields
}

func (ApiVideosVideoSubtitlesGetRequest) Execute

func (ApiVideosVideoSubtitlesGetRequest) SecureExpireTime

func (r ApiVideosVideoSubtitlesGetRequest) SecureExpireTime(secureExpireTime int32) ApiVideosVideoSubtitlesGetRequest

The Unix Timestamp for expire secure links. * If channel is secure default is 24 hours later from now

func (ApiVideosVideoSubtitlesGetRequest) SecureIp

The IP address for generate secure links for. If channel is secure default is request IP

type ApiVideosVideoSubtitlesPostRequest

type ApiVideosVideoSubtitlesPostRequest struct {
	ApiService *SubtitleAPIService
	// contains filtered or unexported fields
}

func (ApiVideosVideoSubtitlesPostRequest) Execute

func (ApiVideosVideoSubtitlesPostRequest) Lang

Subtitle language

func (ApiVideosVideoSubtitlesPostRequest) Subtitle

The SRT or VTT subtitle file.

type ApiVideosVideoTagsGetRequest

type ApiVideosVideoTagsGetRequest struct {
	ApiService *TagAPIService
	// contains filtered or unexported fields
}

func (ApiVideosVideoTagsGetRequest) Execute

func (ApiVideosVideoTagsGetRequest) Filter

Filter result

type ApiVideosVideoTagsPutRequest

type ApiVideosVideoTagsPutRequest struct {
	ApiService *TagAPIService
	// contains filtered or unexported fields
}

func (ApiVideosVideoTagsPutRequest) Body

tags

func (ApiVideosVideoTagsPutRequest) Execute

type ApiVideosVideoThumbnailGetRequest

type ApiVideosVideoThumbnailGetRequest struct {
	ApiService *ThumbnailAPIService
	// contains filtered or unexported fields
}

func (ApiVideosVideoThumbnailGetRequest) Execute

func (ApiVideosVideoThumbnailGetRequest) SecureExpireTime

func (r ApiVideosVideoThumbnailGetRequest) SecureExpireTime(secureExpireTime int32) ApiVideosVideoThumbnailGetRequest

The Unix Timestamp for expire secure links. * If channel is secure default is 24 hours later from now

func (ApiVideosVideoThumbnailGetRequest) SecureIp

The IP address for generate secure links for. If channel is secure default is request IP

type ApiVideosVideoThumbnailPostRequest

type ApiVideosVideoThumbnailPostRequest struct {
	ApiService *ThumbnailAPIService
	// contains filtered or unexported fields
}

func (ApiVideosVideoThumbnailPostRequest) Execute

func (ApiVideosVideoThumbnailPostRequest) Thumbnail

The png file.

func (ApiVideosVideoThumbnailPostRequest) ThumbnailTime

Specific video time

type ApiWatermarksWatermarkDeleteRequest

type ApiWatermarksWatermarkDeleteRequest struct {
	ApiService *WatermarkAPIService
	// contains filtered or unexported fields
}

func (ApiWatermarksWatermarkDeleteRequest) Execute

type ApiWatermarksWatermarkGetRequest

type ApiWatermarksWatermarkGetRequest struct {
	ApiService *WatermarkAPIService
	// contains filtered or unexported fields
}

func (ApiWatermarksWatermarkGetRequest) Execute

type ApiWatermarksWatermarkPatchRequest

type ApiWatermarksWatermarkPatchRequest struct {
	ApiService *WatermarkAPIService
	// contains filtered or unexported fields
}

func (ApiWatermarksWatermarkPatchRequest) Body

Watermark details

func (ApiWatermarksWatermarkPatchRequest) Execute

type AudioAPIService

type AudioAPIService service

AudioAPIService AudioAPI service

func (*AudioAPIService) AudiosAudioDelete

func (a *AudioAPIService) AudiosAudioDelete(ctx context.Context, audio string) ApiAudiosAudioDeleteRequest

AudiosAudioDelete Remove the specified audio.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param audio The Id of audio
@return ApiAudiosAudioDeleteRequest

func (*AudioAPIService) AudiosAudioDeleteExecute

func (a *AudioAPIService) AudiosAudioDeleteExecute(r ApiAudiosAudioDeleteRequest) (*http.Response, error)

Execute executes the request

func (*AudioAPIService) AudiosAudioGet

func (a *AudioAPIService) AudiosAudioGet(ctx context.Context, audio string) ApiAudiosAudioGetRequest

AudiosAudioGet Return the specified audio.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param audio The Id of audio
@return ApiAudiosAudioGetRequest

func (*AudioAPIService) AudiosAudioGetExecute

func (a *AudioAPIService) AudiosAudioGetExecute(r ApiAudiosAudioGetRequest) (*http.Response, error)

Execute executes the request

func (*AudioAPIService) AudiosAudioPatch

func (a *AudioAPIService) AudiosAudioPatch(ctx context.Context, audio string) ApiAudiosAudioPatchRequest

AudiosAudioPatch Update the specified audio.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param audio The Id of audio
@return ApiAudiosAudioPatchRequest

func (*AudioAPIService) AudiosAudioPatchExecute

func (a *AudioAPIService) AudiosAudioPatchExecute(r ApiAudiosAudioPatchRequest) (*http.Response, error)

Execute executes the request

func (*AudioAPIService) ChannelsChannelAudiosGet

func (a *AudioAPIService) ChannelsChannelAudiosGet(ctx context.Context, channel string) ApiChannelsChannelAudiosGetRequest

ChannelsChannelAudiosGet Return all channel's audios.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelAudiosGetRequest

func (*AudioAPIService) ChannelsChannelAudiosGetExecute

func (a *AudioAPIService) ChannelsChannelAudiosGetExecute(r ApiChannelsChannelAudiosGetRequest) (*http.Response, error)

Execute executes the request

func (*AudioAPIService) ChannelsChannelAudiosPost

func (a *AudioAPIService) ChannelsChannelAudiosPost(ctx context.Context, channel string) ApiChannelsChannelAudiosPostRequest

ChannelsChannelAudiosPost Store a newly created audio.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelAudiosPostRequest

func (*AudioAPIService) ChannelsChannelAudiosPostExecute

func (a *AudioAPIService) ChannelsChannelAudiosPostExecute(r ApiChannelsChannelAudiosPostRequest) (*http.Response, error)

Execute executes the request

type AudioTrackAPIService

type AudioTrackAPIService service

AudioTrackAPIService AudioTrackAPI service

func (*AudioTrackAPIService) AudioTracksAudioTrackDelete

func (a *AudioTrackAPIService) AudioTracksAudioTrackDelete(ctx context.Context, audioTrack string) ApiAudioTracksAudioTrackDeleteRequest

AudioTracksAudioTrackDelete Remove the specified audio track.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param audioTrack The Id of audio track
@return ApiAudioTracksAudioTrackDeleteRequest

func (*AudioTrackAPIService) AudioTracksAudioTrackDeleteExecute

func (a *AudioTrackAPIService) AudioTracksAudioTrackDeleteExecute(r ApiAudioTracksAudioTrackDeleteRequest) (*http.Response, error)

Execute executes the request

func (*AudioTrackAPIService) AudioTracksAudioTrackGet

func (a *AudioTrackAPIService) AudioTracksAudioTrackGet(ctx context.Context, audioTrack string) ApiAudioTracksAudioTrackGetRequest

AudioTracksAudioTrackGet Return the specified audio track.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param audioTrack The Id of audio track
@return ApiAudioTracksAudioTrackGetRequest

func (*AudioTrackAPIService) AudioTracksAudioTrackGetExecute

func (a *AudioTrackAPIService) AudioTracksAudioTrackGetExecute(r ApiAudioTracksAudioTrackGetRequest) (*http.Response, error)

Execute executes the request

func (*AudioTrackAPIService) VideosVideoAudioTracksGet

func (a *AudioTrackAPIService) VideosVideoAudioTracksGet(ctx context.Context, video string) ApiVideosVideoAudioTracksGetRequest

VideosVideoAudioTracksGet Display a listing of the Audio Tracks.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param video The Id of video
@return ApiVideosVideoAudioTracksGetRequest

func (*AudioTrackAPIService) VideosVideoAudioTracksGetExecute

func (a *AudioTrackAPIService) VideosVideoAudioTracksGetExecute(r ApiVideosVideoAudioTracksGetRequest) (*http.Response, error)

Execute executes the request

func (*AudioTrackAPIService) VideosVideoAudioTracksPost

func (a *AudioTrackAPIService) VideosVideoAudioTracksPost(ctx context.Context, video string) ApiVideosVideoAudioTracksPostRequest

VideosVideoAudioTracksPost Store a newly created audio track.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param video The Id of video
@return ApiVideosVideoAudioTracksPostRequest

func (*AudioTrackAPIService) VideosVideoAudioTracksPostExecute

func (a *AudioTrackAPIService) VideosVideoAudioTracksPostExecute(r ApiVideosVideoAudioTracksPostRequest) (*http.Response, error)

Execute executes the request

type AudiosAudioPatchRequest

type AudiosAudioPatchRequest struct {
	// Title of the audio
	Title *string `json:"title,omitempty"`
	// Description of the audio
	Description *string `json:"description,omitempty"`
}

AudiosAudioPatchRequest struct for AudiosAudioPatchRequest

func NewAudiosAudioPatchRequest

func NewAudiosAudioPatchRequest() *AudiosAudioPatchRequest

NewAudiosAudioPatchRequest instantiates a new AudiosAudioPatchRequest 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 NewAudiosAudioPatchRequestWithDefaults

func NewAudiosAudioPatchRequestWithDefaults() *AudiosAudioPatchRequest

NewAudiosAudioPatchRequestWithDefaults instantiates a new AudiosAudioPatchRequest 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 (*AudiosAudioPatchRequest) GetDescription

func (o *AudiosAudioPatchRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*AudiosAudioPatchRequest) GetDescriptionOk

func (o *AudiosAudioPatchRequest) 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 (*AudiosAudioPatchRequest) GetTitle

func (o *AudiosAudioPatchRequest) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*AudiosAudioPatchRequest) GetTitleOk

func (o *AudiosAudioPatchRequest) 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 (*AudiosAudioPatchRequest) HasDescription

func (o *AudiosAudioPatchRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AudiosAudioPatchRequest) HasTitle

func (o *AudiosAudioPatchRequest) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (AudiosAudioPatchRequest) MarshalJSON

func (o AudiosAudioPatchRequest) MarshalJSON() ([]byte, error)

func (*AudiosAudioPatchRequest) SetDescription

func (o *AudiosAudioPatchRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*AudiosAudioPatchRequest) SetTitle

func (o *AudiosAudioPatchRequest) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (AudiosAudioPatchRequest) ToMap

func (o AudiosAudioPatchRequest) ToMap() (map[string]interface{}, error)

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 ChannelAPIService

type ChannelAPIService service

ChannelAPIService ChannelAPI service

func (*ChannelAPIService) ChannelsChannelDelete

func (a *ChannelAPIService) ChannelsChannelDelete(ctx context.Context, channel string) ApiChannelsChannelDeleteRequest

ChannelsChannelDelete Remove the specified channel.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelDeleteRequest

func (*ChannelAPIService) ChannelsChannelDeleteExecute

func (a *ChannelAPIService) ChannelsChannelDeleteExecute(r ApiChannelsChannelDeleteRequest) (*http.Response, error)

Execute executes the request

func (*ChannelAPIService) ChannelsChannelGet

func (a *ChannelAPIService) ChannelsChannelGet(ctx context.Context, channel string) ApiChannelsChannelGetRequest

ChannelsChannelGet Return the specified channel.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelGetRequest

func (*ChannelAPIService) ChannelsChannelGetExecute

func (a *ChannelAPIService) ChannelsChannelGetExecute(r ApiChannelsChannelGetRequest) (*http.Response, error)

Execute executes the request

func (*ChannelAPIService) ChannelsChannelPatch

func (a *ChannelAPIService) ChannelsChannelPatch(ctx context.Context, channel string) ApiChannelsChannelPatchRequest

ChannelsChannelPatch Update the specified channel.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelPatchRequest

func (*ChannelAPIService) ChannelsChannelPatchExecute

func (a *ChannelAPIService) ChannelsChannelPatchExecute(r ApiChannelsChannelPatchRequest) (*http.Response, error)

Execute executes the request

func (*ChannelAPIService) ChannelsGet

ChannelsGet Return all user's channels.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiChannelsGetRequest

func (*ChannelAPIService) ChannelsGetExecute

func (a *ChannelAPIService) ChannelsGetExecute(r ApiChannelsGetRequest) (*http.Response, error)

Execute executes the request

func (*ChannelAPIService) ChannelsPost

ChannelsPost Store a newly channel.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiChannelsPostRequest

func (*ChannelAPIService) ChannelsPostExecute

func (a *ChannelAPIService) ChannelsPostExecute(r ApiChannelsPostRequest) (*http.Response, error)

Execute executes the request

type ChannelsChannelAudiosPostRequest

type ChannelsChannelAudiosPostRequest struct {
	// Title of the audio
	Title string `json:"title"`
	// Description of the audio
	Description *string `json:"description,omitempty"`
	// Public URL of audio
	AudioUrl *string `json:"audio_url,omitempty"`
	// ID of the audio file
	FileId *string `json:"file_id,omitempty"`
	// Convert mode
	ConvertMode string `json:"convert_mode"`
	// Set this convert parallel when any audio(s) is converting. Parallel limit is 3
	ParallelConvert *bool `json:"parallel_convert,omitempty"`
	// Array of convert details
	ConvertInfo []ChannelsChannelAudiosPostRequestConvertInfoInner `json:"convert_info,omitempty"`
}

ChannelsChannelAudiosPostRequest struct for ChannelsChannelAudiosPostRequest

func NewChannelsChannelAudiosPostRequest

func NewChannelsChannelAudiosPostRequest(title string, convertMode string) *ChannelsChannelAudiosPostRequest

NewChannelsChannelAudiosPostRequest instantiates a new ChannelsChannelAudiosPostRequest 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 NewChannelsChannelAudiosPostRequestWithDefaults

func NewChannelsChannelAudiosPostRequestWithDefaults() *ChannelsChannelAudiosPostRequest

NewChannelsChannelAudiosPostRequestWithDefaults instantiates a new ChannelsChannelAudiosPostRequest 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 (*ChannelsChannelAudiosPostRequest) GetAudioUrl

func (o *ChannelsChannelAudiosPostRequest) GetAudioUrl() string

GetAudioUrl returns the AudioUrl field value if set, zero value otherwise.

func (*ChannelsChannelAudiosPostRequest) GetAudioUrlOk

func (o *ChannelsChannelAudiosPostRequest) GetAudioUrlOk() (*string, bool)

GetAudioUrlOk returns a tuple with the AudioUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelAudiosPostRequest) GetConvertInfo

GetConvertInfo returns the ConvertInfo field value if set, zero value otherwise.

func (*ChannelsChannelAudiosPostRequest) GetConvertInfoOk

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 (*ChannelsChannelAudiosPostRequest) GetConvertMode

func (o *ChannelsChannelAudiosPostRequest) GetConvertMode() string

GetConvertMode returns the ConvertMode field value

func (*ChannelsChannelAudiosPostRequest) GetConvertModeOk

func (o *ChannelsChannelAudiosPostRequest) GetConvertModeOk() (*string, bool)

GetConvertModeOk returns a tuple with the ConvertMode field value and a boolean to check if the value has been set.

func (*ChannelsChannelAudiosPostRequest) GetDescription

func (o *ChannelsChannelAudiosPostRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ChannelsChannelAudiosPostRequest) GetDescriptionOk

func (o *ChannelsChannelAudiosPostRequest) 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 (*ChannelsChannelAudiosPostRequest) GetFileId

GetFileId returns the FileId field value if set, zero value otherwise.

func (*ChannelsChannelAudiosPostRequest) GetFileIdOk

func (o *ChannelsChannelAudiosPostRequest) GetFileIdOk() (*string, bool)

GetFileIdOk returns a tuple with the FileId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelAudiosPostRequest) GetParallelConvert

func (o *ChannelsChannelAudiosPostRequest) GetParallelConvert() bool

GetParallelConvert returns the ParallelConvert field value if set, zero value otherwise.

func (*ChannelsChannelAudiosPostRequest) GetParallelConvertOk

func (o *ChannelsChannelAudiosPostRequest) GetParallelConvertOk() (*bool, bool)

GetParallelConvertOk returns a tuple with the ParallelConvert field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelAudiosPostRequest) GetTitle

GetTitle returns the Title field value

func (*ChannelsChannelAudiosPostRequest) GetTitleOk

func (o *ChannelsChannelAudiosPostRequest) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*ChannelsChannelAudiosPostRequest) HasAudioUrl

func (o *ChannelsChannelAudiosPostRequest) HasAudioUrl() bool

HasAudioUrl returns a boolean if a field has been set.

func (*ChannelsChannelAudiosPostRequest) HasConvertInfo

func (o *ChannelsChannelAudiosPostRequest) HasConvertInfo() bool

HasConvertInfo returns a boolean if a field has been set.

func (*ChannelsChannelAudiosPostRequest) HasDescription

func (o *ChannelsChannelAudiosPostRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ChannelsChannelAudiosPostRequest) HasFileId

func (o *ChannelsChannelAudiosPostRequest) HasFileId() bool

HasFileId returns a boolean if a field has been set.

func (*ChannelsChannelAudiosPostRequest) HasParallelConvert

func (o *ChannelsChannelAudiosPostRequest) HasParallelConvert() bool

HasParallelConvert returns a boolean if a field has been set.

func (ChannelsChannelAudiosPostRequest) MarshalJSON

func (o ChannelsChannelAudiosPostRequest) MarshalJSON() ([]byte, error)

func (*ChannelsChannelAudiosPostRequest) SetAudioUrl

func (o *ChannelsChannelAudiosPostRequest) SetAudioUrl(v string)

SetAudioUrl gets a reference to the given string and assigns it to the AudioUrl field.

func (*ChannelsChannelAudiosPostRequest) SetConvertInfo

SetConvertInfo gets a reference to the given []ChannelsChannelAudiosPostRequestConvertInfoInner and assigns it to the ConvertInfo field.

func (*ChannelsChannelAudiosPostRequest) SetConvertMode

func (o *ChannelsChannelAudiosPostRequest) SetConvertMode(v string)

SetConvertMode sets field value

func (*ChannelsChannelAudiosPostRequest) SetDescription

func (o *ChannelsChannelAudiosPostRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ChannelsChannelAudiosPostRequest) SetFileId

func (o *ChannelsChannelAudiosPostRequest) SetFileId(v string)

SetFileId gets a reference to the given string and assigns it to the FileId field.

func (*ChannelsChannelAudiosPostRequest) SetParallelConvert

func (o *ChannelsChannelAudiosPostRequest) SetParallelConvert(v bool)

SetParallelConvert gets a reference to the given bool and assigns it to the ParallelConvert field.

func (*ChannelsChannelAudiosPostRequest) SetTitle

SetTitle sets field value

func (ChannelsChannelAudiosPostRequest) ToMap

func (o ChannelsChannelAudiosPostRequest) ToMap() (map[string]interface{}, error)

type ChannelsChannelAudiosPostRequestConvertInfoInner

type ChannelsChannelAudiosPostRequestConvertInfoInner struct {
	// Audio bitrate in kilobit
	AudioBitrate *int32 `json:"audio_bitrate,omitempty"`
}

ChannelsChannelAudiosPostRequestConvertInfoInner struct for ChannelsChannelAudiosPostRequestConvertInfoInner

func NewChannelsChannelAudiosPostRequestConvertInfoInner

func NewChannelsChannelAudiosPostRequestConvertInfoInner() *ChannelsChannelAudiosPostRequestConvertInfoInner

NewChannelsChannelAudiosPostRequestConvertInfoInner instantiates a new ChannelsChannelAudiosPostRequestConvertInfoInner 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 NewChannelsChannelAudiosPostRequestConvertInfoInnerWithDefaults

func NewChannelsChannelAudiosPostRequestConvertInfoInnerWithDefaults() *ChannelsChannelAudiosPostRequestConvertInfoInner

NewChannelsChannelAudiosPostRequestConvertInfoInnerWithDefaults instantiates a new ChannelsChannelAudiosPostRequestConvertInfoInner 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 (*ChannelsChannelAudiosPostRequestConvertInfoInner) GetAudioBitrate

GetAudioBitrate returns the AudioBitrate field value if set, zero value otherwise.

func (*ChannelsChannelAudiosPostRequestConvertInfoInner) GetAudioBitrateOk

func (o *ChannelsChannelAudiosPostRequestConvertInfoInner) 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 (*ChannelsChannelAudiosPostRequestConvertInfoInner) HasAudioBitrate

HasAudioBitrate returns a boolean if a field has been set.

func (ChannelsChannelAudiosPostRequestConvertInfoInner) MarshalJSON

func (*ChannelsChannelAudiosPostRequestConvertInfoInner) SetAudioBitrate

SetAudioBitrate gets a reference to the given int32 and assigns it to the AudioBitrate field.

func (ChannelsChannelAudiosPostRequestConvertInfoInner) ToMap

func (o ChannelsChannelAudiosPostRequestConvertInfoInner) ToMap() (map[string]interface{}, error)

type ChannelsChannelPatchRequest

type ChannelsChannelPatchRequest struct {
	// Title of channel
	Title *string `json:"title,omitempty"`
	// Description of channel
	Description *string `json:"description,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 for all videos in channel
	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"`
}

ChannelsChannelPatchRequest struct for ChannelsChannelPatchRequest

func NewChannelsChannelPatchRequest

func NewChannelsChannelPatchRequest() *ChannelsChannelPatchRequest

NewChannelsChannelPatchRequest instantiates a new ChannelsChannelPatchRequest 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 NewChannelsChannelPatchRequestWithDefaults

func NewChannelsChannelPatchRequestWithDefaults() *ChannelsChannelPatchRequest

NewChannelsChannelPatchRequestWithDefaults instantiates a new ChannelsChannelPatchRequest 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 (*ChannelsChannelPatchRequest) GetAdsEnabled

func (o *ChannelsChannelPatchRequest) GetAdsEnabled() bool

GetAdsEnabled returns the AdsEnabled field value if set, zero value otherwise.

func (*ChannelsChannelPatchRequest) GetAdsEnabledOk

func (o *ChannelsChannelPatchRequest) 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 (*ChannelsChannelPatchRequest) GetCampaignId

func (o *ChannelsChannelPatchRequest) GetCampaignId() string

GetCampaignId returns the CampaignId field value if set, zero value otherwise.

func (*ChannelsChannelPatchRequest) GetCampaignIdOk

func (o *ChannelsChannelPatchRequest) 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 (*ChannelsChannelPatchRequest) GetDescription

func (o *ChannelsChannelPatchRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ChannelsChannelPatchRequest) GetDescriptionOk

func (o *ChannelsChannelPatchRequest) 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 (*ChannelsChannelPatchRequest) GetPresentType

func (o *ChannelsChannelPatchRequest) GetPresentType() string

GetPresentType returns the PresentType field value if set, zero value otherwise.

func (*ChannelsChannelPatchRequest) GetPresentTypeOk

func (o *ChannelsChannelPatchRequest) 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 (*ChannelsChannelPatchRequest) GetSecureLinkEnabled

func (o *ChannelsChannelPatchRequest) GetSecureLinkEnabled() bool

GetSecureLinkEnabled returns the SecureLinkEnabled field value if set, zero value otherwise.

func (*ChannelsChannelPatchRequest) GetSecureLinkEnabledOk

func (o *ChannelsChannelPatchRequest) 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 (*ChannelsChannelPatchRequest) GetSecureLinkKey

func (o *ChannelsChannelPatchRequest) GetSecureLinkKey() string

GetSecureLinkKey returns the SecureLinkKey field value if set, zero value otherwise.

func (*ChannelsChannelPatchRequest) GetSecureLinkKeyOk

func (o *ChannelsChannelPatchRequest) 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 (*ChannelsChannelPatchRequest) GetSecureLinkWithIp

func (o *ChannelsChannelPatchRequest) GetSecureLinkWithIp() bool

GetSecureLinkWithIp returns the SecureLinkWithIp field value if set, zero value otherwise.

func (*ChannelsChannelPatchRequest) GetSecureLinkWithIpOk

func (o *ChannelsChannelPatchRequest) 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 (*ChannelsChannelPatchRequest) GetTitle

func (o *ChannelsChannelPatchRequest) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ChannelsChannelPatchRequest) GetTitleOk

func (o *ChannelsChannelPatchRequest) 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 (*ChannelsChannelPatchRequest) HasAdsEnabled

func (o *ChannelsChannelPatchRequest) HasAdsEnabled() bool

HasAdsEnabled returns a boolean if a field has been set.

func (*ChannelsChannelPatchRequest) HasCampaignId

func (o *ChannelsChannelPatchRequest) HasCampaignId() bool

HasCampaignId returns a boolean if a field has been set.

func (*ChannelsChannelPatchRequest) HasDescription

func (o *ChannelsChannelPatchRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ChannelsChannelPatchRequest) HasPresentType

func (o *ChannelsChannelPatchRequest) HasPresentType() bool

HasPresentType returns a boolean if a field has been set.

func (*ChannelsChannelPatchRequest) HasSecureLinkEnabled

func (o *ChannelsChannelPatchRequest) HasSecureLinkEnabled() bool

HasSecureLinkEnabled returns a boolean if a field has been set.

func (*ChannelsChannelPatchRequest) HasSecureLinkKey

func (o *ChannelsChannelPatchRequest) HasSecureLinkKey() bool

HasSecureLinkKey returns a boolean if a field has been set.

func (*ChannelsChannelPatchRequest) HasSecureLinkWithIp

func (o *ChannelsChannelPatchRequest) HasSecureLinkWithIp() bool

HasSecureLinkWithIp returns a boolean if a field has been set.

func (*ChannelsChannelPatchRequest) HasTitle

func (o *ChannelsChannelPatchRequest) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (ChannelsChannelPatchRequest) MarshalJSON

func (o ChannelsChannelPatchRequest) MarshalJSON() ([]byte, error)

func (*ChannelsChannelPatchRequest) SetAdsEnabled

func (o *ChannelsChannelPatchRequest) SetAdsEnabled(v bool)

SetAdsEnabled gets a reference to the given bool and assigns it to the AdsEnabled field.

func (*ChannelsChannelPatchRequest) SetCampaignId

func (o *ChannelsChannelPatchRequest) SetCampaignId(v string)

SetCampaignId gets a reference to the given string and assigns it to the CampaignId field.

func (*ChannelsChannelPatchRequest) SetDescription

func (o *ChannelsChannelPatchRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ChannelsChannelPatchRequest) SetPresentType

func (o *ChannelsChannelPatchRequest) SetPresentType(v string)

SetPresentType gets a reference to the given string and assigns it to the PresentType field.

func (*ChannelsChannelPatchRequest) SetSecureLinkEnabled

func (o *ChannelsChannelPatchRequest) SetSecureLinkEnabled(v bool)

SetSecureLinkEnabled gets a reference to the given bool and assigns it to the SecureLinkEnabled field.

func (*ChannelsChannelPatchRequest) SetSecureLinkKey

func (o *ChannelsChannelPatchRequest) SetSecureLinkKey(v string)

SetSecureLinkKey gets a reference to the given string and assigns it to the SecureLinkKey field.

func (*ChannelsChannelPatchRequest) SetSecureLinkWithIp

func (o *ChannelsChannelPatchRequest) SetSecureLinkWithIp(v bool)

SetSecureLinkWithIp gets a reference to the given bool and assigns it to the SecureLinkWithIp field.

func (*ChannelsChannelPatchRequest) SetTitle

func (o *ChannelsChannelPatchRequest) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (ChannelsChannelPatchRequest) ToMap

func (o ChannelsChannelPatchRequest) ToMap() (map[string]interface{}, error)

type ChannelsChannelProfilesPostRequest

type ChannelsChannelProfilesPostRequest struct {
	// Title of the profile
	Title string `json:"title"`
	// Description of the profile
	Description *string `json:"description,omitempty"`
	// Convert mode
	ConvertMode string `json:"convert_mode"`
	// Screenshot time for generate thumbnail for video in seconds
	ThumbnailTime *int32 `json:"thumbnail_time,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 []ChannelsChannelProfilesPostRequestConvertInfoInner `json:"convert_info,omitempty"`
	// Array of option details
	Options []ChannelsChannelProfilesPostRequestOptionsInner `json:"options,omitempty"`
}

ChannelsChannelProfilesPostRequest struct for ChannelsChannelProfilesPostRequest

func NewChannelsChannelProfilesPostRequest

func NewChannelsChannelProfilesPostRequest(title string, convertMode string) *ChannelsChannelProfilesPostRequest

NewChannelsChannelProfilesPostRequest instantiates a new ChannelsChannelProfilesPostRequest 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 NewChannelsChannelProfilesPostRequestWithDefaults

func NewChannelsChannelProfilesPostRequestWithDefaults() *ChannelsChannelProfilesPostRequest

NewChannelsChannelProfilesPostRequestWithDefaults instantiates a new ChannelsChannelProfilesPostRequest 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 (*ChannelsChannelProfilesPostRequest) GetConvertInfo

GetConvertInfo returns the ConvertInfo field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequest) GetConvertInfoOk

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 (*ChannelsChannelProfilesPostRequest) GetConvertMode

func (o *ChannelsChannelProfilesPostRequest) GetConvertMode() string

GetConvertMode returns the ConvertMode field value

func (*ChannelsChannelProfilesPostRequest) GetConvertModeOk

func (o *ChannelsChannelProfilesPostRequest) GetConvertModeOk() (*string, bool)

GetConvertModeOk returns a tuple with the ConvertMode field value and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequest) GetDescription

func (o *ChannelsChannelProfilesPostRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequest) GetDescriptionOk

func (o *ChannelsChannelProfilesPostRequest) 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 (*ChannelsChannelProfilesPostRequest) GetOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequest) GetOptionsOk

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequest) GetThumbnailTime

func (o *ChannelsChannelProfilesPostRequest) GetThumbnailTime() int32

GetThumbnailTime returns the ThumbnailTime field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequest) GetThumbnailTimeOk

func (o *ChannelsChannelProfilesPostRequest) GetThumbnailTimeOk() (*int32, bool)

GetThumbnailTimeOk returns a tuple with the ThumbnailTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequest) GetTitle

GetTitle returns the Title field value

func (*ChannelsChannelProfilesPostRequest) GetTitleOk

func (o *ChannelsChannelProfilesPostRequest) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequest) GetWatermarkArea

func (o *ChannelsChannelProfilesPostRequest) GetWatermarkArea() string

GetWatermarkArea returns the WatermarkArea field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequest) GetWatermarkAreaOk

func (o *ChannelsChannelProfilesPostRequest) 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 (*ChannelsChannelProfilesPostRequest) GetWatermarkId

func (o *ChannelsChannelProfilesPostRequest) GetWatermarkId() string

GetWatermarkId returns the WatermarkId field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequest) GetWatermarkIdOk

func (o *ChannelsChannelProfilesPostRequest) 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 (*ChannelsChannelProfilesPostRequest) HasConvertInfo

func (o *ChannelsChannelProfilesPostRequest) HasConvertInfo() bool

HasConvertInfo returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequest) HasDescription

func (o *ChannelsChannelProfilesPostRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequest) HasOptions

func (o *ChannelsChannelProfilesPostRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequest) HasThumbnailTime

func (o *ChannelsChannelProfilesPostRequest) HasThumbnailTime() bool

HasThumbnailTime returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequest) HasWatermarkArea

func (o *ChannelsChannelProfilesPostRequest) HasWatermarkArea() bool

HasWatermarkArea returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequest) HasWatermarkId

func (o *ChannelsChannelProfilesPostRequest) HasWatermarkId() bool

HasWatermarkId returns a boolean if a field has been set.

func (ChannelsChannelProfilesPostRequest) MarshalJSON

func (o ChannelsChannelProfilesPostRequest) MarshalJSON() ([]byte, error)

func (*ChannelsChannelProfilesPostRequest) SetConvertInfo

SetConvertInfo gets a reference to the given []ChannelsChannelProfilesPostRequestConvertInfoInner and assigns it to the ConvertInfo field.

func (*ChannelsChannelProfilesPostRequest) SetConvertMode

func (o *ChannelsChannelProfilesPostRequest) SetConvertMode(v string)

SetConvertMode sets field value

func (*ChannelsChannelProfilesPostRequest) SetDescription

func (o *ChannelsChannelProfilesPostRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ChannelsChannelProfilesPostRequest) SetOptions

SetOptions gets a reference to the given []ChannelsChannelProfilesPostRequestOptionsInner and assigns it to the Options field.

func (*ChannelsChannelProfilesPostRequest) SetThumbnailTime

func (o *ChannelsChannelProfilesPostRequest) SetThumbnailTime(v int32)

SetThumbnailTime gets a reference to the given int32 and assigns it to the ThumbnailTime field.

func (*ChannelsChannelProfilesPostRequest) SetTitle

SetTitle sets field value

func (*ChannelsChannelProfilesPostRequest) SetWatermarkArea

func (o *ChannelsChannelProfilesPostRequest) SetWatermarkArea(v string)

SetWatermarkArea gets a reference to the given string and assigns it to the WatermarkArea field.

func (*ChannelsChannelProfilesPostRequest) SetWatermarkId

func (o *ChannelsChannelProfilesPostRequest) SetWatermarkId(v string)

SetWatermarkId gets a reference to the given string and assigns it to the WatermarkId field.

func (ChannelsChannelProfilesPostRequest) ToMap

func (o ChannelsChannelProfilesPostRequest) ToMap() (map[string]interface{}, error)

type ChannelsChannelProfilesPostRequestConvertInfoInner

type ChannelsChannelProfilesPostRequestConvertInfoInner struct {
	// Audio bitrate in kilobit
	AudioBitrate *int32 `json:"audio_bitrate,omitempty"`
	// Video bitrate in kilobit
	VideoBitrate *int32 `json:"video_bitrate,omitempty"`
	// resolution
	Resolution *string `json:"resolution,omitempty"`
}

ChannelsChannelProfilesPostRequestConvertInfoInner struct for ChannelsChannelProfilesPostRequestConvertInfoInner

func NewChannelsChannelProfilesPostRequestConvertInfoInner

func NewChannelsChannelProfilesPostRequestConvertInfoInner() *ChannelsChannelProfilesPostRequestConvertInfoInner

NewChannelsChannelProfilesPostRequestConvertInfoInner instantiates a new ChannelsChannelProfilesPostRequestConvertInfoInner 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 NewChannelsChannelProfilesPostRequestConvertInfoInnerWithDefaults

func NewChannelsChannelProfilesPostRequestConvertInfoInnerWithDefaults() *ChannelsChannelProfilesPostRequestConvertInfoInner

NewChannelsChannelProfilesPostRequestConvertInfoInnerWithDefaults instantiates a new ChannelsChannelProfilesPostRequestConvertInfoInner 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 (*ChannelsChannelProfilesPostRequestConvertInfoInner) GetAudioBitrate

GetAudioBitrate returns the AudioBitrate field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequestConvertInfoInner) GetAudioBitrateOk

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 (*ChannelsChannelProfilesPostRequestConvertInfoInner) GetResolution

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequestConvertInfoInner) GetResolutionOk

GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequestConvertInfoInner) GetVideoBitrate

GetVideoBitrate returns the VideoBitrate field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequestConvertInfoInner) GetVideoBitrateOk

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 (*ChannelsChannelProfilesPostRequestConvertInfoInner) HasAudioBitrate

HasAudioBitrate returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequestConvertInfoInner) HasResolution

HasResolution returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequestConvertInfoInner) HasVideoBitrate

HasVideoBitrate returns a boolean if a field has been set.

func (ChannelsChannelProfilesPostRequestConvertInfoInner) MarshalJSON

func (*ChannelsChannelProfilesPostRequestConvertInfoInner) SetAudioBitrate

SetAudioBitrate gets a reference to the given int32 and assigns it to the AudioBitrate field.

func (*ChannelsChannelProfilesPostRequestConvertInfoInner) SetResolution

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*ChannelsChannelProfilesPostRequestConvertInfoInner) SetVideoBitrate

SetVideoBitrate gets a reference to the given int32 and assigns it to the VideoBitrate field.

func (ChannelsChannelProfilesPostRequestConvertInfoInner) ToMap

type ChannelsChannelProfilesPostRequestOptionsInner

type ChannelsChannelProfilesPostRequestOptionsInner struct {
	// minimum: 0 maximum: 16, Sets the amount of b frames.
	Bframe *int32 `json:"bframe,omitempty"`
	// If three-pass encoding is used and a level is set for the encoder,      *                          the bitrate for some segments may exceed the bitrate limit which is      *                          defined by the level.      *                          Accepted values: 1,2,3,4,5,1.1,1.2,1.3,2.1,2.2,3.1,3.2,4.1,4.2,5.1,5.2
	Level *string `json:"level,omitempty"`
	// Enable or disable CABAC and it should be boolean
	Cabac *bool `json:"cabac,omitempty"`
	// Sets the constant rate factor for quality-based variable bitrate.      *                          Either bitrate or crf is required.      *                          Minimum value should be 0 and the maximum would be 51
	Crf *int32 `json:"crf,omitempty"`
	// Minimum GOP length, the minimum distance between I-frames.      *                          Minimum value should be 1 and the maximum would be 6
	MinGop *int32 `json:"minGop,omitempty"`
	// Minimum interval in seconds between key frames.      *                          Minimum value should be 1 and the maximum would be 6
	MinKeyframeInterval *int32 `json:"minKeyframeInterval,omitempty"`
	// bitrate_tolerance
	BitrateTolerance *string `json:"bitrate_tolerance,omitempty"`
	// Minimum value should be 1 and the maximum would be 60
	Fps *int32 `json:"fps,omitempty"`
	// When setting a profile, all other settings must not exceed the limits      *                          which are defined in the profile. Otherwise, a higher profile may      *                          be automatically chosen.
	Profile *string `json:"profile,omitempty"`
}

ChannelsChannelProfilesPostRequestOptionsInner struct for ChannelsChannelProfilesPostRequestOptionsInner

func NewChannelsChannelProfilesPostRequestOptionsInner

func NewChannelsChannelProfilesPostRequestOptionsInner() *ChannelsChannelProfilesPostRequestOptionsInner

NewChannelsChannelProfilesPostRequestOptionsInner instantiates a new ChannelsChannelProfilesPostRequestOptionsInner 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 NewChannelsChannelProfilesPostRequestOptionsInnerWithDefaults

func NewChannelsChannelProfilesPostRequestOptionsInnerWithDefaults() *ChannelsChannelProfilesPostRequestOptionsInner

NewChannelsChannelProfilesPostRequestOptionsInnerWithDefaults instantiates a new ChannelsChannelProfilesPostRequestOptionsInner 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 (*ChannelsChannelProfilesPostRequestOptionsInner) GetBframe

GetBframe returns the Bframe field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetBframeOk

GetBframeOk returns a tuple with the Bframe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetBitrateTolerance

func (o *ChannelsChannelProfilesPostRequestOptionsInner) GetBitrateTolerance() string

GetBitrateTolerance returns the BitrateTolerance field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetBitrateToleranceOk

func (o *ChannelsChannelProfilesPostRequestOptionsInner) GetBitrateToleranceOk() (*string, bool)

GetBitrateToleranceOk returns a tuple with the BitrateTolerance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetCabac

GetCabac returns the Cabac field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetCabacOk

GetCabacOk returns a tuple with the Cabac field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetCrf

GetCrf returns the Crf field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetCrfOk

GetCrfOk returns a tuple with the Crf field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetFps

GetFps returns the Fps field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetFpsOk

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 (*ChannelsChannelProfilesPostRequestOptionsInner) GetLevel

GetLevel returns the Level field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetLevelOk

GetLevelOk returns a tuple with the Level field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetMinGop

GetMinGop returns the MinGop field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetMinGopOk

GetMinGopOk returns a tuple with the MinGop field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetMinKeyframeInterval

func (o *ChannelsChannelProfilesPostRequestOptionsInner) GetMinKeyframeInterval() int32

GetMinKeyframeInterval returns the MinKeyframeInterval field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetMinKeyframeIntervalOk

func (o *ChannelsChannelProfilesPostRequestOptionsInner) GetMinKeyframeIntervalOk() (*int32, bool)

GetMinKeyframeIntervalOk returns a tuple with the MinKeyframeInterval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetProfile

GetProfile returns the Profile field value if set, zero value otherwise.

func (*ChannelsChannelProfilesPostRequestOptionsInner) GetProfileOk

GetProfileOk returns a tuple with the Profile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) HasBframe

HasBframe returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) HasBitrateTolerance

func (o *ChannelsChannelProfilesPostRequestOptionsInner) HasBitrateTolerance() bool

HasBitrateTolerance returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) HasCabac

HasCabac returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) HasCrf

HasCrf returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) HasFps

HasFps returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) HasLevel

HasLevel returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) HasMinGop

HasMinGop returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) HasMinKeyframeInterval

func (o *ChannelsChannelProfilesPostRequestOptionsInner) HasMinKeyframeInterval() bool

HasMinKeyframeInterval returns a boolean if a field has been set.

func (*ChannelsChannelProfilesPostRequestOptionsInner) HasProfile

HasProfile returns a boolean if a field has been set.

func (ChannelsChannelProfilesPostRequestOptionsInner) MarshalJSON

func (*ChannelsChannelProfilesPostRequestOptionsInner) SetBframe

SetBframe gets a reference to the given int32 and assigns it to the Bframe field.

func (*ChannelsChannelProfilesPostRequestOptionsInner) SetBitrateTolerance

func (o *ChannelsChannelProfilesPostRequestOptionsInner) SetBitrateTolerance(v string)

SetBitrateTolerance gets a reference to the given string and assigns it to the BitrateTolerance field.

func (*ChannelsChannelProfilesPostRequestOptionsInner) SetCabac

SetCabac gets a reference to the given bool and assigns it to the Cabac field.

func (*ChannelsChannelProfilesPostRequestOptionsInner) SetCrf

SetCrf gets a reference to the given int32 and assigns it to the Crf field.

func (*ChannelsChannelProfilesPostRequestOptionsInner) SetFps

SetFps gets a reference to the given int32 and assigns it to the Fps field.

func (*ChannelsChannelProfilesPostRequestOptionsInner) SetLevel

SetLevel gets a reference to the given string and assigns it to the Level field.

func (*ChannelsChannelProfilesPostRequestOptionsInner) SetMinGop

SetMinGop gets a reference to the given int32 and assigns it to the MinGop field.

func (*ChannelsChannelProfilesPostRequestOptionsInner) SetMinKeyframeInterval

func (o *ChannelsChannelProfilesPostRequestOptionsInner) SetMinKeyframeInterval(v int32)

SetMinKeyframeInterval gets a reference to the given int32 and assigns it to the MinKeyframeInterval field.

func (*ChannelsChannelProfilesPostRequestOptionsInner) SetProfile

SetProfile gets a reference to the given string and assigns it to the Profile field.

func (ChannelsChannelProfilesPostRequestOptionsInner) ToMap

func (o ChannelsChannelProfilesPostRequestOptionsInner) ToMap() (map[string]interface{}, error)

type ChannelsChannelVideosPostRequest

type ChannelsChannelVideosPostRequest struct {
	// Title of the video
	Title string `json:"title"`
	// Description of the video
	Description *string `json:"description,omitempty"`
	// Public URL of video
	VideoUrl *string `json:"video_url,omitempty"`
	// ID of the video file
	FileId *string `json:"file_id,omitempty"`
	// Convert mode
	ConvertMode string `json:"convert_mode"`
	// The profile ID that video convert with it (priority is with video properties)
	ProfileId *string `json:"profile_id,omitempty"`
	// Set this convert parallel when any video(s) is converting. Parallel limit is 3
	ParallelConvert *bool `json:"parallel_convert,omitempty"`
	// Screenshot time for generate thumbnail for video in seconds
	ThumbnailTime *int32 `json:"thumbnail_time,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 []ChannelsChannelProfilesPostRequestConvertInfoInner `json:"convert_info,omitempty"`
	// Array of option details
	Options []ChannelsChannelProfilesPostRequestOptionsInner `json:"options,omitempty"`
}

ChannelsChannelVideosPostRequest struct for ChannelsChannelVideosPostRequest

func NewChannelsChannelVideosPostRequest

func NewChannelsChannelVideosPostRequest(title string, convertMode string) *ChannelsChannelVideosPostRequest

NewChannelsChannelVideosPostRequest instantiates a new ChannelsChannelVideosPostRequest 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 NewChannelsChannelVideosPostRequestWithDefaults

func NewChannelsChannelVideosPostRequestWithDefaults() *ChannelsChannelVideosPostRequest

NewChannelsChannelVideosPostRequestWithDefaults instantiates a new ChannelsChannelVideosPostRequest 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 (*ChannelsChannelVideosPostRequest) GetConvertInfo

GetConvertInfo returns the ConvertInfo field value if set, zero value otherwise.

func (*ChannelsChannelVideosPostRequest) GetConvertInfoOk

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 (*ChannelsChannelVideosPostRequest) GetConvertMode

func (o *ChannelsChannelVideosPostRequest) GetConvertMode() string

GetConvertMode returns the ConvertMode field value

func (*ChannelsChannelVideosPostRequest) GetConvertModeOk

func (o *ChannelsChannelVideosPostRequest) GetConvertModeOk() (*string, bool)

GetConvertModeOk returns a tuple with the ConvertMode field value and a boolean to check if the value has been set.

func (*ChannelsChannelVideosPostRequest) GetDescription

func (o *ChannelsChannelVideosPostRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ChannelsChannelVideosPostRequest) GetDescriptionOk

func (o *ChannelsChannelVideosPostRequest) 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 (*ChannelsChannelVideosPostRequest) GetFileId

GetFileId returns the FileId field value if set, zero value otherwise.

func (*ChannelsChannelVideosPostRequest) GetFileIdOk

func (o *ChannelsChannelVideosPostRequest) GetFileIdOk() (*string, bool)

GetFileIdOk returns a tuple with the FileId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelVideosPostRequest) GetOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*ChannelsChannelVideosPostRequest) GetOptionsOk

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelVideosPostRequest) GetParallelConvert

func (o *ChannelsChannelVideosPostRequest) GetParallelConvert() bool

GetParallelConvert returns the ParallelConvert field value if set, zero value otherwise.

func (*ChannelsChannelVideosPostRequest) GetParallelConvertOk

func (o *ChannelsChannelVideosPostRequest) GetParallelConvertOk() (*bool, bool)

GetParallelConvertOk returns a tuple with the ParallelConvert field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelVideosPostRequest) GetProfileId

func (o *ChannelsChannelVideosPostRequest) GetProfileId() string

GetProfileId returns the ProfileId field value if set, zero value otherwise.

func (*ChannelsChannelVideosPostRequest) GetProfileIdOk

func (o *ChannelsChannelVideosPostRequest) GetProfileIdOk() (*string, bool)

GetProfileIdOk returns a tuple with the ProfileId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelVideosPostRequest) GetThumbnailTime

func (o *ChannelsChannelVideosPostRequest) GetThumbnailTime() int32

GetThumbnailTime returns the ThumbnailTime field value if set, zero value otherwise.

func (*ChannelsChannelVideosPostRequest) GetThumbnailTimeOk

func (o *ChannelsChannelVideosPostRequest) GetThumbnailTimeOk() (*int32, bool)

GetThumbnailTimeOk returns a tuple with the ThumbnailTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelVideosPostRequest) GetTitle

GetTitle returns the Title field value

func (*ChannelsChannelVideosPostRequest) GetTitleOk

func (o *ChannelsChannelVideosPostRequest) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*ChannelsChannelVideosPostRequest) GetVideoUrl

func (o *ChannelsChannelVideosPostRequest) GetVideoUrl() string

GetVideoUrl returns the VideoUrl field value if set, zero value otherwise.

func (*ChannelsChannelVideosPostRequest) GetVideoUrlOk

func (o *ChannelsChannelVideosPostRequest) GetVideoUrlOk() (*string, bool)

GetVideoUrlOk returns a tuple with the VideoUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsChannelVideosPostRequest) GetWatermarkArea

func (o *ChannelsChannelVideosPostRequest) GetWatermarkArea() string

GetWatermarkArea returns the WatermarkArea field value if set, zero value otherwise.

func (*ChannelsChannelVideosPostRequest) GetWatermarkAreaOk

func (o *ChannelsChannelVideosPostRequest) 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 (*ChannelsChannelVideosPostRequest) GetWatermarkId

func (o *ChannelsChannelVideosPostRequest) GetWatermarkId() string

GetWatermarkId returns the WatermarkId field value if set, zero value otherwise.

func (*ChannelsChannelVideosPostRequest) GetWatermarkIdOk

func (o *ChannelsChannelVideosPostRequest) 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 (*ChannelsChannelVideosPostRequest) HasConvertInfo

func (o *ChannelsChannelVideosPostRequest) HasConvertInfo() bool

HasConvertInfo returns a boolean if a field has been set.

func (*ChannelsChannelVideosPostRequest) HasDescription

func (o *ChannelsChannelVideosPostRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ChannelsChannelVideosPostRequest) HasFileId

func (o *ChannelsChannelVideosPostRequest) HasFileId() bool

HasFileId returns a boolean if a field has been set.

func (*ChannelsChannelVideosPostRequest) HasOptions

func (o *ChannelsChannelVideosPostRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*ChannelsChannelVideosPostRequest) HasParallelConvert

func (o *ChannelsChannelVideosPostRequest) HasParallelConvert() bool

HasParallelConvert returns a boolean if a field has been set.

func (*ChannelsChannelVideosPostRequest) HasProfileId

func (o *ChannelsChannelVideosPostRequest) HasProfileId() bool

HasProfileId returns a boolean if a field has been set.

func (*ChannelsChannelVideosPostRequest) HasThumbnailTime

func (o *ChannelsChannelVideosPostRequest) HasThumbnailTime() bool

HasThumbnailTime returns a boolean if a field has been set.

func (*ChannelsChannelVideosPostRequest) HasVideoUrl

func (o *ChannelsChannelVideosPostRequest) HasVideoUrl() bool

HasVideoUrl returns a boolean if a field has been set.

func (*ChannelsChannelVideosPostRequest) HasWatermarkArea

func (o *ChannelsChannelVideosPostRequest) HasWatermarkArea() bool

HasWatermarkArea returns a boolean if a field has been set.

func (*ChannelsChannelVideosPostRequest) HasWatermarkId

func (o *ChannelsChannelVideosPostRequest) HasWatermarkId() bool

HasWatermarkId returns a boolean if a field has been set.

func (ChannelsChannelVideosPostRequest) MarshalJSON

func (o ChannelsChannelVideosPostRequest) MarshalJSON() ([]byte, error)

func (*ChannelsChannelVideosPostRequest) SetConvertInfo

SetConvertInfo gets a reference to the given []ChannelsChannelProfilesPostRequestConvertInfoInner and assigns it to the ConvertInfo field.

func (*ChannelsChannelVideosPostRequest) SetConvertMode

func (o *ChannelsChannelVideosPostRequest) SetConvertMode(v string)

SetConvertMode sets field value

func (*ChannelsChannelVideosPostRequest) SetDescription

func (o *ChannelsChannelVideosPostRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ChannelsChannelVideosPostRequest) SetFileId

func (o *ChannelsChannelVideosPostRequest) SetFileId(v string)

SetFileId gets a reference to the given string and assigns it to the FileId field.

func (*ChannelsChannelVideosPostRequest) SetOptions

SetOptions gets a reference to the given []ChannelsChannelProfilesPostRequestOptionsInner and assigns it to the Options field.

func (*ChannelsChannelVideosPostRequest) SetParallelConvert

func (o *ChannelsChannelVideosPostRequest) SetParallelConvert(v bool)

SetParallelConvert gets a reference to the given bool and assigns it to the ParallelConvert field.

func (*ChannelsChannelVideosPostRequest) SetProfileId

func (o *ChannelsChannelVideosPostRequest) SetProfileId(v string)

SetProfileId gets a reference to the given string and assigns it to the ProfileId field.

func (*ChannelsChannelVideosPostRequest) SetThumbnailTime

func (o *ChannelsChannelVideosPostRequest) SetThumbnailTime(v int32)

SetThumbnailTime gets a reference to the given int32 and assigns it to the ThumbnailTime field.

func (*ChannelsChannelVideosPostRequest) SetTitle

SetTitle sets field value

func (*ChannelsChannelVideosPostRequest) SetVideoUrl

func (o *ChannelsChannelVideosPostRequest) SetVideoUrl(v string)

SetVideoUrl gets a reference to the given string and assigns it to the VideoUrl field.

func (*ChannelsChannelVideosPostRequest) SetWatermarkArea

func (o *ChannelsChannelVideosPostRequest) SetWatermarkArea(v string)

SetWatermarkArea gets a reference to the given string and assigns it to the WatermarkArea field.

func (*ChannelsChannelVideosPostRequest) SetWatermarkId

func (o *ChannelsChannelVideosPostRequest) SetWatermarkId(v string)

SetWatermarkId gets a reference to the given string and assigns it to the WatermarkId field.

func (ChannelsChannelVideosPostRequest) ToMap

func (o ChannelsChannelVideosPostRequest) ToMap() (map[string]interface{}, error)

type ChannelsPostRequest

type ChannelsPostRequest struct {
	// Title of channel
	Title string `json:"title"`
	// Description of channel
	Description *string `json:"description,omitempty"`
	// 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 all videos in channel
	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"`
}

ChannelsPostRequest struct for ChannelsPostRequest

func NewChannelsPostRequest

func NewChannelsPostRequest(title string) *ChannelsPostRequest

NewChannelsPostRequest instantiates a new ChannelsPostRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewChannelsPostRequestWithDefaults

func NewChannelsPostRequestWithDefaults() *ChannelsPostRequest

NewChannelsPostRequestWithDefaults instantiates a new ChannelsPostRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ChannelsPostRequest) GetAdsEnabled

func (o *ChannelsPostRequest) GetAdsEnabled() bool

GetAdsEnabled returns the AdsEnabled field value if set, zero value otherwise.

func (*ChannelsPostRequest) GetAdsEnabledOk

func (o *ChannelsPostRequest) 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 (*ChannelsPostRequest) GetCampaignId

func (o *ChannelsPostRequest) GetCampaignId() string

GetCampaignId returns the CampaignId field value if set, zero value otherwise.

func (*ChannelsPostRequest) GetCampaignIdOk

func (o *ChannelsPostRequest) 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 (*ChannelsPostRequest) GetDescription

func (o *ChannelsPostRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ChannelsPostRequest) GetDescriptionOk

func (o *ChannelsPostRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChannelsPostRequest) GetPresentType

func (o *ChannelsPostRequest) GetPresentType() string

GetPresentType returns the PresentType field value if set, zero value otherwise.

func (*ChannelsPostRequest) GetPresentTypeOk

func (o *ChannelsPostRequest) 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 (*ChannelsPostRequest) GetSecureLinkEnabled

func (o *ChannelsPostRequest) GetSecureLinkEnabled() bool

GetSecureLinkEnabled returns the SecureLinkEnabled field value if set, zero value otherwise.

func (*ChannelsPostRequest) GetSecureLinkEnabledOk

func (o *ChannelsPostRequest) 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 (*ChannelsPostRequest) GetSecureLinkKey

func (o *ChannelsPostRequest) GetSecureLinkKey() string

GetSecureLinkKey returns the SecureLinkKey field value if set, zero value otherwise.

func (*ChannelsPostRequest) GetSecureLinkKeyOk

func (o *ChannelsPostRequest) 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 (*ChannelsPostRequest) GetSecureLinkWithIp

func (o *ChannelsPostRequest) GetSecureLinkWithIp() bool

GetSecureLinkWithIp returns the SecureLinkWithIp field value if set, zero value otherwise.

func (*ChannelsPostRequest) GetSecureLinkWithIpOk

func (o *ChannelsPostRequest) 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 (*ChannelsPostRequest) GetTitle

func (o *ChannelsPostRequest) GetTitle() string

GetTitle returns the Title field value

func (*ChannelsPostRequest) GetTitleOk

func (o *ChannelsPostRequest) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*ChannelsPostRequest) HasAdsEnabled

func (o *ChannelsPostRequest) HasAdsEnabled() bool

HasAdsEnabled returns a boolean if a field has been set.

func (*ChannelsPostRequest) HasCampaignId

func (o *ChannelsPostRequest) HasCampaignId() bool

HasCampaignId returns a boolean if a field has been set.

func (*ChannelsPostRequest) HasDescription

func (o *ChannelsPostRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ChannelsPostRequest) HasPresentType

func (o *ChannelsPostRequest) HasPresentType() bool

HasPresentType returns a boolean if a field has been set.

func (*ChannelsPostRequest) HasSecureLinkEnabled

func (o *ChannelsPostRequest) HasSecureLinkEnabled() bool

HasSecureLinkEnabled returns a boolean if a field has been set.

func (*ChannelsPostRequest) HasSecureLinkKey

func (o *ChannelsPostRequest) HasSecureLinkKey() bool

HasSecureLinkKey returns a boolean if a field has been set.

func (*ChannelsPostRequest) HasSecureLinkWithIp

func (o *ChannelsPostRequest) HasSecureLinkWithIp() bool

HasSecureLinkWithIp returns a boolean if a field has been set.

func (ChannelsPostRequest) MarshalJSON

func (o ChannelsPostRequest) MarshalJSON() ([]byte, error)

func (*ChannelsPostRequest) SetAdsEnabled

func (o *ChannelsPostRequest) SetAdsEnabled(v bool)

SetAdsEnabled gets a reference to the given bool and assigns it to the AdsEnabled field.

func (*ChannelsPostRequest) SetCampaignId

func (o *ChannelsPostRequest) SetCampaignId(v string)

SetCampaignId gets a reference to the given string and assigns it to the CampaignId field.

func (*ChannelsPostRequest) SetDescription

func (o *ChannelsPostRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ChannelsPostRequest) SetPresentType

func (o *ChannelsPostRequest) SetPresentType(v string)

SetPresentType gets a reference to the given string and assigns it to the PresentType field.

func (*ChannelsPostRequest) SetSecureLinkEnabled

func (o *ChannelsPostRequest) SetSecureLinkEnabled(v bool)

SetSecureLinkEnabled gets a reference to the given bool and assigns it to the SecureLinkEnabled field.

func (*ChannelsPostRequest) SetSecureLinkKey

func (o *ChannelsPostRequest) SetSecureLinkKey(v string)

SetSecureLinkKey gets a reference to the given string and assigns it to the SecureLinkKey field.

func (*ChannelsPostRequest) SetSecureLinkWithIp

func (o *ChannelsPostRequest) SetSecureLinkWithIp(v bool)

SetSecureLinkWithIp gets a reference to the given bool and assigns it to the SecureLinkWithIp field.

func (*ChannelsPostRequest) SetTitle

func (o *ChannelsPostRequest) SetTitle(v string)

SetTitle sets field value

func (ChannelsPostRequest) ToMap

func (o ChannelsPostRequest) ToMap() (map[string]interface{}, error)

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type DomainAPIService

type DomainAPIService service

DomainAPIService DomainAPI service

func (*DomainAPIService) DomainGet

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

DomainPost Set subdomain for VOD 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 FileAPIService

type FileAPIService service

FileAPIService FileAPI service

func (*FileAPIService) ChannelsChannelFilesFileHead

func (a *FileAPIService) ChannelsChannelFilesFileHead(ctx context.Context, channel string, file string) ApiChannelsChannelFilesFileHeadRequest

ChannelsChannelFilesFileHead Get upload offset. See https://tus.io/ for more detail.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@param file The Id of file
@return ApiChannelsChannelFilesFileHeadRequest

func (*FileAPIService) ChannelsChannelFilesFileHeadExecute

func (a *FileAPIService) ChannelsChannelFilesFileHeadExecute(r ApiChannelsChannelFilesFileHeadRequest) (*http.Response, error)

Execute executes the request

func (*FileAPIService) ChannelsChannelFilesFilePatch

func (a *FileAPIService) ChannelsChannelFilesFilePatch(ctx context.Context, channel string, file string) ApiChannelsChannelFilesFilePatchRequest

ChannelsChannelFilesFilePatch Upload and apply bytes to a file. See https://tus.io/ for more detail.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@param file The Id of file
@return ApiChannelsChannelFilesFilePatchRequest

func (*FileAPIService) ChannelsChannelFilesFilePatchExecute

func (a *FileAPIService) ChannelsChannelFilesFilePatchExecute(r ApiChannelsChannelFilesFilePatchRequest) (*http.Response, error)

Execute executes the request

func (*FileAPIService) ChannelsChannelFilesGet

func (a *FileAPIService) ChannelsChannelFilesGet(ctx context.Context, channel string) ApiChannelsChannelFilesGetRequest

ChannelsChannelFilesGet Return all draft files of channel.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelFilesGetRequest

func (*FileAPIService) ChannelsChannelFilesGetExecute

func (a *FileAPIService) ChannelsChannelFilesGetExecute(r ApiChannelsChannelFilesGetRequest) (*http.Response, error)

Execute executes the request

func (*FileAPIService) ChannelsChannelFilesPost

func (a *FileAPIService) ChannelsChannelFilesPost(ctx context.Context, channel string) ApiChannelsChannelFilesPostRequest

ChannelsChannelFilesPost Request a new upload file. See https://tus.io/ for more detail.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelFilesPostRequest

func (*FileAPIService) ChannelsChannelFilesPostExecute

func (a *FileAPIService) ChannelsChannelFilesPostExecute(r ApiChannelsChannelFilesPostRequest) (*http.Response, error)

Execute executes the request

func (*FileAPIService) FilesFileDelete

func (a *FileAPIService) FilesFileDelete(ctx context.Context, file string) ApiFilesFileDeleteRequest

FilesFileDelete Remove the specified file.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param file The Id of file
@return ApiFilesFileDeleteRequest

func (*FileAPIService) FilesFileDeleteExecute

func (a *FileAPIService) FilesFileDeleteExecute(r ApiFilesFileDeleteRequest) (*http.Response, error)

Execute executes the request

func (*FileAPIService) FilesFileGet

func (a *FileAPIService) FilesFileGet(ctx context.Context, file string) ApiFilesFileGetRequest

FilesFileGet Return the specified file.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param file The Id of file
@return ApiFilesFileGetRequest

func (*FileAPIService) FilesFileGetExecute

func (a *FileAPIService) FilesFileGetExecute(r ApiFilesFileGetRequest) (*http.Response, error)

Execute executes the request

type GeneralReportAPIService

type GeneralReportAPIService service

GeneralReportAPIService GeneralReportAPI service

func (*GeneralReportAPIService) ReportGeoGet

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

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

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

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

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableAudiosAudioPatchRequest

type NullableAudiosAudioPatchRequest struct {
	// contains filtered or unexported fields
}

func (NullableAudiosAudioPatchRequest) Get

func (NullableAudiosAudioPatchRequest) IsSet

func (NullableAudiosAudioPatchRequest) MarshalJSON

func (v NullableAudiosAudioPatchRequest) MarshalJSON() ([]byte, error)

func (*NullableAudiosAudioPatchRequest) Set

func (*NullableAudiosAudioPatchRequest) UnmarshalJSON

func (v *NullableAudiosAudioPatchRequest) UnmarshalJSON(src []byte) error

func (*NullableAudiosAudioPatchRequest) Unset

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableChannelsChannelAudiosPostRequest

type NullableChannelsChannelAudiosPostRequest struct {
	// contains filtered or unexported fields
}

func (NullableChannelsChannelAudiosPostRequest) Get

func (NullableChannelsChannelAudiosPostRequest) IsSet

func (NullableChannelsChannelAudiosPostRequest) MarshalJSON

func (*NullableChannelsChannelAudiosPostRequest) Set

func (*NullableChannelsChannelAudiosPostRequest) UnmarshalJSON

func (v *NullableChannelsChannelAudiosPostRequest) UnmarshalJSON(src []byte) error

func (*NullableChannelsChannelAudiosPostRequest) Unset

type NullableChannelsChannelAudiosPostRequestConvertInfoInner

type NullableChannelsChannelAudiosPostRequestConvertInfoInner struct {
	// contains filtered or unexported fields
}

func (NullableChannelsChannelAudiosPostRequestConvertInfoInner) Get

func (NullableChannelsChannelAudiosPostRequestConvertInfoInner) IsSet

func (NullableChannelsChannelAudiosPostRequestConvertInfoInner) MarshalJSON

func (*NullableChannelsChannelAudiosPostRequestConvertInfoInner) Set

func (*NullableChannelsChannelAudiosPostRequestConvertInfoInner) UnmarshalJSON

func (*NullableChannelsChannelAudiosPostRequestConvertInfoInner) Unset

type NullableChannelsChannelPatchRequest

type NullableChannelsChannelPatchRequest struct {
	// contains filtered or unexported fields
}

func (NullableChannelsChannelPatchRequest) Get

func (NullableChannelsChannelPatchRequest) IsSet

func (NullableChannelsChannelPatchRequest) MarshalJSON

func (v NullableChannelsChannelPatchRequest) MarshalJSON() ([]byte, error)

func (*NullableChannelsChannelPatchRequest) Set

func (*NullableChannelsChannelPatchRequest) UnmarshalJSON

func (v *NullableChannelsChannelPatchRequest) UnmarshalJSON(src []byte) error

func (*NullableChannelsChannelPatchRequest) Unset

type NullableChannelsChannelProfilesPostRequest

type NullableChannelsChannelProfilesPostRequest struct {
	// contains filtered or unexported fields
}

func (NullableChannelsChannelProfilesPostRequest) Get

func (NullableChannelsChannelProfilesPostRequest) IsSet

func (NullableChannelsChannelProfilesPostRequest) MarshalJSON

func (*NullableChannelsChannelProfilesPostRequest) Set

func (*NullableChannelsChannelProfilesPostRequest) UnmarshalJSON

func (v *NullableChannelsChannelProfilesPostRequest) UnmarshalJSON(src []byte) error

func (*NullableChannelsChannelProfilesPostRequest) Unset

type NullableChannelsChannelProfilesPostRequestConvertInfoInner

type NullableChannelsChannelProfilesPostRequestConvertInfoInner struct {
	// contains filtered or unexported fields
}

func (NullableChannelsChannelProfilesPostRequestConvertInfoInner) Get

func (NullableChannelsChannelProfilesPostRequestConvertInfoInner) IsSet

func (NullableChannelsChannelProfilesPostRequestConvertInfoInner) MarshalJSON

func (*NullableChannelsChannelProfilesPostRequestConvertInfoInner) Set

func (*NullableChannelsChannelProfilesPostRequestConvertInfoInner) UnmarshalJSON

func (*NullableChannelsChannelProfilesPostRequestConvertInfoInner) Unset

type NullableChannelsChannelProfilesPostRequestOptionsInner

type NullableChannelsChannelProfilesPostRequestOptionsInner struct {
	// contains filtered or unexported fields
}

func (NullableChannelsChannelProfilesPostRequestOptionsInner) Get

func (NullableChannelsChannelProfilesPostRequestOptionsInner) IsSet

func (NullableChannelsChannelProfilesPostRequestOptionsInner) MarshalJSON

func (*NullableChannelsChannelProfilesPostRequestOptionsInner) Set

func (*NullableChannelsChannelProfilesPostRequestOptionsInner) UnmarshalJSON

func (*NullableChannelsChannelProfilesPostRequestOptionsInner) Unset

type NullableChannelsChannelVideosPostRequest

type NullableChannelsChannelVideosPostRequest struct {
	// contains filtered or unexported fields
}

func (NullableChannelsChannelVideosPostRequest) Get

func (NullableChannelsChannelVideosPostRequest) IsSet

func (NullableChannelsChannelVideosPostRequest) MarshalJSON

func (*NullableChannelsChannelVideosPostRequest) Set

func (*NullableChannelsChannelVideosPostRequest) UnmarshalJSON

func (v *NullableChannelsChannelVideosPostRequest) UnmarshalJSON(src []byte) error

func (*NullableChannelsChannelVideosPostRequest) Unset

type NullableChannelsPostRequest

type NullableChannelsPostRequest struct {
	// contains filtered or unexported fields
}

func NewNullableChannelsPostRequest

func NewNullableChannelsPostRequest(val *ChannelsPostRequest) *NullableChannelsPostRequest

func (NullableChannelsPostRequest) Get

func (NullableChannelsPostRequest) IsSet

func (NullableChannelsPostRequest) MarshalJSON

func (v NullableChannelsPostRequest) MarshalJSON() ([]byte, error)

func (*NullableChannelsPostRequest) Set

func (*NullableChannelsPostRequest) UnmarshalJSON

func (v *NullableChannelsPostRequest) UnmarshalJSON(src []byte) error

func (*NullableChannelsPostRequest) Unset

func (v *NullableChannelsPostRequest) Unset()

type NullableDomainPostRequest

type NullableDomainPostRequest struct {
	// contains filtered or unexported fields
}

func NewNullableDomainPostRequest

func NewNullableDomainPostRequest(val *DomainPostRequest) *NullableDomainPostRequest

func (NullableDomainPostRequest) Get

func (NullableDomainPostRequest) IsSet

func (v NullableDomainPostRequest) IsSet() bool

func (NullableDomainPostRequest) MarshalJSON

func (v NullableDomainPostRequest) MarshalJSON() ([]byte, error)

func (*NullableDomainPostRequest) Set

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 NullableProfilesProfilePatchRequest

type NullableProfilesProfilePatchRequest struct {
	// contains filtered or unexported fields
}

func (NullableProfilesProfilePatchRequest) Get

func (NullableProfilesProfilePatchRequest) IsSet

func (NullableProfilesProfilePatchRequest) MarshalJSON

func (v NullableProfilesProfilePatchRequest) MarshalJSON() ([]byte, error)

func (*NullableProfilesProfilePatchRequest) Set

func (*NullableProfilesProfilePatchRequest) UnmarshalJSON

func (v *NullableProfilesProfilePatchRequest) UnmarshalJSON(src []byte) error

func (*NullableProfilesProfilePatchRequest) 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 NullableVideosVideoPatchRequest

type NullableVideosVideoPatchRequest struct {
	// contains filtered or unexported fields
}

func (NullableVideosVideoPatchRequest) Get

func (NullableVideosVideoPatchRequest) IsSet

func (NullableVideosVideoPatchRequest) MarshalJSON

func (v NullableVideosVideoPatchRequest) MarshalJSON() ([]byte, error)

func (*NullableVideosVideoPatchRequest) Set

func (*NullableVideosVideoPatchRequest) UnmarshalJSON

func (v *NullableVideosVideoPatchRequest) UnmarshalJSON(src []byte) error

func (*NullableVideosVideoPatchRequest) Unset

type NullableWatermarksWatermarkPatchRequest

type NullableWatermarksWatermarkPatchRequest struct {
	// contains filtered or unexported fields
}

func (NullableWatermarksWatermarkPatchRequest) Get

func (NullableWatermarksWatermarkPatchRequest) IsSet

func (NullableWatermarksWatermarkPatchRequest) MarshalJSON

func (v NullableWatermarksWatermarkPatchRequest) MarshalJSON() ([]byte, error)

func (*NullableWatermarksWatermarkPatchRequest) Set

func (*NullableWatermarksWatermarkPatchRequest) UnmarshalJSON

func (v *NullableWatermarksWatermarkPatchRequest) UnmarshalJSON(src []byte) error

func (*NullableWatermarksWatermarkPatchRequest) Unset

type ProfileAPIService

type ProfileAPIService service

ProfileAPIService ProfileAPI service

func (*ProfileAPIService) ChannelsChannelProfilesGet

func (a *ProfileAPIService) ChannelsChannelProfilesGet(ctx context.Context, channel string) ApiChannelsChannelProfilesGetRequest

ChannelsChannelProfilesGet Return all channel's profiles.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelProfilesGetRequest

func (*ProfileAPIService) ChannelsChannelProfilesGetExecute

func (a *ProfileAPIService) ChannelsChannelProfilesGetExecute(r ApiChannelsChannelProfilesGetRequest) (*http.Response, error)

Execute executes the request

func (*ProfileAPIService) ChannelsChannelProfilesPost

func (a *ProfileAPIService) ChannelsChannelProfilesPost(ctx context.Context, channel string) ApiChannelsChannelProfilesPostRequest

ChannelsChannelProfilesPost Store a newly created profile.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelProfilesPostRequest

func (*ProfileAPIService) ChannelsChannelProfilesPostExecute

func (a *ProfileAPIService) ChannelsChannelProfilesPostExecute(r ApiChannelsChannelProfilesPostRequest) (*http.Response, error)

Execute executes the request

func (*ProfileAPIService) ProfilesProfileDelete

func (a *ProfileAPIService) ProfilesProfileDelete(ctx context.Context, profile string) ApiProfilesProfileDeleteRequest

ProfilesProfileDelete Remove the specified profile.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param profile The Id of profile
@return ApiProfilesProfileDeleteRequest

func (*ProfileAPIService) ProfilesProfileDeleteExecute

func (a *ProfileAPIService) ProfilesProfileDeleteExecute(r ApiProfilesProfileDeleteRequest) (*http.Response, error)

Execute executes the request

func (*ProfileAPIService) ProfilesProfileGet

func (a *ProfileAPIService) ProfilesProfileGet(ctx context.Context, profile string) ApiProfilesProfileGetRequest

ProfilesProfileGet Return the specified profile.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param profile The Id of profile
@return ApiProfilesProfileGetRequest

func (*ProfileAPIService) ProfilesProfileGetExecute

func (a *ProfileAPIService) ProfilesProfileGetExecute(r ApiProfilesProfileGetRequest) (*http.Response, error)

Execute executes the request

func (*ProfileAPIService) ProfilesProfilePatch

func (a *ProfileAPIService) ProfilesProfilePatch(ctx context.Context, profile string) ApiProfilesProfilePatchRequest

ProfilesProfilePatch Update the specified profile.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param profile The Id of profile
@return ApiProfilesProfilePatchRequest

func (*ProfileAPIService) ProfilesProfilePatchExecute

func (a *ProfileAPIService) ProfilesProfilePatchExecute(r ApiProfilesProfilePatchRequest) (*http.Response, error)

Execute executes the request

type ProfilesProfilePatchRequest

type ProfilesProfilePatchRequest struct {
	// Title of the profile
	Title *string `json:"title,omitempty"`
	// Description of the profile
	Description *string `json:"description,omitempty"`
	// Convert mode
	ConvertMode *string `json:"convert_mode,omitempty"`
	// Screenshot time for generate thumbnail for video in seconds
	ThumbnailTime *int32 `json:"thumbnail_time,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 []ChannelsChannelProfilesPostRequestConvertInfoInner `json:"convert_info,omitempty"`
	// Array of option details
	Options []ChannelsChannelProfilesPostRequestOptionsInner `json:"options,omitempty"`
}

ProfilesProfilePatchRequest struct for ProfilesProfilePatchRequest

func NewProfilesProfilePatchRequest

func NewProfilesProfilePatchRequest() *ProfilesProfilePatchRequest

NewProfilesProfilePatchRequest instantiates a new ProfilesProfilePatchRequest 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 NewProfilesProfilePatchRequestWithDefaults

func NewProfilesProfilePatchRequestWithDefaults() *ProfilesProfilePatchRequest

NewProfilesProfilePatchRequestWithDefaults instantiates a new ProfilesProfilePatchRequest 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 (*ProfilesProfilePatchRequest) GetConvertInfo

GetConvertInfo returns the ConvertInfo field value if set, zero value otherwise.

func (*ProfilesProfilePatchRequest) GetConvertInfoOk

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 (*ProfilesProfilePatchRequest) GetConvertMode

func (o *ProfilesProfilePatchRequest) GetConvertMode() string

GetConvertMode returns the ConvertMode field value if set, zero value otherwise.

func (*ProfilesProfilePatchRequest) GetConvertModeOk

func (o *ProfilesProfilePatchRequest) GetConvertModeOk() (*string, bool)

GetConvertModeOk returns a tuple with the ConvertMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProfilesProfilePatchRequest) GetDescription

func (o *ProfilesProfilePatchRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ProfilesProfilePatchRequest) GetDescriptionOk

func (o *ProfilesProfilePatchRequest) 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 (*ProfilesProfilePatchRequest) GetOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*ProfilesProfilePatchRequest) GetOptionsOk

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProfilesProfilePatchRequest) GetThumbnailTime

func (o *ProfilesProfilePatchRequest) GetThumbnailTime() int32

GetThumbnailTime returns the ThumbnailTime field value if set, zero value otherwise.

func (*ProfilesProfilePatchRequest) GetThumbnailTimeOk

func (o *ProfilesProfilePatchRequest) GetThumbnailTimeOk() (*int32, bool)

GetThumbnailTimeOk returns a tuple with the ThumbnailTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProfilesProfilePatchRequest) GetTitle

func (o *ProfilesProfilePatchRequest) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ProfilesProfilePatchRequest) GetTitleOk

func (o *ProfilesProfilePatchRequest) 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 (*ProfilesProfilePatchRequest) GetWatermarkArea

func (o *ProfilesProfilePatchRequest) GetWatermarkArea() string

GetWatermarkArea returns the WatermarkArea field value if set, zero value otherwise.

func (*ProfilesProfilePatchRequest) GetWatermarkAreaOk

func (o *ProfilesProfilePatchRequest) 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 (*ProfilesProfilePatchRequest) GetWatermarkId

func (o *ProfilesProfilePatchRequest) GetWatermarkId() string

GetWatermarkId returns the WatermarkId field value if set, zero value otherwise.

func (*ProfilesProfilePatchRequest) GetWatermarkIdOk

func (o *ProfilesProfilePatchRequest) 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 (*ProfilesProfilePatchRequest) HasConvertInfo

func (o *ProfilesProfilePatchRequest) HasConvertInfo() bool

HasConvertInfo returns a boolean if a field has been set.

func (*ProfilesProfilePatchRequest) HasConvertMode

func (o *ProfilesProfilePatchRequest) HasConvertMode() bool

HasConvertMode returns a boolean if a field has been set.

func (*ProfilesProfilePatchRequest) HasDescription

func (o *ProfilesProfilePatchRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ProfilesProfilePatchRequest) HasOptions

func (o *ProfilesProfilePatchRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*ProfilesProfilePatchRequest) HasThumbnailTime

func (o *ProfilesProfilePatchRequest) HasThumbnailTime() bool

HasThumbnailTime returns a boolean if a field has been set.

func (*ProfilesProfilePatchRequest) HasTitle

func (o *ProfilesProfilePatchRequest) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ProfilesProfilePatchRequest) HasWatermarkArea

func (o *ProfilesProfilePatchRequest) HasWatermarkArea() bool

HasWatermarkArea returns a boolean if a field has been set.

func (*ProfilesProfilePatchRequest) HasWatermarkId

func (o *ProfilesProfilePatchRequest) HasWatermarkId() bool

HasWatermarkId returns a boolean if a field has been set.

func (ProfilesProfilePatchRequest) MarshalJSON

func (o ProfilesProfilePatchRequest) MarshalJSON() ([]byte, error)

func (*ProfilesProfilePatchRequest) SetConvertInfo

SetConvertInfo gets a reference to the given []ChannelsChannelProfilesPostRequestConvertInfoInner and assigns it to the ConvertInfo field.

func (*ProfilesProfilePatchRequest) SetConvertMode

func (o *ProfilesProfilePatchRequest) SetConvertMode(v string)

SetConvertMode gets a reference to the given string and assigns it to the ConvertMode field.

func (*ProfilesProfilePatchRequest) SetDescription

func (o *ProfilesProfilePatchRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ProfilesProfilePatchRequest) SetOptions

SetOptions gets a reference to the given []ChannelsChannelProfilesPostRequestOptionsInner and assigns it to the Options field.

func (*ProfilesProfilePatchRequest) SetThumbnailTime

func (o *ProfilesProfilePatchRequest) SetThumbnailTime(v int32)

SetThumbnailTime gets a reference to the given int32 and assigns it to the ThumbnailTime field.

func (*ProfilesProfilePatchRequest) SetTitle

func (o *ProfilesProfilePatchRequest) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ProfilesProfilePatchRequest) SetWatermarkArea

func (o *ProfilesProfilePatchRequest) SetWatermarkArea(v string)

SetWatermarkArea gets a reference to the given string and assigns it to the WatermarkArea field.

func (*ProfilesProfilePatchRequest) SetWatermarkId

func (o *ProfilesProfilePatchRequest) SetWatermarkId(v string)

SetWatermarkId gets a reference to the given string and assigns it to the WatermarkId field.

func (ProfilesProfilePatchRequest) ToMap

func (o ProfilesProfilePatchRequest) ToMap() (map[string]interface{}, error)

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SubtitleAPIService

type SubtitleAPIService service

SubtitleAPIService SubtitleAPI service

func (*SubtitleAPIService) SubtitlesSubtitleDelete

func (a *SubtitleAPIService) SubtitlesSubtitleDelete(ctx context.Context, subtitle string) ApiSubtitlesSubtitleDeleteRequest

SubtitlesSubtitleDelete Remove the specified subtitle.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subtitle The Id of subtitle
@return ApiSubtitlesSubtitleDeleteRequest

func (*SubtitleAPIService) SubtitlesSubtitleDeleteExecute

func (a *SubtitleAPIService) SubtitlesSubtitleDeleteExecute(r ApiSubtitlesSubtitleDeleteRequest) (*http.Response, error)

Execute executes the request

func (*SubtitleAPIService) SubtitlesSubtitleGet

func (a *SubtitleAPIService) SubtitlesSubtitleGet(ctx context.Context, subtitle string) ApiSubtitlesSubtitleGetRequest

SubtitlesSubtitleGet Return the specified subtitle.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subtitle The Id of subtitle
@return ApiSubtitlesSubtitleGetRequest

func (*SubtitleAPIService) SubtitlesSubtitleGetExecute

func (a *SubtitleAPIService) SubtitlesSubtitleGetExecute(r ApiSubtitlesSubtitleGetRequest) (*http.Response, error)

Execute executes the request

func (*SubtitleAPIService) VideosVideoSubtitlesGet

func (a *SubtitleAPIService) VideosVideoSubtitlesGet(ctx context.Context, video string) ApiVideosVideoSubtitlesGetRequest

VideosVideoSubtitlesGet Display a listing of the subtitle.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param video The Id of video
@return ApiVideosVideoSubtitlesGetRequest

func (*SubtitleAPIService) VideosVideoSubtitlesGetExecute

func (a *SubtitleAPIService) VideosVideoSubtitlesGetExecute(r ApiVideosVideoSubtitlesGetRequest) (*http.Response, error)

Execute executes the request

func (*SubtitleAPIService) VideosVideoSubtitlesPost

func (a *SubtitleAPIService) VideosVideoSubtitlesPost(ctx context.Context, video string) ApiVideosVideoSubtitlesPostRequest

VideosVideoSubtitlesPost Store a newly created subtitle.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param video The Id of video
@return ApiVideosVideoSubtitlesPostRequest

func (*SubtitleAPIService) VideosVideoSubtitlesPostExecute

func (a *SubtitleAPIService) VideosVideoSubtitlesPostExecute(r ApiVideosVideoSubtitlesPostRequest) (*http.Response, error)

Execute executes the request

type TagAPIService

type TagAPIService service

TagAPIService TagAPI service

func (*TagAPIService) TagsGet

func (a *TagAPIService) TagsGet(ctx context.Context, filter2 string) ApiTagsGetRequest

TagsGet Return all user's tags.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param filter2 filter tags
@return ApiTagsGetRequest

func (*TagAPIService) TagsGetExecute

func (a *TagAPIService) TagsGetExecute(r ApiTagsGetRequest) (*http.Response, error)

Execute executes the request

func (*TagAPIService) TagsPost

TagsPost Store a newly created Tag.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTagsPostRequest

func (*TagAPIService) TagsPostExecute

func (a *TagAPIService) TagsPostExecute(r ApiTagsPostRequest) (*http.Response, error)

Execute executes the request

func (*TagAPIService) VideosVideoTagsGet

func (a *TagAPIService) VideosVideoTagsGet(ctx context.Context, video string) ApiVideosVideoTagsGetRequest

VideosVideoTagsGet Return all vidoe's tags.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param video The Id of video
@return ApiVideosVideoTagsGetRequest

func (*TagAPIService) VideosVideoTagsGetExecute

func (a *TagAPIService) VideosVideoTagsGetExecute(r ApiVideosVideoTagsGetRequest) (*http.Response, error)

Execute executes the request

func (*TagAPIService) VideosVideoTagsPut

func (a *TagAPIService) VideosVideoTagsPut(ctx context.Context, video string) ApiVideosVideoTagsPutRequest

VideosVideoTagsPut Update the video tags.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param video The Id of video
@return ApiVideosVideoTagsPutRequest

func (*TagAPIService) VideosVideoTagsPutExecute

func (a *TagAPIService) VideosVideoTagsPutExecute(r ApiVideosVideoTagsPutRequest) (*http.Response, error)

Execute executes the request

type ThumbnailAPIService

type ThumbnailAPIService service

ThumbnailAPIService ThumbnailAPI service

func (*ThumbnailAPIService) VideosVideoThumbnailGet

func (a *ThumbnailAPIService) VideosVideoThumbnailGet(ctx context.Context, video string) ApiVideosVideoThumbnailGetRequest

VideosVideoThumbnailGet Display video thumbnail.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param video The Id of video
@return ApiVideosVideoThumbnailGetRequest

func (*ThumbnailAPIService) VideosVideoThumbnailGetExecute

func (a *ThumbnailAPIService) VideosVideoThumbnailGetExecute(r ApiVideosVideoThumbnailGetRequest) (*http.Response, error)

Execute executes the request

func (*ThumbnailAPIService) VideosVideoThumbnailPost

func (a *ThumbnailAPIService) VideosVideoThumbnailPost(ctx context.Context, video string) ApiVideosVideoThumbnailPostRequest

VideosVideoThumbnailPost Store a newly created thumbnail.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param video The Id of video
@return ApiVideosVideoThumbnailPostRequest

func (*ThumbnailAPIService) VideosVideoThumbnailPostExecute

func (a *ThumbnailAPIService) VideosVideoThumbnailPostExecute(r ApiVideosVideoThumbnailPostRequest) (*http.Response, error)

Execute executes the request

type VideoAPIService

type VideoAPIService service

VideoAPIService VideoAPI service

func (*VideoAPIService) ChannelsChannelVideosGet

func (a *VideoAPIService) ChannelsChannelVideosGet(ctx context.Context, channel string) ApiChannelsChannelVideosGetRequest

ChannelsChannelVideosGet Return all channel's videos.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelVideosGetRequest

func (*VideoAPIService) ChannelsChannelVideosGetExecute

func (a *VideoAPIService) ChannelsChannelVideosGetExecute(r ApiChannelsChannelVideosGetRequest) (*http.Response, error)

Execute executes the request

func (*VideoAPIService) ChannelsChannelVideosPost

func (a *VideoAPIService) ChannelsChannelVideosPost(ctx context.Context, channel string) ApiChannelsChannelVideosPostRequest

ChannelsChannelVideosPost Store a newly created video.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelVideosPostRequest

func (*VideoAPIService) ChannelsChannelVideosPostExecute

func (a *VideoAPIService) ChannelsChannelVideosPostExecute(r ApiChannelsChannelVideosPostRequest) (*http.Response, error)

Execute executes the request

func (*VideoAPIService) VideosBulkDelete

func (a *VideoAPIService) VideosBulkDelete(ctx context.Context, ids []string) ApiVideosBulkDeleteRequest

VideosBulkDelete Remove the multiple video.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ids The Id's of video's
@return ApiVideosBulkDeleteRequest

func (*VideoAPIService) VideosBulkDeleteExecute

func (a *VideoAPIService) VideosBulkDeleteExecute(r ApiVideosBulkDeleteRequest) (*http.Response, error)

Execute executes the request

func (*VideoAPIService) VideosVideoDelete

func (a *VideoAPIService) VideosVideoDelete(ctx context.Context, video string) ApiVideosVideoDeleteRequest

VideosVideoDelete Remove the specified video.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param video The Id of video
@return ApiVideosVideoDeleteRequest

func (*VideoAPIService) VideosVideoDeleteExecute

func (a *VideoAPIService) VideosVideoDeleteExecute(r ApiVideosVideoDeleteRequest) (*http.Response, error)

Execute executes the request

func (*VideoAPIService) VideosVideoGet

func (a *VideoAPIService) VideosVideoGet(ctx context.Context, video string) ApiVideosVideoGetRequest

VideosVideoGet Return the specified video.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param video The Id of video
@return ApiVideosVideoGetRequest

func (*VideoAPIService) VideosVideoGetExecute

func (a *VideoAPIService) VideosVideoGetExecute(r ApiVideosVideoGetRequest) (*http.Response, error)

Execute executes the request

func (*VideoAPIService) VideosVideoPatch

func (a *VideoAPIService) VideosVideoPatch(ctx context.Context, video string) ApiVideosVideoPatchRequest

VideosVideoPatch Update the specified video.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param video The Id of video
@return ApiVideosVideoPatchRequest

func (*VideoAPIService) VideosVideoPatchExecute

func (a *VideoAPIService) VideosVideoPatchExecute(r ApiVideosVideoPatchRequest) (*http.Response, error)

Execute executes the request

type VideosVideoPatchRequest

type VideosVideoPatchRequest struct {
	// Title of the video
	Title *string `json:"title,omitempty"`
	// Description of the video
	Description *string `json:"description,omitempty"`
}

VideosVideoPatchRequest struct for VideosVideoPatchRequest

func NewVideosVideoPatchRequest

func NewVideosVideoPatchRequest() *VideosVideoPatchRequest

NewVideosVideoPatchRequest instantiates a new VideosVideoPatchRequest 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 NewVideosVideoPatchRequestWithDefaults

func NewVideosVideoPatchRequestWithDefaults() *VideosVideoPatchRequest

NewVideosVideoPatchRequestWithDefaults instantiates a new VideosVideoPatchRequest 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 (*VideosVideoPatchRequest) GetDescription

func (o *VideosVideoPatchRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VideosVideoPatchRequest) GetDescriptionOk

func (o *VideosVideoPatchRequest) 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 (*VideosVideoPatchRequest) GetTitle

func (o *VideosVideoPatchRequest) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*VideosVideoPatchRequest) GetTitleOk

func (o *VideosVideoPatchRequest) 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 (*VideosVideoPatchRequest) HasDescription

func (o *VideosVideoPatchRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VideosVideoPatchRequest) HasTitle

func (o *VideosVideoPatchRequest) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (VideosVideoPatchRequest) MarshalJSON

func (o VideosVideoPatchRequest) MarshalJSON() ([]byte, error)

func (*VideosVideoPatchRequest) SetDescription

func (o *VideosVideoPatchRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VideosVideoPatchRequest) SetTitle

func (o *VideosVideoPatchRequest) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (VideosVideoPatchRequest) ToMap

func (o VideosVideoPatchRequest) ToMap() (map[string]interface{}, error)

type WatermarkAPIService

type WatermarkAPIService service

WatermarkAPIService WatermarkAPI service

func (*WatermarkAPIService) ChannelsChannelWatermarksGet

func (a *WatermarkAPIService) ChannelsChannelWatermarksGet(ctx context.Context, channel string) ApiChannelsChannelWatermarksGetRequest

ChannelsChannelWatermarksGet Return all channel's watermarks.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelWatermarksGetRequest

func (*WatermarkAPIService) ChannelsChannelWatermarksGetExecute

func (a *WatermarkAPIService) ChannelsChannelWatermarksGetExecute(r ApiChannelsChannelWatermarksGetRequest) (*http.Response, error)

Execute executes the request

func (*WatermarkAPIService) ChannelsChannelWatermarksPost

func (a *WatermarkAPIService) ChannelsChannelWatermarksPost(ctx context.Context, channel string) ApiChannelsChannelWatermarksPostRequest

ChannelsChannelWatermarksPost Store a newly created Watermark.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param channel The Id of channel
@return ApiChannelsChannelWatermarksPostRequest

func (*WatermarkAPIService) ChannelsChannelWatermarksPostExecute

func (a *WatermarkAPIService) ChannelsChannelWatermarksPostExecute(r ApiChannelsChannelWatermarksPostRequest) (*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

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL