managevideos

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCaptionFromDiscriminatorValue

CreateCaptionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateChapterFromDiscriminatorValue

CreateChapterFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateMetaTagFromDiscriminatorValue

CreateMetaTagFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateMomentFromDiscriminatorValue

CreateMomentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateVideoCreateFromDiscriminatorValue

CreateVideoCreateFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateVideoFromDiscriminatorValue

CreateVideoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func ParseVideo_category

func ParseVideo_category(v string) (any, error)

func SerializeVideo_category

func SerializeVideo_category(values []Video_category) []string

Types

type Caption

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

func NewCaption

func NewCaption() *Caption

NewCaption instantiates a new Caption and sets the default values.

func (*Caption) GetAdditionalData

func (m *Caption) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*Caption) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*Caption) GetLabel

func (m *Caption) GetLabel() *string

GetLabel gets the label property value. The label property returns a *string when successful

func (*Caption) GetSrclang

func (m *Caption) GetSrclang() *string

GetSrclang gets the srclang property value. The srclang property returns a *string when successful

func (*Caption) Serialize

Serialize serializes information the current object

func (*Caption) SetAdditionalData

func (m *Caption) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*Caption) SetLabel

func (m *Caption) SetLabel(value *string)

SetLabel sets the label property value. The label property

func (*Caption) SetSrclang

func (m *Caption) SetSrclang(value *string)

SetSrclang sets the srclang property value. The srclang property

type Chapter

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

func NewChapter

func NewChapter() *Chapter

NewChapter instantiates a new Chapter and sets the default values.

func (*Chapter) GetAdditionalData

func (m *Chapter) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*Chapter) GetEnd

func (m *Chapter) GetEnd() *int32

GetEnd gets the end property value. The end time of the chapter in seconds returns a *int32 when successful

func (*Chapter) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*Chapter) GetStart

func (m *Chapter) GetStart() *int32

GetStart gets the start property value. The start time of the chapter in seconds returns a *int32 when successful

func (*Chapter) GetTitle

func (m *Chapter) GetTitle() *string

GetTitle gets the title property value. The title of the chapter returns a *string when successful

func (*Chapter) Serialize

Serialize serializes information the current object

func (*Chapter) SetAdditionalData

func (m *Chapter) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*Chapter) SetEnd

func (m *Chapter) SetEnd(value *int32)

SetEnd sets the end property value. The end time of the chapter in seconds

func (*Chapter) SetStart

func (m *Chapter) SetStart(value *int32)

SetStart sets the start property value. The start time of the chapter in seconds

func (*Chapter) SetTitle

func (m *Chapter) SetTitle(value *string)

SetTitle sets the title property value. The title of the chapter

type MetaTag

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

func NewMetaTag

func NewMetaTag() *MetaTag

NewMetaTag instantiates a new MetaTag and sets the default values.

func (*MetaTag) GetAdditionalData

func (m *MetaTag) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*MetaTag) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*MetaTag) GetProperty

func (m *MetaTag) GetProperty() *string

GetProperty gets the property property value. The property property returns a *string when successful

func (*MetaTag) GetValue

func (m *MetaTag) GetValue() *string

GetValue gets the value property value. The value property returns a *string when successful

func (*MetaTag) Serialize

Serialize serializes information the current object

func (*MetaTag) SetAdditionalData

func (m *MetaTag) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*MetaTag) SetProperty

func (m *MetaTag) SetProperty(value *string)

SetProperty sets the property property value. The property property

func (*MetaTag) SetValue

func (m *MetaTag) SetValue(value *string)

SetValue sets the value property value. The value property

type Moment

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

func NewMoment

func NewMoment() *Moment

NewMoment instantiates a new Moment and sets the default values.

func (*Moment) GetAdditionalData

func (m *Moment) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*Moment) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*Moment) GetLabel

func (m *Moment) GetLabel() *string

GetLabel gets the label property value. The text description label for the chapter returns a *string when successful

func (*Moment) GetTimestamp

func (m *Moment) GetTimestamp() *int32

GetTimestamp gets the timestamp property value. The timestamp of the moment in seconds returns a *int32 when successful

func (*Moment) Serialize

Serialize serializes information the current object

func (*Moment) SetAdditionalData

func (m *Moment) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*Moment) SetLabel

func (m *Moment) SetLabel(value *string)

SetLabel sets the label property value. The text description label for the chapter

func (*Moment) SetTimestamp

func (m *Moment) SetTimestamp(value *int32)

SetTimestamp sets the timestamp property value. The timestamp of the moment in seconds

type Video

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

func NewVideo

func NewVideo() *Video

NewVideo instantiates a new Video and sets the default values.

func (*Video) GetAdditionalData

func (m *Video) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*Video) GetAvailableResolutions

func (m *Video) GetAvailableResolutions() *string

GetAvailableResolutions gets the availableResolutions property value. The available resolutions of the video returns a *string when successful

func (*Video) GetAverageWatchTime

func (m *Video) GetAverageWatchTime() *int64

GetAverageWatchTime gets the averageWatchTime property value. The average watch time of the video in seconds returns a *int64 when successful

func (*Video) GetCaptions

func (m *Video) GetCaptions() []Captionable

GetCaptions gets the captions property value. The captions property returns a []Captionable when successful

func (*Video) GetCategory

func (m *Video) GetCategory() *Video_category

GetCategory gets the category property value. The automatically detected category of the video returns a *Video_category when successful

func (*Video) GetChapters

func (m *Video) GetChapters() []Chapterable

GetChapters gets the chapters property value. The list of chapters available for the video returns a []Chapterable when successful

func (*Video) GetCollectionId

func (m *Video) GetCollectionId() *string

GetCollectionId gets the collectionId property value. The ID of the collection where the video belongs returns a *string when successful

func (*Video) GetDateUploaded

GetDateUploaded gets the dateUploaded property value. The date when the video was uploaded returns a *Time when successful

func (*Video) GetEncodeProgress

func (m *Video) GetEncodeProgress() *int32

GetEncodeProgress gets the encodeProgress property value. The current encode progress of the video returns a *int32 when successful

func (*Video) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*Video) GetFramerate

func (m *Video) GetFramerate() *float64

GetFramerate gets the framerate property value. The framerate of the video returns a *float64 when successful

func (*Video) GetGuid

func (m *Video) GetGuid() *string

GetGuid gets the guid property value. The unique ID of the video returns a *string when successful

func (*Video) GetHasMP4Fallback

func (m *Video) GetHasMP4Fallback() *bool

GetHasMP4Fallback gets the hasMP4Fallback property value. Determines if the video has MP4 fallback files generated returns a *bool when successful

func (*Video) GetHeight

func (m *Video) GetHeight() *int32

GetHeight gets the height property value. The height of the original video file returns a *int32 when successful

func (*Video) GetIsPublic

func (m *Video) GetIsPublic() *bool

GetIsPublic gets the isPublic property value. Determines if the video is publicly accessible returns a *bool when successful

func (*Video) GetLength

func (m *Video) GetLength() *int32

GetLength gets the length property value. The duration of the video in seconds returns a *int32 when successful

func (*Video) GetMetaTags

func (m *Video) GetMetaTags() []MetaTagable

GetMetaTags gets the metaTags property value. The list of meta tags that have been added to the video returns a []MetaTagable when successful

func (*Video) GetMoments

func (m *Video) GetMoments() []Momentable

GetMoments gets the moments property value. The list of moments available for the video returns a []Momentable when successful

func (*Video) GetRotation

func (m *Video) GetRotation() *int32

GetRotation gets the rotation property value. The rotation of the video returns a *int32 when successful

func (*Video) GetStatus

func (m *Video) GetStatus() *float64

GetStatus gets the status property value. The status of the video. returns a *float64 when successful

func (*Video) GetStorageSize

func (m *Video) GetStorageSize() *int64

GetStorageSize gets the storageSize property value. The amount of storage used by this video returns a *int64 when successful

func (*Video) GetThumbnailCount

func (m *Video) GetThumbnailCount() *int32

GetThumbnailCount gets the thumbnailCount property value. The number of thumbnails generated for this video returns a *int32 when successful

func (*Video) GetThumbnailFileName

func (m *Video) GetThumbnailFileName() *string

GetThumbnailFileName gets the thumbnailFileName property value. The file name of the thumbnail inside of the storage returns a *string when successful

func (*Video) GetTitle

func (m *Video) GetTitle() *string

GetTitle gets the title property value. The title of the video returns a *string when successful

func (*Video) GetTotalWatchTime

func (m *Video) GetTotalWatchTime() *int64

GetTotalWatchTime gets the totalWatchTime property value. The total video watch time in seconds returns a *int64 when successful

func (*Video) GetVideoLibraryId

func (m *Video) GetVideoLibraryId() *int64

GetVideoLibraryId gets the videoLibraryId property value. The ID of the video library that the video belongs to returns a *int64 when successful

func (*Video) GetViews

func (m *Video) GetViews() *int64

GetViews gets the views property value. The number of views the video received returns a *int64 when successful

func (*Video) GetWidth

func (m *Video) GetWidth() *int32

GetWidth gets the width property value. The width of the original video file returns a *int32 when successful

func (*Video) Serialize

Serialize serializes information the current object

func (*Video) SetAdditionalData

func (m *Video) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*Video) SetAvailableResolutions

func (m *Video) SetAvailableResolutions(value *string)

SetAvailableResolutions sets the availableResolutions property value. The available resolutions of the video

func (*Video) SetAverageWatchTime

func (m *Video) SetAverageWatchTime(value *int64)

SetAverageWatchTime sets the averageWatchTime property value. The average watch time of the video in seconds

func (*Video) SetCaptions

func (m *Video) SetCaptions(value []Captionable)

SetCaptions sets the captions property value. The captions property

func (*Video) SetCategory

func (m *Video) SetCategory(value *Video_category)

SetCategory sets the category property value. The automatically detected category of the video

func (*Video) SetChapters

func (m *Video) SetChapters(value []Chapterable)

SetChapters sets the chapters property value. The list of chapters available for the video

func (*Video) SetCollectionId

func (m *Video) SetCollectionId(value *string)

SetCollectionId sets the collectionId property value. The ID of the collection where the video belongs

func (*Video) SetDateUploaded

SetDateUploaded sets the dateUploaded property value. The date when the video was uploaded

func (*Video) SetEncodeProgress

func (m *Video) SetEncodeProgress(value *int32)

SetEncodeProgress sets the encodeProgress property value. The current encode progress of the video

func (*Video) SetFramerate

func (m *Video) SetFramerate(value *float64)

SetFramerate sets the framerate property value. The framerate of the video

func (*Video) SetGuid

func (m *Video) SetGuid(value *string)

SetGuid sets the guid property value. The unique ID of the video

func (*Video) SetHasMP4Fallback

func (m *Video) SetHasMP4Fallback(value *bool)

SetHasMP4Fallback sets the hasMP4Fallback property value. Determines if the video has MP4 fallback files generated

func (*Video) SetHeight

func (m *Video) SetHeight(value *int32)

SetHeight sets the height property value. The height of the original video file

func (*Video) SetIsPublic

func (m *Video) SetIsPublic(value *bool)

SetIsPublic sets the isPublic property value. Determines if the video is publicly accessible

func (*Video) SetLength

func (m *Video) SetLength(value *int32)

SetLength sets the length property value. The duration of the video in seconds

func (*Video) SetMetaTags

func (m *Video) SetMetaTags(value []MetaTagable)

SetMetaTags sets the metaTags property value. The list of meta tags that have been added to the video

func (*Video) SetMoments

func (m *Video) SetMoments(value []Momentable)

SetMoments sets the moments property value. The list of moments available for the video

func (*Video) SetRotation

func (m *Video) SetRotation(value *int32)

SetRotation sets the rotation property value. The rotation of the video

func (*Video) SetStatus

func (m *Video) SetStatus(value *float64)

SetStatus sets the status property value. The status of the video.

func (*Video) SetStorageSize

func (m *Video) SetStorageSize(value *int64)

SetStorageSize sets the storageSize property value. The amount of storage used by this video

func (*Video) SetThumbnailCount

func (m *Video) SetThumbnailCount(value *int32)

SetThumbnailCount sets the thumbnailCount property value. The number of thumbnails generated for this video

func (*Video) SetThumbnailFileName

func (m *Video) SetThumbnailFileName(value *string)

SetThumbnailFileName sets the thumbnailFileName property value. The file name of the thumbnail inside of the storage

func (*Video) SetTitle

func (m *Video) SetTitle(value *string)

SetTitle sets the title property value. The title of the video

func (*Video) SetTotalWatchTime

func (m *Video) SetTotalWatchTime(value *int64)

SetTotalWatchTime sets the totalWatchTime property value. The total video watch time in seconds

func (*Video) SetVideoLibraryId

func (m *Video) SetVideoLibraryId(value *int64)

SetVideoLibraryId sets the videoLibraryId property value. The ID of the video library that the video belongs to

func (*Video) SetViews

func (m *Video) SetViews(value *int64)

SetViews sets the views property value. The number of views the video received

func (*Video) SetWidth

func (m *Video) SetWidth(value *int32)

SetWidth sets the width property value. The width of the original video file

type VideoCreate

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

func NewVideoCreate

func NewVideoCreate() *VideoCreate

NewVideoCreate instantiates a new VideoCreate and sets the default values.

func (*VideoCreate) GetAdditionalData

func (m *VideoCreate) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*VideoCreate) GetCollectionId

func (m *VideoCreate) GetCollectionId() *string

GetCollectionId gets the collectionId property value. The ID of the collection where the video belongs returns a *string when successful

func (*VideoCreate) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*VideoCreate) GetThumbnailTime

func (m *VideoCreate) GetThumbnailTime() *int32

GetThumbnailTime gets the thumbnailTime property value. Video time in ms to extract the main video thumbnail. returns a *int32 when successful

func (*VideoCreate) GetTitle

func (m *VideoCreate) GetTitle() *string

GetTitle gets the title property value. The title of the video returns a *string when successful

func (*VideoCreate) Serialize

Serialize serializes information the current object

func (*VideoCreate) SetAdditionalData

func (m *VideoCreate) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*VideoCreate) SetCollectionId

func (m *VideoCreate) SetCollectionId(value *string)

SetCollectionId sets the collectionId property value. The ID of the collection where the video belongs

func (*VideoCreate) SetThumbnailTime

func (m *VideoCreate) SetThumbnailTime(value *int32)

SetThumbnailTime sets the thumbnailTime property value. Video time in ms to extract the main video thumbnail.

func (*VideoCreate) SetTitle

func (m *VideoCreate) SetTitle(value *string)

SetTitle sets the title property value. The title of the video

type VideoCreateable

type VideoCreateable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetCollectionId() *string
	GetThumbnailTime() *int32
	GetTitle() *string
	SetCollectionId(value *string)
	SetThumbnailTime(value *int32)
	SetTitle(value *string)
}

type Video_category

type Video_category int

The automatically detected category of the video

const (
	ADULT_VIDEO_CATEGORY Video_category = iota
	ANIMALSBIRDS_VIDEO_CATEGORY
	ANIMALSCATS_VIDEO_CATEGORY
	ANIMALSDOGS_VIDEO_CATEGORY
	ANIMATED_VIDEO_CATEGORY
	ANIME_VIDEO_CATEGORY
	GAMING_VIDEO_CATEGORY
	GRAPHICS_VIDEO_CATEGORY
	ILLUSTRATIONS_VIDEO_CATEGORY
	MOVIE_VIDEO_CATEGORY
	OTHER_VIDEO_CATEGORY
	OTHERPEOPLE_VIDEO_CATEGORY
	SPORTSBASKETBALL_VIDEO_CATEGORY
	SPORTSHOCKEY_VIDEO_CATEGORY
	SPORTSOTHER_VIDEO_CATEGORY
	SPORTSRACING_VIDEO_CATEGORY
	SPORTSSOCCER_VIDEO_CATEGORY
	SPORTSTENNIS_VIDEO_CATEGORY
	UNKNOWN_VIDEO_CATEGORY
)

func (Video_category) String

func (i Video_category) String() string

type Videoable

type Videoable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAvailableResolutions() *string
	GetAverageWatchTime() *int64
	GetCaptions() []Captionable
	GetCategory() *Video_category
	GetChapters() []Chapterable
	GetCollectionId() *string
	GetDateUploaded() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
	GetEncodeProgress() *int32
	GetFramerate() *float64
	GetGuid() *string
	GetHasMP4Fallback() *bool
	GetHeight() *int32
	GetIsPublic() *bool
	GetLength() *int32
	GetMetaTags() []MetaTagable
	GetMoments() []Momentable
	GetRotation() *int32
	GetStatus() *float64
	GetStorageSize() *int64
	GetThumbnailCount() *int32
	GetThumbnailFileName() *string
	GetTitle() *string
	GetTotalWatchTime() *int64
	GetVideoLibraryId() *int64
	GetViews() *int64
	GetWidth() *int32
	SetAvailableResolutions(value *string)
	SetAverageWatchTime(value *int64)
	SetCaptions(value []Captionable)
	SetCategory(value *Video_category)
	SetChapters(value []Chapterable)
	SetCollectionId(value *string)
	SetDateUploaded(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
	SetEncodeProgress(value *int32)
	SetFramerate(value *float64)
	SetGuid(value *string)
	SetHasMP4Fallback(value *bool)
	SetHeight(value *int32)
	SetIsPublic(value *bool)
	SetLength(value *int32)
	SetMetaTags(value []MetaTagable)
	SetMoments(value []Momentable)
	SetRotation(value *int32)
	SetStatus(value *float64)
	SetStorageSize(value *int64)
	SetThumbnailCount(value *int32)
	SetThumbnailFileName(value *string)
	SetTitle(value *string)
	SetTotalWatchTime(value *int64)
	SetVideoLibraryId(value *int64)
	SetViews(value *int64)
	SetWidth(value *int32)
}

Jump to

Keyboard shortcuts

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