Files
plexgo/models/components/stream.go
speakeasybot 3ae6d27c3c ## Go SDK Changes:
* `PlexApi.LibraryPlaylists.AddPlaylistItems()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Hubs.GetMetadataHubs()`: 
  *  `request.Request.OnlyTransient` **Changed**
  *  `response.MediaContainer.Hub.[].Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.LibraryCollections.MoveCollectionItem()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.LibraryCollections.DeleteCollectionItem()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.LibraryCollections.AddCollectionItems()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Content.GetSonicallySimilar()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Butler.StopTask()`:  `request.Request` **Changed** **Breaking** ⚠️
* `PlexApi.Butler.StartTask()`:  `request.Request` **Changed** **Breaking** ⚠️
* `PlexApi.Content.GetSonicPath()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.DownloadQueue.GetItemDecision()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Hubs.GetAllHubs()`: 
  *  `request.Request.OnlyTransient` **Changed**
  *  `response.MediaContainer.Hub.[].Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Hubs.GetContinueWatching()`:  `response.MediaContainer.Hub.[].Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Hubs.GetPromotedHubs()`:  `response.MediaContainer.Hub.[].Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Content.GetAllLeaves()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Hubs.GetPostplayHubs()`: 
  *  `request.Request.OnlyTransient` **Changed**
  *  `response.MediaContainer.Hub.[].Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Hubs.GetRelatedHubs()`: 
  *  `request.Request.OnlyTransient` **Changed**
  *  `response.MediaContainer.Hub.[].Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Hubs.GetSectionHubs()`: 
  *  `request.Request.OnlyTransient` **Changed**
  *  `response.MediaContainer.Hub.[].Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Content.ListContent()`: 
  *  `request.Request` **Changed**
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Content.GetAlbums()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Search.SearchHubs()`:  `response.MediaContainer.Hub.[].Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Search.VoiceSearchHubs()`: 
  *  `request.Request.Type` **Changed** **Breaking** ⚠️
  *  `response.MediaContainer.Hub.[].Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.GetLibraryItems()`: 
  *  `request.Request.MediaQuery` **Changed**
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.IngestTransientItem()`: 
  *  `request.Request` **Changed**
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.GetLibraryMatches()`: 
  *  `request.Request` **Changed** **Breaking** ⚠️
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Content.GetMetadataItem()`: 
  *  `request.Request` **Changed**
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.GetSections()`:  `response.MediaContainer.Directory.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.AddSection()`: 
  *  `request.Request` **Changed**
  *  `response.MediaContainer.Directory.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.GetTags()`: 
  *  `request.Request.Type` **Changed** **Breaking** ⚠️
* `PlexApi.Content.GetCollectionItems()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.GetAllItemLeaves()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Status.ListSessions()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.PlayQueue.MovePlayQueueItem()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.GetExtras()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.PlayQueue.DeletePlayQueueItem()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.PlayQueue.Unshuffle()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.ListMatches()`: 
  *  `request.Request.Manual` **Changed**
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.ListSonicallySimilar()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.PlayQueue.ResetPlayQueue()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.GetRelatedItems()`:  `response.MediaContainer.Hub.[].Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.ListSimilar()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.PlayQueue.ClearPlayQueue()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.GetItemTree()`:  `response.MediaContainer.MetadataItem.[]` **Changed** **Breaking** ⚠️
* `PlexApi.PlayQueue.AddToPlayQueue()`: 
  *  `request.Request.Next` **Changed**
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.PlayQueue.GetPlayQueue()`: 
  *  `request.Request` **Changed**
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.LibraryPlaylists.MovePlaylistItem()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.GetPerson()`:  `response.MediaContainer.Directory.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.ListPersonMedia()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.LibraryPlaylists.GetPlaylistGeneratorItems()`:  `response.MediaContainer.Metadata` **Changed** **Breaking** ⚠️
* `PlexApi.Library.GetLibraryDetails()`: 
  *  `request.Request.IncludeDetails` **Changed**
  *  `response.MediaContainer.Directory.[]` **Changed** **Breaking** ⚠️
* `PlexApi.LibraryPlaylists.ModifyPlaylistGenerator()`: 
  *  `request.Request.Item` **Changed**
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.Autocomplete()`: 
  *  `request.Request.MediaQuery` **Changed**
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.GetCollections()`: 
  *  `request.Request.MediaQuery` **Changed**
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.GetCommon()`: 
  *  `request.Request.MediaQuery` **Changed**
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.LibraryPlaylists.DeletePlaylistItem()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.LibraryPlaylists.ClearPlaylistItems()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.PlayQueue.Shuffle()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.LibraryPlaylists.CreatePlaylist()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Playlist.GetPlaylistItems()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Playlist.GetPlaylist()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Collections.CreateCollection()`: 
  *  `request.Request.Type` **Changed** **Breaking** ⚠️
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.DvRs.TuneChannel()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.LiveTv.GetSessions()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.LiveTv.GetLiveTvSession()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Playlist.ListPlaylists()`:  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Subscriptions.GetAllSubscriptions()`: 
  *  `request.Request` **Changed**
  *  `response.MediaContainer.MediaSubscription.[].MediaGrabOperation.[].Metadata` **Changed** **Breaking** ⚠️
* `PlexApi.Subscriptions.CreateSubscription()`:  `response.MediaContainer.MediaSubscription.[].MediaGrabOperation.[].Metadata` **Changed** **Breaking** ⚠️
* `PlexApi.Subscriptions.GetScheduledRecordings()`:  `response.MediaContainer.MediaGrabOperation.[].Metadata` **Changed** **Breaking** ⚠️
* `PlexApi.Subscriptions.GetTemplate()`:  `response.MediaContainer.SubscriptionTemplate.[].MediaSubscription.[].MediaGrabOperation.[].Metadata` **Changed** **Breaking** ⚠️
* `PlexApi.Subscriptions.GetSubscription()`: 
  *  `request.Request` **Changed**
  *  `response.MediaContainer.MediaSubscription.[].MediaGrabOperation.[].Metadata` **Changed** **Breaking** ⚠️
* `PlexApi.Subscriptions.EditSubscriptionPreferences()`:  `response.MediaContainer.MediaSubscription.[].MediaGrabOperation.[].Metadata` **Changed** **Breaking** ⚠️
* `PlexApi.Subscriptions.ReorderSubscription()`:  `response.MediaContainer.MediaSubscription.[].MediaGrabOperation.[].Metadata` **Changed** **Breaking** ⚠️
* `PlexApi.Transcoder.MakeDecision()`: 
  *  `request.Request` **Changed**
  *  `response.MediaContainer.Metadata.[]` **Changed** **Breaking** ⚠️
* `PlexApi.Library.RefreshItemsMetadata()`: 
  *  `request.Request.MarkUpdated` **Changed**
* `PlexApi.Authentication.Post-Users-Sign-In-Data()`: **Added**
* `PlexApi.Transcoder.StartTranscodeSession()`:  `request.Request` **Changed**
* `PlexApi.Devices.ModifyDevice()`: 
  *  `request.Request.Enabled` **Changed**
* `PlexApi.Library.GetMediaPart()`: 
  *  `request.Request.Download` **Changed**
* `PlexApi.Library.DetectIntros()`: 
  *  `request.Request.Force` **Changed**
* `PlexApi.Library.RefreshSection()`: 
  *  `request.Request.Force` **Changed**
* `PlexApi.LibraryPlaylists.UploadPlaylist()`: 
  *  `request.Request.Force` **Changed**
* `PlexApi.Library.DeleteMediaItem()`: 
  *  `request.Request.Proxy` **Changed**
* `PlexApi.Authentication.GetTokenDetails()`: **Added**
* `PlexApi.Library.GetFirstCharacters()`: 
  *  `request.Request.MediaQuery` **Changed**
* `PlexApi.Library.UpdateItems()`: 
  *  `request.Request.Field.locked` **Changed**
* `PlexApi.Library.DeleteLibrarySection()`: 
  *  `request.Request.Async` **Changed**
* `PlexApi.Library.SetStreamSelection()`: 
  *  `request.Request.AllParts` **Changed**
* `PlexApi.PlayQueue.CreatePlayQueue()`:  `request.Request` **Changed**
* `PlexApi.Library.GetAugmentationStatus()`: 
  *  `request.Request.Wait` **Changed**
* `PlexApi.Library.DetectVoiceActivity()`:  `request.Request` **Changed**
* `PlexApi.Transcoder.TranscodeImage()`:  `request.Request` **Changed**
* `PlexApi.Transcoder.TranscodeSubtitles()`:  `request.Request` **Changed**
* `PlexApi.Library.AddSubtitles()`:  `request.Request` **Changed**
* `PlexApi.Library.GetStream()`: 
  *  `request.Request.AutoAdjustSubtitle` **Changed**
* `PlexApi.Library.StartBifGeneration()`: 
  *  `request.Request.Force` **Changed**
* `PlexApi.Library.DetectCredits()`:  `request.Request` **Changed**
* `PlexApi.UltraBlur.GetImage()`: 
  *  `request.Request.Noise` **Changed**
* `PlexApi.Library.GenerateThumbs()`: 
  *  `request.Request.Force` **Changed**
* `PlexApi.Updater.ApplyUpdates()`:  `request.Request` **Changed**
* `PlexApi.Updater.CheckUpdates()`: 
  *  `request.Request.Download` **Changed**
* `PlexApi.Library.DeleteMetadataItem()`: 
  *  `request.Request.Proxy` **Changed**
* `PlexApi.Library.OptimizeDatabase()`: 
  *  `request.Request.Async` **Changed**
* `PlexApi.Hubs.UpdateHubVisibility()`:  `request.Request` **Changed**
* `PlexApi.Hubs.CreateCustomHub()`:  `request.Request` **Changed**
* `PlexApi.Library.GetSectionImage()`: 
  *  `request.Request.MediaQuery` **Changed**
* `PlexApi.DownloadQueue.AddDownloadQueueItems()`:  `request.Request` **Changed**
* `PlexApi.Timeline.Report()`:  `request.Request` **Changed**
* `PlexApi.General.GetSourceConnectionInformation()`: 
  *  `request.Request.Refresh` **Changed**
* `PlexApi.Plex.Get-Server-Resources()`: **Added**
* `PlexApi.Users.Get-Users()`: **Added**
2025-12-01 00:15:28 +00:00

494 lines
10 KiB
Go

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package components
import (
"github.com/LukeHagar/plexgo/internal/utils"
)
// Stream - `Stream` represents a particular stream from a media item, such as the video stream, audio stream, or subtitle stream. The stream may either be part of the file represented by the parent `Part` or, especially for subtitles, an external file. The stream contains more detailed information about the specific stream. For example, a video may include the `aspectRatio` at the `Media` level, but detailed information about the video stream like the color space will be included on the `Stream` for the video stream. Note that photos do not have streams (mostly as an optimization).
type Stream struct {
// Indicates if this stream is default.
Default *bool `json:"default,omitempty"`
// Audio channel layout.
AudioChannelLayout *string `json:"audioChannelLayout,omitempty"`
// Number of audio channels (for audio streams).
Channels *int `json:"channels,omitempty"`
// Bit depth of the video stream.
BitDepth *int `json:"bitDepth,omitempty"`
// Dolby Vision BL compatibility ID.
DOVIBLCompatID *int `json:"DOVIBLCompatID,omitempty"`
// Indicates if Dolby Vision BL is present.
DOVIBLPresent *bool `json:"DOVIBLPresent,omitempty"`
// Indicates if Dolby Vision EL is present.
DOVIELPresent *bool `json:"DOVIELPresent,omitempty"`
// Dolby Vision level.
DOVILevel *int `json:"DOVILevel,omitempty"`
// Indicates if Dolby Vision is present.
DOVIPresent *bool `json:"DOVIPresent,omitempty"`
// Dolby Vision profile.
DOVIProfile *int `json:"DOVIProfile,omitempty"`
// Indicates if Dolby Vision RPU is present.
DOVIRPUPresent *bool `json:"DOVIRPUPresent,omitempty"`
// Dolby Vision version.
DOVIVersion *string `json:"DOVIVersion,omitempty"`
// Bitrate of the stream.
Bitrate *int `json:"bitrate,omitempty"`
// Indicates if the stream can auto-sync.
CanAutoSync *bool `json:"canAutoSync,omitempty"`
// Chroma sample location.
ChromaLocation *string `json:"chromaLocation,omitempty"`
// Chroma subsampling format.
ChromaSubsampling *string `json:"chromaSubsampling,omitempty"`
// Coded video height.
CodedHeight *int `json:"codedHeight,omitempty"`
// Coded video width.
CodedWidth *int `json:"codedWidth,omitempty"`
ClosedCaptions *bool `json:"closedCaptions,omitempty"`
// Codec used by the stream.
Codec string `json:"codec"`
// Color primaries used.
ColorPrimaries *string `json:"colorPrimaries,omitempty"`
// Color range (e.g., tv).
ColorRange *string `json:"colorRange,omitempty"`
// Color space.
ColorSpace *string `json:"colorSpace,omitempty"`
// Color transfer characteristics.
ColorTrc *string `json:"colorTrc,omitempty"`
// Display title for the stream.
DisplayTitle string `json:"displayTitle"`
// Extended display title for the stream.
ExtendedDisplayTitle *string `json:"extendedDisplayTitle,omitempty"`
// Frame rate of the stream.
FrameRate *float32 `json:"frameRate,omitempty"`
HasScalingMatrix *bool `json:"hasScalingMatrix,omitempty"`
// Height of the video stream.
Height *int `json:"height,omitempty"`
// Unique stream identifier.
ID int `json:"id"`
// Index of the stream.
Index *int `json:"index,omitempty"`
// Key to access this stream part.
Key string `json:"key"`
// Language of the stream.
Language *string `json:"language,omitempty"`
// ISO language code.
LanguageCode *string `json:"languageCode,omitempty"`
// Language tag (e.g., en).
LanguageTag *string `json:"languageTag,omitempty"`
// Format of the stream (e.g., srt).
Format *string `json:"format,omitempty"`
// Indicates whether header compression is enabled.
HeaderCompression *bool `json:"headerCompression,omitempty"`
// Video level.
Level *int `json:"level,omitempty"`
// Indicates if this is the original stream.
Original *bool `json:"original,omitempty"`
// Video profile.
Profile *string `json:"profile,omitempty"`
// Number of reference frames.
RefFrames *int `json:"refFrames,omitempty"`
// Sampling rate for the audio stream.
SamplingRate *int `json:"samplingRate,omitempty"`
ScanType *string `json:"scanType,omitempty"`
EmbeddedInVideo *string `json:"embeddedInVideo,omitempty"`
// Indicates if this stream is selected (applicable for audio streams).
Selected *bool `json:"selected,omitempty"`
Forced *bool `json:"forced,omitempty"`
// Indicates if the stream is for the hearing impaired.
HearingImpaired *bool `json:"hearingImpaired,omitempty"`
// Indicates if the stream is a dub.
Dub *bool `json:"dub,omitempty"`
// Optional title for the stream (e.g., language variant).
Title *string `json:"title,omitempty"`
StreamIdentifier *int `json:"streamIdentifier,omitempty"`
// Stream type:
// - VIDEO = 1
// - AUDIO = 2
// - SUBTITLE = 3
//
streamType int64 `const:"1" json:"streamType"`
// Width of the video stream.
Width *int `json:"width,omitempty"`
AdditionalProperties map[string]any `additionalProperties:"true" json:"-"`
}
func (s Stream) MarshalJSON() ([]byte, error) {
return utils.MarshalJSON(s, "", false)
}
func (s *Stream) UnmarshalJSON(data []byte) error {
if err := utils.UnmarshalJSON(data, &s, "", false, []string{"codec", "displayTitle", "id", "key", "streamType"}); err != nil {
return err
}
return nil
}
func (s *Stream) GetDefault() *bool {
if s == nil {
return nil
}
return s.Default
}
func (s *Stream) GetAudioChannelLayout() *string {
if s == nil {
return nil
}
return s.AudioChannelLayout
}
func (s *Stream) GetChannels() *int {
if s == nil {
return nil
}
return s.Channels
}
func (s *Stream) GetBitDepth() *int {
if s == nil {
return nil
}
return s.BitDepth
}
func (s *Stream) GetDOVIBLCompatID() *int {
if s == nil {
return nil
}
return s.DOVIBLCompatID
}
func (s *Stream) GetDOVIBLPresent() *bool {
if s == nil {
return nil
}
return s.DOVIBLPresent
}
func (s *Stream) GetDOVIELPresent() *bool {
if s == nil {
return nil
}
return s.DOVIELPresent
}
func (s *Stream) GetDOVILevel() *int {
if s == nil {
return nil
}
return s.DOVILevel
}
func (s *Stream) GetDOVIPresent() *bool {
if s == nil {
return nil
}
return s.DOVIPresent
}
func (s *Stream) GetDOVIProfile() *int {
if s == nil {
return nil
}
return s.DOVIProfile
}
func (s *Stream) GetDOVIRPUPresent() *bool {
if s == nil {
return nil
}
return s.DOVIRPUPresent
}
func (s *Stream) GetDOVIVersion() *string {
if s == nil {
return nil
}
return s.DOVIVersion
}
func (s *Stream) GetBitrate() *int {
if s == nil {
return nil
}
return s.Bitrate
}
func (s *Stream) GetCanAutoSync() *bool {
if s == nil {
return nil
}
return s.CanAutoSync
}
func (s *Stream) GetChromaLocation() *string {
if s == nil {
return nil
}
return s.ChromaLocation
}
func (s *Stream) GetChromaSubsampling() *string {
if s == nil {
return nil
}
return s.ChromaSubsampling
}
func (s *Stream) GetCodedHeight() *int {
if s == nil {
return nil
}
return s.CodedHeight
}
func (s *Stream) GetCodedWidth() *int {
if s == nil {
return nil
}
return s.CodedWidth
}
func (s *Stream) GetClosedCaptions() *bool {
if s == nil {
return nil
}
return s.ClosedCaptions
}
func (s *Stream) GetCodec() string {
if s == nil {
return ""
}
return s.Codec
}
func (s *Stream) GetColorPrimaries() *string {
if s == nil {
return nil
}
return s.ColorPrimaries
}
func (s *Stream) GetColorRange() *string {
if s == nil {
return nil
}
return s.ColorRange
}
func (s *Stream) GetColorSpace() *string {
if s == nil {
return nil
}
return s.ColorSpace
}
func (s *Stream) GetColorTrc() *string {
if s == nil {
return nil
}
return s.ColorTrc
}
func (s *Stream) GetDisplayTitle() string {
if s == nil {
return ""
}
return s.DisplayTitle
}
func (s *Stream) GetExtendedDisplayTitle() *string {
if s == nil {
return nil
}
return s.ExtendedDisplayTitle
}
func (s *Stream) GetFrameRate() *float32 {
if s == nil {
return nil
}
return s.FrameRate
}
func (s *Stream) GetHasScalingMatrix() *bool {
if s == nil {
return nil
}
return s.HasScalingMatrix
}
func (s *Stream) GetHeight() *int {
if s == nil {
return nil
}
return s.Height
}
func (s *Stream) GetID() int {
if s == nil {
return 0
}
return s.ID
}
func (s *Stream) GetIndex() *int {
if s == nil {
return nil
}
return s.Index
}
func (s *Stream) GetKey() string {
if s == nil {
return ""
}
return s.Key
}
func (s *Stream) GetLanguage() *string {
if s == nil {
return nil
}
return s.Language
}
func (s *Stream) GetLanguageCode() *string {
if s == nil {
return nil
}
return s.LanguageCode
}
func (s *Stream) GetLanguageTag() *string {
if s == nil {
return nil
}
return s.LanguageTag
}
func (s *Stream) GetFormat() *string {
if s == nil {
return nil
}
return s.Format
}
func (s *Stream) GetHeaderCompression() *bool {
if s == nil {
return nil
}
return s.HeaderCompression
}
func (s *Stream) GetLevel() *int {
if s == nil {
return nil
}
return s.Level
}
func (s *Stream) GetOriginal() *bool {
if s == nil {
return nil
}
return s.Original
}
func (s *Stream) GetProfile() *string {
if s == nil {
return nil
}
return s.Profile
}
func (s *Stream) GetRefFrames() *int {
if s == nil {
return nil
}
return s.RefFrames
}
func (s *Stream) GetSamplingRate() *int {
if s == nil {
return nil
}
return s.SamplingRate
}
func (s *Stream) GetScanType() *string {
if s == nil {
return nil
}
return s.ScanType
}
func (s *Stream) GetEmbeddedInVideo() *string {
if s == nil {
return nil
}
return s.EmbeddedInVideo
}
func (s *Stream) GetSelected() *bool {
if s == nil {
return nil
}
return s.Selected
}
func (s *Stream) GetForced() *bool {
if s == nil {
return nil
}
return s.Forced
}
func (s *Stream) GetHearingImpaired() *bool {
if s == nil {
return nil
}
return s.HearingImpaired
}
func (s *Stream) GetDub() *bool {
if s == nil {
return nil
}
return s.Dub
}
func (s *Stream) GetTitle() *string {
if s == nil {
return nil
}
return s.Title
}
func (s *Stream) GetStreamIdentifier() *int {
if s == nil {
return nil
}
return s.StreamIdentifier
}
func (s *Stream) GetStreamType() int64 {
return 1
}
func (s *Stream) GetWidth() *int {
if s == nil {
return nil
}
return s.Width
}
func (s *Stream) GetAdditionalProperties() map[string]any {
if s == nil {
return nil
}
return s.AdditionalProperties
}