apivideosdk

package module
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 16 Imported by: 1

README

badge   badge   badge

api.video Go client

api.video is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.

Table of contents

Project description

api.video's Go client streamlines the coding process. Chunking files is handled for you, as is pagination and refreshing your tokens.

Getting started

Installation

go get github.com/apivideo/api.video-go-client

Code sample

For a more advanced usage you can checkout the rest of the documentation in the docs directory

package main

import (
    "fmt"
    "os"
    apivideosdk "github.com/apivideo/api.video-go-client"
)

func main() {
    //Connect to production environment
    client := apivideosdk.ClientBuilder("YOUR_API_KEY").Build()

    // if you rather like to use the sandbox environment:
    // client := apivideosdk.SandboxClientBuilder("YOU_SANDBOX_API_KEY").Build()


    //List Videos
    //First create the url options for searching
    opts := apivideosdk.VideosApiListRequest{}.
        CurrentPage(1).
        PageSize(25).
        SortBy("publishedAt").
        SortOrder("desc")

    //Then call the List endpoint with the options
    result, err := client.Videos.List(opts)

    if err != nil {
        fmt.Println(err)
    }

    for _, video := range result.Data {
        fmt.Printf("%s\n", video.VideoId)
        fmt.Printf("%s\n", *video.Title)
    }


    //Upload a video
    //First create a container
    create, err := client.Videos.Create(apivideosdk.VideoCreationPayload{Title: "My video title"})

    if err != nil {
        fmt.Println(err)
    }

    //Then open the video file
    videoFile, err := os.Open("path/to/video.mp4")

    if err != nil {
        fmt.Println(err)
    }

    //Finally upload your video to the container with the videoId
    uploadedVideo, err := client.Videos.UploadFile(create.VideoId, videoFile)

    if err != nil {
        fmt.Println(err)
    }


    //And get the assets
    fmt.Printf("%s\n", *uploadedVideo.Assets.Hls)
    fmt.Printf("%s\n", *uploadedVideo.Assets.Iframe)
}

Documentation

API Endpoints

All URIs are relative to https://ws.api.video

Analytics
Retrieve an instance of the Analytics API:
client := apivideosdk.ClientBuilder("API_VIDEO_KEY").Build()
analyticsApi := client.Analytics
Endpoints
Method HTTP request Description
GetLiveStreamsPlays Get /analytics/live-streams/plays Get play events for live stream
GetVideosPlays Get /analytics/videos/plays Get play events for video
Captions
Retrieve an instance of the Captions API:
client := apivideosdk.ClientBuilder("API_VIDEO_KEY").Build()
captionsApi := client.Captions
Endpoints
Method HTTP request Description
Upload Post /videos/{videoId}/captions/{language} Upload a caption
Get Get /videos/{videoId}/captions/{language} Retrieve a caption
Update Patch /videos/{videoId}/captions/{language} Update a caption
Delete Delete /videos/{videoId}/captions/{language} Delete a caption
List Get /videos/{videoId}/captions List video captions
Chapters
Retrieve an instance of the Chapters API:
client := apivideosdk.ClientBuilder("API_VIDEO_KEY").Build()
chaptersApi := client.Chapters
Endpoints
Method HTTP request Description
Upload Post /videos/{videoId}/chapters/{language} Upload a chapter
Get Get /videos/{videoId}/chapters/{language} Retrieve a chapter
Delete Delete /videos/{videoId}/chapters/{language} Delete a chapter
List Get /videos/{videoId}/chapters List video chapters
LiveStreams
Retrieve an instance of the LiveStreams API:
client := apivideosdk.ClientBuilder("API_VIDEO_KEY").Build()
liveStreamsApi := client.LiveStreams
Endpoints
Method HTTP request Description
Create Post /live-streams Create live stream
Get Get /live-streams/{liveStreamId} Retrieve live stream
Update Patch /live-streams/{liveStreamId} Update a live stream
Delete Delete /live-streams/{liveStreamId} Delete a live stream
List Get /live-streams List all live streams
UploadThumbnail Post /live-streams/{liveStreamId}/thumbnail Upload a thumbnail
DeleteThumbnail Delete /live-streams/{liveStreamId}/thumbnail Delete a thumbnail
PlayerThemes
Retrieve an instance of the PlayerThemes API:
client := apivideosdk.ClientBuilder("API_VIDEO_KEY").Build()
playerThemesApi := client.PlayerThemes
Endpoints
Method HTTP request Description
Create Post /players Create a player
Get Get /players/{playerId} Retrieve a player
Update Patch /players/{playerId} Update a player
Delete Delete /players/{playerId} Delete a player
List Get /players List all player themes
UploadLogo Post /players/{playerId}/logo Upload a logo
DeleteLogo Delete /players/{playerId}/logo Delete logo
UploadTokens
Retrieve an instance of the UploadTokens API:
client := apivideosdk.ClientBuilder("API_VIDEO_KEY").Build()
uploadTokensApi := client.UploadTokens
Endpoints
Method HTTP request Description
CreateToken Post /upload-tokens Generate an upload token
GetToken Get /upload-tokens/{uploadToken} Retrieve upload token
DeleteToken Delete /upload-tokens/{uploadToken} Delete an upload token
List Get /upload-tokens List all active upload tokens
Videos
Retrieve an instance of the Videos API:
client := apivideosdk.ClientBuilder("API_VIDEO_KEY").Build()
videosApi := client.Videos
Endpoints
Method HTTP request Description
Create Post /videos Create a video object
Upload Post /videos/{videoId}/source Upload a video
UploadWithUploadToken Post /upload Upload with an delegated upload token
Get Get /videos/{videoId} Retrieve a video object
Update Patch /videos/{videoId} Update a video object
Delete Delete /videos/{videoId} Delete a video object
List Get /videos List all video objects
UploadThumbnail Post /videos/{videoId}/thumbnail Upload a thumbnail
PickThumbnail Patch /videos/{videoId}/thumbnail Set a thumbnail
GetStatus Get /videos/{videoId}/status Retrieve video status and details
Watermarks
Retrieve an instance of the Watermarks API:
client := apivideosdk.ClientBuilder("API_VIDEO_KEY").Build()
watermarksApi := client.Watermarks
Endpoints
Method HTTP request Description
Upload Post /watermarks Upload a watermark
Delete Delete /watermarks/{watermarkId} Delete a watermark
List Get /watermarks List all watermarks
Webhooks
Retrieve an instance of the Webhooks API:
client := apivideosdk.ClientBuilder("API_VIDEO_KEY").Build()
webhooksApi := client.Webhooks
Endpoints
Method HTTP request Description
Create Post /webhooks Create Webhook
Get Get /webhooks/{webhookId} Retrieve Webhook details
Delete Delete /webhooks/{webhookId} Delete a Webhook
List Get /webhooks List all webhooks

Models

Have you gotten use from this API client?

Please take a moment to leave a star on the client ⭐

This helps other users to find the clients and also helps us understand which clients are most popular. Thank you!

Contribution

Since this API client is generated from an OpenAPI description, we cannot accept pull requests made directly to the repository. If you want to contribute, you can open a pull request on the repository of our client generator. Otherwise, you can also simply open an issue detailing your need on this repository.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type 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 (AnalyticsApiGetLiveStreamsPlaysRequest) Dimension added in v1.3.0

func (AnalyticsApiGetLiveStreamsPlaysRequest) Filter added in v1.3.0

func (AnalyticsApiGetLiveStreamsPlaysRequest) From added in v1.3.0

func (AnalyticsApiGetLiveStreamsPlaysRequest) PageSize added in v1.3.0

func (AnalyticsApiGetLiveStreamsPlaysRequest) To added in v1.3.0

type AnalyticsApiGetVideosPlaysRequest added in v1.3.0

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

func (AnalyticsApiGetVideosPlaysRequest) CurrentPage added in v1.3.0

func (AnalyticsApiGetVideosPlaysRequest) Dimension added in v1.3.0

func (AnalyticsApiGetVideosPlaysRequest) Filter added in v1.3.0

func (AnalyticsApiGetVideosPlaysRequest) From added in v1.3.0

func (AnalyticsApiGetVideosPlaysRequest) PageSize added in v1.3.0

func (AnalyticsApiGetVideosPlaysRequest) To added in v1.3.0

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 (*AnalyticsService) GetLiveStreamsPlaysWithContext added in v1.3.0

func (*AnalyticsService) GetVideosPlays added in v1.3.0

func (*AnalyticsService) GetVideosPlaysWithContext added in v1.3.0

type AnalyticsServiceI added in v1.3.0

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

func ClientBuilder(apiKey string) *Builder

ClientBuilder returns a new api.video API client builder for production

func SandboxClientBuilder

func SandboxClientBuilder(apiKey string) *Builder

SandboxClientBuilder returns a new api.video API client builder for sandbox environment

func (*Builder) APIKey

func (cb *Builder) APIKey(key string) *Builder

func (*Builder) ApplicationName added in v1.2.1

func (cb *Builder) ApplicationName(applicationName string) *Builder

func (*Builder) ApplicationVersion added in v1.2.2

func (cb *Builder) ApplicationVersion(applicationVersion string) *Builder

func (*Builder) BaseURL

func (cb *Builder) BaseURL(url string) *Builder

func (*Builder) Build

func (cb *Builder) Build() *Client

func (*Builder) HTTPClient

func (cb *Builder) HTTPClient(httpClient Doer) *Builder

func (*Builder) SdkName added in v1.2.5

func (cb *Builder) SdkName(sdkName string) *Builder

func (*Builder) SdkVersion added in v1.2.5

func (cb *Builder) SdkVersion(sdkVersion string) *Builder

func (*Builder) UploadChunkSize

func (cb *Builder) UploadChunkSize(size int64) *Builder

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

func (o *Caption) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*Caption) GetDefaultOk

func (o *Caption) 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 (*Caption) GetLanguageName added in v1.3.1

func (o *Caption) GetLanguageName() string

GetLanguageName returns the LanguageName field value if set, zero value otherwise.

func (*Caption) GetLanguageNameOk added in v1.3.1

func (o *Caption) GetLanguageNameOk() (*string, bool)

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

func (o *Caption) GetSrc() string

GetSrc returns the Src field value if set, zero value otherwise.

func (*Caption) GetSrcOk

func (o *Caption) GetSrcOk() (*string, bool)

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

func (o *Caption) GetSrclang() string

GetSrclang returns the Srclang field value if set, zero value otherwise.

func (*Caption) GetSrclangOk

func (o *Caption) GetSrclangOk() (*string, bool)

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

func (o *Caption) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*Caption) GetUriOk

func (o *Caption) 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 (*Caption) HasDefault

func (o *Caption) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*Caption) HasLanguageName added in v1.3.1

func (o *Caption) HasLanguageName() bool

HasLanguageName returns a boolean if a field has been set.

func (*Caption) HasSrc

func (o *Caption) HasSrc() bool

HasSrc returns a boolean if a field has been set.

func (*Caption) HasSrclang

func (o *Caption) HasSrclang() bool

HasSrclang returns a boolean if a field has been set.

func (*Caption) HasUri

func (o *Caption) HasUri() bool

HasUri returns a boolean if a field has been set.

func (*Caption) SetDefault

func (o *Caption) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*Caption) SetLanguageName added in v1.3.1

func (o *Caption) SetLanguageName(v string)

SetLanguageName gets a reference to the given string and assigns it to the LanguageName field.

func (*Caption) SetSrc

func (o *Caption) SetSrc(v string)

SetSrc gets a reference to the given string and assigns it to the Src field.

func (*Caption) SetSrclang

func (o *Caption) SetSrclang(v string)

SetSrclang gets a reference to the given string and assigns it to the Srclang field.

func (*Caption) SetUri

func (o *Caption) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

type CaptionsApiListRequest

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

func (CaptionsApiListRequest) CurrentPage

func (r CaptionsApiListRequest) CurrentPage(currentPage int32) CaptionsApiListRequest

func (CaptionsApiListRequest) PageSize

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 (s *CaptionsService) DeleteWithContext(ctx context.Context, videoId string, language string) error

func (*CaptionsService) Get

func (s *CaptionsService) Get(videoId string, language string) (*Caption, error)

func (*CaptionsService) GetWithContext

func (s *CaptionsService) GetWithContext(ctx context.Context, videoId string, language string) (*Caption, error)

func (*CaptionsService) List

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 (s *CaptionsService) UploadFile(videoId string, language string, file *os.File) (*Caption, error)

func (*CaptionsService) UploadFileWithContext

func (s *CaptionsService) UploadFileWithContext(ctx context.Context, videoId string, language string, file *os.File) (*Caption, error)

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

func (o *Chapter) GetLanguage() string

GetLanguage returns the Language field value if set, zero value otherwise.

func (*Chapter) GetLanguageOk

func (o *Chapter) GetLanguageOk() (*string, bool)

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

func (o *Chapter) GetSrc() string

GetSrc returns the Src field value if set, zero value otherwise.

func (*Chapter) GetSrcOk

func (o *Chapter) GetSrcOk() (*string, bool)

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

func (o *Chapter) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*Chapter) GetUriOk

func (o *Chapter) 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 (*Chapter) HasLanguage

func (o *Chapter) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*Chapter) HasSrc

func (o *Chapter) HasSrc() bool

HasSrc returns a boolean if a field has been set.

func (*Chapter) HasUri

func (o *Chapter) HasUri() bool

HasUri returns a boolean if a field has been set.

func (*Chapter) SetLanguage

func (o *Chapter) SetLanguage(v string)

SetLanguage gets a reference to the given string and assigns it to the Language field.

func (*Chapter) SetSrc

func (o *Chapter) SetSrc(v string)

SetSrc gets a reference to the given string and assigns it to the Src field.

func (*Chapter) SetUri

func (o *Chapter) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

type ChaptersApiListRequest

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

func (ChaptersApiListRequest) CurrentPage

func (r ChaptersApiListRequest) CurrentPage(currentPage int32) ChaptersApiListRequest

func (ChaptersApiListRequest) PageSize

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 (s *ChaptersService) DeleteWithContext(ctx context.Context, videoId string, language string) error

func (*ChaptersService) Get

func (s *ChaptersService) Get(videoId string, language string) (*Chapter, error)

func (*ChaptersService) GetWithContext

func (s *ChaptersService) GetWithContext(ctx context.Context, videoId string, language string) (*Chapter, error)

func (*ChaptersService) List

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.

func (*ChaptersService) UploadFile

func (s *ChaptersService) UploadFile(videoId string, language string, file *os.File) (*Chapter, error)

func (*ChaptersService) UploadFileWithContext

func (s *ChaptersService) UploadFileWithContext(ctx context.Context, videoId string, language string, file *os.File) (*Chapter, error)

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

func (*Client) ChunkSize

func (c *Client) ChunkSize(size int64)

ChunkSize changes chunk size for video upload, by default its 128MB

type Doer

type Doer interface {
	Do(*http.Request) (*http.Response, error)
}

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 struct {
	Rel *string `json:"rel,omitempty"`
	Uri *string `json:"uri,omitempty"`
}

Link struct for Link

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

func (o *Link) GetRel() string

GetRel returns the Rel field value if set, zero value otherwise.

func (*Link) GetRelOk

func (o *Link) 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 (*Link) GetUri

func (o *Link) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*Link) GetUriOk

func (o *Link) 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 (*Link) HasRel

func (o *Link) HasRel() bool

HasRel returns a boolean if a field has been set.

func (*Link) HasUri

func (o *Link) HasUri() bool

HasUri returns a boolean if a field has been set.

func (*Link) SetRel

func (o *Link) SetRel(v string)

SetRel gets a reference to the given string and assigns it to the Rel field.

func (*Link) SetUri

func (o *Link) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

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

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

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

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

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

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

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

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

SetClient gets a reference to the given LiveStreamSessionClient and assigns it to the Client field.

func (*LiveStreamSession) SetDevice

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

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 (LiveStreamsApiListRequest) PageSize

func (LiveStreamsApiListRequest) SortBy

func (LiveStreamsApiListRequest) SortOrder

func (LiveStreamsApiListRequest) StreamKey

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 (*LiveStreamsService) ListWithContext

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

func (o *Metadata) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*Metadata) GetKeyOk

func (o *Metadata) GetKeyOk() (*string, bool)

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

func (o *Metadata) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*Metadata) GetValueOk

func (o *Metadata) GetValueOk() (*string, bool)

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

func (*Metadata) HasKey

func (o *Metadata) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*Metadata) HasValue

func (o *Metadata) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*Metadata) SetKey

func (o *Metadata) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*Metadata) SetValue

func (o *Metadata) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

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

func (o *NotFound) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*NotFound) GetNameOk

func (o *NotFound) 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 (*NotFound) GetStatus

func (o *NotFound) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*NotFound) GetStatusOk

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

func (o *NotFound) GetTitle() string

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

func (*NotFound) GetTitleOk

func (o *NotFound) 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 (*NotFound) GetType

func (o *NotFound) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*NotFound) GetTypeOk

func (o *NotFound) 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 (*NotFound) HasName

func (o *NotFound) HasName() bool

HasName returns a boolean if a field has been set.

func (*NotFound) HasStatus

func (o *NotFound) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*NotFound) HasTitle

func (o *NotFound) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*NotFound) HasType

func (o *NotFound) HasType() bool

HasType returns a boolean if a field has been set.

func (*NotFound) SetName

func (o *NotFound) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*NotFound) SetStatus

func (o *NotFound) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*NotFound) SetTitle

func (o *NotFound) SetTitle(v string)

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

func (*NotFound) SetType

func (o *NotFound) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type NullableAccessToken

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

func NewNullableAccessToken

func NewNullableAccessToken(val *AccessToken) *NullableAccessToken

func (NullableAccessToken) Get

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 (NullableAdditionalBadRequestErrors) IsSet added in v1.3.0

func (*NullableAdditionalBadRequestErrors) Set added in v1.3.0

func (*NullableAdditionalBadRequestErrors) Unset added in v1.3.0

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 (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 (NullableAnalyticsPlays400Error) IsSet added in v1.3.0

func (*NullableAnalyticsPlays400Error) Set added in v1.3.0

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 (NullableAnalyticsPlaysResponse) IsSet added in v1.3.0

func (*NullableAnalyticsPlaysResponse) Set added in v1.3.0

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 (NullableAuthenticatePayload) IsSet

func (*NullableAuthenticatePayload) Set

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 (NullableCaptionsListResponse) IsSet

func (*NullableCaptionsListResponse) Set

func (*NullableCaptionsListResponse) Unset

func (v *NullableCaptionsListResponse) Unset()

type NullableCaptionsUpdatePayload

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

func (NullableCaptionsUpdatePayload) Get

func (NullableCaptionsUpdatePayload) IsSet

func (*NullableCaptionsUpdatePayload) Set

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 (NullableChaptersListResponse) IsSet

func (*NullableChaptersListResponse) Set

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 struct {
	// contains filtered or unexported fields
}
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 (NullableLiveStreamAssets) IsSet

func (v NullableLiveStreamAssets) IsSet() bool

func (*NullableLiveStreamAssets) Set

func (*NullableLiveStreamAssets) Unset

func (v *NullableLiveStreamAssets) Unset()

type NullableLiveStreamCreationPayload

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

func (NullableLiveStreamCreationPayload) Get

func (NullableLiveStreamCreationPayload) IsSet

func (*NullableLiveStreamCreationPayload) Set

func (*NullableLiveStreamCreationPayload) Unset

type NullableLiveStreamListResponse

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

func (NullableLiveStreamListResponse) Get

func (NullableLiveStreamListResponse) IsSet

func (*NullableLiveStreamListResponse) Set

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 (NullableLiveStreamSession) IsSet

func (v NullableLiveStreamSession) IsSet() bool

func (*NullableLiveStreamSession) Set

func (*NullableLiveStreamSession) Unset

func (v *NullableLiveStreamSession) Unset()

type NullableLiveStreamSessionClient

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

func (NullableLiveStreamSessionClient) Get

func (NullableLiveStreamSessionClient) IsSet

func (*NullableLiveStreamSessionClient) Set

func (*NullableLiveStreamSessionClient) Unset

type NullableLiveStreamSessionDevice

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

func (NullableLiveStreamSessionDevice) Get

func (NullableLiveStreamSessionDevice) IsSet

func (*NullableLiveStreamSessionDevice) Set

func (*NullableLiveStreamSessionDevice) Unset

type NullableLiveStreamSessionLocation

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

func (NullableLiveStreamSessionLocation) Get

func (NullableLiveStreamSessionLocation) IsSet

func (*NullableLiveStreamSessionLocation) Set

func (*NullableLiveStreamSessionLocation) Unset

type NullableLiveStreamSessionReferrer

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

func (NullableLiveStreamSessionReferrer) Get

func (NullableLiveStreamSessionReferrer) IsSet

func (*NullableLiveStreamSessionReferrer) Set

func (*NullableLiveStreamSessionReferrer) Unset

type NullableLiveStreamSessionSession

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

func (NullableLiveStreamSessionSession) Get

func (NullableLiveStreamSessionSession) IsSet

func (*NullableLiveStreamSessionSession) Set

func (*NullableLiveStreamSessionSession) Unset

type NullableLiveStreamUpdatePayload

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

func (NullableLiveStreamUpdatePayload) Get

func (NullableLiveStreamUpdatePayload) IsSet

func (*NullableLiveStreamUpdatePayload) Set

func (*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 (NullableModel403ErrorSchema) IsSet added in v1.3.0

func (*NullableModel403ErrorSchema) Set added in v1.3.0

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 struct {
	// contains filtered or unexported fields
}
func NewNullablePaginationLink(val *PaginationLink) *NullablePaginationLink

func (NullablePaginationLink) Get

func (NullablePaginationLink) IsSet

func (v NullablePaginationLink) IsSet() bool

func (*NullablePaginationLink) Set

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 (NullablePlayerSessionEvent) IsSet

func (v NullablePlayerSessionEvent) IsSet() bool

func (*NullablePlayerSessionEvent) Set

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 (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 (NullablePlayerThemeAssets) IsSet

func (v NullablePlayerThemeAssets) IsSet() bool

func (*NullablePlayerThemeAssets) Set

func (*NullablePlayerThemeAssets) Unset

func (v *NullablePlayerThemeAssets) Unset()

type NullablePlayerThemeCreationPayload

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

func (NullablePlayerThemeCreationPayload) Get

func (NullablePlayerThemeCreationPayload) IsSet

func (*NullablePlayerThemeCreationPayload) Set

func (*NullablePlayerThemeCreationPayload) Unset

type NullablePlayerThemeUpdatePayload

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

func (NullablePlayerThemeUpdatePayload) Get

func (NullablePlayerThemeUpdatePayload) IsSet

func (*NullablePlayerThemeUpdatePayload) Set

func (*NullablePlayerThemeUpdatePayload) Unset

type NullablePlayerThemesListResponse

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

func (NullablePlayerThemesListResponse) Get

func (NullablePlayerThemesListResponse) IsSet

func (*NullablePlayerThemesListResponse) Set

func (*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 (NullableRefreshTokenPayload) IsSet

func (*NullableRefreshTokenPayload) Set

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 (NullableRestreamsRequestObject) IsSet added in v1.3.0

func (*NullableRestreamsRequestObject) Set added in v1.3.0

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 (NullableRestreamsResponseObject) IsSet added in v1.3.0

func (*NullableRestreamsResponseObject) Set added in v1.3.0

func (*NullableRestreamsResponseObject) Unset added in v1.3.0

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 (NullableTokenCreationPayload) IsSet

func (*NullableTokenCreationPayload) Set

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 (NullableTokenListResponse) IsSet

func (v NullableTokenListResponse) IsSet() bool

func (*NullableTokenListResponse) Set

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 (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 (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 (NullableVideoCreationPayload) IsSet

func (*NullableVideoCreationPayload) Set

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 (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 (NullableVideoSessionClient) IsSet

func (v NullableVideoSessionClient) IsSet() bool

func (*NullableVideoSessionClient) Set

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 (NullableVideoSessionDevice) IsSet

func (v NullableVideoSessionDevice) IsSet() bool

func (*NullableVideoSessionDevice) Set

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 (NullableVideoSessionLocation) IsSet

func (*NullableVideoSessionLocation) Set

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 (NullableVideoSessionOs) IsSet

func (v NullableVideoSessionOs) IsSet() bool

func (*NullableVideoSessionOs) Set

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 (NullableVideoSessionReferrer) IsSet

func (*NullableVideoSessionReferrer) Set

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 (NullableVideoSessionSession) IsSet

func (*NullableVideoSessionSession) Set

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 (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 (NullableVideoSourceLiveStream) Get

func (NullableVideoSourceLiveStream) IsSet

func (*NullableVideoSourceLiveStream) Set

func (*NullableVideoSourceLiveStream) Unset

func (v *NullableVideoSourceLiveStream) Unset()
type NullableVideoSourceLiveStreamLink struct {
	// contains filtered or unexported fields
}

func (NullableVideoSourceLiveStreamLink) Get

func (NullableVideoSourceLiveStreamLink) IsSet

func (*NullableVideoSourceLiveStreamLink) Set

func (*NullableVideoSourceLiveStreamLink) Unset

type NullableVideoStatus

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

func NewNullableVideoStatus

func NewNullableVideoStatus(val *VideoStatus) *NullableVideoStatus

func (NullableVideoStatus) Get

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 (NullableVideoStatusEncoding) IsSet

func (*NullableVideoStatusEncoding) Set

func (*NullableVideoStatusEncoding) Unset

func (v *NullableVideoStatusEncoding) Unset()

type NullableVideoStatusEncodingMetadata

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

func (NullableVideoStatusEncodingMetadata) Get

func (NullableVideoStatusEncodingMetadata) IsSet

func (*NullableVideoStatusEncodingMetadata) Set

func (*NullableVideoStatusEncodingMetadata) Unset

type NullableVideoStatusIngest

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

func NewNullableVideoStatusIngest

func NewNullableVideoStatusIngest(val *VideoStatusIngest) *NullableVideoStatusIngest

func (NullableVideoStatusIngest) Get

func (NullableVideoStatusIngest) IsSet

func (v NullableVideoStatusIngest) IsSet() bool

func (*NullableVideoStatusIngest) Set

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 (NullableVideoStatusIngestReceivedParts) IsSet added in v1.2.3

func (*NullableVideoStatusIngestReceivedParts) Set added in v1.2.3

func (*NullableVideoStatusIngestReceivedParts) Unset added in v1.2.3

type NullableVideoThumbnailPickPayload

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

func (NullableVideoThumbnailPickPayload) Get

func (NullableVideoThumbnailPickPayload) IsSet

func (*NullableVideoThumbnailPickPayload) Set

func (*NullableVideoThumbnailPickPayload) Unset

type NullableVideoUpdatePayload

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

func NewNullableVideoUpdatePayload

func NewNullableVideoUpdatePayload(val *VideoUpdatePayload) *NullableVideoUpdatePayload

func (NullableVideoUpdatePayload) Get

func (NullableVideoUpdatePayload) IsSet

func (v NullableVideoUpdatePayload) IsSet() bool

func (*NullableVideoUpdatePayload) Set

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 (NullableVideoWatermark) IsSet added in v1.2.0

func (v NullableVideoWatermark) IsSet() bool

func (*NullableVideoWatermark) Set added in v1.2.0

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 (NullableVideosListResponse) IsSet

func (v NullableVideosListResponse) IsSet() bool

func (*NullableVideosListResponse) Set

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 (NullableWatermarksListResponse) IsSet added in v1.2.0

func (*NullableWatermarksListResponse) Set added in v1.2.0

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 (NullableWebhooksCreationPayload) Get

func (NullableWebhooksCreationPayload) IsSet

func (*NullableWebhooksCreationPayload) Set

func (*NullableWebhooksCreationPayload) Unset

type NullableWebhooksListResponse

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

func NewNullableWebhooksListResponse

func NewNullableWebhooksListResponse(val *WebhooksListResponse) *NullableWebhooksListResponse

func (NullableWebhooksListResponse) Get

func (NullableWebhooksListResponse) IsSet

func (*NullableWebhooksListResponse) Set

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 (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 (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 struct {
	Rel *string `json:"rel,omitempty"`
	Uri *string `json:"uri,omitempty"`
}

PaginationLink struct for PaginationLink

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 (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 (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 (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 {
	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 (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 (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 (o *PlayerThemeAssets) HasLink() bool

HasLink returns a boolean if a field has been set.

func (o *PlayerThemeAssets) HasLogo() bool

HasLogo returns a boolean if a field has been set.

func (o *PlayerThemeAssets) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

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 (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 (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 (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 (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 (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 (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 (PlayerThemesApiListRequest) SortBy

func (PlayerThemesApiListRequest) SortOrder

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 (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 (*PlayerThemesService) ListWithContext

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


	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

func (o *Quality) GetQuality() string

GetQuality returns the Quality field value if set, zero value otherwise.

func (*Quality) GetQualityOk

func (o *Quality) GetQualityOk() (*string, bool)

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

func (o *Quality) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Quality) GetStatusOk

func (o *Quality) 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 (*Quality) GetType

func (o *Quality) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Quality) GetTypeOk

func (o *Quality) 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 (*Quality) HasQuality

func (o *Quality) HasQuality() bool

HasQuality returns a boolean if a field has been set.

func (*Quality) HasStatus

func (o *Quality) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Quality) HasType

func (o *Quality) HasType() bool

HasType returns a boolean if a field has been set.

func (*Quality) SetQuality

func (o *Quality) SetQuality(v string)

SetQuality gets a reference to the given string and assigns it to the Quality field.

func (*Quality) SetStatus

func (o *Quality) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Quality) SetType

func (o *Quality) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type 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 (s *UploadStream) UploadAPart(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64, isLast bool) (*Video, error)

func (*UploadStream) UploadLastPart

func (s *UploadStream) UploadLastPart(fileName string, fileReader io.Reader, fileSize int64) (*Video, error)

func (*UploadStream) UploadLastPartFile

func (s *UploadStream) UploadLastPartFile(file *os.File) (*Video, error)

func (*UploadStream) UploadLastPartWithContext

func (s *UploadStream) UploadLastPartWithContext(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)

func (*UploadStream) UploadLastPartWithContextFile

func (s *UploadStream) UploadLastPartWithContextFile(ctx context.Context, file *os.File) (*Video, error)

func (*UploadStream) UploadPart

func (s *UploadStream) UploadPart(fileName string, fileReader io.Reader, fileSize int64) (*Video, error)

func (*UploadStream) UploadPartFile

func (s *UploadStream) UploadPartFile(file *os.File) (*Video, error)

func (*UploadStream) UploadPartWithContext

func (s *UploadStream) UploadPartWithContext(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)

func (*UploadStream) UploadPartWithContextFile

func (s *UploadStream) UploadPartWithContextFile(ctx context.Context, file *os.File) (*Video, error)

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 (UploadTokensApiListRequest) SortBy

func (UploadTokensApiListRequest) SortOrder

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 (*UploadTokensService) ListWithContext

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 (s *UploadWithUploadTokenStream) UploadAPart(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64, isLast bool) (*Video, error)

func (*UploadWithUploadTokenStream) UploadLastPart

func (s *UploadWithUploadTokenStream) UploadLastPart(fileName string, fileReader io.Reader, fileSize int64) (*Video, error)

func (*UploadWithUploadTokenStream) UploadLastPartFile

func (s *UploadWithUploadTokenStream) UploadLastPartFile(file *os.File) (*Video, error)

func (*UploadWithUploadTokenStream) UploadLastPartWithContext

func (s *UploadWithUploadTokenStream) UploadLastPartWithContext(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)

func (*UploadWithUploadTokenStream) UploadLastPartWithContextFile

func (s *UploadWithUploadTokenStream) UploadLastPartWithContextFile(ctx context.Context, file *os.File) (*Video, error)

func (*UploadWithUploadTokenStream) UploadPart

func (s *UploadWithUploadTokenStream) UploadPart(fileName string, fileReader io.Reader, fileSize int64) (*Video, error)

func (*UploadWithUploadTokenStream) UploadPartFile

func (s *UploadWithUploadTokenStream) UploadPartFile(file *os.File) (*Video, error)

func (*UploadWithUploadTokenStream) UploadPartWithContext

func (s *UploadWithUploadTokenStream) UploadPartWithContext(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64) (*Video, error)

func (*UploadWithUploadTokenStream) UploadPartWithContextFile

func (s *UploadWithUploadTokenStream) UploadPartWithContextFile(ctx context.Context, file *os.File) (*Video, error)

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

func NewVideo(videoId string) *Video

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

func (o *Video) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Video) GetCreatedAtOk

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

func (o *Video) GetDescription() string

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

func (*Video) GetDescriptionOk

func (o *Video) 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 (*Video) GetMetadata

func (o *Video) GetMetadata() []Metadata

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*Video) GetMetadataOk

func (o *Video) 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 (*Video) GetMp4Support

func (o *Video) GetMp4Support() bool

GetMp4Support returns the Mp4Support field value if set, zero value otherwise.

func (*Video) GetMp4SupportOk

func (o *Video) 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 (*Video) GetPanoramic

func (o *Video) GetPanoramic() bool

GetPanoramic returns the Panoramic field value if set, zero value otherwise.

func (*Video) GetPanoramicOk

func (o *Video) 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 (*Video) GetPlayerId

func (o *Video) GetPlayerId() string

GetPlayerId returns the PlayerId field value if set, zero value otherwise.

func (*Video) GetPlayerIdOk

func (o *Video) 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 (*Video) GetPublic

func (o *Video) GetPublic() bool

GetPublic returns the Public field value if set, zero value otherwise.

func (*Video) GetPublicOk

func (o *Video) 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 (*Video) GetPublishedAt

func (o *Video) GetPublishedAt() string

GetPublishedAt returns the PublishedAt field value if set, zero value otherwise.

func (*Video) GetPublishedAtOk

func (o *Video) GetPublishedAtOk() (*string, bool)

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

func (o *Video) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Video) GetTagsOk

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

func (o *Video) GetTitle() string

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

func (*Video) GetTitleOk

func (o *Video) 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 (*Video) GetUpdatedAt

func (o *Video) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Video) GetUpdatedAtOk

func (o *Video) 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 (*Video) GetVideoId

func (o *Video) GetVideoId() string

GetVideoId returns the VideoId field value

func (*Video) GetVideoIdOk

func (o *Video) GetVideoIdOk() (*string, bool)

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

func (*Video) HasAssets

func (o *Video) HasAssets() bool

HasAssets returns a boolean if a field has been set.

func (*Video) HasCreatedAt

func (o *Video) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Video) HasDescription

func (o *Video) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Video) HasMetadata

func (o *Video) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Video) HasMp4Support

func (o *Video) HasMp4Support() bool

HasMp4Support returns a boolean if a field has been set.

func (*Video) HasPanoramic

func (o *Video) HasPanoramic() bool

HasPanoramic returns a boolean if a field has been set.

func (*Video) HasPlayerId

func (o *Video) HasPlayerId() bool

HasPlayerId returns a boolean if a field has been set.

func (*Video) HasPublic

func (o *Video) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*Video) HasPublishedAt

func (o *Video) HasPublishedAt() bool

HasPublishedAt returns a boolean if a field has been set.

func (*Video) HasSource

func (o *Video) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*Video) HasTags

func (o *Video) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Video) HasTitle added in v1.2.0

func (o *Video) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Video) HasUpdatedAt

func (o *Video) HasUpdatedAt() bool

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

func (o *Video) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*Video) SetDescription

func (o *Video) SetDescription(v string)

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

func (*Video) SetMetadata

func (o *Video) SetMetadata(v []Metadata)

SetMetadata gets a reference to the given []Metadata and assigns it to the Metadata field.

func (*Video) SetMp4Support

func (o *Video) SetMp4Support(v bool)

SetMp4Support gets a reference to the given bool and assigns it to the Mp4Support field.

func (*Video) SetPanoramic

func (o *Video) SetPanoramic(v bool)

SetPanoramic gets a reference to the given bool and assigns it to the Panoramic field.

func (*Video) SetPlayerId

func (o *Video) SetPlayerId(v string)

SetPlayerId gets a reference to the given string and assigns it to the PlayerId field.

func (*Video) SetPublic

func (o *Video) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public field.

func (*Video) SetPublishedAt

func (o *Video) SetPublishedAt(v string)

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

func (o *Video) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Video) SetTitle

func (o *Video) SetTitle(v string)

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

func (*Video) SetUpdatedAt

func (o *Video) SetUpdatedAt(v string)

SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.

func (*Video) SetVideoId

func (o *Video) SetVideoId(v string)

SetVideoId sets field value

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

func (o *VideoClip) GetEndTimecode() string

GetEndTimecode returns the EndTimecode field value if set, zero value otherwise.

func (*VideoClip) GetEndTimecodeOk added in v1.2.0

func (o *VideoClip) GetEndTimecodeOk() (*string, bool)

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

func (o *VideoClip) GetStartTimecode() string

GetStartTimecode returns the StartTimecode field value if set, zero value otherwise.

func (*VideoClip) GetStartTimecodeOk added in v1.2.0

func (o *VideoClip) GetStartTimecodeOk() (*string, bool)

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

func (o *VideoClip) HasEndTimecode() bool

HasEndTimecode returns a boolean if a field has been set.

func (*VideoClip) HasStartTimecode added in v1.2.0

func (o *VideoClip) HasStartTimecode() bool

HasStartTimecode returns a boolean if a field has been set.

func (*VideoClip) SetEndTimecode added in v1.2.0

func (o *VideoClip) SetEndTimecode(v string)

SetEndTimecode gets a reference to the given string and assigns it to the EndTimecode field.

func (*VideoClip) SetStartTimecode added in v1.2.0

func (o *VideoClip) SetStartTimecode(v string)

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

GetLinks returns the Links field value if set, zero value otherwise.

func (*VideoSourceLiveStream) GetLinksOk

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 (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.

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 struct {
	Rel *string `json:"rel,omitempty"`
	Uri *string `json:"uri,omitempty"`
}

VideoSourceLiveStreamLink struct for VideoSourceLiveStreamLink

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

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

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 (VideosApiListRequest) SortOrder

func (r VideosApiListRequest) SortOrder(sortOrder string) VideosApiListRequest

func (VideosApiListRequest) Tags

func (VideosApiListRequest) Title

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

func (s *VideosService) Get(videoId string) (*Video, 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 (s *VideosService) GetWithContext(ctx context.Context, videoId string) (*Video, error)

func (*VideosService) List

func (*VideosService) ListWithContext

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 (s *VideosService) UploadFile(videoId string, file *os.File) (*Video, error)

func (*VideosService) UploadFileWithContext

func (s *VideosService) UploadFileWithContext(ctx context.Context, videoId string, file *os.File) (*Video, error)

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 (s *VideosService) UploadThumbnailFile(videoId string, file *os.File) (*Video, error)

func (*VideosService) UploadThumbnailFileWithContext

func (s *VideosService) UploadThumbnailFileWithContext(ctx context.Context, videoId string, file *os.File) (*Video, error)

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 (s *VideosService) UploadWithUploadTokenFile(token string, file *os.File) (*Video, error)

func (*VideosService) UploadWithUploadTokenFileWithContext

func (s *VideosService) UploadWithUploadTokenFileWithContext(ctx context.Context, token string, file *os.File) (*Video, error)

func (*VideosService) UploadWithUploadTokenFileWithContextAndVideoId added in v1.3.0

func (s *VideosService) UploadWithUploadTokenFileWithContextAndVideoId(ctx context.Context, videoId *string, token string, file *os.File) (*Video, error)

func (*VideosService) UploadWithUploadTokenFileWithVideoId added in v1.3.0

func (s *VideosService) UploadWithUploadTokenFileWithVideoId(videoId *string, token string, file *os.File) (*Video, error)

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

func (o *Watermark) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Watermark) GetCreatedAtOk added in v1.2.0

func (o *Watermark) 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 (*Watermark) GetWatermarkId added in v1.2.0

func (o *Watermark) GetWatermarkId() string

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

func (*Watermark) GetWatermarkIdOk added in v1.2.0

func (o *Watermark) GetWatermarkIdOk() (*string, bool)

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

func (*Watermark) HasCreatedAt added in v1.2.0

func (o *Watermark) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Watermark) HasWatermarkId added in v1.2.0

func (o *Watermark) HasWatermarkId() bool

HasWatermarkId returns a boolean if a field has been set.

func (*Watermark) SetCreatedAt added in v1.2.0

func (o *Watermark) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*Watermark) SetWatermarkId added in v1.2.0

func (o *Watermark) SetWatermarkId(v string)

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 (WatermarksApiListRequest) SortBy added in v1.2.0

func (WatermarksApiListRequest) SortOrder added in v1.2.0

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 (*WatermarksService) ListWithContext added in v1.2.0

func (*WatermarksService) Upload added in v1.2.0

func (s *WatermarksService) Upload(fileName string, fileReader io.Reader) (*Watermark, error)

* 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 (s *WatermarksService) UploadFileWithContext(ctx context.Context, file *os.File) (*Watermark, error)

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

func (o *Webhook) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Webhook) GetCreatedAtOk

func (o *Webhook) 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 (*Webhook) GetEvents

func (o *Webhook) GetEvents() []string

GetEvents returns the Events field value if set, zero value otherwise.

func (*Webhook) GetEventsOk

func (o *Webhook) GetEventsOk() (*[]string, bool)

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

func (o *Webhook) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Webhook) GetUrlOk

func (o *Webhook) 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 (*Webhook) GetWebhookId

func (o *Webhook) GetWebhookId() string

GetWebhookId returns the WebhookId field value if set, zero value otherwise.

func (*Webhook) GetWebhookIdOk

func (o *Webhook) GetWebhookIdOk() (*string, bool)

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

func (o *Webhook) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Webhook) HasEvents

func (o *Webhook) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*Webhook) HasUrl

func (o *Webhook) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*Webhook) HasWebhookId

func (o *Webhook) HasWebhookId() bool

HasWebhookId returns a boolean if a field has been set.

func (*Webhook) SetCreatedAt

func (o *Webhook) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*Webhook) SetEvents

func (o *Webhook) SetEvents(v []string)

SetEvents gets a reference to the given []string and assigns it to the Events field.

func (*Webhook) SetUrl

func (o *Webhook) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*Webhook) SetWebhookId

func (o *Webhook) SetWebhookId(v string)

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 (WebhooksApiListRequest) PageSize

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

func (s *WebhooksService) Get(webhookId string) (*Webhook, error)

func (*WebhooksService) GetWithContext

func (s *WebhooksService) GetWithContext(ctx context.Context, webhookId string) (*Webhook, error)

func (*WebhooksService) List

func (*WebhooksService) ListWithContext

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

Jump to

Keyboard shortcuts

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