aiozstreamsdk

package module
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2025 License: MIT Imports: 20 Imported by: 0

README

AIOZ Stream Go client

AIOZ Stream 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.

Project description

AIOZ Stream'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/AIOZNetwork/aioz-stream-go-client

Code sample

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


import (
	"context"
	"fmt"
	"os"
 
	aiozstreamsdk "github.com/AIOZNetwork/aioz-stream-go-client"
)
 
func main() {
    // Connect to production environment
    publicKey := "YOUR_PUBLIC_KEY" // Replace with your public key
    secretKey := "YOUR_SECRET_KEY" // Replace with your actual API secret key
	apiCreds := aiozstreamsdk.AuthCredentials{
		PublicKey: publicKey,
		SecretKey: secretKey,
	}
    client := aiozstreamsdk.ClientBuilder(apiCreds).Build()
 
    // Create a video object
	title := "Sample Video Title"
	videoData := aiozstreamsdk.CreateVideoRequest{
		Title: &title,
	}
	createResult, err := client.Video.Create(videoData)
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error creating video: %v\n", err)
		return
	}
 
    videoId := createResult.Data.Id // Get the video ID from the response
 
    // Open the video file
    videoFile, err := os.Open("./path/to/video.mp4")
    if err != nil {
        fmt.Println("Error opening video file:", err)
        return
    }
    defer videoFile.Close() // Close the file after use
 
    fileInfo, err := videoFile.Stat()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error getting file info: %v\n", err)
        return
    }
 
    fileSize := fileInfo.Size()
    fileName := fileInfo.Name()
 
    // Option 1: Use client upload with videoId
	err = client.UploadVideo(context.Background(), *videoId, fileName, videoFile, fileSize)
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error uploading video with client: %v\n", err)
		return
	}
 
    // Option 2: Upload parts yourself
    // This example is commented out as you already used option 1
	//_, err = client.Video.UploadPart(*videoId, nil, nil, "./path/to/video.mp4", videoFile, fileInfo.Size())
	//if err != nil {
	//	fmt.Fprintf(os.Stderr, "Error uploading video part: %v\n", err)
	//	return
	//}
	//
	//success, err := client.Video.UploadVideoComplete(*videoId)
	//if err != nil {
	//	fmt.Fprintf(os.Stderr, "Error completing video upload: %v\n", err)
	//	return
	//}
	//
	//jsonString, err := json.MarshalIndent(success, "", "  ")
	//if err != nil {
	//	fmt.Fprintf(os.Stderr, "Error marshalling response: %v\n", err)
	//	return
	//}
	//fmt.Println(string(jsonString))
    fmt.Println("Video uploaded successfully!")
}

Documentation

API endpoints

All urls are relative to https://api.aiozstream.network/api

ApiKey
Retrieve an instance of the ApiKey API:
secretKey := "YOUR_SECRET_KEY" // Replace with your actual secret key
publicKey := "YOUR_PUBLIC_KEY" // Replace with your public key
apiCreds := aiozstreamsdk.AuthCredentials{
	PublicKey: publicKey,
	SecretKey: secretKey,
}
client := aiozstreamsdk.ClientBuilder(apiCreds).Build()
apiKeyApi := client.ApiKey
Endpoints
Method HTTP request Description
Create Post /api_keys Create API key
Update Patch /api_keys/{id} Rename api key
Delete Delete /api_keys/{id} Delete API key
List Get /api_keys Get list API keys
Players
Retrieve an instance of the Players API:
secretKey := "YOUR_SECRET_KEY" // Replace with your actual secret key
publicKey := "YOUR_PUBLIC_KEY" // Replace with your public key
apiCreds := aiozstreamsdk.AuthCredentials{
	PublicKey: publicKey,
	SecretKey: secretKey,
}
client := aiozstreamsdk.ClientBuilder(apiCreds).Build()
playersApi := client.Players
Endpoints
Method HTTP request Description
Create Post /players Create a player theme
Get Get /players/{id} Get a player theme by ID
Update Patch /players/{id} Update a player theme by ID
Delete Delete /players/{id} Delete a player theme by ID
List Get /players List all player themes
UploadLogo Post /players/{id}/logo Upload a logo for a player theme by ID
DeleteLogo Delete /players/{id}/logo Delete a logo for a player theme by ID
AddPlayer Post /players/add-player Add a player theme to a video
RemovePlayer Post /players/remove-player Remove a player theme from a video
Playlist
Retrieve an instance of the Playlist API:
secretKey := "YOUR_SECRET_KEY" // Replace with your actual secret key
publicKey := "YOUR_PUBLIC_KEY" // Replace with your public key
apiCreds := aiozstreamsdk.AuthCredentials{
	PublicKey: publicKey,
	SecretKey: secretKey,
}
client := aiozstreamsdk.ClientBuilder(apiCreds).Build()
playlistApi := client.Playlist
Endpoints
Method HTTP request Description
AddVideoToPlaylist Post /playlists/{id}/items Add a video to a playlist
CreatePlaylist Post /playlists/create Create a playlist
DeletePlaylistById Delete /playlists/{id} Delete a playlist by ID
DeletePlaylistThumbnail Delete /playlists/{id}/thumbnail Delete a playlist thumbnail
GetPlaylistById Get /playlists/{id} Get playlist by ID
GetPlaylistPublicInfo Get /playlists/{id}/player.json Get a playlist public
GetPlaylists Post /playlists Get user's playlists
MoveVideoInPlaylist Put /playlists/{id}/items Move a video in a playlist
RemoveVideoFromPlaylist Delete /playlists/{id}/items/{item_id} Remove a video from a playlist
UpdatePlaylist Patch /playlists/{id} Update a playlist
Video
Retrieve an instance of the Video API:
secretKey := "YOUR_SECRET_KEY" // Replace with your actual secret key
publicKey := "YOUR_PUBLIC_KEY" // Replace with your public key
apiCreds := aiozstreamsdk.AuthCredentials{
	PublicKey: publicKey,
	SecretKey: secretKey,
}
client := aiozstreamsdk.ClientBuilder(apiCreds).Build()
videoApi := client.Video
Endpoints
Method HTTP request Description
Create Post /videos/create Create video object
Update Patch /videos/{id} update video info
Delete Delete /videos/{id} Delete video
UploadThumbnail Post /videos/{id}/thumbnail Upload video thumbnail
DeleteThumbnail Delete /videos/{id}/thumbnail Delete video thumbnail
CreateCaption Post /videos/{id}/captions/{lan} Create a new video caption
DeleteCaption Delete /videos/{id}/captions/{lan} Delete a video caption
GetCaptions Get /videos/{id}/captions Get video captions
GetCost Get /videos/cost get video transcoding cost
GetDetail Get /videos/{id} get video detail
GetVideoList Post /videos Get user videos list
GetVideoPlayerInfo Get /videos/{id}/player.json Get video object
SetDefaultCaption Patch /videos/{id}/captions/{lan} Set default caption
UploadPart Post /videos/{id}/part Upload part of video
UploadVideoComplete Get /videos/{id}/complete Get upload video when complete
VideoChapter
Retrieve an instance of the VideoChapter API:
secretKey := "YOUR_SECRET_KEY" // Replace with your actual secret key
publicKey := "YOUR_PUBLIC_KEY" // Replace with your public key
apiCreds := aiozstreamsdk.AuthCredentials{
	PublicKey: publicKey,
	SecretKey: secretKey,
}
client := aiozstreamsdk.ClientBuilder(apiCreds).Build()
videoChapterApi := client.VideoChapter
Endpoints
Method HTTP request Description
Create Post /videos/{id}/chapters/{lan} Create a video chapter
Get Get /videos/{id}/chapters Get video chapters
Delete Delete /videos/{id}/chapters/{lan} Delete a video chapter
Webhook
Retrieve an instance of the Webhook API:
secretKey := "YOUR_SECRET_KEY" // Replace with your actual secret key
publicKey := "YOUR_PUBLIC_KEY" // Replace with your public key
apiCreds := aiozstreamsdk.AuthCredentials{
	PublicKey: publicKey,
	SecretKey: secretKey,
}
client := aiozstreamsdk.ClientBuilder(apiCreds).Build()
webhookApi := client.Webhook
Endpoints
Method HTTP request Description
Create Post /webhooks Create webhook
Get Get /webhooks/{id} Get user's webhook by id
Update Patch /webhooks/{id} Update event webhook
Delete Delete /webhooks/{id} Delete webhook
List Get /webhooks Get list webhooks
Check Post /webhooks/check/{id} Check webhook by id

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!

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 AddPlayerThemesToVideoRequest

type AddPlayerThemesToVideoRequest struct {
	PlayerThemeId *string `json:"player_theme_id,omitempty"`
	VideoId       *string `json:"video_id,omitempty"`
}

AddPlayerThemesToVideoRequest struct for AddPlayerThemesToVideoRequest

func NewAddPlayerThemesToVideoRequest

func NewAddPlayerThemesToVideoRequest() *AddPlayerThemesToVideoRequest

NewAddPlayerThemesToVideoRequest instantiates a new AddPlayerThemesToVideoRequest 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 NewAddPlayerThemesToVideoRequestWithDefaults

func NewAddPlayerThemesToVideoRequestWithDefaults() *AddPlayerThemesToVideoRequest

NewAddPlayerThemesToVideoRequestWithDefaults instantiates a new AddPlayerThemesToVideoRequest 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 (*AddPlayerThemesToVideoRequest) GetPlayerThemeId

func (o *AddPlayerThemesToVideoRequest) GetPlayerThemeId() string

GetPlayerThemeId returns the PlayerThemeId field value if set, zero value otherwise.

func (*AddPlayerThemesToVideoRequest) GetPlayerThemeIdOk

func (o *AddPlayerThemesToVideoRequest) GetPlayerThemeIdOk() (*string, bool)

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

func (*AddPlayerThemesToVideoRequest) GetVideoId

func (o *AddPlayerThemesToVideoRequest) GetVideoId() string

GetVideoId returns the VideoId field value if set, zero value otherwise.

func (*AddPlayerThemesToVideoRequest) GetVideoIdOk

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

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

func (*AddPlayerThemesToVideoRequest) HasPlayerThemeId

func (o *AddPlayerThemesToVideoRequest) HasPlayerThemeId() bool

HasPlayerThemeId returns a boolean if a field has been set.

func (*AddPlayerThemesToVideoRequest) HasVideoId

func (o *AddPlayerThemesToVideoRequest) HasVideoId() bool

HasVideoId returns a boolean if a field has been set.

func (*AddPlayerThemesToVideoRequest) SetPlayerThemeId

func (o *AddPlayerThemesToVideoRequest) SetPlayerThemeId(v string)

SetPlayerThemeId gets a reference to the given string and assigns it to the PlayerThemeId field.

func (*AddPlayerThemesToVideoRequest) SetVideoId

func (o *AddPlayerThemesToVideoRequest) SetVideoId(v string)

SetVideoId gets a reference to the given string and assigns it to the VideoId field.

type AddVideoToPlaylistRequest

type AddVideoToPlaylistRequest struct {
	VideoId *string `json:"video_id,omitempty"`
}

AddVideoToPlaylistRequest struct for AddVideoToPlaylistRequest

func NewAddVideoToPlaylistRequest

func NewAddVideoToPlaylistRequest() *AddVideoToPlaylistRequest

NewAddVideoToPlaylistRequest instantiates a new AddVideoToPlaylistRequest 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 NewAddVideoToPlaylistRequestWithDefaults

func NewAddVideoToPlaylistRequestWithDefaults() *AddVideoToPlaylistRequest

NewAddVideoToPlaylistRequestWithDefaults instantiates a new AddVideoToPlaylistRequest 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 (*AddVideoToPlaylistRequest) GetVideoId

func (o *AddVideoToPlaylistRequest) GetVideoId() string

GetVideoId returns the VideoId field value if set, zero value otherwise.

func (*AddVideoToPlaylistRequest) GetVideoIdOk

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

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

func (*AddVideoToPlaylistRequest) HasVideoId

func (o *AddVideoToPlaylistRequest) HasVideoId() bool

HasVideoId returns a boolean if a field has been set.

func (*AddVideoToPlaylistRequest) SetVideoId

func (o *AddVideoToPlaylistRequest) SetVideoId(v string)

SetVideoId gets a reference to the given string and assigns it to the VideoId field.

type ApiKey

type ApiKey struct {
	CreatedAt       *string `json:"created_at,omitempty"`
	ExpiredAt       *string `json:"expired_at,omitempty"`
	Id              *string `json:"id,omitempty"`
	LastRequestedAt *string `json:"last_requested_at,omitempty"`
	Name            *string `json:"name,omitempty"`
	PublicKey       *string `json:"public_key,omitempty"`
	Secret          *string `json:"secret,omitempty"`
	TruncatedSecret *string `json:"truncated_secret,omitempty"`
	Ttl             *string `json:"ttl,omitempty"`
	Type            *string `json:"type,omitempty"`
	UpdatedAt       *string `json:"updated_at,omitempty"`
	User            *User   `json:"user,omitempty"`
}

ApiKey struct for ApiKey

func NewApiKey

func NewApiKey() *ApiKey

NewApiKey instantiates a new ApiKey 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 NewApiKeyWithDefaults

func NewApiKeyWithDefaults() *ApiKey

NewApiKeyWithDefaults instantiates a new ApiKey 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 (*ApiKey) GetCreatedAt

func (o *ApiKey) GetCreatedAt() string

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

func (*ApiKey) GetCreatedAtOk

func (o *ApiKey) 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 (*ApiKey) GetExpiredAt

func (o *ApiKey) GetExpiredAt() string

GetExpiredAt returns the ExpiredAt field value if set, zero value otherwise.

func (*ApiKey) GetExpiredAtOk

func (o *ApiKey) GetExpiredAtOk() (*string, bool)

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

func (*ApiKey) GetId

func (o *ApiKey) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ApiKey) GetIdOk

func (o *ApiKey) 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 (*ApiKey) GetLastRequestedAt added in v1.0.11

func (o *ApiKey) GetLastRequestedAt() string

GetLastRequestedAt returns the LastRequestedAt field value if set, zero value otherwise.

func (*ApiKey) GetLastRequestedAtOk added in v1.0.11

func (o *ApiKey) GetLastRequestedAtOk() (*string, bool)

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

func (*ApiKey) GetName

func (o *ApiKey) GetName() string

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

func (*ApiKey) GetNameOk

func (o *ApiKey) 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 (*ApiKey) GetPublicKey

func (o *ApiKey) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*ApiKey) GetPublicKeyOk

func (o *ApiKey) GetPublicKeyOk() (*string, bool)

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

func (*ApiKey) GetSecret

func (o *ApiKey) GetSecret() string

GetSecret returns the Secret field value if set, zero value otherwise.

func (*ApiKey) GetSecretOk

func (o *ApiKey) GetSecretOk() (*string, bool)

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

func (*ApiKey) GetTruncatedSecret

func (o *ApiKey) GetTruncatedSecret() string

GetTruncatedSecret returns the TruncatedSecret field value if set, zero value otherwise.

func (*ApiKey) GetTruncatedSecretOk

func (o *ApiKey) GetTruncatedSecretOk() (*string, bool)

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

func (*ApiKey) GetTtl

func (o *ApiKey) GetTtl() string

GetTtl returns the Ttl field value if set, zero value otherwise.

func (*ApiKey) GetTtlOk

func (o *ApiKey) GetTtlOk() (*string, 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 (*ApiKey) GetType

func (o *ApiKey) GetType() string

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

func (*ApiKey) GetTypeOk

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

func (o *ApiKey) GetUpdatedAt() string

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

func (*ApiKey) GetUpdatedAtOk

func (o *ApiKey) 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 (*ApiKey) GetUser added in v1.0.10

func (o *ApiKey) GetUser() User

GetUser returns the User field value if set, zero value otherwise.

func (*ApiKey) GetUserOk added in v1.0.10

func (o *ApiKey) GetUserOk() (*User, bool)

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

func (*ApiKey) HasCreatedAt

func (o *ApiKey) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ApiKey) HasExpiredAt

func (o *ApiKey) HasExpiredAt() bool

HasExpiredAt returns a boolean if a field has been set.

func (*ApiKey) HasId

func (o *ApiKey) HasId() bool

HasId returns a boolean if a field has been set.

func (*ApiKey) HasLastRequestedAt added in v1.0.11

func (o *ApiKey) HasLastRequestedAt() bool

HasLastRequestedAt returns a boolean if a field has been set.

func (*ApiKey) HasName

func (o *ApiKey) HasName() bool

HasName returns a boolean if a field has been set.

func (*ApiKey) HasPublicKey

func (o *ApiKey) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*ApiKey) HasSecret

func (o *ApiKey) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (*ApiKey) HasTruncatedSecret

func (o *ApiKey) HasTruncatedSecret() bool

HasTruncatedSecret returns a boolean if a field has been set.

func (*ApiKey) HasTtl

func (o *ApiKey) HasTtl() bool

HasTtl returns a boolean if a field has been set.

func (*ApiKey) HasType

func (o *ApiKey) HasType() bool

HasType returns a boolean if a field has been set.

func (*ApiKey) HasUpdatedAt

func (o *ApiKey) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*ApiKey) HasUser added in v1.0.10

func (o *ApiKey) HasUser() bool

HasUser returns a boolean if a field has been set.

func (*ApiKey) SetCreatedAt

func (o *ApiKey) SetCreatedAt(v string)

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

func (*ApiKey) SetExpiredAt

func (o *ApiKey) SetExpiredAt(v string)

SetExpiredAt gets a reference to the given string and assigns it to the ExpiredAt field.

func (*ApiKey) SetId

func (o *ApiKey) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ApiKey) SetLastRequestedAt added in v1.0.11

func (o *ApiKey) SetLastRequestedAt(v string)

SetLastRequestedAt gets a reference to the given string and assigns it to the LastRequestedAt field.

func (*ApiKey) SetName

func (o *ApiKey) SetName(v string)

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

func (*ApiKey) SetPublicKey

func (o *ApiKey) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*ApiKey) SetSecret

func (o *ApiKey) SetSecret(v string)

SetSecret gets a reference to the given string and assigns it to the Secret field.

func (*ApiKey) SetTruncatedSecret

func (o *ApiKey) SetTruncatedSecret(v string)

SetTruncatedSecret gets a reference to the given string and assigns it to the TruncatedSecret field.

func (*ApiKey) SetTtl

func (o *ApiKey) SetTtl(v string)

SetTtl gets a reference to the given string and assigns it to the Ttl field.

func (*ApiKey) SetType

func (o *ApiKey) SetType(v string)

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

func (*ApiKey) SetUpdatedAt

func (o *ApiKey) SetUpdatedAt(v string)

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

func (*ApiKey) SetUser added in v1.0.10

func (o *ApiKey) SetUser(v User)

SetUser gets a reference to the given User and assigns it to the User field.

type ApiKeyApiListRequest

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

func (ApiKeyApiListRequest) Limit

func (ApiKeyApiListRequest) Offset

func (ApiKeyApiListRequest) OrderBy

func (ApiKeyApiListRequest) Search

func (ApiKeyApiListRequest) SortBy

type ApiKeyService

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

ApiKeyService communicating with the ApiKey endpoints of the AIOZ Stream API

func (*ApiKeyService) Create

func (*ApiKeyService) CreateWithContext

func (s *ApiKeyService) CreateWithContext(ctx context.Context, request CreateApiKeyRequest) (*CreateApiKeyResponse, error)

func (*ApiKeyService) Delete

func (s *ApiKeyService) Delete(id string) (*ResponseSuccess, error)

func (*ApiKeyService) DeleteWithContext

func (s *ApiKeyService) DeleteWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

func (*ApiKeyService) List

func (*ApiKeyService) ListWithContext

func (*ApiKeyService) Update

func (s *ApiKeyService) Update(id string, request RenameAPIKeyRequest) (*ResponseSuccess, error)

func (*ApiKeyService) UpdateWithContext

func (s *ApiKeyService) UpdateWithContext(ctx context.Context, id string, request RenameAPIKeyRequest) (*ResponseSuccess, error)

type ApiKeyServiceI

type ApiKeyServiceI interface {
	Create(request CreateApiKeyRequest) (*CreateApiKeyResponse, error)

	CreateWithContext(ctx context.Context, request CreateApiKeyRequest) (*CreateApiKeyResponse, error)

	Update(id string, request RenameAPIKeyRequest) (*ResponseSuccess, error)

	UpdateWithContext(ctx context.Context, id string, request RenameAPIKeyRequest) (*ResponseSuccess, error)

	Delete(id string) (*ResponseSuccess, error)

	DeleteWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

	List(r ApiKeyApiListRequest) (*GetApiKeysResponse, error)

	ListWithContext(ctx context.Context, r ApiKeyApiListRequest) (*GetApiKeysResponse, error)
}

type Asset

type Asset struct {
	LogoImageLink *string `json:"logo_image_link,omitempty"`
	LogoLink      *string `json:"logo_link,omitempty"`
}

Asset struct for Asset

func NewAsset

func NewAsset() *Asset

NewAsset instantiates a new Asset 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 NewAssetWithDefaults

func NewAssetWithDefaults() *Asset

NewAssetWithDefaults instantiates a new Asset 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 *Asset) GetLogoImageLink() string

GetLogoImageLink returns the LogoImageLink field value if set, zero value otherwise.

func (*Asset) GetLogoImageLinkOk

func (o *Asset) GetLogoImageLinkOk() (*string, bool)

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

func (o *Asset) GetLogoLink() string

GetLogoLink returns the LogoLink field value if set, zero value otherwise.

func (*Asset) GetLogoLinkOk

func (o *Asset) GetLogoLinkOk() (*string, bool)

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

func (o *Asset) HasLogoImageLink() bool

HasLogoImageLink returns a boolean if a field has been set.

func (o *Asset) HasLogoLink() bool

HasLogoLink returns a boolean if a field has been set.

func (o *Asset) SetLogoImageLink(v string)

SetLogoImageLink gets a reference to the given string and assigns it to the LogoImageLink field.

func (o *Asset) SetLogoLink(v string)

SetLogoLink gets a reference to the given string and assigns it to the LogoLink field.

type AudioConfig added in v1.0.10

type AudioConfig struct {
	Bitrate    *int32  `json:"bitrate,omitempty"`
	Channels   *string `json:"channels,omitempty"`
	Codec      *string `json:"codec,omitempty"`
	Index      *int32  `json:"index,omitempty"`
	Language   *string `json:"language,omitempty"`
	SampleRate *int32  `json:"sample_rate,omitempty"`
}

AudioConfig struct for AudioConfig

func NewAudioConfig added in v1.0.10

func NewAudioConfig() *AudioConfig

NewAudioConfig instantiates a new AudioConfig 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 NewAudioConfigWithDefaults added in v1.0.10

func NewAudioConfigWithDefaults() *AudioConfig

NewAudioConfigWithDefaults instantiates a new AudioConfig 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 (*AudioConfig) GetBitrate added in v1.0.10

func (o *AudioConfig) GetBitrate() int32

GetBitrate returns the Bitrate field value if set, zero value otherwise.

func (*AudioConfig) GetBitrateOk added in v1.0.10

func (o *AudioConfig) GetBitrateOk() (*int32, 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.

func (*AudioConfig) GetChannels added in v1.0.10

func (o *AudioConfig) GetChannels() string

GetChannels returns the Channels field value if set, zero value otherwise.

func (*AudioConfig) GetChannelsOk added in v1.0.10

func (o *AudioConfig) GetChannelsOk() (*string, bool)

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

func (*AudioConfig) GetCodec added in v1.0.10

func (o *AudioConfig) GetCodec() string

GetCodec returns the Codec field value if set, zero value otherwise.

func (*AudioConfig) GetCodecOk added in v1.0.10

func (o *AudioConfig) GetCodecOk() (*string, bool)

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

func (*AudioConfig) GetIndex added in v1.0.10

func (o *AudioConfig) GetIndex() int32

GetIndex returns the Index field value if set, zero value otherwise.

func (*AudioConfig) GetIndexOk added in v1.0.10

func (o *AudioConfig) GetIndexOk() (*int32, bool)

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

func (*AudioConfig) GetLanguage added in v1.0.10

func (o *AudioConfig) GetLanguage() string

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

func (*AudioConfig) GetLanguageOk added in v1.0.10

func (o *AudioConfig) 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 (*AudioConfig) GetSampleRate added in v1.0.10

func (o *AudioConfig) GetSampleRate() int32

GetSampleRate returns the SampleRate field value if set, zero value otherwise.

func (*AudioConfig) GetSampleRateOk added in v1.0.10

func (o *AudioConfig) 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.

func (*AudioConfig) HasBitrate added in v1.0.10

func (o *AudioConfig) HasBitrate() bool

HasBitrate returns a boolean if a field has been set.

func (*AudioConfig) HasChannels added in v1.0.10

func (o *AudioConfig) HasChannels() bool

HasChannels returns a boolean if a field has been set.

func (*AudioConfig) HasCodec added in v1.0.10

func (o *AudioConfig) HasCodec() bool

HasCodec returns a boolean if a field has been set.

func (*AudioConfig) HasIndex added in v1.0.10

func (o *AudioConfig) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*AudioConfig) HasLanguage added in v1.0.10

func (o *AudioConfig) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*AudioConfig) HasSampleRate added in v1.0.10

func (o *AudioConfig) HasSampleRate() bool

HasSampleRate returns a boolean if a field has been set.

func (*AudioConfig) SetBitrate added in v1.0.10

func (o *AudioConfig) SetBitrate(v int32)

SetBitrate gets a reference to the given int32 and assigns it to the Bitrate field.

func (*AudioConfig) SetChannels added in v1.0.10

func (o *AudioConfig) SetChannels(v string)

SetChannels gets a reference to the given string and assigns it to the Channels field.

func (*AudioConfig) SetCodec added in v1.0.10

func (o *AudioConfig) SetCodec(v string)

SetCodec gets a reference to the given string and assigns it to the Codec field.

func (*AudioConfig) SetIndex added in v1.0.10

func (o *AudioConfig) SetIndex(v int32)

SetIndex gets a reference to the given int32 and assigns it to the Index field.

func (*AudioConfig) SetLanguage added in v1.0.10

func (o *AudioConfig) SetLanguage(v string)

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

func (*AudioConfig) SetSampleRate added in v1.0.10

func (o *AudioConfig) SetSampleRate(v int32)

SetSampleRate gets a reference to the given int32 and assigns it to the SampleRate field.

type AuthCredentials

type AuthCredentials struct {
	PublicKey   string `json:"public_key"`
	SecretKey   string `json:"secret_key"`
	BearerToken string `json:"bearer_token"`
}

type Builder

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

func ClientBuilder

func ClientBuilder(credentials AuthCredentials) *Builder

func (*Builder) ApplicationName

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

func (*Builder) ApplicationVersion

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

func (*Builder) BaseURL

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

func (*Builder) BearerToken

func (cb *Builder) BearerToken(token string) *Builder

func (*Builder) Build

func (cb *Builder) Build() *Client

func (*Builder) HTTPClient

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

func (*Builder) PublicKey

func (cb *Builder) PublicKey(secret string) *Builder

func (*Builder) SdkName

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

func (*Builder) SdkVersion

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

func (*Builder) SecretKey

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

func (*Builder) UploadChunkSize

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

type Client

type Client struct {
	BaseURL   *url.URL
	PublicKey string
	SecretKey string

	BearerToken string

	ApiKey       ApiKeyServiceI
	Players      PlayersServiceI
	Playlist     PlaylistServiceI
	Video        VideoServiceI
	VideoChapter VideoChapterServiceI
	Webhook      WebhookServiceI
	// contains filtered or unexported fields
}

func (*Client) ChunkSize

func (c *Client) ChunkSize(size int64)

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

func (*Client) UploadVideo

func (c *Client) UploadVideo(ctx context.Context, id string, fileName string, fileReader io.Reader, fileSize int64) error

type Controls

type Controls struct {
	EnableApi      *bool `json:"enable_api,omitempty"`
	EnableControls *bool `json:"enable_controls,omitempty"`
	ForceAutoplay  *bool `json:"force_autoplay,omitempty"`
	ForceLoop      *bool `json:"force_loop,omitempty"`
	HideTitle      *bool `json:"hide_title,omitempty"`
}

Controls struct for Controls

func NewControls

func NewControls() *Controls

NewControls instantiates a new Controls 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 NewControlsWithDefaults

func NewControlsWithDefaults() *Controls

NewControlsWithDefaults instantiates a new Controls 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 (*Controls) GetEnableApi

func (o *Controls) GetEnableApi() bool

GetEnableApi returns the EnableApi field value if set, zero value otherwise.

func (*Controls) GetEnableApiOk

func (o *Controls) 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 (*Controls) GetEnableControls

func (o *Controls) GetEnableControls() bool

GetEnableControls returns the EnableControls field value if set, zero value otherwise.

func (*Controls) GetEnableControlsOk

func (o *Controls) 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 (*Controls) GetForceAutoplay

func (o *Controls) GetForceAutoplay() bool

GetForceAutoplay returns the ForceAutoplay field value if set, zero value otherwise.

func (*Controls) GetForceAutoplayOk

func (o *Controls) 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 (*Controls) GetForceLoop

func (o *Controls) GetForceLoop() bool

GetForceLoop returns the ForceLoop field value if set, zero value otherwise.

func (*Controls) GetForceLoopOk

func (o *Controls) 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 (*Controls) GetHideTitle

func (o *Controls) GetHideTitle() bool

GetHideTitle returns the HideTitle field value if set, zero value otherwise.

func (*Controls) GetHideTitleOk

func (o *Controls) 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 (*Controls) HasEnableApi

func (o *Controls) HasEnableApi() bool

HasEnableApi returns a boolean if a field has been set.

func (*Controls) HasEnableControls

func (o *Controls) HasEnableControls() bool

HasEnableControls returns a boolean if a field has been set.

func (*Controls) HasForceAutoplay

func (o *Controls) HasForceAutoplay() bool

HasForceAutoplay returns a boolean if a field has been set.

func (*Controls) HasForceLoop

func (o *Controls) HasForceLoop() bool

HasForceLoop returns a boolean if a field has been set.

func (*Controls) HasHideTitle

func (o *Controls) HasHideTitle() bool

HasHideTitle returns a boolean if a field has been set.

func (*Controls) SetEnableApi

func (o *Controls) SetEnableApi(v bool)

SetEnableApi gets a reference to the given bool and assigns it to the EnableApi field.

func (*Controls) SetEnableControls

func (o *Controls) SetEnableControls(v bool)

SetEnableControls gets a reference to the given bool and assigns it to the EnableControls field.

func (*Controls) SetForceAutoplay

func (o *Controls) SetForceAutoplay(v bool)

SetForceAutoplay gets a reference to the given bool and assigns it to the ForceAutoplay field.

func (*Controls) SetForceLoop

func (o *Controls) SetForceLoop(v bool)

SetForceLoop gets a reference to the given bool and assigns it to the ForceLoop field.

func (*Controls) SetHideTitle

func (o *Controls) SetHideTitle(v bool)

SetHideTitle gets a reference to the given bool and assigns it to the HideTitle field.

type CreateApiKeyData

type CreateApiKeyData struct {
	ApiKey *ApiKey `json:"api_key,omitempty"`
}

CreateApiKeyData struct for CreateApiKeyData

func NewCreateApiKeyData

func NewCreateApiKeyData() *CreateApiKeyData

NewCreateApiKeyData instantiates a new CreateApiKeyData 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 NewCreateApiKeyDataWithDefaults

func NewCreateApiKeyDataWithDefaults() *CreateApiKeyData

NewCreateApiKeyDataWithDefaults instantiates a new CreateApiKeyData 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 (*CreateApiKeyData) GetApiKey

func (o *CreateApiKeyData) GetApiKey() ApiKey

GetApiKey returns the ApiKey field value if set, zero value otherwise.

func (*CreateApiKeyData) GetApiKeyOk

func (o *CreateApiKeyData) GetApiKeyOk() (*ApiKey, bool)

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

func (*CreateApiKeyData) HasApiKey

func (o *CreateApiKeyData) HasApiKey() bool

HasApiKey returns a boolean if a field has been set.

func (*CreateApiKeyData) SetApiKey

func (o *CreateApiKeyData) SetApiKey(v ApiKey)

SetApiKey gets a reference to the given ApiKey and assigns it to the ApiKey field.

type CreateApiKeyRequest

type CreateApiKeyRequest struct {
	ApiKeyName *string `json:"api_key_name,omitempty"`
	Ttl        *string `json:"ttl,omitempty"`
	Type       *string `json:"type,omitempty"`
}

CreateApiKeyRequest struct for CreateApiKeyRequest

func NewCreateApiKeyRequest

func NewCreateApiKeyRequest() *CreateApiKeyRequest

NewCreateApiKeyRequest instantiates a new CreateApiKeyRequest 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 NewCreateApiKeyRequestWithDefaults

func NewCreateApiKeyRequestWithDefaults() *CreateApiKeyRequest

NewCreateApiKeyRequestWithDefaults instantiates a new CreateApiKeyRequest 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 (*CreateApiKeyRequest) GetApiKeyName

func (o *CreateApiKeyRequest) GetApiKeyName() string

GetApiKeyName returns the ApiKeyName field value if set, zero value otherwise.

func (*CreateApiKeyRequest) GetApiKeyNameOk

func (o *CreateApiKeyRequest) GetApiKeyNameOk() (*string, bool)

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

func (*CreateApiKeyRequest) GetTtl

func (o *CreateApiKeyRequest) GetTtl() string

GetTtl returns the Ttl field value if set, zero value otherwise.

func (*CreateApiKeyRequest) GetTtlOk

func (o *CreateApiKeyRequest) GetTtlOk() (*string, 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 (*CreateApiKeyRequest) GetType

func (o *CreateApiKeyRequest) GetType() string

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

func (*CreateApiKeyRequest) GetTypeOk

func (o *CreateApiKeyRequest) 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 (*CreateApiKeyRequest) HasApiKeyName

func (o *CreateApiKeyRequest) HasApiKeyName() bool

HasApiKeyName returns a boolean if a field has been set.

func (*CreateApiKeyRequest) HasTtl

func (o *CreateApiKeyRequest) HasTtl() bool

HasTtl returns a boolean if a field has been set.

func (*CreateApiKeyRequest) HasType

func (o *CreateApiKeyRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (*CreateApiKeyRequest) SetApiKeyName

func (o *CreateApiKeyRequest) SetApiKeyName(v string)

SetApiKeyName gets a reference to the given string and assigns it to the ApiKeyName field.

func (*CreateApiKeyRequest) SetTtl

func (o *CreateApiKeyRequest) SetTtl(v string)

SetTtl gets a reference to the given string and assigns it to the Ttl field.

func (*CreateApiKeyRequest) SetType

func (o *CreateApiKeyRequest) SetType(v string)

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

type CreateApiKeyResponse

type CreateApiKeyResponse struct {
	Data   *CreateApiKeyData `json:"data,omitempty"`
	Status *string           `json:"status,omitempty"`
}

CreateApiKeyResponse struct for CreateApiKeyResponse

func NewCreateApiKeyResponse

func NewCreateApiKeyResponse() *CreateApiKeyResponse

NewCreateApiKeyResponse instantiates a new CreateApiKeyResponse 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 NewCreateApiKeyResponseWithDefaults

func NewCreateApiKeyResponseWithDefaults() *CreateApiKeyResponse

NewCreateApiKeyResponseWithDefaults instantiates a new CreateApiKeyResponse 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 (*CreateApiKeyResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*CreateApiKeyResponse) GetDataOk

func (o *CreateApiKeyResponse) GetDataOk() (*CreateApiKeyData, bool)

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

func (*CreateApiKeyResponse) GetStatus

func (o *CreateApiKeyResponse) GetStatus() string

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

func (*CreateApiKeyResponse) GetStatusOk

func (o *CreateApiKeyResponse) 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 (*CreateApiKeyResponse) HasData

func (o *CreateApiKeyResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*CreateApiKeyResponse) HasStatus

func (o *CreateApiKeyResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateApiKeyResponse) SetData

func (o *CreateApiKeyResponse) SetData(v CreateApiKeyData)

SetData gets a reference to the given CreateApiKeyData and assigns it to the Data field.

func (*CreateApiKeyResponse) SetStatus

func (o *CreateApiKeyResponse) SetStatus(v string)

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

type CreateMediaRequest added in v1.0.10

type CreateMediaRequest struct {
	Description     *string          `json:"description,omitempty"`
	IsPublic        *bool            `json:"is_public,omitempty"`
	Metadata        *[]Metadata      `json:"metadata,omitempty"`
	Qualities       *[]QualityConfig `json:"qualities,omitempty"`
	SegmentDuration *int32           `json:"segment_duration,omitempty"`
	Tags            *[]string        `json:"tags,omitempty"`
	Title           *string          `json:"title,omitempty"`
	Watermark       *VideoWatermark  `json:"watermark,omitempty"`
}

CreateMediaRequest struct for CreateMediaRequest

func NewCreateMediaRequest added in v1.0.10

func NewCreateMediaRequest() *CreateMediaRequest

NewCreateMediaRequest instantiates a new CreateMediaRequest 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 NewCreateMediaRequestWithDefaults added in v1.0.10

func NewCreateMediaRequestWithDefaults() *CreateMediaRequest

NewCreateMediaRequestWithDefaults instantiates a new CreateMediaRequest 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 (*CreateMediaRequest) GetDescription added in v1.0.10

func (o *CreateMediaRequest) GetDescription() string

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

func (*CreateMediaRequest) GetDescriptionOk added in v1.0.10

func (o *CreateMediaRequest) 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 (*CreateMediaRequest) GetIsPublic added in v1.0.10

func (o *CreateMediaRequest) GetIsPublic() bool

GetIsPublic returns the IsPublic field value if set, zero value otherwise.

func (*CreateMediaRequest) GetIsPublicOk added in v1.0.10

func (o *CreateMediaRequest) GetIsPublicOk() (*bool, bool)

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

func (*CreateMediaRequest) GetMetadata added in v1.0.10

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

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

func (*CreateMediaRequest) GetMetadataOk added in v1.0.10

func (o *CreateMediaRequest) 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 (*CreateMediaRequest) GetQualities added in v1.0.10

func (o *CreateMediaRequest) GetQualities() []QualityConfig

GetQualities returns the Qualities field value if set, zero value otherwise.

func (*CreateMediaRequest) GetQualitiesOk added in v1.0.10

func (o *CreateMediaRequest) GetQualitiesOk() (*[]QualityConfig, 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 (*CreateMediaRequest) GetSegmentDuration added in v1.0.10

func (o *CreateMediaRequest) GetSegmentDuration() int32

GetSegmentDuration returns the SegmentDuration field value if set, zero value otherwise.

func (*CreateMediaRequest) GetSegmentDurationOk added in v1.0.10

func (o *CreateMediaRequest) GetSegmentDurationOk() (*int32, bool)

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

func (*CreateMediaRequest) GetTags added in v1.0.10

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

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

func (*CreateMediaRequest) GetTagsOk added in v1.0.10

func (o *CreateMediaRequest) 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 (*CreateMediaRequest) GetTitle added in v1.0.10

func (o *CreateMediaRequest) GetTitle() string

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

func (*CreateMediaRequest) GetTitleOk added in v1.0.10

func (o *CreateMediaRequest) 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 (*CreateMediaRequest) GetWatermark added in v1.0.10

func (o *CreateMediaRequest) GetWatermark() VideoWatermark

GetWatermark returns the Watermark field value if set, zero value otherwise.

func (*CreateMediaRequest) GetWatermarkOk added in v1.0.10

func (o *CreateMediaRequest) 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 (*CreateMediaRequest) HasDescription added in v1.0.10

func (o *CreateMediaRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateMediaRequest) HasIsPublic added in v1.0.10

func (o *CreateMediaRequest) HasIsPublic() bool

HasIsPublic returns a boolean if a field has been set.

func (*CreateMediaRequest) HasMetadata added in v1.0.10

func (o *CreateMediaRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CreateMediaRequest) HasQualities added in v1.0.10

func (o *CreateMediaRequest) HasQualities() bool

HasQualities returns a boolean if a field has been set.

func (*CreateMediaRequest) HasSegmentDuration added in v1.0.10

func (o *CreateMediaRequest) HasSegmentDuration() bool

HasSegmentDuration returns a boolean if a field has been set.

func (*CreateMediaRequest) HasTags added in v1.0.10

func (o *CreateMediaRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateMediaRequest) HasTitle added in v1.0.10

func (o *CreateMediaRequest) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*CreateMediaRequest) HasWatermark added in v1.0.10

func (o *CreateMediaRequest) HasWatermark() bool

HasWatermark returns a boolean if a field has been set.

func (*CreateMediaRequest) SetDescription added in v1.0.10

func (o *CreateMediaRequest) SetDescription(v string)

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

func (*CreateMediaRequest) SetIsPublic added in v1.0.10

func (o *CreateMediaRequest) SetIsPublic(v bool)

SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.

func (*CreateMediaRequest) SetMetadata added in v1.0.10

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

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

func (*CreateMediaRequest) SetQualities added in v1.0.10

func (o *CreateMediaRequest) SetQualities(v []QualityConfig)

SetQualities gets a reference to the given []QualityConfig and assigns it to the Qualities field.

func (*CreateMediaRequest) SetSegmentDuration added in v1.0.10

func (o *CreateMediaRequest) SetSegmentDuration(v int32)

SetSegmentDuration gets a reference to the given int32 and assigns it to the SegmentDuration field.

func (*CreateMediaRequest) SetTags added in v1.0.10

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

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

func (*CreateMediaRequest) SetTitle added in v1.0.10

func (o *CreateMediaRequest) SetTitle(v string)

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

func (*CreateMediaRequest) SetWatermark added in v1.0.10

func (o *CreateMediaRequest) SetWatermark(v VideoWatermark)

SetWatermark gets a reference to the given VideoWatermark and assigns it to the Watermark field.

type CreateMediaResponse added in v1.0.10

type CreateMediaResponse struct {
	Data   *Media  `json:"data,omitempty"`
	Status *string `json:"status,omitempty"`
}

CreateMediaResponse struct for CreateMediaResponse

func NewCreateMediaResponse added in v1.0.10

func NewCreateMediaResponse() *CreateMediaResponse

NewCreateMediaResponse instantiates a new CreateMediaResponse 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 NewCreateMediaResponseWithDefaults added in v1.0.10

func NewCreateMediaResponseWithDefaults() *CreateMediaResponse

NewCreateMediaResponseWithDefaults instantiates a new CreateMediaResponse 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 (*CreateMediaResponse) GetData added in v1.0.10

func (o *CreateMediaResponse) GetData() Media

GetData returns the Data field value if set, zero value otherwise.

func (*CreateMediaResponse) GetDataOk added in v1.0.10

func (o *CreateMediaResponse) GetDataOk() (*Media, bool)

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

func (*CreateMediaResponse) GetStatus added in v1.0.10

func (o *CreateMediaResponse) GetStatus() string

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

func (*CreateMediaResponse) GetStatusOk added in v1.0.10

func (o *CreateMediaResponse) 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 (*CreateMediaResponse) HasData added in v1.0.10

func (o *CreateMediaResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*CreateMediaResponse) HasStatus added in v1.0.10

func (o *CreateMediaResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateMediaResponse) SetData added in v1.0.10

func (o *CreateMediaResponse) SetData(v Media)

SetData gets a reference to the given Media and assigns it to the Data field.

func (*CreateMediaResponse) SetStatus added in v1.0.10

func (o *CreateMediaResponse) SetStatus(v string)

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

type CreatePlayerThemeRequest

type CreatePlayerThemeRequest struct {
	Controls  *Controls `json:"controls,omitempty"`
	IsDefault *bool     `json:"is_default,omitempty"`
	Name      *string   `json:"name,omitempty"`
	Theme     *Theme    `json:"theme,omitempty"`
}

CreatePlayerThemeRequest struct for CreatePlayerThemeRequest

func NewCreatePlayerThemeRequest

func NewCreatePlayerThemeRequest() *CreatePlayerThemeRequest

NewCreatePlayerThemeRequest instantiates a new CreatePlayerThemeRequest 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 NewCreatePlayerThemeRequestWithDefaults

func NewCreatePlayerThemeRequestWithDefaults() *CreatePlayerThemeRequest

NewCreatePlayerThemeRequestWithDefaults instantiates a new CreatePlayerThemeRequest 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 (*CreatePlayerThemeRequest) GetControls

func (o *CreatePlayerThemeRequest) GetControls() Controls

GetControls returns the Controls field value if set, zero value otherwise.

func (*CreatePlayerThemeRequest) GetControlsOk

func (o *CreatePlayerThemeRequest) GetControlsOk() (*Controls, bool)

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

func (*CreatePlayerThemeRequest) GetIsDefault

func (o *CreatePlayerThemeRequest) GetIsDefault() bool

GetIsDefault returns the IsDefault field value if set, zero value otherwise.

func (*CreatePlayerThemeRequest) GetIsDefaultOk

func (o *CreatePlayerThemeRequest) GetIsDefaultOk() (*bool, bool)

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

func (*CreatePlayerThemeRequest) GetName

func (o *CreatePlayerThemeRequest) GetName() string

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

func (*CreatePlayerThemeRequest) GetNameOk

func (o *CreatePlayerThemeRequest) 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 (*CreatePlayerThemeRequest) GetTheme

func (o *CreatePlayerThemeRequest) GetTheme() Theme

GetTheme returns the Theme field value if set, zero value otherwise.

func (*CreatePlayerThemeRequest) GetThemeOk

func (o *CreatePlayerThemeRequest) GetThemeOk() (*Theme, bool)

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

func (*CreatePlayerThemeRequest) HasControls

func (o *CreatePlayerThemeRequest) HasControls() bool

HasControls returns a boolean if a field has been set.

func (*CreatePlayerThemeRequest) HasIsDefault

func (o *CreatePlayerThemeRequest) HasIsDefault() bool

HasIsDefault returns a boolean if a field has been set.

func (*CreatePlayerThemeRequest) HasName

func (o *CreatePlayerThemeRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreatePlayerThemeRequest) HasTheme

func (o *CreatePlayerThemeRequest) HasTheme() bool

HasTheme returns a boolean if a field has been set.

func (*CreatePlayerThemeRequest) SetControls

func (o *CreatePlayerThemeRequest) SetControls(v Controls)

SetControls gets a reference to the given Controls and assigns it to the Controls field.

func (*CreatePlayerThemeRequest) SetIsDefault

func (o *CreatePlayerThemeRequest) SetIsDefault(v bool)

SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.

func (*CreatePlayerThemeRequest) SetName

func (o *CreatePlayerThemeRequest) SetName(v string)

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

func (*CreatePlayerThemeRequest) SetTheme

func (o *CreatePlayerThemeRequest) SetTheme(v Theme)

SetTheme gets a reference to the given Theme and assigns it to the Theme field.

type CreatePlayerThemesData

type CreatePlayerThemesData struct {
	PlayerTheme *PlayerTheme `json:"player_theme,omitempty"`
}

CreatePlayerThemesData struct for CreatePlayerThemesData

func NewCreatePlayerThemesData

func NewCreatePlayerThemesData() *CreatePlayerThemesData

NewCreatePlayerThemesData instantiates a new CreatePlayerThemesData 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 NewCreatePlayerThemesDataWithDefaults

func NewCreatePlayerThemesDataWithDefaults() *CreatePlayerThemesData

NewCreatePlayerThemesDataWithDefaults instantiates a new CreatePlayerThemesData 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 (*CreatePlayerThemesData) GetPlayerTheme

func (o *CreatePlayerThemesData) GetPlayerTheme() PlayerTheme

GetPlayerTheme returns the PlayerTheme field value if set, zero value otherwise.

func (*CreatePlayerThemesData) GetPlayerThemeOk

func (o *CreatePlayerThemesData) GetPlayerThemeOk() (*PlayerTheme, bool)

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

func (*CreatePlayerThemesData) HasPlayerTheme

func (o *CreatePlayerThemesData) HasPlayerTheme() bool

HasPlayerTheme returns a boolean if a field has been set.

func (*CreatePlayerThemesData) SetPlayerTheme

func (o *CreatePlayerThemesData) SetPlayerTheme(v PlayerTheme)

SetPlayerTheme gets a reference to the given PlayerTheme and assigns it to the PlayerTheme field.

type CreatePlayerThemesResponse

type CreatePlayerThemesResponse struct {
	Data   *CreatePlayerThemesData `json:"data,omitempty"`
	Status *string                 `json:"status,omitempty"`
}

CreatePlayerThemesResponse struct for CreatePlayerThemesResponse

func NewCreatePlayerThemesResponse

func NewCreatePlayerThemesResponse() *CreatePlayerThemesResponse

NewCreatePlayerThemesResponse instantiates a new CreatePlayerThemesResponse 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 NewCreatePlayerThemesResponseWithDefaults

func NewCreatePlayerThemesResponseWithDefaults() *CreatePlayerThemesResponse

NewCreatePlayerThemesResponseWithDefaults instantiates a new CreatePlayerThemesResponse 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 (*CreatePlayerThemesResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*CreatePlayerThemesResponse) GetDataOk

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

func (*CreatePlayerThemesResponse) GetStatus

func (o *CreatePlayerThemesResponse) GetStatus() string

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

func (*CreatePlayerThemesResponse) GetStatusOk

func (o *CreatePlayerThemesResponse) 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 (*CreatePlayerThemesResponse) HasData

func (o *CreatePlayerThemesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*CreatePlayerThemesResponse) HasStatus

func (o *CreatePlayerThemesResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreatePlayerThemesResponse) SetData

SetData gets a reference to the given CreatePlayerThemesData and assigns it to the Data field.

func (*CreatePlayerThemesResponse) SetStatus

func (o *CreatePlayerThemesResponse) SetStatus(v string)

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

type CreatePlaylistData

type CreatePlaylistData struct {
	Playlist *Playlist `json:"playlist,omitempty"`
}

CreatePlaylistData struct for CreatePlaylistData

func NewCreatePlaylistData

func NewCreatePlaylistData() *CreatePlaylistData

NewCreatePlaylistData instantiates a new CreatePlaylistData 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 NewCreatePlaylistDataWithDefaults

func NewCreatePlaylistDataWithDefaults() *CreatePlaylistData

NewCreatePlaylistDataWithDefaults instantiates a new CreatePlaylistData 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 (*CreatePlaylistData) GetPlaylist

func (o *CreatePlaylistData) GetPlaylist() Playlist

GetPlaylist returns the Playlist field value if set, zero value otherwise.

func (*CreatePlaylistData) GetPlaylistOk

func (o *CreatePlaylistData) GetPlaylistOk() (*Playlist, bool)

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

func (*CreatePlaylistData) HasPlaylist

func (o *CreatePlaylistData) HasPlaylist() bool

HasPlaylist returns a boolean if a field has been set.

func (*CreatePlaylistData) SetPlaylist

func (o *CreatePlaylistData) SetPlaylist(v Playlist)

SetPlaylist gets a reference to the given Playlist and assigns it to the Playlist field.

type CreatePlaylistRequest

type CreatePlaylistRequest struct {
	Metadata *[]Metadata `json:"metadata,omitempty"`
	Name     *string     `json:"name,omitempty"`
	Tags     *[]string   `json:"tags,omitempty"`
}

CreatePlaylistRequest struct for CreatePlaylistRequest

func NewCreatePlaylistRequest

func NewCreatePlaylistRequest() *CreatePlaylistRequest

NewCreatePlaylistRequest instantiates a new CreatePlaylistRequest 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 NewCreatePlaylistRequestWithDefaults

func NewCreatePlaylistRequestWithDefaults() *CreatePlaylistRequest

NewCreatePlaylistRequestWithDefaults instantiates a new CreatePlaylistRequest 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 (*CreatePlaylistRequest) GetMetadata

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

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

func (*CreatePlaylistRequest) GetMetadataOk

func (o *CreatePlaylistRequest) 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 (*CreatePlaylistRequest) GetName

func (o *CreatePlaylistRequest) GetName() string

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

func (*CreatePlaylistRequest) GetNameOk

func (o *CreatePlaylistRequest) 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 (*CreatePlaylistRequest) GetTags

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

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

func (*CreatePlaylistRequest) GetTagsOk

func (o *CreatePlaylistRequest) 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 (*CreatePlaylistRequest) HasMetadata

func (o *CreatePlaylistRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CreatePlaylistRequest) HasName

func (o *CreatePlaylistRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreatePlaylistRequest) HasTags

func (o *CreatePlaylistRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreatePlaylistRequest) SetMetadata

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

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

func (*CreatePlaylistRequest) SetName

func (o *CreatePlaylistRequest) SetName(v string)

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

func (*CreatePlaylistRequest) SetTags

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

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

type CreatePlaylistResponse

type CreatePlaylistResponse struct {
	Data   *CreatePlaylistData `json:"data,omitempty"`
	Status *string             `json:"status,omitempty"`
}

CreatePlaylistResponse struct for CreatePlaylistResponse

func NewCreatePlaylistResponse

func NewCreatePlaylistResponse() *CreatePlaylistResponse

NewCreatePlaylistResponse instantiates a new CreatePlaylistResponse 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 NewCreatePlaylistResponseWithDefaults

func NewCreatePlaylistResponseWithDefaults() *CreatePlaylistResponse

NewCreatePlaylistResponseWithDefaults instantiates a new CreatePlaylistResponse 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 (*CreatePlaylistResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*CreatePlaylistResponse) GetDataOk

func (o *CreatePlaylistResponse) GetDataOk() (*CreatePlaylistData, bool)

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

func (*CreatePlaylistResponse) GetStatus

func (o *CreatePlaylistResponse) GetStatus() string

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

func (*CreatePlaylistResponse) GetStatusOk

func (o *CreatePlaylistResponse) 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 (*CreatePlaylistResponse) HasData

func (o *CreatePlaylistResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*CreatePlaylistResponse) HasStatus

func (o *CreatePlaylistResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreatePlaylistResponse) SetData

SetData gets a reference to the given CreatePlaylistData and assigns it to the Data field.

func (*CreatePlaylistResponse) SetStatus

func (o *CreatePlaylistResponse) SetStatus(v string)

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

type CreateVideoCaptionData

type CreateVideoCaptionData struct {
	VideoCaption *VideoCaption `json:"video_caption,omitempty"`
}

CreateVideoCaptionData struct for CreateVideoCaptionData

func NewCreateVideoCaptionData

func NewCreateVideoCaptionData() *CreateVideoCaptionData

NewCreateVideoCaptionData instantiates a new CreateVideoCaptionData 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 NewCreateVideoCaptionDataWithDefaults

func NewCreateVideoCaptionDataWithDefaults() *CreateVideoCaptionData

NewCreateVideoCaptionDataWithDefaults instantiates a new CreateVideoCaptionData 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 (*CreateVideoCaptionData) GetVideoCaption

func (o *CreateVideoCaptionData) GetVideoCaption() VideoCaption

GetVideoCaption returns the VideoCaption field value if set, zero value otherwise.

func (*CreateVideoCaptionData) GetVideoCaptionOk

func (o *CreateVideoCaptionData) GetVideoCaptionOk() (*VideoCaption, bool)

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

func (*CreateVideoCaptionData) HasVideoCaption

func (o *CreateVideoCaptionData) HasVideoCaption() bool

HasVideoCaption returns a boolean if a field has been set.

func (*CreateVideoCaptionData) SetVideoCaption

func (o *CreateVideoCaptionData) SetVideoCaption(v VideoCaption)

SetVideoCaption gets a reference to the given VideoCaption and assigns it to the VideoCaption field.

type CreateVideoCaptionResponse

type CreateVideoCaptionResponse struct {
	Data   *CreateVideoCaptionData `json:"data,omitempty"`
	Status *string                 `json:"status,omitempty"`
}

CreateVideoCaptionResponse struct for CreateVideoCaptionResponse

func NewCreateVideoCaptionResponse

func NewCreateVideoCaptionResponse() *CreateVideoCaptionResponse

NewCreateVideoCaptionResponse instantiates a new CreateVideoCaptionResponse 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 NewCreateVideoCaptionResponseWithDefaults

func NewCreateVideoCaptionResponseWithDefaults() *CreateVideoCaptionResponse

NewCreateVideoCaptionResponseWithDefaults instantiates a new CreateVideoCaptionResponse 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 (*CreateVideoCaptionResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*CreateVideoCaptionResponse) GetDataOk

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

func (*CreateVideoCaptionResponse) GetStatus

func (o *CreateVideoCaptionResponse) GetStatus() string

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

func (*CreateVideoCaptionResponse) GetStatusOk

func (o *CreateVideoCaptionResponse) 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 (*CreateVideoCaptionResponse) HasData

func (o *CreateVideoCaptionResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*CreateVideoCaptionResponse) HasStatus

func (o *CreateVideoCaptionResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateVideoCaptionResponse) SetData

SetData gets a reference to the given CreateVideoCaptionData and assigns it to the Data field.

func (*CreateVideoCaptionResponse) SetStatus

func (o *CreateVideoCaptionResponse) SetStatus(v string)

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

type CreateVideoChapterData

type CreateVideoChapterData struct {
	VideoChapter *VideoChapter `json:"video_chapter,omitempty"`
}

CreateVideoChapterData struct for CreateVideoChapterData

func NewCreateVideoChapterData

func NewCreateVideoChapterData() *CreateVideoChapterData

NewCreateVideoChapterData instantiates a new CreateVideoChapterData 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 NewCreateVideoChapterDataWithDefaults

func NewCreateVideoChapterDataWithDefaults() *CreateVideoChapterData

NewCreateVideoChapterDataWithDefaults instantiates a new CreateVideoChapterData 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 (*CreateVideoChapterData) GetVideoChapter

func (o *CreateVideoChapterData) GetVideoChapter() VideoChapter

GetVideoChapter returns the VideoChapter field value if set, zero value otherwise.

func (*CreateVideoChapterData) GetVideoChapterOk

func (o *CreateVideoChapterData) GetVideoChapterOk() (*VideoChapter, bool)

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

func (*CreateVideoChapterData) HasVideoChapter

func (o *CreateVideoChapterData) HasVideoChapter() bool

HasVideoChapter returns a boolean if a field has been set.

func (*CreateVideoChapterData) SetVideoChapter

func (o *CreateVideoChapterData) SetVideoChapter(v VideoChapter)

SetVideoChapter gets a reference to the given VideoChapter and assigns it to the VideoChapter field.

type CreateVideoChapterResponse

type CreateVideoChapterResponse struct {
	Data   *CreateVideoChapterData `json:"data,omitempty"`
	Status *string                 `json:"status,omitempty"`
}

CreateVideoChapterResponse struct for CreateVideoChapterResponse

func NewCreateVideoChapterResponse

func NewCreateVideoChapterResponse() *CreateVideoChapterResponse

NewCreateVideoChapterResponse instantiates a new CreateVideoChapterResponse 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 NewCreateVideoChapterResponseWithDefaults

func NewCreateVideoChapterResponseWithDefaults() *CreateVideoChapterResponse

NewCreateVideoChapterResponseWithDefaults instantiates a new CreateVideoChapterResponse 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 (*CreateVideoChapterResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*CreateVideoChapterResponse) GetDataOk

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

func (*CreateVideoChapterResponse) GetStatus

func (o *CreateVideoChapterResponse) GetStatus() string

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

func (*CreateVideoChapterResponse) GetStatusOk

func (o *CreateVideoChapterResponse) 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 (*CreateVideoChapterResponse) HasData

func (o *CreateVideoChapterResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*CreateVideoChapterResponse) HasStatus

func (o *CreateVideoChapterResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateVideoChapterResponse) SetData

SetData gets a reference to the given CreateVideoChapterData and assigns it to the Data field.

func (*CreateVideoChapterResponse) SetStatus

func (o *CreateVideoChapterResponse) SetStatus(v string)

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

type CreateWebhookData

type CreateWebhookData struct {
	Webhook *Webhook `json:"webhook,omitempty"`
}

CreateWebhookData struct for CreateWebhookData

func NewCreateWebhookData

func NewCreateWebhookData() *CreateWebhookData

NewCreateWebhookData instantiates a new CreateWebhookData 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 NewCreateWebhookDataWithDefaults

func NewCreateWebhookDataWithDefaults() *CreateWebhookData

NewCreateWebhookDataWithDefaults instantiates a new CreateWebhookData 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 (*CreateWebhookData) GetWebhook

func (o *CreateWebhookData) GetWebhook() Webhook

GetWebhook returns the Webhook field value if set, zero value otherwise.

func (*CreateWebhookData) GetWebhookOk

func (o *CreateWebhookData) GetWebhookOk() (*Webhook, bool)

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

func (*CreateWebhookData) HasWebhook

func (o *CreateWebhookData) HasWebhook() bool

HasWebhook returns a boolean if a field has been set.

func (*CreateWebhookData) SetWebhook

func (o *CreateWebhookData) SetWebhook(v Webhook)

SetWebhook gets a reference to the given Webhook and assigns it to the Webhook field.

type CreateWebhookRequest

type CreateWebhookRequest struct {
	EncodingFailed   *bool   `json:"encoding_failed,omitempty"`
	EncodingFinished *bool   `json:"encoding_finished,omitempty"`
	EncodingStarted  *bool   `json:"encoding_started,omitempty"`
	FileReceived     *bool   `json:"file_received,omitempty"`
	Name             *string `json:"name,omitempty"`
	PartialFinished  *bool   `json:"partial_finished,omitempty"`
	Url              *string `json:"url,omitempty"`
}

CreateWebhookRequest struct for CreateWebhookRequest

func NewCreateWebhookRequest

func NewCreateWebhookRequest() *CreateWebhookRequest

NewCreateWebhookRequest instantiates a new CreateWebhookRequest 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 NewCreateWebhookRequestWithDefaults

func NewCreateWebhookRequestWithDefaults() *CreateWebhookRequest

NewCreateWebhookRequestWithDefaults instantiates a new CreateWebhookRequest 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 (*CreateWebhookRequest) GetEncodingFailed added in v1.0.10

func (o *CreateWebhookRequest) GetEncodingFailed() bool

GetEncodingFailed returns the EncodingFailed field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetEncodingFailedOk added in v1.0.10

func (o *CreateWebhookRequest) GetEncodingFailedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetEncodingFinished

func (o *CreateWebhookRequest) GetEncodingFinished() bool

GetEncodingFinished returns the EncodingFinished field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetEncodingFinishedOk

func (o *CreateWebhookRequest) GetEncodingFinishedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetEncodingStarted

func (o *CreateWebhookRequest) GetEncodingStarted() bool

GetEncodingStarted returns the EncodingStarted field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetEncodingStartedOk

func (o *CreateWebhookRequest) GetEncodingStartedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetFileReceived

func (o *CreateWebhookRequest) GetFileReceived() bool

GetFileReceived returns the FileReceived field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetFileReceivedOk

func (o *CreateWebhookRequest) GetFileReceivedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetName

func (o *CreateWebhookRequest) GetName() string

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

func (*CreateWebhookRequest) GetNameOk

func (o *CreateWebhookRequest) 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 (*CreateWebhookRequest) GetPartialFinished added in v1.0.10

func (o *CreateWebhookRequest) GetPartialFinished() bool

GetPartialFinished returns the PartialFinished field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetPartialFinishedOk added in v1.0.10

func (o *CreateWebhookRequest) GetPartialFinishedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetUrl

func (o *CreateWebhookRequest) GetUrl() string

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

func (*CreateWebhookRequest) GetUrlOk

func (o *CreateWebhookRequest) 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 (*CreateWebhookRequest) HasEncodingFailed added in v1.0.10

func (o *CreateWebhookRequest) HasEncodingFailed() bool

HasEncodingFailed returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasEncodingFinished

func (o *CreateWebhookRequest) HasEncodingFinished() bool

HasEncodingFinished returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasEncodingStarted

func (o *CreateWebhookRequest) HasEncodingStarted() bool

HasEncodingStarted returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasFileReceived

func (o *CreateWebhookRequest) HasFileReceived() bool

HasFileReceived returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasName

func (o *CreateWebhookRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasPartialFinished added in v1.0.10

func (o *CreateWebhookRequest) HasPartialFinished() bool

HasPartialFinished returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasUrl

func (o *CreateWebhookRequest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*CreateWebhookRequest) SetEncodingFailed added in v1.0.10

func (o *CreateWebhookRequest) SetEncodingFailed(v bool)

SetEncodingFailed gets a reference to the given bool and assigns it to the EncodingFailed field.

func (*CreateWebhookRequest) SetEncodingFinished

func (o *CreateWebhookRequest) SetEncodingFinished(v bool)

SetEncodingFinished gets a reference to the given bool and assigns it to the EncodingFinished field.

func (*CreateWebhookRequest) SetEncodingStarted

func (o *CreateWebhookRequest) SetEncodingStarted(v bool)

SetEncodingStarted gets a reference to the given bool and assigns it to the EncodingStarted field.

func (*CreateWebhookRequest) SetFileReceived

func (o *CreateWebhookRequest) SetFileReceived(v bool)

SetFileReceived gets a reference to the given bool and assigns it to the FileReceived field.

func (*CreateWebhookRequest) SetName

func (o *CreateWebhookRequest) SetName(v string)

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

func (*CreateWebhookRequest) SetPartialFinished added in v1.0.10

func (o *CreateWebhookRequest) SetPartialFinished(v bool)

SetPartialFinished gets a reference to the given bool and assigns it to the PartialFinished field.

func (*CreateWebhookRequest) SetUrl

func (o *CreateWebhookRequest) SetUrl(v string)

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

type CreateWebhookResponse

type CreateWebhookResponse struct {
	Data   *CreateWebhookData `json:"data,omitempty"`
	Status *string            `json:"status,omitempty"`
}

CreateWebhookResponse struct for CreateWebhookResponse

func NewCreateWebhookResponse

func NewCreateWebhookResponse() *CreateWebhookResponse

NewCreateWebhookResponse instantiates a new CreateWebhookResponse 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 NewCreateWebhookResponseWithDefaults

func NewCreateWebhookResponseWithDefaults() *CreateWebhookResponse

NewCreateWebhookResponseWithDefaults instantiates a new CreateWebhookResponse 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 (*CreateWebhookResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*CreateWebhookResponse) GetDataOk

func (o *CreateWebhookResponse) GetDataOk() (*CreateWebhookData, bool)

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

func (*CreateWebhookResponse) GetStatus

func (o *CreateWebhookResponse) GetStatus() string

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

func (*CreateWebhookResponse) GetStatusOk

func (o *CreateWebhookResponse) 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 (*CreateWebhookResponse) HasData

func (o *CreateWebhookResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*CreateWebhookResponse) HasStatus

func (o *CreateWebhookResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CreateWebhookResponse) SetData

SetData gets a reference to the given CreateWebhookData and assigns it to the Data field.

func (*CreateWebhookResponse) SetStatus

func (o *CreateWebhookResponse) SetStatus(v string)

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

type Doer

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

type ErrorResponse

type ErrorResponse struct {
	Response *http.Response
	Body     []byte
}

func (*ErrorResponse) Error

func (r *ErrorResponse) Error() string

type GetApiKeysData

type GetApiKeysData struct {
	ApiKeys *[]ApiKey `json:"api_keys,omitempty"`
	Total   *int32    `json:"total,omitempty"`
}

GetApiKeysData struct for GetApiKeysData

func NewGetApiKeysData

func NewGetApiKeysData() *GetApiKeysData

NewGetApiKeysData instantiates a new GetApiKeysData 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 NewGetApiKeysDataWithDefaults

func NewGetApiKeysDataWithDefaults() *GetApiKeysData

NewGetApiKeysDataWithDefaults instantiates a new GetApiKeysData 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 (*GetApiKeysData) GetApiKeys

func (o *GetApiKeysData) GetApiKeys() []ApiKey

GetApiKeys returns the ApiKeys field value if set, zero value otherwise.

func (*GetApiKeysData) GetApiKeysOk

func (o *GetApiKeysData) GetApiKeysOk() (*[]ApiKey, bool)

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

func (*GetApiKeysData) GetTotal

func (o *GetApiKeysData) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*GetApiKeysData) GetTotalOk

func (o *GetApiKeysData) 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 (*GetApiKeysData) HasApiKeys

func (o *GetApiKeysData) HasApiKeys() bool

HasApiKeys returns a boolean if a field has been set.

func (*GetApiKeysData) HasTotal

func (o *GetApiKeysData) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*GetApiKeysData) SetApiKeys

func (o *GetApiKeysData) SetApiKeys(v []ApiKey)

SetApiKeys gets a reference to the given []ApiKey and assigns it to the ApiKeys field.

func (*GetApiKeysData) SetTotal

func (o *GetApiKeysData) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

type GetApiKeysResponse

type GetApiKeysResponse struct {
	Data   *GetApiKeysData `json:"data,omitempty"`
	Status *string         `json:"status,omitempty"`
}

GetApiKeysResponse struct for GetApiKeysResponse

func NewGetApiKeysResponse

func NewGetApiKeysResponse() *GetApiKeysResponse

NewGetApiKeysResponse instantiates a new GetApiKeysResponse 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 NewGetApiKeysResponseWithDefaults

func NewGetApiKeysResponseWithDefaults() *GetApiKeysResponse

NewGetApiKeysResponseWithDefaults instantiates a new GetApiKeysResponse 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 (*GetApiKeysResponse) GetData

func (o *GetApiKeysResponse) GetData() GetApiKeysData

GetData returns the Data field value if set, zero value otherwise.

func (*GetApiKeysResponse) GetDataOk

func (o *GetApiKeysResponse) GetDataOk() (*GetApiKeysData, bool)

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

func (*GetApiKeysResponse) GetStatus

func (o *GetApiKeysResponse) GetStatus() string

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

func (*GetApiKeysResponse) GetStatusOk

func (o *GetApiKeysResponse) 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 (*GetApiKeysResponse) HasData

func (o *GetApiKeysResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetApiKeysResponse) HasStatus

func (o *GetApiKeysResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetApiKeysResponse) SetData

func (o *GetApiKeysResponse) SetData(v GetApiKeysData)

SetData gets a reference to the given GetApiKeysData and assigns it to the Data field.

func (*GetApiKeysResponse) SetStatus

func (o *GetApiKeysResponse) SetStatus(v string)

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

type GetPlayerThemeByIdData

type GetPlayerThemeByIdData struct {
	PlayerTheme *PlayerTheme `json:"player_theme,omitempty"`
}

GetPlayerThemeByIdData struct for GetPlayerThemeByIdData

func NewGetPlayerThemeByIdData

func NewGetPlayerThemeByIdData() *GetPlayerThemeByIdData

NewGetPlayerThemeByIdData instantiates a new GetPlayerThemeByIdData 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 NewGetPlayerThemeByIdDataWithDefaults

func NewGetPlayerThemeByIdDataWithDefaults() *GetPlayerThemeByIdData

NewGetPlayerThemeByIdDataWithDefaults instantiates a new GetPlayerThemeByIdData 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 (*GetPlayerThemeByIdData) GetPlayerTheme

func (o *GetPlayerThemeByIdData) GetPlayerTheme() PlayerTheme

GetPlayerTheme returns the PlayerTheme field value if set, zero value otherwise.

func (*GetPlayerThemeByIdData) GetPlayerThemeOk

func (o *GetPlayerThemeByIdData) GetPlayerThemeOk() (*PlayerTheme, bool)

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

func (*GetPlayerThemeByIdData) HasPlayerTheme

func (o *GetPlayerThemeByIdData) HasPlayerTheme() bool

HasPlayerTheme returns a boolean if a field has been set.

func (*GetPlayerThemeByIdData) SetPlayerTheme

func (o *GetPlayerThemeByIdData) SetPlayerTheme(v PlayerTheme)

SetPlayerTheme gets a reference to the given PlayerTheme and assigns it to the PlayerTheme field.

type GetPlayerThemeByIdResponse

type GetPlayerThemeByIdResponse struct {
	Data   *GetPlayerThemeByIdData `json:"data,omitempty"`
	Status *string                 `json:"status,omitempty"`
}

GetPlayerThemeByIdResponse struct for GetPlayerThemeByIdResponse

func NewGetPlayerThemeByIdResponse

func NewGetPlayerThemeByIdResponse() *GetPlayerThemeByIdResponse

NewGetPlayerThemeByIdResponse instantiates a new GetPlayerThemeByIdResponse 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 NewGetPlayerThemeByIdResponseWithDefaults

func NewGetPlayerThemeByIdResponseWithDefaults() *GetPlayerThemeByIdResponse

NewGetPlayerThemeByIdResponseWithDefaults instantiates a new GetPlayerThemeByIdResponse 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 (*GetPlayerThemeByIdResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetPlayerThemeByIdResponse) GetDataOk

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

func (*GetPlayerThemeByIdResponse) GetStatus

func (o *GetPlayerThemeByIdResponse) GetStatus() string

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

func (*GetPlayerThemeByIdResponse) GetStatusOk

func (o *GetPlayerThemeByIdResponse) 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 (*GetPlayerThemeByIdResponse) HasData

func (o *GetPlayerThemeByIdResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetPlayerThemeByIdResponse) HasStatus

func (o *GetPlayerThemeByIdResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetPlayerThemeByIdResponse) SetData

SetData gets a reference to the given GetPlayerThemeByIdData and assigns it to the Data field.

func (*GetPlayerThemeByIdResponse) SetStatus

func (o *GetPlayerThemeByIdResponse) SetStatus(v string)

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

type GetPlayerThemeData

type GetPlayerThemeData struct {
	PlayerThemes *[]PlayerTheme `json:"player_themes,omitempty"`
	Total        *int32         `json:"total,omitempty"`
}

GetPlayerThemeData struct for GetPlayerThemeData

func NewGetPlayerThemeData

func NewGetPlayerThemeData() *GetPlayerThemeData

NewGetPlayerThemeData instantiates a new GetPlayerThemeData 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 NewGetPlayerThemeDataWithDefaults

func NewGetPlayerThemeDataWithDefaults() *GetPlayerThemeData

NewGetPlayerThemeDataWithDefaults instantiates a new GetPlayerThemeData 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 (*GetPlayerThemeData) GetPlayerThemes

func (o *GetPlayerThemeData) GetPlayerThemes() []PlayerTheme

GetPlayerThemes returns the PlayerThemes field value if set, zero value otherwise.

func (*GetPlayerThemeData) GetPlayerThemesOk

func (o *GetPlayerThemeData) GetPlayerThemesOk() (*[]PlayerTheme, bool)

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

func (*GetPlayerThemeData) GetTotal

func (o *GetPlayerThemeData) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*GetPlayerThemeData) GetTotalOk

func (o *GetPlayerThemeData) 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 (*GetPlayerThemeData) HasPlayerThemes

func (o *GetPlayerThemeData) HasPlayerThemes() bool

HasPlayerThemes returns a boolean if a field has been set.

func (*GetPlayerThemeData) HasTotal

func (o *GetPlayerThemeData) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*GetPlayerThemeData) SetPlayerThemes

func (o *GetPlayerThemeData) SetPlayerThemes(v []PlayerTheme)

SetPlayerThemes gets a reference to the given []PlayerTheme and assigns it to the PlayerThemes field.

func (*GetPlayerThemeData) SetTotal

func (o *GetPlayerThemeData) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

type GetPlayerThemeResponse

type GetPlayerThemeResponse struct {
	Data   *GetPlayerThemeData `json:"data,omitempty"`
	Status *string             `json:"status,omitempty"`
}

GetPlayerThemeResponse struct for GetPlayerThemeResponse

func NewGetPlayerThemeResponse

func NewGetPlayerThemeResponse() *GetPlayerThemeResponse

NewGetPlayerThemeResponse instantiates a new GetPlayerThemeResponse 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 NewGetPlayerThemeResponseWithDefaults

func NewGetPlayerThemeResponseWithDefaults() *GetPlayerThemeResponse

NewGetPlayerThemeResponseWithDefaults instantiates a new GetPlayerThemeResponse 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 (*GetPlayerThemeResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetPlayerThemeResponse) GetDataOk

func (o *GetPlayerThemeResponse) GetDataOk() (*GetPlayerThemeData, bool)

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

func (*GetPlayerThemeResponse) GetStatus

func (o *GetPlayerThemeResponse) GetStatus() string

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

func (*GetPlayerThemeResponse) GetStatusOk

func (o *GetPlayerThemeResponse) 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 (*GetPlayerThemeResponse) HasData

func (o *GetPlayerThemeResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetPlayerThemeResponse) HasStatus

func (o *GetPlayerThemeResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetPlayerThemeResponse) SetData

SetData gets a reference to the given GetPlayerThemeData and assigns it to the Data field.

func (*GetPlayerThemeResponse) SetStatus

func (o *GetPlayerThemeResponse) SetStatus(v string)

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

type GetPlaylistByIdData

type GetPlaylistByIdData struct {
	Playlist *Playlist `json:"playlist,omitempty"`
}

GetPlaylistByIdData struct for GetPlaylistByIdData

func NewGetPlaylistByIdData

func NewGetPlaylistByIdData() *GetPlaylistByIdData

NewGetPlaylistByIdData instantiates a new GetPlaylistByIdData 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 NewGetPlaylistByIdDataWithDefaults

func NewGetPlaylistByIdDataWithDefaults() *GetPlaylistByIdData

NewGetPlaylistByIdDataWithDefaults instantiates a new GetPlaylistByIdData 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 (*GetPlaylistByIdData) GetPlaylist

func (o *GetPlaylistByIdData) GetPlaylist() Playlist

GetPlaylist returns the Playlist field value if set, zero value otherwise.

func (*GetPlaylistByIdData) GetPlaylistOk

func (o *GetPlaylistByIdData) GetPlaylistOk() (*Playlist, bool)

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

func (*GetPlaylistByIdData) HasPlaylist

func (o *GetPlaylistByIdData) HasPlaylist() bool

HasPlaylist returns a boolean if a field has been set.

func (*GetPlaylistByIdData) SetPlaylist

func (o *GetPlaylistByIdData) SetPlaylist(v Playlist)

SetPlaylist gets a reference to the given Playlist and assigns it to the Playlist field.

type GetPlaylistByIdResponse

type GetPlaylistByIdResponse struct {
	Data   *GetPlaylistByIdData `json:"data,omitempty"`
	Status *string              `json:"status,omitempty"`
}

GetPlaylistByIdResponse struct for GetPlaylistByIdResponse

func NewGetPlaylistByIdResponse

func NewGetPlaylistByIdResponse() *GetPlaylistByIdResponse

NewGetPlaylistByIdResponse instantiates a new GetPlaylistByIdResponse 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 NewGetPlaylistByIdResponseWithDefaults

func NewGetPlaylistByIdResponseWithDefaults() *GetPlaylistByIdResponse

NewGetPlaylistByIdResponseWithDefaults instantiates a new GetPlaylistByIdResponse 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 (*GetPlaylistByIdResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetPlaylistByIdResponse) GetDataOk

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

func (*GetPlaylistByIdResponse) GetStatus

func (o *GetPlaylistByIdResponse) GetStatus() string

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

func (*GetPlaylistByIdResponse) GetStatusOk

func (o *GetPlaylistByIdResponse) 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 (*GetPlaylistByIdResponse) HasData

func (o *GetPlaylistByIdResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetPlaylistByIdResponse) HasStatus

func (o *GetPlaylistByIdResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetPlaylistByIdResponse) SetData

SetData gets a reference to the given GetPlaylistByIdData and assigns it to the Data field.

func (*GetPlaylistByIdResponse) SetStatus

func (o *GetPlaylistByIdResponse) SetStatus(v string)

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

type GetPlaylistListData

type GetPlaylistListData struct {
	Playlists *[]Playlist `json:"playlists,omitempty"`
	Total     *int32      `json:"total,omitempty"`
}

GetPlaylistListData struct for GetPlaylistListData

func NewGetPlaylistListData

func NewGetPlaylistListData() *GetPlaylistListData

NewGetPlaylistListData instantiates a new GetPlaylistListData 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 NewGetPlaylistListDataWithDefaults

func NewGetPlaylistListDataWithDefaults() *GetPlaylistListData

NewGetPlaylistListDataWithDefaults instantiates a new GetPlaylistListData 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 (*GetPlaylistListData) GetPlaylists

func (o *GetPlaylistListData) GetPlaylists() []Playlist

GetPlaylists returns the Playlists field value if set, zero value otherwise.

func (*GetPlaylistListData) GetPlaylistsOk

func (o *GetPlaylistListData) GetPlaylistsOk() (*[]Playlist, bool)

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

func (*GetPlaylistListData) GetTotal

func (o *GetPlaylistListData) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*GetPlaylistListData) GetTotalOk

func (o *GetPlaylistListData) 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 (*GetPlaylistListData) HasPlaylists

func (o *GetPlaylistListData) HasPlaylists() bool

HasPlaylists returns a boolean if a field has been set.

func (*GetPlaylistListData) HasTotal

func (o *GetPlaylistListData) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*GetPlaylistListData) SetPlaylists

func (o *GetPlaylistListData) SetPlaylists(v []Playlist)

SetPlaylists gets a reference to the given []Playlist and assigns it to the Playlists field.

func (*GetPlaylistListData) SetTotal

func (o *GetPlaylistListData) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

type GetPlaylistListRequest

type GetPlaylistListRequest struct {
	Limit    *int32      `json:"limit,omitempty"`
	Metadata *[]Metadata `json:"metadata,omitempty"`
	Offset   *int32      `json:"offset,omitempty"`
	OrderBy  *string     `json:"order_by,omitempty"`
	Search   *string     `json:"search,omitempty"`
	SortBy   *string     `json:"sort_by,omitempty"`
	Tags     *[]string   `json:"tags,omitempty"`
}

GetPlaylistListRequest struct for GetPlaylistListRequest

func NewGetPlaylistListRequest

func NewGetPlaylistListRequest() *GetPlaylistListRequest

NewGetPlaylistListRequest instantiates a new GetPlaylistListRequest 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 NewGetPlaylistListRequestWithDefaults

func NewGetPlaylistListRequestWithDefaults() *GetPlaylistListRequest

NewGetPlaylistListRequestWithDefaults instantiates a new GetPlaylistListRequest 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 (*GetPlaylistListRequest) GetLimit

func (o *GetPlaylistListRequest) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*GetPlaylistListRequest) GetLimitOk

func (o *GetPlaylistListRequest) GetLimitOk() (*int32, bool)

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

func (*GetPlaylistListRequest) GetMetadata

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

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

func (*GetPlaylistListRequest) GetMetadataOk

func (o *GetPlaylistListRequest) 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 (*GetPlaylistListRequest) GetOffset

func (o *GetPlaylistListRequest) GetOffset() int32

GetOffset returns the Offset field value if set, zero value otherwise.

func (*GetPlaylistListRequest) GetOffsetOk

func (o *GetPlaylistListRequest) GetOffsetOk() (*int32, bool)

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

func (*GetPlaylistListRequest) GetOrderBy

func (o *GetPlaylistListRequest) GetOrderBy() string

GetOrderBy returns the OrderBy field value if set, zero value otherwise.

func (*GetPlaylistListRequest) GetOrderByOk

func (o *GetPlaylistListRequest) GetOrderByOk() (*string, bool)

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

func (*GetPlaylistListRequest) GetSearch

func (o *GetPlaylistListRequest) GetSearch() string

GetSearch returns the Search field value if set, zero value otherwise.

func (*GetPlaylistListRequest) GetSearchOk

func (o *GetPlaylistListRequest) GetSearchOk() (*string, bool)

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

func (*GetPlaylistListRequest) GetSortBy

func (o *GetPlaylistListRequest) GetSortBy() string

GetSortBy returns the SortBy field value if set, zero value otherwise.

func (*GetPlaylistListRequest) GetSortByOk

func (o *GetPlaylistListRequest) GetSortByOk() (*string, bool)

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

func (*GetPlaylistListRequest) GetTags

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

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

func (*GetPlaylistListRequest) GetTagsOk

func (o *GetPlaylistListRequest) 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 (*GetPlaylistListRequest) HasLimit

func (o *GetPlaylistListRequest) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*GetPlaylistListRequest) HasMetadata

func (o *GetPlaylistListRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetPlaylistListRequest) HasOffset

func (o *GetPlaylistListRequest) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*GetPlaylistListRequest) HasOrderBy

func (o *GetPlaylistListRequest) HasOrderBy() bool

HasOrderBy returns a boolean if a field has been set.

func (*GetPlaylistListRequest) HasSearch

func (o *GetPlaylistListRequest) HasSearch() bool

HasSearch returns a boolean if a field has been set.

func (*GetPlaylistListRequest) HasSortBy

func (o *GetPlaylistListRequest) HasSortBy() bool

HasSortBy returns a boolean if a field has been set.

func (*GetPlaylistListRequest) HasTags

func (o *GetPlaylistListRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*GetPlaylistListRequest) SetLimit

func (o *GetPlaylistListRequest) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*GetPlaylistListRequest) SetMetadata

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

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

func (*GetPlaylistListRequest) SetOffset

func (o *GetPlaylistListRequest) SetOffset(v int32)

SetOffset gets a reference to the given int32 and assigns it to the Offset field.

func (*GetPlaylistListRequest) SetOrderBy

func (o *GetPlaylistListRequest) SetOrderBy(v string)

SetOrderBy gets a reference to the given string and assigns it to the OrderBy field.

func (*GetPlaylistListRequest) SetSearch

func (o *GetPlaylistListRequest) SetSearch(v string)

SetSearch gets a reference to the given string and assigns it to the Search field.

func (*GetPlaylistListRequest) SetSortBy

func (o *GetPlaylistListRequest) SetSortBy(v string)

SetSortBy gets a reference to the given string and assigns it to the SortBy field.

func (*GetPlaylistListRequest) SetTags

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

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

type GetPlaylistListResponse

type GetPlaylistListResponse struct {
	Data   *GetPlaylistListData `json:"data,omitempty"`
	Status *string              `json:"status,omitempty"`
}

GetPlaylistListResponse struct for GetPlaylistListResponse

func NewGetPlaylistListResponse

func NewGetPlaylistListResponse() *GetPlaylistListResponse

NewGetPlaylistListResponse instantiates a new GetPlaylistListResponse 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 NewGetPlaylistListResponseWithDefaults

func NewGetPlaylistListResponseWithDefaults() *GetPlaylistListResponse

NewGetPlaylistListResponseWithDefaults instantiates a new GetPlaylistListResponse 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 (*GetPlaylistListResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetPlaylistListResponse) GetDataOk

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

func (*GetPlaylistListResponse) GetStatus

func (o *GetPlaylistListResponse) GetStatus() string

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

func (*GetPlaylistListResponse) GetStatusOk

func (o *GetPlaylistListResponse) 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 (*GetPlaylistListResponse) HasData

func (o *GetPlaylistListResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetPlaylistListResponse) HasStatus

func (o *GetPlaylistListResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetPlaylistListResponse) SetData

SetData gets a reference to the given GetPlaylistListData and assigns it to the Data field.

func (*GetPlaylistListResponse) SetStatus

func (o *GetPlaylistListResponse) SetStatus(v string)

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

type GetTranscodeCostData

type GetTranscodeCostData struct {
	IsEnough *bool   `json:"is_enough,omitempty"`
	Price    *string `json:"price,omitempty"`
}

GetTranscodeCostData struct for GetTranscodeCostData

func NewGetTranscodeCostData

func NewGetTranscodeCostData() *GetTranscodeCostData

NewGetTranscodeCostData instantiates a new GetTranscodeCostData 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 NewGetTranscodeCostDataWithDefaults

func NewGetTranscodeCostDataWithDefaults() *GetTranscodeCostData

NewGetTranscodeCostDataWithDefaults instantiates a new GetTranscodeCostData 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 (*GetTranscodeCostData) GetIsEnough

func (o *GetTranscodeCostData) GetIsEnough() bool

GetIsEnough returns the IsEnough field value if set, zero value otherwise.

func (*GetTranscodeCostData) GetIsEnoughOk

func (o *GetTranscodeCostData) GetIsEnoughOk() (*bool, bool)

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

func (*GetTranscodeCostData) GetPrice

func (o *GetTranscodeCostData) GetPrice() string

GetPrice returns the Price field value if set, zero value otherwise.

func (*GetTranscodeCostData) GetPriceOk

func (o *GetTranscodeCostData) GetPriceOk() (*string, bool)

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

func (*GetTranscodeCostData) HasIsEnough

func (o *GetTranscodeCostData) HasIsEnough() bool

HasIsEnough returns a boolean if a field has been set.

func (*GetTranscodeCostData) HasPrice

func (o *GetTranscodeCostData) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*GetTranscodeCostData) SetIsEnough

func (o *GetTranscodeCostData) SetIsEnough(v bool)

SetIsEnough gets a reference to the given bool and assigns it to the IsEnough field.

func (*GetTranscodeCostData) SetPrice

func (o *GetTranscodeCostData) SetPrice(v string)

SetPrice gets a reference to the given string and assigns it to the Price field.

type GetTranscodeCostResponse

type GetTranscodeCostResponse struct {
	Data   *GetTranscodeCostData `json:"data,omitempty"`
	Status *string               `json:"status,omitempty"`
}

GetTranscodeCostResponse struct for GetTranscodeCostResponse

func NewGetTranscodeCostResponse

func NewGetTranscodeCostResponse() *GetTranscodeCostResponse

NewGetTranscodeCostResponse instantiates a new GetTranscodeCostResponse 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 NewGetTranscodeCostResponseWithDefaults

func NewGetTranscodeCostResponseWithDefaults() *GetTranscodeCostResponse

NewGetTranscodeCostResponseWithDefaults instantiates a new GetTranscodeCostResponse 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 (*GetTranscodeCostResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetTranscodeCostResponse) GetDataOk

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

func (*GetTranscodeCostResponse) GetStatus

func (o *GetTranscodeCostResponse) GetStatus() string

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

func (*GetTranscodeCostResponse) GetStatusOk

func (o *GetTranscodeCostResponse) 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 (*GetTranscodeCostResponse) HasData

func (o *GetTranscodeCostResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetTranscodeCostResponse) HasStatus

func (o *GetTranscodeCostResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetTranscodeCostResponse) SetData

SetData gets a reference to the given GetTranscodeCostData and assigns it to the Data field.

func (*GetTranscodeCostResponse) SetStatus

func (o *GetTranscodeCostResponse) SetStatus(v string)

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

type GetUserWebhookData

type GetUserWebhookData struct {
	Webhook *Webhook `json:"webhook,omitempty"`
}

GetUserWebhookData struct for GetUserWebhookData

func NewGetUserWebhookData

func NewGetUserWebhookData() *GetUserWebhookData

NewGetUserWebhookData instantiates a new GetUserWebhookData 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 NewGetUserWebhookDataWithDefaults

func NewGetUserWebhookDataWithDefaults() *GetUserWebhookData

NewGetUserWebhookDataWithDefaults instantiates a new GetUserWebhookData 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 (*GetUserWebhookData) GetWebhook

func (o *GetUserWebhookData) GetWebhook() Webhook

GetWebhook returns the Webhook field value if set, zero value otherwise.

func (*GetUserWebhookData) GetWebhookOk

func (o *GetUserWebhookData) GetWebhookOk() (*Webhook, bool)

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

func (*GetUserWebhookData) HasWebhook

func (o *GetUserWebhookData) HasWebhook() bool

HasWebhook returns a boolean if a field has been set.

func (*GetUserWebhookData) SetWebhook

func (o *GetUserWebhookData) SetWebhook(v Webhook)

SetWebhook gets a reference to the given Webhook and assigns it to the Webhook field.

type GetUserWebhookResponse

type GetUserWebhookResponse struct {
	Data   *GetUserWebhookData `json:"data,omitempty"`
	Status *string             `json:"status,omitempty"`
}

GetUserWebhookResponse struct for GetUserWebhookResponse

func NewGetUserWebhookResponse

func NewGetUserWebhookResponse() *GetUserWebhookResponse

NewGetUserWebhookResponse instantiates a new GetUserWebhookResponse 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 NewGetUserWebhookResponseWithDefaults

func NewGetUserWebhookResponseWithDefaults() *GetUserWebhookResponse

NewGetUserWebhookResponseWithDefaults instantiates a new GetUserWebhookResponse 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 (*GetUserWebhookResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetUserWebhookResponse) GetDataOk

func (o *GetUserWebhookResponse) GetDataOk() (*GetUserWebhookData, bool)

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

func (*GetUserWebhookResponse) GetStatus

func (o *GetUserWebhookResponse) GetStatus() string

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

func (*GetUserWebhookResponse) GetStatusOk

func (o *GetUserWebhookResponse) 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 (*GetUserWebhookResponse) HasData

func (o *GetUserWebhookResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetUserWebhookResponse) HasStatus

func (o *GetUserWebhookResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetUserWebhookResponse) SetData

SetData gets a reference to the given GetUserWebhookData and assigns it to the Data field.

func (*GetUserWebhookResponse) SetStatus

func (o *GetUserWebhookResponse) SetStatus(v string)

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

type GetVideoCaptionsData

type GetVideoCaptionsData struct {
	Total         *int32          `json:"total,omitempty"`
	VideoCaptions *[]VideoCaption `json:"video_captions,omitempty"`
}

GetVideoCaptionsData struct for GetVideoCaptionsData

func NewGetVideoCaptionsData

func NewGetVideoCaptionsData() *GetVideoCaptionsData

NewGetVideoCaptionsData instantiates a new GetVideoCaptionsData 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 NewGetVideoCaptionsDataWithDefaults

func NewGetVideoCaptionsDataWithDefaults() *GetVideoCaptionsData

NewGetVideoCaptionsDataWithDefaults instantiates a new GetVideoCaptionsData 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 (*GetVideoCaptionsData) GetTotal

func (o *GetVideoCaptionsData) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*GetVideoCaptionsData) GetTotalOk

func (o *GetVideoCaptionsData) 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 (*GetVideoCaptionsData) GetVideoCaptions

func (o *GetVideoCaptionsData) GetVideoCaptions() []VideoCaption

GetVideoCaptions returns the VideoCaptions field value if set, zero value otherwise.

func (*GetVideoCaptionsData) GetVideoCaptionsOk

func (o *GetVideoCaptionsData) GetVideoCaptionsOk() (*[]VideoCaption, bool)

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

func (*GetVideoCaptionsData) HasTotal

func (o *GetVideoCaptionsData) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*GetVideoCaptionsData) HasVideoCaptions

func (o *GetVideoCaptionsData) HasVideoCaptions() bool

HasVideoCaptions returns a boolean if a field has been set.

func (*GetVideoCaptionsData) SetTotal

func (o *GetVideoCaptionsData) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

func (*GetVideoCaptionsData) SetVideoCaptions

func (o *GetVideoCaptionsData) SetVideoCaptions(v []VideoCaption)

SetVideoCaptions gets a reference to the given []VideoCaption and assigns it to the VideoCaptions field.

type GetVideoCaptionsResponse

type GetVideoCaptionsResponse struct {
	Data   *GetVideoCaptionsData `json:"data,omitempty"`
	Status *string               `json:"status,omitempty"`
}

GetVideoCaptionsResponse struct for GetVideoCaptionsResponse

func NewGetVideoCaptionsResponse

func NewGetVideoCaptionsResponse() *GetVideoCaptionsResponse

NewGetVideoCaptionsResponse instantiates a new GetVideoCaptionsResponse 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 NewGetVideoCaptionsResponseWithDefaults

func NewGetVideoCaptionsResponseWithDefaults() *GetVideoCaptionsResponse

NewGetVideoCaptionsResponseWithDefaults instantiates a new GetVideoCaptionsResponse 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 (*GetVideoCaptionsResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetVideoCaptionsResponse) GetDataOk

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

func (*GetVideoCaptionsResponse) GetStatus

func (o *GetVideoCaptionsResponse) GetStatus() string

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

func (*GetVideoCaptionsResponse) GetStatusOk

func (o *GetVideoCaptionsResponse) 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 (*GetVideoCaptionsResponse) HasData

func (o *GetVideoCaptionsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetVideoCaptionsResponse) HasStatus

func (o *GetVideoCaptionsResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetVideoCaptionsResponse) SetData

SetData gets a reference to the given GetVideoCaptionsData and assigns it to the Data field.

func (*GetVideoCaptionsResponse) SetStatus

func (o *GetVideoCaptionsResponse) SetStatus(v string)

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

type GetVideoChaptersData

type GetVideoChaptersData struct {
	Total         *int32          `json:"total,omitempty"`
	VideoChapters *[]VideoChapter `json:"video_chapters,omitempty"`
}

GetVideoChaptersData struct for GetVideoChaptersData

func NewGetVideoChaptersData

func NewGetVideoChaptersData() *GetVideoChaptersData

NewGetVideoChaptersData instantiates a new GetVideoChaptersData 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 NewGetVideoChaptersDataWithDefaults

func NewGetVideoChaptersDataWithDefaults() *GetVideoChaptersData

NewGetVideoChaptersDataWithDefaults instantiates a new GetVideoChaptersData 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 (*GetVideoChaptersData) GetTotal

func (o *GetVideoChaptersData) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*GetVideoChaptersData) GetTotalOk

func (o *GetVideoChaptersData) 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 (*GetVideoChaptersData) GetVideoChapters

func (o *GetVideoChaptersData) GetVideoChapters() []VideoChapter

GetVideoChapters returns the VideoChapters field value if set, zero value otherwise.

func (*GetVideoChaptersData) GetVideoChaptersOk

func (o *GetVideoChaptersData) GetVideoChaptersOk() (*[]VideoChapter, bool)

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

func (*GetVideoChaptersData) HasTotal

func (o *GetVideoChaptersData) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*GetVideoChaptersData) HasVideoChapters

func (o *GetVideoChaptersData) HasVideoChapters() bool

HasVideoChapters returns a boolean if a field has been set.

func (*GetVideoChaptersData) SetTotal

func (o *GetVideoChaptersData) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

func (*GetVideoChaptersData) SetVideoChapters

func (o *GetVideoChaptersData) SetVideoChapters(v []VideoChapter)

SetVideoChapters gets a reference to the given []VideoChapter and assigns it to the VideoChapters field.

type GetVideoChaptersResponse

type GetVideoChaptersResponse struct {
	Data   *GetVideoChaptersData `json:"data,omitempty"`
	Status *string               `json:"status,omitempty"`
}

GetVideoChaptersResponse struct for GetVideoChaptersResponse

func NewGetVideoChaptersResponse

func NewGetVideoChaptersResponse() *GetVideoChaptersResponse

NewGetVideoChaptersResponse instantiates a new GetVideoChaptersResponse 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 NewGetVideoChaptersResponseWithDefaults

func NewGetVideoChaptersResponseWithDefaults() *GetVideoChaptersResponse

NewGetVideoChaptersResponseWithDefaults instantiates a new GetVideoChaptersResponse 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 (*GetVideoChaptersResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetVideoChaptersResponse) GetDataOk

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

func (*GetVideoChaptersResponse) GetStatus

func (o *GetVideoChaptersResponse) GetStatus() string

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

func (*GetVideoChaptersResponse) GetStatusOk

func (o *GetVideoChaptersResponse) 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 (*GetVideoChaptersResponse) HasData

func (o *GetVideoChaptersResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetVideoChaptersResponse) HasStatus

func (o *GetVideoChaptersResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetVideoChaptersResponse) SetData

SetData gets a reference to the given GetVideoChaptersData and assigns it to the Data field.

func (*GetVideoChaptersResponse) SetStatus

func (o *GetVideoChaptersResponse) SetStatus(v string)

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

type GetVideoDetailResponse

type GetVideoDetailResponse struct {
	Data   *Media  `json:"data,omitempty"`
	Status *string `json:"status,omitempty"`
}

GetVideoDetailResponse struct for GetVideoDetailResponse

func NewGetVideoDetailResponse

func NewGetVideoDetailResponse() *GetVideoDetailResponse

NewGetVideoDetailResponse instantiates a new GetVideoDetailResponse 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 NewGetVideoDetailResponseWithDefaults

func NewGetVideoDetailResponseWithDefaults() *GetVideoDetailResponse

NewGetVideoDetailResponseWithDefaults instantiates a new GetVideoDetailResponse 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 (*GetVideoDetailResponse) GetData

func (o *GetVideoDetailResponse) GetData() Media

GetData returns the Data field value if set, zero value otherwise.

func (*GetVideoDetailResponse) GetDataOk

func (o *GetVideoDetailResponse) GetDataOk() (*Media, bool)

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

func (*GetVideoDetailResponse) GetStatus

func (o *GetVideoDetailResponse) GetStatus() string

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

func (*GetVideoDetailResponse) GetStatusOk

func (o *GetVideoDetailResponse) 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 (*GetVideoDetailResponse) HasData

func (o *GetVideoDetailResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetVideoDetailResponse) HasStatus

func (o *GetVideoDetailResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetVideoDetailResponse) SetData

func (o *GetVideoDetailResponse) SetData(v Media)

SetData gets a reference to the given Media and assigns it to the Data field.

func (*GetVideoDetailResponse) SetStatus

func (o *GetVideoDetailResponse) SetStatus(v string)

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

type GetVideoListData

type GetVideoListData struct {
	Total  *int32   `json:"total,omitempty"`
	Videos *[]Media `json:"videos,omitempty"`
}

GetVideoListData struct for GetVideoListData

func NewGetVideoListData

func NewGetVideoListData() *GetVideoListData

NewGetVideoListData instantiates a new GetVideoListData 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 NewGetVideoListDataWithDefaults

func NewGetVideoListDataWithDefaults() *GetVideoListData

NewGetVideoListDataWithDefaults instantiates a new GetVideoListData 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 (*GetVideoListData) GetTotal

func (o *GetVideoListData) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*GetVideoListData) GetTotalOk

func (o *GetVideoListData) 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 (*GetVideoListData) GetVideos

func (o *GetVideoListData) GetVideos() []Media

GetVideos returns the Videos field value if set, zero value otherwise.

func (*GetVideoListData) GetVideosOk

func (o *GetVideoListData) GetVideosOk() (*[]Media, bool)

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

func (*GetVideoListData) HasTotal

func (o *GetVideoListData) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*GetVideoListData) HasVideos

func (o *GetVideoListData) HasVideos() bool

HasVideos returns a boolean if a field has been set.

func (*GetVideoListData) SetTotal

func (o *GetVideoListData) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

func (*GetVideoListData) SetVideos

func (o *GetVideoListData) SetVideos(v []Media)

SetVideos gets a reference to the given []Media and assigns it to the Videos field.

type GetVideoListRequest

type GetVideoListRequest struct {
	Limit    *int32      `json:"limit,omitempty"`
	Metadata *[]Metadata `json:"metadata,omitempty"`
	Offset   *int32      `json:"offset,omitempty"`
	OrderBy  *string     `json:"order_by,omitempty"`
	Search   *string     `json:"search,omitempty"`
	SortBy   *string     `json:"sort_by,omitempty"`
	Status   *string     `json:"status,omitempty"`
	Tags     *[]string   `json:"tags,omitempty"`
}

GetVideoListRequest struct for GetVideoListRequest

func NewGetVideoListRequest

func NewGetVideoListRequest() *GetVideoListRequest

NewGetVideoListRequest instantiates a new GetVideoListRequest 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 NewGetVideoListRequestWithDefaults

func NewGetVideoListRequestWithDefaults() *GetVideoListRequest

NewGetVideoListRequestWithDefaults instantiates a new GetVideoListRequest 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 (*GetVideoListRequest) GetLimit

func (o *GetVideoListRequest) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*GetVideoListRequest) GetLimitOk

func (o *GetVideoListRequest) GetLimitOk() (*int32, bool)

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

func (*GetVideoListRequest) GetMetadata

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

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

func (*GetVideoListRequest) GetMetadataOk

func (o *GetVideoListRequest) 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 (*GetVideoListRequest) GetOffset

func (o *GetVideoListRequest) GetOffset() int32

GetOffset returns the Offset field value if set, zero value otherwise.

func (*GetVideoListRequest) GetOffsetOk

func (o *GetVideoListRequest) GetOffsetOk() (*int32, bool)

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

func (*GetVideoListRequest) GetOrderBy

func (o *GetVideoListRequest) GetOrderBy() string

GetOrderBy returns the OrderBy field value if set, zero value otherwise.

func (*GetVideoListRequest) GetOrderByOk

func (o *GetVideoListRequest) GetOrderByOk() (*string, bool)

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

func (*GetVideoListRequest) GetSearch

func (o *GetVideoListRequest) GetSearch() string

GetSearch returns the Search field value if set, zero value otherwise.

func (*GetVideoListRequest) GetSearchOk

func (o *GetVideoListRequest) GetSearchOk() (*string, bool)

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

func (*GetVideoListRequest) GetSortBy

func (o *GetVideoListRequest) GetSortBy() string

GetSortBy returns the SortBy field value if set, zero value otherwise.

func (*GetVideoListRequest) GetSortByOk

func (o *GetVideoListRequest) GetSortByOk() (*string, bool)

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

func (*GetVideoListRequest) GetStatus

func (o *GetVideoListRequest) GetStatus() string

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

func (*GetVideoListRequest) GetStatusOk

func (o *GetVideoListRequest) 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 (*GetVideoListRequest) GetTags

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

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

func (*GetVideoListRequest) GetTagsOk

func (o *GetVideoListRequest) 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 (*GetVideoListRequest) HasLimit

func (o *GetVideoListRequest) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*GetVideoListRequest) HasMetadata

func (o *GetVideoListRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetVideoListRequest) HasOffset

func (o *GetVideoListRequest) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*GetVideoListRequest) HasOrderBy

func (o *GetVideoListRequest) HasOrderBy() bool

HasOrderBy returns a boolean if a field has been set.

func (*GetVideoListRequest) HasSearch

func (o *GetVideoListRequest) HasSearch() bool

HasSearch returns a boolean if a field has been set.

func (*GetVideoListRequest) HasSortBy

func (o *GetVideoListRequest) HasSortBy() bool

HasSortBy returns a boolean if a field has been set.

func (*GetVideoListRequest) HasStatus

func (o *GetVideoListRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetVideoListRequest) HasTags

func (o *GetVideoListRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*GetVideoListRequest) SetLimit

func (o *GetVideoListRequest) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*GetVideoListRequest) SetMetadata

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

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

func (*GetVideoListRequest) SetOffset

func (o *GetVideoListRequest) SetOffset(v int32)

SetOffset gets a reference to the given int32 and assigns it to the Offset field.

func (*GetVideoListRequest) SetOrderBy

func (o *GetVideoListRequest) SetOrderBy(v string)

SetOrderBy gets a reference to the given string and assigns it to the OrderBy field.

func (*GetVideoListRequest) SetSearch

func (o *GetVideoListRequest) SetSearch(v string)

SetSearch gets a reference to the given string and assigns it to the Search field.

func (*GetVideoListRequest) SetSortBy

func (o *GetVideoListRequest) SetSortBy(v string)

SetSortBy gets a reference to the given string and assigns it to the SortBy field.

func (*GetVideoListRequest) SetStatus

func (o *GetVideoListRequest) SetStatus(v string)

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

func (*GetVideoListRequest) SetTags

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

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

type GetVideoListResponse

type GetVideoListResponse struct {
	Data   *GetVideoListData `json:"data,omitempty"`
	Status *string           `json:"status,omitempty"`
}

GetVideoListResponse struct for GetVideoListResponse

func NewGetVideoListResponse

func NewGetVideoListResponse() *GetVideoListResponse

NewGetVideoListResponse instantiates a new GetVideoListResponse 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 NewGetVideoListResponseWithDefaults

func NewGetVideoListResponseWithDefaults() *GetVideoListResponse

NewGetVideoListResponseWithDefaults instantiates a new GetVideoListResponse 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 (*GetVideoListResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetVideoListResponse) GetDataOk

func (o *GetVideoListResponse) GetDataOk() (*GetVideoListData, bool)

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

func (*GetVideoListResponse) GetStatus

func (o *GetVideoListResponse) GetStatus() string

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

func (*GetVideoListResponse) GetStatusOk

func (o *GetVideoListResponse) 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 (*GetVideoListResponse) HasData

func (o *GetVideoListResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetVideoListResponse) HasStatus

func (o *GetVideoListResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetVideoListResponse) SetData

func (o *GetVideoListResponse) SetData(v GetVideoListData)

SetData gets a reference to the given GetVideoListData and assigns it to the Data field.

func (*GetVideoListResponse) SetStatus

func (o *GetVideoListResponse) SetStatus(v string)

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

type GetVideoPlayerInfoResponse

type GetVideoPlayerInfoResponse struct {
	Assets        *VideoAssets     `json:"assets,omitempty"`
	Captions      *[]VideoCaption  `json:"captions,omitempty"`
	Chapters      *[]VideoChapter  `json:"chapters,omitempty"`
	CreatedAt     *string          `json:"created_at,omitempty"`
	Description   *string          `json:"description,omitempty"`
	Duration      *float32         `json:"duration,omitempty"`
	Id            *string          `json:"id,omitempty"`
	IsMp4         *bool            `json:"is_mp4,omitempty"`
	IsPublic      *bool            `json:"is_public,omitempty"`
	Metadata      *[]Metadata      `json:"metadata,omitempty"`
	PlayerTheme   *PlayerTheme     `json:"player_theme,omitempty"`
	PlayerThemeId *string          `json:"player_theme_id,omitempty"`
	Qualities     *[]QualityObject `json:"qualities,omitempty"`
	Size          *int32           `json:"size,omitempty"`
	Status        *string          `json:"status,omitempty"`
	Tags          *[]string        `json:"tags,omitempty"`
	Title         *string          `json:"title,omitempty"`
	UpdatedAt     *string          `json:"updated_at,omitempty"`
	UserId        *string          `json:"user_id,omitempty"`
}

GetVideoPlayerInfoResponse struct for GetVideoPlayerInfoResponse

func NewGetVideoPlayerInfoResponse

func NewGetVideoPlayerInfoResponse() *GetVideoPlayerInfoResponse

NewGetVideoPlayerInfoResponse instantiates a new GetVideoPlayerInfoResponse 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 NewGetVideoPlayerInfoResponseWithDefaults

func NewGetVideoPlayerInfoResponseWithDefaults() *GetVideoPlayerInfoResponse

NewGetVideoPlayerInfoResponseWithDefaults instantiates a new GetVideoPlayerInfoResponse 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 (*GetVideoPlayerInfoResponse) GetAssets

func (o *GetVideoPlayerInfoResponse) GetAssets() VideoAssets

GetAssets returns the Assets field value if set, zero value otherwise.

func (*GetVideoPlayerInfoResponse) GetAssetsOk

func (o *GetVideoPlayerInfoResponse) 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 (*GetVideoPlayerInfoResponse) GetCaptions

func (o *GetVideoPlayerInfoResponse) GetCaptions() []VideoCaption

GetCaptions returns the Captions field value if set, zero value otherwise.

func (*GetVideoPlayerInfoResponse) GetCaptionsOk

func (o *GetVideoPlayerInfoResponse) GetCaptionsOk() (*[]VideoCaption, bool)

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

func (*GetVideoPlayerInfoResponse) GetChapters

func (o *GetVideoPlayerInfoResponse) GetChapters() []VideoChapter

GetChapters returns the Chapters field value if set, zero value otherwise.

func (*GetVideoPlayerInfoResponse) GetChaptersOk

func (o *GetVideoPlayerInfoResponse) GetChaptersOk() (*[]VideoChapter, bool)

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

func (*GetVideoPlayerInfoResponse) GetCreatedAt

func (o *GetVideoPlayerInfoResponse) GetCreatedAt() string

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

func (*GetVideoPlayerInfoResponse) GetCreatedAtOk

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

func (o *GetVideoPlayerInfoResponse) GetDescription() string

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

func (*GetVideoPlayerInfoResponse) GetDescriptionOk

func (o *GetVideoPlayerInfoResponse) 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 (*GetVideoPlayerInfoResponse) GetDuration

func (o *GetVideoPlayerInfoResponse) GetDuration() float32

GetDuration returns the Duration field value if set, zero value otherwise.

func (*GetVideoPlayerInfoResponse) GetDurationOk

func (o *GetVideoPlayerInfoResponse) GetDurationOk() (*float32, 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.

func (*GetVideoPlayerInfoResponse) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*GetVideoPlayerInfoResponse) GetIdOk

func (o *GetVideoPlayerInfoResponse) 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 (*GetVideoPlayerInfoResponse) GetIsMp4

func (o *GetVideoPlayerInfoResponse) GetIsMp4() bool

GetIsMp4 returns the IsMp4 field value if set, zero value otherwise.

func (*GetVideoPlayerInfoResponse) GetIsMp4Ok

func (o *GetVideoPlayerInfoResponse) GetIsMp4Ok() (*bool, bool)

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

func (*GetVideoPlayerInfoResponse) GetIsPublic

func (o *GetVideoPlayerInfoResponse) GetIsPublic() bool

GetIsPublic returns the IsPublic field value if set, zero value otherwise.

func (*GetVideoPlayerInfoResponse) GetIsPublicOk

func (o *GetVideoPlayerInfoResponse) GetIsPublicOk() (*bool, bool)

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

func (*GetVideoPlayerInfoResponse) GetMetadata

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

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

func (*GetVideoPlayerInfoResponse) GetMetadataOk

func (o *GetVideoPlayerInfoResponse) 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 (*GetVideoPlayerInfoResponse) GetPlayerTheme

func (o *GetVideoPlayerInfoResponse) GetPlayerTheme() PlayerTheme

GetPlayerTheme returns the PlayerTheme field value if set, zero value otherwise.

func (*GetVideoPlayerInfoResponse) GetPlayerThemeId

func (o *GetVideoPlayerInfoResponse) GetPlayerThemeId() string

GetPlayerThemeId returns the PlayerThemeId field value if set, zero value otherwise.

func (*GetVideoPlayerInfoResponse) GetPlayerThemeIdOk

func (o *GetVideoPlayerInfoResponse) GetPlayerThemeIdOk() (*string, bool)

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

func (*GetVideoPlayerInfoResponse) GetPlayerThemeOk

func (o *GetVideoPlayerInfoResponse) GetPlayerThemeOk() (*PlayerTheme, bool)

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

func (*GetVideoPlayerInfoResponse) GetQualities

func (o *GetVideoPlayerInfoResponse) GetQualities() []QualityObject

GetQualities returns the Qualities field value if set, zero value otherwise.

func (*GetVideoPlayerInfoResponse) GetQualitiesOk

func (o *GetVideoPlayerInfoResponse) GetQualitiesOk() (*[]QualityObject, 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 (*GetVideoPlayerInfoResponse) GetSize

func (o *GetVideoPlayerInfoResponse) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*GetVideoPlayerInfoResponse) GetSizeOk

func (o *GetVideoPlayerInfoResponse) GetSizeOk() (*int32, bool)

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

func (*GetVideoPlayerInfoResponse) GetStatus

func (o *GetVideoPlayerInfoResponse) GetStatus() string

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

func (*GetVideoPlayerInfoResponse) GetStatusOk

func (o *GetVideoPlayerInfoResponse) 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 (*GetVideoPlayerInfoResponse) GetTags

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

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

func (*GetVideoPlayerInfoResponse) GetTagsOk

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

func (o *GetVideoPlayerInfoResponse) GetTitle() string

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

func (*GetVideoPlayerInfoResponse) GetTitleOk

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

func (o *GetVideoPlayerInfoResponse) GetUpdatedAt() string

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

func (*GetVideoPlayerInfoResponse) GetUpdatedAtOk

func (o *GetVideoPlayerInfoResponse) 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 (*GetVideoPlayerInfoResponse) GetUserId

func (o *GetVideoPlayerInfoResponse) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*GetVideoPlayerInfoResponse) GetUserIdOk

func (o *GetVideoPlayerInfoResponse) GetUserIdOk() (*string, bool)

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

func (*GetVideoPlayerInfoResponse) HasAssets

func (o *GetVideoPlayerInfoResponse) HasAssets() bool

HasAssets returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasCaptions

func (o *GetVideoPlayerInfoResponse) HasCaptions() bool

HasCaptions returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasChapters

func (o *GetVideoPlayerInfoResponse) HasChapters() bool

HasChapters returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasCreatedAt

func (o *GetVideoPlayerInfoResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasDescription

func (o *GetVideoPlayerInfoResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasDuration

func (o *GetVideoPlayerInfoResponse) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasId

func (o *GetVideoPlayerInfoResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasIsMp4

func (o *GetVideoPlayerInfoResponse) HasIsMp4() bool

HasIsMp4 returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasIsPublic

func (o *GetVideoPlayerInfoResponse) HasIsPublic() bool

HasIsPublic returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasMetadata

func (o *GetVideoPlayerInfoResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasPlayerTheme

func (o *GetVideoPlayerInfoResponse) HasPlayerTheme() bool

HasPlayerTheme returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasPlayerThemeId

func (o *GetVideoPlayerInfoResponse) HasPlayerThemeId() bool

HasPlayerThemeId returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasQualities

func (o *GetVideoPlayerInfoResponse) HasQualities() bool

HasQualities returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasSize

func (o *GetVideoPlayerInfoResponse) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasStatus

func (o *GetVideoPlayerInfoResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasTags

func (o *GetVideoPlayerInfoResponse) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasTitle

func (o *GetVideoPlayerInfoResponse) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasUpdatedAt

func (o *GetVideoPlayerInfoResponse) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) HasUserId

func (o *GetVideoPlayerInfoResponse) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (*GetVideoPlayerInfoResponse) SetAssets

func (o *GetVideoPlayerInfoResponse) SetAssets(v VideoAssets)

SetAssets gets a reference to the given VideoAssets and assigns it to the Assets field.

func (*GetVideoPlayerInfoResponse) SetCaptions

func (o *GetVideoPlayerInfoResponse) SetCaptions(v []VideoCaption)

SetCaptions gets a reference to the given []VideoCaption and assigns it to the Captions field.

func (*GetVideoPlayerInfoResponse) SetChapters

func (o *GetVideoPlayerInfoResponse) SetChapters(v []VideoChapter)

SetChapters gets a reference to the given []VideoChapter and assigns it to the Chapters field.

func (*GetVideoPlayerInfoResponse) SetCreatedAt

func (o *GetVideoPlayerInfoResponse) SetCreatedAt(v string)

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

func (*GetVideoPlayerInfoResponse) SetDescription

func (o *GetVideoPlayerInfoResponse) SetDescription(v string)

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

func (*GetVideoPlayerInfoResponse) SetDuration

func (o *GetVideoPlayerInfoResponse) SetDuration(v float32)

SetDuration gets a reference to the given float32 and assigns it to the Duration field.

func (*GetVideoPlayerInfoResponse) SetId

func (o *GetVideoPlayerInfoResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetVideoPlayerInfoResponse) SetIsMp4

func (o *GetVideoPlayerInfoResponse) SetIsMp4(v bool)

SetIsMp4 gets a reference to the given bool and assigns it to the IsMp4 field.

func (*GetVideoPlayerInfoResponse) SetIsPublic

func (o *GetVideoPlayerInfoResponse) SetIsPublic(v bool)

SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.

func (*GetVideoPlayerInfoResponse) SetMetadata

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

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

func (*GetVideoPlayerInfoResponse) SetPlayerTheme

func (o *GetVideoPlayerInfoResponse) SetPlayerTheme(v PlayerTheme)

SetPlayerTheme gets a reference to the given PlayerTheme and assigns it to the PlayerTheme field.

func (*GetVideoPlayerInfoResponse) SetPlayerThemeId

func (o *GetVideoPlayerInfoResponse) SetPlayerThemeId(v string)

SetPlayerThemeId gets a reference to the given string and assigns it to the PlayerThemeId field.

func (*GetVideoPlayerInfoResponse) SetQualities

func (o *GetVideoPlayerInfoResponse) SetQualities(v []QualityObject)

SetQualities gets a reference to the given []QualityObject and assigns it to the Qualities field.

func (*GetVideoPlayerInfoResponse) SetSize

func (o *GetVideoPlayerInfoResponse) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*GetVideoPlayerInfoResponse) SetStatus

func (o *GetVideoPlayerInfoResponse) SetStatus(v string)

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

func (*GetVideoPlayerInfoResponse) SetTags

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

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

func (*GetVideoPlayerInfoResponse) SetTitle

func (o *GetVideoPlayerInfoResponse) SetTitle(v string)

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

func (*GetVideoPlayerInfoResponse) SetUpdatedAt

func (o *GetVideoPlayerInfoResponse) SetUpdatedAt(v string)

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

func (*GetVideoPlayerInfoResponse) SetUserId

func (o *GetVideoPlayerInfoResponse) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

type GetWebhooksListData

type GetWebhooksListData struct {
	Total    *int32     `json:"total,omitempty"`
	Webhooks *[]Webhook `json:"webhooks,omitempty"`
}

GetWebhooksListData struct for GetWebhooksListData

func NewGetWebhooksListData

func NewGetWebhooksListData() *GetWebhooksListData

NewGetWebhooksListData instantiates a new GetWebhooksListData 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 NewGetWebhooksListDataWithDefaults

func NewGetWebhooksListDataWithDefaults() *GetWebhooksListData

NewGetWebhooksListDataWithDefaults instantiates a new GetWebhooksListData 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 (*GetWebhooksListData) GetTotal

func (o *GetWebhooksListData) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*GetWebhooksListData) GetTotalOk

func (o *GetWebhooksListData) 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 (*GetWebhooksListData) GetWebhooks

func (o *GetWebhooksListData) GetWebhooks() []Webhook

GetWebhooks returns the Webhooks field value if set, zero value otherwise.

func (*GetWebhooksListData) GetWebhooksOk

func (o *GetWebhooksListData) GetWebhooksOk() (*[]Webhook, bool)

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

func (*GetWebhooksListData) HasTotal

func (o *GetWebhooksListData) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*GetWebhooksListData) HasWebhooks

func (o *GetWebhooksListData) HasWebhooks() bool

HasWebhooks returns a boolean if a field has been set.

func (*GetWebhooksListData) SetTotal

func (o *GetWebhooksListData) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

func (*GetWebhooksListData) SetWebhooks

func (o *GetWebhooksListData) SetWebhooks(v []Webhook)

SetWebhooks gets a reference to the given []Webhook and assigns it to the Webhooks field.

type GetWebhooksListResponse

type GetWebhooksListResponse struct {
	Data   *GetWebhooksListData `json:"data,omitempty"`
	Status *string              `json:"status,omitempty"`
}

GetWebhooksListResponse struct for GetWebhooksListResponse

func NewGetWebhooksListResponse

func NewGetWebhooksListResponse() *GetWebhooksListResponse

NewGetWebhooksListResponse instantiates a new GetWebhooksListResponse 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 NewGetWebhooksListResponseWithDefaults

func NewGetWebhooksListResponseWithDefaults() *GetWebhooksListResponse

NewGetWebhooksListResponseWithDefaults instantiates a new GetWebhooksListResponse 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 (*GetWebhooksListResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetWebhooksListResponse) GetDataOk

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

func (*GetWebhooksListResponse) GetStatus

func (o *GetWebhooksListResponse) GetStatus() string

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

func (*GetWebhooksListResponse) GetStatusOk

func (o *GetWebhooksListResponse) 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 (*GetWebhooksListResponse) HasData

func (o *GetWebhooksListResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetWebhooksListResponse) HasStatus

func (o *GetWebhooksListResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetWebhooksListResponse) SetData

SetData gets a reference to the given GetWebhooksListData and assigns it to the Data field.

func (*GetWebhooksListResponse) SetStatus

func (o *GetWebhooksListResponse) SetStatus(v string)

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

type IUploadStream

type IUploadStream interface {
	UploadPart(fileName string, fileReader io.Reader, fileSize int64) (*Media, error)
	UploadPartWithContext(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64) (*Media, error)
}

VideosService communicating with the Videos endpoints of the Aioz Stream API

type Media added in v1.0.10

type Media struct {
	Assets        *VideoAssets     `json:"assets,omitempty"`
	Captions      *[]VideoCaption  `json:"captions,omitempty"`
	Chapters      *[]VideoChapter  `json:"chapters,omitempty"`
	CreatedAt     *string          `json:"created_at,omitempty"`
	Description   *string          `json:"description,omitempty"`
	Duration      *float32         `json:"duration,omitempty"`
	Id            *string          `json:"id,omitempty"`
	IsMp4         *bool            `json:"is_mp4,omitempty"`
	IsPublic      *bool            `json:"is_public,omitempty"`
	Metadata      *[]Metadata      `json:"metadata,omitempty"`
	PlayerTheme   *PlayerTheme     `json:"player_theme,omitempty"`
	PlayerThemeId *string          `json:"player_theme_id,omitempty"`
	Qualities     *[]QualityObject `json:"qualities,omitempty"`
	Size          *int32           `json:"size,omitempty"`
	Status        *string          `json:"status,omitempty"`
	Tags          *[]string        `json:"tags,omitempty"`
	Title         *string          `json:"title,omitempty"`
	UpdatedAt     *string          `json:"updated_at,omitempty"`
	UserId        *string          `json:"user_id,omitempty"`
	View          *int32           `json:"view,omitempty"`
}

Media struct for Media

func NewMedia added in v1.0.10

func NewMedia() *Media

NewMedia instantiates a new Media 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 NewMediaWithDefaults added in v1.0.10

func NewMediaWithDefaults() *Media

NewMediaWithDefaults instantiates a new Media 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 (*Media) GetAssets added in v1.0.10

func (o *Media) GetAssets() VideoAssets

GetAssets returns the Assets field value if set, zero value otherwise.

func (*Media) GetAssetsOk added in v1.0.10

func (o *Media) 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 (*Media) GetCaptions added in v1.0.10

func (o *Media) GetCaptions() []VideoCaption

GetCaptions returns the Captions field value if set, zero value otherwise.

func (*Media) GetCaptionsOk added in v1.0.10

func (o *Media) GetCaptionsOk() (*[]VideoCaption, bool)

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

func (*Media) GetChapters added in v1.0.10

func (o *Media) GetChapters() []VideoChapter

GetChapters returns the Chapters field value if set, zero value otherwise.

func (*Media) GetChaptersOk added in v1.0.10

func (o *Media) GetChaptersOk() (*[]VideoChapter, bool)

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

func (*Media) GetCreatedAt added in v1.0.10

func (o *Media) GetCreatedAt() string

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

func (*Media) GetCreatedAtOk added in v1.0.10

func (o *Media) 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 (*Media) GetDescription added in v1.0.10

func (o *Media) GetDescription() string

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

func (*Media) GetDescriptionOk added in v1.0.10

func (o *Media) 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 (*Media) GetDuration added in v1.0.10

func (o *Media) GetDuration() float32

GetDuration returns the Duration field value if set, zero value otherwise.

func (*Media) GetDurationOk added in v1.0.10

func (o *Media) GetDurationOk() (*float32, 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.

func (*Media) GetId added in v1.0.10

func (o *Media) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Media) GetIdOk added in v1.0.10

func (o *Media) 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 (*Media) GetIsMp4 added in v1.0.10

func (o *Media) GetIsMp4() bool

GetIsMp4 returns the IsMp4 field value if set, zero value otherwise.

func (*Media) GetIsMp4Ok added in v1.0.10

func (o *Media) GetIsMp4Ok() (*bool, bool)

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

func (*Media) GetIsPublic added in v1.0.10

func (o *Media) GetIsPublic() bool

GetIsPublic returns the IsPublic field value if set, zero value otherwise.

func (*Media) GetIsPublicOk added in v1.0.10

func (o *Media) GetIsPublicOk() (*bool, bool)

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

func (*Media) GetMetadata added in v1.0.10

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

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

func (*Media) GetMetadataOk added in v1.0.10

func (o *Media) 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 (*Media) GetPlayerTheme added in v1.0.10

func (o *Media) GetPlayerTheme() PlayerTheme

GetPlayerTheme returns the PlayerTheme field value if set, zero value otherwise.

func (*Media) GetPlayerThemeId added in v1.0.10

func (o *Media) GetPlayerThemeId() string

GetPlayerThemeId returns the PlayerThemeId field value if set, zero value otherwise.

func (*Media) GetPlayerThemeIdOk added in v1.0.10

func (o *Media) GetPlayerThemeIdOk() (*string, bool)

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

func (*Media) GetPlayerThemeOk added in v1.0.10

func (o *Media) GetPlayerThemeOk() (*PlayerTheme, bool)

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

func (*Media) GetQualities added in v1.0.10

func (o *Media) GetQualities() []QualityObject

GetQualities returns the Qualities field value if set, zero value otherwise.

func (*Media) GetQualitiesOk added in v1.0.10

func (o *Media) GetQualitiesOk() (*[]QualityObject, 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 (*Media) GetSize added in v1.0.10

func (o *Media) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*Media) GetSizeOk added in v1.0.10

func (o *Media) GetSizeOk() (*int32, bool)

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

func (*Media) GetStatus added in v1.0.10

func (o *Media) GetStatus() string

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

func (*Media) GetStatusOk added in v1.0.10

func (o *Media) 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 (*Media) GetTags added in v1.0.10

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

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

func (*Media) GetTagsOk added in v1.0.10

func (o *Media) 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 (*Media) GetTitle added in v1.0.10

func (o *Media) GetTitle() string

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

func (*Media) GetTitleOk added in v1.0.10

func (o *Media) 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 (*Media) GetUpdatedAt added in v1.0.10

func (o *Media) GetUpdatedAt() string

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

func (*Media) GetUpdatedAtOk added in v1.0.10

func (o *Media) 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 (*Media) GetUserId added in v1.0.10

func (o *Media) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*Media) GetUserIdOk added in v1.0.10

func (o *Media) GetUserIdOk() (*string, bool)

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

func (*Media) GetView added in v1.0.10

func (o *Media) GetView() int32

GetView returns the View field value if set, zero value otherwise.

func (*Media) GetViewOk added in v1.0.10

func (o *Media) GetViewOk() (*int32, bool)

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

func (*Media) HasAssets added in v1.0.10

func (o *Media) HasAssets() bool

HasAssets returns a boolean if a field has been set.

func (*Media) HasCaptions added in v1.0.10

func (o *Media) HasCaptions() bool

HasCaptions returns a boolean if a field has been set.

func (*Media) HasChapters added in v1.0.10

func (o *Media) HasChapters() bool

HasChapters returns a boolean if a field has been set.

func (*Media) HasCreatedAt added in v1.0.10

func (o *Media) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Media) HasDescription added in v1.0.10

func (o *Media) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Media) HasDuration added in v1.0.10

func (o *Media) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*Media) HasId added in v1.0.10

func (o *Media) HasId() bool

HasId returns a boolean if a field has been set.

func (*Media) HasIsMp4 added in v1.0.10

func (o *Media) HasIsMp4() bool

HasIsMp4 returns a boolean if a field has been set.

func (*Media) HasIsPublic added in v1.0.10

func (o *Media) HasIsPublic() bool

HasIsPublic returns a boolean if a field has been set.

func (*Media) HasMetadata added in v1.0.10

func (o *Media) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Media) HasPlayerTheme added in v1.0.10

func (o *Media) HasPlayerTheme() bool

HasPlayerTheme returns a boolean if a field has been set.

func (*Media) HasPlayerThemeId added in v1.0.10

func (o *Media) HasPlayerThemeId() bool

HasPlayerThemeId returns a boolean if a field has been set.

func (*Media) HasQualities added in v1.0.10

func (o *Media) HasQualities() bool

HasQualities returns a boolean if a field has been set.

func (*Media) HasSize added in v1.0.10

func (o *Media) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Media) HasStatus added in v1.0.10

func (o *Media) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Media) HasTags added in v1.0.10

func (o *Media) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Media) HasTitle added in v1.0.10

func (o *Media) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Media) HasUpdatedAt added in v1.0.10

func (o *Media) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Media) HasUserId added in v1.0.10

func (o *Media) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (*Media) HasView added in v1.0.10

func (o *Media) HasView() bool

HasView returns a boolean if a field has been set.

func (*Media) SetAssets added in v1.0.10

func (o *Media) SetAssets(v VideoAssets)

SetAssets gets a reference to the given VideoAssets and assigns it to the Assets field.

func (*Media) SetCaptions added in v1.0.10

func (o *Media) SetCaptions(v []VideoCaption)

SetCaptions gets a reference to the given []VideoCaption and assigns it to the Captions field.

func (*Media) SetChapters added in v1.0.10

func (o *Media) SetChapters(v []VideoChapter)

SetChapters gets a reference to the given []VideoChapter and assigns it to the Chapters field.

func (*Media) SetCreatedAt added in v1.0.10

func (o *Media) SetCreatedAt(v string)

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

func (*Media) SetDescription added in v1.0.10

func (o *Media) SetDescription(v string)

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

func (*Media) SetDuration added in v1.0.10

func (o *Media) SetDuration(v float32)

SetDuration gets a reference to the given float32 and assigns it to the Duration field.

func (*Media) SetId added in v1.0.10

func (o *Media) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Media) SetIsMp4 added in v1.0.10

func (o *Media) SetIsMp4(v bool)

SetIsMp4 gets a reference to the given bool and assigns it to the IsMp4 field.

func (*Media) SetIsPublic added in v1.0.10

func (o *Media) SetIsPublic(v bool)

SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.

func (*Media) SetMetadata added in v1.0.10

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

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

func (*Media) SetPlayerTheme added in v1.0.10

func (o *Media) SetPlayerTheme(v PlayerTheme)

SetPlayerTheme gets a reference to the given PlayerTheme and assigns it to the PlayerTheme field.

func (*Media) SetPlayerThemeId added in v1.0.10

func (o *Media) SetPlayerThemeId(v string)

SetPlayerThemeId gets a reference to the given string and assigns it to the PlayerThemeId field.

func (*Media) SetQualities added in v1.0.10

func (o *Media) SetQualities(v []QualityObject)

SetQualities gets a reference to the given []QualityObject and assigns it to the Qualities field.

func (*Media) SetSize added in v1.0.10

func (o *Media) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*Media) SetStatus added in v1.0.10

func (o *Media) SetStatus(v string)

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

func (*Media) SetTags added in v1.0.10

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

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

func (*Media) SetTitle added in v1.0.10

func (o *Media) SetTitle(v string)

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

func (*Media) SetUpdatedAt added in v1.0.10

func (o *Media) SetUpdatedAt(v string)

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

func (*Media) SetUserId added in v1.0.10

func (o *Media) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (*Media) SetView added in v1.0.10

func (o *Media) SetView(v int32)

SetView gets a reference to the given int32 and assigns it to the View field.

type Metadata

type Metadata struct {
	Key   *string `json:"key,omitempty"`
	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 MoveVideoInPlaylistRequest

type MoveVideoInPlaylistRequest struct {
	// CurrentId is the UUID of the playlist item (media) to be moved
	CurrentId *string `json:"current_id,omitempty"`
	// NextId is the UUID of the playlist item that should come after the moved item
	NextId *string `json:"next_id,omitempty"`
	// PreviousId is the UUID of the playlist item that should come before the moved item
	PreviousId *string `json:"previous_id,omitempty"`
}

MoveVideoInPlaylistRequest struct for MoveVideoInPlaylistRequest

func NewMoveVideoInPlaylistRequest

func NewMoveVideoInPlaylistRequest() *MoveVideoInPlaylistRequest

NewMoveVideoInPlaylistRequest instantiates a new MoveVideoInPlaylistRequest 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 NewMoveVideoInPlaylistRequestWithDefaults

func NewMoveVideoInPlaylistRequestWithDefaults() *MoveVideoInPlaylistRequest

NewMoveVideoInPlaylistRequestWithDefaults instantiates a new MoveVideoInPlaylistRequest 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 (*MoveVideoInPlaylistRequest) GetCurrentId

func (o *MoveVideoInPlaylistRequest) GetCurrentId() string

GetCurrentId returns the CurrentId field value if set, zero value otherwise.

func (*MoveVideoInPlaylistRequest) GetCurrentIdOk

func (o *MoveVideoInPlaylistRequest) GetCurrentIdOk() (*string, bool)

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

func (*MoveVideoInPlaylistRequest) GetNextId

func (o *MoveVideoInPlaylistRequest) GetNextId() string

GetNextId returns the NextId field value if set, zero value otherwise.

func (*MoveVideoInPlaylistRequest) GetNextIdOk

func (o *MoveVideoInPlaylistRequest) GetNextIdOk() (*string, bool)

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

func (*MoveVideoInPlaylistRequest) GetPreviousId

func (o *MoveVideoInPlaylistRequest) GetPreviousId() string

GetPreviousId returns the PreviousId field value if set, zero value otherwise.

func (*MoveVideoInPlaylistRequest) GetPreviousIdOk

func (o *MoveVideoInPlaylistRequest) GetPreviousIdOk() (*string, bool)

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

func (*MoveVideoInPlaylistRequest) HasCurrentId

func (o *MoveVideoInPlaylistRequest) HasCurrentId() bool

HasCurrentId returns a boolean if a field has been set.

func (*MoveVideoInPlaylistRequest) HasNextId

func (o *MoveVideoInPlaylistRequest) HasNextId() bool

HasNextId returns a boolean if a field has been set.

func (*MoveVideoInPlaylistRequest) HasPreviousId

func (o *MoveVideoInPlaylistRequest) HasPreviousId() bool

HasPreviousId returns a boolean if a field has been set.

func (*MoveVideoInPlaylistRequest) SetCurrentId

func (o *MoveVideoInPlaylistRequest) SetCurrentId(v string)

SetCurrentId gets a reference to the given string and assigns it to the CurrentId field.

func (*MoveVideoInPlaylistRequest) SetNextId

func (o *MoveVideoInPlaylistRequest) SetNextId(v string)

SetNextId gets a reference to the given string and assigns it to the NextId field.

func (*MoveVideoInPlaylistRequest) SetPreviousId

func (o *MoveVideoInPlaylistRequest) SetPreviousId(v string)

SetPreviousId gets a reference to the given string and assigns it to the PreviousId field.

type NullableAddPlayerThemesToVideoRequest

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

func (NullableAddPlayerThemesToVideoRequest) Get

func (NullableAddPlayerThemesToVideoRequest) IsSet

func (*NullableAddPlayerThemesToVideoRequest) Set

func (*NullableAddPlayerThemesToVideoRequest) Unset

type NullableAddVideoToPlaylistRequest

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

func (NullableAddVideoToPlaylistRequest) Get

func (NullableAddVideoToPlaylistRequest) IsSet

func (*NullableAddVideoToPlaylistRequest) Set

func (*NullableAddVideoToPlaylistRequest) Unset

type NullableApiKey

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

func NewNullableApiKey

func NewNullableApiKey(val *ApiKey) *NullableApiKey

func (NullableApiKey) Get

func (v NullableApiKey) Get() *ApiKey

func (NullableApiKey) IsSet

func (v NullableApiKey) IsSet() bool

func (*NullableApiKey) Set

func (v *NullableApiKey) Set(val *ApiKey)

func (*NullableApiKey) Unset

func (v *NullableApiKey) Unset()

type NullableAsset

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

func NewNullableAsset

func NewNullableAsset(val *Asset) *NullableAsset

func (NullableAsset) Get

func (v NullableAsset) Get() *Asset

func (NullableAsset) IsSet

func (v NullableAsset) IsSet() bool

func (*NullableAsset) Set

func (v *NullableAsset) Set(val *Asset)

func (*NullableAsset) Unset

func (v *NullableAsset) Unset()

type NullableAudioConfig added in v1.0.10

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

func NewNullableAudioConfig added in v1.0.10

func NewNullableAudioConfig(val *AudioConfig) *NullableAudioConfig

func (NullableAudioConfig) Get added in v1.0.10

func (NullableAudioConfig) IsSet added in v1.0.10

func (v NullableAudioConfig) IsSet() bool

func (*NullableAudioConfig) Set added in v1.0.10

func (v *NullableAudioConfig) Set(val *AudioConfig)

func (*NullableAudioConfig) Unset added in v1.0.10

func (v *NullableAudioConfig) 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 NullableControls

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

func NewNullableControls

func NewNullableControls(val *Controls) *NullableControls

func (NullableControls) Get

func (v NullableControls) Get() *Controls

func (NullableControls) IsSet

func (v NullableControls) IsSet() bool

func (*NullableControls) Set

func (v *NullableControls) Set(val *Controls)

func (*NullableControls) Unset

func (v *NullableControls) Unset()

type NullableCreateApiKeyData

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

func NewNullableCreateApiKeyData

func NewNullableCreateApiKeyData(val *CreateApiKeyData) *NullableCreateApiKeyData

func (NullableCreateApiKeyData) Get

func (NullableCreateApiKeyData) IsSet

func (v NullableCreateApiKeyData) IsSet() bool

func (*NullableCreateApiKeyData) Set

func (*NullableCreateApiKeyData) Unset

func (v *NullableCreateApiKeyData) Unset()

type NullableCreateApiKeyRequest

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

func NewNullableCreateApiKeyRequest

func NewNullableCreateApiKeyRequest(val *CreateApiKeyRequest) *NullableCreateApiKeyRequest

func (NullableCreateApiKeyRequest) Get

func (NullableCreateApiKeyRequest) IsSet

func (*NullableCreateApiKeyRequest) Set

func (*NullableCreateApiKeyRequest) Unset

func (v *NullableCreateApiKeyRequest) Unset()

type NullableCreateApiKeyResponse

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

func NewNullableCreateApiKeyResponse

func NewNullableCreateApiKeyResponse(val *CreateApiKeyResponse) *NullableCreateApiKeyResponse

func (NullableCreateApiKeyResponse) Get

func (NullableCreateApiKeyResponse) IsSet

func (*NullableCreateApiKeyResponse) Set

func (*NullableCreateApiKeyResponse) Unset

func (v *NullableCreateApiKeyResponse) Unset()

type NullableCreateMediaRequest added in v1.0.10

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

func NewNullableCreateMediaRequest added in v1.0.10

func NewNullableCreateMediaRequest(val *CreateMediaRequest) *NullableCreateMediaRequest

func (NullableCreateMediaRequest) Get added in v1.0.10

func (NullableCreateMediaRequest) IsSet added in v1.0.10

func (v NullableCreateMediaRequest) IsSet() bool

func (*NullableCreateMediaRequest) Set added in v1.0.10

func (*NullableCreateMediaRequest) Unset added in v1.0.10

func (v *NullableCreateMediaRequest) Unset()

type NullableCreateMediaResponse added in v1.0.10

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

func NewNullableCreateMediaResponse added in v1.0.10

func NewNullableCreateMediaResponse(val *CreateMediaResponse) *NullableCreateMediaResponse

func (NullableCreateMediaResponse) Get added in v1.0.10

func (NullableCreateMediaResponse) IsSet added in v1.0.10

func (*NullableCreateMediaResponse) Set added in v1.0.10

func (*NullableCreateMediaResponse) Unset added in v1.0.10

func (v *NullableCreateMediaResponse) Unset()

type NullableCreatePlayerThemeRequest

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

func (NullableCreatePlayerThemeRequest) Get

func (NullableCreatePlayerThemeRequest) IsSet

func (*NullableCreatePlayerThemeRequest) Set

func (*NullableCreatePlayerThemeRequest) Unset

type NullableCreatePlayerThemesData

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

func (NullableCreatePlayerThemesData) Get

func (NullableCreatePlayerThemesData) IsSet

func (*NullableCreatePlayerThemesData) Set

func (*NullableCreatePlayerThemesData) Unset

func (v *NullableCreatePlayerThemesData) Unset()

type NullableCreatePlayerThemesResponse

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

func (NullableCreatePlayerThemesResponse) Get

func (NullableCreatePlayerThemesResponse) IsSet

func (*NullableCreatePlayerThemesResponse) Set

func (*NullableCreatePlayerThemesResponse) Unset

type NullableCreatePlaylistData

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

func NewNullableCreatePlaylistData

func NewNullableCreatePlaylistData(val *CreatePlaylistData) *NullableCreatePlaylistData

func (NullableCreatePlaylistData) Get

func (NullableCreatePlaylistData) IsSet

func (v NullableCreatePlaylistData) IsSet() bool

func (*NullableCreatePlaylistData) Set

func (*NullableCreatePlaylistData) Unset

func (v *NullableCreatePlaylistData) Unset()

type NullableCreatePlaylistRequest

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

func (NullableCreatePlaylistRequest) Get

func (NullableCreatePlaylistRequest) IsSet

func (*NullableCreatePlaylistRequest) Set

func (*NullableCreatePlaylistRequest) Unset

func (v *NullableCreatePlaylistRequest) Unset()

type NullableCreatePlaylistResponse

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

func (NullableCreatePlaylistResponse) Get

func (NullableCreatePlaylistResponse) IsSet

func (*NullableCreatePlaylistResponse) Set

func (*NullableCreatePlaylistResponse) Unset

func (v *NullableCreatePlaylistResponse) Unset()

type NullableCreateVideoCaptionData

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

func (NullableCreateVideoCaptionData) Get

func (NullableCreateVideoCaptionData) IsSet

func (*NullableCreateVideoCaptionData) Set

func (*NullableCreateVideoCaptionData) Unset

func (v *NullableCreateVideoCaptionData) Unset()

type NullableCreateVideoCaptionResponse

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

func (NullableCreateVideoCaptionResponse) Get

func (NullableCreateVideoCaptionResponse) IsSet

func (*NullableCreateVideoCaptionResponse) Set

func (*NullableCreateVideoCaptionResponse) Unset

type NullableCreateVideoChapterData

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

func (NullableCreateVideoChapterData) Get

func (NullableCreateVideoChapterData) IsSet

func (*NullableCreateVideoChapterData) Set

func (*NullableCreateVideoChapterData) Unset

func (v *NullableCreateVideoChapterData) Unset()

type NullableCreateVideoChapterResponse

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

func (NullableCreateVideoChapterResponse) Get

func (NullableCreateVideoChapterResponse) IsSet

func (*NullableCreateVideoChapterResponse) Set

func (*NullableCreateVideoChapterResponse) Unset

type NullableCreateWebhookData

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

func NewNullableCreateWebhookData

func NewNullableCreateWebhookData(val *CreateWebhookData) *NullableCreateWebhookData

func (NullableCreateWebhookData) Get

func (NullableCreateWebhookData) IsSet

func (v NullableCreateWebhookData) IsSet() bool

func (*NullableCreateWebhookData) Set

func (*NullableCreateWebhookData) Unset

func (v *NullableCreateWebhookData) Unset()

type NullableCreateWebhookRequest

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

func NewNullableCreateWebhookRequest

func NewNullableCreateWebhookRequest(val *CreateWebhookRequest) *NullableCreateWebhookRequest

func (NullableCreateWebhookRequest) Get

func (NullableCreateWebhookRequest) IsSet

func (*NullableCreateWebhookRequest) Set

func (*NullableCreateWebhookRequest) Unset

func (v *NullableCreateWebhookRequest) Unset()

type NullableCreateWebhookResponse

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

func (NullableCreateWebhookResponse) Get

func (NullableCreateWebhookResponse) IsSet

func (*NullableCreateWebhookResponse) Set

func (*NullableCreateWebhookResponse) Unset

func (v *NullableCreateWebhookResponse) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func PtrNullableFloat32

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 NullableGetApiKeysData

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

func NewNullableGetApiKeysData

func NewNullableGetApiKeysData(val *GetApiKeysData) *NullableGetApiKeysData

func (NullableGetApiKeysData) Get

func (NullableGetApiKeysData) IsSet

func (v NullableGetApiKeysData) IsSet() bool

func (*NullableGetApiKeysData) Set

func (*NullableGetApiKeysData) Unset

func (v *NullableGetApiKeysData) Unset()

type NullableGetApiKeysResponse

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

func NewNullableGetApiKeysResponse

func NewNullableGetApiKeysResponse(val *GetApiKeysResponse) *NullableGetApiKeysResponse

func (NullableGetApiKeysResponse) Get

func (NullableGetApiKeysResponse) IsSet

func (v NullableGetApiKeysResponse) IsSet() bool

func (*NullableGetApiKeysResponse) Set

func (*NullableGetApiKeysResponse) Unset

func (v *NullableGetApiKeysResponse) Unset()

type NullableGetPlayerThemeByIdData

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

func (NullableGetPlayerThemeByIdData) Get

func (NullableGetPlayerThemeByIdData) IsSet

func (*NullableGetPlayerThemeByIdData) Set

func (*NullableGetPlayerThemeByIdData) Unset

func (v *NullableGetPlayerThemeByIdData) Unset()

type NullableGetPlayerThemeByIdResponse

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

func (NullableGetPlayerThemeByIdResponse) Get

func (NullableGetPlayerThemeByIdResponse) IsSet

func (*NullableGetPlayerThemeByIdResponse) Set

func (*NullableGetPlayerThemeByIdResponse) Unset

type NullableGetPlayerThemeData

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

func NewNullableGetPlayerThemeData

func NewNullableGetPlayerThemeData(val *GetPlayerThemeData) *NullableGetPlayerThemeData

func (NullableGetPlayerThemeData) Get

func (NullableGetPlayerThemeData) IsSet

func (v NullableGetPlayerThemeData) IsSet() bool

func (*NullableGetPlayerThemeData) Set

func (*NullableGetPlayerThemeData) Unset

func (v *NullableGetPlayerThemeData) Unset()

type NullableGetPlayerThemeResponse

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

func (NullableGetPlayerThemeResponse) Get

func (NullableGetPlayerThemeResponse) IsSet

func (*NullableGetPlayerThemeResponse) Set

func (*NullableGetPlayerThemeResponse) Unset

func (v *NullableGetPlayerThemeResponse) Unset()

type NullableGetPlaylistByIdData

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

func NewNullableGetPlaylistByIdData

func NewNullableGetPlaylistByIdData(val *GetPlaylistByIdData) *NullableGetPlaylistByIdData

func (NullableGetPlaylistByIdData) Get

func (NullableGetPlaylistByIdData) IsSet

func (*NullableGetPlaylistByIdData) Set

func (*NullableGetPlaylistByIdData) Unset

func (v *NullableGetPlaylistByIdData) Unset()

type NullableGetPlaylistByIdResponse

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

func (NullableGetPlaylistByIdResponse) Get

func (NullableGetPlaylistByIdResponse) IsSet

func (*NullableGetPlaylistByIdResponse) Set

func (*NullableGetPlaylistByIdResponse) Unset

type NullableGetPlaylistListData

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

func NewNullableGetPlaylistListData

func NewNullableGetPlaylistListData(val *GetPlaylistListData) *NullableGetPlaylistListData

func (NullableGetPlaylistListData) Get

func (NullableGetPlaylistListData) IsSet

func (*NullableGetPlaylistListData) Set

func (*NullableGetPlaylistListData) Unset

func (v *NullableGetPlaylistListData) Unset()

type NullableGetPlaylistListRequest

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

func (NullableGetPlaylistListRequest) Get

func (NullableGetPlaylistListRequest) IsSet

func (*NullableGetPlaylistListRequest) Set

func (*NullableGetPlaylistListRequest) Unset

func (v *NullableGetPlaylistListRequest) Unset()

type NullableGetPlaylistListResponse

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

func (NullableGetPlaylistListResponse) Get

func (NullableGetPlaylistListResponse) IsSet

func (*NullableGetPlaylistListResponse) Set

func (*NullableGetPlaylistListResponse) Unset

type NullableGetTranscodeCostData

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

func NewNullableGetTranscodeCostData

func NewNullableGetTranscodeCostData(val *GetTranscodeCostData) *NullableGetTranscodeCostData

func (NullableGetTranscodeCostData) Get

func (NullableGetTranscodeCostData) IsSet

func (*NullableGetTranscodeCostData) Set

func (*NullableGetTranscodeCostData) Unset

func (v *NullableGetTranscodeCostData) Unset()

type NullableGetTranscodeCostResponse

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

func (NullableGetTranscodeCostResponse) Get

func (NullableGetTranscodeCostResponse) IsSet

func (*NullableGetTranscodeCostResponse) Set

func (*NullableGetTranscodeCostResponse) Unset

type NullableGetUserWebhookData

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

func NewNullableGetUserWebhookData

func NewNullableGetUserWebhookData(val *GetUserWebhookData) *NullableGetUserWebhookData

func (NullableGetUserWebhookData) Get

func (NullableGetUserWebhookData) IsSet

func (v NullableGetUserWebhookData) IsSet() bool

func (*NullableGetUserWebhookData) Set

func (*NullableGetUserWebhookData) Unset

func (v *NullableGetUserWebhookData) Unset()

type NullableGetUserWebhookResponse

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

func (NullableGetUserWebhookResponse) Get

func (NullableGetUserWebhookResponse) IsSet

func (*NullableGetUserWebhookResponse) Set

func (*NullableGetUserWebhookResponse) Unset

func (v *NullableGetUserWebhookResponse) Unset()

type NullableGetVideoCaptionsData

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

func NewNullableGetVideoCaptionsData

func NewNullableGetVideoCaptionsData(val *GetVideoCaptionsData) *NullableGetVideoCaptionsData

func (NullableGetVideoCaptionsData) Get

func (NullableGetVideoCaptionsData) IsSet

func (*NullableGetVideoCaptionsData) Set

func (*NullableGetVideoCaptionsData) Unset

func (v *NullableGetVideoCaptionsData) Unset()

type NullableGetVideoCaptionsResponse

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

func (NullableGetVideoCaptionsResponse) Get

func (NullableGetVideoCaptionsResponse) IsSet

func (*NullableGetVideoCaptionsResponse) Set

func (*NullableGetVideoCaptionsResponse) Unset

type NullableGetVideoChaptersData

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

func NewNullableGetVideoChaptersData

func NewNullableGetVideoChaptersData(val *GetVideoChaptersData) *NullableGetVideoChaptersData

func (NullableGetVideoChaptersData) Get

func (NullableGetVideoChaptersData) IsSet

func (*NullableGetVideoChaptersData) Set

func (*NullableGetVideoChaptersData) Unset

func (v *NullableGetVideoChaptersData) Unset()

type NullableGetVideoChaptersResponse

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

func (NullableGetVideoChaptersResponse) Get

func (NullableGetVideoChaptersResponse) IsSet

func (*NullableGetVideoChaptersResponse) Set

func (*NullableGetVideoChaptersResponse) Unset

type NullableGetVideoDetailResponse

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

func (NullableGetVideoDetailResponse) Get

func (NullableGetVideoDetailResponse) IsSet

func (*NullableGetVideoDetailResponse) Set

func (*NullableGetVideoDetailResponse) Unset

func (v *NullableGetVideoDetailResponse) Unset()

type NullableGetVideoListData

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

func NewNullableGetVideoListData

func NewNullableGetVideoListData(val *GetVideoListData) *NullableGetVideoListData

func (NullableGetVideoListData) Get

func (NullableGetVideoListData) IsSet

func (v NullableGetVideoListData) IsSet() bool

func (*NullableGetVideoListData) Set

func (*NullableGetVideoListData) Unset

func (v *NullableGetVideoListData) Unset()

type NullableGetVideoListRequest

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

func NewNullableGetVideoListRequest

func NewNullableGetVideoListRequest(val *GetVideoListRequest) *NullableGetVideoListRequest

func (NullableGetVideoListRequest) Get

func (NullableGetVideoListRequest) IsSet

func (*NullableGetVideoListRequest) Set

func (*NullableGetVideoListRequest) Unset

func (v *NullableGetVideoListRequest) Unset()

type NullableGetVideoListResponse

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

func NewNullableGetVideoListResponse

func NewNullableGetVideoListResponse(val *GetVideoListResponse) *NullableGetVideoListResponse

func (NullableGetVideoListResponse) Get

func (NullableGetVideoListResponse) IsSet

func (*NullableGetVideoListResponse) Set

func (*NullableGetVideoListResponse) Unset

func (v *NullableGetVideoListResponse) Unset()

type NullableGetVideoPlayerInfoResponse

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

func (NullableGetVideoPlayerInfoResponse) Get

func (NullableGetVideoPlayerInfoResponse) IsSet

func (*NullableGetVideoPlayerInfoResponse) Set

func (*NullableGetVideoPlayerInfoResponse) Unset

type NullableGetWebhooksListData

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

func NewNullableGetWebhooksListData

func NewNullableGetWebhooksListData(val *GetWebhooksListData) *NullableGetWebhooksListData

func (NullableGetWebhooksListData) Get

func (NullableGetWebhooksListData) IsSet

func (*NullableGetWebhooksListData) Set

func (*NullableGetWebhooksListData) Unset

func (v *NullableGetWebhooksListData) Unset()

type NullableGetWebhooksListResponse

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

func (NullableGetWebhooksListResponse) Get

func (NullableGetWebhooksListResponse) IsSet

func (*NullableGetWebhooksListResponse) Set

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

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 NullableMedia added in v1.0.10

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

func NewNullableMedia added in v1.0.10

func NewNullableMedia(val *Media) *NullableMedia

func (NullableMedia) Get added in v1.0.10

func (v NullableMedia) Get() *Media

func (NullableMedia) IsSet added in v1.0.10

func (v NullableMedia) IsSet() bool

func (*NullableMedia) Set added in v1.0.10

func (v *NullableMedia) Set(val *Media)

func (*NullableMedia) Unset added in v1.0.10

func (v *NullableMedia) 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 NullableMoveVideoInPlaylistRequest

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

func (NullableMoveVideoInPlaylistRequest) Get

func (NullableMoveVideoInPlaylistRequest) IsSet

func (*NullableMoveVideoInPlaylistRequest) Set

func (*NullableMoveVideoInPlaylistRequest) 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 NullablePlaylist

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

func NewNullablePlaylist

func NewNullablePlaylist(val *Playlist) *NullablePlaylist

func (NullablePlaylist) Get

func (v NullablePlaylist) Get() *Playlist

func (NullablePlaylist) IsSet

func (v NullablePlaylist) IsSet() bool

func (*NullablePlaylist) Set

func (v *NullablePlaylist) Set(val *Playlist)

func (*NullablePlaylist) Unset

func (v *NullablePlaylist) Unset()

type NullablePlaylistItem

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

func NewNullablePlaylistItem

func NewNullablePlaylistItem(val *PlaylistItem) *NullablePlaylistItem

func (NullablePlaylistItem) Get

func (NullablePlaylistItem) IsSet

func (v NullablePlaylistItem) IsSet() bool

func (*NullablePlaylistItem) Set

func (v *NullablePlaylistItem) Set(val *PlaylistItem)

func (*NullablePlaylistItem) Unset

func (v *NullablePlaylistItem) Unset()

type NullablePlaylistItemMedia added in v1.0.10

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

func NewNullablePlaylistItemMedia added in v1.0.10

func NewNullablePlaylistItemMedia(val *PlaylistItemMedia) *NullablePlaylistItemMedia

func (NullablePlaylistItemMedia) Get added in v1.0.10

func (NullablePlaylistItemMedia) IsSet added in v1.0.10

func (v NullablePlaylistItemMedia) IsSet() bool

func (*NullablePlaylistItemMedia) Set added in v1.0.10

func (*NullablePlaylistItemMedia) Unset added in v1.0.10

func (v *NullablePlaylistItemMedia) Unset()

type NullablePublicPlaylistObject

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

func NewNullablePublicPlaylistObject

func NewNullablePublicPlaylistObject(val *PublicPlaylistObject) *NullablePublicPlaylistObject

func (NullablePublicPlaylistObject) Get

func (NullablePublicPlaylistObject) IsSet

func (*NullablePublicPlaylistObject) Set

func (*NullablePublicPlaylistObject) Unset

func (v *NullablePublicPlaylistObject) Unset()

type NullableQualityConfig added in v1.0.10

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

func NewNullableQualityConfig added in v1.0.10

func NewNullableQualityConfig(val *QualityConfig) *NullableQualityConfig

func (NullableQualityConfig) Get added in v1.0.10

func (NullableQualityConfig) IsSet added in v1.0.10

func (v NullableQualityConfig) IsSet() bool

func (*NullableQualityConfig) Set added in v1.0.10

func (v *NullableQualityConfig) Set(val *QualityConfig)

func (*NullableQualityConfig) Unset added in v1.0.10

func (v *NullableQualityConfig) Unset()

type NullableQualityObject

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

func NewNullableQualityObject

func NewNullableQualityObject(val *QualityObject) *NullableQualityObject

func (NullableQualityObject) Get

func (NullableQualityObject) IsSet

func (v NullableQualityObject) IsSet() bool

func (*NullableQualityObject) Set

func (v *NullableQualityObject) Set(val *QualityObject)

func (*NullableQualityObject) Unset

func (v *NullableQualityObject) Unset()

type NullableRemovePlayerThemesFromMediaRequest added in v1.0.11

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

func NewNullableRemovePlayerThemesFromMediaRequest added in v1.0.11

func NewNullableRemovePlayerThemesFromMediaRequest(val *RemovePlayerThemesFromMediaRequest) *NullableRemovePlayerThemesFromMediaRequest

func (NullableRemovePlayerThemesFromMediaRequest) Get added in v1.0.11

func (NullableRemovePlayerThemesFromMediaRequest) IsSet added in v1.0.11

func (*NullableRemovePlayerThemesFromMediaRequest) Set added in v1.0.11

func (*NullableRemovePlayerThemesFromMediaRequest) Unset added in v1.0.11

type NullableRenameAPIKeyRequest

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

func NewNullableRenameAPIKeyRequest

func NewNullableRenameAPIKeyRequest(val *RenameAPIKeyRequest) *NullableRenameAPIKeyRequest

func (NullableRenameAPIKeyRequest) Get

func (NullableRenameAPIKeyRequest) IsSet

func (*NullableRenameAPIKeyRequest) Set

func (*NullableRenameAPIKeyRequest) Unset

func (v *NullableRenameAPIKeyRequest) Unset()

type NullableRequestCreateCaption added in v1.0.10

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

func NewNullableRequestCreateCaption added in v1.0.10

func NewNullableRequestCreateCaption(val *RequestCreateCaption) *NullableRequestCreateCaption

func (NullableRequestCreateCaption) Get added in v1.0.10

func (NullableRequestCreateCaption) IsSet added in v1.0.10

func (*NullableRequestCreateCaption) Set added in v1.0.10

func (*NullableRequestCreateCaption) Unset added in v1.0.10

func (v *NullableRequestCreateCaption) Unset()

type NullableResponseError

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

func NewNullableResponseError

func NewNullableResponseError(val *ResponseError) *NullableResponseError

func (NullableResponseError) Get

func (NullableResponseError) IsSet

func (v NullableResponseError) IsSet() bool

func (*NullableResponseError) Set

func (v *NullableResponseError) Set(val *ResponseError)

func (*NullableResponseError) Unset

func (v *NullableResponseError) Unset()

type NullableResponseSuccess

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

func NewNullableResponseSuccess

func NewNullableResponseSuccess(val *ResponseSuccess) *NullableResponseSuccess

func (NullableResponseSuccess) Get

func (NullableResponseSuccess) IsSet

func (v NullableResponseSuccess) IsSet() bool

func (*NullableResponseSuccess) Set

func (*NullableResponseSuccess) Unset

func (v *NullableResponseSuccess) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func PtrNullableString

func PtrNullableString(v string) *NullableString

PtrNullableString is a helper routine that returns a pointer to given NullableString value.

func PtrNullableStringNull

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 NullableTheme

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

func NewNullableTheme

func NewNullableTheme(val *Theme) *NullableTheme

func (NullableTheme) Get

func (v NullableTheme) Get() *Theme

func (NullableTheme) IsSet

func (v NullableTheme) IsSet() bool

func (*NullableTheme) Set

func (v *NullableTheme) Set(val *Theme)

func (*NullableTheme) Unset

func (v *NullableTheme) 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 NullableUpdatePlayerThemeRequest

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

func (NullableUpdatePlayerThemeRequest) Get

func (NullableUpdatePlayerThemeRequest) IsSet

func (*NullableUpdatePlayerThemeRequest) Set

func (*NullableUpdatePlayerThemeRequest) Unset

type NullableUpdatePlayerThemeResponse

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

func (NullableUpdatePlayerThemeResponse) Get

func (NullableUpdatePlayerThemeResponse) IsSet

func (*NullableUpdatePlayerThemeResponse) Set

func (*NullableUpdatePlayerThemeResponse) Unset

type NullableUpdateVideoInfoRequest

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

func (NullableUpdateVideoInfoRequest) Get

func (NullableUpdateVideoInfoRequest) IsSet

func (*NullableUpdateVideoInfoRequest) Set

func (*NullableUpdateVideoInfoRequest) Unset

func (v *NullableUpdateVideoInfoRequest) Unset()

type NullableUpdateWebhookRequest

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

func NewNullableUpdateWebhookRequest

func NewNullableUpdateWebhookRequest(val *UpdateWebhookRequest) *NullableUpdateWebhookRequest

func (NullableUpdateWebhookRequest) Get

func (NullableUpdateWebhookRequest) IsSet

func (*NullableUpdateWebhookRequest) Set

func (*NullableUpdateWebhookRequest) Unset

func (v *NullableUpdateWebhookRequest) Unset()

type NullableUploadLogoByIdResponse

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

func (NullableUploadLogoByIdResponse) Get

func (NullableUploadLogoByIdResponse) IsSet

func (*NullableUploadLogoByIdResponse) Set

func (*NullableUploadLogoByIdResponse) Unset

func (v *NullableUploadLogoByIdResponse) Unset()

type NullableUser added in v1.0.10

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

func NewNullableUser added in v1.0.10

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get added in v1.0.10

func (v NullableUser) Get() *User

func (NullableUser) IsSet added in v1.0.10

func (v NullableUser) IsSet() bool

func (*NullableUser) Set added in v1.0.10

func (v *NullableUser) Set(val *User)

func (*NullableUser) Unset added in v1.0.10

func (v *NullableUser) 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 NullableVideoCaption

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

func NewNullableVideoCaption

func NewNullableVideoCaption(val *VideoCaption) *NullableVideoCaption

func (NullableVideoCaption) Get

func (NullableVideoCaption) IsSet

func (v NullableVideoCaption) IsSet() bool

func (*NullableVideoCaption) Set

func (v *NullableVideoCaption) Set(val *VideoCaption)

func (*NullableVideoCaption) Unset

func (v *NullableVideoCaption) Unset()

type NullableVideoChapter

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

func NewNullableVideoChapter

func NewNullableVideoChapter(val *VideoChapter) *NullableVideoChapter

func (NullableVideoChapter) Get

func (NullableVideoChapter) IsSet

func (v NullableVideoChapter) IsSet() bool

func (*NullableVideoChapter) Set

func (v *NullableVideoChapter) Set(val *VideoChapter)

func (*NullableVideoChapter) Unset

func (v *NullableVideoChapter) Unset()

type NullableVideoConfig added in v1.0.10

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

func NewNullableVideoConfig added in v1.0.10

func NewNullableVideoConfig(val *VideoConfig) *NullableVideoConfig

func (NullableVideoConfig) Get added in v1.0.10

func (NullableVideoConfig) IsSet added in v1.0.10

func (v NullableVideoConfig) IsSet() bool

func (*NullableVideoConfig) Set added in v1.0.10

func (v *NullableVideoConfig) Set(val *VideoConfig)

func (*NullableVideoConfig) Unset added in v1.0.10

func (v *NullableVideoConfig) Unset()

type NullableVideoWatermark

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

func NewNullableVideoWatermark

func NewNullableVideoWatermark(val *VideoWatermark) *NullableVideoWatermark

func (NullableVideoWatermark) Get

func (NullableVideoWatermark) IsSet

func (v NullableVideoWatermark) IsSet() bool

func (*NullableVideoWatermark) Set

func (*NullableVideoWatermark) Unset

func (v *NullableVideoWatermark) 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 PlayerTheme

type PlayerTheme struct {
	Asset     *Asset    `json:"asset,omitempty"`
	Controls  *Controls `json:"controls,omitempty"`
	CreatedAt *string   `json:"created_at,omitempty"`
	Id        *string   `json:"id,omitempty"`
	IsDefault *bool     `json:"is_default,omitempty"`
	Name      *string   `json:"name,omitempty"`
	Theme     *Theme    `json:"theme,omitempty"`
	UserId    *string   `json:"user_id,omitempty"`
}

PlayerTheme struct for PlayerTheme

func NewPlayerTheme

func NewPlayerTheme() *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) GetAsset

func (o *PlayerTheme) GetAsset() Asset

GetAsset returns the Asset field value if set, zero value otherwise.

func (*PlayerTheme) GetAssetOk

func (o *PlayerTheme) GetAssetOk() (*Asset, bool)

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

func (*PlayerTheme) GetControls

func (o *PlayerTheme) GetControls() Controls

GetControls returns the Controls field value if set, zero value otherwise.

func (*PlayerTheme) GetControlsOk

func (o *PlayerTheme) GetControlsOk() (*Controls, bool)

GetControlsOk returns a tuple with the Controls 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) GetId

func (o *PlayerTheme) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PlayerTheme) GetIdOk

func (o *PlayerTheme) 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 (*PlayerTheme) GetIsDefault

func (o *PlayerTheme) GetIsDefault() bool

GetIsDefault returns the IsDefault field value if set, zero value otherwise.

func (*PlayerTheme) GetIsDefaultOk

func (o *PlayerTheme) GetIsDefaultOk() (*bool, bool)

GetIsDefaultOk returns a tuple with the IsDefault 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) GetTheme

func (o *PlayerTheme) GetTheme() Theme

GetTheme returns the Theme field value if set, zero value otherwise.

func (*PlayerTheme) GetThemeOk

func (o *PlayerTheme) GetThemeOk() (*Theme, bool)

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

func (*PlayerTheme) GetUserId

func (o *PlayerTheme) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*PlayerTheme) GetUserIdOk

func (o *PlayerTheme) GetUserIdOk() (*string, bool)

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

func (*PlayerTheme) HasAsset

func (o *PlayerTheme) HasAsset() bool

HasAsset returns a boolean if a field has been set.

func (*PlayerTheme) HasControls

func (o *PlayerTheme) HasControls() bool

HasControls 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) HasId

func (o *PlayerTheme) HasId() bool

HasId returns a boolean if a field has been set.

func (*PlayerTheme) HasIsDefault

func (o *PlayerTheme) HasIsDefault() bool

HasIsDefault 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) HasTheme

func (o *PlayerTheme) HasTheme() bool

HasTheme returns a boolean if a field has been set.

func (*PlayerTheme) HasUserId

func (o *PlayerTheme) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (*PlayerTheme) SetAsset

func (o *PlayerTheme) SetAsset(v Asset)

SetAsset gets a reference to the given Asset and assigns it to the Asset field.

func (*PlayerTheme) SetControls

func (o *PlayerTheme) SetControls(v Controls)

SetControls gets a reference to the given Controls and assigns it to the Controls 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) SetId

func (o *PlayerTheme) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PlayerTheme) SetIsDefault

func (o *PlayerTheme) SetIsDefault(v bool)

SetIsDefault gets a reference to the given bool and assigns it to the IsDefault 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) SetTheme

func (o *PlayerTheme) SetTheme(v Theme)

SetTheme gets a reference to the given Theme and assigns it to the Theme field.

func (*PlayerTheme) SetUserId

func (o *PlayerTheme) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

type PlayersApiListRequest

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

func (PlayersApiListRequest) Limit

func (PlayersApiListRequest) Offset

func (PlayersApiListRequest) OrderBy

func (PlayersApiListRequest) Search

func (PlayersApiListRequest) SortBy

type PlayersService

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

PlayersService communicating with the Players endpoints of the AIOZ Stream API

func (*PlayersService) AddPlayer

func (*PlayersService) AddPlayerWithContext

func (s *PlayersService) AddPlayerWithContext(ctx context.Context, request AddPlayerThemesToVideoRequest) (*ResponseSuccess, error)

func (*PlayersService) Create

func (*PlayersService) CreateWithContext

func (*PlayersService) Delete

func (s *PlayersService) Delete(id string) (*ResponseSuccess, error)
func (s *PlayersService) DeleteLogo(id string) (*ResponseSuccess, error)

func (*PlayersService) DeleteLogoWithContext

func (s *PlayersService) DeleteLogoWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

func (*PlayersService) DeleteWithContext

func (s *PlayersService) DeleteWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

func (*PlayersService) Get

func (*PlayersService) GetWithContext

func (s *PlayersService) GetWithContext(ctx context.Context, id string) (*GetPlayerThemeByIdResponse, error)

func (*PlayersService) List

func (*PlayersService) ListWithContext

func (*PlayersService) RemovePlayer

func (*PlayersService) RemovePlayerWithContext

func (s *PlayersService) RemovePlayerWithContext(ctx context.Context, request RemovePlayerThemesFromMediaRequest) (*ResponseSuccess, error)

func (*PlayersService) Update

func (*PlayersService) UpdateWithContext

func (s *PlayersService) UploadLogo(id string, link string, fileName string, fileReader io.Reader) (*UploadLogoByIdResponse, error)

* UploadLogo Upload a logo for a player theme by ID * Upload a logo for a player theme by its ID.

* @param id Player theme ID * @return PlayersApiUploadLogoRequest

func (*PlayersService) UploadLogoFile

func (s *PlayersService) UploadLogoFile(id string, file *os.File, link string) (*UploadLogoByIdResponse, error)

func (*PlayersService) UploadLogoFileWithContext

func (s *PlayersService) UploadLogoFileWithContext(ctx context.Context, id string, file *os.File, link string) (*UploadLogoByIdResponse, error)

func (*PlayersService) UploadLogoWithContext

func (s *PlayersService) UploadLogoWithContext(ctx context.Context, id string, link string, fileName string, fileReader io.Reader) (*UploadLogoByIdResponse, error)

* UploadLogo Upload a logo for a player theme by ID * Upload a logo for a player theme by its ID. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id Player theme ID * @return PlayersApiUploadLogoRequest

type PlayersServiceI

type PlayersServiceI interface {
	Create(request CreatePlayerThemeRequest) (*CreatePlayerThemesResponse, error)

	CreateWithContext(ctx context.Context, request CreatePlayerThemeRequest) (*CreatePlayerThemesResponse, error)

	Get(id string) (*GetPlayerThemeByIdResponse, error)

	GetWithContext(ctx context.Context, id string) (*GetPlayerThemeByIdResponse, error)

	Update(id string, input UpdatePlayerThemeRequest) (*UpdatePlayerThemeResponse, error)

	UpdateWithContext(ctx context.Context, id string, input UpdatePlayerThemeRequest) (*UpdatePlayerThemeResponse, error)

	Delete(id string) (*ResponseSuccess, error)

	DeleteWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

	List(r PlayersApiListRequest) (*GetPlayerThemeResponse, error)

	ListWithContext(ctx context.Context, r PlayersApiListRequest) (*GetPlayerThemeResponse, error)


	UploadLogo(id string, link string, fileName string, fileReader io.Reader) (*UploadLogoByIdResponse, error)
	/*
	 * UploadLogo Upload a logo for a player theme by ID
	 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @param id Player theme ID
	 * @return PlayersApiUploadLogoRequest
	 */
	UploadLogoWithContext(ctx context.Context, id string, link string, fileName string, fileReader io.Reader) (*UploadLogoByIdResponse, error)


	DeleteLogoWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

	AddPlayer(request AddPlayerThemesToVideoRequest) (*ResponseSuccess, error)

	AddPlayerWithContext(ctx context.Context, request AddPlayerThemesToVideoRequest) (*ResponseSuccess, error)

	RemovePlayer(request RemovePlayerThemesFromMediaRequest) (*ResponseSuccess, error)

	RemovePlayerWithContext(ctx context.Context, request RemovePlayerThemesFromMediaRequest) (*ResponseSuccess, error)
}

type Playlist

type Playlist struct {
	CreatedAt    *string            `json:"created_at,omitempty"`
	Duration     *float32           `json:"duration,omitempty"`
	Id           *string            `json:"id,omitempty"`
	Iframe       *string            `json:"iframe,omitempty"`
	ItemCount    *int32             `json:"item_count,omitempty"`
	Metadata     *map[string]string `json:"metadata,omitempty"`
	Name         *string            `json:"name,omitempty"`
	PlaylistUrl  *string            `json:"playlist_url,omitempty"`
	Size         *int32             `json:"size,omitempty"`
	Tags         *string            `json:"tags,omitempty"`
	ThumbnailUrl *string            `json:"thumbnail_url,omitempty"`
	UpdatedAt    *string            `json:"updated_at,omitempty"`
	UserId       *string            `json:"user_id,omitempty"`
	VideoItems   *[]PlaylistItem    `json:"video_items,omitempty"`
}

Playlist struct for Playlist

func NewPlaylist

func NewPlaylist() *Playlist

NewPlaylist instantiates a new Playlist 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 NewPlaylistWithDefaults

func NewPlaylistWithDefaults() *Playlist

NewPlaylistWithDefaults instantiates a new Playlist 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 (*Playlist) GetCreatedAt

func (o *Playlist) GetCreatedAt() string

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

func (*Playlist) GetCreatedAtOk

func (o *Playlist) 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 (*Playlist) GetDuration

func (o *Playlist) GetDuration() float32

GetDuration returns the Duration field value if set, zero value otherwise.

func (*Playlist) GetDurationOk

func (o *Playlist) GetDurationOk() (*float32, 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.

func (*Playlist) GetId

func (o *Playlist) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Playlist) GetIdOk

func (o *Playlist) 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 (*Playlist) GetIframe

func (o *Playlist) GetIframe() string

GetIframe returns the Iframe field value if set, zero value otherwise.

func (*Playlist) GetIframeOk

func (o *Playlist) 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 (*Playlist) GetItemCount

func (o *Playlist) GetItemCount() int32

GetItemCount returns the ItemCount field value if set, zero value otherwise.

func (*Playlist) GetItemCountOk

func (o *Playlist) GetItemCountOk() (*int32, bool)

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

func (*Playlist) GetMetadata

func (o *Playlist) GetMetadata() map[string]string

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

func (*Playlist) GetMetadataOk

func (o *Playlist) GetMetadataOk() (*map[string]string, 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 (*Playlist) GetName

func (o *Playlist) GetName() string

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

func (*Playlist) GetNameOk

func (o *Playlist) 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 (*Playlist) GetPlaylistUrl

func (o *Playlist) GetPlaylistUrl() string

GetPlaylistUrl returns the PlaylistUrl field value if set, zero value otherwise.

func (*Playlist) GetPlaylistUrlOk

func (o *Playlist) GetPlaylistUrlOk() (*string, bool)

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

func (*Playlist) GetSize

func (o *Playlist) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*Playlist) GetSizeOk

func (o *Playlist) GetSizeOk() (*int32, bool)

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

func (*Playlist) GetTags

func (o *Playlist) GetTags() string

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

func (*Playlist) GetTagsOk

func (o *Playlist) 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 (*Playlist) GetThumbnailUrl

func (o *Playlist) GetThumbnailUrl() string

GetThumbnailUrl returns the ThumbnailUrl field value if set, zero value otherwise.

func (*Playlist) GetThumbnailUrlOk

func (o *Playlist) GetThumbnailUrlOk() (*string, bool)

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

func (*Playlist) GetUpdatedAt

func (o *Playlist) GetUpdatedAt() string

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

func (*Playlist) GetUpdatedAtOk

func (o *Playlist) 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 (*Playlist) GetUserId

func (o *Playlist) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*Playlist) GetUserIdOk

func (o *Playlist) GetUserIdOk() (*string, bool)

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

func (*Playlist) GetVideoItems

func (o *Playlist) GetVideoItems() []PlaylistItem

GetVideoItems returns the VideoItems field value if set, zero value otherwise.

func (*Playlist) GetVideoItemsOk

func (o *Playlist) GetVideoItemsOk() (*[]PlaylistItem, bool)

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

func (*Playlist) HasCreatedAt

func (o *Playlist) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Playlist) HasDuration

func (o *Playlist) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*Playlist) HasId

func (o *Playlist) HasId() bool

HasId returns a boolean if a field has been set.

func (*Playlist) HasIframe

func (o *Playlist) HasIframe() bool

HasIframe returns a boolean if a field has been set.

func (*Playlist) HasItemCount

func (o *Playlist) HasItemCount() bool

HasItemCount returns a boolean if a field has been set.

func (*Playlist) HasMetadata

func (o *Playlist) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Playlist) HasName

func (o *Playlist) HasName() bool

HasName returns a boolean if a field has been set.

func (*Playlist) HasPlaylistUrl

func (o *Playlist) HasPlaylistUrl() bool

HasPlaylistUrl returns a boolean if a field has been set.

func (*Playlist) HasSize

func (o *Playlist) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Playlist) HasTags

func (o *Playlist) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Playlist) HasThumbnailUrl

func (o *Playlist) HasThumbnailUrl() bool

HasThumbnailUrl returns a boolean if a field has been set.

func (*Playlist) HasUpdatedAt

func (o *Playlist) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Playlist) HasUserId

func (o *Playlist) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (*Playlist) HasVideoItems

func (o *Playlist) HasVideoItems() bool

HasVideoItems returns a boolean if a field has been set.

func (*Playlist) SetCreatedAt

func (o *Playlist) SetCreatedAt(v string)

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

func (*Playlist) SetDuration

func (o *Playlist) SetDuration(v float32)

SetDuration gets a reference to the given float32 and assigns it to the Duration field.

func (*Playlist) SetId

func (o *Playlist) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Playlist) SetIframe

func (o *Playlist) SetIframe(v string)

SetIframe gets a reference to the given string and assigns it to the Iframe field.

func (*Playlist) SetItemCount

func (o *Playlist) SetItemCount(v int32)

SetItemCount gets a reference to the given int32 and assigns it to the ItemCount field.

func (*Playlist) SetMetadata

func (o *Playlist) SetMetadata(v map[string]string)

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

func (*Playlist) SetName

func (o *Playlist) SetName(v string)

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

func (*Playlist) SetPlaylistUrl

func (o *Playlist) SetPlaylistUrl(v string)

SetPlaylistUrl gets a reference to the given string and assigns it to the PlaylistUrl field.

func (*Playlist) SetSize

func (o *Playlist) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*Playlist) SetTags

func (o *Playlist) SetTags(v string)

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

func (*Playlist) SetThumbnailUrl

func (o *Playlist) SetThumbnailUrl(v string)

SetThumbnailUrl gets a reference to the given string and assigns it to the ThumbnailUrl field.

func (*Playlist) SetUpdatedAt

func (o *Playlist) SetUpdatedAt(v string)

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

func (*Playlist) SetUserId

func (o *Playlist) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (*Playlist) SetVideoItems

func (o *Playlist) SetVideoItems(v []PlaylistItem)

SetVideoItems gets a reference to the given []PlaylistItem and assigns it to the VideoItems field.

type PlaylistApiGetPlaylistByIdRequest

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

func (PlaylistApiGetPlaylistByIdRequest) OrderBy

func (PlaylistApiGetPlaylistByIdRequest) SortBy

type PlaylistItem

type PlaylistItem struct {
	CreatedAt  *string            `json:"created_at,omitempty"`
	Id         *string            `json:"id,omitempty"`
	NextId     *string            `json:"next_id,omitempty"`
	PlaylistId *string            `json:"playlist_id,omitempty"`
	PreviousId *string            `json:"previous_id,omitempty"`
	UpdatedAt  *string            `json:"updated_at,omitempty"`
	Video      *PlaylistItemMedia `json:"video,omitempty"`
	VideoId    *string            `json:"video_id,omitempty"`
}

PlaylistItem struct for PlaylistItem

func NewPlaylistItem

func NewPlaylistItem() *PlaylistItem

NewPlaylistItem instantiates a new PlaylistItem 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 NewPlaylistItemWithDefaults

func NewPlaylistItemWithDefaults() *PlaylistItem

NewPlaylistItemWithDefaults instantiates a new PlaylistItem 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 (*PlaylistItem) GetCreatedAt

func (o *PlaylistItem) GetCreatedAt() string

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

func (*PlaylistItem) GetCreatedAtOk

func (o *PlaylistItem) 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 (*PlaylistItem) GetId

func (o *PlaylistItem) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PlaylistItem) GetIdOk

func (o *PlaylistItem) 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 (*PlaylistItem) GetNextId

func (o *PlaylistItem) GetNextId() string

GetNextId returns the NextId field value if set, zero value otherwise.

func (*PlaylistItem) GetNextIdOk

func (o *PlaylistItem) GetNextIdOk() (*string, bool)

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

func (*PlaylistItem) GetPlaylistId

func (o *PlaylistItem) GetPlaylistId() string

GetPlaylistId returns the PlaylistId field value if set, zero value otherwise.

func (*PlaylistItem) GetPlaylistIdOk

func (o *PlaylistItem) GetPlaylistIdOk() (*string, bool)

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

func (*PlaylistItem) GetPreviousId

func (o *PlaylistItem) GetPreviousId() string

GetPreviousId returns the PreviousId field value if set, zero value otherwise.

func (*PlaylistItem) GetPreviousIdOk

func (o *PlaylistItem) GetPreviousIdOk() (*string, bool)

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

func (*PlaylistItem) GetUpdatedAt

func (o *PlaylistItem) GetUpdatedAt() string

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

func (*PlaylistItem) GetUpdatedAtOk

func (o *PlaylistItem) 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 (*PlaylistItem) GetVideo

func (o *PlaylistItem) GetVideo() PlaylistItemMedia

GetVideo returns the Video field value if set, zero value otherwise.

func (*PlaylistItem) GetVideoId

func (o *PlaylistItem) GetVideoId() string

GetVideoId returns the VideoId field value if set, zero value otherwise.

func (*PlaylistItem) GetVideoIdOk

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

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

func (*PlaylistItem) GetVideoOk

func (o *PlaylistItem) GetVideoOk() (*PlaylistItemMedia, bool)

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

func (*PlaylistItem) HasCreatedAt

func (o *PlaylistItem) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PlaylistItem) HasId

func (o *PlaylistItem) HasId() bool

HasId returns a boolean if a field has been set.

func (*PlaylistItem) HasNextId

func (o *PlaylistItem) HasNextId() bool

HasNextId returns a boolean if a field has been set.

func (*PlaylistItem) HasPlaylistId

func (o *PlaylistItem) HasPlaylistId() bool

HasPlaylistId returns a boolean if a field has been set.

func (*PlaylistItem) HasPreviousId

func (o *PlaylistItem) HasPreviousId() bool

HasPreviousId returns a boolean if a field has been set.

func (*PlaylistItem) HasUpdatedAt

func (o *PlaylistItem) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*PlaylistItem) HasVideo

func (o *PlaylistItem) HasVideo() bool

HasVideo returns a boolean if a field has been set.

func (*PlaylistItem) HasVideoId

func (o *PlaylistItem) HasVideoId() bool

HasVideoId returns a boolean if a field has been set.

func (*PlaylistItem) SetCreatedAt

func (o *PlaylistItem) SetCreatedAt(v string)

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

func (*PlaylistItem) SetId

func (o *PlaylistItem) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PlaylistItem) SetNextId

func (o *PlaylistItem) SetNextId(v string)

SetNextId gets a reference to the given string and assigns it to the NextId field.

func (*PlaylistItem) SetPlaylistId

func (o *PlaylistItem) SetPlaylistId(v string)

SetPlaylistId gets a reference to the given string and assigns it to the PlaylistId field.

func (*PlaylistItem) SetPreviousId

func (o *PlaylistItem) SetPreviousId(v string)

SetPreviousId gets a reference to the given string and assigns it to the PreviousId field.

func (*PlaylistItem) SetUpdatedAt

func (o *PlaylistItem) SetUpdatedAt(v string)

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

func (*PlaylistItem) SetVideo

func (o *PlaylistItem) SetVideo(v PlaylistItemMedia)

SetVideo gets a reference to the given PlaylistItemMedia and assigns it to the Video field.

func (*PlaylistItem) SetVideoId

func (o *PlaylistItem) SetVideoId(v string)

SetVideoId gets a reference to the given string and assigns it to the VideoId field.

type PlaylistItemMedia added in v1.0.10

type PlaylistItemMedia struct {
	Chapters     *[]VideoChapter `json:"chapters,omitempty"`
	Duration     *float32        `json:"duration,omitempty"`
	HlsUrl       *string         `json:"hls_url,omitempty"`
	Qualities    *string         `json:"qualities,omitempty"`
	ThumbnailUrl *string         `json:"thumbnail_url,omitempty"`
	Title        *string         `json:"title,omitempty"`
}

PlaylistItemMedia struct for PlaylistItemMedia

func NewPlaylistItemMedia added in v1.0.10

func NewPlaylistItemMedia() *PlaylistItemMedia

NewPlaylistItemMedia instantiates a new PlaylistItemMedia 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 NewPlaylistItemMediaWithDefaults added in v1.0.10

func NewPlaylistItemMediaWithDefaults() *PlaylistItemMedia

NewPlaylistItemMediaWithDefaults instantiates a new PlaylistItemMedia 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 (*PlaylistItemMedia) GetChapters added in v1.0.10

func (o *PlaylistItemMedia) GetChapters() []VideoChapter

GetChapters returns the Chapters field value if set, zero value otherwise.

func (*PlaylistItemMedia) GetChaptersOk added in v1.0.10

func (o *PlaylistItemMedia) GetChaptersOk() (*[]VideoChapter, bool)

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

func (*PlaylistItemMedia) GetDuration added in v1.0.10

func (o *PlaylistItemMedia) GetDuration() float32

GetDuration returns the Duration field value if set, zero value otherwise.

func (*PlaylistItemMedia) GetDurationOk added in v1.0.10

func (o *PlaylistItemMedia) GetDurationOk() (*float32, 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.

func (*PlaylistItemMedia) GetHlsUrl added in v1.0.10

func (o *PlaylistItemMedia) GetHlsUrl() string

GetHlsUrl returns the HlsUrl field value if set, zero value otherwise.

func (*PlaylistItemMedia) GetHlsUrlOk added in v1.0.10

func (o *PlaylistItemMedia) GetHlsUrlOk() (*string, bool)

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

func (*PlaylistItemMedia) GetQualities added in v1.0.10

func (o *PlaylistItemMedia) GetQualities() string

GetQualities returns the Qualities field value if set, zero value otherwise.

func (*PlaylistItemMedia) GetQualitiesOk added in v1.0.10

func (o *PlaylistItemMedia) GetQualitiesOk() (*string, 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 (*PlaylistItemMedia) GetThumbnailUrl added in v1.0.10

func (o *PlaylistItemMedia) GetThumbnailUrl() string

GetThumbnailUrl returns the ThumbnailUrl field value if set, zero value otherwise.

func (*PlaylistItemMedia) GetThumbnailUrlOk added in v1.0.10

func (o *PlaylistItemMedia) GetThumbnailUrlOk() (*string, bool)

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

func (*PlaylistItemMedia) GetTitle added in v1.0.10

func (o *PlaylistItemMedia) GetTitle() string

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

func (*PlaylistItemMedia) GetTitleOk added in v1.0.10

func (o *PlaylistItemMedia) 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 (*PlaylistItemMedia) HasChapters added in v1.0.10

func (o *PlaylistItemMedia) HasChapters() bool

HasChapters returns a boolean if a field has been set.

func (*PlaylistItemMedia) HasDuration added in v1.0.10

func (o *PlaylistItemMedia) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*PlaylistItemMedia) HasHlsUrl added in v1.0.10

func (o *PlaylistItemMedia) HasHlsUrl() bool

HasHlsUrl returns a boolean if a field has been set.

func (*PlaylistItemMedia) HasQualities added in v1.0.10

func (o *PlaylistItemMedia) HasQualities() bool

HasQualities returns a boolean if a field has been set.

func (*PlaylistItemMedia) HasThumbnailUrl added in v1.0.10

func (o *PlaylistItemMedia) HasThumbnailUrl() bool

HasThumbnailUrl returns a boolean if a field has been set.

func (*PlaylistItemMedia) HasTitle added in v1.0.10

func (o *PlaylistItemMedia) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*PlaylistItemMedia) SetChapters added in v1.0.10

func (o *PlaylistItemMedia) SetChapters(v []VideoChapter)

SetChapters gets a reference to the given []VideoChapter and assigns it to the Chapters field.

func (*PlaylistItemMedia) SetDuration added in v1.0.10

func (o *PlaylistItemMedia) SetDuration(v float32)

SetDuration gets a reference to the given float32 and assigns it to the Duration field.

func (*PlaylistItemMedia) SetHlsUrl added in v1.0.10

func (o *PlaylistItemMedia) SetHlsUrl(v string)

SetHlsUrl gets a reference to the given string and assigns it to the HlsUrl field.

func (*PlaylistItemMedia) SetQualities added in v1.0.10

func (o *PlaylistItemMedia) SetQualities(v string)

SetQualities gets a reference to the given string and assigns it to the Qualities field.

func (*PlaylistItemMedia) SetThumbnailUrl added in v1.0.10

func (o *PlaylistItemMedia) SetThumbnailUrl(v string)

SetThumbnailUrl gets a reference to the given string and assigns it to the ThumbnailUrl field.

func (*PlaylistItemMedia) SetTitle added in v1.0.10

func (o *PlaylistItemMedia) SetTitle(v string)

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

type PlaylistService

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

PlaylistService communicating with the Playlist endpoints of the AIOZ Stream API

func (*PlaylistService) AddVideoToPlaylist

func (s *PlaylistService) AddVideoToPlaylist(id string, payload AddVideoToPlaylistRequest) (*ResponseSuccess, error)

func (*PlaylistService) AddVideoToPlaylistWithContext

func (s *PlaylistService) AddVideoToPlaylistWithContext(ctx context.Context, id string, payload AddVideoToPlaylistRequest) (*ResponseSuccess, error)

func (*PlaylistService) CreatePlaylist

func (s *PlaylistService) CreatePlaylist(request CreatePlaylistRequest) (*CreatePlaylistResponse, error)

func (*PlaylistService) CreatePlaylistWithContext

func (s *PlaylistService) CreatePlaylistWithContext(ctx context.Context, request CreatePlaylistRequest) (*CreatePlaylistResponse, error)

func (*PlaylistService) DeletePlaylistById

func (s *PlaylistService) DeletePlaylistById(id string) (*ResponseSuccess, error)

func (*PlaylistService) DeletePlaylistByIdWithContext

func (s *PlaylistService) DeletePlaylistByIdWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

func (*PlaylistService) DeletePlaylistThumbnail

func (s *PlaylistService) DeletePlaylistThumbnail(id string) (*ResponseSuccess, error)

func (*PlaylistService) DeletePlaylistThumbnailWithContext

func (s *PlaylistService) DeletePlaylistThumbnailWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

func (*PlaylistService) GetPlaylistById

func (*PlaylistService) GetPlaylistByIdWithContext

func (*PlaylistService) GetPlaylistPublicInfo

func (s *PlaylistService) GetPlaylistPublicInfo(id string) (*PublicPlaylistObject, error)

func (*PlaylistService) GetPlaylistPublicInfoWithContext

func (s *PlaylistService) GetPlaylistPublicInfoWithContext(ctx context.Context, id string) (*PublicPlaylistObject, error)

func (*PlaylistService) GetPlaylists

func (*PlaylistService) GetPlaylistsWithContext

func (s *PlaylistService) GetPlaylistsWithContext(ctx context.Context, request GetPlaylistListRequest) (*GetPlaylistListResponse, error)

func (*PlaylistService) MoveVideoInPlaylist

func (s *PlaylistService) MoveVideoInPlaylist(id string, payload MoveVideoInPlaylistRequest) (*ResponseSuccess, error)

func (*PlaylistService) MoveVideoInPlaylistWithContext

func (s *PlaylistService) MoveVideoInPlaylistWithContext(ctx context.Context, id string, payload MoveVideoInPlaylistRequest) (*ResponseSuccess, error)

func (*PlaylistService) RemoveVideoFromPlaylist

func (s *PlaylistService) RemoveVideoFromPlaylist(id string, itemId string) (*ResponseSuccess, error)

func (*PlaylistService) RemoveVideoFromPlaylistWithContext

func (s *PlaylistService) RemoveVideoFromPlaylistWithContext(ctx context.Context, id string, itemId string) (*ResponseSuccess, error)

func (*PlaylistService) UpdatePlaylist

func (s *PlaylistService) UpdatePlaylist(id string, metadata *[]Metadata, name *string, tags *[]string, fileName string, fileReader io.Reader) (*ResponseSuccess, error)

* UpdatePlaylist Update a playlist * Update a specific playlist for the authenticated user

* @param id Playlist ID * @return PlaylistApiUpdatePlaylistRequest

func (*PlaylistService) UpdatePlaylistFile

func (s *PlaylistService) UpdatePlaylistFile(id string, file *os.File, metadata *[]Metadata, name *string, tags *[]string) (*ResponseSuccess, error)

func (*PlaylistService) UpdatePlaylistFileWithContext

func (s *PlaylistService) UpdatePlaylistFileWithContext(ctx context.Context, id string, file *os.File, metadata *[]Metadata, name *string, tags *[]string) (*ResponseSuccess, error)

func (*PlaylistService) UpdatePlaylistWithContext

func (s *PlaylistService) UpdatePlaylistWithContext(ctx context.Context, id string, metadata *[]Metadata, name *string, tags *[]string, fileName string, fileReader io.Reader) (*ResponseSuccess, error)

* UpdatePlaylist Update a playlist * Update a specific playlist for the authenticated user * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id Playlist ID * @return PlaylistApiUpdatePlaylistRequest

type PlaylistServiceI

type PlaylistServiceI interface {
	AddVideoToPlaylist(id string, payload AddVideoToPlaylistRequest) (*ResponseSuccess, error)

	AddVideoToPlaylistWithContext(ctx context.Context, id string, payload AddVideoToPlaylistRequest) (*ResponseSuccess, error)

	CreatePlaylist(request CreatePlaylistRequest) (*CreatePlaylistResponse, error)

	CreatePlaylistWithContext(ctx context.Context, request CreatePlaylistRequest) (*CreatePlaylistResponse, error)

	DeletePlaylistById(id string) (*ResponseSuccess, error)

	DeletePlaylistByIdWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

	DeletePlaylistThumbnail(id string) (*ResponseSuccess, error)

	DeletePlaylistThumbnailWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

	GetPlaylistById(id string, r PlaylistApiGetPlaylistByIdRequest) (*GetPlaylistByIdResponse, error)

	GetPlaylistByIdWithContext(ctx context.Context, id string, r PlaylistApiGetPlaylistByIdRequest) (*GetPlaylistByIdResponse, error)

	GetPlaylistPublicInfo(id string) (*PublicPlaylistObject, error)

	GetPlaylistPublicInfoWithContext(ctx context.Context, id string) (*PublicPlaylistObject, error)

	GetPlaylists(request GetPlaylistListRequest) (*GetPlaylistListResponse, error)

	GetPlaylistsWithContext(ctx context.Context, request GetPlaylistListRequest) (*GetPlaylistListResponse, error)

	MoveVideoInPlaylist(id string, payload MoveVideoInPlaylistRequest) (*ResponseSuccess, error)

	MoveVideoInPlaylistWithContext(ctx context.Context, id string, payload MoveVideoInPlaylistRequest) (*ResponseSuccess, error)

	RemoveVideoFromPlaylist(id string, itemId string) (*ResponseSuccess, error)

	RemoveVideoFromPlaylistWithContext(ctx context.Context, id string, itemId string) (*ResponseSuccess, error)

	/*
	 * UpdatePlaylist Update a playlist
	 * @param id Playlist ID
	 * @return PlaylistApiUpdatePlaylistRequest
	 */
	UpdatePlaylist(id string, metadata *[]Metadata, name *string, tags *[]string, fileName string, fileReader io.Reader) (*ResponseSuccess, error)
	/*
	 * UpdatePlaylist Update a playlist
	 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @param id Playlist ID
	 * @return PlaylistApiUpdatePlaylistRequest
	 */
	UpdatePlaylistWithContext(ctx context.Context, id string, metadata *[]Metadata, name *string, tags *[]string, fileName string, fileReader io.Reader) (*ResponseSuccess, error)
}

type PublicPlaylistObject

type PublicPlaylistObject struct {
	PlayerTheme *PlayerTheme `json:"player_theme,omitempty"`
	Playlist    *Playlist    `json:"playlist,omitempty"`
}

PublicPlaylistObject struct for PublicPlaylistObject

func NewPublicPlaylistObject

func NewPublicPlaylistObject() *PublicPlaylistObject

NewPublicPlaylistObject instantiates a new PublicPlaylistObject 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 NewPublicPlaylistObjectWithDefaults

func NewPublicPlaylistObjectWithDefaults() *PublicPlaylistObject

NewPublicPlaylistObjectWithDefaults instantiates a new PublicPlaylistObject 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 (*PublicPlaylistObject) GetPlayerTheme

func (o *PublicPlaylistObject) GetPlayerTheme() PlayerTheme

GetPlayerTheme returns the PlayerTheme field value if set, zero value otherwise.

func (*PublicPlaylistObject) GetPlayerThemeOk

func (o *PublicPlaylistObject) GetPlayerThemeOk() (*PlayerTheme, bool)

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

func (*PublicPlaylistObject) GetPlaylist

func (o *PublicPlaylistObject) GetPlaylist() Playlist

GetPlaylist returns the Playlist field value if set, zero value otherwise.

func (*PublicPlaylistObject) GetPlaylistOk

func (o *PublicPlaylistObject) GetPlaylistOk() (*Playlist, bool)

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

func (*PublicPlaylistObject) HasPlayerTheme

func (o *PublicPlaylistObject) HasPlayerTheme() bool

HasPlayerTheme returns a boolean if a field has been set.

func (*PublicPlaylistObject) HasPlaylist

func (o *PublicPlaylistObject) HasPlaylist() bool

HasPlaylist returns a boolean if a field has been set.

func (*PublicPlaylistObject) SetPlayerTheme

func (o *PublicPlaylistObject) SetPlayerTheme(v PlayerTheme)

SetPlayerTheme gets a reference to the given PlayerTheme and assigns it to the PlayerTheme field.

func (*PublicPlaylistObject) SetPlaylist

func (o *PublicPlaylistObject) SetPlaylist(v Playlist)

SetPlaylist gets a reference to the given Playlist and assigns it to the Playlist field.

type QualityConfig added in v1.0.10

type QualityConfig struct {
	AudioConfig   *AudioConfig `json:"audio_config,omitempty"`
	ContainerType *string      `json:"container_type,omitempty"`
	Resolution    *string      `json:"resolution,omitempty"`
	Type          *string      `json:"type,omitempty"`
	VideoConfig   *VideoConfig `json:"video_config,omitempty"`
}

QualityConfig struct for QualityConfig

func NewQualityConfig added in v1.0.10

func NewQualityConfig() *QualityConfig

NewQualityConfig instantiates a new QualityConfig 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 NewQualityConfigWithDefaults added in v1.0.10

func NewQualityConfigWithDefaults() *QualityConfig

NewQualityConfigWithDefaults instantiates a new QualityConfig 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 (*QualityConfig) GetAudioConfig added in v1.0.10

func (o *QualityConfig) GetAudioConfig() AudioConfig

GetAudioConfig returns the AudioConfig field value if set, zero value otherwise.

func (*QualityConfig) GetAudioConfigOk added in v1.0.10

func (o *QualityConfig) GetAudioConfigOk() (*AudioConfig, bool)

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

func (*QualityConfig) GetContainerType added in v1.0.10

func (o *QualityConfig) GetContainerType() string

GetContainerType returns the ContainerType field value if set, zero value otherwise.

func (*QualityConfig) GetContainerTypeOk added in v1.0.10

func (o *QualityConfig) GetContainerTypeOk() (*string, bool)

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

func (*QualityConfig) GetResolution added in v1.0.10

func (o *QualityConfig) GetResolution() string

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

func (*QualityConfig) GetResolutionOk added in v1.0.10

func (o *QualityConfig) GetResolutionOk() (*string, bool)

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

func (*QualityConfig) GetType added in v1.0.10

func (o *QualityConfig) GetType() string

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

func (*QualityConfig) GetTypeOk added in v1.0.10

func (o *QualityConfig) 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 (*QualityConfig) GetVideoConfig added in v1.0.10

func (o *QualityConfig) GetVideoConfig() VideoConfig

GetVideoConfig returns the VideoConfig field value if set, zero value otherwise.

func (*QualityConfig) GetVideoConfigOk added in v1.0.10

func (o *QualityConfig) GetVideoConfigOk() (*VideoConfig, bool)

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

func (*QualityConfig) HasAudioConfig added in v1.0.10

func (o *QualityConfig) HasAudioConfig() bool

HasAudioConfig returns a boolean if a field has been set.

func (*QualityConfig) HasContainerType added in v1.0.10

func (o *QualityConfig) HasContainerType() bool

HasContainerType returns a boolean if a field has been set.

func (*QualityConfig) HasResolution added in v1.0.10

func (o *QualityConfig) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*QualityConfig) HasType added in v1.0.10

func (o *QualityConfig) HasType() bool

HasType returns a boolean if a field has been set.

func (*QualityConfig) HasVideoConfig added in v1.0.10

func (o *QualityConfig) HasVideoConfig() bool

HasVideoConfig returns a boolean if a field has been set.

func (*QualityConfig) SetAudioConfig added in v1.0.10

func (o *QualityConfig) SetAudioConfig(v AudioConfig)

SetAudioConfig gets a reference to the given AudioConfig and assigns it to the AudioConfig field.

func (*QualityConfig) SetContainerType added in v1.0.10

func (o *QualityConfig) SetContainerType(v string)

SetContainerType gets a reference to the given string and assigns it to the ContainerType field.

func (*QualityConfig) SetResolution added in v1.0.10

func (o *QualityConfig) SetResolution(v string)

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

func (*QualityConfig) SetType added in v1.0.10

func (o *QualityConfig) SetType(v string)

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

func (*QualityConfig) SetVideoConfig added in v1.0.10

func (o *QualityConfig) SetVideoConfig(v VideoConfig)

SetVideoConfig gets a reference to the given VideoConfig and assigns it to the VideoConfig field.

type QualityObject

type QualityObject struct {
	AudioBitrate *int32  `json:"audio_bitrate,omitempty"`
	AudioCodec   *string `json:"audio_codec,omitempty"`
	Name         *string `json:"name,omitempty"`
	Status       *string `json:"status,omitempty"`
	Type         *string `json:"type,omitempty"`
	VideoBitrate *int32  `json:"video_bitrate,omitempty"`
	VideoCodec   *string `json:"video_codec,omitempty"`
}

QualityObject struct for QualityObject

func NewQualityObject

func NewQualityObject() *QualityObject

NewQualityObject instantiates a new QualityObject 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 NewQualityObjectWithDefaults

func NewQualityObjectWithDefaults() *QualityObject

NewQualityObjectWithDefaults instantiates a new QualityObject 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 (*QualityObject) GetAudioBitrate added in v1.0.10

func (o *QualityObject) GetAudioBitrate() int32

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

func (*QualityObject) GetAudioBitrateOk added in v1.0.10

func (o *QualityObject) GetAudioBitrateOk() (*int32, bool)

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

func (*QualityObject) GetAudioCodec added in v1.0.10

func (o *QualityObject) GetAudioCodec() string

GetAudioCodec returns the AudioCodec field value if set, zero value otherwise.

func (*QualityObject) GetAudioCodecOk added in v1.0.10

func (o *QualityObject) 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.

func (*QualityObject) GetName

func (o *QualityObject) GetName() string

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

func (*QualityObject) GetNameOk

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

func (o *QualityObject) GetStatus() string

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

func (*QualityObject) GetStatusOk

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

func (o *QualityObject) GetType() string

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

func (*QualityObject) GetTypeOk

func (o *QualityObject) 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 (*QualityObject) GetVideoBitrate added in v1.0.10

func (o *QualityObject) GetVideoBitrate() int32

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

func (*QualityObject) GetVideoBitrateOk added in v1.0.10

func (o *QualityObject) GetVideoBitrateOk() (*int32, bool)

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

func (*QualityObject) GetVideoCodec added in v1.0.10

func (o *QualityObject) GetVideoCodec() string

GetVideoCodec returns the VideoCodec field value if set, zero value otherwise.

func (*QualityObject) GetVideoCodecOk added in v1.0.10

func (o *QualityObject) 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.

func (*QualityObject) HasAudioBitrate added in v1.0.10

func (o *QualityObject) HasAudioBitrate() bool

HasAudioBitrate returns a boolean if a field has been set.

func (*QualityObject) HasAudioCodec added in v1.0.10

func (o *QualityObject) HasAudioCodec() bool

HasAudioCodec returns a boolean if a field has been set.

func (*QualityObject) HasName

func (o *QualityObject) HasName() bool

HasName returns a boolean if a field has been set.

func (*QualityObject) HasStatus

func (o *QualityObject) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*QualityObject) HasType

func (o *QualityObject) HasType() bool

HasType returns a boolean if a field has been set.

func (*QualityObject) HasVideoBitrate added in v1.0.10

func (o *QualityObject) HasVideoBitrate() bool

HasVideoBitrate returns a boolean if a field has been set.

func (*QualityObject) HasVideoCodec added in v1.0.10

func (o *QualityObject) HasVideoCodec() bool

HasVideoCodec returns a boolean if a field has been set.

func (*QualityObject) SetAudioBitrate added in v1.0.10

func (o *QualityObject) SetAudioBitrate(v int32)

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

func (*QualityObject) SetAudioCodec added in v1.0.10

func (o *QualityObject) SetAudioCodec(v string)

SetAudioCodec gets a reference to the given string and assigns it to the AudioCodec field.

func (*QualityObject) SetName

func (o *QualityObject) SetName(v string)

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

func (*QualityObject) SetStatus

func (o *QualityObject) SetStatus(v string)

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

func (*QualityObject) SetType

func (o *QualityObject) SetType(v string)

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

func (*QualityObject) SetVideoBitrate added in v1.0.10

func (o *QualityObject) SetVideoBitrate(v int32)

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

func (*QualityObject) SetVideoCodec added in v1.0.10

func (o *QualityObject) SetVideoCodec(v string)

SetVideoCodec gets a reference to the given string and assigns it to the VideoCodec field.

type RemovePlayerThemesFromMediaRequest added in v1.0.11

type RemovePlayerThemesFromMediaRequest struct {
	PlayerThemeId *string `json:"player_theme_id,omitempty"`
	VideoId       *string `json:"video_id,omitempty"`
}

RemovePlayerThemesFromMediaRequest struct for RemovePlayerThemesFromMediaRequest

func NewRemovePlayerThemesFromMediaRequest added in v1.0.11

func NewRemovePlayerThemesFromMediaRequest() *RemovePlayerThemesFromMediaRequest

NewRemovePlayerThemesFromMediaRequest instantiates a new RemovePlayerThemesFromMediaRequest 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 NewRemovePlayerThemesFromMediaRequestWithDefaults added in v1.0.11

func NewRemovePlayerThemesFromMediaRequestWithDefaults() *RemovePlayerThemesFromMediaRequest

NewRemovePlayerThemesFromMediaRequestWithDefaults instantiates a new RemovePlayerThemesFromMediaRequest 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 (*RemovePlayerThemesFromMediaRequest) GetPlayerThemeId added in v1.0.11

func (o *RemovePlayerThemesFromMediaRequest) GetPlayerThemeId() string

GetPlayerThemeId returns the PlayerThemeId field value if set, zero value otherwise.

func (*RemovePlayerThemesFromMediaRequest) GetPlayerThemeIdOk added in v1.0.11

func (o *RemovePlayerThemesFromMediaRequest) GetPlayerThemeIdOk() (*string, bool)

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

func (*RemovePlayerThemesFromMediaRequest) GetVideoId added in v1.0.11

GetVideoId returns the VideoId field value if set, zero value otherwise.

func (*RemovePlayerThemesFromMediaRequest) GetVideoIdOk added in v1.0.11

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

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

func (*RemovePlayerThemesFromMediaRequest) HasPlayerThemeId added in v1.0.11

func (o *RemovePlayerThemesFromMediaRequest) HasPlayerThemeId() bool

HasPlayerThemeId returns a boolean if a field has been set.

func (*RemovePlayerThemesFromMediaRequest) HasVideoId added in v1.0.11

func (o *RemovePlayerThemesFromMediaRequest) HasVideoId() bool

HasVideoId returns a boolean if a field has been set.

func (*RemovePlayerThemesFromMediaRequest) SetPlayerThemeId added in v1.0.11

func (o *RemovePlayerThemesFromMediaRequest) SetPlayerThemeId(v string)

SetPlayerThemeId gets a reference to the given string and assigns it to the PlayerThemeId field.

func (*RemovePlayerThemesFromMediaRequest) SetVideoId added in v1.0.11

func (o *RemovePlayerThemesFromMediaRequest) SetVideoId(v string)

SetVideoId gets a reference to the given string and assigns it to the VideoId field.

type RenameAPIKeyRequest

type RenameAPIKeyRequest struct {
	ApiKeyName *string `json:"api_key_name,omitempty"`
}

RenameAPIKeyRequest struct for RenameAPIKeyRequest

func NewRenameAPIKeyRequest

func NewRenameAPIKeyRequest() *RenameAPIKeyRequest

NewRenameAPIKeyRequest instantiates a new RenameAPIKeyRequest 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 NewRenameAPIKeyRequestWithDefaults

func NewRenameAPIKeyRequestWithDefaults() *RenameAPIKeyRequest

NewRenameAPIKeyRequestWithDefaults instantiates a new RenameAPIKeyRequest 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 (*RenameAPIKeyRequest) GetApiKeyName

func (o *RenameAPIKeyRequest) GetApiKeyName() string

GetApiKeyName returns the ApiKeyName field value if set, zero value otherwise.

func (*RenameAPIKeyRequest) GetApiKeyNameOk

func (o *RenameAPIKeyRequest) GetApiKeyNameOk() (*string, bool)

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

func (*RenameAPIKeyRequest) HasApiKeyName

func (o *RenameAPIKeyRequest) HasApiKeyName() bool

HasApiKeyName returns a boolean if a field has been set.

func (*RenameAPIKeyRequest) SetApiKeyName

func (o *RenameAPIKeyRequest) SetApiKeyName(v string)

SetApiKeyName gets a reference to the given string and assigns it to the ApiKeyName field.

type RequestCreateCaption added in v1.0.10

type RequestCreateCaption struct {
	Description *string `json:"description,omitempty"`
}

RequestCreateCaption struct for RequestCreateCaption

func NewRequestCreateCaption added in v1.0.10

func NewRequestCreateCaption() *RequestCreateCaption

NewRequestCreateCaption instantiates a new RequestCreateCaption 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 NewRequestCreateCaptionWithDefaults added in v1.0.10

func NewRequestCreateCaptionWithDefaults() *RequestCreateCaption

NewRequestCreateCaptionWithDefaults instantiates a new RequestCreateCaption 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 (*RequestCreateCaption) GetDescription added in v1.0.10

func (o *RequestCreateCaption) GetDescription() string

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

func (*RequestCreateCaption) GetDescriptionOk added in v1.0.10

func (o *RequestCreateCaption) 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 (*RequestCreateCaption) HasDescription added in v1.0.10

func (o *RequestCreateCaption) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RequestCreateCaption) SetDescription added in v1.0.10

func (o *RequestCreateCaption) SetDescription(v string)

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

type ResponseError

type ResponseError struct {
	Message *string `json:"message,omitempty"`
	Status  *string `json:"status,omitempty"`
}

ResponseError struct for ResponseError

func NewResponseError

func NewResponseError() *ResponseError

NewResponseError instantiates a new ResponseError 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 NewResponseErrorWithDefaults

func NewResponseErrorWithDefaults() *ResponseError

NewResponseErrorWithDefaults instantiates a new ResponseError 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 (*ResponseError) GetMessage

func (o *ResponseError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ResponseError) GetMessageOk

func (o *ResponseError) GetMessageOk() (*string, bool)

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

func (*ResponseError) GetStatus

func (o *ResponseError) GetStatus() string

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

func (*ResponseError) GetStatusOk

func (o *ResponseError) 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 (*ResponseError) HasMessage

func (o *ResponseError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ResponseError) HasStatus

func (o *ResponseError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ResponseError) SetMessage

func (o *ResponseError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ResponseError) SetStatus

func (o *ResponseError) SetStatus(v string)

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

type ResponseSuccess

type ResponseSuccess struct {
	Message *string `json:"message,omitempty"`
	Status  *string `json:"status,omitempty"`
}

ResponseSuccess struct for ResponseSuccess

func NewResponseSuccess

func NewResponseSuccess() *ResponseSuccess

NewResponseSuccess instantiates a new ResponseSuccess 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 NewResponseSuccessWithDefaults

func NewResponseSuccessWithDefaults() *ResponseSuccess

NewResponseSuccessWithDefaults instantiates a new ResponseSuccess 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 (*ResponseSuccess) GetMessage

func (o *ResponseSuccess) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ResponseSuccess) GetMessageOk

func (o *ResponseSuccess) GetMessageOk() (*string, bool)

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

func (*ResponseSuccess) GetStatus

func (o *ResponseSuccess) GetStatus() string

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

func (*ResponseSuccess) GetStatusOk

func (o *ResponseSuccess) 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 (*ResponseSuccess) HasMessage

func (o *ResponseSuccess) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ResponseSuccess) HasStatus

func (o *ResponseSuccess) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ResponseSuccess) SetMessage

func (o *ResponseSuccess) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ResponseSuccess) SetStatus

func (o *ResponseSuccess) SetStatus(v string)

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

type Theme

type Theme struct {
	ControlBarBackgroundColor *string `json:"control_bar_background_color,omitempty"`
	ControlBarHeight          *string `json:"control_bar_height,omitempty"`
	MainColor                 *string `json:"main_color,omitempty"`
	MenuBackgroundColor       *string `json:"menu_background_color,omitempty"`
	MenuItemBackgroundHover   *string `json:"menu_item_background_hover,omitempty"`
	ProgressBarCircleSize     *string `json:"progress_bar_circle_size,omitempty"`
	ProgressBarHeight         *string `json:"progress_bar_height,omitempty"`
	TextColor                 *string `json:"text_color,omitempty"`
	TextTrackBackground       *string `json:"text_track_background,omitempty"`
	TextTrackColor            *string `json:"text_track_color,omitempty"`
}

Theme struct for Theme

func NewTheme

func NewTheme() *Theme

NewTheme instantiates a new Theme 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 NewThemeWithDefaults

func NewThemeWithDefaults() *Theme

NewThemeWithDefaults instantiates a new Theme 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 (*Theme) GetControlBarBackgroundColor

func (o *Theme) GetControlBarBackgroundColor() string

GetControlBarBackgroundColor returns the ControlBarBackgroundColor field value if set, zero value otherwise.

func (*Theme) GetControlBarBackgroundColorOk

func (o *Theme) GetControlBarBackgroundColorOk() (*string, bool)

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

func (*Theme) GetControlBarHeight

func (o *Theme) GetControlBarHeight() string

GetControlBarHeight returns the ControlBarHeight field value if set, zero value otherwise.

func (*Theme) GetControlBarHeightOk

func (o *Theme) GetControlBarHeightOk() (*string, bool)

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

func (*Theme) GetMainColor

func (o *Theme) GetMainColor() string

GetMainColor returns the MainColor field value if set, zero value otherwise.

func (*Theme) GetMainColorOk

func (o *Theme) GetMainColorOk() (*string, bool)

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

func (*Theme) GetMenuBackgroundColor

func (o *Theme) GetMenuBackgroundColor() string

GetMenuBackgroundColor returns the MenuBackgroundColor field value if set, zero value otherwise.

func (*Theme) GetMenuBackgroundColorOk

func (o *Theme) GetMenuBackgroundColorOk() (*string, bool)

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

func (*Theme) GetMenuItemBackgroundHover

func (o *Theme) GetMenuItemBackgroundHover() string

GetMenuItemBackgroundHover returns the MenuItemBackgroundHover field value if set, zero value otherwise.

func (*Theme) GetMenuItemBackgroundHoverOk

func (o *Theme) GetMenuItemBackgroundHoverOk() (*string, bool)

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

func (*Theme) GetProgressBarCircleSize

func (o *Theme) GetProgressBarCircleSize() string

GetProgressBarCircleSize returns the ProgressBarCircleSize field value if set, zero value otherwise.

func (*Theme) GetProgressBarCircleSizeOk

func (o *Theme) GetProgressBarCircleSizeOk() (*string, bool)

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

func (*Theme) GetProgressBarHeight

func (o *Theme) GetProgressBarHeight() string

GetProgressBarHeight returns the ProgressBarHeight field value if set, zero value otherwise.

func (*Theme) GetProgressBarHeightOk

func (o *Theme) GetProgressBarHeightOk() (*string, bool)

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

func (*Theme) GetTextColor

func (o *Theme) GetTextColor() string

GetTextColor returns the TextColor field value if set, zero value otherwise.

func (*Theme) GetTextColorOk

func (o *Theme) GetTextColorOk() (*string, bool)

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

func (*Theme) GetTextTrackBackground

func (o *Theme) GetTextTrackBackground() string

GetTextTrackBackground returns the TextTrackBackground field value if set, zero value otherwise.

func (*Theme) GetTextTrackBackgroundOk

func (o *Theme) GetTextTrackBackgroundOk() (*string, bool)

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

func (*Theme) GetTextTrackColor

func (o *Theme) GetTextTrackColor() string

GetTextTrackColor returns the TextTrackColor field value if set, zero value otherwise.

func (*Theme) GetTextTrackColorOk

func (o *Theme) GetTextTrackColorOk() (*string, bool)

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

func (*Theme) HasControlBarBackgroundColor

func (o *Theme) HasControlBarBackgroundColor() bool

HasControlBarBackgroundColor returns a boolean if a field has been set.

func (*Theme) HasControlBarHeight

func (o *Theme) HasControlBarHeight() bool

HasControlBarHeight returns a boolean if a field has been set.

func (*Theme) HasMainColor

func (o *Theme) HasMainColor() bool

HasMainColor returns a boolean if a field has been set.

func (*Theme) HasMenuBackgroundColor

func (o *Theme) HasMenuBackgroundColor() bool

HasMenuBackgroundColor returns a boolean if a field has been set.

func (*Theme) HasMenuItemBackgroundHover

func (o *Theme) HasMenuItemBackgroundHover() bool

HasMenuItemBackgroundHover returns a boolean if a field has been set.

func (*Theme) HasProgressBarCircleSize

func (o *Theme) HasProgressBarCircleSize() bool

HasProgressBarCircleSize returns a boolean if a field has been set.

func (*Theme) HasProgressBarHeight

func (o *Theme) HasProgressBarHeight() bool

HasProgressBarHeight returns a boolean if a field has been set.

func (*Theme) HasTextColor

func (o *Theme) HasTextColor() bool

HasTextColor returns a boolean if a field has been set.

func (*Theme) HasTextTrackBackground

func (o *Theme) HasTextTrackBackground() bool

HasTextTrackBackground returns a boolean if a field has been set.

func (*Theme) HasTextTrackColor

func (o *Theme) HasTextTrackColor() bool

HasTextTrackColor returns a boolean if a field has been set.

func (*Theme) SetControlBarBackgroundColor

func (o *Theme) SetControlBarBackgroundColor(v string)

SetControlBarBackgroundColor gets a reference to the given string and assigns it to the ControlBarBackgroundColor field.

func (*Theme) SetControlBarHeight

func (o *Theme) SetControlBarHeight(v string)

SetControlBarHeight gets a reference to the given string and assigns it to the ControlBarHeight field.

func (*Theme) SetMainColor

func (o *Theme) SetMainColor(v string)

SetMainColor gets a reference to the given string and assigns it to the MainColor field.

func (*Theme) SetMenuBackgroundColor

func (o *Theme) SetMenuBackgroundColor(v string)

SetMenuBackgroundColor gets a reference to the given string and assigns it to the MenuBackgroundColor field.

func (*Theme) SetMenuItemBackgroundHover

func (o *Theme) SetMenuItemBackgroundHover(v string)

SetMenuItemBackgroundHover gets a reference to the given string and assigns it to the MenuItemBackgroundHover field.

func (*Theme) SetProgressBarCircleSize

func (o *Theme) SetProgressBarCircleSize(v string)

SetProgressBarCircleSize gets a reference to the given string and assigns it to the ProgressBarCircleSize field.

func (*Theme) SetProgressBarHeight

func (o *Theme) SetProgressBarHeight(v string)

SetProgressBarHeight gets a reference to the given string and assigns it to the ProgressBarHeight field.

func (*Theme) SetTextColor

func (o *Theme) SetTextColor(v string)

SetTextColor gets a reference to the given string and assigns it to the TextColor field.

func (*Theme) SetTextTrackBackground

func (o *Theme) SetTextTrackBackground(v string)

SetTextTrackBackground gets a reference to the given string and assigns it to the TextTrackBackground field.

func (*Theme) SetTextTrackColor

func (o *Theme) SetTextTrackColor(v string)

SetTextTrackColor gets a reference to the given string and assigns it to the TextTrackColor field.

type UpdatePlayerThemeRequest

type UpdatePlayerThemeRequest struct {
	Controls  *Controls `json:"controls,omitempty"`
	IsDefault *bool     `json:"is_default,omitempty"`
	Name      *string   `json:"name,omitempty"`
	Theme     *Theme    `json:"theme,omitempty"`
}

UpdatePlayerThemeRequest struct for UpdatePlayerThemeRequest

func NewUpdatePlayerThemeRequest

func NewUpdatePlayerThemeRequest() *UpdatePlayerThemeRequest

NewUpdatePlayerThemeRequest instantiates a new UpdatePlayerThemeRequest 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 NewUpdatePlayerThemeRequestWithDefaults

func NewUpdatePlayerThemeRequestWithDefaults() *UpdatePlayerThemeRequest

NewUpdatePlayerThemeRequestWithDefaults instantiates a new UpdatePlayerThemeRequest 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 (*UpdatePlayerThemeRequest) GetControls

func (o *UpdatePlayerThemeRequest) GetControls() Controls

GetControls returns the Controls field value if set, zero value otherwise.

func (*UpdatePlayerThemeRequest) GetControlsOk

func (o *UpdatePlayerThemeRequest) GetControlsOk() (*Controls, bool)

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

func (*UpdatePlayerThemeRequest) GetIsDefault

func (o *UpdatePlayerThemeRequest) GetIsDefault() bool

GetIsDefault returns the IsDefault field value if set, zero value otherwise.

func (*UpdatePlayerThemeRequest) GetIsDefaultOk

func (o *UpdatePlayerThemeRequest) GetIsDefaultOk() (*bool, bool)

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

func (*UpdatePlayerThemeRequest) GetName

func (o *UpdatePlayerThemeRequest) GetName() string

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

func (*UpdatePlayerThemeRequest) GetNameOk

func (o *UpdatePlayerThemeRequest) 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 (*UpdatePlayerThemeRequest) GetTheme

func (o *UpdatePlayerThemeRequest) GetTheme() Theme

GetTheme returns the Theme field value if set, zero value otherwise.

func (*UpdatePlayerThemeRequest) GetThemeOk

func (o *UpdatePlayerThemeRequest) GetThemeOk() (*Theme, bool)

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

func (*UpdatePlayerThemeRequest) HasControls

func (o *UpdatePlayerThemeRequest) HasControls() bool

HasControls returns a boolean if a field has been set.

func (*UpdatePlayerThemeRequest) HasIsDefault

func (o *UpdatePlayerThemeRequest) HasIsDefault() bool

HasIsDefault returns a boolean if a field has been set.

func (*UpdatePlayerThemeRequest) HasName

func (o *UpdatePlayerThemeRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdatePlayerThemeRequest) HasTheme

func (o *UpdatePlayerThemeRequest) HasTheme() bool

HasTheme returns a boolean if a field has been set.

func (*UpdatePlayerThemeRequest) SetControls

func (o *UpdatePlayerThemeRequest) SetControls(v Controls)

SetControls gets a reference to the given Controls and assigns it to the Controls field.

func (*UpdatePlayerThemeRequest) SetIsDefault

func (o *UpdatePlayerThemeRequest) SetIsDefault(v bool)

SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.

func (*UpdatePlayerThemeRequest) SetName

func (o *UpdatePlayerThemeRequest) SetName(v string)

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

func (*UpdatePlayerThemeRequest) SetTheme

func (o *UpdatePlayerThemeRequest) SetTheme(v Theme)

SetTheme gets a reference to the given Theme and assigns it to the Theme field.

type UpdatePlayerThemeResponse

type UpdatePlayerThemeResponse struct {
	Data   *UpdatePlayerThemeRequest `json:"data,omitempty"`
	Status *string                   `json:"status,omitempty"`
}

UpdatePlayerThemeResponse struct for UpdatePlayerThemeResponse

func NewUpdatePlayerThemeResponse

func NewUpdatePlayerThemeResponse() *UpdatePlayerThemeResponse

NewUpdatePlayerThemeResponse instantiates a new UpdatePlayerThemeResponse 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 NewUpdatePlayerThemeResponseWithDefaults

func NewUpdatePlayerThemeResponseWithDefaults() *UpdatePlayerThemeResponse

NewUpdatePlayerThemeResponseWithDefaults instantiates a new UpdatePlayerThemeResponse 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 (*UpdatePlayerThemeResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*UpdatePlayerThemeResponse) GetDataOk

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

func (*UpdatePlayerThemeResponse) GetStatus

func (o *UpdatePlayerThemeResponse) GetStatus() string

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

func (*UpdatePlayerThemeResponse) GetStatusOk

func (o *UpdatePlayerThemeResponse) 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 (*UpdatePlayerThemeResponse) HasData

func (o *UpdatePlayerThemeResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*UpdatePlayerThemeResponse) HasStatus

func (o *UpdatePlayerThemeResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*UpdatePlayerThemeResponse) SetData

SetData gets a reference to the given UpdatePlayerThemeRequest and assigns it to the Data field.

func (*UpdatePlayerThemeResponse) SetStatus

func (o *UpdatePlayerThemeResponse) SetStatus(v string)

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

type UpdateVideoInfoRequest

type UpdateVideoInfoRequest struct {
	// Description of the media
	Description *string `json:"description,omitempty"`
	// Media's publish status
	IsPublic *bool `json:"is_public,omitempty"`
	// Media's metadata
	Metadata *[]Metadata `json:"metadata,omitempty"`
	// Media player 's id
	PlayerId *string `json:"player_id,omitempty"`
	// Media's tags
	Tags *[]string `json:"tags,omitempty"`
	// Title of the media
	Title *string `json:"title,omitempty"`
}

UpdateVideoInfoRequest struct for UpdateVideoInfoRequest

func NewUpdateVideoInfoRequest

func NewUpdateVideoInfoRequest() *UpdateVideoInfoRequest

NewUpdateVideoInfoRequest instantiates a new UpdateVideoInfoRequest 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 NewUpdateVideoInfoRequestWithDefaults

func NewUpdateVideoInfoRequestWithDefaults() *UpdateVideoInfoRequest

NewUpdateVideoInfoRequestWithDefaults instantiates a new UpdateVideoInfoRequest 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 (*UpdateVideoInfoRequest) GetDescription

func (o *UpdateVideoInfoRequest) GetDescription() string

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

func (*UpdateVideoInfoRequest) GetDescriptionOk

func (o *UpdateVideoInfoRequest) 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 (*UpdateVideoInfoRequest) GetIsPublic

func (o *UpdateVideoInfoRequest) GetIsPublic() bool

GetIsPublic returns the IsPublic field value if set, zero value otherwise.

func (*UpdateVideoInfoRequest) GetIsPublicOk

func (o *UpdateVideoInfoRequest) GetIsPublicOk() (*bool, bool)

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

func (*UpdateVideoInfoRequest) GetMetadata

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

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

func (*UpdateVideoInfoRequest) GetMetadataOk

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

func (o *UpdateVideoInfoRequest) GetPlayerId() string

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

func (*UpdateVideoInfoRequest) GetPlayerIdOk

func (o *UpdateVideoInfoRequest) 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 (*UpdateVideoInfoRequest) GetTags

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

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

func (*UpdateVideoInfoRequest) GetTagsOk

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

func (o *UpdateVideoInfoRequest) GetTitle() string

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

func (*UpdateVideoInfoRequest) GetTitleOk

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

func (o *UpdateVideoInfoRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateVideoInfoRequest) HasIsPublic

func (o *UpdateVideoInfoRequest) HasIsPublic() bool

HasIsPublic returns a boolean if a field has been set.

func (*UpdateVideoInfoRequest) HasMetadata

func (o *UpdateVideoInfoRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*UpdateVideoInfoRequest) HasPlayerId

func (o *UpdateVideoInfoRequest) HasPlayerId() bool

HasPlayerId returns a boolean if a field has been set.

func (*UpdateVideoInfoRequest) HasTags

func (o *UpdateVideoInfoRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UpdateVideoInfoRequest) HasTitle

func (o *UpdateVideoInfoRequest) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*UpdateVideoInfoRequest) SetDescription

func (o *UpdateVideoInfoRequest) SetDescription(v string)

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

func (*UpdateVideoInfoRequest) SetIsPublic

func (o *UpdateVideoInfoRequest) SetIsPublic(v bool)

SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.

func (*UpdateVideoInfoRequest) SetMetadata

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

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

func (*UpdateVideoInfoRequest) SetPlayerId

func (o *UpdateVideoInfoRequest) SetPlayerId(v string)

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

func (*UpdateVideoInfoRequest) SetTags

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

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

func (*UpdateVideoInfoRequest) SetTitle

func (o *UpdateVideoInfoRequest) SetTitle(v string)

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

type UpdateWebhookRequest

type UpdateWebhookRequest struct {
	EncodingFailed   *bool   `json:"encoding_failed,omitempty"`
	EncodingFinished *bool   `json:"encoding_finished,omitempty"`
	EncodingStarted  *bool   `json:"encoding_started,omitempty"`
	FileReceived     *bool   `json:"file_received,omitempty"`
	Name             *string `json:"name,omitempty"`
	PartialFinished  *bool   `json:"partial_finished,omitempty"`
	Url              *string `json:"url,omitempty"`
}

UpdateWebhookRequest struct for UpdateWebhookRequest

func NewUpdateWebhookRequest

func NewUpdateWebhookRequest() *UpdateWebhookRequest

NewUpdateWebhookRequest instantiates a new UpdateWebhookRequest 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 NewUpdateWebhookRequestWithDefaults

func NewUpdateWebhookRequestWithDefaults() *UpdateWebhookRequest

NewUpdateWebhookRequestWithDefaults instantiates a new UpdateWebhookRequest 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 (*UpdateWebhookRequest) GetEncodingFailed added in v1.0.10

func (o *UpdateWebhookRequest) GetEncodingFailed() bool

GetEncodingFailed returns the EncodingFailed field value if set, zero value otherwise.

func (*UpdateWebhookRequest) GetEncodingFailedOk added in v1.0.10

func (o *UpdateWebhookRequest) GetEncodingFailedOk() (*bool, bool)

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

func (*UpdateWebhookRequest) GetEncodingFinished

func (o *UpdateWebhookRequest) GetEncodingFinished() bool

GetEncodingFinished returns the EncodingFinished field value if set, zero value otherwise.

func (*UpdateWebhookRequest) GetEncodingFinishedOk

func (o *UpdateWebhookRequest) GetEncodingFinishedOk() (*bool, bool)

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

func (*UpdateWebhookRequest) GetEncodingStarted

func (o *UpdateWebhookRequest) GetEncodingStarted() bool

GetEncodingStarted returns the EncodingStarted field value if set, zero value otherwise.

func (*UpdateWebhookRequest) GetEncodingStartedOk

func (o *UpdateWebhookRequest) GetEncodingStartedOk() (*bool, bool)

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

func (*UpdateWebhookRequest) GetFileReceived

func (o *UpdateWebhookRequest) GetFileReceived() bool

GetFileReceived returns the FileReceived field value if set, zero value otherwise.

func (*UpdateWebhookRequest) GetFileReceivedOk

func (o *UpdateWebhookRequest) GetFileReceivedOk() (*bool, bool)

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

func (*UpdateWebhookRequest) GetName

func (o *UpdateWebhookRequest) GetName() string

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

func (*UpdateWebhookRequest) GetNameOk

func (o *UpdateWebhookRequest) 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 (*UpdateWebhookRequest) GetPartialFinished added in v1.0.10

func (o *UpdateWebhookRequest) GetPartialFinished() bool

GetPartialFinished returns the PartialFinished field value if set, zero value otherwise.

func (*UpdateWebhookRequest) GetPartialFinishedOk added in v1.0.10

func (o *UpdateWebhookRequest) GetPartialFinishedOk() (*bool, bool)

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

func (*UpdateWebhookRequest) GetUrl

func (o *UpdateWebhookRequest) GetUrl() string

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

func (*UpdateWebhookRequest) GetUrlOk

func (o *UpdateWebhookRequest) 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 (*UpdateWebhookRequest) HasEncodingFailed added in v1.0.10

func (o *UpdateWebhookRequest) HasEncodingFailed() bool

HasEncodingFailed returns a boolean if a field has been set.

func (*UpdateWebhookRequest) HasEncodingFinished

func (o *UpdateWebhookRequest) HasEncodingFinished() bool

HasEncodingFinished returns a boolean if a field has been set.

func (*UpdateWebhookRequest) HasEncodingStarted

func (o *UpdateWebhookRequest) HasEncodingStarted() bool

HasEncodingStarted returns a boolean if a field has been set.

func (*UpdateWebhookRequest) HasFileReceived

func (o *UpdateWebhookRequest) HasFileReceived() bool

HasFileReceived returns a boolean if a field has been set.

func (*UpdateWebhookRequest) HasName

func (o *UpdateWebhookRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateWebhookRequest) HasPartialFinished added in v1.0.10

func (o *UpdateWebhookRequest) HasPartialFinished() bool

HasPartialFinished returns a boolean if a field has been set.

func (*UpdateWebhookRequest) HasUrl

func (o *UpdateWebhookRequest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*UpdateWebhookRequest) SetEncodingFailed added in v1.0.10

func (o *UpdateWebhookRequest) SetEncodingFailed(v bool)

SetEncodingFailed gets a reference to the given bool and assigns it to the EncodingFailed field.

func (*UpdateWebhookRequest) SetEncodingFinished

func (o *UpdateWebhookRequest) SetEncodingFinished(v bool)

SetEncodingFinished gets a reference to the given bool and assigns it to the EncodingFinished field.

func (*UpdateWebhookRequest) SetEncodingStarted

func (o *UpdateWebhookRequest) SetEncodingStarted(v bool)

SetEncodingStarted gets a reference to the given bool and assigns it to the EncodingStarted field.

func (*UpdateWebhookRequest) SetFileReceived

func (o *UpdateWebhookRequest) SetFileReceived(v bool)

SetFileReceived gets a reference to the given bool and assigns it to the FileReceived field.

func (*UpdateWebhookRequest) SetName

func (o *UpdateWebhookRequest) SetName(v string)

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

func (*UpdateWebhookRequest) SetPartialFinished added in v1.0.10

func (o *UpdateWebhookRequest) SetPartialFinished(v bool)

SetPartialFinished gets a reference to the given bool and assigns it to the PartialFinished field.

func (*UpdateWebhookRequest) SetUrl

func (o *UpdateWebhookRequest) SetUrl(v string)

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

type UploadLogoByIdResponse

type UploadLogoByIdResponse struct {
	Data   *PlayerTheme `json:"data,omitempty"`
	Status *string      `json:"status,omitempty"`
}

UploadLogoByIdResponse struct for UploadLogoByIdResponse

func NewUploadLogoByIdResponse

func NewUploadLogoByIdResponse() *UploadLogoByIdResponse

NewUploadLogoByIdResponse instantiates a new UploadLogoByIdResponse 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 NewUploadLogoByIdResponseWithDefaults

func NewUploadLogoByIdResponseWithDefaults() *UploadLogoByIdResponse

NewUploadLogoByIdResponseWithDefaults instantiates a new UploadLogoByIdResponse 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 (*UploadLogoByIdResponse) GetData

func (o *UploadLogoByIdResponse) GetData() PlayerTheme

GetData returns the Data field value if set, zero value otherwise.

func (*UploadLogoByIdResponse) GetDataOk

func (o *UploadLogoByIdResponse) GetDataOk() (*PlayerTheme, bool)

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

func (*UploadLogoByIdResponse) GetStatus

func (o *UploadLogoByIdResponse) GetStatus() string

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

func (*UploadLogoByIdResponse) GetStatusOk

func (o *UploadLogoByIdResponse) 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 (*UploadLogoByIdResponse) HasData

func (o *UploadLogoByIdResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*UploadLogoByIdResponse) HasStatus

func (o *UploadLogoByIdResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*UploadLogoByIdResponse) SetData

func (o *UploadLogoByIdResponse) SetData(v PlayerTheme)

SetData gets a reference to the given PlayerTheme and assigns it to the Data field.

func (*UploadLogoByIdResponse) SetStatus

func (o *UploadLogoByIdResponse) SetStatus(v string)

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

type UploadPartStream

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

VideosService communicating with the Videos endpoints of the AIOZ Stream API

func (*UploadPartStream) UploadAPart

func (s *UploadPartStream) UploadAPart(ctx context.Context, fileName string, fileReader io.Reader, fileSize int64, isLast bool) (*Media, error)

func (*UploadPartStream) UploadLastPart

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

func (*UploadPartStream) UploadLastPartFile

func (s *UploadPartStream) UploadLastPartFile(file *os.File) (*Media, error)

func (*UploadPartStream) UploadLastPartWithContext

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

func (*UploadPartStream) UploadLastPartWithContextFile

func (s *UploadPartStream) UploadLastPartWithContextFile(ctx context.Context, file *os.File) (*Media, error)

func (*UploadPartStream) UploadPart

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

func (*UploadPartStream) UploadPartFile

func (s *UploadPartStream) UploadPartFile(file *os.File) (*Media, error)

func (*UploadPartStream) UploadPartWithContext

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

func (*UploadPartStream) UploadPartWithContextFile

func (s *UploadPartStream) UploadPartWithContextFile(ctx context.Context, file *os.File) (*Media, error)

type User added in v1.0.10

type User struct {
	Balance              *float32 `json:"balance,omitempty"`
	CreatedAt            *string  `json:"created_at,omitempty"`
	Debt                 *float32 `json:"debt,omitempty"`
	Email                *string  `json:"email,omitempty"`
	ExclusiveCode        *string  `json:"exclusive_code,omitempty"`
	FirstName            *string  `json:"first_name,omitempty"`
	Id                   *string  `json:"id,omitempty"`
	LastName             *string  `json:"last_name,omitempty"`
	LastRequestedAt      *string  `json:"last_requested_at,omitempty"`
	MediaQualitiesConfig *string  `json:"media_qualities_config,omitempty"`
	UpdatedAt            *string  `json:"updated_at,omitempty"`
	WalletAddress        *string  `json:"wallet_address,omitempty"`
	WalletConnection     *string  `json:"wallet_connection,omitempty"`
}

User struct for User

func NewUser added in v1.0.10

func NewUser() *User

NewUser instantiates a new User 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 NewUserWithDefaults added in v1.0.10

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User 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 (*User) GetBalance added in v1.0.10

func (o *User) GetBalance() float32

GetBalance returns the Balance field value if set, zero value otherwise.

func (*User) GetBalanceOk added in v1.0.10

func (o *User) GetBalanceOk() (*float32, bool)

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

func (*User) GetCreatedAt added in v1.0.10

func (o *User) GetCreatedAt() string

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

func (*User) GetCreatedAtOk added in v1.0.10

func (o *User) 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 (*User) GetDebt added in v1.0.10

func (o *User) GetDebt() float32

GetDebt returns the Debt field value if set, zero value otherwise.

func (*User) GetDebtOk added in v1.0.10

func (o *User) GetDebtOk() (*float32, bool)

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

func (*User) GetEmail added in v1.0.10

func (o *User) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*User) GetEmailOk added in v1.0.10

func (o *User) GetEmailOk() (*string, bool)

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

func (*User) GetExclusiveCode added in v1.0.11

func (o *User) GetExclusiveCode() string

GetExclusiveCode returns the ExclusiveCode field value if set, zero value otherwise.

func (*User) GetExclusiveCodeOk added in v1.0.11

func (o *User) GetExclusiveCodeOk() (*string, bool)

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

func (*User) GetFirstName added in v1.0.10

func (o *User) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*User) GetFirstNameOk added in v1.0.10

func (o *User) GetFirstNameOk() (*string, bool)

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

func (*User) GetId added in v1.0.10

func (o *User) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*User) GetIdOk added in v1.0.10

func (o *User) 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 (*User) GetLastName added in v1.0.10

func (o *User) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*User) GetLastNameOk added in v1.0.10

func (o *User) GetLastNameOk() (*string, bool)

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

func (*User) GetLastRequestedAt added in v1.0.11

func (o *User) GetLastRequestedAt() string

GetLastRequestedAt returns the LastRequestedAt field value if set, zero value otherwise.

func (*User) GetLastRequestedAtOk added in v1.0.11

func (o *User) GetLastRequestedAtOk() (*string, bool)

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

func (*User) GetMediaQualitiesConfig added in v1.0.10

func (o *User) GetMediaQualitiesConfig() string

GetMediaQualitiesConfig returns the MediaQualitiesConfig field value if set, zero value otherwise.

func (*User) GetMediaQualitiesConfigOk added in v1.0.10

func (o *User) GetMediaQualitiesConfigOk() (*string, bool)

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

func (*User) GetUpdatedAt added in v1.0.10

func (o *User) GetUpdatedAt() string

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

func (*User) GetUpdatedAtOk added in v1.0.10

func (o *User) 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 (*User) GetWalletAddress added in v1.0.10

func (o *User) GetWalletAddress() string

GetWalletAddress returns the WalletAddress field value if set, zero value otherwise.

func (*User) GetWalletAddressOk added in v1.0.10

func (o *User) GetWalletAddressOk() (*string, bool)

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

func (*User) GetWalletConnection added in v1.0.10

func (o *User) GetWalletConnection() string

GetWalletConnection returns the WalletConnection field value if set, zero value otherwise.

func (*User) GetWalletConnectionOk added in v1.0.10

func (o *User) GetWalletConnectionOk() (*string, bool)

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

func (*User) HasBalance added in v1.0.10

func (o *User) HasBalance() bool

HasBalance returns a boolean if a field has been set.

func (*User) HasCreatedAt added in v1.0.10

func (o *User) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*User) HasDebt added in v1.0.10

func (o *User) HasDebt() bool

HasDebt returns a boolean if a field has been set.

func (*User) HasEmail added in v1.0.10

func (o *User) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*User) HasExclusiveCode added in v1.0.11

func (o *User) HasExclusiveCode() bool

HasExclusiveCode returns a boolean if a field has been set.

func (*User) HasFirstName added in v1.0.10

func (o *User) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*User) HasId added in v1.0.10

func (o *User) HasId() bool

HasId returns a boolean if a field has been set.

func (*User) HasLastName added in v1.0.10

func (o *User) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*User) HasLastRequestedAt added in v1.0.11

func (o *User) HasLastRequestedAt() bool

HasLastRequestedAt returns a boolean if a field has been set.

func (*User) HasMediaQualitiesConfig added in v1.0.10

func (o *User) HasMediaQualitiesConfig() bool

HasMediaQualitiesConfig returns a boolean if a field has been set.

func (*User) HasUpdatedAt added in v1.0.10

func (o *User) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*User) HasWalletAddress added in v1.0.10

func (o *User) HasWalletAddress() bool

HasWalletAddress returns a boolean if a field has been set.

func (*User) HasWalletConnection added in v1.0.10

func (o *User) HasWalletConnection() bool

HasWalletConnection returns a boolean if a field has been set.

func (*User) SetBalance added in v1.0.10

func (o *User) SetBalance(v float32)

SetBalance gets a reference to the given float32 and assigns it to the Balance field.

func (*User) SetCreatedAt added in v1.0.10

func (o *User) SetCreatedAt(v string)

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

func (*User) SetDebt added in v1.0.10

func (o *User) SetDebt(v float32)

SetDebt gets a reference to the given float32 and assigns it to the Debt field.

func (*User) SetEmail added in v1.0.10

func (o *User) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*User) SetExclusiveCode added in v1.0.11

func (o *User) SetExclusiveCode(v string)

SetExclusiveCode gets a reference to the given string and assigns it to the ExclusiveCode field.

func (*User) SetFirstName added in v1.0.10

func (o *User) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*User) SetId added in v1.0.10

func (o *User) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*User) SetLastName added in v1.0.10

func (o *User) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*User) SetLastRequestedAt added in v1.0.11

func (o *User) SetLastRequestedAt(v string)

SetLastRequestedAt gets a reference to the given string and assigns it to the LastRequestedAt field.

func (*User) SetMediaQualitiesConfig added in v1.0.10

func (o *User) SetMediaQualitiesConfig(v string)

SetMediaQualitiesConfig gets a reference to the given string and assigns it to the MediaQualitiesConfig field.

func (*User) SetUpdatedAt added in v1.0.10

func (o *User) SetUpdatedAt(v string)

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

func (*User) SetWalletAddress added in v1.0.10

func (o *User) SetWalletAddress(v string)

SetWalletAddress gets a reference to the given string and assigns it to the WalletAddress field.

func (*User) SetWalletConnection added in v1.0.10

func (o *User) SetWalletConnection(v string)

SetWalletConnection gets a reference to the given string and assigns it to the WalletConnection field.

type VideoApiGetCaptionsRequest

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

func (VideoApiGetCaptionsRequest) Limit

func (VideoApiGetCaptionsRequest) Offset

type VideoApiGetVideoPlayerInfoRequest

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

func (VideoApiGetVideoPlayerInfoRequest) Token

type VideoAssets

type VideoAssets struct {
	DashIframe    *string `json:"dash_iframe,omitempty"`
	DashPlayerUrl *string `json:"dash_player_url,omitempty"`
	DashUrl       *string `json:"dash_url,omitempty"`
	HlsIframe     *string `json:"hls_iframe,omitempty"`
	HlsPlayerUrl  *string `json:"hls_player_url,omitempty"`
	HlsUrl        *string `json:"hls_url,omitempty"`
	Mp4Url        *string `json:"mp4_url,omitempty"`
	SourceUrl     *string `json:"source_url,omitempty"`
	ThumbnailUrl  *string `json:"thumbnail_url,omitempty"`
}

VideoAssets struct for VideoAssets

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) GetDashIframe added in v1.0.10

func (o *VideoAssets) GetDashIframe() string

GetDashIframe returns the DashIframe field value if set, zero value otherwise.

func (*VideoAssets) GetDashIframeOk added in v1.0.10

func (o *VideoAssets) GetDashIframeOk() (*string, bool)

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

func (*VideoAssets) GetDashPlayerUrl added in v1.0.10

func (o *VideoAssets) GetDashPlayerUrl() string

GetDashPlayerUrl returns the DashPlayerUrl field value if set, zero value otherwise.

func (*VideoAssets) GetDashPlayerUrlOk added in v1.0.10

func (o *VideoAssets) GetDashPlayerUrlOk() (*string, bool)

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

func (*VideoAssets) GetDashUrl added in v1.0.10

func (o *VideoAssets) GetDashUrl() string

GetDashUrl returns the DashUrl field value if set, zero value otherwise.

func (*VideoAssets) GetDashUrlOk added in v1.0.10

func (o *VideoAssets) GetDashUrlOk() (*string, bool)

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

func (*VideoAssets) GetHlsIframe added in v1.0.10

func (o *VideoAssets) GetHlsIframe() string

GetHlsIframe returns the HlsIframe field value if set, zero value otherwise.

func (*VideoAssets) GetHlsIframeOk added in v1.0.10

func (o *VideoAssets) GetHlsIframeOk() (*string, bool)

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

func (*VideoAssets) GetHlsPlayerUrl added in v1.0.10

func (o *VideoAssets) GetHlsPlayerUrl() string

GetHlsPlayerUrl returns the HlsPlayerUrl field value if set, zero value otherwise.

func (*VideoAssets) GetHlsPlayerUrlOk added in v1.0.10

func (o *VideoAssets) GetHlsPlayerUrlOk() (*string, bool)

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

func (*VideoAssets) GetHlsUrl

func (o *VideoAssets) GetHlsUrl() string

GetHlsUrl returns the HlsUrl field value if set, zero value otherwise.

func (*VideoAssets) GetHlsUrlOk

func (o *VideoAssets) GetHlsUrlOk() (*string, bool)

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

func (*VideoAssets) GetMp4Url

func (o *VideoAssets) GetMp4Url() string

GetMp4Url returns the Mp4Url field value if set, zero value otherwise.

func (*VideoAssets) GetMp4UrlOk

func (o *VideoAssets) GetMp4UrlOk() (*string, bool)

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

func (*VideoAssets) GetSourceUrl

func (o *VideoAssets) GetSourceUrl() string

GetSourceUrl returns the SourceUrl field value if set, zero value otherwise.

func (*VideoAssets) GetSourceUrlOk

func (o *VideoAssets) GetSourceUrlOk() (*string, bool)

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

func (*VideoAssets) GetThumbnailUrl

func (o *VideoAssets) GetThumbnailUrl() string

GetThumbnailUrl returns the ThumbnailUrl field value if set, zero value otherwise.

func (*VideoAssets) GetThumbnailUrlOk

func (o *VideoAssets) GetThumbnailUrlOk() (*string, bool)

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

func (*VideoAssets) HasDashIframe added in v1.0.10

func (o *VideoAssets) HasDashIframe() bool

HasDashIframe returns a boolean if a field has been set.

func (*VideoAssets) HasDashPlayerUrl added in v1.0.10

func (o *VideoAssets) HasDashPlayerUrl() bool

HasDashPlayerUrl returns a boolean if a field has been set.

func (*VideoAssets) HasDashUrl added in v1.0.10

func (o *VideoAssets) HasDashUrl() bool

HasDashUrl returns a boolean if a field has been set.

func (*VideoAssets) HasHlsIframe added in v1.0.10

func (o *VideoAssets) HasHlsIframe() bool

HasHlsIframe returns a boolean if a field has been set.

func (*VideoAssets) HasHlsPlayerUrl added in v1.0.10

func (o *VideoAssets) HasHlsPlayerUrl() bool

HasHlsPlayerUrl returns a boolean if a field has been set.

func (*VideoAssets) HasHlsUrl

func (o *VideoAssets) HasHlsUrl() bool

HasHlsUrl returns a boolean if a field has been set.

func (*VideoAssets) HasMp4Url

func (o *VideoAssets) HasMp4Url() bool

HasMp4Url returns a boolean if a field has been set.

func (*VideoAssets) HasSourceUrl

func (o *VideoAssets) HasSourceUrl() bool

HasSourceUrl returns a boolean if a field has been set.

func (*VideoAssets) HasThumbnailUrl

func (o *VideoAssets) HasThumbnailUrl() bool

HasThumbnailUrl returns a boolean if a field has been set.

func (*VideoAssets) SetDashIframe added in v1.0.10

func (o *VideoAssets) SetDashIframe(v string)

SetDashIframe gets a reference to the given string and assigns it to the DashIframe field.

func (*VideoAssets) SetDashPlayerUrl added in v1.0.10

func (o *VideoAssets) SetDashPlayerUrl(v string)

SetDashPlayerUrl gets a reference to the given string and assigns it to the DashPlayerUrl field.

func (*VideoAssets) SetDashUrl added in v1.0.10

func (o *VideoAssets) SetDashUrl(v string)

SetDashUrl gets a reference to the given string and assigns it to the DashUrl field.

func (*VideoAssets) SetHlsIframe added in v1.0.10

func (o *VideoAssets) SetHlsIframe(v string)

SetHlsIframe gets a reference to the given string and assigns it to the HlsIframe field.

func (*VideoAssets) SetHlsPlayerUrl added in v1.0.10

func (o *VideoAssets) SetHlsPlayerUrl(v string)

SetHlsPlayerUrl gets a reference to the given string and assigns it to the HlsPlayerUrl field.

func (*VideoAssets) SetHlsUrl

func (o *VideoAssets) SetHlsUrl(v string)

SetHlsUrl gets a reference to the given string and assigns it to the HlsUrl field.

func (*VideoAssets) SetMp4Url

func (o *VideoAssets) SetMp4Url(v string)

SetMp4Url gets a reference to the given string and assigns it to the Mp4Url field.

func (*VideoAssets) SetSourceUrl

func (o *VideoAssets) SetSourceUrl(v string)

SetSourceUrl gets a reference to the given string and assigns it to the SourceUrl field.

func (*VideoAssets) SetThumbnailUrl

func (o *VideoAssets) SetThumbnailUrl(v string)

SetThumbnailUrl gets a reference to the given string and assigns it to the ThumbnailUrl field.

type VideoCaption

type VideoCaption struct {
	Description *string `json:"description,omitempty"`
	IsDefault   *bool   `json:"is_default,omitempty"`
	Language    *string `json:"language,omitempty"`
	Status      *string `json:"status,omitempty"`
	Url         *string `json:"url,omitempty"`
}

VideoCaption struct for VideoCaption

func NewVideoCaption

func NewVideoCaption() *VideoCaption

NewVideoCaption instantiates a new VideoCaption 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 NewVideoCaptionWithDefaults

func NewVideoCaptionWithDefaults() *VideoCaption

NewVideoCaptionWithDefaults instantiates a new VideoCaption 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 (*VideoCaption) GetDescription added in v1.0.10

func (o *VideoCaption) GetDescription() string

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

func (*VideoCaption) GetDescriptionOk added in v1.0.10

func (o *VideoCaption) 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 (*VideoCaption) GetIsDefault

func (o *VideoCaption) GetIsDefault() bool

GetIsDefault returns the IsDefault field value if set, zero value otherwise.

func (*VideoCaption) GetIsDefaultOk

func (o *VideoCaption) GetIsDefaultOk() (*bool, bool)

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

func (*VideoCaption) GetLanguage

func (o *VideoCaption) GetLanguage() string

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

func (*VideoCaption) GetLanguageOk

func (o *VideoCaption) 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 (*VideoCaption) GetStatus added in v1.0.10

func (o *VideoCaption) GetStatus() string

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

func (*VideoCaption) GetStatusOk added in v1.0.10

func (o *VideoCaption) 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 (*VideoCaption) GetUrl

func (o *VideoCaption) GetUrl() string

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

func (*VideoCaption) GetUrlOk

func (o *VideoCaption) 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 (*VideoCaption) HasDescription added in v1.0.10

func (o *VideoCaption) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VideoCaption) HasIsDefault

func (o *VideoCaption) HasIsDefault() bool

HasIsDefault returns a boolean if a field has been set.

func (*VideoCaption) HasLanguage

func (o *VideoCaption) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*VideoCaption) HasStatus added in v1.0.10

func (o *VideoCaption) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*VideoCaption) HasUrl

func (o *VideoCaption) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*VideoCaption) SetDescription added in v1.0.10

func (o *VideoCaption) SetDescription(v string)

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

func (*VideoCaption) SetIsDefault

func (o *VideoCaption) SetIsDefault(v bool)

SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.

func (*VideoCaption) SetLanguage

func (o *VideoCaption) SetLanguage(v string)

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

func (*VideoCaption) SetStatus added in v1.0.10

func (o *VideoCaption) SetStatus(v string)

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

func (*VideoCaption) SetUrl

func (o *VideoCaption) SetUrl(v string)

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

type VideoChapter

type VideoChapter struct {
	Language *string `json:"language,omitempty"`
	Url      *string `json:"url,omitempty"`
}

VideoChapter struct for VideoChapter

func NewVideoChapter

func NewVideoChapter() *VideoChapter

NewVideoChapter instantiates a new VideoChapter 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 NewVideoChapterWithDefaults

func NewVideoChapterWithDefaults() *VideoChapter

NewVideoChapterWithDefaults instantiates a new VideoChapter 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 (*VideoChapter) GetLanguage

func (o *VideoChapter) GetLanguage() string

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

func (*VideoChapter) GetLanguageOk

func (o *VideoChapter) 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 (*VideoChapter) GetUrl

func (o *VideoChapter) GetUrl() string

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

func (*VideoChapter) GetUrlOk

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

func (o *VideoChapter) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*VideoChapter) HasUrl

func (o *VideoChapter) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*VideoChapter) SetLanguage

func (o *VideoChapter) SetLanguage(v string)

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

func (*VideoChapter) SetUrl

func (o *VideoChapter) SetUrl(v string)

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

type VideoChapterApiGetRequest

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

func (VideoChapterApiGetRequest) Limit

func (VideoChapterApiGetRequest) Offset

type VideoChapterService

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

VideoChapterService communicating with the VideoChapter endpoints of the AIOZ Stream API

func (*VideoChapterService) Create

func (s *VideoChapterService) Create(id string, lan string, fileName string, fileReader io.Reader) (*CreateVideoChapterResponse, error)

* Create Create a video chapter * Create a VTT file to add chapters to your video. Chapters help break the video into sections.

* @param id Video ID * @param lan Language * @return VideoChapterApiCreateRequest

func (*VideoChapterService) CreateFile

func (s *VideoChapterService) CreateFile(id string, lan string, file *os.File) (*CreateVideoChapterResponse, error)

func (*VideoChapterService) CreateFileWithContext

func (s *VideoChapterService) CreateFileWithContext(ctx context.Context, id string, lan string, file *os.File) (*CreateVideoChapterResponse, error)

func (*VideoChapterService) CreateWithContext

func (s *VideoChapterService) CreateWithContext(ctx context.Context, id string, lan string, fileName string, fileReader io.Reader) (*CreateVideoChapterResponse, error)

* Create Create a video chapter * Create a VTT file to add chapters to your video. Chapters help break the video into sections. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id Video ID * @param lan Language * @return VideoChapterApiCreateRequest

func (*VideoChapterService) Delete

func (s *VideoChapterService) Delete(id string, lan string) (*ResponseSuccess, error)

func (*VideoChapterService) DeleteWithContext

func (s *VideoChapterService) DeleteWithContext(ctx context.Context, id string, lan string) (*ResponseSuccess, error)

func (*VideoChapterService) Get

func (*VideoChapterService) GetWithContext

type VideoChapterServiceI

type VideoChapterServiceI interface {
	/*
	 * Create Create a video chapter
	 * @param id Video ID
	 * @param lan Language
	 * @return VideoChapterApiCreateRequest
	 */
	Create(id string, lan string, fileName string, fileReader io.Reader) (*CreateVideoChapterResponse, error)
	/*
	 * Create Create a video chapter
	 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @param id Video ID
	 * @param lan Language
	 * @return VideoChapterApiCreateRequest
	 */
	CreateWithContext(ctx context.Context, id string, lan string, fileName string, fileReader io.Reader) (*CreateVideoChapterResponse, error)

	Get(id string, r VideoChapterApiGetRequest) (*GetVideoChaptersResponse, error)

	GetWithContext(ctx context.Context, id string, r VideoChapterApiGetRequest) (*GetVideoChaptersResponse, error)

	Delete(id string, lan string) (*ResponseSuccess, error)

	DeleteWithContext(ctx context.Context, id string, lan string) (*ResponseSuccess, error)
}

type VideoConfig added in v1.0.10

type VideoConfig struct {
	Bitrate *int32  `json:"bitrate,omitempty"`
	Codec   *string `json:"codec,omitempty"`
	Index   *int32  `json:"index,omitempty"`
}

VideoConfig struct for VideoConfig

func NewVideoConfig added in v1.0.10

func NewVideoConfig() *VideoConfig

NewVideoConfig instantiates a new VideoConfig 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 NewVideoConfigWithDefaults added in v1.0.10

func NewVideoConfigWithDefaults() *VideoConfig

NewVideoConfigWithDefaults instantiates a new VideoConfig 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 (*VideoConfig) GetBitrate added in v1.0.10

func (o *VideoConfig) GetBitrate() int32

GetBitrate returns the Bitrate field value if set, zero value otherwise.

func (*VideoConfig) GetBitrateOk added in v1.0.10

func (o *VideoConfig) GetBitrateOk() (*int32, 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.

func (*VideoConfig) GetCodec added in v1.0.10

func (o *VideoConfig) GetCodec() string

GetCodec returns the Codec field value if set, zero value otherwise.

func (*VideoConfig) GetCodecOk added in v1.0.10

func (o *VideoConfig) GetCodecOk() (*string, bool)

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

func (*VideoConfig) GetIndex added in v1.0.10

func (o *VideoConfig) GetIndex() int32

GetIndex returns the Index field value if set, zero value otherwise.

func (*VideoConfig) GetIndexOk added in v1.0.10

func (o *VideoConfig) GetIndexOk() (*int32, bool)

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

func (*VideoConfig) HasBitrate added in v1.0.10

func (o *VideoConfig) HasBitrate() bool

HasBitrate returns a boolean if a field has been set.

func (*VideoConfig) HasCodec added in v1.0.10

func (o *VideoConfig) HasCodec() bool

HasCodec returns a boolean if a field has been set.

func (*VideoConfig) HasIndex added in v1.0.10

func (o *VideoConfig) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*VideoConfig) SetBitrate added in v1.0.10

func (o *VideoConfig) SetBitrate(v int32)

SetBitrate gets a reference to the given int32 and assigns it to the Bitrate field.

func (*VideoConfig) SetCodec added in v1.0.10

func (o *VideoConfig) SetCodec(v string)

SetCodec gets a reference to the given string and assigns it to the Codec field.

func (*VideoConfig) SetIndex added in v1.0.10

func (o *VideoConfig) SetIndex(v int32)

SetIndex gets a reference to the given int32 and assigns it to the Index field.

type VideoService

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

VideoService communicating with the Video endpoints of the AIOZ Stream API

func (*VideoService) Create

func (*VideoService) CreateCaption

func (s *VideoService) CreateCaption(id string, lan string, fileName string, fileReader io.Reader) (*CreateVideoCaptionResponse, error)

* CreateCaption Create a new video caption * Uploads a VTT file and creates a new video caption for the specified video.

* @param id Video ID * @param lan Language * @return VideoApiCreateCaptionRequest

func (*VideoService) CreateCaptionFile

func (s *VideoService) CreateCaptionFile(id string, lan string, file *os.File) (*CreateVideoCaptionResponse, error)

func (*VideoService) CreateCaptionFileWithContext

func (s *VideoService) CreateCaptionFileWithContext(ctx context.Context, id string, lan string, file *os.File) (*CreateVideoCaptionResponse, error)

func (*VideoService) CreateCaptionWithContext

func (s *VideoService) CreateCaptionWithContext(ctx context.Context, id string, lan string, fileName string, fileReader io.Reader) (*CreateVideoCaptionResponse, error)

* CreateCaption Create a new video caption * Uploads a VTT file and creates a new video caption for the specified video. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id Video ID * @param lan Language * @return VideoApiCreateCaptionRequest

func (*VideoService) CreateUploadPartStream

func (s *VideoService) CreateUploadPartStream(id string, hash *string, index *string) (IUploadStream, error)

func (*VideoService) CreateWithContext

func (s *VideoService) CreateWithContext(ctx context.Context, request CreateMediaRequest) (*CreateMediaResponse, error)

func (*VideoService) Delete

func (s *VideoService) Delete(id string) (*ResponseSuccess, error)

func (*VideoService) DeleteCaption

func (s *VideoService) DeleteCaption(id string, lan string) (*ResponseSuccess, error)

func (*VideoService) DeleteCaptionWithContext

func (s *VideoService) DeleteCaptionWithContext(ctx context.Context, id string, lan string) (*ResponseSuccess, error)

func (*VideoService) DeleteThumbnail added in v1.0.10

func (s *VideoService) DeleteThumbnail(id string) (*ResponseSuccess, error)

func (*VideoService) DeleteThumbnailWithContext added in v1.0.10

func (s *VideoService) DeleteThumbnailWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

func (*VideoService) DeleteWithContext

func (s *VideoService) DeleteWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

func (*VideoService) GetCaptions

func (*VideoService) GetCaptionsWithContext

func (*VideoService) GetCost

func (s *VideoService) GetCost(qualities string, duration float32) (*GetTranscodeCostResponse, error)

func (*VideoService) GetCostWithContext

func (s *VideoService) GetCostWithContext(ctx context.Context, qualities string, duration float32) (*GetTranscodeCostResponse, error)

func (*VideoService) GetDetail

func (s *VideoService) GetDetail(id string) (*GetVideoDetailResponse, error)

func (*VideoService) GetDetailWithContext

func (s *VideoService) GetDetailWithContext(ctx context.Context, id string) (*GetVideoDetailResponse, error)

func (*VideoService) GetVideoList

func (s *VideoService) GetVideoList(request GetVideoListRequest) (*GetVideoListResponse, error)

func (*VideoService) GetVideoListWithContext

func (s *VideoService) GetVideoListWithContext(ctx context.Context, request GetVideoListRequest) (*GetVideoListResponse, error)

func (*VideoService) GetVideoPlayerInfo

func (*VideoService) GetVideoPlayerInfoWithContext

func (s *VideoService) GetVideoPlayerInfoWithContext(ctx context.Context, id string, r VideoApiGetVideoPlayerInfoRequest) (*GetVideoPlayerInfoResponse, error)

func (*VideoService) SetDefaultCaption

func (s *VideoService) SetDefaultCaption(id string, lan string) (*ResponseSuccess, error)

func (*VideoService) SetDefaultCaptionWithContext

func (s *VideoService) SetDefaultCaptionWithContext(ctx context.Context, id string, lan string) (*ResponseSuccess, error)

func (*VideoService) Update

func (*VideoService) UpdateWithContext

func (s *VideoService) UpdateWithContext(ctx context.Context, id string, input UpdateVideoInfoRequest) (*ResponseSuccess, error)

func (*VideoService) UploadPart

func (s *VideoService) UploadPart(id string, hash *string, index *string, fileName string, fileReader io.Reader, fileSize int64) (*ResponseSuccess, error)

* UploadPart Upload part of video * Upload part of video

* @param id video's id * @return VideoApiUploadPartRequest

func (*VideoService) UploadPartFile

func (s *VideoService) UploadPartFile(id string, file *os.File, hash *string, index *string) (*ResponseSuccess, error)

func (*VideoService) UploadPartFileWithContext

func (s *VideoService) UploadPartFileWithContext(ctx context.Context, id string, file *os.File, hash *string, index *string) (*ResponseSuccess, error)

func (*VideoService) UploadPartWithContext

func (s *VideoService) UploadPartWithContext(ctx context.Context, id string, hash *string, index *string, fileName string, fileReader io.Reader, fileSize int64) (*ResponseSuccess, error)

* UploadPart Upload part of video * Upload part of video * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id video's id * @return VideoApiUploadPartRequest

func (*VideoService) UploadThumbnail

func (s *VideoService) UploadThumbnail(id string, fileName string, fileReader io.Reader) (*ResponseSuccess, error)

* UploadThumbnail Upload video thumbnail

* @param id video's id * @return VideoApiUploadThumbnailRequest

func (*VideoService) UploadThumbnailFile

func (s *VideoService) UploadThumbnailFile(id string, file *os.File) (*ResponseSuccess, error)

func (*VideoService) UploadThumbnailFileWithContext

func (s *VideoService) UploadThumbnailFileWithContext(ctx context.Context, id string, file *os.File) (*ResponseSuccess, error)

func (*VideoService) UploadThumbnailWithContext

func (s *VideoService) UploadThumbnailWithContext(ctx context.Context, id string, fileName string, fileReader io.Reader) (*ResponseSuccess, error)

* UploadThumbnail Upload video thumbnail * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id video's id * @return VideoApiUploadThumbnailRequest

func (*VideoService) UploadVideoComplete

func (s *VideoService) UploadVideoComplete(id string) (*ResponseSuccess, error)

func (*VideoService) UploadVideoCompleteWithContext

func (s *VideoService) UploadVideoCompleteWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

type VideoServiceI

type VideoServiceI interface {
	Create(request CreateMediaRequest) (*CreateMediaResponse, error)

	CreateWithContext(ctx context.Context, request CreateMediaRequest) (*CreateMediaResponse, error)

	Update(id string, input UpdateVideoInfoRequest) (*ResponseSuccess, error)

	UpdateWithContext(ctx context.Context, id string, input UpdateVideoInfoRequest) (*ResponseSuccess, error)

	Delete(id string) (*ResponseSuccess, error)

	DeleteWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

	/*
	 * UploadThumbnail Upload video thumbnail
	 * @param id video's id
	 * @return VideoApiUploadThumbnailRequest
	 */
	UploadThumbnail(id string, fileName string, fileReader io.Reader) (*ResponseSuccess, error)
	/*
	 * UploadThumbnail Upload video thumbnail
	 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @param id video's id
	 * @return VideoApiUploadThumbnailRequest
	 */
	UploadThumbnailWithContext(ctx context.Context, id string, fileName string, fileReader io.Reader) (*ResponseSuccess, error)

	DeleteThumbnail(id string) (*ResponseSuccess, error)

	DeleteThumbnailWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

	/*
	 * CreateCaption Create a new video caption
	 * @param id Video ID
	 * @param lan Language
	 * @return VideoApiCreateCaptionRequest
	 */
	CreateCaption(id string, lan string, fileName string, fileReader io.Reader) (*CreateVideoCaptionResponse, error)
	/*
	 * CreateCaption Create a new video caption
	 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @param id Video ID
	 * @param lan Language
	 * @return VideoApiCreateCaptionRequest
	 */
	CreateCaptionWithContext(ctx context.Context, id string, lan string, fileName string, fileReader io.Reader) (*CreateVideoCaptionResponse, error)

	DeleteCaption(id string, lan string) (*ResponseSuccess, error)

	DeleteCaptionWithContext(ctx context.Context, id string, lan string) (*ResponseSuccess, error)

	GetCaptions(id string, r VideoApiGetCaptionsRequest) (*GetVideoCaptionsResponse, error)

	GetCaptionsWithContext(ctx context.Context, id string, r VideoApiGetCaptionsRequest) (*GetVideoCaptionsResponse, error)

	GetCost(qualities string, duration float32) (*GetTranscodeCostResponse, error)

	GetCostWithContext(ctx context.Context, qualities string, duration float32) (*GetTranscodeCostResponse, error)

	GetDetail(id string) (*GetVideoDetailResponse, error)

	GetDetailWithContext(ctx context.Context, id string) (*GetVideoDetailResponse, error)

	GetVideoList(request GetVideoListRequest) (*GetVideoListResponse, error)

	GetVideoListWithContext(ctx context.Context, request GetVideoListRequest) (*GetVideoListResponse, error)

	GetVideoPlayerInfo(id string, r VideoApiGetVideoPlayerInfoRequest) (*GetVideoPlayerInfoResponse, error)

	GetVideoPlayerInfoWithContext(ctx context.Context, id string, r VideoApiGetVideoPlayerInfoRequest) (*GetVideoPlayerInfoResponse, error)

	SetDefaultCaption(id string, lan string) (*ResponseSuccess, error)

	SetDefaultCaptionWithContext(ctx context.Context, id string, lan string) (*ResponseSuccess, error)

	/*
	 * UploadPart Upload part of video
	 * @param id video's id
	 * @return VideoApiUploadPartRequest
	 */
	UploadPart(id string, hash *string, index *string, fileName string, fileReader io.Reader, fileSize int64) (*ResponseSuccess, error)
	/*
	 * UploadPart Upload part of video
	 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @param id video's id
	 * @return VideoApiUploadPartRequest
	 */
	UploadPartWithContext(ctx context.Context, id string, hash *string, index *string, fileName string, fileReader io.Reader, fileSize int64) (*ResponseSuccess, error)

	UploadVideoComplete(id string) (*ResponseSuccess, error)

	UploadVideoCompleteWithContext(ctx context.Context, id string) (*ResponseSuccess, error)
}

type VideoWatermark

type VideoWatermark struct {
	Bottom  *string `json:"bottom,omitempty"`
	Height  *string `json:"height,omitempty"`
	Id      *string `json:"id,omitempty"`
	Left    *string `json:"left,omitempty"`
	Opacity *string `json:"opacity,omitempty"`
	Right   *string `json:"right,omitempty"`
	Top     *string `json:"top,omitempty"`
	Width   *string `json:"width,omitempty"`
}

VideoWatermark struct for VideoWatermark

func NewVideoWatermark

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

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

func (o *VideoWatermark) GetBottom() string

GetBottom returns the Bottom field value if set, zero value otherwise.

func (*VideoWatermark) GetBottomOk

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

func (o *VideoWatermark) GetHeight() string

GetHeight returns the Height field value if set, zero value otherwise.

func (*VideoWatermark) GetHeightOk

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

func (o *VideoWatermark) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VideoWatermark) GetIdOk

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

func (o *VideoWatermark) GetLeft() string

GetLeft returns the Left field value if set, zero value otherwise.

func (*VideoWatermark) GetLeftOk

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

func (o *VideoWatermark) GetOpacity() string

GetOpacity returns the Opacity field value if set, zero value otherwise.

func (*VideoWatermark) GetOpacityOk

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

func (o *VideoWatermark) GetRight() string

GetRight returns the Right field value if set, zero value otherwise.

func (*VideoWatermark) GetRightOk

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

func (o *VideoWatermark) GetTop() string

GetTop returns the Top field value if set, zero value otherwise.

func (*VideoWatermark) GetTopOk

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

func (o *VideoWatermark) GetWidth() string

GetWidth returns the Width field value if set, zero value otherwise.

func (*VideoWatermark) GetWidthOk

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

func (o *VideoWatermark) HasBottom() bool

HasBottom returns a boolean if a field has been set.

func (*VideoWatermark) HasHeight

func (o *VideoWatermark) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*VideoWatermark) HasId

func (o *VideoWatermark) HasId() bool

HasId returns a boolean if a field has been set.

func (*VideoWatermark) HasLeft

func (o *VideoWatermark) HasLeft() bool

HasLeft returns a boolean if a field has been set.

func (*VideoWatermark) HasOpacity

func (o *VideoWatermark) HasOpacity() bool

HasOpacity returns a boolean if a field has been set.

func (*VideoWatermark) HasRight

func (o *VideoWatermark) HasRight() bool

HasRight returns a boolean if a field has been set.

func (*VideoWatermark) HasTop

func (o *VideoWatermark) HasTop() bool

HasTop returns a boolean if a field has been set.

func (*VideoWatermark) HasWidth

func (o *VideoWatermark) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*VideoWatermark) SetBottom

func (o *VideoWatermark) SetBottom(v string)

SetBottom gets a reference to the given string and assigns it to the Bottom field.

func (*VideoWatermark) SetHeight

func (o *VideoWatermark) SetHeight(v string)

SetHeight gets a reference to the given string and assigns it to the Height field.

func (*VideoWatermark) SetId

func (o *VideoWatermark) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*VideoWatermark) SetLeft

func (o *VideoWatermark) SetLeft(v string)

SetLeft gets a reference to the given string and assigns it to the Left field.

func (*VideoWatermark) SetOpacity

func (o *VideoWatermark) SetOpacity(v string)

SetOpacity gets a reference to the given string and assigns it to the Opacity field.

func (*VideoWatermark) SetRight

func (o *VideoWatermark) SetRight(v string)

SetRight gets a reference to the given string and assigns it to the Right field.

func (*VideoWatermark) SetTop

func (o *VideoWatermark) SetTop(v string)

SetTop gets a reference to the given string and assigns it to the Top field.

func (*VideoWatermark) SetWidth

func (o *VideoWatermark) SetWidth(v string)

SetWidth gets a reference to the given string and assigns it to the Width field.

type Webhook

type Webhook struct {
	CreatedAt        *string `json:"created_at,omitempty"`
	EncodingFailed   *bool   `json:"encoding_failed,omitempty"`
	EncodingFinished *bool   `json:"encoding_finished,omitempty"`
	EncodingStarted  *bool   `json:"encoding_started,omitempty"`
	FileReceived     *bool   `json:"file_received,omitempty"`
	Id               *string `json:"id,omitempty"`
	LastTriggeredAt  *string `json:"last_triggered_at,omitempty"`
	Name             *string `json:"name,omitempty"`
	PartialFinished  *bool   `json:"partial_finished,omitempty"`
	UpdatedAt        *string `json:"updated_at,omitempty"`
	Url              *string `json:"url,omitempty"`
	UserId           *string `json:"user_id,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) GetEncodingFailed added in v1.0.10

func (o *Webhook) GetEncodingFailed() bool

GetEncodingFailed returns the EncodingFailed field value if set, zero value otherwise.

func (*Webhook) GetEncodingFailedOk added in v1.0.10

func (o *Webhook) GetEncodingFailedOk() (*bool, bool)

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

func (*Webhook) GetEncodingFinished

func (o *Webhook) GetEncodingFinished() bool

GetEncodingFinished returns the EncodingFinished field value if set, zero value otherwise.

func (*Webhook) GetEncodingFinishedOk

func (o *Webhook) GetEncodingFinishedOk() (*bool, bool)

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

func (*Webhook) GetEncodingStarted

func (o *Webhook) GetEncodingStarted() bool

GetEncodingStarted returns the EncodingStarted field value if set, zero value otherwise.

func (*Webhook) GetEncodingStartedOk

func (o *Webhook) GetEncodingStartedOk() (*bool, bool)

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

func (*Webhook) GetFileReceived

func (o *Webhook) GetFileReceived() bool

GetFileReceived returns the FileReceived field value if set, zero value otherwise.

func (*Webhook) GetFileReceivedOk

func (o *Webhook) GetFileReceivedOk() (*bool, bool)

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

func (*Webhook) GetId

func (o *Webhook) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Webhook) GetIdOk

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

func (o *Webhook) GetLastTriggeredAt() string

GetLastTriggeredAt returns the LastTriggeredAt field value if set, zero value otherwise.

func (*Webhook) GetLastTriggeredAtOk

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

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

func (*Webhook) GetName

func (o *Webhook) GetName() string

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

func (*Webhook) GetNameOk

func (o *Webhook) 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 (*Webhook) GetPartialFinished added in v1.0.10

func (o *Webhook) GetPartialFinished() bool

GetPartialFinished returns the PartialFinished field value if set, zero value otherwise.

func (*Webhook) GetPartialFinishedOk added in v1.0.10

func (o *Webhook) GetPartialFinishedOk() (*bool, bool)

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

func (*Webhook) GetUpdatedAt

func (o *Webhook) GetUpdatedAt() string

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

func (*Webhook) GetUpdatedAtOk

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

func (o *Webhook) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*Webhook) GetUserIdOk

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

GetUserIdOk returns a tuple with the UserId 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) HasEncodingFailed added in v1.0.10

func (o *Webhook) HasEncodingFailed() bool

HasEncodingFailed returns a boolean if a field has been set.

func (*Webhook) HasEncodingFinished

func (o *Webhook) HasEncodingFinished() bool

HasEncodingFinished returns a boolean if a field has been set.

func (*Webhook) HasEncodingStarted

func (o *Webhook) HasEncodingStarted() bool

HasEncodingStarted returns a boolean if a field has been set.

func (*Webhook) HasFileReceived

func (o *Webhook) HasFileReceived() bool

HasFileReceived returns a boolean if a field has been set.

func (*Webhook) HasId

func (o *Webhook) HasId() bool

HasId returns a boolean if a field has been set.

func (*Webhook) HasLastTriggeredAt

func (o *Webhook) HasLastTriggeredAt() bool

HasLastTriggeredAt returns a boolean if a field has been set.

func (*Webhook) HasName

func (o *Webhook) HasName() bool

HasName returns a boolean if a field has been set.

func (*Webhook) HasPartialFinished added in v1.0.10

func (o *Webhook) HasPartialFinished() bool

HasPartialFinished returns a boolean if a field has been set.

func (*Webhook) HasUpdatedAt

func (o *Webhook) HasUpdatedAt() bool

HasUpdatedAt 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) HasUserId

func (o *Webhook) HasUserId() bool

HasUserId 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) SetEncodingFailed added in v1.0.10

func (o *Webhook) SetEncodingFailed(v bool)

SetEncodingFailed gets a reference to the given bool and assigns it to the EncodingFailed field.

func (*Webhook) SetEncodingFinished

func (o *Webhook) SetEncodingFinished(v bool)

SetEncodingFinished gets a reference to the given bool and assigns it to the EncodingFinished field.

func (*Webhook) SetEncodingStarted

func (o *Webhook) SetEncodingStarted(v bool)

SetEncodingStarted gets a reference to the given bool and assigns it to the EncodingStarted field.

func (*Webhook) SetFileReceived

func (o *Webhook) SetFileReceived(v bool)

SetFileReceived gets a reference to the given bool and assigns it to the FileReceived field.

func (*Webhook) SetId

func (o *Webhook) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Webhook) SetLastTriggeredAt

func (o *Webhook) SetLastTriggeredAt(v string)

SetLastTriggeredAt gets a reference to the given string and assigns it to the LastTriggeredAt field.

func (*Webhook) SetName

func (o *Webhook) SetName(v string)

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

func (*Webhook) SetPartialFinished added in v1.0.10

func (o *Webhook) SetPartialFinished(v bool)

SetPartialFinished gets a reference to the given bool and assigns it to the PartialFinished field.

func (*Webhook) SetUpdatedAt

func (o *Webhook) SetUpdatedAt(v string)

SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt 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) SetUserId

func (o *Webhook) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

type WebhookApiListRequest

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

func (WebhookApiListRequest) EncodingFinished

func (r WebhookApiListRequest) EncodingFinished(encodingFinished bool) WebhookApiListRequest

func (WebhookApiListRequest) EncodingStarted

func (r WebhookApiListRequest) EncodingStarted(encodingStarted bool) WebhookApiListRequest

func (WebhookApiListRequest) FileReceived

func (r WebhookApiListRequest) FileReceived(fileReceived bool) WebhookApiListRequest

func (WebhookApiListRequest) Limit

func (WebhookApiListRequest) Offset

func (WebhookApiListRequest) OrderBy

func (WebhookApiListRequest) Search

func (WebhookApiListRequest) SortBy

type WebhookService

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

WebhookService communicating with the Webhook endpoints of the AIOZ Stream API

func (*WebhookService) Check

func (s *WebhookService) Check(id string) (*ResponseSuccess, error)

func (*WebhookService) CheckWithContext

func (s *WebhookService) CheckWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

func (*WebhookService) Create

func (*WebhookService) CreateWithContext

func (s *WebhookService) CreateWithContext(ctx context.Context, request CreateWebhookRequest) (*CreateWebhookResponse, error)

func (*WebhookService) Delete

func (s *WebhookService) Delete(id string) (*ResponseSuccess, error)

func (*WebhookService) DeleteWithContext

func (s *WebhookService) DeleteWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

func (*WebhookService) Get

func (*WebhookService) GetWithContext

func (s *WebhookService) GetWithContext(ctx context.Context, id string) (*GetUserWebhookResponse, error)

func (*WebhookService) List

func (*WebhookService) ListWithContext

func (*WebhookService) Update

func (s *WebhookService) Update(id string, request UpdateWebhookRequest) (*ResponseSuccess, error)

func (*WebhookService) UpdateWithContext

func (s *WebhookService) UpdateWithContext(ctx context.Context, id string, request UpdateWebhookRequest) (*ResponseSuccess, error)

type WebhookServiceI

type WebhookServiceI interface {
	Create(request CreateWebhookRequest) (*CreateWebhookResponse, error)

	CreateWithContext(ctx context.Context, request CreateWebhookRequest) (*CreateWebhookResponse, error)

	Get(id string) (*GetUserWebhookResponse, error)

	GetWithContext(ctx context.Context, id string) (*GetUserWebhookResponse, error)

	Update(id string, request UpdateWebhookRequest) (*ResponseSuccess, error)

	UpdateWithContext(ctx context.Context, id string, request UpdateWebhookRequest) (*ResponseSuccess, error)

	Delete(id string) (*ResponseSuccess, error)

	DeleteWithContext(ctx context.Context, id string) (*ResponseSuccess, error)

	List(r WebhookApiListRequest) (*GetWebhooksListResponse, error)

	ListWithContext(ctx context.Context, r WebhookApiListRequest) (*GetWebhooksListResponse, error)

	Check(id string) (*ResponseSuccess, error)

	CheckWithContext(ctx context.Context, id string) (*ResponseSuccess, error)
}

Source Files

Jump to

Keyboard shortcuts

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