Documentation ¶
Index ¶
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type AccessToken
- func (o *AccessToken) GetAccessToken() string
- func (o *AccessToken) GetAccessTokenOk() (*string, bool)
- func (o *AccessToken) GetExpiresIn() int32
- func (o *AccessToken) GetExpiresInOk() (*int32, bool)
- func (o *AccessToken) GetRefreshToken() string
- func (o *AccessToken) GetRefreshTokenOk() (*string, bool)
- func (o *AccessToken) GetTokenType() string
- func (o *AccessToken) GetTokenTypeOk() (*string, bool)
- func (o *AccessToken) HasAccessToken() bool
- func (o *AccessToken) HasExpiresIn() bool
- func (o *AccessToken) HasRefreshToken() bool
- func (o *AccessToken) HasTokenType() bool
- func (o *AccessToken) SetAccessToken(v string)
- func (o *AccessToken) SetExpiresIn(v int32)
- func (o *AccessToken) SetRefreshToken(v string)
- func (o *AccessToken) SetTokenType(v string)
- type AdditionalBadRequestErrors
- func (o *AdditionalBadRequestErrors) GetName() string
- func (o *AdditionalBadRequestErrors) GetNameOk() (*string, bool)
- func (o *AdditionalBadRequestErrors) GetStatus() int32
- func (o *AdditionalBadRequestErrors) GetStatusOk() (*int32, bool)
- func (o *AdditionalBadRequestErrors) GetTitle() string
- func (o *AdditionalBadRequestErrors) GetTitleOk() (*string, bool)
- func (o *AdditionalBadRequestErrors) GetType() string
- func (o *AdditionalBadRequestErrors) GetTypeOk() (*string, bool)
- func (o *AdditionalBadRequestErrors) HasName() bool
- func (o *AdditionalBadRequestErrors) HasStatus() bool
- func (o *AdditionalBadRequestErrors) HasTitle() bool
- func (o *AdditionalBadRequestErrors) HasType() bool
- func (o *AdditionalBadRequestErrors) SetName(v string)
- func (o *AdditionalBadRequestErrors) SetStatus(v int32)
- func (o *AdditionalBadRequestErrors) SetTitle(v string)
- func (o *AdditionalBadRequestErrors) SetType(v string)
- type AdvancedAuthenticationService
- func (s *AdvancedAuthenticationService) Authenticate(authenticatePayload AuthenticatePayload) (*AccessToken, error)
- func (s *AdvancedAuthenticationService) AuthenticateWithContext(ctx context.Context, authenticatePayload AuthenticatePayload) (*AccessToken, error)
- func (s *AdvancedAuthenticationService) Refresh(refreshTokenPayload RefreshTokenPayload) (*AccessToken, error)
- func (s *AdvancedAuthenticationService) RefreshWithContext(ctx context.Context, refreshTokenPayload RefreshTokenPayload) (*AccessToken, error)
- type AdvancedAuthenticationServiceI
- type AnalyticsApiGetLiveStreamsPlaysRequest
- func (r AnalyticsApiGetLiveStreamsPlaysRequest) CurrentPage(currentPage int32) AnalyticsApiGetLiveStreamsPlaysRequest
- func (r AnalyticsApiGetLiveStreamsPlaysRequest) Dimension(dimension string) AnalyticsApiGetLiveStreamsPlaysRequest
- func (r AnalyticsApiGetLiveStreamsPlaysRequest) Filter(filter string) AnalyticsApiGetLiveStreamsPlaysRequest
- func (r AnalyticsApiGetLiveStreamsPlaysRequest) From(from string) AnalyticsApiGetLiveStreamsPlaysRequest
- func (r AnalyticsApiGetLiveStreamsPlaysRequest) PageSize(pageSize int32) AnalyticsApiGetLiveStreamsPlaysRequest
- func (r AnalyticsApiGetLiveStreamsPlaysRequest) To(to string) AnalyticsApiGetLiveStreamsPlaysRequest
- type AnalyticsApiGetVideosPlaysRequest
- func (r AnalyticsApiGetVideosPlaysRequest) CurrentPage(currentPage int32) AnalyticsApiGetVideosPlaysRequest
- func (r AnalyticsApiGetVideosPlaysRequest) Dimension(dimension string) AnalyticsApiGetVideosPlaysRequest
- func (r AnalyticsApiGetVideosPlaysRequest) Filter(filter string) AnalyticsApiGetVideosPlaysRequest
- func (r AnalyticsApiGetVideosPlaysRequest) From(from string) AnalyticsApiGetVideosPlaysRequest
- func (r AnalyticsApiGetVideosPlaysRequest) PageSize(pageSize int32) AnalyticsApiGetVideosPlaysRequest
- func (r AnalyticsApiGetVideosPlaysRequest) To(to string) AnalyticsApiGetVideosPlaysRequest
- type AnalyticsData
- type AnalyticsPlays400Error
- func (o *AnalyticsPlays400Error) GetDetail() string
- func (o *AnalyticsPlays400Error) GetDetailOk() (*string, bool)
- func (o *AnalyticsPlays400Error) GetName() string
- func (o *AnalyticsPlays400Error) GetNameOk() (*string, bool)
- func (o *AnalyticsPlays400Error) GetStatus() int32
- func (o *AnalyticsPlays400Error) GetStatusOk() (*int32, bool)
- func (o *AnalyticsPlays400Error) GetTitle() string
- func (o *AnalyticsPlays400Error) GetTitleOk() (*string, bool)
- func (o *AnalyticsPlays400Error) GetType() string
- func (o *AnalyticsPlays400Error) GetTypeOk() (*string, bool)
- func (o *AnalyticsPlays400Error) HasDetail() bool
- func (o *AnalyticsPlays400Error) HasName() bool
- func (o *AnalyticsPlays400Error) HasStatus() bool
- func (o *AnalyticsPlays400Error) HasTitle() bool
- func (o *AnalyticsPlays400Error) HasType() bool
- func (o *AnalyticsPlays400Error) SetDetail(v string)
- func (o *AnalyticsPlays400Error) SetName(v string)
- func (o *AnalyticsPlays400Error) SetStatus(v int32)
- func (o *AnalyticsPlays400Error) SetTitle(v string)
- func (o *AnalyticsPlays400Error) SetType(v string)
- type AnalyticsPlaysResponse
- func (o *AnalyticsPlaysResponse) GetData() []AnalyticsData
- func (o *AnalyticsPlaysResponse) GetDataOk() (*[]AnalyticsData, bool)
- func (o *AnalyticsPlaysResponse) GetPagination() Pagination
- func (o *AnalyticsPlaysResponse) GetPaginationOk() (*Pagination, bool)
- func (o *AnalyticsPlaysResponse) SetData(v []AnalyticsData)
- func (o *AnalyticsPlaysResponse) SetPagination(v Pagination)
- type AnalyticsService
- func (s *AnalyticsService) GetLiveStreamsPlays(r AnalyticsApiGetLiveStreamsPlaysRequest) (*AnalyticsPlaysResponse, error)
- func (s *AnalyticsService) GetLiveStreamsPlaysWithContext(ctx context.Context, r AnalyticsApiGetLiveStreamsPlaysRequest) (*AnalyticsPlaysResponse, error)
- func (s *AnalyticsService) GetVideosPlays(r AnalyticsApiGetVideosPlaysRequest) (*AnalyticsPlaysResponse, error)
- func (s *AnalyticsService) GetVideosPlaysWithContext(ctx context.Context, r AnalyticsApiGetVideosPlaysRequest) (*AnalyticsPlaysResponse, error)
- type AnalyticsServiceI
- type AuthenticatePayload
- type BadRequest
- func (o *BadRequest) GetName() string
- func (o *BadRequest) GetNameOk() (*string, bool)
- func (o *BadRequest) GetProblems() []AdditionalBadRequestErrors
- func (o *BadRequest) GetProblemsOk() (*[]AdditionalBadRequestErrors, bool)
- func (o *BadRequest) GetStatus() int32
- func (o *BadRequest) GetStatusOk() (*int32, bool)
- func (o *BadRequest) GetTitle() string
- func (o *BadRequest) GetTitleOk() (*string, bool)
- func (o *BadRequest) GetType() string
- func (o *BadRequest) GetTypeOk() (*string, bool)
- func (o *BadRequest) HasName() bool
- func (o *BadRequest) HasProblems() bool
- func (o *BadRequest) HasStatus() bool
- func (o *BadRequest) HasTitle() bool
- func (o *BadRequest) HasType() bool
- func (o *BadRequest) SetName(v string)
- func (o *BadRequest) SetProblems(v []AdditionalBadRequestErrors)
- func (o *BadRequest) SetStatus(v int32)
- func (o *BadRequest) SetTitle(v string)
- func (o *BadRequest) SetType(v string)
- type Builder
- func (cb *Builder) APIKey(key string) *Builder
- func (cb *Builder) ApplicationName(applicationName string) *Builder
- func (cb *Builder) ApplicationVersion(applicationVersion string) *Builder
- func (cb *Builder) BaseURL(url string) *Builder
- func (cb *Builder) Build() *Client
- func (cb *Builder) HTTPClient(httpClient Doer) *Builder
- func (cb *Builder) SdkName(sdkName string) *Builder
- func (cb *Builder) SdkVersion(sdkVersion string) *Builder
- func (cb *Builder) UploadChunkSize(size int64) *Builder
- type BytesRange
- func (o *BytesRange) GetFrom() int32
- func (o *BytesRange) GetFromOk() (*int32, bool)
- func (o *BytesRange) GetTo() int32
- func (o *BytesRange) GetToOk() (*int32, bool)
- func (o *BytesRange) GetTotal() int32
- func (o *BytesRange) GetTotalOk() (*int32, bool)
- func (o *BytesRange) HasFrom() bool
- func (o *BytesRange) HasTo() bool
- func (o *BytesRange) HasTotal() bool
- func (o *BytesRange) SetFrom(v int32)
- func (o *BytesRange) SetTo(v int32)
- func (o *BytesRange) SetTotal(v int32)
- type Caption
- func (o *Caption) GetDefault() bool
- func (o *Caption) GetDefaultOk() (*bool, bool)
- func (o *Caption) GetLanguageName() string
- func (o *Caption) GetLanguageNameOk() (*string, bool)
- func (o *Caption) GetSrc() string
- func (o *Caption) GetSrcOk() (*string, bool)
- func (o *Caption) GetSrclang() string
- func (o *Caption) GetSrclangOk() (*string, bool)
- func (o *Caption) GetUri() string
- func (o *Caption) GetUriOk() (*string, bool)
- func (o *Caption) HasDefault() bool
- func (o *Caption) HasLanguageName() bool
- func (o *Caption) HasSrc() bool
- func (o *Caption) HasSrclang() bool
- func (o *Caption) HasUri() bool
- func (o *Caption) SetDefault(v bool)
- func (o *Caption) SetLanguageName(v string)
- func (o *Caption) SetSrc(v string)
- func (o *Caption) SetSrclang(v string)
- func (o *Caption) SetUri(v string)
- type CaptionsApiListRequest
- type CaptionsListResponse
- func (o *CaptionsListResponse) GetData() []Caption
- func (o *CaptionsListResponse) GetDataOk() (*[]Caption, bool)
- func (o *CaptionsListResponse) GetPagination() Pagination
- func (o *CaptionsListResponse) GetPaginationOk() (*Pagination, bool)
- func (o *CaptionsListResponse) SetData(v []Caption)
- func (o *CaptionsListResponse) SetPagination(v Pagination)
- type CaptionsService
- func (s *CaptionsService) Delete(videoId string, language string) error
- func (s *CaptionsService) DeleteWithContext(ctx context.Context, videoId string, language string) error
- func (s *CaptionsService) Get(videoId string, language string) (*Caption, error)
- func (s *CaptionsService) GetWithContext(ctx context.Context, videoId string, language string) (*Caption, error)
- func (s *CaptionsService) List(videoId string, r CaptionsApiListRequest) (*CaptionsListResponse, error)
- func (s *CaptionsService) ListWithContext(ctx context.Context, videoId string, r CaptionsApiListRequest) (*CaptionsListResponse, error)
- func (s *CaptionsService) Update(videoId string, language string, captionsUpdatePayload CaptionsUpdatePayload) (*Caption, error)
- func (s *CaptionsService) UpdateWithContext(ctx context.Context, videoId string, language string, ...) (*Caption, error)
- func (s *CaptionsService) Upload(videoId string, language string, fileName string, fileReader io.Reader) (*Caption, error)
- func (s *CaptionsService) UploadFile(videoId string, language string, file *os.File) (*Caption, error)
- func (s *CaptionsService) UploadFileWithContext(ctx context.Context, videoId string, language string, file *os.File) (*Caption, error)
- func (s *CaptionsService) UploadWithContext(ctx context.Context, videoId string, language string, fileName string, ...) (*Caption, error)
- type CaptionsServiceI
- type CaptionsUpdatePayload
- type Chapter
- func (o *Chapter) GetLanguage() string
- func (o *Chapter) GetLanguageOk() (*string, bool)
- func (o *Chapter) GetSrc() string
- func (o *Chapter) GetSrcOk() (*string, bool)
- func (o *Chapter) GetUri() string
- func (o *Chapter) GetUriOk() (*string, bool)
- func (o *Chapter) HasLanguage() bool
- func (o *Chapter) HasSrc() bool
- func (o *Chapter) HasUri() bool
- func (o *Chapter) SetLanguage(v string)
- func (o *Chapter) SetSrc(v string)
- func (o *Chapter) SetUri(v string)
- type ChaptersApiListRequest
- type ChaptersListResponse
- func (o *ChaptersListResponse) GetData() []Chapter
- func (o *ChaptersListResponse) GetDataOk() (*[]Chapter, bool)
- func (o *ChaptersListResponse) GetPagination() Pagination
- func (o *ChaptersListResponse) GetPaginationOk() (*Pagination, bool)
- func (o *ChaptersListResponse) SetData(v []Chapter)
- func (o *ChaptersListResponse) SetPagination(v Pagination)
- type ChaptersService
- func (s *ChaptersService) Delete(videoId string, language string) error
- func (s *ChaptersService) DeleteWithContext(ctx context.Context, videoId string, language string) error
- func (s *ChaptersService) Get(videoId string, language string) (*Chapter, error)
- func (s *ChaptersService) GetWithContext(ctx context.Context, videoId string, language string) (*Chapter, error)
- func (s *ChaptersService) List(videoId string, r ChaptersApiListRequest) (*ChaptersListResponse, error)
- func (s *ChaptersService) ListWithContext(ctx context.Context, videoId string, r ChaptersApiListRequest) (*ChaptersListResponse, error)
- func (s *ChaptersService) Upload(videoId string, language string, fileName string, fileReader io.Reader) (*Chapter, error)
- func (s *ChaptersService) UploadFile(videoId string, language string, file *os.File) (*Chapter, error)
- func (s *ChaptersService) UploadFileWithContext(ctx context.Context, videoId string, language string, file *os.File) (*Chapter, error)
- func (s *ChaptersService) UploadWithContext(ctx context.Context, videoId string, language string, fileName string, ...) (*Chapter, error)
- type ChaptersServiceI
- type Client
- type Doer
- type ErrorResponse
- type IUploadStream
- type Link
- type LiveStream
- func (o *LiveStream) GetAssets() LiveStreamAssets
- func (o *LiveStream) GetAssetsOk() (*LiveStreamAssets, bool)
- func (o *LiveStream) GetBroadcasting() bool
- func (o *LiveStream) GetBroadcastingOk() (*bool, bool)
- func (o *LiveStream) GetCreatedAt() string
- func (o *LiveStream) GetCreatedAtOk() (*string, bool)
- func (o *LiveStream) GetLiveStreamId() string
- func (o *LiveStream) GetLiveStreamIdOk() (*string, bool)
- func (o *LiveStream) GetName() string
- func (o *LiveStream) GetNameOk() (*string, bool)
- func (o *LiveStream) GetPlayerId() string
- func (o *LiveStream) GetPlayerIdOk() (*string, bool)
- func (o *LiveStream) GetPublic() bool
- func (o *LiveStream) GetPublicOk() (*bool, bool)
- func (o *LiveStream) GetRestreams() []RestreamsResponseObject
- func (o *LiveStream) GetRestreamsOk() (*[]RestreamsResponseObject, bool)
- func (o *LiveStream) GetStreamKey() string
- func (o *LiveStream) GetStreamKeyOk() (*string, bool)
- func (o *LiveStream) GetUpdatedAt() string
- func (o *LiveStream) GetUpdatedAtOk() (*string, bool)
- func (o *LiveStream) HasAssets() bool
- func (o *LiveStream) HasBroadcasting() bool
- func (o *LiveStream) HasCreatedAt() bool
- func (o *LiveStream) HasName() bool
- func (o *LiveStream) HasPlayerId() bool
- func (o *LiveStream) HasPublic() bool
- func (o *LiveStream) HasStreamKey() bool
- func (o *LiveStream) HasUpdatedAt() bool
- func (o *LiveStream) SetAssets(v LiveStreamAssets)
- func (o *LiveStream) SetBroadcasting(v bool)
- func (o *LiveStream) SetCreatedAt(v string)
- func (o *LiveStream) SetLiveStreamId(v string)
- func (o *LiveStream) SetName(v string)
- func (o *LiveStream) SetPlayerId(v string)
- func (o *LiveStream) SetPublic(v bool)
- func (o *LiveStream) SetRestreams(v []RestreamsResponseObject)
- func (o *LiveStream) SetStreamKey(v string)
- func (o *LiveStream) SetUpdatedAt(v string)
- type LiveStreamAssets
- func (o *LiveStreamAssets) GetHls() string
- func (o *LiveStreamAssets) GetHlsOk() (*string, bool)
- func (o *LiveStreamAssets) GetIframe() string
- func (o *LiveStreamAssets) GetIframeOk() (*string, bool)
- func (o *LiveStreamAssets) GetPlayer() string
- func (o *LiveStreamAssets) GetPlayerOk() (*string, bool)
- func (o *LiveStreamAssets) GetThumbnail() string
- func (o *LiveStreamAssets) GetThumbnailOk() (*string, bool)
- func (o *LiveStreamAssets) HasHls() bool
- func (o *LiveStreamAssets) HasIframe() bool
- func (o *LiveStreamAssets) HasPlayer() bool
- func (o *LiveStreamAssets) HasThumbnail() bool
- func (o *LiveStreamAssets) SetHls(v string)
- func (o *LiveStreamAssets) SetIframe(v string)
- func (o *LiveStreamAssets) SetPlayer(v string)
- func (o *LiveStreamAssets) SetThumbnail(v string)
- type LiveStreamCreationPayload
- func (o *LiveStreamCreationPayload) GetName() string
- func (o *LiveStreamCreationPayload) GetNameOk() (*string, bool)
- func (o *LiveStreamCreationPayload) GetPlayerId() string
- func (o *LiveStreamCreationPayload) GetPlayerIdOk() (*string, bool)
- func (o *LiveStreamCreationPayload) GetPublic() bool
- func (o *LiveStreamCreationPayload) GetPublicOk() (*bool, bool)
- func (o *LiveStreamCreationPayload) GetRestreams() []RestreamsRequestObject
- func (o *LiveStreamCreationPayload) GetRestreamsOk() (*[]RestreamsRequestObject, bool)
- func (o *LiveStreamCreationPayload) HasPlayerId() bool
- func (o *LiveStreamCreationPayload) HasPublic() bool
- func (o *LiveStreamCreationPayload) HasRestreams() bool
- func (o *LiveStreamCreationPayload) SetName(v string)
- func (o *LiveStreamCreationPayload) SetPlayerId(v string)
- func (o *LiveStreamCreationPayload) SetPublic(v bool)
- func (o *LiveStreamCreationPayload) SetRestreams(v []RestreamsRequestObject)
- type LiveStreamListResponse
- func (o *LiveStreamListResponse) GetData() []LiveStream
- func (o *LiveStreamListResponse) GetDataOk() (*[]LiveStream, bool)
- func (o *LiveStreamListResponse) GetPagination() Pagination
- func (o *LiveStreamListResponse) GetPaginationOk() (*Pagination, bool)
- func (o *LiveStreamListResponse) SetData(v []LiveStream)
- func (o *LiveStreamListResponse) SetPagination(v Pagination)
- type LiveStreamSession
- func (o *LiveStreamSession) GetClient() LiveStreamSessionClient
- func (o *LiveStreamSession) GetClientOk() (*LiveStreamSessionClient, bool)
- func (o *LiveStreamSession) GetDevice() LiveStreamSessionDevice
- func (o *LiveStreamSession) GetDeviceOk() (*LiveStreamSessionDevice, bool)
- func (o *LiveStreamSession) GetLocation() LiveStreamSessionLocation
- func (o *LiveStreamSession) GetLocationOk() (*LiveStreamSessionLocation, bool)
- func (o *LiveStreamSession) GetOs() VideoSessionOs
- func (o *LiveStreamSession) GetOsOk() (*VideoSessionOs, bool)
- func (o *LiveStreamSession) GetReferrer() LiveStreamSessionReferrer
- func (o *LiveStreamSession) GetReferrerOk() (*LiveStreamSessionReferrer, bool)
- func (o *LiveStreamSession) GetSession() LiveStreamSessionSession
- func (o *LiveStreamSession) GetSessionOk() (*LiveStreamSessionSession, bool)
- func (o *LiveStreamSession) HasClient() bool
- func (o *LiveStreamSession) HasDevice() bool
- func (o *LiveStreamSession) HasLocation() bool
- func (o *LiveStreamSession) HasOs() bool
- func (o *LiveStreamSession) HasReferrer() bool
- func (o *LiveStreamSession) HasSession() bool
- func (o *LiveStreamSession) SetClient(v LiveStreamSessionClient)
- func (o *LiveStreamSession) SetDevice(v LiveStreamSessionDevice)
- func (o *LiveStreamSession) SetLocation(v LiveStreamSessionLocation)
- func (o *LiveStreamSession) SetOs(v VideoSessionOs)
- func (o *LiveStreamSession) SetReferrer(v LiveStreamSessionReferrer)
- func (o *LiveStreamSession) SetSession(v LiveStreamSessionSession)
- type LiveStreamSessionClient
- func (o *LiveStreamSessionClient) GetName() string
- func (o *LiveStreamSessionClient) GetNameOk() (*string, bool)
- func (o *LiveStreamSessionClient) GetType() string
- func (o *LiveStreamSessionClient) GetTypeOk() (*string, bool)
- func (o *LiveStreamSessionClient) GetVersion() string
- func (o *LiveStreamSessionClient) GetVersionOk() (*string, bool)
- func (o *LiveStreamSessionClient) HasName() bool
- func (o *LiveStreamSessionClient) HasType() bool
- func (o *LiveStreamSessionClient) HasVersion() bool
- func (o *LiveStreamSessionClient) SetName(v string)
- func (o *LiveStreamSessionClient) SetType(v string)
- func (o *LiveStreamSessionClient) SetVersion(v string)
- type LiveStreamSessionDevice
- func (o *LiveStreamSessionDevice) GetModel() string
- func (o *LiveStreamSessionDevice) GetModelOk() (*string, bool)
- func (o *LiveStreamSessionDevice) GetType() string
- func (o *LiveStreamSessionDevice) GetTypeOk() (*string, bool)
- func (o *LiveStreamSessionDevice) GetVendor() string
- func (o *LiveStreamSessionDevice) GetVendorOk() (*string, bool)
- func (o *LiveStreamSessionDevice) HasModel() bool
- func (o *LiveStreamSessionDevice) HasType() bool
- func (o *LiveStreamSessionDevice) HasVendor() bool
- func (o *LiveStreamSessionDevice) SetModel(v string)
- func (o *LiveStreamSessionDevice) SetType(v string)
- func (o *LiveStreamSessionDevice) SetVendor(v string)
- type LiveStreamSessionLocation
- func (o *LiveStreamSessionLocation) GetCity() string
- func (o *LiveStreamSessionLocation) GetCityOk() (*string, bool)
- func (o *LiveStreamSessionLocation) GetCountry() string
- func (o *LiveStreamSessionLocation) GetCountryOk() (*string, bool)
- func (o *LiveStreamSessionLocation) HasCity() bool
- func (o *LiveStreamSessionLocation) HasCountry() bool
- func (o *LiveStreamSessionLocation) SetCity(v string)
- func (o *LiveStreamSessionLocation) SetCountry(v string)
- type LiveStreamSessionReferrer
- func (o *LiveStreamSessionReferrer) GetMedium() string
- func (o *LiveStreamSessionReferrer) GetMediumOk() (*string, bool)
- func (o *LiveStreamSessionReferrer) GetSearchTerm() string
- func (o *LiveStreamSessionReferrer) GetSearchTermOk() (*string, bool)
- func (o *LiveStreamSessionReferrer) GetSource() string
- func (o *LiveStreamSessionReferrer) GetSourceOk() (*string, bool)
- func (o *LiveStreamSessionReferrer) GetUrl() string
- func (o *LiveStreamSessionReferrer) GetUrlOk() (*string, bool)
- func (o *LiveStreamSessionReferrer) HasMedium() bool
- func (o *LiveStreamSessionReferrer) HasSearchTerm() bool
- func (o *LiveStreamSessionReferrer) HasSource() bool
- func (o *LiveStreamSessionReferrer) HasUrl() bool
- func (o *LiveStreamSessionReferrer) SetMedium(v string)
- func (o *LiveStreamSessionReferrer) SetSearchTerm(v string)
- func (o *LiveStreamSessionReferrer) SetSource(v string)
- func (o *LiveStreamSessionReferrer) SetUrl(v string)
- type LiveStreamSessionSession
- func (o *LiveStreamSessionSession) GetEndedAt() string
- func (o *LiveStreamSessionSession) GetEndedAtOk() (*string, bool)
- func (o *LiveStreamSessionSession) GetLoadedAt() string
- func (o *LiveStreamSessionSession) GetLoadedAtOk() (*string, bool)
- func (o *LiveStreamSessionSession) GetSessionId() string
- func (o *LiveStreamSessionSession) GetSessionIdOk() (*string, bool)
- func (o *LiveStreamSessionSession) HasEndedAt() bool
- func (o *LiveStreamSessionSession) HasLoadedAt() bool
- func (o *LiveStreamSessionSession) HasSessionId() bool
- func (o *LiveStreamSessionSession) SetEndedAt(v string)
- func (o *LiveStreamSessionSession) SetLoadedAt(v string)
- func (o *LiveStreamSessionSession) SetSessionId(v string)
- type LiveStreamUpdatePayload
- func (o *LiveStreamUpdatePayload) GetName() string
- func (o *LiveStreamUpdatePayload) GetNameOk() (*string, bool)
- func (o *LiveStreamUpdatePayload) GetPlayerId() string
- func (o *LiveStreamUpdatePayload) GetPlayerIdOk() (*string, bool)
- func (o *LiveStreamUpdatePayload) GetPublic() bool
- func (o *LiveStreamUpdatePayload) GetPublicOk() (*bool, bool)
- func (o *LiveStreamUpdatePayload) GetRestreams() []RestreamsRequestObject
- func (o *LiveStreamUpdatePayload) GetRestreamsOk() (*[]RestreamsRequestObject, bool)
- func (o *LiveStreamUpdatePayload) HasName() bool
- func (o *LiveStreamUpdatePayload) HasPlayerId() bool
- func (o *LiveStreamUpdatePayload) HasPublic() bool
- func (o *LiveStreamUpdatePayload) HasRestreams() bool
- func (o *LiveStreamUpdatePayload) SetName(v string)
- func (o *LiveStreamUpdatePayload) SetPlayerId(v string)
- func (o *LiveStreamUpdatePayload) SetPublic(v bool)
- func (o *LiveStreamUpdatePayload) SetRestreams(v []RestreamsRequestObject)
- type LiveStreamsApiListRequest
- func (r LiveStreamsApiListRequest) CurrentPage(currentPage int32) LiveStreamsApiListRequest
- func (r LiveStreamsApiListRequest) Name(name string) LiveStreamsApiListRequest
- func (r LiveStreamsApiListRequest) PageSize(pageSize int32) LiveStreamsApiListRequest
- func (r LiveStreamsApiListRequest) SortBy(sortBy string) LiveStreamsApiListRequest
- func (r LiveStreamsApiListRequest) SortOrder(sortOrder string) LiveStreamsApiListRequest
- func (r LiveStreamsApiListRequest) StreamKey(streamKey string) LiveStreamsApiListRequest
- type LiveStreamsService
- func (s *LiveStreamsService) Create(liveStreamCreationPayload LiveStreamCreationPayload) (*LiveStream, error)
- func (s *LiveStreamsService) CreateWithContext(ctx context.Context, liveStreamCreationPayload LiveStreamCreationPayload) (*LiveStream, error)
- func (s *LiveStreamsService) Delete(liveStreamId string) error
- func (s *LiveStreamsService) DeleteThumbnail(liveStreamId string) (*LiveStream, error)
- func (s *LiveStreamsService) DeleteThumbnailWithContext(ctx context.Context, liveStreamId string) (*LiveStream, error)
- func (s *LiveStreamsService) DeleteWithContext(ctx context.Context, liveStreamId string) error
- func (s *LiveStreamsService) Get(liveStreamId string) (*LiveStream, error)
- func (s *LiveStreamsService) GetWithContext(ctx context.Context, liveStreamId string) (*LiveStream, error)
- func (s *LiveStreamsService) List(r LiveStreamsApiListRequest) (*LiveStreamListResponse, error)
- func (s *LiveStreamsService) ListWithContext(ctx context.Context, r LiveStreamsApiListRequest) (*LiveStreamListResponse, error)
- func (s *LiveStreamsService) Update(liveStreamId string, liveStreamUpdatePayload LiveStreamUpdatePayload) (*LiveStream, error)
- func (s *LiveStreamsService) UpdateWithContext(ctx context.Context, liveStreamId string, ...) (*LiveStream, error)
- func (s *LiveStreamsService) UploadThumbnail(liveStreamId string, fileName string, fileReader io.Reader) (*LiveStream, error)
- func (s *LiveStreamsService) UploadThumbnailFile(liveStreamId string, file *os.File) (*LiveStream, error)
- func (s *LiveStreamsService) UploadThumbnailFileWithContext(ctx context.Context, liveStreamId string, file *os.File) (*LiveStream, error)
- func (s *LiveStreamsService) UploadThumbnailWithContext(ctx context.Context, liveStreamId string, fileName string, ...) (*LiveStream, error)
- type LiveStreamsServiceI
- type Metadata
- func (o *Metadata) GetKey() string
- func (o *Metadata) GetKeyOk() (*string, bool)
- func (o *Metadata) GetValue() string
- func (o *Metadata) GetValueOk() (*string, bool)
- func (o *Metadata) HasKey() bool
- func (o *Metadata) HasValue() bool
- func (o *Metadata) SetKey(v string)
- func (o *Metadata) SetValue(v string)
- type Model403ErrorSchema
- func (o *Model403ErrorSchema) GetName() string
- func (o *Model403ErrorSchema) GetNameOk() (*string, bool)
- func (o *Model403ErrorSchema) GetStatus() int32
- func (o *Model403ErrorSchema) GetStatusOk() (*int32, bool)
- func (o *Model403ErrorSchema) GetTitle() string
- func (o *Model403ErrorSchema) GetTitleOk() (*string, bool)
- func (o *Model403ErrorSchema) GetType() string
- func (o *Model403ErrorSchema) GetTypeOk() (*string, bool)
- func (o *Model403ErrorSchema) HasName() bool
- func (o *Model403ErrorSchema) HasStatus() bool
- func (o *Model403ErrorSchema) HasTitle() bool
- func (o *Model403ErrorSchema) HasType() bool
- func (o *Model403ErrorSchema) SetName(v string)
- func (o *Model403ErrorSchema) SetNameNil()
- func (o *Model403ErrorSchema) SetStatus(v int32)
- func (o *Model403ErrorSchema) SetTitle(v string)
- func (o *Model403ErrorSchema) SetType(v string)
- func (o *Model403ErrorSchema) UnsetName()
- type NotFound
- func (o *NotFound) GetName() string
- func (o *NotFound) GetNameOk() (*string, bool)
- func (o *NotFound) GetStatus() int32
- func (o *NotFound) GetStatusOk() (*int32, bool)
- func (o *NotFound) GetTitle() string
- func (o *NotFound) GetTitleOk() (*string, bool)
- func (o *NotFound) GetType() string
- func (o *NotFound) GetTypeOk() (*string, bool)
- func (o *NotFound) HasName() bool
- func (o *NotFound) HasStatus() bool
- func (o *NotFound) HasTitle() bool
- func (o *NotFound) HasType() bool
- func (o *NotFound) SetName(v string)
- func (o *NotFound) SetStatus(v int32)
- func (o *NotFound) SetTitle(v string)
- func (o *NotFound) SetType(v string)
- type NullableAccessToken
- type NullableAdditionalBadRequestErrors
- type NullableAnalyticsData
- type NullableAnalyticsPlays400Error
- type NullableAnalyticsPlaysResponse
- type NullableAuthenticatePayload
- type NullableBadRequest
- type NullableBool
- type NullableBytesRange
- type NullableCaption
- type NullableCaptionsListResponse
- type NullableCaptionsUpdatePayload
- type NullableChapter
- type NullableChaptersListResponse
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLink
- type NullableLiveStream
- type NullableLiveStreamAssets
- type NullableLiveStreamCreationPayload
- type NullableLiveStreamListResponse
- type NullableLiveStreamSession
- type NullableLiveStreamSessionClient
- type NullableLiveStreamSessionDevice
- type NullableLiveStreamSessionLocation
- type NullableLiveStreamSessionReferrer
- type NullableLiveStreamSessionSession
- type NullableLiveStreamUpdatePayload
- type NullableMetadata
- type NullableModel403ErrorSchema
- type NullableNotFound
- type NullablePagination
- type NullablePaginationLink
- type NullablePlayerSessionEvent
- type NullablePlayerTheme
- type NullablePlayerThemeAssets
- type NullablePlayerThemeCreationPayload
- type NullablePlayerThemeUpdatePayload
- type NullablePlayerThemesListResponse
- type NullableQuality
- type NullableRefreshTokenPayload
- type NullableRestreamsRequestObject
- type NullableRestreamsResponseObject
- type NullableString
- type NullableTime
- type NullableTokenCreationPayload
- type NullableTokenListResponse
- type NullableUploadToken
- type NullableVideo
- type NullableVideoAssets
- type NullableVideoClip
- type NullableVideoCreationPayload
- type NullableVideoSession
- type NullableVideoSessionClient
- type NullableVideoSessionDevice
- type NullableVideoSessionLocation
- type NullableVideoSessionOs
- type NullableVideoSessionReferrer
- type NullableVideoSessionSession
- type NullableVideoSource
- type NullableVideoSourceLiveStream
- type NullableVideoSourceLiveStreamLink
- type NullableVideoStatus
- type NullableVideoStatusEncoding
- type NullableVideoStatusEncodingMetadata
- type NullableVideoStatusIngest
- type NullableVideoStatusIngestReceivedParts
- type NullableVideoThumbnailPickPayload
- type NullableVideoUpdatePayload
- type NullableVideoWatermark
- type NullableVideosListResponse
- type NullableWatermark
- type NullableWatermarksListResponse
- type NullableWebhook
- type NullableWebhooksCreationPayload
- type NullableWebhooksListResponse
- type Pagination
- func (o *Pagination) GetCurrentPage() int32
- func (o *Pagination) GetCurrentPageItems() int32
- func (o *Pagination) GetCurrentPageItemsOk() (*int32, bool)
- func (o *Pagination) GetCurrentPageOk() (*int32, bool)
- func (o *Pagination) GetItemsTotal() int32
- func (o *Pagination) GetItemsTotalOk() (*int32, bool)
- func (o *Pagination) GetLinks() []PaginationLink
- func (o *Pagination) GetLinksOk() (*[]PaginationLink, bool)
- func (o *Pagination) GetPageSize() int32
- func (o *Pagination) GetPageSizeOk() (*int32, bool)
- func (o *Pagination) GetPagesTotal() int32
- func (o *Pagination) GetPagesTotalOk() (*int32, bool)
- func (o *Pagination) HasCurrentPage() bool
- func (o *Pagination) HasCurrentPageItems() bool
- func (o *Pagination) HasItemsTotal() bool
- func (o *Pagination) HasPageSize() bool
- func (o *Pagination) HasPagesTotal() bool
- func (o *Pagination) SetCurrentPage(v int32)
- func (o *Pagination) SetCurrentPageItems(v int32)
- func (o *Pagination) SetItemsTotal(v int32)
- func (o *Pagination) SetLinks(v []PaginationLink)
- func (o *Pagination) SetPageSize(v int32)
- func (o *Pagination) SetPagesTotal(v int32)
- type PaginationLink
- func (o *PaginationLink) GetRel() string
- func (o *PaginationLink) GetRelOk() (*string, bool)
- func (o *PaginationLink) GetUri() string
- func (o *PaginationLink) GetUriOk() (*string, bool)
- func (o *PaginationLink) HasRel() bool
- func (o *PaginationLink) HasUri() bool
- func (o *PaginationLink) SetRel(v string)
- func (o *PaginationLink) SetUri(v string)
- type PlayerSessionEvent
- func (o *PlayerSessionEvent) GetAt() int32
- func (o *PlayerSessionEvent) GetAtOk() (*int32, bool)
- func (o *PlayerSessionEvent) GetEmittedAt() string
- func (o *PlayerSessionEvent) GetEmittedAtOk() (*string, bool)
- func (o *PlayerSessionEvent) GetFrom() int32
- func (o *PlayerSessionEvent) GetFromOk() (*int32, bool)
- func (o *PlayerSessionEvent) GetTo() int32
- func (o *PlayerSessionEvent) GetToOk() (*int32, bool)
- func (o *PlayerSessionEvent) GetType() string
- func (o *PlayerSessionEvent) GetTypeOk() (*string, bool)
- func (o *PlayerSessionEvent) HasAt() bool
- func (o *PlayerSessionEvent) HasEmittedAt() bool
- func (o *PlayerSessionEvent) HasFrom() bool
- func (o *PlayerSessionEvent) HasTo() bool
- func (o *PlayerSessionEvent) HasType() bool
- func (o *PlayerSessionEvent) SetAt(v int32)
- func (o *PlayerSessionEvent) SetEmittedAt(v string)
- func (o *PlayerSessionEvent) SetFrom(v int32)
- func (o *PlayerSessionEvent) SetTo(v int32)
- func (o *PlayerSessionEvent) SetType(v string)
- type PlayerTheme
- func (o *PlayerTheme) GetAssets() PlayerThemeAssets
- func (o *PlayerTheme) GetAssetsOk() (*PlayerThemeAssets, bool)
- func (o *PlayerTheme) GetBackgroundBottom() string
- func (o *PlayerTheme) GetBackgroundBottomOk() (*string, bool)
- func (o *PlayerTheme) GetBackgroundText() string
- func (o *PlayerTheme) GetBackgroundTextOk() (*string, bool)
- func (o *PlayerTheme) GetBackgroundTop() string
- func (o *PlayerTheme) GetBackgroundTopOk() (*string, bool)
- func (o *PlayerTheme) GetCreatedAt() string
- func (o *PlayerTheme) GetCreatedAtOk() (*string, bool)
- func (o *PlayerTheme) GetEnableApi() bool
- func (o *PlayerTheme) GetEnableApiOk() (*bool, bool)
- func (o *PlayerTheme) GetEnableControls() bool
- func (o *PlayerTheme) GetEnableControlsOk() (*bool, bool)
- func (o *PlayerTheme) GetForceAutoplay() bool
- func (o *PlayerTheme) GetForceAutoplayOk() (*bool, bool)
- func (o *PlayerTheme) GetForceLoop() bool
- func (o *PlayerTheme) GetForceLoopOk() (*bool, bool)
- func (o *PlayerTheme) GetHideTitle() bool
- func (o *PlayerTheme) GetHideTitleOk() (*bool, bool)
- func (o *PlayerTheme) GetLink() string
- func (o *PlayerTheme) GetLinkActive() string
- func (o *PlayerTheme) GetLinkActiveOk() (*string, bool)
- func (o *PlayerTheme) GetLinkHover() string
- func (o *PlayerTheme) GetLinkHoverOk() (*string, bool)
- func (o *PlayerTheme) GetLinkOk() (*string, bool)
- func (o *PlayerTheme) GetName() string
- func (o *PlayerTheme) GetNameOk() (*string, bool)
- func (o *PlayerTheme) GetPlayerId() string
- func (o *PlayerTheme) GetPlayerIdOk() (*string, bool)
- func (o *PlayerTheme) GetText() string
- func (o *PlayerTheme) GetTextOk() (*string, bool)
- func (o *PlayerTheme) GetTrackBackground() string
- func (o *PlayerTheme) GetTrackBackgroundOk() (*string, bool)
- func (o *PlayerTheme) GetTrackPlayed() string
- func (o *PlayerTheme) GetTrackPlayedOk() (*string, bool)
- func (o *PlayerTheme) GetTrackUnplayed() string
- func (o *PlayerTheme) GetTrackUnplayedOk() (*string, bool)
- func (o *PlayerTheme) GetUpdatedAt() string
- func (o *PlayerTheme) GetUpdatedAtOk() (*string, bool)
- func (o *PlayerTheme) HasAssets() bool
- func (o *PlayerTheme) HasBackgroundBottom() bool
- func (o *PlayerTheme) HasBackgroundText() bool
- func (o *PlayerTheme) HasBackgroundTop() bool
- func (o *PlayerTheme) HasCreatedAt() bool
- func (o *PlayerTheme) HasEnableApi() bool
- func (o *PlayerTheme) HasEnableControls() bool
- func (o *PlayerTheme) HasForceAutoplay() bool
- func (o *PlayerTheme) HasForceLoop() bool
- func (o *PlayerTheme) HasHideTitle() bool
- func (o *PlayerTheme) HasLink() bool
- func (o *PlayerTheme) HasLinkActive() bool
- func (o *PlayerTheme) HasLinkHover() bool
- func (o *PlayerTheme) HasName() bool
- func (o *PlayerTheme) HasText() bool
- func (o *PlayerTheme) HasTrackBackground() bool
- func (o *PlayerTheme) HasTrackPlayed() bool
- func (o *PlayerTheme) HasTrackUnplayed() bool
- func (o *PlayerTheme) HasUpdatedAt() bool
- func (o *PlayerTheme) SetAssets(v PlayerThemeAssets)
- func (o *PlayerTheme) SetBackgroundBottom(v string)
- func (o *PlayerTheme) SetBackgroundText(v string)
- func (o *PlayerTheme) SetBackgroundTop(v string)
- func (o *PlayerTheme) SetCreatedAt(v string)
- func (o *PlayerTheme) SetEnableApi(v bool)
- func (o *PlayerTheme) SetEnableControls(v bool)
- func (o *PlayerTheme) SetForceAutoplay(v bool)
- func (o *PlayerTheme) SetForceLoop(v bool)
- func (o *PlayerTheme) SetHideTitle(v bool)
- func (o *PlayerTheme) SetLink(v string)
- func (o *PlayerTheme) SetLinkActive(v string)
- func (o *PlayerTheme) SetLinkHover(v string)
- func (o *PlayerTheme) SetName(v string)
- func (o *PlayerTheme) SetPlayerId(v string)
- func (o *PlayerTheme) SetText(v string)
- func (o *PlayerTheme) SetTrackBackground(v string)
- func (o *PlayerTheme) SetTrackPlayed(v string)
- func (o *PlayerTheme) SetTrackUnplayed(v string)
- func (o *PlayerTheme) SetUpdatedAt(v string)
- type PlayerThemeAssets
- func (o *PlayerThemeAssets) GetLink() string
- func (o *PlayerThemeAssets) GetLinkOk() (*string, bool)
- func (o *PlayerThemeAssets) GetLogo() string
- func (o *PlayerThemeAssets) GetLogoOk() (*string, bool)
- func (o *PlayerThemeAssets) HasLink() bool
- func (o *PlayerThemeAssets) HasLogo() bool
- func (o *PlayerThemeAssets) SetLink(v string)
- func (o *PlayerThemeAssets) SetLogo(v string)
- type PlayerThemeCreationPayload
- func (o *PlayerThemeCreationPayload) GetBackgroundBottom() string
- func (o *PlayerThemeCreationPayload) GetBackgroundBottomOk() (*string, bool)
- func (o *PlayerThemeCreationPayload) GetBackgroundText() string
- func (o *PlayerThemeCreationPayload) GetBackgroundTextOk() (*string, bool)
- func (o *PlayerThemeCreationPayload) GetBackgroundTop() string
- func (o *PlayerThemeCreationPayload) GetBackgroundTopOk() (*string, bool)
- func (o *PlayerThemeCreationPayload) GetEnableApi() bool
- func (o *PlayerThemeCreationPayload) GetEnableApiOk() (*bool, bool)
- func (o *PlayerThemeCreationPayload) GetEnableControls() bool
- func (o *PlayerThemeCreationPayload) GetEnableControlsOk() (*bool, bool)
- func (o *PlayerThemeCreationPayload) GetForceAutoplay() bool
- func (o *PlayerThemeCreationPayload) GetForceAutoplayOk() (*bool, bool)
- func (o *PlayerThemeCreationPayload) GetForceLoop() bool
- func (o *PlayerThemeCreationPayload) GetForceLoopOk() (*bool, bool)
- func (o *PlayerThemeCreationPayload) GetHideTitle() bool
- func (o *PlayerThemeCreationPayload) GetHideTitleOk() (*bool, bool)
- func (o *PlayerThemeCreationPayload) GetLink() string
- func (o *PlayerThemeCreationPayload) GetLinkActive() string
- func (o *PlayerThemeCreationPayload) GetLinkActiveOk() (*string, bool)
- func (o *PlayerThemeCreationPayload) GetLinkHover() string
- func (o *PlayerThemeCreationPayload) GetLinkHoverOk() (*string, bool)
- func (o *PlayerThemeCreationPayload) GetLinkOk() (*string, bool)
- func (o *PlayerThemeCreationPayload) GetName() string
- func (o *PlayerThemeCreationPayload) GetNameOk() (*string, bool)
- func (o *PlayerThemeCreationPayload) GetText() string
- func (o *PlayerThemeCreationPayload) GetTextOk() (*string, bool)
- func (o *PlayerThemeCreationPayload) GetTrackBackground() string
- func (o *PlayerThemeCreationPayload) GetTrackBackgroundOk() (*string, bool)
- func (o *PlayerThemeCreationPayload) GetTrackPlayed() string
- func (o *PlayerThemeCreationPayload) GetTrackPlayedOk() (*string, bool)
- func (o *PlayerThemeCreationPayload) GetTrackUnplayed() string
- func (o *PlayerThemeCreationPayload) GetTrackUnplayedOk() (*string, bool)
- func (o *PlayerThemeCreationPayload) HasBackgroundBottom() bool
- func (o *PlayerThemeCreationPayload) HasBackgroundText() bool
- func (o *PlayerThemeCreationPayload) HasBackgroundTop() bool
- func (o *PlayerThemeCreationPayload) HasEnableApi() bool
- func (o *PlayerThemeCreationPayload) HasEnableControls() bool
- func (o *PlayerThemeCreationPayload) HasForceAutoplay() bool
- func (o *PlayerThemeCreationPayload) HasForceLoop() bool
- func (o *PlayerThemeCreationPayload) HasHideTitle() bool
- func (o *PlayerThemeCreationPayload) HasLink() bool
- func (o *PlayerThemeCreationPayload) HasLinkActive() bool
- func (o *PlayerThemeCreationPayload) HasLinkHover() bool
- func (o *PlayerThemeCreationPayload) HasName() bool
- func (o *PlayerThemeCreationPayload) HasText() bool
- func (o *PlayerThemeCreationPayload) HasTrackBackground() bool
- func (o *PlayerThemeCreationPayload) HasTrackPlayed() bool
- func (o *PlayerThemeCreationPayload) HasTrackUnplayed() bool
- func (o *PlayerThemeCreationPayload) SetBackgroundBottom(v string)
- func (o *PlayerThemeCreationPayload) SetBackgroundText(v string)
- func (o *PlayerThemeCreationPayload) SetBackgroundTop(v string)
- func (o *PlayerThemeCreationPayload) SetEnableApi(v bool)
- func (o *PlayerThemeCreationPayload) SetEnableControls(v bool)
- func (o *PlayerThemeCreationPayload) SetForceAutoplay(v bool)
- func (o *PlayerThemeCreationPayload) SetForceLoop(v bool)
- func (o *PlayerThemeCreationPayload) SetHideTitle(v bool)
- func (o *PlayerThemeCreationPayload) SetLink(v string)
- func (o *PlayerThemeCreationPayload) SetLinkActive(v string)
- func (o *PlayerThemeCreationPayload) SetLinkHover(v string)
- func (o *PlayerThemeCreationPayload) SetName(v string)
- func (o *PlayerThemeCreationPayload) SetText(v string)
- func (o *PlayerThemeCreationPayload) SetTrackBackground(v string)
- func (o *PlayerThemeCreationPayload) SetTrackPlayed(v string)
- func (o *PlayerThemeCreationPayload) SetTrackUnplayed(v string)
- type PlayerThemeUpdatePayload
- func (o *PlayerThemeUpdatePayload) GetBackgroundBottom() string
- func (o *PlayerThemeUpdatePayload) GetBackgroundBottomOk() (*string, bool)
- func (o *PlayerThemeUpdatePayload) GetBackgroundText() string
- func (o *PlayerThemeUpdatePayload) GetBackgroundTextOk() (*string, bool)
- func (o *PlayerThemeUpdatePayload) GetBackgroundTop() string
- func (o *PlayerThemeUpdatePayload) GetBackgroundTopOk() (*string, bool)
- func (o *PlayerThemeUpdatePayload) GetEnableApi() bool
- func (o *PlayerThemeUpdatePayload) GetEnableApiOk() (*bool, bool)
- func (o *PlayerThemeUpdatePayload) GetEnableControls() bool
- func (o *PlayerThemeUpdatePayload) GetEnableControlsOk() (*bool, bool)
- func (o *PlayerThemeUpdatePayload) GetForceAutoplay() bool
- func (o *PlayerThemeUpdatePayload) GetForceAutoplayOk() (*bool, bool)
- func (o *PlayerThemeUpdatePayload) GetForceLoop() bool
- func (o *PlayerThemeUpdatePayload) GetForceLoopOk() (*bool, bool)
- func (o *PlayerThemeUpdatePayload) GetHideTitle() bool
- func (o *PlayerThemeUpdatePayload) GetHideTitleOk() (*bool, bool)
- func (o *PlayerThemeUpdatePayload) GetLink() string
- func (o *PlayerThemeUpdatePayload) GetLinkActive() string
- func (o *PlayerThemeUpdatePayload) GetLinkActiveOk() (*string, bool)
- func (o *PlayerThemeUpdatePayload) GetLinkHover() string
- func (o *PlayerThemeUpdatePayload) GetLinkHoverOk() (*string, bool)
- func (o *PlayerThemeUpdatePayload) GetLinkOk() (*string, bool)
- func (o *PlayerThemeUpdatePayload) GetName() string
- func (o *PlayerThemeUpdatePayload) GetNameOk() (*string, bool)
- func (o *PlayerThemeUpdatePayload) GetText() string
- func (o *PlayerThemeUpdatePayload) GetTextOk() (*string, bool)
- func (o *PlayerThemeUpdatePayload) GetTrackBackground() string
- func (o *PlayerThemeUpdatePayload) GetTrackBackgroundOk() (*string, bool)
- func (o *PlayerThemeUpdatePayload) GetTrackPlayed() string
- func (o *PlayerThemeUpdatePayload) GetTrackPlayedOk() (*string, bool)
- func (o *PlayerThemeUpdatePayload) GetTrackUnplayed() string
- func (o *PlayerThemeUpdatePayload) GetTrackUnplayedOk() (*string, bool)
- func (o *PlayerThemeUpdatePayload) HasBackgroundBottom() bool
- func (o *PlayerThemeUpdatePayload) HasBackgroundText() bool
- func (o *PlayerThemeUpdatePayload) HasBackgroundTop() bool
- func (o *PlayerThemeUpdatePayload) HasEnableApi() bool
- func (o *PlayerThemeUpdatePayload) HasEnableControls() bool
- func (o *PlayerThemeUpdatePayload) HasForceAutoplay() bool
- func (o *PlayerThemeUpdatePayload) HasForceLoop() bool
- func (o *PlayerThemeUpdatePayload) HasHideTitle() bool
- func (o *PlayerThemeUpdatePayload) HasLink() bool
- func (o *PlayerThemeUpdatePayload) HasLinkActive() bool
- func (o *PlayerThemeUpdatePayload) HasLinkHover() bool
- func (o *PlayerThemeUpdatePayload) HasName() bool
- func (o *PlayerThemeUpdatePayload) HasText() bool
- func (o *PlayerThemeUpdatePayload) HasTrackBackground() bool
- func (o *PlayerThemeUpdatePayload) HasTrackPlayed() bool
- func (o *PlayerThemeUpdatePayload) HasTrackUnplayed() bool
- func (o *PlayerThemeUpdatePayload) SetBackgroundBottom(v string)
- func (o *PlayerThemeUpdatePayload) SetBackgroundText(v string)
- func (o *PlayerThemeUpdatePayload) SetBackgroundTop(v string)
- func (o *PlayerThemeUpdatePayload) SetEnableApi(v bool)
- func (o *PlayerThemeUpdatePayload) SetEnableControls(v bool)
- func (o *PlayerThemeUpdatePayload) SetForceAutoplay(v bool)
- func (o *PlayerThemeUpdatePayload) SetForceLoop(v bool)
- func (o *PlayerThemeUpdatePayload) SetHideTitle(v bool)
- func (o *PlayerThemeUpdatePayload) SetLink(v string)
- func (o *PlayerThemeUpdatePayload) SetLinkActive(v string)
- func (o *PlayerThemeUpdatePayload) SetLinkHover(v string)
- func (o *PlayerThemeUpdatePayload) SetName(v string)
- func (o *PlayerThemeUpdatePayload) SetText(v string)
- func (o *PlayerThemeUpdatePayload) SetTrackBackground(v string)
- func (o *PlayerThemeUpdatePayload) SetTrackPlayed(v string)
- func (o *PlayerThemeUpdatePayload) SetTrackUnplayed(v string)
- type PlayerThemesApiListRequest
- func (r PlayerThemesApiListRequest) CurrentPage(currentPage int32) PlayerThemesApiListRequest
- func (r PlayerThemesApiListRequest) PageSize(pageSize int32) PlayerThemesApiListRequest
- func (r PlayerThemesApiListRequest) SortBy(sortBy string) PlayerThemesApiListRequest
- func (r PlayerThemesApiListRequest) SortOrder(sortOrder string) PlayerThemesApiListRequest
- type PlayerThemesListResponse
- func (o *PlayerThemesListResponse) GetData() []PlayerTheme
- func (o *PlayerThemesListResponse) GetDataOk() (*[]PlayerTheme, bool)
- func (o *PlayerThemesListResponse) GetPagination() Pagination
- func (o *PlayerThemesListResponse) GetPaginationOk() (*Pagination, bool)
- func (o *PlayerThemesListResponse) SetData(v []PlayerTheme)
- func (o *PlayerThemesListResponse) SetPagination(v Pagination)
- type PlayerThemesService
- func (s *PlayerThemesService) Create(playerThemeCreationPayload PlayerThemeCreationPayload) (*PlayerTheme, error)
- func (s *PlayerThemesService) CreateWithContext(ctx context.Context, playerThemeCreationPayload PlayerThemeCreationPayload) (*PlayerTheme, error)
- func (s *PlayerThemesService) Delete(playerId string) error
- func (s *PlayerThemesService) DeleteLogo(playerId string) error
- func (s *PlayerThemesService) DeleteLogoWithContext(ctx context.Context, playerId string) error
- func (s *PlayerThemesService) DeleteWithContext(ctx context.Context, playerId string) error
- func (s *PlayerThemesService) Get(playerId string) (*PlayerTheme, error)
- func (s *PlayerThemesService) GetWithContext(ctx context.Context, playerId string) (*PlayerTheme, error)
- func (s *PlayerThemesService) List(r PlayerThemesApiListRequest) (*PlayerThemesListResponse, error)
- func (s *PlayerThemesService) ListWithContext(ctx context.Context, r PlayerThemesApiListRequest) (*PlayerThemesListResponse, error)
- func (s *PlayerThemesService) Update(playerId string, playerThemeUpdatePayload PlayerThemeUpdatePayload) (*PlayerTheme, error)
- func (s *PlayerThemesService) UpdateWithContext(ctx context.Context, playerId string, ...) (*PlayerTheme, error)
- func (s *PlayerThemesService) UploadLogo(playerId string, link *string, fileName string, fileReader io.Reader) (*PlayerTheme, error)
- func (s *PlayerThemesService) UploadLogoFile(playerId string, file *os.File, link *string) (*PlayerTheme, error)
- func (s *PlayerThemesService) UploadLogoFileWithContext(ctx context.Context, playerId string, file *os.File, link *string) (*PlayerTheme, error)
- func (s *PlayerThemesService) UploadLogoWithContext(ctx context.Context, playerId string, link *string, fileName string, ...) (*PlayerTheme, error)
- type PlayerThemesServiceI
- type Quality
- func (o *Quality) GetQuality() string
- func (o *Quality) GetQualityOk() (*string, bool)
- func (o *Quality) GetStatus() string
- func (o *Quality) GetStatusOk() (*string, bool)
- func (o *Quality) GetType() string
- func (o *Quality) GetTypeOk() (*string, bool)
- func (o *Quality) HasQuality() bool
- func (o *Quality) HasStatus() bool
- func (o *Quality) HasType() bool
- func (o *Quality) SetQuality(v string)
- func (o *Quality) SetStatus(v string)
- func (o *Quality) SetType(v string)
- type RefreshTokenPayload
- type RestreamsRequestObject
- func (o *RestreamsRequestObject) GetName() string
- func (o *RestreamsRequestObject) GetNameOk() (*string, bool)
- func (o *RestreamsRequestObject) GetServerUrl() string
- func (o *RestreamsRequestObject) GetServerUrlOk() (*string, bool)
- func (o *RestreamsRequestObject) GetStreamKey() string
- func (o *RestreamsRequestObject) GetStreamKeyOk() (*string, bool)
- func (o *RestreamsRequestObject) SetName(v string)
- func (o *RestreamsRequestObject) SetServerUrl(v string)
- func (o *RestreamsRequestObject) SetStreamKey(v string)
- type RestreamsResponseObject
- func (o *RestreamsResponseObject) GetName() string
- func (o *RestreamsResponseObject) GetNameOk() (*string, bool)
- func (o *RestreamsResponseObject) GetServerUrl() string
- func (o *RestreamsResponseObject) GetServerUrlOk() (*string, bool)
- func (o *RestreamsResponseObject) GetStreamKey() string
- func (o *RestreamsResponseObject) GetStreamKeyOk() (*string, bool)
- func (o *RestreamsResponseObject) HasName() bool
- func (o *RestreamsResponseObject) HasServerUrl() bool
- func (o *RestreamsResponseObject) HasStreamKey() bool
- func (o *RestreamsResponseObject) SetName(v string)
- func (o *RestreamsResponseObject) SetServerUrl(v string)
- func (o *RestreamsResponseObject) SetStreamKey(v string)
- type Token
- type TokenCreationPayload
- type TokenListResponse
- func (o *TokenListResponse) GetData() []UploadToken
- func (o *TokenListResponse) GetDataOk() (*[]UploadToken, bool)
- func (o *TokenListResponse) GetPagination() Pagination
- func (o *TokenListResponse) GetPaginationOk() (*Pagination, bool)
- func (o *TokenListResponse) SetData(v []UploadToken)
- func (o *TokenListResponse) SetPagination(v Pagination)
- type UploadStream
- func (s *UploadStream) UploadAPart(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64, ...) (*Video, error)
- func (s *UploadStream) UploadLastPart(fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
- func (s *UploadStream) UploadLastPartFile(file *os.File) (*Video, error)
- func (s *UploadStream) UploadLastPartWithContext(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
- func (s *UploadStream) UploadLastPartWithContextFile(ctx context.Context, file *os.File) (*Video, error)
- func (s *UploadStream) UploadPart(fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
- func (s *UploadStream) UploadPartFile(file *os.File) (*Video, error)
- func (s *UploadStream) UploadPartWithContext(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
- func (s *UploadStream) UploadPartWithContextFile(ctx context.Context, file *os.File) (*Video, error)
- type UploadToken
- func (o *UploadToken) GetCreatedAt() string
- func (o *UploadToken) GetCreatedAtOk() (*string, bool)
- func (o *UploadToken) GetExpiresAt() string
- func (o *UploadToken) GetExpiresAtOk() (*string, bool)
- func (o *UploadToken) GetToken() string
- func (o *UploadToken) GetTokenOk() (*string, bool)
- func (o *UploadToken) GetTtl() int32
- func (o *UploadToken) GetTtlOk() (*int32, bool)
- func (o *UploadToken) HasCreatedAt() bool
- func (o *UploadToken) HasExpiresAt() bool
- func (o *UploadToken) HasToken() bool
- func (o *UploadToken) HasTtl() bool
- func (o *UploadToken) SetCreatedAt(v string)
- func (o *UploadToken) SetExpiresAt(v string)
- func (o *UploadToken) SetExpiresAtNil()
- func (o *UploadToken) SetToken(v string)
- func (o *UploadToken) SetTtl(v int32)
- func (o *UploadToken) UnsetExpiresAt()
- type UploadTokensApiListRequest
- func (r UploadTokensApiListRequest) CurrentPage(currentPage int32) UploadTokensApiListRequest
- func (r UploadTokensApiListRequest) PageSize(pageSize int32) UploadTokensApiListRequest
- func (r UploadTokensApiListRequest) SortBy(sortBy string) UploadTokensApiListRequest
- func (r UploadTokensApiListRequest) SortOrder(sortOrder string) UploadTokensApiListRequest
- type UploadTokensService
- func (s *UploadTokensService) CreateToken(tokenCreationPayload TokenCreationPayload) (*UploadToken, error)
- func (s *UploadTokensService) CreateTokenWithContext(ctx context.Context, tokenCreationPayload TokenCreationPayload) (*UploadToken, error)
- func (s *UploadTokensService) DeleteToken(uploadToken string) error
- func (s *UploadTokensService) DeleteTokenWithContext(ctx context.Context, uploadToken string) error
- func (s *UploadTokensService) GetToken(uploadToken string) (*UploadToken, error)
- func (s *UploadTokensService) GetTokenWithContext(ctx context.Context, uploadToken string) (*UploadToken, error)
- func (s *UploadTokensService) List(r UploadTokensApiListRequest) (*TokenListResponse, error)
- func (s *UploadTokensService) ListWithContext(ctx context.Context, r UploadTokensApiListRequest) (*TokenListResponse, error)
- type UploadTokensServiceI
- type UploadWithUploadTokenStream
- func (s *UploadWithUploadTokenStream) UploadAPart(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64, ...) (*Video, error)
- func (s *UploadWithUploadTokenStream) UploadLastPart(fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
- func (s *UploadWithUploadTokenStream) UploadLastPartFile(file *os.File) (*Video, error)
- func (s *UploadWithUploadTokenStream) UploadLastPartWithContext(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
- func (s *UploadWithUploadTokenStream) UploadLastPartWithContextFile(ctx context.Context, file *os.File) (*Video, error)
- func (s *UploadWithUploadTokenStream) UploadPart(fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
- func (s *UploadWithUploadTokenStream) UploadPartFile(file *os.File) (*Video, error)
- func (s *UploadWithUploadTokenStream) UploadPartWithContext(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
- func (s *UploadWithUploadTokenStream) UploadPartWithContextFile(ctx context.Context, file *os.File) (*Video, error)
- type Video
- func (o *Video) GetAssets() VideoAssets
- func (o *Video) GetAssetsOk() (*VideoAssets, bool)
- func (o *Video) GetCreatedAt() string
- func (o *Video) GetCreatedAtOk() (*string, bool)
- func (o *Video) GetDescription() string
- func (o *Video) GetDescriptionOk() (*string, bool)
- func (o *Video) GetMetadata() []Metadata
- func (o *Video) GetMetadataOk() (*[]Metadata, bool)
- func (o *Video) GetMp4Support() bool
- func (o *Video) GetMp4SupportOk() (*bool, bool)
- func (o *Video) GetPanoramic() bool
- func (o *Video) GetPanoramicOk() (*bool, bool)
- func (o *Video) GetPlayerId() string
- func (o *Video) GetPlayerIdOk() (*string, bool)
- func (o *Video) GetPublic() bool
- func (o *Video) GetPublicOk() (*bool, bool)
- func (o *Video) GetPublishedAt() string
- func (o *Video) GetPublishedAtOk() (*string, bool)
- func (o *Video) GetSource() VideoSource
- func (o *Video) GetSourceOk() (*VideoSource, bool)
- func (o *Video) GetTags() []string
- func (o *Video) GetTagsOk() (*[]string, bool)
- func (o *Video) GetTitle() string
- func (o *Video) GetTitleOk() (*string, bool)
- func (o *Video) GetUpdatedAt() string
- func (o *Video) GetUpdatedAtOk() (*string, bool)
- func (o *Video) GetVideoId() string
- func (o *Video) GetVideoIdOk() (*string, bool)
- func (o *Video) HasAssets() bool
- func (o *Video) HasCreatedAt() bool
- func (o *Video) HasDescription() bool
- func (o *Video) HasMetadata() bool
- func (o *Video) HasMp4Support() bool
- func (o *Video) HasPanoramic() bool
- func (o *Video) HasPlayerId() bool
- func (o *Video) HasPublic() bool
- func (o *Video) HasPublishedAt() bool
- func (o *Video) HasSource() bool
- func (o *Video) HasTags() bool
- func (o *Video) HasTitle() bool
- func (o *Video) HasUpdatedAt() bool
- func (o *Video) SetAssets(v VideoAssets)
- func (o *Video) SetCreatedAt(v string)
- func (o *Video) SetDescription(v string)
- func (o *Video) SetMetadata(v []Metadata)
- func (o *Video) SetMp4Support(v bool)
- func (o *Video) SetPanoramic(v bool)
- func (o *Video) SetPlayerId(v string)
- func (o *Video) SetPublic(v bool)
- func (o *Video) SetPublishedAt(v string)
- func (o *Video) SetSource(v VideoSource)
- func (o *Video) SetTags(v []string)
- func (o *Video) SetTitle(v string)
- func (o *Video) SetUpdatedAt(v string)
- func (o *Video) SetVideoId(v string)
- type VideoAssets
- func (o *VideoAssets) GetHls() string
- func (o *VideoAssets) GetHlsOk() (*string, bool)
- func (o *VideoAssets) GetIframe() string
- func (o *VideoAssets) GetIframeOk() (*string, bool)
- func (o *VideoAssets) GetMp4() string
- func (o *VideoAssets) GetMp4Ok() (*string, bool)
- func (o *VideoAssets) GetPlayer() string
- func (o *VideoAssets) GetPlayerOk() (*string, bool)
- func (o *VideoAssets) GetThumbnail() string
- func (o *VideoAssets) GetThumbnailOk() (*string, bool)
- func (o *VideoAssets) HasHls() bool
- func (o *VideoAssets) HasIframe() bool
- func (o *VideoAssets) HasMp4() bool
- func (o *VideoAssets) HasPlayer() bool
- func (o *VideoAssets) HasThumbnail() bool
- func (o *VideoAssets) SetHls(v string)
- func (o *VideoAssets) SetIframe(v string)
- func (o *VideoAssets) SetMp4(v string)
- func (o *VideoAssets) SetPlayer(v string)
- func (o *VideoAssets) SetThumbnail(v string)
- type VideoClip
- func (o *VideoClip) GetEndTimecode() string
- func (o *VideoClip) GetEndTimecodeOk() (*string, bool)
- func (o *VideoClip) GetStartTimecode() string
- func (o *VideoClip) GetStartTimecodeOk() (*string, bool)
- func (o *VideoClip) HasEndTimecode() bool
- func (o *VideoClip) HasStartTimecode() bool
- func (o *VideoClip) SetEndTimecode(v string)
- func (o *VideoClip) SetStartTimecode(v string)
- type VideoCreationPayload
- func (o *VideoCreationPayload) GetClip() VideoClip
- func (o *VideoCreationPayload) GetClipOk() (*VideoClip, bool)
- func (o *VideoCreationPayload) GetDescription() string
- func (o *VideoCreationPayload) GetDescriptionOk() (*string, bool)
- func (o *VideoCreationPayload) GetMetadata() []Metadata
- func (o *VideoCreationPayload) GetMetadataOk() (*[]Metadata, bool)
- func (o *VideoCreationPayload) GetMp4Support() bool
- func (o *VideoCreationPayload) GetMp4SupportOk() (*bool, bool)
- func (o *VideoCreationPayload) GetPanoramic() bool
- func (o *VideoCreationPayload) GetPanoramicOk() (*bool, bool)
- func (o *VideoCreationPayload) GetPlayerId() string
- func (o *VideoCreationPayload) GetPlayerIdOk() (*string, bool)
- func (o *VideoCreationPayload) GetPublic() bool
- func (o *VideoCreationPayload) GetPublicOk() (*bool, bool)
- func (o *VideoCreationPayload) GetSource() string
- func (o *VideoCreationPayload) GetSourceOk() (*string, bool)
- func (o *VideoCreationPayload) GetTags() []string
- func (o *VideoCreationPayload) GetTagsOk() (*[]string, bool)
- func (o *VideoCreationPayload) GetTitle() string
- func (o *VideoCreationPayload) GetTitleOk() (*string, bool)
- func (o *VideoCreationPayload) GetWatermark() VideoWatermark
- func (o *VideoCreationPayload) GetWatermarkOk() (*VideoWatermark, bool)
- func (o *VideoCreationPayload) HasClip() bool
- func (o *VideoCreationPayload) HasDescription() bool
- func (o *VideoCreationPayload) HasMetadata() bool
- func (o *VideoCreationPayload) HasMp4Support() bool
- func (o *VideoCreationPayload) HasPanoramic() bool
- func (o *VideoCreationPayload) HasPlayerId() bool
- func (o *VideoCreationPayload) HasPublic() bool
- func (o *VideoCreationPayload) HasSource() bool
- func (o *VideoCreationPayload) HasTags() bool
- func (o *VideoCreationPayload) HasWatermark() bool
- func (o *VideoCreationPayload) SetClip(v VideoClip)
- func (o *VideoCreationPayload) SetDescription(v string)
- func (o *VideoCreationPayload) SetMetadata(v []Metadata)
- func (o *VideoCreationPayload) SetMp4Support(v bool)
- func (o *VideoCreationPayload) SetPanoramic(v bool)
- func (o *VideoCreationPayload) SetPlayerId(v string)
- func (o *VideoCreationPayload) SetPublic(v bool)
- func (o *VideoCreationPayload) SetSource(v string)
- func (o *VideoCreationPayload) SetTags(v []string)
- func (o *VideoCreationPayload) SetTitle(v string)
- func (o *VideoCreationPayload) SetWatermark(v VideoWatermark)
- type VideoSession
- func (o *VideoSession) GetClient() VideoSessionClient
- func (o *VideoSession) GetClientOk() (*VideoSessionClient, bool)
- func (o *VideoSession) GetDevice() VideoSessionDevice
- func (o *VideoSession) GetDeviceOk() (*VideoSessionDevice, bool)
- func (o *VideoSession) GetLocation() VideoSessionLocation
- func (o *VideoSession) GetLocationOk() (*VideoSessionLocation, bool)
- func (o *VideoSession) GetOs() VideoSessionOs
- func (o *VideoSession) GetOsOk() (*VideoSessionOs, bool)
- func (o *VideoSession) GetReferrer() VideoSessionReferrer
- func (o *VideoSession) GetReferrerOk() (*VideoSessionReferrer, bool)
- func (o *VideoSession) GetSession() VideoSessionSession
- func (o *VideoSession) GetSessionOk() (*VideoSessionSession, bool)
- func (o *VideoSession) HasClient() bool
- func (o *VideoSession) HasDevice() bool
- func (o *VideoSession) HasLocation() bool
- func (o *VideoSession) HasOs() bool
- func (o *VideoSession) HasReferrer() bool
- func (o *VideoSession) HasSession() bool
- func (o *VideoSession) SetClient(v VideoSessionClient)
- func (o *VideoSession) SetDevice(v VideoSessionDevice)
- func (o *VideoSession) SetLocation(v VideoSessionLocation)
- func (o *VideoSession) SetOs(v VideoSessionOs)
- func (o *VideoSession) SetReferrer(v VideoSessionReferrer)
- func (o *VideoSession) SetSession(v VideoSessionSession)
- type VideoSessionClient
- func (o *VideoSessionClient) GetName() string
- func (o *VideoSessionClient) GetNameOk() (*string, bool)
- func (o *VideoSessionClient) GetType() string
- func (o *VideoSessionClient) GetTypeOk() (*string, bool)
- func (o *VideoSessionClient) GetVersion() string
- func (o *VideoSessionClient) GetVersionOk() (*string, bool)
- func (o *VideoSessionClient) HasName() bool
- func (o *VideoSessionClient) HasType() bool
- func (o *VideoSessionClient) HasVersion() bool
- func (o *VideoSessionClient) SetName(v string)
- func (o *VideoSessionClient) SetType(v string)
- func (o *VideoSessionClient) SetVersion(v string)
- type VideoSessionDevice
- func (o *VideoSessionDevice) GetModel() string
- func (o *VideoSessionDevice) GetModelOk() (*string, bool)
- func (o *VideoSessionDevice) GetType() string
- func (o *VideoSessionDevice) GetTypeOk() (*string, bool)
- func (o *VideoSessionDevice) GetVendor() string
- func (o *VideoSessionDevice) GetVendorOk() (*string, bool)
- func (o *VideoSessionDevice) HasModel() bool
- func (o *VideoSessionDevice) HasType() bool
- func (o *VideoSessionDevice) HasVendor() bool
- func (o *VideoSessionDevice) SetModel(v string)
- func (o *VideoSessionDevice) SetType(v string)
- func (o *VideoSessionDevice) SetVendor(v string)
- type VideoSessionLocation
- func (o *VideoSessionLocation) GetCity() string
- func (o *VideoSessionLocation) GetCityOk() (*string, bool)
- func (o *VideoSessionLocation) GetCountry() string
- func (o *VideoSessionLocation) GetCountryOk() (*string, bool)
- func (o *VideoSessionLocation) HasCity() bool
- func (o *VideoSessionLocation) HasCountry() bool
- func (o *VideoSessionLocation) SetCity(v string)
- func (o *VideoSessionLocation) SetCityNil()
- func (o *VideoSessionLocation) SetCountry(v string)
- func (o *VideoSessionLocation) UnsetCity()
- type VideoSessionOs
- func (o *VideoSessionOs) GetName() string
- func (o *VideoSessionOs) GetNameOk() (*string, bool)
- func (o *VideoSessionOs) GetShortname() string
- func (o *VideoSessionOs) GetShortnameOk() (*string, bool)
- func (o *VideoSessionOs) GetVersion() string
- func (o *VideoSessionOs) GetVersionOk() (*string, bool)
- func (o *VideoSessionOs) HasName() bool
- func (o *VideoSessionOs) HasShortname() bool
- func (o *VideoSessionOs) HasVersion() bool
- func (o *VideoSessionOs) SetName(v string)
- func (o *VideoSessionOs) SetShortname(v string)
- func (o *VideoSessionOs) SetVersion(v string)
- type VideoSessionReferrer
- func (o *VideoSessionReferrer) GetMedium() string
- func (o *VideoSessionReferrer) GetMediumOk() (*string, bool)
- func (o *VideoSessionReferrer) GetSearchTerm() string
- func (o *VideoSessionReferrer) GetSearchTermOk() (*string, bool)
- func (o *VideoSessionReferrer) GetSource() string
- func (o *VideoSessionReferrer) GetSourceOk() (*string, bool)
- func (o *VideoSessionReferrer) GetUrl() string
- func (o *VideoSessionReferrer) GetUrlOk() (*string, bool)
- func (o *VideoSessionReferrer) HasMedium() bool
- func (o *VideoSessionReferrer) HasSearchTerm() bool
- func (o *VideoSessionReferrer) HasSource() bool
- func (o *VideoSessionReferrer) HasUrl() bool
- func (o *VideoSessionReferrer) SetMedium(v string)
- func (o *VideoSessionReferrer) SetSearchTerm(v string)
- func (o *VideoSessionReferrer) SetSource(v string)
- func (o *VideoSessionReferrer) SetUrl(v string)
- func (o *VideoSessionReferrer) SetUrlNil()
- func (o *VideoSessionReferrer) UnsetUrl()
- type VideoSessionSession
- func (o *VideoSessionSession) GetEndedAt() string
- func (o *VideoSessionSession) GetEndedAtOk() (*string, bool)
- func (o *VideoSessionSession) GetLoadedAt() string
- func (o *VideoSessionSession) GetLoadedAtOk() (*string, bool)
- func (o *VideoSessionSession) GetMetadata() []Metadata
- func (o *VideoSessionSession) GetMetadataOk() (*[]Metadata, bool)
- func (o *VideoSessionSession) GetSessionId() string
- func (o *VideoSessionSession) GetSessionIdOk() (*string, bool)
- func (o *VideoSessionSession) HasEndedAt() bool
- func (o *VideoSessionSession) HasLoadedAt() bool
- func (o *VideoSessionSession) HasMetadata() bool
- func (o *VideoSessionSession) HasSessionId() bool
- func (o *VideoSessionSession) SetEndedAt(v string)
- func (o *VideoSessionSession) SetLoadedAt(v string)
- func (o *VideoSessionSession) SetMetadata(v []Metadata)
- func (o *VideoSessionSession) SetSessionId(v string)
- type VideoSource
- func (o *VideoSource) GetLiveStream() VideoSourceLiveStream
- func (o *VideoSource) GetLiveStreamOk() (*VideoSourceLiveStream, bool)
- func (o *VideoSource) GetType() string
- func (o *VideoSource) GetTypeOk() (*string, bool)
- func (o *VideoSource) GetUri() string
- func (o *VideoSource) GetUriOk() (*string, bool)
- func (o *VideoSource) HasLiveStream() bool
- func (o *VideoSource) HasType() bool
- func (o *VideoSource) HasUri() bool
- func (o *VideoSource) SetLiveStream(v VideoSourceLiveStream)
- func (o *VideoSource) SetType(v string)
- func (o *VideoSource) SetUri(v string)
- type VideoSourceLiveStream
- func (o *VideoSourceLiveStream) GetLinks() []VideoSourceLiveStreamLink
- func (o *VideoSourceLiveStream) GetLinksOk() (*[]VideoSourceLiveStreamLink, bool)
- func (o *VideoSourceLiveStream) GetLiveStreamId() string
- func (o *VideoSourceLiveStream) GetLiveStreamIdOk() (*string, bool)
- func (o *VideoSourceLiveStream) HasLinks() bool
- func (o *VideoSourceLiveStream) HasLiveStreamId() bool
- func (o *VideoSourceLiveStream) SetLinks(v []VideoSourceLiveStreamLink)
- func (o *VideoSourceLiveStream) SetLiveStreamId(v string)
- type VideoSourceLiveStreamLink
- func (o *VideoSourceLiveStreamLink) GetRel() string
- func (o *VideoSourceLiveStreamLink) GetRelOk() (*string, bool)
- func (o *VideoSourceLiveStreamLink) GetUri() string
- func (o *VideoSourceLiveStreamLink) GetUriOk() (*string, bool)
- func (o *VideoSourceLiveStreamLink) HasRel() bool
- func (o *VideoSourceLiveStreamLink) HasUri() bool
- func (o *VideoSourceLiveStreamLink) SetRel(v string)
- func (o *VideoSourceLiveStreamLink) SetUri(v string)
- type VideoStatus
- func (o *VideoStatus) GetEncoding() VideoStatusEncoding
- func (o *VideoStatus) GetEncodingOk() (*VideoStatusEncoding, bool)
- func (o *VideoStatus) GetIngest() VideoStatusIngest
- func (o *VideoStatus) GetIngestOk() (*VideoStatusIngest, bool)
- func (o *VideoStatus) HasEncoding() bool
- func (o *VideoStatus) HasIngest() bool
- func (o *VideoStatus) SetEncoding(v VideoStatusEncoding)
- func (o *VideoStatus) SetIngest(v VideoStatusIngest)
- type VideoStatusEncoding
- func (o *VideoStatusEncoding) GetMetadata() VideoStatusEncodingMetadata
- func (o *VideoStatusEncoding) GetMetadataOk() (*VideoStatusEncodingMetadata, bool)
- func (o *VideoStatusEncoding) GetPlayable() bool
- func (o *VideoStatusEncoding) GetPlayableOk() (*bool, bool)
- func (o *VideoStatusEncoding) GetQualities() []Quality
- func (o *VideoStatusEncoding) GetQualitiesOk() (*[]Quality, bool)
- func (o *VideoStatusEncoding) HasMetadata() bool
- func (o *VideoStatusEncoding) HasPlayable() bool
- func (o *VideoStatusEncoding) HasQualities() bool
- func (o *VideoStatusEncoding) SetMetadata(v VideoStatusEncodingMetadata)
- func (o *VideoStatusEncoding) SetPlayable(v bool)
- func (o *VideoStatusEncoding) SetQualities(v []Quality)
- type VideoStatusEncodingMetadata
- func (o *VideoStatusEncodingMetadata) GetAspectRatio() string
- func (o *VideoStatusEncodingMetadata) GetAspectRatioOk() (*string, bool)
- func (o *VideoStatusEncodingMetadata) GetAudioCodec() string
- func (o *VideoStatusEncodingMetadata) GetAudioCodecOk() (*string, bool)
- func (o *VideoStatusEncodingMetadata) GetBitrate() float32
- func (o *VideoStatusEncodingMetadata) GetBitrateOk() (*float32, bool)
- func (o *VideoStatusEncodingMetadata) GetDuration() int32
- func (o *VideoStatusEncodingMetadata) GetDurationOk() (*int32, bool)
- func (o *VideoStatusEncodingMetadata) GetFramerate() int32
- func (o *VideoStatusEncodingMetadata) GetFramerateOk() (*int32, bool)
- func (o *VideoStatusEncodingMetadata) GetHeight() int32
- func (o *VideoStatusEncodingMetadata) GetHeightOk() (*int32, bool)
- func (o *VideoStatusEncodingMetadata) GetSamplerate() int32
- func (o *VideoStatusEncodingMetadata) GetSamplerateOk() (*int32, bool)
- func (o *VideoStatusEncodingMetadata) GetVideoCodec() string
- func (o *VideoStatusEncodingMetadata) GetVideoCodecOk() (*string, bool)
- func (o *VideoStatusEncodingMetadata) GetWidth() int32
- func (o *VideoStatusEncodingMetadata) GetWidthOk() (*int32, bool)
- func (o *VideoStatusEncodingMetadata) HasAspectRatio() bool
- func (o *VideoStatusEncodingMetadata) HasAudioCodec() bool
- func (o *VideoStatusEncodingMetadata) HasBitrate() bool
- func (o *VideoStatusEncodingMetadata) HasDuration() bool
- func (o *VideoStatusEncodingMetadata) HasFramerate() bool
- func (o *VideoStatusEncodingMetadata) HasHeight() bool
- func (o *VideoStatusEncodingMetadata) HasSamplerate() bool
- func (o *VideoStatusEncodingMetadata) HasVideoCodec() bool
- func (o *VideoStatusEncodingMetadata) HasWidth() bool
- func (o *VideoStatusEncodingMetadata) SetAspectRatio(v string)
- func (o *VideoStatusEncodingMetadata) SetAspectRatioNil()
- func (o *VideoStatusEncodingMetadata) SetAudioCodec(v string)
- func (o *VideoStatusEncodingMetadata) SetAudioCodecNil()
- func (o *VideoStatusEncodingMetadata) SetBitrate(v float32)
- func (o *VideoStatusEncodingMetadata) SetBitrateNil()
- func (o *VideoStatusEncodingMetadata) SetDuration(v int32)
- func (o *VideoStatusEncodingMetadata) SetDurationNil()
- func (o *VideoStatusEncodingMetadata) SetFramerate(v int32)
- func (o *VideoStatusEncodingMetadata) SetFramerateNil()
- func (o *VideoStatusEncodingMetadata) SetHeight(v int32)
- func (o *VideoStatusEncodingMetadata) SetHeightNil()
- func (o *VideoStatusEncodingMetadata) SetSamplerate(v int32)
- func (o *VideoStatusEncodingMetadata) SetSamplerateNil()
- func (o *VideoStatusEncodingMetadata) SetVideoCodec(v string)
- func (o *VideoStatusEncodingMetadata) SetVideoCodecNil()
- func (o *VideoStatusEncodingMetadata) SetWidth(v int32)
- func (o *VideoStatusEncodingMetadata) SetWidthNil()
- func (o *VideoStatusEncodingMetadata) UnsetAspectRatio()
- func (o *VideoStatusEncodingMetadata) UnsetAudioCodec()
- func (o *VideoStatusEncodingMetadata) UnsetBitrate()
- func (o *VideoStatusEncodingMetadata) UnsetDuration()
- func (o *VideoStatusEncodingMetadata) UnsetFramerate()
- func (o *VideoStatusEncodingMetadata) UnsetHeight()
- func (o *VideoStatusEncodingMetadata) UnsetSamplerate()
- func (o *VideoStatusEncodingMetadata) UnsetVideoCodec()
- func (o *VideoStatusEncodingMetadata) UnsetWidth()
- type VideoStatusIngest
- func (o *VideoStatusIngest) GetFilesize() int32
- func (o *VideoStatusIngest) GetFilesizeOk() (*int32, bool)
- func (o *VideoStatusIngest) GetReceivedBytes() []BytesRange
- func (o *VideoStatusIngest) GetReceivedBytesOk() (*[]BytesRange, bool)
- func (o *VideoStatusIngest) GetReceivedParts() VideoStatusIngestReceivedParts
- func (o *VideoStatusIngest) GetReceivedPartsOk() (*VideoStatusIngestReceivedParts, bool)
- func (o *VideoStatusIngest) GetStatus() string
- func (o *VideoStatusIngest) GetStatusOk() (*string, bool)
- func (o *VideoStatusIngest) HasFilesize() bool
- func (o *VideoStatusIngest) HasReceivedBytes() bool
- func (o *VideoStatusIngest) HasReceivedParts() bool
- func (o *VideoStatusIngest) HasStatus() bool
- func (o *VideoStatusIngest) SetFilesize(v int32)
- func (o *VideoStatusIngest) SetFilesizeNil()
- func (o *VideoStatusIngest) SetReceivedBytes(v []BytesRange)
- func (o *VideoStatusIngest) SetReceivedParts(v VideoStatusIngestReceivedParts)
- func (o *VideoStatusIngest) SetStatus(v string)
- func (o *VideoStatusIngest) UnsetFilesize()
- type VideoStatusIngestReceivedParts
- func (o *VideoStatusIngestReceivedParts) GetParts() []int32
- func (o *VideoStatusIngestReceivedParts) GetPartsOk() (*[]int32, bool)
- func (o *VideoStatusIngestReceivedParts) GetTotal() int32
- func (o *VideoStatusIngestReceivedParts) GetTotalOk() (*int32, bool)
- func (o *VideoStatusIngestReceivedParts) HasParts() bool
- func (o *VideoStatusIngestReceivedParts) HasTotal() bool
- func (o *VideoStatusIngestReceivedParts) SetParts(v []int32)
- func (o *VideoStatusIngestReceivedParts) SetTotal(v int32)
- func (o *VideoStatusIngestReceivedParts) SetTotalNil()
- func (o *VideoStatusIngestReceivedParts) UnsetTotal()
- type VideoThumbnailPickPayload
- type VideoUpdatePayload
- func (o *VideoUpdatePayload) GetDescription() string
- func (o *VideoUpdatePayload) GetDescriptionOk() (*string, bool)
- func (o *VideoUpdatePayload) GetMetadata() []Metadata
- func (o *VideoUpdatePayload) GetMetadataOk() (*[]Metadata, bool)
- func (o *VideoUpdatePayload) GetMp4Support() bool
- func (o *VideoUpdatePayload) GetMp4SupportOk() (*bool, bool)
- func (o *VideoUpdatePayload) GetPanoramic() bool
- func (o *VideoUpdatePayload) GetPanoramicOk() (*bool, bool)
- func (o *VideoUpdatePayload) GetPlayerId() string
- func (o *VideoUpdatePayload) GetPlayerIdOk() (*string, bool)
- func (o *VideoUpdatePayload) GetPublic() bool
- func (o *VideoUpdatePayload) GetPublicOk() (*bool, bool)
- func (o *VideoUpdatePayload) GetTags() []string
- func (o *VideoUpdatePayload) GetTagsOk() (*[]string, bool)
- func (o *VideoUpdatePayload) GetTitle() string
- func (o *VideoUpdatePayload) GetTitleOk() (*string, bool)
- func (o *VideoUpdatePayload) HasDescription() bool
- func (o *VideoUpdatePayload) HasMetadata() bool
- func (o *VideoUpdatePayload) HasMp4Support() bool
- func (o *VideoUpdatePayload) HasPanoramic() bool
- func (o *VideoUpdatePayload) HasPlayerId() bool
- func (o *VideoUpdatePayload) HasPublic() bool
- func (o *VideoUpdatePayload) HasTags() bool
- func (o *VideoUpdatePayload) HasTitle() bool
- func (o *VideoUpdatePayload) SetDescription(v string)
- func (o *VideoUpdatePayload) SetMetadata(v []Metadata)
- func (o *VideoUpdatePayload) SetMp4Support(v bool)
- func (o *VideoUpdatePayload) SetPanoramic(v bool)
- func (o *VideoUpdatePayload) SetPlayerId(v string)
- func (o *VideoUpdatePayload) SetPlayerIdNil()
- func (o *VideoUpdatePayload) SetPublic(v bool)
- func (o *VideoUpdatePayload) SetTags(v []string)
- func (o *VideoUpdatePayload) SetTitle(v string)
- func (o *VideoUpdatePayload) UnsetPlayerId()
- type VideoWatermark
- func (o *VideoWatermark) GetBottom() string
- func (o *VideoWatermark) GetBottomOk() (*string, bool)
- func (o *VideoWatermark) GetHeight() string
- func (o *VideoWatermark) GetHeightOk() (*string, bool)
- func (o *VideoWatermark) GetId() string
- func (o *VideoWatermark) GetIdOk() (*string, bool)
- func (o *VideoWatermark) GetLeft() string
- func (o *VideoWatermark) GetLeftOk() (*string, bool)
- func (o *VideoWatermark) GetOpacity() string
- func (o *VideoWatermark) GetOpacityOk() (*string, bool)
- func (o *VideoWatermark) GetRight() string
- func (o *VideoWatermark) GetRightOk() (*string, bool)
- func (o *VideoWatermark) GetTop() string
- func (o *VideoWatermark) GetTopOk() (*string, bool)
- func (o *VideoWatermark) GetWidth() string
- func (o *VideoWatermark) GetWidthOk() (*string, bool)
- func (o *VideoWatermark) HasBottom() bool
- func (o *VideoWatermark) HasHeight() bool
- func (o *VideoWatermark) HasId() bool
- func (o *VideoWatermark) HasLeft() bool
- func (o *VideoWatermark) HasOpacity() bool
- func (o *VideoWatermark) HasRight() bool
- func (o *VideoWatermark) HasTop() bool
- func (o *VideoWatermark) HasWidth() bool
- func (o *VideoWatermark) SetBottom(v string)
- func (o *VideoWatermark) SetHeight(v string)
- func (o *VideoWatermark) SetId(v string)
- func (o *VideoWatermark) SetLeft(v string)
- func (o *VideoWatermark) SetOpacity(v string)
- func (o *VideoWatermark) SetRight(v string)
- func (o *VideoWatermark) SetTop(v string)
- func (o *VideoWatermark) SetWidth(v string)
- type VideosApiListRequest
- func (r VideosApiListRequest) CurrentPage(currentPage int32) VideosApiListRequest
- func (r VideosApiListRequest) Description(description string) VideosApiListRequest
- func (r VideosApiListRequest) LiveStreamId(liveStreamId string) VideosApiListRequest
- func (r VideosApiListRequest) Metadata(metadata map[string]string) VideosApiListRequest
- func (r VideosApiListRequest) PageSize(pageSize int32) VideosApiListRequest
- func (r VideosApiListRequest) SortBy(sortBy string) VideosApiListRequest
- func (r VideosApiListRequest) SortOrder(sortOrder string) VideosApiListRequest
- func (r VideosApiListRequest) Tags(tags []string) VideosApiListRequest
- func (r VideosApiListRequest) Title(title string) VideosApiListRequest
- type VideosListResponse
- func (o *VideosListResponse) GetData() []Video
- func (o *VideosListResponse) GetDataOk() (*[]Video, bool)
- func (o *VideosListResponse) GetPagination() Pagination
- func (o *VideosListResponse) GetPaginationOk() (*Pagination, bool)
- func (o *VideosListResponse) SetData(v []Video)
- func (o *VideosListResponse) SetPagination(v Pagination)
- type VideosService
- func (s *VideosService) Create(videoCreationPayload VideoCreationPayload) (*Video, error)
- func (s *VideosService) CreateUploadStream(videoId string) (IUploadStream, error)
- func (s *VideosService) CreateUploadWithUploadTokenStream(token string, videoId *string) (IUploadStream, error)
- func (s *VideosService) CreateWithContext(ctx context.Context, videoCreationPayload VideoCreationPayload) (*Video, error)
- func (s *VideosService) Delete(videoId string) error
- func (s *VideosService) DeleteWithContext(ctx context.Context, videoId string) error
- func (s *VideosService) Get(videoId string) (*Video, error)
- func (s *VideosService) GetStatus(videoId string) (*VideoStatus, error)
- func (s *VideosService) GetStatusWithContext(ctx context.Context, videoId string) (*VideoStatus, error)
- func (s *VideosService) GetWithContext(ctx context.Context, videoId string) (*Video, error)
- func (s *VideosService) List(r VideosApiListRequest) (*VideosListResponse, error)
- func (s *VideosService) ListWithContext(ctx context.Context, r VideosApiListRequest) (*VideosListResponse, error)
- func (s *VideosService) PickThumbnail(videoId string, videoThumbnailPickPayload VideoThumbnailPickPayload) (*Video, error)
- func (s *VideosService) PickThumbnailWithContext(ctx context.Context, videoId string, ...) (*Video, error)
- func (s *VideosService) Update(videoId string, videoUpdatePayload VideoUpdatePayload) (*Video, error)
- func (s *VideosService) UpdateWithContext(ctx context.Context, videoId string, videoUpdatePayload VideoUpdatePayload) (*Video, error)
- func (s *VideosService) Upload(videoId string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
- func (s *VideosService) UploadFile(videoId string, file *os.File) (*Video, error)
- func (s *VideosService) UploadFileWithContext(ctx context.Context, videoId string, file *os.File) (*Video, error)
- func (s *VideosService) UploadThumbnail(videoId string, fileName string, fileReader io.Reader) (*Video, error)
- func (s *VideosService) UploadThumbnailFile(videoId string, file *os.File) (*Video, error)
- func (s *VideosService) UploadThumbnailFileWithContext(ctx context.Context, videoId string, file *os.File) (*Video, error)
- func (s *VideosService) UploadThumbnailWithContext(ctx context.Context, videoId string, fileName string, fileReader io.Reader) (*Video, error)
- func (s *VideosService) UploadWithContext(ctx context.Context, videoId string, fileName string, fileReader io.Reader, ...) (*Video, error)
- func (s *VideosService) UploadWithUploadToken(token string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
- func (s *VideosService) UploadWithUploadTokenFile(token string, file *os.File) (*Video, error)
- func (s *VideosService) UploadWithUploadTokenFileWithContext(ctx context.Context, token string, file *os.File) (*Video, error)
- func (s *VideosService) UploadWithUploadTokenFileWithContextAndVideoId(ctx context.Context, videoId *string, token string, file *os.File) (*Video, error)
- func (s *VideosService) UploadWithUploadTokenFileWithVideoId(videoId *string, token string, file *os.File) (*Video, error)
- func (s *VideosService) UploadWithUploadTokenWithContext(ctx context.Context, token string, fileName string, fileReader io.Reader, ...) (*Video, error)
- func (s *VideosService) UploadWithUploadTokenWithContextAndVideoId(ctx context.Context, videoId *string, token string, fileName string, ...) (*Video, error)
- func (s *VideosService) UploadWithUploadTokenWithVideoId(videoId *string, token string, fileName string, fileReader io.Reader, ...) (*Video, error)
- type VideosServiceI
- type Watermark
- func (o *Watermark) GetCreatedAt() string
- func (o *Watermark) GetCreatedAtOk() (*string, bool)
- func (o *Watermark) GetWatermarkId() string
- func (o *Watermark) GetWatermarkIdOk() (*string, bool)
- func (o *Watermark) HasCreatedAt() bool
- func (o *Watermark) HasWatermarkId() bool
- func (o *Watermark) SetCreatedAt(v string)
- func (o *Watermark) SetWatermarkId(v string)
- type WatermarksApiListRequest
- func (r WatermarksApiListRequest) CurrentPage(currentPage int32) WatermarksApiListRequest
- func (r WatermarksApiListRequest) PageSize(pageSize int32) WatermarksApiListRequest
- func (r WatermarksApiListRequest) SortBy(sortBy string) WatermarksApiListRequest
- func (r WatermarksApiListRequest) SortOrder(sortOrder string) WatermarksApiListRequest
- type WatermarksListResponse
- func (o *WatermarksListResponse) GetData() []Watermark
- func (o *WatermarksListResponse) GetDataOk() (*[]Watermark, bool)
- func (o *WatermarksListResponse) GetPagination() Pagination
- func (o *WatermarksListResponse) GetPaginationOk() (*Pagination, bool)
- func (o *WatermarksListResponse) SetData(v []Watermark)
- func (o *WatermarksListResponse) SetPagination(v Pagination)
- type WatermarksService
- func (s *WatermarksService) Delete(watermarkId string) error
- func (s *WatermarksService) DeleteWithContext(ctx context.Context, watermarkId string) error
- func (s *WatermarksService) List(r WatermarksApiListRequest) (*WatermarksListResponse, error)
- func (s *WatermarksService) ListWithContext(ctx context.Context, r WatermarksApiListRequest) (*WatermarksListResponse, error)
- func (s *WatermarksService) Upload(fileName string, fileReader io.Reader) (*Watermark, error)
- func (s *WatermarksService) UploadFile(file *os.File) (*Watermark, error)
- func (s *WatermarksService) UploadFileWithContext(ctx context.Context, file *os.File) (*Watermark, error)
- func (s *WatermarksService) UploadWithContext(ctx context.Context, fileName string, fileReader io.Reader) (*Watermark, error)
- type WatermarksServiceI
- type Webhook
- func (o *Webhook) GetCreatedAt() string
- func (o *Webhook) GetCreatedAtOk() (*string, bool)
- func (o *Webhook) GetEvents() []string
- func (o *Webhook) GetEventsOk() (*[]string, bool)
- func (o *Webhook) GetUrl() string
- func (o *Webhook) GetUrlOk() (*string, bool)
- func (o *Webhook) GetWebhookId() string
- func (o *Webhook) GetWebhookIdOk() (*string, bool)
- func (o *Webhook) HasCreatedAt() bool
- func (o *Webhook) HasEvents() bool
- func (o *Webhook) HasUrl() bool
- func (o *Webhook) HasWebhookId() bool
- func (o *Webhook) SetCreatedAt(v string)
- func (o *Webhook) SetEvents(v []string)
- func (o *Webhook) SetUrl(v string)
- func (o *Webhook) SetWebhookId(v string)
- type WebhooksApiListRequest
- type WebhooksCreationPayload
- func (o *WebhooksCreationPayload) GetEvents() []string
- func (o *WebhooksCreationPayload) GetEventsOk() (*[]string, bool)
- func (o *WebhooksCreationPayload) GetUrl() string
- func (o *WebhooksCreationPayload) GetUrlOk() (*string, bool)
- func (o *WebhooksCreationPayload) SetEvents(v []string)
- func (o *WebhooksCreationPayload) SetUrl(v string)
- type WebhooksListResponse
- func (o *WebhooksListResponse) GetData() []Webhook
- func (o *WebhooksListResponse) GetDataOk() (*[]Webhook, bool)
- func (o *WebhooksListResponse) GetPagination() Pagination
- func (o *WebhooksListResponse) GetPaginationOk() (*Pagination, bool)
- func (o *WebhooksListResponse) SetData(v []Webhook)
- func (o *WebhooksListResponse) SetPagination(v Pagination)
- type WebhooksService
- func (s *WebhooksService) Create(webhooksCreationPayload WebhooksCreationPayload) (*Webhook, error)
- func (s *WebhooksService) CreateWithContext(ctx context.Context, webhooksCreationPayload WebhooksCreationPayload) (*Webhook, error)
- func (s *WebhooksService) Delete(webhookId string) error
- func (s *WebhooksService) DeleteWithContext(ctx context.Context, webhookId string) error
- func (s *WebhooksService) Get(webhookId string) (*Webhook, error)
- func (s *WebhooksService) GetWithContext(ctx context.Context, webhookId string) (*Webhook, error)
- func (s *WebhooksService) List(r WebhooksApiListRequest) (*WebhooksListResponse, error)
- func (s *WebhooksService) ListWithContext(ctx context.Context, r WebhooksApiListRequest) (*WebhooksListResponse, error)
- type WebhooksServiceI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type AccessToken ¶
type AccessToken struct { // The access token containing security credentials allowing you to acccess the API. The token lasts for one hour. AccessToken *string `json:"access_token,omitempty"` // The type of token you have. TokenType *string `json:"token_type,omitempty"` // A token you can use to get the next access token when your current access token expires. RefreshToken *string `json:"refresh_token,omitempty"` // Lists the time in seconds when your access token expires. It lasts for one hour. ExpiresIn *int32 `json:"expires_in,omitempty"` }
AccessToken struct for AccessToken
func NewAccessToken ¶
func NewAccessToken() *AccessToken
NewAccessToken instantiates a new AccessToken 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 NewAccessTokenWithDefaults ¶
func NewAccessTokenWithDefaults() *AccessToken
NewAccessTokenWithDefaults instantiates a new AccessToken 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 (*AccessToken) GetAccessToken ¶
func (o *AccessToken) GetAccessToken() string
GetAccessToken returns the AccessToken field value if set, zero value otherwise.
func (*AccessToken) GetAccessTokenOk ¶
func (o *AccessToken) GetAccessTokenOk() (*string, bool)
GetAccessTokenOk returns a tuple with the AccessToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccessToken) GetExpiresIn ¶
func (o *AccessToken) GetExpiresIn() int32
GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.
func (*AccessToken) GetExpiresInOk ¶
func (o *AccessToken) GetExpiresInOk() (*int32, bool)
GetExpiresInOk returns a tuple with the ExpiresIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccessToken) GetRefreshToken ¶
func (o *AccessToken) GetRefreshToken() string
GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.
func (*AccessToken) GetRefreshTokenOk ¶
func (o *AccessToken) GetRefreshTokenOk() (*string, bool)
GetRefreshTokenOk returns a tuple with the RefreshToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccessToken) GetTokenType ¶
func (o *AccessToken) GetTokenType() string
GetTokenType returns the TokenType field value if set, zero value otherwise.
func (*AccessToken) GetTokenTypeOk ¶
func (o *AccessToken) GetTokenTypeOk() (*string, bool)
GetTokenTypeOk returns a tuple with the TokenType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccessToken) HasAccessToken ¶
func (o *AccessToken) HasAccessToken() bool
HasAccessToken returns a boolean if a field has been set.
func (*AccessToken) HasExpiresIn ¶
func (o *AccessToken) HasExpiresIn() bool
HasExpiresIn returns a boolean if a field has been set.
func (*AccessToken) HasRefreshToken ¶
func (o *AccessToken) HasRefreshToken() bool
HasRefreshToken returns a boolean if a field has been set.
func (*AccessToken) HasTokenType ¶
func (o *AccessToken) HasTokenType() bool
HasTokenType returns a boolean if a field has been set.
func (*AccessToken) SetAccessToken ¶
func (o *AccessToken) SetAccessToken(v string)
SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.
func (*AccessToken) SetExpiresIn ¶
func (o *AccessToken) SetExpiresIn(v int32)
SetExpiresIn gets a reference to the given int32 and assigns it to the ExpiresIn field.
func (*AccessToken) SetRefreshToken ¶
func (o *AccessToken) SetRefreshToken(v string)
SetRefreshToken gets a reference to the given string and assigns it to the RefreshToken field.
func (*AccessToken) SetTokenType ¶
func (o *AccessToken) SetTokenType(v string)
SetTokenType gets a reference to the given string and assigns it to the TokenType field.
type AdditionalBadRequestErrors ¶ added in v1.3.0
type AdditionalBadRequestErrors struct { // A link to the error documentation. Type *string `json:"type,omitempty"` // A description of the error that occurred. Title *string `json:"title,omitempty"` // The name of the parameter that caused the error. Name *string `json:"name,omitempty"` // The HTTP status code. Status *int32 `json:"status,omitempty"` }
AdditionalBadRequestErrors struct for AdditionalBadRequestErrors
func NewAdditionalBadRequestErrors ¶ added in v1.3.0
func NewAdditionalBadRequestErrors() *AdditionalBadRequestErrors
NewAdditionalBadRequestErrors instantiates a new AdditionalBadRequestErrors 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 NewAdditionalBadRequestErrorsWithDefaults ¶ added in v1.3.0
func NewAdditionalBadRequestErrorsWithDefaults() *AdditionalBadRequestErrors
NewAdditionalBadRequestErrorsWithDefaults instantiates a new AdditionalBadRequestErrors 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 (*AdditionalBadRequestErrors) GetName ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AdditionalBadRequestErrors) GetNameOk ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdditionalBadRequestErrors) GetStatus ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) GetStatus() int32
GetStatus returns the Status field value if set, zero value otherwise.
func (*AdditionalBadRequestErrors) GetStatusOk ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdditionalBadRequestErrors) GetTitle ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*AdditionalBadRequestErrors) GetTitleOk ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) 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 (*AdditionalBadRequestErrors) GetType ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AdditionalBadRequestErrors) GetTypeOk ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdditionalBadRequestErrors) HasName ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) HasName() bool
HasName returns a boolean if a field has been set.
func (*AdditionalBadRequestErrors) HasStatus ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*AdditionalBadRequestErrors) HasTitle ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*AdditionalBadRequestErrors) HasType ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) HasType() bool
HasType returns a boolean if a field has been set.
func (*AdditionalBadRequestErrors) SetName ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AdditionalBadRequestErrors) SetStatus ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) SetStatus(v int32)
SetStatus gets a reference to the given int32 and assigns it to the Status field.
func (*AdditionalBadRequestErrors) SetTitle ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*AdditionalBadRequestErrors) SetType ¶ added in v1.3.0
func (o *AdditionalBadRequestErrors) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type AdvancedAuthenticationService ¶ added in v1.3.0
type AdvancedAuthenticationService struct {
// contains filtered or unexported fields
}
AdvancedAuthenticationService communicating with the AdvancedAuthentication endpoints of the api.video API
func (*AdvancedAuthenticationService) Authenticate ¶ added in v1.3.0
func (s *AdvancedAuthenticationService) Authenticate(authenticatePayload AuthenticatePayload) (*AccessToken, error)
func (*AdvancedAuthenticationService) AuthenticateWithContext ¶ added in v1.3.0
func (s *AdvancedAuthenticationService) AuthenticateWithContext(ctx context.Context, authenticatePayload AuthenticatePayload) (*AccessToken, error)
func (*AdvancedAuthenticationService) Refresh ¶ added in v1.3.0
func (s *AdvancedAuthenticationService) Refresh(refreshTokenPayload RefreshTokenPayload) (*AccessToken, error)
func (*AdvancedAuthenticationService) RefreshWithContext ¶ added in v1.3.0
func (s *AdvancedAuthenticationService) RefreshWithContext(ctx context.Context, refreshTokenPayload RefreshTokenPayload) (*AccessToken, error)
type AdvancedAuthenticationServiceI ¶ added in v1.3.0
type AdvancedAuthenticationServiceI interface { Authenticate(authenticatePayload AuthenticatePayload) (*AccessToken, error) AuthenticateWithContext(ctx context.Context, authenticatePayload AuthenticatePayload) (*AccessToken, error) Refresh(refreshTokenPayload RefreshTokenPayload) (*AccessToken, error) RefreshWithContext(ctx context.Context, refreshTokenPayload RefreshTokenPayload) (*AccessToken, error) }
type AnalyticsApiGetLiveStreamsPlaysRequest ¶ added in v1.3.0
type AnalyticsApiGetLiveStreamsPlaysRequest struct {
// contains filtered or unexported fields
}
func (AnalyticsApiGetLiveStreamsPlaysRequest) CurrentPage ¶ added in v1.3.0
func (r AnalyticsApiGetLiveStreamsPlaysRequest) CurrentPage(currentPage int32) AnalyticsApiGetLiveStreamsPlaysRequest
func (AnalyticsApiGetLiveStreamsPlaysRequest) Dimension ¶ added in v1.3.0
func (r AnalyticsApiGetLiveStreamsPlaysRequest) Dimension(dimension string) AnalyticsApiGetLiveStreamsPlaysRequest
func (AnalyticsApiGetLiveStreamsPlaysRequest) Filter ¶ added in v1.3.0
func (r AnalyticsApiGetLiveStreamsPlaysRequest) Filter(filter string) AnalyticsApiGetLiveStreamsPlaysRequest
func (AnalyticsApiGetLiveStreamsPlaysRequest) From ¶ added in v1.3.0
func (r AnalyticsApiGetLiveStreamsPlaysRequest) From(from string) AnalyticsApiGetLiveStreamsPlaysRequest
func (AnalyticsApiGetLiveStreamsPlaysRequest) PageSize ¶ added in v1.3.0
func (r AnalyticsApiGetLiveStreamsPlaysRequest) PageSize(pageSize int32) AnalyticsApiGetLiveStreamsPlaysRequest
type AnalyticsApiGetVideosPlaysRequest ¶ added in v1.3.0
type AnalyticsApiGetVideosPlaysRequest struct {
// contains filtered or unexported fields
}
func (AnalyticsApiGetVideosPlaysRequest) CurrentPage ¶ added in v1.3.0
func (r AnalyticsApiGetVideosPlaysRequest) CurrentPage(currentPage int32) AnalyticsApiGetVideosPlaysRequest
func (AnalyticsApiGetVideosPlaysRequest) Dimension ¶ added in v1.3.0
func (r AnalyticsApiGetVideosPlaysRequest) Dimension(dimension string) AnalyticsApiGetVideosPlaysRequest
func (AnalyticsApiGetVideosPlaysRequest) Filter ¶ added in v1.3.0
func (r AnalyticsApiGetVideosPlaysRequest) Filter(filter string) AnalyticsApiGetVideosPlaysRequest
func (AnalyticsApiGetVideosPlaysRequest) From ¶ added in v1.3.0
func (r AnalyticsApiGetVideosPlaysRequest) From(from string) AnalyticsApiGetVideosPlaysRequest
func (AnalyticsApiGetVideosPlaysRequest) PageSize ¶ added in v1.3.0
func (r AnalyticsApiGetVideosPlaysRequest) PageSize(pageSize int32) AnalyticsApiGetVideosPlaysRequest
func (AnalyticsApiGetVideosPlaysRequest) To ¶ added in v1.3.0
func (r AnalyticsApiGetVideosPlaysRequest) To(to string) AnalyticsApiGetVideosPlaysRequest
type AnalyticsData ¶ added in v1.3.0
type AnalyticsData struct { // Shows a value for the property you have specified for `dimension` in your request. For example, if you requested `dimension=videoId`, each `value` field in the response returns a different videoId. Value string `json:"value"` // Shows the number of play events for one specific `value`. Plays int32 `json:"plays"` }
AnalyticsData struct for AnalyticsData
func NewAnalyticsData ¶ added in v1.3.0
func NewAnalyticsData(value string, plays int32) *AnalyticsData
NewAnalyticsData instantiates a new AnalyticsData 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 NewAnalyticsDataWithDefaults ¶ added in v1.3.0
func NewAnalyticsDataWithDefaults() *AnalyticsData
NewAnalyticsDataWithDefaults instantiates a new AnalyticsData 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 (*AnalyticsData) GetPlays ¶ added in v1.3.0
func (o *AnalyticsData) GetPlays() int32
GetPlays returns the Plays field value
func (*AnalyticsData) GetPlaysOk ¶ added in v1.3.0
func (o *AnalyticsData) GetPlaysOk() (*int32, bool)
GetPlaysOk returns a tuple with the Plays field value and a boolean to check if the value has been set.
func (*AnalyticsData) GetValue ¶ added in v1.3.0
func (o *AnalyticsData) GetValue() string
GetValue returns the Value field value
func (*AnalyticsData) GetValueOk ¶ added in v1.3.0
func (o *AnalyticsData) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*AnalyticsData) SetPlays ¶ added in v1.3.0
func (o *AnalyticsData) SetPlays(v int32)
SetPlays sets field value
func (*AnalyticsData) SetValue ¶ added in v1.3.0
func (o *AnalyticsData) SetValue(v string)
SetValue sets field value
type AnalyticsPlays400Error ¶ added in v1.3.0
type AnalyticsPlays400Error struct { // A link to the error documentation. Type *string `json:"type,omitempty"` // A description of the error that occurred. Title *string `json:"title,omitempty"` // The HTTP status code. Status *int32 `json:"status,omitempty"` // A solution for the error. Detail *string `json:"detail,omitempty"` // The name of the parameter that caused the error. Name *string `json:"name,omitempty"` }
AnalyticsPlays400Error struct for AnalyticsPlays400Error
func NewAnalyticsPlays400Error ¶ added in v1.3.0
func NewAnalyticsPlays400Error() *AnalyticsPlays400Error
NewAnalyticsPlays400Error instantiates a new AnalyticsPlays400Error 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 NewAnalyticsPlays400ErrorWithDefaults ¶ added in v1.3.0
func NewAnalyticsPlays400ErrorWithDefaults() *AnalyticsPlays400Error
NewAnalyticsPlays400ErrorWithDefaults instantiates a new AnalyticsPlays400Error 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 (*AnalyticsPlays400Error) GetDetail ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*AnalyticsPlays400Error) GetDetailOk ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnalyticsPlays400Error) GetName ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AnalyticsPlays400Error) GetNameOk ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnalyticsPlays400Error) GetStatus ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) GetStatus() int32
GetStatus returns the Status field value if set, zero value otherwise.
func (*AnalyticsPlays400Error) GetStatusOk ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnalyticsPlays400Error) GetTitle ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*AnalyticsPlays400Error) GetTitleOk ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) 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 (*AnalyticsPlays400Error) GetType ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AnalyticsPlays400Error) GetTypeOk ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnalyticsPlays400Error) HasDetail ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*AnalyticsPlays400Error) HasName ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) HasName() bool
HasName returns a boolean if a field has been set.
func (*AnalyticsPlays400Error) HasStatus ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*AnalyticsPlays400Error) HasTitle ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*AnalyticsPlays400Error) HasType ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) HasType() bool
HasType returns a boolean if a field has been set.
func (*AnalyticsPlays400Error) SetDetail ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*AnalyticsPlays400Error) SetName ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AnalyticsPlays400Error) SetStatus ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) SetStatus(v int32)
SetStatus gets a reference to the given int32 and assigns it to the Status field.
func (*AnalyticsPlays400Error) SetTitle ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*AnalyticsPlays400Error) SetType ¶ added in v1.3.0
func (o *AnalyticsPlays400Error) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type AnalyticsPlaysResponse ¶ added in v1.3.0
type AnalyticsPlaysResponse struct { Data []AnalyticsData `json:"data"` Pagination Pagination `json:"pagination"` }
AnalyticsPlaysResponse struct for AnalyticsPlaysResponse
func NewAnalyticsPlaysResponse ¶ added in v1.3.0
func NewAnalyticsPlaysResponse(data []AnalyticsData, pagination Pagination) *AnalyticsPlaysResponse
NewAnalyticsPlaysResponse instantiates a new AnalyticsPlaysResponse 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 NewAnalyticsPlaysResponseWithDefaults ¶ added in v1.3.0
func NewAnalyticsPlaysResponseWithDefaults() *AnalyticsPlaysResponse
NewAnalyticsPlaysResponseWithDefaults instantiates a new AnalyticsPlaysResponse 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 (*AnalyticsPlaysResponse) GetData ¶ added in v1.3.0
func (o *AnalyticsPlaysResponse) GetData() []AnalyticsData
GetData returns the Data field value
func (*AnalyticsPlaysResponse) GetDataOk ¶ added in v1.3.0
func (o *AnalyticsPlaysResponse) GetDataOk() (*[]AnalyticsData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*AnalyticsPlaysResponse) GetPagination ¶ added in v1.3.0
func (o *AnalyticsPlaysResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*AnalyticsPlaysResponse) GetPaginationOk ¶ added in v1.3.0
func (o *AnalyticsPlaysResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (*AnalyticsPlaysResponse) SetData ¶ added in v1.3.0
func (o *AnalyticsPlaysResponse) SetData(v []AnalyticsData)
SetData sets field value
func (*AnalyticsPlaysResponse) SetPagination ¶ added in v1.3.0
func (o *AnalyticsPlaysResponse) SetPagination(v Pagination)
SetPagination sets field value
type AnalyticsService ¶ added in v1.3.0
type AnalyticsService struct {
// contains filtered or unexported fields
}
AnalyticsService communicating with the Analytics endpoints of the api.video API
func (*AnalyticsService) GetLiveStreamsPlays ¶ added in v1.3.0
func (s *AnalyticsService) GetLiveStreamsPlays(r AnalyticsApiGetLiveStreamsPlaysRequest) (*AnalyticsPlaysResponse, error)
func (*AnalyticsService) GetLiveStreamsPlaysWithContext ¶ added in v1.3.0
func (s *AnalyticsService) GetLiveStreamsPlaysWithContext(ctx context.Context, r AnalyticsApiGetLiveStreamsPlaysRequest) (*AnalyticsPlaysResponse, error)
func (*AnalyticsService) GetVideosPlays ¶ added in v1.3.0
func (s *AnalyticsService) GetVideosPlays(r AnalyticsApiGetVideosPlaysRequest) (*AnalyticsPlaysResponse, error)
func (*AnalyticsService) GetVideosPlaysWithContext ¶ added in v1.3.0
func (s *AnalyticsService) GetVideosPlaysWithContext(ctx context.Context, r AnalyticsApiGetVideosPlaysRequest) (*AnalyticsPlaysResponse, error)
type AnalyticsServiceI ¶ added in v1.3.0
type AnalyticsServiceI interface { GetLiveStreamsPlays(r AnalyticsApiGetLiveStreamsPlaysRequest) (*AnalyticsPlaysResponse, error) GetLiveStreamsPlaysWithContext(ctx context.Context, r AnalyticsApiGetLiveStreamsPlaysRequest) (*AnalyticsPlaysResponse, error) GetVideosPlays(r AnalyticsApiGetVideosPlaysRequest) (*AnalyticsPlaysResponse, error) GetVideosPlaysWithContext(ctx context.Context, r AnalyticsApiGetVideosPlaysRequest) (*AnalyticsPlaysResponse, error) }
type AuthenticatePayload ¶
type AuthenticatePayload struct { // Your account API key. You can use your sandbox API key, or you can use your production API key. ApiKey string `json:"apiKey"` }
AuthenticatePayload struct for AuthenticatePayload
func NewAuthenticatePayload ¶
func NewAuthenticatePayload(apiKey string) *AuthenticatePayload
NewAuthenticatePayload instantiates a new AuthenticatePayload 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 NewAuthenticatePayloadWithDefaults ¶
func NewAuthenticatePayloadWithDefaults() *AuthenticatePayload
NewAuthenticatePayloadWithDefaults instantiates a new AuthenticatePayload 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 (*AuthenticatePayload) GetApiKey ¶
func (o *AuthenticatePayload) GetApiKey() string
GetApiKey returns the ApiKey field value
func (*AuthenticatePayload) GetApiKeyOk ¶
func (o *AuthenticatePayload) GetApiKeyOk() (*string, bool)
GetApiKeyOk returns a tuple with the ApiKey field value and a boolean to check if the value has been set.
func (*AuthenticatePayload) SetApiKey ¶
func (o *AuthenticatePayload) SetApiKey(v string)
SetApiKey sets field value
type BadRequest ¶
type BadRequest struct { // A link to the error documentation. Type *string `json:"type,omitempty"` // A description of the error that occurred. Title *string `json:"title,omitempty"` // The name of the parameter that caused the error. Name *string `json:"name,omitempty"` // The HTTP status code. Status *int32 `json:"status,omitempty"` // Returns any additional problems in the request in an array of objects. Problems *[]AdditionalBadRequestErrors `json:"problems,omitempty"` }
BadRequest struct for BadRequest
func NewBadRequest ¶
func NewBadRequest() *BadRequest
NewBadRequest instantiates a new BadRequest 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 NewBadRequestWithDefaults ¶
func NewBadRequestWithDefaults() *BadRequest
NewBadRequestWithDefaults instantiates a new BadRequest 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 (*BadRequest) GetName ¶
func (o *BadRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BadRequest) GetNameOk ¶
func (o *BadRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BadRequest) GetProblems ¶
func (o *BadRequest) GetProblems() []AdditionalBadRequestErrors
GetProblems returns the Problems field value if set, zero value otherwise.
func (*BadRequest) GetProblemsOk ¶
func (o *BadRequest) GetProblemsOk() (*[]AdditionalBadRequestErrors, bool)
GetProblemsOk returns a tuple with the Problems field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BadRequest) GetStatus ¶
func (o *BadRequest) GetStatus() int32
GetStatus returns the Status field value if set, zero value otherwise.
func (*BadRequest) GetStatusOk ¶
func (o *BadRequest) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BadRequest) GetTitle ¶
func (o *BadRequest) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*BadRequest) GetTitleOk ¶
func (o *BadRequest) 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 (*BadRequest) GetType ¶
func (o *BadRequest) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*BadRequest) GetTypeOk ¶
func (o *BadRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BadRequest) HasName ¶
func (o *BadRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*BadRequest) HasProblems ¶
func (o *BadRequest) HasProblems() bool
HasProblems returns a boolean if a field has been set.
func (*BadRequest) HasStatus ¶
func (o *BadRequest) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*BadRequest) HasTitle ¶
func (o *BadRequest) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*BadRequest) HasType ¶
func (o *BadRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (*BadRequest) SetName ¶
func (o *BadRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BadRequest) SetProblems ¶
func (o *BadRequest) SetProblems(v []AdditionalBadRequestErrors)
SetProblems gets a reference to the given []AdditionalBadRequestErrors and assigns it to the Problems field.
func (*BadRequest) SetStatus ¶
func (o *BadRequest) SetStatus(v int32)
SetStatus gets a reference to the given int32 and assigns it to the Status field.
func (*BadRequest) SetTitle ¶
func (o *BadRequest) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*BadRequest) SetType ¶
func (o *BadRequest) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func ClientBuilder ¶
ClientBuilder returns a new api.video API client builder for production
func SandboxClientBuilder ¶
SandboxClientBuilder returns a new api.video API client builder for sandbox environment
func (*Builder) ApplicationName ¶ added in v1.2.1
func (*Builder) ApplicationVersion ¶ added in v1.2.2
func (*Builder) HTTPClient ¶
func (*Builder) SdkVersion ¶ added in v1.2.5
func (*Builder) UploadChunkSize ¶
type BytesRange ¶
type BytesRange struct { // The starting point for the range of bytes for a chunk of a video. From *int32 `json:"from,omitempty"` // The ending point for the range of bytes for a chunk of a video. To *int32 `json:"to,omitempty"` // The total number of expected bytes. Total *int32 `json:"total,omitempty"` }
BytesRange struct for BytesRange
func NewBytesRange ¶
func NewBytesRange() *BytesRange
NewBytesRange instantiates a new BytesRange 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 NewBytesRangeWithDefaults ¶
func NewBytesRangeWithDefaults() *BytesRange
NewBytesRangeWithDefaults instantiates a new BytesRange 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 (*BytesRange) GetFrom ¶
func (o *BytesRange) GetFrom() int32
GetFrom returns the From field value if set, zero value otherwise.
func (*BytesRange) GetFromOk ¶
func (o *BytesRange) GetFromOk() (*int32, bool)
GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BytesRange) GetTo ¶
func (o *BytesRange) GetTo() int32
GetTo returns the To field value if set, zero value otherwise.
func (*BytesRange) GetToOk ¶
func (o *BytesRange) GetToOk() (*int32, bool)
GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BytesRange) GetTotal ¶
func (o *BytesRange) GetTotal() int32
GetTotal returns the Total field value if set, zero value otherwise.
func (*BytesRange) GetTotalOk ¶
func (o *BytesRange) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BytesRange) HasFrom ¶
func (o *BytesRange) HasFrom() bool
HasFrom returns a boolean if a field has been set.
func (*BytesRange) HasTo ¶
func (o *BytesRange) HasTo() bool
HasTo returns a boolean if a field has been set.
func (*BytesRange) HasTotal ¶
func (o *BytesRange) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (*BytesRange) SetFrom ¶
func (o *BytesRange) SetFrom(v int32)
SetFrom gets a reference to the given int32 and assigns it to the From field.
func (*BytesRange) SetTo ¶
func (o *BytesRange) SetTo(v int32)
SetTo gets a reference to the given int32 and assigns it to the To field.
func (*BytesRange) SetTotal ¶
func (o *BytesRange) SetTotal(v int32)
SetTotal gets a reference to the given int32 and assigns it to the Total field.
type Caption ¶
type Caption struct { // The unique resource identifier of the uploaded caption. Uri *string `json:"uri,omitempty"` // A direct URL to the uploaded caption file. Src *string `json:"src,omitempty"` // Indicates the language of the uploaded caption file using IETF language tags. Srclang *string `json:"srclang,omitempty"` // Returns the native name of the caption language in UTF-8 encoding. LanguageName *string `json:"languageName,omitempty"` // Whether you will have subtitles or not. True for yes you will have subtitles, false for no you will not have subtitles. Default *bool `json:"default,omitempty"` }
Caption struct for Caption
func NewCaption ¶
func NewCaption() *Caption
NewCaption instantiates a new Caption 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 NewCaptionWithDefaults ¶
func NewCaptionWithDefaults() *Caption
NewCaptionWithDefaults instantiates a new Caption 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 (*Caption) GetDefault ¶
GetDefault returns the Default field value if set, zero value otherwise.
func (*Caption) GetDefaultOk ¶
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Caption) GetLanguageName ¶ added in v1.3.1
GetLanguageName returns the LanguageName field value if set, zero value otherwise.
func (*Caption) GetLanguageNameOk ¶ added in v1.3.1
GetLanguageNameOk returns a tuple with the LanguageName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Caption) GetSrcOk ¶
GetSrcOk returns a tuple with the Src field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Caption) GetSrclang ¶
GetSrclang returns the Srclang field value if set, zero value otherwise.
func (*Caption) GetSrclangOk ¶
GetSrclangOk returns a tuple with the Srclang field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Caption) GetUriOk ¶
GetUriOk returns a tuple with the Uri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Caption) HasDefault ¶
HasDefault returns a boolean if a field has been set.
func (*Caption) HasLanguageName ¶ added in v1.3.1
HasLanguageName returns a boolean if a field has been set.
func (*Caption) HasSrclang ¶
HasSrclang returns a boolean if a field has been set.
func (*Caption) SetDefault ¶
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*Caption) SetLanguageName ¶ added in v1.3.1
SetLanguageName gets a reference to the given string and assigns it to the LanguageName field.
func (*Caption) SetSrc ¶
SetSrc gets a reference to the given string and assigns it to the Src field.
func (*Caption) SetSrclang ¶
SetSrclang gets a reference to the given string and assigns it to the Srclang field.
type CaptionsApiListRequest ¶
type CaptionsApiListRequest struct {
// contains filtered or unexported fields
}
func (CaptionsApiListRequest) CurrentPage ¶
func (r CaptionsApiListRequest) CurrentPage(currentPage int32) CaptionsApiListRequest
func (CaptionsApiListRequest) PageSize ¶
func (r CaptionsApiListRequest) PageSize(pageSize int32) CaptionsApiListRequest
type CaptionsListResponse ¶
type CaptionsListResponse struct { Data []Caption `json:"data"` Pagination Pagination `json:"pagination"` }
CaptionsListResponse struct for CaptionsListResponse
func NewCaptionsListResponse ¶
func NewCaptionsListResponse(data []Caption, pagination Pagination) *CaptionsListResponse
NewCaptionsListResponse instantiates a new CaptionsListResponse 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 NewCaptionsListResponseWithDefaults ¶
func NewCaptionsListResponseWithDefaults() *CaptionsListResponse
NewCaptionsListResponseWithDefaults instantiates a new CaptionsListResponse 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 (*CaptionsListResponse) GetData ¶
func (o *CaptionsListResponse) GetData() []Caption
GetData returns the Data field value
func (*CaptionsListResponse) GetDataOk ¶
func (o *CaptionsListResponse) GetDataOk() (*[]Caption, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*CaptionsListResponse) GetPagination ¶
func (o *CaptionsListResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*CaptionsListResponse) GetPaginationOk ¶
func (o *CaptionsListResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (*CaptionsListResponse) SetData ¶
func (o *CaptionsListResponse) SetData(v []Caption)
SetData sets field value
func (*CaptionsListResponse) SetPagination ¶
func (o *CaptionsListResponse) SetPagination(v Pagination)
SetPagination sets field value
type CaptionsService ¶
type CaptionsService struct {
// contains filtered or unexported fields
}
CaptionsService communicating with the Captions endpoints of the api.video API
func (*CaptionsService) Delete ¶
func (s *CaptionsService) Delete(videoId string, language string) error
func (*CaptionsService) DeleteWithContext ¶
func (*CaptionsService) Get ¶
func (s *CaptionsService) Get(videoId string, language string) (*Caption, error)
func (*CaptionsService) GetWithContext ¶
func (*CaptionsService) List ¶
func (s *CaptionsService) List(videoId string, r CaptionsApiListRequest) (*CaptionsListResponse, error)
func (*CaptionsService) ListWithContext ¶
func (s *CaptionsService) ListWithContext(ctx context.Context, videoId string, r CaptionsApiListRequest) (*CaptionsListResponse, error)
func (*CaptionsService) Update ¶
func (s *CaptionsService) Update(videoId string, language string, captionsUpdatePayload CaptionsUpdatePayload) (*Caption, error)
func (*CaptionsService) UpdateWithContext ¶
func (s *CaptionsService) UpdateWithContext(ctx context.Context, videoId string, language string, captionsUpdatePayload CaptionsUpdatePayload) (*Caption, error)
func (*CaptionsService) Upload ¶
func (s *CaptionsService) Upload(videoId string, language string, fileName string, fileReader io.Reader) (*Caption, error)
* Upload Upload a caption * Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/vod/add-captions)
* @param videoId The unique identifier for the video you want to add a caption to. * @param language A valid language identifier using IETF language tags. You can use primary subtags like `en` (English), extended subtags like `fr-CA` (French, Canada), or region subtags like `zh-Hans-CN` (Simplified Chinese used in the PRC). - This parameter **only accepts dashes for separators**, for example `fr-CA`. If you use a different separator in your request, the API returns an error. - When the value in your request does not match any covered language, the API returns an error. - You can find the list of supported tags [here](https://docs.api.video/vod/add-captions#supported-caption-language-tags). * @return CaptionsApiUploadRequest
func (*CaptionsService) UploadFile ¶
func (*CaptionsService) UploadFileWithContext ¶
func (*CaptionsService) UploadWithContext ¶
func (s *CaptionsService) UploadWithContext(ctx context.Context, videoId string, language string, fileName string, fileReader io.Reader) (*Caption, error)
* Upload Upload a caption * Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/vod/add-captions) * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param videoId The unique identifier for the video you want to add a caption to. * @param language A valid language identifier using IETF language tags. You can use primary subtags like `en` (English), extended subtags like `fr-CA` (French, Canada), or region subtags like `zh-Hans-CN` (Simplified Chinese used in the PRC). - This parameter **only accepts dashes for separators**, for example `fr-CA`. If you use a different separator in your request, the API returns an error. - When the value in your request does not match any covered language, the API returns an error. - You can find the list of supported tags [here](https://docs.api.video/vod/add-captions#supported-caption-language-tags). * @return CaptionsApiUploadRequest
type CaptionsServiceI ¶
type CaptionsServiceI interface { /* * Upload Upload a caption * @param videoId The unique identifier for the video you want to add a caption to. * @param language A valid language identifier using IETF language tags. You can use primary subtags like `en` (English), extended subtags like `fr-CA` (French, Canada), or region subtags like `zh-Hans-CN` (Simplified Chinese used in the PRC). - This parameter **only accepts dashes for separators**, for example `fr-CA`. If you use a different separator in your request, the API returns an error. - When the value in your request does not match any covered language, the API returns an error. - You can find the list of supported tags [here](https://docs.api.video/vod/add-captions#supported-caption-language-tags). * @return CaptionsApiUploadRequest */ Upload(videoId string, language string, fileName string, fileReader io.Reader) (*Caption, error) /* * Upload Upload a caption * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param videoId The unique identifier for the video you want to add a caption to. * @param language A valid language identifier using IETF language tags. You can use primary subtags like `en` (English), extended subtags like `fr-CA` (French, Canada), or region subtags like `zh-Hans-CN` (Simplified Chinese used in the PRC). - This parameter **only accepts dashes for separators**, for example `fr-CA`. If you use a different separator in your request, the API returns an error. - When the value in your request does not match any covered language, the API returns an error. - You can find the list of supported tags [here](https://docs.api.video/vod/add-captions#supported-caption-language-tags). * @return CaptionsApiUploadRequest */ UploadWithContext(ctx context.Context, videoId string, language string, fileName string, fileReader io.Reader) (*Caption, error) /* * Upload Upload a caption * @param videoId The unique identifier for the video you want to add a caption to. * @param language A valid language identifier using IETF language tags. You can use primary subtags like `en` (English), extended subtags like `fr-CA` (French, Canada), or region subtags like `zh-Hans-CN` (Simplified Chinese used in the PRC). - This parameter **only accepts dashes for separators**, for example `fr-CA`. If you use a different separator in your request, the API returns an error. - When the value in your request does not match any covered language, the API returns an error. - You can find the list of supported tags [here](https://docs.api.video/vod/add-captions#supported-caption-language-tags). * @return CaptionsApiUploadRequest */ UploadFile(videoId string, language string, file *os.File) (*Caption, error) /* * Upload Upload a caption * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param videoId The unique identifier for the video you want to add a caption to. * @param language A valid language identifier using IETF language tags. You can use primary subtags like `en` (English), extended subtags like `fr-CA` (French, Canada), or region subtags like `zh-Hans-CN` (Simplified Chinese used in the PRC). - This parameter **only accepts dashes for separators**, for example `fr-CA`. If you use a different separator in your request, the API returns an error. - When the value in your request does not match any covered language, the API returns an error. - You can find the list of supported tags [here](https://docs.api.video/vod/add-captions#supported-caption-language-tags). * @return CaptionsApiUploadRequest */ UploadFileWithContext(ctx context.Context, videoId string, language string, file *os.File) (*Caption, error) Get(videoId string, language string) (*Caption, error) GetWithContext(ctx context.Context, videoId string, language string) (*Caption, error) Update(videoId string, language string, captionsUpdatePayload CaptionsUpdatePayload) (*Caption, error) UpdateWithContext(ctx context.Context, videoId string, language string, captionsUpdatePayload CaptionsUpdatePayload) (*Caption, error) Delete(videoId string, language string) error DeleteWithContext(ctx context.Context, videoId string, language string) error List(videoId string, r CaptionsApiListRequest) (*CaptionsListResponse, error) ListWithContext(ctx context.Context, videoId string, r CaptionsApiListRequest) (*CaptionsListResponse, error) }
type CaptionsUpdatePayload ¶
type CaptionsUpdatePayload struct {
Default *bool `json:"default,omitempty"`
}
CaptionsUpdatePayload struct for CaptionsUpdatePayload
func NewCaptionsUpdatePayload ¶
func NewCaptionsUpdatePayload() *CaptionsUpdatePayload
NewCaptionsUpdatePayload instantiates a new CaptionsUpdatePayload 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 NewCaptionsUpdatePayloadWithDefaults ¶
func NewCaptionsUpdatePayloadWithDefaults() *CaptionsUpdatePayload
NewCaptionsUpdatePayloadWithDefaults instantiates a new CaptionsUpdatePayload 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 (*CaptionsUpdatePayload) GetDefault ¶
func (o *CaptionsUpdatePayload) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise.
func (*CaptionsUpdatePayload) GetDefaultOk ¶
func (o *CaptionsUpdatePayload) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CaptionsUpdatePayload) HasDefault ¶
func (o *CaptionsUpdatePayload) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*CaptionsUpdatePayload) SetDefault ¶
func (o *CaptionsUpdatePayload) SetDefault(v bool)
SetDefault gets a reference to the given bool and assigns it to the Default field.
type Chapter ¶
type Chapter struct { Uri *string `json:"uri,omitempty"` // The link to your VTT file, which contains your chapters information for the video. Src *string `json:"src,omitempty"` Language *string `json:"language,omitempty"` }
Chapter struct for Chapter
func NewChapter ¶
func NewChapter() *Chapter
NewChapter instantiates a new Chapter 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 NewChapterWithDefaults ¶
func NewChapterWithDefaults() *Chapter
NewChapterWithDefaults instantiates a new Chapter 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 (*Chapter) GetLanguage ¶
GetLanguage returns the Language field value if set, zero value otherwise.
func (*Chapter) GetLanguageOk ¶
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Chapter) GetSrcOk ¶
GetSrcOk returns a tuple with the Src field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Chapter) GetUriOk ¶
GetUriOk returns a tuple with the Uri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Chapter) HasLanguage ¶
HasLanguage returns a boolean if a field has been set.
func (*Chapter) SetLanguage ¶
SetLanguage gets a reference to the given string and assigns it to the Language field.
type ChaptersApiListRequest ¶
type ChaptersApiListRequest struct {
// contains filtered or unexported fields
}
func (ChaptersApiListRequest) CurrentPage ¶
func (r ChaptersApiListRequest) CurrentPage(currentPage int32) ChaptersApiListRequest
func (ChaptersApiListRequest) PageSize ¶
func (r ChaptersApiListRequest) PageSize(pageSize int32) ChaptersApiListRequest
type ChaptersListResponse ¶
type ChaptersListResponse struct { Data []Chapter `json:"data"` Pagination Pagination `json:"pagination"` }
ChaptersListResponse struct for ChaptersListResponse
func NewChaptersListResponse ¶
func NewChaptersListResponse(data []Chapter, pagination Pagination) *ChaptersListResponse
NewChaptersListResponse instantiates a new ChaptersListResponse 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 NewChaptersListResponseWithDefaults ¶
func NewChaptersListResponseWithDefaults() *ChaptersListResponse
NewChaptersListResponseWithDefaults instantiates a new ChaptersListResponse 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 (*ChaptersListResponse) GetData ¶
func (o *ChaptersListResponse) GetData() []Chapter
GetData returns the Data field value
func (*ChaptersListResponse) GetDataOk ¶
func (o *ChaptersListResponse) GetDataOk() (*[]Chapter, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ChaptersListResponse) GetPagination ¶
func (o *ChaptersListResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*ChaptersListResponse) GetPaginationOk ¶
func (o *ChaptersListResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (*ChaptersListResponse) SetData ¶
func (o *ChaptersListResponse) SetData(v []Chapter)
SetData sets field value
func (*ChaptersListResponse) SetPagination ¶
func (o *ChaptersListResponse) SetPagination(v Pagination)
SetPagination sets field value
type ChaptersService ¶
type ChaptersService struct {
// contains filtered or unexported fields
}
ChaptersService communicating with the Chapters endpoints of the api.video API
func (*ChaptersService) Delete ¶
func (s *ChaptersService) Delete(videoId string, language string) error
func (*ChaptersService) DeleteWithContext ¶
func (*ChaptersService) Get ¶
func (s *ChaptersService) Get(videoId string, language string) (*Chapter, error)
func (*ChaptersService) GetWithContext ¶
func (*ChaptersService) List ¶
func (s *ChaptersService) List(videoId string, r ChaptersApiListRequest) (*ChaptersListResponse, error)
func (*ChaptersService) ListWithContext ¶
func (s *ChaptersService) ListWithContext(ctx context.Context, videoId string, r ChaptersApiListRequest) (*ChaptersListResponse, error)
func (*ChaptersService) Upload ¶
func (s *ChaptersService) Upload(videoId string, language string, fileName string, fileReader io.Reader) (*Chapter, error)
- Upload Upload a chapter
- Upload a VTT file to add chapters to your video.
Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos/) for more details.
- @param videoId The unique identifier for the video you want to upload a chapter for.
- @param language A valid [BCP 47](https://github.com/libyal/libfwnt/wiki/Language-Code-identifiers) language representation.
- @return ChaptersApiUploadRequest
func (*ChaptersService) UploadFile ¶
func (*ChaptersService) UploadFileWithContext ¶
func (*ChaptersService) UploadWithContext ¶
func (s *ChaptersService) UploadWithContext(ctx context.Context, videoId string, language string, fileName string, fileReader io.Reader) (*Chapter, error)
- Upload Upload a chapter
- Upload a VTT file to add chapters to your video.
Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos/) for more details.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param videoId The unique identifier for the video you want to upload a chapter for.
- @param language A valid [BCP 47](https://github.com/libyal/libfwnt/wiki/Language-Code-identifiers) language representation.
- @return ChaptersApiUploadRequest
type ChaptersServiceI ¶
type ChaptersServiceI interface { /* * Upload Upload a chapter * @param videoId The unique identifier for the video you want to upload a chapter for. * @param language A valid [BCP 47](https://github.com/libyal/libfwnt/wiki/Language-Code-identifiers) language representation. * @return ChaptersApiUploadRequest */ Upload(videoId string, language string, fileName string, fileReader io.Reader) (*Chapter, error) /* * Upload Upload a chapter * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param videoId The unique identifier for the video you want to upload a chapter for. * @param language A valid [BCP 47](https://github.com/libyal/libfwnt/wiki/Language-Code-identifiers) language representation. * @return ChaptersApiUploadRequest */ UploadWithContext(ctx context.Context, videoId string, language string, fileName string, fileReader io.Reader) (*Chapter, error) /* * Upload Upload a chapter * @param videoId The unique identifier for the video you want to upload a chapter for. * @param language A valid [BCP 47](https://github.com/libyal/libfwnt/wiki/Language-Code-identifiers) language representation. * @return ChaptersApiUploadRequest */ UploadFile(videoId string, language string, file *os.File) (*Chapter, error) /* * Upload Upload a chapter * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param videoId The unique identifier for the video you want to upload a chapter for. * @param language A valid [BCP 47](https://github.com/libyal/libfwnt/wiki/Language-Code-identifiers) language representation. * @return ChaptersApiUploadRequest */ UploadFileWithContext(ctx context.Context, videoId string, language string, file *os.File) (*Chapter, error) Get(videoId string, language string) (*Chapter, error) GetWithContext(ctx context.Context, videoId string, language string) (*Chapter, error) Delete(videoId string, language string) error DeleteWithContext(ctx context.Context, videoId string, language string) error List(videoId string, r ChaptersApiListRequest) (*ChaptersListResponse, error) ListWithContext(ctx context.Context, videoId string, r ChaptersApiListRequest) (*ChaptersListResponse, error) }
type Client ¶
type Client struct { BaseURL *url.URL APIKey string Token *Token AdvancedAuthentication AdvancedAuthenticationServiceI Analytics AnalyticsServiceI Captions CaptionsServiceI Chapters ChaptersServiceI LiveStreams LiveStreamsServiceI PlayerThemes PlayerThemesServiceI UploadTokens UploadTokensServiceI Videos VideosServiceI Watermarks WatermarksServiceI Webhooks WebhooksServiceI // contains filtered or unexported fields }
Client type handles communicating with the api.video API
type ErrorResponse ¶
type ErrorResponse struct { Response *http.Response Type string `json:"type"` Title string `json:"title"` Name string `json:"name"` }
ErrorResponse contains an error from the api.video API
func (*ErrorResponse) Error ¶
func (r *ErrorResponse) Error() string
type IUploadStream ¶
type IUploadStream interface { UploadPart(fileName string, fileReader io.Reader, fileSize int64) (*Video, error) UploadPartWithContext(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64) (*Video, error) UploadPartFile(file *os.File) (*Video, error) UploadPartWithContextFile(ctx context.Context, file *os.File) (*Video, error) UploadLastPart(fileName string, fileReader io.Reader, fileSize int64) (*Video, error) UploadLastPartWithContext(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64) (*Video, error) UploadLastPartFile(file *os.File) (*Video, error) UploadLastPartWithContextFile(ctx context.Context, file *os.File) (*Video, error) }
VideosService communicating with the Videos endpoints of the api.video API
type Link ¶
Link struct for Link
func NewLink ¶
func NewLink() *Link
NewLink instantiates a new Link 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 NewLinkWithDefaults ¶
func NewLinkWithDefaults() *Link
NewLinkWithDefaults instantiates a new Link 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 (*Link) GetRelOk ¶
GetRelOk returns a tuple with the Rel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Link) GetUriOk ¶
GetUriOk returns a tuple with the Uri field value if set, nil otherwise and a boolean to check if the value has been set.
type LiveStream ¶
type LiveStream struct { // The unique identifier for the live stream. Live stream IDs begin with \"li.\" LiveStreamId string `json:"liveStreamId"` // The name of your live stream. Name *string `json:"name,omitempty"` // The unique, private stream key that you use to begin streaming. StreamKey *string `json:"streamKey,omitempty"` // Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management). Public *bool `json:"public,omitempty"` Assets *LiveStreamAssets `json:"assets,omitempty"` // The unique identifier for the player. PlayerId *string `json:"playerId,omitempty"` // Whether or not you are broadcasting the live video you recorded for others to see. True means you are broadcasting to viewers, false means you are not. Broadcasting *bool `json:"broadcasting,omitempty"` // Returns the list of RTMP restream destinations. Restreams []RestreamsResponseObject `json:"restreams"` // When the player was created, presented in ISO-8601 format. CreatedAt *string `json:"createdAt,omitempty"` // When the player was last updated, presented in ISO-8601 format. UpdatedAt *string `json:"updatedAt,omitempty"` }
LiveStream struct for LiveStream
func NewLiveStream ¶
func NewLiveStream(liveStreamId string, restreams []RestreamsResponseObject) *LiveStream
NewLiveStream instantiates a new LiveStream 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 NewLiveStreamWithDefaults ¶
func NewLiveStreamWithDefaults() *LiveStream
NewLiveStreamWithDefaults instantiates a new LiveStream 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 (*LiveStream) GetAssets ¶
func (o *LiveStream) GetAssets() LiveStreamAssets
GetAssets returns the Assets field value if set, zero value otherwise.
func (*LiveStream) GetAssetsOk ¶
func (o *LiveStream) GetAssetsOk() (*LiveStreamAssets, bool)
GetAssetsOk returns a tuple with the Assets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStream) GetBroadcasting ¶
func (o *LiveStream) GetBroadcasting() bool
GetBroadcasting returns the Broadcasting field value if set, zero value otherwise.
func (*LiveStream) GetBroadcastingOk ¶
func (o *LiveStream) GetBroadcastingOk() (*bool, bool)
GetBroadcastingOk returns a tuple with the Broadcasting field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStream) GetCreatedAt ¶
func (o *LiveStream) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*LiveStream) GetCreatedAtOk ¶
func (o *LiveStream) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStream) GetLiveStreamId ¶
func (o *LiveStream) GetLiveStreamId() string
GetLiveStreamId returns the LiveStreamId field value
func (*LiveStream) GetLiveStreamIdOk ¶
func (o *LiveStream) GetLiveStreamIdOk() (*string, bool)
GetLiveStreamIdOk returns a tuple with the LiveStreamId field value and a boolean to check if the value has been set.
func (*LiveStream) GetName ¶
func (o *LiveStream) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*LiveStream) GetNameOk ¶
func (o *LiveStream) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStream) GetPlayerId ¶
func (o *LiveStream) GetPlayerId() string
GetPlayerId returns the PlayerId field value if set, zero value otherwise.
func (*LiveStream) GetPlayerIdOk ¶
func (o *LiveStream) GetPlayerIdOk() (*string, bool)
GetPlayerIdOk returns a tuple with the PlayerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStream) GetPublic ¶
func (o *LiveStream) GetPublic() bool
GetPublic returns the Public field value if set, zero value otherwise.
func (*LiveStream) GetPublicOk ¶
func (o *LiveStream) GetPublicOk() (*bool, bool)
GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStream) GetRestreams ¶ added in v1.3.0
func (o *LiveStream) GetRestreams() []RestreamsResponseObject
GetRestreams returns the Restreams field value
func (*LiveStream) GetRestreamsOk ¶ added in v1.3.0
func (o *LiveStream) GetRestreamsOk() (*[]RestreamsResponseObject, bool)
GetRestreamsOk returns a tuple with the Restreams field value and a boolean to check if the value has been set.
func (*LiveStream) GetStreamKey ¶
func (o *LiveStream) GetStreamKey() string
GetStreamKey returns the StreamKey field value if set, zero value otherwise.
func (*LiveStream) GetStreamKeyOk ¶
func (o *LiveStream) GetStreamKeyOk() (*string, bool)
GetStreamKeyOk returns a tuple with the StreamKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStream) GetUpdatedAt ¶
func (o *LiveStream) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*LiveStream) GetUpdatedAtOk ¶
func (o *LiveStream) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStream) HasAssets ¶
func (o *LiveStream) HasAssets() bool
HasAssets returns a boolean if a field has been set.
func (*LiveStream) HasBroadcasting ¶
func (o *LiveStream) HasBroadcasting() bool
HasBroadcasting returns a boolean if a field has been set.
func (*LiveStream) HasCreatedAt ¶
func (o *LiveStream) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*LiveStream) HasName ¶
func (o *LiveStream) HasName() bool
HasName returns a boolean if a field has been set.
func (*LiveStream) HasPlayerId ¶
func (o *LiveStream) HasPlayerId() bool
HasPlayerId returns a boolean if a field has been set.
func (*LiveStream) HasPublic ¶
func (o *LiveStream) HasPublic() bool
HasPublic returns a boolean if a field has been set.
func (*LiveStream) HasStreamKey ¶
func (o *LiveStream) HasStreamKey() bool
HasStreamKey returns a boolean if a field has been set.
func (*LiveStream) HasUpdatedAt ¶
func (o *LiveStream) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*LiveStream) SetAssets ¶
func (o *LiveStream) SetAssets(v LiveStreamAssets)
SetAssets gets a reference to the given LiveStreamAssets and assigns it to the Assets field.
func (*LiveStream) SetBroadcasting ¶
func (o *LiveStream) SetBroadcasting(v bool)
SetBroadcasting gets a reference to the given bool and assigns it to the Broadcasting field.
func (*LiveStream) SetCreatedAt ¶
func (o *LiveStream) SetCreatedAt(v string)
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*LiveStream) SetLiveStreamId ¶
func (o *LiveStream) SetLiveStreamId(v string)
SetLiveStreamId sets field value
func (*LiveStream) SetName ¶
func (o *LiveStream) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*LiveStream) SetPlayerId ¶
func (o *LiveStream) SetPlayerId(v string)
SetPlayerId gets a reference to the given string and assigns it to the PlayerId field.
func (*LiveStream) SetPublic ¶
func (o *LiveStream) SetPublic(v bool)
SetPublic gets a reference to the given bool and assigns it to the Public field.
func (*LiveStream) SetRestreams ¶ added in v1.3.0
func (o *LiveStream) SetRestreams(v []RestreamsResponseObject)
SetRestreams sets field value
func (*LiveStream) SetStreamKey ¶
func (o *LiveStream) SetStreamKey(v string)
SetStreamKey gets a reference to the given string and assigns it to the StreamKey field.
func (*LiveStream) SetUpdatedAt ¶
func (o *LiveStream) SetUpdatedAt(v string)
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
type LiveStreamAssets ¶
type LiveStreamAssets struct { // The http live streaming (HLS) link for your live video stream. Hls *string `json:"hls,omitempty"` // The embed code for the iframe containing your live video stream. Iframe *string `json:"iframe,omitempty"` // A link to the video player that is playing your live stream. Player *string `json:"player,omitempty"` // A link to the thumbnail for your video. Thumbnail *string `json:"thumbnail,omitempty"` }
LiveStreamAssets struct for LiveStreamAssets
func NewLiveStreamAssets ¶
func NewLiveStreamAssets() *LiveStreamAssets
NewLiveStreamAssets instantiates a new LiveStreamAssets 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 NewLiveStreamAssetsWithDefaults ¶
func NewLiveStreamAssetsWithDefaults() *LiveStreamAssets
NewLiveStreamAssetsWithDefaults instantiates a new LiveStreamAssets 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 (*LiveStreamAssets) GetHls ¶
func (o *LiveStreamAssets) GetHls() string
GetHls returns the Hls field value if set, zero value otherwise.
func (*LiveStreamAssets) GetHlsOk ¶
func (o *LiveStreamAssets) GetHlsOk() (*string, bool)
GetHlsOk returns a tuple with the Hls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamAssets) GetIframe ¶
func (o *LiveStreamAssets) GetIframe() string
GetIframe returns the Iframe field value if set, zero value otherwise.
func (*LiveStreamAssets) GetIframeOk ¶
func (o *LiveStreamAssets) GetIframeOk() (*string, bool)
GetIframeOk returns a tuple with the Iframe field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamAssets) GetPlayer ¶
func (o *LiveStreamAssets) GetPlayer() string
GetPlayer returns the Player field value if set, zero value otherwise.
func (*LiveStreamAssets) GetPlayerOk ¶
func (o *LiveStreamAssets) GetPlayerOk() (*string, bool)
GetPlayerOk returns a tuple with the Player field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamAssets) GetThumbnail ¶
func (o *LiveStreamAssets) GetThumbnail() string
GetThumbnail returns the Thumbnail field value if set, zero value otherwise.
func (*LiveStreamAssets) GetThumbnailOk ¶
func (o *LiveStreamAssets) GetThumbnailOk() (*string, bool)
GetThumbnailOk returns a tuple with the Thumbnail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamAssets) HasHls ¶
func (o *LiveStreamAssets) HasHls() bool
HasHls returns a boolean if a field has been set.
func (*LiveStreamAssets) HasIframe ¶
func (o *LiveStreamAssets) HasIframe() bool
HasIframe returns a boolean if a field has been set.
func (*LiveStreamAssets) HasPlayer ¶
func (o *LiveStreamAssets) HasPlayer() bool
HasPlayer returns a boolean if a field has been set.
func (*LiveStreamAssets) HasThumbnail ¶
func (o *LiveStreamAssets) HasThumbnail() bool
HasThumbnail returns a boolean if a field has been set.
func (*LiveStreamAssets) SetHls ¶
func (o *LiveStreamAssets) SetHls(v string)
SetHls gets a reference to the given string and assigns it to the Hls field.
func (*LiveStreamAssets) SetIframe ¶
func (o *LiveStreamAssets) SetIframe(v string)
SetIframe gets a reference to the given string and assigns it to the Iframe field.
func (*LiveStreamAssets) SetPlayer ¶
func (o *LiveStreamAssets) SetPlayer(v string)
SetPlayer gets a reference to the given string and assigns it to the Player field.
func (*LiveStreamAssets) SetThumbnail ¶
func (o *LiveStreamAssets) SetThumbnail(v string)
SetThumbnail gets a reference to the given string and assigns it to the Thumbnail field.
type LiveStreamCreationPayload ¶
type LiveStreamCreationPayload struct { // Add a name for your live stream here. Name string `json:"name"` // Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management). Public *bool `json:"public,omitempty"` // The unique identifier for the player. PlayerId *string `json:"playerId,omitempty"` // Use this parameter to add, edit, or remove RTMP services where you want to restream a live stream. The list can only contain up to 5 destinations. Restreams *[]RestreamsRequestObject `json:"restreams,omitempty"` }
LiveStreamCreationPayload struct for LiveStreamCreationPayload
func NewLiveStreamCreationPayload ¶
func NewLiveStreamCreationPayload(name string) *LiveStreamCreationPayload
NewLiveStreamCreationPayload instantiates a new LiveStreamCreationPayload 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 NewLiveStreamCreationPayloadWithDefaults ¶
func NewLiveStreamCreationPayloadWithDefaults() *LiveStreamCreationPayload
NewLiveStreamCreationPayloadWithDefaults instantiates a new LiveStreamCreationPayload 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 (*LiveStreamCreationPayload) GetName ¶
func (o *LiveStreamCreationPayload) GetName() string
GetName returns the Name field value
func (*LiveStreamCreationPayload) GetNameOk ¶
func (o *LiveStreamCreationPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*LiveStreamCreationPayload) GetPlayerId ¶
func (o *LiveStreamCreationPayload) GetPlayerId() string
GetPlayerId returns the PlayerId field value if set, zero value otherwise.
func (*LiveStreamCreationPayload) GetPlayerIdOk ¶
func (o *LiveStreamCreationPayload) GetPlayerIdOk() (*string, bool)
GetPlayerIdOk returns a tuple with the PlayerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamCreationPayload) GetPublic ¶
func (o *LiveStreamCreationPayload) GetPublic() bool
GetPublic returns the Public field value if set, zero value otherwise.
func (*LiveStreamCreationPayload) GetPublicOk ¶
func (o *LiveStreamCreationPayload) GetPublicOk() (*bool, bool)
GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamCreationPayload) GetRestreams ¶ added in v1.3.0
func (o *LiveStreamCreationPayload) GetRestreams() []RestreamsRequestObject
GetRestreams returns the Restreams field value if set, zero value otherwise.
func (*LiveStreamCreationPayload) GetRestreamsOk ¶ added in v1.3.0
func (o *LiveStreamCreationPayload) GetRestreamsOk() (*[]RestreamsRequestObject, bool)
GetRestreamsOk returns a tuple with the Restreams field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamCreationPayload) HasPlayerId ¶
func (o *LiveStreamCreationPayload) HasPlayerId() bool
HasPlayerId returns a boolean if a field has been set.
func (*LiveStreamCreationPayload) HasPublic ¶
func (o *LiveStreamCreationPayload) HasPublic() bool
HasPublic returns a boolean if a field has been set.
func (*LiveStreamCreationPayload) HasRestreams ¶ added in v1.3.0
func (o *LiveStreamCreationPayload) HasRestreams() bool
HasRestreams returns a boolean if a field has been set.
func (*LiveStreamCreationPayload) SetName ¶
func (o *LiveStreamCreationPayload) SetName(v string)
SetName sets field value
func (*LiveStreamCreationPayload) SetPlayerId ¶
func (o *LiveStreamCreationPayload) SetPlayerId(v string)
SetPlayerId gets a reference to the given string and assigns it to the PlayerId field.
func (*LiveStreamCreationPayload) SetPublic ¶
func (o *LiveStreamCreationPayload) SetPublic(v bool)
SetPublic gets a reference to the given bool and assigns it to the Public field.
func (*LiveStreamCreationPayload) SetRestreams ¶ added in v1.3.0
func (o *LiveStreamCreationPayload) SetRestreams(v []RestreamsRequestObject)
SetRestreams gets a reference to the given []RestreamsRequestObject and assigns it to the Restreams field.
type LiveStreamListResponse ¶
type LiveStreamListResponse struct { Data []LiveStream `json:"data"` Pagination Pagination `json:"pagination"` }
LiveStreamListResponse struct for LiveStreamListResponse
func NewLiveStreamListResponse ¶
func NewLiveStreamListResponse(data []LiveStream, pagination Pagination) *LiveStreamListResponse
NewLiveStreamListResponse instantiates a new LiveStreamListResponse 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 NewLiveStreamListResponseWithDefaults ¶
func NewLiveStreamListResponseWithDefaults() *LiveStreamListResponse
NewLiveStreamListResponseWithDefaults instantiates a new LiveStreamListResponse 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 (*LiveStreamListResponse) GetData ¶
func (o *LiveStreamListResponse) GetData() []LiveStream
GetData returns the Data field value
func (*LiveStreamListResponse) GetDataOk ¶
func (o *LiveStreamListResponse) GetDataOk() (*[]LiveStream, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*LiveStreamListResponse) GetPagination ¶
func (o *LiveStreamListResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*LiveStreamListResponse) GetPaginationOk ¶
func (o *LiveStreamListResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (*LiveStreamListResponse) SetData ¶
func (o *LiveStreamListResponse) SetData(v []LiveStream)
SetData sets field value
func (*LiveStreamListResponse) SetPagination ¶
func (o *LiveStreamListResponse) SetPagination(v Pagination)
SetPagination sets field value
type LiveStreamSession ¶
type LiveStreamSession struct { Session *LiveStreamSessionSession `json:"session,omitempty"` Location *LiveStreamSessionLocation `json:"location,omitempty"` Referrer *LiveStreamSessionReferrer `json:"referrer,omitempty"` Device *LiveStreamSessionDevice `json:"device,omitempty"` Os *VideoSessionOs `json:"os,omitempty"` Client *LiveStreamSessionClient `json:"client,omitempty"` }
LiveStreamSession struct for LiveStreamSession
func NewLiveStreamSession ¶
func NewLiveStreamSession() *LiveStreamSession
NewLiveStreamSession instantiates a new LiveStreamSession 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 NewLiveStreamSessionWithDefaults ¶
func NewLiveStreamSessionWithDefaults() *LiveStreamSession
NewLiveStreamSessionWithDefaults instantiates a new LiveStreamSession 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 (*LiveStreamSession) GetClient ¶
func (o *LiveStreamSession) GetClient() LiveStreamSessionClient
GetClient returns the Client field value if set, zero value otherwise.
func (*LiveStreamSession) GetClientOk ¶
func (o *LiveStreamSession) GetClientOk() (*LiveStreamSessionClient, bool)
GetClientOk returns a tuple with the Client field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSession) GetDevice ¶
func (o *LiveStreamSession) GetDevice() LiveStreamSessionDevice
GetDevice returns the Device field value if set, zero value otherwise.
func (*LiveStreamSession) GetDeviceOk ¶
func (o *LiveStreamSession) GetDeviceOk() (*LiveStreamSessionDevice, bool)
GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSession) GetLocation ¶
func (o *LiveStreamSession) GetLocation() LiveStreamSessionLocation
GetLocation returns the Location field value if set, zero value otherwise.
func (*LiveStreamSession) GetLocationOk ¶
func (o *LiveStreamSession) GetLocationOk() (*LiveStreamSessionLocation, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSession) GetOs ¶
func (o *LiveStreamSession) GetOs() VideoSessionOs
GetOs returns the Os field value if set, zero value otherwise.
func (*LiveStreamSession) GetOsOk ¶
func (o *LiveStreamSession) GetOsOk() (*VideoSessionOs, bool)
GetOsOk returns a tuple with the Os field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSession) GetReferrer ¶
func (o *LiveStreamSession) GetReferrer() LiveStreamSessionReferrer
GetReferrer returns the Referrer field value if set, zero value otherwise.
func (*LiveStreamSession) GetReferrerOk ¶
func (o *LiveStreamSession) GetReferrerOk() (*LiveStreamSessionReferrer, bool)
GetReferrerOk returns a tuple with the Referrer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSession) GetSession ¶
func (o *LiveStreamSession) GetSession() LiveStreamSessionSession
GetSession returns the Session field value if set, zero value otherwise.
func (*LiveStreamSession) GetSessionOk ¶
func (o *LiveStreamSession) GetSessionOk() (*LiveStreamSessionSession, bool)
GetSessionOk returns a tuple with the Session field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSession) HasClient ¶
func (o *LiveStreamSession) HasClient() bool
HasClient returns a boolean if a field has been set.
func (*LiveStreamSession) HasDevice ¶
func (o *LiveStreamSession) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (*LiveStreamSession) HasLocation ¶
func (o *LiveStreamSession) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*LiveStreamSession) HasOs ¶
func (o *LiveStreamSession) HasOs() bool
HasOs returns a boolean if a field has been set.
func (*LiveStreamSession) HasReferrer ¶
func (o *LiveStreamSession) HasReferrer() bool
HasReferrer returns a boolean if a field has been set.
func (*LiveStreamSession) HasSession ¶
func (o *LiveStreamSession) HasSession() bool
HasSession returns a boolean if a field has been set.
func (*LiveStreamSession) SetClient ¶
func (o *LiveStreamSession) SetClient(v LiveStreamSessionClient)
SetClient gets a reference to the given LiveStreamSessionClient and assigns it to the Client field.
func (*LiveStreamSession) SetDevice ¶
func (o *LiveStreamSession) SetDevice(v LiveStreamSessionDevice)
SetDevice gets a reference to the given LiveStreamSessionDevice and assigns it to the Device field.
func (*LiveStreamSession) SetLocation ¶
func (o *LiveStreamSession) SetLocation(v LiveStreamSessionLocation)
SetLocation gets a reference to the given LiveStreamSessionLocation and assigns it to the Location field.
func (*LiveStreamSession) SetOs ¶
func (o *LiveStreamSession) SetOs(v VideoSessionOs)
SetOs gets a reference to the given VideoSessionOs and assigns it to the Os field.
func (*LiveStreamSession) SetReferrer ¶
func (o *LiveStreamSession) SetReferrer(v LiveStreamSessionReferrer)
SetReferrer gets a reference to the given LiveStreamSessionReferrer and assigns it to the Referrer field.
func (*LiveStreamSession) SetSession ¶
func (o *LiveStreamSession) SetSession(v LiveStreamSessionSession)
SetSession gets a reference to the given LiveStreamSessionSession and assigns it to the Session field.
type LiveStreamSessionClient ¶
type LiveStreamSessionClient struct { // The name of the browser used to view the live stream session. Name *string `json:"name,omitempty"` // The version of the browser used to view the live stream session. Version *string `json:"version,omitempty"` // The type of client used to view the live stream session. Type *string `json:"type,omitempty"` }
LiveStreamSessionClient What kind of browser the viewer is using for the live stream session.
func NewLiveStreamSessionClient ¶
func NewLiveStreamSessionClient() *LiveStreamSessionClient
NewLiveStreamSessionClient instantiates a new LiveStreamSessionClient 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 NewLiveStreamSessionClientWithDefaults ¶
func NewLiveStreamSessionClientWithDefaults() *LiveStreamSessionClient
NewLiveStreamSessionClientWithDefaults instantiates a new LiveStreamSessionClient 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 (*LiveStreamSessionClient) GetName ¶
func (o *LiveStreamSessionClient) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*LiveStreamSessionClient) GetNameOk ¶
func (o *LiveStreamSessionClient) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionClient) GetType ¶
func (o *LiveStreamSessionClient) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*LiveStreamSessionClient) GetTypeOk ¶
func (o *LiveStreamSessionClient) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionClient) GetVersion ¶
func (o *LiveStreamSessionClient) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*LiveStreamSessionClient) GetVersionOk ¶
func (o *LiveStreamSessionClient) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionClient) HasName ¶
func (o *LiveStreamSessionClient) HasName() bool
HasName returns a boolean if a field has been set.
func (*LiveStreamSessionClient) HasType ¶
func (o *LiveStreamSessionClient) HasType() bool
HasType returns a boolean if a field has been set.
func (*LiveStreamSessionClient) HasVersion ¶
func (o *LiveStreamSessionClient) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (*LiveStreamSessionClient) SetName ¶
func (o *LiveStreamSessionClient) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*LiveStreamSessionClient) SetType ¶
func (o *LiveStreamSessionClient) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*LiveStreamSessionClient) SetVersion ¶
func (o *LiveStreamSessionClient) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
type LiveStreamSessionDevice ¶
type LiveStreamSessionDevice struct { // What the type is like desktop, laptop, mobile. Type *string `json:"type,omitempty"` // If known, what the brand of the device is, like Apple, Dell, etc. Vendor *string `json:"vendor,omitempty"` // The specific model of the device, if known. Model *string `json:"model,omitempty"` }
LiveStreamSessionDevice What type of device the user is on when in the live stream session.
func NewLiveStreamSessionDevice ¶
func NewLiveStreamSessionDevice() *LiveStreamSessionDevice
NewLiveStreamSessionDevice instantiates a new LiveStreamSessionDevice 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 NewLiveStreamSessionDeviceWithDefaults ¶
func NewLiveStreamSessionDeviceWithDefaults() *LiveStreamSessionDevice
NewLiveStreamSessionDeviceWithDefaults instantiates a new LiveStreamSessionDevice 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 (*LiveStreamSessionDevice) GetModel ¶
func (o *LiveStreamSessionDevice) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*LiveStreamSessionDevice) GetModelOk ¶
func (o *LiveStreamSessionDevice) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionDevice) GetType ¶
func (o *LiveStreamSessionDevice) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*LiveStreamSessionDevice) GetTypeOk ¶
func (o *LiveStreamSessionDevice) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionDevice) GetVendor ¶
func (o *LiveStreamSessionDevice) GetVendor() string
GetVendor returns the Vendor field value if set, zero value otherwise.
func (*LiveStreamSessionDevice) GetVendorOk ¶
func (o *LiveStreamSessionDevice) GetVendorOk() (*string, bool)
GetVendorOk returns a tuple with the Vendor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionDevice) HasModel ¶
func (o *LiveStreamSessionDevice) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*LiveStreamSessionDevice) HasType ¶
func (o *LiveStreamSessionDevice) HasType() bool
HasType returns a boolean if a field has been set.
func (*LiveStreamSessionDevice) HasVendor ¶
func (o *LiveStreamSessionDevice) HasVendor() bool
HasVendor returns a boolean if a field has been set.
func (*LiveStreamSessionDevice) SetModel ¶
func (o *LiveStreamSessionDevice) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*LiveStreamSessionDevice) SetType ¶
func (o *LiveStreamSessionDevice) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*LiveStreamSessionDevice) SetVendor ¶
func (o *LiveStreamSessionDevice) SetVendor(v string)
SetVendor gets a reference to the given string and assigns it to the Vendor field.
type LiveStreamSessionLocation ¶
type LiveStreamSessionLocation struct { // The country of the viewer of the live stream. Country *string `json:"country,omitempty"` // The city of the viewer of the live stream. City *string `json:"city,omitempty"` }
LiveStreamSessionLocation The location of the viewer of the live stream.
func NewLiveStreamSessionLocation ¶
func NewLiveStreamSessionLocation() *LiveStreamSessionLocation
NewLiveStreamSessionLocation instantiates a new LiveStreamSessionLocation 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 NewLiveStreamSessionLocationWithDefaults ¶
func NewLiveStreamSessionLocationWithDefaults() *LiveStreamSessionLocation
NewLiveStreamSessionLocationWithDefaults instantiates a new LiveStreamSessionLocation 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 (*LiveStreamSessionLocation) GetCity ¶
func (o *LiveStreamSessionLocation) GetCity() string
GetCity returns the City field value if set, zero value otherwise.
func (*LiveStreamSessionLocation) GetCityOk ¶
func (o *LiveStreamSessionLocation) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionLocation) GetCountry ¶
func (o *LiveStreamSessionLocation) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*LiveStreamSessionLocation) GetCountryOk ¶
func (o *LiveStreamSessionLocation) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionLocation) HasCity ¶
func (o *LiveStreamSessionLocation) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*LiveStreamSessionLocation) HasCountry ¶
func (o *LiveStreamSessionLocation) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*LiveStreamSessionLocation) SetCity ¶
func (o *LiveStreamSessionLocation) SetCity(v string)
SetCity gets a reference to the given string and assigns it to the City field.
func (*LiveStreamSessionLocation) SetCountry ¶
func (o *LiveStreamSessionLocation) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
type LiveStreamSessionReferrer ¶
type LiveStreamSessionReferrer struct { // The website the viewer of the live stream was referred to in order to view the live stream. Url *string `json:"url,omitempty"` // The type of search that brought the viewer to the live stream. Organic would be they found it on their own, paid would be they found it via an advertisement. Medium *string `json:"medium,omitempty"` // Where the viewer came from to see the live stream (usually where they searched from). Source *string `json:"source,omitempty"` // What term they searched for that led them to the live stream. SearchTerm *string `json:"searchTerm,omitempty"` }
LiveStreamSessionReferrer struct for LiveStreamSessionReferrer
func NewLiveStreamSessionReferrer ¶
func NewLiveStreamSessionReferrer() *LiveStreamSessionReferrer
NewLiveStreamSessionReferrer instantiates a new LiveStreamSessionReferrer 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 NewLiveStreamSessionReferrerWithDefaults ¶
func NewLiveStreamSessionReferrerWithDefaults() *LiveStreamSessionReferrer
NewLiveStreamSessionReferrerWithDefaults instantiates a new LiveStreamSessionReferrer 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 (*LiveStreamSessionReferrer) GetMedium ¶
func (o *LiveStreamSessionReferrer) GetMedium() string
GetMedium returns the Medium field value if set, zero value otherwise.
func (*LiveStreamSessionReferrer) GetMediumOk ¶
func (o *LiveStreamSessionReferrer) GetMediumOk() (*string, bool)
GetMediumOk returns a tuple with the Medium field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionReferrer) GetSearchTerm ¶
func (o *LiveStreamSessionReferrer) GetSearchTerm() string
GetSearchTerm returns the SearchTerm field value if set, zero value otherwise.
func (*LiveStreamSessionReferrer) GetSearchTermOk ¶
func (o *LiveStreamSessionReferrer) GetSearchTermOk() (*string, bool)
GetSearchTermOk returns a tuple with the SearchTerm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionReferrer) GetSource ¶
func (o *LiveStreamSessionReferrer) GetSource() string
GetSource returns the Source field value if set, zero value otherwise.
func (*LiveStreamSessionReferrer) GetSourceOk ¶
func (o *LiveStreamSessionReferrer) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionReferrer) GetUrl ¶
func (o *LiveStreamSessionReferrer) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*LiveStreamSessionReferrer) GetUrlOk ¶
func (o *LiveStreamSessionReferrer) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionReferrer) HasMedium ¶
func (o *LiveStreamSessionReferrer) HasMedium() bool
HasMedium returns a boolean if a field has been set.
func (*LiveStreamSessionReferrer) HasSearchTerm ¶
func (o *LiveStreamSessionReferrer) HasSearchTerm() bool
HasSearchTerm returns a boolean if a field has been set.
func (*LiveStreamSessionReferrer) HasSource ¶
func (o *LiveStreamSessionReferrer) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*LiveStreamSessionReferrer) HasUrl ¶
func (o *LiveStreamSessionReferrer) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*LiveStreamSessionReferrer) SetMedium ¶
func (o *LiveStreamSessionReferrer) SetMedium(v string)
SetMedium gets a reference to the given string and assigns it to the Medium field.
func (*LiveStreamSessionReferrer) SetSearchTerm ¶
func (o *LiveStreamSessionReferrer) SetSearchTerm(v string)
SetSearchTerm gets a reference to the given string and assigns it to the SearchTerm field.
func (*LiveStreamSessionReferrer) SetSource ¶
func (o *LiveStreamSessionReferrer) SetSource(v string)
SetSource gets a reference to the given string and assigns it to the Source field.
func (*LiveStreamSessionReferrer) SetUrl ¶
func (o *LiveStreamSessionReferrer) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
type LiveStreamSessionSession ¶
type LiveStreamSessionSession struct { // A unique identifier for your session. You can use this to track what happens during a specific session. SessionId *string `json:"sessionId,omitempty"` // When the session started, with the date and time presented in ISO-8601 format. LoadedAt *string `json:"loadedAt,omitempty"` // When the session ended, with the date and time presented in ISO-8601 format. EndedAt *string `json:"endedAt,omitempty"` }
LiveStreamSessionSession struct for LiveStreamSessionSession
func NewLiveStreamSessionSession ¶
func NewLiveStreamSessionSession() *LiveStreamSessionSession
NewLiveStreamSessionSession instantiates a new LiveStreamSessionSession 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 NewLiveStreamSessionSessionWithDefaults ¶
func NewLiveStreamSessionSessionWithDefaults() *LiveStreamSessionSession
NewLiveStreamSessionSessionWithDefaults instantiates a new LiveStreamSessionSession 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 (*LiveStreamSessionSession) GetEndedAt ¶
func (o *LiveStreamSessionSession) GetEndedAt() string
GetEndedAt returns the EndedAt field value if set, zero value otherwise.
func (*LiveStreamSessionSession) GetEndedAtOk ¶
func (o *LiveStreamSessionSession) GetEndedAtOk() (*string, bool)
GetEndedAtOk returns a tuple with the EndedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionSession) GetLoadedAt ¶
func (o *LiveStreamSessionSession) GetLoadedAt() string
GetLoadedAt returns the LoadedAt field value if set, zero value otherwise.
func (*LiveStreamSessionSession) GetLoadedAtOk ¶
func (o *LiveStreamSessionSession) GetLoadedAtOk() (*string, bool)
GetLoadedAtOk returns a tuple with the LoadedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionSession) GetSessionId ¶
func (o *LiveStreamSessionSession) GetSessionId() string
GetSessionId returns the SessionId field value if set, zero value otherwise.
func (*LiveStreamSessionSession) GetSessionIdOk ¶
func (o *LiveStreamSessionSession) GetSessionIdOk() (*string, bool)
GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamSessionSession) HasEndedAt ¶
func (o *LiveStreamSessionSession) HasEndedAt() bool
HasEndedAt returns a boolean if a field has been set.
func (*LiveStreamSessionSession) HasLoadedAt ¶
func (o *LiveStreamSessionSession) HasLoadedAt() bool
HasLoadedAt returns a boolean if a field has been set.
func (*LiveStreamSessionSession) HasSessionId ¶
func (o *LiveStreamSessionSession) HasSessionId() bool
HasSessionId returns a boolean if a field has been set.
func (*LiveStreamSessionSession) SetEndedAt ¶
func (o *LiveStreamSessionSession) SetEndedAt(v string)
SetEndedAt gets a reference to the given string and assigns it to the EndedAt field.
func (*LiveStreamSessionSession) SetLoadedAt ¶
func (o *LiveStreamSessionSession) SetLoadedAt(v string)
SetLoadedAt gets a reference to the given string and assigns it to the LoadedAt field.
func (*LiveStreamSessionSession) SetSessionId ¶
func (o *LiveStreamSessionSession) SetSessionId(v string)
SetSessionId gets a reference to the given string and assigns it to the SessionId field.
type LiveStreamUpdatePayload ¶
type LiveStreamUpdatePayload struct { // The name you want to use for your live stream. Name *string `json:"name,omitempty"` // Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management). Public *bool `json:"public,omitempty"` // The unique ID for the player associated with a live stream that you want to update. PlayerId *string `json:"playerId,omitempty"` // Use this parameter to add, edit, or remove RTMP services where you want to restream a live stream. The list can only contain up to 5 destinations. This operation updates all restream destinations in the same request. If you do not want to modify an existing restream destination, you need to include it in your request, otherwise it is removed. Restreams *[]RestreamsRequestObject `json:"restreams,omitempty"` }
LiveStreamUpdatePayload struct for LiveStreamUpdatePayload
func NewLiveStreamUpdatePayload ¶
func NewLiveStreamUpdatePayload() *LiveStreamUpdatePayload
NewLiveStreamUpdatePayload instantiates a new LiveStreamUpdatePayload 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 NewLiveStreamUpdatePayloadWithDefaults ¶
func NewLiveStreamUpdatePayloadWithDefaults() *LiveStreamUpdatePayload
NewLiveStreamUpdatePayloadWithDefaults instantiates a new LiveStreamUpdatePayload 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 (*LiveStreamUpdatePayload) GetName ¶
func (o *LiveStreamUpdatePayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*LiveStreamUpdatePayload) GetNameOk ¶
func (o *LiveStreamUpdatePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamUpdatePayload) GetPlayerId ¶
func (o *LiveStreamUpdatePayload) GetPlayerId() string
GetPlayerId returns the PlayerId field value if set, zero value otherwise.
func (*LiveStreamUpdatePayload) GetPlayerIdOk ¶
func (o *LiveStreamUpdatePayload) GetPlayerIdOk() (*string, bool)
GetPlayerIdOk returns a tuple with the PlayerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamUpdatePayload) GetPublic ¶
func (o *LiveStreamUpdatePayload) GetPublic() bool
GetPublic returns the Public field value if set, zero value otherwise.
func (*LiveStreamUpdatePayload) GetPublicOk ¶
func (o *LiveStreamUpdatePayload) GetPublicOk() (*bool, bool)
GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamUpdatePayload) GetRestreams ¶ added in v1.3.0
func (o *LiveStreamUpdatePayload) GetRestreams() []RestreamsRequestObject
GetRestreams returns the Restreams field value if set, zero value otherwise.
func (*LiveStreamUpdatePayload) GetRestreamsOk ¶ added in v1.3.0
func (o *LiveStreamUpdatePayload) GetRestreamsOk() (*[]RestreamsRequestObject, bool)
GetRestreamsOk returns a tuple with the Restreams field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LiveStreamUpdatePayload) HasName ¶
func (o *LiveStreamUpdatePayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*LiveStreamUpdatePayload) HasPlayerId ¶
func (o *LiveStreamUpdatePayload) HasPlayerId() bool
HasPlayerId returns a boolean if a field has been set.
func (*LiveStreamUpdatePayload) HasPublic ¶
func (o *LiveStreamUpdatePayload) HasPublic() bool
HasPublic returns a boolean if a field has been set.
func (*LiveStreamUpdatePayload) HasRestreams ¶ added in v1.3.0
func (o *LiveStreamUpdatePayload) HasRestreams() bool
HasRestreams returns a boolean if a field has been set.
func (*LiveStreamUpdatePayload) SetName ¶
func (o *LiveStreamUpdatePayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*LiveStreamUpdatePayload) SetPlayerId ¶
func (o *LiveStreamUpdatePayload) SetPlayerId(v string)
SetPlayerId gets a reference to the given string and assigns it to the PlayerId field.
func (*LiveStreamUpdatePayload) SetPublic ¶
func (o *LiveStreamUpdatePayload) SetPublic(v bool)
SetPublic gets a reference to the given bool and assigns it to the Public field.
func (*LiveStreamUpdatePayload) SetRestreams ¶ added in v1.3.0
func (o *LiveStreamUpdatePayload) SetRestreams(v []RestreamsRequestObject)
SetRestreams gets a reference to the given []RestreamsRequestObject and assigns it to the Restreams field.
type LiveStreamsApiListRequest ¶
type LiveStreamsApiListRequest struct {
// contains filtered or unexported fields
}
func (LiveStreamsApiListRequest) CurrentPage ¶
func (r LiveStreamsApiListRequest) CurrentPage(currentPage int32) LiveStreamsApiListRequest
func (LiveStreamsApiListRequest) Name ¶
func (r LiveStreamsApiListRequest) Name(name string) LiveStreamsApiListRequest
func (LiveStreamsApiListRequest) PageSize ¶
func (r LiveStreamsApiListRequest) PageSize(pageSize int32) LiveStreamsApiListRequest
func (LiveStreamsApiListRequest) SortBy ¶
func (r LiveStreamsApiListRequest) SortBy(sortBy string) LiveStreamsApiListRequest
func (LiveStreamsApiListRequest) SortOrder ¶
func (r LiveStreamsApiListRequest) SortOrder(sortOrder string) LiveStreamsApiListRequest
func (LiveStreamsApiListRequest) StreamKey ¶
func (r LiveStreamsApiListRequest) StreamKey(streamKey string) LiveStreamsApiListRequest
type LiveStreamsService ¶
type LiveStreamsService struct {
// contains filtered or unexported fields
}
LiveStreamsService communicating with the LiveStreams endpoints of the api.video API
func (*LiveStreamsService) Create ¶
func (s *LiveStreamsService) Create(liveStreamCreationPayload LiveStreamCreationPayload) (*LiveStream, error)
func (*LiveStreamsService) CreateWithContext ¶
func (s *LiveStreamsService) CreateWithContext(ctx context.Context, liveStreamCreationPayload LiveStreamCreationPayload) (*LiveStream, error)
func (*LiveStreamsService) Delete ¶
func (s *LiveStreamsService) Delete(liveStreamId string) error
func (*LiveStreamsService) DeleteThumbnail ¶
func (s *LiveStreamsService) DeleteThumbnail(liveStreamId string) (*LiveStream, error)
func (*LiveStreamsService) DeleteThumbnailWithContext ¶
func (s *LiveStreamsService) DeleteThumbnailWithContext(ctx context.Context, liveStreamId string) (*LiveStream, error)
func (*LiveStreamsService) DeleteWithContext ¶
func (s *LiveStreamsService) DeleteWithContext(ctx context.Context, liveStreamId string) error
func (*LiveStreamsService) Get ¶
func (s *LiveStreamsService) Get(liveStreamId string) (*LiveStream, error)
func (*LiveStreamsService) GetWithContext ¶
func (s *LiveStreamsService) GetWithContext(ctx context.Context, liveStreamId string) (*LiveStream, error)
func (*LiveStreamsService) List ¶
func (s *LiveStreamsService) List(r LiveStreamsApiListRequest) (*LiveStreamListResponse, error)
func (*LiveStreamsService) ListWithContext ¶
func (s *LiveStreamsService) ListWithContext(ctx context.Context, r LiveStreamsApiListRequest) (*LiveStreamListResponse, error)
func (*LiveStreamsService) Update ¶
func (s *LiveStreamsService) Update(liveStreamId string, liveStreamUpdatePayload LiveStreamUpdatePayload) (*LiveStream, error)
func (*LiveStreamsService) UpdateWithContext ¶
func (s *LiveStreamsService) UpdateWithContext(ctx context.Context, liveStreamId string, liveStreamUpdatePayload LiveStreamUpdatePayload) (*LiveStream, error)
func (*LiveStreamsService) UploadThumbnail ¶
func (s *LiveStreamsService) UploadThumbnail(liveStreamId string, fileName string, fileReader io.Reader) (*LiveStream, error)
* UploadThumbnail Upload a thumbnail * Upload the thumbnail for the livestream.
* @param liveStreamId The unique ID for the live stream you want to upload. * @return LiveStreamsApiUploadThumbnailRequest
func (*LiveStreamsService) UploadThumbnailFile ¶
func (s *LiveStreamsService) UploadThumbnailFile(liveStreamId string, file *os.File) (*LiveStream, error)
func (*LiveStreamsService) UploadThumbnailFileWithContext ¶
func (s *LiveStreamsService) UploadThumbnailFileWithContext(ctx context.Context, liveStreamId string, file *os.File) (*LiveStream, error)
func (*LiveStreamsService) UploadThumbnailWithContext ¶
func (s *LiveStreamsService) UploadThumbnailWithContext(ctx context.Context, liveStreamId string, fileName string, fileReader io.Reader) (*LiveStream, error)
* UploadThumbnail Upload a thumbnail * Upload the thumbnail for the livestream. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param liveStreamId The unique ID for the live stream you want to upload. * @return LiveStreamsApiUploadThumbnailRequest
type LiveStreamsServiceI ¶
type LiveStreamsServiceI interface { Create(liveStreamCreationPayload LiveStreamCreationPayload) (*LiveStream, error) CreateWithContext(ctx context.Context, liveStreamCreationPayload LiveStreamCreationPayload) (*LiveStream, error) Get(liveStreamId string) (*LiveStream, error) GetWithContext(ctx context.Context, liveStreamId string) (*LiveStream, error) Update(liveStreamId string, liveStreamUpdatePayload LiveStreamUpdatePayload) (*LiveStream, error) UpdateWithContext(ctx context.Context, liveStreamId string, liveStreamUpdatePayload LiveStreamUpdatePayload) (*LiveStream, error) Delete(liveStreamId string) error DeleteWithContext(ctx context.Context, liveStreamId string) error List(r LiveStreamsApiListRequest) (*LiveStreamListResponse, error) ListWithContext(ctx context.Context, r LiveStreamsApiListRequest) (*LiveStreamListResponse, error) /* * UploadThumbnail Upload a thumbnail * @param liveStreamId The unique ID for the live stream you want to upload. * @return LiveStreamsApiUploadThumbnailRequest */ UploadThumbnail(liveStreamId string, fileName string, fileReader io.Reader) (*LiveStream, error) /* * UploadThumbnail Upload a thumbnail * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param liveStreamId The unique ID for the live stream you want to upload. * @return LiveStreamsApiUploadThumbnailRequest */ UploadThumbnailWithContext(ctx context.Context, liveStreamId string, fileName string, fileReader io.Reader) (*LiveStream, error) /* * UploadThumbnail Upload a thumbnail * @param liveStreamId The unique ID for the live stream you want to upload. * @return LiveStreamsApiUploadThumbnailRequest */ UploadThumbnailFile(liveStreamId string, file *os.File) (*LiveStream, error) /* * UploadThumbnail Upload a thumbnail * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param liveStreamId The unique ID for the live stream you want to upload. * @return LiveStreamsApiUploadThumbnailRequest */ UploadThumbnailFileWithContext(ctx context.Context, liveStreamId string, file *os.File) (*LiveStream, error) DeleteThumbnail(liveStreamId string) (*LiveStream, error) DeleteThumbnailWithContext(ctx context.Context, liveStreamId string) (*LiveStream, error) }
type Metadata ¶
type Metadata struct { // The constant that defines the data set. Key *string `json:"key,omitempty"` // A variable which belongs to the data set. Value *string `json:"value,omitempty"` }
Metadata struct for Metadata
func NewMetadata ¶
func NewMetadata() *Metadata
NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults ¶
func NewMetadataWithDefaults() *Metadata
NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetValueOk ¶
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
type Model403ErrorSchema ¶ added in v1.3.0
type Model403ErrorSchema struct { // A link to the error documentation. Type *string `json:"type,omitempty"` // A description of the error that occurred. Title *string `json:"title,omitempty"` // The name of the parameter that caused the error. Name *NullableString `json:"name,omitempty"` // The HTTP status code. Status *int32 `json:"status,omitempty"` }
Model403ErrorSchema struct for Model403ErrorSchema
func NewModel403ErrorSchema ¶ added in v1.3.0
func NewModel403ErrorSchema() *Model403ErrorSchema
NewModel403ErrorSchema instantiates a new Model403ErrorSchema 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 NewModel403ErrorSchemaWithDefaults ¶ added in v1.3.0
func NewModel403ErrorSchemaWithDefaults() *Model403ErrorSchema
NewModel403ErrorSchemaWithDefaults instantiates a new Model403ErrorSchema 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 (*Model403ErrorSchema) GetName ¶ added in v1.3.0
func (o *Model403ErrorSchema) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model403ErrorSchema) GetNameOk ¶ added in v1.3.0
func (o *Model403ErrorSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model403ErrorSchema) GetStatus ¶ added in v1.3.0
func (o *Model403ErrorSchema) GetStatus() int32
GetStatus returns the Status field value if set, zero value otherwise.
func (*Model403ErrorSchema) GetStatusOk ¶ added in v1.3.0
func (o *Model403ErrorSchema) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Model403ErrorSchema) GetTitle ¶ added in v1.3.0
func (o *Model403ErrorSchema) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*Model403ErrorSchema) GetTitleOk ¶ added in v1.3.0
func (o *Model403ErrorSchema) 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 (*Model403ErrorSchema) GetType ¶ added in v1.3.0
func (o *Model403ErrorSchema) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*Model403ErrorSchema) GetTypeOk ¶ added in v1.3.0
func (o *Model403ErrorSchema) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Model403ErrorSchema) HasName ¶ added in v1.3.0
func (o *Model403ErrorSchema) HasName() bool
HasName returns a boolean if a field has been set.
func (*Model403ErrorSchema) HasStatus ¶ added in v1.3.0
func (o *Model403ErrorSchema) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*Model403ErrorSchema) HasTitle ¶ added in v1.3.0
func (o *Model403ErrorSchema) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*Model403ErrorSchema) HasType ¶ added in v1.3.0
func (o *Model403ErrorSchema) HasType() bool
HasType returns a boolean if a field has been set.
func (*Model403ErrorSchema) SetName ¶ added in v1.3.0
func (o *Model403ErrorSchema) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*Model403ErrorSchema) SetNameNil ¶ added in v1.3.0
func (o *Model403ErrorSchema) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*Model403ErrorSchema) SetStatus ¶ added in v1.3.0
func (o *Model403ErrorSchema) SetStatus(v int32)
SetStatus gets a reference to the given int32 and assigns it to the Status field.
func (*Model403ErrorSchema) SetTitle ¶ added in v1.3.0
func (o *Model403ErrorSchema) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*Model403ErrorSchema) SetType ¶ added in v1.3.0
func (o *Model403ErrorSchema) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*Model403ErrorSchema) UnsetName ¶ added in v1.3.0
func (o *Model403ErrorSchema) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
type NotFound ¶
type NotFound struct { Type *string `json:"type,omitempty"` Title *string `json:"title,omitempty"` Name *string `json:"name,omitempty"` Status *int32 `json:"status,omitempty"` }
NotFound struct for NotFound
func NewNotFound ¶
func NewNotFound() *NotFound
NewNotFound instantiates a new NotFound 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 NewNotFoundWithDefaults ¶
func NewNotFoundWithDefaults() *NotFound
NewNotFoundWithDefaults instantiates a new NotFound 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 (*NotFound) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotFound) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotFound) GetTitleOk ¶
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 (*NotFound) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotFound) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*NotFound) SetStatus ¶
SetStatus gets a reference to the given int32 and assigns it to the Status field.
type NullableAccessToken ¶
type NullableAccessToken struct {
// contains filtered or unexported fields
}
func NewNullableAccessToken ¶
func NewNullableAccessToken(val *AccessToken) *NullableAccessToken
func (NullableAccessToken) Get ¶
func (v NullableAccessToken) Get() *AccessToken
func (NullableAccessToken) IsSet ¶
func (v NullableAccessToken) IsSet() bool
func (*NullableAccessToken) Set ¶
func (v *NullableAccessToken) Set(val *AccessToken)
func (*NullableAccessToken) Unset ¶
func (v *NullableAccessToken) Unset()
type NullableAdditionalBadRequestErrors ¶ added in v1.3.0
type NullableAdditionalBadRequestErrors struct {
// contains filtered or unexported fields
}
func NewNullableAdditionalBadRequestErrors ¶ added in v1.3.0
func NewNullableAdditionalBadRequestErrors(val *AdditionalBadRequestErrors) *NullableAdditionalBadRequestErrors
func (NullableAdditionalBadRequestErrors) Get ¶ added in v1.3.0
func (v NullableAdditionalBadRequestErrors) Get() *AdditionalBadRequestErrors
func (NullableAdditionalBadRequestErrors) IsSet ¶ added in v1.3.0
func (v NullableAdditionalBadRequestErrors) IsSet() bool
func (*NullableAdditionalBadRequestErrors) Set ¶ added in v1.3.0
func (v *NullableAdditionalBadRequestErrors) Set(val *AdditionalBadRequestErrors)
func (*NullableAdditionalBadRequestErrors) Unset ¶ added in v1.3.0
func (v *NullableAdditionalBadRequestErrors) Unset()
type NullableAnalyticsData ¶ added in v1.3.0
type NullableAnalyticsData struct {
// contains filtered or unexported fields
}
func NewNullableAnalyticsData ¶ added in v1.3.0
func NewNullableAnalyticsData(val *AnalyticsData) *NullableAnalyticsData
func (NullableAnalyticsData) Get ¶ added in v1.3.0
func (v NullableAnalyticsData) Get() *AnalyticsData
func (NullableAnalyticsData) IsSet ¶ added in v1.3.0
func (v NullableAnalyticsData) IsSet() bool
func (*NullableAnalyticsData) Set ¶ added in v1.3.0
func (v *NullableAnalyticsData) Set(val *AnalyticsData)
func (*NullableAnalyticsData) Unset ¶ added in v1.3.0
func (v *NullableAnalyticsData) Unset()
type NullableAnalyticsPlays400Error ¶ added in v1.3.0
type NullableAnalyticsPlays400Error struct {
// contains filtered or unexported fields
}
func NewNullableAnalyticsPlays400Error ¶ added in v1.3.0
func NewNullableAnalyticsPlays400Error(val *AnalyticsPlays400Error) *NullableAnalyticsPlays400Error
func (NullableAnalyticsPlays400Error) Get ¶ added in v1.3.0
func (v NullableAnalyticsPlays400Error) Get() *AnalyticsPlays400Error
func (NullableAnalyticsPlays400Error) IsSet ¶ added in v1.3.0
func (v NullableAnalyticsPlays400Error) IsSet() bool
func (*NullableAnalyticsPlays400Error) Set ¶ added in v1.3.0
func (v *NullableAnalyticsPlays400Error) Set(val *AnalyticsPlays400Error)
func (*NullableAnalyticsPlays400Error) Unset ¶ added in v1.3.0
func (v *NullableAnalyticsPlays400Error) Unset()
type NullableAnalyticsPlaysResponse ¶ added in v1.3.0
type NullableAnalyticsPlaysResponse struct {
// contains filtered or unexported fields
}
func NewNullableAnalyticsPlaysResponse ¶ added in v1.3.0
func NewNullableAnalyticsPlaysResponse(val *AnalyticsPlaysResponse) *NullableAnalyticsPlaysResponse
func (NullableAnalyticsPlaysResponse) Get ¶ added in v1.3.0
func (v NullableAnalyticsPlaysResponse) Get() *AnalyticsPlaysResponse
func (NullableAnalyticsPlaysResponse) IsSet ¶ added in v1.3.0
func (v NullableAnalyticsPlaysResponse) IsSet() bool
func (*NullableAnalyticsPlaysResponse) Set ¶ added in v1.3.0
func (v *NullableAnalyticsPlaysResponse) Set(val *AnalyticsPlaysResponse)
func (*NullableAnalyticsPlaysResponse) Unset ¶ added in v1.3.0
func (v *NullableAnalyticsPlaysResponse) Unset()
type NullableAuthenticatePayload ¶
type NullableAuthenticatePayload struct {
// contains filtered or unexported fields
}
func NewNullableAuthenticatePayload ¶
func NewNullableAuthenticatePayload(val *AuthenticatePayload) *NullableAuthenticatePayload
func (NullableAuthenticatePayload) Get ¶
func (v NullableAuthenticatePayload) Get() *AuthenticatePayload
func (NullableAuthenticatePayload) IsSet ¶
func (v NullableAuthenticatePayload) IsSet() bool
func (*NullableAuthenticatePayload) Set ¶
func (v *NullableAuthenticatePayload) Set(val *AuthenticatePayload)
func (*NullableAuthenticatePayload) Unset ¶
func (v *NullableAuthenticatePayload) Unset()
type NullableBadRequest ¶
type NullableBadRequest struct {
// contains filtered or unexported fields
}
func NewNullableBadRequest ¶
func NewNullableBadRequest(val *BadRequest) *NullableBadRequest
func (NullableBadRequest) Get ¶
func (v NullableBadRequest) Get() *BadRequest
func (NullableBadRequest) IsSet ¶
func (v NullableBadRequest) IsSet() bool
func (*NullableBadRequest) Set ¶
func (v *NullableBadRequest) Set(val *BadRequest)
func (*NullableBadRequest) Unset ¶
func (v *NullableBadRequest) 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 NullableBytesRange ¶
type NullableBytesRange struct {
// contains filtered or unexported fields
}
func NewNullableBytesRange ¶
func NewNullableBytesRange(val *BytesRange) *NullableBytesRange
func (NullableBytesRange) Get ¶
func (v NullableBytesRange) Get() *BytesRange
func (NullableBytesRange) IsSet ¶
func (v NullableBytesRange) IsSet() bool
func (*NullableBytesRange) Set ¶
func (v *NullableBytesRange) Set(val *BytesRange)
func (*NullableBytesRange) Unset ¶
func (v *NullableBytesRange) Unset()
type NullableCaption ¶
type NullableCaption struct {
// contains filtered or unexported fields
}
func NewNullableCaption ¶
func NewNullableCaption(val *Caption) *NullableCaption
func (NullableCaption) Get ¶
func (v NullableCaption) Get() *Caption
func (NullableCaption) IsSet ¶
func (v NullableCaption) IsSet() bool
func (*NullableCaption) Set ¶
func (v *NullableCaption) Set(val *Caption)
func (*NullableCaption) Unset ¶
func (v *NullableCaption) Unset()
type NullableCaptionsListResponse ¶
type NullableCaptionsListResponse struct {
// contains filtered or unexported fields
}
func NewNullableCaptionsListResponse ¶
func NewNullableCaptionsListResponse(val *CaptionsListResponse) *NullableCaptionsListResponse
func (NullableCaptionsListResponse) Get ¶
func (v NullableCaptionsListResponse) Get() *CaptionsListResponse
func (NullableCaptionsListResponse) IsSet ¶
func (v NullableCaptionsListResponse) IsSet() bool
func (*NullableCaptionsListResponse) Set ¶
func (v *NullableCaptionsListResponse) Set(val *CaptionsListResponse)
func (*NullableCaptionsListResponse) Unset ¶
func (v *NullableCaptionsListResponse) Unset()
type NullableCaptionsUpdatePayload ¶
type NullableCaptionsUpdatePayload struct {
// contains filtered or unexported fields
}
func NewNullableCaptionsUpdatePayload ¶
func NewNullableCaptionsUpdatePayload(val *CaptionsUpdatePayload) *NullableCaptionsUpdatePayload
func (NullableCaptionsUpdatePayload) Get ¶
func (v NullableCaptionsUpdatePayload) Get() *CaptionsUpdatePayload
func (NullableCaptionsUpdatePayload) IsSet ¶
func (v NullableCaptionsUpdatePayload) IsSet() bool
func (*NullableCaptionsUpdatePayload) Set ¶
func (v *NullableCaptionsUpdatePayload) Set(val *CaptionsUpdatePayload)
func (*NullableCaptionsUpdatePayload) Unset ¶
func (v *NullableCaptionsUpdatePayload) Unset()
type NullableChapter ¶
type NullableChapter struct {
// contains filtered or unexported fields
}
func NewNullableChapter ¶
func NewNullableChapter(val *Chapter) *NullableChapter
func (NullableChapter) Get ¶
func (v NullableChapter) Get() *Chapter
func (NullableChapter) IsSet ¶
func (v NullableChapter) IsSet() bool
func (*NullableChapter) Set ¶
func (v *NullableChapter) Set(val *Chapter)
func (*NullableChapter) Unset ¶
func (v *NullableChapter) Unset()
type NullableChaptersListResponse ¶
type NullableChaptersListResponse struct {
// contains filtered or unexported fields
}
func NewNullableChaptersListResponse ¶
func NewNullableChaptersListResponse(val *ChaptersListResponse) *NullableChaptersListResponse
func (NullableChaptersListResponse) Get ¶
func (v NullableChaptersListResponse) Get() *ChaptersListResponse
func (NullableChaptersListResponse) IsSet ¶
func (v NullableChaptersListResponse) IsSet() bool
func (*NullableChaptersListResponse) Set ¶
func (v *NullableChaptersListResponse) Set(val *ChaptersListResponse)
func (*NullableChaptersListResponse) Unset ¶
func (v *NullableChaptersListResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func PtrNullableFloat32 ¶ added in v1.2.4
func PtrNullableFloat32(v float32) *NullableFloat32
PtrNullableFloat32 is a helper routine that returns a pointer to given NullableFloat32 value.
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 PtrNullableInt32 ¶ added in v1.2.4
func PtrNullableInt32(v int32) *NullableInt32
PtrNullableInt32 is a helper routine that returns a pointer to given NullableInt32 value.
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 NullableLink ¶
type NullableLink struct {
// contains filtered or unexported fields
}
func NewNullableLink ¶
func NewNullableLink(val *Link) *NullableLink
func (NullableLink) Get ¶
func (v NullableLink) Get() *Link
func (NullableLink) IsSet ¶
func (v NullableLink) IsSet() bool
func (*NullableLink) Set ¶
func (v *NullableLink) Set(val *Link)
func (*NullableLink) Unset ¶
func (v *NullableLink) Unset()
type NullableLiveStream ¶
type NullableLiveStream struct {
// contains filtered or unexported fields
}
func NewNullableLiveStream ¶
func NewNullableLiveStream(val *LiveStream) *NullableLiveStream
func (NullableLiveStream) Get ¶
func (v NullableLiveStream) Get() *LiveStream
func (NullableLiveStream) IsSet ¶
func (v NullableLiveStream) IsSet() bool
func (*NullableLiveStream) Set ¶
func (v *NullableLiveStream) Set(val *LiveStream)
func (*NullableLiveStream) Unset ¶
func (v *NullableLiveStream) Unset()
type NullableLiveStreamAssets ¶
type NullableLiveStreamAssets struct {
// contains filtered or unexported fields
}
func NewNullableLiveStreamAssets ¶
func NewNullableLiveStreamAssets(val *LiveStreamAssets) *NullableLiveStreamAssets
func (NullableLiveStreamAssets) Get ¶
func (v NullableLiveStreamAssets) Get() *LiveStreamAssets
func (NullableLiveStreamAssets) IsSet ¶
func (v NullableLiveStreamAssets) IsSet() bool
func (*NullableLiveStreamAssets) Set ¶
func (v *NullableLiveStreamAssets) Set(val *LiveStreamAssets)
func (*NullableLiveStreamAssets) Unset ¶
func (v *NullableLiveStreamAssets) Unset()
type NullableLiveStreamCreationPayload ¶
type NullableLiveStreamCreationPayload struct {
// contains filtered or unexported fields
}
func NewNullableLiveStreamCreationPayload ¶
func NewNullableLiveStreamCreationPayload(val *LiveStreamCreationPayload) *NullableLiveStreamCreationPayload
func (NullableLiveStreamCreationPayload) Get ¶
func (v NullableLiveStreamCreationPayload) Get() *LiveStreamCreationPayload
func (NullableLiveStreamCreationPayload) IsSet ¶
func (v NullableLiveStreamCreationPayload) IsSet() bool
func (*NullableLiveStreamCreationPayload) Set ¶
func (v *NullableLiveStreamCreationPayload) Set(val *LiveStreamCreationPayload)
func (*NullableLiveStreamCreationPayload) Unset ¶
func (v *NullableLiveStreamCreationPayload) Unset()
type NullableLiveStreamListResponse ¶
type NullableLiveStreamListResponse struct {
// contains filtered or unexported fields
}
func NewNullableLiveStreamListResponse ¶
func NewNullableLiveStreamListResponse(val *LiveStreamListResponse) *NullableLiveStreamListResponse
func (NullableLiveStreamListResponse) Get ¶
func (v NullableLiveStreamListResponse) Get() *LiveStreamListResponse
func (NullableLiveStreamListResponse) IsSet ¶
func (v NullableLiveStreamListResponse) IsSet() bool
func (*NullableLiveStreamListResponse) Set ¶
func (v *NullableLiveStreamListResponse) Set(val *LiveStreamListResponse)
func (*NullableLiveStreamListResponse) Unset ¶
func (v *NullableLiveStreamListResponse) Unset()
type NullableLiveStreamSession ¶
type NullableLiveStreamSession struct {
// contains filtered or unexported fields
}
func NewNullableLiveStreamSession ¶
func NewNullableLiveStreamSession(val *LiveStreamSession) *NullableLiveStreamSession
func (NullableLiveStreamSession) Get ¶
func (v NullableLiveStreamSession) Get() *LiveStreamSession
func (NullableLiveStreamSession) IsSet ¶
func (v NullableLiveStreamSession) IsSet() bool
func (*NullableLiveStreamSession) Set ¶
func (v *NullableLiveStreamSession) Set(val *LiveStreamSession)
func (*NullableLiveStreamSession) Unset ¶
func (v *NullableLiveStreamSession) Unset()
type NullableLiveStreamSessionClient ¶
type NullableLiveStreamSessionClient struct {
// contains filtered or unexported fields
}
func NewNullableLiveStreamSessionClient ¶
func NewNullableLiveStreamSessionClient(val *LiveStreamSessionClient) *NullableLiveStreamSessionClient
func (NullableLiveStreamSessionClient) Get ¶
func (v NullableLiveStreamSessionClient) Get() *LiveStreamSessionClient
func (NullableLiveStreamSessionClient) IsSet ¶
func (v NullableLiveStreamSessionClient) IsSet() bool
func (*NullableLiveStreamSessionClient) Set ¶
func (v *NullableLiveStreamSessionClient) Set(val *LiveStreamSessionClient)
func (*NullableLiveStreamSessionClient) Unset ¶
func (v *NullableLiveStreamSessionClient) Unset()
type NullableLiveStreamSessionDevice ¶
type NullableLiveStreamSessionDevice struct {
// contains filtered or unexported fields
}
func NewNullableLiveStreamSessionDevice ¶
func NewNullableLiveStreamSessionDevice(val *LiveStreamSessionDevice) *NullableLiveStreamSessionDevice
func (NullableLiveStreamSessionDevice) Get ¶
func (v NullableLiveStreamSessionDevice) Get() *LiveStreamSessionDevice
func (NullableLiveStreamSessionDevice) IsSet ¶
func (v NullableLiveStreamSessionDevice) IsSet() bool
func (*NullableLiveStreamSessionDevice) Set ¶
func (v *NullableLiveStreamSessionDevice) Set(val *LiveStreamSessionDevice)
func (*NullableLiveStreamSessionDevice) Unset ¶
func (v *NullableLiveStreamSessionDevice) Unset()
type NullableLiveStreamSessionLocation ¶
type NullableLiveStreamSessionLocation struct {
// contains filtered or unexported fields
}
func NewNullableLiveStreamSessionLocation ¶
func NewNullableLiveStreamSessionLocation(val *LiveStreamSessionLocation) *NullableLiveStreamSessionLocation
func (NullableLiveStreamSessionLocation) Get ¶
func (v NullableLiveStreamSessionLocation) Get() *LiveStreamSessionLocation
func (NullableLiveStreamSessionLocation) IsSet ¶
func (v NullableLiveStreamSessionLocation) IsSet() bool
func (*NullableLiveStreamSessionLocation) Set ¶
func (v *NullableLiveStreamSessionLocation) Set(val *LiveStreamSessionLocation)
func (*NullableLiveStreamSessionLocation) Unset ¶
func (v *NullableLiveStreamSessionLocation) Unset()
type NullableLiveStreamSessionReferrer ¶
type NullableLiveStreamSessionReferrer struct {
// contains filtered or unexported fields
}
func NewNullableLiveStreamSessionReferrer ¶
func NewNullableLiveStreamSessionReferrer(val *LiveStreamSessionReferrer) *NullableLiveStreamSessionReferrer
func (NullableLiveStreamSessionReferrer) Get ¶
func (v NullableLiveStreamSessionReferrer) Get() *LiveStreamSessionReferrer
func (NullableLiveStreamSessionReferrer) IsSet ¶
func (v NullableLiveStreamSessionReferrer) IsSet() bool
func (*NullableLiveStreamSessionReferrer) Set ¶
func (v *NullableLiveStreamSessionReferrer) Set(val *LiveStreamSessionReferrer)
func (*NullableLiveStreamSessionReferrer) Unset ¶
func (v *NullableLiveStreamSessionReferrer) Unset()
type NullableLiveStreamSessionSession ¶
type NullableLiveStreamSessionSession struct {
// contains filtered or unexported fields
}
func NewNullableLiveStreamSessionSession ¶
func NewNullableLiveStreamSessionSession(val *LiveStreamSessionSession) *NullableLiveStreamSessionSession
func (NullableLiveStreamSessionSession) Get ¶
func (v NullableLiveStreamSessionSession) Get() *LiveStreamSessionSession
func (NullableLiveStreamSessionSession) IsSet ¶
func (v NullableLiveStreamSessionSession) IsSet() bool
func (*NullableLiveStreamSessionSession) Set ¶
func (v *NullableLiveStreamSessionSession) Set(val *LiveStreamSessionSession)
func (*NullableLiveStreamSessionSession) Unset ¶
func (v *NullableLiveStreamSessionSession) Unset()
type NullableLiveStreamUpdatePayload ¶
type NullableLiveStreamUpdatePayload struct {
// contains filtered or unexported fields
}
func NewNullableLiveStreamUpdatePayload ¶
func NewNullableLiveStreamUpdatePayload(val *LiveStreamUpdatePayload) *NullableLiveStreamUpdatePayload
func (NullableLiveStreamUpdatePayload) Get ¶
func (v NullableLiveStreamUpdatePayload) Get() *LiveStreamUpdatePayload
func (NullableLiveStreamUpdatePayload) IsSet ¶
func (v NullableLiveStreamUpdatePayload) IsSet() bool
func (*NullableLiveStreamUpdatePayload) Set ¶
func (v *NullableLiveStreamUpdatePayload) Set(val *LiveStreamUpdatePayload)
func (*NullableLiveStreamUpdatePayload) Unset ¶
func (v *NullableLiveStreamUpdatePayload) Unset()
type NullableMetadata ¶
type NullableMetadata struct {
// contains filtered or unexported fields
}
func NewNullableMetadata ¶
func NewNullableMetadata(val *Metadata) *NullableMetadata
func (NullableMetadata) Get ¶
func (v NullableMetadata) Get() *Metadata
func (NullableMetadata) IsSet ¶
func (v NullableMetadata) IsSet() bool
func (*NullableMetadata) Set ¶
func (v *NullableMetadata) Set(val *Metadata)
func (*NullableMetadata) Unset ¶
func (v *NullableMetadata) Unset()
type NullableModel403ErrorSchema ¶ added in v1.3.0
type NullableModel403ErrorSchema struct {
// contains filtered or unexported fields
}
func NewNullableModel403ErrorSchema ¶ added in v1.3.0
func NewNullableModel403ErrorSchema(val *Model403ErrorSchema) *NullableModel403ErrorSchema
func (NullableModel403ErrorSchema) Get ¶ added in v1.3.0
func (v NullableModel403ErrorSchema) Get() *Model403ErrorSchema
func (NullableModel403ErrorSchema) IsSet ¶ added in v1.3.0
func (v NullableModel403ErrorSchema) IsSet() bool
func (*NullableModel403ErrorSchema) Set ¶ added in v1.3.0
func (v *NullableModel403ErrorSchema) Set(val *Model403ErrorSchema)
func (*NullableModel403ErrorSchema) Unset ¶ added in v1.3.0
func (v *NullableModel403ErrorSchema) Unset()
type NullableNotFound ¶
type NullableNotFound struct {
// contains filtered or unexported fields
}
func NewNullableNotFound ¶
func NewNullableNotFound(val *NotFound) *NullableNotFound
func (NullableNotFound) Get ¶
func (v NullableNotFound) Get() *NotFound
func (NullableNotFound) IsSet ¶
func (v NullableNotFound) IsSet() bool
func (*NullableNotFound) Set ¶
func (v *NullableNotFound) Set(val *NotFound)
func (*NullableNotFound) Unset ¶
func (v *NullableNotFound) Unset()
type NullablePagination ¶
type NullablePagination struct {
// contains filtered or unexported fields
}
func NewNullablePagination ¶
func NewNullablePagination(val *Pagination) *NullablePagination
func (NullablePagination) Get ¶
func (v NullablePagination) Get() *Pagination
func (NullablePagination) IsSet ¶
func (v NullablePagination) IsSet() bool
func (*NullablePagination) Set ¶
func (v *NullablePagination) Set(val *Pagination)
func (*NullablePagination) Unset ¶
func (v *NullablePagination) Unset()
type NullablePaginationLink ¶
type NullablePaginationLink struct {
// contains filtered or unexported fields
}
func NewNullablePaginationLink ¶
func NewNullablePaginationLink(val *PaginationLink) *NullablePaginationLink
func (NullablePaginationLink) Get ¶
func (v NullablePaginationLink) Get() *PaginationLink
func (NullablePaginationLink) IsSet ¶
func (v NullablePaginationLink) IsSet() bool
func (*NullablePaginationLink) Set ¶
func (v *NullablePaginationLink) Set(val *PaginationLink)
func (*NullablePaginationLink) Unset ¶
func (v *NullablePaginationLink) Unset()
type NullablePlayerSessionEvent ¶
type NullablePlayerSessionEvent struct {
// contains filtered or unexported fields
}
func NewNullablePlayerSessionEvent ¶
func NewNullablePlayerSessionEvent(val *PlayerSessionEvent) *NullablePlayerSessionEvent
func (NullablePlayerSessionEvent) Get ¶
func (v NullablePlayerSessionEvent) Get() *PlayerSessionEvent
func (NullablePlayerSessionEvent) IsSet ¶
func (v NullablePlayerSessionEvent) IsSet() bool
func (*NullablePlayerSessionEvent) Set ¶
func (v *NullablePlayerSessionEvent) Set(val *PlayerSessionEvent)
func (*NullablePlayerSessionEvent) Unset ¶
func (v *NullablePlayerSessionEvent) Unset()
type NullablePlayerTheme ¶
type NullablePlayerTheme struct {
// contains filtered or unexported fields
}
func NewNullablePlayerTheme ¶
func NewNullablePlayerTheme(val *PlayerTheme) *NullablePlayerTheme
func (NullablePlayerTheme) Get ¶
func (v NullablePlayerTheme) Get() *PlayerTheme
func (NullablePlayerTheme) IsSet ¶
func (v NullablePlayerTheme) IsSet() bool
func (*NullablePlayerTheme) Set ¶
func (v *NullablePlayerTheme) Set(val *PlayerTheme)
func (*NullablePlayerTheme) Unset ¶
func (v *NullablePlayerTheme) Unset()
type NullablePlayerThemeAssets ¶
type NullablePlayerThemeAssets struct {
// contains filtered or unexported fields
}
func NewNullablePlayerThemeAssets ¶
func NewNullablePlayerThemeAssets(val *PlayerThemeAssets) *NullablePlayerThemeAssets
func (NullablePlayerThemeAssets) Get ¶
func (v NullablePlayerThemeAssets) Get() *PlayerThemeAssets
func (NullablePlayerThemeAssets) IsSet ¶
func (v NullablePlayerThemeAssets) IsSet() bool
func (*NullablePlayerThemeAssets) Set ¶
func (v *NullablePlayerThemeAssets) Set(val *PlayerThemeAssets)
func (*NullablePlayerThemeAssets) Unset ¶
func (v *NullablePlayerThemeAssets) Unset()
type NullablePlayerThemeCreationPayload ¶
type NullablePlayerThemeCreationPayload struct {
// contains filtered or unexported fields
}
func NewNullablePlayerThemeCreationPayload ¶
func NewNullablePlayerThemeCreationPayload(val *PlayerThemeCreationPayload) *NullablePlayerThemeCreationPayload
func (NullablePlayerThemeCreationPayload) Get ¶
func (v NullablePlayerThemeCreationPayload) Get() *PlayerThemeCreationPayload
func (NullablePlayerThemeCreationPayload) IsSet ¶
func (v NullablePlayerThemeCreationPayload) IsSet() bool
func (*NullablePlayerThemeCreationPayload) Set ¶
func (v *NullablePlayerThemeCreationPayload) Set(val *PlayerThemeCreationPayload)
func (*NullablePlayerThemeCreationPayload) Unset ¶
func (v *NullablePlayerThemeCreationPayload) Unset()
type NullablePlayerThemeUpdatePayload ¶
type NullablePlayerThemeUpdatePayload struct {
// contains filtered or unexported fields
}
func NewNullablePlayerThemeUpdatePayload ¶
func NewNullablePlayerThemeUpdatePayload(val *PlayerThemeUpdatePayload) *NullablePlayerThemeUpdatePayload
func (NullablePlayerThemeUpdatePayload) Get ¶
func (v NullablePlayerThemeUpdatePayload) Get() *PlayerThemeUpdatePayload
func (NullablePlayerThemeUpdatePayload) IsSet ¶
func (v NullablePlayerThemeUpdatePayload) IsSet() bool
func (*NullablePlayerThemeUpdatePayload) Set ¶
func (v *NullablePlayerThemeUpdatePayload) Set(val *PlayerThemeUpdatePayload)
func (*NullablePlayerThemeUpdatePayload) Unset ¶
func (v *NullablePlayerThemeUpdatePayload) Unset()
type NullablePlayerThemesListResponse ¶
type NullablePlayerThemesListResponse struct {
// contains filtered or unexported fields
}
func NewNullablePlayerThemesListResponse ¶
func NewNullablePlayerThemesListResponse(val *PlayerThemesListResponse) *NullablePlayerThemesListResponse
func (NullablePlayerThemesListResponse) Get ¶
func (v NullablePlayerThemesListResponse) Get() *PlayerThemesListResponse
func (NullablePlayerThemesListResponse) IsSet ¶
func (v NullablePlayerThemesListResponse) IsSet() bool
func (*NullablePlayerThemesListResponse) Set ¶
func (v *NullablePlayerThemesListResponse) Set(val *PlayerThemesListResponse)
func (*NullablePlayerThemesListResponse) Unset ¶
func (v *NullablePlayerThemesListResponse) Unset()
type NullableQuality ¶
type NullableQuality struct {
// contains filtered or unexported fields
}
func NewNullableQuality ¶
func NewNullableQuality(val *Quality) *NullableQuality
func (NullableQuality) Get ¶
func (v NullableQuality) Get() *Quality
func (NullableQuality) IsSet ¶
func (v NullableQuality) IsSet() bool
func (*NullableQuality) Set ¶
func (v *NullableQuality) Set(val *Quality)
func (*NullableQuality) Unset ¶
func (v *NullableQuality) Unset()
type NullableRefreshTokenPayload ¶
type NullableRefreshTokenPayload struct {
// contains filtered or unexported fields
}
func NewNullableRefreshTokenPayload ¶
func NewNullableRefreshTokenPayload(val *RefreshTokenPayload) *NullableRefreshTokenPayload
func (NullableRefreshTokenPayload) Get ¶
func (v NullableRefreshTokenPayload) Get() *RefreshTokenPayload
func (NullableRefreshTokenPayload) IsSet ¶
func (v NullableRefreshTokenPayload) IsSet() bool
func (*NullableRefreshTokenPayload) Set ¶
func (v *NullableRefreshTokenPayload) Set(val *RefreshTokenPayload)
func (*NullableRefreshTokenPayload) Unset ¶
func (v *NullableRefreshTokenPayload) Unset()
type NullableRestreamsRequestObject ¶ added in v1.3.0
type NullableRestreamsRequestObject struct {
// contains filtered or unexported fields
}
func NewNullableRestreamsRequestObject ¶ added in v1.3.0
func NewNullableRestreamsRequestObject(val *RestreamsRequestObject) *NullableRestreamsRequestObject
func (NullableRestreamsRequestObject) Get ¶ added in v1.3.0
func (v NullableRestreamsRequestObject) Get() *RestreamsRequestObject
func (NullableRestreamsRequestObject) IsSet ¶ added in v1.3.0
func (v NullableRestreamsRequestObject) IsSet() bool
func (*NullableRestreamsRequestObject) Set ¶ added in v1.3.0
func (v *NullableRestreamsRequestObject) Set(val *RestreamsRequestObject)
func (*NullableRestreamsRequestObject) Unset ¶ added in v1.3.0
func (v *NullableRestreamsRequestObject) Unset()
type NullableRestreamsResponseObject ¶ added in v1.3.0
type NullableRestreamsResponseObject struct {
// contains filtered or unexported fields
}
func NewNullableRestreamsResponseObject ¶ added in v1.3.0
func NewNullableRestreamsResponseObject(val *RestreamsResponseObject) *NullableRestreamsResponseObject
func (NullableRestreamsResponseObject) Get ¶ added in v1.3.0
func (v NullableRestreamsResponseObject) Get() *RestreamsResponseObject
func (NullableRestreamsResponseObject) IsSet ¶ added in v1.3.0
func (v NullableRestreamsResponseObject) IsSet() bool
func (*NullableRestreamsResponseObject) Set ¶ added in v1.3.0
func (v *NullableRestreamsResponseObject) Set(val *RestreamsResponseObject)
func (*NullableRestreamsResponseObject) Unset ¶ added in v1.3.0
func (v *NullableRestreamsResponseObject) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func PtrNullableString ¶ added in v1.2.0
func PtrNullableString(v string) *NullableString
PtrNullableString is a helper routine that returns a pointer to given NullableString value.
func PtrNullableStringNull ¶ added in v1.2.0
func PtrNullableStringNull() *NullableString
PtrNullableStringNull is a helper routine that returns a pointer to NullableString that has nil value.
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 NullableTokenCreationPayload ¶
type NullableTokenCreationPayload struct {
// contains filtered or unexported fields
}
func NewNullableTokenCreationPayload ¶
func NewNullableTokenCreationPayload(val *TokenCreationPayload) *NullableTokenCreationPayload
func (NullableTokenCreationPayload) Get ¶
func (v NullableTokenCreationPayload) Get() *TokenCreationPayload
func (NullableTokenCreationPayload) IsSet ¶
func (v NullableTokenCreationPayload) IsSet() bool
func (*NullableTokenCreationPayload) Set ¶
func (v *NullableTokenCreationPayload) Set(val *TokenCreationPayload)
func (*NullableTokenCreationPayload) Unset ¶
func (v *NullableTokenCreationPayload) Unset()
type NullableTokenListResponse ¶
type NullableTokenListResponse struct {
// contains filtered or unexported fields
}
func NewNullableTokenListResponse ¶
func NewNullableTokenListResponse(val *TokenListResponse) *NullableTokenListResponse
func (NullableTokenListResponse) Get ¶
func (v NullableTokenListResponse) Get() *TokenListResponse
func (NullableTokenListResponse) IsSet ¶
func (v NullableTokenListResponse) IsSet() bool
func (*NullableTokenListResponse) Set ¶
func (v *NullableTokenListResponse) Set(val *TokenListResponse)
func (*NullableTokenListResponse) Unset ¶
func (v *NullableTokenListResponse) Unset()
type NullableUploadToken ¶
type NullableUploadToken struct {
// contains filtered or unexported fields
}
func NewNullableUploadToken ¶
func NewNullableUploadToken(val *UploadToken) *NullableUploadToken
func (NullableUploadToken) Get ¶
func (v NullableUploadToken) Get() *UploadToken
func (NullableUploadToken) IsSet ¶
func (v NullableUploadToken) IsSet() bool
func (*NullableUploadToken) Set ¶
func (v *NullableUploadToken) Set(val *UploadToken)
func (*NullableUploadToken) Unset ¶
func (v *NullableUploadToken) Unset()
type NullableVideo ¶
type NullableVideo struct {
// contains filtered or unexported fields
}
func NewNullableVideo ¶
func NewNullableVideo(val *Video) *NullableVideo
func (NullableVideo) Get ¶
func (v NullableVideo) Get() *Video
func (NullableVideo) IsSet ¶
func (v NullableVideo) IsSet() bool
func (*NullableVideo) Set ¶
func (v *NullableVideo) Set(val *Video)
func (*NullableVideo) Unset ¶
func (v *NullableVideo) Unset()
type NullableVideoAssets ¶
type NullableVideoAssets struct {
// contains filtered or unexported fields
}
func NewNullableVideoAssets ¶
func NewNullableVideoAssets(val *VideoAssets) *NullableVideoAssets
func (NullableVideoAssets) Get ¶
func (v NullableVideoAssets) Get() *VideoAssets
func (NullableVideoAssets) IsSet ¶
func (v NullableVideoAssets) IsSet() bool
func (*NullableVideoAssets) Set ¶
func (v *NullableVideoAssets) Set(val *VideoAssets)
func (*NullableVideoAssets) Unset ¶
func (v *NullableVideoAssets) Unset()
type NullableVideoClip ¶ added in v1.2.0
type NullableVideoClip struct {
// contains filtered or unexported fields
}
func NewNullableVideoClip ¶ added in v1.2.0
func NewNullableVideoClip(val *VideoClip) *NullableVideoClip
func (NullableVideoClip) Get ¶ added in v1.2.0
func (v NullableVideoClip) Get() *VideoClip
func (NullableVideoClip) IsSet ¶ added in v1.2.0
func (v NullableVideoClip) IsSet() bool
func (*NullableVideoClip) Set ¶ added in v1.2.0
func (v *NullableVideoClip) Set(val *VideoClip)
func (*NullableVideoClip) Unset ¶ added in v1.2.0
func (v *NullableVideoClip) Unset()
type NullableVideoCreationPayload ¶
type NullableVideoCreationPayload struct {
// contains filtered or unexported fields
}
func NewNullableVideoCreationPayload ¶
func NewNullableVideoCreationPayload(val *VideoCreationPayload) *NullableVideoCreationPayload
func (NullableVideoCreationPayload) Get ¶
func (v NullableVideoCreationPayload) Get() *VideoCreationPayload
func (NullableVideoCreationPayload) IsSet ¶
func (v NullableVideoCreationPayload) IsSet() bool
func (*NullableVideoCreationPayload) Set ¶
func (v *NullableVideoCreationPayload) Set(val *VideoCreationPayload)
func (*NullableVideoCreationPayload) Unset ¶
func (v *NullableVideoCreationPayload) Unset()
type NullableVideoSession ¶
type NullableVideoSession struct {
// contains filtered or unexported fields
}
func NewNullableVideoSession ¶
func NewNullableVideoSession(val *VideoSession) *NullableVideoSession
func (NullableVideoSession) Get ¶
func (v NullableVideoSession) Get() *VideoSession
func (NullableVideoSession) IsSet ¶
func (v NullableVideoSession) IsSet() bool
func (*NullableVideoSession) Set ¶
func (v *NullableVideoSession) Set(val *VideoSession)
func (*NullableVideoSession) Unset ¶
func (v *NullableVideoSession) Unset()
type NullableVideoSessionClient ¶
type NullableVideoSessionClient struct {
// contains filtered or unexported fields
}
func NewNullableVideoSessionClient ¶
func NewNullableVideoSessionClient(val *VideoSessionClient) *NullableVideoSessionClient
func (NullableVideoSessionClient) Get ¶
func (v NullableVideoSessionClient) Get() *VideoSessionClient
func (NullableVideoSessionClient) IsSet ¶
func (v NullableVideoSessionClient) IsSet() bool
func (*NullableVideoSessionClient) Set ¶
func (v *NullableVideoSessionClient) Set(val *VideoSessionClient)
func (*NullableVideoSessionClient) Unset ¶
func (v *NullableVideoSessionClient) Unset()
type NullableVideoSessionDevice ¶
type NullableVideoSessionDevice struct {
// contains filtered or unexported fields
}
func NewNullableVideoSessionDevice ¶
func NewNullableVideoSessionDevice(val *VideoSessionDevice) *NullableVideoSessionDevice
func (NullableVideoSessionDevice) Get ¶
func (v NullableVideoSessionDevice) Get() *VideoSessionDevice
func (NullableVideoSessionDevice) IsSet ¶
func (v NullableVideoSessionDevice) IsSet() bool
func (*NullableVideoSessionDevice) Set ¶
func (v *NullableVideoSessionDevice) Set(val *VideoSessionDevice)
func (*NullableVideoSessionDevice) Unset ¶
func (v *NullableVideoSessionDevice) Unset()
type NullableVideoSessionLocation ¶
type NullableVideoSessionLocation struct {
// contains filtered or unexported fields
}
func NewNullableVideoSessionLocation ¶
func NewNullableVideoSessionLocation(val *VideoSessionLocation) *NullableVideoSessionLocation
func (NullableVideoSessionLocation) Get ¶
func (v NullableVideoSessionLocation) Get() *VideoSessionLocation
func (NullableVideoSessionLocation) IsSet ¶
func (v NullableVideoSessionLocation) IsSet() bool
func (*NullableVideoSessionLocation) Set ¶
func (v *NullableVideoSessionLocation) Set(val *VideoSessionLocation)
func (*NullableVideoSessionLocation) Unset ¶
func (v *NullableVideoSessionLocation) Unset()
type NullableVideoSessionOs ¶
type NullableVideoSessionOs struct {
// contains filtered or unexported fields
}
func NewNullableVideoSessionOs ¶
func NewNullableVideoSessionOs(val *VideoSessionOs) *NullableVideoSessionOs
func (NullableVideoSessionOs) Get ¶
func (v NullableVideoSessionOs) Get() *VideoSessionOs
func (NullableVideoSessionOs) IsSet ¶
func (v NullableVideoSessionOs) IsSet() bool
func (*NullableVideoSessionOs) Set ¶
func (v *NullableVideoSessionOs) Set(val *VideoSessionOs)
func (*NullableVideoSessionOs) Unset ¶
func (v *NullableVideoSessionOs) Unset()
type NullableVideoSessionReferrer ¶
type NullableVideoSessionReferrer struct {
// contains filtered or unexported fields
}
func NewNullableVideoSessionReferrer ¶
func NewNullableVideoSessionReferrer(val *VideoSessionReferrer) *NullableVideoSessionReferrer
func (NullableVideoSessionReferrer) Get ¶
func (v NullableVideoSessionReferrer) Get() *VideoSessionReferrer
func (NullableVideoSessionReferrer) IsSet ¶
func (v NullableVideoSessionReferrer) IsSet() bool
func (*NullableVideoSessionReferrer) Set ¶
func (v *NullableVideoSessionReferrer) Set(val *VideoSessionReferrer)
func (*NullableVideoSessionReferrer) Unset ¶
func (v *NullableVideoSessionReferrer) Unset()
type NullableVideoSessionSession ¶
type NullableVideoSessionSession struct {
// contains filtered or unexported fields
}
func NewNullableVideoSessionSession ¶
func NewNullableVideoSessionSession(val *VideoSessionSession) *NullableVideoSessionSession
func (NullableVideoSessionSession) Get ¶
func (v NullableVideoSessionSession) Get() *VideoSessionSession
func (NullableVideoSessionSession) IsSet ¶
func (v NullableVideoSessionSession) IsSet() bool
func (*NullableVideoSessionSession) Set ¶
func (v *NullableVideoSessionSession) Set(val *VideoSessionSession)
func (*NullableVideoSessionSession) Unset ¶
func (v *NullableVideoSessionSession) Unset()
type NullableVideoSource ¶
type NullableVideoSource struct {
// contains filtered or unexported fields
}
func NewNullableVideoSource ¶
func NewNullableVideoSource(val *VideoSource) *NullableVideoSource
func (NullableVideoSource) Get ¶
func (v NullableVideoSource) Get() *VideoSource
func (NullableVideoSource) IsSet ¶
func (v NullableVideoSource) IsSet() bool
func (*NullableVideoSource) Set ¶
func (v *NullableVideoSource) Set(val *VideoSource)
func (*NullableVideoSource) Unset ¶
func (v *NullableVideoSource) Unset()
type NullableVideoSourceLiveStream ¶
type NullableVideoSourceLiveStream struct {
// contains filtered or unexported fields
}
func NewNullableVideoSourceLiveStream ¶
func NewNullableVideoSourceLiveStream(val *VideoSourceLiveStream) *NullableVideoSourceLiveStream
func (NullableVideoSourceLiveStream) Get ¶
func (v NullableVideoSourceLiveStream) Get() *VideoSourceLiveStream
func (NullableVideoSourceLiveStream) IsSet ¶
func (v NullableVideoSourceLiveStream) IsSet() bool
func (*NullableVideoSourceLiveStream) Set ¶
func (v *NullableVideoSourceLiveStream) Set(val *VideoSourceLiveStream)
func (*NullableVideoSourceLiveStream) Unset ¶
func (v *NullableVideoSourceLiveStream) Unset()
type NullableVideoSourceLiveStreamLink ¶
type NullableVideoSourceLiveStreamLink struct {
// contains filtered or unexported fields
}
func NewNullableVideoSourceLiveStreamLink ¶
func NewNullableVideoSourceLiveStreamLink(val *VideoSourceLiveStreamLink) *NullableVideoSourceLiveStreamLink
func (NullableVideoSourceLiveStreamLink) Get ¶
func (v NullableVideoSourceLiveStreamLink) Get() *VideoSourceLiveStreamLink
func (NullableVideoSourceLiveStreamLink) IsSet ¶
func (v NullableVideoSourceLiveStreamLink) IsSet() bool
func (*NullableVideoSourceLiveStreamLink) Set ¶
func (v *NullableVideoSourceLiveStreamLink) Set(val *VideoSourceLiveStreamLink)
func (*NullableVideoSourceLiveStreamLink) Unset ¶
func (v *NullableVideoSourceLiveStreamLink) Unset()
type NullableVideoStatus ¶
type NullableVideoStatus struct {
// contains filtered or unexported fields
}
func NewNullableVideoStatus ¶
func NewNullableVideoStatus(val *VideoStatus) *NullableVideoStatus
func (NullableVideoStatus) Get ¶
func (v NullableVideoStatus) Get() *VideoStatus
func (NullableVideoStatus) IsSet ¶
func (v NullableVideoStatus) IsSet() bool
func (*NullableVideoStatus) Set ¶
func (v *NullableVideoStatus) Set(val *VideoStatus)
func (*NullableVideoStatus) Unset ¶
func (v *NullableVideoStatus) Unset()
type NullableVideoStatusEncoding ¶
type NullableVideoStatusEncoding struct {
// contains filtered or unexported fields
}
func NewNullableVideoStatusEncoding ¶
func NewNullableVideoStatusEncoding(val *VideoStatusEncoding) *NullableVideoStatusEncoding
func (NullableVideoStatusEncoding) Get ¶
func (v NullableVideoStatusEncoding) Get() *VideoStatusEncoding
func (NullableVideoStatusEncoding) IsSet ¶
func (v NullableVideoStatusEncoding) IsSet() bool
func (*NullableVideoStatusEncoding) Set ¶
func (v *NullableVideoStatusEncoding) Set(val *VideoStatusEncoding)
func (*NullableVideoStatusEncoding) Unset ¶
func (v *NullableVideoStatusEncoding) Unset()
type NullableVideoStatusEncodingMetadata ¶
type NullableVideoStatusEncodingMetadata struct {
// contains filtered or unexported fields
}
func NewNullableVideoStatusEncodingMetadata ¶
func NewNullableVideoStatusEncodingMetadata(val *VideoStatusEncodingMetadata) *NullableVideoStatusEncodingMetadata
func (NullableVideoStatusEncodingMetadata) Get ¶
func (v NullableVideoStatusEncodingMetadata) Get() *VideoStatusEncodingMetadata
func (NullableVideoStatusEncodingMetadata) IsSet ¶
func (v NullableVideoStatusEncodingMetadata) IsSet() bool
func (*NullableVideoStatusEncodingMetadata) Set ¶
func (v *NullableVideoStatusEncodingMetadata) Set(val *VideoStatusEncodingMetadata)
func (*NullableVideoStatusEncodingMetadata) Unset ¶
func (v *NullableVideoStatusEncodingMetadata) Unset()
type NullableVideoStatusIngest ¶
type NullableVideoStatusIngest struct {
// contains filtered or unexported fields
}
func NewNullableVideoStatusIngest ¶
func NewNullableVideoStatusIngest(val *VideoStatusIngest) *NullableVideoStatusIngest
func (NullableVideoStatusIngest) Get ¶
func (v NullableVideoStatusIngest) Get() *VideoStatusIngest
func (NullableVideoStatusIngest) IsSet ¶
func (v NullableVideoStatusIngest) IsSet() bool
func (*NullableVideoStatusIngest) Set ¶
func (v *NullableVideoStatusIngest) Set(val *VideoStatusIngest)
func (*NullableVideoStatusIngest) Unset ¶
func (v *NullableVideoStatusIngest) Unset()
type NullableVideoStatusIngestReceivedParts ¶ added in v1.2.3
type NullableVideoStatusIngestReceivedParts struct {
// contains filtered or unexported fields
}
func NewNullableVideoStatusIngestReceivedParts ¶ added in v1.2.3
func NewNullableVideoStatusIngestReceivedParts(val *VideoStatusIngestReceivedParts) *NullableVideoStatusIngestReceivedParts
func (NullableVideoStatusIngestReceivedParts) Get ¶ added in v1.2.3
func (v NullableVideoStatusIngestReceivedParts) Get() *VideoStatusIngestReceivedParts
func (NullableVideoStatusIngestReceivedParts) IsSet ¶ added in v1.2.3
func (v NullableVideoStatusIngestReceivedParts) IsSet() bool
func (*NullableVideoStatusIngestReceivedParts) Set ¶ added in v1.2.3
func (v *NullableVideoStatusIngestReceivedParts) Set(val *VideoStatusIngestReceivedParts)
func (*NullableVideoStatusIngestReceivedParts) Unset ¶ added in v1.2.3
func (v *NullableVideoStatusIngestReceivedParts) Unset()
type NullableVideoThumbnailPickPayload ¶
type NullableVideoThumbnailPickPayload struct {
// contains filtered or unexported fields
}
func NewNullableVideoThumbnailPickPayload ¶
func NewNullableVideoThumbnailPickPayload(val *VideoThumbnailPickPayload) *NullableVideoThumbnailPickPayload
func (NullableVideoThumbnailPickPayload) Get ¶
func (v NullableVideoThumbnailPickPayload) Get() *VideoThumbnailPickPayload
func (NullableVideoThumbnailPickPayload) IsSet ¶
func (v NullableVideoThumbnailPickPayload) IsSet() bool
func (*NullableVideoThumbnailPickPayload) Set ¶
func (v *NullableVideoThumbnailPickPayload) Set(val *VideoThumbnailPickPayload)
func (*NullableVideoThumbnailPickPayload) Unset ¶
func (v *NullableVideoThumbnailPickPayload) Unset()
type NullableVideoUpdatePayload ¶
type NullableVideoUpdatePayload struct {
// contains filtered or unexported fields
}
func NewNullableVideoUpdatePayload ¶
func NewNullableVideoUpdatePayload(val *VideoUpdatePayload) *NullableVideoUpdatePayload
func (NullableVideoUpdatePayload) Get ¶
func (v NullableVideoUpdatePayload) Get() *VideoUpdatePayload
func (NullableVideoUpdatePayload) IsSet ¶
func (v NullableVideoUpdatePayload) IsSet() bool
func (*NullableVideoUpdatePayload) Set ¶
func (v *NullableVideoUpdatePayload) Set(val *VideoUpdatePayload)
func (*NullableVideoUpdatePayload) Unset ¶
func (v *NullableVideoUpdatePayload) Unset()
type NullableVideoWatermark ¶ added in v1.2.0
type NullableVideoWatermark struct {
// contains filtered or unexported fields
}
func NewNullableVideoWatermark ¶ added in v1.2.0
func NewNullableVideoWatermark(val *VideoWatermark) *NullableVideoWatermark
func (NullableVideoWatermark) Get ¶ added in v1.2.0
func (v NullableVideoWatermark) Get() *VideoWatermark
func (NullableVideoWatermark) IsSet ¶ added in v1.2.0
func (v NullableVideoWatermark) IsSet() bool
func (*NullableVideoWatermark) Set ¶ added in v1.2.0
func (v *NullableVideoWatermark) Set(val *VideoWatermark)
func (*NullableVideoWatermark) Unset ¶ added in v1.2.0
func (v *NullableVideoWatermark) Unset()
type NullableVideosListResponse ¶
type NullableVideosListResponse struct {
// contains filtered or unexported fields
}
func NewNullableVideosListResponse ¶
func NewNullableVideosListResponse(val *VideosListResponse) *NullableVideosListResponse
func (NullableVideosListResponse) Get ¶
func (v NullableVideosListResponse) Get() *VideosListResponse
func (NullableVideosListResponse) IsSet ¶
func (v NullableVideosListResponse) IsSet() bool
func (*NullableVideosListResponse) Set ¶
func (v *NullableVideosListResponse) Set(val *VideosListResponse)
func (*NullableVideosListResponse) Unset ¶
func (v *NullableVideosListResponse) Unset()
type NullableWatermark ¶ added in v1.2.0
type NullableWatermark struct {
// contains filtered or unexported fields
}
func NewNullableWatermark ¶ added in v1.2.0
func NewNullableWatermark(val *Watermark) *NullableWatermark
func (NullableWatermark) Get ¶ added in v1.2.0
func (v NullableWatermark) Get() *Watermark
func (NullableWatermark) IsSet ¶ added in v1.2.0
func (v NullableWatermark) IsSet() bool
func (*NullableWatermark) Set ¶ added in v1.2.0
func (v *NullableWatermark) Set(val *Watermark)
func (*NullableWatermark) Unset ¶ added in v1.2.0
func (v *NullableWatermark) Unset()
type NullableWatermarksListResponse ¶ added in v1.2.0
type NullableWatermarksListResponse struct {
// contains filtered or unexported fields
}
func NewNullableWatermarksListResponse ¶ added in v1.2.0
func NewNullableWatermarksListResponse(val *WatermarksListResponse) *NullableWatermarksListResponse
func (NullableWatermarksListResponse) Get ¶ added in v1.2.0
func (v NullableWatermarksListResponse) Get() *WatermarksListResponse
func (NullableWatermarksListResponse) IsSet ¶ added in v1.2.0
func (v NullableWatermarksListResponse) IsSet() bool
func (*NullableWatermarksListResponse) Set ¶ added in v1.2.0
func (v *NullableWatermarksListResponse) Set(val *WatermarksListResponse)
func (*NullableWatermarksListResponse) Unset ¶ added in v1.2.0
func (v *NullableWatermarksListResponse) Unset()
type NullableWebhook ¶
type NullableWebhook struct {
// contains filtered or unexported fields
}
func NewNullableWebhook ¶
func NewNullableWebhook(val *Webhook) *NullableWebhook
func (NullableWebhook) Get ¶
func (v NullableWebhook) Get() *Webhook
func (NullableWebhook) IsSet ¶
func (v NullableWebhook) IsSet() bool
func (*NullableWebhook) Set ¶
func (v *NullableWebhook) Set(val *Webhook)
func (*NullableWebhook) Unset ¶
func (v *NullableWebhook) Unset()
type NullableWebhooksCreationPayload ¶
type NullableWebhooksCreationPayload struct {
// contains filtered or unexported fields
}
func NewNullableWebhooksCreationPayload ¶
func NewNullableWebhooksCreationPayload(val *WebhooksCreationPayload) *NullableWebhooksCreationPayload
func (NullableWebhooksCreationPayload) Get ¶
func (v NullableWebhooksCreationPayload) Get() *WebhooksCreationPayload
func (NullableWebhooksCreationPayload) IsSet ¶
func (v NullableWebhooksCreationPayload) IsSet() bool
func (*NullableWebhooksCreationPayload) Set ¶
func (v *NullableWebhooksCreationPayload) Set(val *WebhooksCreationPayload)
func (*NullableWebhooksCreationPayload) Unset ¶
func (v *NullableWebhooksCreationPayload) Unset()
type NullableWebhooksListResponse ¶
type NullableWebhooksListResponse struct {
// contains filtered or unexported fields
}
func NewNullableWebhooksListResponse ¶
func NewNullableWebhooksListResponse(val *WebhooksListResponse) *NullableWebhooksListResponse
func (NullableWebhooksListResponse) Get ¶
func (v NullableWebhooksListResponse) Get() *WebhooksListResponse
func (NullableWebhooksListResponse) IsSet ¶
func (v NullableWebhooksListResponse) IsSet() bool
func (*NullableWebhooksListResponse) Set ¶
func (v *NullableWebhooksListResponse) Set(val *WebhooksListResponse)
func (*NullableWebhooksListResponse) Unset ¶
func (v *NullableWebhooksListResponse) Unset()
type Pagination ¶
type Pagination struct { // Total number of items that exist. ItemsTotal *int32 `json:"itemsTotal,omitempty"` // Number of items listed in the current page. PagesTotal *int32 `json:"pagesTotal,omitempty"` // Maximum number of item per page. PageSize *int32 `json:"pageSize,omitempty"` // The current page index. CurrentPage *int32 `json:"currentPage,omitempty"` // The number of items on the current page. CurrentPageItems *int32 `json:"currentPageItems,omitempty"` Links []PaginationLink `json:"links"` }
Pagination struct for Pagination
func NewPagination ¶
func NewPagination(links []PaginationLink) *Pagination
NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetCurrentPage ¶
func (o *Pagination) GetCurrentPage() int32
GetCurrentPage returns the CurrentPage field value if set, zero value otherwise.
func (*Pagination) GetCurrentPageItems ¶
func (o *Pagination) GetCurrentPageItems() int32
GetCurrentPageItems returns the CurrentPageItems field value if set, zero value otherwise.
func (*Pagination) GetCurrentPageItemsOk ¶
func (o *Pagination) GetCurrentPageItemsOk() (*int32, bool)
GetCurrentPageItemsOk returns a tuple with the CurrentPageItems field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) GetCurrentPageOk ¶
func (o *Pagination) GetCurrentPageOk() (*int32, bool)
GetCurrentPageOk returns a tuple with the CurrentPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) GetItemsTotal ¶
func (o *Pagination) GetItemsTotal() int32
GetItemsTotal returns the ItemsTotal field value if set, zero value otherwise.
func (*Pagination) GetItemsTotalOk ¶
func (o *Pagination) GetItemsTotalOk() (*int32, bool)
GetItemsTotalOk returns a tuple with the ItemsTotal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) GetLinks ¶
func (o *Pagination) GetLinks() []PaginationLink
GetLinks returns the Links field value
func (*Pagination) GetLinksOk ¶
func (o *Pagination) GetLinksOk() (*[]PaginationLink, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.
func (*Pagination) GetPageSize ¶
func (o *Pagination) GetPageSize() int32
GetPageSize returns the PageSize field value if set, zero value otherwise.
func (*Pagination) GetPageSizeOk ¶
func (o *Pagination) GetPageSizeOk() (*int32, bool)
GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) GetPagesTotal ¶
func (o *Pagination) GetPagesTotal() int32
GetPagesTotal returns the PagesTotal field value if set, zero value otherwise.
func (*Pagination) GetPagesTotalOk ¶
func (o *Pagination) GetPagesTotalOk() (*int32, bool)
GetPagesTotalOk returns a tuple with the PagesTotal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) HasCurrentPage ¶
func (o *Pagination) HasCurrentPage() bool
HasCurrentPage returns a boolean if a field has been set.
func (*Pagination) HasCurrentPageItems ¶
func (o *Pagination) HasCurrentPageItems() bool
HasCurrentPageItems returns a boolean if a field has been set.
func (*Pagination) HasItemsTotal ¶
func (o *Pagination) HasItemsTotal() bool
HasItemsTotal returns a boolean if a field has been set.
func (*Pagination) HasPageSize ¶
func (o *Pagination) HasPageSize() bool
HasPageSize returns a boolean if a field has been set.
func (*Pagination) HasPagesTotal ¶
func (o *Pagination) HasPagesTotal() bool
HasPagesTotal returns a boolean if a field has been set.
func (*Pagination) SetCurrentPage ¶
func (o *Pagination) SetCurrentPage(v int32)
SetCurrentPage gets a reference to the given int32 and assigns it to the CurrentPage field.
func (*Pagination) SetCurrentPageItems ¶
func (o *Pagination) SetCurrentPageItems(v int32)
SetCurrentPageItems gets a reference to the given int32 and assigns it to the CurrentPageItems field.
func (*Pagination) SetItemsTotal ¶
func (o *Pagination) SetItemsTotal(v int32)
SetItemsTotal gets a reference to the given int32 and assigns it to the ItemsTotal field.
func (*Pagination) SetLinks ¶
func (o *Pagination) SetLinks(v []PaginationLink)
SetLinks sets field value
func (*Pagination) SetPageSize ¶
func (o *Pagination) SetPageSize(v int32)
SetPageSize gets a reference to the given int32 and assigns it to the PageSize field.
func (*Pagination) SetPagesTotal ¶
func (o *Pagination) SetPagesTotal(v int32)
SetPagesTotal gets a reference to the given int32 and assigns it to the PagesTotal field.
type PaginationLink ¶
type PaginationLink struct { Rel *string `json:"rel,omitempty"` Uri *string `json:"uri,omitempty"` }
PaginationLink struct for PaginationLink
func NewPaginationLink ¶
func NewPaginationLink() *PaginationLink
NewPaginationLink instantiates a new PaginationLink 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 NewPaginationLinkWithDefaults ¶
func NewPaginationLinkWithDefaults() *PaginationLink
NewPaginationLinkWithDefaults instantiates a new PaginationLink 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 (*PaginationLink) GetRel ¶
func (o *PaginationLink) GetRel() string
GetRel returns the Rel field value if set, zero value otherwise.
func (*PaginationLink) GetRelOk ¶
func (o *PaginationLink) GetRelOk() (*string, bool)
GetRelOk returns a tuple with the Rel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginationLink) GetUri ¶
func (o *PaginationLink) GetUri() string
GetUri returns the Uri field value if set, zero value otherwise.
func (*PaginationLink) GetUriOk ¶
func (o *PaginationLink) GetUriOk() (*string, bool)
GetUriOk returns a tuple with the Uri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginationLink) HasRel ¶
func (o *PaginationLink) HasRel() bool
HasRel returns a boolean if a field has been set.
func (*PaginationLink) HasUri ¶
func (o *PaginationLink) HasUri() bool
HasUri returns a boolean if a field has been set.
func (*PaginationLink) SetRel ¶
func (o *PaginationLink) SetRel(v string)
SetRel gets a reference to the given string and assigns it to the Rel field.
func (*PaginationLink) SetUri ¶
func (o *PaginationLink) SetUri(v string)
SetUri gets a reference to the given string and assigns it to the Uri field.
type PlayerSessionEvent ¶
type PlayerSessionEvent struct { // Possible values are: ready, play, pause, resume, seek.backward, seek.forward, end Type *string `json:"type,omitempty"` // When an event occurred, presented in ISO-8601 format. EmittedAt *string `json:"emittedAt,omitempty"` At *int32 `json:"at,omitempty"` From *int32 `json:"from,omitempty"` To *int32 `json:"to,omitempty"` }
PlayerSessionEvent struct for PlayerSessionEvent
func NewPlayerSessionEvent ¶
func NewPlayerSessionEvent() *PlayerSessionEvent
NewPlayerSessionEvent instantiates a new PlayerSessionEvent 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 NewPlayerSessionEventWithDefaults ¶
func NewPlayerSessionEventWithDefaults() *PlayerSessionEvent
NewPlayerSessionEventWithDefaults instantiates a new PlayerSessionEvent 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 (*PlayerSessionEvent) GetAt ¶
func (o *PlayerSessionEvent) GetAt() int32
GetAt returns the At field value if set, zero value otherwise.
func (*PlayerSessionEvent) GetAtOk ¶
func (o *PlayerSessionEvent) GetAtOk() (*int32, bool)
GetAtOk returns a tuple with the At field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerSessionEvent) GetEmittedAt ¶
func (o *PlayerSessionEvent) GetEmittedAt() string
GetEmittedAt returns the EmittedAt field value if set, zero value otherwise.
func (*PlayerSessionEvent) GetEmittedAtOk ¶
func (o *PlayerSessionEvent) GetEmittedAtOk() (*string, bool)
GetEmittedAtOk returns a tuple with the EmittedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerSessionEvent) GetFrom ¶
func (o *PlayerSessionEvent) GetFrom() int32
GetFrom returns the From field value if set, zero value otherwise.
func (*PlayerSessionEvent) GetFromOk ¶
func (o *PlayerSessionEvent) GetFromOk() (*int32, bool)
GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerSessionEvent) GetTo ¶
func (o *PlayerSessionEvent) GetTo() int32
GetTo returns the To field value if set, zero value otherwise.
func (*PlayerSessionEvent) GetToOk ¶
func (o *PlayerSessionEvent) GetToOk() (*int32, bool)
GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerSessionEvent) GetType ¶
func (o *PlayerSessionEvent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*PlayerSessionEvent) GetTypeOk ¶
func (o *PlayerSessionEvent) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerSessionEvent) HasAt ¶
func (o *PlayerSessionEvent) HasAt() bool
HasAt returns a boolean if a field has been set.
func (*PlayerSessionEvent) HasEmittedAt ¶
func (o *PlayerSessionEvent) HasEmittedAt() bool
HasEmittedAt returns a boolean if a field has been set.
func (*PlayerSessionEvent) HasFrom ¶
func (o *PlayerSessionEvent) HasFrom() bool
HasFrom returns a boolean if a field has been set.
func (*PlayerSessionEvent) HasTo ¶
func (o *PlayerSessionEvent) HasTo() bool
HasTo returns a boolean if a field has been set.
func (*PlayerSessionEvent) HasType ¶
func (o *PlayerSessionEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (*PlayerSessionEvent) SetAt ¶
func (o *PlayerSessionEvent) SetAt(v int32)
SetAt gets a reference to the given int32 and assigns it to the At field.
func (*PlayerSessionEvent) SetEmittedAt ¶
func (o *PlayerSessionEvent) SetEmittedAt(v string)
SetEmittedAt gets a reference to the given string and assigns it to the EmittedAt field.
func (*PlayerSessionEvent) SetFrom ¶
func (o *PlayerSessionEvent) SetFrom(v int32)
SetFrom gets a reference to the given int32 and assigns it to the From field.
func (*PlayerSessionEvent) SetTo ¶
func (o *PlayerSessionEvent) SetTo(v int32)
SetTo gets a reference to the given int32 and assigns it to the To field.
func (*PlayerSessionEvent) SetType ¶
func (o *PlayerSessionEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type PlayerTheme ¶
type PlayerTheme struct { // The name of the player theme Name *string `json:"name,omitempty"` // RGBA color for timer text. Default: rgba(255, 255, 255, 1) Text *string `json:"text,omitempty"` // RGBA color for all controls. Default: rgba(255, 255, 255, 1) Link *string `json:"link,omitempty"` // RGBA color for all controls when hovered. Default: rgba(255, 255, 255, 1) LinkHover *string `json:"linkHover,omitempty"` // RGBA color for the play button when hovered. LinkActive *string `json:"linkActive,omitempty"` // RGBA color playback bar: played content. Default: rgba(88, 131, 255, .95) TrackPlayed *string `json:"trackPlayed,omitempty"` // RGBA color playback bar: downloaded but unplayed (buffered) content. Default: rgba(255, 255, 255, .35) TrackUnplayed *string `json:"trackUnplayed,omitempty"` // RGBA color playback bar: background. Default: rgba(255, 255, 255, .2) TrackBackground *string `json:"trackBackground,omitempty"` // RGBA color: top 50% of background. Default: rgba(0, 0, 0, .7) BackgroundTop *string `json:"backgroundTop,omitempty"` // RGBA color: bottom 50% of background. Default: rgba(0, 0, 0, .7) BackgroundBottom *string `json:"backgroundBottom,omitempty"` // RGBA color for title text. Default: rgba(255, 255, 255, 1) BackgroundText *string `json:"backgroundText,omitempty"` // enable/disable player SDK access. Default: true EnableApi *bool `json:"enableApi,omitempty"` // enable/disable player controls. Default: true EnableControls *bool `json:"enableControls,omitempty"` // enable/disable player autoplay. Default: false ForceAutoplay *bool `json:"forceAutoplay,omitempty"` // enable/disable title. Default: false HideTitle *bool `json:"hideTitle,omitempty"` // enable/disable looping. Default: false ForceLoop *bool `json:"forceLoop,omitempty"` PlayerId string `json:"playerId"` // When the player was created, presented in ISO-8601 format. CreatedAt *string `json:"createdAt,omitempty"` // When the player was last updated, presented in ISO-8601 format. UpdatedAt *string `json:"updatedAt,omitempty"` Assets *PlayerThemeAssets `json:"assets,omitempty"` }
PlayerTheme struct for PlayerTheme
func NewPlayerTheme ¶
func NewPlayerTheme(playerId string) *PlayerTheme
NewPlayerTheme instantiates a new PlayerTheme 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 NewPlayerThemeWithDefaults ¶
func NewPlayerThemeWithDefaults() *PlayerTheme
NewPlayerThemeWithDefaults instantiates a new PlayerTheme 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 (*PlayerTheme) GetAssets ¶
func (o *PlayerTheme) GetAssets() PlayerThemeAssets
GetAssets returns the Assets field value if set, zero value otherwise.
func (*PlayerTheme) GetAssetsOk ¶
func (o *PlayerTheme) GetAssetsOk() (*PlayerThemeAssets, bool)
GetAssetsOk returns a tuple with the Assets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetBackgroundBottom ¶
func (o *PlayerTheme) GetBackgroundBottom() string
GetBackgroundBottom returns the BackgroundBottom field value if set, zero value otherwise.
func (*PlayerTheme) GetBackgroundBottomOk ¶
func (o *PlayerTheme) GetBackgroundBottomOk() (*string, bool)
GetBackgroundBottomOk returns a tuple with the BackgroundBottom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetBackgroundText ¶
func (o *PlayerTheme) GetBackgroundText() string
GetBackgroundText returns the BackgroundText field value if set, zero value otherwise.
func (*PlayerTheme) GetBackgroundTextOk ¶
func (o *PlayerTheme) GetBackgroundTextOk() (*string, bool)
GetBackgroundTextOk returns a tuple with the BackgroundText field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetBackgroundTop ¶
func (o *PlayerTheme) GetBackgroundTop() string
GetBackgroundTop returns the BackgroundTop field value if set, zero value otherwise.
func (*PlayerTheme) GetBackgroundTopOk ¶
func (o *PlayerTheme) GetBackgroundTopOk() (*string, bool)
GetBackgroundTopOk returns a tuple with the BackgroundTop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetCreatedAt ¶
func (o *PlayerTheme) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*PlayerTheme) GetCreatedAtOk ¶
func (o *PlayerTheme) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetEnableApi ¶
func (o *PlayerTheme) GetEnableApi() bool
GetEnableApi returns the EnableApi field value if set, zero value otherwise.
func (*PlayerTheme) GetEnableApiOk ¶
func (o *PlayerTheme) GetEnableApiOk() (*bool, bool)
GetEnableApiOk returns a tuple with the EnableApi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetEnableControls ¶
func (o *PlayerTheme) GetEnableControls() bool
GetEnableControls returns the EnableControls field value if set, zero value otherwise.
func (*PlayerTheme) GetEnableControlsOk ¶
func (o *PlayerTheme) GetEnableControlsOk() (*bool, bool)
GetEnableControlsOk returns a tuple with the EnableControls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetForceAutoplay ¶
func (o *PlayerTheme) GetForceAutoplay() bool
GetForceAutoplay returns the ForceAutoplay field value if set, zero value otherwise.
func (*PlayerTheme) GetForceAutoplayOk ¶
func (o *PlayerTheme) GetForceAutoplayOk() (*bool, bool)
GetForceAutoplayOk returns a tuple with the ForceAutoplay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetForceLoop ¶
func (o *PlayerTheme) GetForceLoop() bool
GetForceLoop returns the ForceLoop field value if set, zero value otherwise.
func (*PlayerTheme) GetForceLoopOk ¶
func (o *PlayerTheme) GetForceLoopOk() (*bool, bool)
GetForceLoopOk returns a tuple with the ForceLoop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetHideTitle ¶
func (o *PlayerTheme) GetHideTitle() bool
GetHideTitle returns the HideTitle field value if set, zero value otherwise.
func (*PlayerTheme) GetHideTitleOk ¶
func (o *PlayerTheme) GetHideTitleOk() (*bool, bool)
GetHideTitleOk returns a tuple with the HideTitle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetLink ¶
func (o *PlayerTheme) GetLink() string
GetLink returns the Link field value if set, zero value otherwise.
func (*PlayerTheme) GetLinkActive ¶
func (o *PlayerTheme) GetLinkActive() string
GetLinkActive returns the LinkActive field value if set, zero value otherwise.
func (*PlayerTheme) GetLinkActiveOk ¶
func (o *PlayerTheme) GetLinkActiveOk() (*string, bool)
GetLinkActiveOk returns a tuple with the LinkActive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetLinkHover ¶
func (o *PlayerTheme) GetLinkHover() string
GetLinkHover returns the LinkHover field value if set, zero value otherwise.
func (*PlayerTheme) GetLinkHoverOk ¶
func (o *PlayerTheme) GetLinkHoverOk() (*string, bool)
GetLinkHoverOk returns a tuple with the LinkHover field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetLinkOk ¶
func (o *PlayerTheme) GetLinkOk() (*string, bool)
GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetName ¶
func (o *PlayerTheme) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PlayerTheme) GetNameOk ¶
func (o *PlayerTheme) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetPlayerId ¶
func (o *PlayerTheme) GetPlayerId() string
GetPlayerId returns the PlayerId field value
func (*PlayerTheme) GetPlayerIdOk ¶
func (o *PlayerTheme) GetPlayerIdOk() (*string, bool)
GetPlayerIdOk returns a tuple with the PlayerId field value and a boolean to check if the value has been set.
func (*PlayerTheme) GetText ¶
func (o *PlayerTheme) GetText() string
GetText returns the Text field value if set, zero value otherwise.
func (*PlayerTheme) GetTextOk ¶
func (o *PlayerTheme) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetTrackBackground ¶
func (o *PlayerTheme) GetTrackBackground() string
GetTrackBackground returns the TrackBackground field value if set, zero value otherwise.
func (*PlayerTheme) GetTrackBackgroundOk ¶
func (o *PlayerTheme) GetTrackBackgroundOk() (*string, bool)
GetTrackBackgroundOk returns a tuple with the TrackBackground field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetTrackPlayed ¶
func (o *PlayerTheme) GetTrackPlayed() string
GetTrackPlayed returns the TrackPlayed field value if set, zero value otherwise.
func (*PlayerTheme) GetTrackPlayedOk ¶
func (o *PlayerTheme) GetTrackPlayedOk() (*string, bool)
GetTrackPlayedOk returns a tuple with the TrackPlayed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetTrackUnplayed ¶
func (o *PlayerTheme) GetTrackUnplayed() string
GetTrackUnplayed returns the TrackUnplayed field value if set, zero value otherwise.
func (*PlayerTheme) GetTrackUnplayedOk ¶
func (o *PlayerTheme) GetTrackUnplayedOk() (*string, bool)
GetTrackUnplayedOk returns a tuple with the TrackUnplayed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) GetUpdatedAt ¶
func (o *PlayerTheme) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*PlayerTheme) GetUpdatedAtOk ¶
func (o *PlayerTheme) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerTheme) HasAssets ¶
func (o *PlayerTheme) HasAssets() bool
HasAssets returns a boolean if a field has been set.
func (*PlayerTheme) HasBackgroundBottom ¶
func (o *PlayerTheme) HasBackgroundBottom() bool
HasBackgroundBottom returns a boolean if a field has been set.
func (*PlayerTheme) HasBackgroundText ¶
func (o *PlayerTheme) HasBackgroundText() bool
HasBackgroundText returns a boolean if a field has been set.
func (*PlayerTheme) HasBackgroundTop ¶
func (o *PlayerTheme) HasBackgroundTop() bool
HasBackgroundTop returns a boolean if a field has been set.
func (*PlayerTheme) HasCreatedAt ¶
func (o *PlayerTheme) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*PlayerTheme) HasEnableApi ¶
func (o *PlayerTheme) HasEnableApi() bool
HasEnableApi returns a boolean if a field has been set.
func (*PlayerTheme) HasEnableControls ¶
func (o *PlayerTheme) HasEnableControls() bool
HasEnableControls returns a boolean if a field has been set.
func (*PlayerTheme) HasForceAutoplay ¶
func (o *PlayerTheme) HasForceAutoplay() bool
HasForceAutoplay returns a boolean if a field has been set.
func (*PlayerTheme) HasForceLoop ¶
func (o *PlayerTheme) HasForceLoop() bool
HasForceLoop returns a boolean if a field has been set.
func (*PlayerTheme) HasHideTitle ¶
func (o *PlayerTheme) HasHideTitle() bool
HasHideTitle returns a boolean if a field has been set.
func (*PlayerTheme) HasLink ¶
func (o *PlayerTheme) HasLink() bool
HasLink returns a boolean if a field has been set.
func (*PlayerTheme) HasLinkActive ¶
func (o *PlayerTheme) HasLinkActive() bool
HasLinkActive returns a boolean if a field has been set.
func (*PlayerTheme) HasLinkHover ¶
func (o *PlayerTheme) HasLinkHover() bool
HasLinkHover returns a boolean if a field has been set.
func (*PlayerTheme) HasName ¶
func (o *PlayerTheme) HasName() bool
HasName returns a boolean if a field has been set.
func (*PlayerTheme) HasText ¶
func (o *PlayerTheme) HasText() bool
HasText returns a boolean if a field has been set.
func (*PlayerTheme) HasTrackBackground ¶
func (o *PlayerTheme) HasTrackBackground() bool
HasTrackBackground returns a boolean if a field has been set.
func (*PlayerTheme) HasTrackPlayed ¶
func (o *PlayerTheme) HasTrackPlayed() bool
HasTrackPlayed returns a boolean if a field has been set.
func (*PlayerTheme) HasTrackUnplayed ¶
func (o *PlayerTheme) HasTrackUnplayed() bool
HasTrackUnplayed returns a boolean if a field has been set.
func (*PlayerTheme) HasUpdatedAt ¶
func (o *PlayerTheme) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*PlayerTheme) SetAssets ¶
func (o *PlayerTheme) SetAssets(v PlayerThemeAssets)
SetAssets gets a reference to the given PlayerThemeAssets and assigns it to the Assets field.
func (*PlayerTheme) SetBackgroundBottom ¶
func (o *PlayerTheme) SetBackgroundBottom(v string)
SetBackgroundBottom gets a reference to the given string and assigns it to the BackgroundBottom field.
func (*PlayerTheme) SetBackgroundText ¶
func (o *PlayerTheme) SetBackgroundText(v string)
SetBackgroundText gets a reference to the given string and assigns it to the BackgroundText field.
func (*PlayerTheme) SetBackgroundTop ¶
func (o *PlayerTheme) SetBackgroundTop(v string)
SetBackgroundTop gets a reference to the given string and assigns it to the BackgroundTop field.
func (*PlayerTheme) SetCreatedAt ¶
func (o *PlayerTheme) SetCreatedAt(v string)
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*PlayerTheme) SetEnableApi ¶
func (o *PlayerTheme) SetEnableApi(v bool)
SetEnableApi gets a reference to the given bool and assigns it to the EnableApi field.
func (*PlayerTheme) SetEnableControls ¶
func (o *PlayerTheme) SetEnableControls(v bool)
SetEnableControls gets a reference to the given bool and assigns it to the EnableControls field.
func (*PlayerTheme) SetForceAutoplay ¶
func (o *PlayerTheme) SetForceAutoplay(v bool)
SetForceAutoplay gets a reference to the given bool and assigns it to the ForceAutoplay field.
func (*PlayerTheme) SetForceLoop ¶
func (o *PlayerTheme) SetForceLoop(v bool)
SetForceLoop gets a reference to the given bool and assigns it to the ForceLoop field.
func (*PlayerTheme) SetHideTitle ¶
func (o *PlayerTheme) SetHideTitle(v bool)
SetHideTitle gets a reference to the given bool and assigns it to the HideTitle field.
func (*PlayerTheme) SetLink ¶
func (o *PlayerTheme) SetLink(v string)
SetLink gets a reference to the given string and assigns it to the Link field.
func (*PlayerTheme) SetLinkActive ¶
func (o *PlayerTheme) SetLinkActive(v string)
SetLinkActive gets a reference to the given string and assigns it to the LinkActive field.
func (*PlayerTheme) SetLinkHover ¶
func (o *PlayerTheme) SetLinkHover(v string)
SetLinkHover gets a reference to the given string and assigns it to the LinkHover field.
func (*PlayerTheme) SetName ¶
func (o *PlayerTheme) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PlayerTheme) SetPlayerId ¶
func (o *PlayerTheme) SetPlayerId(v string)
SetPlayerId sets field value
func (*PlayerTheme) SetText ¶
func (o *PlayerTheme) SetText(v string)
SetText gets a reference to the given string and assigns it to the Text field.
func (*PlayerTheme) SetTrackBackground ¶
func (o *PlayerTheme) SetTrackBackground(v string)
SetTrackBackground gets a reference to the given string and assigns it to the TrackBackground field.
func (*PlayerTheme) SetTrackPlayed ¶
func (o *PlayerTheme) SetTrackPlayed(v string)
SetTrackPlayed gets a reference to the given string and assigns it to the TrackPlayed field.
func (*PlayerTheme) SetTrackUnplayed ¶
func (o *PlayerTheme) SetTrackUnplayed(v string)
SetTrackUnplayed gets a reference to the given string and assigns it to the TrackUnplayed field.
func (*PlayerTheme) SetUpdatedAt ¶
func (o *PlayerTheme) SetUpdatedAt(v string)
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
type PlayerThemeAssets ¶
type PlayerThemeAssets struct { // The name of the file containing the logo you want to use. Logo *string `json:"logo,omitempty"` // The path to the file containing your logo. Link *string `json:"link,omitempty"` }
PlayerThemeAssets struct for PlayerThemeAssets
func NewPlayerThemeAssets ¶
func NewPlayerThemeAssets() *PlayerThemeAssets
NewPlayerThemeAssets instantiates a new PlayerThemeAssets 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 NewPlayerThemeAssetsWithDefaults ¶
func NewPlayerThemeAssetsWithDefaults() *PlayerThemeAssets
NewPlayerThemeAssetsWithDefaults instantiates a new PlayerThemeAssets 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 (*PlayerThemeAssets) GetLink ¶
func (o *PlayerThemeAssets) GetLink() string
GetLink returns the Link field value if set, zero value otherwise.
func (*PlayerThemeAssets) GetLinkOk ¶
func (o *PlayerThemeAssets) GetLinkOk() (*string, bool)
GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeAssets) GetLogo ¶
func (o *PlayerThemeAssets) GetLogo() string
GetLogo returns the Logo field value if set, zero value otherwise.
func (*PlayerThemeAssets) GetLogoOk ¶
func (o *PlayerThemeAssets) GetLogoOk() (*string, bool)
GetLogoOk returns a tuple with the Logo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeAssets) HasLink ¶
func (o *PlayerThemeAssets) HasLink() bool
HasLink returns a boolean if a field has been set.
func (*PlayerThemeAssets) HasLogo ¶
func (o *PlayerThemeAssets) HasLogo() bool
HasLogo returns a boolean if a field has been set.
func (*PlayerThemeAssets) SetLink ¶
func (o *PlayerThemeAssets) SetLink(v string)
SetLink gets a reference to the given string and assigns it to the Link field.
func (*PlayerThemeAssets) SetLogo ¶
func (o *PlayerThemeAssets) SetLogo(v string)
SetLogo gets a reference to the given string and assigns it to the Logo field.
type PlayerThemeCreationPayload ¶
type PlayerThemeCreationPayload struct { // Add a name for your player theme here. Name *string `json:"name,omitempty"` // RGBA color for timer text. Default: rgba(255, 255, 255, 1) Text *string `json:"text,omitempty"` // RGBA color for all controls. Default: rgba(255, 255, 255, 1) Link *string `json:"link,omitempty"` // RGBA color for all controls when hovered. Default: rgba(255, 255, 255, 1) LinkHover *string `json:"linkHover,omitempty"` // RGBA color for the play button when hovered. LinkActive *string `json:"linkActive,omitempty"` // RGBA color playback bar: played content. Default: rgba(88, 131, 255, .95) TrackPlayed *string `json:"trackPlayed,omitempty"` // RGBA color playback bar: downloaded but unplayed (buffered) content. Default: rgba(255, 255, 255, .35) TrackUnplayed *string `json:"trackUnplayed,omitempty"` // RGBA color playback bar: background. Default: rgba(255, 255, 255, .2) TrackBackground *string `json:"trackBackground,omitempty"` // RGBA color: top 50% of background. Default: rgba(0, 0, 0, .7) BackgroundTop *string `json:"backgroundTop,omitempty"` // RGBA color: bottom 50% of background. Default: rgba(0, 0, 0, .7) BackgroundBottom *string `json:"backgroundBottom,omitempty"` // RGBA color for title text. Default: rgba(255, 255, 255, 1) BackgroundText *string `json:"backgroundText,omitempty"` // enable/disable player SDK access. Default: true EnableApi *bool `json:"enableApi,omitempty"` // enable/disable player controls. Default: true EnableControls *bool `json:"enableControls,omitempty"` // enable/disable player autoplay. Default: false ForceAutoplay *bool `json:"forceAutoplay,omitempty"` // enable/disable title. Default: false HideTitle *bool `json:"hideTitle,omitempty"` // enable/disable looping. Default: false ForceLoop *bool `json:"forceLoop,omitempty"` }
PlayerThemeCreationPayload struct for PlayerThemeCreationPayload
func NewPlayerThemeCreationPayload ¶
func NewPlayerThemeCreationPayload() *PlayerThemeCreationPayload
NewPlayerThemeCreationPayload instantiates a new PlayerThemeCreationPayload 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 NewPlayerThemeCreationPayloadWithDefaults ¶
func NewPlayerThemeCreationPayloadWithDefaults() *PlayerThemeCreationPayload
NewPlayerThemeCreationPayloadWithDefaults instantiates a new PlayerThemeCreationPayload 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 (*PlayerThemeCreationPayload) GetBackgroundBottom ¶
func (o *PlayerThemeCreationPayload) GetBackgroundBottom() string
GetBackgroundBottom returns the BackgroundBottom field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetBackgroundBottomOk ¶
func (o *PlayerThemeCreationPayload) GetBackgroundBottomOk() (*string, bool)
GetBackgroundBottomOk returns a tuple with the BackgroundBottom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetBackgroundText ¶
func (o *PlayerThemeCreationPayload) GetBackgroundText() string
GetBackgroundText returns the BackgroundText field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetBackgroundTextOk ¶
func (o *PlayerThemeCreationPayload) GetBackgroundTextOk() (*string, bool)
GetBackgroundTextOk returns a tuple with the BackgroundText field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetBackgroundTop ¶
func (o *PlayerThemeCreationPayload) GetBackgroundTop() string
GetBackgroundTop returns the BackgroundTop field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetBackgroundTopOk ¶
func (o *PlayerThemeCreationPayload) GetBackgroundTopOk() (*string, bool)
GetBackgroundTopOk returns a tuple with the BackgroundTop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetEnableApi ¶
func (o *PlayerThemeCreationPayload) GetEnableApi() bool
GetEnableApi returns the EnableApi field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetEnableApiOk ¶
func (o *PlayerThemeCreationPayload) GetEnableApiOk() (*bool, bool)
GetEnableApiOk returns a tuple with the EnableApi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetEnableControls ¶
func (o *PlayerThemeCreationPayload) GetEnableControls() bool
GetEnableControls returns the EnableControls field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetEnableControlsOk ¶
func (o *PlayerThemeCreationPayload) GetEnableControlsOk() (*bool, bool)
GetEnableControlsOk returns a tuple with the EnableControls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetForceAutoplay ¶
func (o *PlayerThemeCreationPayload) GetForceAutoplay() bool
GetForceAutoplay returns the ForceAutoplay field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetForceAutoplayOk ¶
func (o *PlayerThemeCreationPayload) GetForceAutoplayOk() (*bool, bool)
GetForceAutoplayOk returns a tuple with the ForceAutoplay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetForceLoop ¶
func (o *PlayerThemeCreationPayload) GetForceLoop() bool
GetForceLoop returns the ForceLoop field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetForceLoopOk ¶
func (o *PlayerThemeCreationPayload) GetForceLoopOk() (*bool, bool)
GetForceLoopOk returns a tuple with the ForceLoop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetHideTitle ¶
func (o *PlayerThemeCreationPayload) GetHideTitle() bool
GetHideTitle returns the HideTitle field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetHideTitleOk ¶
func (o *PlayerThemeCreationPayload) GetHideTitleOk() (*bool, bool)
GetHideTitleOk returns a tuple with the HideTitle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetLink ¶
func (o *PlayerThemeCreationPayload) GetLink() string
GetLink returns the Link field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetLinkActive ¶ added in v1.2.2
func (o *PlayerThemeCreationPayload) GetLinkActive() string
GetLinkActive returns the LinkActive field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetLinkActiveOk ¶ added in v1.2.2
func (o *PlayerThemeCreationPayload) GetLinkActiveOk() (*string, bool)
GetLinkActiveOk returns a tuple with the LinkActive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetLinkHover ¶
func (o *PlayerThemeCreationPayload) GetLinkHover() string
GetLinkHover returns the LinkHover field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetLinkHoverOk ¶
func (o *PlayerThemeCreationPayload) GetLinkHoverOk() (*string, bool)
GetLinkHoverOk returns a tuple with the LinkHover field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetLinkOk ¶
func (o *PlayerThemeCreationPayload) GetLinkOk() (*string, bool)
GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetName ¶
func (o *PlayerThemeCreationPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetNameOk ¶
func (o *PlayerThemeCreationPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetText ¶
func (o *PlayerThemeCreationPayload) GetText() string
GetText returns the Text field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetTextOk ¶
func (o *PlayerThemeCreationPayload) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetTrackBackground ¶
func (o *PlayerThemeCreationPayload) GetTrackBackground() string
GetTrackBackground returns the TrackBackground field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetTrackBackgroundOk ¶
func (o *PlayerThemeCreationPayload) GetTrackBackgroundOk() (*string, bool)
GetTrackBackgroundOk returns a tuple with the TrackBackground field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetTrackPlayed ¶
func (o *PlayerThemeCreationPayload) GetTrackPlayed() string
GetTrackPlayed returns the TrackPlayed field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetTrackPlayedOk ¶
func (o *PlayerThemeCreationPayload) GetTrackPlayedOk() (*string, bool)
GetTrackPlayedOk returns a tuple with the TrackPlayed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) GetTrackUnplayed ¶
func (o *PlayerThemeCreationPayload) GetTrackUnplayed() string
GetTrackUnplayed returns the TrackUnplayed field value if set, zero value otherwise.
func (*PlayerThemeCreationPayload) GetTrackUnplayedOk ¶
func (o *PlayerThemeCreationPayload) GetTrackUnplayedOk() (*string, bool)
GetTrackUnplayedOk returns a tuple with the TrackUnplayed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeCreationPayload) HasBackgroundBottom ¶
func (o *PlayerThemeCreationPayload) HasBackgroundBottom() bool
HasBackgroundBottom returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasBackgroundText ¶
func (o *PlayerThemeCreationPayload) HasBackgroundText() bool
HasBackgroundText returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasBackgroundTop ¶
func (o *PlayerThemeCreationPayload) HasBackgroundTop() bool
HasBackgroundTop returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasEnableApi ¶
func (o *PlayerThemeCreationPayload) HasEnableApi() bool
HasEnableApi returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasEnableControls ¶
func (o *PlayerThemeCreationPayload) HasEnableControls() bool
HasEnableControls returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasForceAutoplay ¶
func (o *PlayerThemeCreationPayload) HasForceAutoplay() bool
HasForceAutoplay returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasForceLoop ¶
func (o *PlayerThemeCreationPayload) HasForceLoop() bool
HasForceLoop returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasHideTitle ¶
func (o *PlayerThemeCreationPayload) HasHideTitle() bool
HasHideTitle returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasLink ¶
func (o *PlayerThemeCreationPayload) HasLink() bool
HasLink returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasLinkActive ¶ added in v1.2.2
func (o *PlayerThemeCreationPayload) HasLinkActive() bool
HasLinkActive returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasLinkHover ¶
func (o *PlayerThemeCreationPayload) HasLinkHover() bool
HasLinkHover returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasName ¶
func (o *PlayerThemeCreationPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasText ¶
func (o *PlayerThemeCreationPayload) HasText() bool
HasText returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasTrackBackground ¶
func (o *PlayerThemeCreationPayload) HasTrackBackground() bool
HasTrackBackground returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasTrackPlayed ¶
func (o *PlayerThemeCreationPayload) HasTrackPlayed() bool
HasTrackPlayed returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) HasTrackUnplayed ¶
func (o *PlayerThemeCreationPayload) HasTrackUnplayed() bool
HasTrackUnplayed returns a boolean if a field has been set.
func (*PlayerThemeCreationPayload) SetBackgroundBottom ¶
func (o *PlayerThemeCreationPayload) SetBackgroundBottom(v string)
SetBackgroundBottom gets a reference to the given string and assigns it to the BackgroundBottom field.
func (*PlayerThemeCreationPayload) SetBackgroundText ¶
func (o *PlayerThemeCreationPayload) SetBackgroundText(v string)
SetBackgroundText gets a reference to the given string and assigns it to the BackgroundText field.
func (*PlayerThemeCreationPayload) SetBackgroundTop ¶
func (o *PlayerThemeCreationPayload) SetBackgroundTop(v string)
SetBackgroundTop gets a reference to the given string and assigns it to the BackgroundTop field.
func (*PlayerThemeCreationPayload) SetEnableApi ¶
func (o *PlayerThemeCreationPayload) SetEnableApi(v bool)
SetEnableApi gets a reference to the given bool and assigns it to the EnableApi field.
func (*PlayerThemeCreationPayload) SetEnableControls ¶
func (o *PlayerThemeCreationPayload) SetEnableControls(v bool)
SetEnableControls gets a reference to the given bool and assigns it to the EnableControls field.
func (*PlayerThemeCreationPayload) SetForceAutoplay ¶
func (o *PlayerThemeCreationPayload) SetForceAutoplay(v bool)
SetForceAutoplay gets a reference to the given bool and assigns it to the ForceAutoplay field.
func (*PlayerThemeCreationPayload) SetForceLoop ¶
func (o *PlayerThemeCreationPayload) SetForceLoop(v bool)
SetForceLoop gets a reference to the given bool and assigns it to the ForceLoop field.
func (*PlayerThemeCreationPayload) SetHideTitle ¶
func (o *PlayerThemeCreationPayload) SetHideTitle(v bool)
SetHideTitle gets a reference to the given bool and assigns it to the HideTitle field.
func (*PlayerThemeCreationPayload) SetLink ¶
func (o *PlayerThemeCreationPayload) SetLink(v string)
SetLink gets a reference to the given string and assigns it to the Link field.
func (*PlayerThemeCreationPayload) SetLinkActive ¶ added in v1.2.2
func (o *PlayerThemeCreationPayload) SetLinkActive(v string)
SetLinkActive gets a reference to the given string and assigns it to the LinkActive field.
func (*PlayerThemeCreationPayload) SetLinkHover ¶
func (o *PlayerThemeCreationPayload) SetLinkHover(v string)
SetLinkHover gets a reference to the given string and assigns it to the LinkHover field.
func (*PlayerThemeCreationPayload) SetName ¶
func (o *PlayerThemeCreationPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PlayerThemeCreationPayload) SetText ¶
func (o *PlayerThemeCreationPayload) SetText(v string)
SetText gets a reference to the given string and assigns it to the Text field.
func (*PlayerThemeCreationPayload) SetTrackBackground ¶
func (o *PlayerThemeCreationPayload) SetTrackBackground(v string)
SetTrackBackground gets a reference to the given string and assigns it to the TrackBackground field.
func (*PlayerThemeCreationPayload) SetTrackPlayed ¶
func (o *PlayerThemeCreationPayload) SetTrackPlayed(v string)
SetTrackPlayed gets a reference to the given string and assigns it to the TrackPlayed field.
func (*PlayerThemeCreationPayload) SetTrackUnplayed ¶
func (o *PlayerThemeCreationPayload) SetTrackUnplayed(v string)
SetTrackUnplayed gets a reference to the given string and assigns it to the TrackUnplayed field.
type PlayerThemeUpdatePayload ¶
type PlayerThemeUpdatePayload struct { // Add a name for your player theme here. Name *string `json:"name,omitempty"` // RGBA color for timer text. Default: rgba(255, 255, 255, 1) Text *string `json:"text,omitempty"` // RGBA color for all controls. Default: rgba(255, 255, 255, 1) Link *string `json:"link,omitempty"` // RGBA color for all controls when hovered. Default: rgba(255, 255, 255, 1) LinkHover *string `json:"linkHover,omitempty"` // RGBA color for the play button when hovered. LinkActive *string `json:"linkActive,omitempty"` // RGBA color playback bar: played content. Default: rgba(88, 131, 255, .95) TrackPlayed *string `json:"trackPlayed,omitempty"` // RGBA color playback bar: downloaded but unplayed (buffered) content. Default: rgba(255, 255, 255, .35) TrackUnplayed *string `json:"trackUnplayed,omitempty"` // RGBA color playback bar: background. Default: rgba(255, 255, 255, .2) TrackBackground *string `json:"trackBackground,omitempty"` // RGBA color: top 50% of background. Default: rgba(0, 0, 0, .7) BackgroundTop *string `json:"backgroundTop,omitempty"` // RGBA color: bottom 50% of background. Default: rgba(0, 0, 0, .7) BackgroundBottom *string `json:"backgroundBottom,omitempty"` // RGBA color for title text. Default: rgba(255, 255, 255, 1) BackgroundText *string `json:"backgroundText,omitempty"` // enable/disable player SDK access. Default: true EnableApi *bool `json:"enableApi,omitempty"` // enable/disable player controls. Default: true EnableControls *bool `json:"enableControls,omitempty"` // enable/disable player autoplay. Default: false ForceAutoplay *bool `json:"forceAutoplay,omitempty"` // enable/disable title. Default: false HideTitle *bool `json:"hideTitle,omitempty"` // enable/disable looping. Default: false ForceLoop *bool `json:"forceLoop,omitempty"` }
PlayerThemeUpdatePayload struct for PlayerThemeUpdatePayload
func NewPlayerThemeUpdatePayload ¶
func NewPlayerThemeUpdatePayload() *PlayerThemeUpdatePayload
NewPlayerThemeUpdatePayload instantiates a new PlayerThemeUpdatePayload 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 NewPlayerThemeUpdatePayloadWithDefaults ¶
func NewPlayerThemeUpdatePayloadWithDefaults() *PlayerThemeUpdatePayload
NewPlayerThemeUpdatePayloadWithDefaults instantiates a new PlayerThemeUpdatePayload 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 (*PlayerThemeUpdatePayload) GetBackgroundBottom ¶
func (o *PlayerThemeUpdatePayload) GetBackgroundBottom() string
GetBackgroundBottom returns the BackgroundBottom field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetBackgroundBottomOk ¶
func (o *PlayerThemeUpdatePayload) GetBackgroundBottomOk() (*string, bool)
GetBackgroundBottomOk returns a tuple with the BackgroundBottom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetBackgroundText ¶
func (o *PlayerThemeUpdatePayload) GetBackgroundText() string
GetBackgroundText returns the BackgroundText field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetBackgroundTextOk ¶
func (o *PlayerThemeUpdatePayload) GetBackgroundTextOk() (*string, bool)
GetBackgroundTextOk returns a tuple with the BackgroundText field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetBackgroundTop ¶
func (o *PlayerThemeUpdatePayload) GetBackgroundTop() string
GetBackgroundTop returns the BackgroundTop field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetBackgroundTopOk ¶
func (o *PlayerThemeUpdatePayload) GetBackgroundTopOk() (*string, bool)
GetBackgroundTopOk returns a tuple with the BackgroundTop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetEnableApi ¶
func (o *PlayerThemeUpdatePayload) GetEnableApi() bool
GetEnableApi returns the EnableApi field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetEnableApiOk ¶
func (o *PlayerThemeUpdatePayload) GetEnableApiOk() (*bool, bool)
GetEnableApiOk returns a tuple with the EnableApi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetEnableControls ¶
func (o *PlayerThemeUpdatePayload) GetEnableControls() bool
GetEnableControls returns the EnableControls field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetEnableControlsOk ¶
func (o *PlayerThemeUpdatePayload) GetEnableControlsOk() (*bool, bool)
GetEnableControlsOk returns a tuple with the EnableControls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetForceAutoplay ¶
func (o *PlayerThemeUpdatePayload) GetForceAutoplay() bool
GetForceAutoplay returns the ForceAutoplay field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetForceAutoplayOk ¶
func (o *PlayerThemeUpdatePayload) GetForceAutoplayOk() (*bool, bool)
GetForceAutoplayOk returns a tuple with the ForceAutoplay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetForceLoop ¶
func (o *PlayerThemeUpdatePayload) GetForceLoop() bool
GetForceLoop returns the ForceLoop field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetForceLoopOk ¶
func (o *PlayerThemeUpdatePayload) GetForceLoopOk() (*bool, bool)
GetForceLoopOk returns a tuple with the ForceLoop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetHideTitle ¶
func (o *PlayerThemeUpdatePayload) GetHideTitle() bool
GetHideTitle returns the HideTitle field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetHideTitleOk ¶
func (o *PlayerThemeUpdatePayload) GetHideTitleOk() (*bool, bool)
GetHideTitleOk returns a tuple with the HideTitle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetLink ¶
func (o *PlayerThemeUpdatePayload) GetLink() string
GetLink returns the Link field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetLinkActive ¶ added in v1.2.2
func (o *PlayerThemeUpdatePayload) GetLinkActive() string
GetLinkActive returns the LinkActive field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetLinkActiveOk ¶ added in v1.2.2
func (o *PlayerThemeUpdatePayload) GetLinkActiveOk() (*string, bool)
GetLinkActiveOk returns a tuple with the LinkActive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetLinkHover ¶
func (o *PlayerThemeUpdatePayload) GetLinkHover() string
GetLinkHover returns the LinkHover field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetLinkHoverOk ¶
func (o *PlayerThemeUpdatePayload) GetLinkHoverOk() (*string, bool)
GetLinkHoverOk returns a tuple with the LinkHover field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetLinkOk ¶
func (o *PlayerThemeUpdatePayload) GetLinkOk() (*string, bool)
GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetName ¶
func (o *PlayerThemeUpdatePayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetNameOk ¶
func (o *PlayerThemeUpdatePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetText ¶
func (o *PlayerThemeUpdatePayload) GetText() string
GetText returns the Text field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetTextOk ¶
func (o *PlayerThemeUpdatePayload) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetTrackBackground ¶
func (o *PlayerThemeUpdatePayload) GetTrackBackground() string
GetTrackBackground returns the TrackBackground field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetTrackBackgroundOk ¶
func (o *PlayerThemeUpdatePayload) GetTrackBackgroundOk() (*string, bool)
GetTrackBackgroundOk returns a tuple with the TrackBackground field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetTrackPlayed ¶
func (o *PlayerThemeUpdatePayload) GetTrackPlayed() string
GetTrackPlayed returns the TrackPlayed field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetTrackPlayedOk ¶
func (o *PlayerThemeUpdatePayload) GetTrackPlayedOk() (*string, bool)
GetTrackPlayedOk returns a tuple with the TrackPlayed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) GetTrackUnplayed ¶
func (o *PlayerThemeUpdatePayload) GetTrackUnplayed() string
GetTrackUnplayed returns the TrackUnplayed field value if set, zero value otherwise.
func (*PlayerThemeUpdatePayload) GetTrackUnplayedOk ¶
func (o *PlayerThemeUpdatePayload) GetTrackUnplayedOk() (*string, bool)
GetTrackUnplayedOk returns a tuple with the TrackUnplayed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlayerThemeUpdatePayload) HasBackgroundBottom ¶
func (o *PlayerThemeUpdatePayload) HasBackgroundBottom() bool
HasBackgroundBottom returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasBackgroundText ¶
func (o *PlayerThemeUpdatePayload) HasBackgroundText() bool
HasBackgroundText returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasBackgroundTop ¶
func (o *PlayerThemeUpdatePayload) HasBackgroundTop() bool
HasBackgroundTop returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasEnableApi ¶
func (o *PlayerThemeUpdatePayload) HasEnableApi() bool
HasEnableApi returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasEnableControls ¶
func (o *PlayerThemeUpdatePayload) HasEnableControls() bool
HasEnableControls returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasForceAutoplay ¶
func (o *PlayerThemeUpdatePayload) HasForceAutoplay() bool
HasForceAutoplay returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasForceLoop ¶
func (o *PlayerThemeUpdatePayload) HasForceLoop() bool
HasForceLoop returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasHideTitle ¶
func (o *PlayerThemeUpdatePayload) HasHideTitle() bool
HasHideTitle returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasLink ¶
func (o *PlayerThemeUpdatePayload) HasLink() bool
HasLink returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasLinkActive ¶ added in v1.2.2
func (o *PlayerThemeUpdatePayload) HasLinkActive() bool
HasLinkActive returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasLinkHover ¶
func (o *PlayerThemeUpdatePayload) HasLinkHover() bool
HasLinkHover returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasName ¶
func (o *PlayerThemeUpdatePayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasText ¶
func (o *PlayerThemeUpdatePayload) HasText() bool
HasText returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasTrackBackground ¶
func (o *PlayerThemeUpdatePayload) HasTrackBackground() bool
HasTrackBackground returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasTrackPlayed ¶
func (o *PlayerThemeUpdatePayload) HasTrackPlayed() bool
HasTrackPlayed returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) HasTrackUnplayed ¶
func (o *PlayerThemeUpdatePayload) HasTrackUnplayed() bool
HasTrackUnplayed returns a boolean if a field has been set.
func (*PlayerThemeUpdatePayload) SetBackgroundBottom ¶
func (o *PlayerThemeUpdatePayload) SetBackgroundBottom(v string)
SetBackgroundBottom gets a reference to the given string and assigns it to the BackgroundBottom field.
func (*PlayerThemeUpdatePayload) SetBackgroundText ¶
func (o *PlayerThemeUpdatePayload) SetBackgroundText(v string)
SetBackgroundText gets a reference to the given string and assigns it to the BackgroundText field.
func (*PlayerThemeUpdatePayload) SetBackgroundTop ¶
func (o *PlayerThemeUpdatePayload) SetBackgroundTop(v string)
SetBackgroundTop gets a reference to the given string and assigns it to the BackgroundTop field.
func (*PlayerThemeUpdatePayload) SetEnableApi ¶
func (o *PlayerThemeUpdatePayload) SetEnableApi(v bool)
SetEnableApi gets a reference to the given bool and assigns it to the EnableApi field.
func (*PlayerThemeUpdatePayload) SetEnableControls ¶
func (o *PlayerThemeUpdatePayload) SetEnableControls(v bool)
SetEnableControls gets a reference to the given bool and assigns it to the EnableControls field.
func (*PlayerThemeUpdatePayload) SetForceAutoplay ¶
func (o *PlayerThemeUpdatePayload) SetForceAutoplay(v bool)
SetForceAutoplay gets a reference to the given bool and assigns it to the ForceAutoplay field.
func (*PlayerThemeUpdatePayload) SetForceLoop ¶
func (o *PlayerThemeUpdatePayload) SetForceLoop(v bool)
SetForceLoop gets a reference to the given bool and assigns it to the ForceLoop field.
func (*PlayerThemeUpdatePayload) SetHideTitle ¶
func (o *PlayerThemeUpdatePayload) SetHideTitle(v bool)
SetHideTitle gets a reference to the given bool and assigns it to the HideTitle field.
func (*PlayerThemeUpdatePayload) SetLink ¶
func (o *PlayerThemeUpdatePayload) SetLink(v string)
SetLink gets a reference to the given string and assigns it to the Link field.
func (*PlayerThemeUpdatePayload) SetLinkActive ¶ added in v1.2.2
func (o *PlayerThemeUpdatePayload) SetLinkActive(v string)
SetLinkActive gets a reference to the given string and assigns it to the LinkActive field.
func (*PlayerThemeUpdatePayload) SetLinkHover ¶
func (o *PlayerThemeUpdatePayload) SetLinkHover(v string)
SetLinkHover gets a reference to the given string and assigns it to the LinkHover field.
func (*PlayerThemeUpdatePayload) SetName ¶
func (o *PlayerThemeUpdatePayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PlayerThemeUpdatePayload) SetText ¶
func (o *PlayerThemeUpdatePayload) SetText(v string)
SetText gets a reference to the given string and assigns it to the Text field.
func (*PlayerThemeUpdatePayload) SetTrackBackground ¶
func (o *PlayerThemeUpdatePayload) SetTrackBackground(v string)
SetTrackBackground gets a reference to the given string and assigns it to the TrackBackground field.
func (*PlayerThemeUpdatePayload) SetTrackPlayed ¶
func (o *PlayerThemeUpdatePayload) SetTrackPlayed(v string)
SetTrackPlayed gets a reference to the given string and assigns it to the TrackPlayed field.
func (*PlayerThemeUpdatePayload) SetTrackUnplayed ¶
func (o *PlayerThemeUpdatePayload) SetTrackUnplayed(v string)
SetTrackUnplayed gets a reference to the given string and assigns it to the TrackUnplayed field.
type PlayerThemesApiListRequest ¶
type PlayerThemesApiListRequest struct {
// contains filtered or unexported fields
}
func (PlayerThemesApiListRequest) CurrentPage ¶
func (r PlayerThemesApiListRequest) CurrentPage(currentPage int32) PlayerThemesApiListRequest
func (PlayerThemesApiListRequest) PageSize ¶
func (r PlayerThemesApiListRequest) PageSize(pageSize int32) PlayerThemesApiListRequest
func (PlayerThemesApiListRequest) SortBy ¶
func (r PlayerThemesApiListRequest) SortBy(sortBy string) PlayerThemesApiListRequest
func (PlayerThemesApiListRequest) SortOrder ¶
func (r PlayerThemesApiListRequest) SortOrder(sortOrder string) PlayerThemesApiListRequest
type PlayerThemesListResponse ¶
type PlayerThemesListResponse struct { Data []PlayerTheme `json:"data"` Pagination Pagination `json:"pagination"` }
PlayerThemesListResponse struct for PlayerThemesListResponse
func NewPlayerThemesListResponse ¶
func NewPlayerThemesListResponse(data []PlayerTheme, pagination Pagination) *PlayerThemesListResponse
NewPlayerThemesListResponse instantiates a new PlayerThemesListResponse 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 NewPlayerThemesListResponseWithDefaults ¶
func NewPlayerThemesListResponseWithDefaults() *PlayerThemesListResponse
NewPlayerThemesListResponseWithDefaults instantiates a new PlayerThemesListResponse 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 (*PlayerThemesListResponse) GetData ¶
func (o *PlayerThemesListResponse) GetData() []PlayerTheme
GetData returns the Data field value
func (*PlayerThemesListResponse) GetDataOk ¶
func (o *PlayerThemesListResponse) GetDataOk() (*[]PlayerTheme, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*PlayerThemesListResponse) GetPagination ¶
func (o *PlayerThemesListResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*PlayerThemesListResponse) GetPaginationOk ¶
func (o *PlayerThemesListResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (*PlayerThemesListResponse) SetData ¶
func (o *PlayerThemesListResponse) SetData(v []PlayerTheme)
SetData sets field value
func (*PlayerThemesListResponse) SetPagination ¶
func (o *PlayerThemesListResponse) SetPagination(v Pagination)
SetPagination sets field value
type PlayerThemesService ¶
type PlayerThemesService struct {
// contains filtered or unexported fields
}
PlayerThemesService communicating with the PlayerThemes endpoints of the api.video API
func (*PlayerThemesService) Create ¶
func (s *PlayerThemesService) Create(playerThemeCreationPayload PlayerThemeCreationPayload) (*PlayerTheme, error)
func (*PlayerThemesService) CreateWithContext ¶
func (s *PlayerThemesService) CreateWithContext(ctx context.Context, playerThemeCreationPayload PlayerThemeCreationPayload) (*PlayerTheme, error)
func (*PlayerThemesService) Delete ¶
func (s *PlayerThemesService) Delete(playerId string) error
func (*PlayerThemesService) DeleteLogo ¶
func (s *PlayerThemesService) DeleteLogo(playerId string) error
func (*PlayerThemesService) DeleteLogoWithContext ¶
func (s *PlayerThemesService) DeleteLogoWithContext(ctx context.Context, playerId string) error
func (*PlayerThemesService) DeleteWithContext ¶
func (s *PlayerThemesService) DeleteWithContext(ctx context.Context, playerId string) error
func (*PlayerThemesService) Get ¶
func (s *PlayerThemesService) Get(playerId string) (*PlayerTheme, error)
func (*PlayerThemesService) GetWithContext ¶
func (s *PlayerThemesService) GetWithContext(ctx context.Context, playerId string) (*PlayerTheme, error)
func (*PlayerThemesService) List ¶
func (s *PlayerThemesService) List(r PlayerThemesApiListRequest) (*PlayerThemesListResponse, error)
func (*PlayerThemesService) ListWithContext ¶
func (s *PlayerThemesService) ListWithContext(ctx context.Context, r PlayerThemesApiListRequest) (*PlayerThemesListResponse, error)
func (*PlayerThemesService) Update ¶
func (s *PlayerThemesService) Update(playerId string, playerThemeUpdatePayload PlayerThemeUpdatePayload) (*PlayerTheme, error)
func (*PlayerThemesService) UpdateWithContext ¶
func (s *PlayerThemesService) UpdateWithContext(ctx context.Context, playerId string, playerThemeUpdatePayload PlayerThemeUpdatePayload) (*PlayerTheme, error)
func (*PlayerThemesService) UploadLogo ¶
func (s *PlayerThemesService) UploadLogo(playerId string, link *string, fileName string, fileReader io.Reader) (*PlayerTheme, error)
- UploadLogo Upload a logo
- Upload an image file as a logo for your player. The image should fit within these constraints:
- The image mime type must be `image/jpeg` or `image/png`. api.video recommends using `png` images with transparent background.
- The image size should be a maximum of 200px width x 100px.
- The file size should be a maximum of 100 KiB.
- @param playerId The unique identifier for the player.
- @return PlayerThemesApiUploadLogoRequest
func (*PlayerThemesService) UploadLogoFile ¶
func (s *PlayerThemesService) UploadLogoFile(playerId string, file *os.File, link *string) (*PlayerTheme, error)
func (*PlayerThemesService) UploadLogoFileWithContext ¶
func (s *PlayerThemesService) UploadLogoFileWithContext(ctx context.Context, playerId string, file *os.File, link *string) (*PlayerTheme, error)
func (*PlayerThemesService) UploadLogoWithContext ¶
func (s *PlayerThemesService) UploadLogoWithContext(ctx context.Context, playerId string, link *string, fileName string, fileReader io.Reader) (*PlayerTheme, error)
- UploadLogo Upload a logo
- Upload an image file as a logo for your player. The image should fit within these constraints:
- The image mime type must be `image/jpeg` or `image/png`. api.video recommends using `png` images with transparent background.
- The image size should be a maximum of 200px width x 100px.
- The file size should be a maximum of 100 KiB.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param playerId The unique identifier for the player.
- @return PlayerThemesApiUploadLogoRequest
type PlayerThemesServiceI ¶
type PlayerThemesServiceI interface { Create(playerThemeCreationPayload PlayerThemeCreationPayload) (*PlayerTheme, error) CreateWithContext(ctx context.Context, playerThemeCreationPayload PlayerThemeCreationPayload) (*PlayerTheme, error) Get(playerId string) (*PlayerTheme, error) GetWithContext(ctx context.Context, playerId string) (*PlayerTheme, error) Update(playerId string, playerThemeUpdatePayload PlayerThemeUpdatePayload) (*PlayerTheme, error) UpdateWithContext(ctx context.Context, playerId string, playerThemeUpdatePayload PlayerThemeUpdatePayload) (*PlayerTheme, error) Delete(playerId string) error DeleteWithContext(ctx context.Context, playerId string) error List(r PlayerThemesApiListRequest) (*PlayerThemesListResponse, error) ListWithContext(ctx context.Context, r PlayerThemesApiListRequest) (*PlayerThemesListResponse, error) /* * UploadLogo Upload a logo * @param playerId The unique identifier for the player. * @return PlayerThemesApiUploadLogoRequest */ UploadLogo(playerId string, link *string, fileName string, fileReader io.Reader) (*PlayerTheme, error) /* * UploadLogo Upload a logo * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param playerId The unique identifier for the player. * @return PlayerThemesApiUploadLogoRequest */ UploadLogoWithContext(ctx context.Context, playerId string, link *string, fileName string, fileReader io.Reader) (*PlayerTheme, error) /* * UploadLogo Upload a logo * @param playerId The unique identifier for the player. * @return PlayerThemesApiUploadLogoRequest */ UploadLogoFile(playerId string, file *os.File, link *string) (*PlayerTheme, error) /* * UploadLogo Upload a logo * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param playerId The unique identifier for the player. * @return PlayerThemesApiUploadLogoRequest */ UploadLogoFileWithContext(ctx context.Context, playerId string, file *os.File, link *string) (*PlayerTheme, error) DeleteLogo(playerId string) error DeleteLogoWithContext(ctx context.Context, playerId string) error }
type Quality ¶
type Quality struct { // The type of video (hls or mp4). Type *string `json:"type,omitempty"` // The quality of the video you have, in pixels. Choices include 360p, 480p, 720p, 1080p, and 2160p. Quality *string `json:"quality,omitempty"` // The status of your video. Statuses include waiting - the video is waiting to be encoded. encoding - the video is in the process of being encoded. encoded - the video was successfully encoded. failed - the video failed to be encoded. Status *string `json:"status,omitempty"` }
Quality struct for Quality
func NewQuality ¶
func NewQuality() *Quality
NewQuality instantiates a new Quality 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 NewQualityWithDefaults ¶
func NewQualityWithDefaults() *Quality
NewQualityWithDefaults instantiates a new Quality 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 (*Quality) GetQuality ¶
GetQuality returns the Quality field value if set, zero value otherwise.
func (*Quality) GetQualityOk ¶
GetQualityOk returns a tuple with the Quality field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quality) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quality) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Quality) HasQuality ¶
HasQuality returns a boolean if a field has been set.
func (*Quality) SetQuality ¶
SetQuality gets a reference to the given string and assigns it to the Quality field.
type RefreshTokenPayload ¶
type RefreshTokenPayload struct { // The refresh token is either the first refresh token you received when you authenticated with the auth/api-key endpoint, or it's the refresh token from the last time you used the auth/refresh endpoint. Place this in the body of your request to obtain a new access token (which is valid for an hour) and a new refresh token. RefreshToken string `json:"refreshToken"` }
RefreshTokenPayload struct for RefreshTokenPayload
func NewRefreshTokenPayload ¶
func NewRefreshTokenPayload(refreshToken string) *RefreshTokenPayload
NewRefreshTokenPayload instantiates a new RefreshTokenPayload 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 NewRefreshTokenPayloadWithDefaults ¶
func NewRefreshTokenPayloadWithDefaults() *RefreshTokenPayload
NewRefreshTokenPayloadWithDefaults instantiates a new RefreshTokenPayload 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 (*RefreshTokenPayload) GetRefreshToken ¶
func (o *RefreshTokenPayload) GetRefreshToken() string
GetRefreshToken returns the RefreshToken field value
func (*RefreshTokenPayload) GetRefreshTokenOk ¶
func (o *RefreshTokenPayload) GetRefreshTokenOk() (*string, bool)
GetRefreshTokenOk returns a tuple with the RefreshToken field value and a boolean to check if the value has been set.
func (*RefreshTokenPayload) SetRefreshToken ¶
func (o *RefreshTokenPayload) SetRefreshToken(v string)
SetRefreshToken sets field value
type RestreamsRequestObject ¶ added in v1.3.0
type RestreamsRequestObject struct { // Use this parameter to define a name for the restream destination. Name string `json:"name"` // Use this parameter to set the RTMP URL of the restream destination. ServerUrl string `json:"serverUrl"` // Use this parameter to provide the unique key of the live stream that you want to restream. StreamKey string `json:"streamKey"` }
RestreamsRequestObject Adding restream destinations is optional. However, if you set a restream destination, you must provide all attributes for each destination.
func NewRestreamsRequestObject ¶ added in v1.3.0
func NewRestreamsRequestObject(name string, serverUrl string, streamKey string) *RestreamsRequestObject
NewRestreamsRequestObject instantiates a new RestreamsRequestObject 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 NewRestreamsRequestObjectWithDefaults ¶ added in v1.3.0
func NewRestreamsRequestObjectWithDefaults() *RestreamsRequestObject
NewRestreamsRequestObjectWithDefaults instantiates a new RestreamsRequestObject 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 (*RestreamsRequestObject) GetName ¶ added in v1.3.0
func (o *RestreamsRequestObject) GetName() string
GetName returns the Name field value
func (*RestreamsRequestObject) GetNameOk ¶ added in v1.3.0
func (o *RestreamsRequestObject) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*RestreamsRequestObject) GetServerUrl ¶ added in v1.3.0
func (o *RestreamsRequestObject) GetServerUrl() string
GetServerUrl returns the ServerUrl field value
func (*RestreamsRequestObject) GetServerUrlOk ¶ added in v1.3.0
func (o *RestreamsRequestObject) GetServerUrlOk() (*string, bool)
GetServerUrlOk returns a tuple with the ServerUrl field value and a boolean to check if the value has been set.
func (*RestreamsRequestObject) GetStreamKey ¶ added in v1.3.0
func (o *RestreamsRequestObject) GetStreamKey() string
GetStreamKey returns the StreamKey field value
func (*RestreamsRequestObject) GetStreamKeyOk ¶ added in v1.3.0
func (o *RestreamsRequestObject) GetStreamKeyOk() (*string, bool)
GetStreamKeyOk returns a tuple with the StreamKey field value and a boolean to check if the value has been set.
func (*RestreamsRequestObject) SetName ¶ added in v1.3.0
func (o *RestreamsRequestObject) SetName(v string)
SetName sets field value
func (*RestreamsRequestObject) SetServerUrl ¶ added in v1.3.0
func (o *RestreamsRequestObject) SetServerUrl(v string)
SetServerUrl sets field value
func (*RestreamsRequestObject) SetStreamKey ¶ added in v1.3.0
func (o *RestreamsRequestObject) SetStreamKey(v string)
SetStreamKey sets field value
type RestreamsResponseObject ¶ added in v1.3.0
type RestreamsResponseObject struct { // Returns the name of a restream destination. Name *string `json:"name,omitempty"` // Returns the RTMP URL of a restream destination. ServerUrl *string `json:"serverUrl,omitempty"` // Returns the unique key of the live stream that is set up for restreaming. StreamKey *string `json:"streamKey,omitempty"` }
RestreamsResponseObject struct for RestreamsResponseObject
func NewRestreamsResponseObject ¶ added in v1.3.0
func NewRestreamsResponseObject() *RestreamsResponseObject
NewRestreamsResponseObject instantiates a new RestreamsResponseObject 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 NewRestreamsResponseObjectWithDefaults ¶ added in v1.3.0
func NewRestreamsResponseObjectWithDefaults() *RestreamsResponseObject
NewRestreamsResponseObjectWithDefaults instantiates a new RestreamsResponseObject 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 (*RestreamsResponseObject) GetName ¶ added in v1.3.0
func (o *RestreamsResponseObject) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RestreamsResponseObject) GetNameOk ¶ added in v1.3.0
func (o *RestreamsResponseObject) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestreamsResponseObject) GetServerUrl ¶ added in v1.3.0
func (o *RestreamsResponseObject) GetServerUrl() string
GetServerUrl returns the ServerUrl field value if set, zero value otherwise.
func (*RestreamsResponseObject) GetServerUrlOk ¶ added in v1.3.0
func (o *RestreamsResponseObject) GetServerUrlOk() (*string, bool)
GetServerUrlOk returns a tuple with the ServerUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestreamsResponseObject) GetStreamKey ¶ added in v1.3.0
func (o *RestreamsResponseObject) GetStreamKey() string
GetStreamKey returns the StreamKey field value if set, zero value otherwise.
func (*RestreamsResponseObject) GetStreamKeyOk ¶ added in v1.3.0
func (o *RestreamsResponseObject) GetStreamKeyOk() (*string, bool)
GetStreamKeyOk returns a tuple with the StreamKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestreamsResponseObject) HasName ¶ added in v1.3.0
func (o *RestreamsResponseObject) HasName() bool
HasName returns a boolean if a field has been set.
func (*RestreamsResponseObject) HasServerUrl ¶ added in v1.3.0
func (o *RestreamsResponseObject) HasServerUrl() bool
HasServerUrl returns a boolean if a field has been set.
func (*RestreamsResponseObject) HasStreamKey ¶ added in v1.3.0
func (o *RestreamsResponseObject) HasStreamKey() bool
HasStreamKey returns a boolean if a field has been set.
func (*RestreamsResponseObject) SetName ¶ added in v1.3.0
func (o *RestreamsResponseObject) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*RestreamsResponseObject) SetServerUrl ¶ added in v1.3.0
func (o *RestreamsResponseObject) SetServerUrl(v string)
SetServerUrl gets a reference to the given string and assigns it to the ServerUrl field.
func (*RestreamsResponseObject) SetStreamKey ¶ added in v1.3.0
func (o *RestreamsResponseObject) SetStreamKey(v string)
SetStreamKey gets a reference to the given string and assigns it to the StreamKey field.
type Token ¶
type Token struct { AccessToken string `json:"access_token"` TokenType string `json:"token_type"` RefreshToken string `json:"refresh_token"` ExpiresIn int `json:"expires_in"` ExpireTime time.Time }
Token contains token for connecting to the api.video API
type TokenCreationPayload ¶
type TokenCreationPayload struct { // Time in seconds that the token will be active. A value of 0 means that the token has no exipration date. The default is to have no expiration. Ttl *int32 `json:"ttl,omitempty"` }
TokenCreationPayload struct for TokenCreationPayload
func NewTokenCreationPayload ¶
func NewTokenCreationPayload() *TokenCreationPayload
NewTokenCreationPayload instantiates a new TokenCreationPayload 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 NewTokenCreationPayloadWithDefaults ¶
func NewTokenCreationPayloadWithDefaults() *TokenCreationPayload
NewTokenCreationPayloadWithDefaults instantiates a new TokenCreationPayload 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 (*TokenCreationPayload) GetTtl ¶
func (o *TokenCreationPayload) GetTtl() int32
GetTtl returns the Ttl field value if set, zero value otherwise.
func (*TokenCreationPayload) GetTtlOk ¶
func (o *TokenCreationPayload) GetTtlOk() (*int32, bool)
GetTtlOk returns a tuple with the Ttl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TokenCreationPayload) HasTtl ¶
func (o *TokenCreationPayload) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (*TokenCreationPayload) SetTtl ¶
func (o *TokenCreationPayload) SetTtl(v int32)
SetTtl gets a reference to the given int32 and assigns it to the Ttl field.
type TokenListResponse ¶
type TokenListResponse struct { Data []UploadToken `json:"data"` Pagination Pagination `json:"pagination"` }
TokenListResponse struct for TokenListResponse
func NewTokenListResponse ¶
func NewTokenListResponse(data []UploadToken, pagination Pagination) *TokenListResponse
NewTokenListResponse instantiates a new TokenListResponse 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 NewTokenListResponseWithDefaults ¶
func NewTokenListResponseWithDefaults() *TokenListResponse
NewTokenListResponseWithDefaults instantiates a new TokenListResponse 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 (*TokenListResponse) GetData ¶
func (o *TokenListResponse) GetData() []UploadToken
GetData returns the Data field value
func (*TokenListResponse) GetDataOk ¶
func (o *TokenListResponse) GetDataOk() (*[]UploadToken, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*TokenListResponse) GetPagination ¶
func (o *TokenListResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*TokenListResponse) GetPaginationOk ¶
func (o *TokenListResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (*TokenListResponse) SetData ¶
func (o *TokenListResponse) SetData(v []UploadToken)
SetData sets field value
func (*TokenListResponse) SetPagination ¶
func (o *TokenListResponse) SetPagination(v Pagination)
SetPagination sets field value
type UploadStream ¶
type UploadStream struct {
// contains filtered or unexported fields
}
VideosService communicating with the Videos endpoints of the api.video API
func (*UploadStream) UploadAPart ¶
func (*UploadStream) UploadLastPart ¶
func (*UploadStream) UploadLastPartFile ¶
func (s *UploadStream) UploadLastPartFile(file *os.File) (*Video, error)
func (*UploadStream) UploadLastPartWithContext ¶
func (*UploadStream) UploadLastPartWithContextFile ¶
func (*UploadStream) UploadPart ¶
func (*UploadStream) UploadPartFile ¶
func (s *UploadStream) UploadPartFile(file *os.File) (*Video, error)
func (*UploadStream) UploadPartWithContext ¶
func (*UploadStream) UploadPartWithContextFile ¶
type UploadToken ¶
type UploadToken struct { // The unique identifier for the token you will use to authenticate an upload. Token *string `json:"token,omitempty"` // Time-to-live - how long the upload token is valid for. Ttl *int32 `json:"ttl,omitempty"` // When the token was created, displayed in ISO-8601 format. CreatedAt *string `json:"createdAt,omitempty"` // When the token expires, displayed in ISO-8601 format. ExpiresAt *NullableString `json:"expiresAt,omitempty"` }
UploadToken struct for UploadToken
func NewUploadToken ¶
func NewUploadToken() *UploadToken
NewUploadToken instantiates a new UploadToken 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 NewUploadTokenWithDefaults ¶
func NewUploadTokenWithDefaults() *UploadToken
NewUploadTokenWithDefaults instantiates a new UploadToken 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 (*UploadToken) GetCreatedAt ¶
func (o *UploadToken) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*UploadToken) GetCreatedAtOk ¶
func (o *UploadToken) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UploadToken) GetExpiresAt ¶
func (o *UploadToken) GetExpiresAt() string
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UploadToken) GetExpiresAtOk ¶
func (o *UploadToken) GetExpiresAtOk() (*string, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UploadToken) GetToken ¶
func (o *UploadToken) GetToken() string
GetToken returns the Token field value if set, zero value otherwise.
func (*UploadToken) GetTokenOk ¶
func (o *UploadToken) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UploadToken) GetTtl ¶
func (o *UploadToken) GetTtl() int32
GetTtl returns the Ttl field value if set, zero value otherwise.
func (*UploadToken) GetTtlOk ¶
func (o *UploadToken) GetTtlOk() (*int32, bool)
GetTtlOk returns a tuple with the Ttl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UploadToken) HasCreatedAt ¶
func (o *UploadToken) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*UploadToken) HasExpiresAt ¶
func (o *UploadToken) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*UploadToken) HasToken ¶
func (o *UploadToken) HasToken() bool
HasToken returns a boolean if a field has been set.
func (*UploadToken) HasTtl ¶
func (o *UploadToken) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (*UploadToken) SetCreatedAt ¶
func (o *UploadToken) SetCreatedAt(v string)
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*UploadToken) SetExpiresAt ¶
func (o *UploadToken) SetExpiresAt(v string)
SetExpiresAt gets a reference to the given NullableString and assigns it to the ExpiresAt field.
func (*UploadToken) SetExpiresAtNil ¶
func (o *UploadToken) SetExpiresAtNil()
SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil
func (*UploadToken) SetToken ¶
func (o *UploadToken) SetToken(v string)
SetToken gets a reference to the given string and assigns it to the Token field.
func (*UploadToken) SetTtl ¶
func (o *UploadToken) SetTtl(v int32)
SetTtl gets a reference to the given int32 and assigns it to the Ttl field.
func (*UploadToken) UnsetExpiresAt ¶
func (o *UploadToken) UnsetExpiresAt()
UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil
type UploadTokensApiListRequest ¶
type UploadTokensApiListRequest struct {
// contains filtered or unexported fields
}
func (UploadTokensApiListRequest) CurrentPage ¶
func (r UploadTokensApiListRequest) CurrentPage(currentPage int32) UploadTokensApiListRequest
func (UploadTokensApiListRequest) PageSize ¶
func (r UploadTokensApiListRequest) PageSize(pageSize int32) UploadTokensApiListRequest
func (UploadTokensApiListRequest) SortBy ¶
func (r UploadTokensApiListRequest) SortBy(sortBy string) UploadTokensApiListRequest
func (UploadTokensApiListRequest) SortOrder ¶
func (r UploadTokensApiListRequest) SortOrder(sortOrder string) UploadTokensApiListRequest
type UploadTokensService ¶
type UploadTokensService struct {
// contains filtered or unexported fields
}
UploadTokensService communicating with the UploadTokens endpoints of the api.video API
func (*UploadTokensService) CreateToken ¶
func (s *UploadTokensService) CreateToken(tokenCreationPayload TokenCreationPayload) (*UploadToken, error)
func (*UploadTokensService) CreateTokenWithContext ¶
func (s *UploadTokensService) CreateTokenWithContext(ctx context.Context, tokenCreationPayload TokenCreationPayload) (*UploadToken, error)
func (*UploadTokensService) DeleteToken ¶
func (s *UploadTokensService) DeleteToken(uploadToken string) error
func (*UploadTokensService) DeleteTokenWithContext ¶
func (s *UploadTokensService) DeleteTokenWithContext(ctx context.Context, uploadToken string) error
func (*UploadTokensService) GetToken ¶
func (s *UploadTokensService) GetToken(uploadToken string) (*UploadToken, error)
func (*UploadTokensService) GetTokenWithContext ¶
func (s *UploadTokensService) GetTokenWithContext(ctx context.Context, uploadToken string) (*UploadToken, error)
func (*UploadTokensService) List ¶
func (s *UploadTokensService) List(r UploadTokensApiListRequest) (*TokenListResponse, error)
func (*UploadTokensService) ListWithContext ¶
func (s *UploadTokensService) ListWithContext(ctx context.Context, r UploadTokensApiListRequest) (*TokenListResponse, error)
type UploadTokensServiceI ¶
type UploadTokensServiceI interface { CreateToken(tokenCreationPayload TokenCreationPayload) (*UploadToken, error) CreateTokenWithContext(ctx context.Context, tokenCreationPayload TokenCreationPayload) (*UploadToken, error) GetToken(uploadToken string) (*UploadToken, error) GetTokenWithContext(ctx context.Context, uploadToken string) (*UploadToken, error) DeleteToken(uploadToken string) error DeleteTokenWithContext(ctx context.Context, uploadToken string) error List(r UploadTokensApiListRequest) (*TokenListResponse, error) ListWithContext(ctx context.Context, r UploadTokensApiListRequest) (*TokenListResponse, error) }
type UploadWithUploadTokenStream ¶
type UploadWithUploadTokenStream struct {
// contains filtered or unexported fields
}
VideosService communicating with the Videos endpoints of the api.video API
func (*UploadWithUploadTokenStream) UploadAPart ¶
func (*UploadWithUploadTokenStream) UploadLastPart ¶
func (*UploadWithUploadTokenStream) UploadLastPartFile ¶
func (s *UploadWithUploadTokenStream) UploadLastPartFile(file *os.File) (*Video, error)
func (*UploadWithUploadTokenStream) UploadLastPartWithContext ¶
func (*UploadWithUploadTokenStream) UploadLastPartWithContextFile ¶
func (*UploadWithUploadTokenStream) UploadPart ¶
func (*UploadWithUploadTokenStream) UploadPartFile ¶
func (s *UploadWithUploadTokenStream) UploadPartFile(file *os.File) (*Video, error)
func (*UploadWithUploadTokenStream) UploadPartWithContext ¶
func (*UploadWithUploadTokenStream) UploadPartWithContextFile ¶
type Video ¶
type Video struct { // The unique identifier of the video object. VideoId string `json:"videoId"` // When a video was created, presented in ISO-8601 format. CreatedAt *string `json:"createdAt,omitempty"` // The title of the video content. Title *string `json:"title,omitempty"` // A description for the video content. Description *string `json:"description,omitempty"` // The date and time the API created the video. Date and time are provided using ISO-8601 UTC format. PublishedAt *string `json:"publishedAt,omitempty"` // The date and time the video was updated. Date and time are provided using ISO-8601 UTC format. UpdatedAt *string `json:"updatedAt,omitempty"` // One array of tags (each tag is a string) in order to categorize a video. Tags may include spaces. Tags *[]string `json:"tags,omitempty"` // Metadata you can use to categorise and filter videos. Metadata is a list of dictionaries, where each dictionary represents a key value pair for categorising a video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata/) allows you to define a key that allows any value pair. Metadata *[]Metadata `json:"metadata,omitempty"` Source *VideoSource `json:"source,omitempty"` Assets *VideoAssets `json:"assets,omitempty"` // The id of the player that will be applied on the video. PlayerId *string `json:"playerId,omitempty"` // Defines if the content is publicly reachable or if a unique token is needed for each play session. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos/). Public *bool `json:"public,omitempty"` // Defines if video is panoramic. Panoramic *bool `json:"panoramic,omitempty"` // This lets you know whether mp4 is supported. If enabled, an mp4 URL will be provided in the response for the video. Mp4Support *bool `json:"mp4Support,omitempty"` }
Video struct for Video
func NewVideo ¶
NewVideo instantiates a new Video 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 NewVideoWithDefaults ¶
func NewVideoWithDefaults() *Video
NewVideoWithDefaults instantiates a new Video 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 (*Video) GetAssets ¶
func (o *Video) GetAssets() VideoAssets
GetAssets returns the Assets field value if set, zero value otherwise.
func (*Video) GetAssetsOk ¶
func (o *Video) GetAssetsOk() (*VideoAssets, bool)
GetAssetsOk returns a tuple with the Assets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Video) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Video) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Video) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Video) GetDescriptionOk ¶
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 (*Video) GetMetadata ¶
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Video) GetMetadataOk ¶
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Video) GetMp4Support ¶
GetMp4Support returns the Mp4Support field value if set, zero value otherwise.
func (*Video) GetMp4SupportOk ¶
GetMp4SupportOk returns a tuple with the Mp4Support field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Video) GetPanoramic ¶
GetPanoramic returns the Panoramic field value if set, zero value otherwise.
func (*Video) GetPanoramicOk ¶
GetPanoramicOk returns a tuple with the Panoramic field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Video) GetPlayerId ¶
GetPlayerId returns the PlayerId field value if set, zero value otherwise.
func (*Video) GetPlayerIdOk ¶
GetPlayerIdOk returns a tuple with the PlayerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Video) GetPublicOk ¶
GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Video) GetPublishedAt ¶
GetPublishedAt returns the PublishedAt field value if set, zero value otherwise.
func (*Video) GetPublishedAtOk ¶
GetPublishedAtOk returns a tuple with the PublishedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Video) GetSource ¶
func (o *Video) GetSource() VideoSource
GetSource returns the Source field value if set, zero value otherwise.
func (*Video) GetSourceOk ¶
func (o *Video) GetSourceOk() (*VideoSource, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Video) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Video) GetTitleOk ¶
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 (*Video) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Video) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Video) GetVideoId ¶
GetVideoId returns the VideoId field value
func (*Video) GetVideoIdOk ¶
GetVideoIdOk returns a tuple with the VideoId field value and a boolean to check if the value has been set.
func (*Video) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Video) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Video) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*Video) HasMp4Support ¶
HasMp4Support returns a boolean if a field has been set.
func (*Video) HasPanoramic ¶
HasPanoramic returns a boolean if a field has been set.
func (*Video) HasPlayerId ¶
HasPlayerId returns a boolean if a field has been set.
func (*Video) HasPublishedAt ¶
HasPublishedAt returns a boolean if a field has been set.
func (*Video) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*Video) SetAssets ¶
func (o *Video) SetAssets(v VideoAssets)
SetAssets gets a reference to the given VideoAssets and assigns it to the Assets field.
func (*Video) SetCreatedAt ¶
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*Video) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Video) SetMetadata ¶
SetMetadata gets a reference to the given []Metadata and assigns it to the Metadata field.
func (*Video) SetMp4Support ¶
SetMp4Support gets a reference to the given bool and assigns it to the Mp4Support field.
func (*Video) SetPanoramic ¶
SetPanoramic gets a reference to the given bool and assigns it to the Panoramic field.
func (*Video) SetPlayerId ¶
SetPlayerId gets a reference to the given string and assigns it to the PlayerId field.
func (*Video) SetPublic ¶
SetPublic gets a reference to the given bool and assigns it to the Public field.
func (*Video) SetPublishedAt ¶
SetPublishedAt gets a reference to the given string and assigns it to the PublishedAt field.
func (*Video) SetSource ¶
func (o *Video) SetSource(v VideoSource)
SetSource gets a reference to the given VideoSource and assigns it to the Source field.
func (*Video) SetTags ¶
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*Video) SetTitle ¶
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*Video) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
type VideoAssets ¶
type VideoAssets struct { // This is the manifest URL. For HTTP Live Streaming (HLS), when a HLS video stream is initiated, the first file to download is the manifest. This file has the extension M3U8, and provides the video player with information about the various bitrates available for streaming. Hls *string `json:"hls,omitempty"` // Code to use video from a third party website Iframe *string `json:"iframe,omitempty"` // Raw url of the player. Player *string `json:"player,omitempty"` // Poster of the video. Thumbnail *string `json:"thumbnail,omitempty"` // Available only if mp4Support is enabled. Raw mp4 url. Mp4 *string `json:"mp4,omitempty"` }
VideoAssets Collection of details about the video object that you can use to work with the video object.
func NewVideoAssets ¶
func NewVideoAssets() *VideoAssets
NewVideoAssets instantiates a new VideoAssets 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 NewVideoAssetsWithDefaults ¶
func NewVideoAssetsWithDefaults() *VideoAssets
NewVideoAssetsWithDefaults instantiates a new VideoAssets 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 (*VideoAssets) GetHls ¶
func (o *VideoAssets) GetHls() string
GetHls returns the Hls field value if set, zero value otherwise.
func (*VideoAssets) GetHlsOk ¶
func (o *VideoAssets) GetHlsOk() (*string, bool)
GetHlsOk returns a tuple with the Hls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoAssets) GetIframe ¶
func (o *VideoAssets) GetIframe() string
GetIframe returns the Iframe field value if set, zero value otherwise.
func (*VideoAssets) GetIframeOk ¶
func (o *VideoAssets) GetIframeOk() (*string, bool)
GetIframeOk returns a tuple with the Iframe field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoAssets) GetMp4 ¶
func (o *VideoAssets) GetMp4() string
GetMp4 returns the Mp4 field value if set, zero value otherwise.
func (*VideoAssets) GetMp4Ok ¶
func (o *VideoAssets) GetMp4Ok() (*string, bool)
GetMp4Ok returns a tuple with the Mp4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoAssets) GetPlayer ¶
func (o *VideoAssets) GetPlayer() string
GetPlayer returns the Player field value if set, zero value otherwise.
func (*VideoAssets) GetPlayerOk ¶
func (o *VideoAssets) GetPlayerOk() (*string, bool)
GetPlayerOk returns a tuple with the Player field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoAssets) GetThumbnail ¶
func (o *VideoAssets) GetThumbnail() string
GetThumbnail returns the Thumbnail field value if set, zero value otherwise.
func (*VideoAssets) GetThumbnailOk ¶
func (o *VideoAssets) GetThumbnailOk() (*string, bool)
GetThumbnailOk returns a tuple with the Thumbnail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoAssets) HasHls ¶
func (o *VideoAssets) HasHls() bool
HasHls returns a boolean if a field has been set.
func (*VideoAssets) HasIframe ¶
func (o *VideoAssets) HasIframe() bool
HasIframe returns a boolean if a field has been set.
func (*VideoAssets) HasMp4 ¶
func (o *VideoAssets) HasMp4() bool
HasMp4 returns a boolean if a field has been set.
func (*VideoAssets) HasPlayer ¶
func (o *VideoAssets) HasPlayer() bool
HasPlayer returns a boolean if a field has been set.
func (*VideoAssets) HasThumbnail ¶
func (o *VideoAssets) HasThumbnail() bool
HasThumbnail returns a boolean if a field has been set.
func (*VideoAssets) SetHls ¶
func (o *VideoAssets) SetHls(v string)
SetHls gets a reference to the given string and assigns it to the Hls field.
func (*VideoAssets) SetIframe ¶
func (o *VideoAssets) SetIframe(v string)
SetIframe gets a reference to the given string and assigns it to the Iframe field.
func (*VideoAssets) SetMp4 ¶
func (o *VideoAssets) SetMp4(v string)
SetMp4 gets a reference to the given string and assigns it to the Mp4 field.
func (*VideoAssets) SetPlayer ¶
func (o *VideoAssets) SetPlayer(v string)
SetPlayer gets a reference to the given string and assigns it to the Player field.
func (*VideoAssets) SetThumbnail ¶
func (o *VideoAssets) SetThumbnail(v string)
SetThumbnail gets a reference to the given string and assigns it to the Thumbnail field.
type VideoClip ¶ added in v1.2.0
type VideoClip struct { // The timestamp that defines the beginning of the video clip you want to create. The value must follow the `HH:MM:SS` format. StartTimecode *string `json:"startTimecode,omitempty"` // The timestamp that defines the end of the video clip you want to create. The value must follow the `HH:MM:SS` format. EndTimecode *string `json:"endTimecode,omitempty"` }
VideoClip Use this object to create a smaller clip from a video you upload. - You can only create video clips in the same request where you create the video container. - You cannot update the starting or ending timestamps of a video clip after you created the video container. - When you upload a video file into a container where you defined a starting and ending timestamp, the API trims the video according to those timestamps to create a clip.
func NewVideoClip ¶ added in v1.2.0
func NewVideoClip() *VideoClip
NewVideoClip instantiates a new VideoClip 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 NewVideoClipWithDefaults ¶ added in v1.2.0
func NewVideoClipWithDefaults() *VideoClip
NewVideoClipWithDefaults instantiates a new VideoClip 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 (*VideoClip) GetEndTimecode ¶ added in v1.2.0
GetEndTimecode returns the EndTimecode field value if set, zero value otherwise.
func (*VideoClip) GetEndTimecodeOk ¶ added in v1.2.0
GetEndTimecodeOk returns a tuple with the EndTimecode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoClip) GetStartTimecode ¶ added in v1.2.0
GetStartTimecode returns the StartTimecode field value if set, zero value otherwise.
func (*VideoClip) GetStartTimecodeOk ¶ added in v1.2.0
GetStartTimecodeOk returns a tuple with the StartTimecode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoClip) HasEndTimecode ¶ added in v1.2.0
HasEndTimecode returns a boolean if a field has been set.
func (*VideoClip) HasStartTimecode ¶ added in v1.2.0
HasStartTimecode returns a boolean if a field has been set.
func (*VideoClip) SetEndTimecode ¶ added in v1.2.0
SetEndTimecode gets a reference to the given string and assigns it to the EndTimecode field.
func (*VideoClip) SetStartTimecode ¶ added in v1.2.0
SetStartTimecode gets a reference to the given string and assigns it to the StartTimecode field.
type VideoCreationPayload ¶
type VideoCreationPayload struct { // The title of your new video. Title string `json:"title"` // A brief description of your video. Description *string `json:"description,omitempty"` // You can either add a video already on the web, by entering the URL of the video, or you can also enter the `videoId` of one of the videos you already have on your api.video acccount, and this will generate a copy of your video. Creating a copy of a video can be especially useful if you want to keep your original video and trim or apply a watermark onto the copy you would create. Source *string `json:"source,omitempty"` // Default: True. If set to `false` the video will become private. More information on private videos can be found [here](https://docs.api.video/delivery-analytics/video-privacy-access-management) Public *bool `json:"public,omitempty"` // Indicates if your video is a 360/immersive video. Panoramic *bool `json:"panoramic,omitempty"` // Enables mp4 version in addition to streamed version. Mp4Support *bool `json:"mp4Support,omitempty"` // The unique identification number for your video player. PlayerId *string `json:"playerId,omitempty"` // A list of tags you want to use to describe your video. Tags *[]string `json:"tags,omitempty"` // A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. Read more on [dynamic metadata](https://api.video/blog/endpoints/dynamic-metadata/). Metadata *[]Metadata `json:"metadata,omitempty"` Clip *VideoClip `json:"clip,omitempty"` Watermark *VideoWatermark `json:"watermark,omitempty"` }
VideoCreationPayload struct for VideoCreationPayload
func NewVideoCreationPayload ¶
func NewVideoCreationPayload(title string) *VideoCreationPayload
NewVideoCreationPayload instantiates a new VideoCreationPayload 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 NewVideoCreationPayloadWithDefaults ¶
func NewVideoCreationPayloadWithDefaults() *VideoCreationPayload
NewVideoCreationPayloadWithDefaults instantiates a new VideoCreationPayload 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 (*VideoCreationPayload) GetClip ¶ added in v1.2.0
func (o *VideoCreationPayload) GetClip() VideoClip
GetClip returns the Clip field value if set, zero value otherwise.
func (*VideoCreationPayload) GetClipOk ¶ added in v1.2.0
func (o *VideoCreationPayload) GetClipOk() (*VideoClip, bool)
GetClipOk returns a tuple with the Clip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoCreationPayload) GetDescription ¶
func (o *VideoCreationPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*VideoCreationPayload) GetDescriptionOk ¶
func (o *VideoCreationPayload) 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 (*VideoCreationPayload) GetMetadata ¶
func (o *VideoCreationPayload) GetMetadata() []Metadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*VideoCreationPayload) GetMetadataOk ¶
func (o *VideoCreationPayload) GetMetadataOk() (*[]Metadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoCreationPayload) GetMp4Support ¶
func (o *VideoCreationPayload) GetMp4Support() bool
GetMp4Support returns the Mp4Support field value if set, zero value otherwise.
func (*VideoCreationPayload) GetMp4SupportOk ¶
func (o *VideoCreationPayload) GetMp4SupportOk() (*bool, bool)
GetMp4SupportOk returns a tuple with the Mp4Support field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoCreationPayload) GetPanoramic ¶
func (o *VideoCreationPayload) GetPanoramic() bool
GetPanoramic returns the Panoramic field value if set, zero value otherwise.
func (*VideoCreationPayload) GetPanoramicOk ¶
func (o *VideoCreationPayload) GetPanoramicOk() (*bool, bool)
GetPanoramicOk returns a tuple with the Panoramic field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoCreationPayload) GetPlayerId ¶
func (o *VideoCreationPayload) GetPlayerId() string
GetPlayerId returns the PlayerId field value if set, zero value otherwise.
func (*VideoCreationPayload) GetPlayerIdOk ¶
func (o *VideoCreationPayload) GetPlayerIdOk() (*string, bool)
GetPlayerIdOk returns a tuple with the PlayerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoCreationPayload) GetPublic ¶
func (o *VideoCreationPayload) GetPublic() bool
GetPublic returns the Public field value if set, zero value otherwise.
func (*VideoCreationPayload) GetPublicOk ¶
func (o *VideoCreationPayload) GetPublicOk() (*bool, bool)
GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoCreationPayload) GetSource ¶
func (o *VideoCreationPayload) GetSource() string
GetSource returns the Source field value if set, zero value otherwise.
func (*VideoCreationPayload) GetSourceOk ¶
func (o *VideoCreationPayload) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoCreationPayload) GetTags ¶
func (o *VideoCreationPayload) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*VideoCreationPayload) GetTagsOk ¶
func (o *VideoCreationPayload) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoCreationPayload) GetTitle ¶
func (o *VideoCreationPayload) GetTitle() string
GetTitle returns the Title field value
func (*VideoCreationPayload) GetTitleOk ¶
func (o *VideoCreationPayload) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*VideoCreationPayload) GetWatermark ¶ added in v1.2.0
func (o *VideoCreationPayload) GetWatermark() VideoWatermark
GetWatermark returns the Watermark field value if set, zero value otherwise.
func (*VideoCreationPayload) GetWatermarkOk ¶ added in v1.2.0
func (o *VideoCreationPayload) GetWatermarkOk() (*VideoWatermark, bool)
GetWatermarkOk returns a tuple with the Watermark field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoCreationPayload) HasClip ¶ added in v1.2.0
func (o *VideoCreationPayload) HasClip() bool
HasClip returns a boolean if a field has been set.
func (*VideoCreationPayload) HasDescription ¶
func (o *VideoCreationPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*VideoCreationPayload) HasMetadata ¶
func (o *VideoCreationPayload) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*VideoCreationPayload) HasMp4Support ¶
func (o *VideoCreationPayload) HasMp4Support() bool
HasMp4Support returns a boolean if a field has been set.
func (*VideoCreationPayload) HasPanoramic ¶
func (o *VideoCreationPayload) HasPanoramic() bool
HasPanoramic returns a boolean if a field has been set.
func (*VideoCreationPayload) HasPlayerId ¶
func (o *VideoCreationPayload) HasPlayerId() bool
HasPlayerId returns a boolean if a field has been set.
func (*VideoCreationPayload) HasPublic ¶
func (o *VideoCreationPayload) HasPublic() bool
HasPublic returns a boolean if a field has been set.
func (*VideoCreationPayload) HasSource ¶
func (o *VideoCreationPayload) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*VideoCreationPayload) HasTags ¶
func (o *VideoCreationPayload) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*VideoCreationPayload) HasWatermark ¶ added in v1.2.0
func (o *VideoCreationPayload) HasWatermark() bool
HasWatermark returns a boolean if a field has been set.
func (*VideoCreationPayload) SetClip ¶ added in v1.2.0
func (o *VideoCreationPayload) SetClip(v VideoClip)
SetClip gets a reference to the given VideoClip and assigns it to the Clip field.
func (*VideoCreationPayload) SetDescription ¶
func (o *VideoCreationPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*VideoCreationPayload) SetMetadata ¶
func (o *VideoCreationPayload) SetMetadata(v []Metadata)
SetMetadata gets a reference to the given []Metadata and assigns it to the Metadata field.
func (*VideoCreationPayload) SetMp4Support ¶
func (o *VideoCreationPayload) SetMp4Support(v bool)
SetMp4Support gets a reference to the given bool and assigns it to the Mp4Support field.
func (*VideoCreationPayload) SetPanoramic ¶
func (o *VideoCreationPayload) SetPanoramic(v bool)
SetPanoramic gets a reference to the given bool and assigns it to the Panoramic field.
func (*VideoCreationPayload) SetPlayerId ¶
func (o *VideoCreationPayload) SetPlayerId(v string)
SetPlayerId gets a reference to the given string and assigns it to the PlayerId field.
func (*VideoCreationPayload) SetPublic ¶
func (o *VideoCreationPayload) SetPublic(v bool)
SetPublic gets a reference to the given bool and assigns it to the Public field.
func (*VideoCreationPayload) SetSource ¶
func (o *VideoCreationPayload) SetSource(v string)
SetSource gets a reference to the given string and assigns it to the Source field.
func (*VideoCreationPayload) SetTags ¶
func (o *VideoCreationPayload) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*VideoCreationPayload) SetTitle ¶
func (o *VideoCreationPayload) SetTitle(v string)
SetTitle sets field value
func (*VideoCreationPayload) SetWatermark ¶ added in v1.2.0
func (o *VideoCreationPayload) SetWatermark(v VideoWatermark)
SetWatermark gets a reference to the given VideoWatermark and assigns it to the Watermark field.
type VideoSession ¶
type VideoSession struct { Session *VideoSessionSession `json:"session,omitempty"` Location *VideoSessionLocation `json:"location,omitempty"` Referrer *VideoSessionReferrer `json:"referrer,omitempty"` Device *VideoSessionDevice `json:"device,omitempty"` Os *VideoSessionOs `json:"os,omitempty"` Client *VideoSessionClient `json:"client,omitempty"` }
VideoSession struct for VideoSession
func NewVideoSession ¶
func NewVideoSession() *VideoSession
NewVideoSession instantiates a new VideoSession 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 NewVideoSessionWithDefaults ¶
func NewVideoSessionWithDefaults() *VideoSession
NewVideoSessionWithDefaults instantiates a new VideoSession 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 (*VideoSession) GetClient ¶
func (o *VideoSession) GetClient() VideoSessionClient
GetClient returns the Client field value if set, zero value otherwise.
func (*VideoSession) GetClientOk ¶
func (o *VideoSession) GetClientOk() (*VideoSessionClient, bool)
GetClientOk returns a tuple with the Client field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSession) GetDevice ¶
func (o *VideoSession) GetDevice() VideoSessionDevice
GetDevice returns the Device field value if set, zero value otherwise.
func (*VideoSession) GetDeviceOk ¶
func (o *VideoSession) GetDeviceOk() (*VideoSessionDevice, bool)
GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSession) GetLocation ¶
func (o *VideoSession) GetLocation() VideoSessionLocation
GetLocation returns the Location field value if set, zero value otherwise.
func (*VideoSession) GetLocationOk ¶
func (o *VideoSession) GetLocationOk() (*VideoSessionLocation, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSession) GetOs ¶
func (o *VideoSession) GetOs() VideoSessionOs
GetOs returns the Os field value if set, zero value otherwise.
func (*VideoSession) GetOsOk ¶
func (o *VideoSession) GetOsOk() (*VideoSessionOs, bool)
GetOsOk returns a tuple with the Os field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSession) GetReferrer ¶
func (o *VideoSession) GetReferrer() VideoSessionReferrer
GetReferrer returns the Referrer field value if set, zero value otherwise.
func (*VideoSession) GetReferrerOk ¶
func (o *VideoSession) GetReferrerOk() (*VideoSessionReferrer, bool)
GetReferrerOk returns a tuple with the Referrer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSession) GetSession ¶
func (o *VideoSession) GetSession() VideoSessionSession
GetSession returns the Session field value if set, zero value otherwise.
func (*VideoSession) GetSessionOk ¶
func (o *VideoSession) GetSessionOk() (*VideoSessionSession, bool)
GetSessionOk returns a tuple with the Session field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSession) HasClient ¶
func (o *VideoSession) HasClient() bool
HasClient returns a boolean if a field has been set.
func (*VideoSession) HasDevice ¶
func (o *VideoSession) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (*VideoSession) HasLocation ¶
func (o *VideoSession) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*VideoSession) HasOs ¶
func (o *VideoSession) HasOs() bool
HasOs returns a boolean if a field has been set.
func (*VideoSession) HasReferrer ¶
func (o *VideoSession) HasReferrer() bool
HasReferrer returns a boolean if a field has been set.
func (*VideoSession) HasSession ¶
func (o *VideoSession) HasSession() bool
HasSession returns a boolean if a field has been set.
func (*VideoSession) SetClient ¶
func (o *VideoSession) SetClient(v VideoSessionClient)
SetClient gets a reference to the given VideoSessionClient and assigns it to the Client field.
func (*VideoSession) SetDevice ¶
func (o *VideoSession) SetDevice(v VideoSessionDevice)
SetDevice gets a reference to the given VideoSessionDevice and assigns it to the Device field.
func (*VideoSession) SetLocation ¶
func (o *VideoSession) SetLocation(v VideoSessionLocation)
SetLocation gets a reference to the given VideoSessionLocation and assigns it to the Location field.
func (*VideoSession) SetOs ¶
func (o *VideoSession) SetOs(v VideoSessionOs)
SetOs gets a reference to the given VideoSessionOs and assigns it to the Os field.
func (*VideoSession) SetReferrer ¶
func (o *VideoSession) SetReferrer(v VideoSessionReferrer)
SetReferrer gets a reference to the given VideoSessionReferrer and assigns it to the Referrer field.
func (*VideoSession) SetSession ¶
func (o *VideoSession) SetSession(v VideoSessionSession)
SetSession gets a reference to the given VideoSessionSession and assigns it to the Session field.
type VideoSessionClient ¶
type VideoSessionClient struct { // The name of the browser used to view the video session. Name *string `json:"name,omitempty"` // The version of the browser used to view the video session. Version *string `json:"version,omitempty"` // The type of client used to view the video session. Type *string `json:"type,omitempty"` }
VideoSessionClient What kind of browser the viewer is using for the video session.
func NewVideoSessionClient ¶
func NewVideoSessionClient() *VideoSessionClient
NewVideoSessionClient instantiates a new VideoSessionClient 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 NewVideoSessionClientWithDefaults ¶
func NewVideoSessionClientWithDefaults() *VideoSessionClient
NewVideoSessionClientWithDefaults instantiates a new VideoSessionClient 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 (*VideoSessionClient) GetName ¶
func (o *VideoSessionClient) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*VideoSessionClient) GetNameOk ¶
func (o *VideoSessionClient) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionClient) GetType ¶
func (o *VideoSessionClient) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*VideoSessionClient) GetTypeOk ¶
func (o *VideoSessionClient) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionClient) GetVersion ¶
func (o *VideoSessionClient) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*VideoSessionClient) GetVersionOk ¶
func (o *VideoSessionClient) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionClient) HasName ¶
func (o *VideoSessionClient) HasName() bool
HasName returns a boolean if a field has been set.
func (*VideoSessionClient) HasType ¶
func (o *VideoSessionClient) HasType() bool
HasType returns a boolean if a field has been set.
func (*VideoSessionClient) HasVersion ¶
func (o *VideoSessionClient) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (*VideoSessionClient) SetName ¶
func (o *VideoSessionClient) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*VideoSessionClient) SetType ¶
func (o *VideoSessionClient) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*VideoSessionClient) SetVersion ¶
func (o *VideoSessionClient) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
type VideoSessionDevice ¶
type VideoSessionDevice struct { // What the type is like desktop, laptop, mobile. Type *string `json:"type,omitempty"` // If known, what the brand of the device is, like Apple, Dell, etc. Vendor *string `json:"vendor,omitempty"` // The specific model of the device, if known. Model *string `json:"model,omitempty"` }
VideoSessionDevice What type of device the user is on when in the video session.
func NewVideoSessionDevice ¶
func NewVideoSessionDevice() *VideoSessionDevice
NewVideoSessionDevice instantiates a new VideoSessionDevice 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 NewVideoSessionDeviceWithDefaults ¶
func NewVideoSessionDeviceWithDefaults() *VideoSessionDevice
NewVideoSessionDeviceWithDefaults instantiates a new VideoSessionDevice 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 (*VideoSessionDevice) GetModel ¶
func (o *VideoSessionDevice) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*VideoSessionDevice) GetModelOk ¶
func (o *VideoSessionDevice) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionDevice) GetType ¶
func (o *VideoSessionDevice) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*VideoSessionDevice) GetTypeOk ¶
func (o *VideoSessionDevice) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionDevice) GetVendor ¶
func (o *VideoSessionDevice) GetVendor() string
GetVendor returns the Vendor field value if set, zero value otherwise.
func (*VideoSessionDevice) GetVendorOk ¶
func (o *VideoSessionDevice) GetVendorOk() (*string, bool)
GetVendorOk returns a tuple with the Vendor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionDevice) HasModel ¶
func (o *VideoSessionDevice) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*VideoSessionDevice) HasType ¶
func (o *VideoSessionDevice) HasType() bool
HasType returns a boolean if a field has been set.
func (*VideoSessionDevice) HasVendor ¶
func (o *VideoSessionDevice) HasVendor() bool
HasVendor returns a boolean if a field has been set.
func (*VideoSessionDevice) SetModel ¶
func (o *VideoSessionDevice) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*VideoSessionDevice) SetType ¶
func (o *VideoSessionDevice) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*VideoSessionDevice) SetVendor ¶
func (o *VideoSessionDevice) SetVendor(v string)
SetVendor gets a reference to the given string and assigns it to the Vendor field.
type VideoSessionLocation ¶
type VideoSessionLocation struct { // The country of the viewer. Country *string `json:"country,omitempty"` // The city of the viewer. City *NullableString `json:"city,omitempty"` }
VideoSessionLocation The location of the viewer.
func NewVideoSessionLocation ¶
func NewVideoSessionLocation() *VideoSessionLocation
NewVideoSessionLocation instantiates a new VideoSessionLocation 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 NewVideoSessionLocationWithDefaults ¶
func NewVideoSessionLocationWithDefaults() *VideoSessionLocation
NewVideoSessionLocationWithDefaults instantiates a new VideoSessionLocation 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 (*VideoSessionLocation) GetCity ¶
func (o *VideoSessionLocation) GetCity() string
GetCity returns the City field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoSessionLocation) GetCityOk ¶
func (o *VideoSessionLocation) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoSessionLocation) GetCountry ¶
func (o *VideoSessionLocation) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*VideoSessionLocation) GetCountryOk ¶
func (o *VideoSessionLocation) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionLocation) HasCity ¶
func (o *VideoSessionLocation) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*VideoSessionLocation) HasCountry ¶
func (o *VideoSessionLocation) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*VideoSessionLocation) SetCity ¶
func (o *VideoSessionLocation) SetCity(v string)
SetCity gets a reference to the given NullableString and assigns it to the City field.
func (*VideoSessionLocation) SetCityNil ¶
func (o *VideoSessionLocation) SetCityNil()
SetCityNil sets the value for City to be an explicit nil
func (*VideoSessionLocation) SetCountry ¶
func (o *VideoSessionLocation) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*VideoSessionLocation) UnsetCity ¶
func (o *VideoSessionLocation) UnsetCity()
UnsetCity ensures that no value is present for City, not even an explicit nil
type VideoSessionOs ¶
type VideoSessionOs struct { // The name of the operating system. Name *string `json:"name,omitempty"` // The nickname for the operating system, often representing the version. Shortname *string `json:"shortname,omitempty"` // The version of the operating system. Version *string `json:"version,omitempty"` }
VideoSessionOs The operating system the viewer is on.
func NewVideoSessionOs ¶
func NewVideoSessionOs() *VideoSessionOs
NewVideoSessionOs instantiates a new VideoSessionOs 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 NewVideoSessionOsWithDefaults ¶
func NewVideoSessionOsWithDefaults() *VideoSessionOs
NewVideoSessionOsWithDefaults instantiates a new VideoSessionOs 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 (*VideoSessionOs) GetName ¶
func (o *VideoSessionOs) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*VideoSessionOs) GetNameOk ¶
func (o *VideoSessionOs) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionOs) GetShortname ¶
func (o *VideoSessionOs) GetShortname() string
GetShortname returns the Shortname field value if set, zero value otherwise.
func (*VideoSessionOs) GetShortnameOk ¶
func (o *VideoSessionOs) GetShortnameOk() (*string, bool)
GetShortnameOk returns a tuple with the Shortname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionOs) GetVersion ¶
func (o *VideoSessionOs) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*VideoSessionOs) GetVersionOk ¶
func (o *VideoSessionOs) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionOs) HasName ¶
func (o *VideoSessionOs) HasName() bool
HasName returns a boolean if a field has been set.
func (*VideoSessionOs) HasShortname ¶
func (o *VideoSessionOs) HasShortname() bool
HasShortname returns a boolean if a field has been set.
func (*VideoSessionOs) HasVersion ¶
func (o *VideoSessionOs) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (*VideoSessionOs) SetName ¶
func (o *VideoSessionOs) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*VideoSessionOs) SetShortname ¶
func (o *VideoSessionOs) SetShortname(v string)
SetShortname gets a reference to the given string and assigns it to the Shortname field.
func (*VideoSessionOs) SetVersion ¶
func (o *VideoSessionOs) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
type VideoSessionReferrer ¶
type VideoSessionReferrer struct { // The link the viewer used to reach the video session. Url *NullableString `json:"url,omitempty"` // How they arrived at the site, for example organic or paid. Organic meaning they found it themselves and paid meaning they followed a link from an advertisement. Medium *string `json:"medium,omitempty"` // The source the referrer came from to the video session. For example if they searched through google to find the stream. Source *string `json:"source,omitempty"` // The search term they typed to arrive at the video session. SearchTerm *string `json:"searchTerm,omitempty"` }
VideoSessionReferrer struct for VideoSessionReferrer
func NewVideoSessionReferrer ¶
func NewVideoSessionReferrer() *VideoSessionReferrer
NewVideoSessionReferrer instantiates a new VideoSessionReferrer 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 NewVideoSessionReferrerWithDefaults ¶
func NewVideoSessionReferrerWithDefaults() *VideoSessionReferrer
NewVideoSessionReferrerWithDefaults instantiates a new VideoSessionReferrer 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 (*VideoSessionReferrer) GetMedium ¶
func (o *VideoSessionReferrer) GetMedium() string
GetMedium returns the Medium field value if set, zero value otherwise.
func (*VideoSessionReferrer) GetMediumOk ¶
func (o *VideoSessionReferrer) GetMediumOk() (*string, bool)
GetMediumOk returns a tuple with the Medium field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionReferrer) GetSearchTerm ¶
func (o *VideoSessionReferrer) GetSearchTerm() string
GetSearchTerm returns the SearchTerm field value if set, zero value otherwise.
func (*VideoSessionReferrer) GetSearchTermOk ¶
func (o *VideoSessionReferrer) GetSearchTermOk() (*string, bool)
GetSearchTermOk returns a tuple with the SearchTerm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionReferrer) GetSource ¶
func (o *VideoSessionReferrer) GetSource() string
GetSource returns the Source field value if set, zero value otherwise.
func (*VideoSessionReferrer) GetSourceOk ¶
func (o *VideoSessionReferrer) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionReferrer) GetUrl ¶
func (o *VideoSessionReferrer) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoSessionReferrer) GetUrlOk ¶
func (o *VideoSessionReferrer) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoSessionReferrer) HasMedium ¶
func (o *VideoSessionReferrer) HasMedium() bool
HasMedium returns a boolean if a field has been set.
func (*VideoSessionReferrer) HasSearchTerm ¶
func (o *VideoSessionReferrer) HasSearchTerm() bool
HasSearchTerm returns a boolean if a field has been set.
func (*VideoSessionReferrer) HasSource ¶
func (o *VideoSessionReferrer) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*VideoSessionReferrer) HasUrl ¶
func (o *VideoSessionReferrer) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*VideoSessionReferrer) SetMedium ¶
func (o *VideoSessionReferrer) SetMedium(v string)
SetMedium gets a reference to the given string and assigns it to the Medium field.
func (*VideoSessionReferrer) SetSearchTerm ¶
func (o *VideoSessionReferrer) SetSearchTerm(v string)
SetSearchTerm gets a reference to the given string and assigns it to the SearchTerm field.
func (*VideoSessionReferrer) SetSource ¶
func (o *VideoSessionReferrer) SetSource(v string)
SetSource gets a reference to the given string and assigns it to the Source field.
func (*VideoSessionReferrer) SetUrl ¶
func (o *VideoSessionReferrer) SetUrl(v string)
SetUrl gets a reference to the given NullableString and assigns it to the Url field.
func (*VideoSessionReferrer) SetUrlNil ¶
func (o *VideoSessionReferrer) SetUrlNil()
SetUrlNil sets the value for Url to be an explicit nil
func (*VideoSessionReferrer) UnsetUrl ¶
func (o *VideoSessionReferrer) UnsetUrl()
UnsetUrl ensures that no value is present for Url, not even an explicit nil
type VideoSessionSession ¶
type VideoSessionSession struct { // The unique identifier for the session that you can use to track what happens during it. SessionId *string `json:"sessionId,omitempty"` // When the video session started, presented in ISO-8601 format. LoadedAt *string `json:"loadedAt,omitempty"` // When the video session ended, presented in ISO-8601 format. EndedAt *string `json:"endedAt,omitempty"` // A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos. Metadata *[]Metadata `json:"metadata,omitempty"` }
VideoSessionSession struct for VideoSessionSession
func NewVideoSessionSession ¶
func NewVideoSessionSession() *VideoSessionSession
NewVideoSessionSession instantiates a new VideoSessionSession 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 NewVideoSessionSessionWithDefaults ¶
func NewVideoSessionSessionWithDefaults() *VideoSessionSession
NewVideoSessionSessionWithDefaults instantiates a new VideoSessionSession 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 (*VideoSessionSession) GetEndedAt ¶
func (o *VideoSessionSession) GetEndedAt() string
GetEndedAt returns the EndedAt field value if set, zero value otherwise.
func (*VideoSessionSession) GetEndedAtOk ¶
func (o *VideoSessionSession) GetEndedAtOk() (*string, bool)
GetEndedAtOk returns a tuple with the EndedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionSession) GetLoadedAt ¶
func (o *VideoSessionSession) GetLoadedAt() string
GetLoadedAt returns the LoadedAt field value if set, zero value otherwise.
func (*VideoSessionSession) GetLoadedAtOk ¶
func (o *VideoSessionSession) GetLoadedAtOk() (*string, bool)
GetLoadedAtOk returns a tuple with the LoadedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionSession) GetMetadata ¶
func (o *VideoSessionSession) GetMetadata() []Metadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*VideoSessionSession) GetMetadataOk ¶
func (o *VideoSessionSession) GetMetadataOk() (*[]Metadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionSession) GetSessionId ¶
func (o *VideoSessionSession) GetSessionId() string
GetSessionId returns the SessionId field value if set, zero value otherwise.
func (*VideoSessionSession) GetSessionIdOk ¶
func (o *VideoSessionSession) GetSessionIdOk() (*string, bool)
GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSessionSession) HasEndedAt ¶
func (o *VideoSessionSession) HasEndedAt() bool
HasEndedAt returns a boolean if a field has been set.
func (*VideoSessionSession) HasLoadedAt ¶
func (o *VideoSessionSession) HasLoadedAt() bool
HasLoadedAt returns a boolean if a field has been set.
func (*VideoSessionSession) HasMetadata ¶
func (o *VideoSessionSession) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*VideoSessionSession) HasSessionId ¶
func (o *VideoSessionSession) HasSessionId() bool
HasSessionId returns a boolean if a field has been set.
func (*VideoSessionSession) SetEndedAt ¶
func (o *VideoSessionSession) SetEndedAt(v string)
SetEndedAt gets a reference to the given string and assigns it to the EndedAt field.
func (*VideoSessionSession) SetLoadedAt ¶
func (o *VideoSessionSession) SetLoadedAt(v string)
SetLoadedAt gets a reference to the given string and assigns it to the LoadedAt field.
func (*VideoSessionSession) SetMetadata ¶
func (o *VideoSessionSession) SetMetadata(v []Metadata)
SetMetadata gets a reference to the given []Metadata and assigns it to the Metadata field.
func (*VideoSessionSession) SetSessionId ¶
func (o *VideoSessionSession) SetSessionId(v string)
SetSessionId gets a reference to the given string and assigns it to the SessionId field.
type VideoSource ¶
type VideoSource struct { // The URL where the video is stored. Uri *string `json:"uri,omitempty"` Type *string `json:"type,omitempty"` LiveStream *VideoSourceLiveStream `json:"liveStream,omitempty"` }
VideoSource Source information about the video.
func NewVideoSource ¶
func NewVideoSource() *VideoSource
NewVideoSource instantiates a new VideoSource 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 NewVideoSourceWithDefaults ¶
func NewVideoSourceWithDefaults() *VideoSource
NewVideoSourceWithDefaults instantiates a new VideoSource 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 (*VideoSource) GetLiveStream ¶
func (o *VideoSource) GetLiveStream() VideoSourceLiveStream
GetLiveStream returns the LiveStream field value if set, zero value otherwise.
func (*VideoSource) GetLiveStreamOk ¶
func (o *VideoSource) GetLiveStreamOk() (*VideoSourceLiveStream, bool)
GetLiveStreamOk returns a tuple with the LiveStream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSource) GetType ¶
func (o *VideoSource) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*VideoSource) GetTypeOk ¶
func (o *VideoSource) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSource) GetUri ¶
func (o *VideoSource) GetUri() string
GetUri returns the Uri field value if set, zero value otherwise.
func (*VideoSource) GetUriOk ¶
func (o *VideoSource) GetUriOk() (*string, bool)
GetUriOk returns a tuple with the Uri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSource) HasLiveStream ¶
func (o *VideoSource) HasLiveStream() bool
HasLiveStream returns a boolean if a field has been set.
func (*VideoSource) HasType ¶
func (o *VideoSource) HasType() bool
HasType returns a boolean if a field has been set.
func (*VideoSource) HasUri ¶
func (o *VideoSource) HasUri() bool
HasUri returns a boolean if a field has been set.
func (*VideoSource) SetLiveStream ¶
func (o *VideoSource) SetLiveStream(v VideoSourceLiveStream)
SetLiveStream gets a reference to the given VideoSourceLiveStream and assigns it to the LiveStream field.
func (*VideoSource) SetType ¶
func (o *VideoSource) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*VideoSource) SetUri ¶
func (o *VideoSource) SetUri(v string)
SetUri gets a reference to the given string and assigns it to the Uri field.
type VideoSourceLiveStream ¶
type VideoSourceLiveStream struct { // The unique identifier for the live stream. LiveStreamId *string `json:"liveStreamId,omitempty"` Links *[]VideoSourceLiveStreamLink `json:"links,omitempty"` }
VideoSourceLiveStream This appears if the video is from a Live Record.
func NewVideoSourceLiveStream ¶
func NewVideoSourceLiveStream() *VideoSourceLiveStream
NewVideoSourceLiveStream instantiates a new VideoSourceLiveStream 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 NewVideoSourceLiveStreamWithDefaults ¶
func NewVideoSourceLiveStreamWithDefaults() *VideoSourceLiveStream
NewVideoSourceLiveStreamWithDefaults instantiates a new VideoSourceLiveStream 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 (*VideoSourceLiveStream) GetLinks ¶
func (o *VideoSourceLiveStream) GetLinks() []VideoSourceLiveStreamLink
GetLinks returns the Links field value if set, zero value otherwise.
func (*VideoSourceLiveStream) GetLinksOk ¶
func (o *VideoSourceLiveStream) GetLinksOk() (*[]VideoSourceLiveStreamLink, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSourceLiveStream) GetLiveStreamId ¶
func (o *VideoSourceLiveStream) GetLiveStreamId() string
GetLiveStreamId returns the LiveStreamId field value if set, zero value otherwise.
func (*VideoSourceLiveStream) GetLiveStreamIdOk ¶
func (o *VideoSourceLiveStream) GetLiveStreamIdOk() (*string, bool)
GetLiveStreamIdOk returns a tuple with the LiveStreamId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSourceLiveStream) HasLinks ¶
func (o *VideoSourceLiveStream) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*VideoSourceLiveStream) HasLiveStreamId ¶
func (o *VideoSourceLiveStream) HasLiveStreamId() bool
HasLiveStreamId returns a boolean if a field has been set.
func (*VideoSourceLiveStream) SetLinks ¶
func (o *VideoSourceLiveStream) SetLinks(v []VideoSourceLiveStreamLink)
SetLinks gets a reference to the given []VideoSourceLiveStreamLink and assigns it to the Links field.
func (*VideoSourceLiveStream) SetLiveStreamId ¶
func (o *VideoSourceLiveStream) SetLiveStreamId(v string)
SetLiveStreamId gets a reference to the given string and assigns it to the LiveStreamId field.
type VideoSourceLiveStreamLink ¶
type VideoSourceLiveStreamLink struct { Rel *string `json:"rel,omitempty"` Uri *string `json:"uri,omitempty"` }
VideoSourceLiveStreamLink struct for VideoSourceLiveStreamLink
func NewVideoSourceLiveStreamLink ¶
func NewVideoSourceLiveStreamLink() *VideoSourceLiveStreamLink
NewVideoSourceLiveStreamLink instantiates a new VideoSourceLiveStreamLink 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 NewVideoSourceLiveStreamLinkWithDefaults ¶
func NewVideoSourceLiveStreamLinkWithDefaults() *VideoSourceLiveStreamLink
NewVideoSourceLiveStreamLinkWithDefaults instantiates a new VideoSourceLiveStreamLink 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 (*VideoSourceLiveStreamLink) GetRel ¶
func (o *VideoSourceLiveStreamLink) GetRel() string
GetRel returns the Rel field value if set, zero value otherwise.
func (*VideoSourceLiveStreamLink) GetRelOk ¶
func (o *VideoSourceLiveStreamLink) GetRelOk() (*string, bool)
GetRelOk returns a tuple with the Rel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSourceLiveStreamLink) GetUri ¶
func (o *VideoSourceLiveStreamLink) GetUri() string
GetUri returns the Uri field value if set, zero value otherwise.
func (*VideoSourceLiveStreamLink) GetUriOk ¶
func (o *VideoSourceLiveStreamLink) GetUriOk() (*string, bool)
GetUriOk returns a tuple with the Uri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoSourceLiveStreamLink) HasRel ¶
func (o *VideoSourceLiveStreamLink) HasRel() bool
HasRel returns a boolean if a field has been set.
func (*VideoSourceLiveStreamLink) HasUri ¶
func (o *VideoSourceLiveStreamLink) HasUri() bool
HasUri returns a boolean if a field has been set.
func (*VideoSourceLiveStreamLink) SetRel ¶
func (o *VideoSourceLiveStreamLink) SetRel(v string)
SetRel gets a reference to the given string and assigns it to the Rel field.
func (*VideoSourceLiveStreamLink) SetUri ¶
func (o *VideoSourceLiveStreamLink) SetUri(v string)
SetUri gets a reference to the given string and assigns it to the Uri field.
type VideoStatus ¶
type VideoStatus struct { Ingest *VideoStatusIngest `json:"ingest,omitempty"` Encoding *VideoStatusEncoding `json:"encoding,omitempty"` }
VideoStatus struct for VideoStatus
func NewVideoStatus ¶
func NewVideoStatus() *VideoStatus
NewVideoStatus instantiates a new VideoStatus 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 NewVideoStatusWithDefaults ¶
func NewVideoStatusWithDefaults() *VideoStatus
NewVideoStatusWithDefaults instantiates a new VideoStatus 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 (*VideoStatus) GetEncoding ¶
func (o *VideoStatus) GetEncoding() VideoStatusEncoding
GetEncoding returns the Encoding field value if set, zero value otherwise.
func (*VideoStatus) GetEncodingOk ¶
func (o *VideoStatus) GetEncodingOk() (*VideoStatusEncoding, bool)
GetEncodingOk returns a tuple with the Encoding field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoStatus) GetIngest ¶
func (o *VideoStatus) GetIngest() VideoStatusIngest
GetIngest returns the Ingest field value if set, zero value otherwise.
func (*VideoStatus) GetIngestOk ¶
func (o *VideoStatus) GetIngestOk() (*VideoStatusIngest, bool)
GetIngestOk returns a tuple with the Ingest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoStatus) HasEncoding ¶
func (o *VideoStatus) HasEncoding() bool
HasEncoding returns a boolean if a field has been set.
func (*VideoStatus) HasIngest ¶
func (o *VideoStatus) HasIngest() bool
HasIngest returns a boolean if a field has been set.
func (*VideoStatus) SetEncoding ¶
func (o *VideoStatus) SetEncoding(v VideoStatusEncoding)
SetEncoding gets a reference to the given VideoStatusEncoding and assigns it to the Encoding field.
func (*VideoStatus) SetIngest ¶
func (o *VideoStatus) SetIngest(v VideoStatusIngest)
SetIngest gets a reference to the given VideoStatusIngest and assigns it to the Ingest field.
type VideoStatusEncoding ¶
type VideoStatusEncoding struct { // Whether the video is playable or not. Playable *bool `json:"playable,omitempty"` // Available qualities the video can be viewed in. Qualities *[]Quality `json:"qualities,omitempty"` Metadata *VideoStatusEncodingMetadata `json:"metadata,omitempty"` }
VideoStatusEncoding struct for VideoStatusEncoding
func NewVideoStatusEncoding ¶
func NewVideoStatusEncoding() *VideoStatusEncoding
NewVideoStatusEncoding instantiates a new VideoStatusEncoding 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 NewVideoStatusEncodingWithDefaults ¶
func NewVideoStatusEncodingWithDefaults() *VideoStatusEncoding
NewVideoStatusEncodingWithDefaults instantiates a new VideoStatusEncoding 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 (*VideoStatusEncoding) GetMetadata ¶
func (o *VideoStatusEncoding) GetMetadata() VideoStatusEncodingMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*VideoStatusEncoding) GetMetadataOk ¶
func (o *VideoStatusEncoding) GetMetadataOk() (*VideoStatusEncodingMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoStatusEncoding) GetPlayable ¶
func (o *VideoStatusEncoding) GetPlayable() bool
GetPlayable returns the Playable field value if set, zero value otherwise.
func (*VideoStatusEncoding) GetPlayableOk ¶
func (o *VideoStatusEncoding) GetPlayableOk() (*bool, bool)
GetPlayableOk returns a tuple with the Playable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoStatusEncoding) GetQualities ¶
func (o *VideoStatusEncoding) GetQualities() []Quality
GetQualities returns the Qualities field value if set, zero value otherwise.
func (*VideoStatusEncoding) GetQualitiesOk ¶
func (o *VideoStatusEncoding) GetQualitiesOk() (*[]Quality, bool)
GetQualitiesOk returns a tuple with the Qualities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoStatusEncoding) HasMetadata ¶
func (o *VideoStatusEncoding) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*VideoStatusEncoding) HasPlayable ¶
func (o *VideoStatusEncoding) HasPlayable() bool
HasPlayable returns a boolean if a field has been set.
func (*VideoStatusEncoding) HasQualities ¶
func (o *VideoStatusEncoding) HasQualities() bool
HasQualities returns a boolean if a field has been set.
func (*VideoStatusEncoding) SetMetadata ¶
func (o *VideoStatusEncoding) SetMetadata(v VideoStatusEncodingMetadata)
SetMetadata gets a reference to the given VideoStatusEncodingMetadata and assigns it to the Metadata field.
func (*VideoStatusEncoding) SetPlayable ¶
func (o *VideoStatusEncoding) SetPlayable(v bool)
SetPlayable gets a reference to the given bool and assigns it to the Playable field.
func (*VideoStatusEncoding) SetQualities ¶
func (o *VideoStatusEncoding) SetQualities(v []Quality)
SetQualities gets a reference to the given []Quality and assigns it to the Qualities field.
type VideoStatusEncodingMetadata ¶
type VideoStatusEncodingMetadata struct { // The width of the video in pixels. Width *NullableInt32 `json:"width,omitempty"` // The height of the video in pixels. Height *NullableInt32 `json:"height,omitempty"` // The number of bits processed per second. Bitrate *NullableFloat32 `json:"bitrate,omitempty"` // The length of the video. Duration *NullableInt32 `json:"duration,omitempty"` // The frequency with which consecutive images or frames appear on a display. Shown in this API as frames per second (fps). Framerate *NullableInt32 `json:"framerate,omitempty"` // How many samples per second a digital audio system uses to record an audio signal. The higher the rate, the higher the frequencies that can be recorded. They are presented in this API using hertz. Samplerate *NullableInt32 `json:"samplerate,omitempty"` // The method used to compress and decompress digital video. API Video supports all codecs in the libavcodec library. VideoCodec *NullableString `json:"videoCodec,omitempty"` // The method used to compress and decompress digital audio for your video. AudioCodec *NullableString `json:"audioCodec,omitempty"` AspectRatio *NullableString `json:"aspectRatio,omitempty"` }
VideoStatusEncodingMetadata struct for VideoStatusEncodingMetadata
func NewVideoStatusEncodingMetadata ¶
func NewVideoStatusEncodingMetadata() *VideoStatusEncodingMetadata
NewVideoStatusEncodingMetadata instantiates a new VideoStatusEncodingMetadata 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 NewVideoStatusEncodingMetadataWithDefaults ¶
func NewVideoStatusEncodingMetadataWithDefaults() *VideoStatusEncodingMetadata
NewVideoStatusEncodingMetadataWithDefaults instantiates a new VideoStatusEncodingMetadata 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 (*VideoStatusEncodingMetadata) GetAspectRatio ¶
func (o *VideoStatusEncodingMetadata) GetAspectRatio() string
GetAspectRatio returns the AspectRatio field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoStatusEncodingMetadata) GetAspectRatioOk ¶
func (o *VideoStatusEncodingMetadata) GetAspectRatioOk() (*string, bool)
GetAspectRatioOk returns a tuple with the AspectRatio field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoStatusEncodingMetadata) GetAudioCodec ¶
func (o *VideoStatusEncodingMetadata) GetAudioCodec() string
GetAudioCodec returns the AudioCodec field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoStatusEncodingMetadata) GetAudioCodecOk ¶
func (o *VideoStatusEncodingMetadata) GetAudioCodecOk() (*string, bool)
GetAudioCodecOk returns a tuple with the AudioCodec field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoStatusEncodingMetadata) GetBitrate ¶
func (o *VideoStatusEncodingMetadata) GetBitrate() float32
GetBitrate returns the Bitrate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoStatusEncodingMetadata) GetBitrateOk ¶
func (o *VideoStatusEncodingMetadata) GetBitrateOk() (*float32, bool)
GetBitrateOk returns a tuple with the Bitrate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoStatusEncodingMetadata) GetDuration ¶
func (o *VideoStatusEncodingMetadata) GetDuration() int32
GetDuration returns the Duration field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoStatusEncodingMetadata) GetDurationOk ¶
func (o *VideoStatusEncodingMetadata) GetDurationOk() (*int32, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoStatusEncodingMetadata) GetFramerate ¶
func (o *VideoStatusEncodingMetadata) GetFramerate() int32
GetFramerate returns the Framerate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoStatusEncodingMetadata) GetFramerateOk ¶
func (o *VideoStatusEncodingMetadata) GetFramerateOk() (*int32, bool)
GetFramerateOk returns a tuple with the Framerate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoStatusEncodingMetadata) GetHeight ¶
func (o *VideoStatusEncodingMetadata) GetHeight() int32
GetHeight returns the Height field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoStatusEncodingMetadata) GetHeightOk ¶
func (o *VideoStatusEncodingMetadata) GetHeightOk() (*int32, bool)
GetHeightOk returns a tuple with the Height field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoStatusEncodingMetadata) GetSamplerate ¶
func (o *VideoStatusEncodingMetadata) GetSamplerate() int32
GetSamplerate returns the Samplerate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoStatusEncodingMetadata) GetSamplerateOk ¶
func (o *VideoStatusEncodingMetadata) GetSamplerateOk() (*int32, bool)
GetSamplerateOk returns a tuple with the Samplerate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoStatusEncodingMetadata) GetVideoCodec ¶
func (o *VideoStatusEncodingMetadata) GetVideoCodec() string
GetVideoCodec returns the VideoCodec field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoStatusEncodingMetadata) GetVideoCodecOk ¶
func (o *VideoStatusEncodingMetadata) GetVideoCodecOk() (*string, bool)
GetVideoCodecOk returns a tuple with the VideoCodec field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoStatusEncodingMetadata) GetWidth ¶
func (o *VideoStatusEncodingMetadata) GetWidth() int32
GetWidth returns the Width field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoStatusEncodingMetadata) GetWidthOk ¶
func (o *VideoStatusEncodingMetadata) GetWidthOk() (*int32, bool)
GetWidthOk returns a tuple with the Width field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoStatusEncodingMetadata) HasAspectRatio ¶
func (o *VideoStatusEncodingMetadata) HasAspectRatio() bool
HasAspectRatio returns a boolean if a field has been set.
func (*VideoStatusEncodingMetadata) HasAudioCodec ¶
func (o *VideoStatusEncodingMetadata) HasAudioCodec() bool
HasAudioCodec returns a boolean if a field has been set.
func (*VideoStatusEncodingMetadata) HasBitrate ¶
func (o *VideoStatusEncodingMetadata) HasBitrate() bool
HasBitrate returns a boolean if a field has been set.
func (*VideoStatusEncodingMetadata) HasDuration ¶
func (o *VideoStatusEncodingMetadata) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (*VideoStatusEncodingMetadata) HasFramerate ¶
func (o *VideoStatusEncodingMetadata) HasFramerate() bool
HasFramerate returns a boolean if a field has been set.
func (*VideoStatusEncodingMetadata) HasHeight ¶
func (o *VideoStatusEncodingMetadata) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*VideoStatusEncodingMetadata) HasSamplerate ¶
func (o *VideoStatusEncodingMetadata) HasSamplerate() bool
HasSamplerate returns a boolean if a field has been set.
func (*VideoStatusEncodingMetadata) HasVideoCodec ¶
func (o *VideoStatusEncodingMetadata) HasVideoCodec() bool
HasVideoCodec returns a boolean if a field has been set.
func (*VideoStatusEncodingMetadata) HasWidth ¶
func (o *VideoStatusEncodingMetadata) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*VideoStatusEncodingMetadata) SetAspectRatio ¶
func (o *VideoStatusEncodingMetadata) SetAspectRatio(v string)
SetAspectRatio gets a reference to the given NullableString and assigns it to the AspectRatio field.
func (*VideoStatusEncodingMetadata) SetAspectRatioNil ¶ added in v1.2.3
func (o *VideoStatusEncodingMetadata) SetAspectRatioNil()
SetAspectRatioNil sets the value for AspectRatio to be an explicit nil
func (*VideoStatusEncodingMetadata) SetAudioCodec ¶
func (o *VideoStatusEncodingMetadata) SetAudioCodec(v string)
SetAudioCodec gets a reference to the given NullableString and assigns it to the AudioCodec field.
func (*VideoStatusEncodingMetadata) SetAudioCodecNil ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) SetAudioCodecNil()
SetAudioCodecNil sets the value for AudioCodec to be an explicit nil
func (*VideoStatusEncodingMetadata) SetBitrate ¶
func (o *VideoStatusEncodingMetadata) SetBitrate(v float32)
SetBitrate gets a reference to the given NullableFloat32 and assigns it to the Bitrate field.
func (*VideoStatusEncodingMetadata) SetBitrateNil ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) SetBitrateNil()
SetBitrateNil sets the value for Bitrate to be an explicit nil
func (*VideoStatusEncodingMetadata) SetDuration ¶
func (o *VideoStatusEncodingMetadata) SetDuration(v int32)
SetDuration gets a reference to the given NullableInt32 and assigns it to the Duration field.
func (*VideoStatusEncodingMetadata) SetDurationNil ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) SetDurationNil()
SetDurationNil sets the value for Duration to be an explicit nil
func (*VideoStatusEncodingMetadata) SetFramerate ¶
func (o *VideoStatusEncodingMetadata) SetFramerate(v int32)
SetFramerate gets a reference to the given NullableInt32 and assigns it to the Framerate field.
func (*VideoStatusEncodingMetadata) SetFramerateNil ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) SetFramerateNil()
SetFramerateNil sets the value for Framerate to be an explicit nil
func (*VideoStatusEncodingMetadata) SetHeight ¶
func (o *VideoStatusEncodingMetadata) SetHeight(v int32)
SetHeight gets a reference to the given NullableInt32 and assigns it to the Height field.
func (*VideoStatusEncodingMetadata) SetHeightNil ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) SetHeightNil()
SetHeightNil sets the value for Height to be an explicit nil
func (*VideoStatusEncodingMetadata) SetSamplerate ¶
func (o *VideoStatusEncodingMetadata) SetSamplerate(v int32)
SetSamplerate gets a reference to the given NullableInt32 and assigns it to the Samplerate field.
func (*VideoStatusEncodingMetadata) SetSamplerateNil ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) SetSamplerateNil()
SetSamplerateNil sets the value for Samplerate to be an explicit nil
func (*VideoStatusEncodingMetadata) SetVideoCodec ¶
func (o *VideoStatusEncodingMetadata) SetVideoCodec(v string)
SetVideoCodec gets a reference to the given NullableString and assigns it to the VideoCodec field.
func (*VideoStatusEncodingMetadata) SetVideoCodecNil ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) SetVideoCodecNil()
SetVideoCodecNil sets the value for VideoCodec to be an explicit nil
func (*VideoStatusEncodingMetadata) SetWidth ¶
func (o *VideoStatusEncodingMetadata) SetWidth(v int32)
SetWidth gets a reference to the given NullableInt32 and assigns it to the Width field.
func (*VideoStatusEncodingMetadata) SetWidthNil ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) SetWidthNil()
SetWidthNil sets the value for Width to be an explicit nil
func (*VideoStatusEncodingMetadata) UnsetAspectRatio ¶ added in v1.2.3
func (o *VideoStatusEncodingMetadata) UnsetAspectRatio()
UnsetAspectRatio ensures that no value is present for AspectRatio, not even an explicit nil
func (*VideoStatusEncodingMetadata) UnsetAudioCodec ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) UnsetAudioCodec()
UnsetAudioCodec ensures that no value is present for AudioCodec, not even an explicit nil
func (*VideoStatusEncodingMetadata) UnsetBitrate ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) UnsetBitrate()
UnsetBitrate ensures that no value is present for Bitrate, not even an explicit nil
func (*VideoStatusEncodingMetadata) UnsetDuration ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) UnsetDuration()
UnsetDuration ensures that no value is present for Duration, not even an explicit nil
func (*VideoStatusEncodingMetadata) UnsetFramerate ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) UnsetFramerate()
UnsetFramerate ensures that no value is present for Framerate, not even an explicit nil
func (*VideoStatusEncodingMetadata) UnsetHeight ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) UnsetHeight()
UnsetHeight ensures that no value is present for Height, not even an explicit nil
func (*VideoStatusEncodingMetadata) UnsetSamplerate ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) UnsetSamplerate()
UnsetSamplerate ensures that no value is present for Samplerate, not even an explicit nil
func (*VideoStatusEncodingMetadata) UnsetVideoCodec ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) UnsetVideoCodec()
UnsetVideoCodec ensures that no value is present for VideoCodec, not even an explicit nil
func (*VideoStatusEncodingMetadata) UnsetWidth ¶ added in v1.2.4
func (o *VideoStatusEncodingMetadata) UnsetWidth()
UnsetWidth ensures that no value is present for Width, not even an explicit nil
type VideoStatusIngest ¶
type VideoStatusIngest struct { // There are four possible statuses depending on how you provide a video file: - `uploading` - the API is gathering the video source file from an upload. - `uploaded` - the video file is fully uploaded. - `ingesting` - the API is gathering the video source file from either a URL, or from cloning. - `ingested` - the video file is fully stored. Status *string `json:"status,omitempty"` // The size of your file in bytes. Filesize *NullableInt32 `json:"filesize,omitempty"` // The total number of bytes received, listed for each chunk of the upload. ReceivedBytes *[]BytesRange `json:"receivedBytes,omitempty"` ReceivedParts *VideoStatusIngestReceivedParts `json:"receivedParts,omitempty"` }
VideoStatusIngest Details about the capturing, transferring, and storing of your video for use immediately or in the future.
func NewVideoStatusIngest ¶
func NewVideoStatusIngest() *VideoStatusIngest
NewVideoStatusIngest instantiates a new VideoStatusIngest 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 NewVideoStatusIngestWithDefaults ¶
func NewVideoStatusIngestWithDefaults() *VideoStatusIngest
NewVideoStatusIngestWithDefaults instantiates a new VideoStatusIngest 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 (*VideoStatusIngest) GetFilesize ¶
func (o *VideoStatusIngest) GetFilesize() int32
GetFilesize returns the Filesize field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoStatusIngest) GetFilesizeOk ¶
func (o *VideoStatusIngest) GetFilesizeOk() (*int32, bool)
GetFilesizeOk returns a tuple with the Filesize field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoStatusIngest) GetReceivedBytes ¶
func (o *VideoStatusIngest) GetReceivedBytes() []BytesRange
GetReceivedBytes returns the ReceivedBytes field value if set, zero value otherwise.
func (*VideoStatusIngest) GetReceivedBytesOk ¶
func (o *VideoStatusIngest) GetReceivedBytesOk() (*[]BytesRange, bool)
GetReceivedBytesOk returns a tuple with the ReceivedBytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoStatusIngest) GetReceivedParts ¶ added in v1.2.3
func (o *VideoStatusIngest) GetReceivedParts() VideoStatusIngestReceivedParts
GetReceivedParts returns the ReceivedParts field value if set, zero value otherwise.
func (*VideoStatusIngest) GetReceivedPartsOk ¶ added in v1.2.3
func (o *VideoStatusIngest) GetReceivedPartsOk() (*VideoStatusIngestReceivedParts, bool)
GetReceivedPartsOk returns a tuple with the ReceivedParts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoStatusIngest) GetStatus ¶
func (o *VideoStatusIngest) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*VideoStatusIngest) GetStatusOk ¶
func (o *VideoStatusIngest) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoStatusIngest) HasFilesize ¶
func (o *VideoStatusIngest) HasFilesize() bool
HasFilesize returns a boolean if a field has been set.
func (*VideoStatusIngest) HasReceivedBytes ¶
func (o *VideoStatusIngest) HasReceivedBytes() bool
HasReceivedBytes returns a boolean if a field has been set.
func (*VideoStatusIngest) HasReceivedParts ¶ added in v1.2.3
func (o *VideoStatusIngest) HasReceivedParts() bool
HasReceivedParts returns a boolean if a field has been set.
func (*VideoStatusIngest) HasStatus ¶
func (o *VideoStatusIngest) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*VideoStatusIngest) SetFilesize ¶
func (o *VideoStatusIngest) SetFilesize(v int32)
SetFilesize gets a reference to the given NullableInt32 and assigns it to the Filesize field.
func (*VideoStatusIngest) SetFilesizeNil ¶ added in v1.2.4
func (o *VideoStatusIngest) SetFilesizeNil()
SetFilesizeNil sets the value for Filesize to be an explicit nil
func (*VideoStatusIngest) SetReceivedBytes ¶
func (o *VideoStatusIngest) SetReceivedBytes(v []BytesRange)
SetReceivedBytes gets a reference to the given []BytesRange and assigns it to the ReceivedBytes field.
func (*VideoStatusIngest) SetReceivedParts ¶ added in v1.2.3
func (o *VideoStatusIngest) SetReceivedParts(v VideoStatusIngestReceivedParts)
SetReceivedParts gets a reference to the given VideoStatusIngestReceivedParts and assigns it to the ReceivedParts field.
func (*VideoStatusIngest) SetStatus ¶
func (o *VideoStatusIngest) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*VideoStatusIngest) UnsetFilesize ¶ added in v1.2.4
func (o *VideoStatusIngest) UnsetFilesize()
UnsetFilesize ensures that no value is present for Filesize, not even an explicit nil
type VideoStatusIngestReceivedParts ¶ added in v1.2.3
type VideoStatusIngestReceivedParts struct { // The parts that have been uploaded, ordered. For example, if part 2 was sent before part 1, and both have been uploaded, the output will be [1, 2]. Parts *[]int32 `json:"parts,omitempty"` // Contains the number of expected parts. The total will be listed as \"null\" until the total number of parts is known. Total *NullableInt32 `json:"total,omitempty"` }
VideoStatusIngestReceivedParts struct for VideoStatusIngestReceivedParts
func NewVideoStatusIngestReceivedParts ¶ added in v1.2.3
func NewVideoStatusIngestReceivedParts() *VideoStatusIngestReceivedParts
NewVideoStatusIngestReceivedParts instantiates a new VideoStatusIngestReceivedParts 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 NewVideoStatusIngestReceivedPartsWithDefaults ¶ added in v1.2.3
func NewVideoStatusIngestReceivedPartsWithDefaults() *VideoStatusIngestReceivedParts
NewVideoStatusIngestReceivedPartsWithDefaults instantiates a new VideoStatusIngestReceivedParts 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 (*VideoStatusIngestReceivedParts) GetParts ¶ added in v1.2.3
func (o *VideoStatusIngestReceivedParts) GetParts() []int32
GetParts returns the Parts field value if set, zero value otherwise.
func (*VideoStatusIngestReceivedParts) GetPartsOk ¶ added in v1.2.3
func (o *VideoStatusIngestReceivedParts) GetPartsOk() (*[]int32, bool)
GetPartsOk returns a tuple with the Parts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoStatusIngestReceivedParts) GetTotal ¶ added in v1.2.3
func (o *VideoStatusIngestReceivedParts) GetTotal() int32
GetTotal returns the Total field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoStatusIngestReceivedParts) GetTotalOk ¶ added in v1.2.3
func (o *VideoStatusIngestReceivedParts) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoStatusIngestReceivedParts) HasParts ¶ added in v1.2.3
func (o *VideoStatusIngestReceivedParts) HasParts() bool
HasParts returns a boolean if a field has been set.
func (*VideoStatusIngestReceivedParts) HasTotal ¶ added in v1.2.3
func (o *VideoStatusIngestReceivedParts) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (*VideoStatusIngestReceivedParts) SetParts ¶ added in v1.2.3
func (o *VideoStatusIngestReceivedParts) SetParts(v []int32)
SetParts gets a reference to the given []int32 and assigns it to the Parts field.
func (*VideoStatusIngestReceivedParts) SetTotal ¶ added in v1.2.3
func (o *VideoStatusIngestReceivedParts) SetTotal(v int32)
SetTotal gets a reference to the given NullableInt32 and assigns it to the Total field.
func (*VideoStatusIngestReceivedParts) SetTotalNil ¶ added in v1.2.3
func (o *VideoStatusIngestReceivedParts) SetTotalNil()
SetTotalNil sets the value for Total to be an explicit nil
func (*VideoStatusIngestReceivedParts) UnsetTotal ¶ added in v1.2.3
func (o *VideoStatusIngestReceivedParts) UnsetTotal()
UnsetTotal ensures that no value is present for Total, not even an explicit nil
type VideoThumbnailPickPayload ¶
type VideoThumbnailPickPayload struct { // Frame in video to be used as a placeholder before the video plays. Example: '\"00:01:00.000\" for 1 minute into the video.' Valid Patterns: \"hh:mm:ss.ms\" \"hh:mm:ss:frameNumber\" \"124\" (integer value is reported as seconds) If selection is out of range, \"00:00:00.00\" will be chosen. Timecode string `json:"timecode"` }
VideoThumbnailPickPayload struct for VideoThumbnailPickPayload
func NewVideoThumbnailPickPayload ¶
func NewVideoThumbnailPickPayload(timecode string) *VideoThumbnailPickPayload
NewVideoThumbnailPickPayload instantiates a new VideoThumbnailPickPayload 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 NewVideoThumbnailPickPayloadWithDefaults ¶
func NewVideoThumbnailPickPayloadWithDefaults() *VideoThumbnailPickPayload
NewVideoThumbnailPickPayloadWithDefaults instantiates a new VideoThumbnailPickPayload 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 (*VideoThumbnailPickPayload) GetTimecode ¶
func (o *VideoThumbnailPickPayload) GetTimecode() string
GetTimecode returns the Timecode field value
func (*VideoThumbnailPickPayload) GetTimecodeOk ¶
func (o *VideoThumbnailPickPayload) GetTimecodeOk() (*string, bool)
GetTimecodeOk returns a tuple with the Timecode field value and a boolean to check if the value has been set.
func (*VideoThumbnailPickPayload) SetTimecode ¶
func (o *VideoThumbnailPickPayload) SetTimecode(v string)
SetTimecode sets field value
type VideoUpdatePayload ¶
type VideoUpdatePayload struct { // The unique ID for the player you want to associate with your video. PlayerId *NullableString `json:"playerId,omitempty"` // The title you want to use for your video. Title *string `json:"title,omitempty"` // A brief description of the video. Description *string `json:"description,omitempty"` // Whether the video is publicly available or not. False means it is set to private. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos/). Public *bool `json:"public,omitempty"` // Whether the video is a 360 degree or immersive video. Panoramic *bool `json:"panoramic,omitempty"` // Whether the player supports the mp4 format. Mp4Support *bool `json:"mp4Support,omitempty"` // A list of terms or words you want to tag the video with. Make sure the list includes all the tags you want as whatever you send in this list will overwrite the existing list for the video. Tags *[]string `json:"tags,omitempty"` // A list (array) of dictionaries where each dictionary contains a key value pair that describes the video. As with tags, you must send the complete list of metadata you want as whatever you send here will overwrite the existing metadata for the video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata/) allows you to define a key that allows any value pair. Metadata *[]Metadata `json:"metadata,omitempty"` }
VideoUpdatePayload struct for VideoUpdatePayload
func NewVideoUpdatePayload ¶
func NewVideoUpdatePayload() *VideoUpdatePayload
NewVideoUpdatePayload instantiates a new VideoUpdatePayload 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 NewVideoUpdatePayloadWithDefaults ¶
func NewVideoUpdatePayloadWithDefaults() *VideoUpdatePayload
NewVideoUpdatePayloadWithDefaults instantiates a new VideoUpdatePayload 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 (*VideoUpdatePayload) GetDescription ¶
func (o *VideoUpdatePayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*VideoUpdatePayload) GetDescriptionOk ¶
func (o *VideoUpdatePayload) 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 (*VideoUpdatePayload) GetMetadata ¶
func (o *VideoUpdatePayload) GetMetadata() []Metadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*VideoUpdatePayload) GetMetadataOk ¶
func (o *VideoUpdatePayload) GetMetadataOk() (*[]Metadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoUpdatePayload) GetMp4Support ¶
func (o *VideoUpdatePayload) GetMp4Support() bool
GetMp4Support returns the Mp4Support field value if set, zero value otherwise.
func (*VideoUpdatePayload) GetMp4SupportOk ¶
func (o *VideoUpdatePayload) GetMp4SupportOk() (*bool, bool)
GetMp4SupportOk returns a tuple with the Mp4Support field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoUpdatePayload) GetPanoramic ¶
func (o *VideoUpdatePayload) GetPanoramic() bool
GetPanoramic returns the Panoramic field value if set, zero value otherwise.
func (*VideoUpdatePayload) GetPanoramicOk ¶
func (o *VideoUpdatePayload) GetPanoramicOk() (*bool, bool)
GetPanoramicOk returns a tuple with the Panoramic field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoUpdatePayload) GetPlayerId ¶
func (o *VideoUpdatePayload) GetPlayerId() string
GetPlayerId returns the PlayerId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VideoUpdatePayload) GetPlayerIdOk ¶
func (o *VideoUpdatePayload) GetPlayerIdOk() (*string, bool)
GetPlayerIdOk returns a tuple with the PlayerId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VideoUpdatePayload) GetPublic ¶
func (o *VideoUpdatePayload) GetPublic() bool
GetPublic returns the Public field value if set, zero value otherwise.
func (*VideoUpdatePayload) GetPublicOk ¶
func (o *VideoUpdatePayload) GetPublicOk() (*bool, bool)
GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoUpdatePayload) GetTags ¶
func (o *VideoUpdatePayload) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*VideoUpdatePayload) GetTagsOk ¶
func (o *VideoUpdatePayload) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoUpdatePayload) GetTitle ¶
func (o *VideoUpdatePayload) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*VideoUpdatePayload) GetTitleOk ¶
func (o *VideoUpdatePayload) 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 (*VideoUpdatePayload) HasDescription ¶
func (o *VideoUpdatePayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*VideoUpdatePayload) HasMetadata ¶
func (o *VideoUpdatePayload) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*VideoUpdatePayload) HasMp4Support ¶
func (o *VideoUpdatePayload) HasMp4Support() bool
HasMp4Support returns a boolean if a field has been set.
func (*VideoUpdatePayload) HasPanoramic ¶
func (o *VideoUpdatePayload) HasPanoramic() bool
HasPanoramic returns a boolean if a field has been set.
func (*VideoUpdatePayload) HasPlayerId ¶
func (o *VideoUpdatePayload) HasPlayerId() bool
HasPlayerId returns a boolean if a field has been set.
func (*VideoUpdatePayload) HasPublic ¶
func (o *VideoUpdatePayload) HasPublic() bool
HasPublic returns a boolean if a field has been set.
func (*VideoUpdatePayload) HasTags ¶
func (o *VideoUpdatePayload) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*VideoUpdatePayload) HasTitle ¶
func (o *VideoUpdatePayload) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*VideoUpdatePayload) SetDescription ¶
func (o *VideoUpdatePayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*VideoUpdatePayload) SetMetadata ¶
func (o *VideoUpdatePayload) SetMetadata(v []Metadata)
SetMetadata gets a reference to the given []Metadata and assigns it to the Metadata field.
func (*VideoUpdatePayload) SetMp4Support ¶
func (o *VideoUpdatePayload) SetMp4Support(v bool)
SetMp4Support gets a reference to the given bool and assigns it to the Mp4Support field.
func (*VideoUpdatePayload) SetPanoramic ¶
func (o *VideoUpdatePayload) SetPanoramic(v bool)
SetPanoramic gets a reference to the given bool and assigns it to the Panoramic field.
func (*VideoUpdatePayload) SetPlayerId ¶
func (o *VideoUpdatePayload) SetPlayerId(v string)
SetPlayerId gets a reference to the given NullableString and assigns it to the PlayerId field.
func (*VideoUpdatePayload) SetPlayerIdNil ¶ added in v1.2.0
func (o *VideoUpdatePayload) SetPlayerIdNil()
SetPlayerIdNil sets the value for PlayerId to be an explicit nil
func (*VideoUpdatePayload) SetPublic ¶
func (o *VideoUpdatePayload) SetPublic(v bool)
SetPublic gets a reference to the given bool and assigns it to the Public field.
func (*VideoUpdatePayload) SetTags ¶
func (o *VideoUpdatePayload) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*VideoUpdatePayload) SetTitle ¶
func (o *VideoUpdatePayload) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*VideoUpdatePayload) UnsetPlayerId ¶ added in v1.2.0
func (o *VideoUpdatePayload) UnsetPlayerId()
UnsetPlayerId ensures that no value is present for PlayerId, not even an explicit nil
type VideoWatermark ¶ added in v1.2.0
type VideoWatermark struct { // id of the watermark Id *string `json:"id,omitempty"` // Distance expressed in px or % between the top-border of the video and the watermark-image. Top *string `json:"top,omitempty"` // Distance expressed in px or % between the left-border of the video and the watermark-image. Left *string `json:"left,omitempty"` // Distance expressed in px or % between the bottom-border of the video and the watermark-image. Bottom *string `json:"bottom,omitempty"` // Distance expressed in px or % between the right-border of the video and the watermark-image. Right *string `json:"right,omitempty"` // Width of the watermark-image relative to the video if expressed in %. Otherwise a fixed width. NOTE: To keep intrinsic watermark-image width use `initial`. Width *string `json:"width,omitempty"` // Height of the watermark-image relative to the video if expressed in %. Otherwise a fixed height. NOTE: To keep intrinsic watermark-image height use `initial`. Height *string `json:"height,omitempty"` // Opacity expressed in % only to specify the degree of the watermark-image transparency with the video. Opacity *string `json:"opacity,omitempty"` }
VideoWatermark struct for VideoWatermark
func NewVideoWatermark ¶ added in v1.2.0
func NewVideoWatermark() *VideoWatermark
NewVideoWatermark instantiates a new VideoWatermark 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 NewVideoWatermarkWithDefaults ¶ added in v1.2.0
func NewVideoWatermarkWithDefaults() *VideoWatermark
NewVideoWatermarkWithDefaults instantiates a new VideoWatermark 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 (*VideoWatermark) GetBottom ¶ added in v1.2.0
func (o *VideoWatermark) GetBottom() string
GetBottom returns the Bottom field value if set, zero value otherwise.
func (*VideoWatermark) GetBottomOk ¶ added in v1.2.0
func (o *VideoWatermark) GetBottomOk() (*string, bool)
GetBottomOk returns a tuple with the Bottom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoWatermark) GetHeight ¶ added in v1.2.0
func (o *VideoWatermark) GetHeight() string
GetHeight returns the Height field value if set, zero value otherwise.
func (*VideoWatermark) GetHeightOk ¶ added in v1.2.0
func (o *VideoWatermark) GetHeightOk() (*string, bool)
GetHeightOk returns a tuple with the Height field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoWatermark) GetId ¶ added in v1.2.0
func (o *VideoWatermark) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*VideoWatermark) GetIdOk ¶ added in v1.2.0
func (o *VideoWatermark) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoWatermark) GetLeft ¶ added in v1.2.0
func (o *VideoWatermark) GetLeft() string
GetLeft returns the Left field value if set, zero value otherwise.
func (*VideoWatermark) GetLeftOk ¶ added in v1.2.0
func (o *VideoWatermark) GetLeftOk() (*string, bool)
GetLeftOk returns a tuple with the Left field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoWatermark) GetOpacity ¶ added in v1.2.0
func (o *VideoWatermark) GetOpacity() string
GetOpacity returns the Opacity field value if set, zero value otherwise.
func (*VideoWatermark) GetOpacityOk ¶ added in v1.2.0
func (o *VideoWatermark) GetOpacityOk() (*string, bool)
GetOpacityOk returns a tuple with the Opacity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoWatermark) GetRight ¶ added in v1.2.0
func (o *VideoWatermark) GetRight() string
GetRight returns the Right field value if set, zero value otherwise.
func (*VideoWatermark) GetRightOk ¶ added in v1.2.0
func (o *VideoWatermark) GetRightOk() (*string, bool)
GetRightOk returns a tuple with the Right field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoWatermark) GetTop ¶ added in v1.2.0
func (o *VideoWatermark) GetTop() string
GetTop returns the Top field value if set, zero value otherwise.
func (*VideoWatermark) GetTopOk ¶ added in v1.2.0
func (o *VideoWatermark) GetTopOk() (*string, bool)
GetTopOk returns a tuple with the Top field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoWatermark) GetWidth ¶ added in v1.2.0
func (o *VideoWatermark) GetWidth() string
GetWidth returns the Width field value if set, zero value otherwise.
func (*VideoWatermark) GetWidthOk ¶ added in v1.2.0
func (o *VideoWatermark) GetWidthOk() (*string, bool)
GetWidthOk returns a tuple with the Width field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VideoWatermark) HasBottom ¶ added in v1.2.0
func (o *VideoWatermark) HasBottom() bool
HasBottom returns a boolean if a field has been set.
func (*VideoWatermark) HasHeight ¶ added in v1.2.0
func (o *VideoWatermark) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*VideoWatermark) HasId ¶ added in v1.2.0
func (o *VideoWatermark) HasId() bool
HasId returns a boolean if a field has been set.
func (*VideoWatermark) HasLeft ¶ added in v1.2.0
func (o *VideoWatermark) HasLeft() bool
HasLeft returns a boolean if a field has been set.
func (*VideoWatermark) HasOpacity ¶ added in v1.2.0
func (o *VideoWatermark) HasOpacity() bool
HasOpacity returns a boolean if a field has been set.
func (*VideoWatermark) HasRight ¶ added in v1.2.0
func (o *VideoWatermark) HasRight() bool
HasRight returns a boolean if a field has been set.
func (*VideoWatermark) HasTop ¶ added in v1.2.0
func (o *VideoWatermark) HasTop() bool
HasTop returns a boolean if a field has been set.
func (*VideoWatermark) HasWidth ¶ added in v1.2.0
func (o *VideoWatermark) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*VideoWatermark) SetBottom ¶ added in v1.2.0
func (o *VideoWatermark) SetBottom(v string)
SetBottom gets a reference to the given string and assigns it to the Bottom field.
func (*VideoWatermark) SetHeight ¶ added in v1.2.0
func (o *VideoWatermark) SetHeight(v string)
SetHeight gets a reference to the given string and assigns it to the Height field.
func (*VideoWatermark) SetId ¶ added in v1.2.0
func (o *VideoWatermark) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*VideoWatermark) SetLeft ¶ added in v1.2.0
func (o *VideoWatermark) SetLeft(v string)
SetLeft gets a reference to the given string and assigns it to the Left field.
func (*VideoWatermark) SetOpacity ¶ added in v1.2.0
func (o *VideoWatermark) SetOpacity(v string)
SetOpacity gets a reference to the given string and assigns it to the Opacity field.
func (*VideoWatermark) SetRight ¶ added in v1.2.0
func (o *VideoWatermark) SetRight(v string)
SetRight gets a reference to the given string and assigns it to the Right field.
func (*VideoWatermark) SetTop ¶ added in v1.2.0
func (o *VideoWatermark) SetTop(v string)
SetTop gets a reference to the given string and assigns it to the Top field.
func (*VideoWatermark) SetWidth ¶ added in v1.2.0
func (o *VideoWatermark) SetWidth(v string)
SetWidth gets a reference to the given string and assigns it to the Width field.
type VideosApiListRequest ¶
type VideosApiListRequest struct {
// contains filtered or unexported fields
}
func (VideosApiListRequest) CurrentPage ¶
func (r VideosApiListRequest) CurrentPage(currentPage int32) VideosApiListRequest
func (VideosApiListRequest) Description ¶
func (r VideosApiListRequest) Description(description string) VideosApiListRequest
func (VideosApiListRequest) LiveStreamId ¶
func (r VideosApiListRequest) LiveStreamId(liveStreamId string) VideosApiListRequest
func (VideosApiListRequest) Metadata ¶
func (r VideosApiListRequest) Metadata(metadata map[string]string) VideosApiListRequest
func (VideosApiListRequest) PageSize ¶
func (r VideosApiListRequest) PageSize(pageSize int32) VideosApiListRequest
func (VideosApiListRequest) SortBy ¶
func (r VideosApiListRequest) SortBy(sortBy string) VideosApiListRequest
func (VideosApiListRequest) SortOrder ¶
func (r VideosApiListRequest) SortOrder(sortOrder string) VideosApiListRequest
func (VideosApiListRequest) Tags ¶
func (r VideosApiListRequest) Tags(tags []string) VideosApiListRequest
func (VideosApiListRequest) Title ¶
func (r VideosApiListRequest) Title(title string) VideosApiListRequest
type VideosListResponse ¶
type VideosListResponse struct { Data []Video `json:"data"` Pagination Pagination `json:"pagination"` }
VideosListResponse struct for VideosListResponse
func NewVideosListResponse ¶
func NewVideosListResponse(data []Video, pagination Pagination) *VideosListResponse
NewVideosListResponse instantiates a new VideosListResponse 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 NewVideosListResponseWithDefaults ¶
func NewVideosListResponseWithDefaults() *VideosListResponse
NewVideosListResponseWithDefaults instantiates a new VideosListResponse 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 (*VideosListResponse) GetData ¶
func (o *VideosListResponse) GetData() []Video
GetData returns the Data field value
func (*VideosListResponse) GetDataOk ¶
func (o *VideosListResponse) GetDataOk() (*[]Video, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*VideosListResponse) GetPagination ¶
func (o *VideosListResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*VideosListResponse) GetPaginationOk ¶
func (o *VideosListResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (*VideosListResponse) SetData ¶
func (o *VideosListResponse) SetData(v []Video)
SetData sets field value
func (*VideosListResponse) SetPagination ¶
func (o *VideosListResponse) SetPagination(v Pagination)
SetPagination sets field value
type VideosService ¶
type VideosService struct {
// contains filtered or unexported fields
}
VideosService communicating with the Videos endpoints of the api.video API
func (*VideosService) Create ¶
func (s *VideosService) Create(videoCreationPayload VideoCreationPayload) (*Video, error)
func (*VideosService) CreateUploadStream ¶
func (s *VideosService) CreateUploadStream(videoId string) (IUploadStream, error)
func (*VideosService) CreateUploadWithUploadTokenStream ¶
func (s *VideosService) CreateUploadWithUploadTokenStream(token string, videoId *string) (IUploadStream, error)
func (*VideosService) CreateWithContext ¶
func (s *VideosService) CreateWithContext(ctx context.Context, videoCreationPayload VideoCreationPayload) (*Video, error)
func (*VideosService) Delete ¶
func (s *VideosService) Delete(videoId string) error
func (*VideosService) DeleteWithContext ¶
func (s *VideosService) DeleteWithContext(ctx context.Context, videoId string) error
func (*VideosService) GetStatus ¶
func (s *VideosService) GetStatus(videoId string) (*VideoStatus, error)
func (*VideosService) GetStatusWithContext ¶
func (s *VideosService) GetStatusWithContext(ctx context.Context, videoId string) (*VideoStatus, error)
func (*VideosService) GetWithContext ¶
func (*VideosService) List ¶
func (s *VideosService) List(r VideosApiListRequest) (*VideosListResponse, error)
func (*VideosService) ListWithContext ¶
func (s *VideosService) ListWithContext(ctx context.Context, r VideosApiListRequest) (*VideosListResponse, error)
func (*VideosService) PickThumbnail ¶
func (s *VideosService) PickThumbnail(videoId string, videoThumbnailPickPayload VideoThumbnailPickPayload) (*Video, error)
func (*VideosService) PickThumbnailWithContext ¶
func (s *VideosService) PickThumbnailWithContext(ctx context.Context, videoId string, videoThumbnailPickPayload VideoThumbnailPickPayload) (*Video, error)
func (*VideosService) Update ¶
func (s *VideosService) Update(videoId string, videoUpdatePayload VideoUpdatePayload) (*Video, error)
func (*VideosService) UpdateWithContext ¶
func (s *VideosService) UpdateWithContext(ctx context.Context, videoId string, videoUpdatePayload VideoUpdatePayload) (*Video, error)
func (*VideosService) Upload ¶
func (s *VideosService) Upload(videoId string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
- Upload Upload a video
- To upload a video to the videoId you created. You can only upload your video to the videoId once.
We offer 2 types of upload:
* Regular upload
* Progressive upload
The latter allows you to split a video source into X chunks and send those chunks independently (concurrently or sequentially). The 2 main goals for our users are to
allow the upload of video sources > 200 MiB (200 MiB = the max. allowed file size for regular upload)
allow to send a video source "progressively", i.e., before before knowing the total size of the video.
Once all chunks have been sent, they are reaggregated to one source file. The video source is considered as "completely sent" when the "last" chunk is sent (i.e., the chunk that "completes" the upload).
@param videoId Enter the videoId you want to use to upload your video.
@return VideosApiUploadRequest
func (*VideosService) UploadFile ¶
func (*VideosService) UploadFileWithContext ¶
func (*VideosService) UploadThumbnail ¶
func (s *VideosService) UploadThumbnail(videoId string, fileName string, fileReader io.Reader) (*Video, error)
- UploadThumbnail Upload a thumbnail
- The thumbnail is the poster that appears in the player window before video playback begins.
This endpoint allows you to upload an image for the thumbnail.
To select a still frame from the video using a time stamp, use the [dedicated method](#pickThumbnail) to pick a time in the video.
Note: There may be a short delay before the new thumbnail is delivered to our CDN.
- @param videoId Unique identifier of the chosen video
- @return VideosApiUploadThumbnailRequest
func (*VideosService) UploadThumbnailFile ¶
func (*VideosService) UploadThumbnailFileWithContext ¶
func (*VideosService) UploadThumbnailWithContext ¶
func (s *VideosService) UploadThumbnailWithContext(ctx context.Context, videoId string, fileName string, fileReader io.Reader) (*Video, error)
- UploadThumbnail Upload a thumbnail
- The thumbnail is the poster that appears in the player window before video playback begins.
This endpoint allows you to upload an image for the thumbnail.
To select a still frame from the video using a time stamp, use the [dedicated method](#pickThumbnail) to pick a time in the video.
Note: There may be a short delay before the new thumbnail is delivered to our CDN.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param videoId Unique identifier of the chosen video
- @return VideosApiUploadThumbnailRequest
func (*VideosService) UploadWithContext ¶
func (s *VideosService) UploadWithContext(ctx context.Context, videoId string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
- Upload Upload a video
- To upload a video to the videoId you created. You can only upload your video to the videoId once.
We offer 2 types of upload:
* Regular upload
* Progressive upload
The latter allows you to split a video source into X chunks and send those chunks independently (concurrently or sequentially). The 2 main goals for our users are to
allow the upload of video sources > 200 MiB (200 MiB = the max. allowed file size for regular upload)
allow to send a video source "progressively", i.e., before before knowing the total size of the video.
Once all chunks have been sent, they are reaggregated to one source file. The video source is considered as "completely sent" when the "last" chunk is sent (i.e., the chunk that "completes" the upload).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param videoId Enter the videoId you want to use to upload your video.
@return VideosApiUploadRequest
func (*VideosService) UploadWithUploadToken ¶
func (s *VideosService) UploadWithUploadToken(token string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
* UploadWithUploadToken Upload with an delegated upload token * This method allows you to send a video using an upload token. Upload tokens are especially useful when the upload is done from the client side. If you want to upload a video from your server-side application, you'd better use the [standard upload method](#upload).
* @return VideosApiUploadWithUploadTokenRequest
func (*VideosService) UploadWithUploadTokenFile ¶
func (*VideosService) UploadWithUploadTokenFileWithContext ¶
func (*VideosService) UploadWithUploadTokenFileWithContextAndVideoId ¶ added in v1.3.0
func (*VideosService) UploadWithUploadTokenFileWithVideoId ¶ added in v1.3.0
func (*VideosService) UploadWithUploadTokenWithContext ¶
func (s *VideosService) UploadWithUploadTokenWithContext(ctx context.Context, token string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
* UploadWithUploadToken Upload with an delegated upload token * This method allows you to send a video using an upload token. Upload tokens are especially useful when the upload is done from the client side. If you want to upload a video from your server-side application, you'd better use the [standard upload method](#upload). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return VideosApiUploadWithUploadTokenRequest
func (*VideosService) UploadWithUploadTokenWithContextAndVideoId ¶ added in v1.3.0
func (s *VideosService) UploadWithUploadTokenWithContextAndVideoId(ctx context.Context, videoId *string, token string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
* UploadWithUploadToken Upload with an delegated upload token * This method allows you to send a video using an upload token. Upload tokens are especially useful when the upload is done from the client side. If you want to upload a video from your server-side application, you'd better use the [standard upload method](#upload). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param videoId *string the video id or nil * @return VideosApiUploadWithUploadTokenRequest
func (*VideosService) UploadWithUploadTokenWithVideoId ¶ added in v1.3.0
func (s *VideosService) UploadWithUploadTokenWithVideoId(videoId *string, token string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)
* UploadWithUploadToken Upload with an delegated upload token * This method allows you to send a video using an upload token. Upload tokens are especially useful when the upload is done from the client side. If you want to upload a video from your server-side application, you'd better use the [standard upload method](#upload). * @param videoId *string the video id or nil * @return VideosApiUploadWithUploadTokenRequest
type VideosServiceI ¶
type VideosServiceI interface { Create(videoCreationPayload VideoCreationPayload) (*Video, error) CreateWithContext(ctx context.Context, videoCreationPayload VideoCreationPayload) (*Video, error) /* * Upload Upload a video * @param videoId Enter the videoId you want to use to upload your video. * @return VideosApiUploadRequest */ Upload(videoId string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error) /* * Upload Upload a video * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param videoId Enter the videoId you want to use to upload your video. * @return VideosApiUploadRequest */ UploadWithContext(ctx context.Context, videoId string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error) /* * Upload Upload a video * @param videoId Enter the videoId you want to use to upload your video. * @return IUploadStream */ CreateUploadStream(videoId string) (IUploadStream, error) /* * Upload Upload a video * @param videoId Enter the videoId you want to use to upload your video. * @return VideosApiUploadRequest */ UploadFile(videoId string, file *os.File) (*Video, error) /* * Upload Upload a video * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param videoId Enter the videoId you want to use to upload your video. * @return VideosApiUploadRequest */ UploadFileWithContext(ctx context.Context, videoId string, file *os.File) (*Video, error) /* * UploadWithUploadToken Upload with an delegated upload token * @return VideosApiUploadWithUploadTokenRequest */ UploadWithUploadToken(token string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error) /* * UploadWithUploadToken Upload with an delegated upload token * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return VideosApiUploadWithUploadTokenRequest */ UploadWithUploadTokenWithContext(ctx context.Context, token string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error) /* * UploadWithUploadToken Upload with an delegated upload token * @return IUploadStream */ CreateUploadWithUploadTokenStream(token string, videoId *string) (IUploadStream, error) /* * UploadWithUploadToken Upload with an delegated upload token * @return VideosApiUploadWithUploadTokenRequest */ UploadWithUploadTokenFile(token string, file *os.File) (*Video, error) /* * UploadWithUploadToken Upload with an delegated upload token * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return VideosApiUploadWithUploadTokenRequest */ UploadWithUploadTokenFileWithContext(ctx context.Context, token string, file *os.File) (*Video, error) /* * UploadWithUploadToken Upload with an delegated upload token * @return VideosApiUploadWithUploadTokenRequest */ UploadWithUploadTokenWithVideoId(videoId *string, token string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error) /* * UploadWithUploadToken Upload with an delegated upload token * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return VideosApiUploadWithUploadTokenRequest */ UploadWithUploadTokenWithContextAndVideoId(ctx context.Context, videoId *string, token string, fileName string, fileReader io.Reader, fileSize int64) (*Video, error) /* * UploadWithUploadToken Upload with an delegated upload token * @return VideosApiUploadWithUploadTokenRequest */ UploadWithUploadTokenFileWithVideoId(videoId *string, token string, file *os.File) (*Video, error) /* * UploadWithUploadToken Upload with an delegated upload token * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return VideosApiUploadWithUploadTokenRequest */ UploadWithUploadTokenFileWithContextAndVideoId(ctx context.Context, videoId *string, token string, file *os.File) (*Video, error) Get(videoId string) (*Video, error) GetWithContext(ctx context.Context, videoId string) (*Video, error) Update(videoId string, videoUpdatePayload VideoUpdatePayload) (*Video, error) UpdateWithContext(ctx context.Context, videoId string, videoUpdatePayload VideoUpdatePayload) (*Video, error) Delete(videoId string) error DeleteWithContext(ctx context.Context, videoId string) error List(r VideosApiListRequest) (*VideosListResponse, error) ListWithContext(ctx context.Context, r VideosApiListRequest) (*VideosListResponse, error) /* * UploadThumbnail Upload a thumbnail * @param videoId Unique identifier of the chosen video * @return VideosApiUploadThumbnailRequest */ UploadThumbnail(videoId string, fileName string, fileReader io.Reader) (*Video, error) /* * UploadThumbnail Upload a thumbnail * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param videoId Unique identifier of the chosen video * @return VideosApiUploadThumbnailRequest */ UploadThumbnailWithContext(ctx context.Context, videoId string, fileName string, fileReader io.Reader) (*Video, error) /* * UploadThumbnail Upload a thumbnail * @param videoId Unique identifier of the chosen video * @return VideosApiUploadThumbnailRequest */ UploadThumbnailFile(videoId string, file *os.File) (*Video, error) /* * UploadThumbnail Upload a thumbnail * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param videoId Unique identifier of the chosen video * @return VideosApiUploadThumbnailRequest */ UploadThumbnailFileWithContext(ctx context.Context, videoId string, file *os.File) (*Video, error) PickThumbnail(videoId string, videoThumbnailPickPayload VideoThumbnailPickPayload) (*Video, error) PickThumbnailWithContext(ctx context.Context, videoId string, videoThumbnailPickPayload VideoThumbnailPickPayload) (*Video, error) GetStatus(videoId string) (*VideoStatus, error) GetStatusWithContext(ctx context.Context, videoId string) (*VideoStatus, error) }
type Watermark ¶ added in v1.2.0
type Watermark struct { // The unique identifier of the watermark. WatermarkId *string `json:"watermarkId,omitempty"` // When the watermark was created, presented in ISO-8601 format. CreatedAt *string `json:"createdAt,omitempty"` }
Watermark struct for Watermark
func NewWatermark ¶ added in v1.2.0
func NewWatermark() *Watermark
NewWatermark instantiates a new Watermark 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 NewWatermarkWithDefaults ¶ added in v1.2.0
func NewWatermarkWithDefaults() *Watermark
NewWatermarkWithDefaults instantiates a new Watermark 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 (*Watermark) GetCreatedAt ¶ added in v1.2.0
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Watermark) GetCreatedAtOk ¶ added in v1.2.0
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Watermark) GetWatermarkId ¶ added in v1.2.0
GetWatermarkId returns the WatermarkId field value if set, zero value otherwise.
func (*Watermark) GetWatermarkIdOk ¶ added in v1.2.0
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 (*Watermark) HasCreatedAt ¶ added in v1.2.0
HasCreatedAt returns a boolean if a field has been set.
func (*Watermark) HasWatermarkId ¶ added in v1.2.0
HasWatermarkId returns a boolean if a field has been set.
func (*Watermark) SetCreatedAt ¶ added in v1.2.0
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*Watermark) SetWatermarkId ¶ added in v1.2.0
SetWatermarkId gets a reference to the given string and assigns it to the WatermarkId field.
type WatermarksApiListRequest ¶ added in v1.2.0
type WatermarksApiListRequest struct {
// contains filtered or unexported fields
}
func (WatermarksApiListRequest) CurrentPage ¶ added in v1.2.0
func (r WatermarksApiListRequest) CurrentPage(currentPage int32) WatermarksApiListRequest
func (WatermarksApiListRequest) PageSize ¶ added in v1.2.0
func (r WatermarksApiListRequest) PageSize(pageSize int32) WatermarksApiListRequest
func (WatermarksApiListRequest) SortBy ¶ added in v1.2.0
func (r WatermarksApiListRequest) SortBy(sortBy string) WatermarksApiListRequest
func (WatermarksApiListRequest) SortOrder ¶ added in v1.2.0
func (r WatermarksApiListRequest) SortOrder(sortOrder string) WatermarksApiListRequest
type WatermarksListResponse ¶ added in v1.2.0
type WatermarksListResponse struct { Data []Watermark `json:"data"` Pagination Pagination `json:"pagination"` }
WatermarksListResponse struct for WatermarksListResponse
func NewWatermarksListResponse ¶ added in v1.2.0
func NewWatermarksListResponse(data []Watermark, pagination Pagination) *WatermarksListResponse
NewWatermarksListResponse instantiates a new WatermarksListResponse 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 NewWatermarksListResponseWithDefaults ¶ added in v1.2.0
func NewWatermarksListResponseWithDefaults() *WatermarksListResponse
NewWatermarksListResponseWithDefaults instantiates a new WatermarksListResponse 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 (*WatermarksListResponse) GetData ¶ added in v1.2.0
func (o *WatermarksListResponse) GetData() []Watermark
GetData returns the Data field value
func (*WatermarksListResponse) GetDataOk ¶ added in v1.2.0
func (o *WatermarksListResponse) GetDataOk() (*[]Watermark, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*WatermarksListResponse) GetPagination ¶ added in v1.2.0
func (o *WatermarksListResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*WatermarksListResponse) GetPaginationOk ¶ added in v1.2.0
func (o *WatermarksListResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (*WatermarksListResponse) SetData ¶ added in v1.2.0
func (o *WatermarksListResponse) SetData(v []Watermark)
SetData sets field value
func (*WatermarksListResponse) SetPagination ¶ added in v1.2.0
func (o *WatermarksListResponse) SetPagination(v Pagination)
SetPagination sets field value
type WatermarksService ¶ added in v1.2.0
type WatermarksService struct {
// contains filtered or unexported fields
}
WatermarksService communicating with the Watermarks endpoints of the api.video API
func (*WatermarksService) Delete ¶ added in v1.2.0
func (s *WatermarksService) Delete(watermarkId string) error
func (*WatermarksService) DeleteWithContext ¶ added in v1.2.0
func (s *WatermarksService) DeleteWithContext(ctx context.Context, watermarkId string) error
func (*WatermarksService) List ¶ added in v1.2.0
func (s *WatermarksService) List(r WatermarksApiListRequest) (*WatermarksListResponse, error)
func (*WatermarksService) ListWithContext ¶ added in v1.2.0
func (s *WatermarksService) ListWithContext(ctx context.Context, r WatermarksApiListRequest) (*WatermarksListResponse, error)
func (*WatermarksService) Upload ¶ added in v1.2.0
* Upload Upload a watermark * Create a new watermark by uploading a `JPG` or a `PNG` image.
* @return WatermarksApiUploadRequest
func (*WatermarksService) UploadFile ¶ added in v1.2.0
func (s *WatermarksService) UploadFile(file *os.File) (*Watermark, error)
func (*WatermarksService) UploadFileWithContext ¶ added in v1.2.0
func (*WatermarksService) UploadWithContext ¶ added in v1.2.0
func (s *WatermarksService) UploadWithContext(ctx context.Context, fileName string, fileReader io.Reader) (*Watermark, error)
* Upload Upload a watermark * Create a new watermark by uploading a `JPG` or a `PNG` image. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return WatermarksApiUploadRequest
type WatermarksServiceI ¶ added in v1.2.0
type WatermarksServiceI interface { /* * Upload Upload a watermark * @return WatermarksApiUploadRequest */ Upload(fileName string, fileReader io.Reader) (*Watermark, error) /* * Upload Upload a watermark * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return WatermarksApiUploadRequest */ UploadWithContext(ctx context.Context, fileName string, fileReader io.Reader) (*Watermark, error) /* * Upload Upload a watermark * @return WatermarksApiUploadRequest */ UploadFile(file *os.File) (*Watermark, error) /* * Upload Upload a watermark * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return WatermarksApiUploadRequest */ UploadFileWithContext(ctx context.Context, file *os.File) (*Watermark, error) Delete(watermarkId string) error DeleteWithContext(ctx context.Context, watermarkId string) error List(r WatermarksApiListRequest) (*WatermarksListResponse, error) ListWithContext(ctx context.Context, r WatermarksApiListRequest) (*WatermarksListResponse, error) }
type Webhook ¶
type Webhook struct { // Unique identifier of the webhook WebhookId *string `json:"webhookId,omitempty"` // When an webhook was created, presented in ISO-8601 format. CreatedAt *string `json:"createdAt,omitempty"` // A list of events that will trigger the webhook. Events *[]string `json:"events,omitempty"` // URL of the webhook Url *string `json:"url,omitempty"` }
Webhook struct for Webhook
func NewWebhook ¶
func NewWebhook() *Webhook
NewWebhook instantiates a new Webhook 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 NewWebhookWithDefaults ¶
func NewWebhookWithDefaults() *Webhook
NewWebhookWithDefaults instantiates a new Webhook 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 (*Webhook) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Webhook) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) GetEventsOk ¶
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) GetWebhookId ¶
GetWebhookId returns the WebhookId field value if set, zero value otherwise.
func (*Webhook) GetWebhookIdOk ¶
GetWebhookIdOk returns a tuple with the WebhookId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Webhook) HasWebhookId ¶
HasWebhookId returns a boolean if a field has been set.
func (*Webhook) SetCreatedAt ¶
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*Webhook) SetEvents ¶
SetEvents gets a reference to the given []string and assigns it to the Events field.
func (*Webhook) SetUrl ¶
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*Webhook) SetWebhookId ¶
SetWebhookId gets a reference to the given string and assigns it to the WebhookId field.
type WebhooksApiListRequest ¶
type WebhooksApiListRequest struct {
// contains filtered or unexported fields
}
func (WebhooksApiListRequest) CurrentPage ¶
func (r WebhooksApiListRequest) CurrentPage(currentPage int32) WebhooksApiListRequest
func (WebhooksApiListRequest) Events ¶
func (r WebhooksApiListRequest) Events(events string) WebhooksApiListRequest
func (WebhooksApiListRequest) PageSize ¶
func (r WebhooksApiListRequest) PageSize(pageSize int32) WebhooksApiListRequest
type WebhooksCreationPayload ¶
type WebhooksCreationPayload struct { // A list of the webhooks that you are subscribing to. There are Currently four webhook options: * “`video.encoding.quality.completed“` Occurs when a new video is uploaded into your account, it will be encoded into several different HLS and mp4 qualities. When each version is encoded, your webhook will get a notification. It will look like “`{ \\\"type\\\": \\\"video.encoding.quality.completed\\\", \\\"emittedAt\\\": \\\"2021-01-29T16:46:25.217+01:00\\\", \\\"videoId\\\": \\\"viXXXXXXXX\\\", \\\"encoding\\\": \\\"hls\\\", \\\"quality\\\": \\\"720p\\\"} “`. This request says that the 720p HLS encoding was completed. * “`live-stream.broadcast.started“` When a live stream begins broadcasting, the broadcasting parameter changes from false to true, and this webhook fires. * “`live-stream.broadcast.ended“` This event fires when a live stream has finished broadcasting. * “`video.source.recorded“` Occurs when a live stream is recorded and submitted for encoding. Events []string `json:"events"` // The the url to which HTTP notifications are sent. It could be any http or https URL. Url string `json:"url"` }
WebhooksCreationPayload struct for WebhooksCreationPayload
func NewWebhooksCreationPayload ¶
func NewWebhooksCreationPayload(events []string, url string) *WebhooksCreationPayload
NewWebhooksCreationPayload instantiates a new WebhooksCreationPayload 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 NewWebhooksCreationPayloadWithDefaults ¶
func NewWebhooksCreationPayloadWithDefaults() *WebhooksCreationPayload
NewWebhooksCreationPayloadWithDefaults instantiates a new WebhooksCreationPayload 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 (*WebhooksCreationPayload) GetEvents ¶
func (o *WebhooksCreationPayload) GetEvents() []string
GetEvents returns the Events field value
func (*WebhooksCreationPayload) GetEventsOk ¶
func (o *WebhooksCreationPayload) GetEventsOk() (*[]string, bool)
GetEventsOk returns a tuple with the Events field value and a boolean to check if the value has been set.
func (*WebhooksCreationPayload) GetUrl ¶
func (o *WebhooksCreationPayload) GetUrl() string
GetUrl returns the Url field value
func (*WebhooksCreationPayload) GetUrlOk ¶
func (o *WebhooksCreationPayload) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*WebhooksCreationPayload) SetEvents ¶
func (o *WebhooksCreationPayload) SetEvents(v []string)
SetEvents sets field value
func (*WebhooksCreationPayload) SetUrl ¶
func (o *WebhooksCreationPayload) SetUrl(v string)
SetUrl sets field value
type WebhooksListResponse ¶
type WebhooksListResponse struct { Data []Webhook `json:"data"` Pagination Pagination `json:"pagination"` }
WebhooksListResponse struct for WebhooksListResponse
func NewWebhooksListResponse ¶
func NewWebhooksListResponse(data []Webhook, pagination Pagination) *WebhooksListResponse
NewWebhooksListResponse instantiates a new WebhooksListResponse 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 NewWebhooksListResponseWithDefaults ¶
func NewWebhooksListResponseWithDefaults() *WebhooksListResponse
NewWebhooksListResponseWithDefaults instantiates a new WebhooksListResponse 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 (*WebhooksListResponse) GetData ¶
func (o *WebhooksListResponse) GetData() []Webhook
GetData returns the Data field value
func (*WebhooksListResponse) GetDataOk ¶
func (o *WebhooksListResponse) GetDataOk() (*[]Webhook, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*WebhooksListResponse) GetPagination ¶
func (o *WebhooksListResponse) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*WebhooksListResponse) GetPaginationOk ¶
func (o *WebhooksListResponse) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (*WebhooksListResponse) SetData ¶
func (o *WebhooksListResponse) SetData(v []Webhook)
SetData sets field value
func (*WebhooksListResponse) SetPagination ¶
func (o *WebhooksListResponse) SetPagination(v Pagination)
SetPagination sets field value
type WebhooksService ¶
type WebhooksService struct {
// contains filtered or unexported fields
}
WebhooksService communicating with the Webhooks endpoints of the api.video API
func (*WebhooksService) Create ¶
func (s *WebhooksService) Create(webhooksCreationPayload WebhooksCreationPayload) (*Webhook, error)
func (*WebhooksService) CreateWithContext ¶
func (s *WebhooksService) CreateWithContext(ctx context.Context, webhooksCreationPayload WebhooksCreationPayload) (*Webhook, error)
func (*WebhooksService) Delete ¶
func (s *WebhooksService) Delete(webhookId string) error
func (*WebhooksService) DeleteWithContext ¶
func (s *WebhooksService) DeleteWithContext(ctx context.Context, webhookId string) error
func (*WebhooksService) GetWithContext ¶
func (*WebhooksService) List ¶
func (s *WebhooksService) List(r WebhooksApiListRequest) (*WebhooksListResponse, error)
func (*WebhooksService) ListWithContext ¶
func (s *WebhooksService) ListWithContext(ctx context.Context, r WebhooksApiListRequest) (*WebhooksListResponse, error)
type WebhooksServiceI ¶
type WebhooksServiceI interface { Create(webhooksCreationPayload WebhooksCreationPayload) (*Webhook, error) CreateWithContext(ctx context.Context, webhooksCreationPayload WebhooksCreationPayload) (*Webhook, error) Get(webhookId string) (*Webhook, error) GetWithContext(ctx context.Context, webhookId string) (*Webhook, error) Delete(webhookId string) error DeleteWithContext(ctx context.Context, webhookId string) error List(r WebhooksApiListRequest) (*WebhooksListResponse, error) ListWithContext(ctx context.Context, r WebhooksApiListRequest) (*WebhooksListResponse, error) }
Source Files ¶
- api_advanced_authentication.go
- api_analytics.go
- api_captions.go
- api_chapters.go
- api_live_streams.go
- api_player_themes.go
- api_upload_tokens.go
- api_videos.go
- api_watermarks.go
- api_webhooks.go
- client.go
- model_403_error_schema.go
- model_access_token.go
- model_additional_bad_request_errors.go
- model_analytics_data.go
- model_analytics_plays_400_error.go
- model_analytics_plays_response.go
- model_authenticate_payload.go
- model_bad_request.go
- model_bytes_range.go
- model_caption.go
- model_captions_list_response.go
- model_captions_update_payload.go
- model_chapter.go
- model_chapters_list_response.go
- model_link.go
- model_live_stream.go
- model_live_stream_assets.go
- model_live_stream_creation_payload.go
- model_live_stream_list_response.go
- model_live_stream_session.go
- model_live_stream_session_client.go
- model_live_stream_session_device.go
- model_live_stream_session_location.go
- model_live_stream_session_referrer.go
- model_live_stream_session_session.go
- model_live_stream_update_payload.go
- model_metadata.go
- model_not_found.go
- model_pagination.go
- model_pagination_link.go
- model_player_session_event.go
- model_player_theme.go
- model_player_theme_assets.go
- model_player_theme_creation_payload.go
- model_player_theme_update_payload.go
- model_player_themes_list_response.go
- model_quality.go
- model_refresh_token_payload.go
- model_restreams_request_object.go
- model_restreams_response_object.go
- model_token_creation_payload.go
- model_token_list_response.go
- model_upload_token.go
- model_video.go
- model_video_assets.go
- model_video_clip.go
- model_video_creation_payload.go
- model_video_session.go
- model_video_session_client.go
- model_video_session_device.go
- model_video_session_location.go
- model_video_session_os.go
- model_video_session_referrer.go
- model_video_session_session.go
- model_video_source.go
- model_video_source_live_stream.go
- model_video_source_live_stream_link.go
- model_video_status.go
- model_video_status_encoding.go
- model_video_status_encoding_metadata.go
- model_video_status_ingest.go
- model_video_status_ingest_received_parts.go
- model_video_thumbnail_pick_payload.go
- model_video_update_payload.go
- model_video_watermark.go
- model_videos_list_response.go
- model_watermark.go
- model_watermarks_list_response.go
- model_webhook.go
- model_webhooks_creation_payload.go
- model_webhooks_list_response.go
- utils.go