operations

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

View Source
const (
	SupportedOptionRetries              = "retries"
	SupportedOptionTimeout              = "timeout"
	SupportedOptionAcceptHeaderOverride = "acceptHeaderOverride"
	SupportedOptionURLOverride          = "urlOverride"
)

Variables

View Source
var ErrUnsupportedOption = errors.New("unsupported option")
View Source
var GetCompanionsDataServerList = []string{
	"https://plex.tv/api/v2",
}
View Source
var GetGeoDataServerList = []string{
	"https://plex.tv/api/v2",
}
View Source
var GetPinServerList = []string{
	"https://plex.tv/api/v2",
}
View Source
var GetServerResourcesServerList = []string{
	"https://plex.tv/api/v2",
}
View Source
var GetTokenByPinIDServerList = []string{
	"https://plex.tv/api/v2",
}
View Source
var GetTokenDetailsServerList = []string{
	"https://plex.tv/api/v2",
}
View Source
var GetUserFriendsServerList = []string{
	"https://plex.tv/api/v2",
}
View Source
var GetUsersServerList = []string{
	"https://plex.tv/api",
}
View Source
var GetWatchListServerList = []string{
	"https://metadata.provider.plex.tv",
}
View Source
var PostUsersSignInDataServerList = []string{
	"https://plex.tv/api/v2",
}

Functions

This section is empty.

Types

type AcceptHeaderEnum added in v0.11.1

type AcceptHeaderEnum string
const (
	AcceptHeaderEnumApplicationJson AcceptHeaderEnum = "application/json"
	AcceptHeaderEnumImageJpeg       AcceptHeaderEnum = "image/jpeg"
	AcceptHeaderEnumApplicationXml  AcceptHeaderEnum = "application/xml"
)

func (AcceptHeaderEnum) ToPointer added in v0.11.1

func (e AcceptHeaderEnum) ToPointer() *AcceptHeaderEnum

type Account added in v0.4.0

type Account struct {
	ID                      *int    `json:"id,omitempty"`
	Key                     *string `json:"key,omitempty"`
	Name                    *string `json:"name,omitempty"`
	DefaultAudioLanguage    *string `json:"defaultAudioLanguage,omitempty"`
	AutoSelectAudio         *bool   `json:"autoSelectAudio,omitempty"`
	DefaultSubtitleLanguage *string `json:"defaultSubtitleLanguage,omitempty"`
	SubtitleMode            *int    `json:"subtitleMode,omitempty"`
	Thumb                   *string `json:"thumb,omitempty"`
}

func (*Account) GetAutoSelectAudio added in v0.4.0

func (o *Account) GetAutoSelectAudio() *bool

func (*Account) GetDefaultAudioLanguage added in v0.4.0

func (o *Account) GetDefaultAudioLanguage() *string

func (*Account) GetDefaultSubtitleLanguage added in v0.4.0

func (o *Account) GetDefaultSubtitleLanguage() *string

func (*Account) GetID added in v0.4.0

func (o *Account) GetID() *int

func (*Account) GetKey added in v0.4.0

func (o *Account) GetKey() *string

func (*Account) GetName added in v0.4.0

func (o *Account) GetName() *string

func (*Account) GetSubtitleMode added in v0.4.0

func (o *Account) GetSubtitleMode() *int

func (*Account) GetThumb added in v0.4.0

func (o *Account) GetThumb() *string

type Action added in v0.12.1

type Action struct {
	ID  string `json:"id"`
	Key string `json:"key"`
}

func (*Action) GetID added in v0.12.1

func (o *Action) GetID() string

func (*Action) GetKey added in v0.12.1

func (o *Action) GetKey() string

type ActiveDirection added in v0.12.1

type ActiveDirection string

ActiveDirection - The direction of the sort. Can be either `asc` or `desc`.

const (
	ActiveDirectionAscending  ActiveDirection = "asc"
	ActiveDirectionDescending ActiveDirection = "desc"
)

func (ActiveDirection) ToPointer added in v0.12.1

func (e ActiveDirection) ToPointer() *ActiveDirection

func (*ActiveDirection) UnmarshalJSON added in v0.12.1

func (e *ActiveDirection) UnmarshalJSON(data []byte) error

type Activity

type Activity struct {
	UUID        *string  `json:"uuid,omitempty"`
	Type        *string  `json:"type,omitempty"`
	Cancellable *bool    `json:"cancellable,omitempty"`
	UserID      *float64 `json:"userID,omitempty"`
	Title       *string  `json:"title,omitempty"`
	Subtitle    *string  `json:"subtitle,omitempty"`
	Progress    *float64 `json:"progress,omitempty"`
	Context     *Context `json:"Context,omitempty"`
}

func (*Activity) GetCancellable

func (o *Activity) GetCancellable() *bool

func (*Activity) GetContext

func (o *Activity) GetContext() *Context

func (*Activity) GetProgress

func (o *Activity) GetProgress() *float64

func (*Activity) GetSubtitle

func (o *Activity) GetSubtitle() *string

func (*Activity) GetTitle

func (o *Activity) GetTitle() *string

func (*Activity) GetType

func (o *Activity) GetType() *string

func (*Activity) GetUUID

func (o *Activity) GetUUID() *string

func (*Activity) GetUserID

func (o *Activity) GetUserID() *float64

type AddPlaylistContentsMediaContainer added in v0.1.1

type AddPlaylistContentsMediaContainer struct {
	Size               *int                          `json:"size,omitempty"`
	LeafCountAdded     *int                          `json:"leafCountAdded,omitempty"`
	LeafCountRequested *int                          `json:"leafCountRequested,omitempty"`
	Metadata           []AddPlaylistContentsMetadata `json:"Metadata,omitempty"`
}

func (*AddPlaylistContentsMediaContainer) GetLeafCountAdded added in v0.1.1

func (o *AddPlaylistContentsMediaContainer) GetLeafCountAdded() *int

func (*AddPlaylistContentsMediaContainer) GetLeafCountRequested added in v0.1.1

func (o *AddPlaylistContentsMediaContainer) GetLeafCountRequested() *int

func (*AddPlaylistContentsMediaContainer) GetMetadata added in v0.1.1

func (*AddPlaylistContentsMediaContainer) GetSize added in v0.1.1

func (o *AddPlaylistContentsMediaContainer) GetSize() *int

type AddPlaylistContentsMetadata added in v0.1.1

type AddPlaylistContentsMetadata struct {
	RatingKey    *string `json:"ratingKey,omitempty"`
	Key          *string `json:"key,omitempty"`
	GUID         *string `json:"guid,omitempty"`
	Type         *string `json:"type,omitempty"`
	Title        *string `json:"title,omitempty"`
	Summary      *string `json:"summary,omitempty"`
	Smart        *bool   `json:"smart,omitempty"`
	PlaylistType *string `json:"playlistType,omitempty"`
	Composite    *string `json:"composite,omitempty"`
	Duration     *int    `json:"duration,omitempty"`
	LeafCount    *int    `json:"leafCount,omitempty"`
	AddedAt      *int    `json:"addedAt,omitempty"`
	UpdatedAt    *int    `json:"updatedAt,omitempty"`
}

func (*AddPlaylistContentsMetadata) GetAddedAt added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetAddedAt() *int

func (*AddPlaylistContentsMetadata) GetComposite added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetComposite() *string

func (*AddPlaylistContentsMetadata) GetDuration added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetDuration() *int

func (*AddPlaylistContentsMetadata) GetGUID added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetGUID() *string

func (*AddPlaylistContentsMetadata) GetKey added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetKey() *string

func (*AddPlaylistContentsMetadata) GetLeafCount added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetLeafCount() *int

func (*AddPlaylistContentsMetadata) GetPlaylistType added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetPlaylistType() *string

func (*AddPlaylistContentsMetadata) GetRatingKey added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetRatingKey() *string

func (*AddPlaylistContentsMetadata) GetSmart added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetSmart() *bool

func (*AddPlaylistContentsMetadata) GetSummary added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetSummary() *string

func (*AddPlaylistContentsMetadata) GetTitle added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetTitle() *string

func (*AddPlaylistContentsMetadata) GetType added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetType() *string

func (*AddPlaylistContentsMetadata) GetUpdatedAt added in v0.1.1

func (o *AddPlaylistContentsMetadata) GetUpdatedAt() *int

type AddPlaylistContentsRequest

type AddPlaylistContentsRequest struct {
	// the ID of the playlist
	PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
	// the content URI for the playlist
	URI string `queryParam:"style=form,explode=true,name=uri"`
	// the play queue to add to a playlist
	PlayQueueID *float64 `queryParam:"style=form,explode=true,name=playQueueID"`
}

func (*AddPlaylistContentsRequest) GetPlayQueueID

func (o *AddPlaylistContentsRequest) GetPlayQueueID() *float64

func (*AddPlaylistContentsRequest) GetPlaylistID

func (o *AddPlaylistContentsRequest) GetPlaylistID() float64

func (*AddPlaylistContentsRequest) GetURI

func (o *AddPlaylistContentsRequest) GetURI() string

type AddPlaylistContentsResponse

type AddPlaylistContentsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Playlist Updated
	Object *AddPlaylistContentsResponseBody
}

func (*AddPlaylistContentsResponse) GetContentType

func (o *AddPlaylistContentsResponse) GetContentType() string

func (*AddPlaylistContentsResponse) GetObject added in v0.1.1

func (*AddPlaylistContentsResponse) GetRawResponse

func (o *AddPlaylistContentsResponse) GetRawResponse() *http.Response

func (*AddPlaylistContentsResponse) GetStatusCode

func (o *AddPlaylistContentsResponse) GetStatusCode() int

type AddPlaylistContentsResponseBody added in v0.1.1

type AddPlaylistContentsResponseBody struct {
	MediaContainer *AddPlaylistContentsMediaContainer `json:"MediaContainer,omitempty"`
}

AddPlaylistContentsResponseBody - Playlist Updated

func (*AddPlaylistContentsResponseBody) GetMediaContainer added in v0.1.1

type AllLibraries added in v0.18.0

type AllLibraries int

AllLibraries - Indicates if the user has access to all libraries.

const (
	AllLibrariesDisable AllLibraries = 0
	AllLibrariesEnable  AllLibraries = 1
)

func (AllLibraries) ToPointer added in v0.18.0

func (e AllLibraries) ToPointer() *AllLibraries

func (*AllLibraries) UnmarshalJSON added in v0.18.0

func (e *AllLibraries) UnmarshalJSON(data []byte) error

type AllowCameraUpload added in v0.18.0

type AllowCameraUpload int

AllowCameraUpload - Indicates if the user is allowed to upload from a camera.

const (
	AllowCameraUploadDisable AllowCameraUpload = 0
	AllowCameraUploadEnable  AllowCameraUpload = 1
)

func (AllowCameraUpload) ToPointer added in v0.18.0

func (e AllowCameraUpload) ToPointer() *AllowCameraUpload

func (*AllowCameraUpload) UnmarshalJSON added in v0.18.0

func (e *AllowCameraUpload) UnmarshalJSON(data []byte) error

type AllowChannels added in v0.18.0

type AllowChannels int

AllowChannels - Indicates if the user has access to channels.

const (
	AllowChannelsDisable AllowChannels = 0
	AllowChannelsEnable  AllowChannels = 1
)

func (AllowChannels) ToPointer added in v0.18.0

func (e AllowChannels) ToPointer() *AllowChannels

func (*AllowChannels) UnmarshalJSON added in v0.18.0

func (e *AllowChannels) UnmarshalJSON(data []byte) error

type AllowSubtitleAdmin added in v0.18.0

type AllowSubtitleAdmin int

AllowSubtitleAdmin - Indicates if the user can manage subtitles.

const (
	AllowSubtitleAdminDisable AllowSubtitleAdmin = 0
	AllowSubtitleAdminEnable  AllowSubtitleAdmin = 1
)

func (AllowSubtitleAdmin) ToPointer added in v0.18.0

func (e AllowSubtitleAdmin) ToPointer() *AllowSubtitleAdmin

func (*AllowSubtitleAdmin) UnmarshalJSON added in v0.18.0

func (e *AllowSubtitleAdmin) UnmarshalJSON(data []byte) error

type AllowSync added in v0.18.0

type AllowSync int

AllowSync - Indicates if the user is allowed to sync media.

const (
	AllowSyncDisable AllowSync = 0
	AllowSyncEnable  AllowSync = 1
)

func (AllowSync) ToPointer added in v0.18.0

func (e AllowSync) ToPointer() *AllowSync

func (*AllowSync) UnmarshalJSON added in v0.18.0

func (e *AllowSync) UnmarshalJSON(data []byte) error

type AllowTuners added in v0.18.0

type AllowTuners int

AllowTuners - Indicates if the user is allowed to use tuners.

const (
	AllowTunersDisable AllowTuners = 0
	AllowTunersEnable  AllowTuners = 1
)

func (AllowTuners) ToPointer added in v0.18.0

func (e AllowTuners) ToPointer() *AllowTuners

func (*AllowTuners) UnmarshalJSON added in v0.18.0

func (e *AllowTuners) UnmarshalJSON(data []byte) error

type ApplyUpdatesRequest

type ApplyUpdatesRequest struct {
	// Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install
	Tonight *Tonight `queryParam:"style=form,explode=true,name=tonight"`
	// Indicate that the latest version should be marked as skipped. The [Release] entry for this version will have the `state` set to `skipped`.
	Skip *Skip `queryParam:"style=form,explode=true,name=skip"`
}

func (*ApplyUpdatesRequest) GetSkip

func (o *ApplyUpdatesRequest) GetSkip() *Skip

func (*ApplyUpdatesRequest) GetTonight

func (o *ApplyUpdatesRequest) GetTonight() *Tonight

type ApplyUpdatesResponse

type ApplyUpdatesResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*ApplyUpdatesResponse) GetContentType

func (o *ApplyUpdatesResponse) GetContentType() string

func (*ApplyUpdatesResponse) GetRawResponse

func (o *ApplyUpdatesResponse) GetRawResponse() *http.Response

func (*ApplyUpdatesResponse) GetStatusCode

func (o *ApplyUpdatesResponse) GetStatusCode() int

type AutoSelectSubtitle added in v0.11.1

type AutoSelectSubtitle int

AutoSelectSubtitle - The auto-select subtitle mode (0 = Manually selected, 1 = Shown with foreign audio, 2 = Always enabled)

const (
	AutoSelectSubtitleDisable AutoSelectSubtitle = 0
	AutoSelectSubtitleEnable  AutoSelectSubtitle = 1
)

func (AutoSelectSubtitle) ToPointer added in v0.11.1

func (e AutoSelectSubtitle) ToPointer() *AutoSelectSubtitle

func (*AutoSelectSubtitle) UnmarshalJSON added in v0.11.1

func (e *AutoSelectSubtitle) UnmarshalJSON(data []byte) error

type Billing added in v0.11.1

type Billing struct {
	InternalPaymentMethod InternalPaymentMethod `json:"internalPaymentMethod"`
	PaymentMethodID       *int64                `json:"paymentMethodId"`
}

func (*Billing) GetInternalPaymentMethod added in v0.11.1

func (o *Billing) GetInternalPaymentMethod() InternalPaymentMethod

func (*Billing) GetPaymentMethodID added in v0.11.1

func (o *Billing) GetPaymentMethodID() *int64

type ButlerTask

type ButlerTask struct {
	Name               *string  `json:"name,omitempty"`
	Interval           *float64 `json:"interval,omitempty"`
	ScheduleRandomized *bool    `json:"scheduleRandomized,omitempty"`
	Enabled            *bool    `json:"enabled,omitempty"`
	Title              *string  `json:"title,omitempty"`
	Description        *string  `json:"description,omitempty"`
}

func (*ButlerTask) GetDescription

func (o *ButlerTask) GetDescription() *string

func (*ButlerTask) GetEnabled

func (o *ButlerTask) GetEnabled() *bool

func (*ButlerTask) GetInterval

func (o *ButlerTask) GetInterval() *float64

func (*ButlerTask) GetName

func (o *ButlerTask) GetName() *string

func (*ButlerTask) GetScheduleRandomized

func (o *ButlerTask) GetScheduleRandomized() *bool

func (*ButlerTask) GetTitle

func (o *ButlerTask) GetTitle() *string

type ButlerTasks

type ButlerTasks struct {
	ButlerTask []ButlerTask `json:"ButlerTask,omitempty"`
}

func (*ButlerTasks) GetButlerTask

func (o *ButlerTasks) GetButlerTask() []ButlerTask

type CancelServerActivitiesRequest

type CancelServerActivitiesRequest struct {
	// The UUID of the activity to cancel.
	ActivityUUID string `pathParam:"style=simple,explode=false,name=activityUUID"`
}

func (*CancelServerActivitiesRequest) GetActivityUUID

func (o *CancelServerActivitiesRequest) GetActivityUUID() string

type CancelServerActivitiesResponse

type CancelServerActivitiesResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*CancelServerActivitiesResponse) GetContentType

func (o *CancelServerActivitiesResponse) GetContentType() string

func (*CancelServerActivitiesResponse) GetRawResponse

func (o *CancelServerActivitiesResponse) GetRawResponse() *http.Response

func (*CancelServerActivitiesResponse) GetStatusCode

func (o *CancelServerActivitiesResponse) GetStatusCode() int

type CheckForUpdatesRequest

type CheckForUpdatesRequest struct {
	// Indicate that you want to start download any updates found.
	Download *Download `queryParam:"style=form,explode=true,name=download"`
}

func (*CheckForUpdatesRequest) GetDownload

func (o *CheckForUpdatesRequest) GetDownload() *Download

type CheckForUpdatesResponse

type CheckForUpdatesResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*CheckForUpdatesResponse) GetContentType

func (o *CheckForUpdatesResponse) GetContentType() string

func (*CheckForUpdatesResponse) GetRawResponse

func (o *CheckForUpdatesResponse) GetRawResponse() *http.Response

func (*CheckForUpdatesResponse) GetStatusCode

func (o *CheckForUpdatesResponse) GetStatusCode() int

type ClearPlaylistContentsRequest

type ClearPlaylistContentsRequest struct {
	// the ID of the playlist
	PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
}

func (*ClearPlaylistContentsRequest) GetPlaylistID

func (o *ClearPlaylistContentsRequest) GetPlaylistID() float64

type ClearPlaylistContentsResponse

type ClearPlaylistContentsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*ClearPlaylistContentsResponse) GetContentType

func (o *ClearPlaylistContentsResponse) GetContentType() string

func (*ClearPlaylistContentsResponse) GetRawResponse

func (o *ClearPlaylistContentsResponse) GetRawResponse() *http.Response

func (*ClearPlaylistContentsResponse) GetStatusCode

func (o *ClearPlaylistContentsResponse) GetStatusCode() int

type Collection added in v0.12.1

type Collection struct {
	Tag *string `json:"tag,omitempty"`
}

func (*Collection) GetTag added in v0.12.1

func (o *Collection) GetTag() *string

type Connections added in v0.11.1

type Connections struct {
	// The protocol used for the connection (http, https, etc)
	Protocol Protocol `json:"protocol"`
	// The (ip) address or domain name used for the connection
	Address string `json:"address"`
	// The port used for the connection
	Port int `json:"port"`
	// The full URI of the connection
	URI string `json:"uri"`
	// If the connection is local address
	Local bool `json:"local"`
	// If the connection is relayed through plex.direct
	Relay bool `json:"relay"`
	// If the connection is using IPv6
	IPv6 bool `json:"IPv6"`
}

func (*Connections) GetAddress added in v0.11.1

func (o *Connections) GetAddress() string

func (*Connections) GetIPv6 added in v0.11.1

func (o *Connections) GetIPv6() bool

func (*Connections) GetLocal added in v0.11.1

func (o *Connections) GetLocal() bool

func (*Connections) GetPort added in v0.11.1

func (o *Connections) GetPort() int

func (*Connections) GetProtocol added in v0.11.1

func (o *Connections) GetProtocol() Protocol

func (*Connections) GetRelay added in v0.11.1

func (o *Connections) GetRelay() bool

func (*Connections) GetURI added in v0.11.1

func (o *Connections) GetURI() string

type Context

type Context struct {
	LibrarySectionID *string `json:"librarySectionID,omitempty"`
}

func (*Context) GetLibrarySectionID

func (o *Context) GetLibrarySectionID() *string

type Country

type Country struct {
	Tag *string `json:"tag,omitempty"`
}

func (*Country) GetTag

func (o *Country) GetTag() *string

type CreatePlaylistMediaContainer added in v0.1.1

type CreatePlaylistMediaContainer struct {
	Size     *int                     `json:"size,omitempty"`
	Metadata []CreatePlaylistMetadata `json:"Metadata,omitempty"`
}

func (*CreatePlaylistMediaContainer) GetMetadata added in v0.1.1

func (*CreatePlaylistMediaContainer) GetSize added in v0.1.1

func (o *CreatePlaylistMediaContainer) GetSize() *int

type CreatePlaylistMetadata added in v0.1.1

type CreatePlaylistMetadata struct {
	RatingKey    *string `json:"ratingKey,omitempty"`
	Key          *string `json:"key,omitempty"`
	GUID         *string `json:"guid,omitempty"`
	Type         *string `json:"type,omitempty"`
	Title        *string `json:"title,omitempty"`
	Summary      *string `json:"summary,omitempty"`
	Smart        *bool   `json:"smart,omitempty"`
	PlaylistType *string `json:"playlistType,omitempty"`
	Icon         *string `json:"icon,omitempty"`
	ViewCount    *int    `json:"viewCount,omitempty"`
	LastViewedAt *int    `json:"lastViewedAt,omitempty"`
	LeafCount    *int    `json:"leafCount,omitempty"`
	AddedAt      *int    `json:"addedAt,omitempty"`
	UpdatedAt    *int    `json:"updatedAt,omitempty"`
	Composite    *string `json:"composite,omitempty"`
	Duration     *int    `json:"duration,omitempty"`
}

func (*CreatePlaylistMetadata) GetAddedAt added in v0.1.1

func (o *CreatePlaylistMetadata) GetAddedAt() *int

func (*CreatePlaylistMetadata) GetComposite added in v0.1.1

func (o *CreatePlaylistMetadata) GetComposite() *string

func (*CreatePlaylistMetadata) GetDuration added in v0.1.1

func (o *CreatePlaylistMetadata) GetDuration() *int

func (*CreatePlaylistMetadata) GetGUID added in v0.1.1

func (o *CreatePlaylistMetadata) GetGUID() *string

func (*CreatePlaylistMetadata) GetIcon added in v0.1.1

func (o *CreatePlaylistMetadata) GetIcon() *string

func (*CreatePlaylistMetadata) GetKey added in v0.1.1

func (o *CreatePlaylistMetadata) GetKey() *string

func (*CreatePlaylistMetadata) GetLastViewedAt added in v0.1.1

func (o *CreatePlaylistMetadata) GetLastViewedAt() *int

func (*CreatePlaylistMetadata) GetLeafCount added in v0.1.1

func (o *CreatePlaylistMetadata) GetLeafCount() *int

func (*CreatePlaylistMetadata) GetPlaylistType added in v0.1.1

func (o *CreatePlaylistMetadata) GetPlaylistType() *string

func (*CreatePlaylistMetadata) GetRatingKey added in v0.1.1

func (o *CreatePlaylistMetadata) GetRatingKey() *string

func (*CreatePlaylistMetadata) GetSmart added in v0.1.1

func (o *CreatePlaylistMetadata) GetSmart() *bool

func (*CreatePlaylistMetadata) GetSummary added in v0.1.1

func (o *CreatePlaylistMetadata) GetSummary() *string

func (*CreatePlaylistMetadata) GetTitle added in v0.1.1

func (o *CreatePlaylistMetadata) GetTitle() *string

func (*CreatePlaylistMetadata) GetType added in v0.1.1

func (o *CreatePlaylistMetadata) GetType() *string

func (*CreatePlaylistMetadata) GetUpdatedAt added in v0.1.1

func (o *CreatePlaylistMetadata) GetUpdatedAt() *int

func (*CreatePlaylistMetadata) GetViewCount added in v0.1.1

func (o *CreatePlaylistMetadata) GetViewCount() *int

type CreatePlaylistQueryParamType added in v0.11.1

type CreatePlaylistQueryParamType string

CreatePlaylistQueryParamType - type of playlist to create

const (
	CreatePlaylistQueryParamTypeAudio CreatePlaylistQueryParamType = "audio"
	CreatePlaylistQueryParamTypeVideo CreatePlaylistQueryParamType = "video"
	CreatePlaylistQueryParamTypePhoto CreatePlaylistQueryParamType = "photo"
)

func (CreatePlaylistQueryParamType) ToPointer added in v0.11.1

func (*CreatePlaylistQueryParamType) UnmarshalJSON added in v0.11.1

func (e *CreatePlaylistQueryParamType) UnmarshalJSON(data []byte) error

type CreatePlaylistRequest

type CreatePlaylistRequest struct {
	// name of the playlist
	Title string `queryParam:"style=form,explode=true,name=title"`
	// type of playlist to create
	Type CreatePlaylistQueryParamType `queryParam:"style=form,explode=true,name=type"`
	// whether the playlist is smart or not
	Smart Smart `queryParam:"style=form,explode=true,name=smart"`
	// the content URI for the playlist
	URI string `queryParam:"style=form,explode=true,name=uri"`
	// the play queue to copy to a playlist
	PlayQueueID *float64 `queryParam:"style=form,explode=true,name=playQueueID"`
}

func (*CreatePlaylistRequest) GetPlayQueueID

func (o *CreatePlaylistRequest) GetPlayQueueID() *float64

func (*CreatePlaylistRequest) GetSmart

func (o *CreatePlaylistRequest) GetSmart() Smart

func (*CreatePlaylistRequest) GetTitle

func (o *CreatePlaylistRequest) GetTitle() string

func (*CreatePlaylistRequest) GetType

func (*CreatePlaylistRequest) GetURI

func (o *CreatePlaylistRequest) GetURI() string

type CreatePlaylistResponse

type CreatePlaylistResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// returns all playlists
	Object *CreatePlaylistResponseBody
}

func (*CreatePlaylistResponse) GetContentType

func (o *CreatePlaylistResponse) GetContentType() string

func (*CreatePlaylistResponse) GetObject added in v0.1.1

func (*CreatePlaylistResponse) GetRawResponse

func (o *CreatePlaylistResponse) GetRawResponse() *http.Response

func (*CreatePlaylistResponse) GetStatusCode

func (o *CreatePlaylistResponse) GetStatusCode() int

type CreatePlaylistResponseBody added in v0.1.1

type CreatePlaylistResponseBody struct {
	MediaContainer *CreatePlaylistMediaContainer `json:"MediaContainer,omitempty"`
}

CreatePlaylistResponseBody - returns all playlists

func (*CreatePlaylistResponseBody) GetMediaContainer added in v0.1.1

type DefaultDirection added in v0.12.1

type DefaultDirection string

DefaultDirection - The direction of the sort. Can be either `asc` or `desc`.

const (
	DefaultDirectionAscending  DefaultDirection = "asc"
	DefaultDirectionDescending DefaultDirection = "desc"
)

func (DefaultDirection) ToPointer added in v0.12.1

func (e DefaultDirection) ToPointer() *DefaultDirection

func (*DefaultDirection) UnmarshalJSON added in v0.12.1

func (e *DefaultDirection) UnmarshalJSON(data []byte) error

type DefaultSubtitleAccessibility added in v0.11.1

type DefaultSubtitleAccessibility int

DefaultSubtitleAccessibility - The subtitles for the deaf or hard-of-hearing (SDH) searches mode (0 = Prefer non-SDH subtitles, 1 = Prefer SDH subtitles, 2 = Only show SDH subtitles, 3 = Only show non-SDH subtitles)

const (
	DefaultSubtitleAccessibilityDisable DefaultSubtitleAccessibility = 0
	DefaultSubtitleAccessibilityEnable  DefaultSubtitleAccessibility = 1
)

func (DefaultSubtitleAccessibility) ToPointer added in v0.11.1

func (*DefaultSubtitleAccessibility) UnmarshalJSON added in v0.11.1

func (e *DefaultSubtitleAccessibility) UnmarshalJSON(data []byte) error

type DefaultSubtitleForced added in v0.11.1

type DefaultSubtitleForced int

DefaultSubtitleForced - The forced subtitles searches mode (0 = Prefer non-forced subtitles, 1 = Prefer forced subtitles, 2 = Only show forced subtitles, 3 = Only show non-forced subtitles)

const (
	DefaultSubtitleForcedDisable DefaultSubtitleForced = 0
	DefaultSubtitleForcedEnable  DefaultSubtitleForced = 1
)

func (DefaultSubtitleForced) ToPointer added in v0.11.1

func (*DefaultSubtitleForced) UnmarshalJSON added in v0.11.1

func (e *DefaultSubtitleForced) UnmarshalJSON(data []byte) error

type DeleteLibraryRequest

type DeleteLibraryRequest struct {
	// The unique key of the Plex library.
	// Note: This is unique in the context of the Plex server.
	//
	SectionKey int `pathParam:"style=simple,explode=false,name=sectionKey"`
}

func (*DeleteLibraryRequest) GetSectionKey added in v0.11.1

func (o *DeleteLibraryRequest) GetSectionKey() int

type DeleteLibraryResponse

type DeleteLibraryResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*DeleteLibraryResponse) GetContentType

func (o *DeleteLibraryResponse) GetContentType() string

func (*DeleteLibraryResponse) GetRawResponse

func (o *DeleteLibraryResponse) GetRawResponse() *http.Response

func (*DeleteLibraryResponse) GetStatusCode

func (o *DeleteLibraryResponse) GetStatusCode() int

type DeletePlaylistRequest

type DeletePlaylistRequest struct {
	// the ID of the playlist
	PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
}

func (*DeletePlaylistRequest) GetPlaylistID

func (o *DeletePlaylistRequest) GetPlaylistID() float64

type DeletePlaylistResponse

type DeletePlaylistResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*DeletePlaylistResponse) GetContentType

func (o *DeletePlaylistResponse) GetContentType() string

func (*DeletePlaylistResponse) GetRawResponse

func (o *DeletePlaylistResponse) GetRawResponse() *http.Response

func (*DeletePlaylistResponse) GetStatusCode

func (o *DeletePlaylistResponse) GetStatusCode() int

type Device

type Device struct {
	ID               *float64 `json:"id,omitempty"`
	Name             *string  `json:"name,omitempty"`
	Platform         *string  `json:"platform,omitempty"`
	ClientIdentifier *string  `json:"clientIdentifier,omitempty"`
	CreatedAt        *float64 `json:"createdAt,omitempty"`
}

func (*Device) GetClientIdentifier

func (o *Device) GetClientIdentifier() *string

func (*Device) GetCreatedAt

func (o *Device) GetCreatedAt() *float64

func (*Device) GetID

func (o *Device) GetID() *float64

func (*Device) GetName

func (o *Device) GetName() *string

func (*Device) GetPlatform

func (o *Device) GetPlatform() *string

type Director

type Director struct {
	Tag *string `json:"tag,omitempty"`
}

func (*Director) GetTag

func (o *Director) GetTag() *string

type Directory

type Directory struct {
	Count *float64 `json:"count,omitempty"`
	Key   *string  `json:"key,omitempty"`
	Title *string  `json:"title,omitempty"`
}

func (*Directory) GetCount

func (o *Directory) GetCount() *float64

func (*Directory) GetKey

func (o *Directory) GetKey() *string

func (*Directory) GetTitle

func (o *Directory) GetTitle() *string

type Download

type Download int64

Download - Indicate that you want to start download any updates found.

const (
	DownloadZero Download = 0
	DownloadOne  Download = 1
)

func (Download) ToPointer

func (e Download) ToPointer() *Download

func (*Download) UnmarshalJSON

func (e *Download) UnmarshalJSON(data []byte) error

type EnableCreditsMarkerGeneration added in v0.17.2

type EnableCreditsMarkerGeneration string

EnableCreditsMarkerGeneration - Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).

const (
	EnableCreditsMarkerGenerationLibraryDefault EnableCreditsMarkerGeneration = "-1"
	EnableCreditsMarkerGenerationDisabled       EnableCreditsMarkerGeneration = "0"
)

func (EnableCreditsMarkerGeneration) ToPointer added in v0.17.2

func (*EnableCreditsMarkerGeneration) UnmarshalJSON added in v0.17.2

func (e *EnableCreditsMarkerGeneration) UnmarshalJSON(data []byte) error

type EnablePaperTrailResponse

type EnablePaperTrailResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*EnablePaperTrailResponse) GetContentType

func (o *EnablePaperTrailResponse) GetContentType() string

func (*EnablePaperTrailResponse) GetRawResponse

func (o *EnablePaperTrailResponse) GetRawResponse() *http.Response

func (*EnablePaperTrailResponse) GetStatusCode

func (o *EnablePaperTrailResponse) GetStatusCode() int

type EpisodeSort added in v0.17.2

type EpisodeSort string

EpisodeSort - Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).

const (
	EpisodeSortLibraryDefault EpisodeSort = "-1"
	EpisodeSortOldestFirst    EpisodeSort = "0"
	EpisodeSortNewestFirst    EpisodeSort = "1"
)

func (EpisodeSort) ToPointer added in v0.17.2

func (e EpisodeSort) ToPointer() *EpisodeSort

func (*EpisodeSort) UnmarshalJSON added in v0.17.2

func (e *EpisodeSort) UnmarshalJSON(data []byte) error

type Feature added in v0.11.1

type Feature struct {
	Key           *string                      `json:"key,omitempty"`
	Type          string                       `json:"type"`
	Flavor        *string                      `json:"flavor,omitempty"`
	ScrobbleKey   *string                      `json:"scrobbleKey,omitempty"`
	UnscrobbleKey *string                      `json:"unscrobbleKey,omitempty"`
	Directory     []GetMediaProvidersDirectory `json:"Directory,omitempty"`
	Action        []Action                     `json:"Action,omitempty"`
}

func (*Feature) GetAction added in v0.12.1

func (o *Feature) GetAction() []Action

func (*Feature) GetDirectory added in v0.11.1

func (o *Feature) GetDirectory() []GetMediaProvidersDirectory

func (*Feature) GetFlavor added in v0.12.1

func (o *Feature) GetFlavor() *string

func (*Feature) GetKey added in v0.11.1

func (o *Feature) GetKey() *string

func (*Feature) GetScrobbleKey added in v0.12.1

func (o *Feature) GetScrobbleKey() *string

func (*Feature) GetType added in v0.11.1

func (o *Feature) GetType() string

func (*Feature) GetUnscrobbleKey added in v0.12.1

func (o *Feature) GetUnscrobbleKey() *string

type Field added in v0.1.0

type Field struct {
	Key     string  `json:"key"`
	Title   string  `json:"title"`
	Type    string  `json:"type"`
	SubType *string `json:"subType,omitempty"`
}

func (*Field) GetKey added in v0.1.0

func (o *Field) GetKey() string

func (*Field) GetSubType added in v0.1.0

func (o *Field) GetSubType() *string

func (*Field) GetTitle added in v0.1.0

func (o *Field) GetTitle() string

func (*Field) GetType added in v0.1.0

func (o *Field) GetType() string

type FieldType added in v0.1.0

type FieldType struct {
	Type     string     `json:"type"`
	Operator []Operator `json:"Operator"`
}

func (*FieldType) GetOperator added in v0.1.0

func (o *FieldType) GetOperator() []Operator

func (*FieldType) GetType added in v0.1.0

func (o *FieldType) GetType() string

type Filter added in v0.1.0

type Filter string

Filter

const (
	FilterAll       Filter = "all"
	FilterAvailable Filter = "available"
	FilterReleased  Filter = "released"
)

func (Filter) ToPointer added in v0.9.0

func (e Filter) ToPointer() *Filter

func (*Filter) UnmarshalJSON added in v0.9.0

func (e *Filter) UnmarshalJSON(data []byte) error

type FlattenSeasons added in v0.12.1

type FlattenSeasons string

FlattenSeasons - Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show).

const (
	FlattenSeasonsLibraryDefault FlattenSeasons = "-1"
	FlattenSeasonsHide           FlattenSeasons = "0"
	FlattenSeasonsShow           FlattenSeasons = "1"
)

func (FlattenSeasons) ToPointer added in v0.12.1

func (e FlattenSeasons) ToPointer() *FlattenSeasons

func (*FlattenSeasons) UnmarshalJSON added in v0.12.1

func (e *FlattenSeasons) UnmarshalJSON(data []byte) error

type Force

type Force int64

Force the refresh even if the library is already being refreshed.

const (
	ForceZero Force = 0
	ForceOne  Force = 1
)

func (Force) ToPointer

func (e Force) ToPointer() *Force

func (*Force) UnmarshalJSON

func (e *Force) UnmarshalJSON(data []byte) error

type Friend added in v0.11.1

type Friend struct {
	// The account email address
	Email string `json:"email"`
	// The account full name
	FriendlyName *string `json:"friendlyName"`
	// If the account is a Plex Home user
	Home bool `json:"home"`
	// The Plex account ID
	ID int `json:"id"`
	// If the account is a Plex Home managed user
	Restricted    *bool           `default:"false" json:"restricted"`
	SharedServers []SharedServers `json:"sharedServers"`
	SharedSources []SharedSources `json:"sharedSources"`
	// Current friend request status
	Status Status `json:"status"`
	// URL of the account thumbnail
	Thumb string `json:"thumb"`
	// The title of the account (username or friendly name)
	Title string `json:"title"`
	// The account username
	Username string `json:"username"`
	// The account Universally Unique Identifier (UUID)
	UUID string `json:"uuid"`
}

func (*Friend) GetEmail added in v0.11.1

func (o *Friend) GetEmail() string

func (*Friend) GetFriendlyName added in v0.11.1

func (o *Friend) GetFriendlyName() *string

func (*Friend) GetHome added in v0.11.1

func (o *Friend) GetHome() bool

func (*Friend) GetID added in v0.11.1

func (o *Friend) GetID() int

func (*Friend) GetRestricted added in v0.11.1

func (o *Friend) GetRestricted() *bool

func (*Friend) GetSharedServers added in v0.11.1

func (o *Friend) GetSharedServers() []SharedServers

func (*Friend) GetSharedSources added in v0.11.1

func (o *Friend) GetSharedSources() []SharedSources

func (*Friend) GetStatus added in v0.11.1

func (o *Friend) GetStatus() Status

func (*Friend) GetThumb added in v0.11.1

func (o *Friend) GetThumb() string

func (*Friend) GetTitle added in v0.11.1

func (o *Friend) GetTitle() string

func (*Friend) GetUUID added in v0.11.1

func (o *Friend) GetUUID() string

func (*Friend) GetUsername added in v0.11.1

func (o *Friend) GetUsername() string

func (Friend) MarshalJSON added in v0.11.1

func (f Friend) MarshalJSON() ([]byte, error)

func (*Friend) UnmarshalJSON added in v0.11.1

func (f *Friend) UnmarshalJSON(data []byte) error

type Genre

type Genre struct {
	Tag *string `json:"tag,omitempty"`
}

func (*Genre) GetTag

func (o *Genre) GetTag() *string

type GeoData added in v0.11.1

type GeoData struct {
	// The ISO 3166-1 alpha-2 code of the country.
	Code string `json:"code"`
	// The continent code where the country is located.
	ContinentCode string `json:"continent_code"`
	// The official name of the country.
	Country string `json:"country"`
	// The name of the city.
	City string `json:"city"`
	// Indicates if the country is a member of the European Union.
	EuropeanUnionMember *bool `default:"false" json:"european_union_member"`
	// The time zone of the country.
	TimeZone string `json:"time_zone"`
	// The postal code of the location.
	PostalCode string `json:"postal_code"`
	// Indicates if the country has privacy restrictions.
	InPrivacyRestrictedCountry *bool `default:"false" json:"in_privacy_restricted_country"`
	// Indicates if the region has privacy restrictions.
	InPrivacyRestrictedRegion *bool `default:"false" json:"in_privacy_restricted_region"`
	// The name of the primary administrative subdivision.
	Subdivisions string `json:"subdivisions"`
	// The geographical coordinates (latitude, longitude) of the location.
	Coordinates string `json:"coordinates"`
}

GeoData - Geo location data

func (*GeoData) GetCity added in v0.11.1

func (o *GeoData) GetCity() string

func (*GeoData) GetCode added in v0.11.1

func (o *GeoData) GetCode() string

func (*GeoData) GetContinentCode added in v0.11.1

func (o *GeoData) GetContinentCode() string

func (*GeoData) GetCoordinates added in v0.11.1

func (o *GeoData) GetCoordinates() string

func (*GeoData) GetCountry added in v0.11.1

func (o *GeoData) GetCountry() string

func (*GeoData) GetEuropeanUnionMember added in v0.11.1

func (o *GeoData) GetEuropeanUnionMember() *bool

func (*GeoData) GetInPrivacyRestrictedCountry added in v0.11.1

func (o *GeoData) GetInPrivacyRestrictedCountry() *bool

func (*GeoData) GetInPrivacyRestrictedRegion added in v0.11.1

func (o *GeoData) GetInPrivacyRestrictedRegion() *bool

func (*GeoData) GetPostalCode added in v0.11.1

func (o *GeoData) GetPostalCode() string

func (*GeoData) GetSubdivisions added in v0.11.1

func (o *GeoData) GetSubdivisions() string

func (*GeoData) GetTimeZone added in v0.11.1

func (o *GeoData) GetTimeZone() string

func (GeoData) MarshalJSON added in v0.11.1

func (g GeoData) MarshalJSON() ([]byte, error)

func (*GeoData) UnmarshalJSON added in v0.11.1

func (g *GeoData) UnmarshalJSON(data []byte) error

type GetActorsLibraryDirectory added in v0.18.1

type GetActorsLibraryDirectory struct {
	// A fast lookup key for the actor relative url.
	FastKey string `json:"fastKey"`
	// URL for the thumbnail image of the actor.
	Thumb string `json:"thumb"`
	// A unique key representing the actor.
	Key string `json:"key"`
	// The name of the actor.
	Title string `json:"title"`
}

func (*GetActorsLibraryDirectory) GetFastKey added in v0.18.1

func (o *GetActorsLibraryDirectory) GetFastKey() string

func (*GetActorsLibraryDirectory) GetKey added in v0.18.1

func (o *GetActorsLibraryDirectory) GetKey() string

func (*GetActorsLibraryDirectory) GetThumb added in v0.18.1

func (o *GetActorsLibraryDirectory) GetThumb() string

func (*GetActorsLibraryDirectory) GetTitle added in v0.18.1

func (o *GetActorsLibraryDirectory) GetTitle() string

type GetActorsLibraryMediaContainer added in v0.18.1

type GetActorsLibraryMediaContainer struct {
	// Number of media items returned in this response.
	Size int `json:"size"`
	// Indicates whether syncing is allowed.
	AllowSync bool `json:"allowSync"`
	// URL for the background artwork of the media container.
	Art string `json:"art"`
	// An plugin identifier for the media container.
	Identifier string `json:"identifier"`
	// The prefix used for media tag resource paths.
	MediaTagPrefix string `json:"mediaTagPrefix"`
	// The version number for media tags.
	MediaTagVersion int64 `json:"mediaTagVersion"`
	// Specifies whether caching is disabled.
	Nocache bool `json:"nocache"`
	// URL for the thumbnail image of the media container.
	Thumb string `json:"thumb"`
	// The primary title of the media container.
	Title1 string `json:"title1"`
	// The secondary title of the media container.
	Title2 string `json:"title2"`
	// Identifier for the view group layout.
	ViewGroup string `json:"viewGroup"`
	// Identifier for the view mode.
	ViewMode string `json:"viewMode"`
	// An array of actor entries for media items.
	Directory []GetActorsLibraryDirectory `json:"Directory,omitempty"`
}

func (*GetActorsLibraryMediaContainer) GetAllowSync added in v0.18.1

func (o *GetActorsLibraryMediaContainer) GetAllowSync() bool

func (*GetActorsLibraryMediaContainer) GetArt added in v0.18.1

func (*GetActorsLibraryMediaContainer) GetDirectory added in v0.18.1

func (*GetActorsLibraryMediaContainer) GetIdentifier added in v0.18.1

func (o *GetActorsLibraryMediaContainer) GetIdentifier() string

func (*GetActorsLibraryMediaContainer) GetMediaTagPrefix added in v0.18.1

func (o *GetActorsLibraryMediaContainer) GetMediaTagPrefix() string

func (*GetActorsLibraryMediaContainer) GetMediaTagVersion added in v0.18.1

func (o *GetActorsLibraryMediaContainer) GetMediaTagVersion() int64

func (*GetActorsLibraryMediaContainer) GetNocache added in v0.18.1

func (o *GetActorsLibraryMediaContainer) GetNocache() bool

func (*GetActorsLibraryMediaContainer) GetSize added in v0.18.1

func (o *GetActorsLibraryMediaContainer) GetSize() int

func (*GetActorsLibraryMediaContainer) GetThumb added in v0.18.1

func (o *GetActorsLibraryMediaContainer) GetThumb() string

func (*GetActorsLibraryMediaContainer) GetTitle1 added in v0.18.1

func (o *GetActorsLibraryMediaContainer) GetTitle1() string

func (*GetActorsLibraryMediaContainer) GetTitle2 added in v0.18.1

func (o *GetActorsLibraryMediaContainer) GetTitle2() string

func (*GetActorsLibraryMediaContainer) GetViewGroup added in v0.18.1

func (o *GetActorsLibraryMediaContainer) GetViewGroup() string

func (*GetActorsLibraryMediaContainer) GetViewMode added in v0.18.1

func (o *GetActorsLibraryMediaContainer) GetViewMode() string

type GetActorsLibraryQueryParamType added in v0.18.1

type GetActorsLibraryQueryParamType int64

GetActorsLibraryQueryParamType - The type of media to retrieve or filter by. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries

const (
	GetActorsLibraryQueryParamTypeMovie   GetActorsLibraryQueryParamType = 1
	GetActorsLibraryQueryParamTypeTvShow  GetActorsLibraryQueryParamType = 2
	GetActorsLibraryQueryParamTypeSeason  GetActorsLibraryQueryParamType = 3
	GetActorsLibraryQueryParamTypeEpisode GetActorsLibraryQueryParamType = 4
	GetActorsLibraryQueryParamTypeAudio   GetActorsLibraryQueryParamType = 8
	GetActorsLibraryQueryParamTypeAlbum   GetActorsLibraryQueryParamType = 9
	GetActorsLibraryQueryParamTypeTrack   GetActorsLibraryQueryParamType = 10
)

func (GetActorsLibraryQueryParamType) ToPointer added in v0.18.1

func (*GetActorsLibraryQueryParamType) UnmarshalJSON added in v0.18.1

func (e *GetActorsLibraryQueryParamType) UnmarshalJSON(data []byte) error

type GetActorsLibraryRequest added in v0.18.1

type GetActorsLibraryRequest struct {
	// The unique key of the Plex library.
	// Note: This is unique in the context of the Plex server.
	//
	SectionKey int `pathParam:"style=simple,explode=false,name=sectionKey"`
	// The type of media to retrieve or filter by.
	// 1 = movie
	// 2 = show
	// 3 = season
	// 4 = episode
	// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
	//
	Type GetActorsLibraryQueryParamType `queryParam:"style=form,explode=true,name=type"`
}

func (*GetActorsLibraryRequest) GetSectionKey added in v0.18.1

func (o *GetActorsLibraryRequest) GetSectionKey() int

func (*GetActorsLibraryRequest) GetType added in v0.18.1

type GetActorsLibraryResponse added in v0.18.1

type GetActorsLibraryResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Successful response containing media container data.
	Object *GetActorsLibraryResponseBody
}

func (*GetActorsLibraryResponse) GetContentType added in v0.18.1

func (o *GetActorsLibraryResponse) GetContentType() string

func (*GetActorsLibraryResponse) GetObject added in v0.18.1

func (*GetActorsLibraryResponse) GetRawResponse added in v0.18.1

func (o *GetActorsLibraryResponse) GetRawResponse() *http.Response

func (*GetActorsLibraryResponse) GetStatusCode added in v0.18.1

func (o *GetActorsLibraryResponse) GetStatusCode() int

type GetActorsLibraryResponseBody added in v0.18.1

type GetActorsLibraryResponseBody struct {
	MediaContainer *GetActorsLibraryMediaContainer `json:"MediaContainer,omitempty"`
}

GetActorsLibraryResponseBody - Successful response containing media container data.

func (*GetActorsLibraryResponseBody) GetMediaContainer added in v0.18.1

type GetAllLibrariesDirectory added in v0.11.1

type GetAllLibrariesDirectory struct {
	AllowSync  bool   `json:"allowSync"`
	Art        string `json:"art"`
	Composite  string `json:"composite"`
	Filters    bool   `json:"filters"`
	Refreshing bool   `json:"refreshing"`
	Thumb      string `json:"thumb"`
	Key        string `json:"key"`
	Type       string `json:"type"`
	Title      string `json:"title"`
	Agent      string `json:"agent"`
	Scanner    string `json:"scanner"`
	Language   string `json:"language"`
	UUID       string `json:"uuid"`
	// Unix epoch datetime in seconds
	UpdatedAt int64 `json:"updatedAt"`
	// Unix epoch datetime in seconds
	CreatedAt int64 `json:"createdAt"`
	// Unix epoch datetime in seconds
	ScannedAt int64 `json:"scannedAt"`
	Content   bool  `json:"content"`
	Directory bool  `json:"directory"`
	// Unix epoch datetime in seconds
	ContentChangedAt int64                     `json:"contentChangedAt"`
	Hidden           int                       `json:"hidden"`
	Location         []GetAllLibrariesLocation `json:"Location"`
}

func (*GetAllLibrariesDirectory) GetAgent added in v0.11.1

func (o *GetAllLibrariesDirectory) GetAgent() string

func (*GetAllLibrariesDirectory) GetAllowSync added in v0.11.1

func (o *GetAllLibrariesDirectory) GetAllowSync() bool

func (*GetAllLibrariesDirectory) GetArt added in v0.11.1

func (o *GetAllLibrariesDirectory) GetArt() string

func (*GetAllLibrariesDirectory) GetComposite added in v0.11.1

func (o *GetAllLibrariesDirectory) GetComposite() string

func (*GetAllLibrariesDirectory) GetContent added in v0.11.1

func (o *GetAllLibrariesDirectory) GetContent() bool

func (*GetAllLibrariesDirectory) GetContentChangedAt added in v0.11.1

func (o *GetAllLibrariesDirectory) GetContentChangedAt() int64

func (*GetAllLibrariesDirectory) GetCreatedAt added in v0.11.1

func (o *GetAllLibrariesDirectory) GetCreatedAt() int64

func (*GetAllLibrariesDirectory) GetDirectory added in v0.11.1

func (o *GetAllLibrariesDirectory) GetDirectory() bool

func (*GetAllLibrariesDirectory) GetFilters added in v0.11.1

func (o *GetAllLibrariesDirectory) GetFilters() bool

func (*GetAllLibrariesDirectory) GetHidden added in v0.11.1

func (o *GetAllLibrariesDirectory) GetHidden() int

func (*GetAllLibrariesDirectory) GetKey added in v0.11.1

func (o *GetAllLibrariesDirectory) GetKey() string

func (*GetAllLibrariesDirectory) GetLanguage added in v0.11.1

func (o *GetAllLibrariesDirectory) GetLanguage() string

func (*GetAllLibrariesDirectory) GetLocation added in v0.11.1

func (*GetAllLibrariesDirectory) GetRefreshing added in v0.11.1

func (o *GetAllLibrariesDirectory) GetRefreshing() bool

func (*GetAllLibrariesDirectory) GetScannedAt added in v0.11.1

func (o *GetAllLibrariesDirectory) GetScannedAt() int64

func (*GetAllLibrariesDirectory) GetScanner added in v0.11.1

func (o *GetAllLibrariesDirectory) GetScanner() string

func (*GetAllLibrariesDirectory) GetThumb added in v0.11.1

func (o *GetAllLibrariesDirectory) GetThumb() string

func (*GetAllLibrariesDirectory) GetTitle added in v0.11.1

func (o *GetAllLibrariesDirectory) GetTitle() string

func (*GetAllLibrariesDirectory) GetType added in v0.11.1

func (o *GetAllLibrariesDirectory) GetType() string

func (*GetAllLibrariesDirectory) GetUUID added in v0.11.1

func (o *GetAllLibrariesDirectory) GetUUID() string

func (*GetAllLibrariesDirectory) GetUpdatedAt added in v0.11.1

func (o *GetAllLibrariesDirectory) GetUpdatedAt() int64

type GetAllLibrariesLocation added in v0.15.0

type GetAllLibrariesLocation struct {
	ID   int    `json:"id"`
	Path string `json:"path"`
}

func (*GetAllLibrariesLocation) GetID added in v0.15.0

func (o *GetAllLibrariesLocation) GetID() int

func (*GetAllLibrariesLocation) GetPath added in v0.15.0

func (o *GetAllLibrariesLocation) GetPath() string

type GetAllLibrariesMediaContainer added in v0.11.1

type GetAllLibrariesMediaContainer struct {
	Size      int                        `json:"size"`
	AllowSync bool                       `json:"allowSync"`
	Title1    string                     `json:"title1"`
	Directory []GetAllLibrariesDirectory `json:"Directory"`
}

func (*GetAllLibrariesMediaContainer) GetAllowSync added in v0.11.1

func (o *GetAllLibrariesMediaContainer) GetAllowSync() bool

func (*GetAllLibrariesMediaContainer) GetDirectory added in v0.11.1

func (*GetAllLibrariesMediaContainer) GetSize added in v0.11.1

func (o *GetAllLibrariesMediaContainer) GetSize() int

func (*GetAllLibrariesMediaContainer) GetTitle1 added in v0.11.1

func (o *GetAllLibrariesMediaContainer) GetTitle1() string

type GetAllLibrariesResponse added in v0.11.1

type GetAllLibrariesResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The libraries available on the Server
	Object *GetAllLibrariesResponseBody
}

func (*GetAllLibrariesResponse) GetContentType added in v0.11.1

func (o *GetAllLibrariesResponse) GetContentType() string

func (*GetAllLibrariesResponse) GetObject added in v0.11.1

func (*GetAllLibrariesResponse) GetRawResponse added in v0.11.1

func (o *GetAllLibrariesResponse) GetRawResponse() *http.Response

func (*GetAllLibrariesResponse) GetStatusCode added in v0.11.1

func (o *GetAllLibrariesResponse) GetStatusCode() int

type GetAllLibrariesResponseBody added in v0.11.1

type GetAllLibrariesResponseBody struct {
	MediaContainer GetAllLibrariesMediaContainer `json:"MediaContainer"`
}

GetAllLibrariesResponseBody - The libraries available on the Server

func (*GetAllLibrariesResponseBody) GetMediaContainer added in v0.11.1

type GetAllMediaLibraryActiveDirection added in v0.19.0

type GetAllMediaLibraryActiveDirection string

GetAllMediaLibraryActiveDirection - The direction of the sort. Can be either `asc` or `desc`.

const (
	GetAllMediaLibraryActiveDirectionAscending  GetAllMediaLibraryActiveDirection = "asc"
	GetAllMediaLibraryActiveDirectionDescending GetAllMediaLibraryActiveDirection = "desc"
)

func (GetAllMediaLibraryActiveDirection) ToPointer added in v0.19.0

func (*GetAllMediaLibraryActiveDirection) UnmarshalJSON added in v0.19.0

func (e *GetAllMediaLibraryActiveDirection) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryCollection added in v0.19.0

type GetAllMediaLibraryCollection struct {
	// The user-made collection this media item belongs to
	Tag string `json:"tag"`
}

func (*GetAllMediaLibraryCollection) GetTag added in v0.19.0

type GetAllMediaLibraryCountry added in v0.19.0

type GetAllMediaLibraryCountry struct {
	// The country of origin of this media item
	Tag string `json:"tag"`
}

func (*GetAllMediaLibraryCountry) GetTag added in v0.19.0

func (o *GetAllMediaLibraryCountry) GetTag() string

type GetAllMediaLibraryDefaultDirection added in v0.19.0

type GetAllMediaLibraryDefaultDirection string

GetAllMediaLibraryDefaultDirection - The direction of the sort. Can be either `asc` or `desc`.

const (
	GetAllMediaLibraryDefaultDirectionAscending  GetAllMediaLibraryDefaultDirection = "asc"
	GetAllMediaLibraryDefaultDirectionDescending GetAllMediaLibraryDefaultDirection = "desc"
)

func (GetAllMediaLibraryDefaultDirection) ToPointer added in v0.19.0

func (*GetAllMediaLibraryDefaultDirection) UnmarshalJSON added in v0.19.0

func (e *GetAllMediaLibraryDefaultDirection) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryDirector added in v0.19.0

type GetAllMediaLibraryDirector struct {
	// The role of Director
	Tag string `json:"tag"`
}

func (*GetAllMediaLibraryDirector) GetTag added in v0.19.0

func (o *GetAllMediaLibraryDirector) GetTag() string

type GetAllMediaLibraryField added in v0.19.0

type GetAllMediaLibraryField struct {
	Key     string  `json:"key"`
	Title   string  `json:"title"`
	Type    string  `json:"type"`
	SubType *string `json:"subType,omitempty"`
}

func (*GetAllMediaLibraryField) GetKey added in v0.19.0

func (o *GetAllMediaLibraryField) GetKey() string

func (*GetAllMediaLibraryField) GetSubType added in v0.19.0

func (o *GetAllMediaLibraryField) GetSubType() *string

func (*GetAllMediaLibraryField) GetTitle added in v0.19.0

func (o *GetAllMediaLibraryField) GetTitle() string

func (*GetAllMediaLibraryField) GetType added in v0.19.0

func (o *GetAllMediaLibraryField) GetType() string

type GetAllMediaLibraryFieldType added in v0.19.0

type GetAllMediaLibraryFieldType struct {
	Type     string                       `json:"type"`
	Operator []GetAllMediaLibraryOperator `json:"Operator"`
}

func (*GetAllMediaLibraryFieldType) GetOperator added in v0.19.0

func (*GetAllMediaLibraryFieldType) GetType added in v0.19.0

func (o *GetAllMediaLibraryFieldType) GetType() string

type GetAllMediaLibraryFilter added in v0.19.0

type GetAllMediaLibraryFilter struct {
	Filter     string `json:"filter"`
	FilterType string `json:"filterType"`
	Key        string `json:"key"`
	Title      string `json:"title"`
	Type       string `json:"type"`
	Advanced   *bool  `json:"advanced,omitempty"`
}

func (*GetAllMediaLibraryFilter) GetAdvanced added in v0.19.0

func (o *GetAllMediaLibraryFilter) GetAdvanced() *bool

func (*GetAllMediaLibraryFilter) GetFilter added in v0.19.0

func (o *GetAllMediaLibraryFilter) GetFilter() string

func (*GetAllMediaLibraryFilter) GetFilterType added in v0.19.0

func (o *GetAllMediaLibraryFilter) GetFilterType() string

func (*GetAllMediaLibraryFilter) GetKey added in v0.19.0

func (o *GetAllMediaLibraryFilter) GetKey() string

func (*GetAllMediaLibraryFilter) GetTitle added in v0.19.0

func (o *GetAllMediaLibraryFilter) GetTitle() string

func (*GetAllMediaLibraryFilter) GetType added in v0.19.0

func (o *GetAllMediaLibraryFilter) GetType() string

type GetAllMediaLibraryGenre added in v0.19.0

type GetAllMediaLibraryGenre struct {
	// The country of origin of this media item
	Tag string `json:"tag"`
}

func (*GetAllMediaLibraryGenre) GetTag added in v0.19.0

func (o *GetAllMediaLibraryGenre) GetTag() string

type GetAllMediaLibraryHasThumbnail added in v0.19.0

type GetAllMediaLibraryHasThumbnail string

GetAllMediaLibraryHasThumbnail - Indicates if the part has a thumbnail.

const (
	GetAllMediaLibraryHasThumbnailFalse GetAllMediaLibraryHasThumbnail = "0"
	GetAllMediaLibraryHasThumbnailTrue  GetAllMediaLibraryHasThumbnail = "1"
)

func (GetAllMediaLibraryHasThumbnail) ToPointer added in v0.19.0

func (*GetAllMediaLibraryHasThumbnail) UnmarshalJSON added in v0.19.0

func (e *GetAllMediaLibraryHasThumbnail) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryImage added in v0.19.0

type GetAllMediaLibraryImage struct {
	Alt  string                                `json:"alt"`
	Type GetAllMediaLibraryLibraryResponseType `json:"type"`
	URL  string                                `json:"url"`
}

func (*GetAllMediaLibraryImage) GetAlt added in v0.19.0

func (o *GetAllMediaLibraryImage) GetAlt() string

func (*GetAllMediaLibraryImage) GetType added in v0.19.0

func (*GetAllMediaLibraryImage) GetURL added in v0.19.0

func (o *GetAllMediaLibraryImage) GetURL() string

type GetAllMediaLibraryLibraryOptimizedForStreaming added in v0.19.0

type GetAllMediaLibraryLibraryOptimizedForStreaming struct {
	GetAllMediaLibraryOptimizedForStreaming1 *GetAllMediaLibraryOptimizedForStreaming1 `queryParam:"inline"`
	Boolean                                  *bool                                     `queryParam:"inline"`

	Type GetAllMediaLibraryLibraryOptimizedForStreamingType
}

GetAllMediaLibraryLibraryOptimizedForStreaming - Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true

func CreateGetAllMediaLibraryLibraryOptimizedForStreamingBoolean added in v0.19.0

func CreateGetAllMediaLibraryLibraryOptimizedForStreamingBoolean(boolean bool) GetAllMediaLibraryLibraryOptimizedForStreaming

func CreateGetAllMediaLibraryLibraryOptimizedForStreamingGetAllMediaLibraryOptimizedForStreaming1 added in v0.19.0

func CreateGetAllMediaLibraryLibraryOptimizedForStreamingGetAllMediaLibraryOptimizedForStreaming1(getAllMediaLibraryOptimizedForStreaming1 GetAllMediaLibraryOptimizedForStreaming1) GetAllMediaLibraryLibraryOptimizedForStreaming

func (GetAllMediaLibraryLibraryOptimizedForStreaming) MarshalJSON added in v0.19.0

func (*GetAllMediaLibraryLibraryOptimizedForStreaming) UnmarshalJSON added in v0.19.0

type GetAllMediaLibraryLibraryOptimizedForStreamingType added in v0.19.0

type GetAllMediaLibraryLibraryOptimizedForStreamingType string
const (
	GetAllMediaLibraryLibraryOptimizedForStreamingTypeGetAllMediaLibraryOptimizedForStreaming1 GetAllMediaLibraryLibraryOptimizedForStreamingType = "get-all-media-library_optimizedForStreaming_1"
	GetAllMediaLibraryLibraryOptimizedForStreamingTypeBoolean                                  GetAllMediaLibraryLibraryOptimizedForStreamingType = "boolean"
)

type GetAllMediaLibraryLibraryResponseType added in v0.19.0

type GetAllMediaLibraryLibraryResponseType string
const (
	GetAllMediaLibraryLibraryResponseTypeCoverPoster GetAllMediaLibraryLibraryResponseType = "coverPoster"
	GetAllMediaLibraryLibraryResponseTypeBackground  GetAllMediaLibraryLibraryResponseType = "background"
	GetAllMediaLibraryLibraryResponseTypeSnapshot    GetAllMediaLibraryLibraryResponseType = "snapshot"
)

func (GetAllMediaLibraryLibraryResponseType) ToPointer added in v0.19.0

func (*GetAllMediaLibraryLibraryResponseType) UnmarshalJSON added in v0.19.0

func (e *GetAllMediaLibraryLibraryResponseType) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryLibraryType added in v0.19.0

type GetAllMediaLibraryLibraryType string

GetAllMediaLibraryLibraryType - The type of media content

const (
	GetAllMediaLibraryLibraryTypeMovie   GetAllMediaLibraryLibraryType = "movie"
	GetAllMediaLibraryLibraryTypeTvShow  GetAllMediaLibraryLibraryType = "show"
	GetAllMediaLibraryLibraryTypeSeason  GetAllMediaLibraryLibraryType = "season"
	GetAllMediaLibraryLibraryTypeEpisode GetAllMediaLibraryLibraryType = "episode"
	GetAllMediaLibraryLibraryTypeArtist  GetAllMediaLibraryLibraryType = "artist"
	GetAllMediaLibraryLibraryTypeAlbum   GetAllMediaLibraryLibraryType = "album"
)

func (GetAllMediaLibraryLibraryType) ToPointer added in v0.19.0

func (*GetAllMediaLibraryLibraryType) UnmarshalJSON added in v0.19.0

func (e *GetAllMediaLibraryLibraryType) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryMedia added in v0.19.0

type GetAllMediaLibraryMedia struct {
	// Unique media identifier.
	ID int64 `json:"id"`
	// Duration of the media in milliseconds.
	Duration *int `json:"duration,omitempty"`
	// Bitrate in bits per second.
	Bitrate *int `json:"bitrate,omitempty"`
	// Video width in pixels.
	Width *int `json:"width,omitempty"`
	// Video height in pixels.
	Height *int `json:"height,omitempty"`
	// Aspect ratio of the video.
	AspectRatio *float32 `json:"aspectRatio,omitempty"`
	// Number of audio channels.
	AudioChannels *int `json:"audioChannels,omitempty"`
	DisplayOffset *int `json:"displayOffset,omitempty"`
	// Audio codec used.
	AudioCodec *string `json:"audioCodec,omitempty"`
	// Video codec used.
	VideoCodec *string `json:"videoCodec,omitempty"`
	// Video resolution (e.g., 4k).
	VideoResolution *string `json:"videoResolution,omitempty"`
	// File container type.
	Container *string `json:"container,omitempty"`
	// Frame rate of the video. Values found include NTSC, PAL, 24p
	//
	VideoFrameRate *string `json:"videoFrameRate,omitempty"`
	// Video profile (e.g., main 10).
	VideoProfile *string `json:"videoProfile,omitempty"`
	// Indicates whether voice activity is detected.
	HasVoiceActivity bool `json:"hasVoiceActivity"`
	// The audio profile used for the media (e.g., DTS, Dolby Digital, etc.).
	AudioProfile *string `json:"audioProfile,omitempty"`
	// Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
	OptimizedForStreaming *GetAllMediaLibraryOptimizedForStreaming `json:"optimizedForStreaming,omitempty"`
	Has64bitOffsets       *bool                                    `json:"has64bitOffsets,omitempty"`
	// An array of parts for this media item.
	Part []GetAllMediaLibraryPart `json:"Part"`
}

func (*GetAllMediaLibraryMedia) GetAspectRatio added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetAspectRatio() *float32

func (*GetAllMediaLibraryMedia) GetAudioChannels added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetAudioChannels() *int

func (*GetAllMediaLibraryMedia) GetAudioCodec added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetAudioCodec() *string

func (*GetAllMediaLibraryMedia) GetAudioProfile added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetAudioProfile() *string

func (*GetAllMediaLibraryMedia) GetBitrate added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetBitrate() *int

func (*GetAllMediaLibraryMedia) GetContainer added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetContainer() *string

func (*GetAllMediaLibraryMedia) GetDisplayOffset added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetDisplayOffset() *int

func (*GetAllMediaLibraryMedia) GetDuration added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetDuration() *int

func (*GetAllMediaLibraryMedia) GetHas64bitOffsets added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetHas64bitOffsets() *bool

func (*GetAllMediaLibraryMedia) GetHasVoiceActivity added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetHasVoiceActivity() bool

func (*GetAllMediaLibraryMedia) GetHeight added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetHeight() *int

func (*GetAllMediaLibraryMedia) GetID added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetID() int64

func (*GetAllMediaLibraryMedia) GetOptimizedForStreaming added in v0.19.0

func (*GetAllMediaLibraryMedia) GetPart added in v0.19.0

func (*GetAllMediaLibraryMedia) GetVideoCodec added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetVideoCodec() *string

func (*GetAllMediaLibraryMedia) GetVideoFrameRate added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetVideoFrameRate() *string

func (*GetAllMediaLibraryMedia) GetVideoProfile added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetVideoProfile() *string

func (*GetAllMediaLibraryMedia) GetVideoResolution added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetVideoResolution() *string

func (*GetAllMediaLibraryMedia) GetWidth added in v0.19.0

func (o *GetAllMediaLibraryMedia) GetWidth() *int

type GetAllMediaLibraryMediaContainer added in v0.19.0

type GetAllMediaLibraryMediaContainer struct {
	// Number of media items returned in this response.
	Size int `json:"size"`
	// Total number of media items in the library.
	TotalSize int `json:"totalSize"`
	// Offset value for pagination.
	Offset int64 `json:"offset"`
	// Indicates whether syncing is allowed.
	AllowSync bool `json:"allowSync"`
	// URL for the background artwork of the media container.
	Art string `json:"art"`
	// The content type or mode.
	Content string `json:"content"`
	// An plugin identifier for the media container.
	Identifier string `json:"identifier"`
	// The unique identifier for the library section.
	LibrarySectionID int64 `json:"librarySectionID"`
	// The title of the library section.
	LibrarySectionTitle string `json:"librarySectionTitle"`
	// The universally unique identifier for the library section.
	LibrarySectionUUID *string `json:"librarySectionUUID,omitempty"`
	// The prefix used for media tag resource paths.
	MediaTagPrefix string `json:"mediaTagPrefix"`
	// The version number for media tags.
	MediaTagVersion int64 `json:"mediaTagVersion"`
	// URL for the thumbnail image of the media container.
	Thumb string `json:"thumb"`
	// Specifies whether caching is disabled.
	Nocache bool `json:"nocache"`
	// The primary title of the media container.
	Title1 string `json:"title1"`
	// The secondary title of the media container.
	Title2 string `json:"title2"`
	// Identifier for the view group layout.
	ViewGroup string `json:"viewGroup"`
	// The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
	//
	Meta *GetAllMediaLibraryMeta `json:"Meta,omitempty"`
	// An array of metadata items.
	Metadata []GetAllMediaLibraryMetadata `json:"Metadata,omitempty"`
}

func (*GetAllMediaLibraryMediaContainer) GetAllowSync added in v0.19.0

func (o *GetAllMediaLibraryMediaContainer) GetAllowSync() bool

func (*GetAllMediaLibraryMediaContainer) GetArt added in v0.19.0

func (*GetAllMediaLibraryMediaContainer) GetContent added in v0.19.0

func (o *GetAllMediaLibraryMediaContainer) GetContent() string

func (*GetAllMediaLibraryMediaContainer) GetIdentifier added in v0.19.0

func (o *GetAllMediaLibraryMediaContainer) GetIdentifier() string

func (*GetAllMediaLibraryMediaContainer) GetLibrarySectionID added in v0.19.0

func (o *GetAllMediaLibraryMediaContainer) GetLibrarySectionID() int64

func (*GetAllMediaLibraryMediaContainer) GetLibrarySectionTitle added in v0.19.0

func (o *GetAllMediaLibraryMediaContainer) GetLibrarySectionTitle() string

func (*GetAllMediaLibraryMediaContainer) GetLibrarySectionUUID added in v0.19.0

func (o *GetAllMediaLibraryMediaContainer) GetLibrarySectionUUID() *string

func (*GetAllMediaLibraryMediaContainer) GetMediaTagPrefix added in v0.19.0

func (o *GetAllMediaLibraryMediaContainer) GetMediaTagPrefix() string

func (*GetAllMediaLibraryMediaContainer) GetMediaTagVersion added in v0.19.0

func (o *GetAllMediaLibraryMediaContainer) GetMediaTagVersion() int64

func (*GetAllMediaLibraryMediaContainer) GetMeta added in v0.19.0

func (*GetAllMediaLibraryMediaContainer) GetMetadata added in v0.19.0

func (*GetAllMediaLibraryMediaContainer) GetNocache added in v0.19.0

func (o *GetAllMediaLibraryMediaContainer) GetNocache() bool

func (*GetAllMediaLibraryMediaContainer) GetOffset added in v0.19.0

func (o *GetAllMediaLibraryMediaContainer) GetOffset() int64

func (*GetAllMediaLibraryMediaContainer) GetSize added in v0.19.0

func (*GetAllMediaLibraryMediaContainer) GetThumb added in v0.19.0

func (*GetAllMediaLibraryMediaContainer) GetTitle1 added in v0.19.0

func (*GetAllMediaLibraryMediaContainer) GetTitle2 added in v0.19.0

func (*GetAllMediaLibraryMediaContainer) GetTotalSize added in v0.19.0

func (o *GetAllMediaLibraryMediaContainer) GetTotalSize() int

func (*GetAllMediaLibraryMediaContainer) GetViewGroup added in v0.19.0

func (o *GetAllMediaLibraryMediaContainer) GetViewGroup() string

type GetAllMediaLibraryMeta added in v0.19.0

type GetAllMediaLibraryMeta struct {
	Type      []GetAllMediaLibraryType      `json:"Type,omitempty"`
	FieldType []GetAllMediaLibraryFieldType `json:"FieldType,omitempty"`
}

GetAllMediaLibraryMeta - The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.

func (*GetAllMediaLibraryMeta) GetFieldType added in v0.19.0

func (*GetAllMediaLibraryMeta) GetType added in v0.19.0

type GetAllMediaLibraryMetadata added in v0.19.0

type GetAllMediaLibraryMetadata struct {
	// The rating key (Media ID) of this media item. Note: Although this is always an integer, it is represented as a string in the API.
	RatingKey string `json:"ratingKey"`
	// The unique key for the media item.
	Key string `json:"key"`
	// The globally unique identifier for the media item.
	GUID string `json:"guid"`
	// A URL‐friendly version of the media title.
	Slug string `json:"slug"`
	// The studio that produced the media item.
	Studio *string                       `json:"studio,omitempty"`
	Type   GetAllMediaLibraryLibraryType `json:"type"`
	// The title of the media item.
	Title string `json:"title"`
	// The sort title used for ordering media items.
	TitleSort string `json:"titleSort"`
	// The content rating for the media item.
	ContentRating *string `json:"contentRating,omitempty"`
	// A synopsis of the media item.
	Summary string `json:"summary"`
	// The critic rating for the media item.
	Rating float32 `json:"rating"`
	// The audience rating for the media item.
	AudienceRating float64 `json:"audienceRating"`
	// The release year of the media item.
	Year int `json:"year"`
	// A brief tagline for the media item.
	Tagline string `json:"tagline"`
	// The thumbnail image URL for the media item.
	Thumb string `json:"thumb"`
	// The art image URL for the media item.
	Art string `json:"art"`
	// The theme URL for the media item.
	Theme string `json:"theme"`
	// The index position of the media item.
	Index int `json:"index"`
	// The number of leaf items (end nodes) under this media item.
	LeafCount *int `json:"leafCount,omitempty"`
	// The number of leaf items that have been viewed.
	ViewedLeafCount *int `json:"viewedLeafCount,omitempty"`
	// The number of child items associated with this media item.
	ChildCount int `json:"childCount"`
	// The total number of seasons (for TV shows).
	SeasonCount int `json:"seasonCount"`
	// The duration of the media item in milliseconds.
	Duration int `json:"duration"`
	// The original release date of the media item.
	OriginallyAvailableAt types.Date `json:"originallyAvailableAt"`
	AddedAt               int64      `json:"addedAt"`
	// Unix epoch datetime in seconds
	UpdatedAt *int64 `json:"updatedAt,omitempty"`
	// The URL for the audience rating image.
	AudienceRatingImage *string `json:"audienceRatingImage,omitempty"`
	// The source from which chapter data is derived.
	ChapterSource *string `json:"chapterSource,omitempty"`
	// The primary extra key associated with this media item.
	PrimaryExtraKey *string `json:"primaryExtraKey,omitempty"`
	// The original title of the media item (if different).
	OriginalTitle *string `json:"originalTitle,omitempty"`
	// The rating key of the parent media item.
	ParentRatingKey *string `json:"parentRatingKey,omitempty"`
	// The rating key of the grandparent media item.
	GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
	// The GUID of the parent media item.
	ParentGUID *string `json:"parentGuid,omitempty"`
	// The GUID of the grandparent media item.
	GrandparentGUID *string `json:"grandparentGuid,omitempty"`
	// The slug for the grandparent media item.
	GrandparentSlug *string `json:"grandparentSlug,omitempty"`
	// The key of the grandparent media item.
	GrandparentKey *string `json:"grandparentKey,omitempty"`
	// The key of the parent media item.
	ParentKey *string `json:"parentKey,omitempty"`
	// The title of the grandparent media item.
	GrandparentTitle *string `json:"grandparentTitle,omitempty"`
	// The thumbnail URL for the grandparent media item.
	GrandparentThumb *string `json:"grandparentThumb,omitempty"`
	// The theme URL for the grandparent media item.
	GrandparentTheme *string `json:"grandparentTheme,omitempty"`
	// The art URL for the grandparent media item.
	GrandparentArt *string `json:"grandparentArt,omitempty"`
	// The title of the parent media item.
	ParentTitle *string `json:"parentTitle,omitempty"`
	// The index position of the parent media item.
	ParentIndex *int `json:"parentIndex,omitempty"`
	// The thumbnail URL for the parent media item.
	ParentThumb *string `json:"parentThumb,omitempty"`
	// The URL for the rating image.
	RatingImage *string `json:"ratingImage,omitempty"`
	// The number of times this media item has been viewed.
	ViewCount *int `json:"viewCount,omitempty"`
	// The current playback offset (in milliseconds).
	ViewOffset *int `json:"viewOffset,omitempty"`
	// The number of times this media item has been skipped.
	SkipCount *int `json:"skipCount,omitempty"`
	// A classification that further describes the type of media item. For example, 'clip' indicates that the item is a short video clip.
	Subtype *string `json:"subtype,omitempty"`
	// The Unix timestamp representing the last time the item was rated.
	LastRatedAt *int64 `json:"lastRatedAt,omitempty"`
	// The accuracy of the creation timestamp. This value indicates the format(s) provided (for example, 'epoch,local' means both epoch and local time formats are available).
	CreatedAtAccuracy *string `json:"createdAtAccuracy,omitempty"`
	// The time zone offset for the creation timestamp, represented as a string. This offset indicates the difference from UTC.
	CreatedAtTZOffset *string `json:"createdAtTZOffset,omitempty"`
	// Unix timestamp for when the media item was last viewed.
	LastViewedAt *int `json:"lastViewedAt,omitempty"`
	// The rating provided by a user for the item. This value is expressed as a decimal number.
	UserRating      *float32                           `json:"userRating,omitempty"`
	Image           []GetAllMediaLibraryImage          `json:"Image,omitempty"`
	UltraBlurColors *GetAllMediaLibraryUltraBlurColors `json:"UltraBlurColors,omitempty"`
	Media           []GetAllMediaLibraryMedia          `json:"Media,omitempty"`
	Genre           []GetAllMediaLibraryGenre          `json:"Genre,omitempty"`
	Country         []GetAllMediaLibraryCountry        `json:"Country,omitempty"`
	Director        []GetAllMediaLibraryDirector       `json:"Director,omitempty"`
	Writer          []GetAllMediaLibraryWriter         `json:"Writer,omitempty"`
	Role            []GetAllMediaLibraryRole           `json:"Role,omitempty"`
	Guids           []Guids                            `json:"Guid,omitempty"`
	Collection      []GetAllMediaLibraryCollection     `json:"Collection,omitempty"`
}

GetAllMediaLibraryMetadata - Unknown

func (*GetAllMediaLibraryMetadata) GetAddedAt added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetAddedAt() int64

func (*GetAllMediaLibraryMetadata) GetArt added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetArt() string

func (*GetAllMediaLibraryMetadata) GetAudienceRating added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetAudienceRating() float64

func (*GetAllMediaLibraryMetadata) GetAudienceRatingImage added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetAudienceRatingImage() *string

func (*GetAllMediaLibraryMetadata) GetChapterSource added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetChapterSource() *string

func (*GetAllMediaLibraryMetadata) GetChildCount added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetChildCount() int

func (*GetAllMediaLibraryMetadata) GetCollection added in v0.19.0

func (*GetAllMediaLibraryMetadata) GetContentRating added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetContentRating() *string

func (*GetAllMediaLibraryMetadata) GetCountry added in v0.19.0

func (*GetAllMediaLibraryMetadata) GetCreatedAtAccuracy added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetCreatedAtAccuracy() *string

func (*GetAllMediaLibraryMetadata) GetCreatedAtTZOffset added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetCreatedAtTZOffset() *string

func (*GetAllMediaLibraryMetadata) GetDirector added in v0.19.0

func (*GetAllMediaLibraryMetadata) GetDuration added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetDuration() int

func (*GetAllMediaLibraryMetadata) GetGUID added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetGUID() string

func (*GetAllMediaLibraryMetadata) GetGenre added in v0.19.0

func (*GetAllMediaLibraryMetadata) GetGrandparentArt added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetGrandparentArt() *string

func (*GetAllMediaLibraryMetadata) GetGrandparentGUID added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetGrandparentGUID() *string

func (*GetAllMediaLibraryMetadata) GetGrandparentKey added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetGrandparentKey() *string

func (*GetAllMediaLibraryMetadata) GetGrandparentRatingKey added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetGrandparentRatingKey() *string

func (*GetAllMediaLibraryMetadata) GetGrandparentSlug added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetGrandparentSlug() *string

func (*GetAllMediaLibraryMetadata) GetGrandparentTheme added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetGrandparentTheme() *string

func (*GetAllMediaLibraryMetadata) GetGrandparentThumb added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetGrandparentThumb() *string

func (*GetAllMediaLibraryMetadata) GetGrandparentTitle added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetGrandparentTitle() *string

func (*GetAllMediaLibraryMetadata) GetGuids added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetGuids() []Guids

func (*GetAllMediaLibraryMetadata) GetImage added in v0.19.0

func (*GetAllMediaLibraryMetadata) GetIndex added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetIndex() int

func (*GetAllMediaLibraryMetadata) GetKey added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetKey() string

func (*GetAllMediaLibraryMetadata) GetLastRatedAt added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetLastRatedAt() *int64

func (*GetAllMediaLibraryMetadata) GetLastViewedAt added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetLastViewedAt() *int

func (*GetAllMediaLibraryMetadata) GetLeafCount added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetLeafCount() *int

func (*GetAllMediaLibraryMetadata) GetMedia added in v0.19.0

func (*GetAllMediaLibraryMetadata) GetOriginalTitle added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetOriginalTitle() *string

func (*GetAllMediaLibraryMetadata) GetOriginallyAvailableAt added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetOriginallyAvailableAt() types.Date

func (*GetAllMediaLibraryMetadata) GetParentGUID added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetParentGUID() *string

func (*GetAllMediaLibraryMetadata) GetParentIndex added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetParentIndex() *int

func (*GetAllMediaLibraryMetadata) GetParentKey added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetParentKey() *string

func (*GetAllMediaLibraryMetadata) GetParentRatingKey added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetParentRatingKey() *string

func (*GetAllMediaLibraryMetadata) GetParentThumb added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetParentThumb() *string

func (*GetAllMediaLibraryMetadata) GetParentTitle added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetParentTitle() *string

func (*GetAllMediaLibraryMetadata) GetPrimaryExtraKey added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetPrimaryExtraKey() *string

func (*GetAllMediaLibraryMetadata) GetRating added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetRating() float32

func (*GetAllMediaLibraryMetadata) GetRatingImage added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetRatingImage() *string

func (*GetAllMediaLibraryMetadata) GetRatingKey added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetRatingKey() string

func (*GetAllMediaLibraryMetadata) GetRole added in v0.19.0

func (*GetAllMediaLibraryMetadata) GetSeasonCount added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetSeasonCount() int

func (*GetAllMediaLibraryMetadata) GetSkipCount added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetSkipCount() *int

func (*GetAllMediaLibraryMetadata) GetSlug added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetSlug() string

func (*GetAllMediaLibraryMetadata) GetStudio added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetStudio() *string

func (*GetAllMediaLibraryMetadata) GetSubtype added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetSubtype() *string

func (*GetAllMediaLibraryMetadata) GetSummary added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetSummary() string

func (*GetAllMediaLibraryMetadata) GetTagline added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetTagline() string

func (*GetAllMediaLibraryMetadata) GetTheme added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetTheme() string

func (*GetAllMediaLibraryMetadata) GetThumb added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetThumb() string

func (*GetAllMediaLibraryMetadata) GetTitle added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetTitle() string

func (*GetAllMediaLibraryMetadata) GetTitleSort added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetTitleSort() string

func (*GetAllMediaLibraryMetadata) GetType added in v0.19.0

func (*GetAllMediaLibraryMetadata) GetUltraBlurColors added in v0.19.0

func (*GetAllMediaLibraryMetadata) GetUpdatedAt added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetUpdatedAt() *int64

func (*GetAllMediaLibraryMetadata) GetUserRating added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetUserRating() *float32

func (*GetAllMediaLibraryMetadata) GetViewCount added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetViewCount() *int

func (*GetAllMediaLibraryMetadata) GetViewOffset added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetViewOffset() *int

func (*GetAllMediaLibraryMetadata) GetViewedLeafCount added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetViewedLeafCount() *int

func (*GetAllMediaLibraryMetadata) GetWriter added in v0.19.0

func (*GetAllMediaLibraryMetadata) GetYear added in v0.19.0

func (o *GetAllMediaLibraryMetadata) GetYear() int

func (GetAllMediaLibraryMetadata) MarshalJSON added in v0.19.0

func (g GetAllMediaLibraryMetadata) MarshalJSON() ([]byte, error)

func (*GetAllMediaLibraryMetadata) UnmarshalJSON added in v0.19.0

func (g *GetAllMediaLibraryMetadata) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryOperator added in v0.19.0

type GetAllMediaLibraryOperator struct {
	Key   string `json:"key"`
	Title string `json:"title"`
}

func (*GetAllMediaLibraryOperator) GetKey added in v0.19.0

func (o *GetAllMediaLibraryOperator) GetKey() string

func (*GetAllMediaLibraryOperator) GetTitle added in v0.19.0

func (o *GetAllMediaLibraryOperator) GetTitle() string

type GetAllMediaLibraryOptimizedForStreaming added in v0.19.0

type GetAllMediaLibraryOptimizedForStreaming struct {
	One     *One  `queryParam:"inline"`
	Boolean *bool `queryParam:"inline"`

	Type GetAllMediaLibraryOptimizedForStreamingType
}

GetAllMediaLibraryOptimizedForStreaming - Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true

func CreateGetAllMediaLibraryOptimizedForStreamingBoolean added in v0.19.0

func CreateGetAllMediaLibraryOptimizedForStreamingBoolean(boolean bool) GetAllMediaLibraryOptimizedForStreaming

func CreateGetAllMediaLibraryOptimizedForStreamingOne added in v0.19.0

func CreateGetAllMediaLibraryOptimizedForStreamingOne(one One) GetAllMediaLibraryOptimizedForStreaming

func (GetAllMediaLibraryOptimizedForStreaming) MarshalJSON added in v0.19.0

func (u GetAllMediaLibraryOptimizedForStreaming) MarshalJSON() ([]byte, error)

func (*GetAllMediaLibraryOptimizedForStreaming) UnmarshalJSON added in v0.19.0

func (u *GetAllMediaLibraryOptimizedForStreaming) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryOptimizedForStreaming1 added in v0.19.0

type GetAllMediaLibraryOptimizedForStreaming1 int
const (
	GetAllMediaLibraryOptimizedForStreaming1Zero GetAllMediaLibraryOptimizedForStreaming1 = 0
	GetAllMediaLibraryOptimizedForStreaming1One  GetAllMediaLibraryOptimizedForStreaming1 = 1
)

func (GetAllMediaLibraryOptimizedForStreaming1) ToPointer added in v0.19.0

func (*GetAllMediaLibraryOptimizedForStreaming1) UnmarshalJSON added in v0.19.0

func (e *GetAllMediaLibraryOptimizedForStreaming1) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryOptimizedForStreamingType added in v0.19.0

type GetAllMediaLibraryOptimizedForStreamingType string
const (
	GetAllMediaLibraryOptimizedForStreamingTypeOne     GetAllMediaLibraryOptimizedForStreamingType = "1"
	GetAllMediaLibraryOptimizedForStreamingTypeBoolean GetAllMediaLibraryOptimizedForStreamingType = "boolean"
)

type GetAllMediaLibraryPart added in v0.19.0

type GetAllMediaLibraryPart struct {
	// Indicates if the part is accessible.
	Accessible *bool `json:"accessible,omitempty"`
	// Indicates if the part exists.
	Exists *bool `json:"exists,omitempty"`
	// Unique part identifier.
	ID int64 `json:"id"`
	// Key to access this part.
	Key     string  `json:"key"`
	Indexes *string `json:"indexes,omitempty"`
	// Duration of the part in milliseconds.
	Duration *int `json:"duration,omitempty"`
	// File path for the part.
	File string `json:"file"`
	// File size in bytes.
	Size         int64 `json:"size"`
	PacketLength *int  `json:"packetLength,omitempty"`
	// Container format of the part.
	Container *string `json:"container,omitempty"`
	// Video profile for the part.
	VideoProfile *string `json:"videoProfile,omitempty"`
	// The audio profile used for the media (e.g., DTS, Dolby Digital, etc.).
	AudioProfile    *string `json:"audioProfile,omitempty"`
	Has64bitOffsets *bool   `json:"has64bitOffsets,omitempty"`
	// Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
	OptimizedForStreaming *GetAllMediaLibraryLibraryOptimizedForStreaming `json:"optimizedForStreaming,omitempty"`
	HasThumbnail          *GetAllMediaLibraryHasThumbnail                 `default:"0" json:"hasThumbnail"`
	// An array of streams for this part.
	Stream []GetAllMediaLibraryStream `json:"Stream,omitempty"`
}

func (*GetAllMediaLibraryPart) GetAccessible added in v0.19.0

func (o *GetAllMediaLibraryPart) GetAccessible() *bool

func (*GetAllMediaLibraryPart) GetAudioProfile added in v0.19.0

func (o *GetAllMediaLibraryPart) GetAudioProfile() *string

func (*GetAllMediaLibraryPart) GetContainer added in v0.19.0

func (o *GetAllMediaLibraryPart) GetContainer() *string

func (*GetAllMediaLibraryPart) GetDuration added in v0.19.0

func (o *GetAllMediaLibraryPart) GetDuration() *int

func (*GetAllMediaLibraryPart) GetExists added in v0.19.0

func (o *GetAllMediaLibraryPart) GetExists() *bool

func (*GetAllMediaLibraryPart) GetFile added in v0.19.0

func (o *GetAllMediaLibraryPart) GetFile() string

func (*GetAllMediaLibraryPart) GetHas64bitOffsets added in v0.19.0

func (o *GetAllMediaLibraryPart) GetHas64bitOffsets() *bool

func (*GetAllMediaLibraryPart) GetHasThumbnail added in v0.19.0

func (*GetAllMediaLibraryPart) GetID added in v0.19.0

func (o *GetAllMediaLibraryPart) GetID() int64

func (*GetAllMediaLibraryPart) GetIndexes added in v0.19.0

func (o *GetAllMediaLibraryPart) GetIndexes() *string

func (*GetAllMediaLibraryPart) GetKey added in v0.19.0

func (o *GetAllMediaLibraryPart) GetKey() string

func (*GetAllMediaLibraryPart) GetOptimizedForStreaming added in v0.19.0

func (*GetAllMediaLibraryPart) GetPacketLength added in v0.19.0

func (o *GetAllMediaLibraryPart) GetPacketLength() *int

func (*GetAllMediaLibraryPart) GetSize added in v0.19.0

func (o *GetAllMediaLibraryPart) GetSize() int64

func (*GetAllMediaLibraryPart) GetStream added in v0.19.0

func (*GetAllMediaLibraryPart) GetVideoProfile added in v0.19.0

func (o *GetAllMediaLibraryPart) GetVideoProfile() *string

func (GetAllMediaLibraryPart) MarshalJSON added in v0.19.0

func (g GetAllMediaLibraryPart) MarshalJSON() ([]byte, error)

func (*GetAllMediaLibraryPart) UnmarshalJSON added in v0.19.0

func (g *GetAllMediaLibraryPart) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryQueryParamIncludeMeta added in v0.19.0

type GetAllMediaLibraryQueryParamIncludeMeta int

GetAllMediaLibraryQueryParamIncludeMeta - Adds the Meta object to the response

const (
	GetAllMediaLibraryQueryParamIncludeMetaDisable GetAllMediaLibraryQueryParamIncludeMeta = 0
	GetAllMediaLibraryQueryParamIncludeMetaEnable  GetAllMediaLibraryQueryParamIncludeMeta = 1
)

func (GetAllMediaLibraryQueryParamIncludeMeta) ToPointer added in v0.19.0

func (*GetAllMediaLibraryQueryParamIncludeMeta) UnmarshalJSON added in v0.19.0

func (e *GetAllMediaLibraryQueryParamIncludeMeta) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryQueryParamType added in v0.19.0

type GetAllMediaLibraryQueryParamType int64

GetAllMediaLibraryQueryParamType - The type of media to retrieve or filter by. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries

const (
	GetAllMediaLibraryQueryParamTypeMovie   GetAllMediaLibraryQueryParamType = 1
	GetAllMediaLibraryQueryParamTypeTvShow  GetAllMediaLibraryQueryParamType = 2
	GetAllMediaLibraryQueryParamTypeSeason  GetAllMediaLibraryQueryParamType = 3
	GetAllMediaLibraryQueryParamTypeEpisode GetAllMediaLibraryQueryParamType = 4
	GetAllMediaLibraryQueryParamTypeAudio   GetAllMediaLibraryQueryParamType = 8
	GetAllMediaLibraryQueryParamTypeAlbum   GetAllMediaLibraryQueryParamType = 9
	GetAllMediaLibraryQueryParamTypeTrack   GetAllMediaLibraryQueryParamType = 10
)

func (GetAllMediaLibraryQueryParamType) ToPointer added in v0.19.0

func (*GetAllMediaLibraryQueryParamType) UnmarshalJSON added in v0.19.0

func (e *GetAllMediaLibraryQueryParamType) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryRequest added in v0.19.0

type GetAllMediaLibraryRequest struct {
	// The unique key of the Plex library.
	// Note: This is unique in the context of the Plex server.
	//
	SectionKey int `pathParam:"style=simple,explode=false,name=sectionKey"`
	// The type of media to retrieve or filter by.
	// 1 = movie
	// 2 = show
	// 3 = season
	// 4 = episode
	// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
	//
	Type GetAllMediaLibraryQueryParamType `queryParam:"style=form,explode=true,name=type"`
	// Adds the Meta object to the response
	//
	IncludeMeta *GetAllMediaLibraryQueryParamIncludeMeta `default:"0" queryParam:"style=form,explode=true,name=includeMeta"`
	// Adds the Guid object to the response
	//
	IncludeGuids         *QueryParamIncludeGuids         `default:"0" queryParam:"style=form,explode=true,name=includeGuids"`
	IncludeAdvanced      *IncludeAdvanced                `default:"0" queryParam:"style=form,explode=true,name=includeAdvanced"`
	IncludeCollections   *QueryParamIncludeCollections   `default:"0" queryParam:"style=form,explode=true,name=includeCollections"`
	IncludeExternalMedia *QueryParamIncludeExternalMedia `default:"0" queryParam:"style=form,explode=true,name=includeExternalMedia"`
	// The index of the first item to return. If not specified, the first item will be returned.
	// If the number of items exceeds the limit, the response will be paginated.
	// By default this is 0
	//
	XPlexContainerStart *int `default:"0" queryParam:"style=form,explode=true,name=X-Plex-Container-Start"`
	// The number of items to return. If not specified, all items will be returned.
	// If the number of items exceeds the limit, the response will be paginated.
	// By default this is 50
	//
	XPlexContainerSize *int `default:"50" queryParam:"style=form,explode=true,name=X-Plex-Container-Size"`
}

func (*GetAllMediaLibraryRequest) GetIncludeAdvanced added in v0.19.0

func (o *GetAllMediaLibraryRequest) GetIncludeAdvanced() *IncludeAdvanced

func (*GetAllMediaLibraryRequest) GetIncludeCollections added in v0.19.0

func (o *GetAllMediaLibraryRequest) GetIncludeCollections() *QueryParamIncludeCollections

func (*GetAllMediaLibraryRequest) GetIncludeExternalMedia added in v0.19.0

func (o *GetAllMediaLibraryRequest) GetIncludeExternalMedia() *QueryParamIncludeExternalMedia

func (*GetAllMediaLibraryRequest) GetIncludeGuids added in v0.19.0

func (o *GetAllMediaLibraryRequest) GetIncludeGuids() *QueryParamIncludeGuids

func (*GetAllMediaLibraryRequest) GetIncludeMeta added in v0.19.0

func (*GetAllMediaLibraryRequest) GetSectionKey added in v0.19.0

func (o *GetAllMediaLibraryRequest) GetSectionKey() int

func (*GetAllMediaLibraryRequest) GetType added in v0.19.0

func (*GetAllMediaLibraryRequest) GetXPlexContainerSize added in v0.19.0

func (o *GetAllMediaLibraryRequest) GetXPlexContainerSize() *int

func (*GetAllMediaLibraryRequest) GetXPlexContainerStart added in v0.19.0

func (o *GetAllMediaLibraryRequest) GetXPlexContainerStart() *int

func (GetAllMediaLibraryRequest) MarshalJSON added in v0.19.0

func (g GetAllMediaLibraryRequest) MarshalJSON() ([]byte, error)

func (*GetAllMediaLibraryRequest) UnmarshalJSON added in v0.19.0

func (g *GetAllMediaLibraryRequest) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryResponse added in v0.19.0

type GetAllMediaLibraryResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Successful response containing media container data.
	Object *GetAllMediaLibraryResponseBody
}

func (*GetAllMediaLibraryResponse) GetContentType added in v0.19.0

func (o *GetAllMediaLibraryResponse) GetContentType() string

func (*GetAllMediaLibraryResponse) GetObject added in v0.19.0

func (*GetAllMediaLibraryResponse) GetRawResponse added in v0.19.0

func (o *GetAllMediaLibraryResponse) GetRawResponse() *http.Response

func (*GetAllMediaLibraryResponse) GetStatusCode added in v0.19.0

func (o *GetAllMediaLibraryResponse) GetStatusCode() int

type GetAllMediaLibraryResponseBody added in v0.19.0

type GetAllMediaLibraryResponseBody struct {
	MediaContainer *GetAllMediaLibraryMediaContainer `json:"MediaContainer,omitempty"`
}

GetAllMediaLibraryResponseBody - Successful response containing media container data.

func (*GetAllMediaLibraryResponseBody) GetMediaContainer added in v0.19.0

type GetAllMediaLibraryRole added in v0.19.0

type GetAllMediaLibraryRole struct {
	// The name of the actor for this role
	Tag string `json:"tag"`
}

func (*GetAllMediaLibraryRole) GetTag added in v0.19.0

func (o *GetAllMediaLibraryRole) GetTag() string

type GetAllMediaLibrarySort added in v0.19.0

type GetAllMediaLibrarySort struct {
	Default *string `json:"default,omitempty"`
	Active  *bool   `json:"active,omitempty"`
	// The direction of the sort. Can be either `asc` or `desc`.
	//
	ActiveDirection *GetAllMediaLibraryActiveDirection `default:"asc" json:"activeDirection"`
	// The direction of the sort. Can be either `asc` or `desc`.
	//
	DefaultDirection  *GetAllMediaLibraryDefaultDirection `default:"asc" json:"defaultDirection"`
	DescKey           *string                             `json:"descKey,omitempty"`
	FirstCharacterKey *string                             `json:"firstCharacterKey,omitempty"`
	Key               string                              `json:"key"`
	Title             string                              `json:"title"`
}

func (*GetAllMediaLibrarySort) GetActive added in v0.19.0

func (o *GetAllMediaLibrarySort) GetActive() *bool

func (*GetAllMediaLibrarySort) GetActiveDirection added in v0.19.0

func (*GetAllMediaLibrarySort) GetDefault added in v0.19.0

func (o *GetAllMediaLibrarySort) GetDefault() *string

func (*GetAllMediaLibrarySort) GetDefaultDirection added in v0.19.0

func (*GetAllMediaLibrarySort) GetDescKey added in v0.19.0

func (o *GetAllMediaLibrarySort) GetDescKey() *string

func (*GetAllMediaLibrarySort) GetFirstCharacterKey added in v0.19.0

func (o *GetAllMediaLibrarySort) GetFirstCharacterKey() *string

func (*GetAllMediaLibrarySort) GetKey added in v0.19.0

func (o *GetAllMediaLibrarySort) GetKey() string

func (*GetAllMediaLibrarySort) GetTitle added in v0.19.0

func (o *GetAllMediaLibrarySort) GetTitle() string

func (GetAllMediaLibrarySort) MarshalJSON added in v0.19.0

func (g GetAllMediaLibrarySort) MarshalJSON() ([]byte, error)

func (*GetAllMediaLibrarySort) UnmarshalJSON added in v0.19.0

func (g *GetAllMediaLibrarySort) UnmarshalJSON(data []byte) error

type GetAllMediaLibraryStream added in v0.19.0

type GetAllMediaLibraryStream struct {
	// Unique stream identifier.
	ID int64 `json:"id"`
	// Stream type (1=video, 2=audio, 3=subtitle).
	StreamType int `json:"streamType"`
	// Indicates if this stream is default.
	Default *bool `json:"default,omitempty"`
	// Codec used by the stream.
	Codec string `json:"codec"`
	// Index of the stream.
	Index int `json:"index"`
	// Bitrate of the stream.
	Bitrate *int `json:"bitrate,omitempty"`
	// Language of the stream.
	Language string `json:"language"`
	// Language tag (e.g., en).
	LanguageTag string `json:"languageTag"`
	// ISO language code.
	LanguageCode string `json:"languageCode"`
	// Indicates whether header compression is enabled.
	HeaderCompression *bool `json:"headerCompression,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"`
	// Bit depth of the video stream.
	BitDepth *int `json:"bitDepth,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"`
	// 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"`
	// Frame rate of the stream.
	FrameRate *float32 `json:"frameRate,omitempty"`
	// Height of the video stream.
	Height *int `json:"height,omitempty"`
	// Video level.
	Level *int `json:"level,omitempty"`
	// Indicates if this is the original stream.
	Original         *bool `json:"original,omitempty"`
	HasScalingMatrix *bool `json:"hasScalingMatrix,omitempty"`
	// Video profile.
	Profile  *string `json:"profile,omitempty"`
	ScanType *string `json:"scanType,omitempty"`
	// Number of reference frames.
	RefFrames *int `json:"refFrames,omitempty"`
	// Width of the video stream.
	Width *int `json:"width,omitempty"`
	// Display title for the stream.
	DisplayTitle string `json:"displayTitle"`
	// Extended display title for the stream.
	ExtendedDisplayTitle string `json:"extendedDisplayTitle"`
	// Indicates if this stream is selected (applicable for audio streams).
	Selected *bool `json:"selected,omitempty"`
	Forced   *bool `json:"forced,omitempty"`
	// Number of audio channels (for audio streams).
	Channels *int `json:"channels,omitempty"`
	// Audio channel layout.
	AudioChannelLayout *string `json:"audioChannelLayout,omitempty"`
	// Sampling rate for the audio stream.
	SamplingRate *int `json:"samplingRate,omitempty"`
	// Indicates if the stream can auto-sync.
	CanAutoSync *bool `json:"canAutoSync,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"`
}

func (*GetAllMediaLibraryStream) GetAudioChannelLayout added in v0.19.0

func (o *GetAllMediaLibraryStream) GetAudioChannelLayout() *string

func (*GetAllMediaLibraryStream) GetBitDepth added in v0.19.0

func (o *GetAllMediaLibraryStream) GetBitDepth() *int

func (*GetAllMediaLibraryStream) GetBitrate added in v0.19.0

func (o *GetAllMediaLibraryStream) GetBitrate() *int

func (*GetAllMediaLibraryStream) GetCanAutoSync added in v0.19.0

func (o *GetAllMediaLibraryStream) GetCanAutoSync() *bool

func (*GetAllMediaLibraryStream) GetChannels added in v0.19.0

func (o *GetAllMediaLibraryStream) GetChannels() *int

func (*GetAllMediaLibraryStream) GetChromaLocation added in v0.19.0

func (o *GetAllMediaLibraryStream) GetChromaLocation() *string

func (*GetAllMediaLibraryStream) GetChromaSubsampling added in v0.19.0

func (o *GetAllMediaLibraryStream) GetChromaSubsampling() *string

func (*GetAllMediaLibraryStream) GetCodec added in v0.19.0

func (o *GetAllMediaLibraryStream) GetCodec() string

func (*GetAllMediaLibraryStream) GetCodedHeight added in v0.19.0

func (o *GetAllMediaLibraryStream) GetCodedHeight() *int

func (*GetAllMediaLibraryStream) GetCodedWidth added in v0.19.0

func (o *GetAllMediaLibraryStream) GetCodedWidth() *int

func (*GetAllMediaLibraryStream) GetColorPrimaries added in v0.19.0

func (o *GetAllMediaLibraryStream) GetColorPrimaries() *string

func (*GetAllMediaLibraryStream) GetColorRange added in v0.19.0

func (o *GetAllMediaLibraryStream) GetColorRange() *string

func (*GetAllMediaLibraryStream) GetColorSpace added in v0.19.0

func (o *GetAllMediaLibraryStream) GetColorSpace() *string

func (*GetAllMediaLibraryStream) GetColorTrc added in v0.19.0

func (o *GetAllMediaLibraryStream) GetColorTrc() *string

func (*GetAllMediaLibraryStream) GetDOVIBLCompatID added in v0.19.0

func (o *GetAllMediaLibraryStream) GetDOVIBLCompatID() *int

func (*GetAllMediaLibraryStream) GetDOVIBLPresent added in v0.19.0

func (o *GetAllMediaLibraryStream) GetDOVIBLPresent() *bool

func (*GetAllMediaLibraryStream) GetDOVIELPresent added in v0.19.0

func (o *GetAllMediaLibraryStream) GetDOVIELPresent() *bool

func (*GetAllMediaLibraryStream) GetDOVILevel added in v0.19.0

func (o *GetAllMediaLibraryStream) GetDOVILevel() *int

func (*GetAllMediaLibraryStream) GetDOVIPresent added in v0.19.0

func (o *GetAllMediaLibraryStream) GetDOVIPresent() *bool

func (*GetAllMediaLibraryStream) GetDOVIProfile added in v0.19.0

func (o *GetAllMediaLibraryStream) GetDOVIProfile() *int

func (*GetAllMediaLibraryStream) GetDOVIRPUPresent added in v0.19.0

func (o *GetAllMediaLibraryStream) GetDOVIRPUPresent() *bool

func (*GetAllMediaLibraryStream) GetDOVIVersion added in v0.19.0

func (o *GetAllMediaLibraryStream) GetDOVIVersion() *string

func (*GetAllMediaLibraryStream) GetDefault added in v0.19.0

func (o *GetAllMediaLibraryStream) GetDefault() *bool

func (*GetAllMediaLibraryStream) GetDisplayTitle added in v0.19.0

func (o *GetAllMediaLibraryStream) GetDisplayTitle() string

func (*GetAllMediaLibraryStream) GetDub added in v0.19.0

func (o *GetAllMediaLibraryStream) GetDub() *bool

func (*GetAllMediaLibraryStream) GetExtendedDisplayTitle added in v0.19.0

func (o *GetAllMediaLibraryStream) GetExtendedDisplayTitle() string

func (*GetAllMediaLibraryStream) GetForced added in v0.19.0

func (o *GetAllMediaLibraryStream) GetForced() *bool

func (*GetAllMediaLibraryStream) GetFrameRate added in v0.19.0

func (o *GetAllMediaLibraryStream) GetFrameRate() *float32

func (*GetAllMediaLibraryStream) GetHasScalingMatrix added in v0.19.0

func (o *GetAllMediaLibraryStream) GetHasScalingMatrix() *bool

func (*GetAllMediaLibraryStream) GetHeaderCompression added in v0.19.0

func (o *GetAllMediaLibraryStream) GetHeaderCompression() *bool

func (*GetAllMediaLibraryStream) GetHearingImpaired added in v0.19.0

func (o *GetAllMediaLibraryStream) GetHearingImpaired() *bool

func (*GetAllMediaLibraryStream) GetHeight added in v0.19.0

func (o *GetAllMediaLibraryStream) GetHeight() *int

func (*GetAllMediaLibraryStream) GetID added in v0.19.0

func (o *GetAllMediaLibraryStream) GetID() int64

func (*GetAllMediaLibraryStream) GetIndex added in v0.19.0

func (o *GetAllMediaLibraryStream) GetIndex() int

func (*GetAllMediaLibraryStream) GetLanguage added in v0.19.0

func (o *GetAllMediaLibraryStream) GetLanguage() string

func (*GetAllMediaLibraryStream) GetLanguageCode added in v0.19.0

func (o *GetAllMediaLibraryStream) GetLanguageCode() string

func (*GetAllMediaLibraryStream) GetLanguageTag added in v0.19.0

func (o *GetAllMediaLibraryStream) GetLanguageTag() string

func (*GetAllMediaLibraryStream) GetLevel added in v0.19.0

func (o *GetAllMediaLibraryStream) GetLevel() *int

func (*GetAllMediaLibraryStream) GetOriginal added in v0.19.0

func (o *GetAllMediaLibraryStream) GetOriginal() *bool

func (*GetAllMediaLibraryStream) GetProfile added in v0.19.0

func (o *GetAllMediaLibraryStream) GetProfile() *string

func (*GetAllMediaLibraryStream) GetRefFrames added in v0.19.0

func (o *GetAllMediaLibraryStream) GetRefFrames() *int

func (*GetAllMediaLibraryStream) GetSamplingRate added in v0.19.0

func (o *GetAllMediaLibraryStream) GetSamplingRate() *int

func (*GetAllMediaLibraryStream) GetScanType added in v0.19.0

func (o *GetAllMediaLibraryStream) GetScanType() *string

func (*GetAllMediaLibraryStream) GetSelected added in v0.19.0

func (o *GetAllMediaLibraryStream) GetSelected() *bool

func (*GetAllMediaLibraryStream) GetStreamType added in v0.19.0

func (o *GetAllMediaLibraryStream) GetStreamType() int

func (*GetAllMediaLibraryStream) GetTitle added in v0.19.0

func (o *GetAllMediaLibraryStream) GetTitle() *string

func (*GetAllMediaLibraryStream) GetWidth added in v0.19.0

func (o *GetAllMediaLibraryStream) GetWidth() *int

type GetAllMediaLibraryType added in v0.19.0

type GetAllMediaLibraryType struct {
	Key     string                     `json:"key"`
	Type    string                     `json:"type"`
	Subtype *string                    `json:"subtype,omitempty"`
	Title   string                     `json:"title"`
	Active  bool                       `json:"active"`
	Filter  []GetAllMediaLibraryFilter `json:"Filter,omitempty"`
	Sort    []GetAllMediaLibrarySort   `json:"Sort,omitempty"`
	Field   []GetAllMediaLibraryField  `json:"Field,omitempty"`
}

func (*GetAllMediaLibraryType) GetActive added in v0.19.0

func (o *GetAllMediaLibraryType) GetActive() bool

func (*GetAllMediaLibraryType) GetField added in v0.19.0

func (*GetAllMediaLibraryType) GetFilter added in v0.19.0

func (*GetAllMediaLibraryType) GetKey added in v0.19.0

func (o *GetAllMediaLibraryType) GetKey() string

func (*GetAllMediaLibraryType) GetSort added in v0.19.0

func (*GetAllMediaLibraryType) GetSubtype added in v0.19.0

func (o *GetAllMediaLibraryType) GetSubtype() *string

func (*GetAllMediaLibraryType) GetTitle added in v0.19.0

func (o *GetAllMediaLibraryType) GetTitle() string

func (*GetAllMediaLibraryType) GetType added in v0.19.0

func (o *GetAllMediaLibraryType) GetType() string

type GetAllMediaLibraryUltraBlurColors added in v0.19.0

type GetAllMediaLibraryUltraBlurColors struct {
	TopLeft     string `json:"topLeft"`
	TopRight    string `json:"topRight"`
	BottomRight string `json:"bottomRight"`
	BottomLeft  string `json:"bottomLeft"`
}

func (*GetAllMediaLibraryUltraBlurColors) GetBottomLeft added in v0.19.0

func (o *GetAllMediaLibraryUltraBlurColors) GetBottomLeft() string

func (*GetAllMediaLibraryUltraBlurColors) GetBottomRight added in v0.19.0

func (o *GetAllMediaLibraryUltraBlurColors) GetBottomRight() string

func (*GetAllMediaLibraryUltraBlurColors) GetTopLeft added in v0.19.0

func (o *GetAllMediaLibraryUltraBlurColors) GetTopLeft() string

func (*GetAllMediaLibraryUltraBlurColors) GetTopRight added in v0.19.0

func (o *GetAllMediaLibraryUltraBlurColors) GetTopRight() string

type GetAllMediaLibraryWriter added in v0.19.0

type GetAllMediaLibraryWriter struct {
	// The role of Writer
	Tag string `json:"tag"`
}

func (*GetAllMediaLibraryWriter) GetTag added in v0.19.0

func (o *GetAllMediaLibraryWriter) GetTag() string

type GetAvailableClientsMediaContainer

type GetAvailableClientsMediaContainer struct {
	Size   *float64 `json:"size,omitempty"`
	Server []Server `json:"Server,omitempty"`
}

func (*GetAvailableClientsMediaContainer) GetServer

func (o *GetAvailableClientsMediaContainer) GetServer() []Server

func (*GetAvailableClientsMediaContainer) GetSize

type GetAvailableClientsResponse

type GetAvailableClientsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Available Clients
	Object *GetAvailableClientsResponseBody
}

func (*GetAvailableClientsResponse) GetContentType

func (o *GetAvailableClientsResponse) GetContentType() string

func (*GetAvailableClientsResponse) GetObject added in v0.1.1

func (*GetAvailableClientsResponse) GetRawResponse

func (o *GetAvailableClientsResponse) GetRawResponse() *http.Response

func (*GetAvailableClientsResponse) GetStatusCode

func (o *GetAvailableClientsResponse) GetStatusCode() int

type GetAvailableClientsResponseBody added in v0.1.1

type GetAvailableClientsResponseBody struct {
	MediaContainer *GetAvailableClientsMediaContainer `json:"MediaContainer,omitempty"`
}

GetAvailableClientsResponseBody - Available Clients

func (*GetAvailableClientsResponseBody) GetMediaContainer added in v0.1.1

type GetBandwidthStatisticsAccount added in v0.10.0

type GetBandwidthStatisticsAccount struct {
	ID                      *int    `json:"id,omitempty"`
	Key                     *string `json:"key,omitempty"`
	Name                    *string `json:"name,omitempty"`
	DefaultAudioLanguage    *string `json:"defaultAudioLanguage,omitempty"`
	AutoSelectAudio         *bool   `json:"autoSelectAudio,omitempty"`
	DefaultSubtitleLanguage *string `json:"defaultSubtitleLanguage,omitempty"`
	SubtitleMode            *int    `json:"subtitleMode,omitempty"`
	Thumb                   *string `json:"thumb,omitempty"`
}

func (*GetBandwidthStatisticsAccount) GetAutoSelectAudio added in v0.10.0

func (o *GetBandwidthStatisticsAccount) GetAutoSelectAudio() *bool

func (*GetBandwidthStatisticsAccount) GetDefaultAudioLanguage added in v0.10.0

func (o *GetBandwidthStatisticsAccount) GetDefaultAudioLanguage() *string

func (*GetBandwidthStatisticsAccount) GetDefaultSubtitleLanguage added in v0.10.0

func (o *GetBandwidthStatisticsAccount) GetDefaultSubtitleLanguage() *string

func (*GetBandwidthStatisticsAccount) GetID added in v0.10.0

func (o *GetBandwidthStatisticsAccount) GetID() *int

func (*GetBandwidthStatisticsAccount) GetKey added in v0.10.0

func (*GetBandwidthStatisticsAccount) GetName added in v0.10.0

func (o *GetBandwidthStatisticsAccount) GetName() *string

func (*GetBandwidthStatisticsAccount) GetSubtitleMode added in v0.10.0

func (o *GetBandwidthStatisticsAccount) GetSubtitleMode() *int

func (*GetBandwidthStatisticsAccount) GetThumb added in v0.10.0

func (o *GetBandwidthStatisticsAccount) GetThumb() *string

type GetBandwidthStatisticsDevice added in v0.10.0

type GetBandwidthStatisticsDevice struct {
	ID               *int    `json:"id,omitempty"`
	Name             *string `json:"name,omitempty"`
	Platform         *string `json:"platform,omitempty"`
	ClientIdentifier *string `json:"clientIdentifier,omitempty"`
	CreatedAt        *int    `json:"createdAt,omitempty"`
}

func (*GetBandwidthStatisticsDevice) GetClientIdentifier added in v0.10.0

func (o *GetBandwidthStatisticsDevice) GetClientIdentifier() *string

func (*GetBandwidthStatisticsDevice) GetCreatedAt added in v0.10.0

func (o *GetBandwidthStatisticsDevice) GetCreatedAt() *int

func (*GetBandwidthStatisticsDevice) GetID added in v0.10.0

func (o *GetBandwidthStatisticsDevice) GetID() *int

func (*GetBandwidthStatisticsDevice) GetName added in v0.10.0

func (o *GetBandwidthStatisticsDevice) GetName() *string

func (*GetBandwidthStatisticsDevice) GetPlatform added in v0.10.0

func (o *GetBandwidthStatisticsDevice) GetPlatform() *string

type GetBandwidthStatisticsMediaContainer added in v0.10.0

type GetBandwidthStatisticsMediaContainer struct {
	Size                *int                            `json:"size,omitempty"`
	Device              []GetBandwidthStatisticsDevice  `json:"Device,omitempty"`
	Account             []GetBandwidthStatisticsAccount `json:"Account,omitempty"`
	StatisticsBandwidth []StatisticsBandwidth           `json:"StatisticsBandwidth,omitempty"`
}

func (*GetBandwidthStatisticsMediaContainer) GetAccount added in v0.10.0

func (*GetBandwidthStatisticsMediaContainer) GetDevice added in v0.10.0

func (*GetBandwidthStatisticsMediaContainer) GetSize added in v0.10.0

func (*GetBandwidthStatisticsMediaContainer) GetStatisticsBandwidth added in v0.10.0

func (o *GetBandwidthStatisticsMediaContainer) GetStatisticsBandwidth() []StatisticsBandwidth

type GetBandwidthStatisticsRequest added in v0.10.0

type GetBandwidthStatisticsRequest struct {
	// The timespan to retrieve statistics for
	// the exact meaning of this parameter is not known
	//
	Timespan *int64 `queryParam:"style=form,explode=true,name=timespan"`
}

func (*GetBandwidthStatisticsRequest) GetTimespan added in v0.10.0

func (o *GetBandwidthStatisticsRequest) GetTimespan() *int64

type GetBandwidthStatisticsResponse added in v0.10.0

type GetBandwidthStatisticsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Bandwidth Statistics
	Object *GetBandwidthStatisticsResponseBody
}

func (*GetBandwidthStatisticsResponse) GetContentType added in v0.10.0

func (o *GetBandwidthStatisticsResponse) GetContentType() string

func (*GetBandwidthStatisticsResponse) GetObject added in v0.10.0

func (*GetBandwidthStatisticsResponse) GetRawResponse added in v0.10.0

func (o *GetBandwidthStatisticsResponse) GetRawResponse() *http.Response

func (*GetBandwidthStatisticsResponse) GetStatusCode added in v0.10.0

func (o *GetBandwidthStatisticsResponse) GetStatusCode() int

type GetBandwidthStatisticsResponseBody added in v0.10.0

type GetBandwidthStatisticsResponseBody struct {
	MediaContainer *GetBandwidthStatisticsMediaContainer `json:"MediaContainer,omitempty"`
}

GetBandwidthStatisticsResponseBody - Bandwidth Statistics

func (*GetBandwidthStatisticsResponseBody) GetMediaContainer added in v0.10.0

type GetBannerImageRequest added in v0.11.1

type GetBannerImageRequest struct {
	// the id of the library item to return the children of.
	RatingKey int64 `pathParam:"style=simple,explode=false,name=ratingKey"`
	Width     int64 `queryParam:"style=form,explode=true,name=width"`
	Height    int64 `queryParam:"style=form,explode=true,name=height"`
	MinSize   int64 `queryParam:"style=form,explode=true,name=minSize"`
	Upscale   int64 `queryParam:"style=form,explode=true,name=upscale"`
	// An authentication token, obtained from plex.tv
	XPlexToken string `header:"style=simple,explode=false,name=X-Plex-Token"`
}

func (*GetBannerImageRequest) GetHeight added in v0.11.1

func (o *GetBannerImageRequest) GetHeight() int64

func (*GetBannerImageRequest) GetMinSize added in v0.11.1

func (o *GetBannerImageRequest) GetMinSize() int64

func (*GetBannerImageRequest) GetRatingKey added in v0.11.1

func (o *GetBannerImageRequest) GetRatingKey() int64

func (*GetBannerImageRequest) GetUpscale added in v0.11.1

func (o *GetBannerImageRequest) GetUpscale() int64

func (*GetBannerImageRequest) GetWidth added in v0.11.1

func (o *GetBannerImageRequest) GetWidth() int64

func (*GetBannerImageRequest) GetXPlexToken added in v0.11.1

func (o *GetBannerImageRequest) GetXPlexToken() string

type GetBannerImageResponse added in v0.11.1

type GetBannerImageResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Successful response returning an image
	// The Close method must be called on this field, even if it is not used, to prevent resource leaks.
	ResponseStream io.ReadCloser
	Headers        map[string][]string
}

func (*GetBannerImageResponse) GetContentType added in v0.11.1

func (o *GetBannerImageResponse) GetContentType() string

func (*GetBannerImageResponse) GetHeaders added in v0.11.1

func (o *GetBannerImageResponse) GetHeaders() map[string][]string

func (*GetBannerImageResponse) GetRawResponse added in v0.11.1

func (o *GetBannerImageResponse) GetRawResponse() *http.Response

func (*GetBannerImageResponse) GetResponseStream added in v0.11.1

func (o *GetBannerImageResponse) GetResponseStream() io.ReadCloser

func (*GetBannerImageResponse) GetStatusCode added in v0.11.1

func (o *GetBannerImageResponse) GetStatusCode() int

type GetButlerTasksResponse

type GetButlerTasksResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// All butler tasks
	Object *GetButlerTasksResponseBody
}

func (*GetButlerTasksResponse) GetContentType

func (o *GetButlerTasksResponse) GetContentType() string

func (*GetButlerTasksResponse) GetObject

func (*GetButlerTasksResponse) GetRawResponse

func (o *GetButlerTasksResponse) GetRawResponse() *http.Response

func (*GetButlerTasksResponse) GetStatusCode

func (o *GetButlerTasksResponse) GetStatusCode() int

type GetButlerTasksResponseBody

type GetButlerTasksResponseBody struct {
	ButlerTasks *ButlerTasks `json:"ButlerTasks,omitempty"`
}

GetButlerTasksResponseBody - All butler tasks

func (*GetButlerTasksResponseBody) GetButlerTasks

func (o *GetButlerTasksResponseBody) GetButlerTasks() *ButlerTasks

type GetCompanionsDataResponse added in v0.11.1

type GetCompanionsDataResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Companions Data
	ResponseBodies []ResponseBody
}

func (*GetCompanionsDataResponse) GetContentType added in v0.11.1

func (o *GetCompanionsDataResponse) GetContentType() string

func (*GetCompanionsDataResponse) GetRawResponse added in v0.11.1

func (o *GetCompanionsDataResponse) GetRawResponse() *http.Response

func (*GetCompanionsDataResponse) GetResponseBodies added in v0.11.1

func (o *GetCompanionsDataResponse) GetResponseBodies() []ResponseBody

func (*GetCompanionsDataResponse) GetStatusCode added in v0.11.1

func (o *GetCompanionsDataResponse) GetStatusCode() int

type GetCountriesLibraryDirectory added in v0.17.4

type GetCountriesLibraryDirectory struct {
	FastKey string `json:"fastKey"`
	Key     string `json:"key"`
	Title   string `json:"title"`
}

func (*GetCountriesLibraryDirectory) GetFastKey added in v0.17.4

func (o *GetCountriesLibraryDirectory) GetFastKey() string

func (*GetCountriesLibraryDirectory) GetKey added in v0.17.4

func (*GetCountriesLibraryDirectory) GetTitle added in v0.17.4

func (o *GetCountriesLibraryDirectory) GetTitle() string

type GetCountriesLibraryMediaContainer added in v0.17.4

type GetCountriesLibraryMediaContainer struct {
	// Number of media items returned in this response.
	Size int `json:"size"`
	// Indicates whether syncing is allowed.
	AllowSync bool `json:"allowSync"`
	// URL for the background artwork of the media container.
	Art string `json:"art"`
	// The content type or mode.
	Content string `json:"content"`
	// An plugin identifier for the media container.
	Identifier string `json:"identifier"`
	// The prefix used for media tag resource paths.
	MediaTagPrefix string `json:"mediaTagPrefix"`
	// The version number for media tags.
	MediaTagVersion int64 `json:"mediaTagVersion"`
	// Specifies whether caching is disabled.
	Nocache bool `json:"nocache"`
	// URL for the thumbnail image of the media container.
	Thumb string `json:"thumb"`
	// The primary title of the media container.
	Title1 string `json:"title1"`
	// The secondary title of the media container.
	Title2 string `json:"title2"`
	// Identifier for the view group layout.
	ViewGroup string                         `json:"viewGroup"`
	Directory []GetCountriesLibraryDirectory `json:"Directory,omitempty"`
}

func (*GetCountriesLibraryMediaContainer) GetAllowSync added in v0.17.4

func (o *GetCountriesLibraryMediaContainer) GetAllowSync() bool

func (*GetCountriesLibraryMediaContainer) GetArt added in v0.17.4

func (*GetCountriesLibraryMediaContainer) GetContent added in v0.17.4

func (o *GetCountriesLibraryMediaContainer) GetContent() string

func (*GetCountriesLibraryMediaContainer) GetDirectory added in v0.17.4

func (*GetCountriesLibraryMediaContainer) GetIdentifier added in v0.17.4

func (o *GetCountriesLibraryMediaContainer) GetIdentifier() string

func (*GetCountriesLibraryMediaContainer) GetMediaTagPrefix added in v0.17.4

func (o *GetCountriesLibraryMediaContainer) GetMediaTagPrefix() string

func (*GetCountriesLibraryMediaContainer) GetMediaTagVersion added in v0.17.4

func (o *GetCountriesLibraryMediaContainer) GetMediaTagVersion() int64

func (*GetCountriesLibraryMediaContainer) GetNocache added in v0.17.4

func (o *GetCountriesLibraryMediaContainer) GetNocache() bool

func (*GetCountriesLibraryMediaContainer) GetSize added in v0.17.4

func (*GetCountriesLibraryMediaContainer) GetThumb added in v0.17.4

func (*GetCountriesLibraryMediaContainer) GetTitle1 added in v0.17.4

func (*GetCountriesLibraryMediaContainer) GetTitle2 added in v0.17.4

func (*GetCountriesLibraryMediaContainer) GetViewGroup added in v0.17.4

func (o *GetCountriesLibraryMediaContainer) GetViewGroup() string

type GetCountriesLibraryQueryParamType added in v0.18.1

type GetCountriesLibraryQueryParamType int64

GetCountriesLibraryQueryParamType - The type of media to retrieve or filter by. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries

const (
	GetCountriesLibraryQueryParamTypeMovie   GetCountriesLibraryQueryParamType = 1
	GetCountriesLibraryQueryParamTypeTvShow  GetCountriesLibraryQueryParamType = 2
	GetCountriesLibraryQueryParamTypeSeason  GetCountriesLibraryQueryParamType = 3
	GetCountriesLibraryQueryParamTypeEpisode GetCountriesLibraryQueryParamType = 4
	GetCountriesLibraryQueryParamTypeAudio   GetCountriesLibraryQueryParamType = 8
	GetCountriesLibraryQueryParamTypeAlbum   GetCountriesLibraryQueryParamType = 9
	GetCountriesLibraryQueryParamTypeTrack   GetCountriesLibraryQueryParamType = 10
)

func (GetCountriesLibraryQueryParamType) ToPointer added in v0.18.1

func (*GetCountriesLibraryQueryParamType) UnmarshalJSON added in v0.18.1

func (e *GetCountriesLibraryQueryParamType) UnmarshalJSON(data []byte) error

type GetCountriesLibraryRequest added in v0.17.4

type GetCountriesLibraryRequest struct {
	// The unique key of the Plex library.
	// Note: This is unique in the context of the Plex server.
	//
	SectionKey int `pathParam:"style=simple,explode=false,name=sectionKey"`
	// The type of media to retrieve or filter by.
	// 1 = movie
	// 2 = show
	// 3 = season
	// 4 = episode
	// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
	//
	Type GetCountriesLibraryQueryParamType `queryParam:"style=form,explode=true,name=type"`
}

func (*GetCountriesLibraryRequest) GetSectionKey added in v0.17.4

func (o *GetCountriesLibraryRequest) GetSectionKey() int

func (*GetCountriesLibraryRequest) GetType added in v0.18.1

type GetCountriesLibraryResponse added in v0.17.4

type GetCountriesLibraryResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Successful response containing media container data.
	Object *GetCountriesLibraryResponseBody
}

func (*GetCountriesLibraryResponse) GetContentType added in v0.17.4

func (o *GetCountriesLibraryResponse) GetContentType() string

func (*GetCountriesLibraryResponse) GetObject added in v0.17.4

func (*GetCountriesLibraryResponse) GetRawResponse added in v0.17.4

func (o *GetCountriesLibraryResponse) GetRawResponse() *http.Response

func (*GetCountriesLibraryResponse) GetStatusCode added in v0.17.4

func (o *GetCountriesLibraryResponse) GetStatusCode() int

type GetCountriesLibraryResponseBody added in v0.17.4

type GetCountriesLibraryResponseBody struct {
	MediaContainer *GetCountriesLibraryMediaContainer `json:"MediaContainer,omitempty"`
}

GetCountriesLibraryResponseBody - Successful response containing media container data.

func (*GetCountriesLibraryResponseBody) GetMediaContainer added in v0.17.4

type GetDevicesMediaContainer

type GetDevicesMediaContainer struct {
	Size       *float64 `json:"size,omitempty"`
	Identifier *string  `json:"identifier,omitempty"`
	Device     []Device `json:"Device,omitempty"`
}

func (*GetDevicesMediaContainer) GetDevice

func (o *GetDevicesMediaContainer) GetDevice() []Device

func (*GetDevicesMediaContainer) GetIdentifier

func (o *GetDevicesMediaContainer) GetIdentifier() *string

func (*GetDevicesMediaContainer) GetSize

func (o *GetDevicesMediaContainer) GetSize() *float64

type GetDevicesResponse

type GetDevicesResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Devices
	Object *GetDevicesResponseBody
}

func (*GetDevicesResponse) GetContentType

func (o *GetDevicesResponse) GetContentType() string

func (*GetDevicesResponse) GetObject

func (*GetDevicesResponse) GetRawResponse

func (o *GetDevicesResponse) GetRawResponse() *http.Response

func (*GetDevicesResponse) GetStatusCode

func (o *GetDevicesResponse) GetStatusCode() int

type GetDevicesResponseBody

type GetDevicesResponseBody struct {
	MediaContainer *GetDevicesMediaContainer `json:"MediaContainer,omitempty"`
}

GetDevicesResponseBody - Devices

func (*GetDevicesResponseBody) GetMediaContainer

func (o *GetDevicesResponseBody) GetMediaContainer() *GetDevicesMediaContainer

type GetFileHashRequest

type GetFileHashRequest struct {
	// This is the path to the local file, must be prefixed by `file://`
	URL string `queryParam:"style=form,explode=true,name=url"`
	// Item type
	Type *float64 `queryParam:"style=form,explode=true,name=type"`
}

func (*GetFileHashRequest) GetType

func (o *GetFileHashRequest) GetType() *float64

func (*GetFileHashRequest) GetURL

func (o *GetFileHashRequest) GetURL() string

type GetFileHashResponse

type GetFileHashResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetFileHashResponse) GetContentType

func (o *GetFileHashResponse) GetContentType() string

func (*GetFileHashResponse) GetRawResponse

func (o *GetFileHashResponse) GetRawResponse() *http.Response

func (*GetFileHashResponse) GetStatusCode

func (o *GetFileHashResponse) GetStatusCode() int

type GetGenresLibraryDirectory added in v0.17.4

type GetGenresLibraryDirectory struct {
	FastKey string `json:"fastKey"`
	Key     string `json:"key"`
	Title   string `json:"title"`
	Type    string `json:"type"`
}

func (*GetGenresLibraryDirectory) GetFastKey added in v0.17.4

func (o *GetGenresLibraryDirectory) GetFastKey() string

func (*GetGenresLibraryDirectory) GetKey added in v0.17.4

func (o *GetGenresLibraryDirectory) GetKey() string

func (*GetGenresLibraryDirectory) GetTitle added in v0.17.4

func (o *GetGenresLibraryDirectory) GetTitle() string

func (*GetGenresLibraryDirectory) GetType added in v0.17.4

func (o *GetGenresLibraryDirectory) GetType() string

type GetGenresLibraryMediaContainer added in v0.17.4

type GetGenresLibraryMediaContainer struct {
	// Number of media items returned in this response.
	Size int `json:"size"`
	// Indicates whether syncing is allowed.
	AllowSync bool `json:"allowSync"`
	// URL for the background artwork of the media container.
	Art string `json:"art"`
	// The content type or mode.
	Content string `json:"content"`
	// An plugin identifier for the media container.
	Identifier string `json:"identifier"`
	// The prefix used for media tag resource paths.
	MediaTagPrefix string `json:"mediaTagPrefix"`
	// The version number for media tags.
	MediaTagVersion int64 `json:"mediaTagVersion"`
	// Specifies whether caching is disabled.
	Nocache bool `json:"nocache"`
	// URL for the thumbnail image of the media container.
	Thumb string `json:"thumb"`
	// The primary title of the media container.
	Title1 string `json:"title1"`
	// The secondary title of the media container.
	Title2 string `json:"title2"`
	// Identifier for the view group layout.
	ViewGroup string                      `json:"viewGroup"`
	Directory []GetGenresLibraryDirectory `json:"Directory,omitempty"`
}

func (*GetGenresLibraryMediaContainer) GetAllowSync added in v0.17.4

func (o *GetGenresLibraryMediaContainer) GetAllowSync() bool

func (*GetGenresLibraryMediaContainer) GetArt added in v0.17.4

func (*GetGenresLibraryMediaContainer) GetContent added in v0.17.4

func (o *GetGenresLibraryMediaContainer) GetContent() string

func (*GetGenresLibraryMediaContainer) GetDirectory added in v0.17.4

func (*GetGenresLibraryMediaContainer) GetIdentifier added in v0.17.4

func (o *GetGenresLibraryMediaContainer) GetIdentifier() string

func (*GetGenresLibraryMediaContainer) GetMediaTagPrefix added in v0.17.4

func (o *GetGenresLibraryMediaContainer) GetMediaTagPrefix() string

func (*GetGenresLibraryMediaContainer) GetMediaTagVersion added in v0.17.4

func (o *GetGenresLibraryMediaContainer) GetMediaTagVersion() int64

func (*GetGenresLibraryMediaContainer) GetNocache added in v0.17.4

func (o *GetGenresLibraryMediaContainer) GetNocache() bool

func (*GetGenresLibraryMediaContainer) GetSize added in v0.17.4

func (o *GetGenresLibraryMediaContainer) GetSize() int

func (*GetGenresLibraryMediaContainer) GetThumb added in v0.17.4

func (o *GetGenresLibraryMediaContainer) GetThumb() string

func (*GetGenresLibraryMediaContainer) GetTitle1 added in v0.17.4

func (o *GetGenresLibraryMediaContainer) GetTitle1() string

func (*GetGenresLibraryMediaContainer) GetTitle2 added in v0.17.4

func (o *GetGenresLibraryMediaContainer) GetTitle2() string

func (*GetGenresLibraryMediaContainer) GetViewGroup added in v0.17.4

func (o *GetGenresLibraryMediaContainer) GetViewGroup() string

type GetGenresLibraryQueryParamType added in v0.18.1

type GetGenresLibraryQueryParamType int64

GetGenresLibraryQueryParamType - The type of media to retrieve or filter by. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries

const (
	GetGenresLibraryQueryParamTypeMovie   GetGenresLibraryQueryParamType = 1
	GetGenresLibraryQueryParamTypeTvShow  GetGenresLibraryQueryParamType = 2
	GetGenresLibraryQueryParamTypeSeason  GetGenresLibraryQueryParamType = 3
	GetGenresLibraryQueryParamTypeEpisode GetGenresLibraryQueryParamType = 4
	GetGenresLibraryQueryParamTypeAudio   GetGenresLibraryQueryParamType = 8
	GetGenresLibraryQueryParamTypeAlbum   GetGenresLibraryQueryParamType = 9
	GetGenresLibraryQueryParamTypeTrack   GetGenresLibraryQueryParamType = 10
)

func (GetGenresLibraryQueryParamType) ToPointer added in v0.18.1

func (*GetGenresLibraryQueryParamType) UnmarshalJSON added in v0.18.1

func (e *GetGenresLibraryQueryParamType) UnmarshalJSON(data []byte) error

type GetGenresLibraryRequest added in v0.17.4

type GetGenresLibraryRequest struct {
	// The unique key of the Plex library.
	// Note: This is unique in the context of the Plex server.
	//
	SectionKey int `pathParam:"style=simple,explode=false,name=sectionKey"`
	// The type of media to retrieve or filter by.
	// 1 = movie
	// 2 = show
	// 3 = season
	// 4 = episode
	// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
	//
	Type GetGenresLibraryQueryParamType `queryParam:"style=form,explode=true,name=type"`
}

func (*GetGenresLibraryRequest) GetSectionKey added in v0.17.4

func (o *GetGenresLibraryRequest) GetSectionKey() int

func (*GetGenresLibraryRequest) GetType added in v0.18.1

type GetGenresLibraryResponse added in v0.17.4

type GetGenresLibraryResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Successful response containing media container data.
	Object *GetGenresLibraryResponseBody
}

func (*GetGenresLibraryResponse) GetContentType added in v0.17.4

func (o *GetGenresLibraryResponse) GetContentType() string

func (*GetGenresLibraryResponse) GetObject added in v0.17.4

func (*GetGenresLibraryResponse) GetRawResponse added in v0.17.4

func (o *GetGenresLibraryResponse) GetRawResponse() *http.Response

func (*GetGenresLibraryResponse) GetStatusCode added in v0.17.4

func (o *GetGenresLibraryResponse) GetStatusCode() int

type GetGenresLibraryResponseBody added in v0.17.4

type GetGenresLibraryResponseBody struct {
	MediaContainer *GetGenresLibraryMediaContainer `json:"MediaContainer,omitempty"`
}

GetGenresLibraryResponseBody - Successful response containing media container data.

func (*GetGenresLibraryResponseBody) GetMediaContainer added in v0.17.4

type GetGeoDataGeoData added in v0.11.1

type GetGeoDataGeoData struct {
	// The ISO 3166-1 alpha-2 code of the country.
	Code string `json:"code"`
	// The continent code where the country is located.
	ContinentCode string `json:"continent_code"`
	// The official name of the country.
	Country string `json:"country"`
	// The name of the city.
	City string `json:"city"`
	// Indicates if the country is a member of the European Union.
	EuropeanUnionMember *bool `default:"false" json:"european_union_member"`
	// The time zone of the country.
	TimeZone string `json:"time_zone"`
	// The postal code of the location.
	PostalCode string `json:"postal_code"`
	// Indicates if the country has privacy restrictions.
	InPrivacyRestrictedCountry *bool `default:"false" json:"in_privacy_restricted_country"`
	// Indicates if the region has privacy restrictions.
	InPrivacyRestrictedRegion *bool `default:"false" json:"in_privacy_restricted_region"`
	// The name of the primary administrative subdivision.
	Subdivisions string `json:"subdivisions"`
	// The geographical coordinates (latitude, longitude) of the location.
	Coordinates string `json:"coordinates"`
}

GetGeoDataGeoData - Geo location data

func (*GetGeoDataGeoData) GetCity added in v0.11.1

func (o *GetGeoDataGeoData) GetCity() string

func (*GetGeoDataGeoData) GetCode added in v0.11.1

func (o *GetGeoDataGeoData) GetCode() string

func (*GetGeoDataGeoData) GetContinentCode added in v0.11.1

func (o *GetGeoDataGeoData) GetContinentCode() string

func (*GetGeoDataGeoData) GetCoordinates added in v0.11.1

func (o *GetGeoDataGeoData) GetCoordinates() string

func (*GetGeoDataGeoData) GetCountry added in v0.11.1

func (o *GetGeoDataGeoData) GetCountry() string

func (*GetGeoDataGeoData) GetEuropeanUnionMember added in v0.11.1

func (o *GetGeoDataGeoData) GetEuropeanUnionMember() *bool

func (*GetGeoDataGeoData) GetInPrivacyRestrictedCountry added in v0.11.1

func (o *GetGeoDataGeoData) GetInPrivacyRestrictedCountry() *bool

func (*GetGeoDataGeoData) GetInPrivacyRestrictedRegion added in v0.11.1

func (o *GetGeoDataGeoData) GetInPrivacyRestrictedRegion() *bool

func (*GetGeoDataGeoData) GetPostalCode added in v0.11.1

func (o *GetGeoDataGeoData) GetPostalCode() string

func (*GetGeoDataGeoData) GetSubdivisions added in v0.11.1

func (o *GetGeoDataGeoData) GetSubdivisions() string

func (*GetGeoDataGeoData) GetTimeZone added in v0.11.1

func (o *GetGeoDataGeoData) GetTimeZone() string

func (GetGeoDataGeoData) MarshalJSON added in v0.11.1

func (g GetGeoDataGeoData) MarshalJSON() ([]byte, error)

func (*GetGeoDataGeoData) UnmarshalJSON added in v0.11.1

func (g *GetGeoDataGeoData) UnmarshalJSON(data []byte) error

type GetGeoDataResponse added in v0.11.1

type GetGeoDataResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Gets the geo location data of the user
	GeoData *GetGeoDataGeoData
}

func (*GetGeoDataResponse) GetContentType added in v0.11.1

func (o *GetGeoDataResponse) GetContentType() string

func (*GetGeoDataResponse) GetGeoData added in v0.11.1

func (o *GetGeoDataResponse) GetGeoData() *GetGeoDataGeoData

func (*GetGeoDataResponse) GetRawResponse added in v0.11.1

func (o *GetGeoDataResponse) GetRawResponse() *http.Response

func (*GetGeoDataResponse) GetStatusCode added in v0.11.1

func (o *GetGeoDataResponse) GetStatusCode() int

type GetGlobalHubsMediaContainer added in v0.1.1

type GetGlobalHubsMediaContainer struct {
	Size       *int    `json:"size,omitempty"`
	AllowSync  *bool   `json:"allowSync,omitempty"`
	Identifier *string `json:"identifier,omitempty"`
	Hub        []Hub   `json:"Hub,omitempty"`
}

func (*GetGlobalHubsMediaContainer) GetAllowSync added in v0.1.1

func (o *GetGlobalHubsMediaContainer) GetAllowSync() *bool

func (*GetGlobalHubsMediaContainer) GetHub added in v0.1.1

func (o *GetGlobalHubsMediaContainer) GetHub() []Hub

func (*GetGlobalHubsMediaContainer) GetIdentifier added in v0.1.1

func (o *GetGlobalHubsMediaContainer) GetIdentifier() *string

func (*GetGlobalHubsMediaContainer) GetSize added in v0.1.1

func (o *GetGlobalHubsMediaContainer) GetSize() *int

type GetGlobalHubsMetadata added in v0.1.1

type GetGlobalHubsMetadata struct {
	RatingKey    *string `json:"ratingKey,omitempty"`
	Key          *string `json:"key,omitempty"`
	GUID         *string `json:"guid,omitempty"`
	Type         *string `json:"type,omitempty"`
	Title        *string `json:"title,omitempty"`
	TitleSort    *string `json:"titleSort,omitempty"`
	Summary      *string `json:"summary,omitempty"`
	Smart        *bool   `json:"smart,omitempty"`
	PlaylistType *string `json:"playlistType,omitempty"`
	Composite    *string `json:"composite,omitempty"`
	Icon         *string `json:"icon,omitempty"`
	ViewCount    *int    `json:"viewCount,omitempty"`
	LastViewedAt *int    `json:"lastViewedAt,omitempty"`
	Duration     *int    `json:"duration,omitempty"`
	LeafCount    *int    `json:"leafCount,omitempty"`
	AddedAt      *int    `json:"addedAt,omitempty"`
	UpdatedAt    *int    `json:"updatedAt,omitempty"`
}

func (*GetGlobalHubsMetadata) GetAddedAt added in v0.1.1

func (o *GetGlobalHubsMetadata) GetAddedAt() *int

func (*GetGlobalHubsMetadata) GetComposite added in v0.1.1

func (o *GetGlobalHubsMetadata) GetComposite() *string

func (*GetGlobalHubsMetadata) GetDuration added in v0.1.1

func (o *GetGlobalHubsMetadata) GetDuration() *int

func (*GetGlobalHubsMetadata) GetGUID added in v0.1.1

func (o *GetGlobalHubsMetadata) GetGUID() *string

func (*GetGlobalHubsMetadata) GetIcon added in v0.1.1

func (o *GetGlobalHubsMetadata) GetIcon() *string

func (*GetGlobalHubsMetadata) GetKey added in v0.1.1

func (o *GetGlobalHubsMetadata) GetKey() *string

func (*GetGlobalHubsMetadata) GetLastViewedAt added in v0.1.1

func (o *GetGlobalHubsMetadata) GetLastViewedAt() *int

func (*GetGlobalHubsMetadata) GetLeafCount added in v0.1.1

func (o *GetGlobalHubsMetadata) GetLeafCount() *int

func (*GetGlobalHubsMetadata) GetPlaylistType added in v0.1.1

func (o *GetGlobalHubsMetadata) GetPlaylistType() *string

func (*GetGlobalHubsMetadata) GetRatingKey added in v0.1.1

func (o *GetGlobalHubsMetadata) GetRatingKey() *string

func (*GetGlobalHubsMetadata) GetSmart added in v0.1.1

func (o *GetGlobalHubsMetadata) GetSmart() *bool

func (*GetGlobalHubsMetadata) GetSummary added in v0.1.1

func (o *GetGlobalHubsMetadata) GetSummary() *string

func (*GetGlobalHubsMetadata) GetTitle added in v0.1.1

func (o *GetGlobalHubsMetadata) GetTitle() *string

func (*GetGlobalHubsMetadata) GetTitleSort added in v0.1.1

func (o *GetGlobalHubsMetadata) GetTitleSort() *string

func (*GetGlobalHubsMetadata) GetType added in v0.1.1

func (o *GetGlobalHubsMetadata) GetType() *string

func (*GetGlobalHubsMetadata) GetUpdatedAt added in v0.1.1

func (o *GetGlobalHubsMetadata) GetUpdatedAt() *int

func (*GetGlobalHubsMetadata) GetViewCount added in v0.1.1

func (o *GetGlobalHubsMetadata) GetViewCount() *int

type GetGlobalHubsRequest

type GetGlobalHubsRequest struct {
	// The number of items to return with each hub.
	Count *float64 `queryParam:"style=form,explode=true,name=count"`
	// Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added).
	OnlyTransient *OnlyTransient `queryParam:"style=form,explode=true,name=onlyTransient"`
}

func (*GetGlobalHubsRequest) GetCount

func (o *GetGlobalHubsRequest) GetCount() *float64

func (*GetGlobalHubsRequest) GetOnlyTransient

func (o *GetGlobalHubsRequest) GetOnlyTransient() *OnlyTransient

type GetGlobalHubsResponse

type GetGlobalHubsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// returns global hubs
	Object *GetGlobalHubsResponseBody
}

func (*GetGlobalHubsResponse) GetContentType

func (o *GetGlobalHubsResponse) GetContentType() string

func (*GetGlobalHubsResponse) GetObject added in v0.1.1

func (*GetGlobalHubsResponse) GetRawResponse

func (o *GetGlobalHubsResponse) GetRawResponse() *http.Response

func (*GetGlobalHubsResponse) GetStatusCode

func (o *GetGlobalHubsResponse) GetStatusCode() int

type GetGlobalHubsResponseBody added in v0.1.1

type GetGlobalHubsResponseBody struct {
	MediaContainer *GetGlobalHubsMediaContainer `json:"MediaContainer,omitempty"`
}

GetGlobalHubsResponseBody - returns global hubs

func (*GetGlobalHubsResponseBody) GetMediaContainer added in v0.1.1

type GetHomeDataResponse added in v0.9.0

type GetHomeDataResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Home Data
	Object *GetHomeDataResponseBody
}

func (*GetHomeDataResponse) GetContentType added in v0.9.0

func (o *GetHomeDataResponse) GetContentType() string

func (*GetHomeDataResponse) GetObject added in v0.9.0

func (*GetHomeDataResponse) GetRawResponse added in v0.9.0

func (o *GetHomeDataResponse) GetRawResponse() *http.Response

func (*GetHomeDataResponse) GetStatusCode added in v0.9.0

func (o *GetHomeDataResponse) GetStatusCode() int

type GetHomeDataResponseBody added in v0.9.0

type GetHomeDataResponseBody struct {
	ID            *float64 `json:"id,omitempty"`
	Name          *string  `json:"name,omitempty"`
	GuestUserID   *float64 `json:"guestUserID,omitempty"`
	GuestUserUUID *string  `json:"guestUserUUID,omitempty"`
	GuestEnabled  *bool    `json:"guestEnabled,omitempty"`
	Subscription  *bool    `json:"subscription,omitempty"`
}

GetHomeDataResponseBody - Home Data

func (*GetHomeDataResponseBody) GetGuestEnabled added in v0.9.0

func (o *GetHomeDataResponseBody) GetGuestEnabled() *bool

func (*GetHomeDataResponseBody) GetGuestUserID added in v0.9.0

func (o *GetHomeDataResponseBody) GetGuestUserID() *float64

func (*GetHomeDataResponseBody) GetGuestUserUUID added in v0.9.0

func (o *GetHomeDataResponseBody) GetGuestUserUUID() *string

func (*GetHomeDataResponseBody) GetID added in v0.9.0

func (o *GetHomeDataResponseBody) GetID() *float64

func (*GetHomeDataResponseBody) GetName added in v0.9.0

func (o *GetHomeDataResponseBody) GetName() *string

func (*GetHomeDataResponseBody) GetSubscription added in v0.9.0

func (o *GetHomeDataResponseBody) GetSubscription() *bool

type GetLibraryDetailsDirectory added in v0.11.1

type GetLibraryDetailsDirectory struct {
	Key       *string `json:"key,omitempty"`
	Title     *string `json:"title,omitempty"`
	Secondary *bool   `json:"secondary,omitempty"`
	Prompt    *string `json:"prompt,omitempty"`
	Search    *bool   `json:"search,omitempty"`
}

func (*GetLibraryDetailsDirectory) GetKey added in v0.11.1

func (o *GetLibraryDetailsDirectory) GetKey() *string

func (*GetLibraryDetailsDirectory) GetPrompt added in v0.11.1

func (o *GetLibraryDetailsDirectory) GetPrompt() *string

func (*GetLibraryDetailsDirectory) GetSearch added in v0.11.1

func (o *GetLibraryDetailsDirectory) GetSearch() *bool

func (*GetLibraryDetailsDirectory) GetSecondary added in v0.11.1

func (o *GetLibraryDetailsDirectory) GetSecondary() *bool

func (*GetLibraryDetailsDirectory) GetTitle added in v0.11.1

func (o *GetLibraryDetailsDirectory) GetTitle() *string

type GetLibraryDetailsField added in v0.13.0

type GetLibraryDetailsField struct {
	Key     *string `json:"key,omitempty"`
	Title   *string `json:"title,omitempty"`
	Type    *string `json:"type,omitempty"`
	SubType *string `json:"subType,omitempty"`
}

func (*GetLibraryDetailsField) GetKey added in v0.13.0

func (o *GetLibraryDetailsField) GetKey() *string

func (*GetLibraryDetailsField) GetSubType added in v0.13.0

func (o *GetLibraryDetailsField) GetSubType() *string

func (*GetLibraryDetailsField) GetTitle added in v0.13.0

func (o *GetLibraryDetailsField) GetTitle() *string

func (*GetLibraryDetailsField) GetType added in v0.13.0

func (o *GetLibraryDetailsField) GetType() *string

type GetLibraryDetailsFieldType added in v0.13.0

type GetLibraryDetailsFieldType struct {
	Type     *string                     `json:"type,omitempty"`
	Operator []GetLibraryDetailsOperator `json:"Operator,omitempty"`
}

func (*GetLibraryDetailsFieldType) GetOperator added in v0.13.0

func (*GetLibraryDetailsFieldType) GetType added in v0.13.0

func (o *GetLibraryDetailsFieldType) GetType() *string

type GetLibraryDetailsFilter added in v0.11.1

type GetLibraryDetailsFilter struct {
	Filter     *string `json:"filter,omitempty"`
	FilterType *string `json:"filterType,omitempty"`
	Key        *string `json:"key,omitempty"`
	Title      *string `json:"title,omitempty"`
	Type       *string `json:"type,omitempty"`
}

func (*GetLibraryDetailsFilter) GetFilter added in v0.11.1

func (o *GetLibraryDetailsFilter) GetFilter() *string

func (*GetLibraryDetailsFilter) GetFilterType added in v0.11.1

func (o *GetLibraryDetailsFilter) GetFilterType() *string

func (*GetLibraryDetailsFilter) GetKey added in v0.11.1

func (o *GetLibraryDetailsFilter) GetKey() *string

func (*GetLibraryDetailsFilter) GetTitle added in v0.11.1

func (o *GetLibraryDetailsFilter) GetTitle() *string

func (*GetLibraryDetailsFilter) GetType added in v0.11.1

func (o *GetLibraryDetailsFilter) GetType() *string

type GetLibraryDetailsMediaContainer added in v0.11.1

type GetLibraryDetailsMediaContainer struct {
	Size             *int                         `json:"size,omitempty"`
	AllowSync        *bool                        `json:"allowSync,omitempty"`
	Art              *string                      `json:"art,omitempty"`
	Content          *string                      `json:"content,omitempty"`
	Identifier       *string                      `json:"identifier,omitempty"`
	LibrarySectionID *int                         `json:"librarySectionID,omitempty"`
	MediaTagPrefix   *string                      `json:"mediaTagPrefix,omitempty"`
	MediaTagVersion  *int                         `json:"mediaTagVersion,omitempty"`
	Thumb            *string                      `json:"thumb,omitempty"`
	Title1           *string                      `json:"title1,omitempty"`
	ViewGroup        *string                      `json:"viewGroup,omitempty"`
	ViewMode         *int                         `json:"viewMode,omitempty"`
	Directory        []GetLibraryDetailsDirectory `json:"Directory,omitempty"`
	Type             []GetLibraryDetailsType      `json:"Type,omitempty"`
	FieldType        []GetLibraryDetailsFieldType `json:"FieldType,omitempty"`
}

func (*GetLibraryDetailsMediaContainer) GetAllowSync added in v0.11.1

func (o *GetLibraryDetailsMediaContainer) GetAllowSync() *bool

func (*GetLibraryDetailsMediaContainer) GetArt added in v0.11.1

func (*GetLibraryDetailsMediaContainer) GetContent added in v0.11.1

func (o *GetLibraryDetailsMediaContainer) GetContent() *string

func (*GetLibraryDetailsMediaContainer) GetDirectory added in v0.11.1

func (*GetLibraryDetailsMediaContainer) GetFieldType added in v0.11.1

func (*GetLibraryDetailsMediaContainer) GetIdentifier added in v0.11.1

func (o *GetLibraryDetailsMediaContainer) GetIdentifier() *string

func (*GetLibraryDetailsMediaContainer) GetLibrarySectionID added in v0.11.1

func (o *GetLibraryDetailsMediaContainer) GetLibrarySectionID() *int

func (*GetLibraryDetailsMediaContainer) GetMediaTagPrefix added in v0.11.1

func (o *GetLibraryDetailsMediaContainer) GetMediaTagPrefix() *string

func (*GetLibraryDetailsMediaContainer) GetMediaTagVersion added in v0.11.1

func (o *GetLibraryDetailsMediaContainer) GetMediaTagVersion() *int

func (*GetLibraryDetailsMediaContainer) GetSize added in v0.11.1

func (o *GetLibraryDetailsMediaContainer) GetSize() *int

func (*GetLibraryDetailsMediaContainer) GetThumb added in v0.11.1

func (o *GetLibraryDetailsMediaContainer) GetThumb() *string

func (*GetLibraryDetailsMediaContainer) GetTitle1 added in v0.11.1

func (o *GetLibraryDetailsMediaContainer) GetTitle1() *string

func (*GetLibraryDetailsMediaContainer) GetType added in v0.11.1

func (*GetLibraryDetailsMediaContainer) GetViewGroup added in v0.11.1

func (o *GetLibraryDetailsMediaContainer) GetViewGroup() *string

func (*GetLibraryDetailsMediaContainer) GetViewMode added in v0.11.1

func (o *GetLibraryDetailsMediaContainer) GetViewMode() *int

type GetLibraryDetailsOperator added in v0.13.0

type GetLibraryDetailsOperator struct {
	Key   *string `json:"key,omitempty"`
	Title *string `json:"title,omitempty"`
}

func (*GetLibraryDetailsOperator) GetKey added in v0.13.0

func (o *GetLibraryDetailsOperator) GetKey() *string

func (*GetLibraryDetailsOperator) GetTitle added in v0.13.0

func (o *GetLibraryDetailsOperator) GetTitle() *string

type GetLibraryDetailsRequest added in v0.11.1

type GetLibraryDetailsRequest struct {
	// Whether or not to include details for a section (types, filters, and sorts).
	// Only exists for backwards compatibility, media providers other than the server libraries have it on always.
	//
	IncludeDetails *IncludeDetails `default:"0" queryParam:"style=form,explode=true,name=includeDetails"`
	// The unique key of the Plex library.
	// Note: This is unique in the context of the Plex server.
	//
	SectionKey int `pathParam:"style=simple,explode=false,name=sectionKey"`
}

func (*GetLibraryDetailsRequest) GetIncludeDetails added in v0.11.1

func (o *GetLibraryDetailsRequest) GetIncludeDetails() *IncludeDetails

func (*GetLibraryDetailsRequest) GetSectionKey added in v0.11.1

func (o *GetLibraryDetailsRequest) GetSectionKey() int

func (GetLibraryDetailsRequest) MarshalJSON added in v0.11.1

func (g GetLibraryDetailsRequest) MarshalJSON() ([]byte, error)

func (*GetLibraryDetailsRequest) UnmarshalJSON added in v0.11.1

func (g *GetLibraryDetailsRequest) UnmarshalJSON(data []byte) error

type GetLibraryDetailsResponse added in v0.11.1

type GetLibraryDetailsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The details of the library
	Object *GetLibraryDetailsResponseBody
}

func (*GetLibraryDetailsResponse) GetContentType added in v0.11.1

func (o *GetLibraryDetailsResponse) GetContentType() string

func (*GetLibraryDetailsResponse) GetObject added in v0.11.1

func (*GetLibraryDetailsResponse) GetRawResponse added in v0.11.1

func (o *GetLibraryDetailsResponse) GetRawResponse() *http.Response

func (*GetLibraryDetailsResponse) GetStatusCode added in v0.11.1

func (o *GetLibraryDetailsResponse) GetStatusCode() int

type GetLibraryDetailsResponseBody added in v0.11.1

type GetLibraryDetailsResponseBody struct {
	MediaContainer *GetLibraryDetailsMediaContainer `json:"MediaContainer,omitempty"`
}

GetLibraryDetailsResponseBody - The details of the library

func (*GetLibraryDetailsResponseBody) GetMediaContainer added in v0.11.1

type GetLibraryDetailsSort added in v0.13.0

type GetLibraryDetailsSort struct {
	Default           *string `json:"default,omitempty"`
	DefaultDirection  *string `json:"defaultDirection,omitempty"`
	DescKey           *string `json:"descKey,omitempty"`
	FirstCharacterKey *string `json:"firstCharacterKey,omitempty"`
	Key               *string `json:"key,omitempty"`
	Title             *string `json:"title,omitempty"`
}

func (*GetLibraryDetailsSort) GetDefault added in v0.13.0

func (o *GetLibraryDetailsSort) GetDefault() *string

func (*GetLibraryDetailsSort) GetDefaultDirection added in v0.13.0

func (o *GetLibraryDetailsSort) GetDefaultDirection() *string

func (*GetLibraryDetailsSort) GetDescKey added in v0.13.0

func (o *GetLibraryDetailsSort) GetDescKey() *string

func (*GetLibraryDetailsSort) GetFirstCharacterKey added in v0.13.0

func (o *GetLibraryDetailsSort) GetFirstCharacterKey() *string

func (*GetLibraryDetailsSort) GetKey added in v0.13.0

func (o *GetLibraryDetailsSort) GetKey() *string

func (*GetLibraryDetailsSort) GetTitle added in v0.13.0

func (o *GetLibraryDetailsSort) GetTitle() *string

type GetLibraryDetailsType added in v0.11.1

type GetLibraryDetailsType struct {
	Key    *string                   `json:"key,omitempty"`
	Type   *string                   `json:"type,omitempty"`
	Title  *string                   `json:"title,omitempty"`
	Active *bool                     `json:"active,omitempty"`
	Filter []GetLibraryDetailsFilter `json:"Filter,omitempty"`
	Sort   []GetLibraryDetailsSort   `json:"Sort,omitempty"`
	Field  []GetLibraryDetailsField  `json:"Field,omitempty"`
}

func (*GetLibraryDetailsType) GetActive added in v0.11.1

func (o *GetLibraryDetailsType) GetActive() *bool

func (*GetLibraryDetailsType) GetField added in v0.11.1

func (*GetLibraryDetailsType) GetFilter added in v0.11.1

func (*GetLibraryDetailsType) GetKey added in v0.11.1

func (o *GetLibraryDetailsType) GetKey() *string

func (*GetLibraryDetailsType) GetSort added in v0.11.1

func (*GetLibraryDetailsType) GetTitle added in v0.11.1

func (o *GetLibraryDetailsType) GetTitle() *string

func (*GetLibraryDetailsType) GetType added in v0.11.1

func (o *GetLibraryDetailsType) GetType() *string

type GetLibraryHubsCountry added in v0.1.1

type GetLibraryHubsCountry struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetLibraryHubsCountry) GetTag added in v0.1.1

func (o *GetLibraryHubsCountry) GetTag() *string

type GetLibraryHubsDirector added in v0.1.1

type GetLibraryHubsDirector struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetLibraryHubsDirector) GetTag added in v0.1.1

func (o *GetLibraryHubsDirector) GetTag() *string

type GetLibraryHubsGenre added in v0.1.1

type GetLibraryHubsGenre struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetLibraryHubsGenre) GetTag added in v0.1.1

func (o *GetLibraryHubsGenre) GetTag() *string

type GetLibraryHubsHub added in v0.1.1

type GetLibraryHubsHub struct {
	Key           *string                  `json:"key,omitempty"`
	Title         *string                  `json:"title,omitempty"`
	Type          *string                  `json:"type,omitempty"`
	HubIdentifier *string                  `json:"hubIdentifier,omitempty"`
	Context       *string                  `json:"context,omitempty"`
	Size          *int                     `json:"size,omitempty"`
	More          *bool                    `json:"more,omitempty"`
	Style         *string                  `json:"style,omitempty"`
	HubKey        *string                  `json:"hubKey,omitempty"`
	Metadata      []GetLibraryHubsMetadata `json:"Metadata,omitempty"`
	Promoted      *bool                    `json:"promoted,omitempty"`
	Random        *bool                    `json:"random,omitempty"`
}

func (*GetLibraryHubsHub) GetContext added in v0.1.1

func (o *GetLibraryHubsHub) GetContext() *string

func (*GetLibraryHubsHub) GetHubIdentifier added in v0.1.1

func (o *GetLibraryHubsHub) GetHubIdentifier() *string

func (*GetLibraryHubsHub) GetHubKey added in v0.1.1

func (o *GetLibraryHubsHub) GetHubKey() *string

func (*GetLibraryHubsHub) GetKey added in v0.1.1

func (o *GetLibraryHubsHub) GetKey() *string

func (*GetLibraryHubsHub) GetMetadata added in v0.1.1

func (o *GetLibraryHubsHub) GetMetadata() []GetLibraryHubsMetadata

func (*GetLibraryHubsHub) GetMore added in v0.1.1

func (o *GetLibraryHubsHub) GetMore() *bool

func (*GetLibraryHubsHub) GetPromoted added in v0.1.1

func (o *GetLibraryHubsHub) GetPromoted() *bool

func (*GetLibraryHubsHub) GetRandom added in v0.1.1

func (o *GetLibraryHubsHub) GetRandom() *bool

func (*GetLibraryHubsHub) GetSize added in v0.1.1

func (o *GetLibraryHubsHub) GetSize() *int

func (*GetLibraryHubsHub) GetStyle added in v0.1.1

func (o *GetLibraryHubsHub) GetStyle() *string

func (*GetLibraryHubsHub) GetTitle added in v0.1.1

func (o *GetLibraryHubsHub) GetTitle() *string

func (*GetLibraryHubsHub) GetType added in v0.1.1

func (o *GetLibraryHubsHub) GetType() *string

type GetLibraryHubsMedia added in v0.1.1

type GetLibraryHubsMedia struct {
	ID                    *int                 `json:"id,omitempty"`
	Duration              *int                 `json:"duration,omitempty"`
	Bitrate               *int                 `json:"bitrate,omitempty"`
	Width                 *int                 `json:"width,omitempty"`
	Height                *int                 `json:"height,omitempty"`
	AspectRatio           *float64             `json:"aspectRatio,omitempty"`
	AudioChannels         *int                 `json:"audioChannels,omitempty"`
	AudioCodec            *string              `json:"audioCodec,omitempty"`
	VideoCodec            *string              `json:"videoCodec,omitempty"`
	VideoResolution       *string              `json:"videoResolution,omitempty"`
	Container             *string              `json:"container,omitempty"`
	VideoFrameRate        *string              `json:"videoFrameRate,omitempty"`
	OptimizedForStreaming *int                 `json:"optimizedForStreaming,omitempty"`
	AudioProfile          *string              `json:"audioProfile,omitempty"`
	Has64bitOffsets       *bool                `json:"has64bitOffsets,omitempty"`
	VideoProfile          *string              `json:"videoProfile,omitempty"`
	Part                  []GetLibraryHubsPart `json:"Part,omitempty"`
}

func (*GetLibraryHubsMedia) GetAspectRatio added in v0.1.1

func (o *GetLibraryHubsMedia) GetAspectRatio() *float64

func (*GetLibraryHubsMedia) GetAudioChannels added in v0.1.1

func (o *GetLibraryHubsMedia) GetAudioChannels() *int

func (*GetLibraryHubsMedia) GetAudioCodec added in v0.1.1

func (o *GetLibraryHubsMedia) GetAudioCodec() *string

func (*GetLibraryHubsMedia) GetAudioProfile added in v0.1.1

func (o *GetLibraryHubsMedia) GetAudioProfile() *string

func (*GetLibraryHubsMedia) GetBitrate added in v0.1.1

func (o *GetLibraryHubsMedia) GetBitrate() *int

func (*GetLibraryHubsMedia) GetContainer added in v0.1.1

func (o *GetLibraryHubsMedia) GetContainer() *string

func (*GetLibraryHubsMedia) GetDuration added in v0.1.1

func (o *GetLibraryHubsMedia) GetDuration() *int

func (*GetLibraryHubsMedia) GetHas64bitOffsets added in v0.1.1

func (o *GetLibraryHubsMedia) GetHas64bitOffsets() *bool

func (*GetLibraryHubsMedia) GetHeight added in v0.1.1

func (o *GetLibraryHubsMedia) GetHeight() *int

func (*GetLibraryHubsMedia) GetID added in v0.1.1

func (o *GetLibraryHubsMedia) GetID() *int

func (*GetLibraryHubsMedia) GetOptimizedForStreaming added in v0.1.1

func (o *GetLibraryHubsMedia) GetOptimizedForStreaming() *int

func (*GetLibraryHubsMedia) GetPart added in v0.1.1

func (o *GetLibraryHubsMedia) GetPart() []GetLibraryHubsPart

func (*GetLibraryHubsMedia) GetVideoCodec added in v0.1.1

func (o *GetLibraryHubsMedia) GetVideoCodec() *string

func (*GetLibraryHubsMedia) GetVideoFrameRate added in v0.1.1

func (o *GetLibraryHubsMedia) GetVideoFrameRate() *string

func (*GetLibraryHubsMedia) GetVideoProfile added in v0.1.1

func (o *GetLibraryHubsMedia) GetVideoProfile() *string

func (*GetLibraryHubsMedia) GetVideoResolution added in v0.1.1

func (o *GetLibraryHubsMedia) GetVideoResolution() *string

func (*GetLibraryHubsMedia) GetWidth added in v0.1.1

func (o *GetLibraryHubsMedia) GetWidth() *int

type GetLibraryHubsMediaContainer added in v0.1.1

type GetLibraryHubsMediaContainer struct {
	Size                *int                `json:"size,omitempty"`
	AllowSync           *bool               `json:"allowSync,omitempty"`
	Identifier          *string             `json:"identifier,omitempty"`
	LibrarySectionID    *int                `json:"librarySectionID,omitempty"`
	LibrarySectionTitle *string             `json:"librarySectionTitle,omitempty"`
	LibrarySectionUUID  *string             `json:"librarySectionUUID,omitempty"`
	Hub                 []GetLibraryHubsHub `json:"Hub,omitempty"`
}

func (*GetLibraryHubsMediaContainer) GetAllowSync added in v0.1.1

func (o *GetLibraryHubsMediaContainer) GetAllowSync() *bool

func (*GetLibraryHubsMediaContainer) GetHub added in v0.1.1

func (*GetLibraryHubsMediaContainer) GetIdentifier added in v0.1.1

func (o *GetLibraryHubsMediaContainer) GetIdentifier() *string

func (*GetLibraryHubsMediaContainer) GetLibrarySectionID added in v0.1.1

func (o *GetLibraryHubsMediaContainer) GetLibrarySectionID() *int

func (*GetLibraryHubsMediaContainer) GetLibrarySectionTitle added in v0.1.1

func (o *GetLibraryHubsMediaContainer) GetLibrarySectionTitle() *string

func (*GetLibraryHubsMediaContainer) GetLibrarySectionUUID added in v0.1.1

func (o *GetLibraryHubsMediaContainer) GetLibrarySectionUUID() *string

func (*GetLibraryHubsMediaContainer) GetSize added in v0.1.1

func (o *GetLibraryHubsMediaContainer) GetSize() *int

type GetLibraryHubsMetadata added in v0.1.1

type GetLibraryHubsMetadata struct {
	RatingKey             *string                  `json:"ratingKey,omitempty"`
	Key                   *string                  `json:"key,omitempty"`
	GUID                  *string                  `json:"guid,omitempty"`
	Studio                *string                  `json:"studio,omitempty"`
	Type                  *string                  `json:"type,omitempty"`
	Title                 *string                  `json:"title,omitempty"`
	LibrarySectionTitle   *string                  `json:"librarySectionTitle,omitempty"`
	LibrarySectionID      *int                     `json:"librarySectionID,omitempty"`
	LibrarySectionKey     *string                  `json:"librarySectionKey,omitempty"`
	ContentRating         *string                  `json:"contentRating,omitempty"`
	Summary               *string                  `json:"summary,omitempty"`
	Rating                *float64                 `json:"rating,omitempty"`
	AudienceRating        *float64                 `json:"audienceRating,omitempty"`
	ViewCount             *int                     `json:"viewCount,omitempty"`
	LastViewedAt          *int                     `json:"lastViewedAt,omitempty"`
	Year                  *int                     `json:"year,omitempty"`
	Tagline               *string                  `json:"tagline,omitempty"`
	Thumb                 *string                  `json:"thumb,omitempty"`
	Art                   *string                  `json:"art,omitempty"`
	Duration              *int                     `json:"duration,omitempty"`
	OriginallyAvailableAt *types.Date              `json:"originallyAvailableAt,omitempty"`
	AddedAt               *int                     `json:"addedAt,omitempty"`
	UpdatedAt             *int                     `json:"updatedAt,omitempty"`
	AudienceRatingImage   *string                  `json:"audienceRatingImage,omitempty"`
	PrimaryExtraKey       *string                  `json:"primaryExtraKey,omitempty"`
	RatingImage           *string                  `json:"ratingImage,omitempty"`
	Media                 []GetLibraryHubsMedia    `json:"Media,omitempty"`
	Genre                 []GetLibraryHubsGenre    `json:"Genre,omitempty"`
	Country               []GetLibraryHubsCountry  `json:"Country,omitempty"`
	Director              []GetLibraryHubsDirector `json:"Director,omitempty"`
	Role                  []GetLibraryHubsRole     `json:"Role,omitempty"`
	Writer                []GetLibraryHubsWriter   `json:"Writer,omitempty"`
	SkipCount             *int                     `json:"skipCount,omitempty"`
	ChapterSource         *string                  `json:"chapterSource,omitempty"`
}

func (*GetLibraryHubsMetadata) GetAddedAt added in v0.1.1

func (o *GetLibraryHubsMetadata) GetAddedAt() *int

func (*GetLibraryHubsMetadata) GetArt added in v0.1.1

func (o *GetLibraryHubsMetadata) GetArt() *string

func (*GetLibraryHubsMetadata) GetAudienceRating added in v0.1.1

func (o *GetLibraryHubsMetadata) GetAudienceRating() *float64

func (*GetLibraryHubsMetadata) GetAudienceRatingImage added in v0.1.1

func (o *GetLibraryHubsMetadata) GetAudienceRatingImage() *string

func (*GetLibraryHubsMetadata) GetChapterSource added in v0.1.1

func (o *GetLibraryHubsMetadata) GetChapterSource() *string

func (*GetLibraryHubsMetadata) GetContentRating added in v0.1.1

func (o *GetLibraryHubsMetadata) GetContentRating() *string

func (*GetLibraryHubsMetadata) GetCountry added in v0.1.1

func (*GetLibraryHubsMetadata) GetDirector added in v0.1.1

func (*GetLibraryHubsMetadata) GetDuration added in v0.1.1

func (o *GetLibraryHubsMetadata) GetDuration() *int

func (*GetLibraryHubsMetadata) GetGUID added in v0.1.1

func (o *GetLibraryHubsMetadata) GetGUID() *string

func (*GetLibraryHubsMetadata) GetGenre added in v0.1.1

func (*GetLibraryHubsMetadata) GetKey added in v0.1.1

func (o *GetLibraryHubsMetadata) GetKey() *string

func (*GetLibraryHubsMetadata) GetLastViewedAt added in v0.1.1

func (o *GetLibraryHubsMetadata) GetLastViewedAt() *int

func (*GetLibraryHubsMetadata) GetLibrarySectionID added in v0.1.1

func (o *GetLibraryHubsMetadata) GetLibrarySectionID() *int

func (*GetLibraryHubsMetadata) GetLibrarySectionKey added in v0.1.1

func (o *GetLibraryHubsMetadata) GetLibrarySectionKey() *string

func (*GetLibraryHubsMetadata) GetLibrarySectionTitle added in v0.1.1

func (o *GetLibraryHubsMetadata) GetLibrarySectionTitle() *string

func (*GetLibraryHubsMetadata) GetMedia added in v0.1.1

func (*GetLibraryHubsMetadata) GetOriginallyAvailableAt added in v0.1.1

func (o *GetLibraryHubsMetadata) GetOriginallyAvailableAt() *types.Date

func (*GetLibraryHubsMetadata) GetPrimaryExtraKey added in v0.1.1

func (o *GetLibraryHubsMetadata) GetPrimaryExtraKey() *string

func (*GetLibraryHubsMetadata) GetRating added in v0.1.1

func (o *GetLibraryHubsMetadata) GetRating() *float64

func (*GetLibraryHubsMetadata) GetRatingImage added in v0.1.1

func (o *GetLibraryHubsMetadata) GetRatingImage() *string

func (*GetLibraryHubsMetadata) GetRatingKey added in v0.1.1

func (o *GetLibraryHubsMetadata) GetRatingKey() *string

func (*GetLibraryHubsMetadata) GetRole added in v0.1.1

func (*GetLibraryHubsMetadata) GetSkipCount added in v0.1.1

func (o *GetLibraryHubsMetadata) GetSkipCount() *int

func (*GetLibraryHubsMetadata) GetStudio added in v0.1.1

func (o *GetLibraryHubsMetadata) GetStudio() *string

func (*GetLibraryHubsMetadata) GetSummary added in v0.1.1

func (o *GetLibraryHubsMetadata) GetSummary() *string

func (*GetLibraryHubsMetadata) GetTagline added in v0.1.1

func (o *GetLibraryHubsMetadata) GetTagline() *string

func (*GetLibraryHubsMetadata) GetThumb added in v0.1.1

func (o *GetLibraryHubsMetadata) GetThumb() *string

func (*GetLibraryHubsMetadata) GetTitle added in v0.1.1

func (o *GetLibraryHubsMetadata) GetTitle() *string

func (*GetLibraryHubsMetadata) GetType added in v0.1.1

func (o *GetLibraryHubsMetadata) GetType() *string

func (*GetLibraryHubsMetadata) GetUpdatedAt added in v0.1.1

func (o *GetLibraryHubsMetadata) GetUpdatedAt() *int

func (*GetLibraryHubsMetadata) GetViewCount added in v0.1.1

func (o *GetLibraryHubsMetadata) GetViewCount() *int

func (*GetLibraryHubsMetadata) GetWriter added in v0.1.1

func (*GetLibraryHubsMetadata) GetYear added in v0.1.1

func (o *GetLibraryHubsMetadata) GetYear() *int

func (GetLibraryHubsMetadata) MarshalJSON added in v0.1.1

func (g GetLibraryHubsMetadata) MarshalJSON() ([]byte, error)

func (*GetLibraryHubsMetadata) UnmarshalJSON added in v0.1.1

func (g *GetLibraryHubsMetadata) UnmarshalJSON(data []byte) error

type GetLibraryHubsPart added in v0.1.1

type GetLibraryHubsPart struct {
	ID                    *int    `json:"id,omitempty"`
	Key                   *string `json:"key,omitempty"`
	Duration              *int    `json:"duration,omitempty"`
	File                  *string `json:"file,omitempty"`
	Size                  *int    `json:"size,omitempty"`
	AudioProfile          *string `json:"audioProfile,omitempty"`
	Container             *string `json:"container,omitempty"`
	Has64bitOffsets       *bool   `json:"has64bitOffsets,omitempty"`
	OptimizedForStreaming *bool   `json:"optimizedForStreaming,omitempty"`
	VideoProfile          *string `json:"videoProfile,omitempty"`
}

func (*GetLibraryHubsPart) GetAudioProfile added in v0.1.1

func (o *GetLibraryHubsPart) GetAudioProfile() *string

func (*GetLibraryHubsPart) GetContainer added in v0.1.1

func (o *GetLibraryHubsPart) GetContainer() *string

func (*GetLibraryHubsPart) GetDuration added in v0.1.1

func (o *GetLibraryHubsPart) GetDuration() *int

func (*GetLibraryHubsPart) GetFile added in v0.1.1

func (o *GetLibraryHubsPart) GetFile() *string

func (*GetLibraryHubsPart) GetHas64bitOffsets added in v0.1.1

func (o *GetLibraryHubsPart) GetHas64bitOffsets() *bool

func (*GetLibraryHubsPart) GetID added in v0.1.1

func (o *GetLibraryHubsPart) GetID() *int

func (*GetLibraryHubsPart) GetKey added in v0.1.1

func (o *GetLibraryHubsPart) GetKey() *string

func (*GetLibraryHubsPart) GetOptimizedForStreaming added in v0.1.1

func (o *GetLibraryHubsPart) GetOptimizedForStreaming() *bool

func (*GetLibraryHubsPart) GetSize added in v0.1.1

func (o *GetLibraryHubsPart) GetSize() *int

func (*GetLibraryHubsPart) GetVideoProfile added in v0.1.1

func (o *GetLibraryHubsPart) GetVideoProfile() *string

type GetLibraryHubsRequest

type GetLibraryHubsRequest struct {
	// the Id of the library to query
	SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
	// The number of items to return with each hub.
	Count *float64 `queryParam:"style=form,explode=true,name=count"`
	// Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added).
	OnlyTransient *QueryParamOnlyTransient `queryParam:"style=form,explode=true,name=onlyTransient"`
}

func (*GetLibraryHubsRequest) GetCount

func (o *GetLibraryHubsRequest) GetCount() *float64

func (*GetLibraryHubsRequest) GetOnlyTransient

func (o *GetLibraryHubsRequest) GetOnlyTransient() *QueryParamOnlyTransient

func (*GetLibraryHubsRequest) GetSectionID

func (o *GetLibraryHubsRequest) GetSectionID() float64

type GetLibraryHubsResponse

type GetLibraryHubsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The hubs specific to the library
	Object *GetLibraryHubsResponseBody
}

func (*GetLibraryHubsResponse) GetContentType

func (o *GetLibraryHubsResponse) GetContentType() string

func (*GetLibraryHubsResponse) GetObject added in v0.1.1

func (*GetLibraryHubsResponse) GetRawResponse

func (o *GetLibraryHubsResponse) GetRawResponse() *http.Response

func (*GetLibraryHubsResponse) GetStatusCode

func (o *GetLibraryHubsResponse) GetStatusCode() int

type GetLibraryHubsResponseBody added in v0.1.1

type GetLibraryHubsResponseBody struct {
	MediaContainer *GetLibraryHubsMediaContainer `json:"MediaContainer,omitempty"`
}

GetLibraryHubsResponseBody - The hubs specific to the library

func (*GetLibraryHubsResponseBody) GetMediaContainer added in v0.1.1

type GetLibraryHubsRole added in v0.1.1

type GetLibraryHubsRole struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetLibraryHubsRole) GetTag added in v0.1.1

func (o *GetLibraryHubsRole) GetTag() *string

type GetLibraryHubsWriter added in v0.1.1

type GetLibraryHubsWriter struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetLibraryHubsWriter) GetTag added in v0.1.1

func (o *GetLibraryHubsWriter) GetTag() *string

type GetLibraryItemsActiveDirection added in v0.13.0

type GetLibraryItemsActiveDirection string

GetLibraryItemsActiveDirection - The direction of the sort. Can be either `asc` or `desc`.

const (
	GetLibraryItemsActiveDirectionAscending  GetLibraryItemsActiveDirection = "asc"
	GetLibraryItemsActiveDirectionDescending GetLibraryItemsActiveDirection = "desc"
)

func (GetLibraryItemsActiveDirection) ToPointer added in v0.13.0

func (*GetLibraryItemsActiveDirection) UnmarshalJSON added in v0.13.0

func (e *GetLibraryItemsActiveDirection) UnmarshalJSON(data []byte) error

type GetLibraryItemsCollection added in v0.13.0

type GetLibraryItemsCollection struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetLibraryItemsCollection) GetTag added in v0.13.0

func (o *GetLibraryItemsCollection) GetTag() *string

type GetLibraryItemsCountry added in v0.1.1

type GetLibraryItemsCountry struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetLibraryItemsCountry) GetTag added in v0.1.1

func (o *GetLibraryItemsCountry) GetTag() *string

type GetLibraryItemsDefaultDirection added in v0.13.0

type GetLibraryItemsDefaultDirection string

GetLibraryItemsDefaultDirection - The direction of the sort. Can be either `asc` or `desc`.

const (
	GetLibraryItemsDefaultDirectionAscending  GetLibraryItemsDefaultDirection = "asc"
	GetLibraryItemsDefaultDirectionDescending GetLibraryItemsDefaultDirection = "desc"
)

func (GetLibraryItemsDefaultDirection) ToPointer added in v0.13.0

func (*GetLibraryItemsDefaultDirection) UnmarshalJSON added in v0.13.0

func (e *GetLibraryItemsDefaultDirection) UnmarshalJSON(data []byte) error

type GetLibraryItemsDirector added in v0.1.1

type GetLibraryItemsDirector struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetLibraryItemsDirector) GetTag added in v0.1.1

func (o *GetLibraryItemsDirector) GetTag() *string

type GetLibraryItemsEnableCreditsMarkerGeneration added in v0.17.2

type GetLibraryItemsEnableCreditsMarkerGeneration string

GetLibraryItemsEnableCreditsMarkerGeneration - Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).

const (
	GetLibraryItemsEnableCreditsMarkerGenerationLibraryDefault GetLibraryItemsEnableCreditsMarkerGeneration = "-1"
	GetLibraryItemsEnableCreditsMarkerGenerationDisabled       GetLibraryItemsEnableCreditsMarkerGeneration = "0"
)

func (GetLibraryItemsEnableCreditsMarkerGeneration) ToPointer added in v0.17.2

func (*GetLibraryItemsEnableCreditsMarkerGeneration) UnmarshalJSON added in v0.17.2

func (e *GetLibraryItemsEnableCreditsMarkerGeneration) UnmarshalJSON(data []byte) error

type GetLibraryItemsEpisodeSort added in v0.17.2

type GetLibraryItemsEpisodeSort string

GetLibraryItemsEpisodeSort - Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).

const (
	GetLibraryItemsEpisodeSortLibraryDefault GetLibraryItemsEpisodeSort = "-1"
	GetLibraryItemsEpisodeSortOldestFirst    GetLibraryItemsEpisodeSort = "0"
	GetLibraryItemsEpisodeSortNewestFirst    GetLibraryItemsEpisodeSort = "1"
)

func (GetLibraryItemsEpisodeSort) ToPointer added in v0.17.2

func (*GetLibraryItemsEpisodeSort) UnmarshalJSON added in v0.17.2

func (e *GetLibraryItemsEpisodeSort) UnmarshalJSON(data []byte) error

type GetLibraryItemsField added in v0.12.0

type GetLibraryItemsField struct {
	Key     string  `json:"key"`
	Title   string  `json:"title"`
	Type    string  `json:"type"`
	SubType *string `json:"subType,omitempty"`
}

func (*GetLibraryItemsField) GetKey added in v0.12.0

func (o *GetLibraryItemsField) GetKey() string

func (*GetLibraryItemsField) GetSubType added in v0.12.0

func (o *GetLibraryItemsField) GetSubType() *string

func (*GetLibraryItemsField) GetTitle added in v0.12.0

func (o *GetLibraryItemsField) GetTitle() string

func (*GetLibraryItemsField) GetType added in v0.12.0

func (o *GetLibraryItemsField) GetType() string

type GetLibraryItemsFieldType added in v0.12.0

type GetLibraryItemsFieldType struct {
	Type     string                    `json:"type"`
	Operator []GetLibraryItemsOperator `json:"Operator"`
}

func (*GetLibraryItemsFieldType) GetOperator added in v0.12.0

func (*GetLibraryItemsFieldType) GetType added in v0.12.0

func (o *GetLibraryItemsFieldType) GetType() string

type GetLibraryItemsFilter added in v0.12.0

type GetLibraryItemsFilter struct {
	Filter     string `json:"filter"`
	FilterType string `json:"filterType"`
	Key        string `json:"key"`
	Title      string `json:"title"`
	Type       string `json:"type"`
	Advanced   *bool  `json:"advanced,omitempty"`
}

func (*GetLibraryItemsFilter) GetAdvanced added in v0.19.0

func (o *GetLibraryItemsFilter) GetAdvanced() *bool

func (*GetLibraryItemsFilter) GetFilter added in v0.12.0

func (o *GetLibraryItemsFilter) GetFilter() string

func (*GetLibraryItemsFilter) GetFilterType added in v0.12.0

func (o *GetLibraryItemsFilter) GetFilterType() string

func (*GetLibraryItemsFilter) GetKey added in v0.12.0

func (o *GetLibraryItemsFilter) GetKey() string

func (*GetLibraryItemsFilter) GetTitle added in v0.12.0

func (o *GetLibraryItemsFilter) GetTitle() string

func (*GetLibraryItemsFilter) GetType added in v0.12.0

func (o *GetLibraryItemsFilter) GetType() string

type GetLibraryItemsFlattenSeasons added in v0.13.0

type GetLibraryItemsFlattenSeasons string

GetLibraryItemsFlattenSeasons - Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show).

const (
	GetLibraryItemsFlattenSeasonsLibraryDefault GetLibraryItemsFlattenSeasons = "-1"
	GetLibraryItemsFlattenSeasonsHide           GetLibraryItemsFlattenSeasons = "0"
	GetLibraryItemsFlattenSeasonsShow           GetLibraryItemsFlattenSeasons = "1"
)

func (GetLibraryItemsFlattenSeasons) ToPointer added in v0.13.0

func (*GetLibraryItemsFlattenSeasons) UnmarshalJSON added in v0.13.0

func (e *GetLibraryItemsFlattenSeasons) UnmarshalJSON(data []byte) error

type GetLibraryItemsGenre added in v0.1.1

type GetLibraryItemsGenre struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetLibraryItemsGenre) GetTag added in v0.1.1

func (o *GetLibraryItemsGenre) GetTag() *string

type GetLibraryItemsHasThumbnail added in v0.13.0

type GetLibraryItemsHasThumbnail string
const (
	GetLibraryItemsHasThumbnailFalse GetLibraryItemsHasThumbnail = "0"
	GetLibraryItemsHasThumbnailTrue  GetLibraryItemsHasThumbnail = "1"
)

func (GetLibraryItemsHasThumbnail) ToPointer added in v0.13.0

func (*GetLibraryItemsHasThumbnail) UnmarshalJSON added in v0.13.0

func (e *GetLibraryItemsHasThumbnail) UnmarshalJSON(data []byte) error

type GetLibraryItemsImage added in v0.12.1

type GetLibraryItemsImage struct {
	Alt  string                                `json:"alt"`
	Type GetLibraryItemsLibraryResponse200Type `json:"type"`
	URL  string                                `json:"url"`
}

func (*GetLibraryItemsImage) GetAlt added in v0.12.1

func (o *GetLibraryItemsImage) GetAlt() string

func (*GetLibraryItemsImage) GetType added in v0.12.1

func (*GetLibraryItemsImage) GetURL added in v0.12.1

func (o *GetLibraryItemsImage) GetURL() string

type GetLibraryItemsLibraryActiveDirection added in v0.13.0

type GetLibraryItemsLibraryActiveDirection string

GetLibraryItemsLibraryActiveDirection - The direction of the sort. Can be either `asc` or `desc`.

const (
	GetLibraryItemsLibraryActiveDirectionAscending  GetLibraryItemsLibraryActiveDirection = "asc"
	GetLibraryItemsLibraryActiveDirectionDescending GetLibraryItemsLibraryActiveDirection = "desc"
)

func (GetLibraryItemsLibraryActiveDirection) ToPointer added in v0.13.0

func (*GetLibraryItemsLibraryActiveDirection) UnmarshalJSON added in v0.13.0

func (e *GetLibraryItemsLibraryActiveDirection) UnmarshalJSON(data []byte) error

type GetLibraryItemsLibraryDefaultDirection added in v0.13.0

type GetLibraryItemsLibraryDefaultDirection string

GetLibraryItemsLibraryDefaultDirection - The direction of the sort. Can be either `asc` or `desc`.

const (
	GetLibraryItemsLibraryDefaultDirectionAscending  GetLibraryItemsLibraryDefaultDirection = "asc"
	GetLibraryItemsLibraryDefaultDirectionDescending GetLibraryItemsLibraryDefaultDirection = "desc"
)

func (GetLibraryItemsLibraryDefaultDirection) ToPointer added in v0.13.0

func (*GetLibraryItemsLibraryDefaultDirection) UnmarshalJSON added in v0.13.0

func (e *GetLibraryItemsLibraryDefaultDirection) UnmarshalJSON(data []byte) error

type GetLibraryItemsLibraryField added in v0.13.0

type GetLibraryItemsLibraryField struct {
	Key     string  `json:"key"`
	Title   string  `json:"title"`
	Type    string  `json:"type"`
	SubType *string `json:"subType,omitempty"`
}

func (*GetLibraryItemsLibraryField) GetKey added in v0.13.0

func (o *GetLibraryItemsLibraryField) GetKey() string

func (*GetLibraryItemsLibraryField) GetSubType added in v0.13.0

func (o *GetLibraryItemsLibraryField) GetSubType() *string

func (*GetLibraryItemsLibraryField) GetTitle added in v0.13.0

func (o *GetLibraryItemsLibraryField) GetTitle() string

func (*GetLibraryItemsLibraryField) GetType added in v0.13.0

func (o *GetLibraryItemsLibraryField) GetType() string

type GetLibraryItemsLibraryFieldType added in v0.13.0

type GetLibraryItemsLibraryFieldType struct {
	Type     string                           `json:"type"`
	Operator []GetLibraryItemsLibraryOperator `json:"Operator"`
}

func (*GetLibraryItemsLibraryFieldType) GetOperator added in v0.13.0

func (*GetLibraryItemsLibraryFieldType) GetType added in v0.13.0

type GetLibraryItemsLibraryFilter added in v0.13.0

type GetLibraryItemsLibraryFilter struct {
	Filter     string `json:"filter"`
	FilterType string `json:"filterType"`
	Key        string `json:"key"`
	Title      string `json:"title"`
	Type       string `json:"type"`
}

func (*GetLibraryItemsLibraryFilter) GetFilter added in v0.13.0

func (o *GetLibraryItemsLibraryFilter) GetFilter() string

func (*GetLibraryItemsLibraryFilter) GetFilterType added in v0.13.0

func (o *GetLibraryItemsLibraryFilter) GetFilterType() string

func (*GetLibraryItemsLibraryFilter) GetKey added in v0.13.0

func (*GetLibraryItemsLibraryFilter) GetTitle added in v0.13.0

func (o *GetLibraryItemsLibraryFilter) GetTitle() string

func (*GetLibraryItemsLibraryFilter) GetType added in v0.13.0

func (o *GetLibraryItemsLibraryFilter) GetType() string

type GetLibraryItemsLibraryOperator added in v0.13.0

type GetLibraryItemsLibraryOperator struct {
	Key   string `json:"key"`
	Title string `json:"title"`
}

func (*GetLibraryItemsLibraryOperator) GetKey added in v0.13.0

func (*GetLibraryItemsLibraryOperator) GetTitle added in v0.13.0

func (o *GetLibraryItemsLibraryOperator) GetTitle() string

type GetLibraryItemsLibraryResponse200Type added in v0.13.0

type GetLibraryItemsLibraryResponse200Type string
const (
	GetLibraryItemsLibraryResponse200TypeCoverPoster GetLibraryItemsLibraryResponse200Type = "coverPoster"
	GetLibraryItemsLibraryResponse200TypeBackground  GetLibraryItemsLibraryResponse200Type = "background"
	GetLibraryItemsLibraryResponse200TypeSnapshot    GetLibraryItemsLibraryResponse200Type = "snapshot"
)

func (GetLibraryItemsLibraryResponse200Type) ToPointer added in v0.13.0

func (*GetLibraryItemsLibraryResponse200Type) UnmarshalJSON added in v0.13.0

func (e *GetLibraryItemsLibraryResponse200Type) UnmarshalJSON(data []byte) error

type GetLibraryItemsLibraryResponseType added in v0.12.1

type GetLibraryItemsLibraryResponseType struct {
	Key    string                         `json:"key"`
	Type   string                         `json:"type"`
	Title  string                         `json:"title"`
	Active bool                           `json:"active"`
	Filter []GetLibraryItemsLibraryFilter `json:"Filter,omitempty"`
	Sort   []GetLibraryItemsLibrarySort   `json:"Sort,omitempty"`
	Field  []GetLibraryItemsLibraryField  `json:"Field,omitempty"`
}

func (*GetLibraryItemsLibraryResponseType) GetActive added in v0.13.0

func (*GetLibraryItemsLibraryResponseType) GetField added in v0.13.0

func (*GetLibraryItemsLibraryResponseType) GetFilter added in v0.13.0

func (*GetLibraryItemsLibraryResponseType) GetKey added in v0.13.0

func (*GetLibraryItemsLibraryResponseType) GetSort added in v0.13.0

func (*GetLibraryItemsLibraryResponseType) GetTitle added in v0.13.0

func (*GetLibraryItemsLibraryResponseType) GetType added in v0.13.0

type GetLibraryItemsLibrarySort added in v0.13.0

type GetLibraryItemsLibrarySort struct {
	Default *string `json:"default,omitempty"`
	Active  *bool   `json:"active,omitempty"`
	// The direction of the sort. Can be either `asc` or `desc`.
	//
	ActiveDirection *GetLibraryItemsLibraryActiveDirection `default:"asc" json:"activeDirection"`
	// The direction of the sort. Can be either `asc` or `desc`.
	//
	DefaultDirection  *GetLibraryItemsLibraryDefaultDirection `default:"asc" json:"defaultDirection"`
	DescKey           *string                                 `json:"descKey,omitempty"`
	FirstCharacterKey *string                                 `json:"firstCharacterKey,omitempty"`
	Key               string                                  `json:"key"`
	Title             string                                  `json:"title"`
}

func (*GetLibraryItemsLibrarySort) GetActive added in v0.13.0

func (o *GetLibraryItemsLibrarySort) GetActive() *bool

func (*GetLibraryItemsLibrarySort) GetActiveDirection added in v0.13.0

func (*GetLibraryItemsLibrarySort) GetDefault added in v0.13.0

func (o *GetLibraryItemsLibrarySort) GetDefault() *string

func (*GetLibraryItemsLibrarySort) GetDefaultDirection added in v0.13.0

func (*GetLibraryItemsLibrarySort) GetDescKey added in v0.13.0

func (o *GetLibraryItemsLibrarySort) GetDescKey() *string

func (*GetLibraryItemsLibrarySort) GetFirstCharacterKey added in v0.13.0

func (o *GetLibraryItemsLibrarySort) GetFirstCharacterKey() *string

func (*GetLibraryItemsLibrarySort) GetKey added in v0.13.0

func (o *GetLibraryItemsLibrarySort) GetKey() string

func (*GetLibraryItemsLibrarySort) GetTitle added in v0.13.0

func (o *GetLibraryItemsLibrarySort) GetTitle() string

func (GetLibraryItemsLibrarySort) MarshalJSON added in v0.13.0

func (g GetLibraryItemsLibrarySort) MarshalJSON() ([]byte, error)

func (*GetLibraryItemsLibrarySort) UnmarshalJSON added in v0.13.0

func (g *GetLibraryItemsLibrarySort) UnmarshalJSON(data []byte) error

type GetLibraryItemsLibraryType added in v0.12.1

type GetLibraryItemsLibraryType string

GetLibraryItemsLibraryType - The type of media content

const (
	GetLibraryItemsLibraryTypeMovie   GetLibraryItemsLibraryType = "movie"
	GetLibraryItemsLibraryTypeTvShow  GetLibraryItemsLibraryType = "show"
	GetLibraryItemsLibraryTypeSeason  GetLibraryItemsLibraryType = "season"
	GetLibraryItemsLibraryTypeEpisode GetLibraryItemsLibraryType = "episode"
	GetLibraryItemsLibraryTypeArtist  GetLibraryItemsLibraryType = "artist"
	GetLibraryItemsLibraryTypeAlbum   GetLibraryItemsLibraryType = "album"
)

func (GetLibraryItemsLibraryType) ToPointer added in v0.13.0

func (*GetLibraryItemsLibraryType) UnmarshalJSON added in v0.13.0

func (e *GetLibraryItemsLibraryType) UnmarshalJSON(data []byte) error

type GetLibraryItemsLocation added in v0.15.0

type GetLibraryItemsLocation struct {
	Path *string `json:"path,omitempty"`
}

func (*GetLibraryItemsLocation) GetPath added in v0.15.0

func (o *GetLibraryItemsLocation) GetPath() *string

type GetLibraryItemsMedia added in v0.1.1

type GetLibraryItemsMedia struct {
	ID                    int                                   `json:"id"`
	Duration              *int                                  `json:"duration,omitempty"`
	Bitrate               *int                                  `json:"bitrate,omitempty"`
	Width                 *int                                  `json:"width,omitempty"`
	Height                *int                                  `json:"height,omitempty"`
	AspectRatio           *float64                              `json:"aspectRatio,omitempty"`
	AudioProfile          *string                               `json:"audioProfile,omitempty"`
	AudioChannels         *int                                  `json:"audioChannels,omitempty"`
	AudioCodec            *string                               `json:"audioCodec,omitempty"`
	VideoCodec            *string                               `json:"videoCodec,omitempty"`
	VideoResolution       *string                               `json:"videoResolution,omitempty"`
	Container             string                                `json:"container"`
	VideoFrameRate        *string                               `json:"videoFrameRate,omitempty"`
	VideoProfile          *string                               `json:"videoProfile,omitempty"`
	HasVoiceActivity      *bool                                 `json:"hasVoiceActivity,omitempty"`
	OptimizedForStreaming *GetLibraryItemsOptimizedForStreaming `default:"0" json:"optimizedForStreaming"`
	Has64bitOffsets       *bool                                 `json:"has64bitOffsets,omitempty"`
	Part                  []GetLibraryItemsPart                 `json:"Part"`
}

func (*GetLibraryItemsMedia) GetAspectRatio added in v0.1.1

func (o *GetLibraryItemsMedia) GetAspectRatio() *float64

func (*GetLibraryItemsMedia) GetAudioChannels added in v0.1.1

func (o *GetLibraryItemsMedia) GetAudioChannels() *int

func (*GetLibraryItemsMedia) GetAudioCodec added in v0.1.1

func (o *GetLibraryItemsMedia) GetAudioCodec() *string

func (*GetLibraryItemsMedia) GetAudioProfile added in v0.12.1

func (o *GetLibraryItemsMedia) GetAudioProfile() *string

func (*GetLibraryItemsMedia) GetBitrate added in v0.1.1

func (o *GetLibraryItemsMedia) GetBitrate() *int

func (*GetLibraryItemsMedia) GetContainer added in v0.1.1

func (o *GetLibraryItemsMedia) GetContainer() string

func (*GetLibraryItemsMedia) GetDuration added in v0.1.1

func (o *GetLibraryItemsMedia) GetDuration() *int

func (*GetLibraryItemsMedia) GetHas64bitOffsets added in v0.13.0

func (o *GetLibraryItemsMedia) GetHas64bitOffsets() *bool

func (*GetLibraryItemsMedia) GetHasVoiceActivity added in v0.12.1

func (o *GetLibraryItemsMedia) GetHasVoiceActivity() *bool

func (*GetLibraryItemsMedia) GetHeight added in v0.1.1

func (o *GetLibraryItemsMedia) GetHeight() *int

func (*GetLibraryItemsMedia) GetID added in v0.1.1

func (o *GetLibraryItemsMedia) GetID() int

func (*GetLibraryItemsMedia) GetOptimizedForStreaming added in v0.13.0

func (o *GetLibraryItemsMedia) GetOptimizedForStreaming() *GetLibraryItemsOptimizedForStreaming

func (*GetLibraryItemsMedia) GetPart added in v0.1.1

func (*GetLibraryItemsMedia) GetVideoCodec added in v0.1.1

func (o *GetLibraryItemsMedia) GetVideoCodec() *string

func (*GetLibraryItemsMedia) GetVideoFrameRate added in v0.1.1

func (o *GetLibraryItemsMedia) GetVideoFrameRate() *string

func (*GetLibraryItemsMedia) GetVideoProfile added in v0.1.1

func (o *GetLibraryItemsMedia) GetVideoProfile() *string

func (*GetLibraryItemsMedia) GetVideoResolution added in v0.1.1

func (o *GetLibraryItemsMedia) GetVideoResolution() *string

func (*GetLibraryItemsMedia) GetWidth added in v0.1.1

func (o *GetLibraryItemsMedia) GetWidth() *int

func (GetLibraryItemsMedia) MarshalJSON added in v0.13.0

func (g GetLibraryItemsMedia) MarshalJSON() ([]byte, error)

func (*GetLibraryItemsMedia) UnmarshalJSON added in v0.13.0

func (g *GetLibraryItemsMedia) UnmarshalJSON(data []byte) error

type GetLibraryItemsMediaContainer added in v0.1.1

type GetLibraryItemsMediaContainer struct {
	Type                []GetLibraryItemsType      `json:"Type,omitempty"`
	FieldType           []GetLibraryItemsFieldType `json:"FieldType,omitempty"`
	Size                int                        `json:"size"`
	TotalSize           int                        `json:"totalSize"`
	Offset              int                        `json:"offset"`
	Content             string                     `json:"content"`
	AllowSync           bool                       `json:"allowSync"`
	Nocache             *bool                      `json:"nocache,omitempty"`
	Art                 string                     `json:"art"`
	Identifier          string                     `json:"identifier"`
	LibrarySectionID    int64                      `json:"librarySectionID"`
	LibrarySectionTitle string                     `json:"librarySectionTitle"`
	LibrarySectionUUID  string                     `json:"librarySectionUUID"`
	MediaTagPrefix      string                     `json:"mediaTagPrefix"`
	MediaTagVersion     int                        `json:"mediaTagVersion"`
	Thumb               string                     `json:"thumb"`
	Title1              string                     `json:"title1"`
	Title2              string                     `json:"title2"`
	ViewGroup           string                     `json:"viewGroup"`
	ViewMode            *int                       `json:"viewMode,omitempty"`
	MixedParents        *bool                      `json:"mixedParents,omitempty"`
	Metadata            []GetLibraryItemsMetadata  `json:"Metadata,omitempty"`
	// The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
	//
	Meta *GetLibraryItemsMeta `json:"Meta,omitempty"`
}

GetLibraryItemsMediaContainer - The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.

func (*GetLibraryItemsMediaContainer) GetAllowSync added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetAllowSync() bool

func (*GetLibraryItemsMediaContainer) GetArt added in v0.1.1

func (*GetLibraryItemsMediaContainer) GetContent added in v0.12.1

func (o *GetLibraryItemsMediaContainer) GetContent() string

func (*GetLibraryItemsMediaContainer) GetFieldType added in v0.13.0

func (*GetLibraryItemsMediaContainer) GetIdentifier added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetIdentifier() string

func (*GetLibraryItemsMediaContainer) GetLibrarySectionID added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetLibrarySectionID() int64

func (*GetLibraryItemsMediaContainer) GetLibrarySectionTitle added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetLibrarySectionTitle() string

func (*GetLibraryItemsMediaContainer) GetLibrarySectionUUID added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetLibrarySectionUUID() string

func (*GetLibraryItemsMediaContainer) GetMediaTagPrefix added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetMediaTagPrefix() string

func (*GetLibraryItemsMediaContainer) GetMediaTagVersion added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetMediaTagVersion() int

func (*GetLibraryItemsMediaContainer) GetMeta added in v0.12.0

func (*GetLibraryItemsMediaContainer) GetMetadata added in v0.1.1

func (*GetLibraryItemsMediaContainer) GetMixedParents added in v0.1.3

func (o *GetLibraryItemsMediaContainer) GetMixedParents() *bool

func (*GetLibraryItemsMediaContainer) GetNocache added in v0.12.1

func (o *GetLibraryItemsMediaContainer) GetNocache() *bool

func (*GetLibraryItemsMediaContainer) GetOffset added in v0.12.1

func (o *GetLibraryItemsMediaContainer) GetOffset() int

func (*GetLibraryItemsMediaContainer) GetSize added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetSize() int

func (*GetLibraryItemsMediaContainer) GetThumb added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetThumb() string

func (*GetLibraryItemsMediaContainer) GetTitle1 added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetTitle1() string

func (*GetLibraryItemsMediaContainer) GetTitle2 added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetTitle2() string

func (*GetLibraryItemsMediaContainer) GetTotalSize added in v0.12.1

func (o *GetLibraryItemsMediaContainer) GetTotalSize() int

func (*GetLibraryItemsMediaContainer) GetType added in v0.13.0

func (*GetLibraryItemsMediaContainer) GetViewGroup added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetViewGroup() string

func (*GetLibraryItemsMediaContainer) GetViewMode added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetViewMode() *int

type GetLibraryItemsMediaGUID added in v0.13.0

type GetLibraryItemsMediaGUID struct {
	// Can be one of the following formats:
	// imdb://tt13015952, tmdb://2434012, tvdb://7945991
	//
	ID string `json:"id"`
}

func (*GetLibraryItemsMediaGUID) GetID added in v0.13.0

func (o *GetLibraryItemsMediaGUID) GetID() string

type GetLibraryItemsMeta added in v0.13.0

type GetLibraryItemsMeta struct {
	Type      []GetLibraryItemsLibraryResponseType `json:"Type,omitempty"`
	FieldType []GetLibraryItemsLibraryFieldType    `json:"FieldType,omitempty"`
}

GetLibraryItemsMeta - The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.

func (*GetLibraryItemsMeta) GetFieldType added in v0.13.0

func (*GetLibraryItemsMeta) GetType added in v0.13.0

type GetLibraryItemsMetaDataRating added in v0.13.0

type GetLibraryItemsMetaDataRating struct {
	// A URI or path to the rating image.
	Image string `json:"image"`
	// The value of the rating.
	Value float32 `json:"value"`
	// The type of rating (e.g., audience, critic).
	Type string `json:"type"`
}

func (*GetLibraryItemsMetaDataRating) GetImage added in v0.13.0

func (o *GetLibraryItemsMetaDataRating) GetImage() string

func (*GetLibraryItemsMetaDataRating) GetType added in v0.13.0

func (*GetLibraryItemsMetaDataRating) GetValue added in v0.13.0

func (o *GetLibraryItemsMetaDataRating) GetValue() float32

type GetLibraryItemsMetadata added in v0.1.1

type GetLibraryItemsMetadata struct {
	// The rating key (Media ID) of this media item.
	// Note: This is always an integer, but is represented as a string in the API.
	//
	RatingKey           string  `json:"ratingKey"`
	Key                 string  `json:"key"`
	GUID                string  `json:"guid"`
	Studio              *string `json:"studio,omitempty"`
	SkipChildren        *bool   `json:"skipChildren,omitempty"`
	LibrarySectionID    *int64  `json:"librarySectionID,omitempty"`
	LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
	LibrarySectionKey   *string `json:"librarySectionKey,omitempty"`
	// The type of media content
	//
	Type           GetLibraryItemsLibraryType `json:"type"`
	Title          string                     `json:"title"`
	Slug           *string                    `json:"slug,omitempty"`
	ContentRating  *string                    `json:"contentRating,omitempty"`
	Summary        string                     `json:"summary"`
	Rating         *float64                   `json:"rating,omitempty"`
	AudienceRating *float64                   `json:"audienceRating,omitempty"`
	Year           *int                       `json:"year,omitempty"`
	SeasonCount    *int                       `json:"seasonCount,omitempty"`
	Tagline        *string                    `json:"tagline,omitempty"`
	// Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show).
	FlattenSeasons *GetLibraryItemsFlattenSeasons `json:"flattenSeasons,omitempty"`
	// Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).
	EpisodeSort *GetLibraryItemsEpisodeSort `json:"episodeSort,omitempty"`
	// Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).
	EnableCreditsMarkerGeneration *GetLibraryItemsEnableCreditsMarkerGeneration `json:"enableCreditsMarkerGeneration,omitempty"`
	// Setting that indicates the episode ordering for the show.
	// None = Library default,
	// tmdbAiring = The Movie Database (Aired),
	// aired = TheTVDB (Aired),
	// dvd = TheTVDB (DVD),
	// absolute = TheTVDB (Absolute)).
	//
	ShowOrdering          *GetLibraryItemsShowOrdering `json:"showOrdering,omitempty"`
	Thumb                 *string                      `json:"thumb,omitempty"`
	Art                   *string                      `json:"art,omitempty"`
	Banner                *string                      `json:"banner,omitempty"`
	Duration              *int                         `json:"duration,omitempty"`
	OriginallyAvailableAt *types.Date                  `json:"originallyAvailableAt,omitempty"`
	// Unix epoch datetime in seconds
	AddedAt int64 `json:"addedAt"`
	// Unix epoch datetime in seconds
	UpdatedAt            *int64  `json:"updatedAt,omitempty"`
	AudienceRatingImage  *string `json:"audienceRatingImage,omitempty"`
	ChapterSource        *string `json:"chapterSource,omitempty"`
	PrimaryExtraKey      *string `json:"primaryExtraKey,omitempty"`
	RatingImage          *string `json:"ratingImage,omitempty"`
	GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
	GrandparentGUID      *string `json:"grandparentGuid,omitempty"`
	GrandparentKey       *string `json:"grandparentKey,omitempty"`
	GrandparentTitle     *string `json:"grandparentTitle,omitempty"`
	GrandparentThumb     *string `json:"grandparentThumb,omitempty"`
	ParentSlug           *string `json:"parentSlug,omitempty"`
	GrandparentSlug      *string `json:"grandparentSlug,omitempty"`
	GrandparentArt       *string `json:"grandparentArt,omitempty"`
	GrandparentTheme     *string `json:"grandparentTheme,omitempty"`
	// The Media object is only included when type query is `4` or higher.
	//
	Media      []GetLibraryItemsMedia      `json:"Media,omitempty"`
	Genre      []GetLibraryItemsGenre      `json:"Genre,omitempty"`
	Country    []GetLibraryItemsCountry    `json:"Country,omitempty"`
	Director   []GetLibraryItemsDirector   `json:"Director,omitempty"`
	Writer     []GetLibraryItemsWriter     `json:"Writer,omitempty"`
	Collection []GetLibraryItemsCollection `json:"Collection,omitempty"`
	Role       []GetLibraryItemsRole       `json:"Role,omitempty"`
	Location   []GetLibraryItemsLocation   `json:"Location,omitempty"`
	// The Guid object is only included in the response if the `includeGuids` parameter is set to `1`.
	//
	MediaGUID              []GetLibraryItemsMediaGUID      `json:"Guid,omitempty"`
	UltraBlurColors        *GetLibraryItemsUltraBlurColors `json:"UltraBlurColors,omitempty"`
	MetaDataRating         []GetLibraryItemsMetaDataRating `json:"Rating,omitempty"`
	Image                  []GetLibraryItemsImage          `json:"Image,omitempty"`
	TitleSort              *string                         `json:"titleSort,omitempty"`
	ViewCount              *int                            `json:"viewCount,omitempty"`
	LastViewedAt           *int                            `json:"lastViewedAt,omitempty"`
	OriginalTitle          *string                         `json:"originalTitle,omitempty"`
	ViewOffset             *int                            `json:"viewOffset,omitempty"`
	SkipCount              *int                            `json:"skipCount,omitempty"`
	Index                  *int                            `json:"index,omitempty"`
	Theme                  *string                         `json:"theme,omitempty"`
	LeafCount              *int                            `json:"leafCount,omitempty"`
	ViewedLeafCount        *int                            `json:"viewedLeafCount,omitempty"`
	ChildCount             *int                            `json:"childCount,omitempty"`
	HasPremiumExtras       *string                         `json:"hasPremiumExtras,omitempty"`
	HasPremiumPrimaryExtra *string                         `json:"hasPremiumPrimaryExtra,omitempty"`
	// The rating key of the parent item.
	//
	ParentRatingKey *string `json:"parentRatingKey,omitempty"`
	ParentGUID      *string `json:"parentGuid,omitempty"`
	ParentStudio    *string `json:"parentStudio,omitempty"`
	ParentKey       *string `json:"parentKey,omitempty"`
	ParentTitle     *string `json:"parentTitle,omitempty"`
	ParentIndex     *int    `json:"parentIndex,omitempty"`
	ParentYear      *int    `json:"parentYear,omitempty"`
	ParentThumb     *string `json:"parentThumb,omitempty"`
	ParentTheme     *string `json:"parentTheme,omitempty"`
}

func (*GetLibraryItemsMetadata) GetAddedAt added in v0.1.1

func (o *GetLibraryItemsMetadata) GetAddedAt() int64

func (*GetLibraryItemsMetadata) GetArt added in v0.1.1

func (o *GetLibraryItemsMetadata) GetArt() *string

func (*GetLibraryItemsMetadata) GetAudienceRating added in v0.1.1

func (o *GetLibraryItemsMetadata) GetAudienceRating() *float64

func (*GetLibraryItemsMetadata) GetAudienceRatingImage added in v0.1.1

func (o *GetLibraryItemsMetadata) GetAudienceRatingImage() *string

func (*GetLibraryItemsMetadata) GetBanner added in v0.12.1

func (o *GetLibraryItemsMetadata) GetBanner() *string

func (*GetLibraryItemsMetadata) GetChapterSource added in v0.1.1

func (o *GetLibraryItemsMetadata) GetChapterSource() *string

func (*GetLibraryItemsMetadata) GetChildCount added in v0.1.3

func (o *GetLibraryItemsMetadata) GetChildCount() *int

func (*GetLibraryItemsMetadata) GetCollection added in v0.12.1

func (*GetLibraryItemsMetadata) GetContentRating added in v0.1.1

func (o *GetLibraryItemsMetadata) GetContentRating() *string

func (*GetLibraryItemsMetadata) GetCountry added in v0.1.1

func (*GetLibraryItemsMetadata) GetDirector added in v0.1.1

func (*GetLibraryItemsMetadata) GetDuration added in v0.1.1

func (o *GetLibraryItemsMetadata) GetDuration() *int

func (*GetLibraryItemsMetadata) GetEnableCreditsMarkerGeneration added in v0.17.2

func (o *GetLibraryItemsMetadata) GetEnableCreditsMarkerGeneration() *GetLibraryItemsEnableCreditsMarkerGeneration

func (*GetLibraryItemsMetadata) GetEpisodeSort added in v0.17.2

func (*GetLibraryItemsMetadata) GetFlattenSeasons added in v0.12.1

func (*GetLibraryItemsMetadata) GetGUID added in v0.1.1

func (o *GetLibraryItemsMetadata) GetGUID() string

func (*GetLibraryItemsMetadata) GetGenre added in v0.1.1

func (*GetLibraryItemsMetadata) GetGrandparentArt added in v0.1.3

func (o *GetLibraryItemsMetadata) GetGrandparentArt() *string

func (*GetLibraryItemsMetadata) GetGrandparentGUID added in v0.1.3

func (o *GetLibraryItemsMetadata) GetGrandparentGUID() *string

func (*GetLibraryItemsMetadata) GetGrandparentKey added in v0.1.3

func (o *GetLibraryItemsMetadata) GetGrandparentKey() *string

func (*GetLibraryItemsMetadata) GetGrandparentRatingKey added in v0.1.3

func (o *GetLibraryItemsMetadata) GetGrandparentRatingKey() *string

func (*GetLibraryItemsMetadata) GetGrandparentSlug added in v0.12.1

func (o *GetLibraryItemsMetadata) GetGrandparentSlug() *string

func (*GetLibraryItemsMetadata) GetGrandparentTheme added in v0.1.3

func (o *GetLibraryItemsMetadata) GetGrandparentTheme() *string

func (*GetLibraryItemsMetadata) GetGrandparentThumb added in v0.1.3

func (o *GetLibraryItemsMetadata) GetGrandparentThumb() *string

func (*GetLibraryItemsMetadata) GetGrandparentTitle added in v0.1.3

func (o *GetLibraryItemsMetadata) GetGrandparentTitle() *string

func (*GetLibraryItemsMetadata) GetHasPremiumExtras added in v0.1.3

func (o *GetLibraryItemsMetadata) GetHasPremiumExtras() *string

func (*GetLibraryItemsMetadata) GetHasPremiumPrimaryExtra added in v0.1.3

func (o *GetLibraryItemsMetadata) GetHasPremiumPrimaryExtra() *string

func (*GetLibraryItemsMetadata) GetImage added in v0.12.1

func (*GetLibraryItemsMetadata) GetIndex added in v0.1.3

func (o *GetLibraryItemsMetadata) GetIndex() *int

func (*GetLibraryItemsMetadata) GetKey added in v0.1.1

func (o *GetLibraryItemsMetadata) GetKey() string

func (*GetLibraryItemsMetadata) GetLastViewedAt added in v0.1.1

func (o *GetLibraryItemsMetadata) GetLastViewedAt() *int

func (*GetLibraryItemsMetadata) GetLeafCount added in v0.1.3

func (o *GetLibraryItemsMetadata) GetLeafCount() *int

func (*GetLibraryItemsMetadata) GetLibrarySectionID added in v0.13.0

func (o *GetLibraryItemsMetadata) GetLibrarySectionID() *int64

func (*GetLibraryItemsMetadata) GetLibrarySectionKey added in v0.13.0

func (o *GetLibraryItemsMetadata) GetLibrarySectionKey() *string

func (*GetLibraryItemsMetadata) GetLibrarySectionTitle added in v0.13.0

func (o *GetLibraryItemsMetadata) GetLibrarySectionTitle() *string

func (*GetLibraryItemsMetadata) GetLocation added in v0.15.0

func (*GetLibraryItemsMetadata) GetMedia added in v0.1.1

func (*GetLibraryItemsMetadata) GetMediaGUID added in v0.12.0

func (*GetLibraryItemsMetadata) GetMetaDataRating added in v0.13.0

func (o *GetLibraryItemsMetadata) GetMetaDataRating() []GetLibraryItemsMetaDataRating

func (*GetLibraryItemsMetadata) GetOriginalTitle added in v0.1.1

func (o *GetLibraryItemsMetadata) GetOriginalTitle() *string

func (*GetLibraryItemsMetadata) GetOriginallyAvailableAt added in v0.1.1

func (o *GetLibraryItemsMetadata) GetOriginallyAvailableAt() *types.Date

func (*GetLibraryItemsMetadata) GetParentGUID added in v0.1.3

func (o *GetLibraryItemsMetadata) GetParentGUID() *string

func (*GetLibraryItemsMetadata) GetParentIndex added in v0.1.3

func (o *GetLibraryItemsMetadata) GetParentIndex() *int

func (*GetLibraryItemsMetadata) GetParentKey added in v0.1.3

func (o *GetLibraryItemsMetadata) GetParentKey() *string

func (*GetLibraryItemsMetadata) GetParentRatingKey added in v0.1.3

func (o *GetLibraryItemsMetadata) GetParentRatingKey() *string

func (*GetLibraryItemsMetadata) GetParentSlug added in v0.13.0

func (o *GetLibraryItemsMetadata) GetParentSlug() *string

func (*GetLibraryItemsMetadata) GetParentStudio added in v0.1.3

func (o *GetLibraryItemsMetadata) GetParentStudio() *string

func (*GetLibraryItemsMetadata) GetParentTheme added in v0.1.3

func (o *GetLibraryItemsMetadata) GetParentTheme() *string

func (*GetLibraryItemsMetadata) GetParentThumb added in v0.1.3

func (o *GetLibraryItemsMetadata) GetParentThumb() *string

func (*GetLibraryItemsMetadata) GetParentTitle added in v0.1.3

func (o *GetLibraryItemsMetadata) GetParentTitle() *string

func (*GetLibraryItemsMetadata) GetParentYear added in v0.1.3

func (o *GetLibraryItemsMetadata) GetParentYear() *int

func (*GetLibraryItemsMetadata) GetPrimaryExtraKey added in v0.1.1

func (o *GetLibraryItemsMetadata) GetPrimaryExtraKey() *string

func (*GetLibraryItemsMetadata) GetRating added in v0.1.1

func (o *GetLibraryItemsMetadata) GetRating() *float64

func (*GetLibraryItemsMetadata) GetRatingImage added in v0.1.1

func (o *GetLibraryItemsMetadata) GetRatingImage() *string

func (*GetLibraryItemsMetadata) GetRatingKey added in v0.1.1

func (o *GetLibraryItemsMetadata) GetRatingKey() string

func (*GetLibraryItemsMetadata) GetRole added in v0.1.1

func (*GetLibraryItemsMetadata) GetSeasonCount added in v0.12.1

func (o *GetLibraryItemsMetadata) GetSeasonCount() *int

func (*GetLibraryItemsMetadata) GetShowOrdering added in v0.12.1

func (*GetLibraryItemsMetadata) GetSkipChildren added in v0.12.1

func (o *GetLibraryItemsMetadata) GetSkipChildren() *bool

func (*GetLibraryItemsMetadata) GetSkipCount added in v0.1.1

func (o *GetLibraryItemsMetadata) GetSkipCount() *int

func (*GetLibraryItemsMetadata) GetSlug added in v0.12.1

func (o *GetLibraryItemsMetadata) GetSlug() *string

func (*GetLibraryItemsMetadata) GetStudio added in v0.1.1

func (o *GetLibraryItemsMetadata) GetStudio() *string

func (*GetLibraryItemsMetadata) GetSummary added in v0.1.1

func (o *GetLibraryItemsMetadata) GetSummary() string

func (*GetLibraryItemsMetadata) GetTagline added in v0.1.1

func (o *GetLibraryItemsMetadata) GetTagline() *string

func (*GetLibraryItemsMetadata) GetTheme added in v0.1.3

func (o *GetLibraryItemsMetadata) GetTheme() *string

func (*GetLibraryItemsMetadata) GetThumb added in v0.1.1

func (o *GetLibraryItemsMetadata) GetThumb() *string

func (*GetLibraryItemsMetadata) GetTitle added in v0.1.1

func (o *GetLibraryItemsMetadata) GetTitle() string

func (*GetLibraryItemsMetadata) GetTitleSort added in v0.1.1

func (o *GetLibraryItemsMetadata) GetTitleSort() *string

func (*GetLibraryItemsMetadata) GetType added in v0.1.1

func (*GetLibraryItemsMetadata) GetUltraBlurColors added in v0.12.1

func (*GetLibraryItemsMetadata) GetUpdatedAt added in v0.1.1

func (o *GetLibraryItemsMetadata) GetUpdatedAt() *int64

func (*GetLibraryItemsMetadata) GetViewCount added in v0.1.1

func (o *GetLibraryItemsMetadata) GetViewCount() *int

func (*GetLibraryItemsMetadata) GetViewOffset added in v0.1.1

func (o *GetLibraryItemsMetadata) GetViewOffset() *int

func (*GetLibraryItemsMetadata) GetViewedLeafCount added in v0.1.3

func (o *GetLibraryItemsMetadata) GetViewedLeafCount() *int

func (*GetLibraryItemsMetadata) GetWriter added in v0.1.1

func (*GetLibraryItemsMetadata) GetYear added in v0.1.1

func (o *GetLibraryItemsMetadata) GetYear() *int

func (GetLibraryItemsMetadata) MarshalJSON added in v0.1.1

func (g GetLibraryItemsMetadata) MarshalJSON() ([]byte, error)

func (*GetLibraryItemsMetadata) UnmarshalJSON added in v0.1.1

func (g *GetLibraryItemsMetadata) UnmarshalJSON(data []byte) error

type GetLibraryItemsOperator added in v0.12.0

type GetLibraryItemsOperator struct {
	Key   string `json:"key"`
	Title string `json:"title"`
}

func (*GetLibraryItemsOperator) GetKey added in v0.12.0

func (o *GetLibraryItemsOperator) GetKey() string

func (*GetLibraryItemsOperator) GetTitle added in v0.12.0

func (o *GetLibraryItemsOperator) GetTitle() string

type GetLibraryItemsOptimizedForStreaming added in v0.13.0

type GetLibraryItemsOptimizedForStreaming int
const (
	GetLibraryItemsOptimizedForStreamingDisable GetLibraryItemsOptimizedForStreaming = 0
	GetLibraryItemsOptimizedForStreamingEnable  GetLibraryItemsOptimizedForStreaming = 1
)

func (GetLibraryItemsOptimizedForStreaming) ToPointer added in v0.13.0

func (*GetLibraryItemsOptimizedForStreaming) UnmarshalJSON added in v0.13.0

func (e *GetLibraryItemsOptimizedForStreaming) UnmarshalJSON(data []byte) error

type GetLibraryItemsPart added in v0.1.1

type GetLibraryItemsPart struct {
	ID       int    `json:"id"`
	Key      string `json:"key"`
	Duration *int   `json:"duration,omitempty"`
	File     string `json:"file"`
	Size     int64  `json:"size"`
	// The container format of the media file.
	//
	Container             string                       `json:"container"`
	AudioProfile          *string                      `json:"audioProfile,omitempty"`
	Has64bitOffsets       *bool                        `json:"has64bitOffsets,omitempty"`
	OptimizedForStreaming *bool                        `json:"optimizedForStreaming,omitempty"`
	VideoProfile          *string                      `json:"videoProfile,omitempty"`
	Indexes               *string                      `json:"indexes,omitempty"`
	HasThumbnail          *GetLibraryItemsHasThumbnail `default:"0" json:"hasThumbnail"`
	Stream                []GetLibraryItemsStream      `json:"Stream,omitempty"`
}

func (*GetLibraryItemsPart) GetAudioProfile added in v0.12.1

func (o *GetLibraryItemsPart) GetAudioProfile() *string

func (*GetLibraryItemsPart) GetContainer added in v0.1.1

func (o *GetLibraryItemsPart) GetContainer() string

func (*GetLibraryItemsPart) GetDuration added in v0.1.1

func (o *GetLibraryItemsPart) GetDuration() *int

func (*GetLibraryItemsPart) GetFile added in v0.1.1

func (o *GetLibraryItemsPart) GetFile() string

func (*GetLibraryItemsPart) GetHas64bitOffsets added in v0.13.0

func (o *GetLibraryItemsPart) GetHas64bitOffsets() *bool

func (*GetLibraryItemsPart) GetHasThumbnail added in v0.12.1

func (o *GetLibraryItemsPart) GetHasThumbnail() *GetLibraryItemsHasThumbnail

func (*GetLibraryItemsPart) GetID added in v0.1.1

func (o *GetLibraryItemsPart) GetID() int

func (*GetLibraryItemsPart) GetIndexes added in v0.12.1

func (o *GetLibraryItemsPart) GetIndexes() *string

func (*GetLibraryItemsPart) GetKey added in v0.1.1

func (o *GetLibraryItemsPart) GetKey() string

func (*GetLibraryItemsPart) GetOptimizedForStreaming added in v0.13.0

func (o *GetLibraryItemsPart) GetOptimizedForStreaming() *bool

func (*GetLibraryItemsPart) GetSize added in v0.1.1

func (o *GetLibraryItemsPart) GetSize() int64

func (*GetLibraryItemsPart) GetStream added in v0.13.0

func (o *GetLibraryItemsPart) GetStream() []GetLibraryItemsStream

func (*GetLibraryItemsPart) GetVideoProfile added in v0.1.1

func (o *GetLibraryItemsPart) GetVideoProfile() *string

func (GetLibraryItemsPart) MarshalJSON added in v0.12.1

func (g GetLibraryItemsPart) MarshalJSON() ([]byte, error)

func (*GetLibraryItemsPart) UnmarshalJSON added in v0.12.1

func (g *GetLibraryItemsPart) UnmarshalJSON(data []byte) error

type GetLibraryItemsQueryParamIncludeMeta added in v0.13.0

type GetLibraryItemsQueryParamIncludeMeta int

GetLibraryItemsQueryParamIncludeMeta - Adds the Meta object to the response

const (
	GetLibraryItemsQueryParamIncludeMetaDisable GetLibraryItemsQueryParamIncludeMeta = 0
	GetLibraryItemsQueryParamIncludeMetaEnable  GetLibraryItemsQueryParamIncludeMeta = 1
)

func (GetLibraryItemsQueryParamIncludeMeta) ToPointer added in v0.13.0

func (*GetLibraryItemsQueryParamIncludeMeta) UnmarshalJSON added in v0.13.0

func (e *GetLibraryItemsQueryParamIncludeMeta) UnmarshalJSON(data []byte) error

type GetLibraryItemsQueryParamType added in v0.13.0

type GetLibraryItemsQueryParamType int64

GetLibraryItemsQueryParamType - The type of media to retrieve or filter by. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries

const (
	GetLibraryItemsQueryParamTypeMovie   GetLibraryItemsQueryParamType = 1
	GetLibraryItemsQueryParamTypeTvShow  GetLibraryItemsQueryParamType = 2
	GetLibraryItemsQueryParamTypeSeason  GetLibraryItemsQueryParamType = 3
	GetLibraryItemsQueryParamTypeEpisode GetLibraryItemsQueryParamType = 4
	GetLibraryItemsQueryParamTypeAudio   GetLibraryItemsQueryParamType = 8
	GetLibraryItemsQueryParamTypeAlbum   GetLibraryItemsQueryParamType = 9
	GetLibraryItemsQueryParamTypeTrack   GetLibraryItemsQueryParamType = 10
)

func (GetLibraryItemsQueryParamType) ToPointer added in v0.13.0

func (*GetLibraryItemsQueryParamType) UnmarshalJSON added in v0.13.0

func (e *GetLibraryItemsQueryParamType) UnmarshalJSON(data []byte) error

type GetLibraryItemsRequest

type GetLibraryItemsRequest struct {
	// A key representing a specific tag within the section.
	Tag Tag `pathParam:"style=simple,explode=false,name=tag"`
	// Adds the Guids object to the response
	//
	IncludeGuids *IncludeGuids `default:"0" queryParam:"style=form,explode=true,name=includeGuids"`
	// The type of media to retrieve or filter by.
	// 1 = movie
	// 2 = show
	// 3 = season
	// 4 = episode
	// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
	//
	Type GetLibraryItemsQueryParamType `queryParam:"style=form,explode=true,name=type"`
	// The unique key of the Plex library.
	// Note: This is unique in the context of the Plex server.
	//
	SectionKey int `pathParam:"style=simple,explode=false,name=sectionKey"`
	// Adds the Meta object to the response
	//
	IncludeMeta *GetLibraryItemsQueryParamIncludeMeta `default:"0" queryParam:"style=form,explode=true,name=includeMeta"`
	// The index of the first item to return. If not specified, the first item will be returned.
	// If the number of items exceeds the limit, the response will be paginated.
	// By default this is 0
	//
	XPlexContainerStart *int `default:"0" queryParam:"style=form,explode=true,name=X-Plex-Container-Start"`
	// The number of items to return. If not specified, all items will be returned.
	// If the number of items exceeds the limit, the response will be paginated.
	// By default this is 50
	//
	XPlexContainerSize *int `default:"50" queryParam:"style=form,explode=true,name=X-Plex-Container-Size"`
}

func (*GetLibraryItemsRequest) GetIncludeGuids added in v0.10.0

func (o *GetLibraryItemsRequest) GetIncludeGuids() *IncludeGuids

func (*GetLibraryItemsRequest) GetIncludeMeta added in v0.11.1

func (*GetLibraryItemsRequest) GetSectionKey added in v0.11.1

func (o *GetLibraryItemsRequest) GetSectionKey() int

func (*GetLibraryItemsRequest) GetTag added in v0.1.1

func (o *GetLibraryItemsRequest) GetTag() Tag

func (*GetLibraryItemsRequest) GetType

func (*GetLibraryItemsRequest) GetXPlexContainerSize added in v0.11.1

func (o *GetLibraryItemsRequest) GetXPlexContainerSize() *int

func (*GetLibraryItemsRequest) GetXPlexContainerStart added in v0.11.1

func (o *GetLibraryItemsRequest) GetXPlexContainerStart() *int

func (GetLibraryItemsRequest) MarshalJSON added in v0.11.1

func (g GetLibraryItemsRequest) MarshalJSON() ([]byte, error)

func (*GetLibraryItemsRequest) UnmarshalJSON added in v0.11.1

func (g *GetLibraryItemsRequest) UnmarshalJSON(data []byte) error

type GetLibraryItemsResponse

type GetLibraryItemsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The contents of the library by section and tag
	Object *GetLibraryItemsResponseBody
}

func (*GetLibraryItemsResponse) GetContentType

func (o *GetLibraryItemsResponse) GetContentType() string

func (*GetLibraryItemsResponse) GetObject added in v0.1.1

func (*GetLibraryItemsResponse) GetRawResponse

func (o *GetLibraryItemsResponse) GetRawResponse() *http.Response

func (*GetLibraryItemsResponse) GetStatusCode

func (o *GetLibraryItemsResponse) GetStatusCode() int

type GetLibraryItemsResponseBody added in v0.1.1

type GetLibraryItemsResponseBody struct {
	MediaContainer *GetLibraryItemsMediaContainer `json:"MediaContainer,omitempty"`
}

GetLibraryItemsResponseBody - The contents of the library by section and tag

func (*GetLibraryItemsResponseBody) GetMediaContainer added in v0.1.1

type GetLibraryItemsRole added in v0.1.1

type GetLibraryItemsRole struct {
	// The ID of the tag or actor.
	ID *int64 `json:"id,omitempty"`
	// The filter used to find the actor or tag.
	Filter *string `json:"filter,omitempty"`
	// The thumbnail of the actor
	Thumb *string `json:"thumb,omitempty"`
	// The name of the tag or actor.
	Tag *string `json:"tag,omitempty"`
	// Unique identifier for the tag.
	TagKey *string `json:"tagKey,omitempty"`
	// The role of the actor or tag in the media.
	Role *string `json:"role,omitempty"`
}

func (*GetLibraryItemsRole) GetFilter added in v0.13.0

func (o *GetLibraryItemsRole) GetFilter() *string

func (*GetLibraryItemsRole) GetID added in v0.13.0

func (o *GetLibraryItemsRole) GetID() *int64

func (*GetLibraryItemsRole) GetRole added in v0.13.0

func (o *GetLibraryItemsRole) GetRole() *string

func (*GetLibraryItemsRole) GetTag added in v0.1.1

func (o *GetLibraryItemsRole) GetTag() *string

func (*GetLibraryItemsRole) GetTagKey added in v0.13.0

func (o *GetLibraryItemsRole) GetTagKey() *string

func (*GetLibraryItemsRole) GetThumb added in v0.13.0

func (o *GetLibraryItemsRole) GetThumb() *string

type GetLibraryItemsShowOrdering added in v0.13.0

type GetLibraryItemsShowOrdering string

GetLibraryItemsShowOrdering - Setting that indicates the episode ordering for the show. None = Library default, tmdbAiring = The Movie Database (Aired), aired = TheTVDB (Aired), dvd = TheTVDB (DVD), absolute = TheTVDB (Absolute)).

const (
	GetLibraryItemsShowOrderingNone         GetLibraryItemsShowOrdering = "None"
	GetLibraryItemsShowOrderingTmdbAiring   GetLibraryItemsShowOrdering = "tmdbAiring"
	GetLibraryItemsShowOrderingTvdbAired    GetLibraryItemsShowOrdering = "aired"
	GetLibraryItemsShowOrderingTvdbDvd      GetLibraryItemsShowOrdering = "dvd"
	GetLibraryItemsShowOrderingTvdbAbsolute GetLibraryItemsShowOrdering = "absolute"
)

func (GetLibraryItemsShowOrdering) ToPointer added in v0.13.0

func (*GetLibraryItemsShowOrdering) UnmarshalJSON added in v0.13.0

func (e *GetLibraryItemsShowOrdering) UnmarshalJSON(data []byte) error

type GetLibraryItemsSort added in v0.12.0

type GetLibraryItemsSort struct {
	Default *string `json:"default,omitempty"`
	Active  *bool   `json:"active,omitempty"`
	// The direction of the sort. Can be either `asc` or `desc`.
	//
	ActiveDirection *GetLibraryItemsActiveDirection `default:"asc" json:"activeDirection"`
	// The direction of the sort. Can be either `asc` or `desc`.
	//
	DefaultDirection  *GetLibraryItemsDefaultDirection `default:"asc" json:"defaultDirection"`
	DescKey           *string                          `json:"descKey,omitempty"`
	FirstCharacterKey *string                          `json:"firstCharacterKey,omitempty"`
	Key               string                           `json:"key"`
	Title             string                           `json:"title"`
}

func (*GetLibraryItemsSort) GetActive added in v0.12.1

func (o *GetLibraryItemsSort) GetActive() *bool

func (*GetLibraryItemsSort) GetActiveDirection added in v0.12.1

func (o *GetLibraryItemsSort) GetActiveDirection() *GetLibraryItemsActiveDirection

func (*GetLibraryItemsSort) GetDefault added in v0.12.0

func (o *GetLibraryItemsSort) GetDefault() *string

func (*GetLibraryItemsSort) GetDefaultDirection added in v0.12.0

func (o *GetLibraryItemsSort) GetDefaultDirection() *GetLibraryItemsDefaultDirection

func (*GetLibraryItemsSort) GetDescKey added in v0.12.0

func (o *GetLibraryItemsSort) GetDescKey() *string

func (*GetLibraryItemsSort) GetFirstCharacterKey added in v0.12.0

func (o *GetLibraryItemsSort) GetFirstCharacterKey() *string

func (*GetLibraryItemsSort) GetKey added in v0.12.0

func (o *GetLibraryItemsSort) GetKey() string

func (*GetLibraryItemsSort) GetTitle added in v0.12.0

func (o *GetLibraryItemsSort) GetTitle() string

func (GetLibraryItemsSort) MarshalJSON added in v0.12.1

func (g GetLibraryItemsSort) MarshalJSON() ([]byte, error)

func (*GetLibraryItemsSort) UnmarshalJSON added in v0.12.1

func (g *GetLibraryItemsSort) UnmarshalJSON(data []byte) error

type GetLibraryItemsStream added in v0.13.0

type GetLibraryItemsStream struct {
	ID int64 `json:"id"`
	// Type of stream (1 = video, 2 = audio, 3 = subtitle)
	StreamType int64 `json:"streamType"`
	// Indicates if this is the default stream
	Default *bool `json:"default,omitempty"`
	// Indicates if the stream is selected
	Selected *bool `json:"selected,omitempty"`
	// Codec used by the stream
	Codec string `json:"codec"`
	// The index of the stream
	Index int64 `json:"index"`
	// The bitrate of the stream in kbps
	Bitrate *int64 `json:"bitrate,omitempty"`
	// The color primaries of the video stream
	ColorPrimaries *string `json:"colorPrimaries,omitempty"`
	// The color range of the video stream
	ColorRange *string `json:"colorRange,omitempty"`
	// The color space of the video stream
	ColorSpace *string `json:"colorSpace,omitempty"`
	// The transfer characteristics (TRC) of the video stream
	ColorTrc *string `json:"colorTrc,omitempty"`
	// The bit depth of the video stream
	BitDepth *int64 `json:"bitDepth,omitempty"`
	// The chroma location of the video stream
	ChromaLocation *string `json:"chromaLocation,omitempty"`
	// The identifier of the video stream
	StreamIdentifier *string `json:"streamIdentifier,omitempty"`
	// The chroma subsampling format
	ChromaSubsampling *string `json:"chromaSubsampling,omitempty"`
	// The coded height of the video stream
	CodedHeight *int64 `json:"codedHeight,omitempty"`
	// The coded width of the video stream
	CodedWidth *int64 `json:"codedWidth,omitempty"`
	// The frame rate of the video stream
	FrameRate *float64 `json:"frameRate,omitempty"`
	// Indicates if the stream has a scaling matrix
	HasScalingMatrix *bool   `json:"hasScalingMatrix,omitempty"`
	HearingImpaired  *bool   `json:"hearingImpaired,omitempty"`
	ClosedCaptions   *bool   `json:"closedCaptions,omitempty"`
	EmbeddedInVideo  *string `json:"embeddedInVideo,omitempty"`
	// The height of the video stream
	Height *int64 `json:"height,omitempty"`
	// The level of the video codec
	Level *int64 `json:"level,omitempty"`
	// The profile of the video codec
	Profile *string `json:"profile,omitempty"`
	// Number of reference frames
	RefFrames *int64 `json:"refFrames,omitempty"`
	// The scan type (progressive or interlaced)
	ScanType *string `json:"scanType,omitempty"`
	// The width of the video stream
	Width *int64 `json:"width,omitempty"`
	// Display title of the stream
	DisplayTitle *string `json:"displayTitle,omitempty"`
	// Extended display title of the stream
	ExtendedDisplayTitle *string `json:"extendedDisplayTitle,omitempty"`
	// Number of audio channels (for audio streams)
	Channels *int64 `json:"channels,omitempty"`
	// The language of the stream (for audio/subtitle streams)
	Language *string `json:"language,omitempty"`
	// Language tag of the stream
	LanguageTag *string `json:"languageTag,omitempty"`
	// Language code of the stream
	LanguageCode *string `json:"languageCode,omitempty"`
	// The audio channel layout
	AudioChannelLayout *string `json:"audioChannelLayout,omitempty"`
	// Sampling rate of the audio stream in Hz
	SamplingRate *int64 `json:"samplingRate,omitempty"`
	// Title of the subtitle track (for subtitle streams)
	Title *string `json:"title,omitempty"`
	// Indicates if the subtitle stream can auto-sync
	CanAutoSync *bool `json:"canAutoSync,omitempty"`
}

func (*GetLibraryItemsStream) GetAudioChannelLayout added in v0.13.0

func (o *GetLibraryItemsStream) GetAudioChannelLayout() *string

func (*GetLibraryItemsStream) GetBitDepth added in v0.13.0

func (o *GetLibraryItemsStream) GetBitDepth() *int64

func (*GetLibraryItemsStream) GetBitrate added in v0.13.0

func (o *GetLibraryItemsStream) GetBitrate() *int64

func (*GetLibraryItemsStream) GetCanAutoSync added in v0.13.0

func (o *GetLibraryItemsStream) GetCanAutoSync() *bool

func (*GetLibraryItemsStream) GetChannels added in v0.13.0

func (o *GetLibraryItemsStream) GetChannels() *int64

func (*GetLibraryItemsStream) GetChromaLocation added in v0.13.0

func (o *GetLibraryItemsStream) GetChromaLocation() *string

func (*GetLibraryItemsStream) GetChromaSubsampling added in v0.13.0

func (o *GetLibraryItemsStream) GetChromaSubsampling() *string

func (*GetLibraryItemsStream) GetClosedCaptions added in v0.13.0

func (o *GetLibraryItemsStream) GetClosedCaptions() *bool

func (*GetLibraryItemsStream) GetCodec added in v0.13.0

func (o *GetLibraryItemsStream) GetCodec() string

func (*GetLibraryItemsStream) GetCodedHeight added in v0.13.0

func (o *GetLibraryItemsStream) GetCodedHeight() *int64

func (*GetLibraryItemsStream) GetCodedWidth added in v0.13.0

func (o *GetLibraryItemsStream) GetCodedWidth() *int64

func (*GetLibraryItemsStream) GetColorPrimaries added in v0.13.0

func (o *GetLibraryItemsStream) GetColorPrimaries() *string

func (*GetLibraryItemsStream) GetColorRange added in v0.13.0

func (o *GetLibraryItemsStream) GetColorRange() *string

func (*GetLibraryItemsStream) GetColorSpace added in v0.13.0

func (o *GetLibraryItemsStream) GetColorSpace() *string

func (*GetLibraryItemsStream) GetColorTrc added in v0.13.0

func (o *GetLibraryItemsStream) GetColorTrc() *string

func (*GetLibraryItemsStream) GetDefault added in v0.13.0

func (o *GetLibraryItemsStream) GetDefault() *bool

func (*GetLibraryItemsStream) GetDisplayTitle added in v0.13.0

func (o *GetLibraryItemsStream) GetDisplayTitle() *string

func (*GetLibraryItemsStream) GetEmbeddedInVideo added in v0.13.0

func (o *GetLibraryItemsStream) GetEmbeddedInVideo() *string

func (*GetLibraryItemsStream) GetExtendedDisplayTitle added in v0.13.0

func (o *GetLibraryItemsStream) GetExtendedDisplayTitle() *string

func (*GetLibraryItemsStream) GetFrameRate added in v0.13.0

func (o *GetLibraryItemsStream) GetFrameRate() *float64

func (*GetLibraryItemsStream) GetHasScalingMatrix added in v0.13.0

func (o *GetLibraryItemsStream) GetHasScalingMatrix() *bool

func (*GetLibraryItemsStream) GetHearingImpaired added in v0.13.0

func (o *GetLibraryItemsStream) GetHearingImpaired() *bool

func (*GetLibraryItemsStream) GetHeight added in v0.13.0

func (o *GetLibraryItemsStream) GetHeight() *int64

func (*GetLibraryItemsStream) GetID added in v0.13.0

func (o *GetLibraryItemsStream) GetID() int64

func (*GetLibraryItemsStream) GetIndex added in v0.13.0

func (o *GetLibraryItemsStream) GetIndex() int64

func (*GetLibraryItemsStream) GetLanguage added in v0.13.0

func (o *GetLibraryItemsStream) GetLanguage() *string

func (*GetLibraryItemsStream) GetLanguageCode added in v0.13.0

func (o *GetLibraryItemsStream) GetLanguageCode() *string

func (*GetLibraryItemsStream) GetLanguageTag added in v0.13.0

func (o *GetLibraryItemsStream) GetLanguageTag() *string

func (*GetLibraryItemsStream) GetLevel added in v0.13.0

func (o *GetLibraryItemsStream) GetLevel() *int64

func (*GetLibraryItemsStream) GetProfile added in v0.13.0

func (o *GetLibraryItemsStream) GetProfile() *string

func (*GetLibraryItemsStream) GetRefFrames added in v0.13.0

func (o *GetLibraryItemsStream) GetRefFrames() *int64

func (*GetLibraryItemsStream) GetSamplingRate added in v0.13.0

func (o *GetLibraryItemsStream) GetSamplingRate() *int64

func (*GetLibraryItemsStream) GetScanType added in v0.13.0

func (o *GetLibraryItemsStream) GetScanType() *string

func (*GetLibraryItemsStream) GetSelected added in v0.13.0

func (o *GetLibraryItemsStream) GetSelected() *bool

func (*GetLibraryItemsStream) GetStreamIdentifier added in v0.13.0

func (o *GetLibraryItemsStream) GetStreamIdentifier() *string

func (*GetLibraryItemsStream) GetStreamType added in v0.13.0

func (o *GetLibraryItemsStream) GetStreamType() int64

func (*GetLibraryItemsStream) GetTitle added in v0.13.0

func (o *GetLibraryItemsStream) GetTitle() *string

func (*GetLibraryItemsStream) GetWidth added in v0.13.0

func (o *GetLibraryItemsStream) GetWidth() *int64

type GetLibraryItemsType added in v0.12.0

type GetLibraryItemsType struct {
	Key     string                  `json:"key"`
	Type    string                  `json:"type"`
	Subtype *string                 `json:"subtype,omitempty"`
	Title   string                  `json:"title"`
	Active  bool                    `json:"active"`
	Filter  []GetLibraryItemsFilter `json:"Filter,omitempty"`
	Sort    []GetLibraryItemsSort   `json:"Sort,omitempty"`
	Field   []GetLibraryItemsField  `json:"Field,omitempty"`
}

func (*GetLibraryItemsType) GetActive added in v0.12.0

func (o *GetLibraryItemsType) GetActive() bool

func (*GetLibraryItemsType) GetField added in v0.12.0

func (o *GetLibraryItemsType) GetField() []GetLibraryItemsField

func (*GetLibraryItemsType) GetFilter added in v0.12.0

func (o *GetLibraryItemsType) GetFilter() []GetLibraryItemsFilter

func (*GetLibraryItemsType) GetKey added in v0.12.0

func (o *GetLibraryItemsType) GetKey() string

func (*GetLibraryItemsType) GetSort added in v0.12.0

func (*GetLibraryItemsType) GetSubtype added in v0.19.0

func (o *GetLibraryItemsType) GetSubtype() *string

func (*GetLibraryItemsType) GetTitle added in v0.12.0

func (o *GetLibraryItemsType) GetTitle() string

func (*GetLibraryItemsType) GetType added in v0.12.0

func (o *GetLibraryItemsType) GetType() string

type GetLibraryItemsUltraBlurColors added in v0.13.0

type GetLibraryItemsUltraBlurColors struct {
	TopLeft     string `json:"topLeft"`
	TopRight    string `json:"topRight"`
	BottomRight string `json:"bottomRight"`
	BottomLeft  string `json:"bottomLeft"`
}

func (*GetLibraryItemsUltraBlurColors) GetBottomLeft added in v0.13.0

func (o *GetLibraryItemsUltraBlurColors) GetBottomLeft() string

func (*GetLibraryItemsUltraBlurColors) GetBottomRight added in v0.13.0

func (o *GetLibraryItemsUltraBlurColors) GetBottomRight() string

func (*GetLibraryItemsUltraBlurColors) GetTopLeft added in v0.13.0

func (o *GetLibraryItemsUltraBlurColors) GetTopLeft() string

func (*GetLibraryItemsUltraBlurColors) GetTopRight added in v0.13.0

func (o *GetLibraryItemsUltraBlurColors) GetTopRight() string

type GetLibraryItemsWriter added in v0.1.1

type GetLibraryItemsWriter struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetLibraryItemsWriter) GetTag added in v0.1.1

func (o *GetLibraryItemsWriter) GetTag() *string

type GetMediaMetaDataCountry added in v0.18.1

type GetMediaMetaDataCountry struct {
	// The unique country identifier.
	ID int `json:"id"`
	// The filter string for the country.
	Filter string `json:"filter"`
	// The country name.
	Tag string `json:"tag"`
}

func (*GetMediaMetaDataCountry) GetFilter added in v0.18.1

func (o *GetMediaMetaDataCountry) GetFilter() string

func (*GetMediaMetaDataCountry) GetID added in v0.18.1

func (o *GetMediaMetaDataCountry) GetID() int

func (*GetMediaMetaDataCountry) GetTag added in v0.18.1

func (o *GetMediaMetaDataCountry) GetTag() string

type GetMediaMetaDataDirector added in v0.18.1

type GetMediaMetaDataDirector struct {
	// The unique role identifier.
	ID int64 `json:"id"`
	// The filter string for the role.
	Filter string `json:"filter"`
	// The actor's name.
	Tag string `json:"tag"`
	// A key associated with the actor tag.
	TagKey string `json:"tagKey"`
	// The character name or role.
	Role *string `json:"role,omitempty"`
	// URL for the role thumbnail image.
	Thumb *string `json:"thumb,omitempty"`
}

func (*GetMediaMetaDataDirector) GetFilter added in v0.18.1

func (o *GetMediaMetaDataDirector) GetFilter() string

func (*GetMediaMetaDataDirector) GetID added in v0.18.1

func (o *GetMediaMetaDataDirector) GetID() int64

func (*GetMediaMetaDataDirector) GetRole added in v0.18.1

func (o *GetMediaMetaDataDirector) GetRole() *string

func (*GetMediaMetaDataDirector) GetTag added in v0.18.1

func (o *GetMediaMetaDataDirector) GetTag() string

func (*GetMediaMetaDataDirector) GetTagKey added in v0.18.1

func (o *GetMediaMetaDataDirector) GetTagKey() string

func (*GetMediaMetaDataDirector) GetThumb added in v0.18.1

func (o *GetMediaMetaDataDirector) GetThumb() *string

type GetMediaMetaDataGenre added in v0.18.1

type GetMediaMetaDataGenre struct {
	// The unique genre identifier.
	ID int64 `json:"id"`
	// The filter string for the genre.
	Filter string `json:"filter"`
	// The genre name.
	Tag string `json:"tag"`
}

func (*GetMediaMetaDataGenre) GetFilter added in v0.18.1

func (o *GetMediaMetaDataGenre) GetFilter() string

func (*GetMediaMetaDataGenre) GetID added in v0.18.1

func (o *GetMediaMetaDataGenre) GetID() int64

func (*GetMediaMetaDataGenre) GetTag added in v0.18.1

func (o *GetMediaMetaDataGenre) GetTag() string

type GetMediaMetaDataGuids added in v0.19.0

type GetMediaMetaDataGuids struct {
	// The GUID value.
	ID string `json:"id"`
}

func (*GetMediaMetaDataGuids) GetID added in v0.19.0

func (o *GetMediaMetaDataGuids) GetID() string

type GetMediaMetaDataHasThumbnail added in v0.19.0

type GetMediaMetaDataHasThumbnail string

GetMediaMetaDataHasThumbnail - Indicates if the part has a thumbnail.

const (
	GetMediaMetaDataHasThumbnailFalse GetMediaMetaDataHasThumbnail = "0"
	GetMediaMetaDataHasThumbnailTrue  GetMediaMetaDataHasThumbnail = "1"
)

func (GetMediaMetaDataHasThumbnail) ToPointer added in v0.19.0

func (*GetMediaMetaDataHasThumbnail) UnmarshalJSON added in v0.19.0

func (e *GetMediaMetaDataHasThumbnail) UnmarshalJSON(data []byte) error

type GetMediaMetaDataImage added in v0.18.1

type GetMediaMetaDataImage struct {
	// Alternate text for the image.
	Alt string `json:"alt"`
	// The type of image (e.g., coverPoster, background, clearLogo).
	Type string `json:"type"`
	// The URL of the image.
	URL string `json:"url"`
}

func (*GetMediaMetaDataImage) GetAlt added in v0.18.1

func (o *GetMediaMetaDataImage) GetAlt() string

func (*GetMediaMetaDataImage) GetType added in v0.18.1

func (o *GetMediaMetaDataImage) GetType() string

func (*GetMediaMetaDataImage) GetURL added in v0.18.1

func (o *GetMediaMetaDataImage) GetURL() string

type GetMediaMetaDataLibraryOptimizedForStreaming added in v0.19.0

type GetMediaMetaDataLibraryOptimizedForStreaming struct {
	GetMediaMetaDataOptimizedForStreaming1 *GetMediaMetaDataOptimizedForStreaming1 `queryParam:"inline"`
	Boolean                                *bool                                   `queryParam:"inline"`

	Type GetMediaMetaDataLibraryOptimizedForStreamingType
}

GetMediaMetaDataLibraryOptimizedForStreaming - Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true

func CreateGetMediaMetaDataLibraryOptimizedForStreamingBoolean added in v0.19.0

func CreateGetMediaMetaDataLibraryOptimizedForStreamingBoolean(boolean bool) GetMediaMetaDataLibraryOptimizedForStreaming

func CreateGetMediaMetaDataLibraryOptimizedForStreamingGetMediaMetaDataOptimizedForStreaming1 added in v0.19.0

func CreateGetMediaMetaDataLibraryOptimizedForStreamingGetMediaMetaDataOptimizedForStreaming1(getMediaMetaDataOptimizedForStreaming1 GetMediaMetaDataOptimizedForStreaming1) GetMediaMetaDataLibraryOptimizedForStreaming

func (GetMediaMetaDataLibraryOptimizedForStreaming) MarshalJSON added in v0.19.0

func (*GetMediaMetaDataLibraryOptimizedForStreaming) UnmarshalJSON added in v0.19.0

func (u *GetMediaMetaDataLibraryOptimizedForStreaming) UnmarshalJSON(data []byte) error

type GetMediaMetaDataLibraryOptimizedForStreamingType added in v0.19.0

type GetMediaMetaDataLibraryOptimizedForStreamingType string
const (
	GetMediaMetaDataLibraryOptimizedForStreamingTypeGetMediaMetaDataOptimizedForStreaming1 GetMediaMetaDataLibraryOptimizedForStreamingType = "get-media-meta-data_optimizedForStreaming_1"
	GetMediaMetaDataLibraryOptimizedForStreamingTypeBoolean                                GetMediaMetaDataLibraryOptimizedForStreamingType = "boolean"
)

type GetMediaMetaDataLocation added in v0.18.1

type GetMediaMetaDataLocation struct {
	// The file path for the location.
	Path string `json:"path"`
}

func (*GetMediaMetaDataLocation) GetPath added in v0.18.1

func (o *GetMediaMetaDataLocation) GetPath() string

type GetMediaMetaDataMedia added in v0.18.1

type GetMediaMetaDataMedia struct {
	// Unique media identifier.
	ID int64 `json:"id"`
	// Duration of the media in milliseconds.
	Duration *int `json:"duration,omitempty"`
	// Bitrate in bits per second.
	Bitrate *int `json:"bitrate,omitempty"`
	// Video width in pixels.
	Width *int `json:"width,omitempty"`
	// Video height in pixels.
	Height *int `json:"height,omitempty"`
	// Aspect ratio of the video.
	AspectRatio *float32 `json:"aspectRatio,omitempty"`
	// Number of audio channels.
	AudioChannels *int `json:"audioChannels,omitempty"`
	DisplayOffset *int `json:"displayOffset,omitempty"`
	// Audio codec used.
	AudioCodec *string `json:"audioCodec,omitempty"`
	// Video codec used.
	VideoCodec *string `json:"videoCodec,omitempty"`
	// Video resolution (e.g., 4k).
	VideoResolution *string `json:"videoResolution,omitempty"`
	// File container type.
	Container *string `json:"container,omitempty"`
	// Frame rate of the video. Values found include NTSC, PAL, 24p
	//
	VideoFrameRate *string `json:"videoFrameRate,omitempty"`
	// Video profile (e.g., main 10).
	VideoProfile *string `json:"videoProfile,omitempty"`
	// Indicates whether voice activity is detected.
	HasVoiceActivity bool `json:"hasVoiceActivity"`
	// The audio profile used for the media (e.g., DTS, Dolby Digital, etc.).
	AudioProfile *string `json:"audioProfile,omitempty"`
	// Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
	OptimizedForStreaming *GetMediaMetaDataOptimizedForStreaming `json:"optimizedForStreaming,omitempty"`
	Has64bitOffsets       *bool                                  `json:"has64bitOffsets,omitempty"`
	// An array of parts for this media item.
	Part []GetMediaMetaDataPart `json:"Part"`
}

func (*GetMediaMetaDataMedia) GetAspectRatio added in v0.18.1

func (o *GetMediaMetaDataMedia) GetAspectRatio() *float32

func (*GetMediaMetaDataMedia) GetAudioChannels added in v0.18.1

func (o *GetMediaMetaDataMedia) GetAudioChannels() *int

func (*GetMediaMetaDataMedia) GetAudioCodec added in v0.18.1

func (o *GetMediaMetaDataMedia) GetAudioCodec() *string

func (*GetMediaMetaDataMedia) GetAudioProfile added in v0.19.0

func (o *GetMediaMetaDataMedia) GetAudioProfile() *string

func (*GetMediaMetaDataMedia) GetBitrate added in v0.18.1

func (o *GetMediaMetaDataMedia) GetBitrate() *int

func (*GetMediaMetaDataMedia) GetContainer added in v0.18.1

func (o *GetMediaMetaDataMedia) GetContainer() *string

func (*GetMediaMetaDataMedia) GetDisplayOffset added in v0.19.0

func (o *GetMediaMetaDataMedia) GetDisplayOffset() *int

func (*GetMediaMetaDataMedia) GetDuration added in v0.18.1

func (o *GetMediaMetaDataMedia) GetDuration() *int

func (*GetMediaMetaDataMedia) GetHas64bitOffsets added in v0.19.0

func (o *GetMediaMetaDataMedia) GetHas64bitOffsets() *bool

func (*GetMediaMetaDataMedia) GetHasVoiceActivity added in v0.18.1

func (o *GetMediaMetaDataMedia) GetHasVoiceActivity() bool

func (*GetMediaMetaDataMedia) GetHeight added in v0.18.1

func (o *GetMediaMetaDataMedia) GetHeight() *int

func (*GetMediaMetaDataMedia) GetID added in v0.18.1

func (o *GetMediaMetaDataMedia) GetID() int64

func (*GetMediaMetaDataMedia) GetOptimizedForStreaming added in v0.19.0

func (o *GetMediaMetaDataMedia) GetOptimizedForStreaming() *GetMediaMetaDataOptimizedForStreaming

func (*GetMediaMetaDataMedia) GetPart added in v0.18.1

func (*GetMediaMetaDataMedia) GetVideoCodec added in v0.18.1

func (o *GetMediaMetaDataMedia) GetVideoCodec() *string

func (*GetMediaMetaDataMedia) GetVideoFrameRate added in v0.18.1

func (o *GetMediaMetaDataMedia) GetVideoFrameRate() *string

func (*GetMediaMetaDataMedia) GetVideoProfile added in v0.18.1

func (o *GetMediaMetaDataMedia) GetVideoProfile() *string

func (*GetMediaMetaDataMedia) GetVideoResolution added in v0.18.1

func (o *GetMediaMetaDataMedia) GetVideoResolution() *string

func (*GetMediaMetaDataMedia) GetWidth added in v0.18.1

func (o *GetMediaMetaDataMedia) GetWidth() *int

type GetMediaMetaDataMediaContainer added in v0.18.1

type GetMediaMetaDataMediaContainer struct {
	// Number of media items returned in this response.
	Size int `json:"size"`
	// Indicates whether syncing is allowed.
	AllowSync bool `json:"allowSync"`
	// An plugin identifier for the media container.
	Identifier string `json:"identifier"`
	// The unique identifier for the library section.
	LibrarySectionID int64 `json:"librarySectionID"`
	// The title of the library section.
	LibrarySectionTitle string `json:"librarySectionTitle"`
	// The universally unique identifier for the library section.
	LibrarySectionUUID *string `json:"librarySectionUUID,omitempty"`
	// The prefix used for media tag resource paths.
	MediaTagPrefix string `json:"mediaTagPrefix"`
	// The version number for media tags.
	MediaTagVersion int64 `json:"mediaTagVersion"`
	// An array of metadata items.
	Metadata []GetMediaMetaDataMetadata `json:"Metadata"`
}

func (*GetMediaMetaDataMediaContainer) GetAllowSync added in v0.18.1

func (o *GetMediaMetaDataMediaContainer) GetAllowSync() bool

func (*GetMediaMetaDataMediaContainer) GetIdentifier added in v0.18.1

func (o *GetMediaMetaDataMediaContainer) GetIdentifier() string

func (*GetMediaMetaDataMediaContainer) GetLibrarySectionID added in v0.18.1

func (o *GetMediaMetaDataMediaContainer) GetLibrarySectionID() int64

func (*GetMediaMetaDataMediaContainer) GetLibrarySectionTitle added in v0.18.1

func (o *GetMediaMetaDataMediaContainer) GetLibrarySectionTitle() string

func (*GetMediaMetaDataMediaContainer) GetLibrarySectionUUID added in v0.18.1

func (o *GetMediaMetaDataMediaContainer) GetLibrarySectionUUID() *string

func (*GetMediaMetaDataMediaContainer) GetMediaTagPrefix added in v0.18.1

func (o *GetMediaMetaDataMediaContainer) GetMediaTagPrefix() string

func (*GetMediaMetaDataMediaContainer) GetMediaTagVersion added in v0.18.1

func (o *GetMediaMetaDataMediaContainer) GetMediaTagVersion() int64

func (*GetMediaMetaDataMediaContainer) GetMetadata added in v0.18.1

func (*GetMediaMetaDataMediaContainer) GetSize added in v0.18.1

func (o *GetMediaMetaDataMediaContainer) GetSize() int

type GetMediaMetaDataMetadata added in v0.18.1

type GetMediaMetaDataMetadata struct {
	// The rating key of the metadata item.
	RatingKey string `json:"ratingKey"`
	// The rating key of the parent of this metadata item.
	ParentRatingKey *string `json:"parentRatingKey,omitempty"`
	// The rating key of the grandparent of this metadata item.
	GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
	// A GUID identifying the parent entity (e.g., season) for the item.
	ParentGUID *string `json:"parentGuid,omitempty"`
	// A GUID identifying the grandparent entity (e.g., show).
	GrandparentGUID *string `json:"grandparentGuid,omitempty"`
	// A URL-friendly identifier (slug) for the grandparent entity.
	GrandparentSlug *string `json:"grandparentSlug,omitempty"`
	// A key identifying the grandparent metadata in the library.
	GrandparentKey *string `json:"grandparentKey,omitempty"`
	// A key identifying the parent metadata in the library.
	ParentKey *string `json:"parentKey,omitempty"`
	// The API key to access metadata details.
	Key string `json:"key"`
	// The globally unique identifier for the item.
	GUID string `json:"guid"`
	// A URL-friendly identifier for the item.
	Slug *string `json:"slug,omitempty"`
	// The studio that produced the content.
	Studio *string `json:"studio,omitempty"`
	// The type of content (e.g., show, movie).
	Type string `json:"type"`
	// The title of the content.
	Title string `json:"title"`
	// The original title of the content.
	OriginalTitle *string `json:"originalTitle,omitempty"`
	// The title of the library section.
	LibrarySectionTitle string `json:"librarySectionTitle"`
	// The ID of the library section.
	LibrarySectionID int64 `json:"librarySectionID"`
	// The key of the library section.
	LibrarySectionKey string `json:"librarySectionKey"`
	// The content rating (e.g., TV-MA).
	ContentRating *string `json:"contentRating,omitempty"`
	// A summary of the content.
	Summary string `json:"summary"`
	// The index or order of the item.
	Index *int64 `json:"index,omitempty"`
	// The title of the grandparent entity (typically the show's title).
	GrandparentTitle *string `json:"grandparentTitle,omitempty"`
	// The title of the parent entity (typically the season's title).
	ParentTitle *string `json:"parentTitle,omitempty"`
	// The audience rating for the content.
	AudienceRating *float32 `json:"audienceRating,omitempty"`
	// The number of times the item has been viewed.
	ViewCount *int64 `json:"viewCount,omitempty"`
	// The number of times the item has been skipped.
	SkipCount *int64 `json:"skipCount,omitempty"`
	// Unix timestamp of when the item was last viewed.
	LastViewedAt *int64 `json:"lastViewedAt,omitempty"`
	// The release year.
	Year int `json:"year"`
	// The general rating
	Rating *float32 `json:"rating,omitempty"`
	// The URL or identifier for the rating image (e.g., Rotten Tomatoes rating image).
	RatingImage *string `json:"ratingImage,omitempty"`
	// The tagline of the content.
	Tagline         *string `json:"tagline,omitempty"`
	ChapterSource   *string `json:"chapterSource,omitempty"`
	PrimaryExtraKey *string `json:"primaryExtraKey,omitempty"`
	// URL of the thumbnail image.
	Thumb string `json:"thumb"`
	// URL of the art image.
	Art string `json:"art"`
	// URL of the theme image.
	Theme *string `json:"theme,omitempty"`
	// Duration of the content in milliseconds.
	Duration int `json:"duration"`
	// The original release date.
	OriginallyAvailableAt *types.Date `json:"originallyAvailableAt,omitempty"`
	// The total number of episodes (or leaves).
	LeafCount *int64 `json:"leafCount,omitempty"`
	// The number of episodes that have been viewed.
	ViewedLeafCount *int64 `json:"viewedLeafCount,omitempty"`
	// The number of child items.
	ChildCount *int  `json:"childCount,omitempty"`
	AddedAt    int64 `json:"addedAt"`
	UpdatedAt  int64 `json:"updatedAt"`
	// The URL for the audience rating image.
	AudienceRatingImage *string `json:"audienceRatingImage,omitempty"`
	// The index number of the parent entity, which could indicate its order or position.
	ParentIndex *int64 `json:"parentIndex,omitempty"`
	// The URL of the parent's thumbnail image.
	ParentThumb *string `json:"parentThumb,omitempty"`
	// The URL of the grandparent's thumbnail image.
	GrandparentThumb *string `json:"grandparentThumb,omitempty"`
	// The URL of the grandparent's art image.
	GrandparentArt *string                 `json:"grandparentArt,omitempty"`
	Media          []GetMediaMetaDataMedia `json:"Media,omitempty"`
	// An array of image objects.
	Image           []GetMediaMetaDataImage         `json:"Image"`
	UltraBlurColors GetMediaMetaDataUltraBlurColors `json:"UltraBlurColors"`
	// An array of genre tags.
	Genre []GetMediaMetaDataGenre `json:"Genre,omitempty"`
	// An array of country tags.
	Country []GetMediaMetaDataCountry `json:"Country,omitempty"`
	// An array of GUID objects.
	Guids []GetMediaMetaDataGuids `json:"Guid,omitempty"`
	// An array of rating objects.
	Ratings []Ratings `json:"Rating,omitempty"`
	// An array of Actor roles.
	Role []GetMediaMetaDataRole `json:"Role,omitempty"`
	// An array of Director roles.
	Director []GetMediaMetaDataDirector `json:"Director,omitempty"`
	// An array of Writer roles.
	Writer []GetMediaMetaDataWriter `json:"Writer,omitempty"`
	// An array of Writer roles.
	Producer []Producer `json:"Producer,omitempty"`
	// An array of similar content objects.
	Similar []Similar `json:"Similar,omitempty"`
	// An array of location objects.
	Location []GetMediaMetaDataLocation `json:"Location,omitempty"`
}

func (*GetMediaMetaDataMetadata) GetAddedAt added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetAddedAt() int64

func (*GetMediaMetaDataMetadata) GetArt added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetArt() string

func (*GetMediaMetaDataMetadata) GetAudienceRating added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetAudienceRating() *float32

func (*GetMediaMetaDataMetadata) GetAudienceRatingImage added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetAudienceRatingImage() *string

func (*GetMediaMetaDataMetadata) GetChapterSource added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetChapterSource() *string

func (*GetMediaMetaDataMetadata) GetChildCount added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetChildCount() *int

func (*GetMediaMetaDataMetadata) GetContentRating added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetContentRating() *string

func (*GetMediaMetaDataMetadata) GetCountry added in v0.18.1

func (*GetMediaMetaDataMetadata) GetDirector added in v0.18.1

func (*GetMediaMetaDataMetadata) GetDuration added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetDuration() int

func (*GetMediaMetaDataMetadata) GetGUID added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetGUID() string

func (*GetMediaMetaDataMetadata) GetGenre added in v0.18.1

func (*GetMediaMetaDataMetadata) GetGrandparentArt added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetGrandparentArt() *string

func (*GetMediaMetaDataMetadata) GetGrandparentGUID added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetGrandparentGUID() *string

func (*GetMediaMetaDataMetadata) GetGrandparentKey added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetGrandparentKey() *string

func (*GetMediaMetaDataMetadata) GetGrandparentRatingKey added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetGrandparentRatingKey() *string

func (*GetMediaMetaDataMetadata) GetGrandparentSlug added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetGrandparentSlug() *string

func (*GetMediaMetaDataMetadata) GetGrandparentThumb added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetGrandparentThumb() *string

func (*GetMediaMetaDataMetadata) GetGrandparentTitle added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetGrandparentTitle() *string

func (*GetMediaMetaDataMetadata) GetGuids added in v0.18.1

func (*GetMediaMetaDataMetadata) GetImage added in v0.18.1

func (*GetMediaMetaDataMetadata) GetIndex added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetIndex() *int64

func (*GetMediaMetaDataMetadata) GetKey added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetKey() string

func (*GetMediaMetaDataMetadata) GetLastViewedAt added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetLastViewedAt() *int64

func (*GetMediaMetaDataMetadata) GetLeafCount added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetLeafCount() *int64

func (*GetMediaMetaDataMetadata) GetLibrarySectionID added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetLibrarySectionID() int64

func (*GetMediaMetaDataMetadata) GetLibrarySectionKey added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetLibrarySectionKey() string

func (*GetMediaMetaDataMetadata) GetLibrarySectionTitle added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetLibrarySectionTitle() string

func (*GetMediaMetaDataMetadata) GetLocation added in v0.18.1

func (*GetMediaMetaDataMetadata) GetMedia added in v0.18.1

func (*GetMediaMetaDataMetadata) GetOriginalTitle added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetOriginalTitle() *string

func (*GetMediaMetaDataMetadata) GetOriginallyAvailableAt added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetOriginallyAvailableAt() *types.Date

func (*GetMediaMetaDataMetadata) GetParentGUID added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetParentGUID() *string

func (*GetMediaMetaDataMetadata) GetParentIndex added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetParentIndex() *int64

func (*GetMediaMetaDataMetadata) GetParentKey added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetParentKey() *string

func (*GetMediaMetaDataMetadata) GetParentRatingKey added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetParentRatingKey() *string

func (*GetMediaMetaDataMetadata) GetParentThumb added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetParentThumb() *string

func (*GetMediaMetaDataMetadata) GetParentTitle added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetParentTitle() *string

func (*GetMediaMetaDataMetadata) GetPrimaryExtraKey added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetPrimaryExtraKey() *string

func (*GetMediaMetaDataMetadata) GetProducer added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetProducer() []Producer

func (*GetMediaMetaDataMetadata) GetRating added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetRating() *float32

func (*GetMediaMetaDataMetadata) GetRatingImage added in v0.19.0

func (o *GetMediaMetaDataMetadata) GetRatingImage() *string

func (*GetMediaMetaDataMetadata) GetRatingKey added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetRatingKey() string

func (*GetMediaMetaDataMetadata) GetRatings added in v0.19.0

func (o *GetMediaMetaDataMetadata) GetRatings() []Ratings

func (*GetMediaMetaDataMetadata) GetRole added in v0.18.1

func (*GetMediaMetaDataMetadata) GetSimilar added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetSimilar() []Similar

func (*GetMediaMetaDataMetadata) GetSkipCount added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetSkipCount() *int64

func (*GetMediaMetaDataMetadata) GetSlug added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetSlug() *string

func (*GetMediaMetaDataMetadata) GetStudio added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetStudio() *string

func (*GetMediaMetaDataMetadata) GetSummary added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetSummary() string

func (*GetMediaMetaDataMetadata) GetTagline added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetTagline() *string

func (*GetMediaMetaDataMetadata) GetTheme added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetTheme() *string

func (*GetMediaMetaDataMetadata) GetThumb added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetThumb() string

func (*GetMediaMetaDataMetadata) GetTitle added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetTitle() string

func (*GetMediaMetaDataMetadata) GetType added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetType() string

func (*GetMediaMetaDataMetadata) GetUltraBlurColors added in v0.18.1

func (*GetMediaMetaDataMetadata) GetUpdatedAt added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetUpdatedAt() int64

func (*GetMediaMetaDataMetadata) GetViewCount added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetViewCount() *int64

func (*GetMediaMetaDataMetadata) GetViewedLeafCount added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetViewedLeafCount() *int64

func (*GetMediaMetaDataMetadata) GetWriter added in v0.18.1

func (*GetMediaMetaDataMetadata) GetYear added in v0.18.1

func (o *GetMediaMetaDataMetadata) GetYear() int

func (GetMediaMetaDataMetadata) MarshalJSON added in v0.18.1

func (g GetMediaMetaDataMetadata) MarshalJSON() ([]byte, error)

func (*GetMediaMetaDataMetadata) UnmarshalJSON added in v0.18.1

func (g *GetMediaMetaDataMetadata) UnmarshalJSON(data []byte) error

type GetMediaMetaDataOptimizedForStreaming added in v0.19.0

type GetMediaMetaDataOptimizedForStreaming struct {
	OptimizedForStreaming1 *OptimizedForStreaming1 `queryParam:"inline"`
	Boolean                *bool                   `queryParam:"inline"`

	Type GetMediaMetaDataOptimizedForStreamingType
}

GetMediaMetaDataOptimizedForStreaming - Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true

func CreateGetMediaMetaDataOptimizedForStreamingBoolean added in v0.19.0

func CreateGetMediaMetaDataOptimizedForStreamingBoolean(boolean bool) GetMediaMetaDataOptimizedForStreaming

func CreateGetMediaMetaDataOptimizedForStreamingOptimizedForStreaming1 added in v0.19.0

func CreateGetMediaMetaDataOptimizedForStreamingOptimizedForStreaming1(optimizedForStreaming1 OptimizedForStreaming1) GetMediaMetaDataOptimizedForStreaming

func (GetMediaMetaDataOptimizedForStreaming) MarshalJSON added in v0.19.0

func (u GetMediaMetaDataOptimizedForStreaming) MarshalJSON() ([]byte, error)

func (*GetMediaMetaDataOptimizedForStreaming) UnmarshalJSON added in v0.19.0

func (u *GetMediaMetaDataOptimizedForStreaming) UnmarshalJSON(data []byte) error

type GetMediaMetaDataOptimizedForStreaming1 added in v0.19.0

type GetMediaMetaDataOptimizedForStreaming1 int
const (
	GetMediaMetaDataOptimizedForStreaming1Zero GetMediaMetaDataOptimizedForStreaming1 = 0
	GetMediaMetaDataOptimizedForStreaming1One  GetMediaMetaDataOptimizedForStreaming1 = 1
)

func (GetMediaMetaDataOptimizedForStreaming1) ToPointer added in v0.19.0

func (*GetMediaMetaDataOptimizedForStreaming1) UnmarshalJSON added in v0.19.0

func (e *GetMediaMetaDataOptimizedForStreaming1) UnmarshalJSON(data []byte) error

type GetMediaMetaDataOptimizedForStreamingType added in v0.19.0

type GetMediaMetaDataOptimizedForStreamingType string
const (
	GetMediaMetaDataOptimizedForStreamingTypeOptimizedForStreaming1 GetMediaMetaDataOptimizedForStreamingType = "optimizedForStreaming_1"
	GetMediaMetaDataOptimizedForStreamingTypeBoolean                GetMediaMetaDataOptimizedForStreamingType = "boolean"
)

type GetMediaMetaDataPart added in v0.18.1

type GetMediaMetaDataPart struct {
	// Indicates if the part is accessible.
	Accessible *bool `json:"accessible,omitempty"`
	// Indicates if the part exists.
	Exists *bool `json:"exists,omitempty"`
	// Unique part identifier.
	ID int64 `json:"id"`
	// Key to access this part.
	Key     string  `json:"key"`
	Indexes *string `json:"indexes,omitempty"`
	// Duration of the part in milliseconds.
	Duration *int `json:"duration,omitempty"`
	// File path for the part.
	File string `json:"file"`
	// File size in bytes.
	Size         int64 `json:"size"`
	PacketLength *int  `json:"packetLength,omitempty"`
	// Container format of the part.
	Container *string `json:"container,omitempty"`
	// Video profile for the part.
	VideoProfile *string `json:"videoProfile,omitempty"`
	// The audio profile used for the media (e.g., DTS, Dolby Digital, etc.).
	AudioProfile    *string `json:"audioProfile,omitempty"`
	Has64bitOffsets *bool   `json:"has64bitOffsets,omitempty"`
	// Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
	OptimizedForStreaming *GetMediaMetaDataLibraryOptimizedForStreaming `json:"optimizedForStreaming,omitempty"`
	HasThumbnail          *GetMediaMetaDataHasThumbnail                 `default:"0" json:"hasThumbnail"`
	// An array of streams for this part.
	Stream []GetMediaMetaDataStream `json:"Stream,omitempty"`
}

func (*GetMediaMetaDataPart) GetAccessible added in v0.18.1

func (o *GetMediaMetaDataPart) GetAccessible() *bool

func (*GetMediaMetaDataPart) GetAudioProfile added in v0.19.0

func (o *GetMediaMetaDataPart) GetAudioProfile() *string

func (*GetMediaMetaDataPart) GetContainer added in v0.18.1

func (o *GetMediaMetaDataPart) GetContainer() *string

func (*GetMediaMetaDataPart) GetDuration added in v0.18.1

func (o *GetMediaMetaDataPart) GetDuration() *int

func (*GetMediaMetaDataPart) GetExists added in v0.18.1

func (o *GetMediaMetaDataPart) GetExists() *bool

func (*GetMediaMetaDataPart) GetFile added in v0.18.1

func (o *GetMediaMetaDataPart) GetFile() string

func (*GetMediaMetaDataPart) GetHas64bitOffsets added in v0.19.0

func (o *GetMediaMetaDataPart) GetHas64bitOffsets() *bool

func (*GetMediaMetaDataPart) GetHasThumbnail added in v0.19.0

func (o *GetMediaMetaDataPart) GetHasThumbnail() *GetMediaMetaDataHasThumbnail

func (*GetMediaMetaDataPart) GetID added in v0.18.1

func (o *GetMediaMetaDataPart) GetID() int64

func (*GetMediaMetaDataPart) GetIndexes added in v0.18.1

func (o *GetMediaMetaDataPart) GetIndexes() *string

func (*GetMediaMetaDataPart) GetKey added in v0.18.1

func (o *GetMediaMetaDataPart) GetKey() string

func (*GetMediaMetaDataPart) GetOptimizedForStreaming added in v0.19.0

func (*GetMediaMetaDataPart) GetPacketLength added in v0.19.0

func (o *GetMediaMetaDataPart) GetPacketLength() *int

func (*GetMediaMetaDataPart) GetSize added in v0.18.1

func (o *GetMediaMetaDataPart) GetSize() int64

func (*GetMediaMetaDataPart) GetStream added in v0.18.1

func (*GetMediaMetaDataPart) GetVideoProfile added in v0.18.1

func (o *GetMediaMetaDataPart) GetVideoProfile() *string

func (GetMediaMetaDataPart) MarshalJSON added in v0.19.0

func (g GetMediaMetaDataPart) MarshalJSON() ([]byte, error)

func (*GetMediaMetaDataPart) UnmarshalJSON added in v0.19.0

func (g *GetMediaMetaDataPart) UnmarshalJSON(data []byte) error

type GetMediaMetaDataRequest added in v0.18.1

type GetMediaMetaDataRequest struct {
	// the id of the library item to return the children of.
	RatingKey int64 `pathParam:"style=simple,explode=false,name=ratingKey"`
	// Include concerts data if set to true.
	IncludeConcerts *bool `queryParam:"style=form,explode=true,name=includeConcerts"`
	// Include extra content (e.g. bonus features).
	IncludeExtras *bool `queryParam:"style=form,explode=true,name=includeExtras"`
	// Include on-deck items.
	IncludeOnDeck *bool `queryParam:"style=form,explode=true,name=includeOnDeck"`
	// Include popular leaves (episodes/chapters).
	IncludePopularLeaves *bool `queryParam:"style=form,explode=true,name=includePopularLeaves"`
	// Include preferences information.
	IncludePreferences *bool `queryParam:"style=form,explode=true,name=includePreferences"`
	// Include reviews for the content.
	IncludeReviews *bool `queryParam:"style=form,explode=true,name=includeReviews"`
	// Include chapter details.
	IncludeChapters *bool `queryParam:"style=form,explode=true,name=includeChapters"`
	// Include station data.
	IncludeStations *bool `queryParam:"style=form,explode=true,name=includeStations"`
	// Include external media data.
	IncludeExternalMedia *bool `queryParam:"style=form,explode=true,name=includeExternalMedia"`
	// Trigger asynchronous metadata augmentation.
	AsyncAugmentMetadata *bool `queryParam:"style=form,explode=true,name=asyncAugmentMetadata"`
	// Trigger asynchronous file checking.
	AsyncCheckFiles *bool `queryParam:"style=form,explode=true,name=asyncCheckFiles"`
	// Trigger asynchronous refresh of analysis.
	AsyncRefreshAnalysis *bool `queryParam:"style=form,explode=true,name=asyncRefreshAnalysis"`
	// Trigger asynchronous refresh of the local media agent.
	AsyncRefreshLocalMediaAgent *bool `queryParam:"style=form,explode=true,name=asyncRefreshLocalMediaAgent"`
}

func (*GetMediaMetaDataRequest) GetAsyncAugmentMetadata added in v0.18.1

func (o *GetMediaMetaDataRequest) GetAsyncAugmentMetadata() *bool

func (*GetMediaMetaDataRequest) GetAsyncCheckFiles added in v0.18.1

func (o *GetMediaMetaDataRequest) GetAsyncCheckFiles() *bool

func (*GetMediaMetaDataRequest) GetAsyncRefreshAnalysis added in v0.18.1

func (o *GetMediaMetaDataRequest) GetAsyncRefreshAnalysis() *bool

func (*GetMediaMetaDataRequest) GetAsyncRefreshLocalMediaAgent added in v0.18.1

func (o *GetMediaMetaDataRequest) GetAsyncRefreshLocalMediaAgent() *bool

func (*GetMediaMetaDataRequest) GetIncludeChapters added in v0.18.1

func (o *GetMediaMetaDataRequest) GetIncludeChapters() *bool

func (*GetMediaMetaDataRequest) GetIncludeConcerts added in v0.18.1

func (o *GetMediaMetaDataRequest) GetIncludeConcerts() *bool

func (*GetMediaMetaDataRequest) GetIncludeExternalMedia added in v0.18.1

func (o *GetMediaMetaDataRequest) GetIncludeExternalMedia() *bool

func (*GetMediaMetaDataRequest) GetIncludeExtras added in v0.18.1

func (o *GetMediaMetaDataRequest) GetIncludeExtras() *bool

func (*GetMediaMetaDataRequest) GetIncludeOnDeck added in v0.18.1

func (o *GetMediaMetaDataRequest) GetIncludeOnDeck() *bool

func (*GetMediaMetaDataRequest) GetIncludePopularLeaves added in v0.18.1

func (o *GetMediaMetaDataRequest) GetIncludePopularLeaves() *bool

func (*GetMediaMetaDataRequest) GetIncludePreferences added in v0.18.1

func (o *GetMediaMetaDataRequest) GetIncludePreferences() *bool

func (*GetMediaMetaDataRequest) GetIncludeReviews added in v0.18.1

func (o *GetMediaMetaDataRequest) GetIncludeReviews() *bool

func (*GetMediaMetaDataRequest) GetIncludeStations added in v0.18.1

func (o *GetMediaMetaDataRequest) GetIncludeStations() *bool

func (*GetMediaMetaDataRequest) GetRatingKey added in v0.18.1

func (o *GetMediaMetaDataRequest) GetRatingKey() int64

type GetMediaMetaDataResponse added in v0.18.1

type GetMediaMetaDataResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The metadata of the library item.
	Object *GetMediaMetaDataResponseBody
}

func (*GetMediaMetaDataResponse) GetContentType added in v0.18.1

func (o *GetMediaMetaDataResponse) GetContentType() string

func (*GetMediaMetaDataResponse) GetObject added in v0.18.1

func (*GetMediaMetaDataResponse) GetRawResponse added in v0.18.1

func (o *GetMediaMetaDataResponse) GetRawResponse() *http.Response

func (*GetMediaMetaDataResponse) GetStatusCode added in v0.18.1

func (o *GetMediaMetaDataResponse) GetStatusCode() int

type GetMediaMetaDataResponseBody added in v0.18.1

type GetMediaMetaDataResponseBody struct {
	MediaContainer *GetMediaMetaDataMediaContainer `json:"MediaContainer,omitempty"`
}

GetMediaMetaDataResponseBody - The metadata of the library item.

func (*GetMediaMetaDataResponseBody) GetMediaContainer added in v0.18.1

type GetMediaMetaDataRole added in v0.18.1

type GetMediaMetaDataRole struct {
	// The unique role identifier.
	ID int64 `json:"id"`
	// The filter string for the role.
	Filter string `json:"filter"`
	// The actor's name.
	Tag string `json:"tag"`
	// A key associated with the actor tag.
	TagKey string `json:"tagKey"`
	// The character name or role.
	Role *string `json:"role,omitempty"`
	// URL for the role thumbnail image.
	Thumb *string `json:"thumb,omitempty"`
}

func (*GetMediaMetaDataRole) GetFilter added in v0.18.1

func (o *GetMediaMetaDataRole) GetFilter() string

func (*GetMediaMetaDataRole) GetID added in v0.18.1

func (o *GetMediaMetaDataRole) GetID() int64

func (*GetMediaMetaDataRole) GetRole added in v0.18.1

func (o *GetMediaMetaDataRole) GetRole() *string

func (*GetMediaMetaDataRole) GetTag added in v0.18.1

func (o *GetMediaMetaDataRole) GetTag() string

func (*GetMediaMetaDataRole) GetTagKey added in v0.18.1

func (o *GetMediaMetaDataRole) GetTagKey() string

func (*GetMediaMetaDataRole) GetThumb added in v0.18.1

func (o *GetMediaMetaDataRole) GetThumb() *string

type GetMediaMetaDataStream added in v0.18.1

type GetMediaMetaDataStream struct {
	// Unique stream identifier.
	ID int64 `json:"id"`
	// Stream type (1=video, 2=audio, 3=subtitle).
	StreamType int `json:"streamType"`
	// Indicates if this stream is default.
	Default *bool `json:"default,omitempty"`
	// Codec used by the stream.
	Codec string `json:"codec"`
	// Index of the stream.
	Index int `json:"index"`
	// Bitrate of the stream.
	Bitrate *int `json:"bitrate,omitempty"`
	// Language of the stream.
	Language string `json:"language"`
	// Language tag (e.g., en).
	LanguageTag string `json:"languageTag"`
	// ISO language code.
	LanguageCode string `json:"languageCode"`
	// Indicates whether header compression is enabled.
	HeaderCompression *bool `json:"headerCompression,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"`
	// Bit depth of the video stream.
	BitDepth *int `json:"bitDepth,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"`
	// 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"`
	// Frame rate of the stream.
	FrameRate *float32 `json:"frameRate,omitempty"`
	// Height of the video stream.
	Height *int `json:"height,omitempty"`
	// Video level.
	Level *int `json:"level,omitempty"`
	// Indicates if this is the original stream.
	Original         *bool `json:"original,omitempty"`
	HasScalingMatrix *bool `json:"hasScalingMatrix,omitempty"`
	// Video profile.
	Profile  *string `json:"profile,omitempty"`
	ScanType *string `json:"scanType,omitempty"`
	// Number of reference frames.
	RefFrames *int `json:"refFrames,omitempty"`
	// Width of the video stream.
	Width *int `json:"width,omitempty"`
	// Display title for the stream.
	DisplayTitle string `json:"displayTitle"`
	// Extended display title for the stream.
	ExtendedDisplayTitle string `json:"extendedDisplayTitle"`
	// Indicates if this stream is selected (applicable for audio streams).
	Selected *bool `json:"selected,omitempty"`
	Forced   *bool `json:"forced,omitempty"`
	// Number of audio channels (for audio streams).
	Channels *int `json:"channels,omitempty"`
	// Audio channel layout.
	AudioChannelLayout *string `json:"audioChannelLayout,omitempty"`
	// Sampling rate for the audio stream.
	SamplingRate *int `json:"samplingRate,omitempty"`
	// Indicates if the stream can auto-sync.
	CanAutoSync *bool `json:"canAutoSync,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"`
}

func (*GetMediaMetaDataStream) GetAudioChannelLayout added in v0.18.1

func (o *GetMediaMetaDataStream) GetAudioChannelLayout() *string

func (*GetMediaMetaDataStream) GetBitDepth added in v0.18.1

func (o *GetMediaMetaDataStream) GetBitDepth() *int

func (*GetMediaMetaDataStream) GetBitrate added in v0.18.1

func (o *GetMediaMetaDataStream) GetBitrate() *int

func (*GetMediaMetaDataStream) GetCanAutoSync added in v0.18.1

func (o *GetMediaMetaDataStream) GetCanAutoSync() *bool

func (*GetMediaMetaDataStream) GetChannels added in v0.18.1

func (o *GetMediaMetaDataStream) GetChannels() *int

func (*GetMediaMetaDataStream) GetChromaLocation added in v0.18.1

func (o *GetMediaMetaDataStream) GetChromaLocation() *string

func (*GetMediaMetaDataStream) GetChromaSubsampling added in v0.18.1

func (o *GetMediaMetaDataStream) GetChromaSubsampling() *string

func (*GetMediaMetaDataStream) GetCodec added in v0.18.1

func (o *GetMediaMetaDataStream) GetCodec() string

func (*GetMediaMetaDataStream) GetCodedHeight added in v0.18.1

func (o *GetMediaMetaDataStream) GetCodedHeight() *int

func (*GetMediaMetaDataStream) GetCodedWidth added in v0.18.1

func (o *GetMediaMetaDataStream) GetCodedWidth() *int

func (*GetMediaMetaDataStream) GetColorPrimaries added in v0.18.1

func (o *GetMediaMetaDataStream) GetColorPrimaries() *string

func (*GetMediaMetaDataStream) GetColorRange added in v0.18.1

func (o *GetMediaMetaDataStream) GetColorRange() *string

func (*GetMediaMetaDataStream) GetColorSpace added in v0.18.1

func (o *GetMediaMetaDataStream) GetColorSpace() *string

func (*GetMediaMetaDataStream) GetColorTrc added in v0.18.1

func (o *GetMediaMetaDataStream) GetColorTrc() *string

func (*GetMediaMetaDataStream) GetDOVIBLCompatID added in v0.18.1

func (o *GetMediaMetaDataStream) GetDOVIBLCompatID() *int

func (*GetMediaMetaDataStream) GetDOVIBLPresent added in v0.18.1

func (o *GetMediaMetaDataStream) GetDOVIBLPresent() *bool

func (*GetMediaMetaDataStream) GetDOVIELPresent added in v0.18.1

func (o *GetMediaMetaDataStream) GetDOVIELPresent() *bool

func (*GetMediaMetaDataStream) GetDOVILevel added in v0.18.1

func (o *GetMediaMetaDataStream) GetDOVILevel() *int

func (*GetMediaMetaDataStream) GetDOVIPresent added in v0.18.1

func (o *GetMediaMetaDataStream) GetDOVIPresent() *bool

func (*GetMediaMetaDataStream) GetDOVIProfile added in v0.18.1

func (o *GetMediaMetaDataStream) GetDOVIProfile() *int

func (*GetMediaMetaDataStream) GetDOVIRPUPresent added in v0.18.1

func (o *GetMediaMetaDataStream) GetDOVIRPUPresent() *bool

func (*GetMediaMetaDataStream) GetDOVIVersion added in v0.18.1

func (o *GetMediaMetaDataStream) GetDOVIVersion() *string

func (*GetMediaMetaDataStream) GetDefault added in v0.18.1

func (o *GetMediaMetaDataStream) GetDefault() *bool

func (*GetMediaMetaDataStream) GetDisplayTitle added in v0.18.1

func (o *GetMediaMetaDataStream) GetDisplayTitle() string

func (*GetMediaMetaDataStream) GetDub added in v0.18.1

func (o *GetMediaMetaDataStream) GetDub() *bool

func (*GetMediaMetaDataStream) GetExtendedDisplayTitle added in v0.18.1

func (o *GetMediaMetaDataStream) GetExtendedDisplayTitle() string

func (*GetMediaMetaDataStream) GetForced added in v0.18.1

func (o *GetMediaMetaDataStream) GetForced() *bool

func (*GetMediaMetaDataStream) GetFrameRate added in v0.18.1

func (o *GetMediaMetaDataStream) GetFrameRate() *float32

func (*GetMediaMetaDataStream) GetHasScalingMatrix added in v0.18.1

func (o *GetMediaMetaDataStream) GetHasScalingMatrix() *bool

func (*GetMediaMetaDataStream) GetHeaderCompression added in v0.19.0

func (o *GetMediaMetaDataStream) GetHeaderCompression() *bool

func (*GetMediaMetaDataStream) GetHearingImpaired added in v0.18.1

func (o *GetMediaMetaDataStream) GetHearingImpaired() *bool

func (*GetMediaMetaDataStream) GetHeight added in v0.18.1

func (o *GetMediaMetaDataStream) GetHeight() *int

func (*GetMediaMetaDataStream) GetID added in v0.18.1

func (o *GetMediaMetaDataStream) GetID() int64

func (*GetMediaMetaDataStream) GetIndex added in v0.18.1

func (o *GetMediaMetaDataStream) GetIndex() int

func (*GetMediaMetaDataStream) GetLanguage added in v0.18.1

func (o *GetMediaMetaDataStream) GetLanguage() string

func (*GetMediaMetaDataStream) GetLanguageCode added in v0.18.1

func (o *GetMediaMetaDataStream) GetLanguageCode() string

func (*GetMediaMetaDataStream) GetLanguageTag added in v0.18.1

func (o *GetMediaMetaDataStream) GetLanguageTag() string

func (*GetMediaMetaDataStream) GetLevel added in v0.18.1

func (o *GetMediaMetaDataStream) GetLevel() *int

func (*GetMediaMetaDataStream) GetOriginal added in v0.18.1

func (o *GetMediaMetaDataStream) GetOriginal() *bool

func (*GetMediaMetaDataStream) GetProfile added in v0.18.1

func (o *GetMediaMetaDataStream) GetProfile() *string

func (*GetMediaMetaDataStream) GetRefFrames added in v0.18.1

func (o *GetMediaMetaDataStream) GetRefFrames() *int

func (*GetMediaMetaDataStream) GetSamplingRate added in v0.18.1

func (o *GetMediaMetaDataStream) GetSamplingRate() *int

func (*GetMediaMetaDataStream) GetScanType added in v0.18.1

func (o *GetMediaMetaDataStream) GetScanType() *string

func (*GetMediaMetaDataStream) GetSelected added in v0.18.1

func (o *GetMediaMetaDataStream) GetSelected() *bool

func (*GetMediaMetaDataStream) GetStreamType added in v0.18.1

func (o *GetMediaMetaDataStream) GetStreamType() int

func (*GetMediaMetaDataStream) GetTitle added in v0.18.1

func (o *GetMediaMetaDataStream) GetTitle() *string

func (*GetMediaMetaDataStream) GetWidth added in v0.18.1

func (o *GetMediaMetaDataStream) GetWidth() *int

type GetMediaMetaDataUltraBlurColors added in v0.18.1

type GetMediaMetaDataUltraBlurColors struct {
	// The top-left color value.
	TopLeft string `json:"topLeft"`
	// The top-right color value.
	TopRight string `json:"topRight"`
	// The bottom-right color value.
	BottomRight string `json:"bottomRight"`
	// The bottom-left color value.
	BottomLeft string `json:"bottomLeft"`
}

func (*GetMediaMetaDataUltraBlurColors) GetBottomLeft added in v0.18.1

func (o *GetMediaMetaDataUltraBlurColors) GetBottomLeft() string

func (*GetMediaMetaDataUltraBlurColors) GetBottomRight added in v0.18.1

func (o *GetMediaMetaDataUltraBlurColors) GetBottomRight() string

func (*GetMediaMetaDataUltraBlurColors) GetTopLeft added in v0.18.1

func (o *GetMediaMetaDataUltraBlurColors) GetTopLeft() string

func (*GetMediaMetaDataUltraBlurColors) GetTopRight added in v0.18.1

func (o *GetMediaMetaDataUltraBlurColors) GetTopRight() string

type GetMediaMetaDataWriter added in v0.18.1

type GetMediaMetaDataWriter struct {
	// The unique role identifier.
	ID int64 `json:"id"`
	// The filter string for the role.
	Filter string `json:"filter"`
	// The actor's name.
	Tag string `json:"tag"`
	// A key associated with the actor tag.
	TagKey string `json:"tagKey"`
	// The character name or role.
	Role *string `json:"role,omitempty"`
	// URL for the role thumbnail image.
	Thumb *string `json:"thumb,omitempty"`
}

func (*GetMediaMetaDataWriter) GetFilter added in v0.18.1

func (o *GetMediaMetaDataWriter) GetFilter() string

func (*GetMediaMetaDataWriter) GetID added in v0.18.1

func (o *GetMediaMetaDataWriter) GetID() int64

func (*GetMediaMetaDataWriter) GetRole added in v0.18.1

func (o *GetMediaMetaDataWriter) GetRole() *string

func (*GetMediaMetaDataWriter) GetTag added in v0.18.1

func (o *GetMediaMetaDataWriter) GetTag() string

func (*GetMediaMetaDataWriter) GetTagKey added in v0.18.1

func (o *GetMediaMetaDataWriter) GetTagKey() string

func (*GetMediaMetaDataWriter) GetThumb added in v0.18.1

func (o *GetMediaMetaDataWriter) GetThumb() *string

type GetMediaProvidersDirectory added in v0.11.1

type GetMediaProvidersDirectory struct {
	HubKey     *string `json:"hubKey,omitempty"`
	Title      *string `json:"title,omitempty"`
	Agent      *string `json:"agent,omitempty"`
	Language   *string `json:"language,omitempty"`
	Refreshing *bool   `json:"refreshing,omitempty"`
	Scanner    *string `json:"scanner,omitempty"`
	UUID       *string `json:"uuid,omitempty"`
	ID         *string `json:"id,omitempty"`
	Key        *string `json:"key,omitempty"`
	Type       *string `json:"type,omitempty"`
	Subtype    *string `json:"subtype,omitempty"`
	UpdatedAt  *int64  `json:"updatedAt,omitempty"`
	ScannedAt  *int64  `json:"scannedAt,omitempty"`
	Pivot      []Pivot `json:"Pivot,omitempty"`
}

func (*GetMediaProvidersDirectory) GetAgent added in v0.11.1

func (o *GetMediaProvidersDirectory) GetAgent() *string

func (*GetMediaProvidersDirectory) GetHubKey added in v0.11.1

func (o *GetMediaProvidersDirectory) GetHubKey() *string

func (*GetMediaProvidersDirectory) GetID added in v0.11.1

func (o *GetMediaProvidersDirectory) GetID() *string

func (*GetMediaProvidersDirectory) GetKey added in v0.11.1

func (o *GetMediaProvidersDirectory) GetKey() *string

func (*GetMediaProvidersDirectory) GetLanguage added in v0.11.1

func (o *GetMediaProvidersDirectory) GetLanguage() *string

func (*GetMediaProvidersDirectory) GetPivot added in v0.11.1

func (o *GetMediaProvidersDirectory) GetPivot() []Pivot

func (*GetMediaProvidersDirectory) GetRefreshing added in v0.11.1

func (o *GetMediaProvidersDirectory) GetRefreshing() *bool

func (*GetMediaProvidersDirectory) GetScannedAt added in v0.11.1

func (o *GetMediaProvidersDirectory) GetScannedAt() *int64

func (*GetMediaProvidersDirectory) GetScanner added in v0.11.1

func (o *GetMediaProvidersDirectory) GetScanner() *string

func (*GetMediaProvidersDirectory) GetSubtype added in v0.11.1

func (o *GetMediaProvidersDirectory) GetSubtype() *string

func (*GetMediaProvidersDirectory) GetTitle added in v0.11.1

func (o *GetMediaProvidersDirectory) GetTitle() *string

func (*GetMediaProvidersDirectory) GetType added in v0.11.1

func (o *GetMediaProvidersDirectory) GetType() *string

func (*GetMediaProvidersDirectory) GetUUID added in v0.11.1

func (o *GetMediaProvidersDirectory) GetUUID() *string

func (*GetMediaProvidersDirectory) GetUpdatedAt added in v0.11.1

func (o *GetMediaProvidersDirectory) GetUpdatedAt() *int64

type GetMediaProvidersMediaContainer added in v0.11.1

type GetMediaProvidersMediaContainer struct {
	Size                          *int64          `json:"size,omitempty"`
	AllowCameraUpload             *bool           `json:"allowCameraUpload,omitempty"`
	AllowChannelAccess            *bool           `json:"allowChannelAccess,omitempty"`
	AllowSharing                  *bool           `json:"allowSharing,omitempty"`
	AllowSync                     *bool           `json:"allowSync,omitempty"`
	AllowTuners                   *bool           `json:"allowTuners,omitempty"`
	BackgroundProcessing          *bool           `json:"backgroundProcessing,omitempty"`
	Certificate                   *bool           `json:"certificate,omitempty"`
	CompanionProxy                *bool           `json:"companionProxy,omitempty"`
	CountryCode                   *string         `json:"countryCode,omitempty"`
	Diagnostics                   *string         `json:"diagnostics,omitempty"`
	EventStream                   *bool           `json:"eventStream,omitempty"`
	FriendlyName                  *string         `json:"friendlyName,omitempty"`
	Livetv                        *int64          `json:"livetv,omitempty"`
	MachineIdentifier             *string         `json:"machineIdentifier,omitempty"`
	MusicAnalysis                 *int64          `json:"musicAnalysis,omitempty"`
	MyPlex                        *bool           `json:"myPlex,omitempty"`
	MyPlexMappingState            *string         `json:"myPlexMappingState,omitempty"`
	MyPlexSigninState             *string         `json:"myPlexSigninState,omitempty"`
	MyPlexSubscription            *bool           `json:"myPlexSubscription,omitempty"`
	MyPlexUsername                *string         `json:"myPlexUsername,omitempty"`
	OfflineTranscode              *int64          `json:"offlineTranscode,omitempty"`
	OwnerFeatures                 *string         `json:"ownerFeatures,omitempty"`
	Platform                      *string         `json:"platform,omitempty"`
	PlatformVersion               *string         `json:"platformVersion,omitempty"`
	PluginHost                    *bool           `json:"pluginHost,omitempty"`
	PushNotifications             *bool           `json:"pushNotifications,omitempty"`
	ReadOnlyLibraries             *bool           `json:"readOnlyLibraries,omitempty"`
	StreamingBrainABRVersion      *int64          `json:"streamingBrainABRVersion,omitempty"`
	StreamingBrainVersion         *int64          `json:"streamingBrainVersion,omitempty"`
	Sync                          *bool           `json:"sync,omitempty"`
	TranscoderActiveVideoSessions *int64          `json:"transcoderActiveVideoSessions,omitempty"`
	TranscoderAudio               *bool           `json:"transcoderAudio,omitempty"`
	TranscoderLyrics              *bool           `json:"transcoderLyrics,omitempty"`
	TranscoderSubtitles           *bool           `json:"transcoderSubtitles,omitempty"`
	TranscoderVideo               *bool           `json:"transcoderVideo,omitempty"`
	TranscoderVideoBitrates       *string         `json:"transcoderVideoBitrates,omitempty"`
	TranscoderVideoQualities      *string         `json:"transcoderVideoQualities,omitempty"`
	TranscoderVideoResolutions    *string         `json:"transcoderVideoResolutions,omitempty"`
	UpdatedAt                     *int64          `json:"updatedAt,omitempty"`
	Updater                       *bool           `json:"updater,omitempty"`
	Version                       *string         `json:"version,omitempty"`
	VoiceSearch                   *bool           `json:"voiceSearch,omitempty"`
	MediaProvider                 []MediaProvider `json:"MediaProvider,omitempty"`
}

func (*GetMediaProvidersMediaContainer) GetAllowCameraUpload added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetAllowCameraUpload() *bool

func (*GetMediaProvidersMediaContainer) GetAllowChannelAccess added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetAllowChannelAccess() *bool

func (*GetMediaProvidersMediaContainer) GetAllowSharing added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetAllowSharing() *bool

func (*GetMediaProvidersMediaContainer) GetAllowSync added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetAllowSync() *bool

func (*GetMediaProvidersMediaContainer) GetAllowTuners added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetAllowTuners() *bool

func (*GetMediaProvidersMediaContainer) GetBackgroundProcessing added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetBackgroundProcessing() *bool

func (*GetMediaProvidersMediaContainer) GetCertificate added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetCertificate() *bool

func (*GetMediaProvidersMediaContainer) GetCompanionProxy added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetCompanionProxy() *bool

func (*GetMediaProvidersMediaContainer) GetCountryCode added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetCountryCode() *string

func (*GetMediaProvidersMediaContainer) GetDiagnostics added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetDiagnostics() *string

func (*GetMediaProvidersMediaContainer) GetEventStream added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetEventStream() *bool

func (*GetMediaProvidersMediaContainer) GetFriendlyName added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetFriendlyName() *string

func (*GetMediaProvidersMediaContainer) GetLivetv added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetLivetv() *int64

func (*GetMediaProvidersMediaContainer) GetMachineIdentifier added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetMachineIdentifier() *string

func (*GetMediaProvidersMediaContainer) GetMediaProvider added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetMediaProvider() []MediaProvider

func (*GetMediaProvidersMediaContainer) GetMusicAnalysis added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetMusicAnalysis() *int64

func (*GetMediaProvidersMediaContainer) GetMyPlex added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetMyPlex() *bool

func (*GetMediaProvidersMediaContainer) GetMyPlexMappingState added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetMyPlexMappingState() *string

func (*GetMediaProvidersMediaContainer) GetMyPlexSigninState added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetMyPlexSigninState() *string

func (*GetMediaProvidersMediaContainer) GetMyPlexSubscription added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetMyPlexSubscription() *bool

func (*GetMediaProvidersMediaContainer) GetMyPlexUsername added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetMyPlexUsername() *string

func (*GetMediaProvidersMediaContainer) GetOfflineTranscode added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetOfflineTranscode() *int64

func (*GetMediaProvidersMediaContainer) GetOwnerFeatures added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetOwnerFeatures() *string

func (*GetMediaProvidersMediaContainer) GetPlatform added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetPlatform() *string

func (*GetMediaProvidersMediaContainer) GetPlatformVersion added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetPlatformVersion() *string

func (*GetMediaProvidersMediaContainer) GetPluginHost added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetPluginHost() *bool

func (*GetMediaProvidersMediaContainer) GetPushNotifications added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetPushNotifications() *bool

func (*GetMediaProvidersMediaContainer) GetReadOnlyLibraries added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetReadOnlyLibraries() *bool

func (*GetMediaProvidersMediaContainer) GetSize added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetSize() *int64

func (*GetMediaProvidersMediaContainer) GetStreamingBrainABRVersion added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetStreamingBrainABRVersion() *int64

func (*GetMediaProvidersMediaContainer) GetStreamingBrainVersion added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetStreamingBrainVersion() *int64

func (*GetMediaProvidersMediaContainer) GetSync added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetSync() *bool

func (*GetMediaProvidersMediaContainer) GetTranscoderActiveVideoSessions added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetTranscoderActiveVideoSessions() *int64

func (*GetMediaProvidersMediaContainer) GetTranscoderAudio added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetTranscoderAudio() *bool

func (*GetMediaProvidersMediaContainer) GetTranscoderLyrics added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetTranscoderLyrics() *bool

func (*GetMediaProvidersMediaContainer) GetTranscoderSubtitles added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetTranscoderSubtitles() *bool

func (*GetMediaProvidersMediaContainer) GetTranscoderVideo added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetTranscoderVideo() *bool

func (*GetMediaProvidersMediaContainer) GetTranscoderVideoBitrates added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetTranscoderVideoBitrates() *string

func (*GetMediaProvidersMediaContainer) GetTranscoderVideoQualities added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetTranscoderVideoQualities() *string

func (*GetMediaProvidersMediaContainer) GetTranscoderVideoResolutions added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetTranscoderVideoResolutions() *string

func (*GetMediaProvidersMediaContainer) GetUpdatedAt added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetUpdatedAt() *int64

func (*GetMediaProvidersMediaContainer) GetUpdater added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetUpdater() *bool

func (*GetMediaProvidersMediaContainer) GetVersion added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetVersion() *string

func (*GetMediaProvidersMediaContainer) GetVoiceSearch added in v0.11.1

func (o *GetMediaProvidersMediaContainer) GetVoiceSearch() *bool

type GetMediaProvidersRequest added in v0.11.1

type GetMediaProvidersRequest struct {
	// An authentication token, obtained from plex.tv
	XPlexToken string `header:"style=simple,explode=false,name=X-Plex-Token"`
}

func (*GetMediaProvidersRequest) GetXPlexToken added in v0.11.1

func (o *GetMediaProvidersRequest) GetXPlexToken() string

type GetMediaProvidersResponse added in v0.11.1

type GetMediaProvidersResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Media providers and their features
	Object *GetMediaProvidersResponseBody
}

func (*GetMediaProvidersResponse) GetContentType added in v0.11.1

func (o *GetMediaProvidersResponse) GetContentType() string

func (*GetMediaProvidersResponse) GetObject added in v0.11.1

func (*GetMediaProvidersResponse) GetRawResponse added in v0.11.1

func (o *GetMediaProvidersResponse) GetRawResponse() *http.Response

func (*GetMediaProvidersResponse) GetStatusCode added in v0.11.1

func (o *GetMediaProvidersResponse) GetStatusCode() int

type GetMediaProvidersResponseBody added in v0.11.1

type GetMediaProvidersResponseBody struct {
	MediaContainer *GetMediaProvidersMediaContainer `json:"MediaContainer,omitempty"`
}

GetMediaProvidersResponseBody - Media providers and their features

func (*GetMediaProvidersResponseBody) GetMediaContainer added in v0.11.1

type GetMetadataChildrenDirectory added in v0.1.1

type GetMetadataChildrenDirectory struct {
	LeafCount       *int    `json:"leafCount,omitempty"`
	Thumb           *string `json:"thumb,omitempty"`
	ViewedLeafCount *int    `json:"viewedLeafCount,omitempty"`
	Key             *string `json:"key,omitempty"`
	Title           *string `json:"title,omitempty"`
}

func (*GetMetadataChildrenDirectory) GetKey added in v0.1.1

func (o *GetMetadataChildrenDirectory) GetKey() *string

func (*GetMetadataChildrenDirectory) GetLeafCount added in v0.1.1

func (o *GetMetadataChildrenDirectory) GetLeafCount() *int

func (*GetMetadataChildrenDirectory) GetThumb added in v0.1.1

func (o *GetMetadataChildrenDirectory) GetThumb() *string

func (*GetMetadataChildrenDirectory) GetTitle added in v0.1.1

func (o *GetMetadataChildrenDirectory) GetTitle() *string

func (*GetMetadataChildrenDirectory) GetViewedLeafCount added in v0.1.1

func (o *GetMetadataChildrenDirectory) GetViewedLeafCount() *int

type GetMetadataChildrenMediaContainer added in v0.1.1

type GetMetadataChildrenMediaContainer struct {
	Size                *int                           `json:"size,omitempty"`
	AllowSync           *bool                          `json:"allowSync,omitempty"`
	Art                 *string                        `json:"art,omitempty"`
	Identifier          *string                        `json:"identifier,omitempty"`
	Key                 *string                        `json:"key,omitempty"`
	LibrarySectionID    *int                           `json:"librarySectionID,omitempty"`
	LibrarySectionTitle *string                        `json:"librarySectionTitle,omitempty"`
	LibrarySectionUUID  *string                        `json:"librarySectionUUID,omitempty"`
	MediaTagPrefix      *string                        `json:"mediaTagPrefix,omitempty"`
	MediaTagVersion     *int                           `json:"mediaTagVersion,omitempty"`
	Nocache             *bool                          `json:"nocache,omitempty"`
	ParentIndex         *int                           `json:"parentIndex,omitempty"`
	ParentTitle         *string                        `json:"parentTitle,omitempty"`
	ParentYear          *int                           `json:"parentYear,omitempty"`
	Summary             *string                        `json:"summary,omitempty"`
	Theme               *string                        `json:"theme,omitempty"`
	Thumb               *string                        `json:"thumb,omitempty"`
	Title1              *string                        `json:"title1,omitempty"`
	Title2              *string                        `json:"title2,omitempty"`
	ViewGroup           *string                        `json:"viewGroup,omitempty"`
	ViewMode            *int                           `json:"viewMode,omitempty"`
	Directory           []GetMetadataChildrenDirectory `json:"Directory,omitempty"`
	Metadata            []GetMetadataChildrenMetadata  `json:"Metadata,omitempty"`
}

func (*GetMetadataChildrenMediaContainer) GetAllowSync added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetAllowSync() *bool

func (*GetMetadataChildrenMediaContainer) GetArt added in v0.1.1

func (*GetMetadataChildrenMediaContainer) GetDirectory added in v0.1.1

func (*GetMetadataChildrenMediaContainer) GetIdentifier added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetIdentifier() *string

func (*GetMetadataChildrenMediaContainer) GetKey added in v0.1.1

func (*GetMetadataChildrenMediaContainer) GetLibrarySectionID added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetLibrarySectionID() *int

func (*GetMetadataChildrenMediaContainer) GetLibrarySectionTitle added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetLibrarySectionTitle() *string

func (*GetMetadataChildrenMediaContainer) GetLibrarySectionUUID added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetLibrarySectionUUID() *string

func (*GetMetadataChildrenMediaContainer) GetMediaTagPrefix added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetMediaTagPrefix() *string

func (*GetMetadataChildrenMediaContainer) GetMediaTagVersion added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetMediaTagVersion() *int

func (*GetMetadataChildrenMediaContainer) GetMetadata added in v0.1.1

func (*GetMetadataChildrenMediaContainer) GetNocache added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetNocache() *bool

func (*GetMetadataChildrenMediaContainer) GetParentIndex added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetParentIndex() *int

func (*GetMetadataChildrenMediaContainer) GetParentTitle added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetParentTitle() *string

func (*GetMetadataChildrenMediaContainer) GetParentYear added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetParentYear() *int

func (*GetMetadataChildrenMediaContainer) GetSize added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetSize() *int

func (*GetMetadataChildrenMediaContainer) GetSummary added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetSummary() *string

func (*GetMetadataChildrenMediaContainer) GetTheme added in v0.1.1

func (*GetMetadataChildrenMediaContainer) GetThumb added in v0.1.1

func (*GetMetadataChildrenMediaContainer) GetTitle1 added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetTitle1() *string

func (*GetMetadataChildrenMediaContainer) GetTitle2 added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetTitle2() *string

func (*GetMetadataChildrenMediaContainer) GetViewGroup added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetViewGroup() *string

func (*GetMetadataChildrenMediaContainer) GetViewMode added in v0.1.1

func (o *GetMetadataChildrenMediaContainer) GetViewMode() *int

type GetMetadataChildrenMetadata added in v0.1.1

type GetMetadataChildrenMetadata struct {
	RatingKey       *string `json:"ratingKey,omitempty"`
	Key             *string `json:"key,omitempty"`
	ParentRatingKey *string `json:"parentRatingKey,omitempty"`
	GUID            *string `json:"guid,omitempty"`
	ParentGUID      *string `json:"parentGuid,omitempty"`
	ParentStudio    *string `json:"parentStudio,omitempty"`
	Type            *string `json:"type,omitempty"`
	Title           *string `json:"title,omitempty"`
	ParentKey       *string `json:"parentKey,omitempty"`
	ParentTitle     *string `json:"parentTitle,omitempty"`
	Summary         *string `json:"summary,omitempty"`
	Index           *int    `json:"index,omitempty"`
	ParentIndex     *int    `json:"parentIndex,omitempty"`
	ViewCount       *int    `json:"viewCount,omitempty"`
	LastViewedAt    *int    `json:"lastViewedAt,omitempty"`
	ParentYear      *int    `json:"parentYear,omitempty"`
	Thumb           *string `json:"thumb,omitempty"`
	Art             *string `json:"art,omitempty"`
	ParentThumb     *string `json:"parentThumb,omitempty"`
	ParentTheme     *string `json:"parentTheme,omitempty"`
	LeafCount       *int    `json:"leafCount,omitempty"`
	ViewedLeafCount *int    `json:"viewedLeafCount,omitempty"`
	AddedAt         *int    `json:"addedAt,omitempty"`
	UpdatedAt       *int    `json:"updatedAt,omitempty"`
	UserRating      *int    `json:"userRating,omitempty"`
	SkipCount       *int    `json:"skipCount,omitempty"`
	LastRatedAt     *int    `json:"lastRatedAt,omitempty"`
}

func (*GetMetadataChildrenMetadata) GetAddedAt added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetAddedAt() *int

func (*GetMetadataChildrenMetadata) GetArt added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetArt() *string

func (*GetMetadataChildrenMetadata) GetGUID added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetGUID() *string

func (*GetMetadataChildrenMetadata) GetIndex added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetIndex() *int

func (*GetMetadataChildrenMetadata) GetKey added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetKey() *string

func (*GetMetadataChildrenMetadata) GetLastRatedAt added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetLastRatedAt() *int

func (*GetMetadataChildrenMetadata) GetLastViewedAt added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetLastViewedAt() *int

func (*GetMetadataChildrenMetadata) GetLeafCount added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetLeafCount() *int

func (*GetMetadataChildrenMetadata) GetParentGUID added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetParentGUID() *string

func (*GetMetadataChildrenMetadata) GetParentIndex added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetParentIndex() *int

func (*GetMetadataChildrenMetadata) GetParentKey added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetParentKey() *string

func (*GetMetadataChildrenMetadata) GetParentRatingKey added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetParentRatingKey() *string

func (*GetMetadataChildrenMetadata) GetParentStudio added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetParentStudio() *string

func (*GetMetadataChildrenMetadata) GetParentTheme added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetParentTheme() *string

func (*GetMetadataChildrenMetadata) GetParentThumb added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetParentThumb() *string

func (*GetMetadataChildrenMetadata) GetParentTitle added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetParentTitle() *string

func (*GetMetadataChildrenMetadata) GetParentYear added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetParentYear() *int

func (*GetMetadataChildrenMetadata) GetRatingKey added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetRatingKey() *string

func (*GetMetadataChildrenMetadata) GetSkipCount added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetSkipCount() *int

func (*GetMetadataChildrenMetadata) GetSummary added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetSummary() *string

func (*GetMetadataChildrenMetadata) GetThumb added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetThumb() *string

func (*GetMetadataChildrenMetadata) GetTitle added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetTitle() *string

func (*GetMetadataChildrenMetadata) GetType added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetType() *string

func (*GetMetadataChildrenMetadata) GetUpdatedAt added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetUpdatedAt() *int

func (*GetMetadataChildrenMetadata) GetUserRating added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetUserRating() *int

func (*GetMetadataChildrenMetadata) GetViewCount added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetViewCount() *int

func (*GetMetadataChildrenMetadata) GetViewedLeafCount added in v0.1.1

func (o *GetMetadataChildrenMetadata) GetViewedLeafCount() *int

type GetMetadataChildrenRequest

type GetMetadataChildrenRequest struct {
	// the id of the library item to return the children of.
	RatingKey float64 `pathParam:"style=simple,explode=false,name=ratingKey"`
	// Adds additional elements to the response. Supported types are (Stream)
	//
	IncludeElements *string `queryParam:"style=form,explode=true,name=includeElements"`
}

func (*GetMetadataChildrenRequest) GetIncludeElements added in v0.10.0

func (o *GetMetadataChildrenRequest) GetIncludeElements() *string

func (*GetMetadataChildrenRequest) GetRatingKey

func (o *GetMetadataChildrenRequest) GetRatingKey() float64

type GetMetadataChildrenResponse

type GetMetadataChildrenResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The children of the library item.
	Object *GetMetadataChildrenResponseBody
}

func (*GetMetadataChildrenResponse) GetContentType

func (o *GetMetadataChildrenResponse) GetContentType() string

func (*GetMetadataChildrenResponse) GetObject added in v0.1.1

func (*GetMetadataChildrenResponse) GetRawResponse

func (o *GetMetadataChildrenResponse) GetRawResponse() *http.Response

func (*GetMetadataChildrenResponse) GetStatusCode

func (o *GetMetadataChildrenResponse) GetStatusCode() int

type GetMetadataChildrenResponseBody added in v0.1.1

type GetMetadataChildrenResponseBody struct {
	MediaContainer *GetMetadataChildrenMediaContainer `json:"MediaContainer,omitempty"`
}

GetMetadataChildrenResponseBody - The children of the library item.

func (*GetMetadataChildrenResponseBody) GetMediaContainer added in v0.1.1

type GetMyPlexAccountResponse

type GetMyPlexAccountResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// MyPlex Account
	Object *GetMyPlexAccountResponseBody
}

func (*GetMyPlexAccountResponse) GetContentType

func (o *GetMyPlexAccountResponse) GetContentType() string

func (*GetMyPlexAccountResponse) GetObject

func (*GetMyPlexAccountResponse) GetRawResponse

func (o *GetMyPlexAccountResponse) GetRawResponse() *http.Response

func (*GetMyPlexAccountResponse) GetStatusCode

func (o *GetMyPlexAccountResponse) GetStatusCode() int

type GetMyPlexAccountResponseBody

type GetMyPlexAccountResponseBody struct {
	MyPlex *MyPlex `json:"MyPlex,omitempty"`
}

GetMyPlexAccountResponseBody - MyPlex Account

func (*GetMyPlexAccountResponseBody) GetMyPlex

func (o *GetMyPlexAccountResponseBody) GetMyPlex() *MyPlex

type GetOnDeckGuids added in v0.1.1

type GetOnDeckGuids struct {
	ID *string `json:"id,omitempty"`
}

func (*GetOnDeckGuids) GetID added in v0.1.1

func (o *GetOnDeckGuids) GetID() *string

type GetOnDeckMedia

type GetOnDeckMedia struct {
	ID              *float64        `json:"id,omitempty"`
	Duration        *float64        `json:"duration,omitempty"`
	Bitrate         *float64        `json:"bitrate,omitempty"`
	Width           *float64        `json:"width,omitempty"`
	Height          *float64        `json:"height,omitempty"`
	AspectRatio     *float64        `json:"aspectRatio,omitempty"`
	AudioChannels   *float64        `json:"audioChannels,omitempty"`
	AudioCodec      *string         `json:"audioCodec,omitempty"`
	VideoCodec      *string         `json:"videoCodec,omitempty"`
	VideoResolution *string         `json:"videoResolution,omitempty"`
	Container       *string         `json:"container,omitempty"`
	VideoFrameRate  *string         `json:"videoFrameRate,omitempty"`
	AudioProfile    *string         `json:"audioProfile,omitempty"`
	VideoProfile    *string         `json:"videoProfile,omitempty"`
	Part            []GetOnDeckPart `json:"Part,omitempty"`
}

func (*GetOnDeckMedia) GetAspectRatio

func (o *GetOnDeckMedia) GetAspectRatio() *float64

func (*GetOnDeckMedia) GetAudioChannels

func (o *GetOnDeckMedia) GetAudioChannels() *float64

func (*GetOnDeckMedia) GetAudioCodec

func (o *GetOnDeckMedia) GetAudioCodec() *string

func (*GetOnDeckMedia) GetAudioProfile

func (o *GetOnDeckMedia) GetAudioProfile() *string

func (*GetOnDeckMedia) GetBitrate

func (o *GetOnDeckMedia) GetBitrate() *float64

func (*GetOnDeckMedia) GetContainer

func (o *GetOnDeckMedia) GetContainer() *string

func (*GetOnDeckMedia) GetDuration

func (o *GetOnDeckMedia) GetDuration() *float64

func (*GetOnDeckMedia) GetHeight

func (o *GetOnDeckMedia) GetHeight() *float64

func (*GetOnDeckMedia) GetID

func (o *GetOnDeckMedia) GetID() *float64

func (*GetOnDeckMedia) GetPart

func (o *GetOnDeckMedia) GetPart() []GetOnDeckPart

func (*GetOnDeckMedia) GetVideoCodec

func (o *GetOnDeckMedia) GetVideoCodec() *string

func (*GetOnDeckMedia) GetVideoFrameRate

func (o *GetOnDeckMedia) GetVideoFrameRate() *string

func (*GetOnDeckMedia) GetVideoProfile

func (o *GetOnDeckMedia) GetVideoProfile() *string

func (*GetOnDeckMedia) GetVideoResolution

func (o *GetOnDeckMedia) GetVideoResolution() *string

func (*GetOnDeckMedia) GetWidth

func (o *GetOnDeckMedia) GetWidth() *float64

type GetOnDeckMediaContainer

type GetOnDeckMediaContainer struct {
	Size            *float64            `json:"size,omitempty"`
	AllowSync       *bool               `json:"allowSync,omitempty"`
	Identifier      *string             `json:"identifier,omitempty"`
	MediaTagPrefix  *string             `json:"mediaTagPrefix,omitempty"`
	MediaTagVersion *float64            `json:"mediaTagVersion,omitempty"`
	MixedParents    *bool               `json:"mixedParents,omitempty"`
	Metadata        []GetOnDeckMetadata `json:"Metadata,omitempty"`
}

func (*GetOnDeckMediaContainer) GetAllowSync

func (o *GetOnDeckMediaContainer) GetAllowSync() *bool

func (*GetOnDeckMediaContainer) GetIdentifier

func (o *GetOnDeckMediaContainer) GetIdentifier() *string

func (*GetOnDeckMediaContainer) GetMediaTagPrefix

func (o *GetOnDeckMediaContainer) GetMediaTagPrefix() *string

func (*GetOnDeckMediaContainer) GetMediaTagVersion

func (o *GetOnDeckMediaContainer) GetMediaTagVersion() *float64

func (*GetOnDeckMediaContainer) GetMetadata

func (o *GetOnDeckMediaContainer) GetMetadata() []GetOnDeckMetadata

func (*GetOnDeckMediaContainer) GetMixedParents

func (o *GetOnDeckMediaContainer) GetMixedParents() *bool

func (*GetOnDeckMediaContainer) GetSize

func (o *GetOnDeckMediaContainer) GetSize() *float64

type GetOnDeckMetadata

type GetOnDeckMetadata struct {
	AllowSync             *bool            `json:"allowSync,omitempty"`
	LibrarySectionID      *float64         `json:"librarySectionID,omitempty"`
	LibrarySectionTitle   *string          `json:"librarySectionTitle,omitempty"`
	LibrarySectionUUID    *string          `json:"librarySectionUUID,omitempty"`
	RatingKey             *float64         `json:"ratingKey,omitempty"`
	Key                   *string          `json:"key,omitempty"`
	ParentRatingKey       *float64         `json:"parentRatingKey,omitempty"`
	GrandparentRatingKey  *float64         `json:"grandparentRatingKey,omitempty"`
	GUID                  *string          `json:"guid,omitempty"`
	ParentGUID            *string          `json:"parentGuid,omitempty"`
	GrandparentGUID       *string          `json:"grandparentGuid,omitempty"`
	Type                  *string          `json:"type,omitempty"`
	Title                 *string          `json:"title,omitempty"`
	GrandparentKey        *string          `json:"grandparentKey,omitempty"`
	ParentKey             *string          `json:"parentKey,omitempty"`
	LibrarySectionKey     *string          `json:"librarySectionKey,omitempty"`
	GrandparentTitle      *string          `json:"grandparentTitle,omitempty"`
	ParentTitle           *string          `json:"parentTitle,omitempty"`
	ContentRating         *string          `json:"contentRating,omitempty"`
	Summary               *string          `json:"summary,omitempty"`
	Index                 *float64         `json:"index,omitempty"`
	ParentIndex           *float64         `json:"parentIndex,omitempty"`
	LastViewedAt          *float64         `json:"lastViewedAt,omitempty"`
	Year                  *float64         `json:"year,omitempty"`
	Thumb                 *string          `json:"thumb,omitempty"`
	Art                   *string          `json:"art,omitempty"`
	ParentThumb           *string          `json:"parentThumb,omitempty"`
	GrandparentThumb      *string          `json:"grandparentThumb,omitempty"`
	GrandparentArt        *string          `json:"grandparentArt,omitempty"`
	GrandparentTheme      *string          `json:"grandparentTheme,omitempty"`
	Duration              *float64         `json:"duration,omitempty"`
	OriginallyAvailableAt *time.Time       `json:"originallyAvailableAt,omitempty"`
	AddedAt               *float64         `json:"addedAt,omitempty"`
	UpdatedAt             *float64         `json:"updatedAt,omitempty"`
	Media                 []GetOnDeckMedia `json:"Media,omitempty"`
	Guids                 []GetOnDeckGuids `json:"Guid,omitempty"`
}

func (*GetOnDeckMetadata) GetAddedAt

func (o *GetOnDeckMetadata) GetAddedAt() *float64

func (*GetOnDeckMetadata) GetAllowSync

func (o *GetOnDeckMetadata) GetAllowSync() *bool

func (*GetOnDeckMetadata) GetArt

func (o *GetOnDeckMetadata) GetArt() *string

func (*GetOnDeckMetadata) GetContentRating

func (o *GetOnDeckMetadata) GetContentRating() *string

func (*GetOnDeckMetadata) GetDuration

func (o *GetOnDeckMetadata) GetDuration() *float64

func (*GetOnDeckMetadata) GetGUID

func (o *GetOnDeckMetadata) GetGUID() *string

func (*GetOnDeckMetadata) GetGrandparentArt

func (o *GetOnDeckMetadata) GetGrandparentArt() *string

func (*GetOnDeckMetadata) GetGrandparentGUID

func (o *GetOnDeckMetadata) GetGrandparentGUID() *string

func (*GetOnDeckMetadata) GetGrandparentKey

func (o *GetOnDeckMetadata) GetGrandparentKey() *string

func (*GetOnDeckMetadata) GetGrandparentRatingKey

func (o *GetOnDeckMetadata) GetGrandparentRatingKey() *float64

func (*GetOnDeckMetadata) GetGrandparentTheme

func (o *GetOnDeckMetadata) GetGrandparentTheme() *string

func (*GetOnDeckMetadata) GetGrandparentThumb

func (o *GetOnDeckMetadata) GetGrandparentThumb() *string

func (*GetOnDeckMetadata) GetGrandparentTitle

func (o *GetOnDeckMetadata) GetGrandparentTitle() *string

func (*GetOnDeckMetadata) GetGuids

func (o *GetOnDeckMetadata) GetGuids() []GetOnDeckGuids

func (*GetOnDeckMetadata) GetIndex

func (o *GetOnDeckMetadata) GetIndex() *float64

func (*GetOnDeckMetadata) GetKey

func (o *GetOnDeckMetadata) GetKey() *string

func (*GetOnDeckMetadata) GetLastViewedAt

func (o *GetOnDeckMetadata) GetLastViewedAt() *float64

func (*GetOnDeckMetadata) GetLibrarySectionID

func (o *GetOnDeckMetadata) GetLibrarySectionID() *float64

func (*GetOnDeckMetadata) GetLibrarySectionKey

func (o *GetOnDeckMetadata) GetLibrarySectionKey() *string

func (*GetOnDeckMetadata) GetLibrarySectionTitle

func (o *GetOnDeckMetadata) GetLibrarySectionTitle() *string

func (*GetOnDeckMetadata) GetLibrarySectionUUID

func (o *GetOnDeckMetadata) GetLibrarySectionUUID() *string

func (*GetOnDeckMetadata) GetMedia

func (o *GetOnDeckMetadata) GetMedia() []GetOnDeckMedia

func (*GetOnDeckMetadata) GetOriginallyAvailableAt

func (o *GetOnDeckMetadata) GetOriginallyAvailableAt() *time.Time

func (*GetOnDeckMetadata) GetParentGUID

func (o *GetOnDeckMetadata) GetParentGUID() *string

func (*GetOnDeckMetadata) GetParentIndex

func (o *GetOnDeckMetadata) GetParentIndex() *float64

func (*GetOnDeckMetadata) GetParentKey

func (o *GetOnDeckMetadata) GetParentKey() *string

func (*GetOnDeckMetadata) GetParentRatingKey

func (o *GetOnDeckMetadata) GetParentRatingKey() *float64

func (*GetOnDeckMetadata) GetParentThumb

func (o *GetOnDeckMetadata) GetParentThumb() *string

func (*GetOnDeckMetadata) GetParentTitle

func (o *GetOnDeckMetadata) GetParentTitle() *string

func (*GetOnDeckMetadata) GetRatingKey

func (o *GetOnDeckMetadata) GetRatingKey() *float64

func (*GetOnDeckMetadata) GetSummary

func (o *GetOnDeckMetadata) GetSummary() *string

func (*GetOnDeckMetadata) GetThumb

func (o *GetOnDeckMetadata) GetThumb() *string

func (*GetOnDeckMetadata) GetTitle

func (o *GetOnDeckMetadata) GetTitle() *string

func (*GetOnDeckMetadata) GetType

func (o *GetOnDeckMetadata) GetType() *string

func (*GetOnDeckMetadata) GetUpdatedAt

func (o *GetOnDeckMetadata) GetUpdatedAt() *float64

func (*GetOnDeckMetadata) GetYear

func (o *GetOnDeckMetadata) GetYear() *float64

func (GetOnDeckMetadata) MarshalJSON

func (g GetOnDeckMetadata) MarshalJSON() ([]byte, error)

func (*GetOnDeckMetadata) UnmarshalJSON

func (g *GetOnDeckMetadata) UnmarshalJSON(data []byte) error

type GetOnDeckPart

type GetOnDeckPart struct {
	ID           *float64          `json:"id,omitempty"`
	Key          *string           `json:"key,omitempty"`
	Duration     *float64          `json:"duration,omitempty"`
	File         *string           `json:"file,omitempty"`
	Size         *float64          `json:"size,omitempty"`
	AudioProfile *string           `json:"audioProfile,omitempty"`
	Container    *string           `json:"container,omitempty"`
	VideoProfile *string           `json:"videoProfile,omitempty"`
	Stream       []GetOnDeckStream `json:"Stream,omitempty"`
}

func (*GetOnDeckPart) GetAudioProfile

func (o *GetOnDeckPart) GetAudioProfile() *string

func (*GetOnDeckPart) GetContainer

func (o *GetOnDeckPart) GetContainer() *string

func (*GetOnDeckPart) GetDuration

func (o *GetOnDeckPart) GetDuration() *float64

func (*GetOnDeckPart) GetFile

func (o *GetOnDeckPart) GetFile() *string

func (*GetOnDeckPart) GetID

func (o *GetOnDeckPart) GetID() *float64

func (*GetOnDeckPart) GetKey

func (o *GetOnDeckPart) GetKey() *string

func (*GetOnDeckPart) GetSize

func (o *GetOnDeckPart) GetSize() *float64

func (*GetOnDeckPart) GetStream

func (o *GetOnDeckPart) GetStream() []GetOnDeckStream

func (*GetOnDeckPart) GetVideoProfile

func (o *GetOnDeckPart) GetVideoProfile() *string

type GetOnDeckResponse

type GetOnDeckResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The on Deck content
	Object *GetOnDeckResponseBody
}

func (*GetOnDeckResponse) GetContentType

func (o *GetOnDeckResponse) GetContentType() string

func (*GetOnDeckResponse) GetObject

func (o *GetOnDeckResponse) GetObject() *GetOnDeckResponseBody

func (*GetOnDeckResponse) GetRawResponse

func (o *GetOnDeckResponse) GetRawResponse() *http.Response

func (*GetOnDeckResponse) GetStatusCode

func (o *GetOnDeckResponse) GetStatusCode() int

type GetOnDeckResponseBody

type GetOnDeckResponseBody struct {
	MediaContainer *GetOnDeckMediaContainer `json:"MediaContainer,omitempty"`
}

GetOnDeckResponseBody - The on Deck content

func (*GetOnDeckResponseBody) GetMediaContainer

func (o *GetOnDeckResponseBody) GetMediaContainer() *GetOnDeckMediaContainer

type GetOnDeckStream added in v0.1.1

type GetOnDeckStream struct {
	ID                   *float64 `json:"id,omitempty"`
	StreamType           *float64 `json:"streamType,omitempty"`
	Default              *bool    `json:"default,omitempty"`
	Codec                *string  `json:"codec,omitempty"`
	Index                *float64 `json:"index,omitempty"`
	Bitrate              *float64 `json:"bitrate,omitempty"`
	Language             *string  `json:"language,omitempty"`
	LanguageTag          *string  `json:"languageTag,omitempty"`
	LanguageCode         *string  `json:"languageCode,omitempty"`
	BitDepth             *float64 `json:"bitDepth,omitempty"`
	ChromaLocation       *string  `json:"chromaLocation,omitempty"`
	ChromaSubsampling    *string  `json:"chromaSubsampling,omitempty"`
	CodedHeight          *float64 `json:"codedHeight,omitempty"`
	CodedWidth           *float64 `json:"codedWidth,omitempty"`
	ColorRange           *string  `json:"colorRange,omitempty"`
	FrameRate            *float64 `json:"frameRate,omitempty"`
	Height               *float64 `json:"height,omitempty"`
	Level                *float64 `json:"level,omitempty"`
	Profile              *string  `json:"profile,omitempty"`
	RefFrames            *float64 `json:"refFrames,omitempty"`
	Width                *float64 `json:"width,omitempty"`
	DisplayTitle         *string  `json:"displayTitle,omitempty"`
	ExtendedDisplayTitle *string  `json:"extendedDisplayTitle,omitempty"`
}

func (*GetOnDeckStream) GetBitDepth added in v0.1.1

func (o *GetOnDeckStream) GetBitDepth() *float64

func (*GetOnDeckStream) GetBitrate added in v0.1.1

func (o *GetOnDeckStream) GetBitrate() *float64

func (*GetOnDeckStream) GetChromaLocation added in v0.1.1

func (o *GetOnDeckStream) GetChromaLocation() *string

func (*GetOnDeckStream) GetChromaSubsampling added in v0.1.1

func (o *GetOnDeckStream) GetChromaSubsampling() *string

func (*GetOnDeckStream) GetCodec added in v0.1.1

func (o *GetOnDeckStream) GetCodec() *string

func (*GetOnDeckStream) GetCodedHeight added in v0.1.1

func (o *GetOnDeckStream) GetCodedHeight() *float64

func (*GetOnDeckStream) GetCodedWidth added in v0.1.1

func (o *GetOnDeckStream) GetCodedWidth() *float64

func (*GetOnDeckStream) GetColorRange added in v0.1.1

func (o *GetOnDeckStream) GetColorRange() *string

func (*GetOnDeckStream) GetDefault added in v0.1.1

func (o *GetOnDeckStream) GetDefault() *bool

func (*GetOnDeckStream) GetDisplayTitle added in v0.1.1

func (o *GetOnDeckStream) GetDisplayTitle() *string

func (*GetOnDeckStream) GetExtendedDisplayTitle added in v0.1.1

func (o *GetOnDeckStream) GetExtendedDisplayTitle() *string

func (*GetOnDeckStream) GetFrameRate added in v0.1.1

func (o *GetOnDeckStream) GetFrameRate() *float64

func (*GetOnDeckStream) GetHeight added in v0.1.1

func (o *GetOnDeckStream) GetHeight() *float64

func (*GetOnDeckStream) GetID added in v0.1.1

func (o *GetOnDeckStream) GetID() *float64

func (*GetOnDeckStream) GetIndex added in v0.1.1

func (o *GetOnDeckStream) GetIndex() *float64

func (*GetOnDeckStream) GetLanguage added in v0.1.1

func (o *GetOnDeckStream) GetLanguage() *string

func (*GetOnDeckStream) GetLanguageCode added in v0.1.1

func (o *GetOnDeckStream) GetLanguageCode() *string

func (*GetOnDeckStream) GetLanguageTag added in v0.1.1

func (o *GetOnDeckStream) GetLanguageTag() *string

func (*GetOnDeckStream) GetLevel added in v0.1.1

func (o *GetOnDeckStream) GetLevel() *float64

func (*GetOnDeckStream) GetProfile added in v0.1.1

func (o *GetOnDeckStream) GetProfile() *string

func (*GetOnDeckStream) GetRefFrames added in v0.1.1

func (o *GetOnDeckStream) GetRefFrames() *float64

func (*GetOnDeckStream) GetStreamType added in v0.1.1

func (o *GetOnDeckStream) GetStreamType() *float64

func (*GetOnDeckStream) GetWidth added in v0.1.1

func (o *GetOnDeckStream) GetWidth() *float64

type GetPinAuthPinContainer added in v0.11.1

type GetPinAuthPinContainer struct {
	ID      int64  `json:"id"`
	Code    string `json:"code"`
	Product string `json:"product"`
	Trusted *bool  `default:"false" json:"trusted"`
	Qr      string `json:"qr"`
	// The X-Client-Identifier used in the request
	ClientIdentifier string `json:"clientIdentifier"`
	// Geo location data
	Location GeoData `json:"location"`
	// The number of seconds this pin expires, by default 900 seconds
	ExpiresIn       *int64    `default:"900" json:"expiresIn"`
	CreatedAt       time.Time `json:"createdAt"`
	ExpiresAt       time.Time `json:"expiresAt"`
	AuthToken       *string   `json:"authToken,omitempty"`
	NewRegistration any       `json:"newRegistration,omitempty"`
}

GetPinAuthPinContainer - Requests a new pin id used in the authentication flow

func (*GetPinAuthPinContainer) GetAuthToken added in v0.11.1

func (o *GetPinAuthPinContainer) GetAuthToken() *string

func (*GetPinAuthPinContainer) GetClientIdentifier added in v0.11.1

func (o *GetPinAuthPinContainer) GetClientIdentifier() string

func (*GetPinAuthPinContainer) GetCode added in v0.11.1

func (o *GetPinAuthPinContainer) GetCode() string

func (*GetPinAuthPinContainer) GetCreatedAt added in v0.11.1

func (o *GetPinAuthPinContainer) GetCreatedAt() time.Time

func (*GetPinAuthPinContainer) GetExpiresAt added in v0.11.1

func (o *GetPinAuthPinContainer) GetExpiresAt() time.Time

func (*GetPinAuthPinContainer) GetExpiresIn added in v0.11.1

func (o *GetPinAuthPinContainer) GetExpiresIn() *int64

func (*GetPinAuthPinContainer) GetID added in v0.11.1

func (o *GetPinAuthPinContainer) GetID() int64

func (*GetPinAuthPinContainer) GetLocation added in v0.11.1

func (o *GetPinAuthPinContainer) GetLocation() GeoData

func (*GetPinAuthPinContainer) GetNewRegistration added in v0.11.1

func (o *GetPinAuthPinContainer) GetNewRegistration() any

func (*GetPinAuthPinContainer) GetProduct added in v0.11.1

func (o *GetPinAuthPinContainer) GetProduct() string

func (*GetPinAuthPinContainer) GetQr added in v0.11.1

func (o *GetPinAuthPinContainer) GetQr() string

func (*GetPinAuthPinContainer) GetTrusted added in v0.11.1

func (o *GetPinAuthPinContainer) GetTrusted() *bool

func (GetPinAuthPinContainer) MarshalJSON added in v0.11.1

func (g GetPinAuthPinContainer) MarshalJSON() ([]byte, error)

func (*GetPinAuthPinContainer) UnmarshalJSON added in v0.11.1

func (g *GetPinAuthPinContainer) UnmarshalJSON(data []byte) error

type GetPinRequest added in v0.2.0

type GetPinRequest struct {
	// Determines the kind of code returned by the API call
	// Strong codes are used for Pin authentication flows
	// Non-Strong codes are used for `Plex.tv/link`
	//
	Strong *bool `default:"false" queryParam:"style=form,explode=true,name=strong"`
	// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
	ClientID string `header:"style=simple,explode=false,name=X-Plex-Client-Identifier"`
	// The name of the client application. (Plex Web, Plex Media Server, etc.)
	ClientName *string `header:"style=simple,explode=false,name=X-Plex-Product"`
	// A relatively friendly name for the client device
	DeviceNickname *string `header:"style=simple,explode=false,name=X-Plex-Device"`
	// The version of the client application.
	ClientVersion *string `header:"style=simple,explode=false,name=X-Plex-Version"`
	// The platform of the client application.
	Platform *string `header:"style=simple,explode=false,name=X-Plex-Platform"`
}

func (*GetPinRequest) GetClientID added in v0.11.11

func (o *GetPinRequest) GetClientID() string

func (*GetPinRequest) GetClientName added in v0.11.11

func (o *GetPinRequest) GetClientName() *string

func (*GetPinRequest) GetClientVersion added in v0.11.11

func (o *GetPinRequest) GetClientVersion() *string

func (*GetPinRequest) GetDeviceNickname added in v0.15.0

func (o *GetPinRequest) GetDeviceNickname() *string

func (*GetPinRequest) GetPlatform added in v0.15.0

func (o *GetPinRequest) GetPlatform() *string

func (*GetPinRequest) GetStrong added in v0.2.0

func (o *GetPinRequest) GetStrong() *bool

func (GetPinRequest) MarshalJSON added in v0.2.0

func (g GetPinRequest) MarshalJSON() ([]byte, error)

func (*GetPinRequest) UnmarshalJSON added in v0.2.0

func (g *GetPinRequest) UnmarshalJSON(data []byte) error

type GetPinResponse added in v0.2.0

type GetPinResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Requests a new pin id used in the authentication flow
	AuthPinContainer *GetPinAuthPinContainer
}

func (*GetPinResponse) GetAuthPinContainer added in v0.11.1

func (o *GetPinResponse) GetAuthPinContainer() *GetPinAuthPinContainer

func (*GetPinResponse) GetContentType added in v0.2.0

func (o *GetPinResponse) GetContentType() string

func (*GetPinResponse) GetRawResponse added in v0.2.0

func (o *GetPinResponse) GetRawResponse() *http.Response

func (*GetPinResponse) GetStatusCode added in v0.2.0

func (o *GetPinResponse) GetStatusCode() int

type GetPlaylistContentsCountry added in v0.1.1

type GetPlaylistContentsCountry struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetPlaylistContentsCountry) GetTag added in v0.1.1

func (o *GetPlaylistContentsCountry) GetTag() *string

type GetPlaylistContentsDirector added in v0.1.1

type GetPlaylistContentsDirector struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetPlaylistContentsDirector) GetTag added in v0.1.1

func (o *GetPlaylistContentsDirector) GetTag() *string

type GetPlaylistContentsGenre added in v0.1.1

type GetPlaylistContentsGenre struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetPlaylistContentsGenre) GetTag added in v0.1.1

func (o *GetPlaylistContentsGenre) GetTag() *string

type GetPlaylistContentsMedia added in v0.1.1

type GetPlaylistContentsMedia struct {
	ID                    *int                      `json:"id,omitempty"`
	Duration              *int                      `json:"duration,omitempty"`
	Bitrate               *int                      `json:"bitrate,omitempty"`
	Width                 *int                      `json:"width,omitempty"`
	Height                *int                      `json:"height,omitempty"`
	AspectRatio           *float64                  `json:"aspectRatio,omitempty"`
	AudioChannels         *int                      `json:"audioChannels,omitempty"`
	AudioCodec            *string                   `json:"audioCodec,omitempty"`
	VideoCodec            *string                   `json:"videoCodec,omitempty"`
	VideoResolution       *string                   `json:"videoResolution,omitempty"`
	Container             *string                   `json:"container,omitempty"`
	VideoFrameRate        *string                   `json:"videoFrameRate,omitempty"`
	OptimizedForStreaming *int                      `json:"optimizedForStreaming,omitempty"`
	AudioProfile          *string                   `json:"audioProfile,omitempty"`
	Has64bitOffsets       *bool                     `json:"has64bitOffsets,omitempty"`
	VideoProfile          *string                   `json:"videoProfile,omitempty"`
	Part                  []GetPlaylistContentsPart `json:"Part,omitempty"`
}

func (*GetPlaylistContentsMedia) GetAspectRatio added in v0.1.1

func (o *GetPlaylistContentsMedia) GetAspectRatio() *float64

func (*GetPlaylistContentsMedia) GetAudioChannels added in v0.1.1

func (o *GetPlaylistContentsMedia) GetAudioChannels() *int

func (*GetPlaylistContentsMedia) GetAudioCodec added in v0.1.1

func (o *GetPlaylistContentsMedia) GetAudioCodec() *string

func (*GetPlaylistContentsMedia) GetAudioProfile added in v0.1.1

func (o *GetPlaylistContentsMedia) GetAudioProfile() *string

func (*GetPlaylistContentsMedia) GetBitrate added in v0.1.1

func (o *GetPlaylistContentsMedia) GetBitrate() *int

func (*GetPlaylistContentsMedia) GetContainer added in v0.1.1

func (o *GetPlaylistContentsMedia) GetContainer() *string

func (*GetPlaylistContentsMedia) GetDuration added in v0.1.1

func (o *GetPlaylistContentsMedia) GetDuration() *int

func (*GetPlaylistContentsMedia) GetHas64bitOffsets added in v0.1.1

func (o *GetPlaylistContentsMedia) GetHas64bitOffsets() *bool

func (*GetPlaylistContentsMedia) GetHeight added in v0.1.1

func (o *GetPlaylistContentsMedia) GetHeight() *int

func (*GetPlaylistContentsMedia) GetID added in v0.1.1

func (o *GetPlaylistContentsMedia) GetID() *int

func (*GetPlaylistContentsMedia) GetOptimizedForStreaming added in v0.1.1

func (o *GetPlaylistContentsMedia) GetOptimizedForStreaming() *int

func (*GetPlaylistContentsMedia) GetPart added in v0.1.1

func (*GetPlaylistContentsMedia) GetVideoCodec added in v0.1.1

func (o *GetPlaylistContentsMedia) GetVideoCodec() *string

func (*GetPlaylistContentsMedia) GetVideoFrameRate added in v0.1.1

func (o *GetPlaylistContentsMedia) GetVideoFrameRate() *string

func (*GetPlaylistContentsMedia) GetVideoProfile added in v0.1.1

func (o *GetPlaylistContentsMedia) GetVideoProfile() *string

func (*GetPlaylistContentsMedia) GetVideoResolution added in v0.1.1

func (o *GetPlaylistContentsMedia) GetVideoResolution() *string

func (*GetPlaylistContentsMedia) GetWidth added in v0.1.1

func (o *GetPlaylistContentsMedia) GetWidth() *int

type GetPlaylistContentsMediaContainer added in v0.1.1

type GetPlaylistContentsMediaContainer struct {
	Size         *int                          `json:"size,omitempty"`
	Composite    *string                       `json:"composite,omitempty"`
	Duration     *int                          `json:"duration,omitempty"`
	LeafCount    *int                          `json:"leafCount,omitempty"`
	PlaylistType *string                       `json:"playlistType,omitempty"`
	RatingKey    *string                       `json:"ratingKey,omitempty"`
	Smart        *bool                         `json:"smart,omitempty"`
	Title        *string                       `json:"title,omitempty"`
	Metadata     []GetPlaylistContentsMetadata `json:"Metadata,omitempty"`
}

func (*GetPlaylistContentsMediaContainer) GetComposite added in v0.1.1

func (o *GetPlaylistContentsMediaContainer) GetComposite() *string

func (*GetPlaylistContentsMediaContainer) GetDuration added in v0.1.1

func (o *GetPlaylistContentsMediaContainer) GetDuration() *int

func (*GetPlaylistContentsMediaContainer) GetLeafCount added in v0.1.1

func (o *GetPlaylistContentsMediaContainer) GetLeafCount() *int

func (*GetPlaylistContentsMediaContainer) GetMetadata added in v0.1.1

func (*GetPlaylistContentsMediaContainer) GetPlaylistType added in v0.1.1

func (o *GetPlaylistContentsMediaContainer) GetPlaylistType() *string

func (*GetPlaylistContentsMediaContainer) GetRatingKey added in v0.1.1

func (o *GetPlaylistContentsMediaContainer) GetRatingKey() *string

func (*GetPlaylistContentsMediaContainer) GetSize added in v0.1.1

func (o *GetPlaylistContentsMediaContainer) GetSize() *int

func (*GetPlaylistContentsMediaContainer) GetSmart added in v0.1.1

func (o *GetPlaylistContentsMediaContainer) GetSmart() *bool

func (*GetPlaylistContentsMediaContainer) GetTitle added in v0.1.1

type GetPlaylistContentsMetadata added in v0.1.1

type GetPlaylistContentsMetadata struct {
	RatingKey              *string                       `json:"ratingKey,omitempty"`
	Key                    *string                       `json:"key,omitempty"`
	GUID                   *string                       `json:"guid,omitempty"`
	Studio                 *string                       `json:"studio,omitempty"`
	Type                   *string                       `json:"type,omitempty"`
	Title                  *string                       `json:"title,omitempty"`
	TitleSort              *string                       `json:"titleSort,omitempty"`
	LibrarySectionTitle    *string                       `json:"librarySectionTitle,omitempty"`
	LibrarySectionID       *int                          `json:"librarySectionID,omitempty"`
	LibrarySectionKey      *string                       `json:"librarySectionKey,omitempty"`
	ContentRating          *string                       `json:"contentRating,omitempty"`
	Summary                *string                       `json:"summary,omitempty"`
	Rating                 *float64                      `json:"rating,omitempty"`
	AudienceRating         *float64                      `json:"audienceRating,omitempty"`
	Year                   *int                          `json:"year,omitempty"`
	Tagline                *string                       `json:"tagline,omitempty"`
	Thumb                  *string                       `json:"thumb,omitempty"`
	Art                    *string                       `json:"art,omitempty"`
	Duration               *int                          `json:"duration,omitempty"`
	OriginallyAvailableAt  *types.Date                   `json:"originallyAvailableAt,omitempty"`
	AddedAt                *int                          `json:"addedAt,omitempty"`
	UpdatedAt              *int                          `json:"updatedAt,omitempty"`
	AudienceRatingImage    *string                       `json:"audienceRatingImage,omitempty"`
	HasPremiumExtras       *string                       `json:"hasPremiumExtras,omitempty"`
	HasPremiumPrimaryExtra *string                       `json:"hasPremiumPrimaryExtra,omitempty"`
	RatingImage            *string                       `json:"ratingImage,omitempty"`
	Media                  []GetPlaylistContentsMedia    `json:"Media,omitempty"`
	Genre                  []GetPlaylistContentsGenre    `json:"Genre,omitempty"`
	Country                []GetPlaylistContentsCountry  `json:"Country,omitempty"`
	Director               []GetPlaylistContentsDirector `json:"Director,omitempty"`
	Writer                 []GetPlaylistContentsWriter   `json:"Writer,omitempty"`
	Role                   []GetPlaylistContentsRole     `json:"Role,omitempty"`
}

func (*GetPlaylistContentsMetadata) GetAddedAt added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetAddedAt() *int

func (*GetPlaylistContentsMetadata) GetArt added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetArt() *string

func (*GetPlaylistContentsMetadata) GetAudienceRating added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetAudienceRating() *float64

func (*GetPlaylistContentsMetadata) GetAudienceRatingImage added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetAudienceRatingImage() *string

func (*GetPlaylistContentsMetadata) GetContentRating added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetContentRating() *string

func (*GetPlaylistContentsMetadata) GetCountry added in v0.1.1

func (*GetPlaylistContentsMetadata) GetDirector added in v0.1.1

func (*GetPlaylistContentsMetadata) GetDuration added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetDuration() *int

func (*GetPlaylistContentsMetadata) GetGUID added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetGUID() *string

func (*GetPlaylistContentsMetadata) GetGenre added in v0.1.1

func (*GetPlaylistContentsMetadata) GetHasPremiumExtras added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetHasPremiumExtras() *string

func (*GetPlaylistContentsMetadata) GetHasPremiumPrimaryExtra added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetHasPremiumPrimaryExtra() *string

func (*GetPlaylistContentsMetadata) GetKey added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetKey() *string

func (*GetPlaylistContentsMetadata) GetLibrarySectionID added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetLibrarySectionID() *int

func (*GetPlaylistContentsMetadata) GetLibrarySectionKey added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetLibrarySectionKey() *string

func (*GetPlaylistContentsMetadata) GetLibrarySectionTitle added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetLibrarySectionTitle() *string

func (*GetPlaylistContentsMetadata) GetMedia added in v0.1.1

func (*GetPlaylistContentsMetadata) GetOriginallyAvailableAt added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetOriginallyAvailableAt() *types.Date

func (*GetPlaylistContentsMetadata) GetRating added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetRating() *float64

func (*GetPlaylistContentsMetadata) GetRatingImage added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetRatingImage() *string

func (*GetPlaylistContentsMetadata) GetRatingKey added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetRatingKey() *string

func (*GetPlaylistContentsMetadata) GetRole added in v0.1.1

func (*GetPlaylistContentsMetadata) GetStudio added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetStudio() *string

func (*GetPlaylistContentsMetadata) GetSummary added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetSummary() *string

func (*GetPlaylistContentsMetadata) GetTagline added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetTagline() *string

func (*GetPlaylistContentsMetadata) GetThumb added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetThumb() *string

func (*GetPlaylistContentsMetadata) GetTitle added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetTitle() *string

func (*GetPlaylistContentsMetadata) GetTitleSort added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetTitleSort() *string

func (*GetPlaylistContentsMetadata) GetType added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetType() *string

func (*GetPlaylistContentsMetadata) GetUpdatedAt added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetUpdatedAt() *int

func (*GetPlaylistContentsMetadata) GetWriter added in v0.1.1

func (*GetPlaylistContentsMetadata) GetYear added in v0.1.1

func (o *GetPlaylistContentsMetadata) GetYear() *int

func (GetPlaylistContentsMetadata) MarshalJSON added in v0.1.1

func (g GetPlaylistContentsMetadata) MarshalJSON() ([]byte, error)

func (*GetPlaylistContentsMetadata) UnmarshalJSON added in v0.1.1

func (g *GetPlaylistContentsMetadata) UnmarshalJSON(data []byte) error

type GetPlaylistContentsPart added in v0.1.1

type GetPlaylistContentsPart struct {
	ID                    *int    `json:"id,omitempty"`
	Key                   *string `json:"key,omitempty"`
	Duration              *int    `json:"duration,omitempty"`
	File                  *string `json:"file,omitempty"`
	Size                  *int    `json:"size,omitempty"`
	AudioProfile          *string `json:"audioProfile,omitempty"`
	Container             *string `json:"container,omitempty"`
	Has64bitOffsets       *bool   `json:"has64bitOffsets,omitempty"`
	OptimizedForStreaming *bool   `json:"optimizedForStreaming,omitempty"`
	VideoProfile          *string `json:"videoProfile,omitempty"`
}

func (*GetPlaylistContentsPart) GetAudioProfile added in v0.1.1

func (o *GetPlaylistContentsPart) GetAudioProfile() *string

func (*GetPlaylistContentsPart) GetContainer added in v0.1.1

func (o *GetPlaylistContentsPart) GetContainer() *string

func (*GetPlaylistContentsPart) GetDuration added in v0.1.1

func (o *GetPlaylistContentsPart) GetDuration() *int

func (*GetPlaylistContentsPart) GetFile added in v0.1.1

func (o *GetPlaylistContentsPart) GetFile() *string

func (*GetPlaylistContentsPart) GetHas64bitOffsets added in v0.1.1

func (o *GetPlaylistContentsPart) GetHas64bitOffsets() *bool

func (*GetPlaylistContentsPart) GetID added in v0.1.1

func (o *GetPlaylistContentsPart) GetID() *int

func (*GetPlaylistContentsPart) GetKey added in v0.1.1

func (o *GetPlaylistContentsPart) GetKey() *string

func (*GetPlaylistContentsPart) GetOptimizedForStreaming added in v0.1.1

func (o *GetPlaylistContentsPart) GetOptimizedForStreaming() *bool

func (*GetPlaylistContentsPart) GetSize added in v0.1.1

func (o *GetPlaylistContentsPart) GetSize() *int

func (*GetPlaylistContentsPart) GetVideoProfile added in v0.1.1

func (o *GetPlaylistContentsPart) GetVideoProfile() *string

type GetPlaylistContentsQueryParamType added in v0.11.1

type GetPlaylistContentsQueryParamType int64

GetPlaylistContentsQueryParamType - The type of media to retrieve or filter by. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries

const (
	GetPlaylistContentsQueryParamTypeMovie   GetPlaylistContentsQueryParamType = 1
	GetPlaylistContentsQueryParamTypeTvShow  GetPlaylistContentsQueryParamType = 2
	GetPlaylistContentsQueryParamTypeSeason  GetPlaylistContentsQueryParamType = 3
	GetPlaylistContentsQueryParamTypeEpisode GetPlaylistContentsQueryParamType = 4
	GetPlaylistContentsQueryParamTypeAudio   GetPlaylistContentsQueryParamType = 8
	GetPlaylistContentsQueryParamTypeAlbum   GetPlaylistContentsQueryParamType = 9
	GetPlaylistContentsQueryParamTypeTrack   GetPlaylistContentsQueryParamType = 10
)

func (GetPlaylistContentsQueryParamType) ToPointer added in v0.11.1

func (*GetPlaylistContentsQueryParamType) UnmarshalJSON added in v0.11.1

func (e *GetPlaylistContentsQueryParamType) UnmarshalJSON(data []byte) error

type GetPlaylistContentsRequest

type GetPlaylistContentsRequest struct {
	// the ID of the playlist
	PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
	// The type of media to retrieve or filter by.
	// 1 = movie
	// 2 = show
	// 3 = season
	// 4 = episode
	// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
	//
	Type GetPlaylistContentsQueryParamType `queryParam:"style=form,explode=true,name=type"`
}

func (*GetPlaylistContentsRequest) GetPlaylistID

func (o *GetPlaylistContentsRequest) GetPlaylistID() float64

func (*GetPlaylistContentsRequest) GetType

type GetPlaylistContentsResponse

type GetPlaylistContentsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The playlist contents
	Object *GetPlaylistContentsResponseBody
}

func (*GetPlaylistContentsResponse) GetContentType

func (o *GetPlaylistContentsResponse) GetContentType() string

func (*GetPlaylistContentsResponse) GetObject added in v0.1.1

func (*GetPlaylistContentsResponse) GetRawResponse

func (o *GetPlaylistContentsResponse) GetRawResponse() *http.Response

func (*GetPlaylistContentsResponse) GetStatusCode

func (o *GetPlaylistContentsResponse) GetStatusCode() int

type GetPlaylistContentsResponseBody added in v0.1.1

type GetPlaylistContentsResponseBody struct {
	MediaContainer *GetPlaylistContentsMediaContainer `json:"MediaContainer,omitempty"`
}

GetPlaylistContentsResponseBody - The playlist contents

func (*GetPlaylistContentsResponseBody) GetMediaContainer added in v0.1.1

type GetPlaylistContentsRole added in v0.1.1

type GetPlaylistContentsRole struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetPlaylistContentsRole) GetTag added in v0.1.1

func (o *GetPlaylistContentsRole) GetTag() *string

type GetPlaylistContentsWriter added in v0.1.1

type GetPlaylistContentsWriter struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetPlaylistContentsWriter) GetTag added in v0.1.1

func (o *GetPlaylistContentsWriter) GetTag() *string

type GetPlaylistMediaContainer added in v0.1.1

type GetPlaylistMediaContainer struct {
	Size     *int                  `json:"size,omitempty"`
	Metadata []GetPlaylistMetadata `json:"Metadata,omitempty"`
}

func (*GetPlaylistMediaContainer) GetMetadata added in v0.1.1

func (*GetPlaylistMediaContainer) GetSize added in v0.1.1

func (o *GetPlaylistMediaContainer) GetSize() *int

type GetPlaylistMetadata added in v0.1.1

type GetPlaylistMetadata struct {
	Content      *string `json:"content,omitempty"`
	RatingKey    *string `json:"ratingKey,omitempty"`
	Key          *string `json:"key,omitempty"`
	GUID         *string `json:"guid,omitempty"`
	Type         *string `json:"type,omitempty"`
	Title        *string `json:"title,omitempty"`
	Summary      *string `json:"summary,omitempty"`
	Smart        *bool   `json:"smart,omitempty"`
	PlaylistType *string `json:"playlistType,omitempty"`
	Composite    *string `json:"composite,omitempty"`
	Icon         *string `json:"icon,omitempty"`
	Duration     *int    `json:"duration,omitempty"`
	LeafCount    *int    `json:"leafCount,omitempty"`
	AddedAt      *int    `json:"addedAt,omitempty"`
	UpdatedAt    *int    `json:"updatedAt,omitempty"`
}

func (*GetPlaylistMetadata) GetAddedAt added in v0.1.1

func (o *GetPlaylistMetadata) GetAddedAt() *int

func (*GetPlaylistMetadata) GetComposite added in v0.1.1

func (o *GetPlaylistMetadata) GetComposite() *string

func (*GetPlaylistMetadata) GetContent added in v0.1.1

func (o *GetPlaylistMetadata) GetContent() *string

func (*GetPlaylistMetadata) GetDuration added in v0.1.1

func (o *GetPlaylistMetadata) GetDuration() *int

func (*GetPlaylistMetadata) GetGUID added in v0.1.1

func (o *GetPlaylistMetadata) GetGUID() *string

func (*GetPlaylistMetadata) GetIcon added in v0.1.1

func (o *GetPlaylistMetadata) GetIcon() *string

func (*GetPlaylistMetadata) GetKey added in v0.1.1

func (o *GetPlaylistMetadata) GetKey() *string

func (*GetPlaylistMetadata) GetLeafCount added in v0.1.1

func (o *GetPlaylistMetadata) GetLeafCount() *int

func (*GetPlaylistMetadata) GetPlaylistType added in v0.1.1

func (o *GetPlaylistMetadata) GetPlaylistType() *string

func (*GetPlaylistMetadata) GetRatingKey added in v0.1.1

func (o *GetPlaylistMetadata) GetRatingKey() *string

func (*GetPlaylistMetadata) GetSmart added in v0.1.1

func (o *GetPlaylistMetadata) GetSmart() *bool

func (*GetPlaylistMetadata) GetSummary added in v0.1.1

func (o *GetPlaylistMetadata) GetSummary() *string

func (*GetPlaylistMetadata) GetTitle added in v0.1.1

func (o *GetPlaylistMetadata) GetTitle() *string

func (*GetPlaylistMetadata) GetType added in v0.1.1

func (o *GetPlaylistMetadata) GetType() *string

func (*GetPlaylistMetadata) GetUpdatedAt added in v0.1.1

func (o *GetPlaylistMetadata) GetUpdatedAt() *int

type GetPlaylistRequest

type GetPlaylistRequest struct {
	// the ID of the playlist
	PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
}

func (*GetPlaylistRequest) GetPlaylistID

func (o *GetPlaylistRequest) GetPlaylistID() float64

type GetPlaylistResponse

type GetPlaylistResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The playlist
	Object *GetPlaylistResponseBody
}

func (*GetPlaylistResponse) GetContentType

func (o *GetPlaylistResponse) GetContentType() string

func (*GetPlaylistResponse) GetObject added in v0.1.1

func (*GetPlaylistResponse) GetRawResponse

func (o *GetPlaylistResponse) GetRawResponse() *http.Response

func (*GetPlaylistResponse) GetStatusCode

func (o *GetPlaylistResponse) GetStatusCode() int

type GetPlaylistResponseBody added in v0.1.1

type GetPlaylistResponseBody struct {
	MediaContainer *GetPlaylistMediaContainer `json:"MediaContainer,omitempty"`
}

GetPlaylistResponseBody - The playlist

func (*GetPlaylistResponseBody) GetMediaContainer added in v0.1.1

func (o *GetPlaylistResponseBody) GetMediaContainer() *GetPlaylistMediaContainer

type GetPlaylistsMediaContainer added in v0.1.1

type GetPlaylistsMediaContainer struct {
	Size     *int                   `json:"size,omitempty"`
	Metadata []GetPlaylistsMetadata `json:"Metadata,omitempty"`
}

func (*GetPlaylistsMediaContainer) GetMetadata added in v0.1.1

func (*GetPlaylistsMediaContainer) GetSize added in v0.1.1

func (o *GetPlaylistsMediaContainer) GetSize() *int

type GetPlaylistsMetadata added in v0.1.1

type GetPlaylistsMetadata struct {
	RatingKey    *string `json:"ratingKey,omitempty"`
	Key          *string `json:"key,omitempty"`
	GUID         *string `json:"guid,omitempty"`
	Type         *string `json:"type,omitempty"`
	Title        *string `json:"title,omitempty"`
	Summary      *string `json:"summary,omitempty"`
	Smart        *bool   `json:"smart,omitempty"`
	PlaylistType *string `json:"playlistType,omitempty"`
	Composite    *string `json:"composite,omitempty"`
	Icon         *string `json:"icon,omitempty"`
	ViewCount    *int    `json:"viewCount,omitempty"`
	LastViewedAt *int    `json:"lastViewedAt,omitempty"`
	Duration     *int    `json:"duration,omitempty"`
	LeafCount    *int    `json:"leafCount,omitempty"`
	AddedAt      *int    `json:"addedAt,omitempty"`
	UpdatedAt    *int    `json:"updatedAt,omitempty"`
}

func (*GetPlaylistsMetadata) GetAddedAt added in v0.1.1

func (o *GetPlaylistsMetadata) GetAddedAt() *int

func (*GetPlaylistsMetadata) GetComposite added in v0.1.1

func (o *GetPlaylistsMetadata) GetComposite() *string

func (*GetPlaylistsMetadata) GetDuration added in v0.1.1

func (o *GetPlaylistsMetadata) GetDuration() *int

func (*GetPlaylistsMetadata) GetGUID added in v0.1.1

func (o *GetPlaylistsMetadata) GetGUID() *string

func (*GetPlaylistsMetadata) GetIcon added in v0.1.1

func (o *GetPlaylistsMetadata) GetIcon() *string

func (*GetPlaylistsMetadata) GetKey added in v0.1.1

func (o *GetPlaylistsMetadata) GetKey() *string

func (*GetPlaylistsMetadata) GetLastViewedAt added in v0.1.1

func (o *GetPlaylistsMetadata) GetLastViewedAt() *int

func (*GetPlaylistsMetadata) GetLeafCount added in v0.1.1

func (o *GetPlaylistsMetadata) GetLeafCount() *int

func (*GetPlaylistsMetadata) GetPlaylistType added in v0.1.1

func (o *GetPlaylistsMetadata) GetPlaylistType() *string

func (*GetPlaylistsMetadata) GetRatingKey added in v0.1.1

func (o *GetPlaylistsMetadata) GetRatingKey() *string

func (*GetPlaylistsMetadata) GetSmart added in v0.1.1

func (o *GetPlaylistsMetadata) GetSmart() *bool

func (*GetPlaylistsMetadata) GetSummary added in v0.1.1

func (o *GetPlaylistsMetadata) GetSummary() *string

func (*GetPlaylistsMetadata) GetTitle added in v0.1.1

func (o *GetPlaylistsMetadata) GetTitle() *string

func (*GetPlaylistsMetadata) GetType added in v0.1.1

func (o *GetPlaylistsMetadata) GetType() *string

func (*GetPlaylistsMetadata) GetUpdatedAt added in v0.1.1

func (o *GetPlaylistsMetadata) GetUpdatedAt() *int

func (*GetPlaylistsMetadata) GetViewCount added in v0.1.1

func (o *GetPlaylistsMetadata) GetViewCount() *int

type GetPlaylistsRequest

type GetPlaylistsRequest struct {
	// limit to a type of playlist.
	PlaylistType *PlaylistType `queryParam:"style=form,explode=true,name=playlistType"`
	// type of playlists to return (default is all).
	Smart *QueryParamSmart `queryParam:"style=form,explode=true,name=smart"`
}

func (*GetPlaylistsRequest) GetPlaylistType

func (o *GetPlaylistsRequest) GetPlaylistType() *PlaylistType

func (*GetPlaylistsRequest) GetSmart

func (o *GetPlaylistsRequest) GetSmart() *QueryParamSmart

type GetPlaylistsResponse

type GetPlaylistsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// returns all playlists
	Object *GetPlaylistsResponseBody
}

func (*GetPlaylistsResponse) GetContentType

func (o *GetPlaylistsResponse) GetContentType() string

func (*GetPlaylistsResponse) GetObject added in v0.1.1

func (*GetPlaylistsResponse) GetRawResponse

func (o *GetPlaylistsResponse) GetRawResponse() *http.Response

func (*GetPlaylistsResponse) GetStatusCode

func (o *GetPlaylistsResponse) GetStatusCode() int

type GetPlaylistsResponseBody added in v0.1.1

type GetPlaylistsResponseBody struct {
	MediaContainer *GetPlaylistsMediaContainer `json:"MediaContainer,omitempty"`
}

GetPlaylistsResponseBody - returns all playlists

func (*GetPlaylistsResponseBody) GetMediaContainer added in v0.1.1

func (o *GetPlaylistsResponseBody) GetMediaContainer() *GetPlaylistsMediaContainer

type GetRecentlyAddedActiveDirection added in v0.13.0

type GetRecentlyAddedActiveDirection string

GetRecentlyAddedActiveDirection - The direction of the sort. Can be either `asc` or `desc`.

const (
	GetRecentlyAddedActiveDirectionAscending  GetRecentlyAddedActiveDirection = "asc"
	GetRecentlyAddedActiveDirectionDescending GetRecentlyAddedActiveDirection = "desc"
)

func (GetRecentlyAddedActiveDirection) ToPointer added in v0.13.0

func (*GetRecentlyAddedActiveDirection) UnmarshalJSON added in v0.13.0

func (e *GetRecentlyAddedActiveDirection) UnmarshalJSON(data []byte) error

type GetRecentlyAddedDefaultDirection added in v0.13.0

type GetRecentlyAddedDefaultDirection string

GetRecentlyAddedDefaultDirection - The direction of the sort. Can be either `asc` or `desc`.

const (
	GetRecentlyAddedDefaultDirectionAscending  GetRecentlyAddedDefaultDirection = "asc"
	GetRecentlyAddedDefaultDirectionDescending GetRecentlyAddedDefaultDirection = "desc"
)

func (GetRecentlyAddedDefaultDirection) ToPointer added in v0.13.0

func (*GetRecentlyAddedDefaultDirection) UnmarshalJSON added in v0.13.0

func (e *GetRecentlyAddedDefaultDirection) UnmarshalJSON(data []byte) error

type GetRecentlyAddedField added in v0.13.0

type GetRecentlyAddedField struct {
	Key     string  `json:"key"`
	Title   string  `json:"title"`
	Type    string  `json:"type"`
	SubType *string `json:"subType,omitempty"`
}

func (*GetRecentlyAddedField) GetKey added in v0.13.0

func (o *GetRecentlyAddedField) GetKey() string

func (*GetRecentlyAddedField) GetSubType added in v0.13.0

func (o *GetRecentlyAddedField) GetSubType() *string

func (*GetRecentlyAddedField) GetTitle added in v0.13.0

func (o *GetRecentlyAddedField) GetTitle() string

func (*GetRecentlyAddedField) GetType added in v0.13.0

func (o *GetRecentlyAddedField) GetType() string

type GetRecentlyAddedFieldType added in v0.13.0

type GetRecentlyAddedFieldType struct {
	Type     string                     `json:"type"`
	Operator []GetRecentlyAddedOperator `json:"Operator"`
}

func (*GetRecentlyAddedFieldType) GetOperator added in v0.13.0

func (*GetRecentlyAddedFieldType) GetType added in v0.13.0

func (o *GetRecentlyAddedFieldType) GetType() string

type GetRecentlyAddedFilter added in v0.13.0

type GetRecentlyAddedFilter struct {
	Filter     string `json:"filter"`
	FilterType string `json:"filterType"`
	Key        string `json:"key"`
	Title      string `json:"title"`
	Type       string `json:"type"`
	Advanced   *bool  `json:"advanced,omitempty"`
}

func (*GetRecentlyAddedFilter) GetAdvanced added in v0.19.0

func (o *GetRecentlyAddedFilter) GetAdvanced() *bool

func (*GetRecentlyAddedFilter) GetFilter added in v0.13.0

func (o *GetRecentlyAddedFilter) GetFilter() string

func (*GetRecentlyAddedFilter) GetFilterType added in v0.13.0

func (o *GetRecentlyAddedFilter) GetFilterType() string

func (*GetRecentlyAddedFilter) GetKey added in v0.13.0

func (o *GetRecentlyAddedFilter) GetKey() string

func (*GetRecentlyAddedFilter) GetTitle added in v0.13.0

func (o *GetRecentlyAddedFilter) GetTitle() string

func (*GetRecentlyAddedFilter) GetType added in v0.13.0

func (o *GetRecentlyAddedFilter) GetType() string

type GetRecentlyAddedHubsResponseType added in v0.13.0

type GetRecentlyAddedHubsResponseType string
const (
	GetRecentlyAddedHubsResponseTypeCoverPoster GetRecentlyAddedHubsResponseType = "coverPoster"
	GetRecentlyAddedHubsResponseTypeBackground  GetRecentlyAddedHubsResponseType = "background"
	GetRecentlyAddedHubsResponseTypeSnapshot    GetRecentlyAddedHubsResponseType = "snapshot"
)

func (GetRecentlyAddedHubsResponseType) ToPointer added in v0.13.0

func (*GetRecentlyAddedHubsResponseType) UnmarshalJSON added in v0.13.0

func (e *GetRecentlyAddedHubsResponseType) UnmarshalJSON(data []byte) error

type GetRecentlyAddedHubsType added in v0.13.0

type GetRecentlyAddedHubsType string

GetRecentlyAddedHubsType - The type of media content

const (
	GetRecentlyAddedHubsTypeMovie   GetRecentlyAddedHubsType = "movie"
	GetRecentlyAddedHubsTypeTvShow  GetRecentlyAddedHubsType = "show"
	GetRecentlyAddedHubsTypeSeason  GetRecentlyAddedHubsType = "season"
	GetRecentlyAddedHubsTypeEpisode GetRecentlyAddedHubsType = "episode"
	GetRecentlyAddedHubsTypeArtist  GetRecentlyAddedHubsType = "artist"
	GetRecentlyAddedHubsTypeAlbum   GetRecentlyAddedHubsType = "album"
)

func (GetRecentlyAddedHubsType) ToPointer added in v0.13.0

func (*GetRecentlyAddedHubsType) UnmarshalJSON added in v0.13.0

func (e *GetRecentlyAddedHubsType) UnmarshalJSON(data []byte) error

type GetRecentlyAddedImage added in v0.13.0

type GetRecentlyAddedImage struct {
	Alt  string                           `json:"alt"`
	Type GetRecentlyAddedHubsResponseType `json:"type"`
	URL  string                           `json:"url"`
}

func (*GetRecentlyAddedImage) GetAlt added in v0.13.0

func (o *GetRecentlyAddedImage) GetAlt() string

func (*GetRecentlyAddedImage) GetType added in v0.13.0

func (*GetRecentlyAddedImage) GetURL added in v0.13.0

func (o *GetRecentlyAddedImage) GetURL() string

type GetRecentlyAddedLibraryCountry added in v0.13.0

type GetRecentlyAddedLibraryCountry struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetRecentlyAddedLibraryCountry) GetTag added in v0.13.0

type GetRecentlyAddedLibraryDirector added in v0.13.0

type GetRecentlyAddedLibraryDirector struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetRecentlyAddedLibraryDirector) GetTag added in v0.13.0

type GetRecentlyAddedLibraryFilter added in v0.13.0

type GetRecentlyAddedLibraryFilter struct {
	Filter     string `json:"filter"`
	FilterType string `json:"filterType"`
	Key        string `json:"key"`
	Title      string `json:"title"`
	Type       string `json:"type"`
	Advanced   *bool  `json:"advanced,omitempty"`
}

func (*GetRecentlyAddedLibraryFilter) GetAdvanced added in v0.19.0

func (o *GetRecentlyAddedLibraryFilter) GetAdvanced() *bool

func (*GetRecentlyAddedLibraryFilter) GetFilter added in v0.13.0

func (o *GetRecentlyAddedLibraryFilter) GetFilter() string

func (*GetRecentlyAddedLibraryFilter) GetFilterType added in v0.13.0

func (o *GetRecentlyAddedLibraryFilter) GetFilterType() string

func (*GetRecentlyAddedLibraryFilter) GetKey added in v0.13.0

func (*GetRecentlyAddedLibraryFilter) GetTitle added in v0.13.0

func (o *GetRecentlyAddedLibraryFilter) GetTitle() string

func (*GetRecentlyAddedLibraryFilter) GetType added in v0.13.0

type GetRecentlyAddedLibraryGenre added in v0.13.0

type GetRecentlyAddedLibraryGenre struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetRecentlyAddedLibraryGenre) GetTag added in v0.13.0

func (o *GetRecentlyAddedLibraryGenre) GetTag() *string

type GetRecentlyAddedLibraryMedia added in v0.13.0

type GetRecentlyAddedLibraryMedia struct {
	ID                    *float64                      `json:"id,omitempty"`
	Duration              *float64                      `json:"duration,omitempty"`
	Bitrate               *float64                      `json:"bitrate,omitempty"`
	Width                 *float64                      `json:"width,omitempty"`
	Height                *float64                      `json:"height,omitempty"`
	AspectRatio           *float64                      `json:"aspectRatio,omitempty"`
	AudioChannels         *float64                      `json:"audioChannels,omitempty"`
	AudioCodec            *string                       `json:"audioCodec,omitempty"`
	VideoCodec            *string                       `json:"videoCodec,omitempty"`
	VideoResolution       *float64                      `json:"videoResolution,omitempty"`
	Container             *string                       `json:"container,omitempty"`
	VideoFrameRate        *string                       `json:"videoFrameRate,omitempty"`
	OptimizedForStreaming *float64                      `json:"optimizedForStreaming,omitempty"`
	Has64bitOffsets       *bool                         `json:"has64bitOffsets,omitempty"`
	VideoProfile          *string                       `json:"videoProfile,omitempty"`
	Part                  []GetRecentlyAddedLibraryPart `json:"Part,omitempty"`
}

func (*GetRecentlyAddedLibraryMedia) GetAspectRatio added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetAspectRatio() *float64

func (*GetRecentlyAddedLibraryMedia) GetAudioChannels added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetAudioChannels() *float64

func (*GetRecentlyAddedLibraryMedia) GetAudioCodec added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetAudioCodec() *string

func (*GetRecentlyAddedLibraryMedia) GetBitrate added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetBitrate() *float64

func (*GetRecentlyAddedLibraryMedia) GetContainer added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetContainer() *string

func (*GetRecentlyAddedLibraryMedia) GetDuration added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetDuration() *float64

func (*GetRecentlyAddedLibraryMedia) GetHas64bitOffsets added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetHas64bitOffsets() *bool

func (*GetRecentlyAddedLibraryMedia) GetHeight added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetHeight() *float64

func (*GetRecentlyAddedLibraryMedia) GetID added in v0.13.0

func (*GetRecentlyAddedLibraryMedia) GetOptimizedForStreaming added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetOptimizedForStreaming() *float64

func (*GetRecentlyAddedLibraryMedia) GetPart added in v0.13.0

func (*GetRecentlyAddedLibraryMedia) GetVideoCodec added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetVideoCodec() *string

func (*GetRecentlyAddedLibraryMedia) GetVideoFrameRate added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetVideoFrameRate() *string

func (*GetRecentlyAddedLibraryMedia) GetVideoProfile added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetVideoProfile() *string

func (*GetRecentlyAddedLibraryMedia) GetVideoResolution added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetVideoResolution() *float64

func (*GetRecentlyAddedLibraryMedia) GetWidth added in v0.13.0

func (o *GetRecentlyAddedLibraryMedia) GetWidth() *float64

type GetRecentlyAddedLibraryMediaContainer added in v0.13.0

type GetRecentlyAddedLibraryMediaContainer struct {
	Type            []GetRecentlyAddedLibraryType     `json:"Type,omitempty"`
	FieldType       []FieldType                       `json:"FieldType,omitempty"`
	Size            *float64                          `json:"size,omitempty"`
	AllowSync       *bool                             `json:"allowSync,omitempty"`
	Identifier      *string                           `json:"identifier,omitempty"`
	MediaTagPrefix  *string                           `json:"mediaTagPrefix,omitempty"`
	MediaTagVersion *float64                          `json:"mediaTagVersion,omitempty"`
	MixedParents    *bool                             `json:"mixedParents,omitempty"`
	Metadata        []GetRecentlyAddedLibraryMetadata `json:"Metadata,omitempty"`
}

GetRecentlyAddedLibraryMediaContainer - The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.

func (*GetRecentlyAddedLibraryMediaContainer) GetAllowSync added in v0.13.0

func (o *GetRecentlyAddedLibraryMediaContainer) GetAllowSync() *bool

func (*GetRecentlyAddedLibraryMediaContainer) GetFieldType added in v0.13.0

func (*GetRecentlyAddedLibraryMediaContainer) GetIdentifier added in v0.13.0

func (o *GetRecentlyAddedLibraryMediaContainer) GetIdentifier() *string

func (*GetRecentlyAddedLibraryMediaContainer) GetMediaTagPrefix added in v0.13.0

func (o *GetRecentlyAddedLibraryMediaContainer) GetMediaTagPrefix() *string

func (*GetRecentlyAddedLibraryMediaContainer) GetMediaTagVersion added in v0.13.0

func (o *GetRecentlyAddedLibraryMediaContainer) GetMediaTagVersion() *float64

func (*GetRecentlyAddedLibraryMediaContainer) GetMetadata added in v0.13.0

func (*GetRecentlyAddedLibraryMediaContainer) GetMixedParents added in v0.13.0

func (o *GetRecentlyAddedLibraryMediaContainer) GetMixedParents() *bool

func (*GetRecentlyAddedLibraryMediaContainer) GetSize added in v0.13.0

func (*GetRecentlyAddedLibraryMediaContainer) GetType added in v0.13.0

type GetRecentlyAddedLibraryMetadata added in v0.13.0

type GetRecentlyAddedLibraryMetadata struct {
	AllowSync             *bool                             `json:"allowSync,omitempty"`
	LibrarySectionID      *float64                          `json:"librarySectionID,omitempty"`
	LibrarySectionTitle   *string                           `json:"librarySectionTitle,omitempty"`
	LibrarySectionUUID    *string                           `json:"librarySectionUUID,omitempty"`
	RatingKey             *float64                          `json:"ratingKey,omitempty"`
	Key                   *string                           `json:"key,omitempty"`
	GUID                  *string                           `json:"guid,omitempty"`
	Studio                *string                           `json:"studio,omitempty"`
	Type                  *string                           `json:"type,omitempty"`
	Title                 *string                           `json:"title,omitempty"`
	ContentRating         *string                           `json:"contentRating,omitempty"`
	Summary               *string                           `json:"summary,omitempty"`
	Rating                *float64                          `json:"rating,omitempty"`
	AudienceRating        *float64                          `json:"audienceRating,omitempty"`
	Year                  *float64                          `json:"year,omitempty"`
	Tagline               *string                           `json:"tagline,omitempty"`
	Thumb                 *string                           `json:"thumb,omitempty"`
	Art                   *string                           `json:"art,omitempty"`
	Duration              *float64                          `json:"duration,omitempty"`
	OriginallyAvailableAt *time.Time                        `json:"originallyAvailableAt,omitempty"`
	AddedAt               *float64                          `json:"addedAt,omitempty"`
	UpdatedAt             *float64                          `json:"updatedAt,omitempty"`
	AudienceRatingImage   *string                           `json:"audienceRatingImage,omitempty"`
	ChapterSource         *string                           `json:"chapterSource,omitempty"`
	PrimaryExtraKey       *string                           `json:"primaryExtraKey,omitempty"`
	RatingImage           *string                           `json:"ratingImage,omitempty"`
	Media                 []GetRecentlyAddedLibraryMedia    `json:"Media,omitempty"`
	Genre                 []GetRecentlyAddedLibraryGenre    `json:"Genre,omitempty"`
	Director              []GetRecentlyAddedLibraryDirector `json:"Director,omitempty"`
	Writer                []GetRecentlyAddedLibraryWriter   `json:"Writer,omitempty"`
	Country               []GetRecentlyAddedLibraryCountry  `json:"Country,omitempty"`
	Role                  []GetRecentlyAddedLibraryRole     `json:"Role,omitempty"`
}

func (*GetRecentlyAddedLibraryMetadata) GetAddedAt added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetAddedAt() *float64

func (*GetRecentlyAddedLibraryMetadata) GetAllowSync added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetAllowSync() *bool

func (*GetRecentlyAddedLibraryMetadata) GetArt added in v0.13.0

func (*GetRecentlyAddedLibraryMetadata) GetAudienceRating added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetAudienceRating() *float64

func (*GetRecentlyAddedLibraryMetadata) GetAudienceRatingImage added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetAudienceRatingImage() *string

func (*GetRecentlyAddedLibraryMetadata) GetChapterSource added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetChapterSource() *string

func (*GetRecentlyAddedLibraryMetadata) GetContentRating added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetContentRating() *string

func (*GetRecentlyAddedLibraryMetadata) GetCountry added in v0.13.0

func (*GetRecentlyAddedLibraryMetadata) GetDirector added in v0.13.0

func (*GetRecentlyAddedLibraryMetadata) GetDuration added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetDuration() *float64

func (*GetRecentlyAddedLibraryMetadata) GetGUID added in v0.13.0

func (*GetRecentlyAddedLibraryMetadata) GetGenre added in v0.13.0

func (*GetRecentlyAddedLibraryMetadata) GetKey added in v0.13.0

func (*GetRecentlyAddedLibraryMetadata) GetLibrarySectionID added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetLibrarySectionID() *float64

func (*GetRecentlyAddedLibraryMetadata) GetLibrarySectionTitle added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetLibrarySectionTitle() *string

func (*GetRecentlyAddedLibraryMetadata) GetLibrarySectionUUID added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetLibrarySectionUUID() *string

func (*GetRecentlyAddedLibraryMetadata) GetMedia added in v0.13.0

func (*GetRecentlyAddedLibraryMetadata) GetOriginallyAvailableAt added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetOriginallyAvailableAt() *time.Time

func (*GetRecentlyAddedLibraryMetadata) GetPrimaryExtraKey added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetPrimaryExtraKey() *string

func (*GetRecentlyAddedLibraryMetadata) GetRating added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetRating() *float64

func (*GetRecentlyAddedLibraryMetadata) GetRatingImage added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetRatingImage() *string

func (*GetRecentlyAddedLibraryMetadata) GetRatingKey added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetRatingKey() *float64

func (*GetRecentlyAddedLibraryMetadata) GetRole added in v0.13.0

func (*GetRecentlyAddedLibraryMetadata) GetStudio added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetStudio() *string

func (*GetRecentlyAddedLibraryMetadata) GetSummary added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetSummary() *string

func (*GetRecentlyAddedLibraryMetadata) GetTagline added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetTagline() *string

func (*GetRecentlyAddedLibraryMetadata) GetThumb added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetThumb() *string

func (*GetRecentlyAddedLibraryMetadata) GetTitle added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetTitle() *string

func (*GetRecentlyAddedLibraryMetadata) GetType added in v0.13.0

func (*GetRecentlyAddedLibraryMetadata) GetUpdatedAt added in v0.13.0

func (o *GetRecentlyAddedLibraryMetadata) GetUpdatedAt() *float64

func (*GetRecentlyAddedLibraryMetadata) GetWriter added in v0.13.0

func (*GetRecentlyAddedLibraryMetadata) GetYear added in v0.13.0

func (GetRecentlyAddedLibraryMetadata) MarshalJSON added in v0.13.0

func (g GetRecentlyAddedLibraryMetadata) MarshalJSON() ([]byte, error)

func (*GetRecentlyAddedLibraryMetadata) UnmarshalJSON added in v0.13.0

func (g *GetRecentlyAddedLibraryMetadata) UnmarshalJSON(data []byte) error

type GetRecentlyAddedLibraryPart added in v0.13.0

type GetRecentlyAddedLibraryPart struct {
	ID                    *float64 `json:"id,omitempty"`
	Key                   *string  `json:"key,omitempty"`
	Duration              *float64 `json:"duration,omitempty"`
	File                  *string  `json:"file,omitempty"`
	Size                  *float64 `json:"size,omitempty"`
	Container             *string  `json:"container,omitempty"`
	Has64bitOffsets       *bool    `json:"has64bitOffsets,omitempty"`
	HasThumbnail          *float64 `json:"hasThumbnail,omitempty"`
	OptimizedForStreaming *bool    `json:"optimizedForStreaming,omitempty"`
	VideoProfile          *string  `json:"videoProfile,omitempty"`
}

func (*GetRecentlyAddedLibraryPart) GetContainer added in v0.13.0

func (o *GetRecentlyAddedLibraryPart) GetContainer() *string

func (*GetRecentlyAddedLibraryPart) GetDuration added in v0.13.0

func (o *GetRecentlyAddedLibraryPart) GetDuration() *float64

func (*GetRecentlyAddedLibraryPart) GetFile added in v0.13.0

func (o *GetRecentlyAddedLibraryPart) GetFile() *string

func (*GetRecentlyAddedLibraryPart) GetHas64bitOffsets added in v0.13.0

func (o *GetRecentlyAddedLibraryPart) GetHas64bitOffsets() *bool

func (*GetRecentlyAddedLibraryPart) GetHasThumbnail added in v0.13.0

func (o *GetRecentlyAddedLibraryPart) GetHasThumbnail() *float64

func (*GetRecentlyAddedLibraryPart) GetID added in v0.13.0

func (*GetRecentlyAddedLibraryPart) GetKey added in v0.13.0

func (o *GetRecentlyAddedLibraryPart) GetKey() *string

func (*GetRecentlyAddedLibraryPart) GetOptimizedForStreaming added in v0.13.0

func (o *GetRecentlyAddedLibraryPart) GetOptimizedForStreaming() *bool

func (*GetRecentlyAddedLibraryPart) GetSize added in v0.13.0

func (o *GetRecentlyAddedLibraryPart) GetSize() *float64

func (*GetRecentlyAddedLibraryPart) GetVideoProfile added in v0.13.0

func (o *GetRecentlyAddedLibraryPart) GetVideoProfile() *string

type GetRecentlyAddedLibraryRequest added in v0.13.0

type GetRecentlyAddedLibraryRequest struct {
	ContentDirectoryID       *int64  `queryParam:"style=form,explode=true,name=contentDirectoryID"`
	PinnedContentDirectoryID []int64 `queryParam:"style=form,explode=true,name=pinnedContentDirectoryID"`
	// The library section ID for filtering content.
	SectionID *int64 `queryParam:"style=form,explode=true,name=sectionID"`
	// The type of media to retrieve or filter by.
	// 1 = movie
	// 2 = show
	// 3 = season
	// 4 = episode
	// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
	//
	Type QueryParamType `queryParam:"style=form,explode=true,name=type"`
	// Adds the Meta object to the response
	//
	IncludeMeta *QueryParamIncludeMeta `default:"0" queryParam:"style=form,explode=true,name=includeMeta"`
	// The index of the first item to return. If not specified, the first item will be returned.
	// If the number of items exceeds the limit, the response will be paginated.
	// By default this is 0
	//
	XPlexContainerStart *int `default:"0" queryParam:"style=form,explode=true,name=X-Plex-Container-Start"`
	// The number of items to return. If not specified, all items will be returned.
	// If the number of items exceeds the limit, the response will be paginated.
	// By default this is 50
	//
	XPlexContainerSize *int `default:"50" queryParam:"style=form,explode=true,name=X-Plex-Container-Size"`
}

func (*GetRecentlyAddedLibraryRequest) GetContentDirectoryID added in v0.13.0

func (o *GetRecentlyAddedLibraryRequest) GetContentDirectoryID() *int64

func (*GetRecentlyAddedLibraryRequest) GetIncludeMeta added in v0.13.0

func (*GetRecentlyAddedLibraryRequest) GetPinnedContentDirectoryID added in v0.13.0

func (o *GetRecentlyAddedLibraryRequest) GetPinnedContentDirectoryID() []int64

func (*GetRecentlyAddedLibraryRequest) GetSectionID added in v0.13.0

func (o *GetRecentlyAddedLibraryRequest) GetSectionID() *int64

func (*GetRecentlyAddedLibraryRequest) GetType added in v0.13.0

func (*GetRecentlyAddedLibraryRequest) GetXPlexContainerSize added in v0.13.0

func (o *GetRecentlyAddedLibraryRequest) GetXPlexContainerSize() *int

func (*GetRecentlyAddedLibraryRequest) GetXPlexContainerStart added in v0.13.0

func (o *GetRecentlyAddedLibraryRequest) GetXPlexContainerStart() *int

func (GetRecentlyAddedLibraryRequest) MarshalJSON added in v0.13.0

func (g GetRecentlyAddedLibraryRequest) MarshalJSON() ([]byte, error)

func (*GetRecentlyAddedLibraryRequest) UnmarshalJSON added in v0.13.0

func (g *GetRecentlyAddedLibraryRequest) UnmarshalJSON(data []byte) error

type GetRecentlyAddedLibraryResponse added in v0.13.0

type GetRecentlyAddedLibraryResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The recently added content
	Object *GetRecentlyAddedLibraryResponseBody
}

func (*GetRecentlyAddedLibraryResponse) GetContentType added in v0.13.0

func (o *GetRecentlyAddedLibraryResponse) GetContentType() string

func (*GetRecentlyAddedLibraryResponse) GetObject added in v0.13.0

func (*GetRecentlyAddedLibraryResponse) GetRawResponse added in v0.13.0

func (o *GetRecentlyAddedLibraryResponse) GetRawResponse() *http.Response

func (*GetRecentlyAddedLibraryResponse) GetStatusCode added in v0.13.0

func (o *GetRecentlyAddedLibraryResponse) GetStatusCode() int

type GetRecentlyAddedLibraryResponseBody added in v0.13.0

type GetRecentlyAddedLibraryResponseBody struct {
	MediaContainer *GetRecentlyAddedLibraryMediaContainer `json:"MediaContainer,omitempty"`
}

GetRecentlyAddedLibraryResponseBody - The recently added content

func (*GetRecentlyAddedLibraryResponseBody) GetMediaContainer added in v0.13.0

type GetRecentlyAddedLibraryRole added in v0.13.0

type GetRecentlyAddedLibraryRole struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetRecentlyAddedLibraryRole) GetTag added in v0.13.0

func (o *GetRecentlyAddedLibraryRole) GetTag() *string

type GetRecentlyAddedLibraryType added in v0.13.0

type GetRecentlyAddedLibraryType struct {
	Key     string                          `json:"key"`
	Type    string                          `json:"type"`
	Subtype *string                         `json:"subtype,omitempty"`
	Title   string                          `json:"title"`
	Active  bool                            `json:"active"`
	Filter  []GetRecentlyAddedLibraryFilter `json:"Filter,omitempty"`
	Sort    []Sort                          `json:"Sort,omitempty"`
	Field   []Field                         `json:"Field,omitempty"`
}

func (*GetRecentlyAddedLibraryType) GetActive added in v0.13.0

func (o *GetRecentlyAddedLibraryType) GetActive() bool

func (*GetRecentlyAddedLibraryType) GetField added in v0.13.0

func (o *GetRecentlyAddedLibraryType) GetField() []Field

func (*GetRecentlyAddedLibraryType) GetFilter added in v0.13.0

func (*GetRecentlyAddedLibraryType) GetKey added in v0.13.0

func (o *GetRecentlyAddedLibraryType) GetKey() string

func (*GetRecentlyAddedLibraryType) GetSort added in v0.13.0

func (o *GetRecentlyAddedLibraryType) GetSort() []Sort

func (*GetRecentlyAddedLibraryType) GetSubtype added in v0.19.0

func (o *GetRecentlyAddedLibraryType) GetSubtype() *string

func (*GetRecentlyAddedLibraryType) GetTitle added in v0.13.0

func (o *GetRecentlyAddedLibraryType) GetTitle() string

func (*GetRecentlyAddedLibraryType) GetType added in v0.13.0

func (o *GetRecentlyAddedLibraryType) GetType() string

type GetRecentlyAddedLibraryWriter added in v0.13.0

type GetRecentlyAddedLibraryWriter struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetRecentlyAddedLibraryWriter) GetTag added in v0.13.0

type GetRecentlyAddedMediaContainer

type GetRecentlyAddedMediaContainer struct {
	Size       int64   `json:"size"`
	Offset     *int    `json:"offset,omitempty"`
	TotalSize  *int    `json:"totalSize,omitempty"`
	Identifier *string `json:"identifier,omitempty"`
	AllowSync  *bool   `json:"allowSync,omitempty"`
	// The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
	//
	Meta     *Meta                      `json:"Meta,omitempty"`
	Metadata []GetRecentlyAddedMetadata `json:"Metadata,omitempty"`
}

func (*GetRecentlyAddedMediaContainer) GetAllowSync

func (o *GetRecentlyAddedMediaContainer) GetAllowSync() *bool

func (*GetRecentlyAddedMediaContainer) GetIdentifier

func (o *GetRecentlyAddedMediaContainer) GetIdentifier() *string

func (*GetRecentlyAddedMediaContainer) GetMeta added in v0.13.0

func (o *GetRecentlyAddedMediaContainer) GetMeta() *Meta

func (*GetRecentlyAddedMediaContainer) GetMetadata

func (*GetRecentlyAddedMediaContainer) GetOffset added in v0.13.0

func (o *GetRecentlyAddedMediaContainer) GetOffset() *int

func (*GetRecentlyAddedMediaContainer) GetSize

func (*GetRecentlyAddedMediaContainer) GetTotalSize added in v0.13.0

func (o *GetRecentlyAddedMediaContainer) GetTotalSize() *int

type GetRecentlyAddedMetadata added in v0.9.0

type GetRecentlyAddedMetadata struct {
	// The rating key (Media ID) of this media item.
	// Note: This is always an integer, but is represented as a string in the API.
	//
	RatingKey           string  `json:"ratingKey"`
	Key                 string  `json:"key"`
	GUID                string  `json:"guid"`
	Studio              *string `json:"studio,omitempty"`
	SkipChildren        *bool   `json:"skipChildren,omitempty"`
	LibrarySectionID    *int64  `json:"librarySectionID,omitempty"`
	LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
	LibrarySectionKey   *string `json:"librarySectionKey,omitempty"`
	// The type of media content
	//
	Type           GetRecentlyAddedHubsType `json:"type"`
	Title          string                   `json:"title"`
	Slug           *string                  `json:"slug,omitempty"`
	ContentRating  *string                  `json:"contentRating,omitempty"`
	Summary        string                   `json:"summary"`
	Rating         *float64                 `json:"rating,omitempty"`
	AudienceRating *float64                 `json:"audienceRating,omitempty"`
	Year           *int                     `json:"year,omitempty"`
	SeasonCount    *int                     `json:"seasonCount,omitempty"`
	Tagline        *string                  `json:"tagline,omitempty"`
	// Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show).
	FlattenSeasons *FlattenSeasons `json:"flattenSeasons,omitempty"`
	// Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).
	EpisodeSort *EpisodeSort `json:"episodeSort,omitempty"`
	// Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).
	EnableCreditsMarkerGeneration *EnableCreditsMarkerGeneration `json:"enableCreditsMarkerGeneration,omitempty"`
	// Setting that indicates the episode ordering for the show.
	// None = Library default,
	// tmdbAiring = The Movie Database (Aired),
	// aired = TheTVDB (Aired),
	// dvd = TheTVDB (DVD),
	// absolute = TheTVDB (Absolute)).
	//
	ShowOrdering          *ShowOrdering `json:"showOrdering,omitempty"`
	Thumb                 *string       `json:"thumb,omitempty"`
	Art                   *string       `json:"art,omitempty"`
	Banner                *string       `json:"banner,omitempty"`
	Duration              *int          `json:"duration,omitempty"`
	OriginallyAvailableAt *types.Date   `json:"originallyAvailableAt,omitempty"`
	// Unix epoch datetime in seconds
	AddedAt int64 `json:"addedAt"`
	// Unix epoch datetime in seconds
	UpdatedAt            *int64  `json:"updatedAt,omitempty"`
	AudienceRatingImage  *string `json:"audienceRatingImage,omitempty"`
	ChapterSource        *string `json:"chapterSource,omitempty"`
	PrimaryExtraKey      *string `json:"primaryExtraKey,omitempty"`
	RatingImage          *string `json:"ratingImage,omitempty"`
	GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
	GrandparentGUID      *string `json:"grandparentGuid,omitempty"`
	GrandparentKey       *string `json:"grandparentKey,omitempty"`
	GrandparentTitle     *string `json:"grandparentTitle,omitempty"`
	GrandparentThumb     *string `json:"grandparentThumb,omitempty"`
	ParentSlug           *string `json:"parentSlug,omitempty"`
	GrandparentSlug      *string `json:"grandparentSlug,omitempty"`
	GrandparentArt       *string `json:"grandparentArt,omitempty"`
	GrandparentTheme     *string `json:"grandparentTheme,omitempty"`
	// The Media object is only included when type query is `4` or higher.
	//
	Media      []Media      `json:"Media,omitempty"`
	Genre      []Genre      `json:"Genre,omitempty"`
	Country    []Country    `json:"Country,omitempty"`
	Director   []Director   `json:"Director,omitempty"`
	Writer     []Writer     `json:"Writer,omitempty"`
	Collection []Collection `json:"Collection,omitempty"`
	Role       []Role       `json:"Role,omitempty"`
	Location   []Location   `json:"Location,omitempty"`
	// The Guid object is only included in the response if the `includeGuids` parameter is set to `1`.
	//
	MediaGUID              []MediaGUID             `json:"Guid,omitempty"`
	UltraBlurColors        *UltraBlurColors        `json:"UltraBlurColors,omitempty"`
	MetaDataRating         []MetaDataRating        `json:"Rating,omitempty"`
	Image                  []GetRecentlyAddedImage `json:"Image,omitempty"`
	TitleSort              *string                 `json:"titleSort,omitempty"`
	ViewCount              *int                    `json:"viewCount,omitempty"`
	LastViewedAt           *int                    `json:"lastViewedAt,omitempty"`
	OriginalTitle          *string                 `json:"originalTitle,omitempty"`
	ViewOffset             *int                    `json:"viewOffset,omitempty"`
	SkipCount              *int                    `json:"skipCount,omitempty"`
	Index                  *int                    `json:"index,omitempty"`
	Theme                  *string                 `json:"theme,omitempty"`
	LeafCount              *int                    `json:"leafCount,omitempty"`
	ViewedLeafCount        *int                    `json:"viewedLeafCount,omitempty"`
	ChildCount             *int                    `json:"childCount,omitempty"`
	HasPremiumExtras       *string                 `json:"hasPremiumExtras,omitempty"`
	HasPremiumPrimaryExtra *string                 `json:"hasPremiumPrimaryExtra,omitempty"`
	// The rating key of the parent item.
	//
	ParentRatingKey *string `json:"parentRatingKey,omitempty"`
	ParentGUID      *string `json:"parentGuid,omitempty"`
	ParentStudio    *string `json:"parentStudio,omitempty"`
	ParentKey       *string `json:"parentKey,omitempty"`
	ParentTitle     *string `json:"parentTitle,omitempty"`
	ParentIndex     *int    `json:"parentIndex,omitempty"`
	ParentYear      *int    `json:"parentYear,omitempty"`
	ParentThumb     *string `json:"parentThumb,omitempty"`
	ParentTheme     *string `json:"parentTheme,omitempty"`
}

func (*GetRecentlyAddedMetadata) GetAddedAt added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetAddedAt() int64

func (*GetRecentlyAddedMetadata) GetArt added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetArt() *string

func (*GetRecentlyAddedMetadata) GetAudienceRating added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetAudienceRating() *float64

func (*GetRecentlyAddedMetadata) GetAudienceRatingImage added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetAudienceRatingImage() *string

func (*GetRecentlyAddedMetadata) GetBanner added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetBanner() *string

func (*GetRecentlyAddedMetadata) GetChapterSource added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetChapterSource() *string

func (*GetRecentlyAddedMetadata) GetChildCount added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetChildCount() *int

func (*GetRecentlyAddedMetadata) GetCollection added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetCollection() []Collection

func (*GetRecentlyAddedMetadata) GetContentRating added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetContentRating() *string

func (*GetRecentlyAddedMetadata) GetCountry added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetCountry() []Country

func (*GetRecentlyAddedMetadata) GetDirector added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetDirector() []Director

func (*GetRecentlyAddedMetadata) GetDuration added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetDuration() *int

func (*GetRecentlyAddedMetadata) GetEnableCreditsMarkerGeneration added in v0.17.2

func (o *GetRecentlyAddedMetadata) GetEnableCreditsMarkerGeneration() *EnableCreditsMarkerGeneration

func (*GetRecentlyAddedMetadata) GetEpisodeSort added in v0.17.2

func (o *GetRecentlyAddedMetadata) GetEpisodeSort() *EpisodeSort

func (*GetRecentlyAddedMetadata) GetFlattenSeasons added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetFlattenSeasons() *FlattenSeasons

func (*GetRecentlyAddedMetadata) GetGUID added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetGUID() string

func (*GetRecentlyAddedMetadata) GetGenre added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetGenre() []Genre

func (*GetRecentlyAddedMetadata) GetGrandparentArt added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetGrandparentArt() *string

func (*GetRecentlyAddedMetadata) GetGrandparentGUID added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetGrandparentGUID() *string

func (*GetRecentlyAddedMetadata) GetGrandparentKey added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetGrandparentKey() *string

func (*GetRecentlyAddedMetadata) GetGrandparentRatingKey added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetGrandparentRatingKey() *string

func (*GetRecentlyAddedMetadata) GetGrandparentSlug added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetGrandparentSlug() *string

func (*GetRecentlyAddedMetadata) GetGrandparentTheme added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetGrandparentTheme() *string

func (*GetRecentlyAddedMetadata) GetGrandparentThumb added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetGrandparentThumb() *string

func (*GetRecentlyAddedMetadata) GetGrandparentTitle added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetGrandparentTitle() *string

func (*GetRecentlyAddedMetadata) GetHasPremiumExtras added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetHasPremiumExtras() *string

func (*GetRecentlyAddedMetadata) GetHasPremiumPrimaryExtra added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetHasPremiumPrimaryExtra() *string

func (*GetRecentlyAddedMetadata) GetImage added in v0.13.0

func (*GetRecentlyAddedMetadata) GetIndex added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetIndex() *int

func (*GetRecentlyAddedMetadata) GetKey added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetKey() string

func (*GetRecentlyAddedMetadata) GetLastViewedAt added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetLastViewedAt() *int

func (*GetRecentlyAddedMetadata) GetLeafCount added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetLeafCount() *int

func (*GetRecentlyAddedMetadata) GetLibrarySectionID added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetLibrarySectionID() *int64

func (*GetRecentlyAddedMetadata) GetLibrarySectionKey added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetLibrarySectionKey() *string

func (*GetRecentlyAddedMetadata) GetLibrarySectionTitle added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetLibrarySectionTitle() *string

func (*GetRecentlyAddedMetadata) GetLocation added in v0.15.0

func (o *GetRecentlyAddedMetadata) GetLocation() []Location

func (*GetRecentlyAddedMetadata) GetMedia added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetMedia() []Media

func (*GetRecentlyAddedMetadata) GetMediaGUID added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetMediaGUID() []MediaGUID

func (*GetRecentlyAddedMetadata) GetMetaDataRating added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetMetaDataRating() []MetaDataRating

func (*GetRecentlyAddedMetadata) GetOriginalTitle added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetOriginalTitle() *string

func (*GetRecentlyAddedMetadata) GetOriginallyAvailableAt added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetOriginallyAvailableAt() *types.Date

func (*GetRecentlyAddedMetadata) GetParentGUID added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetParentGUID() *string

func (*GetRecentlyAddedMetadata) GetParentIndex added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetParentIndex() *int

func (*GetRecentlyAddedMetadata) GetParentKey added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetParentKey() *string

func (*GetRecentlyAddedMetadata) GetParentRatingKey added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetParentRatingKey() *string

func (*GetRecentlyAddedMetadata) GetParentSlug added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetParentSlug() *string

func (*GetRecentlyAddedMetadata) GetParentStudio added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetParentStudio() *string

func (*GetRecentlyAddedMetadata) GetParentTheme added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetParentTheme() *string

func (*GetRecentlyAddedMetadata) GetParentThumb added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetParentThumb() *string

func (*GetRecentlyAddedMetadata) GetParentTitle added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetParentTitle() *string

func (*GetRecentlyAddedMetadata) GetParentYear added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetParentYear() *int

func (*GetRecentlyAddedMetadata) GetPrimaryExtraKey added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetPrimaryExtraKey() *string

func (*GetRecentlyAddedMetadata) GetRating added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetRating() *float64

func (*GetRecentlyAddedMetadata) GetRatingImage added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetRatingImage() *string

func (*GetRecentlyAddedMetadata) GetRatingKey added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetRatingKey() string

func (*GetRecentlyAddedMetadata) GetRole added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetRole() []Role

func (*GetRecentlyAddedMetadata) GetSeasonCount added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetSeasonCount() *int

func (*GetRecentlyAddedMetadata) GetShowOrdering added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetShowOrdering() *ShowOrdering

func (*GetRecentlyAddedMetadata) GetSkipChildren added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetSkipChildren() *bool

func (*GetRecentlyAddedMetadata) GetSkipCount added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetSkipCount() *int

func (*GetRecentlyAddedMetadata) GetSlug added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetSlug() *string

func (*GetRecentlyAddedMetadata) GetStudio added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetStudio() *string

func (*GetRecentlyAddedMetadata) GetSummary added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetSummary() string

func (*GetRecentlyAddedMetadata) GetTagline added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetTagline() *string

func (*GetRecentlyAddedMetadata) GetTheme added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetTheme() *string

func (*GetRecentlyAddedMetadata) GetThumb added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetThumb() *string

func (*GetRecentlyAddedMetadata) GetTitle added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetTitle() string

func (*GetRecentlyAddedMetadata) GetTitleSort added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetTitleSort() *string

func (*GetRecentlyAddedMetadata) GetType added in v0.9.0

func (*GetRecentlyAddedMetadata) GetUltraBlurColors added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetUltraBlurColors() *UltraBlurColors

func (*GetRecentlyAddedMetadata) GetUpdatedAt added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetUpdatedAt() *int64

func (*GetRecentlyAddedMetadata) GetViewCount added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetViewCount() *int

func (*GetRecentlyAddedMetadata) GetViewOffset added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetViewOffset() *int

func (*GetRecentlyAddedMetadata) GetViewedLeafCount added in v0.13.0

func (o *GetRecentlyAddedMetadata) GetViewedLeafCount() *int

func (*GetRecentlyAddedMetadata) GetWriter added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetWriter() []Writer

func (*GetRecentlyAddedMetadata) GetYear added in v0.9.0

func (o *GetRecentlyAddedMetadata) GetYear() *int

func (GetRecentlyAddedMetadata) MarshalJSON added in v0.9.0

func (g GetRecentlyAddedMetadata) MarshalJSON() ([]byte, error)

func (*GetRecentlyAddedMetadata) UnmarshalJSON added in v0.9.0

func (g *GetRecentlyAddedMetadata) UnmarshalJSON(data []byte) error

type GetRecentlyAddedOperator added in v0.13.0

type GetRecentlyAddedOperator struct {
	Key   string `json:"key"`
	Title string `json:"title"`
}

func (*GetRecentlyAddedOperator) GetKey added in v0.13.0

func (o *GetRecentlyAddedOperator) GetKey() string

func (*GetRecentlyAddedOperator) GetTitle added in v0.13.0

func (o *GetRecentlyAddedOperator) GetTitle() string

type GetRecentlyAddedRequest added in v0.11.1

type GetRecentlyAddedRequest struct {
	// The content directory ID.
	ContentDirectoryID int64 `queryParam:"style=form,explode=true,name=contentDirectoryID"`
	// Comma-separated list of pinned content directory IDs.
	PinnedContentDirectoryID *string `queryParam:"style=form,explode=true,name=pinnedContentDirectoryID"`
	// The library section ID for filtering content.
	SectionID *int64 `queryParam:"style=form,explode=true,name=sectionID"`
	// The type of media to retrieve or filter by.
	// 1 = movie
	// 2 = show
	// 3 = season
	// 4 = episode
	// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
	//
	Type Type `queryParam:"style=form,explode=true,name=type"`
	// Adds the Meta object to the response
	//
	IncludeMeta *IncludeMeta `default:"0" queryParam:"style=form,explode=true,name=includeMeta"`
	// The index of the first item to return. If not specified, the first item will be returned.
	// If the number of items exceeds the limit, the response will be paginated.
	// By default this is 0
	//
	XPlexContainerStart *int `default:"0" queryParam:"style=form,explode=true,name=X-Plex-Container-Start"`
	// The number of items to return. If not specified, all items will be returned.
	// If the number of items exceeds the limit, the response will be paginated.
	// By default this is 50
	//
	XPlexContainerSize *int `default:"50" queryParam:"style=form,explode=true,name=X-Plex-Container-Size"`
}

func (*GetRecentlyAddedRequest) GetContentDirectoryID added in v0.13.0

func (o *GetRecentlyAddedRequest) GetContentDirectoryID() int64

func (*GetRecentlyAddedRequest) GetIncludeMeta added in v0.13.0

func (o *GetRecentlyAddedRequest) GetIncludeMeta() *IncludeMeta

func (*GetRecentlyAddedRequest) GetPinnedContentDirectoryID added in v0.13.0

func (o *GetRecentlyAddedRequest) GetPinnedContentDirectoryID() *string

func (*GetRecentlyAddedRequest) GetSectionID added in v0.13.0

func (o *GetRecentlyAddedRequest) GetSectionID() *int64

func (*GetRecentlyAddedRequest) GetType added in v0.13.0

func (o *GetRecentlyAddedRequest) GetType() Type

func (*GetRecentlyAddedRequest) GetXPlexContainerSize added in v0.11.1

func (o *GetRecentlyAddedRequest) GetXPlexContainerSize() *int

func (*GetRecentlyAddedRequest) GetXPlexContainerStart added in v0.11.1

func (o *GetRecentlyAddedRequest) GetXPlexContainerStart() *int

func (GetRecentlyAddedRequest) MarshalJSON added in v0.11.1

func (g GetRecentlyAddedRequest) MarshalJSON() ([]byte, error)

func (*GetRecentlyAddedRequest) UnmarshalJSON added in v0.11.1

func (g *GetRecentlyAddedRequest) UnmarshalJSON(data []byte) error

type GetRecentlyAddedResponse

type GetRecentlyAddedResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// A successful response with recently added content.
	Object *GetRecentlyAddedResponseBody
}

func (*GetRecentlyAddedResponse) GetContentType

func (o *GetRecentlyAddedResponse) GetContentType() string

func (*GetRecentlyAddedResponse) GetObject

func (*GetRecentlyAddedResponse) GetRawResponse

func (o *GetRecentlyAddedResponse) GetRawResponse() *http.Response

func (*GetRecentlyAddedResponse) GetStatusCode

func (o *GetRecentlyAddedResponse) GetStatusCode() int

type GetRecentlyAddedResponseBody

type GetRecentlyAddedResponseBody struct {
	MediaContainer *GetRecentlyAddedMediaContainer `json:"MediaContainer,omitempty"`
}

GetRecentlyAddedResponseBody - A successful response with recently added content.

func (*GetRecentlyAddedResponseBody) GetMediaContainer

type GetRecentlyAddedSort added in v0.13.0

type GetRecentlyAddedSort struct {
	Default *string `json:"default,omitempty"`
	Active  *bool   `json:"active,omitempty"`
	// The direction of the sort. Can be either `asc` or `desc`.
	//
	ActiveDirection *GetRecentlyAddedActiveDirection `default:"asc" json:"activeDirection"`
	// The direction of the sort. Can be either `asc` or `desc`.
	//
	DefaultDirection  *GetRecentlyAddedDefaultDirection `default:"asc" json:"defaultDirection"`
	DescKey           *string                           `json:"descKey,omitempty"`
	FirstCharacterKey *string                           `json:"firstCharacterKey,omitempty"`
	Key               string                            `json:"key"`
	Title             string                            `json:"title"`
}

func (*GetRecentlyAddedSort) GetActive added in v0.13.0

func (o *GetRecentlyAddedSort) GetActive() *bool

func (*GetRecentlyAddedSort) GetActiveDirection added in v0.13.0

func (o *GetRecentlyAddedSort) GetActiveDirection() *GetRecentlyAddedActiveDirection

func (*GetRecentlyAddedSort) GetDefault added in v0.13.0

func (o *GetRecentlyAddedSort) GetDefault() *string

func (*GetRecentlyAddedSort) GetDefaultDirection added in v0.13.0

func (o *GetRecentlyAddedSort) GetDefaultDirection() *GetRecentlyAddedDefaultDirection

func (*GetRecentlyAddedSort) GetDescKey added in v0.13.0

func (o *GetRecentlyAddedSort) GetDescKey() *string

func (*GetRecentlyAddedSort) GetFirstCharacterKey added in v0.13.0

func (o *GetRecentlyAddedSort) GetFirstCharacterKey() *string

func (*GetRecentlyAddedSort) GetKey added in v0.13.0

func (o *GetRecentlyAddedSort) GetKey() string

func (*GetRecentlyAddedSort) GetTitle added in v0.13.0

func (o *GetRecentlyAddedSort) GetTitle() string

func (GetRecentlyAddedSort) MarshalJSON added in v0.13.0

func (g GetRecentlyAddedSort) MarshalJSON() ([]byte, error)

func (*GetRecentlyAddedSort) UnmarshalJSON added in v0.13.0

func (g *GetRecentlyAddedSort) UnmarshalJSON(data []byte) error

type GetRecentlyAddedType added in v0.13.0

type GetRecentlyAddedType struct {
	Key     string                   `json:"key"`
	Type    string                   `json:"type"`
	Subtype *string                  `json:"subtype,omitempty"`
	Title   string                   `json:"title"`
	Active  bool                     `json:"active"`
	Filter  []GetRecentlyAddedFilter `json:"Filter,omitempty"`
	Sort    []GetRecentlyAddedSort   `json:"Sort,omitempty"`
	Field   []GetRecentlyAddedField  `json:"Field,omitempty"`
}

func (*GetRecentlyAddedType) GetActive added in v0.13.0

func (o *GetRecentlyAddedType) GetActive() bool

func (*GetRecentlyAddedType) GetField added in v0.13.0

func (*GetRecentlyAddedType) GetFilter added in v0.13.0

func (*GetRecentlyAddedType) GetKey added in v0.13.0

func (o *GetRecentlyAddedType) GetKey() string

func (*GetRecentlyAddedType) GetSort added in v0.13.0

func (*GetRecentlyAddedType) GetSubtype added in v0.19.0

func (o *GetRecentlyAddedType) GetSubtype() *string

func (*GetRecentlyAddedType) GetTitle added in v0.13.0

func (o *GetRecentlyAddedType) GetTitle() string

func (*GetRecentlyAddedType) GetType added in v0.13.0

func (o *GetRecentlyAddedType) GetType() string

type GetRefreshLibraryMetadataRequest added in v0.11.1

type GetRefreshLibraryMetadataRequest struct {
	// Force the refresh even if the library is already being refreshed.
	Force *Force `queryParam:"style=form,explode=true,name=force"`
	// The unique key of the Plex library.
	// Note: This is unique in the context of the Plex server.
	//
	SectionKey int `pathParam:"style=simple,explode=false,name=sectionKey"`
}

func (*GetRefreshLibraryMetadataRequest) GetForce added in v0.11.1

func (o *GetRefreshLibraryMetadataRequest) GetForce() *Force

func (*GetRefreshLibraryMetadataRequest) GetSectionKey added in v0.11.1

func (o *GetRefreshLibraryMetadataRequest) GetSectionKey() int

type GetRefreshLibraryMetadataResponse added in v0.11.1

type GetRefreshLibraryMetadataResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetRefreshLibraryMetadataResponse) GetContentType added in v0.11.1

func (o *GetRefreshLibraryMetadataResponse) GetContentType() string

func (*GetRefreshLibraryMetadataResponse) GetRawResponse added in v0.11.1

func (o *GetRefreshLibraryMetadataResponse) GetRawResponse() *http.Response

func (*GetRefreshLibraryMetadataResponse) GetStatusCode added in v0.11.1

func (o *GetRefreshLibraryMetadataResponse) GetStatusCode() int

type GetResizedPhotoRequest

type GetResizedPhotoRequest struct {
	// The width for the resized photo
	Width float64 `queryParam:"style=form,explode=true,name=width"`
	// The height for the resized photo
	Height float64 `queryParam:"style=form,explode=true,name=height"`
	// The opacity for the resized photo
	Opacity int64 `default:"100" queryParam:"style=form,explode=true,name=opacity"`
	// The width for the resized photo
	Blur float64 `queryParam:"style=form,explode=true,name=blur"`
	// images are always scaled proportionally. A value of '1' in minSize will make the smaller native dimension the dimension resized against.
	MinSize MinSize `queryParam:"style=form,explode=true,name=minSize"`
	// allow images to be resized beyond native dimensions.
	Upscale Upscale `queryParam:"style=form,explode=true,name=upscale"`
	// path to image within Plex
	URL string `queryParam:"style=form,explode=true,name=url"`
}

func (*GetResizedPhotoRequest) GetBlur

func (o *GetResizedPhotoRequest) GetBlur() float64

func (*GetResizedPhotoRequest) GetHeight

func (o *GetResizedPhotoRequest) GetHeight() float64

func (*GetResizedPhotoRequest) GetMinSize

func (o *GetResizedPhotoRequest) GetMinSize() MinSize

func (*GetResizedPhotoRequest) GetOpacity

func (o *GetResizedPhotoRequest) GetOpacity() int64

func (*GetResizedPhotoRequest) GetURL

func (o *GetResizedPhotoRequest) GetURL() string

func (*GetResizedPhotoRequest) GetUpscale

func (o *GetResizedPhotoRequest) GetUpscale() Upscale

func (*GetResizedPhotoRequest) GetWidth

func (o *GetResizedPhotoRequest) GetWidth() float64

func (GetResizedPhotoRequest) MarshalJSON

func (g GetResizedPhotoRequest) MarshalJSON() ([]byte, error)

func (*GetResizedPhotoRequest) UnmarshalJSON

func (g *GetResizedPhotoRequest) UnmarshalJSON(data []byte) error

type GetResizedPhotoResponse

type GetResizedPhotoResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetResizedPhotoResponse) GetContentType

func (o *GetResizedPhotoResponse) GetContentType() string

func (*GetResizedPhotoResponse) GetRawResponse

func (o *GetResizedPhotoResponse) GetRawResponse() *http.Response

func (*GetResizedPhotoResponse) GetStatusCode

func (o *GetResizedPhotoResponse) GetStatusCode() int

type GetResourcesStatisticsMediaContainer added in v0.10.0

type GetResourcesStatisticsMediaContainer struct {
	Size                *int                  `json:"size,omitempty"`
	StatisticsResources []StatisticsResources `json:"StatisticsResources,omitempty"`
}

func (*GetResourcesStatisticsMediaContainer) GetSize added in v0.10.0

func (*GetResourcesStatisticsMediaContainer) GetStatisticsResources added in v0.10.0

func (o *GetResourcesStatisticsMediaContainer) GetStatisticsResources() []StatisticsResources

type GetResourcesStatisticsRequest added in v0.10.0

type GetResourcesStatisticsRequest struct {
	// The timespan to retrieve statistics for
	// the exact meaning of this parameter is not known
	//
	Timespan *int64 `queryParam:"style=form,explode=true,name=timespan"`
}

func (*GetResourcesStatisticsRequest) GetTimespan added in v0.10.0

func (o *GetResourcesStatisticsRequest) GetTimespan() *int64

type GetResourcesStatisticsResponse added in v0.10.0

type GetResourcesStatisticsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Resource Statistics
	Object *GetResourcesStatisticsResponseBody
}

func (*GetResourcesStatisticsResponse) GetContentType added in v0.10.0

func (o *GetResourcesStatisticsResponse) GetContentType() string

func (*GetResourcesStatisticsResponse) GetObject added in v0.10.0

func (*GetResourcesStatisticsResponse) GetRawResponse added in v0.10.0

func (o *GetResourcesStatisticsResponse) GetRawResponse() *http.Response

func (*GetResourcesStatisticsResponse) GetStatusCode added in v0.10.0

func (o *GetResourcesStatisticsResponse) GetStatusCode() int

type GetResourcesStatisticsResponseBody added in v0.10.0

type GetResourcesStatisticsResponseBody struct {
	MediaContainer *GetResourcesStatisticsMediaContainer `json:"MediaContainer,omitempty"`
}

GetResourcesStatisticsResponseBody - Resource Statistics

func (*GetResourcesStatisticsResponseBody) GetMediaContainer added in v0.10.0

type GetSearchAllLibrariesCollection added in v0.15.0

type GetSearchAllLibrariesCollection struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetSearchAllLibrariesCollection) GetTag added in v0.15.0

type GetSearchAllLibrariesCountry added in v0.15.0

type GetSearchAllLibrariesCountry struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetSearchAllLibrariesCountry) GetTag added in v0.15.0

func (o *GetSearchAllLibrariesCountry) GetTag() *string

type GetSearchAllLibrariesDirector added in v0.15.0

type GetSearchAllLibrariesDirector struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetSearchAllLibrariesDirector) GetTag added in v0.15.0

type GetSearchAllLibrariesEnableCreditsMarkerGeneration added in v0.17.2

type GetSearchAllLibrariesEnableCreditsMarkerGeneration string

GetSearchAllLibrariesEnableCreditsMarkerGeneration - Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).

const (
	GetSearchAllLibrariesEnableCreditsMarkerGenerationLibraryDefault GetSearchAllLibrariesEnableCreditsMarkerGeneration = "-1"
	GetSearchAllLibrariesEnableCreditsMarkerGenerationDisabled       GetSearchAllLibrariesEnableCreditsMarkerGeneration = "0"
)

func (GetSearchAllLibrariesEnableCreditsMarkerGeneration) ToPointer added in v0.17.2

func (*GetSearchAllLibrariesEnableCreditsMarkerGeneration) UnmarshalJSON added in v0.17.2

type GetSearchAllLibrariesEpisodeSort added in v0.17.2

type GetSearchAllLibrariesEpisodeSort string

GetSearchAllLibrariesEpisodeSort - Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).

const (
	GetSearchAllLibrariesEpisodeSortLibraryDefault GetSearchAllLibrariesEpisodeSort = "-1"
	GetSearchAllLibrariesEpisodeSortOldestFirst    GetSearchAllLibrariesEpisodeSort = "0"
	GetSearchAllLibrariesEpisodeSortNewestFirst    GetSearchAllLibrariesEpisodeSort = "1"
)

func (GetSearchAllLibrariesEpisodeSort) ToPointer added in v0.17.2

func (*GetSearchAllLibrariesEpisodeSort) UnmarshalJSON added in v0.17.2

func (e *GetSearchAllLibrariesEpisodeSort) UnmarshalJSON(data []byte) error

type GetSearchAllLibrariesFlattenSeasons added in v0.15.0

type GetSearchAllLibrariesFlattenSeasons string

GetSearchAllLibrariesFlattenSeasons - Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show).

const (
	GetSearchAllLibrariesFlattenSeasonsLibraryDefault GetSearchAllLibrariesFlattenSeasons = "-1"
	GetSearchAllLibrariesFlattenSeasonsHide           GetSearchAllLibrariesFlattenSeasons = "0"
	GetSearchAllLibrariesFlattenSeasonsShow           GetSearchAllLibrariesFlattenSeasons = "1"
)

func (GetSearchAllLibrariesFlattenSeasons) ToPointer added in v0.15.0

func (*GetSearchAllLibrariesFlattenSeasons) UnmarshalJSON added in v0.15.0

func (e *GetSearchAllLibrariesFlattenSeasons) UnmarshalJSON(data []byte) error

type GetSearchAllLibrariesGenre added in v0.15.0

type GetSearchAllLibrariesGenre struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetSearchAllLibrariesGenre) GetTag added in v0.15.0

func (o *GetSearchAllLibrariesGenre) GetTag() *string

type GetSearchAllLibrariesHasThumbnail added in v0.15.0

type GetSearchAllLibrariesHasThumbnail string
const (
	GetSearchAllLibrariesHasThumbnailFalse GetSearchAllLibrariesHasThumbnail = "0"
	GetSearchAllLibrariesHasThumbnailTrue  GetSearchAllLibrariesHasThumbnail = "1"
)

func (GetSearchAllLibrariesHasThumbnail) ToPointer added in v0.15.0

func (*GetSearchAllLibrariesHasThumbnail) UnmarshalJSON added in v0.15.0

func (e *GetSearchAllLibrariesHasThumbnail) UnmarshalJSON(data []byte) error

type GetSearchAllLibrariesImage added in v0.15.0

type GetSearchAllLibrariesImage struct {
	Alt  string                           `json:"alt"`
	Type GetSearchAllLibrariesLibraryType `json:"type"`
	URL  string                           `json:"url"`
}

func (*GetSearchAllLibrariesImage) GetAlt added in v0.15.0

func (o *GetSearchAllLibrariesImage) GetAlt() string

func (*GetSearchAllLibrariesImage) GetType added in v0.15.0

func (*GetSearchAllLibrariesImage) GetURL added in v0.15.0

func (o *GetSearchAllLibrariesImage) GetURL() string

type GetSearchAllLibrariesLibraryType added in v0.15.0

type GetSearchAllLibrariesLibraryType string
const (
	GetSearchAllLibrariesLibraryTypeCoverPoster GetSearchAllLibrariesLibraryType = "coverPoster"
	GetSearchAllLibrariesLibraryTypeBackground  GetSearchAllLibrariesLibraryType = "background"
	GetSearchAllLibrariesLibraryTypeSnapshot    GetSearchAllLibrariesLibraryType = "snapshot"
)

func (GetSearchAllLibrariesLibraryType) ToPointer added in v0.15.0

func (*GetSearchAllLibrariesLibraryType) UnmarshalJSON added in v0.15.0

func (e *GetSearchAllLibrariesLibraryType) UnmarshalJSON(data []byte) error

type GetSearchAllLibrariesLocation added in v0.15.0

type GetSearchAllLibrariesLocation struct {
	Path *string `json:"path,omitempty"`
}

func (*GetSearchAllLibrariesLocation) GetPath added in v0.15.0

func (o *GetSearchAllLibrariesLocation) GetPath() *string

type GetSearchAllLibrariesMedia added in v0.15.0

type GetSearchAllLibrariesMedia struct {
	ID                    int                                         `json:"id"`
	Duration              *int                                        `json:"duration,omitempty"`
	Bitrate               *int                                        `json:"bitrate,omitempty"`
	Width                 *int                                        `json:"width,omitempty"`
	Height                *int                                        `json:"height,omitempty"`
	AspectRatio           *float64                                    `json:"aspectRatio,omitempty"`
	AudioProfile          *string                                     `json:"audioProfile,omitempty"`
	AudioChannels         *int                                        `json:"audioChannels,omitempty"`
	AudioCodec            *string                                     `json:"audioCodec,omitempty"`
	VideoCodec            *string                                     `json:"videoCodec,omitempty"`
	VideoResolution       *string                                     `json:"videoResolution,omitempty"`
	Container             string                                      `json:"container"`
	VideoFrameRate        *string                                     `json:"videoFrameRate,omitempty"`
	VideoProfile          *string                                     `json:"videoProfile,omitempty"`
	HasVoiceActivity      *bool                                       `json:"hasVoiceActivity,omitempty"`
	OptimizedForStreaming *GetSearchAllLibrariesOptimizedForStreaming `default:"0" json:"optimizedForStreaming"`
	Has64bitOffsets       *bool                                       `json:"has64bitOffsets,omitempty"`
	Part                  []GetSearchAllLibrariesPart                 `json:"Part"`
}

func (*GetSearchAllLibrariesMedia) GetAspectRatio added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetAspectRatio() *float64

func (*GetSearchAllLibrariesMedia) GetAudioChannels added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetAudioChannels() *int

func (*GetSearchAllLibrariesMedia) GetAudioCodec added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetAudioCodec() *string

func (*GetSearchAllLibrariesMedia) GetAudioProfile added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetAudioProfile() *string

func (*GetSearchAllLibrariesMedia) GetBitrate added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetBitrate() *int

func (*GetSearchAllLibrariesMedia) GetContainer added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetContainer() string

func (*GetSearchAllLibrariesMedia) GetDuration added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetDuration() *int

func (*GetSearchAllLibrariesMedia) GetHas64bitOffsets added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetHas64bitOffsets() *bool

func (*GetSearchAllLibrariesMedia) GetHasVoiceActivity added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetHasVoiceActivity() *bool

func (*GetSearchAllLibrariesMedia) GetHeight added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetHeight() *int

func (*GetSearchAllLibrariesMedia) GetID added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetID() int

func (*GetSearchAllLibrariesMedia) GetOptimizedForStreaming added in v0.15.0

func (*GetSearchAllLibrariesMedia) GetPart added in v0.15.0

func (*GetSearchAllLibrariesMedia) GetVideoCodec added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetVideoCodec() *string

func (*GetSearchAllLibrariesMedia) GetVideoFrameRate added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetVideoFrameRate() *string

func (*GetSearchAllLibrariesMedia) GetVideoProfile added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetVideoProfile() *string

func (*GetSearchAllLibrariesMedia) GetVideoResolution added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetVideoResolution() *string

func (*GetSearchAllLibrariesMedia) GetWidth added in v0.15.0

func (o *GetSearchAllLibrariesMedia) GetWidth() *int

func (GetSearchAllLibrariesMedia) MarshalJSON added in v0.15.0

func (g GetSearchAllLibrariesMedia) MarshalJSON() ([]byte, error)

func (*GetSearchAllLibrariesMedia) UnmarshalJSON added in v0.15.0

func (g *GetSearchAllLibrariesMedia) UnmarshalJSON(data []byte) error

type GetSearchAllLibrariesMediaContainer added in v0.15.0

type GetSearchAllLibrariesMediaContainer struct {
	Size         float64        `json:"size"`
	SearchResult []SearchResult `json:"SearchResult"`
}

func (*GetSearchAllLibrariesMediaContainer) GetSearchResult added in v0.15.0

func (o *GetSearchAllLibrariesMediaContainer) GetSearchResult() []SearchResult

func (*GetSearchAllLibrariesMediaContainer) GetSize added in v0.15.0

type GetSearchAllLibrariesMediaGUID added in v0.15.0

type GetSearchAllLibrariesMediaGUID struct {
	// Can be one of the following formats:
	// imdb://tt13015952, tmdb://2434012, tvdb://7945991
	//
	ID string `json:"id"`
}

func (*GetSearchAllLibrariesMediaGUID) GetID added in v0.15.0

type GetSearchAllLibrariesMetaDataRating added in v0.15.0

type GetSearchAllLibrariesMetaDataRating struct {
	// A URI or path to the rating image.
	Image string `json:"image"`
	// The value of the rating.
	Value float32 `json:"value"`
	// The type of rating (e.g., audience, critic).
	Type string `json:"type"`
}

func (*GetSearchAllLibrariesMetaDataRating) GetImage added in v0.15.0

func (*GetSearchAllLibrariesMetaDataRating) GetType added in v0.15.0

func (*GetSearchAllLibrariesMetaDataRating) GetValue added in v0.15.0

type GetSearchAllLibrariesMetadata added in v0.15.0

type GetSearchAllLibrariesMetadata struct {
	// The rating key (Media ID) of this media item.
	// Note: This is always an integer, but is represented as a string in the API.
	//
	RatingKey           string  `json:"ratingKey"`
	Key                 string  `json:"key"`
	GUID                string  `json:"guid"`
	Studio              *string `json:"studio,omitempty"`
	SkipChildren        *bool   `json:"skipChildren,omitempty"`
	LibrarySectionID    *int64  `json:"librarySectionID,omitempty"`
	LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
	LibrarySectionKey   *string `json:"librarySectionKey,omitempty"`
	// The type of media content
	//
	Type           GetSearchAllLibrariesType `json:"type"`
	Title          string                    `json:"title"`
	Slug           *string                   `json:"slug,omitempty"`
	ContentRating  *string                   `json:"contentRating,omitempty"`
	Summary        string                    `json:"summary"`
	Rating         *float64                  `json:"rating,omitempty"`
	AudienceRating *float64                  `json:"audienceRating,omitempty"`
	Year           *int                      `json:"year,omitempty"`
	SeasonCount    *int                      `json:"seasonCount,omitempty"`
	Tagline        *string                   `json:"tagline,omitempty"`
	// Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show).
	FlattenSeasons *GetSearchAllLibrariesFlattenSeasons `json:"flattenSeasons,omitempty"`
	// Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).
	EpisodeSort *GetSearchAllLibrariesEpisodeSort `json:"episodeSort,omitempty"`
	// Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).
	EnableCreditsMarkerGeneration *GetSearchAllLibrariesEnableCreditsMarkerGeneration `json:"enableCreditsMarkerGeneration,omitempty"`
	// Setting that indicates the episode ordering for the show.
	// None = Library default,
	// tmdbAiring = The Movie Database (Aired),
	// aired = TheTVDB (Aired),
	// dvd = TheTVDB (DVD),
	// absolute = TheTVDB (Absolute)).
	//
	ShowOrdering          *GetSearchAllLibrariesShowOrdering `json:"showOrdering,omitempty"`
	Thumb                 *string                            `json:"thumb,omitempty"`
	Art                   *string                            `json:"art,omitempty"`
	Banner                *string                            `json:"banner,omitempty"`
	Duration              *int                               `json:"duration,omitempty"`
	OriginallyAvailableAt *types.Date                        `json:"originallyAvailableAt,omitempty"`
	// Unix epoch datetime in seconds
	AddedAt int64 `json:"addedAt"`
	// Unix epoch datetime in seconds
	UpdatedAt            *int64  `json:"updatedAt,omitempty"`
	AudienceRatingImage  *string `json:"audienceRatingImage,omitempty"`
	ChapterSource        *string `json:"chapterSource,omitempty"`
	PrimaryExtraKey      *string `json:"primaryExtraKey,omitempty"`
	RatingImage          *string `json:"ratingImage,omitempty"`
	GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
	GrandparentGUID      *string `json:"grandparentGuid,omitempty"`
	GrandparentKey       *string `json:"grandparentKey,omitempty"`
	GrandparentTitle     *string `json:"grandparentTitle,omitempty"`
	GrandparentThumb     *string `json:"grandparentThumb,omitempty"`
	ParentSlug           *string `json:"parentSlug,omitempty"`
	GrandparentSlug      *string `json:"grandparentSlug,omitempty"`
	GrandparentArt       *string `json:"grandparentArt,omitempty"`
	GrandparentTheme     *string `json:"grandparentTheme,omitempty"`
	// The Media object is only included when type query is `4` or higher.
	//
	Media      []GetSearchAllLibrariesMedia      `json:"Media,omitempty"`
	Genre      []GetSearchAllLibrariesGenre      `json:"Genre,omitempty"`
	Country    []GetSearchAllLibrariesCountry    `json:"Country,omitempty"`
	Director   []GetSearchAllLibrariesDirector   `json:"Director,omitempty"`
	Writer     []GetSearchAllLibrariesWriter     `json:"Writer,omitempty"`
	Collection []GetSearchAllLibrariesCollection `json:"Collection,omitempty"`
	Role       []GetSearchAllLibrariesRole       `json:"Role,omitempty"`
	Location   []GetSearchAllLibrariesLocation   `json:"Location,omitempty"`
	// The Guid object is only included in the response if the `includeGuids` parameter is set to `1`.
	//
	MediaGUID              []GetSearchAllLibrariesMediaGUID      `json:"Guid,omitempty"`
	UltraBlurColors        *GetSearchAllLibrariesUltraBlurColors `json:"UltraBlurColors,omitempty"`
	MetaDataRating         []GetSearchAllLibrariesMetaDataRating `json:"Rating,omitempty"`
	Image                  []GetSearchAllLibrariesImage          `json:"Image,omitempty"`
	TitleSort              *string                               `json:"titleSort,omitempty"`
	ViewCount              *int                                  `json:"viewCount,omitempty"`
	LastViewedAt           *int                                  `json:"lastViewedAt,omitempty"`
	OriginalTitle          *string                               `json:"originalTitle,omitempty"`
	ViewOffset             *int                                  `json:"viewOffset,omitempty"`
	SkipCount              *int                                  `json:"skipCount,omitempty"`
	Index                  *int                                  `json:"index,omitempty"`
	Theme                  *string                               `json:"theme,omitempty"`
	LeafCount              *int                                  `json:"leafCount,omitempty"`
	ViewedLeafCount        *int                                  `json:"viewedLeafCount,omitempty"`
	ChildCount             *int                                  `json:"childCount,omitempty"`
	HasPremiumExtras       *string                               `json:"hasPremiumExtras,omitempty"`
	HasPremiumPrimaryExtra *string                               `json:"hasPremiumPrimaryExtra,omitempty"`
	// The rating key of the parent item.
	//
	ParentRatingKey *string `json:"parentRatingKey,omitempty"`
	ParentGUID      *string `json:"parentGuid,omitempty"`
	ParentStudio    *string `json:"parentStudio,omitempty"`
	ParentKey       *string `json:"parentKey,omitempty"`
	ParentTitle     *string `json:"parentTitle,omitempty"`
	ParentIndex     *int    `json:"parentIndex,omitempty"`
	ParentYear      *int    `json:"parentYear,omitempty"`
	ParentThumb     *string `json:"parentThumb,omitempty"`
	ParentTheme     *string `json:"parentTheme,omitempty"`
}

func (*GetSearchAllLibrariesMetadata) GetAddedAt added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetAddedAt() int64

func (*GetSearchAllLibrariesMetadata) GetArt added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetAudienceRating added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetAudienceRating() *float64

func (*GetSearchAllLibrariesMetadata) GetAudienceRatingImage added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetAudienceRatingImage() *string

func (*GetSearchAllLibrariesMetadata) GetBanner added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetBanner() *string

func (*GetSearchAllLibrariesMetadata) GetChapterSource added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetChapterSource() *string

func (*GetSearchAllLibrariesMetadata) GetChildCount added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetChildCount() *int

func (*GetSearchAllLibrariesMetadata) GetCollection added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetContentRating added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetContentRating() *string

func (*GetSearchAllLibrariesMetadata) GetCountry added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetDirector added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetDuration added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetDuration() *int

func (*GetSearchAllLibrariesMetadata) GetEnableCreditsMarkerGeneration added in v0.17.2

func (*GetSearchAllLibrariesMetadata) GetEpisodeSort added in v0.17.2

func (*GetSearchAllLibrariesMetadata) GetFlattenSeasons added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetGUID added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetGenre added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetGrandparentArt added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetGrandparentArt() *string

func (*GetSearchAllLibrariesMetadata) GetGrandparentGUID added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetGrandparentGUID() *string

func (*GetSearchAllLibrariesMetadata) GetGrandparentKey added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetGrandparentKey() *string

func (*GetSearchAllLibrariesMetadata) GetGrandparentRatingKey added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetGrandparentRatingKey() *string

func (*GetSearchAllLibrariesMetadata) GetGrandparentSlug added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetGrandparentSlug() *string

func (*GetSearchAllLibrariesMetadata) GetGrandparentTheme added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetGrandparentTheme() *string

func (*GetSearchAllLibrariesMetadata) GetGrandparentThumb added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetGrandparentThumb() *string

func (*GetSearchAllLibrariesMetadata) GetGrandparentTitle added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetGrandparentTitle() *string

func (*GetSearchAllLibrariesMetadata) GetHasPremiumExtras added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetHasPremiumExtras() *string

func (*GetSearchAllLibrariesMetadata) GetHasPremiumPrimaryExtra added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetHasPremiumPrimaryExtra() *string

func (*GetSearchAllLibrariesMetadata) GetImage added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetIndex added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetIndex() *int

func (*GetSearchAllLibrariesMetadata) GetKey added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetLastViewedAt added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetLastViewedAt() *int

func (*GetSearchAllLibrariesMetadata) GetLeafCount added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetLeafCount() *int

func (*GetSearchAllLibrariesMetadata) GetLibrarySectionID added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetLibrarySectionID() *int64

func (*GetSearchAllLibrariesMetadata) GetLibrarySectionKey added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetLibrarySectionKey() *string

func (*GetSearchAllLibrariesMetadata) GetLibrarySectionTitle added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetLibrarySectionTitle() *string

func (*GetSearchAllLibrariesMetadata) GetLocation added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetMedia added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetMediaGUID added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetMetaDataRating added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetOriginalTitle added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetOriginalTitle() *string

func (*GetSearchAllLibrariesMetadata) GetOriginallyAvailableAt added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetOriginallyAvailableAt() *types.Date

func (*GetSearchAllLibrariesMetadata) GetParentGUID added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetParentGUID() *string

func (*GetSearchAllLibrariesMetadata) GetParentIndex added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetParentIndex() *int

func (*GetSearchAllLibrariesMetadata) GetParentKey added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetParentKey() *string

func (*GetSearchAllLibrariesMetadata) GetParentRatingKey added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetParentRatingKey() *string

func (*GetSearchAllLibrariesMetadata) GetParentSlug added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetParentSlug() *string

func (*GetSearchAllLibrariesMetadata) GetParentStudio added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetParentStudio() *string

func (*GetSearchAllLibrariesMetadata) GetParentTheme added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetParentTheme() *string

func (*GetSearchAllLibrariesMetadata) GetParentThumb added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetParentThumb() *string

func (*GetSearchAllLibrariesMetadata) GetParentTitle added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetParentTitle() *string

func (*GetSearchAllLibrariesMetadata) GetParentYear added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetParentYear() *int

func (*GetSearchAllLibrariesMetadata) GetPrimaryExtraKey added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetPrimaryExtraKey() *string

func (*GetSearchAllLibrariesMetadata) GetRating added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetRating() *float64

func (*GetSearchAllLibrariesMetadata) GetRatingImage added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetRatingImage() *string

func (*GetSearchAllLibrariesMetadata) GetRatingKey added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetRatingKey() string

func (*GetSearchAllLibrariesMetadata) GetRole added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetSeasonCount added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetSeasonCount() *int

func (*GetSearchAllLibrariesMetadata) GetShowOrdering added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetSkipChildren added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetSkipChildren() *bool

func (*GetSearchAllLibrariesMetadata) GetSkipCount added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetSkipCount() *int

func (*GetSearchAllLibrariesMetadata) GetSlug added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetSlug() *string

func (*GetSearchAllLibrariesMetadata) GetStudio added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetStudio() *string

func (*GetSearchAllLibrariesMetadata) GetSummary added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetSummary() string

func (*GetSearchAllLibrariesMetadata) GetTagline added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetTagline() *string

func (*GetSearchAllLibrariesMetadata) GetTheme added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetTheme() *string

func (*GetSearchAllLibrariesMetadata) GetThumb added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetThumb() *string

func (*GetSearchAllLibrariesMetadata) GetTitle added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetTitle() string

func (*GetSearchAllLibrariesMetadata) GetTitleSort added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetTitleSort() *string

func (*GetSearchAllLibrariesMetadata) GetType added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetUltraBlurColors added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetUpdatedAt added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetUpdatedAt() *int64

func (*GetSearchAllLibrariesMetadata) GetViewCount added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetViewCount() *int

func (*GetSearchAllLibrariesMetadata) GetViewOffset added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetViewOffset() *int

func (*GetSearchAllLibrariesMetadata) GetViewedLeafCount added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetViewedLeafCount() *int

func (*GetSearchAllLibrariesMetadata) GetWriter added in v0.15.0

func (*GetSearchAllLibrariesMetadata) GetYear added in v0.15.0

func (o *GetSearchAllLibrariesMetadata) GetYear() *int

func (GetSearchAllLibrariesMetadata) MarshalJSON added in v0.15.0

func (g GetSearchAllLibrariesMetadata) MarshalJSON() ([]byte, error)

func (*GetSearchAllLibrariesMetadata) UnmarshalJSON added in v0.15.0

func (g *GetSearchAllLibrariesMetadata) UnmarshalJSON(data []byte) error

type GetSearchAllLibrariesOptimizedForStreaming added in v0.15.0

type GetSearchAllLibrariesOptimizedForStreaming int
const (
	GetSearchAllLibrariesOptimizedForStreamingDisable GetSearchAllLibrariesOptimizedForStreaming = 0
	GetSearchAllLibrariesOptimizedForStreamingEnable  GetSearchAllLibrariesOptimizedForStreaming = 1
)

func (GetSearchAllLibrariesOptimizedForStreaming) ToPointer added in v0.15.0

func (*GetSearchAllLibrariesOptimizedForStreaming) UnmarshalJSON added in v0.15.0

func (e *GetSearchAllLibrariesOptimizedForStreaming) UnmarshalJSON(data []byte) error

type GetSearchAllLibrariesPart added in v0.15.0

type GetSearchAllLibrariesPart struct {
	ID       int    `json:"id"`
	Key      string `json:"key"`
	Duration *int   `json:"duration,omitempty"`
	File     string `json:"file"`
	Size     int64  `json:"size"`
	// The container format of the media file.
	//
	Container             string                             `json:"container"`
	AudioProfile          *string                            `json:"audioProfile,omitempty"`
	Has64bitOffsets       *bool                              `json:"has64bitOffsets,omitempty"`
	OptimizedForStreaming *bool                              `json:"optimizedForStreaming,omitempty"`
	VideoProfile          *string                            `json:"videoProfile,omitempty"`
	Indexes               *string                            `json:"indexes,omitempty"`
	HasThumbnail          *GetSearchAllLibrariesHasThumbnail `default:"0" json:"hasThumbnail"`
	Stream                []GetSearchAllLibrariesStream      `json:"Stream,omitempty"`
}

func (*GetSearchAllLibrariesPart) GetAudioProfile added in v0.15.0

func (o *GetSearchAllLibrariesPart) GetAudioProfile() *string

func (*GetSearchAllLibrariesPart) GetContainer added in v0.15.0

func (o *GetSearchAllLibrariesPart) GetContainer() string

func (*GetSearchAllLibrariesPart) GetDuration added in v0.15.0

func (o *GetSearchAllLibrariesPart) GetDuration() *int

func (*GetSearchAllLibrariesPart) GetFile added in v0.15.0

func (o *GetSearchAllLibrariesPart) GetFile() string

func (*GetSearchAllLibrariesPart) GetHas64bitOffsets added in v0.15.0

func (o *GetSearchAllLibrariesPart) GetHas64bitOffsets() *bool

func (*GetSearchAllLibrariesPart) GetHasThumbnail added in v0.15.0

func (*GetSearchAllLibrariesPart) GetID added in v0.15.0

func (o *GetSearchAllLibrariesPart) GetID() int

func (*GetSearchAllLibrariesPart) GetIndexes added in v0.15.0

func (o *GetSearchAllLibrariesPart) GetIndexes() *string

func (*GetSearchAllLibrariesPart) GetKey added in v0.15.0

func (o *GetSearchAllLibrariesPart) GetKey() string

func (*GetSearchAllLibrariesPart) GetOptimizedForStreaming added in v0.15.0

func (o *GetSearchAllLibrariesPart) GetOptimizedForStreaming() *bool

func (*GetSearchAllLibrariesPart) GetSize added in v0.15.0

func (o *GetSearchAllLibrariesPart) GetSize() int64

func (*GetSearchAllLibrariesPart) GetStream added in v0.15.0

func (*GetSearchAllLibrariesPart) GetVideoProfile added in v0.15.0

func (o *GetSearchAllLibrariesPart) GetVideoProfile() *string

func (GetSearchAllLibrariesPart) MarshalJSON added in v0.15.0

func (g GetSearchAllLibrariesPart) MarshalJSON() ([]byte, error)

func (*GetSearchAllLibrariesPart) UnmarshalJSON added in v0.15.0

func (g *GetSearchAllLibrariesPart) UnmarshalJSON(data []byte) error

type GetSearchAllLibrariesQueryParamIncludeCollections added in v0.19.0

type GetSearchAllLibrariesQueryParamIncludeCollections int

GetSearchAllLibrariesQueryParamIncludeCollections - Whether to include collections in the search results.

const (
	GetSearchAllLibrariesQueryParamIncludeCollectionsDisable GetSearchAllLibrariesQueryParamIncludeCollections = 0
	GetSearchAllLibrariesQueryParamIncludeCollectionsEnable  GetSearchAllLibrariesQueryParamIncludeCollections = 1
)

func (GetSearchAllLibrariesQueryParamIncludeCollections) ToPointer added in v0.19.0

func (*GetSearchAllLibrariesQueryParamIncludeCollections) UnmarshalJSON added in v0.19.0

type GetSearchAllLibrariesQueryParamIncludeExternalMedia added in v0.19.0

type GetSearchAllLibrariesQueryParamIncludeExternalMedia int

GetSearchAllLibrariesQueryParamIncludeExternalMedia - Whether to include external media in the search results.

const (
	GetSearchAllLibrariesQueryParamIncludeExternalMediaDisable GetSearchAllLibrariesQueryParamIncludeExternalMedia = 0
	GetSearchAllLibrariesQueryParamIncludeExternalMediaEnable  GetSearchAllLibrariesQueryParamIncludeExternalMedia = 1
)

func (GetSearchAllLibrariesQueryParamIncludeExternalMedia) ToPointer added in v0.19.0

func (*GetSearchAllLibrariesQueryParamIncludeExternalMedia) UnmarshalJSON added in v0.19.0

type GetSearchAllLibrariesRequest added in v0.15.0

type GetSearchAllLibrariesRequest struct {
	// The search query term.
	Query string `queryParam:"style=form,explode=true,name=query"`
	// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
	ClientID string `header:"style=simple,explode=false,name=X-Plex-Client-Identifier"`
	// Limit the number of results returned.
	Limit *int64 `queryParam:"style=form,explode=true,name=limit"`
	// A comma-separated list of search types to include. Valid values are: movies, music, otherVideos, people, tv.
	//
	SearchTypes []SearchTypes `queryParam:"style=form,explode=false,name=searchTypes"`
	// Whether to include collections in the search results.
	IncludeCollections *GetSearchAllLibrariesQueryParamIncludeCollections `default:"0" queryParam:"style=form,explode=true,name=includeCollections"`
	// Whether to include external media in the search results.
	IncludeExternalMedia *GetSearchAllLibrariesQueryParamIncludeExternalMedia `default:"0" queryParam:"style=form,explode=true,name=includeExternalMedia"`
}

func (*GetSearchAllLibrariesRequest) GetClientID added in v0.15.0

func (o *GetSearchAllLibrariesRequest) GetClientID() string

func (*GetSearchAllLibrariesRequest) GetIncludeCollections added in v0.15.0

func (*GetSearchAllLibrariesRequest) GetIncludeExternalMedia added in v0.15.0

func (*GetSearchAllLibrariesRequest) GetLimit added in v0.15.0

func (o *GetSearchAllLibrariesRequest) GetLimit() *int64

func (*GetSearchAllLibrariesRequest) GetQuery added in v0.15.0

func (o *GetSearchAllLibrariesRequest) GetQuery() string

func (*GetSearchAllLibrariesRequest) GetSearchTypes added in v0.15.0

func (o *GetSearchAllLibrariesRequest) GetSearchTypes() []SearchTypes

func (GetSearchAllLibrariesRequest) MarshalJSON added in v0.15.0

func (g GetSearchAllLibrariesRequest) MarshalJSON() ([]byte, error)

func (*GetSearchAllLibrariesRequest) UnmarshalJSON added in v0.15.0

func (g *GetSearchAllLibrariesRequest) UnmarshalJSON(data []byte) error

type GetSearchAllLibrariesResponse added in v0.15.0

type GetSearchAllLibrariesResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The libraries available on the Server
	Object *GetSearchAllLibrariesResponseBody
}

func (*GetSearchAllLibrariesResponse) GetContentType added in v0.15.0

func (o *GetSearchAllLibrariesResponse) GetContentType() string

func (*GetSearchAllLibrariesResponse) GetObject added in v0.15.0

func (*GetSearchAllLibrariesResponse) GetRawResponse added in v0.15.0

func (o *GetSearchAllLibrariesResponse) GetRawResponse() *http.Response

func (*GetSearchAllLibrariesResponse) GetStatusCode added in v0.15.0

func (o *GetSearchAllLibrariesResponse) GetStatusCode() int

type GetSearchAllLibrariesResponseBody added in v0.15.0

type GetSearchAllLibrariesResponseBody struct {
	MediaContainer GetSearchAllLibrariesMediaContainer `json:"MediaContainer"`
}

GetSearchAllLibrariesResponseBody - The libraries available on the Server

func (*GetSearchAllLibrariesResponseBody) GetMediaContainer added in v0.15.0

type GetSearchAllLibrariesRole added in v0.15.0

type GetSearchAllLibrariesRole struct {
	// The ID of the tag or actor.
	ID *int64 `json:"id,omitempty"`
	// The filter used to find the actor or tag.
	Filter *string `json:"filter,omitempty"`
	// The thumbnail of the actor
	Thumb *string `json:"thumb,omitempty"`
	// The name of the tag or actor.
	Tag *string `json:"tag,omitempty"`
	// Unique identifier for the tag.
	TagKey *string `json:"tagKey,omitempty"`
	// The role of the actor or tag in the media.
	Role *string `json:"role,omitempty"`
}

func (*GetSearchAllLibrariesRole) GetFilter added in v0.15.0

func (o *GetSearchAllLibrariesRole) GetFilter() *string

func (*GetSearchAllLibrariesRole) GetID added in v0.15.0

func (o *GetSearchAllLibrariesRole) GetID() *int64

func (*GetSearchAllLibrariesRole) GetRole added in v0.15.0

func (o *GetSearchAllLibrariesRole) GetRole() *string

func (*GetSearchAllLibrariesRole) GetTag added in v0.15.0

func (o *GetSearchAllLibrariesRole) GetTag() *string

func (*GetSearchAllLibrariesRole) GetTagKey added in v0.15.0

func (o *GetSearchAllLibrariesRole) GetTagKey() *string

func (*GetSearchAllLibrariesRole) GetThumb added in v0.15.0

func (o *GetSearchAllLibrariesRole) GetThumb() *string

type GetSearchAllLibrariesShowOrdering added in v0.15.0

type GetSearchAllLibrariesShowOrdering string

GetSearchAllLibrariesShowOrdering - Setting that indicates the episode ordering for the show. None = Library default, tmdbAiring = The Movie Database (Aired), aired = TheTVDB (Aired), dvd = TheTVDB (DVD), absolute = TheTVDB (Absolute)).

const (
	GetSearchAllLibrariesShowOrderingNone         GetSearchAllLibrariesShowOrdering = "None"
	GetSearchAllLibrariesShowOrderingTmdbAiring   GetSearchAllLibrariesShowOrdering = "tmdbAiring"
	GetSearchAllLibrariesShowOrderingTvdbAired    GetSearchAllLibrariesShowOrdering = "aired"
	GetSearchAllLibrariesShowOrderingTvdbDvd      GetSearchAllLibrariesShowOrdering = "dvd"
	GetSearchAllLibrariesShowOrderingTvdbAbsolute GetSearchAllLibrariesShowOrdering = "absolute"
)

func (GetSearchAllLibrariesShowOrdering) ToPointer added in v0.15.0

func (*GetSearchAllLibrariesShowOrdering) UnmarshalJSON added in v0.15.0

func (e *GetSearchAllLibrariesShowOrdering) UnmarshalJSON(data []byte) error

type GetSearchAllLibrariesStream added in v0.15.0

type GetSearchAllLibrariesStream struct {
	ID int64 `json:"id"`
	// Type of stream (1 = video, 2 = audio, 3 = subtitle)
	StreamType int64 `json:"streamType"`
	// Indicates if this is the default stream
	Default *bool `json:"default,omitempty"`
	// Indicates if the stream is selected
	Selected *bool `json:"selected,omitempty"`
	// Codec used by the stream
	Codec string `json:"codec"`
	// The index of the stream
	Index int64 `json:"index"`
	// The bitrate of the stream in kbps
	Bitrate *int64 `json:"bitrate,omitempty"`
	// The color primaries of the video stream
	ColorPrimaries *string `json:"colorPrimaries,omitempty"`
	// The color range of the video stream
	ColorRange *string `json:"colorRange,omitempty"`
	// The color space of the video stream
	ColorSpace *string `json:"colorSpace,omitempty"`
	// The transfer characteristics (TRC) of the video stream
	ColorTrc *string `json:"colorTrc,omitempty"`
	// The bit depth of the video stream
	BitDepth *int64 `json:"bitDepth,omitempty"`
	// The chroma location of the video stream
	ChromaLocation *string `json:"chromaLocation,omitempty"`
	// The identifier of the video stream
	StreamIdentifier *string `json:"streamIdentifier,omitempty"`
	// The chroma subsampling format
	ChromaSubsampling *string `json:"chromaSubsampling,omitempty"`
	// The coded height of the video stream
	CodedHeight *int64 `json:"codedHeight,omitempty"`
	// The coded width of the video stream
	CodedWidth *int64 `json:"codedWidth,omitempty"`
	// The frame rate of the video stream
	FrameRate *float64 `json:"frameRate,omitempty"`
	// Indicates if the stream has a scaling matrix
	HasScalingMatrix *bool   `json:"hasScalingMatrix,omitempty"`
	HearingImpaired  *bool   `json:"hearingImpaired,omitempty"`
	ClosedCaptions   *bool   `json:"closedCaptions,omitempty"`
	EmbeddedInVideo  *string `json:"embeddedInVideo,omitempty"`
	// The height of the video stream
	Height *int64 `json:"height,omitempty"`
	// The level of the video codec
	Level *int64 `json:"level,omitempty"`
	// The profile of the video codec
	Profile *string `json:"profile,omitempty"`
	// Number of reference frames
	RefFrames *int64 `json:"refFrames,omitempty"`
	// The scan type (progressive or interlaced)
	ScanType *string `json:"scanType,omitempty"`
	// The width of the video stream
	Width *int64 `json:"width,omitempty"`
	// Display title of the stream
	DisplayTitle *string `json:"displayTitle,omitempty"`
	// Extended display title of the stream
	ExtendedDisplayTitle *string `json:"extendedDisplayTitle,omitempty"`
	// Number of audio channels (for audio streams)
	Channels *int64 `json:"channels,omitempty"`
	// The language of the stream (for audio/subtitle streams)
	Language *string `json:"language,omitempty"`
	// Language tag of the stream
	LanguageTag *string `json:"languageTag,omitempty"`
	// Language code of the stream
	LanguageCode *string `json:"languageCode,omitempty"`
	// The audio channel layout
	AudioChannelLayout *string `json:"audioChannelLayout,omitempty"`
	// Sampling rate of the audio stream in Hz
	SamplingRate *int64 `json:"samplingRate,omitempty"`
	// Title of the subtitle track (for subtitle streams)
	Title *string `json:"title,omitempty"`
	// Indicates if the subtitle stream can auto-sync
	CanAutoSync *bool `json:"canAutoSync,omitempty"`
}

func (*GetSearchAllLibrariesStream) GetAudioChannelLayout added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetAudioChannelLayout() *string

func (*GetSearchAllLibrariesStream) GetBitDepth added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetBitDepth() *int64

func (*GetSearchAllLibrariesStream) GetBitrate added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetBitrate() *int64

func (*GetSearchAllLibrariesStream) GetCanAutoSync added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetCanAutoSync() *bool

func (*GetSearchAllLibrariesStream) GetChannels added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetChannels() *int64

func (*GetSearchAllLibrariesStream) GetChromaLocation added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetChromaLocation() *string

func (*GetSearchAllLibrariesStream) GetChromaSubsampling added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetChromaSubsampling() *string

func (*GetSearchAllLibrariesStream) GetClosedCaptions added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetClosedCaptions() *bool

func (*GetSearchAllLibrariesStream) GetCodec added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetCodec() string

func (*GetSearchAllLibrariesStream) GetCodedHeight added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetCodedHeight() *int64

func (*GetSearchAllLibrariesStream) GetCodedWidth added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetCodedWidth() *int64

func (*GetSearchAllLibrariesStream) GetColorPrimaries added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetColorPrimaries() *string

func (*GetSearchAllLibrariesStream) GetColorRange added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetColorRange() *string

func (*GetSearchAllLibrariesStream) GetColorSpace added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetColorSpace() *string

func (*GetSearchAllLibrariesStream) GetColorTrc added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetColorTrc() *string

func (*GetSearchAllLibrariesStream) GetDefault added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetDefault() *bool

func (*GetSearchAllLibrariesStream) GetDisplayTitle added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetDisplayTitle() *string

func (*GetSearchAllLibrariesStream) GetEmbeddedInVideo added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetEmbeddedInVideo() *string

func (*GetSearchAllLibrariesStream) GetExtendedDisplayTitle added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetExtendedDisplayTitle() *string

func (*GetSearchAllLibrariesStream) GetFrameRate added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetFrameRate() *float64

func (*GetSearchAllLibrariesStream) GetHasScalingMatrix added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetHasScalingMatrix() *bool

func (*GetSearchAllLibrariesStream) GetHearingImpaired added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetHearingImpaired() *bool

func (*GetSearchAllLibrariesStream) GetHeight added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetHeight() *int64

func (*GetSearchAllLibrariesStream) GetID added in v0.15.0

func (*GetSearchAllLibrariesStream) GetIndex added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetIndex() int64

func (*GetSearchAllLibrariesStream) GetLanguage added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetLanguage() *string

func (*GetSearchAllLibrariesStream) GetLanguageCode added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetLanguageCode() *string

func (*GetSearchAllLibrariesStream) GetLanguageTag added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetLanguageTag() *string

func (*GetSearchAllLibrariesStream) GetLevel added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetLevel() *int64

func (*GetSearchAllLibrariesStream) GetProfile added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetProfile() *string

func (*GetSearchAllLibrariesStream) GetRefFrames added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetRefFrames() *int64

func (*GetSearchAllLibrariesStream) GetSamplingRate added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetSamplingRate() *int64

func (*GetSearchAllLibrariesStream) GetScanType added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetScanType() *string

func (*GetSearchAllLibrariesStream) GetSelected added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetSelected() *bool

func (*GetSearchAllLibrariesStream) GetStreamIdentifier added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetStreamIdentifier() *string

func (*GetSearchAllLibrariesStream) GetStreamType added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetStreamType() int64

func (*GetSearchAllLibrariesStream) GetTitle added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetTitle() *string

func (*GetSearchAllLibrariesStream) GetWidth added in v0.15.0

func (o *GetSearchAllLibrariesStream) GetWidth() *int64

type GetSearchAllLibrariesType added in v0.15.0

type GetSearchAllLibrariesType string

GetSearchAllLibrariesType - The type of media content

const (
	GetSearchAllLibrariesTypeMovie   GetSearchAllLibrariesType = "movie"
	GetSearchAllLibrariesTypeTvShow  GetSearchAllLibrariesType = "show"
	GetSearchAllLibrariesTypeSeason  GetSearchAllLibrariesType = "season"
	GetSearchAllLibrariesTypeEpisode GetSearchAllLibrariesType = "episode"
	GetSearchAllLibrariesTypeArtist  GetSearchAllLibrariesType = "artist"
	GetSearchAllLibrariesTypeAlbum   GetSearchAllLibrariesType = "album"
)

func (GetSearchAllLibrariesType) ToPointer added in v0.15.0

func (*GetSearchAllLibrariesType) UnmarshalJSON added in v0.15.0

func (e *GetSearchAllLibrariesType) UnmarshalJSON(data []byte) error

type GetSearchAllLibrariesUltraBlurColors added in v0.15.0

type GetSearchAllLibrariesUltraBlurColors struct {
	TopLeft     string `json:"topLeft"`
	TopRight    string `json:"topRight"`
	BottomRight string `json:"bottomRight"`
	BottomLeft  string `json:"bottomLeft"`
}

func (*GetSearchAllLibrariesUltraBlurColors) GetBottomLeft added in v0.15.0

func (o *GetSearchAllLibrariesUltraBlurColors) GetBottomLeft() string

func (*GetSearchAllLibrariesUltraBlurColors) GetBottomRight added in v0.15.0

func (o *GetSearchAllLibrariesUltraBlurColors) GetBottomRight() string

func (*GetSearchAllLibrariesUltraBlurColors) GetTopLeft added in v0.15.0

func (*GetSearchAllLibrariesUltraBlurColors) GetTopRight added in v0.15.0

type GetSearchAllLibrariesWriter added in v0.15.0

type GetSearchAllLibrariesWriter struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetSearchAllLibrariesWriter) GetTag added in v0.15.0

func (o *GetSearchAllLibrariesWriter) GetTag() *string

type GetSearchLibraryMediaContainer added in v0.11.1

type GetSearchLibraryMediaContainer struct {
	Size            *int                       `json:"size,omitempty"`
	AllowSync       *bool                      `json:"allowSync,omitempty"`
	Art             *string                    `json:"art,omitempty"`
	Identifier      *string                    `json:"identifier,omitempty"`
	MediaTagPrefix  *string                    `json:"mediaTagPrefix,omitempty"`
	MediaTagVersion *int                       `json:"mediaTagVersion,omitempty"`
	Nocache         *bool                      `json:"nocache,omitempty"`
	Thumb           *string                    `json:"thumb,omitempty"`
	Title1          *string                    `json:"title1,omitempty"`
	Title2          *string                    `json:"title2,omitempty"`
	ViewGroup       *string                    `json:"viewGroup,omitempty"`
	ViewMode        *int                       `json:"viewMode,omitempty"`
	Metadata        []GetSearchLibraryMetadata `json:"Metadata,omitempty"`
}

func (*GetSearchLibraryMediaContainer) GetAllowSync added in v0.11.1

func (o *GetSearchLibraryMediaContainer) GetAllowSync() *bool

func (*GetSearchLibraryMediaContainer) GetArt added in v0.11.1

func (*GetSearchLibraryMediaContainer) GetIdentifier added in v0.11.1

func (o *GetSearchLibraryMediaContainer) GetIdentifier() *string

func (*GetSearchLibraryMediaContainer) GetMediaTagPrefix added in v0.11.1

func (o *GetSearchLibraryMediaContainer) GetMediaTagPrefix() *string

func (*GetSearchLibraryMediaContainer) GetMediaTagVersion added in v0.11.1

func (o *GetSearchLibraryMediaContainer) GetMediaTagVersion() *int

func (*GetSearchLibraryMediaContainer) GetMetadata added in v0.11.1

func (*GetSearchLibraryMediaContainer) GetNocache added in v0.11.1

func (o *GetSearchLibraryMediaContainer) GetNocache() *bool

func (*GetSearchLibraryMediaContainer) GetSize added in v0.11.1

func (o *GetSearchLibraryMediaContainer) GetSize() *int

func (*GetSearchLibraryMediaContainer) GetThumb added in v0.11.1

func (o *GetSearchLibraryMediaContainer) GetThumb() *string

func (*GetSearchLibraryMediaContainer) GetTitle1 added in v0.11.1

func (o *GetSearchLibraryMediaContainer) GetTitle1() *string

func (*GetSearchLibraryMediaContainer) GetTitle2 added in v0.11.1

func (o *GetSearchLibraryMediaContainer) GetTitle2() *string

func (*GetSearchLibraryMediaContainer) GetViewGroup added in v0.11.1

func (o *GetSearchLibraryMediaContainer) GetViewGroup() *string

func (*GetSearchLibraryMediaContainer) GetViewMode added in v0.11.1

func (o *GetSearchLibraryMediaContainer) GetViewMode() *int

type GetSearchLibraryMetadata added in v0.11.1

type GetSearchLibraryMetadata struct {
	RatingKey       *string `json:"ratingKey,omitempty"`
	Key             *string `json:"key,omitempty"`
	ParentRatingKey *string `json:"parentRatingKey,omitempty"`
	GUID            *string `json:"guid,omitempty"`
	ParentGUID      *string `json:"parentGuid,omitempty"`
	ParentStudio    *string `json:"parentStudio,omitempty"`
	Type            *string `json:"type,omitempty"`
	Title           *string `json:"title,omitempty"`
	ParentKey       *string `json:"parentKey,omitempty"`
	ParentTitle     *string `json:"parentTitle,omitempty"`
	Summary         *string `json:"summary,omitempty"`
	Index           *int    `json:"index,omitempty"`
	ParentIndex     *int    `json:"parentIndex,omitempty"`
	ParentYear      *int    `json:"parentYear,omitempty"`
	Thumb           *string `json:"thumb,omitempty"`
	Art             *string `json:"art,omitempty"`
	ParentThumb     *string `json:"parentThumb,omitempty"`
	ParentTheme     *string `json:"parentTheme,omitempty"`
	AddedAt         *int    `json:"addedAt,omitempty"`
	UpdatedAt       *int    `json:"updatedAt,omitempty"`
}

func (*GetSearchLibraryMetadata) GetAddedAt added in v0.11.1

func (o *GetSearchLibraryMetadata) GetAddedAt() *int

func (*GetSearchLibraryMetadata) GetArt added in v0.11.1

func (o *GetSearchLibraryMetadata) GetArt() *string

func (*GetSearchLibraryMetadata) GetGUID added in v0.11.1

func (o *GetSearchLibraryMetadata) GetGUID() *string

func (*GetSearchLibraryMetadata) GetIndex added in v0.11.1

func (o *GetSearchLibraryMetadata) GetIndex() *int

func (*GetSearchLibraryMetadata) GetKey added in v0.11.1

func (o *GetSearchLibraryMetadata) GetKey() *string

func (*GetSearchLibraryMetadata) GetParentGUID added in v0.11.1

func (o *GetSearchLibraryMetadata) GetParentGUID() *string

func (*GetSearchLibraryMetadata) GetParentIndex added in v0.11.1

func (o *GetSearchLibraryMetadata) GetParentIndex() *int

func (*GetSearchLibraryMetadata) GetParentKey added in v0.11.1

func (o *GetSearchLibraryMetadata) GetParentKey() *string

func (*GetSearchLibraryMetadata) GetParentRatingKey added in v0.11.1

func (o *GetSearchLibraryMetadata) GetParentRatingKey() *string

func (*GetSearchLibraryMetadata) GetParentStudio added in v0.11.1

func (o *GetSearchLibraryMetadata) GetParentStudio() *string

func (*GetSearchLibraryMetadata) GetParentTheme added in v0.11.1

func (o *GetSearchLibraryMetadata) GetParentTheme() *string

func (*GetSearchLibraryMetadata) GetParentThumb added in v0.11.1

func (o *GetSearchLibraryMetadata) GetParentThumb() *string

func (*GetSearchLibraryMetadata) GetParentTitle added in v0.11.1

func (o *GetSearchLibraryMetadata) GetParentTitle() *string

func (*GetSearchLibraryMetadata) GetParentYear added in v0.11.1

func (o *GetSearchLibraryMetadata) GetParentYear() *int

func (*GetSearchLibraryMetadata) GetRatingKey added in v0.11.1

func (o *GetSearchLibraryMetadata) GetRatingKey() *string

func (*GetSearchLibraryMetadata) GetSummary added in v0.11.1

func (o *GetSearchLibraryMetadata) GetSummary() *string

func (*GetSearchLibraryMetadata) GetThumb added in v0.11.1

func (o *GetSearchLibraryMetadata) GetThumb() *string

func (*GetSearchLibraryMetadata) GetTitle added in v0.11.1

func (o *GetSearchLibraryMetadata) GetTitle() *string

func (*GetSearchLibraryMetadata) GetType added in v0.11.1

func (o *GetSearchLibraryMetadata) GetType() *string

func (*GetSearchLibraryMetadata) GetUpdatedAt added in v0.11.1

func (o *GetSearchLibraryMetadata) GetUpdatedAt() *int

type GetSearchLibraryQueryParamType added in v0.13.0

type GetSearchLibraryQueryParamType int64

GetSearchLibraryQueryParamType - The type of media to retrieve or filter by. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries

const (
	GetSearchLibraryQueryParamTypeMovie   GetSearchLibraryQueryParamType = 1
	GetSearchLibraryQueryParamTypeTvShow  GetSearchLibraryQueryParamType = 2
	GetSearchLibraryQueryParamTypeSeason  GetSearchLibraryQueryParamType = 3
	GetSearchLibraryQueryParamTypeEpisode GetSearchLibraryQueryParamType = 4
	GetSearchLibraryQueryParamTypeAudio   GetSearchLibraryQueryParamType = 8
	GetSearchLibraryQueryParamTypeAlbum   GetSearchLibraryQueryParamType = 9
	GetSearchLibraryQueryParamTypeTrack   GetSearchLibraryQueryParamType = 10
)

func (GetSearchLibraryQueryParamType) ToPointer added in v0.13.0

func (*GetSearchLibraryQueryParamType) UnmarshalJSON added in v0.13.0

func (e *GetSearchLibraryQueryParamType) UnmarshalJSON(data []byte) error

type GetSearchLibraryRequest added in v0.11.1

type GetSearchLibraryRequest struct {
	// The unique key of the Plex library.
	// Note: This is unique in the context of the Plex server.
	//
	SectionKey int `pathParam:"style=simple,explode=false,name=sectionKey"`
	// The type of media to retrieve or filter by.
	// 1 = movie
	// 2 = show
	// 3 = season
	// 4 = episode
	// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
	//
	Type GetSearchLibraryQueryParamType `queryParam:"style=form,explode=true,name=type"`
}

func (*GetSearchLibraryRequest) GetSectionKey added in v0.11.1

func (o *GetSearchLibraryRequest) GetSectionKey() int

func (*GetSearchLibraryRequest) GetType added in v0.11.1

type GetSearchLibraryResponse added in v0.11.1

type GetSearchLibraryResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The contents of the library by section and type
	Object *GetSearchLibraryResponseBody
}

func (*GetSearchLibraryResponse) GetContentType added in v0.11.1

func (o *GetSearchLibraryResponse) GetContentType() string

func (*GetSearchLibraryResponse) GetObject added in v0.11.1

func (*GetSearchLibraryResponse) GetRawResponse added in v0.11.1

func (o *GetSearchLibraryResponse) GetRawResponse() *http.Response

func (*GetSearchLibraryResponse) GetStatusCode added in v0.11.1

func (o *GetSearchLibraryResponse) GetStatusCode() int

type GetSearchLibraryResponseBody added in v0.11.1

type GetSearchLibraryResponseBody struct {
	MediaContainer *GetSearchLibraryMediaContainer `json:"MediaContainer,omitempty"`
}

GetSearchLibraryResponseBody - The contents of the library by section and type

func (*GetSearchLibraryResponseBody) GetMediaContainer added in v0.11.1

type GetSearchResultsCountry

type GetSearchResultsCountry struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetSearchResultsCountry) GetTag

func (o *GetSearchResultsCountry) GetTag() *string

type GetSearchResultsDirector

type GetSearchResultsDirector struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetSearchResultsDirector) GetTag

func (o *GetSearchResultsDirector) GetTag() *string

type GetSearchResultsGenre

type GetSearchResultsGenre struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetSearchResultsGenre) GetTag

func (o *GetSearchResultsGenre) GetTag() *string

type GetSearchResultsMedia

type GetSearchResultsMedia struct {
	ID              *float64               `json:"id,omitempty"`
	Duration        *float64               `json:"duration,omitempty"`
	Bitrate         *float64               `json:"bitrate,omitempty"`
	Width           *float64               `json:"width,omitempty"`
	Height          *float64               `json:"height,omitempty"`
	AspectRatio     *float64               `json:"aspectRatio,omitempty"`
	AudioChannels   *float64               `json:"audioChannels,omitempty"`
	AudioCodec      *string                `json:"audioCodec,omitempty"`
	VideoCodec      *string                `json:"videoCodec,omitempty"`
	VideoResolution *float64               `json:"videoResolution,omitempty"`
	Container       *string                `json:"container,omitempty"`
	VideoFrameRate  *string                `json:"videoFrameRate,omitempty"`
	AudioProfile    *string                `json:"audioProfile,omitempty"`
	VideoProfile    *string                `json:"videoProfile,omitempty"`
	Part            []GetSearchResultsPart `json:"Part,omitempty"`
}

func (*GetSearchResultsMedia) GetAspectRatio

func (o *GetSearchResultsMedia) GetAspectRatio() *float64

func (*GetSearchResultsMedia) GetAudioChannels

func (o *GetSearchResultsMedia) GetAudioChannels() *float64

func (*GetSearchResultsMedia) GetAudioCodec

func (o *GetSearchResultsMedia) GetAudioCodec() *string

func (*GetSearchResultsMedia) GetAudioProfile

func (o *GetSearchResultsMedia) GetAudioProfile() *string

func (*GetSearchResultsMedia) GetBitrate

func (o *GetSearchResultsMedia) GetBitrate() *float64

func (*GetSearchResultsMedia) GetContainer

func (o *GetSearchResultsMedia) GetContainer() *string

func (*GetSearchResultsMedia) GetDuration

func (o *GetSearchResultsMedia) GetDuration() *float64

func (*GetSearchResultsMedia) GetHeight

func (o *GetSearchResultsMedia) GetHeight() *float64

func (*GetSearchResultsMedia) GetID

func (o *GetSearchResultsMedia) GetID() *float64

func (*GetSearchResultsMedia) GetPart

func (*GetSearchResultsMedia) GetVideoCodec

func (o *GetSearchResultsMedia) GetVideoCodec() *string

func (*GetSearchResultsMedia) GetVideoFrameRate

func (o *GetSearchResultsMedia) GetVideoFrameRate() *string

func (*GetSearchResultsMedia) GetVideoProfile

func (o *GetSearchResultsMedia) GetVideoProfile() *string

func (*GetSearchResultsMedia) GetVideoResolution

func (o *GetSearchResultsMedia) GetVideoResolution() *float64

func (*GetSearchResultsMedia) GetWidth

func (o *GetSearchResultsMedia) GetWidth() *float64

type GetSearchResultsMediaContainer

type GetSearchResultsMediaContainer struct {
	Size            *float64                   `json:"size,omitempty"`
	Identifier      *string                    `json:"identifier,omitempty"`
	MediaTagPrefix  *string                    `json:"mediaTagPrefix,omitempty"`
	MediaTagVersion *float64                   `json:"mediaTagVersion,omitempty"`
	Metadata        []GetSearchResultsMetadata `json:"Metadata,omitempty"`
	Provider        []Provider                 `json:"Provider,omitempty"`
}

func (*GetSearchResultsMediaContainer) GetIdentifier

func (o *GetSearchResultsMediaContainer) GetIdentifier() *string

func (*GetSearchResultsMediaContainer) GetMediaTagPrefix

func (o *GetSearchResultsMediaContainer) GetMediaTagPrefix() *string

func (*GetSearchResultsMediaContainer) GetMediaTagVersion

func (o *GetSearchResultsMediaContainer) GetMediaTagVersion() *float64

func (*GetSearchResultsMediaContainer) GetMetadata

func (*GetSearchResultsMediaContainer) GetProvider

func (o *GetSearchResultsMediaContainer) GetProvider() []Provider

func (*GetSearchResultsMediaContainer) GetSize

type GetSearchResultsMetadata

type GetSearchResultsMetadata struct {
	AllowSync             *bool                      `json:"allowSync,omitempty"`
	LibrarySectionID      *float64                   `json:"librarySectionID,omitempty"`
	LibrarySectionTitle   *string                    `json:"librarySectionTitle,omitempty"`
	LibrarySectionUUID    *string                    `json:"librarySectionUUID,omitempty"`
	Personal              *bool                      `json:"personal,omitempty"`
	SourceTitle           *string                    `json:"sourceTitle,omitempty"`
	RatingKey             *float64                   `json:"ratingKey,omitempty"`
	Key                   *string                    `json:"key,omitempty"`
	GUID                  *string                    `json:"guid,omitempty"`
	Studio                *string                    `json:"studio,omitempty"`
	Type                  *string                    `json:"type,omitempty"`
	Title                 *string                    `json:"title,omitempty"`
	ContentRating         *string                    `json:"contentRating,omitempty"`
	Summary               *string                    `json:"summary,omitempty"`
	Rating                *float64                   `json:"rating,omitempty"`
	AudienceRating        *float64                   `json:"audienceRating,omitempty"`
	Year                  *float64                   `json:"year,omitempty"`
	Tagline               *string                    `json:"tagline,omitempty"`
	Thumb                 *string                    `json:"thumb,omitempty"`
	Art                   *string                    `json:"art,omitempty"`
	Duration              *float64                   `json:"duration,omitempty"`
	OriginallyAvailableAt *time.Time                 `json:"originallyAvailableAt,omitempty"`
	AddedAt               *float64                   `json:"addedAt,omitempty"`
	UpdatedAt             *float64                   `json:"updatedAt,omitempty"`
	AudienceRatingImage   *string                    `json:"audienceRatingImage,omitempty"`
	ChapterSource         *string                    `json:"chapterSource,omitempty"`
	PrimaryExtraKey       *string                    `json:"primaryExtraKey,omitempty"`
	RatingImage           *string                    `json:"ratingImage,omitempty"`
	Media                 []GetSearchResultsMedia    `json:"Media,omitempty"`
	Genre                 []GetSearchResultsGenre    `json:"Genre,omitempty"`
	Director              []GetSearchResultsDirector `json:"Director,omitempty"`
	Writer                []GetSearchResultsWriter   `json:"Writer,omitempty"`
	Country               []GetSearchResultsCountry  `json:"Country,omitempty"`
	Role                  []GetSearchResultsRole     `json:"Role,omitempty"`
}

func (*GetSearchResultsMetadata) GetAddedAt

func (o *GetSearchResultsMetadata) GetAddedAt() *float64

func (*GetSearchResultsMetadata) GetAllowSync

func (o *GetSearchResultsMetadata) GetAllowSync() *bool

func (*GetSearchResultsMetadata) GetArt

func (o *GetSearchResultsMetadata) GetArt() *string

func (*GetSearchResultsMetadata) GetAudienceRating

func (o *GetSearchResultsMetadata) GetAudienceRating() *float64

func (*GetSearchResultsMetadata) GetAudienceRatingImage

func (o *GetSearchResultsMetadata) GetAudienceRatingImage() *string

func (*GetSearchResultsMetadata) GetChapterSource

func (o *GetSearchResultsMetadata) GetChapterSource() *string

func (*GetSearchResultsMetadata) GetContentRating

func (o *GetSearchResultsMetadata) GetContentRating() *string

func (*GetSearchResultsMetadata) GetCountry

func (*GetSearchResultsMetadata) GetDirector

func (*GetSearchResultsMetadata) GetDuration

func (o *GetSearchResultsMetadata) GetDuration() *float64

func (*GetSearchResultsMetadata) GetGUID

func (o *GetSearchResultsMetadata) GetGUID() *string

func (*GetSearchResultsMetadata) GetGenre

func (*GetSearchResultsMetadata) GetKey

func (o *GetSearchResultsMetadata) GetKey() *string

func (*GetSearchResultsMetadata) GetLibrarySectionID

func (o *GetSearchResultsMetadata) GetLibrarySectionID() *float64

func (*GetSearchResultsMetadata) GetLibrarySectionTitle

func (o *GetSearchResultsMetadata) GetLibrarySectionTitle() *string

func (*GetSearchResultsMetadata) GetLibrarySectionUUID

func (o *GetSearchResultsMetadata) GetLibrarySectionUUID() *string

func (*GetSearchResultsMetadata) GetMedia

func (*GetSearchResultsMetadata) GetOriginallyAvailableAt

func (o *GetSearchResultsMetadata) GetOriginallyAvailableAt() *time.Time

func (*GetSearchResultsMetadata) GetPersonal

func (o *GetSearchResultsMetadata) GetPersonal() *bool

func (*GetSearchResultsMetadata) GetPrimaryExtraKey

func (o *GetSearchResultsMetadata) GetPrimaryExtraKey() *string

func (*GetSearchResultsMetadata) GetRating

func (o *GetSearchResultsMetadata) GetRating() *float64

func (*GetSearchResultsMetadata) GetRatingImage

func (o *GetSearchResultsMetadata) GetRatingImage() *string

func (*GetSearchResultsMetadata) GetRatingKey

func (o *GetSearchResultsMetadata) GetRatingKey() *float64

func (*GetSearchResultsMetadata) GetRole

func (*GetSearchResultsMetadata) GetSourceTitle

func (o *GetSearchResultsMetadata) GetSourceTitle() *string

func (*GetSearchResultsMetadata) GetStudio

func (o *GetSearchResultsMetadata) GetStudio() *string

func (*GetSearchResultsMetadata) GetSummary

func (o *GetSearchResultsMetadata) GetSummary() *string

func (*GetSearchResultsMetadata) GetTagline

func (o *GetSearchResultsMetadata) GetTagline() *string

func (*GetSearchResultsMetadata) GetThumb

func (o *GetSearchResultsMetadata) GetThumb() *string

func (*GetSearchResultsMetadata) GetTitle

func (o *GetSearchResultsMetadata) GetTitle() *string

func (*GetSearchResultsMetadata) GetType

func (o *GetSearchResultsMetadata) GetType() *string

func (*GetSearchResultsMetadata) GetUpdatedAt

func (o *GetSearchResultsMetadata) GetUpdatedAt() *float64

func (*GetSearchResultsMetadata) GetWriter

func (*GetSearchResultsMetadata) GetYear

func (o *GetSearchResultsMetadata) GetYear() *float64

func (GetSearchResultsMetadata) MarshalJSON

func (g GetSearchResultsMetadata) MarshalJSON() ([]byte, error)

func (*GetSearchResultsMetadata) UnmarshalJSON

func (g *GetSearchResultsMetadata) UnmarshalJSON(data []byte) error

type GetSearchResultsPart

type GetSearchResultsPart struct {
	ID           *float64 `json:"id,omitempty"`
	Key          *string  `json:"key,omitempty"`
	Duration     *float64 `json:"duration,omitempty"`
	File         *string  `json:"file,omitempty"`
	Size         *float64 `json:"size,omitempty"`
	AudioProfile *string  `json:"audioProfile,omitempty"`
	Container    *string  `json:"container,omitempty"`
	VideoProfile *string  `json:"videoProfile,omitempty"`
}

func (*GetSearchResultsPart) GetAudioProfile

func (o *GetSearchResultsPart) GetAudioProfile() *string

func (*GetSearchResultsPart) GetContainer

func (o *GetSearchResultsPart) GetContainer() *string

func (*GetSearchResultsPart) GetDuration

func (o *GetSearchResultsPart) GetDuration() *float64

func (*GetSearchResultsPart) GetFile

func (o *GetSearchResultsPart) GetFile() *string

func (*GetSearchResultsPart) GetID

func (o *GetSearchResultsPart) GetID() *float64

func (*GetSearchResultsPart) GetKey

func (o *GetSearchResultsPart) GetKey() *string

func (*GetSearchResultsPart) GetSize

func (o *GetSearchResultsPart) GetSize() *float64

func (*GetSearchResultsPart) GetVideoProfile

func (o *GetSearchResultsPart) GetVideoProfile() *string

type GetSearchResultsRequest

type GetSearchResultsRequest struct {
	// The search query string to use
	Query string `queryParam:"style=form,explode=true,name=query"`
}

func (*GetSearchResultsRequest) GetQuery

func (o *GetSearchResultsRequest) GetQuery() string

type GetSearchResultsResponse

type GetSearchResultsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Search Results
	Object *GetSearchResultsResponseBody
}

func (*GetSearchResultsResponse) GetContentType

func (o *GetSearchResultsResponse) GetContentType() string

func (*GetSearchResultsResponse) GetObject

func (*GetSearchResultsResponse) GetRawResponse

func (o *GetSearchResultsResponse) GetRawResponse() *http.Response

func (*GetSearchResultsResponse) GetStatusCode

func (o *GetSearchResultsResponse) GetStatusCode() int

type GetSearchResultsResponseBody

type GetSearchResultsResponseBody struct {
	MediaContainer *GetSearchResultsMediaContainer `json:"MediaContainer,omitempty"`
}

GetSearchResultsResponseBody - Search Results

func (*GetSearchResultsResponseBody) GetMediaContainer

type GetSearchResultsRole

type GetSearchResultsRole struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetSearchResultsRole) GetTag

func (o *GetSearchResultsRole) GetTag() *string

type GetSearchResultsWriter

type GetSearchResultsWriter struct {
	Tag *string `json:"tag,omitempty"`
}

func (*GetSearchResultsWriter) GetTag

func (o *GetSearchResultsWriter) GetTag() *string

type GetServerActivitiesMediaContainer

type GetServerActivitiesMediaContainer struct {
	Size     *float64   `json:"size,omitempty"`
	Activity []Activity `json:"Activity,omitempty"`
}

func (*GetServerActivitiesMediaContainer) GetActivity

func (o *GetServerActivitiesMediaContainer) GetActivity() []Activity

func (*GetServerActivitiesMediaContainer) GetSize

type GetServerActivitiesResponse

type GetServerActivitiesResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The Server Activities
	Object *GetServerActivitiesResponseBody
}

func (*GetServerActivitiesResponse) GetContentType

func (o *GetServerActivitiesResponse) GetContentType() string

func (*GetServerActivitiesResponse) GetObject

func (*GetServerActivitiesResponse) GetRawResponse

func (o *GetServerActivitiesResponse) GetRawResponse() *http.Response

func (*GetServerActivitiesResponse) GetStatusCode

func (o *GetServerActivitiesResponse) GetStatusCode() int

type GetServerActivitiesResponseBody

type GetServerActivitiesResponseBody struct {
	MediaContainer *GetServerActivitiesMediaContainer `json:"MediaContainer,omitempty"`
}

GetServerActivitiesResponseBody - The Server Activities

func (*GetServerActivitiesResponseBody) GetMediaContainer

type GetServerCapabilitiesResponse

type GetServerCapabilitiesResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The Server Capabilities
	Object *GetServerCapabilitiesResponseBody
}

func (*GetServerCapabilitiesResponse) GetContentType

func (o *GetServerCapabilitiesResponse) GetContentType() string

func (*GetServerCapabilitiesResponse) GetObject

func (*GetServerCapabilitiesResponse) GetRawResponse

func (o *GetServerCapabilitiesResponse) GetRawResponse() *http.Response

func (*GetServerCapabilitiesResponse) GetStatusCode

func (o *GetServerCapabilitiesResponse) GetStatusCode() int

type GetServerCapabilitiesResponseBody

type GetServerCapabilitiesResponseBody struct {
	MediaContainer *MediaContainer `json:"MediaContainer,omitempty"`
}

GetServerCapabilitiesResponseBody - The Server Capabilities

func (*GetServerCapabilitiesResponseBody) GetMediaContainer

func (o *GetServerCapabilitiesResponseBody) GetMediaContainer() *MediaContainer

type GetServerIdentityMediaContainer

type GetServerIdentityMediaContainer struct {
	Size              *float64 `json:"size,omitempty"`
	Claimed           *bool    `json:"claimed,omitempty"`
	MachineIdentifier *string  `json:"machineIdentifier,omitempty"`
	Version           *string  `json:"version,omitempty"`
}

func (*GetServerIdentityMediaContainer) GetClaimed

func (o *GetServerIdentityMediaContainer) GetClaimed() *bool

func (*GetServerIdentityMediaContainer) GetMachineIdentifier

func (o *GetServerIdentityMediaContainer) GetMachineIdentifier() *string

func (*GetServerIdentityMediaContainer) GetSize

func (*GetServerIdentityMediaContainer) GetVersion

func (o *GetServerIdentityMediaContainer) GetVersion() *string

type GetServerIdentityResponse

type GetServerIdentityResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The Server Identity information
	Object *GetServerIdentityResponseBody
}

func (*GetServerIdentityResponse) GetContentType

func (o *GetServerIdentityResponse) GetContentType() string

func (*GetServerIdentityResponse) GetObject

func (*GetServerIdentityResponse) GetRawResponse

func (o *GetServerIdentityResponse) GetRawResponse() *http.Response

func (*GetServerIdentityResponse) GetStatusCode

func (o *GetServerIdentityResponse) GetStatusCode() int

type GetServerIdentityResponseBody

type GetServerIdentityResponseBody struct {
	MediaContainer *GetServerIdentityMediaContainer `json:"MediaContainer,omitempty"`
}

GetServerIdentityResponseBody - The Server Identity information

func (*GetServerIdentityResponseBody) GetMediaContainer

type GetServerListMediaContainer

type GetServerListMediaContainer struct {
	Size   *float64              `json:"size,omitempty"`
	Server []GetServerListServer `json:"Server,omitempty"`
}

func (*GetServerListMediaContainer) GetServer

func (*GetServerListMediaContainer) GetSize

func (o *GetServerListMediaContainer) GetSize() *float64

type GetServerListResponse

type GetServerListResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// List of Servers
	Object *GetServerListResponseBody
}

func (*GetServerListResponse) GetContentType

func (o *GetServerListResponse) GetContentType() string

func (*GetServerListResponse) GetObject

func (*GetServerListResponse) GetRawResponse

func (o *GetServerListResponse) GetRawResponse() *http.Response

func (*GetServerListResponse) GetStatusCode

func (o *GetServerListResponse) GetStatusCode() int

type GetServerListResponseBody

type GetServerListResponseBody struct {
	MediaContainer *GetServerListMediaContainer `json:"MediaContainer,omitempty"`
}

GetServerListResponseBody - List of Servers

func (*GetServerListResponseBody) GetMediaContainer

type GetServerListServer

type GetServerListServer struct {
	Name              *string  `json:"name,omitempty"`
	Host              *string  `json:"host,omitempty"`
	Address           *string  `json:"address,omitempty"`
	Port              *float64 `json:"port,omitempty"`
	MachineIdentifier *string  `json:"machineIdentifier,omitempty"`
	Version           *string  `json:"version,omitempty"`
}

func (*GetServerListServer) GetAddress

func (o *GetServerListServer) GetAddress() *string

func (*GetServerListServer) GetHost

func (o *GetServerListServer) GetHost() *string

func (*GetServerListServer) GetMachineIdentifier

func (o *GetServerListServer) GetMachineIdentifier() *string

func (*GetServerListServer) GetName

func (o *GetServerListServer) GetName() *string

func (*GetServerListServer) GetPort

func (o *GetServerListServer) GetPort() *float64

func (*GetServerListServer) GetVersion

func (o *GetServerListServer) GetVersion() *string

type GetServerPreferencesMediaContainer added in v0.1.0

type GetServerPreferencesMediaContainer struct {
	Size    *int      `json:"size,omitempty"`
	Setting []Setting `json:"Setting,omitempty"`
}

func (*GetServerPreferencesMediaContainer) GetSetting added in v0.1.0

func (o *GetServerPreferencesMediaContainer) GetSetting() []Setting

func (*GetServerPreferencesMediaContainer) GetSize added in v0.1.0

type GetServerPreferencesResponse

type GetServerPreferencesResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Server Preferences
	Object *GetServerPreferencesResponseBody
}

func (*GetServerPreferencesResponse) GetContentType

func (o *GetServerPreferencesResponse) GetContentType() string

func (*GetServerPreferencesResponse) GetObject added in v0.1.0

func (*GetServerPreferencesResponse) GetRawResponse

func (o *GetServerPreferencesResponse) GetRawResponse() *http.Response

func (*GetServerPreferencesResponse) GetStatusCode

func (o *GetServerPreferencesResponse) GetStatusCode() int

type GetServerPreferencesResponseBody added in v0.1.0

type GetServerPreferencesResponseBody struct {
	MediaContainer *GetServerPreferencesMediaContainer `json:"MediaContainer,omitempty"`
}

GetServerPreferencesResponseBody - Server Preferences

func (*GetServerPreferencesResponseBody) GetMediaContainer added in v0.1.0

type GetServerResourcesRequest added in v0.11.1

type GetServerResourcesRequest struct {
	// Include Https entries in the results
	IncludeHTTPS *IncludeHTTPS `default:"0" queryParam:"style=form,explode=true,name=includeHttps"`
	// Include Relay addresses in the results
	// E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
	//
	IncludeRelay *IncludeRelay `default:"0" queryParam:"style=form,explode=true,name=includeRelay"`
	// Include IPv6 entries in the results
	IncludeIPv6 *IncludeIPv6 `default:"0" queryParam:"style=form,explode=true,name=includeIPv6"`
	// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
	ClientID string `header:"style=simple,explode=false,name=X-Plex-Client-Identifier"`
}

func (*GetServerResourcesRequest) GetClientID added in v0.11.11

func (o *GetServerResourcesRequest) GetClientID() string

func (*GetServerResourcesRequest) GetIncludeHTTPS added in v0.11.1

func (o *GetServerResourcesRequest) GetIncludeHTTPS() *IncludeHTTPS

func (*GetServerResourcesRequest) GetIncludeIPv6 added in v0.11.1

func (o *GetServerResourcesRequest) GetIncludeIPv6() *IncludeIPv6

func (*GetServerResourcesRequest) GetIncludeRelay added in v0.11.1

func (o *GetServerResourcesRequest) GetIncludeRelay() *IncludeRelay

func (GetServerResourcesRequest) MarshalJSON added in v0.11.1

func (g GetServerResourcesRequest) MarshalJSON() ([]byte, error)

func (*GetServerResourcesRequest) UnmarshalJSON added in v0.11.1

func (g *GetServerResourcesRequest) UnmarshalJSON(data []byte) error

type GetServerResourcesResponse added in v0.11.1

type GetServerResourcesResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// List of Plex Devices. This includes Plex hosted servers and clients
	PlexDevices []PlexDevice
}

func (*GetServerResourcesResponse) GetContentType added in v0.11.1

func (o *GetServerResourcesResponse) GetContentType() string

func (*GetServerResourcesResponse) GetPlexDevices added in v0.11.1

func (o *GetServerResourcesResponse) GetPlexDevices() []PlexDevice

func (*GetServerResourcesResponse) GetRawResponse added in v0.11.1

func (o *GetServerResourcesResponse) GetRawResponse() *http.Response

func (*GetServerResourcesResponse) GetStatusCode added in v0.11.1

func (o *GetServerResourcesResponse) GetStatusCode() int

type GetSessionHistoryMediaContainer added in v0.1.1

type GetSessionHistoryMediaContainer struct {
	Size     *int                        `json:"size,omitempty"`
	Metadata []GetSessionHistoryMetadata `json:"Metadata,omitempty"`
}

func (*GetSessionHistoryMediaContainer) GetMetadata added in v0.1.1

func (*GetSessionHistoryMediaContainer) GetSize added in v0.1.1

func (o *GetSessionHistoryMediaContainer) GetSize() *int

type GetSessionHistoryMetadata added in v0.1.1

type GetSessionHistoryMetadata struct {
	HistoryKey            *string     `json:"historyKey,omitempty"`
	Key                   *string     `json:"key,omitempty"`
	RatingKey             *string     `json:"ratingKey,omitempty"`
	LibrarySectionID      *string     `json:"librarySectionID,omitempty"`
	ParentKey             *string     `json:"parentKey,omitempty"`
	GrandparentKey        *string     `json:"grandparentKey,omitempty"`
	Title                 *string     `json:"title,omitempty"`
	GrandparentTitle      *string     `json:"grandparentTitle,omitempty"`
	Type                  *string     `json:"type,omitempty"`
	Thumb                 *string     `json:"thumb,omitempty"`
	ParentThumb           *string     `json:"parentThumb,omitempty"`
	GrandparentThumb      *string     `json:"grandparentThumb,omitempty"`
	GrandparentArt        *string     `json:"grandparentArt,omitempty"`
	Index                 *int        `json:"index,omitempty"`
	ParentIndex           *int        `json:"parentIndex,omitempty"`
	OriginallyAvailableAt *types.Date `json:"originallyAvailableAt,omitempty"`
	ViewedAt              *int        `json:"viewedAt,omitempty"`
	AccountID             *int        `json:"accountID,omitempty"`
	DeviceID              *int        `json:"deviceID,omitempty"`
}

func (*GetSessionHistoryMetadata) GetAccountID added in v0.1.1

func (o *GetSessionHistoryMetadata) GetAccountID() *int

func (*GetSessionHistoryMetadata) GetDeviceID added in v0.1.1

func (o *GetSessionHistoryMetadata) GetDeviceID() *int

func (*GetSessionHistoryMetadata) GetGrandparentArt added in v0.1.1

func (o *GetSessionHistoryMetadata) GetGrandparentArt() *string

func (*GetSessionHistoryMetadata) GetGrandparentKey added in v0.1.1

func (o *GetSessionHistoryMetadata) GetGrandparentKey() *string

func (*GetSessionHistoryMetadata) GetGrandparentThumb added in v0.1.1

func (o *GetSessionHistoryMetadata) GetGrandparentThumb() *string

func (*GetSessionHistoryMetadata) GetGrandparentTitle added in v0.1.1

func (o *GetSessionHistoryMetadata) GetGrandparentTitle() *string

func (*GetSessionHistoryMetadata) GetHistoryKey added in v0.1.1

func (o *GetSessionHistoryMetadata) GetHistoryKey() *string

func (*GetSessionHistoryMetadata) GetIndex added in v0.1.1

func (o *GetSessionHistoryMetadata) GetIndex() *int

func (*GetSessionHistoryMetadata) GetKey added in v0.1.1

func (o *GetSessionHistoryMetadata) GetKey() *string

func (*GetSessionHistoryMetadata) GetLibrarySectionID added in v0.1.1

func (o *GetSessionHistoryMetadata) GetLibrarySectionID() *string

func (*GetSessionHistoryMetadata) GetOriginallyAvailableAt added in v0.1.1

func (o *GetSessionHistoryMetadata) GetOriginallyAvailableAt() *types.Date

func (*GetSessionHistoryMetadata) GetParentIndex added in v0.1.1

func (o *GetSessionHistoryMetadata) GetParentIndex() *int

func (*GetSessionHistoryMetadata) GetParentKey added in v0.1.1

func (o *GetSessionHistoryMetadata) GetParentKey() *string

func (*GetSessionHistoryMetadata) GetParentThumb added in v0.1.1

func (o *GetSessionHistoryMetadata) GetParentThumb() *string

func (*GetSessionHistoryMetadata) GetRatingKey added in v0.1.1

func (o *GetSessionHistoryMetadata) GetRatingKey() *string

func (*GetSessionHistoryMetadata) GetThumb added in v0.1.1

func (o *GetSessionHistoryMetadata) GetThumb() *string

func (*GetSessionHistoryMetadata) GetTitle added in v0.1.1

func (o *GetSessionHistoryMetadata) GetTitle() *string

func (*GetSessionHistoryMetadata) GetType added in v0.1.1

func (o *GetSessionHistoryMetadata) GetType() *string

func (*GetSessionHistoryMetadata) GetViewedAt added in v0.1.1

func (o *GetSessionHistoryMetadata) GetViewedAt() *int

func (GetSessionHistoryMetadata) MarshalJSON added in v0.1.1

func (g GetSessionHistoryMetadata) MarshalJSON() ([]byte, error)

func (*GetSessionHistoryMetadata) UnmarshalJSON added in v0.1.1

func (g *GetSessionHistoryMetadata) UnmarshalJSON(data []byte) error

type GetSessionHistoryRequest added in v0.10.0

type GetSessionHistoryRequest struct {
	// Sorts the results by the specified field followed by the direction (asc, desc)
	//
	Sort *string `queryParam:"style=form,explode=true,name=sort"`
	// Filter results by those that are related to a specific users id
	//
	AccountID *int64 `queryParam:"style=form,explode=true,name=accountId"`
	// Filters content by field and direction/equality
	// (Unknown if viewedAt is the only supported column)
	//
	Filter *QueryParamFilter `queryParam:"style=form,explode=true,name=filter"`
	// Filters the results based on the id of a valid library section
	//
	LibrarySectionID *int64 `queryParam:"style=form,explode=true,name=librarySectionID"`
}

func (*GetSessionHistoryRequest) GetAccountID added in v0.10.0

func (o *GetSessionHistoryRequest) GetAccountID() *int64

func (*GetSessionHistoryRequest) GetFilter added in v0.10.0

func (*GetSessionHistoryRequest) GetLibrarySectionID added in v0.10.0

func (o *GetSessionHistoryRequest) GetLibrarySectionID() *int64

func (*GetSessionHistoryRequest) GetSort added in v0.10.0

func (o *GetSessionHistoryRequest) GetSort() *string

type GetSessionHistoryResponse

type GetSessionHistoryResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// List of Plex Sessions
	Object *GetSessionHistoryResponseBody
}

func (*GetSessionHistoryResponse) GetContentType

func (o *GetSessionHistoryResponse) GetContentType() string

func (*GetSessionHistoryResponse) GetObject added in v0.1.1

func (*GetSessionHistoryResponse) GetRawResponse

func (o *GetSessionHistoryResponse) GetRawResponse() *http.Response

func (*GetSessionHistoryResponse) GetStatusCode

func (o *GetSessionHistoryResponse) GetStatusCode() int

type GetSessionHistoryResponseBody added in v0.1.1

type GetSessionHistoryResponseBody struct {
	MediaContainer *GetSessionHistoryMediaContainer `json:"MediaContainer,omitempty"`
}

GetSessionHistoryResponseBody - List of Plex Sessions

func (*GetSessionHistoryResponseBody) GetMediaContainer added in v0.1.1

type GetSessionsMedia added in v0.1.1

type GetSessionsMedia struct {
	AudioChannels *int              `json:"audioChannels,omitempty"`
	AudioCodec    *string           `json:"audioCodec,omitempty"`
	Bitrate       *int              `json:"bitrate,omitempty"`
	Container     *string           `json:"container,omitempty"`
	Duration      *int              `json:"duration,omitempty"`
	ID            *string           `json:"id,omitempty"`
	Selected      *bool             `json:"selected,omitempty"`
	Part          []GetSessionsPart `json:"Part,omitempty"`
}

func (*GetSessionsMedia) GetAudioChannels added in v0.1.1

func (o *GetSessionsMedia) GetAudioChannels() *int

func (*GetSessionsMedia) GetAudioCodec added in v0.1.1

func (o *GetSessionsMedia) GetAudioCodec() *string

func (*GetSessionsMedia) GetBitrate added in v0.1.1

func (o *GetSessionsMedia) GetBitrate() *int

func (*GetSessionsMedia) GetContainer added in v0.1.1

func (o *GetSessionsMedia) GetContainer() *string

func (*GetSessionsMedia) GetDuration added in v0.1.1

func (o *GetSessionsMedia) GetDuration() *int

func (*GetSessionsMedia) GetID added in v0.1.1

func (o *GetSessionsMedia) GetID() *string

func (*GetSessionsMedia) GetPart added in v0.1.1

func (o *GetSessionsMedia) GetPart() []GetSessionsPart

func (*GetSessionsMedia) GetSelected added in v0.1.1

func (o *GetSessionsMedia) GetSelected() *bool

type GetSessionsMediaContainer added in v0.1.1

type GetSessionsMediaContainer struct {
	Size     *int                  `json:"size,omitempty"`
	Metadata []GetSessionsMetadata `json:"Metadata,omitempty"`
}

func (*GetSessionsMediaContainer) GetMetadata added in v0.1.1

func (*GetSessionsMediaContainer) GetSize added in v0.1.1

func (o *GetSessionsMediaContainer) GetSize() *int

type GetSessionsMetadata added in v0.1.1

type GetSessionsMetadata struct {
	AddedAt              *int    `json:"addedAt,omitempty"`
	Art                  *string `json:"art,omitempty"`
	Duration             *int    `json:"duration,omitempty"`
	GrandparentArt       *string `json:"grandparentArt,omitempty"`
	GrandparentGUID      *string `json:"grandparentGuid,omitempty"`
	GrandparentKey       *string `json:"grandparentKey,omitempty"`
	GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
	GrandparentThumb     *string `json:"grandparentThumb,omitempty"`
	GrandparentTitle     *string `json:"grandparentTitle,omitempty"`
	GUID                 *string `json:"guid,omitempty"`
	Index                *int    `json:"index,omitempty"`
	Key                  *string `json:"key,omitempty"`
	LibrarySectionID     *string `json:"librarySectionID,omitempty"`
	LibrarySectionKey    *string `json:"librarySectionKey,omitempty"`
	LibrarySectionTitle  *string `json:"librarySectionTitle,omitempty"`
	MusicAnalysisVersion *string `json:"musicAnalysisVersion,omitempty"`
	// The original untranslated name of the media item when non-english, or the track artist if an audio Item has an album artist
	OriginalTitle   *string            `json:"originalTitle,omitempty"`
	ParentGUID      *string            `json:"parentGuid,omitempty"`
	ParentIndex     *int               `json:"parentIndex,omitempty"`
	ParentKey       *string            `json:"parentKey,omitempty"`
	ParentRatingKey *string            `json:"parentRatingKey,omitempty"`
	ParentStudio    *string            `json:"parentStudio,omitempty"`
	ParentThumb     *string            `json:"parentThumb,omitempty"`
	ParentTitle     *string            `json:"parentTitle,omitempty"`
	ParentYear      *int               `json:"parentYear,omitempty"`
	RatingCount     *int               `json:"ratingCount,omitempty"`
	RatingKey       *string            `json:"ratingKey,omitempty"`
	SessionKey      *string            `json:"sessionKey,omitempty"`
	Thumb           *string            `json:"thumb,omitempty"`
	Title           *string            `json:"title,omitempty"`
	TitleSort       *string            `json:"titleSort,omitempty"`
	Type            *string            `json:"type,omitempty"`
	UpdatedAt       *int               `json:"updatedAt,omitempty"`
	ViewOffset      *int               `json:"viewOffset,omitempty"`
	Media           []GetSessionsMedia `json:"Media,omitempty"`
	User            *GetSessionsUser   `json:"User,omitempty"`
	Player          *Player            `json:"Player,omitempty"`
	Session         *Session           `json:"Session,omitempty"`
}

func (*GetSessionsMetadata) GetAddedAt added in v0.1.1

func (o *GetSessionsMetadata) GetAddedAt() *int

func (*GetSessionsMetadata) GetArt added in v0.1.1

func (o *GetSessionsMetadata) GetArt() *string

func (*GetSessionsMetadata) GetDuration added in v0.1.1

func (o *GetSessionsMetadata) GetDuration() *int

func (*GetSessionsMetadata) GetGUID added in v0.1.1

func (o *GetSessionsMetadata) GetGUID() *string

func (*GetSessionsMetadata) GetGrandparentArt added in v0.1.1

func (o *GetSessionsMetadata) GetGrandparentArt() *string

func (*GetSessionsMetadata) GetGrandparentGUID added in v0.1.1

func (o *GetSessionsMetadata) GetGrandparentGUID() *string

func (*GetSessionsMetadata) GetGrandparentKey added in v0.1.1

func (o *GetSessionsMetadata) GetGrandparentKey() *string

func (*GetSessionsMetadata) GetGrandparentRatingKey added in v0.1.1

func (o *GetSessionsMetadata) GetGrandparentRatingKey() *string

func (*GetSessionsMetadata) GetGrandparentThumb added in v0.1.1

func (o *GetSessionsMetadata) GetGrandparentThumb() *string

func (*GetSessionsMetadata) GetGrandparentTitle added in v0.1.1

func (o *GetSessionsMetadata) GetGrandparentTitle() *string

func (*GetSessionsMetadata) GetIndex added in v0.1.1

func (o *GetSessionsMetadata) GetIndex() *int

func (*GetSessionsMetadata) GetKey added in v0.1.1

func (o *GetSessionsMetadata) GetKey() *string

func (*GetSessionsMetadata) GetLibrarySectionID added in v0.1.1

func (o *GetSessionsMetadata) GetLibrarySectionID() *string

func (*GetSessionsMetadata) GetLibrarySectionKey added in v0.1.1

func (o *GetSessionsMetadata) GetLibrarySectionKey() *string

func (*GetSessionsMetadata) GetLibrarySectionTitle added in v0.1.1

func (o *GetSessionsMetadata) GetLibrarySectionTitle() *string

func (*GetSessionsMetadata) GetMedia added in v0.1.1

func (o *GetSessionsMetadata) GetMedia() []GetSessionsMedia

func (*GetSessionsMetadata) GetMusicAnalysisVersion added in v0.1.1

func (o *GetSessionsMetadata) GetMusicAnalysisVersion() *string

func (*GetSessionsMetadata) GetOriginalTitle added in v0.17.1

func (o *GetSessionsMetadata) GetOriginalTitle() *string

func (*GetSessionsMetadata) GetParentGUID added in v0.1.1

func (o *GetSessionsMetadata) GetParentGUID() *string

func (*GetSessionsMetadata) GetParentIndex added in v0.1.1

func (o *GetSessionsMetadata) GetParentIndex() *int

func (*GetSessionsMetadata) GetParentKey added in v0.1.1

func (o *GetSessionsMetadata) GetParentKey() *string

func (*GetSessionsMetadata) GetParentRatingKey added in v0.1.1

func (o *GetSessionsMetadata) GetParentRatingKey() *string

func (*GetSessionsMetadata) GetParentStudio added in v0.1.1

func (o *GetSessionsMetadata) GetParentStudio() *string

func (*GetSessionsMetadata) GetParentThumb added in v0.1.1

func (o *GetSessionsMetadata) GetParentThumb() *string

func (*GetSessionsMetadata) GetParentTitle added in v0.1.1

func (o *GetSessionsMetadata) GetParentTitle() *string

func (*GetSessionsMetadata) GetParentYear added in v0.1.1

func (o *GetSessionsMetadata) GetParentYear() *int

func (*GetSessionsMetadata) GetPlayer added in v0.1.1

func (o *GetSessionsMetadata) GetPlayer() *Player

func (*GetSessionsMetadata) GetRatingCount added in v0.1.1

func (o *GetSessionsMetadata) GetRatingCount() *int

func (*GetSessionsMetadata) GetRatingKey added in v0.1.1

func (o *GetSessionsMetadata) GetRatingKey() *string

func (*GetSessionsMetadata) GetSession added in v0.1.1

func (o *GetSessionsMetadata) GetSession() *Session

func (*GetSessionsMetadata) GetSessionKey added in v0.1.1

func (o *GetSessionsMetadata) GetSessionKey() *string

func (*GetSessionsMetadata) GetThumb added in v0.1.1

func (o *GetSessionsMetadata) GetThumb() *string

func (*GetSessionsMetadata) GetTitle added in v0.1.1

func (o *GetSessionsMetadata) GetTitle() *string

func (*GetSessionsMetadata) GetTitleSort added in v0.1.1

func (o *GetSessionsMetadata) GetTitleSort() *string

func (*GetSessionsMetadata) GetType added in v0.1.1

func (o *GetSessionsMetadata) GetType() *string

func (*GetSessionsMetadata) GetUpdatedAt added in v0.1.1

func (o *GetSessionsMetadata) GetUpdatedAt() *int

func (*GetSessionsMetadata) GetUser added in v0.1.1

func (o *GetSessionsMetadata) GetUser() *GetSessionsUser

func (*GetSessionsMetadata) GetViewOffset added in v0.1.1

func (o *GetSessionsMetadata) GetViewOffset() *int

type GetSessionsPart added in v0.1.1

type GetSessionsPart struct {
	Container    *string             `json:"container,omitempty"`
	Duration     *int                `json:"duration,omitempty"`
	File         *string             `json:"file,omitempty"`
	HasThumbnail *string             `json:"hasThumbnail,omitempty"`
	ID           *string             `json:"id,omitempty"`
	Key          *string             `json:"key,omitempty"`
	Size         *int                `json:"size,omitempty"`
	Decision     *string             `json:"decision,omitempty"`
	Selected     *bool               `json:"selected,omitempty"`
	Stream       []GetSessionsStream `json:"Stream,omitempty"`
}

func (*GetSessionsPart) GetContainer added in v0.1.1

func (o *GetSessionsPart) GetContainer() *string

func (*GetSessionsPart) GetDecision added in v0.1.1

func (o *GetSessionsPart) GetDecision() *string

func (*GetSessionsPart) GetDuration added in v0.1.1

func (o *GetSessionsPart) GetDuration() *int

func (*GetSessionsPart) GetFile added in v0.1.1

func (o *GetSessionsPart) GetFile() *string

func (*GetSessionsPart) GetHasThumbnail added in v0.1.1

func (o *GetSessionsPart) GetHasThumbnail() *string

func (*GetSessionsPart) GetID added in v0.1.1

func (o *GetSessionsPart) GetID() *string

func (*GetSessionsPart) GetKey added in v0.1.1

func (o *GetSessionsPart) GetKey() *string

func (*GetSessionsPart) GetSelected added in v0.1.1

func (o *GetSessionsPart) GetSelected() *bool

func (*GetSessionsPart) GetSize added in v0.1.1

func (o *GetSessionsPart) GetSize() *int

func (*GetSessionsPart) GetStream added in v0.1.1

func (o *GetSessionsPart) GetStream() []GetSessionsStream

type GetSessionsResponse

type GetSessionsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// List of Active Plex Sessions
	Object *GetSessionsResponseBody
}

func (*GetSessionsResponse) GetContentType

func (o *GetSessionsResponse) GetContentType() string

func (*GetSessionsResponse) GetObject added in v0.1.1

func (*GetSessionsResponse) GetRawResponse

func (o *GetSessionsResponse) GetRawResponse() *http.Response

func (*GetSessionsResponse) GetStatusCode

func (o *GetSessionsResponse) GetStatusCode() int

type GetSessionsResponseBody added in v0.1.1

type GetSessionsResponseBody struct {
	MediaContainer *GetSessionsMediaContainer `json:"MediaContainer,omitempty"`
}

GetSessionsResponseBody - List of Active Plex Sessions

func (*GetSessionsResponseBody) GetMediaContainer added in v0.1.1

func (o *GetSessionsResponseBody) GetMediaContainer() *GetSessionsMediaContainer

type GetSessionsStream added in v0.1.1

type GetSessionsStream struct {
	AlbumGain            *string `json:"albumGain,omitempty"`
	AlbumPeak            *string `json:"albumPeak,omitempty"`
	AlbumRange           *string `json:"albumRange,omitempty"`
	AudioChannelLayout   *string `json:"audioChannelLayout,omitempty"`
	BitDepth             *int    `json:"bitDepth,omitempty"`
	Bitrate              *int    `json:"bitrate,omitempty"`
	Channels             *int    `json:"channels,omitempty"`
	Codec                *string `json:"codec,omitempty"`
	DisplayTitle         *string `json:"displayTitle,omitempty"`
	ExtendedDisplayTitle *string `json:"extendedDisplayTitle,omitempty"`
	Gain                 *string `json:"gain,omitempty"`
	ID                   *string `json:"id,omitempty"`
	Index                *int    `json:"index,omitempty"`
	Loudness             *string `json:"loudness,omitempty"`
	Lra                  *string `json:"lra,omitempty"`
	Peak                 *string `json:"peak,omitempty"`
	SamplingRate         *int    `json:"samplingRate,omitempty"`
	Selected             *bool   `json:"selected,omitempty"`
	StreamType           *int    `json:"streamType,omitempty"`
	Location             *string `json:"location,omitempty"`
}

func (*GetSessionsStream) GetAlbumGain added in v0.1.1

func (o *GetSessionsStream) GetAlbumGain() *string

func (*GetSessionsStream) GetAlbumPeak added in v0.1.1

func (o *GetSessionsStream) GetAlbumPeak() *string

func (*GetSessionsStream) GetAlbumRange added in v0.1.1

func (o *GetSessionsStream) GetAlbumRange() *string

func (*GetSessionsStream) GetAudioChannelLayout added in v0.1.1

func (o *GetSessionsStream) GetAudioChannelLayout() *string

func (*GetSessionsStream) GetBitDepth added in v0.1.1

func (o *GetSessionsStream) GetBitDepth() *int

func (*GetSessionsStream) GetBitrate added in v0.1.1

func (o *GetSessionsStream) GetBitrate() *int

func (*GetSessionsStream) GetChannels added in v0.1.1

func (o *GetSessionsStream) GetChannels() *int

func (*GetSessionsStream) GetCodec added in v0.1.1

func (o *GetSessionsStream) GetCodec() *string

func (*GetSessionsStream) GetDisplayTitle added in v0.1.1

func (o *GetSessionsStream) GetDisplayTitle() *string

func (*GetSessionsStream) GetExtendedDisplayTitle added in v0.1.1

func (o *GetSessionsStream) GetExtendedDisplayTitle() *string

func (*GetSessionsStream) GetGain added in v0.1.1

func (o *GetSessionsStream) GetGain() *string

func (*GetSessionsStream) GetID added in v0.1.1

func (o *GetSessionsStream) GetID() *string

func (*GetSessionsStream) GetIndex added in v0.1.1

func (o *GetSessionsStream) GetIndex() *int

func (*GetSessionsStream) GetLocation added in v0.1.1

func (o *GetSessionsStream) GetLocation() *string

func (*GetSessionsStream) GetLoudness added in v0.1.1

func (o *GetSessionsStream) GetLoudness() *string

func (*GetSessionsStream) GetLra added in v0.1.1

func (o *GetSessionsStream) GetLra() *string

func (*GetSessionsStream) GetPeak added in v0.1.1

func (o *GetSessionsStream) GetPeak() *string

func (*GetSessionsStream) GetSamplingRate added in v0.1.1

func (o *GetSessionsStream) GetSamplingRate() *int

func (*GetSessionsStream) GetSelected added in v0.1.1

func (o *GetSessionsStream) GetSelected() *bool

func (*GetSessionsStream) GetStreamType added in v0.1.1

func (o *GetSessionsStream) GetStreamType() *int

type GetSessionsUser added in v0.10.0

type GetSessionsUser struct {
	ID    *string `json:"id,omitempty"`
	Thumb *string `json:"thumb,omitempty"`
	Title *string `json:"title,omitempty"`
}

func (*GetSessionsUser) GetID added in v0.10.0

func (o *GetSessionsUser) GetID() *string

func (*GetSessionsUser) GetThumb added in v0.10.0

func (o *GetSessionsUser) GetThumb() *string

func (*GetSessionsUser) GetTitle added in v0.10.0

func (o *GetSessionsUser) GetTitle() *string

type GetSourceConnectionInformationRequest

type GetSourceConnectionInformationRequest struct {
	// The source identifier with an included prefix.
	Source string `queryParam:"style=form,explode=true,name=source"`
}

func (*GetSourceConnectionInformationRequest) GetSource

type GetSourceConnectionInformationResponse

type GetSourceConnectionInformationResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetSourceConnectionInformationResponse) GetContentType

func (o *GetSourceConnectionInformationResponse) GetContentType() string

func (*GetSourceConnectionInformationResponse) GetRawResponse

func (*GetSourceConnectionInformationResponse) GetStatusCode

func (o *GetSourceConnectionInformationResponse) GetStatusCode() int

type GetStatisticsDevice added in v0.4.0

type GetStatisticsDevice struct {
	ID               *int    `json:"id,omitempty"`
	Name             *string `json:"name,omitempty"`
	Platform         *string `json:"platform,omitempty"`
	ClientIdentifier *string `json:"clientIdentifier,omitempty"`
	CreatedAt        *int    `json:"createdAt,omitempty"`
}

func (*GetStatisticsDevice) GetClientIdentifier added in v0.4.0

func (o *GetStatisticsDevice) GetClientIdentifier() *string

func (*GetStatisticsDevice) GetCreatedAt added in v0.4.0

func (o *GetStatisticsDevice) GetCreatedAt() *int

func (*GetStatisticsDevice) GetID added in v0.4.0

func (o *GetStatisticsDevice) GetID() *int

func (*GetStatisticsDevice) GetName added in v0.4.0

func (o *GetStatisticsDevice) GetName() *string

func (*GetStatisticsDevice) GetPlatform added in v0.4.0

func (o *GetStatisticsDevice) GetPlatform() *string

type GetStatisticsMediaContainer added in v0.4.0

type GetStatisticsMediaContainer struct {
	Size            *int                  `json:"size,omitempty"`
	Device          []GetStatisticsDevice `json:"Device,omitempty"`
	Account         []Account             `json:"Account,omitempty"`
	StatisticsMedia []StatisticsMedia     `json:"StatisticsMedia,omitempty"`
}

func (*GetStatisticsMediaContainer) GetAccount added in v0.4.0

func (o *GetStatisticsMediaContainer) GetAccount() []Account

func (*GetStatisticsMediaContainer) GetDevice added in v0.4.0

func (*GetStatisticsMediaContainer) GetSize added in v0.4.0

func (o *GetStatisticsMediaContainer) GetSize() *int

func (*GetStatisticsMediaContainer) GetStatisticsMedia added in v0.4.0

func (o *GetStatisticsMediaContainer) GetStatisticsMedia() []StatisticsMedia

type GetStatisticsRequest added in v0.4.0

type GetStatisticsRequest struct {
	// The timespan to retrieve statistics for
	// the exact meaning of this parameter is not known
	//
	Timespan *int64 `queryParam:"style=form,explode=true,name=timespan"`
}

func (*GetStatisticsRequest) GetTimespan added in v0.4.0

func (o *GetStatisticsRequest) GetTimespan() *int64

type GetStatisticsResponse added in v0.4.0

type GetStatisticsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Media Statistics
	Object *GetStatisticsResponseBody
}

func (*GetStatisticsResponse) GetContentType added in v0.4.0

func (o *GetStatisticsResponse) GetContentType() string

func (*GetStatisticsResponse) GetObject added in v0.4.0

func (*GetStatisticsResponse) GetRawResponse added in v0.4.0

func (o *GetStatisticsResponse) GetRawResponse() *http.Response

func (*GetStatisticsResponse) GetStatusCode added in v0.4.0

func (o *GetStatisticsResponse) GetStatusCode() int

type GetStatisticsResponseBody added in v0.4.0

type GetStatisticsResponseBody struct {
	MediaContainer *GetStatisticsMediaContainer `json:"MediaContainer,omitempty"`
}

GetStatisticsResponseBody - Media Statistics

func (*GetStatisticsResponseBody) GetMediaContainer added in v0.4.0

type GetThumbImageRequest added in v0.11.1

type GetThumbImageRequest struct {
	// the id of the library item to return the children of.
	RatingKey int64 `pathParam:"style=simple,explode=false,name=ratingKey"`
	Width     int64 `queryParam:"style=form,explode=true,name=width"`
	Height    int64 `queryParam:"style=form,explode=true,name=height"`
	MinSize   int64 `queryParam:"style=form,explode=true,name=minSize"`
	Upscale   int64 `queryParam:"style=form,explode=true,name=upscale"`
	// An authentication token, obtained from plex.tv
	XPlexToken string `header:"style=simple,explode=false,name=X-Plex-Token"`
}

func (*GetThumbImageRequest) GetHeight added in v0.11.1

func (o *GetThumbImageRequest) GetHeight() int64

func (*GetThumbImageRequest) GetMinSize added in v0.11.1

func (o *GetThumbImageRequest) GetMinSize() int64

func (*GetThumbImageRequest) GetRatingKey added in v0.11.1

func (o *GetThumbImageRequest) GetRatingKey() int64

func (*GetThumbImageRequest) GetUpscale added in v0.11.1

func (o *GetThumbImageRequest) GetUpscale() int64

func (*GetThumbImageRequest) GetWidth added in v0.11.1

func (o *GetThumbImageRequest) GetWidth() int64

func (*GetThumbImageRequest) GetXPlexToken added in v0.11.1

func (o *GetThumbImageRequest) GetXPlexToken() string

type GetThumbImageResponse added in v0.11.1

type GetThumbImageResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Successful response returning an image
	// The Close method must be called on this field, even if it is not used, to prevent resource leaks.
	ResponseStream io.ReadCloser
	Headers        map[string][]string
}

func (*GetThumbImageResponse) GetContentType added in v0.11.1

func (o *GetThumbImageResponse) GetContentType() string

func (*GetThumbImageResponse) GetHeaders added in v0.11.1

func (o *GetThumbImageResponse) GetHeaders() map[string][]string

func (*GetThumbImageResponse) GetRawResponse added in v0.11.1

func (o *GetThumbImageResponse) GetRawResponse() *http.Response

func (*GetThumbImageResponse) GetResponseStream added in v0.11.1

func (o *GetThumbImageResponse) GetResponseStream() io.ReadCloser

func (*GetThumbImageResponse) GetStatusCode added in v0.11.1

func (o *GetThumbImageResponse) GetStatusCode() int

type GetTimelineRequest

type GetTimelineRequest struct {
	// The rating key of the media item
	RatingKey float64 `queryParam:"style=form,explode=true,name=ratingKey"`
	// The key of the media item to get the timeline for
	Key string `queryParam:"style=form,explode=true,name=key"`
	// The state of the media item
	State State `queryParam:"style=form,explode=true,name=state"`
	// Whether the media item has MDE
	HasMDE float64 `queryParam:"style=form,explode=true,name=hasMDE"`
	// The time of the media item
	Time float64 `queryParam:"style=form,explode=true,name=time"`
	// The duration of the media item
	Duration float64 `queryParam:"style=form,explode=true,name=duration"`
	// The context of the media item
	Context string `queryParam:"style=form,explode=true,name=context"`
	// The play queue item ID of the media item
	PlayQueueItemID float64 `queryParam:"style=form,explode=true,name=playQueueItemID"`
	// The playback time of the media item
	PlayBackTime float64 `queryParam:"style=form,explode=true,name=playBackTime"`
	// The row of the media item
	Row float64 `queryParam:"style=form,explode=true,name=row"`
}

func (*GetTimelineRequest) GetContext

func (o *GetTimelineRequest) GetContext() string

func (*GetTimelineRequest) GetDuration

func (o *GetTimelineRequest) GetDuration() float64

func (*GetTimelineRequest) GetHasMDE

func (o *GetTimelineRequest) GetHasMDE() float64

func (*GetTimelineRequest) GetKey

func (o *GetTimelineRequest) GetKey() string

func (*GetTimelineRequest) GetPlayBackTime

func (o *GetTimelineRequest) GetPlayBackTime() float64

func (*GetTimelineRequest) GetPlayQueueItemID

func (o *GetTimelineRequest) GetPlayQueueItemID() float64

func (*GetTimelineRequest) GetRatingKey

func (o *GetTimelineRequest) GetRatingKey() float64

func (*GetTimelineRequest) GetRow

func (o *GetTimelineRequest) GetRow() float64

func (*GetTimelineRequest) GetState

func (o *GetTimelineRequest) GetState() State

func (*GetTimelineRequest) GetTime

func (o *GetTimelineRequest) GetTime() float64

type GetTimelineResponse

type GetTimelineResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetTimelineResponse) GetContentType

func (o *GetTimelineResponse) GetContentType() string

func (*GetTimelineResponse) GetRawResponse

func (o *GetTimelineResponse) GetRawResponse() *http.Response

func (*GetTimelineResponse) GetStatusCode

func (o *GetTimelineResponse) GetStatusCode() int

type GetTokenByPinIDAuthPinContainer added in v0.11.1

type GetTokenByPinIDAuthPinContainer struct {
	ID      int64  `json:"id"`
	Code    string `json:"code"`
	Product string `json:"product"`
	Trusted *bool  `default:"false" json:"trusted"`
	Qr      string `json:"qr"`
	// The X-Client-Identifier used in the request
	ClientIdentifier string `json:"clientIdentifier"`
	// Geo location data
	Location GetTokenByPinIDGeoData `json:"location"`
	// The number of seconds this pin expires, by default 900 seconds
	ExpiresIn       *int64    `default:"900" json:"expiresIn"`
	CreatedAt       time.Time `json:"createdAt"`
	ExpiresAt       time.Time `json:"expiresAt"`
	AuthToken       *string   `json:"authToken,omitempty"`
	NewRegistration any       `json:"newRegistration,omitempty"`
}

GetTokenByPinIDAuthPinContainer - The Pin with a non-null authToken when it has been verified by the user

func (*GetTokenByPinIDAuthPinContainer) GetAuthToken added in v0.11.1

func (o *GetTokenByPinIDAuthPinContainer) GetAuthToken() *string

func (*GetTokenByPinIDAuthPinContainer) GetClientIdentifier added in v0.11.1

func (o *GetTokenByPinIDAuthPinContainer) GetClientIdentifier() string

func (*GetTokenByPinIDAuthPinContainer) GetCode added in v0.11.1

func (*GetTokenByPinIDAuthPinContainer) GetCreatedAt added in v0.11.1

func (o *GetTokenByPinIDAuthPinContainer) GetCreatedAt() time.Time

func (*GetTokenByPinIDAuthPinContainer) GetExpiresAt added in v0.11.1

func (o *GetTokenByPinIDAuthPinContainer) GetExpiresAt() time.Time

func (*GetTokenByPinIDAuthPinContainer) GetExpiresIn added in v0.11.1

func (o *GetTokenByPinIDAuthPinContainer) GetExpiresIn() *int64

func (*GetTokenByPinIDAuthPinContainer) GetID added in v0.11.1

func (*GetTokenByPinIDAuthPinContainer) GetLocation added in v0.11.1

func (*GetTokenByPinIDAuthPinContainer) GetNewRegistration added in v0.11.1

func (o *GetTokenByPinIDAuthPinContainer) GetNewRegistration() any

func (*GetTokenByPinIDAuthPinContainer) GetProduct added in v0.11.1

func (o *GetTokenByPinIDAuthPinContainer) GetProduct() string

func (*GetTokenByPinIDAuthPinContainer) GetQr added in v0.11.1

func (*GetTokenByPinIDAuthPinContainer) GetTrusted added in v0.11.1

func (o *GetTokenByPinIDAuthPinContainer) GetTrusted() *bool

func (GetTokenByPinIDAuthPinContainer) MarshalJSON added in v0.11.1

func (g GetTokenByPinIDAuthPinContainer) MarshalJSON() ([]byte, error)

func (*GetTokenByPinIDAuthPinContainer) UnmarshalJSON added in v0.11.1

func (g *GetTokenByPinIDAuthPinContainer) UnmarshalJSON(data []byte) error

type GetTokenByPinIDGeoData added in v0.11.1

type GetTokenByPinIDGeoData struct {
	// The ISO 3166-1 alpha-2 code of the country.
	Code string `json:"code"`
	// The continent code where the country is located.
	ContinentCode string `json:"continent_code"`
	// The official name of the country.
	Country string `json:"country"`
	// The name of the city.
	City string `json:"city"`
	// Indicates if the country is a member of the European Union.
	EuropeanUnionMember *bool `default:"false" json:"european_union_member"`
	// The time zone of the country.
	TimeZone string `json:"time_zone"`
	// The postal code of the location.
	PostalCode string `json:"postal_code"`
	// Indicates if the country has privacy restrictions.
	InPrivacyRestrictedCountry *bool `default:"false" json:"in_privacy_restricted_country"`
	// Indicates if the region has privacy restrictions.
	InPrivacyRestrictedRegion *bool `default:"false" json:"in_privacy_restricted_region"`
	// The name of the primary administrative subdivision.
	Subdivisions string `json:"subdivisions"`
	// The geographical coordinates (latitude, longitude) of the location.
	Coordinates string `json:"coordinates"`
}

GetTokenByPinIDGeoData - Geo location data

func (*GetTokenByPinIDGeoData) GetCity added in v0.11.1

func (o *GetTokenByPinIDGeoData) GetCity() string

func (*GetTokenByPinIDGeoData) GetCode added in v0.11.1

func (o *GetTokenByPinIDGeoData) GetCode() string

func (*GetTokenByPinIDGeoData) GetContinentCode added in v0.11.1

func (o *GetTokenByPinIDGeoData) GetContinentCode() string

func (*GetTokenByPinIDGeoData) GetCoordinates added in v0.11.1

func (o *GetTokenByPinIDGeoData) GetCoordinates() string

func (*GetTokenByPinIDGeoData) GetCountry added in v0.11.1

func (o *GetTokenByPinIDGeoData) GetCountry() string

func (*GetTokenByPinIDGeoData) GetEuropeanUnionMember added in v0.11.1

func (o *GetTokenByPinIDGeoData) GetEuropeanUnionMember() *bool

func (*GetTokenByPinIDGeoData) GetInPrivacyRestrictedCountry added in v0.11.1

func (o *GetTokenByPinIDGeoData) GetInPrivacyRestrictedCountry() *bool

func (*GetTokenByPinIDGeoData) GetInPrivacyRestrictedRegion added in v0.11.1

func (o *GetTokenByPinIDGeoData) GetInPrivacyRestrictedRegion() *bool

func (*GetTokenByPinIDGeoData) GetPostalCode added in v0.11.1

func (o *GetTokenByPinIDGeoData) GetPostalCode() string

func (*GetTokenByPinIDGeoData) GetSubdivisions added in v0.11.1

func (o *GetTokenByPinIDGeoData) GetSubdivisions() string

func (*GetTokenByPinIDGeoData) GetTimeZone added in v0.11.1

func (o *GetTokenByPinIDGeoData) GetTimeZone() string

func (GetTokenByPinIDGeoData) MarshalJSON added in v0.11.1

func (g GetTokenByPinIDGeoData) MarshalJSON() ([]byte, error)

func (*GetTokenByPinIDGeoData) UnmarshalJSON added in v0.11.1

func (g *GetTokenByPinIDGeoData) UnmarshalJSON(data []byte) error

type GetTokenByPinIDRequest added in v0.11.1

type GetTokenByPinIDRequest struct {
	// The PinID to retrieve an access token for
	PinID int64 `pathParam:"style=simple,explode=false,name=pinID"`
	// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
	ClientID string `header:"style=simple,explode=false,name=X-Plex-Client-Identifier"`
	// The name of the client application. (Plex Web, Plex Media Server, etc.)
	ClientName *string `header:"style=simple,explode=false,name=X-Plex-Product"`
	// A relatively friendly name for the client device
	DeviceNickname *string `header:"style=simple,explode=false,name=X-Plex-Device"`
	// The version of the client application.
	ClientVersion *string `header:"style=simple,explode=false,name=X-Plex-Version"`
	// The platform of the client application.
	Platform *string `header:"style=simple,explode=false,name=X-Plex-Platform"`
}

func (*GetTokenByPinIDRequest) GetClientID added in v0.11.11

func (o *GetTokenByPinIDRequest) GetClientID() string

func (*GetTokenByPinIDRequest) GetClientName added in v0.14.0

func (o *GetTokenByPinIDRequest) GetClientName() *string

func (*GetTokenByPinIDRequest) GetClientVersion added in v0.14.0

func (o *GetTokenByPinIDRequest) GetClientVersion() *string

func (*GetTokenByPinIDRequest) GetDeviceNickname added in v0.15.0

func (o *GetTokenByPinIDRequest) GetDeviceNickname() *string

func (*GetTokenByPinIDRequest) GetPinID added in v0.11.1

func (o *GetTokenByPinIDRequest) GetPinID() int64

func (*GetTokenByPinIDRequest) GetPlatform added in v0.15.0

func (o *GetTokenByPinIDRequest) GetPlatform() *string

type GetTokenByPinIDResponse added in v0.11.1

type GetTokenByPinIDResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The Pin with a non-null authToken when it has been verified by the user
	AuthPinContainer *GetTokenByPinIDAuthPinContainer
}

func (*GetTokenByPinIDResponse) GetAuthPinContainer added in v0.11.1

func (o *GetTokenByPinIDResponse) GetAuthPinContainer() *GetTokenByPinIDAuthPinContainer

func (*GetTokenByPinIDResponse) GetContentType added in v0.11.1

func (o *GetTokenByPinIDResponse) GetContentType() string

func (*GetTokenByPinIDResponse) GetRawResponse added in v0.11.1

func (o *GetTokenByPinIDResponse) GetRawResponse() *http.Response

func (*GetTokenByPinIDResponse) GetStatusCode added in v0.11.1

func (o *GetTokenByPinIDResponse) GetStatusCode() int

type GetTokenDetailsAuthenticationResponseStatus added in v0.11.2

type GetTokenDetailsAuthenticationResponseStatus string

GetTokenDetailsAuthenticationResponseStatus - String representation of subscriptionActive

const (
	GetTokenDetailsAuthenticationResponseStatusInactive GetTokenDetailsAuthenticationResponseStatus = "Inactive"
	GetTokenDetailsAuthenticationResponseStatusActive   GetTokenDetailsAuthenticationResponseStatus = "Active"
)

func (GetTokenDetailsAuthenticationResponseStatus) ToPointer added in v0.11.2

func (*GetTokenDetailsAuthenticationResponseStatus) UnmarshalJSON added in v0.11.2

func (e *GetTokenDetailsAuthenticationResponseStatus) UnmarshalJSON(data []byte) error

type GetTokenDetailsAuthenticationStatus added in v0.11.2

type GetTokenDetailsAuthenticationStatus string

GetTokenDetailsAuthenticationStatus - String representation of subscriptionActive

const (
	GetTokenDetailsAuthenticationStatusInactive GetTokenDetailsAuthenticationStatus = "Inactive"
	GetTokenDetailsAuthenticationStatusActive   GetTokenDetailsAuthenticationStatus = "Active"
)

func (GetTokenDetailsAuthenticationStatus) ToPointer added in v0.11.2

func (*GetTokenDetailsAuthenticationStatus) UnmarshalJSON added in v0.11.2

func (e *GetTokenDetailsAuthenticationStatus) UnmarshalJSON(data []byte) error

type GetTokenDetailsResponse added in v0.11.2

type GetTokenDetailsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Logged in user details
	UserPlexAccount *GetTokenDetailsUserPlexAccount
}

func (*GetTokenDetailsResponse) GetContentType added in v0.11.2

func (o *GetTokenDetailsResponse) GetContentType() string

func (*GetTokenDetailsResponse) GetRawResponse added in v0.11.2

func (o *GetTokenDetailsResponse) GetRawResponse() *http.Response

func (*GetTokenDetailsResponse) GetStatusCode added in v0.11.2

func (o *GetTokenDetailsResponse) GetStatusCode() int

func (*GetTokenDetailsResponse) GetUserPlexAccount added in v0.11.2

type GetTokenDetailsStatus added in v0.11.2

type GetTokenDetailsStatus string
const (
	GetTokenDetailsStatusOnline  GetTokenDetailsStatus = "online"
	GetTokenDetailsStatusOffline GetTokenDetailsStatus = "offline"
)

func (GetTokenDetailsStatus) ToPointer added in v0.11.2

func (*GetTokenDetailsStatus) UnmarshalJSON added in v0.11.2

func (e *GetTokenDetailsStatus) UnmarshalJSON(data []byte) error

type GetTokenDetailsSubscription added in v0.11.2

type GetTokenDetailsSubscription struct {
	// List of features allowed on your Plex Pass subscription
	Features []string `json:"features,omitempty"`
	// If the account's Plex Pass subscription is active
	Active *bool `json:"active,omitempty"`
	// Date the account subscribed to Plex Pass
	SubscribedAt *string `json:"subscribedAt,omitempty"`
	// String representation of subscriptionActive
	Status *GetTokenDetailsAuthenticationResponseStatus `json:"status,omitempty"`
	// Payment service used for your Plex Pass subscription
	PaymentService *string `json:"paymentService,omitempty"`
	// Name of Plex Pass subscription plan
	Plan *string `json:"plan,omitempty"`
}

func (*GetTokenDetailsSubscription) GetActive added in v0.11.2

func (o *GetTokenDetailsSubscription) GetActive() *bool

func (*GetTokenDetailsSubscription) GetFeatures added in v0.11.2

func (o *GetTokenDetailsSubscription) GetFeatures() []string

func (*GetTokenDetailsSubscription) GetPaymentService added in v0.11.2

func (o *GetTokenDetailsSubscription) GetPaymentService() *string

func (*GetTokenDetailsSubscription) GetPlan added in v0.11.2

func (o *GetTokenDetailsSubscription) GetPlan() *string

func (*GetTokenDetailsSubscription) GetStatus added in v0.11.2

func (*GetTokenDetailsSubscription) GetSubscribedAt added in v0.11.2

func (o *GetTokenDetailsSubscription) GetSubscribedAt() *string

type GetTokenDetailsUserPlexAccount added in v0.11.2

type GetTokenDetailsUserPlexAccount struct {
	// Unknown
	AdsConsent           *bool  `json:"adsConsent"`
	AdsConsentReminderAt *int64 `json:"adsConsentReminderAt"`
	AdsConsentSetAt      *int64 `json:"adsConsentSetAt"`
	// Unknown
	Anonymous *bool `default:"false" json:"anonymous"`
	// The account token
	AuthToken string `json:"authToken"`
	// If the two-factor authentication backup codes have been created
	BackupCodesCreated *bool `default:"false" json:"backupCodesCreated"`
	// If the account has been confirmed
	Confirmed *bool `default:"false" json:"confirmed"`
	// The account country
	Country string `json:"country"`
	// The account email address
	Email string `json:"email"`
	// If login with email only is enabled
	EmailOnlyAuth *bool `default:"false" json:"emailOnlyAuth"`
	// If experimental features are enabled
	ExperimentalFeatures *bool `default:"false" json:"experimentalFeatures"`
	// Your account full name
	FriendlyName string `json:"friendlyName"`
	// List of devices your allowed to use with this account
	Entitlements []string `json:"entitlements"`
	// If the account is a Plex Home guest user
	Guest *bool `default:"false" json:"guest"`
	// If the account has a password
	HasPassword *bool `default:"true" json:"hasPassword"`
	// If the account is a Plex Home user
	Home *bool `default:"false" json:"home"`
	// If the account is the Plex Home admin
	HomeAdmin *bool `default:"false" json:"homeAdmin"`
	// The number of accounts in the Plex Home
	HomeSize int `json:"homeSize"`
	// The Plex account ID
	ID int `json:"id"`
	// Unix epoch datetime in seconds
	JoinedAt int64 `json:"joinedAt"`
	// The account locale
	Locale *string `json:"locale"`
	// If you are subscribed to the Plex newsletter
	MailingListActive *bool `default:"false" json:"mailingListActive"`
	// Your current mailing list status (active or unsubscribed)
	MailingListStatus MailingListStatus `json:"mailingListStatus"`
	// The maximum number of accounts allowed in the Plex Home
	MaxHomeSize int `json:"maxHomeSize"`
	// [Might be removed] The hashed Plex Home PIN
	//
	// Deprecated: This will be removed in a future release, please migrate away from it as soon as possible.
	Pin     *string     `json:"pin,omitempty"`
	Profile UserProfile `json:"profile"`
	// If the account has a Plex Home PIN enabled
	Protected *bool `default:"false" json:"protected"`
	// Unix epoch datetime in seconds
	RememberExpiresAt int64 `json:"rememberExpiresAt"`
	// If the account is a Plex Home managed user
	Restricted *bool `default:"false" json:"restricted"`
	// [Might be removed] List of account roles. Plexpass membership listed here
	Roles []string `json:"roles,omitempty"`
	// Unknown
	ScrobbleTypes string     `json:"scrobbleTypes"`
	Services      []Services `json:"services"`
	// If the account’s Plex Pass subscription is active
	Subscription Subscription `json:"subscription"`
	// Description of the Plex Pass subscription
	SubscriptionDescription *string                       `json:"subscriptionDescription"`
	Subscriptions           []GetTokenDetailsSubscription `json:"subscriptions,omitempty"`
	// URL of the account thumbnail
	Thumb string `json:"thumb"`
	// The title of the account (username or friendly name)
	Title string `json:"title"`
	// If two-factor authentication is enabled
	TwoFactorEnabled *bool `default:"false" json:"twoFactorEnabled"`
	// The account username
	Username string `json:"username"`
	// The account UUID
	UUID               string  `json:"uuid"`
	AttributionPartner *string `json:"attributionPartner"`
}

GetTokenDetailsUserPlexAccount - Logged in user details

func (*GetTokenDetailsUserPlexAccount) GetAdsConsent added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetAdsConsent() *bool

func (*GetTokenDetailsUserPlexAccount) GetAdsConsentReminderAt added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetAdsConsentReminderAt() *int64

func (*GetTokenDetailsUserPlexAccount) GetAdsConsentSetAt added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetAdsConsentSetAt() *int64

func (*GetTokenDetailsUserPlexAccount) GetAnonymous added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetAnonymous() *bool

func (*GetTokenDetailsUserPlexAccount) GetAttributionPartner added in v0.12.1

func (o *GetTokenDetailsUserPlexAccount) GetAttributionPartner() *string

func (*GetTokenDetailsUserPlexAccount) GetAuthToken added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetAuthToken() string

func (*GetTokenDetailsUserPlexAccount) GetBackupCodesCreated added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetBackupCodesCreated() *bool

func (*GetTokenDetailsUserPlexAccount) GetConfirmed added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetConfirmed() *bool

func (*GetTokenDetailsUserPlexAccount) GetCountry added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetCountry() string

func (*GetTokenDetailsUserPlexAccount) GetEmail added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetEmail() string

func (*GetTokenDetailsUserPlexAccount) GetEmailOnlyAuth added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetEmailOnlyAuth() *bool

func (*GetTokenDetailsUserPlexAccount) GetEntitlements added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetEntitlements() []string

func (*GetTokenDetailsUserPlexAccount) GetExperimentalFeatures added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetExperimentalFeatures() *bool

func (*GetTokenDetailsUserPlexAccount) GetFriendlyName added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetFriendlyName() string

func (*GetTokenDetailsUserPlexAccount) GetGuest added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetGuest() *bool

func (*GetTokenDetailsUserPlexAccount) GetHasPassword added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetHasPassword() *bool

func (*GetTokenDetailsUserPlexAccount) GetHome added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetHome() *bool

func (*GetTokenDetailsUserPlexAccount) GetHomeAdmin added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetHomeAdmin() *bool

func (*GetTokenDetailsUserPlexAccount) GetHomeSize added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetHomeSize() int

func (*GetTokenDetailsUserPlexAccount) GetID added in v0.11.2

func (*GetTokenDetailsUserPlexAccount) GetJoinedAt added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetJoinedAt() int64

func (*GetTokenDetailsUserPlexAccount) GetLocale added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetLocale() *string

func (*GetTokenDetailsUserPlexAccount) GetMailingListActive added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetMailingListActive() *bool

func (*GetTokenDetailsUserPlexAccount) GetMailingListStatus added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetMailingListStatus() MailingListStatus

func (*GetTokenDetailsUserPlexAccount) GetMaxHomeSize added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetMaxHomeSize() int

func (*GetTokenDetailsUserPlexAccount) GetPin added in v0.11.2

func (*GetTokenDetailsUserPlexAccount) GetProfile added in v0.11.2

func (*GetTokenDetailsUserPlexAccount) GetProtected added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetProtected() *bool

func (*GetTokenDetailsUserPlexAccount) GetRememberExpiresAt added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetRememberExpiresAt() int64

func (*GetTokenDetailsUserPlexAccount) GetRestricted added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetRestricted() *bool

func (*GetTokenDetailsUserPlexAccount) GetRoles added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetRoles() []string

func (*GetTokenDetailsUserPlexAccount) GetScrobbleTypes added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetScrobbleTypes() string

func (*GetTokenDetailsUserPlexAccount) GetServices added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetServices() []Services

func (*GetTokenDetailsUserPlexAccount) GetSubscription added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetSubscription() Subscription

func (*GetTokenDetailsUserPlexAccount) GetSubscriptionDescription added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetSubscriptionDescription() *string

func (*GetTokenDetailsUserPlexAccount) GetSubscriptions added in v0.11.2

func (*GetTokenDetailsUserPlexAccount) GetThumb added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetThumb() string

func (*GetTokenDetailsUserPlexAccount) GetTitle added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetTitle() string

func (*GetTokenDetailsUserPlexAccount) GetTwoFactorEnabled added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetTwoFactorEnabled() *bool

func (*GetTokenDetailsUserPlexAccount) GetUUID added in v0.11.2

func (*GetTokenDetailsUserPlexAccount) GetUsername added in v0.11.2

func (o *GetTokenDetailsUserPlexAccount) GetUsername() string

func (GetTokenDetailsUserPlexAccount) MarshalJSON added in v0.11.2

func (g GetTokenDetailsUserPlexAccount) MarshalJSON() ([]byte, error)

func (*GetTokenDetailsUserPlexAccount) UnmarshalJSON added in v0.11.2

func (g *GetTokenDetailsUserPlexAccount) UnmarshalJSON(data []byte) error

type GetTopWatchedContentCountry added in v0.10.0

type GetTopWatchedContentCountry struct {
	ID     *int    `json:"id,omitempty"`
	Filter *string `json:"filter,omitempty"`
	Tag    *string `json:"tag,omitempty"`
}

func (*GetTopWatchedContentCountry) GetFilter added in v0.10.0

func (o *GetTopWatchedContentCountry) GetFilter() *string

func (*GetTopWatchedContentCountry) GetID added in v0.10.0

func (o *GetTopWatchedContentCountry) GetID() *int

func (*GetTopWatchedContentCountry) GetTag added in v0.10.0

func (o *GetTopWatchedContentCountry) GetTag() *string

type GetTopWatchedContentGenre added in v0.10.0

type GetTopWatchedContentGenre struct {
	ID     *int    `json:"id,omitempty"`
	Filter *string `json:"filter,omitempty"`
	Tag    *string `json:"tag,omitempty"`
}

func (*GetTopWatchedContentGenre) GetFilter added in v0.10.0

func (o *GetTopWatchedContentGenre) GetFilter() *string

func (*GetTopWatchedContentGenre) GetID added in v0.10.0

func (o *GetTopWatchedContentGenre) GetID() *int

func (*GetTopWatchedContentGenre) GetTag added in v0.10.0

func (o *GetTopWatchedContentGenre) GetTag() *string

type GetTopWatchedContentGuids added in v0.10.0

type GetTopWatchedContentGuids struct {
	ID *string `json:"id,omitempty"`
}

func (*GetTopWatchedContentGuids) GetID added in v0.10.0

func (o *GetTopWatchedContentGuids) GetID() *string

type GetTopWatchedContentMediaContainer added in v0.10.0

type GetTopWatchedContentMediaContainer struct {
	Size            *int                           `json:"size,omitempty"`
	AllowSync       *bool                          `json:"allowSync,omitempty"`
	Identifier      *string                        `json:"identifier,omitempty"`
	MediaTagPrefix  *string                        `json:"mediaTagPrefix,omitempty"`
	MediaTagVersion *int                           `json:"mediaTagVersion,omitempty"`
	Metadata        []GetTopWatchedContentMetadata `json:"Metadata,omitempty"`
}

func (*GetTopWatchedContentMediaContainer) GetAllowSync added in v0.10.0

func (o *GetTopWatchedContentMediaContainer) GetAllowSync() *bool

func (*GetTopWatchedContentMediaContainer) GetIdentifier added in v0.10.0

func (o *GetTopWatchedContentMediaContainer) GetIdentifier() *string

func (*GetTopWatchedContentMediaContainer) GetMediaTagPrefix added in v0.10.0

func (o *GetTopWatchedContentMediaContainer) GetMediaTagPrefix() *string

func (*GetTopWatchedContentMediaContainer) GetMediaTagVersion added in v0.10.0

func (o *GetTopWatchedContentMediaContainer) GetMediaTagVersion() *int

func (*GetTopWatchedContentMediaContainer) GetMetadata added in v0.10.0

func (*GetTopWatchedContentMediaContainer) GetSize added in v0.10.0

type GetTopWatchedContentMetadata added in v0.10.0

type GetTopWatchedContentMetadata struct {
	RatingKey             *string                       `json:"ratingKey,omitempty"`
	Key                   *string                       `json:"key,omitempty"`
	GUID                  *string                       `json:"guid,omitempty"`
	Slug                  *string                       `json:"slug,omitempty"`
	Studio                *string                       `json:"studio,omitempty"`
	Type                  *string                       `json:"type,omitempty"`
	Title                 *string                       `json:"title,omitempty"`
	LibrarySectionTitle   *string                       `json:"librarySectionTitle,omitempty"`
	LibrarySectionID      *int                          `json:"librarySectionID,omitempty"`
	LibrarySectionKey     *string                       `json:"librarySectionKey,omitempty"`
	ContentRating         *string                       `json:"contentRating,omitempty"`
	Summary               *string                       `json:"summary,omitempty"`
	Index                 *int64                        `json:"index,omitempty"`
	AudienceRating        *float64                      `json:"audienceRating,omitempty"`
	Year                  *int                          `json:"year,omitempty"`
	Tagline               *string                       `json:"tagline,omitempty"`
	Thumb                 *string                       `json:"thumb,omitempty"`
	Art                   *string                       `json:"art,omitempty"`
	Duration              *int                          `json:"duration,omitempty"`
	OriginallyAvailableAt *types.Date                   `json:"originallyAvailableAt,omitempty"`
	LeafCount             *int64                        `json:"leafCount,omitempty"`
	ViewedLeafCount       *int64                        `json:"viewedLeafCount,omitempty"`
	ChildCount            *int64                        `json:"childCount,omitempty"`
	AddedAt               *int                          `json:"addedAt,omitempty"`
	UpdatedAt             *int                          `json:"updatedAt,omitempty"`
	GlobalViewCount       *int64                        `json:"globalViewCount,omitempty"`
	AudienceRatingImage   *string                       `json:"audienceRatingImage,omitempty"`
	Genre                 []GetTopWatchedContentGenre   `json:"Genre,omitempty"`
	Country               []GetTopWatchedContentCountry `json:"Country,omitempty"`
	Guids                 []GetTopWatchedContentGuids   `json:"Guid,omitempty"`
	Role                  []GetTopWatchedContentRole    `json:"Role,omitempty"`
	User                  []GetTopWatchedContentUser    `json:"User,omitempty"`
}

func (*GetTopWatchedContentMetadata) GetAddedAt added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetAddedAt() *int

func (*GetTopWatchedContentMetadata) GetArt added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetArt() *string

func (*GetTopWatchedContentMetadata) GetAudienceRating added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetAudienceRating() *float64

func (*GetTopWatchedContentMetadata) GetAudienceRatingImage added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetAudienceRatingImage() *string

func (*GetTopWatchedContentMetadata) GetChildCount added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetChildCount() *int64

func (*GetTopWatchedContentMetadata) GetContentRating added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetContentRating() *string

func (*GetTopWatchedContentMetadata) GetCountry added in v0.10.0

func (*GetTopWatchedContentMetadata) GetDuration added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetDuration() *int

func (*GetTopWatchedContentMetadata) GetGUID added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetGUID() *string

func (*GetTopWatchedContentMetadata) GetGenre added in v0.10.0

func (*GetTopWatchedContentMetadata) GetGlobalViewCount added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetGlobalViewCount() *int64

func (*GetTopWatchedContentMetadata) GetGuids added in v0.10.0

func (*GetTopWatchedContentMetadata) GetIndex added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetIndex() *int64

func (*GetTopWatchedContentMetadata) GetKey added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetKey() *string

func (*GetTopWatchedContentMetadata) GetLeafCount added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetLeafCount() *int64

func (*GetTopWatchedContentMetadata) GetLibrarySectionID added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetLibrarySectionID() *int

func (*GetTopWatchedContentMetadata) GetLibrarySectionKey added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetLibrarySectionKey() *string

func (*GetTopWatchedContentMetadata) GetLibrarySectionTitle added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetLibrarySectionTitle() *string

func (*GetTopWatchedContentMetadata) GetOriginallyAvailableAt added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetOriginallyAvailableAt() *types.Date

func (*GetTopWatchedContentMetadata) GetRatingKey added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetRatingKey() *string

func (*GetTopWatchedContentMetadata) GetRole added in v0.10.0

func (*GetTopWatchedContentMetadata) GetSlug added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetSlug() *string

func (*GetTopWatchedContentMetadata) GetStudio added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetStudio() *string

func (*GetTopWatchedContentMetadata) GetSummary added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetSummary() *string

func (*GetTopWatchedContentMetadata) GetTagline added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetTagline() *string

func (*GetTopWatchedContentMetadata) GetThumb added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetThumb() *string

func (*GetTopWatchedContentMetadata) GetTitle added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetTitle() *string

func (*GetTopWatchedContentMetadata) GetType added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetType() *string

func (*GetTopWatchedContentMetadata) GetUpdatedAt added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetUpdatedAt() *int

func (*GetTopWatchedContentMetadata) GetUser added in v0.10.0

func (*GetTopWatchedContentMetadata) GetViewedLeafCount added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetViewedLeafCount() *int64

func (*GetTopWatchedContentMetadata) GetYear added in v0.10.0

func (o *GetTopWatchedContentMetadata) GetYear() *int

func (GetTopWatchedContentMetadata) MarshalJSON added in v0.10.0

func (g GetTopWatchedContentMetadata) MarshalJSON() ([]byte, error)

func (*GetTopWatchedContentMetadata) UnmarshalJSON added in v0.10.0

func (g *GetTopWatchedContentMetadata) UnmarshalJSON(data []byte) error

type GetTopWatchedContentQueryParamType added in v0.11.1

type GetTopWatchedContentQueryParamType int64

GetTopWatchedContentQueryParamType - The type of media to retrieve or filter by. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries

const (
	GetTopWatchedContentQueryParamTypeMovie   GetTopWatchedContentQueryParamType = 1
	GetTopWatchedContentQueryParamTypeTvShow  GetTopWatchedContentQueryParamType = 2
	GetTopWatchedContentQueryParamTypeSeason  GetTopWatchedContentQueryParamType = 3
	GetTopWatchedContentQueryParamTypeEpisode GetTopWatchedContentQueryParamType = 4
	GetTopWatchedContentQueryParamTypeAudio   GetTopWatchedContentQueryParamType = 8
	GetTopWatchedContentQueryParamTypeAlbum   GetTopWatchedContentQueryParamType = 9
	GetTopWatchedContentQueryParamTypeTrack   GetTopWatchedContentQueryParamType = 10
)

func (GetTopWatchedContentQueryParamType) ToPointer added in v0.11.1

func (*GetTopWatchedContentQueryParamType) UnmarshalJSON added in v0.11.1

func (e *GetTopWatchedContentQueryParamType) UnmarshalJSON(data []byte) error

type GetTopWatchedContentRequest added in v0.10.0

type GetTopWatchedContentRequest struct {
	// Adds the Guids object to the response
	//
	IncludeGuids *int64 `queryParam:"style=form,explode=true,name=includeGuids"`
	// The type of media to retrieve or filter by.
	// 1 = movie
	// 2 = show
	// 3 = season
	// 4 = episode
	// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
	//
	Type GetTopWatchedContentQueryParamType `queryParam:"style=form,explode=true,name=type"`
}

func (*GetTopWatchedContentRequest) GetIncludeGuids added in v0.10.0

func (o *GetTopWatchedContentRequest) GetIncludeGuids() *int64

func (*GetTopWatchedContentRequest) GetType added in v0.10.0

type GetTopWatchedContentResponse added in v0.10.0

type GetTopWatchedContentResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The metadata of the library item.
	Object *GetTopWatchedContentResponseBody
}

func (*GetTopWatchedContentResponse) GetContentType added in v0.10.0

func (o *GetTopWatchedContentResponse) GetContentType() string

func (*GetTopWatchedContentResponse) GetObject added in v0.10.0

func (*GetTopWatchedContentResponse) GetRawResponse added in v0.10.0

func (o *GetTopWatchedContentResponse) GetRawResponse() *http.Response

func (*GetTopWatchedContentResponse) GetStatusCode added in v0.10.0

func (o *GetTopWatchedContentResponse) GetStatusCode() int

type GetTopWatchedContentResponseBody added in v0.10.0

type GetTopWatchedContentResponseBody struct {
	MediaContainer *GetTopWatchedContentMediaContainer `json:"MediaContainer,omitempty"`
}

GetTopWatchedContentResponseBody - The metadata of the library item.

func (*GetTopWatchedContentResponseBody) GetMediaContainer added in v0.10.0

type GetTopWatchedContentRole added in v0.10.0

type GetTopWatchedContentRole struct {
	ID     *int    `json:"id,omitempty"`
	Filter *string `json:"filter,omitempty"`
	Tag    *string `json:"tag,omitempty"`
	TagKey *string `json:"tagKey,omitempty"`
	Role   *string `json:"role,omitempty"`
	Thumb  *string `json:"thumb,omitempty"`
}

func (*GetTopWatchedContentRole) GetFilter added in v0.10.0

func (o *GetTopWatchedContentRole) GetFilter() *string

func (*GetTopWatchedContentRole) GetID added in v0.10.0

func (o *GetTopWatchedContentRole) GetID() *int

func (*GetTopWatchedContentRole) GetRole added in v0.10.0

func (o *GetTopWatchedContentRole) GetRole() *string

func (*GetTopWatchedContentRole) GetTag added in v0.10.0

func (o *GetTopWatchedContentRole) GetTag() *string

func (*GetTopWatchedContentRole) GetTagKey added in v0.10.0

func (o *GetTopWatchedContentRole) GetTagKey() *string

func (*GetTopWatchedContentRole) GetThumb added in v0.10.0

func (o *GetTopWatchedContentRole) GetThumb() *string

type GetTopWatchedContentUser added in v0.18.0

type GetTopWatchedContentUser struct {
	ID *int `json:"id,omitempty"`
}

func (*GetTopWatchedContentUser) GetID added in v0.18.0

func (o *GetTopWatchedContentUser) GetID() *int

type GetTranscodeSessionsMediaContainer

type GetTranscodeSessionsMediaContainer struct {
	Size             *int               `json:"size,omitempty"`
	TranscodeSession []TranscodeSession `json:"TranscodeSession,omitempty"`
}

func (*GetTranscodeSessionsMediaContainer) GetSize

func (*GetTranscodeSessionsMediaContainer) GetTranscodeSession

func (o *GetTranscodeSessionsMediaContainer) GetTranscodeSession() []TranscodeSession

type GetTranscodeSessionsResponse

type GetTranscodeSessionsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The Transcode Sessions
	Object *GetTranscodeSessionsResponseBody
}

func (*GetTranscodeSessionsResponse) GetContentType

func (o *GetTranscodeSessionsResponse) GetContentType() string

func (*GetTranscodeSessionsResponse) GetObject

func (*GetTranscodeSessionsResponse) GetRawResponse

func (o *GetTranscodeSessionsResponse) GetRawResponse() *http.Response

func (*GetTranscodeSessionsResponse) GetStatusCode

func (o *GetTranscodeSessionsResponse) GetStatusCode() int

type GetTranscodeSessionsResponseBody

type GetTranscodeSessionsResponseBody struct {
	MediaContainer *GetTranscodeSessionsMediaContainer `json:"MediaContainer,omitempty"`
}

GetTranscodeSessionsResponseBody - The Transcode Sessions

func (*GetTranscodeSessionsResponseBody) GetMediaContainer

type GetTransientTokenQueryParamType added in v0.1.2

type GetTransientTokenQueryParamType string

GetTransientTokenQueryParamType - `delegation` - This is the only supported `type` parameter.

const (
	GetTransientTokenQueryParamTypeDelegation GetTransientTokenQueryParamType = "delegation"
)

func (GetTransientTokenQueryParamType) ToPointer added in v0.1.2

func (*GetTransientTokenQueryParamType) UnmarshalJSON added in v0.1.2

func (e *GetTransientTokenQueryParamType) UnmarshalJSON(data []byte) error

type GetTransientTokenRequest

type GetTransientTokenRequest struct {
	// `delegation` - This is the only supported `type` parameter.
	Type GetTransientTokenQueryParamType `queryParam:"style=form,explode=true,name=type"`
	// `all` - This is the only supported `scope` parameter.
	Scope Scope `queryParam:"style=form,explode=true,name=scope"`
}

func (*GetTransientTokenRequest) GetScope

func (o *GetTransientTokenRequest) GetScope() Scope

func (*GetTransientTokenRequest) GetType

type GetTransientTokenResponse

type GetTransientTokenResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*GetTransientTokenResponse) GetContentType

func (o *GetTransientTokenResponse) GetContentType() string

func (*GetTransientTokenResponse) GetRawResponse

func (o *GetTransientTokenResponse) GetRawResponse() *http.Response

func (*GetTransientTokenResponse) GetStatusCode

func (o *GetTransientTokenResponse) GetStatusCode() int

type GetUpdateStatusMediaContainer added in v0.1.1

type GetUpdateStatusMediaContainer struct {
	Size        *int      `json:"size,omitempty"`
	CanInstall  *bool     `json:"canInstall,omitempty"`
	CheckedAt   *int      `json:"checkedAt,omitempty"`
	DownloadURL *string   `json:"downloadURL,omitempty"`
	Status      *int      `json:"status,omitempty"`
	Release     []Release `json:"Release,omitempty"`
}

func (*GetUpdateStatusMediaContainer) GetCanInstall added in v0.1.1

func (o *GetUpdateStatusMediaContainer) GetCanInstall() *bool

func (*GetUpdateStatusMediaContainer) GetCheckedAt added in v0.1.1

func (o *GetUpdateStatusMediaContainer) GetCheckedAt() *int

func (*GetUpdateStatusMediaContainer) GetDownloadURL added in v0.1.1

func (o *GetUpdateStatusMediaContainer) GetDownloadURL() *string

func (*GetUpdateStatusMediaContainer) GetRelease added in v0.1.1

func (o *GetUpdateStatusMediaContainer) GetRelease() []Release

func (*GetUpdateStatusMediaContainer) GetSize added in v0.1.1

func (o *GetUpdateStatusMediaContainer) GetSize() *int

func (*GetUpdateStatusMediaContainer) GetStatus added in v0.1.1

func (o *GetUpdateStatusMediaContainer) GetStatus() *int

type GetUpdateStatusResponse

type GetUpdateStatusResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// The Server Updates
	Object *GetUpdateStatusResponseBody
}

func (*GetUpdateStatusResponse) GetContentType

func (o *GetUpdateStatusResponse) GetContentType() string

func (*GetUpdateStatusResponse) GetObject added in v0.1.1

func (*GetUpdateStatusResponse) GetRawResponse

func (o *GetUpdateStatusResponse) GetRawResponse() *http.Response

func (*GetUpdateStatusResponse) GetStatusCode

func (o *GetUpdateStatusResponse) GetStatusCode() int

type GetUpdateStatusResponseBody added in v0.1.1

type GetUpdateStatusResponseBody struct {
	MediaContainer *GetUpdateStatusMediaContainer `json:"MediaContainer,omitempty"`
}

GetUpdateStatusResponseBody - The Server Updates

func (*GetUpdateStatusResponseBody) GetMediaContainer added in v0.1.1

type GetUserFriendsResponse added in v0.11.1

type GetUserFriendsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Friends Data
	Friends []Friend
}

func (*GetUserFriendsResponse) GetContentType added in v0.11.1

func (o *GetUserFriendsResponse) GetContentType() string

func (*GetUserFriendsResponse) GetFriends added in v0.11.1

func (o *GetUserFriendsResponse) GetFriends() []Friend

func (*GetUserFriendsResponse) GetRawResponse added in v0.11.1

func (o *GetUserFriendsResponse) GetRawResponse() *http.Response

func (*GetUserFriendsResponse) GetStatusCode added in v0.11.1

func (o *GetUserFriendsResponse) GetStatusCode() int

type GetUsersMediaContainer added in v0.18.0

type GetUsersMediaContainer struct {
	// The friendly name of the Plex instance.
	FriendlyName string
	Identifier   string
	// Unique Machine identifier of the Plex server.
	MachineIdentifier string
	// Total number of users.
	TotalSize int64
	// Number of users in the current response.
	Size int64
	// List of users with access to the Plex server.
	User []User
}

GetUsersMediaContainer - Container holding user and server details.

func (*GetUsersMediaContainer) GetFriendlyName added in v0.18.0

func (o *GetUsersMediaContainer) GetFriendlyName() string

func (*GetUsersMediaContainer) GetIdentifier added in v0.18.0

func (o *GetUsersMediaContainer) GetIdentifier() string

func (*GetUsersMediaContainer) GetMachineIdentifier added in v0.18.0

func (o *GetUsersMediaContainer) GetMachineIdentifier() string

func (*GetUsersMediaContainer) GetSize added in v0.18.0

func (o *GetUsersMediaContainer) GetSize() int64

func (*GetUsersMediaContainer) GetTotalSize added in v0.18.0

func (o *GetUsersMediaContainer) GetTotalSize() int64

func (*GetUsersMediaContainer) GetUser added in v0.18.0

func (o *GetUsersMediaContainer) GetUser() []User

type GetUsersRequest added in v0.18.0

type GetUsersRequest struct {
	// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
	ClientID string `header:"style=simple,explode=false,name=X-Plex-Client-Identifier"`
	// The name of the client application. (Plex Web, Plex Media Server, etc.)
	ClientName *string `header:"style=simple,explode=false,name=X-Plex-Product"`
	// A relatively friendly name for the client device
	DeviceNickname *string `header:"style=simple,explode=false,name=X-Plex-Device"`
	// The name of the device the client application is running on. This is used to track the client application and its usage. (Chrome, Safari, etc.)
	DeviceName *string `header:"style=simple,explode=false,name=X-Plex-Device-Name"`
	// The resolution of the device the client application is running on. This is used to track the client application and its usage. (1487x1165,2560x1440)
	DeviceScreenResolution *string `header:"style=simple,explode=false,name=X-Plex-Device-Screen-Resolution"`
	// The version of the client application.
	ClientVersion *string `header:"style=simple,explode=false,name=X-Plex-Version"`
	// The platform of the client application.
	Platform *string `header:"style=simple,explode=false,name=X-Plex-Platform"`
	// The features of the client application. This is used to track the client application and its usage. (external-media,indirect-media,hub-style-list)
	ClientFeatures *string `header:"style=simple,explode=false,name=X-Plex-Features"`
	// A potentially less friendly identifier for the device model
	Model *string `header:"style=simple,explode=false,name=X-Plex-Model"`
	// The session ID of the client application. This is used to track the client application and its usage. (97e136ef-4ddd-4ff3-89a7-a5820c96c2ca)
	XPlexSessionID *string `header:"style=simple,explode=false,name=X-Plex-Session-Id"`
	// The language of the client application.
	XPlexLanguage *string `header:"style=simple,explode=false,name=X-Plex-Language"`
	// The version of the platform
	PlatformVersion *string `header:"style=simple,explode=false,name=X-Plex-Platform-Version"`
	// An authentication token, obtained from plex.tv
	XPlexToken string `header:"style=simple,explode=false,name=X-Plex-Token"`
}

func (*GetUsersRequest) GetClientFeatures added in v0.18.0

func (o *GetUsersRequest) GetClientFeatures() *string

func (*GetUsersRequest) GetClientID added in v0.18.0

func (o *GetUsersRequest) GetClientID() string

func (*GetUsersRequest) GetClientName added in v0.18.0

func (o *GetUsersRequest) GetClientName() *string

func (*GetUsersRequest) GetClientVersion added in v0.18.0

func (o *GetUsersRequest) GetClientVersion() *string

func (*GetUsersRequest) GetDeviceName added in v0.18.0

func (o *GetUsersRequest) GetDeviceName() *string

func (*GetUsersRequest) GetDeviceNickname added in v0.18.0

func (o *GetUsersRequest) GetDeviceNickname() *string

func (*GetUsersRequest) GetDeviceScreenResolution added in v0.18.0

func (o *GetUsersRequest) GetDeviceScreenResolution() *string

func (*GetUsersRequest) GetModel added in v0.18.0

func (o *GetUsersRequest) GetModel() *string

func (*GetUsersRequest) GetPlatform added in v0.18.0

func (o *GetUsersRequest) GetPlatform() *string

func (*GetUsersRequest) GetPlatformVersion added in v0.18.0

func (o *GetUsersRequest) GetPlatformVersion() *string

func (*GetUsersRequest) GetXPlexLanguage added in v0.18.0

func (o *GetUsersRequest) GetXPlexLanguage() *string

func (*GetUsersRequest) GetXPlexSessionID added in v0.18.0

func (o *GetUsersRequest) GetXPlexSessionID() *string

func (*GetUsersRequest) GetXPlexToken added in v0.18.0

func (o *GetUsersRequest) GetXPlexToken() string

type GetUsersResponse added in v0.18.0

type GetUsersResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	Body        []byte
}

func (*GetUsersResponse) GetBody added in v0.18.0

func (o *GetUsersResponse) GetBody() []byte

func (*GetUsersResponse) GetContentType added in v0.18.0

func (o *GetUsersResponse) GetContentType() string

func (*GetUsersResponse) GetRawResponse added in v0.18.0

func (o *GetUsersResponse) GetRawResponse() *http.Response

func (*GetUsersResponse) GetStatusCode added in v0.18.0

func (o *GetUsersResponse) GetStatusCode() int

type GetUsersResponseBody added in v0.18.0

type GetUsersResponseBody struct {
	// Container holding user and server details.
	MediaContainer *GetUsersMediaContainer
}

GetUsersResponseBody - Successful response with media container data in XML

func (*GetUsersResponseBody) GetMediaContainer added in v0.18.0

func (o *GetUsersResponseBody) GetMediaContainer() *GetUsersMediaContainer

type GetUsersServer added in v0.18.0

type GetUsersServer struct {
	// Unique ID of the server of the connected user
	ID int64
	// ID of the actual Plex server.
	ServerID int64
	// Machine identifier of the Plex server.
	MachineIdentifier string
	// Name of the Plex server of the connected user.
	Name       string
	LastSeenAt int64
	// Number of libraries in the server this user has access to.
	NumLibraries int64
	AllLibraries *AllLibraries `default:"0"`
	Owned        *Owned        `default:"0"`
	Pending      *Pending      `default:"0"`
}

func (*GetUsersServer) GetAllLibraries added in v0.18.0

func (o *GetUsersServer) GetAllLibraries() *AllLibraries

func (*GetUsersServer) GetID added in v0.18.0

func (o *GetUsersServer) GetID() int64

func (*GetUsersServer) GetLastSeenAt added in v0.18.0

func (o *GetUsersServer) GetLastSeenAt() int64

func (*GetUsersServer) GetMachineIdentifier added in v0.18.0

func (o *GetUsersServer) GetMachineIdentifier() string

func (*GetUsersServer) GetName added in v0.18.0

func (o *GetUsersServer) GetName() string

func (*GetUsersServer) GetNumLibraries added in v0.18.0

func (o *GetUsersServer) GetNumLibraries() int64

func (*GetUsersServer) GetOwned added in v0.18.0

func (o *GetUsersServer) GetOwned() *Owned

func (*GetUsersServer) GetPending added in v0.18.0

func (o *GetUsersServer) GetPending() *Pending

func (*GetUsersServer) GetServerID added in v0.18.0

func (o *GetUsersServer) GetServerID() int64

func (GetUsersServer) MarshalJSON added in v0.18.0

func (g GetUsersServer) MarshalJSON() ([]byte, error)

func (*GetUsersServer) UnmarshalJSON added in v0.18.0

func (g *GetUsersServer) UnmarshalJSON(data []byte) error

type GetWatchListRequest added in v0.11.1

type GetWatchListRequest struct {
	// Filter
	Filter Filter `pathParam:"style=simple,explode=false,name=filter"`
	// In the format "field:dir". Available fields are "watchlistedAt" (Added At),
	// "titleSort" (Title), "originallyAvailableAt" (Release Date), or "rating" (Critic Rating).
	// "dir" can be "asc" or "desc"
	//
	Sort *string `queryParam:"style=form,explode=true,name=sort"`
	// The type of library to filter. Can be "movie" or "show", or all if not present.
	//
	Libtype *Libtype `queryParam:"style=form,explode=true,name=libtype"`
	// The number of items to return. If not specified, all items will be returned.
	// If the number of items exceeds the limit, the response will be paginated.
	//
	Maxresults *int `queryParam:"style=form,explode=true,name=maxresults"`
	// include collections in the results
	//
	IncludeCollections *IncludeCollections `queryParam:"style=form,explode=true,name=includeCollections"`
	// include external media in the results
	//
	IncludeExternalMedia *IncludeExternalMedia `queryParam:"style=form,explode=true,name=includeExternalMedia"`
	// The index of the first item to return. If not specified, the first item will be returned.
	// If the number of items exceeds the limit, the response will be paginated.
	// By default this is 0
	//
	XPlexContainerStart *int `default:"0" queryParam:"style=form,explode=true,name=X-Plex-Container-Start"`
	// The number of items to return. If not specified, all items will be returned.
	// If the number of items exceeds the limit, the response will be paginated.
	// By default this is 50
	//
	XPlexContainerSize *int `default:"50" queryParam:"style=form,explode=true,name=X-Plex-Container-Size"`
	// An authentication token, obtained from plex.tv
	XPlexToken string `header:"style=simple,explode=false,name=X-Plex-Token"`
}

func (*GetWatchListRequest) GetFilter added in v0.11.1

func (o *GetWatchListRequest) GetFilter() Filter

func (*GetWatchListRequest) GetIncludeCollections added in v0.11.1

func (o *GetWatchListRequest) GetIncludeCollections() *IncludeCollections

func (*GetWatchListRequest) GetIncludeExternalMedia added in v0.11.1

func (o *GetWatchListRequest) GetIncludeExternalMedia() *IncludeExternalMedia

func (*GetWatchListRequest) GetLibtype added in v0.11.1

func (o *GetWatchListRequest) GetLibtype() *Libtype

func (*GetWatchListRequest) GetMaxresults added in v0.11.1

func (o *GetWatchListRequest) GetMaxresults() *int

func (*GetWatchListRequest) GetSort added in v0.11.1

func (o *GetWatchListRequest) GetSort() *string

func (*GetWatchListRequest) GetXPlexContainerSize added in v0.11.1

func (o *GetWatchListRequest) GetXPlexContainerSize() *int

func (*GetWatchListRequest) GetXPlexContainerStart added in v0.11.1

func (o *GetWatchListRequest) GetXPlexContainerStart() *int

func (*GetWatchListRequest) GetXPlexToken added in v0.11.1

func (o *GetWatchListRequest) GetXPlexToken() string

func (GetWatchListRequest) MarshalJSON added in v0.11.1

func (g GetWatchListRequest) MarshalJSON() ([]byte, error)

func (*GetWatchListRequest) UnmarshalJSON added in v0.11.1

func (g *GetWatchListRequest) UnmarshalJSON(data []byte) error

type GetWatchListResponse added in v0.11.1

type GetWatchListResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Watchlist Data
	Object *GetWatchListResponseBody
}

func (*GetWatchListResponse) GetContentType added in v0.11.1

func (o *GetWatchListResponse) GetContentType() string

func (*GetWatchListResponse) GetObject added in v0.11.1

func (*GetWatchListResponse) GetRawResponse added in v0.11.1

func (o *GetWatchListResponse) GetRawResponse() *http.Response

func (*GetWatchListResponse) GetStatusCode added in v0.11.1

func (o *GetWatchListResponse) GetStatusCode() int

type GetWatchListResponseBody added in v0.11.1

type GetWatchListResponseBody struct {
	LibrarySectionID    *string    `json:"librarySectionID,omitempty"`
	LibrarySectionTitle *string    `json:"librarySectionTitle,omitempty"`
	Offset              *int       `json:"offset,omitempty"`
	TotalSize           *int       `json:"totalSize,omitempty"`
	Identifier          *string    `json:"identifier,omitempty"`
	Size                *int       `json:"size,omitempty"`
	Metadata            []Metadata `json:"Metadata,omitempty"`
}

GetWatchListResponseBody - Watchlist Data

func (*GetWatchListResponseBody) GetIdentifier added in v0.11.1

func (o *GetWatchListResponseBody) GetIdentifier() *string

func (*GetWatchListResponseBody) GetLibrarySectionID added in v0.11.1

func (o *GetWatchListResponseBody) GetLibrarySectionID() *string

func (*GetWatchListResponseBody) GetLibrarySectionTitle added in v0.11.1

func (o *GetWatchListResponseBody) GetLibrarySectionTitle() *string

func (*GetWatchListResponseBody) GetMetadata added in v0.11.1

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

func (*GetWatchListResponseBody) GetOffset added in v0.11.1

func (o *GetWatchListResponseBody) GetOffset() *int

func (*GetWatchListResponseBody) GetSize added in v0.11.1

func (o *GetWatchListResponseBody) GetSize() *int

func (*GetWatchListResponseBody) GetTotalSize added in v0.11.1

func (o *GetWatchListResponseBody) GetTotalSize() *int

type Guids

type Guids struct {
	// The unique identifier for the Guid. Can be imdb://tt0286347, tmdb://1763, tvdb://2337
	//
	ID *string `json:"id,omitempty"`
}

func (*Guids) GetID

func (o *Guids) GetID() *string

type HasThumbnail added in v0.12.1

type HasThumbnail string
const (
	HasThumbnailFalse HasThumbnail = "0"
	HasThumbnailTrue  HasThumbnail = "1"
)

func (HasThumbnail) ToPointer added in v0.12.1

func (e HasThumbnail) ToPointer() *HasThumbnail

func (*HasThumbnail) UnmarshalJSON added in v0.12.1

func (e *HasThumbnail) UnmarshalJSON(data []byte) error

type Home added in v0.18.0

type Home int

Home - Indicates if the user is part of a home group.

const (
	HomeDisable Home = 0
	HomeEnable  Home = 1
)

func (Home) ToPointer added in v0.18.0

func (e Home) ToPointer() *Home

func (*Home) UnmarshalJSON added in v0.18.0

func (e *Home) UnmarshalJSON(data []byte) error

type Hub added in v0.1.1

type Hub struct {
	HubKey        *string                 `json:"hubKey,omitempty"`
	Key           *string                 `json:"key,omitempty"`
	Title         *string                 `json:"title,omitempty"`
	Type          *string                 `json:"type,omitempty"`
	HubIdentifier *string                 `json:"hubIdentifier,omitempty"`
	Context       *string                 `json:"context,omitempty"`
	Size          *int                    `json:"size,omitempty"`
	More          *bool                   `json:"more,omitempty"`
	Style         *string                 `json:"style,omitempty"`
	Promoted      *bool                   `json:"promoted,omitempty"`
	Metadata      []GetGlobalHubsMetadata `json:"Metadata,omitempty"`
}

func (*Hub) GetContext added in v0.1.1

func (o *Hub) GetContext() *string

func (*Hub) GetHubIdentifier added in v0.1.1

func (o *Hub) GetHubIdentifier() *string

func (*Hub) GetHubKey added in v0.1.1

func (o *Hub) GetHubKey() *string

func (*Hub) GetKey added in v0.1.1

func (o *Hub) GetKey() *string

func (*Hub) GetMetadata added in v0.1.1

func (o *Hub) GetMetadata() []GetGlobalHubsMetadata

func (*Hub) GetMore added in v0.1.1

func (o *Hub) GetMore() *bool

func (*Hub) GetPromoted added in v0.1.1

func (o *Hub) GetPromoted() *bool

func (*Hub) GetSize added in v0.1.1

func (o *Hub) GetSize() *int

func (*Hub) GetStyle added in v0.1.1

func (o *Hub) GetStyle() *string

func (*Hub) GetTitle added in v0.1.1

func (o *Hub) GetTitle() *string

func (*Hub) GetType added in v0.1.1

func (o *Hub) GetType() *string

type Image added in v0.9.0

type Image struct {
	Alt  *string `json:"alt,omitempty"`
	Type *string `json:"type,omitempty"`
	URL  *string `json:"url,omitempty"`
}

func (*Image) GetAlt added in v0.9.0

func (o *Image) GetAlt() *string

func (*Image) GetType added in v0.9.0

func (o *Image) GetType() *string

func (*Image) GetURL added in v0.9.0

func (o *Image) GetURL() *string

type IncludeAdvanced added in v0.19.0

type IncludeAdvanced int
const (
	IncludeAdvancedDisable IncludeAdvanced = 0
	IncludeAdvancedEnable  IncludeAdvanced = 1
)

func (IncludeAdvanced) ToPointer added in v0.19.0

func (e IncludeAdvanced) ToPointer() *IncludeAdvanced

func (*IncludeAdvanced) UnmarshalJSON added in v0.19.0

func (e *IncludeAdvanced) UnmarshalJSON(data []byte) error

type IncludeCollections added in v0.9.0

type IncludeCollections int64

IncludeCollections - include collections in the results

const (
	IncludeCollectionsOne  IncludeCollections = 1
	IncludeCollectionsZero IncludeCollections = 0
)

func (IncludeCollections) ToPointer added in v0.9.0

func (e IncludeCollections) ToPointer() *IncludeCollections

func (*IncludeCollections) UnmarshalJSON added in v0.9.0

func (e *IncludeCollections) UnmarshalJSON(data []byte) error

type IncludeDetails

type IncludeDetails int64

IncludeDetails - Whether or not to include details for a section (types, filters, and sorts). Only exists for backwards compatibility, media providers other than the server libraries have it on always.

const (
	IncludeDetailsZero IncludeDetails = 0
	IncludeDetailsOne  IncludeDetails = 1
)

func (IncludeDetails) ToPointer

func (e IncludeDetails) ToPointer() *IncludeDetails

func (*IncludeDetails) UnmarshalJSON

func (e *IncludeDetails) UnmarshalJSON(data []byte) error

type IncludeExternalMedia added in v0.9.0

type IncludeExternalMedia int64

IncludeExternalMedia - include external media in the results

const (
	IncludeExternalMediaOne  IncludeExternalMedia = 1
	IncludeExternalMediaZero IncludeExternalMedia = 0
)

func (IncludeExternalMedia) ToPointer added in v0.9.0

func (*IncludeExternalMedia) UnmarshalJSON added in v0.9.0

func (e *IncludeExternalMedia) UnmarshalJSON(data []byte) error

type IncludeGuids added in v0.11.1

type IncludeGuids int

IncludeGuids - Adds the Guids object to the response

const (
	IncludeGuidsDisable IncludeGuids = 0
	IncludeGuidsEnable  IncludeGuids = 1
)

func (IncludeGuids) ToPointer added in v0.11.1

func (e IncludeGuids) ToPointer() *IncludeGuids

func (*IncludeGuids) UnmarshalJSON added in v0.11.1

func (e *IncludeGuids) UnmarshalJSON(data []byte) error

type IncludeHTTPS added in v0.11.1

type IncludeHTTPS int

IncludeHTTPS - Include Https entries in the results

const (
	IncludeHTTPSDisable IncludeHTTPS = 0
	IncludeHTTPSEnable  IncludeHTTPS = 1
)

func (IncludeHTTPS) ToPointer added in v0.11.1

func (e IncludeHTTPS) ToPointer() *IncludeHTTPS

func (*IncludeHTTPS) UnmarshalJSON added in v0.11.1

func (e *IncludeHTTPS) UnmarshalJSON(data []byte) error

type IncludeIPv6 added in v0.11.1

type IncludeIPv6 int

IncludeIPv6 - Include IPv6 entries in the results

const (
	IncludeIPv6Disable IncludeIPv6 = 0
	IncludeIPv6Enable  IncludeIPv6 = 1
)

func (IncludeIPv6) ToPointer added in v0.11.1

func (e IncludeIPv6) ToPointer() *IncludeIPv6

func (*IncludeIPv6) UnmarshalJSON added in v0.11.1

func (e *IncludeIPv6) UnmarshalJSON(data []byte) error

type IncludeMeta added in v0.11.1

type IncludeMeta int

IncludeMeta - Adds the Meta object to the response

const (
	IncludeMetaDisable IncludeMeta = 0
	IncludeMetaEnable  IncludeMeta = 1
)

func (IncludeMeta) ToPointer added in v0.11.1

func (e IncludeMeta) ToPointer() *IncludeMeta

func (*IncludeMeta) UnmarshalJSON added in v0.11.1

func (e *IncludeMeta) UnmarshalJSON(data []byte) error

type IncludeRelay added in v0.11.1

type IncludeRelay int

IncludeRelay - Include Relay addresses in the results E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400

const (
	IncludeRelayDisable IncludeRelay = 0
	IncludeRelayEnable  IncludeRelay = 1
)

func (IncludeRelay) ToPointer added in v0.11.1

func (e IncludeRelay) ToPointer() *IncludeRelay

func (*IncludeRelay) UnmarshalJSON added in v0.11.1

func (e *IncludeRelay) UnmarshalJSON(data []byte) error

type InternalPaymentMethod added in v0.11.1

type InternalPaymentMethod struct {
}

type Level

type Level int64

Level - An integer log level to write to the PMS log with. 0: Error 1: Warning 2: Info 3: Debug 4: Verbose

const (
	LevelZero  Level = 0
	LevelOne   Level = 1
	LevelTwo   Level = 2
	LevelThree Level = 3
	LevelFour  Level = 4
)

func (Level) ToPointer

func (e Level) ToPointer() *Level

func (*Level) UnmarshalJSON

func (e *Level) UnmarshalJSON(data []byte) error

type Libtype added in v0.9.0

type Libtype string

Libtype - The type of library to filter. Can be "movie" or "show", or all if not present.

const (
	LibtypeMovie Libtype = "movie"
	LibtypeShow  Libtype = "show"
)

func (Libtype) ToPointer added in v0.9.0

func (e Libtype) ToPointer() *Libtype

func (*Libtype) UnmarshalJSON added in v0.9.0

func (e *Libtype) UnmarshalJSON(data []byte) error

type Location added in v0.0.4

type Location struct {
	Path *string `json:"path,omitempty"`
}

func (*Location) GetPath added in v0.0.4

func (o *Location) GetPath() *string

type LogLineRequest

type LogLineRequest struct {
	// An integer log level to write to the PMS log with.
	// 0: Error
	// 1: Warning
	// 2: Info
	// 3: Debug
	// 4: Verbose
	//
	Level Level `queryParam:"style=form,explode=true,name=level"`
	// The text of the message to write to the log.
	Message string `queryParam:"style=form,explode=true,name=message"`
	// a string indicating the source of the message.
	Source string `queryParam:"style=form,explode=true,name=source"`
}

func (*LogLineRequest) GetLevel

func (o *LogLineRequest) GetLevel() Level

func (*LogLineRequest) GetMessage

func (o *LogLineRequest) GetMessage() string

func (*LogLineRequest) GetSource

func (o *LogLineRequest) GetSource() string

type LogLineResponse

type LogLineResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*LogLineResponse) GetContentType

func (o *LogLineResponse) GetContentType() string

func (*LogLineResponse) GetRawResponse

func (o *LogLineResponse) GetRawResponse() *http.Response

func (*LogLineResponse) GetStatusCode

func (o *LogLineResponse) GetStatusCode() int

type LogMultiLineResponse

type LogMultiLineResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*LogMultiLineResponse) GetContentType

func (o *LogMultiLineResponse) GetContentType() string

func (*LogMultiLineResponse) GetRawResponse

func (o *LogMultiLineResponse) GetRawResponse() *http.Response

func (*LogMultiLineResponse) GetStatusCode

func (o *LogMultiLineResponse) GetStatusCode() int

type MailingListStatus added in v0.11.1

type MailingListStatus string

MailingListStatus - Your current mailing list status (active or unsubscribed)

const (
	MailingListStatusActive       MailingListStatus = "active"
	MailingListStatusUnsubscribed MailingListStatus = "unsubscribed"
)

func (MailingListStatus) ToPointer added in v0.11.1

func (e MailingListStatus) ToPointer() *MailingListStatus

func (*MailingListStatus) UnmarshalJSON added in v0.11.1

func (e *MailingListStatus) UnmarshalJSON(data []byte) error

type MarkPlayedRequest

type MarkPlayedRequest struct {
	// The media key to mark as played
	Key float64 `queryParam:"style=form,explode=true,name=key"`
}

func (*MarkPlayedRequest) GetKey

func (o *MarkPlayedRequest) GetKey() float64

type MarkPlayedResponse

type MarkPlayedResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*MarkPlayedResponse) GetContentType

func (o *MarkPlayedResponse) GetContentType() string

func (*MarkPlayedResponse) GetRawResponse

func (o *MarkPlayedResponse) GetRawResponse() *http.Response

func (*MarkPlayedResponse) GetStatusCode

func (o *MarkPlayedResponse) GetStatusCode() int

type MarkUnplayedRequest

type MarkUnplayedRequest struct {
	// The media key to mark as Unplayed
	Key float64 `queryParam:"style=form,explode=true,name=key"`
}

func (*MarkUnplayedRequest) GetKey

func (o *MarkUnplayedRequest) GetKey() float64

type MarkUnplayedResponse

type MarkUnplayedResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*MarkUnplayedResponse) GetContentType

func (o *MarkUnplayedResponse) GetContentType() string

func (*MarkUnplayedResponse) GetRawResponse

func (o *MarkUnplayedResponse) GetRawResponse() *http.Response

func (*MarkUnplayedResponse) GetStatusCode

func (o *MarkUnplayedResponse) GetStatusCode() int

type Media

type Media struct {
	ID                    int                    `json:"id"`
	Duration              *int                   `json:"duration,omitempty"`
	Bitrate               *int                   `json:"bitrate,omitempty"`
	Width                 *int                   `json:"width,omitempty"`
	Height                *int                   `json:"height,omitempty"`
	AspectRatio           *float64               `json:"aspectRatio,omitempty"`
	AudioProfile          *string                `json:"audioProfile,omitempty"`
	AudioChannels         *int                   `json:"audioChannels,omitempty"`
	AudioCodec            *string                `json:"audioCodec,omitempty"`
	VideoCodec            *string                `json:"videoCodec,omitempty"`
	VideoResolution       *string                `json:"videoResolution,omitempty"`
	Container             string                 `json:"container"`
	VideoFrameRate        *string                `json:"videoFrameRate,omitempty"`
	VideoProfile          *string                `json:"videoProfile,omitempty"`
	HasVoiceActivity      *bool                  `json:"hasVoiceActivity,omitempty"`
	OptimizedForStreaming *OptimizedForStreaming `default:"0" json:"optimizedForStreaming"`
	Has64bitOffsets       *bool                  `json:"has64bitOffsets,omitempty"`
	Part                  []Part                 `json:"Part"`
}

func (*Media) GetAspectRatio

func (o *Media) GetAspectRatio() *float64

func (*Media) GetAudioChannels

func (o *Media) GetAudioChannels() *int

func (*Media) GetAudioCodec

func (o *Media) GetAudioCodec() *string

func (*Media) GetAudioProfile added in v0.13.0

func (o *Media) GetAudioProfile() *string

func (*Media) GetBitrate

func (o *Media) GetBitrate() *int

func (*Media) GetContainer

func (o *Media) GetContainer() string

func (*Media) GetDuration

func (o *Media) GetDuration() *int

func (*Media) GetHas64bitOffsets

func (o *Media) GetHas64bitOffsets() *bool

func (*Media) GetHasVoiceActivity added in v0.13.0

func (o *Media) GetHasVoiceActivity() *bool

func (*Media) GetHeight

func (o *Media) GetHeight() *int

func (*Media) GetID

func (o *Media) GetID() int

func (*Media) GetOptimizedForStreaming

func (o *Media) GetOptimizedForStreaming() *OptimizedForStreaming

func (*Media) GetPart

func (o *Media) GetPart() []Part

func (*Media) GetVideoCodec

func (o *Media) GetVideoCodec() *string

func (*Media) GetVideoFrameRate

func (o *Media) GetVideoFrameRate() *string

func (*Media) GetVideoProfile

func (o *Media) GetVideoProfile() *string

func (*Media) GetVideoResolution

func (o *Media) GetVideoResolution() *string

func (*Media) GetWidth

func (o *Media) GetWidth() *int

func (Media) MarshalJSON added in v0.13.0

func (m Media) MarshalJSON() ([]byte, error)

func (*Media) UnmarshalJSON added in v0.13.0

func (m *Media) UnmarshalJSON(data []byte) error

type MediaContainer

type MediaContainer struct {
	Size                          *float64    `json:"size,omitempty"`
	AllowCameraUpload             *bool       `json:"allowCameraUpload,omitempty"`
	AllowChannelAccess            *bool       `json:"allowChannelAccess,omitempty"`
	AllowMediaDeletion            *bool       `json:"allowMediaDeletion,omitempty"`
	AllowSharing                  *bool       `json:"allowSharing,omitempty"`
	AllowSync                     *bool       `json:"allowSync,omitempty"`
	AllowTuners                   *bool       `json:"allowTuners,omitempty"`
	BackgroundProcessing          *bool       `json:"backgroundProcessing,omitempty"`
	Certificate                   *bool       `json:"certificate,omitempty"`
	CompanionProxy                *bool       `json:"companionProxy,omitempty"`
	CountryCode                   *string     `json:"countryCode,omitempty"`
	Diagnostics                   *string     `json:"diagnostics,omitempty"`
	EventStream                   *bool       `json:"eventStream,omitempty"`
	FriendlyName                  *string     `json:"friendlyName,omitempty"`
	HubSearch                     *bool       `json:"hubSearch,omitempty"`
	ItemClusters                  *bool       `json:"itemClusters,omitempty"`
	Livetv                        *float64    `json:"livetv,omitempty"`
	MachineIdentifier             *string     `json:"machineIdentifier,omitempty"`
	MediaProviders                *bool       `json:"mediaProviders,omitempty"`
	Multiuser                     *bool       `json:"multiuser,omitempty"`
	MusicAnalysis                 *float64    `json:"musicAnalysis,omitempty"`
	MyPlex                        *bool       `json:"myPlex,omitempty"`
	MyPlexMappingState            *string     `json:"myPlexMappingState,omitempty"`
	MyPlexSigninState             *string     `json:"myPlexSigninState,omitempty"`
	MyPlexSubscription            *bool       `json:"myPlexSubscription,omitempty"`
	MyPlexUsername                *string     `json:"myPlexUsername,omitempty"`
	OfflineTranscode              *float64    `json:"offlineTranscode,omitempty"`
	OwnerFeatures                 *string     `json:"ownerFeatures,omitempty"`
	PhotoAutoTag                  *bool       `json:"photoAutoTag,omitempty"`
	Platform                      *string     `json:"platform,omitempty"`
	PlatformVersion               *string     `json:"platformVersion,omitempty"`
	PluginHost                    *bool       `json:"pluginHost,omitempty"`
	PushNotifications             *bool       `json:"pushNotifications,omitempty"`
	ReadOnlyLibraries             *bool       `json:"readOnlyLibraries,omitempty"`
	StreamingBrainABRVersion      *float64    `json:"streamingBrainABRVersion,omitempty"`
	StreamingBrainVersion         *float64    `json:"streamingBrainVersion,omitempty"`
	Sync                          *bool       `json:"sync,omitempty"`
	TranscoderActiveVideoSessions *float64    `json:"transcoderActiveVideoSessions,omitempty"`
	TranscoderAudio               *bool       `json:"transcoderAudio,omitempty"`
	TranscoderLyrics              *bool       `json:"transcoderLyrics,omitempty"`
	TranscoderPhoto               *bool       `json:"transcoderPhoto,omitempty"`
	TranscoderSubtitles           *bool       `json:"transcoderSubtitles,omitempty"`
	TranscoderVideo               *bool       `json:"transcoderVideo,omitempty"`
	TranscoderVideoBitrates       *string     `json:"transcoderVideoBitrates,omitempty"`
	TranscoderVideoQualities      *string     `json:"transcoderVideoQualities,omitempty"`
	TranscoderVideoResolutions    *string     `json:"transcoderVideoResolutions,omitempty"`
	UpdatedAt                     *float64    `json:"updatedAt,omitempty"`
	Updater                       *bool       `json:"updater,omitempty"`
	Version                       *string     `json:"version,omitempty"`
	VoiceSearch                   *bool       `json:"voiceSearch,omitempty"`
	Directory                     []Directory `json:"Directory,omitempty"`
}

func (*MediaContainer) GetAllowCameraUpload

func (o *MediaContainer) GetAllowCameraUpload() *bool

func (*MediaContainer) GetAllowChannelAccess

func (o *MediaContainer) GetAllowChannelAccess() *bool

func (*MediaContainer) GetAllowMediaDeletion

func (o *MediaContainer) GetAllowMediaDeletion() *bool

func (*MediaContainer) GetAllowSharing

func (o *MediaContainer) GetAllowSharing() *bool

func (*MediaContainer) GetAllowSync

func (o *MediaContainer) GetAllowSync() *bool

func (*MediaContainer) GetAllowTuners

func (o *MediaContainer) GetAllowTuners() *bool

func (*MediaContainer) GetBackgroundProcessing

func (o *MediaContainer) GetBackgroundProcessing() *bool

func (*MediaContainer) GetCertificate

func (o *MediaContainer) GetCertificate() *bool

func (*MediaContainer) GetCompanionProxy

func (o *MediaContainer) GetCompanionProxy() *bool

func (*MediaContainer) GetCountryCode

func (o *MediaContainer) GetCountryCode() *string

func (*MediaContainer) GetDiagnostics

func (o *MediaContainer) GetDiagnostics() *string

func (*MediaContainer) GetDirectory

func (o *MediaContainer) GetDirectory() []Directory

func (*MediaContainer) GetEventStream

func (o *MediaContainer) GetEventStream() *bool

func (*MediaContainer) GetFriendlyName

func (o *MediaContainer) GetFriendlyName() *string

func (*MediaContainer) GetHubSearch

func (o *MediaContainer) GetHubSearch() *bool

func (*MediaContainer) GetItemClusters

func (o *MediaContainer) GetItemClusters() *bool

func (*MediaContainer) GetLivetv

func (o *MediaContainer) GetLivetv() *float64

func (*MediaContainer) GetMachineIdentifier

func (o *MediaContainer) GetMachineIdentifier() *string

func (*MediaContainer) GetMediaProviders

func (o *MediaContainer) GetMediaProviders() *bool

func (*MediaContainer) GetMultiuser

func (o *MediaContainer) GetMultiuser() *bool

func (*MediaContainer) GetMusicAnalysis

func (o *MediaContainer) GetMusicAnalysis() *float64

func (*MediaContainer) GetMyPlex

func (o *MediaContainer) GetMyPlex() *bool

func (*MediaContainer) GetMyPlexMappingState

func (o *MediaContainer) GetMyPlexMappingState() *string

func (*MediaContainer) GetMyPlexSigninState

func (o *MediaContainer) GetMyPlexSigninState() *string

func (*MediaContainer) GetMyPlexSubscription

func (o *MediaContainer) GetMyPlexSubscription() *bool

func (*MediaContainer) GetMyPlexUsername

func (o *MediaContainer) GetMyPlexUsername() *string

func (*MediaContainer) GetOfflineTranscode

func (o *MediaContainer) GetOfflineTranscode() *float64

func (*MediaContainer) GetOwnerFeatures

func (o *MediaContainer) GetOwnerFeatures() *string

func (*MediaContainer) GetPhotoAutoTag

func (o *MediaContainer) GetPhotoAutoTag() *bool

func (*MediaContainer) GetPlatform

func (o *MediaContainer) GetPlatform() *string

func (*MediaContainer) GetPlatformVersion

func (o *MediaContainer) GetPlatformVersion() *string

func (*MediaContainer) GetPluginHost

func (o *MediaContainer) GetPluginHost() *bool

func (*MediaContainer) GetPushNotifications

func (o *MediaContainer) GetPushNotifications() *bool

func (*MediaContainer) GetReadOnlyLibraries

func (o *MediaContainer) GetReadOnlyLibraries() *bool

func (*MediaContainer) GetSize

func (o *MediaContainer) GetSize() *float64

func (*MediaContainer) GetStreamingBrainABRVersion

func (o *MediaContainer) GetStreamingBrainABRVersion() *float64

func (*MediaContainer) GetStreamingBrainVersion

func (o *MediaContainer) GetStreamingBrainVersion() *float64

func (*MediaContainer) GetSync

func (o *MediaContainer) GetSync() *bool

func (*MediaContainer) GetTranscoderActiveVideoSessions

func (o *MediaContainer) GetTranscoderActiveVideoSessions() *float64

func (*MediaContainer) GetTranscoderAudio

func (o *MediaContainer) GetTranscoderAudio() *bool

func (*MediaContainer) GetTranscoderLyrics

func (o *MediaContainer) GetTranscoderLyrics() *bool

func (*MediaContainer) GetTranscoderPhoto

func (o *MediaContainer) GetTranscoderPhoto() *bool

func (*MediaContainer) GetTranscoderSubtitles

func (o *MediaContainer) GetTranscoderSubtitles() *bool

func (*MediaContainer) GetTranscoderVideo

func (o *MediaContainer) GetTranscoderVideo() *bool

func (*MediaContainer) GetTranscoderVideoBitrates

func (o *MediaContainer) GetTranscoderVideoBitrates() *string

func (*MediaContainer) GetTranscoderVideoQualities

func (o *MediaContainer) GetTranscoderVideoQualities() *string

func (*MediaContainer) GetTranscoderVideoResolutions

func (o *MediaContainer) GetTranscoderVideoResolutions() *string

func (*MediaContainer) GetUpdatedAt

func (o *MediaContainer) GetUpdatedAt() *float64

func (*MediaContainer) GetUpdater

func (o *MediaContainer) GetUpdater() *bool

func (*MediaContainer) GetVersion

func (o *MediaContainer) GetVersion() *string

func (*MediaContainer) GetVoiceSearch

func (o *MediaContainer) GetVoiceSearch() *bool

type MediaGUID added in v0.12.0

type MediaGUID struct {
	// Can be one of the following formats:
	// imdb://tt13015952, tmdb://2434012, tvdb://7945991
	//
	ID string `json:"id"`
}

func (*MediaGUID) GetID added in v0.12.0

func (o *MediaGUID) GetID() string

type MediaProvider added in v0.11.1

type MediaProvider struct {
	Identifier *string   `json:"identifier,omitempty"`
	Title      *string   `json:"title,omitempty"`
	Types      *string   `json:"types,omitempty"`
	Protocols  *string   `json:"protocols,omitempty"`
	Feature    []Feature `json:"Feature,omitempty"`
}

func (*MediaProvider) GetFeature added in v0.11.1

func (o *MediaProvider) GetFeature() []Feature

func (*MediaProvider) GetIdentifier added in v0.11.1

func (o *MediaProvider) GetIdentifier() *string

func (*MediaProvider) GetProtocols added in v0.11.1

func (o *MediaProvider) GetProtocols() *string

func (*MediaProvider) GetTitle added in v0.11.1

func (o *MediaProvider) GetTitle() *string

func (*MediaProvider) GetTypes added in v0.11.1

func (o *MediaProvider) GetTypes() *string

type MediaReviewsVisibility added in v0.11.1

type MediaReviewsVisibility int

MediaReviewsVisibility - Whether or not the account has media reviews visibility enabled

const (
	MediaReviewsVisibilityDisable MediaReviewsVisibility = 0
	MediaReviewsVisibilityEnable  MediaReviewsVisibility = 1
)

func (MediaReviewsVisibility) ToPointer added in v0.11.1

func (*MediaReviewsVisibility) UnmarshalJSON added in v0.11.1

func (e *MediaReviewsVisibility) UnmarshalJSON(data []byte) error

type Meta added in v0.12.0

type Meta struct {
	Type      []GetRecentlyAddedType      `json:"Type,omitempty"`
	FieldType []GetRecentlyAddedFieldType `json:"FieldType,omitempty"`
}

The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.

func (*Meta) GetFieldType added in v0.12.0

func (o *Meta) GetFieldType() []GetRecentlyAddedFieldType

func (*Meta) GetType added in v0.12.0

func (o *Meta) GetType() []GetRecentlyAddedType

type MetaDataRating added in v0.13.0

type MetaDataRating struct {
	// A URI or path to the rating image.
	Image string `json:"image"`
	// The value of the rating.
	Value float32 `json:"value"`
	// The type of rating (e.g., audience, critic).
	Type string `json:"type"`
}

func (*MetaDataRating) GetImage added in v0.13.0

func (o *MetaDataRating) GetImage() string

func (*MetaDataRating) GetType added in v0.13.0

func (o *MetaDataRating) GetType() string

func (*MetaDataRating) GetValue added in v0.13.0

func (o *MetaDataRating) GetValue() float32

type Metadata

type Metadata struct {
	Art                   *string     `json:"art,omitempty"`
	GUID                  *string     `json:"guid,omitempty"`
	Key                   *string     `json:"key,omitempty"`
	RatingKey             *string     `json:"ratingKey,omitempty"`
	Studio                *string     `json:"studio,omitempty"`
	Tagline               *string     `json:"tagline,omitempty"`
	Type                  *string     `json:"type,omitempty"`
	Thumb                 *string     `json:"thumb,omitempty"`
	AddedAt               *int        `json:"addedAt,omitempty"`
	Duration              *int        `json:"duration,omitempty"`
	PublicPagesURL        *string     `json:"publicPagesURL,omitempty"`
	Slug                  *string     `json:"slug,omitempty"`
	UserState             *bool       `json:"userState,omitempty"`
	Title                 *string     `json:"title,omitempty"`
	ContentRating         *string     `json:"contentRating,omitempty"`
	OriginallyAvailableAt *types.Date `json:"originallyAvailableAt,omitempty"`
	Year                  *int        `json:"year,omitempty"`
	Image                 []Image     `json:"Image,omitempty"`
	Banner                *string     `json:"banner,omitempty"`
	Rating                *float64    `json:"rating,omitempty"`
	ExpiresAt             *int        `json:"expiresAt,omitempty"`
	OriginalTitle         *string     `json:"originalTitle,omitempty"`
	AudienceRating        *float64    `json:"audienceRating,omitempty"`
	AudienceRatingImage   *string     `json:"audienceRatingImage,omitempty"`
	RatingImage           *string     `json:"ratingImage,omitempty"`
	ImdbRatingCount       *int        `json:"imdbRatingCount,omitempty"`
	Subtype               *string     `json:"subtype,omitempty"`
	Theme                 *string     `json:"theme,omitempty"`
	LeafCount             *int        `json:"leafCount,omitempty"`
	ChildCount            *int        `json:"childCount,omitempty"`
	IsContinuingSeries    *bool       `json:"isContinuingSeries,omitempty"`
	SkipChildren          *bool       `json:"skipChildren,omitempty"`
	AvailabilityID        *string     `json:"availabilityId,omitempty"`
	StreamingMediaID      *string     `json:"streamingMediaId,omitempty"`
	PlayableKey           *string     `json:"playableKey,omitempty"`
}

func (*Metadata) GetAddedAt

func (o *Metadata) GetAddedAt() *int

func (*Metadata) GetArt

func (o *Metadata) GetArt() *string

func (*Metadata) GetAudienceRating

func (o *Metadata) GetAudienceRating() *float64

func (*Metadata) GetAudienceRatingImage

func (o *Metadata) GetAudienceRatingImage() *string

func (*Metadata) GetAvailabilityID added in v0.9.0

func (o *Metadata) GetAvailabilityID() *string

func (*Metadata) GetBanner added in v0.9.0

func (o *Metadata) GetBanner() *string

func (*Metadata) GetChildCount added in v0.9.0

func (o *Metadata) GetChildCount() *int

func (*Metadata) GetContentRating

func (o *Metadata) GetContentRating() *string

func (*Metadata) GetDuration

func (o *Metadata) GetDuration() *int

func (*Metadata) GetExpiresAt added in v0.9.0

func (o *Metadata) GetExpiresAt() *int

func (*Metadata) GetGUID

func (o *Metadata) GetGUID() *string

func (*Metadata) GetImage added in v0.9.0

func (o *Metadata) GetImage() []Image

func (*Metadata) GetImdbRatingCount added in v0.9.0

func (o *Metadata) GetImdbRatingCount() *int

func (*Metadata) GetIsContinuingSeries added in v0.9.0

func (o *Metadata) GetIsContinuingSeries() *bool

func (*Metadata) GetKey

func (o *Metadata) GetKey() *string

func (*Metadata) GetLeafCount added in v0.9.0

func (o *Metadata) GetLeafCount() *int

func (*Metadata) GetOriginalTitle added in v0.9.0

func (o *Metadata) GetOriginalTitle() *string

func (*Metadata) GetOriginallyAvailableAt

func (o *Metadata) GetOriginallyAvailableAt() *types.Date

func (*Metadata) GetPlayableKey added in v0.9.0

func (o *Metadata) GetPlayableKey() *string

func (*Metadata) GetPublicPagesURL added in v0.9.0

func (o *Metadata) GetPublicPagesURL() *string

func (*Metadata) GetRating

func (o *Metadata) GetRating() *float64

func (*Metadata) GetRatingImage

func (o *Metadata) GetRatingImage() *string

func (*Metadata) GetRatingKey

func (o *Metadata) GetRatingKey() *string

func (*Metadata) GetSkipChildren added in v0.9.0

func (o *Metadata) GetSkipChildren() *bool

func (*Metadata) GetSlug added in v0.9.0

func (o *Metadata) GetSlug() *string

func (*Metadata) GetStreamingMediaID added in v0.9.0

func (o *Metadata) GetStreamingMediaID() *string

func (*Metadata) GetStudio

func (o *Metadata) GetStudio() *string

func (*Metadata) GetSubtype added in v0.9.0

func (o *Metadata) GetSubtype() *string

func (*Metadata) GetTagline

func (o *Metadata) GetTagline() *string

func (*Metadata) GetTheme added in v0.9.0

func (o *Metadata) GetTheme() *string

func (*Metadata) GetThumb

func (o *Metadata) GetThumb() *string

func (*Metadata) GetTitle

func (o *Metadata) GetTitle() *string

func (*Metadata) GetType

func (o *Metadata) GetType() *string

func (*Metadata) GetUserState added in v0.9.0

func (o *Metadata) GetUserState() *bool

func (*Metadata) GetYear

func (o *Metadata) GetYear() *int

func (Metadata) MarshalJSON

func (m Metadata) MarshalJSON() ([]byte, error)

func (*Metadata) UnmarshalJSON

func (m *Metadata) UnmarshalJSON(data []byte) error

type MinSize

type MinSize int64

MinSize - images are always scaled proportionally. A value of '1' in minSize will make the smaller native dimension the dimension resized against.

const (
	MinSizeZero MinSize = 0
	MinSizeOne  MinSize = 1
)

func (MinSize) ToPointer

func (e MinSize) ToPointer() *MinSize

func (*MinSize) UnmarshalJSON

func (e *MinSize) UnmarshalJSON(data []byte) error

type MyPlex

type MyPlex struct {
	AuthToken            *string  `json:"authToken,omitempty"`
	Username             *string  `json:"username,omitempty"`
	MappingState         *string  `json:"mappingState,omitempty"`
	MappingError         *string  `json:"mappingError,omitempty"`
	SignInState          *string  `json:"signInState,omitempty"`
	PublicAddress        *string  `json:"publicAddress,omitempty"`
	PublicPort           *float64 `json:"publicPort,omitempty"`
	PrivateAddress       *string  `json:"privateAddress,omitempty"`
	PrivatePort          *float64 `json:"privatePort,omitempty"`
	SubscriptionFeatures *string  `json:"subscriptionFeatures,omitempty"`
	SubscriptionActive   *bool    `json:"subscriptionActive,omitempty"`
	SubscriptionState    *string  `json:"subscriptionState,omitempty"`
}

func (*MyPlex) GetAuthToken

func (o *MyPlex) GetAuthToken() *string

func (*MyPlex) GetMappingError

func (o *MyPlex) GetMappingError() *string

func (*MyPlex) GetMappingState

func (o *MyPlex) GetMappingState() *string

func (*MyPlex) GetPrivateAddress

func (o *MyPlex) GetPrivateAddress() *string

func (*MyPlex) GetPrivatePort

func (o *MyPlex) GetPrivatePort() *float64

func (*MyPlex) GetPublicAddress

func (o *MyPlex) GetPublicAddress() *string

func (*MyPlex) GetPublicPort

func (o *MyPlex) GetPublicPort() *float64

func (*MyPlex) GetSignInState

func (o *MyPlex) GetSignInState() *string

func (*MyPlex) GetSubscriptionActive

func (o *MyPlex) GetSubscriptionActive() *bool

func (*MyPlex) GetSubscriptionFeatures

func (o *MyPlex) GetSubscriptionFeatures() *string

func (*MyPlex) GetSubscriptionState

func (o *MyPlex) GetSubscriptionState() *string

func (*MyPlex) GetUsername

func (o *MyPlex) GetUsername() *string

type One added in v0.1.0

type One int
const (
	OneZero One = 0
	OneOne  One = 1
)

func (One) ToPointer added in v0.19.0

func (e One) ToPointer() *One

func (*One) UnmarshalJSON added in v0.19.0

func (e *One) UnmarshalJSON(data []byte) error

type OnlyTransient

type OnlyTransient int64

OnlyTransient - Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added).

const (
	OnlyTransientZero OnlyTransient = 0
	OnlyTransientOne  OnlyTransient = 1
)

func (OnlyTransient) ToPointer

func (e OnlyTransient) ToPointer() *OnlyTransient

func (*OnlyTransient) UnmarshalJSON

func (e *OnlyTransient) UnmarshalJSON(data []byte) error

type Operator added in v0.1.0

type Operator struct {
	Key   string `json:"key"`
	Title string `json:"title"`
}

func (*Operator) GetKey added in v0.1.0

func (o *Operator) GetKey() string

func (*Operator) GetTitle added in v0.1.0

func (o *Operator) GetTitle() string

type OptimizedForStreaming added in v0.13.0

type OptimizedForStreaming int
const (
	OptimizedForStreamingDisable OptimizedForStreaming = 0
	OptimizedForStreamingEnable  OptimizedForStreaming = 1
)

func (OptimizedForStreaming) ToPointer added in v0.13.0

func (*OptimizedForStreaming) UnmarshalJSON added in v0.13.0

func (e *OptimizedForStreaming) UnmarshalJSON(data []byte) error

type OptimizedForStreaming1 added in v0.19.0

type OptimizedForStreaming1 int
const (
	OptimizedForStreaming1Zero OptimizedForStreaming1 = 0
	OptimizedForStreaming1One  OptimizedForStreaming1 = 1
)

func (OptimizedForStreaming1) ToPointer added in v0.19.0

func (*OptimizedForStreaming1) UnmarshalJSON added in v0.19.0

func (e *OptimizedForStreaming1) UnmarshalJSON(data []byte) error

type Option added in v0.2.0

type Option func(*Options, ...string) error

func WithAcceptHeaderOverride added in v0.11.1

func WithAcceptHeaderOverride(acceptHeaderOverride AcceptHeaderEnum) Option

func WithOperationTimeout added in v0.11.1

func WithOperationTimeout(timeout time.Duration) Option

WithOperationTimeout allows setting the request timeout applied for an operation.

func WithRetries added in v0.2.0

func WithRetries(config retry.Config) Option

WithRetries allows customizing the default retry configuration.

func WithServerURL added in v0.2.0

func WithServerURL(serverURL string) Option

WithServerURL allows providing an alternative server URL.

func WithSetHeaders added in v0.17.0

func WithSetHeaders(hdrs map[string]string) Option

WithSetHeaders takes a map of headers that will applied to a request. If the request contains headers that are in the map then they will be overwritten.

func WithTemplatedServerURL added in v0.2.0

func WithTemplatedServerURL(serverURL string, params map[string]string) Option

WithTemplatedServerURL allows providing an alternative server URL with templated parameters.

func WithURLOverride added in v0.11.1

func WithURLOverride(urlOverride string) Option

WithURLOverride allows overriding the URL.

type Options added in v0.2.0

type Options struct {
	ServerURL            *string
	Retries              *retry.Config
	Timeout              *time.Duration
	AcceptHeaderOverride *AcceptHeaderEnum
	URLOverride          *string
	SetHeaders           map[string]string
}

type Owned added in v0.18.0

type Owned int

Owned - Indicates if the user owns the server.

const (
	OwnedDisable Owned = 0
	OwnedEnable  Owned = 1
)

func (Owned) ToPointer added in v0.18.0

func (e Owned) ToPointer() *Owned

func (*Owned) UnmarshalJSON added in v0.18.0

func (e *Owned) UnmarshalJSON(data []byte) error

type Part

type Part struct {
	ID       int    `json:"id"`
	Key      string `json:"key"`
	Duration *int   `json:"duration,omitempty"`
	File     string `json:"file"`
	Size     int64  `json:"size"`
	// The container format of the media file.
	//
	Container             string        `json:"container"`
	AudioProfile          *string       `json:"audioProfile,omitempty"`
	Has64bitOffsets       *bool         `json:"has64bitOffsets,omitempty"`
	OptimizedForStreaming *bool         `json:"optimizedForStreaming,omitempty"`
	VideoProfile          *string       `json:"videoProfile,omitempty"`
	Indexes               *string       `json:"indexes,omitempty"`
	HasThumbnail          *HasThumbnail `default:"0" json:"hasThumbnail"`
	Stream                []Stream      `json:"Stream,omitempty"`
}

func (*Part) GetAudioProfile added in v0.13.0

func (o *Part) GetAudioProfile() *string

func (*Part) GetContainer

func (o *Part) GetContainer() string

func (*Part) GetDuration

func (o *Part) GetDuration() *int

func (*Part) GetFile

func (o *Part) GetFile() string

func (*Part) GetHas64bitOffsets

func (o *Part) GetHas64bitOffsets() *bool

func (*Part) GetHasThumbnail

func (o *Part) GetHasThumbnail() *HasThumbnail

func (*Part) GetID

func (o *Part) GetID() int

func (*Part) GetIndexes added in v0.13.0

func (o *Part) GetIndexes() *string

func (*Part) GetKey

func (o *Part) GetKey() string

func (*Part) GetOptimizedForStreaming

func (o *Part) GetOptimizedForStreaming() *bool

func (*Part) GetSize

func (o *Part) GetSize() int64

func (*Part) GetStream added in v0.13.0

func (o *Part) GetStream() []Stream

func (*Part) GetVideoProfile

func (o *Part) GetVideoProfile() *string

func (Part) MarshalJSON added in v0.13.0

func (p Part) MarshalJSON() ([]byte, error)

func (*Part) UnmarshalJSON added in v0.13.0

func (p *Part) UnmarshalJSON(data []byte) error

type PastSubscription added in v0.11.1

type PastSubscription struct {
	ID            *string                  `json:"id"`
	Mode          *string                  `json:"mode"`
	RenewsAt      *int64                   `json:"renewsAt"`
	EndsAt        *int64                   `json:"endsAt"`
	Canceled      *bool                    `default:"false" json:"canceled"`
	GracePeriod   *bool                    `default:"false" json:"gracePeriod"`
	OnHold        *bool                    `default:"false" json:"onHold"`
	CanReactivate *bool                    `default:"false" json:"canReactivate"`
	CanUpgrade    *bool                    `default:"false" json:"canUpgrade"`
	CanDowngrade  *bool                    `default:"false" json:"canDowngrade"`
	CanConvert    *bool                    `default:"false" json:"canConvert"`
	Type          string                   `json:"type"`
	Transfer      *string                  `json:"transfer"`
	State         PostUsersSignInDataState `json:"state"`
	Billing       Billing                  `json:"billing"`
}

func (*PastSubscription) GetBilling added in v0.11.1

func (o *PastSubscription) GetBilling() Billing

func (*PastSubscription) GetCanConvert added in v0.11.1

func (o *PastSubscription) GetCanConvert() *bool

func (*PastSubscription) GetCanDowngrade added in v0.11.1

func (o *PastSubscription) GetCanDowngrade() *bool

func (*PastSubscription) GetCanReactivate added in v0.11.1

func (o *PastSubscription) GetCanReactivate() *bool

func (*PastSubscription) GetCanUpgrade added in v0.11.1

func (o *PastSubscription) GetCanUpgrade() *bool

func (*PastSubscription) GetCanceled added in v0.11.1

func (o *PastSubscription) GetCanceled() *bool

func (*PastSubscription) GetEndsAt added in v0.11.1

func (o *PastSubscription) GetEndsAt() *int64

func (*PastSubscription) GetGracePeriod added in v0.11.1

func (o *PastSubscription) GetGracePeriod() *bool

func (*PastSubscription) GetID added in v0.11.1

func (o *PastSubscription) GetID() *string

func (*PastSubscription) GetMode added in v0.11.1

func (o *PastSubscription) GetMode() *string

func (*PastSubscription) GetOnHold added in v0.11.1

func (o *PastSubscription) GetOnHold() *bool

func (*PastSubscription) GetRenewsAt added in v0.11.1

func (o *PastSubscription) GetRenewsAt() *int64

func (*PastSubscription) GetState added in v0.11.1

func (*PastSubscription) GetTransfer added in v0.11.1

func (o *PastSubscription) GetTransfer() *string

func (*PastSubscription) GetType added in v0.11.1

func (o *PastSubscription) GetType() string

func (PastSubscription) MarshalJSON added in v0.11.1

func (p PastSubscription) MarshalJSON() ([]byte, error)

func (*PastSubscription) UnmarshalJSON added in v0.11.1

func (p *PastSubscription) UnmarshalJSON(data []byte) error

type PathParamTaskName

type PathParamTaskName string

PathParamTaskName - The name of the task to be started.

const (
	PathParamTaskNameBackupDatabase            PathParamTaskName = "BackupDatabase"
	PathParamTaskNameBuildGracenoteCollections PathParamTaskName = "BuildGracenoteCollections"
	PathParamTaskNameCheckForUpdates           PathParamTaskName = "CheckForUpdates"
	PathParamTaskNameCleanOldBundles           PathParamTaskName = "CleanOldBundles"
	PathParamTaskNameCleanOldCacheFiles        PathParamTaskName = "CleanOldCacheFiles"
	PathParamTaskNameDeepMediaAnalysis         PathParamTaskName = "DeepMediaAnalysis"
	PathParamTaskNameGenerateAutoTags          PathParamTaskName = "GenerateAutoTags"
	PathParamTaskNameGenerateChapterThumbs     PathParamTaskName = "GenerateChapterThumbs"
	PathParamTaskNameGenerateMediaIndexFiles   PathParamTaskName = "GenerateMediaIndexFiles"
	PathParamTaskNameOptimizeDatabase          PathParamTaskName = "OptimizeDatabase"
	PathParamTaskNameRefreshLibraries          PathParamTaskName = "RefreshLibraries"
	PathParamTaskNameRefreshLocalMedia         PathParamTaskName = "RefreshLocalMedia"
	PathParamTaskNameRefreshPeriodicMetadata   PathParamTaskName = "RefreshPeriodicMetadata"
	PathParamTaskNameUpgradeMediaAnalysis      PathParamTaskName = "UpgradeMediaAnalysis"
)

func (PathParamTaskName) ToPointer

func (e PathParamTaskName) ToPointer() *PathParamTaskName

func (*PathParamTaskName) UnmarshalJSON

func (e *PathParamTaskName) UnmarshalJSON(data []byte) error

type Pending added in v0.18.0

type Pending int

Pending - Indicates if the server is pending approval.

const (
	PendingDisable Pending = 0
	PendingEnable  Pending = 1
)

func (Pending) ToPointer added in v0.18.0

func (e Pending) ToPointer() *Pending

func (*Pending) UnmarshalJSON added in v0.18.0

func (e *Pending) UnmarshalJSON(data []byte) error

type PerformSearchRequest

type PerformSearchRequest struct {
	// The query term
	Query string `queryParam:"style=form,explode=true,name=query"`
	// This gives context to the search, and can result in re-ordering of search result hubs
	SectionID *float64 `queryParam:"style=form,explode=true,name=sectionId"`
	// The number of items to return per hub
	Limit *float64 `default:"3" queryParam:"style=form,explode=true,name=limit"`
}

func (*PerformSearchRequest) GetLimit

func (o *PerformSearchRequest) GetLimit() *float64

func (*PerformSearchRequest) GetQuery

func (o *PerformSearchRequest) GetQuery() string

func (*PerformSearchRequest) GetSectionID

func (o *PerformSearchRequest) GetSectionID() *float64

func (PerformSearchRequest) MarshalJSON

func (p PerformSearchRequest) MarshalJSON() ([]byte, error)

func (*PerformSearchRequest) UnmarshalJSON

func (p *PerformSearchRequest) UnmarshalJSON(data []byte) error

type PerformSearchResponse

type PerformSearchResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*PerformSearchResponse) GetContentType

func (o *PerformSearchResponse) GetContentType() string

func (*PerformSearchResponse) GetRawResponse

func (o *PerformSearchResponse) GetRawResponse() *http.Response

func (*PerformSearchResponse) GetStatusCode

func (o *PerformSearchResponse) GetStatusCode() int

type PerformVoiceSearchRequest

type PerformVoiceSearchRequest struct {
	// The query term
	Query string `queryParam:"style=form,explode=true,name=query"`
	// This gives context to the search, and can result in re-ordering of search result hubs
	SectionID *float64 `queryParam:"style=form,explode=true,name=sectionId"`
	// The number of items to return per hub
	Limit *float64 `default:"3" queryParam:"style=form,explode=true,name=limit"`
}

func (*PerformVoiceSearchRequest) GetLimit

func (o *PerformVoiceSearchRequest) GetLimit() *float64

func (*PerformVoiceSearchRequest) GetQuery

func (o *PerformVoiceSearchRequest) GetQuery() string

func (*PerformVoiceSearchRequest) GetSectionID

func (o *PerformVoiceSearchRequest) GetSectionID() *float64

func (PerformVoiceSearchRequest) MarshalJSON

func (p PerformVoiceSearchRequest) MarshalJSON() ([]byte, error)

func (*PerformVoiceSearchRequest) UnmarshalJSON

func (p *PerformVoiceSearchRequest) UnmarshalJSON(data []byte) error

type PerformVoiceSearchResponse

type PerformVoiceSearchResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*PerformVoiceSearchResponse) GetContentType

func (o *PerformVoiceSearchResponse) GetContentType() string

func (*PerformVoiceSearchResponse) GetRawResponse

func (o *PerformVoiceSearchResponse) GetRawResponse() *http.Response

func (*PerformVoiceSearchResponse) GetStatusCode

func (o *PerformVoiceSearchResponse) GetStatusCode() int

type Pivot added in v0.11.1

type Pivot struct {
	ID      *string `json:"id,omitempty"`
	Key     *string `json:"key,omitempty"`
	Type    *string `json:"type,omitempty"`
	Title   *string `json:"title,omitempty"`
	Context *string `json:"context,omitempty"`
	Symbol  *string `json:"symbol,omitempty"`
}

func (*Pivot) GetContext added in v0.11.1

func (o *Pivot) GetContext() *string

func (*Pivot) GetID added in v0.11.1

func (o *Pivot) GetID() *string

func (*Pivot) GetKey added in v0.11.1

func (o *Pivot) GetKey() *string

func (*Pivot) GetSymbol added in v0.11.1

func (o *Pivot) GetSymbol() *string

func (*Pivot) GetTitle added in v0.11.1

func (o *Pivot) GetTitle() *string

func (*Pivot) GetType added in v0.11.1

func (o *Pivot) GetType() *string

type Player added in v0.1.1

type Player struct {
	Address             *string `json:"address,omitempty"`
	MachineIdentifier   *string `json:"machineIdentifier,omitempty"`
	Model               *string `json:"model,omitempty"`
	Platform            *string `json:"platform,omitempty"`
	PlatformVersion     *string `json:"platformVersion,omitempty"`
	Product             *string `json:"product,omitempty"`
	Profile             *string `json:"profile,omitempty"`
	RemotePublicAddress *string `json:"remotePublicAddress,omitempty"`
	State               *string `json:"state,omitempty"`
	Title               *string `json:"title,omitempty"`
	Version             *string `json:"version,omitempty"`
	Local               *bool   `json:"local,omitempty"`
	Relayed             *bool   `json:"relayed,omitempty"`
	Secure              *bool   `json:"secure,omitempty"`
	UserID              *int    `json:"userID,omitempty"`
}

func (*Player) GetAddress added in v0.1.1

func (o *Player) GetAddress() *string

func (*Player) GetLocal added in v0.1.1

func (o *Player) GetLocal() *bool

func (*Player) GetMachineIdentifier added in v0.1.1

func (o *Player) GetMachineIdentifier() *string

func (*Player) GetModel added in v0.1.1

func (o *Player) GetModel() *string

func (*Player) GetPlatform added in v0.1.1

func (o *Player) GetPlatform() *string

func (*Player) GetPlatformVersion added in v0.1.1

func (o *Player) GetPlatformVersion() *string

func (*Player) GetProduct added in v0.1.1

func (o *Player) GetProduct() *string

func (*Player) GetProfile added in v0.1.1

func (o *Player) GetProfile() *string

func (*Player) GetRelayed added in v0.1.1

func (o *Player) GetRelayed() *bool

func (*Player) GetRemotePublicAddress added in v0.1.1

func (o *Player) GetRemotePublicAddress() *string

func (*Player) GetSecure added in v0.1.1

func (o *Player) GetSecure() *bool

func (*Player) GetState added in v0.1.1

func (o *Player) GetState() *string

func (*Player) GetTitle added in v0.1.1

func (o *Player) GetTitle() *string

func (*Player) GetUserID added in v0.1.1

func (o *Player) GetUserID() *int

func (*Player) GetVersion added in v0.1.1

func (o *Player) GetVersion() *string

type PlaylistType

type PlaylistType string

PlaylistType - limit to a type of playlist.

const (
	PlaylistTypeAudio PlaylistType = "audio"
	PlaylistTypeVideo PlaylistType = "video"
	PlaylistTypePhoto PlaylistType = "photo"
)

func (PlaylistType) ToPointer

func (e PlaylistType) ToPointer() *PlaylistType

func (*PlaylistType) UnmarshalJSON

func (e *PlaylistType) UnmarshalJSON(data []byte) error

type PlexDevice added in v0.11.1

type PlexDevice struct {
	Name             string    `json:"name"`
	Product          string    `json:"product"`
	ProductVersion   string    `json:"productVersion"`
	Platform         *string   `json:"platform"`
	PlatformVersion  *string   `json:"platformVersion"`
	Device           *string   `json:"device"`
	ClientIdentifier string    `json:"clientIdentifier"`
	CreatedAt        time.Time `json:"createdAt"`
	LastSeenAt       time.Time `json:"lastSeenAt"`
	Provides         string    `json:"provides"`
	// ownerId is null when the device is owned by the token used to send the request
	OwnerID                *int64        `json:"ownerId"`
	SourceTitle            *string       `json:"sourceTitle"`
	PublicAddress          string        `json:"publicAddress"`
	AccessToken            string        `json:"accessToken"`
	Owned                  bool          `json:"owned"`
	Home                   bool          `json:"home"`
	Synced                 bool          `json:"synced"`
	Relay                  bool          `json:"relay"`
	Presence               bool          `json:"presence"`
	HTTPSRequired          bool          `json:"httpsRequired"`
	PublicAddressMatches   bool          `json:"publicAddressMatches"`
	DNSRebindingProtection bool          `json:"dnsRebindingProtection"`
	NatLoopbackSupported   bool          `json:"natLoopbackSupported"`
	Connections            []Connections `json:"connections"`
}

func (*PlexDevice) GetAccessToken added in v0.11.1

func (o *PlexDevice) GetAccessToken() string

func (*PlexDevice) GetClientIdentifier added in v0.11.1

func (o *PlexDevice) GetClientIdentifier() string

func (*PlexDevice) GetConnections added in v0.11.1

func (o *PlexDevice) GetConnections() []Connections

func (*PlexDevice) GetCreatedAt added in v0.11.1

func (o *PlexDevice) GetCreatedAt() time.Time

func (*PlexDevice) GetDNSRebindingProtection added in v0.11.1

func (o *PlexDevice) GetDNSRebindingProtection() bool

func (*PlexDevice) GetDevice added in v0.11.1

func (o *PlexDevice) GetDevice() *string

func (*PlexDevice) GetHTTPSRequired added in v0.11.1

func (o *PlexDevice) GetHTTPSRequired() bool

func (*PlexDevice) GetHome added in v0.11.1

func (o *PlexDevice) GetHome() bool

func (*PlexDevice) GetLastSeenAt added in v0.11.1

func (o *PlexDevice) GetLastSeenAt() time.Time

func (*PlexDevice) GetName added in v0.11.1

func (o *PlexDevice) GetName() string

func (*PlexDevice) GetNatLoopbackSupported added in v0.11.1

func (o *PlexDevice) GetNatLoopbackSupported() bool

func (*PlexDevice) GetOwned added in v0.11.1

func (o *PlexDevice) GetOwned() bool

func (*PlexDevice) GetOwnerID added in v0.11.1

func (o *PlexDevice) GetOwnerID() *int64

func (*PlexDevice) GetPlatform added in v0.11.1

func (o *PlexDevice) GetPlatform() *string

func (*PlexDevice) GetPlatformVersion added in v0.11.1

func (o *PlexDevice) GetPlatformVersion() *string

func (*PlexDevice) GetPresence added in v0.11.1

func (o *PlexDevice) GetPresence() bool

func (*PlexDevice) GetProduct added in v0.11.1

func (o *PlexDevice) GetProduct() string

func (*PlexDevice) GetProductVersion added in v0.11.1

func (o *PlexDevice) GetProductVersion() string

func (*PlexDevice) GetProvides added in v0.11.1

func (o *PlexDevice) GetProvides() string

func (*PlexDevice) GetPublicAddress added in v0.11.1

func (o *PlexDevice) GetPublicAddress() string

func (*PlexDevice) GetPublicAddressMatches added in v0.11.1

func (o *PlexDevice) GetPublicAddressMatches() bool

func (*PlexDevice) GetRelay added in v0.11.1

func (o *PlexDevice) GetRelay() bool

func (*PlexDevice) GetSourceTitle added in v0.11.1

func (o *PlexDevice) GetSourceTitle() *string

func (*PlexDevice) GetSynced added in v0.11.1

func (o *PlexDevice) GetSynced() bool

func (PlexDevice) MarshalJSON added in v0.11.1

func (p PlexDevice) MarshalJSON() ([]byte, error)

func (*PlexDevice) UnmarshalJSON added in v0.11.1

func (p *PlexDevice) UnmarshalJSON(data []byte) error

type PostUsersSignInDataAuthenticationResponseStatus added in v0.11.1

type PostUsersSignInDataAuthenticationResponseStatus string

PostUsersSignInDataAuthenticationResponseStatus - String representation of subscriptionActive

const (
	PostUsersSignInDataAuthenticationResponseStatusInactive PostUsersSignInDataAuthenticationResponseStatus = "Inactive"
	PostUsersSignInDataAuthenticationResponseStatusActive   PostUsersSignInDataAuthenticationResponseStatus = "Active"
)

func (PostUsersSignInDataAuthenticationResponseStatus) ToPointer added in v0.11.1

func (*PostUsersSignInDataAuthenticationResponseStatus) UnmarshalJSON added in v0.11.1

type PostUsersSignInDataAuthenticationStatus added in v0.11.1

type PostUsersSignInDataAuthenticationStatus string

PostUsersSignInDataAuthenticationStatus - String representation of subscriptionActive

const (
	PostUsersSignInDataAuthenticationStatusInactive PostUsersSignInDataAuthenticationStatus = "Inactive"
	PostUsersSignInDataAuthenticationStatusActive   PostUsersSignInDataAuthenticationStatus = "Active"
)

func (PostUsersSignInDataAuthenticationStatus) ToPointer added in v0.11.1

func (*PostUsersSignInDataAuthenticationStatus) UnmarshalJSON added in v0.11.1

func (e *PostUsersSignInDataAuthenticationStatus) UnmarshalJSON(data []byte) error

type PostUsersSignInDataAuthenticationSubscription added in v0.11.1

type PostUsersSignInDataAuthenticationSubscription struct {
	// List of features allowed on your Plex Pass subscription
	Features []string `json:"features,omitempty"`
	// If the account's Plex Pass subscription is active
	Active *bool `json:"active,omitempty"`
	// Date the account subscribed to Plex Pass
	SubscribedAt *string `json:"subscribedAt,omitempty"`
	// String representation of subscriptionActive
	Status *PostUsersSignInDataAuthenticationResponseStatus `json:"status,omitempty"`
	// Payment service used for your Plex Pass subscription
	PaymentService *string `json:"paymentService,omitempty"`
	// Name of Plex Pass subscription plan
	Plan *string `json:"plan,omitempty"`
}

func (*PostUsersSignInDataAuthenticationSubscription) GetActive added in v0.11.1

func (*PostUsersSignInDataAuthenticationSubscription) GetFeatures added in v0.11.1

func (*PostUsersSignInDataAuthenticationSubscription) GetPaymentService added in v0.11.1

func (o *PostUsersSignInDataAuthenticationSubscription) GetPaymentService() *string

func (*PostUsersSignInDataAuthenticationSubscription) GetPlan added in v0.11.1

func (*PostUsersSignInDataAuthenticationSubscription) GetStatus added in v0.11.1

func (*PostUsersSignInDataAuthenticationSubscription) GetSubscribedAt added in v0.11.1

type PostUsersSignInDataAutoSelectSubtitle added in v0.11.1

type PostUsersSignInDataAutoSelectSubtitle int

PostUsersSignInDataAutoSelectSubtitle - The auto-select subtitle mode (0 = Manually selected, 1 = Shown with foreign audio, 2 = Always enabled)

const (
	PostUsersSignInDataAutoSelectSubtitleDisable PostUsersSignInDataAutoSelectSubtitle = 0
	PostUsersSignInDataAutoSelectSubtitleEnable  PostUsersSignInDataAutoSelectSubtitle = 1
)

func (PostUsersSignInDataAutoSelectSubtitle) ToPointer added in v0.11.1

func (*PostUsersSignInDataAutoSelectSubtitle) UnmarshalJSON added in v0.11.1

func (e *PostUsersSignInDataAutoSelectSubtitle) UnmarshalJSON(data []byte) error

type PostUsersSignInDataDefaultSubtitleAccessibility added in v0.11.1

type PostUsersSignInDataDefaultSubtitleAccessibility int

PostUsersSignInDataDefaultSubtitleAccessibility - The subtitles for the deaf or hard-of-hearing (SDH) searches mode (0 = Prefer non-SDH subtitles, 1 = Prefer SDH subtitles, 2 = Only show SDH subtitles, 3 = Only show non-SDH subtitles)

const (
	PostUsersSignInDataDefaultSubtitleAccessibilityDisable PostUsersSignInDataDefaultSubtitleAccessibility = 0
	PostUsersSignInDataDefaultSubtitleAccessibilityEnable  PostUsersSignInDataDefaultSubtitleAccessibility = 1
)

func (PostUsersSignInDataDefaultSubtitleAccessibility) ToPointer added in v0.11.1

func (*PostUsersSignInDataDefaultSubtitleAccessibility) UnmarshalJSON added in v0.11.1

type PostUsersSignInDataDefaultSubtitleForced added in v0.11.1

type PostUsersSignInDataDefaultSubtitleForced int

PostUsersSignInDataDefaultSubtitleForced - The forced subtitles searches mode (0 = Prefer non-forced subtitles, 1 = Prefer forced subtitles, 2 = Only show forced subtitles, 3 = Only show non-forced subtitles)

const (
	PostUsersSignInDataDefaultSubtitleForcedDisable PostUsersSignInDataDefaultSubtitleForced = 0
	PostUsersSignInDataDefaultSubtitleForcedEnable  PostUsersSignInDataDefaultSubtitleForced = 1
)

func (PostUsersSignInDataDefaultSubtitleForced) ToPointer added in v0.11.1

func (*PostUsersSignInDataDefaultSubtitleForced) UnmarshalJSON added in v0.11.1

func (e *PostUsersSignInDataDefaultSubtitleForced) UnmarshalJSON(data []byte) error

type PostUsersSignInDataMailingListStatus added in v0.11.1

type PostUsersSignInDataMailingListStatus string

PostUsersSignInDataMailingListStatus - Your current mailing list status (active or unsubscribed)

const (
	PostUsersSignInDataMailingListStatusActive       PostUsersSignInDataMailingListStatus = "active"
	PostUsersSignInDataMailingListStatusUnsubscribed PostUsersSignInDataMailingListStatus = "unsubscribed"
)

func (PostUsersSignInDataMailingListStatus) ToPointer added in v0.11.1

func (*PostUsersSignInDataMailingListStatus) UnmarshalJSON added in v0.11.1

func (e *PostUsersSignInDataMailingListStatus) UnmarshalJSON(data []byte) error

type PostUsersSignInDataMediaReviewsVisibility added in v0.11.1

type PostUsersSignInDataMediaReviewsVisibility int

PostUsersSignInDataMediaReviewsVisibility - Whether or not the account has media reviews visibility enabled

const (
	PostUsersSignInDataMediaReviewsVisibilityDisable PostUsersSignInDataMediaReviewsVisibility = 0
	PostUsersSignInDataMediaReviewsVisibilityEnable  PostUsersSignInDataMediaReviewsVisibility = 1
)

func (PostUsersSignInDataMediaReviewsVisibility) ToPointer added in v0.11.1

func (*PostUsersSignInDataMediaReviewsVisibility) UnmarshalJSON added in v0.11.1

func (e *PostUsersSignInDataMediaReviewsVisibility) UnmarshalJSON(data []byte) error

type PostUsersSignInDataRequest added in v0.11.1

type PostUsersSignInDataRequest struct {
	// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
	ClientID string `header:"style=simple,explode=false,name=X-Plex-Client-Identifier"`
	// The name of the client application. (Plex Web, Plex Media Server, etc.)
	ClientName *string `header:"style=simple,explode=false,name=X-Plex-Product"`
	// A relatively friendly name for the client device
	DeviceNickname *string `header:"style=simple,explode=false,name=X-Plex-Device"`
	// The version of the client application.
	ClientVersion *string `header:"style=simple,explode=false,name=X-Plex-Version"`
	// The platform of the client application.
	Platform *string `header:"style=simple,explode=false,name=X-Plex-Platform"`
	// Login credentials
	RequestBody *PostUsersSignInDataRequestBody `request:"mediaType=application/x-www-form-urlencoded"`
}

func (*PostUsersSignInDataRequest) GetClientID added in v0.11.11

func (o *PostUsersSignInDataRequest) GetClientID() string

func (*PostUsersSignInDataRequest) GetClientName added in v0.13.0

func (o *PostUsersSignInDataRequest) GetClientName() *string

func (*PostUsersSignInDataRequest) GetClientVersion added in v0.13.0

func (o *PostUsersSignInDataRequest) GetClientVersion() *string

func (*PostUsersSignInDataRequest) GetDeviceNickname added in v0.15.0

func (o *PostUsersSignInDataRequest) GetDeviceNickname() *string

func (*PostUsersSignInDataRequest) GetPlatform added in v0.15.0

func (o *PostUsersSignInDataRequest) GetPlatform() *string

func (*PostUsersSignInDataRequest) GetRequestBody added in v0.11.1

type PostUsersSignInDataRequestBody added in v0.11.1

type PostUsersSignInDataRequestBody struct {
	Login            string  `form:"name=login"`
	Password         string  `form:"name=password"`
	RememberMe       *bool   `default:"false" form:"name=rememberMe"`
	VerificationCode *string `form:"name=verificationCode"`
}

PostUsersSignInDataRequestBody - Login credentials

func (*PostUsersSignInDataRequestBody) GetLogin added in v0.11.1

func (o *PostUsersSignInDataRequestBody) GetLogin() string

func (*PostUsersSignInDataRequestBody) GetPassword added in v0.11.1

func (o *PostUsersSignInDataRequestBody) GetPassword() string

func (*PostUsersSignInDataRequestBody) GetRememberMe added in v0.11.1

func (o *PostUsersSignInDataRequestBody) GetRememberMe() *bool

func (*PostUsersSignInDataRequestBody) GetVerificationCode added in v0.11.1

func (o *PostUsersSignInDataRequestBody) GetVerificationCode() *string

func (PostUsersSignInDataRequestBody) MarshalJSON added in v0.11.1

func (p PostUsersSignInDataRequestBody) MarshalJSON() ([]byte, error)

func (*PostUsersSignInDataRequestBody) UnmarshalJSON added in v0.11.1

func (p *PostUsersSignInDataRequestBody) UnmarshalJSON(data []byte) error

type PostUsersSignInDataResponse added in v0.11.1

type PostUsersSignInDataResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
	// Returns the user account data with a valid auth token
	UserPlexAccount *PostUsersSignInDataUserPlexAccount
}

func (*PostUsersSignInDataResponse) GetContentType added in v0.11.1

func (o *PostUsersSignInDataResponse) GetContentType() string

func (*PostUsersSignInDataResponse) GetRawResponse added in v0.11.1

func (o *PostUsersSignInDataResponse) GetRawResponse() *http.Response

func (*PostUsersSignInDataResponse) GetStatusCode added in v0.11.1

func (o *PostUsersSignInDataResponse) GetStatusCode() int

func (*PostUsersSignInDataResponse) GetUserPlexAccount added in v0.11.1

type PostUsersSignInDataServices added in v0.11.1

type PostUsersSignInDataServices struct {
	Identifier string                    `json:"identifier"`
	Endpoint   string                    `json:"endpoint"`
	Token      *string                   `json:"token"`
	Secret     *string                   `json:"secret"`
	Status     PostUsersSignInDataStatus `json:"status"`
}

func (*PostUsersSignInDataServices) GetEndpoint added in v0.11.1

func (o *PostUsersSignInDataServices) GetEndpoint() string

func (*PostUsersSignInDataServices) GetIdentifier added in v0.11.1

func (o *PostUsersSignInDataServices) GetIdentifier() string

func (*PostUsersSignInDataServices) GetSecret added in v0.11.1

func (o *PostUsersSignInDataServices) GetSecret() *string

func (*PostUsersSignInDataServices) GetStatus added in v0.11.1

func (*PostUsersSignInDataServices) GetToken added in v0.11.1

func (o *PostUsersSignInDataServices) GetToken() *string

type PostUsersSignInDataState added in v0.11.1

type PostUsersSignInDataState string
const (
	PostUsersSignInDataStateEnded PostUsersSignInDataState = "ended"
)

func (PostUsersSignInDataState) ToPointer added in v0.11.1

func (*PostUsersSignInDataState) UnmarshalJSON added in v0.11.1

func (e *PostUsersSignInDataState) UnmarshalJSON(data []byte) error

type PostUsersSignInDataStatus added in v0.11.1

type PostUsersSignInDataStatus string
const (
	PostUsersSignInDataStatusOnline  PostUsersSignInDataStatus = "online"
	PostUsersSignInDataStatusOffline PostUsersSignInDataStatus = "offline"
)

func (PostUsersSignInDataStatus) ToPointer added in v0.11.1

func (*PostUsersSignInDataStatus) UnmarshalJSON added in v0.11.1

func (e *PostUsersSignInDataStatus) UnmarshalJSON(data []byte) error

type PostUsersSignInDataSubscription added in v0.11.1

type PostUsersSignInDataSubscription struct {
	// List of features allowed on your Plex Pass subscription
	Features []string `json:"features,omitempty"`
	// If the account's Plex Pass subscription is active
	Active *bool `json:"active,omitempty"`
	// Date the account subscribed to Plex Pass
	SubscribedAt *string `json:"subscribedAt,omitempty"`
	// String representation of subscriptionActive
	Status *PostUsersSignInDataAuthenticationStatus `json:"status,omitempty"`
	// Payment service used for your Plex Pass subscription
	PaymentService *string `json:"paymentService,omitempty"`
	// Name of Plex Pass subscription plan
	Plan *string `json:"plan,omitempty"`
}

PostUsersSignInDataSubscription - If the account’s Plex Pass subscription is active

func (*PostUsersSignInDataSubscription) GetActive added in v0.11.1

func (o *PostUsersSignInDataSubscription) GetActive() *bool

func (*PostUsersSignInDataSubscription) GetFeatures added in v0.11.1

func (o *PostUsersSignInDataSubscription) GetFeatures() []string

func (*PostUsersSignInDataSubscription) GetPaymentService added in v0.11.1

func (o *PostUsersSignInDataSubscription) GetPaymentService() *string

func (*PostUsersSignInDataSubscription) GetPlan added in v0.11.1

func (*PostUsersSignInDataSubscription) GetStatus added in v0.11.1

func (*PostUsersSignInDataSubscription) GetSubscribedAt added in v0.11.1

func (o *PostUsersSignInDataSubscription) GetSubscribedAt() *string

type PostUsersSignInDataUserPlexAccount added in v0.11.1

type PostUsersSignInDataUserPlexAccount struct {
	// Unknown
	AdsConsent           *bool  `json:"adsConsent"`
	AdsConsentReminderAt *int64 `json:"adsConsentReminderAt"`
	AdsConsentSetAt      *int64 `json:"adsConsentSetAt"`
	// Unknown
	Anonymous *bool `default:"false" json:"anonymous"`
	// The account token
	AuthToken string `json:"authToken"`
	// If the two-factor authentication backup codes have been created
	BackupCodesCreated *bool `default:"false" json:"backupCodesCreated"`
	// If the account has been confirmed
	Confirmed *bool `default:"false" json:"confirmed"`
	// The account country
	Country string `json:"country"`
	// The account email address
	Email string `json:"email"`
	// If login with email only is enabled
	EmailOnlyAuth *bool `default:"false" json:"emailOnlyAuth"`
	// If experimental features are enabled
	ExperimentalFeatures *bool `default:"false" json:"experimentalFeatures"`
	// Your account full name
	FriendlyName string `json:"friendlyName"`
	// List of devices your allowed to use with this account
	Entitlements []string `json:"entitlements"`
	// If the account is a Plex Home guest user
	Guest *bool `default:"false" json:"guest"`
	// If the account has a password
	HasPassword *bool `default:"true" json:"hasPassword"`
	// If the account is a Plex Home user
	Home *bool `default:"false" json:"home"`
	// If the account is the Plex Home admin
	HomeAdmin *bool `default:"false" json:"homeAdmin"`
	// The number of accounts in the Plex Home
	HomeSize int `json:"homeSize"`
	// The Plex account ID
	ID int `json:"id"`
	// Unix epoch datetime in seconds
	JoinedAt int64 `json:"joinedAt"`
	// The account locale
	Locale *string `json:"locale"`
	// If you are subscribed to the Plex newsletter
	MailingListActive *bool `default:"false" json:"mailingListActive"`
	// Your current mailing list status (active or unsubscribed)
	MailingListStatus PostUsersSignInDataMailingListStatus `json:"mailingListStatus"`
	// The maximum number of accounts allowed in the Plex Home
	MaxHomeSize int `json:"maxHomeSize"`
	// [Might be removed] The hashed Plex Home PIN
	//
	// Deprecated: This will be removed in a future release, please migrate away from it as soon as possible.
	Pin     *string                        `json:"pin,omitempty"`
	Profile PostUsersSignInDataUserProfile `json:"profile"`
	// If the account has a Plex Home PIN enabled
	Protected *bool `default:"false" json:"protected"`
	// Unix epoch datetime in seconds
	RememberExpiresAt int64 `json:"rememberExpiresAt"`
	// If the account is a Plex Home managed user
	Restricted *bool `default:"false" json:"restricted"`
	// [Might be removed] List of account roles. Plexpass membership listed here
	Roles []string `json:"roles,omitempty"`
	// Unknown
	ScrobbleTypes string                        `json:"scrobbleTypes"`
	Services      []PostUsersSignInDataServices `json:"services"`
	// If the account’s Plex Pass subscription is active
	Subscription PostUsersSignInDataSubscription `json:"subscription"`
	// Description of the Plex Pass subscription
	SubscriptionDescription *string                                         `json:"subscriptionDescription"`
	Subscriptions           []PostUsersSignInDataAuthenticationSubscription `json:"subscriptions,omitempty"`
	// URL of the account thumbnail
	Thumb string `json:"thumb"`
	// The title of the account (username or friendly name)
	Title string `json:"title"`
	// If two-factor authentication is enabled
	TwoFactorEnabled *bool `default:"false" json:"twoFactorEnabled"`
	// The account username
	Username string `json:"username"`
	// The account UUID
	UUID               string             `json:"uuid"`
	AttributionPartner *string            `json:"attributionPartner"`
	PastSubscriptions  []PastSubscription `json:"pastSubscriptions"`
	Trials             []Trials           `json:"trials"`
}

PostUsersSignInDataUserPlexAccount - Returns the user account data with a valid auth token

func (*PostUsersSignInDataUserPlexAccount) GetAdsConsent added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetAdsConsent() *bool

func (*PostUsersSignInDataUserPlexAccount) GetAdsConsentReminderAt added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetAdsConsentReminderAt() *int64

func (*PostUsersSignInDataUserPlexAccount) GetAdsConsentSetAt added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetAdsConsentSetAt() *int64

func (*PostUsersSignInDataUserPlexAccount) GetAnonymous added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetAnonymous() *bool

func (*PostUsersSignInDataUserPlexAccount) GetAttributionPartner added in v0.12.1

func (o *PostUsersSignInDataUserPlexAccount) GetAttributionPartner() *string

func (*PostUsersSignInDataUserPlexAccount) GetAuthToken added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetAuthToken() string

func (*PostUsersSignInDataUserPlexAccount) GetBackupCodesCreated added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetBackupCodesCreated() *bool

func (*PostUsersSignInDataUserPlexAccount) GetConfirmed added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetConfirmed() *bool

func (*PostUsersSignInDataUserPlexAccount) GetCountry added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetEmail added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetEmailOnlyAuth added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetEmailOnlyAuth() *bool

func (*PostUsersSignInDataUserPlexAccount) GetEntitlements added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetEntitlements() []string

func (*PostUsersSignInDataUserPlexAccount) GetExperimentalFeatures added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetExperimentalFeatures() *bool

func (*PostUsersSignInDataUserPlexAccount) GetFriendlyName added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetFriendlyName() string

func (*PostUsersSignInDataUserPlexAccount) GetGuest added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetHasPassword added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetHasPassword() *bool

func (*PostUsersSignInDataUserPlexAccount) GetHome added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetHomeAdmin added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetHomeAdmin() *bool

func (*PostUsersSignInDataUserPlexAccount) GetHomeSize added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetHomeSize() int

func (*PostUsersSignInDataUserPlexAccount) GetID added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetJoinedAt added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetJoinedAt() int64

func (*PostUsersSignInDataUserPlexAccount) GetLocale added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetMailingListActive added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetMailingListActive() *bool

func (*PostUsersSignInDataUserPlexAccount) GetMailingListStatus added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetMaxHomeSize added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetMaxHomeSize() int

func (*PostUsersSignInDataUserPlexAccount) GetPastSubscriptions added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetPastSubscriptions() []PastSubscription

func (*PostUsersSignInDataUserPlexAccount) GetPin added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetProfile added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetProtected added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetProtected() *bool

func (*PostUsersSignInDataUserPlexAccount) GetRememberExpiresAt added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetRememberExpiresAt() int64

func (*PostUsersSignInDataUserPlexAccount) GetRestricted added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetRestricted() *bool

func (*PostUsersSignInDataUserPlexAccount) GetRoles added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetScrobbleTypes added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetScrobbleTypes() string

func (*PostUsersSignInDataUserPlexAccount) GetServices added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetSubscription added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetSubscriptionDescription added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetSubscriptionDescription() *string

func (*PostUsersSignInDataUserPlexAccount) GetSubscriptions added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetThumb added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetTitle added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetTrials added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetTrials() []Trials

func (*PostUsersSignInDataUserPlexAccount) GetTwoFactorEnabled added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetTwoFactorEnabled() *bool

func (*PostUsersSignInDataUserPlexAccount) GetUUID added in v0.11.1

func (*PostUsersSignInDataUserPlexAccount) GetUsername added in v0.11.1

func (o *PostUsersSignInDataUserPlexAccount) GetUsername() string

func (PostUsersSignInDataUserPlexAccount) MarshalJSON added in v0.11.1

func (p PostUsersSignInDataUserPlexAccount) MarshalJSON() ([]byte, error)

func (*PostUsersSignInDataUserPlexAccount) UnmarshalJSON added in v0.11.1

func (p *PostUsersSignInDataUserPlexAccount) UnmarshalJSON(data []byte) error

type PostUsersSignInDataUserProfile added in v0.11.1

type PostUsersSignInDataUserProfile struct {
	// If the account has automatically select audio and subtitle tracks enabled
	AutoSelectAudio *bool `default:"true" json:"autoSelectAudio"`
	// The preferred audio language for the account
	DefaultAudioLanguage *string `json:"defaultAudioLanguage"`
	// The preferred subtitle language for the account
	DefaultSubtitleLanguage      *string                                          `json:"defaultSubtitleLanguage"`
	AutoSelectSubtitle           *PostUsersSignInDataAutoSelectSubtitle           `default:"0" json:"autoSelectSubtitle"`
	DefaultSubtitleAccessibility *PostUsersSignInDataDefaultSubtitleAccessibility `default:"0" json:"defaultSubtitleAccessibility"`
	DefaultSubtitleForced        *PostUsersSignInDataDefaultSubtitleForced        `default:"0" json:"defaultSubtitleForced"`
	WatchedIndicator             *PostUsersSignInDataWatchedIndicator             `default:"0" json:"watchedIndicator"`
	MediaReviewsVisibility       *PostUsersSignInDataMediaReviewsVisibility       `default:"0" json:"mediaReviewsVisibility"`
}

func (*PostUsersSignInDataUserProfile) GetAutoSelectAudio added in v0.11.1

func (o *PostUsersSignInDataUserProfile) GetAutoSelectAudio() *bool

func (*PostUsersSignInDataUserProfile) GetAutoSelectSubtitle added in v0.11.1

func (*PostUsersSignInDataUserProfile) GetDefaultAudioLanguage added in v0.11.1

func (o *PostUsersSignInDataUserProfile) GetDefaultAudioLanguage() *string

func (*PostUsersSignInDataUserProfile) GetDefaultSubtitleAccessibility added in v0.11.1

func (*PostUsersSignInDataUserProfile) GetDefaultSubtitleForced added in v0.11.1

func (*PostUsersSignInDataUserProfile) GetDefaultSubtitleLanguage added in v0.11.1

func (o *PostUsersSignInDataUserProfile) GetDefaultSubtitleLanguage() *string

func (*PostUsersSignInDataUserProfile) GetMediaReviewsVisibility added in v0.11.1

func (*PostUsersSignInDataUserProfile) GetWatchedIndicator added in v0.11.1

func (PostUsersSignInDataUserProfile) MarshalJSON added in v0.11.1

func (p PostUsersSignInDataUserProfile) MarshalJSON() ([]byte, error)

func (*PostUsersSignInDataUserProfile) UnmarshalJSON added in v0.11.1

func (p *PostUsersSignInDataUserProfile) UnmarshalJSON(data []byte) error

type PostUsersSignInDataWatchedIndicator added in v0.11.1

type PostUsersSignInDataWatchedIndicator int

PostUsersSignInDataWatchedIndicator - Whether or not media watched indicators are enabled (little orange dot on media)

const (
	PostUsersSignInDataWatchedIndicatorDisable PostUsersSignInDataWatchedIndicator = 0
	PostUsersSignInDataWatchedIndicatorEnable  PostUsersSignInDataWatchedIndicator = 1
)

func (PostUsersSignInDataWatchedIndicator) ToPointer added in v0.11.1

func (*PostUsersSignInDataWatchedIndicator) UnmarshalJSON added in v0.11.1

func (e *PostUsersSignInDataWatchedIndicator) UnmarshalJSON(data []byte) error

type Producer added in v0.1.1

type Producer struct {
	// The unique role identifier.
	ID int64 `json:"id"`
	// The filter string for the role.
	Filter string `json:"filter"`
	// The actor's name.
	Tag string `json:"tag"`
	// A key associated with the actor tag.
	TagKey string `json:"tagKey"`
	// The character name or role.
	Role *string `json:"role,omitempty"`
	// URL for the role thumbnail image.
	Thumb *string `json:"thumb,omitempty"`
}

func (*Producer) GetFilter added in v0.1.1

func (o *Producer) GetFilter() string

func (*Producer) GetID added in v0.1.1

func (o *Producer) GetID() int64

func (*Producer) GetRole added in v0.18.1

func (o *Producer) GetRole() *string

func (*Producer) GetTag added in v0.1.1

func (o *Producer) GetTag() string

func (*Producer) GetTagKey added in v0.1.1

func (o *Producer) GetTagKey() string

func (*Producer) GetThumb added in v0.1.1

func (o *Producer) GetThumb() *string

type Protected added in v0.18.0

type Protected int

Protected - Indicates whether the account is protected.

const (
	ProtectedDisable Protected = 0
	ProtectedEnable  Protected = 1
)

func (Protected) ToPointer added in v0.18.0

func (e Protected) ToPointer() *Protected

func (*Protected) UnmarshalJSON added in v0.18.0

func (e *Protected) UnmarshalJSON(data []byte) error

type Protocol added in v0.12.0

type Protocol string

Protocol - The protocol used for the connection (http, https, etc)

const (
	ProtocolHTTP  Protocol = "http"
	ProtocolHTTPS Protocol = "https"
)

func (Protocol) ToPointer added in v0.12.0

func (e Protocol) ToPointer() *Protocol

func (*Protocol) UnmarshalJSON added in v0.12.0

func (e *Protocol) UnmarshalJSON(data []byte) error

type Provider

type Provider struct {
	Key   *string `json:"key,omitempty"`
	Title *string `json:"title,omitempty"`
	Type  *string `json:"type,omitempty"`
}

func (*Provider) GetKey

func (o *Provider) GetKey() *string

func (*Provider) GetTitle

func (o *Provider) GetTitle() *string

func (*Provider) GetType

func (o *Provider) GetType() *string

type QueryParamFilter added in v0.11.1

type QueryParamFilter struct {
}

QueryParamFilter - Filters content by field and direction/equality (Unknown if viewedAt is the only supported column)

type QueryParamForce added in v0.11.1

type QueryParamForce int64

QueryParamForce - Force overwriting of duplicate playlists. By default, a playlist file uploaded with the same path will overwrite the existing playlist. The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.

const (
	QueryParamForceZero QueryParamForce = 0
	QueryParamForceOne  QueryParamForce = 1
)

func (QueryParamForce) ToPointer added in v0.11.1

func (e QueryParamForce) ToPointer() *QueryParamForce

func (*QueryParamForce) UnmarshalJSON added in v0.11.1

func (e *QueryParamForce) UnmarshalJSON(data []byte) error

type QueryParamIncludeCollections added in v0.15.0

type QueryParamIncludeCollections int
const (
	QueryParamIncludeCollectionsDisable QueryParamIncludeCollections = 0
	QueryParamIncludeCollectionsEnable  QueryParamIncludeCollections = 1
)

func (QueryParamIncludeCollections) ToPointer added in v0.15.0

func (*QueryParamIncludeCollections) UnmarshalJSON added in v0.15.0

func (e *QueryParamIncludeCollections) UnmarshalJSON(data []byte) error

type QueryParamIncludeExternalMedia added in v0.15.0

type QueryParamIncludeExternalMedia int
const (
	QueryParamIncludeExternalMediaDisable QueryParamIncludeExternalMedia = 0
	QueryParamIncludeExternalMediaEnable  QueryParamIncludeExternalMedia = 1
)

func (QueryParamIncludeExternalMedia) ToPointer added in v0.15.0

func (*QueryParamIncludeExternalMedia) UnmarshalJSON added in v0.15.0

func (e *QueryParamIncludeExternalMedia) UnmarshalJSON(data []byte) error

type QueryParamIncludeGuids added in v0.19.0

type QueryParamIncludeGuids int

QueryParamIncludeGuids - Adds the Guid object to the response

const (
	QueryParamIncludeGuidsDisable QueryParamIncludeGuids = 0
	QueryParamIncludeGuidsEnable  QueryParamIncludeGuids = 1
)

func (QueryParamIncludeGuids) ToPointer added in v0.19.0

func (*QueryParamIncludeGuids) UnmarshalJSON added in v0.19.0

func (e *QueryParamIncludeGuids) UnmarshalJSON(data []byte) error

type QueryParamIncludeMeta added in v0.13.0

type QueryParamIncludeMeta int

QueryParamIncludeMeta - Adds the Meta object to the response

const (
	QueryParamIncludeMetaDisable QueryParamIncludeMeta = 0
	QueryParamIncludeMetaEnable  QueryParamIncludeMeta = 1
)

func (QueryParamIncludeMeta) ToPointer added in v0.13.0

func (*QueryParamIncludeMeta) UnmarshalJSON added in v0.13.0

func (e *QueryParamIncludeMeta) UnmarshalJSON(data []byte) error

type QueryParamOnlyTransient

type QueryParamOnlyTransient int64

QueryParamOnlyTransient - Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added).

const (
	QueryParamOnlyTransientZero QueryParamOnlyTransient = 0
	QueryParamOnlyTransientOne  QueryParamOnlyTransient = 1
)

func (QueryParamOnlyTransient) ToPointer

func (*QueryParamOnlyTransient) UnmarshalJSON

func (e *QueryParamOnlyTransient) UnmarshalJSON(data []byte) error

type QueryParamSmart

type QueryParamSmart int64

QueryParamSmart - type of playlists to return (default is all).

const (
	QueryParamSmartZero QueryParamSmart = 0
	QueryParamSmartOne  QueryParamSmart = 1
)

func (QueryParamSmart) ToPointer

func (e QueryParamSmart) ToPointer() *QueryParamSmart

func (*QueryParamSmart) UnmarshalJSON

func (e *QueryParamSmart) UnmarshalJSON(data []byte) error

type QueryParamType

type QueryParamType int64

QueryParamType - The type of media to retrieve or filter by. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries

const (
	QueryParamTypeMovie   QueryParamType = 1
	QueryParamTypeTvShow  QueryParamType = 2
	QueryParamTypeSeason  QueryParamType = 3
	QueryParamTypeEpisode QueryParamType = 4
	QueryParamTypeAudio   QueryParamType = 8
	QueryParamTypeAlbum   QueryParamType = 9
	QueryParamTypeTrack   QueryParamType = 10
)

func (QueryParamType) ToPointer

func (e QueryParamType) ToPointer() *QueryParamType

func (*QueryParamType) UnmarshalJSON

func (e *QueryParamType) UnmarshalJSON(data []byte) error

type Ratings added in v0.1.1

type Ratings struct {
	// The image or reference for the rating.
	Image string `json:"image"`
	// The rating value.
	Value float32 `json:"value"`
	// The type of rating (e.g., audience, critic).
	Type string `json:"type"`
}

func (*Ratings) GetImage added in v0.1.1

func (o *Ratings) GetImage() string

func (*Ratings) GetType added in v0.1.1

func (o *Ratings) GetType() string

func (*Ratings) GetValue added in v0.1.1

func (o *Ratings) GetValue() float32

type Release added in v0.1.1

type Release struct {
	Key         *string `json:"key,omitempty"`
	Version     *string `json:"version,omitempty"`
	Added       *string `json:"added,omitempty"`
	Fixed       *string `json:"fixed,omitempty"`
	DownloadURL *string `json:"downloadURL,omitempty"`
	State       *string `json:"state,omitempty"`
}

func (*Release) GetAdded added in v0.1.1

func (o *Release) GetAdded() *string

func (*Release) GetDownloadURL added in v0.1.1

func (o *Release) GetDownloadURL() *string

func (*Release) GetFixed added in v0.1.1

func (o *Release) GetFixed() *string

func (*Release) GetKey added in v0.1.1

func (o *Release) GetKey() *string

func (*Release) GetState added in v0.1.1

func (o *Release) GetState() *string

func (*Release) GetVersion added in v0.1.1

func (o *Release) GetVersion() *string

type ResponseBody

type ResponseBody struct {
	Identifier string `json:"identifier"`
	BaseURL    string `json:"baseURL"`
	Title      string `json:"title"`
	LinkURL    string `json:"linkURL"`
	Provides   string `json:"provides"`
	// The plex authtoken used to identify with
	Token string `json:"token"`
}

func (*ResponseBody) GetBaseURL added in v0.11.1

func (o *ResponseBody) GetBaseURL() string

func (*ResponseBody) GetIdentifier added in v0.11.1

func (o *ResponseBody) GetIdentifier() string

func (*ResponseBody) GetLinkURL added in v0.11.1

func (o *ResponseBody) GetLinkURL() string

func (*ResponseBody) GetProvides added in v0.11.1

func (o *ResponseBody) GetProvides() string

func (*ResponseBody) GetTitle added in v0.11.1

func (o *ResponseBody) GetTitle() string

func (*ResponseBody) GetToken added in v0.11.1

func (o *ResponseBody) GetToken() string

type Restricted added in v0.18.0

type Restricted int

Restricted - Indicates if the user has restricted access.

const (
	RestrictedDisable Restricted = 0
	RestrictedEnable  Restricted = 1
)

func (Restricted) ToPointer added in v0.18.0

func (e Restricted) ToPointer() *Restricted

func (*Restricted) UnmarshalJSON added in v0.18.0

func (e *Restricted) UnmarshalJSON(data []byte) error

type Role

type Role struct {
	// The ID of the tag or actor.
	ID *int64 `json:"id,omitempty"`
	// The filter used to find the actor or tag.
	Filter *string `json:"filter,omitempty"`
	// The thumbnail of the actor
	Thumb *string `json:"thumb,omitempty"`
	// The name of the tag or actor.
	Tag *string `json:"tag,omitempty"`
	// Unique identifier for the tag.
	TagKey *string `json:"tagKey,omitempty"`
	// The role of the actor or tag in the media.
	Role *string `json:"role,omitempty"`
}

func (*Role) GetFilter added in v0.13.0

func (o *Role) GetFilter() *string

func (*Role) GetID added in v0.13.0

func (o *Role) GetID() *int64

func (*Role) GetRole added in v0.13.0

func (o *Role) GetRole() *string

func (*Role) GetTag

func (o *Role) GetTag() *string

func (*Role) GetTagKey added in v0.13.0

func (o *Role) GetTagKey() *string

func (*Role) GetThumb added in v0.13.0

func (o *Role) GetThumb() *string

type Scope

type Scope string

Scope - `all` - This is the only supported `scope` parameter.

const (
	ScopeAll Scope = "all"
)

func (Scope) ToPointer

func (e Scope) ToPointer() *Scope

func (*Scope) UnmarshalJSON

func (e *Scope) UnmarshalJSON(data []byte) error

type SearchResult added in v0.15.0

type SearchResult struct {
	Score    float32                       `json:"score"`
	Metadata GetSearchAllLibrariesMetadata `json:"Metadata"`
}

func (*SearchResult) GetMetadata added in v0.15.0

func (*SearchResult) GetScore added in v0.15.0

func (o *SearchResult) GetScore() float32

type SearchTypes added in v0.15.0

type SearchTypes string
const (
	SearchTypesMovies      SearchTypes = "movies"
	SearchTypesMusic       SearchTypes = "music"
	SearchTypesOtherVideos SearchTypes = "otherVideos"
	SearchTypesPeople      SearchTypes = "people"
	SearchTypesTv          SearchTypes = "tv"
)

func (SearchTypes) ToPointer added in v0.15.0

func (e SearchTypes) ToPointer() *SearchTypes

func (*SearchTypes) UnmarshalJSON added in v0.15.0

func (e *SearchTypes) UnmarshalJSON(data []byte) error

type Server

type Server struct {
	Name                 *string  `json:"name,omitempty"`
	Host                 *string  `json:"host,omitempty"`
	Address              *string  `json:"address,omitempty"`
	Port                 *float64 `json:"port,omitempty"`
	MachineIdentifier    *string  `json:"machineIdentifier,omitempty"`
	Version              *string  `json:"version,omitempty"`
	Protocol             *string  `json:"protocol,omitempty"`
	Product              *string  `json:"product,omitempty"`
	DeviceClass          *string  `json:"deviceClass,omitempty"`
	ProtocolVersion      *float64 `json:"protocolVersion,omitempty"`
	ProtocolCapabilities *string  `json:"protocolCapabilities,omitempty"`
}

func (*Server) GetAddress

func (o *Server) GetAddress() *string

func (*Server) GetDeviceClass

func (o *Server) GetDeviceClass() *string

func (*Server) GetHost

func (o *Server) GetHost() *string

func (*Server) GetMachineIdentifier

func (o *Server) GetMachineIdentifier() *string

func (*Server) GetName

func (o *Server) GetName() *string

func (*Server) GetPort

func (o *Server) GetPort() *float64

func (*Server) GetProduct

func (o *Server) GetProduct() *string

func (*Server) GetProtocol

func (o *Server) GetProtocol() *string

func (*Server) GetProtocolCapabilities

func (o *Server) GetProtocolCapabilities() *string

func (*Server) GetProtocolVersion

func (o *Server) GetProtocolVersion() *float64

func (*Server) GetVersion

func (o *Server) GetVersion() *string

type Services added in v0.11.1

type Services struct {
	Identifier string                `json:"identifier"`
	Endpoint   string                `json:"endpoint"`
	Token      *string               `json:"token"`
	Secret     *string               `json:"secret"`
	Status     GetTokenDetailsStatus `json:"status"`
}

func (*Services) GetEndpoint added in v0.11.1

func (o *Services) GetEndpoint() string

func (*Services) GetIdentifier added in v0.11.1

func (o *Services) GetIdentifier() string

func (*Services) GetSecret added in v0.11.1

func (o *Services) GetSecret() *string

func (*Services) GetStatus added in v0.11.1

func (o *Services) GetStatus() GetTokenDetailsStatus

func (*Services) GetToken added in v0.11.1

func (o *Services) GetToken() *string

type Session added in v0.1.1

type Session struct {
	ID        *string `json:"id,omitempty"`
	Bandwidth *int    `json:"bandwidth,omitempty"`
	Location  *string `json:"location,omitempty"`
}

func (*Session) GetBandwidth added in v0.1.1

func (o *Session) GetBandwidth() *int

func (*Session) GetID added in v0.1.1

func (o *Session) GetID() *string

func (*Session) GetLocation added in v0.1.1

func (o *Session) GetLocation() *string

type Setting added in v0.1.0

type Setting struct {
	ID         *string `json:"id,omitempty"`
	Label      *string `json:"label,omitempty"`
	Summary    *string `json:"summary,omitempty"`
	Type       *string `json:"type,omitempty"`
	Default    *bool   `json:"default,omitempty"`
	Value      *bool   `json:"value,omitempty"`
	Hidden     *bool   `json:"hidden,omitempty"`
	Advanced   *bool   `json:"advanced,omitempty"`
	Group      *string `json:"group,omitempty"`
	EnumValues *string `json:"enumValues,omitempty"`
}

func (*Setting) GetAdvanced added in v0.4.0

func (o *Setting) GetAdvanced() *bool

func (*Setting) GetDefault added in v0.4.0

func (o *Setting) GetDefault() *bool

func (*Setting) GetEnumValues added in v0.4.0

func (o *Setting) GetEnumValues() *string

func (*Setting) GetGroup added in v0.4.0

func (o *Setting) GetGroup() *string

func (*Setting) GetHidden added in v0.4.0

func (o *Setting) GetHidden() *bool

func (*Setting) GetID added in v0.4.0

func (o *Setting) GetID() *string

func (*Setting) GetLabel added in v0.4.0

func (o *Setting) GetLabel() *string

func (*Setting) GetSummary added in v0.4.0

func (o *Setting) GetSummary() *string

func (*Setting) GetType added in v0.4.0

func (o *Setting) GetType() *string

func (*Setting) GetValue added in v0.4.0

func (o *Setting) GetValue() *bool

type SharedServers added in v0.11.1

type SharedServers struct {
}

type SharedSources added in v0.11.1

type SharedSources struct {
}

type ShowOrdering added in v0.12.1

type ShowOrdering string

ShowOrdering - Setting that indicates the episode ordering for the show. None = Library default, tmdbAiring = The Movie Database (Aired), aired = TheTVDB (Aired), dvd = TheTVDB (DVD), absolute = TheTVDB (Absolute)).

const (
	ShowOrderingNone         ShowOrdering = "None"
	ShowOrderingTmdbAiring   ShowOrdering = "tmdbAiring"
	ShowOrderingTvdbAired    ShowOrdering = "aired"
	ShowOrderingTvdbDvd      ShowOrdering = "dvd"
	ShowOrderingTvdbAbsolute ShowOrdering = "absolute"
)

func (ShowOrdering) ToPointer added in v0.12.1

func (e ShowOrdering) ToPointer() *ShowOrdering

func (*ShowOrdering) UnmarshalJSON added in v0.12.1

func (e *ShowOrdering) UnmarshalJSON(data []byte) error

type Similar added in v0.18.1

type Similar struct {
	// The unique similar item identifier.
	ID int64 `json:"id"`
	// The filter string for similar items.
	Filter string `json:"filter"`
	// The tag or title of the similar content.
	Tag string `json:"tag"`
}

func (*Similar) GetFilter added in v0.18.1

func (o *Similar) GetFilter() string

func (*Similar) GetID added in v0.18.1

func (o *Similar) GetID() int64

func (*Similar) GetTag added in v0.18.1

func (o *Similar) GetTag() string

type Skip

type Skip int64

Skip - Indicate that the latest version should be marked as skipped. The Release entry for this version will have the `state` set to `skipped`.

const (
	SkipZero Skip = 0
	SkipOne  Skip = 1
)

func (Skip) ToPointer

func (e Skip) ToPointer() *Skip

func (*Skip) UnmarshalJSON

func (e *Skip) UnmarshalJSON(data []byte) error

type Smart

type Smart int64

Smart - whether the playlist is smart or not

const (
	SmartZero Smart = 0
	SmartOne  Smart = 1
)

func (Smart) ToPointer

func (e Smart) ToPointer() *Smart

func (*Smart) UnmarshalJSON

func (e *Smart) UnmarshalJSON(data []byte) error

type Sort added in v0.1.0

type Sort struct {
	Default *string `json:"default,omitempty"`
	Active  *bool   `json:"active,omitempty"`
	// The direction of the sort. Can be either `asc` or `desc`.
	//
	ActiveDirection *ActiveDirection `default:"asc" json:"activeDirection"`
	// The direction of the sort. Can be either `asc` or `desc`.
	//
	DefaultDirection  *DefaultDirection `default:"asc" json:"defaultDirection"`
	DescKey           *string           `json:"descKey,omitempty"`
	FirstCharacterKey *string           `json:"firstCharacterKey,omitempty"`
	Key               string            `json:"key"`
	Title             string            `json:"title"`
}

func (*Sort) GetActive added in v0.13.0

func (o *Sort) GetActive() *bool

func (*Sort) GetActiveDirection added in v0.13.0

func (o *Sort) GetActiveDirection() *ActiveDirection

func (*Sort) GetDefault added in v0.1.0

func (o *Sort) GetDefault() *string

func (*Sort) GetDefaultDirection added in v0.1.0

func (o *Sort) GetDefaultDirection() *DefaultDirection

func (*Sort) GetDescKey added in v0.1.0

func (o *Sort) GetDescKey() *string

func (*Sort) GetFirstCharacterKey added in v0.1.0

func (o *Sort) GetFirstCharacterKey() *string

func (*Sort) GetKey added in v0.1.0

func (o *Sort) GetKey() string

func (*Sort) GetTitle added in v0.1.0

func (o *Sort) GetTitle() string

func (Sort) MarshalJSON added in v0.13.0

func (s Sort) MarshalJSON() ([]byte, error)

func (*Sort) UnmarshalJSON added in v0.13.0

func (s *Sort) UnmarshalJSON(data []byte) error

type StartAllTasksResponse

type StartAllTasksResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*StartAllTasksResponse) GetContentType

func (o *StartAllTasksResponse) GetContentType() string

func (*StartAllTasksResponse) GetRawResponse

func (o *StartAllTasksResponse) GetRawResponse() *http.Response

func (*StartAllTasksResponse) GetStatusCode

func (o *StartAllTasksResponse) GetStatusCode() int

type StartTaskRequest

type StartTaskRequest struct {
	// the name of the task to be started.
	TaskName TaskName `pathParam:"style=simple,explode=false,name=taskName"`
}

func (*StartTaskRequest) GetTaskName

func (o *StartTaskRequest) GetTaskName() TaskName

type StartTaskResponse

type StartTaskResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*StartTaskResponse) GetContentType

func (o *StartTaskResponse) GetContentType() string

func (*StartTaskResponse) GetRawResponse

func (o *StartTaskResponse) GetRawResponse() *http.Response

func (*StartTaskResponse) GetStatusCode

func (o *StartTaskResponse) GetStatusCode() int

type StartUniversalTranscodeRequest

type StartUniversalTranscodeRequest struct {
	// Whether the media item has MDE
	HasMDE float64 `queryParam:"style=form,explode=true,name=hasMDE"`
	// The path to the media item to transcode
	Path string `queryParam:"style=form,explode=true,name=path"`
	// The index of the media item to transcode
	MediaIndex float64 `queryParam:"style=form,explode=true,name=mediaIndex"`
	// The index of the part to transcode
	PartIndex float64 `queryParam:"style=form,explode=true,name=partIndex"`
	// The protocol to use for the transcode session
	Protocol string `queryParam:"style=form,explode=true,name=protocol"`
	// Whether to use fast seek or not
	FastSeek *float64 `queryParam:"style=form,explode=true,name=fastSeek"`
	// Whether to use direct play or not
	DirectPlay *float64 `queryParam:"style=form,explode=true,name=directPlay"`
	// Whether to use direct stream or not
	DirectStream *float64 `queryParam:"style=form,explode=true,name=directStream"`
	// The size of the subtitles
	SubtitleSize *float64 `queryParam:"style=form,explode=true,name=subtitleSize"`
	// The subtitles
	Subtites *string `queryParam:"style=form,explode=true,name=subtites"`
	// The audio boost
	AudioBoost *float64 `queryParam:"style=form,explode=true,name=audioBoost"`
	// The location of the transcode session
	Location *string `queryParam:"style=form,explode=true,name=location"`
	// The size of the media buffer
	MediaBufferSize *float64 `queryParam:"style=form,explode=true,name=mediaBufferSize"`
	// The session ID
	Session *string `queryParam:"style=form,explode=true,name=session"`
	// Whether to add a debug overlay or not
	AddDebugOverlay *float64 `queryParam:"style=form,explode=true,name=addDebugOverlay"`
	// Whether to auto adjust quality or not
	AutoAdjustQuality *float64 `queryParam:"style=form,explode=true,name=autoAdjustQuality"`
}

func (*StartUniversalTranscodeRequest) GetAddDebugOverlay

func (o *StartUniversalTranscodeRequest) GetAddDebugOverlay() *float64

func (*StartUniversalTranscodeRequest) GetAudioBoost

func (o *StartUniversalTranscodeRequest) GetAudioBoost() *float64

func (*StartUniversalTranscodeRequest) GetAutoAdjustQuality

func (o *StartUniversalTranscodeRequest) GetAutoAdjustQuality() *float64

func (*StartUniversalTranscodeRequest) GetDirectPlay

func (o *StartUniversalTranscodeRequest) GetDirectPlay() *float64

func (*StartUniversalTranscodeRequest) GetDirectStream

func (o *StartUniversalTranscodeRequest) GetDirectStream() *float64

func (*StartUniversalTranscodeRequest) GetFastSeek

func (o *StartUniversalTranscodeRequest) GetFastSeek() *float64

func (*StartUniversalTranscodeRequest) GetHasMDE

func (o *StartUniversalTranscodeRequest) GetHasMDE() float64

func (*StartUniversalTranscodeRequest) GetLocation

func (o *StartUniversalTranscodeRequest) GetLocation() *string

func (*StartUniversalTranscodeRequest) GetMediaBufferSize

func (o *StartUniversalTranscodeRequest) GetMediaBufferSize() *float64

func (*StartUniversalTranscodeRequest) GetMediaIndex

func (o *StartUniversalTranscodeRequest) GetMediaIndex() float64

func (*StartUniversalTranscodeRequest) GetPartIndex

func (o *StartUniversalTranscodeRequest) GetPartIndex() float64

func (*StartUniversalTranscodeRequest) GetPath

func (*StartUniversalTranscodeRequest) GetProtocol

func (o *StartUniversalTranscodeRequest) GetProtocol() string

func (*StartUniversalTranscodeRequest) GetSession

func (o *StartUniversalTranscodeRequest) GetSession() *string

func (*StartUniversalTranscodeRequest) GetSubtites

func (o *StartUniversalTranscodeRequest) GetSubtites() *string

func (*StartUniversalTranscodeRequest) GetSubtitleSize

func (o *StartUniversalTranscodeRequest) GetSubtitleSize() *float64

type StartUniversalTranscodeResponse

type StartUniversalTranscodeResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*StartUniversalTranscodeResponse) GetContentType

func (o *StartUniversalTranscodeResponse) GetContentType() string

func (*StartUniversalTranscodeResponse) GetRawResponse

func (o *StartUniversalTranscodeResponse) GetRawResponse() *http.Response

func (*StartUniversalTranscodeResponse) GetStatusCode

func (o *StartUniversalTranscodeResponse) GetStatusCode() int

type State

type State string

State - The state of the media item

const (
	StatePlaying State = "playing"
	StatePaused  State = "paused"
	StateStopped State = "stopped"
)

func (State) ToPointer

func (e State) ToPointer() *State

func (*State) UnmarshalJSON

func (e *State) UnmarshalJSON(data []byte) error

type StatisticsBandwidth added in v0.10.0

type StatisticsBandwidth struct {
	AccountID *int   `json:"accountID,omitempty"`
	DeviceID  *int   `json:"deviceID,omitempty"`
	Timespan  *int64 `json:"timespan,omitempty"`
	At        *int   `json:"at,omitempty"`
	Lan       *bool  `json:"lan,omitempty"`
	Bytes     *int64 `json:"bytes,omitempty"`
}

func (*StatisticsBandwidth) GetAccountID added in v0.10.0

func (o *StatisticsBandwidth) GetAccountID() *int

func (*StatisticsBandwidth) GetAt added in v0.10.0

func (o *StatisticsBandwidth) GetAt() *int

func (*StatisticsBandwidth) GetBytes added in v0.10.0

func (o *StatisticsBandwidth) GetBytes() *int64

func (*StatisticsBandwidth) GetDeviceID added in v0.10.0

func (o *StatisticsBandwidth) GetDeviceID() *int

func (*StatisticsBandwidth) GetLan added in v0.10.0

func (o *StatisticsBandwidth) GetLan() *bool

func (*StatisticsBandwidth) GetTimespan added in v0.10.0

func (o *StatisticsBandwidth) GetTimespan() *int64

type StatisticsMedia added in v0.4.0

type StatisticsMedia struct {
	AccountID    *int `json:"accountID,omitempty"`
	DeviceID     *int `json:"deviceID,omitempty"`
	Timespan     *int `json:"timespan,omitempty"`
	At           *int `json:"at,omitempty"`
	MetadataType *int `json:"metadataType,omitempty"`
	Count        *int `json:"count,omitempty"`
	Duration     *int `json:"duration,omitempty"`
}

func (*StatisticsMedia) GetAccountID added in v0.4.0

func (o *StatisticsMedia) GetAccountID() *int

func (*StatisticsMedia) GetAt added in v0.4.0

func (o *StatisticsMedia) GetAt() *int

func (*StatisticsMedia) GetCount added in v0.4.0

func (o *StatisticsMedia) GetCount() *int

func (*StatisticsMedia) GetDeviceID added in v0.4.0

func (o *StatisticsMedia) GetDeviceID() *int

func (*StatisticsMedia) GetDuration added in v0.4.0

func (o *StatisticsMedia) GetDuration() *int

func (*StatisticsMedia) GetMetadataType added in v0.4.0

func (o *StatisticsMedia) GetMetadataType() *int

func (*StatisticsMedia) GetTimespan added in v0.4.0

func (o *StatisticsMedia) GetTimespan() *int

type StatisticsResources added in v0.10.0

type StatisticsResources struct {
	Timespan                 *int64   `json:"timespan,omitempty"`
	At                       *int64   `json:"at,omitempty"`
	HostCPUUtilization       *float32 `json:"hostCpuUtilization,omitempty"`
	ProcessCPUUtilization    *float32 `json:"processCpuUtilization,omitempty"`
	HostMemoryUtilization    *float32 `json:"hostMemoryUtilization,omitempty"`
	ProcessMemoryUtilization *float32 `json:"processMemoryUtilization,omitempty"`
}

func (*StatisticsResources) GetAt added in v0.10.0

func (o *StatisticsResources) GetAt() *int64

func (*StatisticsResources) GetHostCPUUtilization added in v0.10.0

func (o *StatisticsResources) GetHostCPUUtilization() *float32

func (*StatisticsResources) GetHostMemoryUtilization added in v0.10.0

func (o *StatisticsResources) GetHostMemoryUtilization() *float32

func (*StatisticsResources) GetProcessCPUUtilization added in v0.10.0

func (o *StatisticsResources) GetProcessCPUUtilization() *float32

func (*StatisticsResources) GetProcessMemoryUtilization added in v0.10.0

func (o *StatisticsResources) GetProcessMemoryUtilization() *float32

func (*StatisticsResources) GetTimespan added in v0.10.0

func (o *StatisticsResources) GetTimespan() *int64

type Status added in v0.11.1

type Status string

Status - Current friend request status

const (
	StatusAccepted Status = "accepted"
)

func (Status) ToPointer added in v0.11.1

func (e Status) ToPointer() *Status

func (*Status) UnmarshalJSON added in v0.11.1

func (e *Status) UnmarshalJSON(data []byte) error

type StopAllTasksResponse

type StopAllTasksResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*StopAllTasksResponse) GetContentType

func (o *StopAllTasksResponse) GetContentType() string

func (*StopAllTasksResponse) GetRawResponse

func (o *StopAllTasksResponse) GetRawResponse() *http.Response

func (*StopAllTasksResponse) GetStatusCode

func (o *StopAllTasksResponse) GetStatusCode() int

type StopTaskRequest

type StopTaskRequest struct {
	// The name of the task to be started.
	TaskName PathParamTaskName `pathParam:"style=simple,explode=false,name=taskName"`
}

func (*StopTaskRequest) GetTaskName

func (o *StopTaskRequest) GetTaskName() PathParamTaskName

type StopTaskResponse

type StopTaskResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*StopTaskResponse) GetContentType

func (o *StopTaskResponse) GetContentType() string

func (*StopTaskResponse) GetRawResponse

func (o *StopTaskResponse) GetRawResponse() *http.Response

func (*StopTaskResponse) GetStatusCode

func (o *StopTaskResponse) GetStatusCode() int

type StopTranscodeSessionRequest

type StopTranscodeSessionRequest struct {
	// the Key of the transcode session to stop
	SessionKey string `pathParam:"style=simple,explode=false,name=sessionKey"`
}

func (*StopTranscodeSessionRequest) GetSessionKey

func (o *StopTranscodeSessionRequest) GetSessionKey() string

type StopTranscodeSessionResponse

type StopTranscodeSessionResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*StopTranscodeSessionResponse) GetContentType

func (o *StopTranscodeSessionResponse) GetContentType() string

func (*StopTranscodeSessionResponse) GetRawResponse

func (o *StopTranscodeSessionResponse) GetRawResponse() *http.Response

func (*StopTranscodeSessionResponse) GetStatusCode

func (o *StopTranscodeSessionResponse) GetStatusCode() int

type Stream

type Stream struct {
	ID int64 `json:"id"`
	// Type of stream (1 = video, 2 = audio, 3 = subtitle)
	StreamType int64 `json:"streamType"`
	// Indicates if this is the default stream
	Default *bool `json:"default,omitempty"`
	// Indicates if the stream is selected
	Selected *bool `json:"selected,omitempty"`
	// Codec used by the stream
	Codec string `json:"codec"`
	// The index of the stream
	Index int64 `json:"index"`
	// The bitrate of the stream in kbps
	Bitrate *int64 `json:"bitrate,omitempty"`
	// The color primaries of the video stream
	ColorPrimaries *string `json:"colorPrimaries,omitempty"`
	// The color range of the video stream
	ColorRange *string `json:"colorRange,omitempty"`
	// The color space of the video stream
	ColorSpace *string `json:"colorSpace,omitempty"`
	// The transfer characteristics (TRC) of the video stream
	ColorTrc *string `json:"colorTrc,omitempty"`
	// The bit depth of the video stream
	BitDepth *int64 `json:"bitDepth,omitempty"`
	// The chroma location of the video stream
	ChromaLocation *string `json:"chromaLocation,omitempty"`
	// The identifier of the video stream
	StreamIdentifier *string `json:"streamIdentifier,omitempty"`
	// The chroma subsampling format
	ChromaSubsampling *string `json:"chromaSubsampling,omitempty"`
	// The coded height of the video stream
	CodedHeight *int64 `json:"codedHeight,omitempty"`
	// The coded width of the video stream
	CodedWidth *int64 `json:"codedWidth,omitempty"`
	// The frame rate of the video stream
	FrameRate *float64 `json:"frameRate,omitempty"`
	// Indicates if the stream has a scaling matrix
	HasScalingMatrix *bool   `json:"hasScalingMatrix,omitempty"`
	HearingImpaired  *bool   `json:"hearingImpaired,omitempty"`
	ClosedCaptions   *bool   `json:"closedCaptions,omitempty"`
	EmbeddedInVideo  *string `json:"embeddedInVideo,omitempty"`
	// The height of the video stream
	Height *int64 `json:"height,omitempty"`
	// The level of the video codec
	Level *int64 `json:"level,omitempty"`
	// The profile of the video codec
	Profile *string `json:"profile,omitempty"`
	// Number of reference frames
	RefFrames *int64 `json:"refFrames,omitempty"`
	// The scan type (progressive or interlaced)
	ScanType *string `json:"scanType,omitempty"`
	// The width of the video stream
	Width *int64 `json:"width,omitempty"`
	// Display title of the stream
	DisplayTitle *string `json:"displayTitle,omitempty"`
	// Extended display title of the stream
	ExtendedDisplayTitle *string `json:"extendedDisplayTitle,omitempty"`
	// Number of audio channels (for audio streams)
	Channels *int64 `json:"channels,omitempty"`
	// The language of the stream (for audio/subtitle streams)
	Language *string `json:"language,omitempty"`
	// Language tag of the stream
	LanguageTag *string `json:"languageTag,omitempty"`
	// Language code of the stream
	LanguageCode *string `json:"languageCode,omitempty"`
	// The audio channel layout
	AudioChannelLayout *string `json:"audioChannelLayout,omitempty"`
	// Sampling rate of the audio stream in Hz
	SamplingRate *int64 `json:"samplingRate,omitempty"`
	// Title of the subtitle track (for subtitle streams)
	Title *string `json:"title,omitempty"`
	// Indicates if the subtitle stream can auto-sync
	CanAutoSync *bool `json:"canAutoSync,omitempty"`
}

func (*Stream) GetAudioChannelLayout added in v0.13.0

func (o *Stream) GetAudioChannelLayout() *string

func (*Stream) GetBitDepth

func (o *Stream) GetBitDepth() *int64

func (*Stream) GetBitrate

func (o *Stream) GetBitrate() *int64

func (*Stream) GetCanAutoSync added in v0.13.0

func (o *Stream) GetCanAutoSync() *bool

func (*Stream) GetChannels added in v0.1.1

func (o *Stream) GetChannels() *int64

func (*Stream) GetChromaLocation

func (o *Stream) GetChromaLocation() *string

func (*Stream) GetChromaSubsampling

func (o *Stream) GetChromaSubsampling() *string

func (*Stream) GetClosedCaptions added in v0.13.0

func (o *Stream) GetClosedCaptions() *bool

func (*Stream) GetCodec

func (o *Stream) GetCodec() string

func (*Stream) GetCodedHeight

func (o *Stream) GetCodedHeight() *int64

func (*Stream) GetCodedWidth

func (o *Stream) GetCodedWidth() *int64

func (*Stream) GetColorPrimaries added in v0.1.1

func (o *Stream) GetColorPrimaries() *string

func (*Stream) GetColorRange

func (o *Stream) GetColorRange() *string

func (*Stream) GetColorSpace added in v0.1.1

func (o *Stream) GetColorSpace() *string

func (*Stream) GetColorTrc added in v0.1.1

func (o *Stream) GetColorTrc() *string

func (*Stream) GetDefault

func (o *Stream) GetDefault() *bool

func (*Stream) GetDisplayTitle

func (o *Stream) GetDisplayTitle() *string

func (*Stream) GetEmbeddedInVideo added in v0.13.0

func (o *Stream) GetEmbeddedInVideo() *string

func (*Stream) GetExtendedDisplayTitle

func (o *Stream) GetExtendedDisplayTitle() *string

func (*Stream) GetFrameRate

func (o *Stream) GetFrameRate() *float64

func (*Stream) GetHasScalingMatrix added in v0.1.1

func (o *Stream) GetHasScalingMatrix() *bool

func (*Stream) GetHearingImpaired added in v0.13.0

func (o *Stream) GetHearingImpaired() *bool

func (*Stream) GetHeight

func (o *Stream) GetHeight() *int64

func (*Stream) GetID

func (o *Stream) GetID() int64

func (*Stream) GetIndex

func (o *Stream) GetIndex() int64

func (*Stream) GetLanguage

func (o *Stream) GetLanguage() *string

func (*Stream) GetLanguageCode

func (o *Stream) GetLanguageCode() *string

func (*Stream) GetLanguageTag

func (o *Stream) GetLanguageTag() *string

func (*Stream) GetLevel

func (o *Stream) GetLevel() *int64

func (*Stream) GetProfile

func (o *Stream) GetProfile() *string

func (*Stream) GetRefFrames

func (o *Stream) GetRefFrames() *int64

func (*Stream) GetSamplingRate added in v0.1.1

func (o *Stream) GetSamplingRate() *int64

func (*Stream) GetScanType added in v0.1.1

func (o *Stream) GetScanType() *string

func (*Stream) GetSelected added in v0.1.1

func (o *Stream) GetSelected() *bool

func (*Stream) GetStreamIdentifier added in v0.1.1

func (o *Stream) GetStreamIdentifier() *string

func (*Stream) GetStreamType

func (o *Stream) GetStreamType() int64

func (*Stream) GetTitle added in v0.13.0

func (o *Stream) GetTitle() *string

func (*Stream) GetWidth

func (o *Stream) GetWidth() *int64

type Subscription added in v0.11.1

type Subscription struct {
	// List of features allowed on your Plex Pass subscription
	Features []string `json:"features,omitempty"`
	// If the account's Plex Pass subscription is active
	Active *bool `json:"active,omitempty"`
	// Date the account subscribed to Plex Pass
	SubscribedAt *string `json:"subscribedAt,omitempty"`
	// String representation of subscriptionActive
	Status *GetTokenDetailsAuthenticationStatus `json:"status,omitempty"`
	// Payment service used for your Plex Pass subscription
	PaymentService *string `json:"paymentService,omitempty"`
	// Name of Plex Pass subscription plan
	Plan *string `json:"plan,omitempty"`
}

Subscription - If the account’s Plex Pass subscription is active

func (*Subscription) GetActive added in v0.11.1

func (o *Subscription) GetActive() *bool

func (*Subscription) GetFeatures added in v0.11.1

func (o *Subscription) GetFeatures() []string

func (*Subscription) GetPaymentService added in v0.11.1

func (o *Subscription) GetPaymentService() *string

func (*Subscription) GetPlan added in v0.11.1

func (o *Subscription) GetPlan() *string

func (*Subscription) GetStatus added in v0.11.1

func (*Subscription) GetSubscribedAt added in v0.11.1

func (o *Subscription) GetSubscribedAt() *string

type Tag added in v0.1.1

type Tag string

Tag - A key representing a specific tag within the section.

const (
	TagUnwatched      Tag = "unwatched"
	TagNewest         Tag = "newest"
	TagRecentlyAdded  Tag = "recentlyAdded"
	TagRecentlyViewed Tag = "recentlyViewed"
	TagOnDeck         Tag = "onDeck"
	TagCollection     Tag = "collection"
	TagEdition        Tag = "edition"
	TagYear           Tag = "year"
	TagDecade         Tag = "decade"
	TagDirector       Tag = "director"
	TagContentRating  Tag = "contentRating"
	TagRating         Tag = "rating"
	TagResolution     Tag = "resolution"
	TagFirstCharacter Tag = "firstCharacter"
	TagFolder         Tag = "folder"
	TagAlbums         Tag = "albums"
)

func (Tag) ToPointer added in v0.1.1

func (e Tag) ToPointer() *Tag

func (*Tag) UnmarshalJSON added in v0.1.1

func (e *Tag) UnmarshalJSON(data []byte) error

type TaskName

type TaskName string

TaskName - the name of the task to be started.

const (
	TaskNameBackupDatabase            TaskName = "BackupDatabase"
	TaskNameBuildGracenoteCollections TaskName = "BuildGracenoteCollections"
	TaskNameCheckForUpdates           TaskName = "CheckForUpdates"
	TaskNameCleanOldBundles           TaskName = "CleanOldBundles"
	TaskNameCleanOldCacheFiles        TaskName = "CleanOldCacheFiles"
	TaskNameDeepMediaAnalysis         TaskName = "DeepMediaAnalysis"
	TaskNameGenerateAutoTags          TaskName = "GenerateAutoTags"
	TaskNameGenerateChapterThumbs     TaskName = "GenerateChapterThumbs"
	TaskNameGenerateMediaIndexFiles   TaskName = "GenerateMediaIndexFiles"
	TaskNameOptimizeDatabase          TaskName = "OptimizeDatabase"
	TaskNameRefreshLibraries          TaskName = "RefreshLibraries"
	TaskNameRefreshLocalMedia         TaskName = "RefreshLocalMedia"
	TaskNameRefreshPeriodicMetadata   TaskName = "RefreshPeriodicMetadata"
	TaskNameUpgradeMediaAnalysis      TaskName = "UpgradeMediaAnalysis"
)

func (TaskName) ToPointer

func (e TaskName) ToPointer() *TaskName

func (*TaskName) UnmarshalJSON

func (e *TaskName) UnmarshalJSON(data []byte) error

type Tonight

type Tonight int64

Tonight - Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install

const (
	TonightZero Tonight = 0
	TonightOne  Tonight = 1
)

func (Tonight) ToPointer

func (e Tonight) ToPointer() *Tonight

func (*Tonight) UnmarshalJSON

func (e *Tonight) UnmarshalJSON(data []byte) error

type TranscodeSession

type TranscodeSession struct {
	Key                  *string  `json:"key,omitempty"`
	Throttled            *bool    `json:"throttled,omitempty"`
	Complete             *bool    `json:"complete,omitempty"`
	Progress             *float64 `json:"progress,omitempty"`
	Size                 *int     `json:"size,omitempty"`
	Speed                *float64 `json:"speed,omitempty"`
	Error                *bool    `json:"error,omitempty"`
	Duration             *int     `json:"duration,omitempty"`
	Remaining            *int     `json:"remaining,omitempty"`
	Context              *string  `json:"context,omitempty"`
	SourceVideoCodec     *string  `json:"sourceVideoCodec,omitempty"`
	SourceAudioCodec     *string  `json:"sourceAudioCodec,omitempty"`
	VideoDecision        *string  `json:"videoDecision,omitempty"`
	AudioDecision        *string  `json:"audioDecision,omitempty"`
	SubtitleDecision     *string  `json:"subtitleDecision,omitempty"`
	Protocol             *string  `json:"protocol,omitempty"`
	Container            *string  `json:"container,omitempty"`
	VideoCodec           *string  `json:"videoCodec,omitempty"`
	AudioCodec           *string  `json:"audioCodec,omitempty"`
	AudioChannels        *int     `json:"audioChannels,omitempty"`
	TranscodeHwRequested *bool    `json:"transcodeHwRequested,omitempty"`
	TimeStamp            *float64 `json:"timeStamp,omitempty"`
	MaxOffsetAvailable   *float64 `json:"maxOffsetAvailable,omitempty"`
	MinOffsetAvailable   *float64 `json:"minOffsetAvailable,omitempty"`
}

func (*TranscodeSession) GetAudioChannels

func (o *TranscodeSession) GetAudioChannels() *int

func (*TranscodeSession) GetAudioCodec

func (o *TranscodeSession) GetAudioCodec() *string

func (*TranscodeSession) GetAudioDecision

func (o *TranscodeSession) GetAudioDecision() *string

func (*TranscodeSession) GetComplete

func (o *TranscodeSession) GetComplete() *bool

func (*TranscodeSession) GetContainer

func (o *TranscodeSession) GetContainer() *string

func (*TranscodeSession) GetContext

func (o *TranscodeSession) GetContext() *string

func (*TranscodeSession) GetDuration

func (o *TranscodeSession) GetDuration() *int

func (*TranscodeSession) GetError

func (o *TranscodeSession) GetError() *bool

func (*TranscodeSession) GetKey

func (o *TranscodeSession) GetKey() *string

func (*TranscodeSession) GetMaxOffsetAvailable

func (o *TranscodeSession) GetMaxOffsetAvailable() *float64

func (*TranscodeSession) GetMinOffsetAvailable

func (o *TranscodeSession) GetMinOffsetAvailable() *float64

func (*TranscodeSession) GetProgress

func (o *TranscodeSession) GetProgress() *float64

func (*TranscodeSession) GetProtocol

func (o *TranscodeSession) GetProtocol() *string

func (*TranscodeSession) GetRemaining added in v0.1.1

func (o *TranscodeSession) GetRemaining() *int

func (*TranscodeSession) GetSize

func (o *TranscodeSession) GetSize() *int

func (*TranscodeSession) GetSourceAudioCodec

func (o *TranscodeSession) GetSourceAudioCodec() *string

func (*TranscodeSession) GetSourceVideoCodec

func (o *TranscodeSession) GetSourceVideoCodec() *string

func (*TranscodeSession) GetSpeed

func (o *TranscodeSession) GetSpeed() *float64

func (*TranscodeSession) GetSubtitleDecision added in v0.1.1

func (o *TranscodeSession) GetSubtitleDecision() *string

func (*TranscodeSession) GetThrottled

func (o *TranscodeSession) GetThrottled() *bool

func (*TranscodeSession) GetTimeStamp

func (o *TranscodeSession) GetTimeStamp() *float64

func (*TranscodeSession) GetTranscodeHwRequested

func (o *TranscodeSession) GetTranscodeHwRequested() *bool

func (*TranscodeSession) GetVideoCodec

func (o *TranscodeSession) GetVideoCodec() *string

func (*TranscodeSession) GetVideoDecision

func (o *TranscodeSession) GetVideoDecision() *string

type Trials added in v0.11.1

type Trials struct {
}

type Type

type Type int64

Type - The type of media to retrieve or filter by. 1 = movie 2 = show 3 = season 4 = episode E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries

const (
	TypeMovie   Type = 1
	TypeTvShow  Type = 2
	TypeSeason  Type = 3
	TypeEpisode Type = 4
	TypeAudio   Type = 8
	TypeAlbum   Type = 9
	TypeTrack   Type = 10
)

func (Type) ToPointer

func (e Type) ToPointer() *Type

func (*Type) UnmarshalJSON

func (e *Type) UnmarshalJSON(data []byte) error

type UltraBlurColors added in v0.12.1

type UltraBlurColors struct {
	TopLeft     string `json:"topLeft"`
	TopRight    string `json:"topRight"`
	BottomRight string `json:"bottomRight"`
	BottomLeft  string `json:"bottomLeft"`
}

func (*UltraBlurColors) GetBottomLeft added in v0.12.1

func (o *UltraBlurColors) GetBottomLeft() string

func (*UltraBlurColors) GetBottomRight added in v0.12.1

func (o *UltraBlurColors) GetBottomRight() string

func (*UltraBlurColors) GetTopLeft added in v0.12.1

func (o *UltraBlurColors) GetTopLeft() string

func (*UltraBlurColors) GetTopRight added in v0.12.1

func (o *UltraBlurColors) GetTopRight() string

type UpdatePlayProgressRequest

type UpdatePlayProgressRequest struct {
	// the media key
	Key string `queryParam:"style=form,explode=true,name=key"`
	// The time, in milliseconds, used to set the media playback progress.
	Time float64 `queryParam:"style=form,explode=true,name=time"`
	// The playback state of the media item.
	State string `queryParam:"style=form,explode=true,name=state"`
}

func (*UpdatePlayProgressRequest) GetKey

func (o *UpdatePlayProgressRequest) GetKey() string

func (*UpdatePlayProgressRequest) GetState

func (o *UpdatePlayProgressRequest) GetState() string

func (*UpdatePlayProgressRequest) GetTime

func (o *UpdatePlayProgressRequest) GetTime() float64

type UpdatePlayProgressResponse

type UpdatePlayProgressResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*UpdatePlayProgressResponse) GetContentType

func (o *UpdatePlayProgressResponse) GetContentType() string

func (*UpdatePlayProgressResponse) GetRawResponse

func (o *UpdatePlayProgressResponse) GetRawResponse() *http.Response

func (*UpdatePlayProgressResponse) GetStatusCode

func (o *UpdatePlayProgressResponse) GetStatusCode() int

type UpdatePlaylistRequest

type UpdatePlaylistRequest struct {
	// the ID of the playlist
	PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
	// name of the playlist
	Title *string `queryParam:"style=form,explode=true,name=title"`
	// summary description of the playlist
	Summary *string `queryParam:"style=form,explode=true,name=summary"`
}

func (*UpdatePlaylistRequest) GetPlaylistID

func (o *UpdatePlaylistRequest) GetPlaylistID() float64

func (*UpdatePlaylistRequest) GetSummary added in v0.1.1

func (o *UpdatePlaylistRequest) GetSummary() *string

func (*UpdatePlaylistRequest) GetTitle added in v0.1.1

func (o *UpdatePlaylistRequest) GetTitle() *string

type UpdatePlaylistResponse

type UpdatePlaylistResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*UpdatePlaylistResponse) GetContentType

func (o *UpdatePlaylistResponse) GetContentType() string

func (*UpdatePlaylistResponse) GetRawResponse

func (o *UpdatePlaylistResponse) GetRawResponse() *http.Response

func (*UpdatePlaylistResponse) GetStatusCode

func (o *UpdatePlaylistResponse) GetStatusCode() int

type UploadPlaylistRequest

type UploadPlaylistRequest struct {
	// absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server.
	// If the `path` argument is a directory, that path will be scanned for playlist files to be processed.
	// Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it.
	// The GUID of each playlist is based on the filename.
	// If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it.
	// The GUID of each playlist is based on the filename.
	//
	Path string `queryParam:"style=form,explode=true,name=path"`
	// Force overwriting of duplicate playlists.
	// By default, a playlist file uploaded with the same path will overwrite the existing playlist.
	// The `force` argument is used to disable overwriting.
	// If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
	//
	Force QueryParamForce `queryParam:"style=form,explode=true,name=force"`
	// Possibly the section ID to upload the playlist to, we are not certain.
	SectionID int64 `default:"1" queryParam:"style=form,explode=true,name=sectionID"`
}

func (*UploadPlaylistRequest) GetForce

func (o *UploadPlaylistRequest) GetForce() QueryParamForce

func (*UploadPlaylistRequest) GetPath

func (o *UploadPlaylistRequest) GetPath() string

func (*UploadPlaylistRequest) GetSectionID added in v0.12.0

func (o *UploadPlaylistRequest) GetSectionID() int64

func (UploadPlaylistRequest) MarshalJSON added in v0.12.0

func (u UploadPlaylistRequest) MarshalJSON() ([]byte, error)

func (*UploadPlaylistRequest) UnmarshalJSON added in v0.12.0

func (u *UploadPlaylistRequest) UnmarshalJSON(data []byte) error

type UploadPlaylistResponse

type UploadPlaylistResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*UploadPlaylistResponse) GetContentType

func (o *UploadPlaylistResponse) GetContentType() string

func (*UploadPlaylistResponse) GetRawResponse

func (o *UploadPlaylistResponse) GetRawResponse() *http.Response

func (*UploadPlaylistResponse) GetStatusCode

func (o *UploadPlaylistResponse) GetStatusCode() int

type Upscale

type Upscale int64

Upscale - allow images to be resized beyond native dimensions.

const (
	UpscaleZero Upscale = 0
	UpscaleOne  Upscale = 1
)

func (Upscale) ToPointer

func (e Upscale) ToPointer() *Upscale

func (*Upscale) UnmarshalJSON

func (e *Upscale) UnmarshalJSON(data []byte) error

type User added in v0.1.1

type User struct {
	// User's unique ID.
	ID int64
	// User's display name.
	Title string
	// User's username.
	Username string
	// User's email address.
	Email string
	// ID of the user's recommendation playlist.
	RecommendationsPlaylistID *string
	// URL to the user's avatar image.
	Thumb              string
	Protected          *Protected          `default:"0"`
	Home               *Home               `default:"0"`
	AllowTuners        *AllowTuners        `default:"0"`
	AllowSync          *AllowSync          `default:"0"`
	AllowCameraUpload  *AllowCameraUpload  `default:"0"`
	AllowChannels      *AllowChannels      `default:"0"`
	AllowSubtitleAdmin *AllowSubtitleAdmin `default:"0"`
	// Filters applied for all content.
	FilterAll *string
	// Filters applied for movies.
	FilterMovies *string
	// Filters applied for music.
	FilterMusic *string
	// Filters applied for photos.
	FilterPhotos *string
	// Filters applied for television.
	FilterTelevision *string
	Restricted       *Restricted `default:"0"`
	// List of servers owned by the user.
	Server []GetUsersServer
}

func (*User) GetAllowCameraUpload added in v0.18.0

func (o *User) GetAllowCameraUpload() *AllowCameraUpload

func (*User) GetAllowChannels added in v0.18.0

func (o *User) GetAllowChannels() *AllowChannels

func (*User) GetAllowSubtitleAdmin added in v0.18.0

func (o *User) GetAllowSubtitleAdmin() *AllowSubtitleAdmin

func (*User) GetAllowSync added in v0.18.0

func (o *User) GetAllowSync() *AllowSync

func (*User) GetAllowTuners added in v0.18.0

func (o *User) GetAllowTuners() *AllowTuners

func (*User) GetEmail added in v0.18.0

func (o *User) GetEmail() string

func (*User) GetFilterAll added in v0.18.0

func (o *User) GetFilterAll() *string

func (*User) GetFilterMovies added in v0.18.0

func (o *User) GetFilterMovies() *string

func (*User) GetFilterMusic added in v0.18.0

func (o *User) GetFilterMusic() *string

func (*User) GetFilterPhotos added in v0.18.0

func (o *User) GetFilterPhotos() *string

func (*User) GetFilterTelevision added in v0.18.0

func (o *User) GetFilterTelevision() *string

func (*User) GetHome added in v0.18.0

func (o *User) GetHome() *Home

func (*User) GetID added in v0.1.1

func (o *User) GetID() int64

func (*User) GetProtected added in v0.18.0

func (o *User) GetProtected() *Protected

func (*User) GetRecommendationsPlaylistID added in v0.18.0

func (o *User) GetRecommendationsPlaylistID() *string

func (*User) GetRestricted added in v0.18.0

func (o *User) GetRestricted() *Restricted

func (*User) GetServer added in v0.18.0

func (o *User) GetServer() []GetUsersServer

func (*User) GetThumb added in v0.1.1

func (o *User) GetThumb() string

func (*User) GetTitle added in v0.1.1

func (o *User) GetTitle() string

func (*User) GetUsername added in v0.18.0

func (o *User) GetUsername() string

func (User) MarshalJSON added in v0.18.0

func (u User) MarshalJSON() ([]byte, error)

func (*User) UnmarshalJSON added in v0.18.0

func (u *User) UnmarshalJSON(data []byte) error

type UserProfile added in v0.11.1

type UserProfile struct {
	// If the account has automatically select audio and subtitle tracks enabled
	AutoSelectAudio *bool `default:"true" json:"autoSelectAudio"`
	// The preferred audio language for the account
	DefaultAudioLanguage *string `json:"defaultAudioLanguage"`
	// The preferred subtitle language for the account
	DefaultSubtitleLanguage      *string                       `json:"defaultSubtitleLanguage"`
	AutoSelectSubtitle           *AutoSelectSubtitle           `default:"0" json:"autoSelectSubtitle"`
	DefaultSubtitleAccessibility *DefaultSubtitleAccessibility `default:"0" json:"defaultSubtitleAccessibility"`
	DefaultSubtitleForced        *DefaultSubtitleForced        `default:"0" json:"defaultSubtitleForced"`
	WatchedIndicator             *WatchedIndicator             `default:"0" json:"watchedIndicator"`
	MediaReviewsVisibility       *MediaReviewsVisibility       `default:"0" json:"mediaReviewsVisibility"`
}

func (*UserProfile) GetAutoSelectAudio added in v0.11.1

func (o *UserProfile) GetAutoSelectAudio() *bool

func (*UserProfile) GetAutoSelectSubtitle added in v0.11.1

func (o *UserProfile) GetAutoSelectSubtitle() *AutoSelectSubtitle

func (*UserProfile) GetDefaultAudioLanguage added in v0.11.1

func (o *UserProfile) GetDefaultAudioLanguage() *string

func (*UserProfile) GetDefaultSubtitleAccessibility added in v0.11.1

func (o *UserProfile) GetDefaultSubtitleAccessibility() *DefaultSubtitleAccessibility

func (*UserProfile) GetDefaultSubtitleForced added in v0.11.1

func (o *UserProfile) GetDefaultSubtitleForced() *DefaultSubtitleForced

func (*UserProfile) GetDefaultSubtitleLanguage added in v0.11.1

func (o *UserProfile) GetDefaultSubtitleLanguage() *string

func (*UserProfile) GetMediaReviewsVisibility added in v0.11.1

func (o *UserProfile) GetMediaReviewsVisibility() *MediaReviewsVisibility

func (*UserProfile) GetWatchedIndicator added in v0.11.1

func (o *UserProfile) GetWatchedIndicator() *WatchedIndicator

func (UserProfile) MarshalJSON added in v0.11.1

func (u UserProfile) MarshalJSON() ([]byte, error)

func (*UserProfile) UnmarshalJSON added in v0.11.1

func (u *UserProfile) UnmarshalJSON(data []byte) error

type WatchedIndicator added in v0.11.1

type WatchedIndicator int

WatchedIndicator - Whether or not media watched indicators are enabled (little orange dot on media)

const (
	WatchedIndicatorDisable WatchedIndicator = 0
	WatchedIndicatorEnable  WatchedIndicator = 1
)

func (WatchedIndicator) ToPointer added in v0.11.1

func (e WatchedIndicator) ToPointer() *WatchedIndicator

func (*WatchedIndicator) UnmarshalJSON added in v0.11.1

func (e *WatchedIndicator) UnmarshalJSON(data []byte) error

type Writer

type Writer struct {
	Tag *string `json:"tag,omitempty"`
}

func (*Writer) GetTag

func (o *Writer) GetTag() *string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳