Documentation
¶
Index ¶
- func CreateCaptionFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateChapterFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateMetaTagFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateMomentFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateVideoCreateFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateVideoFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func ParseVideo_category(v string) (any, error)
- func SerializeVideo_category(values []Video_category) []string
- type Caption
- func (m *Caption) GetAdditionalData() map[string]any
- func (m *Caption) GetFieldDeserializers() ...
- func (m *Caption) GetLabel() *string
- func (m *Caption) GetSrclang() *string
- func (m *Caption) Serialize(...) error
- func (m *Caption) SetAdditionalData(value map[string]any)
- func (m *Caption) SetLabel(value *string)
- func (m *Caption) SetSrclang(value *string)
- type Captionable
- type Chapter
- func (m *Chapter) GetAdditionalData() map[string]any
- func (m *Chapter) GetEnd() *int32
- func (m *Chapter) GetFieldDeserializers() ...
- func (m *Chapter) GetStart() *int32
- func (m *Chapter) GetTitle() *string
- func (m *Chapter) Serialize(...) error
- func (m *Chapter) SetAdditionalData(value map[string]any)
- func (m *Chapter) SetEnd(value *int32)
- func (m *Chapter) SetStart(value *int32)
- func (m *Chapter) SetTitle(value *string)
- type Chapterable
- type MetaTag
- func (m *MetaTag) GetAdditionalData() map[string]any
- func (m *MetaTag) GetFieldDeserializers() ...
- func (m *MetaTag) GetProperty() *string
- func (m *MetaTag) GetValue() *string
- func (m *MetaTag) Serialize(...) error
- func (m *MetaTag) SetAdditionalData(value map[string]any)
- func (m *MetaTag) SetProperty(value *string)
- func (m *MetaTag) SetValue(value *string)
- type MetaTagable
- type Moment
- func (m *Moment) GetAdditionalData() map[string]any
- func (m *Moment) GetFieldDeserializers() ...
- func (m *Moment) GetLabel() *string
- func (m *Moment) GetTimestamp() *int32
- func (m *Moment) Serialize(...) error
- func (m *Moment) SetAdditionalData(value map[string]any)
- func (m *Moment) SetLabel(value *string)
- func (m *Moment) SetTimestamp(value *int32)
- type Momentable
- type Video
- func (m *Video) GetAdditionalData() map[string]any
- func (m *Video) GetAvailableResolutions() *string
- func (m *Video) GetAverageWatchTime() *int64
- func (m *Video) GetCaptions() []Captionable
- func (m *Video) GetCategory() *Video_category
- func (m *Video) GetChapters() []Chapterable
- func (m *Video) GetCollectionId() *string
- func (m *Video) GetDateUploaded() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *Video) GetEncodeProgress() *int32
- func (m *Video) GetFieldDeserializers() ...
- func (m *Video) GetFramerate() *float64
- func (m *Video) GetGuid() *string
- func (m *Video) GetHasMP4Fallback() *bool
- func (m *Video) GetHeight() *int32
- func (m *Video) GetIsPublic() *bool
- func (m *Video) GetLength() *int32
- func (m *Video) GetMetaTags() []MetaTagable
- func (m *Video) GetMoments() []Momentable
- func (m *Video) GetRotation() *int32
- func (m *Video) GetStatus() *float64
- func (m *Video) GetStorageSize() *int64
- func (m *Video) GetThumbnailCount() *int32
- func (m *Video) GetThumbnailFileName() *string
- func (m *Video) GetTitle() *string
- func (m *Video) GetTotalWatchTime() *int64
- func (m *Video) GetVideoLibraryId() *int64
- func (m *Video) GetViews() *int64
- func (m *Video) GetWidth() *int32
- func (m *Video) Serialize(...) error
- func (m *Video) SetAdditionalData(value map[string]any)
- func (m *Video) SetAvailableResolutions(value *string)
- func (m *Video) SetAverageWatchTime(value *int64)
- func (m *Video) SetCaptions(value []Captionable)
- func (m *Video) SetCategory(value *Video_category)
- func (m *Video) SetChapters(value []Chapterable)
- func (m *Video) SetCollectionId(value *string)
- func (m *Video) SetDateUploaded(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *Video) SetEncodeProgress(value *int32)
- func (m *Video) SetFramerate(value *float64)
- func (m *Video) SetGuid(value *string)
- func (m *Video) SetHasMP4Fallback(value *bool)
- func (m *Video) SetHeight(value *int32)
- func (m *Video) SetIsPublic(value *bool)
- func (m *Video) SetLength(value *int32)
- func (m *Video) SetMetaTags(value []MetaTagable)
- func (m *Video) SetMoments(value []Momentable)
- func (m *Video) SetRotation(value *int32)
- func (m *Video) SetStatus(value *float64)
- func (m *Video) SetStorageSize(value *int64)
- func (m *Video) SetThumbnailCount(value *int32)
- func (m *Video) SetThumbnailFileName(value *string)
- func (m *Video) SetTitle(value *string)
- func (m *Video) SetTotalWatchTime(value *int64)
- func (m *Video) SetVideoLibraryId(value *int64)
- func (m *Video) SetViews(value *int64)
- func (m *Video) SetWidth(value *int32)
- type VideoCreate
- func (m *VideoCreate) GetAdditionalData() map[string]any
- func (m *VideoCreate) GetCollectionId() *string
- func (m *VideoCreate) GetFieldDeserializers() ...
- func (m *VideoCreate) GetThumbnailTime() *int32
- func (m *VideoCreate) GetTitle() *string
- func (m *VideoCreate) Serialize(...) error
- func (m *VideoCreate) SetAdditionalData(value map[string]any)
- func (m *VideoCreate) SetCollectionId(value *string)
- func (m *VideoCreate) SetThumbnailTime(value *int32)
- func (m *VideoCreate) SetTitle(value *string)
- type VideoCreateable
- type Video_category
- type Videoable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCaptionFromDiscriminatorValue ¶
func CreateCaptionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCaptionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateChapterFromDiscriminatorValue ¶
func CreateChapterFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateChapterFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateMetaTagFromDiscriminatorValue ¶
func CreateMetaTagFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateMetaTagFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateMomentFromDiscriminatorValue ¶
func CreateMomentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateMomentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateVideoCreateFromDiscriminatorValue ¶
func CreateVideoCreateFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateVideoCreateFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateVideoFromDiscriminatorValue ¶
func CreateVideoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateVideoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func ParseVideo_category ¶
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 ¶
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 ¶
func (m *Caption) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*Caption) GetLabel ¶
GetLabel gets the label property value. The label property returns a *string when successful
func (*Caption) GetSrclang ¶
GetSrclang gets the srclang property value. The srclang property returns a *string when successful
func (*Caption) Serialize ¶
func (m *Caption) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*Caption) SetAdditionalData ¶
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) SetSrclang ¶
SetSrclang sets the srclang property value. The srclang property
type Captionable ¶
type Captionable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabel() *string GetSrclang() *string SetLabel(value *string) SetSrclang(value *string) }
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 ¶
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 ¶
GetEnd gets the end property value. The end time of the chapter in seconds returns a *int32 when successful
func (*Chapter) GetFieldDeserializers ¶
func (m *Chapter) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*Chapter) GetStart ¶
GetStart gets the start property value. The start time of the chapter in seconds returns a *int32 when successful
func (*Chapter) GetTitle ¶
GetTitle gets the title property value. The title of the chapter returns a *string when successful
func (*Chapter) Serialize ¶
func (m *Chapter) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*Chapter) SetAdditionalData ¶
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.
type Chapterable ¶
type Chapterable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEnd() *int32 GetStart() *int32 GetTitle() *string SetEnd(value *int32) SetStart(value *int32) SetTitle(value *string) }
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 ¶
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 ¶
func (m *MetaTag) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*MetaTag) GetProperty ¶
GetProperty gets the property property value. The property property returns a *string when successful
func (*MetaTag) GetValue ¶
GetValue gets the value property value. The value property returns a *string when successful
func (*MetaTag) Serialize ¶
func (m *MetaTag) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*MetaTag) SetAdditionalData ¶
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 ¶
SetProperty sets the property property value. The property property
type MetaTagable ¶
type MetaTagable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetProperty() *string GetValue() *string SetProperty(value *string) SetValue(value *string) }
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 ¶
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 ¶
func (m *Moment) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*Moment) GetLabel ¶
GetLabel gets the label property value. The text description label for the chapter returns a *string when successful
func (*Moment) GetTimestamp ¶
GetTimestamp gets the timestamp property value. The timestamp of the moment in seconds returns a *int32 when successful
func (*Moment) Serialize ¶
func (m *Moment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*Moment) SetAdditionalData ¶
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 ¶
SetLabel sets the label property value. The text description label for the chapter
func (*Moment) SetTimestamp ¶
SetTimestamp sets the timestamp property value. The timestamp of the moment in seconds
type Momentable ¶
type Momentable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabel() *string GetTimestamp() *int32 SetLabel(value *string) SetTimestamp(value *int32) }
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 ¶
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 ¶
GetAvailableResolutions gets the availableResolutions property value. The available resolutions of the video returns a *string when successful
func (*Video) GetAverageWatchTime ¶
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 ¶
GetCollectionId gets the collectionId property value. The ID of the collection where the video belongs returns a *string when successful
func (*Video) GetDateUploaded ¶
func (m *Video) GetDateUploaded() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetDateUploaded gets the dateUploaded property value. The date when the video was uploaded returns a *Time when successful
func (*Video) GetEncodeProgress ¶
GetEncodeProgress gets the encodeProgress property value. The current encode progress of the video returns a *int32 when successful
func (*Video) GetFieldDeserializers ¶
func (m *Video) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*Video) GetFramerate ¶
GetFramerate gets the framerate property value. The framerate of the video returns a *float64 when successful
func (*Video) GetGuid ¶
GetGuid gets the guid property value. The unique ID of the video returns a *string when successful
func (*Video) GetHasMP4Fallback ¶
GetHasMP4Fallback gets the hasMP4Fallback property value. Determines if the video has MP4 fallback files generated returns a *bool when successful
func (*Video) GetHeight ¶
GetHeight gets the height property value. The height of the original video file returns a *int32 when successful
func (*Video) GetIsPublic ¶
GetIsPublic gets the isPublic property value. Determines if the video is publicly accessible returns a *bool when successful
func (*Video) GetLength ¶
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 ¶
GetRotation gets the rotation property value. The rotation of the video returns a *int32 when successful
func (*Video) GetStatus ¶
GetStatus gets the status property value. The status of the video. returns a *float64 when successful
func (*Video) GetStorageSize ¶
GetStorageSize gets the storageSize property value. The amount of storage used by this video returns a *int64 when successful
func (*Video) GetThumbnailCount ¶
GetThumbnailCount gets the thumbnailCount property value. The number of thumbnails generated for this video returns a *int32 when successful
func (*Video) GetThumbnailFileName ¶
GetThumbnailFileName gets the thumbnailFileName property value. The file name of the thumbnail inside of the storage returns a *string when successful
func (*Video) GetTitle ¶
GetTitle gets the title property value. The title of the video returns a *string when successful
func (*Video) GetTotalWatchTime ¶
GetTotalWatchTime gets the totalWatchTime property value. The total video watch time in seconds returns a *int64 when successful
func (*Video) GetVideoLibraryId ¶
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 ¶
GetViews gets the views property value. The number of views the video received returns a *int64 when successful
func (*Video) GetWidth ¶
GetWidth gets the width property value. The width of the original video file returns a *int32 when successful
func (*Video) Serialize ¶
func (m *Video) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*Video) SetAdditionalData ¶
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 ¶
SetAvailableResolutions sets the availableResolutions property value. The available resolutions of the video
func (*Video) SetAverageWatchTime ¶
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 ¶
SetCollectionId sets the collectionId property value. The ID of the collection where the video belongs
func (*Video) SetDateUploaded ¶
func (m *Video) SetDateUploaded(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetDateUploaded sets the dateUploaded property value. The date when the video was uploaded
func (*Video) SetEncodeProgress ¶
SetEncodeProgress sets the encodeProgress property value. The current encode progress of the video
func (*Video) SetFramerate ¶
SetFramerate sets the framerate property value. The framerate of the video
func (*Video) SetHasMP4Fallback ¶
SetHasMP4Fallback sets the hasMP4Fallback property value. Determines if the video has MP4 fallback files generated
func (*Video) SetHeight ¶
SetHeight sets the height property value. The height of the original video file
func (*Video) SetIsPublic ¶
SetIsPublic sets the isPublic property value. Determines if the video is publicly accessible
func (*Video) SetLength ¶
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 ¶
SetRotation sets the rotation property value. The rotation of the video
func (*Video) SetStorageSize ¶
SetStorageSize sets the storageSize property value. The amount of storage used by this video
func (*Video) SetThumbnailCount ¶
SetThumbnailCount sets the thumbnailCount property value. The number of thumbnails generated for this video
func (*Video) SetThumbnailFileName ¶
SetThumbnailFileName sets the thumbnailFileName property value. The file name of the thumbnail inside of the storage
func (*Video) SetTotalWatchTime ¶
SetTotalWatchTime sets the totalWatchTime property value. The total video watch time in seconds
func (*Video) SetVideoLibraryId ¶
SetVideoLibraryId sets the videoLibraryId property value. The ID of the video library that the video belongs to
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 ¶
func (m *VideoCreate) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *VideoCreate) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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) }