operations

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (
	SupportedOptionServerURL            = "serverURL"
	SupportedOptionRetries              = "retries"
	SupportedOptionAcceptHeaderOverride = "acceptHeaderOverride"
)

Variables

View Source
var ErrUnsupportedOption = errors.New("unsupported option")
View Source
var GetPinServerList = []string{
	"https://plex.tv/api/v2",
}
View Source
var GetTokenServerList = []string{
	"https://plex.tv/api/v2",
}

Functions

This section is empty.

Types

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 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 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 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 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 CreatePlaylistRequest

type CreatePlaylistRequest struct {
	// name of the playlist
	Title string `queryParam:"style=form,explode=true,name=title"`
	// type of playlist to create
	Type QueryParamType `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 DeleteLibraryRequest

type DeleteLibraryRequest struct {
	// the Id of the library to query
	SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
}

func (*DeleteLibraryRequest) GetSectionID

func (o *DeleteLibraryRequest) GetSectionID() float64

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 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 Field added in v0.1.0

type Field struct {
	Key     *string `json:"key,omitempty"`
	Title   *string `json:"title,omitempty"`
	Type    *string `json:"type,omitempty"`
	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,omitempty"`
	Operator []Operator `json:"Operator,omitempty"`
}

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 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 (*Filter) GetFilter added in v0.1.0

func (o *Filter) GetFilter() *string

func (*Filter) GetFilterType added in v0.1.0

func (o *Filter) GetFilterType() *string

func (*Filter) GetKey added in v0.1.0

func (o *Filter) GetKey() *string

func (*Filter) GetTitle added in v0.1.0

func (o *Filter) GetTitle() *string

func (*Filter) GetType added in v0.1.0

func (o *Filter) GetType() *string

type Force

type Force int64

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 (
	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 Genre

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

func (*Genre) GetTag

func (o *Genre) 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 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 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 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 GetLibrariesDirectory added in v0.0.4

type GetLibrariesDirectory struct {
	AllowSync        *bool                  `json:"allowSync,omitempty"`
	Art              *string                `json:"art,omitempty"`
	Composite        *string                `json:"composite,omitempty"`
	Filters          *bool                  `json:"filters,omitempty"`
	Refreshing       *bool                  `json:"refreshing,omitempty"`
	Thumb            *string                `json:"thumb,omitempty"`
	Key              *string                `json:"key,omitempty"`
	Type             *string                `json:"type,omitempty"`
	Title            *string                `json:"title,omitempty"`
	Agent            *string                `json:"agent,omitempty"`
	Scanner          *string                `json:"scanner,omitempty"`
	Language         *string                `json:"language,omitempty"`
	UUID             *string                `json:"uuid,omitempty"`
	UpdatedAt        *int                   `json:"updatedAt,omitempty"`
	CreatedAt        *int                   `json:"createdAt,omitempty"`
	ScannedAt        *int                   `json:"scannedAt,omitempty"`
	Content          *bool                  `json:"content,omitempty"`
	Directory        *bool                  `json:"directory,omitempty"`
	ContentChangedAt *int                   `json:"contentChangedAt,omitempty"`
	Hidden           *int                   `json:"hidden,omitempty"`
	Location         []GetLibrariesLocation `json:"Location,omitempty"`
}

func (*GetLibrariesDirectory) GetAgent added in v0.0.4

func (o *GetLibrariesDirectory) GetAgent() *string

func (*GetLibrariesDirectory) GetAllowSync added in v0.0.4

func (o *GetLibrariesDirectory) GetAllowSync() *bool

func (*GetLibrariesDirectory) GetArt added in v0.0.4

func (o *GetLibrariesDirectory) GetArt() *string

func (*GetLibrariesDirectory) GetComposite added in v0.0.4

func (o *GetLibrariesDirectory) GetComposite() *string

func (*GetLibrariesDirectory) GetContent added in v0.0.4

func (o *GetLibrariesDirectory) GetContent() *bool

func (*GetLibrariesDirectory) GetContentChangedAt added in v0.0.4

func (o *GetLibrariesDirectory) GetContentChangedAt() *int

func (*GetLibrariesDirectory) GetCreatedAt added in v0.0.4

func (o *GetLibrariesDirectory) GetCreatedAt() *int

func (*GetLibrariesDirectory) GetDirectory added in v0.0.4

func (o *GetLibrariesDirectory) GetDirectory() *bool

func (*GetLibrariesDirectory) GetFilters added in v0.0.4

func (o *GetLibrariesDirectory) GetFilters() *bool

func (*GetLibrariesDirectory) GetHidden added in v0.0.4

func (o *GetLibrariesDirectory) GetHidden() *int

func (*GetLibrariesDirectory) GetKey added in v0.0.4

func (o *GetLibrariesDirectory) GetKey() *string

func (*GetLibrariesDirectory) GetLanguage added in v0.0.4

func (o *GetLibrariesDirectory) GetLanguage() *string

func (*GetLibrariesDirectory) GetLocation added in v0.0.4

func (o *GetLibrariesDirectory) GetLocation() []GetLibrariesLocation

func (*GetLibrariesDirectory) GetRefreshing added in v0.0.4

func (o *GetLibrariesDirectory) GetRefreshing() *bool

func (*GetLibrariesDirectory) GetScannedAt added in v0.0.4

func (o *GetLibrariesDirectory) GetScannedAt() *int

func (*GetLibrariesDirectory) GetScanner added in v0.0.4

func (o *GetLibrariesDirectory) GetScanner() *string

func (*GetLibrariesDirectory) GetThumb added in v0.0.4

func (o *GetLibrariesDirectory) GetThumb() *string

func (*GetLibrariesDirectory) GetTitle added in v0.0.4

func (o *GetLibrariesDirectory) GetTitle() *string

func (*GetLibrariesDirectory) GetType added in v0.0.4

func (o *GetLibrariesDirectory) GetType() *string

func (*GetLibrariesDirectory) GetUUID added in v0.0.4

func (o *GetLibrariesDirectory) GetUUID() *string

func (*GetLibrariesDirectory) GetUpdatedAt added in v0.0.4

func (o *GetLibrariesDirectory) GetUpdatedAt() *int

type GetLibrariesLocation added in v0.2.0

type GetLibrariesLocation struct {
	ID   *int    `json:"id,omitempty"`
	Path *string `json:"path,omitempty"`
}

func (*GetLibrariesLocation) GetID added in v0.2.0

func (o *GetLibrariesLocation) GetID() *int

func (*GetLibrariesLocation) GetPath added in v0.2.0

func (o *GetLibrariesLocation) GetPath() *string

type GetLibrariesMediaContainer added in v0.0.4

type GetLibrariesMediaContainer struct {
	Size      *int                    `json:"size,omitempty"`
	AllowSync *bool                   `json:"allowSync,omitempty"`
	Title1    *string                 `json:"title1,omitempty"`
	Directory []GetLibrariesDirectory `json:"Directory,omitempty"`
}

func (*GetLibrariesMediaContainer) GetAllowSync added in v0.0.4

func (o *GetLibrariesMediaContainer) GetAllowSync() *bool

func (*GetLibrariesMediaContainer) GetDirectory added in v0.0.4

func (*GetLibrariesMediaContainer) GetSize added in v0.0.4

func (o *GetLibrariesMediaContainer) GetSize() *int

func (*GetLibrariesMediaContainer) GetTitle1 added in v0.0.4

func (o *GetLibrariesMediaContainer) GetTitle1() *string

type GetLibrariesResponse

type GetLibrariesResponse 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 *GetLibrariesResponseBody
}

func (*GetLibrariesResponse) GetContentType

func (o *GetLibrariesResponse) GetContentType() string

func (*GetLibrariesResponse) GetObject added in v0.0.4

func (*GetLibrariesResponse) GetRawResponse

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

func (*GetLibrariesResponse) GetStatusCode

func (o *GetLibrariesResponse) GetStatusCode() int

type GetLibrariesResponseBody added in v0.0.4

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

GetLibrariesResponseBody - The libraries available on the Server

func (*GetLibrariesResponseBody) GetMediaContainer added in v0.0.4

func (o *GetLibrariesResponseBody) GetMediaContainer() *GetLibrariesMediaContainer

type GetLibraryDirectory added in v0.0.5

type GetLibraryDirectory 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 (*GetLibraryDirectory) GetKey added in v0.0.5

func (o *GetLibraryDirectory) GetKey() *string

func (*GetLibraryDirectory) GetPrompt added in v0.0.5

func (o *GetLibraryDirectory) GetPrompt() *string

func (*GetLibraryDirectory) GetSearch added in v0.0.5

func (o *GetLibraryDirectory) GetSearch() *bool

func (*GetLibraryDirectory) GetSecondary added in v0.0.5

func (o *GetLibraryDirectory) GetSecondary() *bool

func (*GetLibraryDirectory) GetTitle added in v0.0.5

func (o *GetLibraryDirectory) GetTitle() *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 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 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 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 GetLibraryItemsMedia added in v0.1.1

type GetLibraryItemsMedia 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"`
	VideoProfile    *string               `json:"videoProfile,omitempty"`
	Part            []GetLibraryItemsPart `json:"Part,omitempty"`
}

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) 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) 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) 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

type GetLibraryItemsMediaContainer added in v0.1.1

type GetLibraryItemsMediaContainer struct {
	Size                *int                      `json:"size,omitempty"`
	AllowSync           *bool                     `json:"allowSync,omitempty"`
	Art                 *string                   `json:"art,omitempty"`
	Identifier          *string                   `json:"identifier,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"`
	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"`
	MixedParents        *bool                     `json:"mixedParents,omitempty"`
	Metadata            []GetLibraryItemsMetadata `json:"Metadata,omitempty"`
}

func (*GetLibraryItemsMediaContainer) GetAllowSync added in v0.1.1

func (o *GetLibraryItemsMediaContainer) GetAllowSync() *bool

func (*GetLibraryItemsMediaContainer) GetArt added in v0.1.1

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() *int

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) GetMetadata added in v0.1.1

func (*GetLibraryItemsMediaContainer) GetMixedParents added in v0.1.3

func (o *GetLibraryItemsMediaContainer) GetMixedParents() *bool

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) 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 GetLibraryItemsMetadata added in v0.1.1

type GetLibraryItemsMetadata 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"`
	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"`
	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"`
	GrandparentArt         *string                   `json:"grandparentArt,omitempty"`
	GrandparentTheme       *string                   `json:"grandparentTheme,omitempty"`
	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"`
	Role                   []GetLibraryItemsRole     `json:"Role,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"`
	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() *int

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) 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) 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) 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) 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) 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) GetMedia added in v0.1.1

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) 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) GetSkipCount added in v0.1.1

func (o *GetLibraryItemsMetadata) GetSkipCount() *int

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 (o *GetLibraryItemsMetadata) GetType() *string

func (*GetLibraryItemsMetadata) GetUpdatedAt added in v0.1.1

func (o *GetLibraryItemsMetadata) GetUpdatedAt() *int

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 GetLibraryItemsPart added in v0.1.1

type GetLibraryItemsPart struct {
	ID           *int    `json:"id,omitempty"`
	Key          *string `json:"key,omitempty"`
	Duration     *int    `json:"duration,omitempty"`
	File         *string `json:"file,omitempty"`
	Size         *int64  `json:"size,omitempty"`
	Container    *string `json:"container,omitempty"`
	VideoProfile *string `json:"videoProfile,omitempty"`
}

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) GetID added in v0.1.1

func (o *GetLibraryItemsPart) GetID() *int

func (*GetLibraryItemsPart) GetKey added in v0.1.1

func (o *GetLibraryItemsPart) GetKey() *string

func (*GetLibraryItemsPart) GetSize added in v0.1.1

func (o *GetLibraryItemsPart) GetSize() *int64

func (*GetLibraryItemsPart) GetVideoProfile added in v0.1.1

func (o *GetLibraryItemsPart) GetVideoProfile() *string

type GetLibraryItemsRequest

type GetLibraryItemsRequest struct {
	// the Id of the library to query
	SectionID int64 `pathParam:"style=simple,explode=false,name=sectionId"`
	// A key representing a specific tag within the section.
	Tag Tag `pathParam:"style=simple,explode=false,name=tag"`
}

func (*GetLibraryItemsRequest) GetSectionID

func (o *GetLibraryItemsRequest) GetSectionID() int64

func (*GetLibraryItemsRequest) GetTag added in v0.1.1

func (o *GetLibraryItemsRequest) GetTag() Tag

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 {
	Tag *string `json:"tag,omitempty"`
}

func (*GetLibraryItemsRole) GetTag added in v0.1.1

func (o *GetLibraryItemsRole) GetTag() *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 GetLibraryMediaContainer added in v0.0.5

type GetLibraryMediaContainer 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        []GetLibraryDirectory `json:"Directory,omitempty"`
	Type             []GetLibraryType      `json:"Type,omitempty"`
	FieldType        []FieldType           `json:"FieldType,omitempty"`
}

func (*GetLibraryMediaContainer) GetAllowSync added in v0.0.5

func (o *GetLibraryMediaContainer) GetAllowSync() *bool

func (*GetLibraryMediaContainer) GetArt added in v0.0.5

func (o *GetLibraryMediaContainer) GetArt() *string

func (*GetLibraryMediaContainer) GetContent added in v0.0.5

func (o *GetLibraryMediaContainer) GetContent() *string

func (*GetLibraryMediaContainer) GetDirectory added in v0.0.5

func (o *GetLibraryMediaContainer) GetDirectory() []GetLibraryDirectory

func (*GetLibraryMediaContainer) GetFieldType added in v0.1.0

func (o *GetLibraryMediaContainer) GetFieldType() []FieldType

func (*GetLibraryMediaContainer) GetIdentifier added in v0.0.5

func (o *GetLibraryMediaContainer) GetIdentifier() *string

func (*GetLibraryMediaContainer) GetLibrarySectionID added in v0.0.5

func (o *GetLibraryMediaContainer) GetLibrarySectionID() *int

func (*GetLibraryMediaContainer) GetMediaTagPrefix added in v0.0.5

func (o *GetLibraryMediaContainer) GetMediaTagPrefix() *string

func (*GetLibraryMediaContainer) GetMediaTagVersion added in v0.0.5

func (o *GetLibraryMediaContainer) GetMediaTagVersion() *int

func (*GetLibraryMediaContainer) GetSize added in v0.0.5

func (o *GetLibraryMediaContainer) GetSize() *int

func (*GetLibraryMediaContainer) GetThumb added in v0.0.5

func (o *GetLibraryMediaContainer) GetThumb() *string

func (*GetLibraryMediaContainer) GetTitle1 added in v0.0.5

func (o *GetLibraryMediaContainer) GetTitle1() *string

func (*GetLibraryMediaContainer) GetType added in v0.1.0

func (*GetLibraryMediaContainer) GetViewGroup added in v0.0.5

func (o *GetLibraryMediaContainer) GetViewGroup() *string

func (*GetLibraryMediaContainer) GetViewMode added in v0.0.5

func (o *GetLibraryMediaContainer) GetViewMode() *int

type GetLibraryRequest

type GetLibraryRequest struct {
	// the Id of the library to query
	SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
	// 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"`
}

func (*GetLibraryRequest) GetIncludeDetails

func (o *GetLibraryRequest) GetIncludeDetails() *IncludeDetails

func (*GetLibraryRequest) GetSectionID

func (o *GetLibraryRequest) GetSectionID() float64

func (GetLibraryRequest) MarshalJSON

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

func (*GetLibraryRequest) UnmarshalJSON

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

type GetLibraryResponse

type GetLibraryResponse 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 *GetLibraryResponseBody
}

func (*GetLibraryResponse) GetContentType

func (o *GetLibraryResponse) GetContentType() string

func (*GetLibraryResponse) GetObject added in v0.0.5

func (*GetLibraryResponse) GetRawResponse

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

func (*GetLibraryResponse) GetStatusCode

func (o *GetLibraryResponse) GetStatusCode() int

type GetLibraryResponseBody added in v0.0.5

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

GetLibraryResponseBody - The details of the library

func (*GetLibraryResponseBody) GetMediaContainer added in v0.0.5

func (o *GetLibraryResponseBody) GetMediaContainer() *GetLibraryMediaContainer

type GetLibraryType added in v0.1.0

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

func (*GetLibraryType) GetActive added in v0.1.0

func (o *GetLibraryType) GetActive() *bool

func (*GetLibraryType) GetField added in v0.1.0

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

func (*GetLibraryType) GetFilter added in v0.1.0

func (o *GetLibraryType) GetFilter() []Filter

func (*GetLibraryType) GetKey added in v0.1.0

func (o *GetLibraryType) GetKey() *string

func (*GetLibraryType) GetSort added in v0.1.0

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

func (*GetLibraryType) GetTitle added in v0.1.0

func (o *GetLibraryType) GetTitle() *string

func (*GetLibraryType) GetType added in v0.1.0

func (o *GetLibraryType) GetType() *string

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"`
}

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 GetMetadataCountry added in v0.1.1

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

func (*GetMetadataCountry) GetFilter added in v0.1.1

func (o *GetMetadataCountry) GetFilter() *string

func (*GetMetadataCountry) GetID added in v0.1.1

func (o *GetMetadataCountry) GetID() *int

func (*GetMetadataCountry) GetTag added in v0.1.1

func (o *GetMetadataCountry) GetTag() *string

type GetMetadataDirector added in v0.1.1

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

func (*GetMetadataDirector) GetFilter added in v0.1.1

func (o *GetMetadataDirector) GetFilter() *string

func (*GetMetadataDirector) GetID added in v0.1.1

func (o *GetMetadataDirector) GetID() *int

func (*GetMetadataDirector) GetTag added in v0.1.1

func (o *GetMetadataDirector) GetTag() *string

func (*GetMetadataDirector) GetTagKey added in v0.1.1

func (o *GetMetadataDirector) GetTagKey() *string

func (*GetMetadataDirector) GetThumb added in v0.1.1

func (o *GetMetadataDirector) GetThumb() *string

type GetMetadataGenre added in v0.1.1

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

func (*GetMetadataGenre) GetFilter added in v0.1.1

func (o *GetMetadataGenre) GetFilter() *string

func (*GetMetadataGenre) GetID added in v0.1.1

func (o *GetMetadataGenre) GetID() *int

func (*GetMetadataGenre) GetTag added in v0.1.1

func (o *GetMetadataGenre) GetTag() *string

type GetMetadataMedia added in v0.1.1

type GetMetadataMedia 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                  []GetMetadataPart `json:"Part,omitempty"`
}

func (*GetMetadataMedia) GetAspectRatio added in v0.1.1

func (o *GetMetadataMedia) GetAspectRatio() *float64

func (*GetMetadataMedia) GetAudioChannels added in v0.1.1

func (o *GetMetadataMedia) GetAudioChannels() *int

func (*GetMetadataMedia) GetAudioCodec added in v0.1.1

func (o *GetMetadataMedia) GetAudioCodec() *string

func (*GetMetadataMedia) GetAudioProfile added in v0.1.1

func (o *GetMetadataMedia) GetAudioProfile() *string

func (*GetMetadataMedia) GetBitrate added in v0.1.1

func (o *GetMetadataMedia) GetBitrate() *int

func (*GetMetadataMedia) GetContainer added in v0.1.1

func (o *GetMetadataMedia) GetContainer() *string

func (*GetMetadataMedia) GetDuration added in v0.1.1

func (o *GetMetadataMedia) GetDuration() *int

func (*GetMetadataMedia) GetHas64bitOffsets added in v0.1.1

func (o *GetMetadataMedia) GetHas64bitOffsets() *bool

func (*GetMetadataMedia) GetHeight added in v0.1.1

func (o *GetMetadataMedia) GetHeight() *int

func (*GetMetadataMedia) GetID added in v0.1.1

func (o *GetMetadataMedia) GetID() *int

func (*GetMetadataMedia) GetOptimizedForStreaming added in v0.1.1

func (o *GetMetadataMedia) GetOptimizedForStreaming() *int

func (*GetMetadataMedia) GetPart added in v0.1.1

func (o *GetMetadataMedia) GetPart() []GetMetadataPart

func (*GetMetadataMedia) GetVideoCodec added in v0.1.1

func (o *GetMetadataMedia) GetVideoCodec() *string

func (*GetMetadataMedia) GetVideoFrameRate added in v0.1.1

func (o *GetMetadataMedia) GetVideoFrameRate() *string

func (*GetMetadataMedia) GetVideoProfile added in v0.1.1

func (o *GetMetadataMedia) GetVideoProfile() *string

func (*GetMetadataMedia) GetVideoResolution added in v0.1.1

func (o *GetMetadataMedia) GetVideoResolution() *string

func (*GetMetadataMedia) GetWidth added in v0.1.1

func (o *GetMetadataMedia) GetWidth() *int

type GetMetadataMediaContainer added in v0.1.1

type GetMetadataMediaContainer 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"`
	MediaTagPrefix      *string               `json:"mediaTagPrefix,omitempty"`
	MediaTagVersion     *int                  `json:"mediaTagVersion,omitempty"`
	Metadata            []GetMetadataMetadata `json:"Metadata,omitempty"`
}

func (*GetMetadataMediaContainer) GetAllowSync added in v0.1.1

func (o *GetMetadataMediaContainer) GetAllowSync() *bool

func (*GetMetadataMediaContainer) GetIdentifier added in v0.1.1

func (o *GetMetadataMediaContainer) GetIdentifier() *string

func (*GetMetadataMediaContainer) GetLibrarySectionID added in v0.1.1

func (o *GetMetadataMediaContainer) GetLibrarySectionID() *int

func (*GetMetadataMediaContainer) GetLibrarySectionTitle added in v0.1.1

func (o *GetMetadataMediaContainer) GetLibrarySectionTitle() *string

func (*GetMetadataMediaContainer) GetLibrarySectionUUID added in v0.1.1

func (o *GetMetadataMediaContainer) GetLibrarySectionUUID() *string

func (*GetMetadataMediaContainer) GetMediaTagPrefix added in v0.1.1

func (o *GetMetadataMediaContainer) GetMediaTagPrefix() *string

func (*GetMetadataMediaContainer) GetMediaTagVersion added in v0.1.1

func (o *GetMetadataMediaContainer) GetMediaTagVersion() *int

func (*GetMetadataMediaContainer) GetMetadata added in v0.1.1

func (*GetMetadataMediaContainer) GetSize added in v0.1.1

func (o *GetMetadataMediaContainer) GetSize() *int

type GetMetadataMetadata added in v0.1.1

type GetMetadataMetadata 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"`
	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"`
	HasPremiumPrimaryExtra *string               `json:"hasPremiumPrimaryExtra,omitempty"`
	RatingImage            *string               `json:"ratingImage,omitempty"`
	Media                  []GetMetadataMedia    `json:"Media,omitempty"`
	Genre                  []GetMetadataGenre    `json:"Genre,omitempty"`
	Country                []GetMetadataCountry  `json:"Country,omitempty"`
	Guids                  []Guids               `json:"Guid,omitempty"`
	Ratings                []Ratings             `json:"Rating,omitempty"`
	Director               []GetMetadataDirector `json:"Director,omitempty"`
	Writer                 []GetMetadataWriter   `json:"Writer,omitempty"`
	Role                   []GetMetadataRole     `json:"Role,omitempty"`
	Producer               []Producer            `json:"Producer,omitempty"`
}

func (*GetMetadataMetadata) GetAddedAt added in v0.1.1

func (o *GetMetadataMetadata) GetAddedAt() *int

func (*GetMetadataMetadata) GetArt added in v0.1.1

func (o *GetMetadataMetadata) GetArt() *string

func (*GetMetadataMetadata) GetAudienceRating added in v0.1.1

func (o *GetMetadataMetadata) GetAudienceRating() *float64

func (*GetMetadataMetadata) GetAudienceRatingImage added in v0.1.1

func (o *GetMetadataMetadata) GetAudienceRatingImage() *string

func (*GetMetadataMetadata) GetContentRating added in v0.1.1

func (o *GetMetadataMetadata) GetContentRating() *string

func (*GetMetadataMetadata) GetCountry added in v0.1.1

func (o *GetMetadataMetadata) GetCountry() []GetMetadataCountry

func (*GetMetadataMetadata) GetDirector added in v0.1.1

func (o *GetMetadataMetadata) GetDirector() []GetMetadataDirector

func (*GetMetadataMetadata) GetDuration added in v0.1.1

func (o *GetMetadataMetadata) GetDuration() *int

func (*GetMetadataMetadata) GetGUID added in v0.1.1

func (o *GetMetadataMetadata) GetGUID() *string

func (*GetMetadataMetadata) GetGenre added in v0.1.1

func (o *GetMetadataMetadata) GetGenre() []GetMetadataGenre

func (*GetMetadataMetadata) GetGuids added in v0.1.1

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

func (*GetMetadataMetadata) GetHasPremiumPrimaryExtra added in v0.1.1

func (o *GetMetadataMetadata) GetHasPremiumPrimaryExtra() *string

func (*GetMetadataMetadata) GetKey added in v0.1.1

func (o *GetMetadataMetadata) GetKey() *string

func (*GetMetadataMetadata) GetLibrarySectionID added in v0.1.1

func (o *GetMetadataMetadata) GetLibrarySectionID() *int

func (*GetMetadataMetadata) GetLibrarySectionKey added in v0.1.1

func (o *GetMetadataMetadata) GetLibrarySectionKey() *string

func (*GetMetadataMetadata) GetLibrarySectionTitle added in v0.1.1

func (o *GetMetadataMetadata) GetLibrarySectionTitle() *string

func (*GetMetadataMetadata) GetMedia added in v0.1.1

func (o *GetMetadataMetadata) GetMedia() []GetMetadataMedia

func (*GetMetadataMetadata) GetOriginallyAvailableAt added in v0.1.1

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

func (*GetMetadataMetadata) GetProducer added in v0.1.1

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

func (*GetMetadataMetadata) GetRating added in v0.1.1

func (o *GetMetadataMetadata) GetRating() *float64

func (*GetMetadataMetadata) GetRatingImage added in v0.1.1

func (o *GetMetadataMetadata) GetRatingImage() *string

func (*GetMetadataMetadata) GetRatingKey added in v0.1.1

func (o *GetMetadataMetadata) GetRatingKey() *string

func (*GetMetadataMetadata) GetRatings added in v0.1.1

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

func (*GetMetadataMetadata) GetRole added in v0.1.1

func (o *GetMetadataMetadata) GetRole() []GetMetadataRole

func (*GetMetadataMetadata) GetStudio added in v0.1.1

func (o *GetMetadataMetadata) GetStudio() *string

func (*GetMetadataMetadata) GetSummary added in v0.1.1

func (o *GetMetadataMetadata) GetSummary() *string

func (*GetMetadataMetadata) GetTagline added in v0.1.1

func (o *GetMetadataMetadata) GetTagline() *string

func (*GetMetadataMetadata) GetThumb added in v0.1.1

func (o *GetMetadataMetadata) GetThumb() *string

func (*GetMetadataMetadata) GetTitle added in v0.1.1

func (o *GetMetadataMetadata) GetTitle() *string

func (*GetMetadataMetadata) GetType added in v0.1.1

func (o *GetMetadataMetadata) GetType() *string

func (*GetMetadataMetadata) GetUpdatedAt added in v0.1.1

func (o *GetMetadataMetadata) GetUpdatedAt() *int

func (*GetMetadataMetadata) GetWriter added in v0.1.1

func (o *GetMetadataMetadata) GetWriter() []GetMetadataWriter

func (*GetMetadataMetadata) GetYear added in v0.1.1

func (o *GetMetadataMetadata) GetYear() *int

func (GetMetadataMetadata) MarshalJSON added in v0.1.1

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

func (*GetMetadataMetadata) UnmarshalJSON added in v0.1.1

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

type GetMetadataPart added in v0.1.1

type GetMetadataPart 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"`
	Stream                []Stream `json:"Stream,omitempty"`
}

func (*GetMetadataPart) GetAudioProfile added in v0.1.1

func (o *GetMetadataPart) GetAudioProfile() *string

func (*GetMetadataPart) GetContainer added in v0.1.1

func (o *GetMetadataPart) GetContainer() *string

func (*GetMetadataPart) GetDuration added in v0.1.1

func (o *GetMetadataPart) GetDuration() *int

func (*GetMetadataPart) GetFile added in v0.1.1

func (o *GetMetadataPart) GetFile() *string

func (*GetMetadataPart) GetHas64bitOffsets added in v0.1.1

func (o *GetMetadataPart) GetHas64bitOffsets() *bool

func (*GetMetadataPart) GetID added in v0.1.1

func (o *GetMetadataPart) GetID() *int

func (*GetMetadataPart) GetKey added in v0.1.1

func (o *GetMetadataPart) GetKey() *string

func (*GetMetadataPart) GetOptimizedForStreaming added in v0.1.1

func (o *GetMetadataPart) GetOptimizedForStreaming() *bool

func (*GetMetadataPart) GetSize added in v0.1.1

func (o *GetMetadataPart) GetSize() *int

func (*GetMetadataPart) GetStream added in v0.1.1

func (o *GetMetadataPart) GetStream() []Stream

func (*GetMetadataPart) GetVideoProfile added in v0.1.1

func (o *GetMetadataPart) GetVideoProfile() *string

type GetMetadataRequest

type GetMetadataRequest struct {
	// the id of the library item to return the children of.
	RatingKey float64 `pathParam:"style=simple,explode=false,name=ratingKey"`
}

func (*GetMetadataRequest) GetRatingKey

func (o *GetMetadataRequest) GetRatingKey() float64

type GetMetadataResponse

type GetMetadataResponse 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 *GetMetadataResponseBody
}

func (*GetMetadataResponse) GetContentType

func (o *GetMetadataResponse) GetContentType() string

func (*GetMetadataResponse) GetObject added in v0.1.1

func (*GetMetadataResponse) GetRawResponse

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

func (*GetMetadataResponse) GetStatusCode

func (o *GetMetadataResponse) GetStatusCode() int

type GetMetadataResponseBody added in v0.1.1

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

GetMetadataResponseBody - The metadata of the library item.

func (*GetMetadataResponseBody) GetMediaContainer added in v0.1.1

func (o *GetMetadataResponseBody) GetMediaContainer() *GetMetadataMediaContainer

type GetMetadataRole added in v0.1.1

type GetMetadataRole 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 (*GetMetadataRole) GetFilter added in v0.1.1

func (o *GetMetadataRole) GetFilter() *string

func (*GetMetadataRole) GetID added in v0.1.1

func (o *GetMetadataRole) GetID() *int

func (*GetMetadataRole) GetRole added in v0.1.1

func (o *GetMetadataRole) GetRole() *string

func (*GetMetadataRole) GetTag added in v0.1.1

func (o *GetMetadataRole) GetTag() *string

func (*GetMetadataRole) GetTagKey added in v0.1.1

func (o *GetMetadataRole) GetTagKey() *string

func (*GetMetadataRole) GetThumb added in v0.1.1

func (o *GetMetadataRole) GetThumb() *string

type GetMetadataWriter added in v0.1.1

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

func (*GetMetadataWriter) GetFilter added in v0.1.1

func (o *GetMetadataWriter) GetFilter() *string

func (*GetMetadataWriter) GetID added in v0.1.1

func (o *GetMetadataWriter) GetID() *int

func (*GetMetadataWriter) GetTag added in v0.1.1

func (o *GetMetadataWriter) GetTag() *string

func (*GetMetadataWriter) GetTagKey added in v0.1.1

func (o *GetMetadataWriter) GetTagKey() *string

func (*GetMetadataWriter) GetThumb added in v0.1.1

func (o *GetMetadataWriter) GetThumb() *string

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 GetPinRequest added in v0.2.0

type GetPinRequest struct {
	// The unique identifier for the client application
	// This is used to track the client application and its usage
	// (UUID, serial number, or other number unique per device)
	//
	XPlexClientIdentifier string `header:"style=simple,explode=false,name=X-Plex-Client-Identifier"`
	// 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"`
}

func (*GetPinRequest) GetStrong added in v0.2.0

func (o *GetPinRequest) GetStrong() *bool

func (*GetPinRequest) GetXPlexClientIdentifier added in v0.2.0

func (o *GetPinRequest) GetXPlexClientIdentifier() string

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
	// The Pin
	Object *GetPinResponseBody
}

func (*GetPinResponse) GetContentType added in v0.2.0

func (o *GetPinResponse) GetContentType() string

func (*GetPinResponse) GetObject added in v0.2.0

func (o *GetPinResponse) GetObject() *GetPinResponseBody

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 GetPinResponseBody added in v0.2.0

type GetPinResponseBody struct {
	// PinID for use with authentication
	ID      *float64 `json:"id,omitempty"`
	Code    *string  `json:"code,omitempty"`
	Product *string  `json:"product,omitempty"`
	Trusted *bool    `json:"trusted,omitempty"`
	// a link to a QR code hosted on plex.tv
	// The QR code redirects to the relevant `plex.tv/link` authentication page
	// Which then prompts the user for the 4 Digit Link Pin
	//
	Qr               *string    `json:"qr,omitempty"`
	ClientIdentifier *string    `json:"clientIdentifier,omitempty"`
	Location         *Location  `json:"location,omitempty"`
	ExpiresIn        *float64   `json:"expiresIn,omitempty"`
	CreatedAt        *time.Time `json:"createdAt,omitempty"`
	ExpiresAt        *time.Time `json:"expiresAt,omitempty"`
	AuthToken        *string    `json:"authToken,omitempty"`
	NewRegistration  *string    `json:"newRegistration,omitempty"`
}

GetPinResponseBody - The Pin

func (*GetPinResponseBody) GetAuthToken added in v0.2.0

func (o *GetPinResponseBody) GetAuthToken() *string

func (*GetPinResponseBody) GetClientIdentifier added in v0.2.0

func (o *GetPinResponseBody) GetClientIdentifier() *string

func (*GetPinResponseBody) GetCode added in v0.2.0

func (o *GetPinResponseBody) GetCode() *string

func (*GetPinResponseBody) GetCreatedAt added in v0.2.0

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

func (*GetPinResponseBody) GetExpiresAt added in v0.2.0

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

func (*GetPinResponseBody) GetExpiresIn added in v0.2.0

func (o *GetPinResponseBody) GetExpiresIn() *float64

func (*GetPinResponseBody) GetID added in v0.2.0

func (o *GetPinResponseBody) GetID() *float64

func (*GetPinResponseBody) GetLocation added in v0.2.0

func (o *GetPinResponseBody) GetLocation() *Location

func (*GetPinResponseBody) GetNewRegistration added in v0.2.0

func (o *GetPinResponseBody) GetNewRegistration() *string

func (*GetPinResponseBody) GetProduct added in v0.2.0

func (o *GetPinResponseBody) GetProduct() *string

func (*GetPinResponseBody) GetQr added in v0.2.0

func (o *GetPinResponseBody) GetQr() *string

func (*GetPinResponseBody) GetTrusted added in v0.2.0

func (o *GetPinResponseBody) GetTrusted() *bool

func (GetPinResponseBody) MarshalJSON added in v0.2.0

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

func (*GetPinResponseBody) UnmarshalJSON added in v0.2.0

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

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 GetPlaylistContentsRequest

type GetPlaylistContentsRequest struct {
	// the ID of the playlist
	PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
	// the metadata type of the item to return
	Type float64 `queryParam:"style=form,explode=true,name=type"`
}

func (*GetPlaylistContentsRequest) GetPlaylistID

func (o *GetPlaylistContentsRequest) GetPlaylistID() float64

func (*GetPlaylistContentsRequest) GetType

func (o *GetPlaylistContentsRequest) GetType() float64

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 GetRecentlyAddedMediaContainer

type GetRecentlyAddedMediaContainer 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        []Metadata `json:"Metadata,omitempty"`
}

func (*GetRecentlyAddedMediaContainer) GetAllowSync

func (o *GetRecentlyAddedMediaContainer) GetAllowSync() *bool

func (*GetRecentlyAddedMediaContainer) GetIdentifier

func (o *GetRecentlyAddedMediaContainer) GetIdentifier() *string

func (*GetRecentlyAddedMediaContainer) GetMediaTagPrefix

func (o *GetRecentlyAddedMediaContainer) GetMediaTagPrefix() *string

func (*GetRecentlyAddedMediaContainer) GetMediaTagVersion

func (o *GetRecentlyAddedMediaContainer) GetMediaTagVersion() *float64

func (*GetRecentlyAddedMediaContainer) GetMetadata

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

func (*GetRecentlyAddedMediaContainer) GetMixedParents

func (o *GetRecentlyAddedMediaContainer) GetMixedParents() *bool

func (*GetRecentlyAddedMediaContainer) GetSize

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
	// The 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 - The recently added content

func (*GetRecentlyAddedResponseBody) GetMediaContainer

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 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 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 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"`
	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                 *User              `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) 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() *User

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 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 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 GetTokenRequest added in v0.2.0

type GetTokenRequest struct {
	// The PinID to retrieve an access token for
	PinID string `pathParam:"style=simple,explode=false,name=pinID"`
	// The unique identifier for the client application
	// This is used to track the client application and its usage
	// (UUID, serial number, or other number unique per device)
	//
	XPlexClientIdentifier string `header:"style=simple,explode=false,name=X-Plex-Client-Identifier"`
}

func (*GetTokenRequest) GetPinID added in v0.2.0

func (o *GetTokenRequest) GetPinID() string

func (*GetTokenRequest) GetXPlexClientIdentifier added in v0.2.0

func (o *GetTokenRequest) GetXPlexClientIdentifier() string

type GetTokenResponse added in v0.2.0

type GetTokenResponse 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 (*GetTokenResponse) GetContentType added in v0.2.0

func (o *GetTokenResponse) GetContentType() string

func (*GetTokenResponse) GetRawResponse added in v0.2.0

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

func (*GetTokenResponse) GetStatusCode added in v0.2.0

func (o *GetTokenResponse) GetStatusCode() 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 Guids

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

func (*Guids) GetID

func (o *Guids) GetID() *string

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 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 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 Location added in v0.0.4

type Location struct {
	Code                       *string  `json:"code,omitempty"`
	EuropeanUnionMember        *bool    `json:"european_union_member,omitempty"`
	ContinentCode              *string  `json:"continent_code,omitempty"`
	Country                    *string  `json:"country,omitempty"`
	City                       *string  `json:"city,omitempty"`
	TimeZone                   *string  `json:"time_zone,omitempty"`
	PostalCode                 *float64 `json:"postal_code,omitempty"`
	InPrivacyRestrictedCountry *bool    `json:"in_privacy_restricted_country,omitempty"`
	Subdivisions               *string  `json:"subdivisions,omitempty"`
	Coordinates                *string  `json:"coordinates,omitempty"`
}

func (*Location) GetCity added in v0.2.0

func (o *Location) GetCity() *string

func (*Location) GetCode added in v0.2.0

func (o *Location) GetCode() *string

func (*Location) GetContinentCode added in v0.2.0

func (o *Location) GetContinentCode() *string

func (*Location) GetCoordinates added in v0.2.0

func (o *Location) GetCoordinates() *string

func (*Location) GetCountry added in v0.2.0

func (o *Location) GetCountry() *string

func (*Location) GetEuropeanUnionMember added in v0.2.0

func (o *Location) GetEuropeanUnionMember() *bool

func (*Location) GetInPrivacyRestrictedCountry added in v0.2.0

func (o *Location) GetInPrivacyRestrictedCountry() *bool

func (*Location) GetPostalCode added in v0.2.0

func (o *Location) GetPostalCode() *float64

func (*Location) GetSubdivisions added in v0.2.0

func (o *Location) GetSubdivisions() *string

func (*Location) GetTimeZone added in v0.2.0

func (o *Location) GetTimeZone() *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 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                    *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                  []Part   `json:"Part,omitempty"`
}

func (*Media) GetAspectRatio

func (o *Media) GetAspectRatio() *float64

func (*Media) GetAudioChannels

func (o *Media) GetAudioChannels() *float64

func (*Media) GetAudioCodec

func (o *Media) GetAudioCodec() *string

func (*Media) GetBitrate

func (o *Media) GetBitrate() *float64

func (*Media) GetContainer

func (o *Media) GetContainer() *string

func (*Media) GetDuration

func (o *Media) GetDuration() *float64

func (*Media) GetHas64bitOffsets

func (o *Media) GetHas64bitOffsets() *bool

func (*Media) GetHeight

func (o *Media) GetHeight() *float64

func (*Media) GetID

func (o *Media) GetID() *float64

func (*Media) GetOptimizedForStreaming

func (o *Media) GetOptimizedForStreaming() *float64

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() *float64

func (*Media) GetWidth

func (o *Media) GetWidth() *float64

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 Metadata

type Metadata 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                 []Media    `json:"Media,omitempty"`
	Genre                 []Genre    `json:"Genre,omitempty"`
	Director              []Director `json:"Director,omitempty"`
	Writer                []Writer   `json:"Writer,omitempty"`
	Country               []Country  `json:"Country,omitempty"`
	Role                  []Role     `json:"Role,omitempty"`
}

func (*Metadata) GetAddedAt

func (o *Metadata) GetAddedAt() *float64

func (*Metadata) GetAllowSync

func (o *Metadata) GetAllowSync() *bool

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) GetChapterSource

func (o *Metadata) GetChapterSource() *string

func (*Metadata) GetContentRating

func (o *Metadata) GetContentRating() *string

func (*Metadata) GetCountry

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

func (*Metadata) GetDirector

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

func (*Metadata) GetDuration

func (o *Metadata) GetDuration() *float64

func (*Metadata) GetGUID

func (o *Metadata) GetGUID() *string

func (*Metadata) GetGenre

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

func (*Metadata) GetKey

func (o *Metadata) GetKey() *string

func (*Metadata) GetLibrarySectionID

func (o *Metadata) GetLibrarySectionID() *float64

func (*Metadata) GetLibrarySectionTitle

func (o *Metadata) GetLibrarySectionTitle() *string

func (*Metadata) GetLibrarySectionUUID

func (o *Metadata) GetLibrarySectionUUID() *string

func (*Metadata) GetMedia

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

func (*Metadata) GetOriginallyAvailableAt

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

func (*Metadata) GetPrimaryExtraKey

func (o *Metadata) GetPrimaryExtraKey() *string

func (*Metadata) GetRating

func (o *Metadata) GetRating() *float64

func (*Metadata) GetRatingImage

func (o *Metadata) GetRatingImage() *string

func (*Metadata) GetRatingKey

func (o *Metadata) GetRatingKey() *float64

func (*Metadata) GetRole

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

func (*Metadata) GetStudio

func (o *Metadata) GetStudio() *string

func (*Metadata) GetSummary

func (o *Metadata) GetSummary() *string

func (*Metadata) GetTagline

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

func (o *Metadata) GetUpdatedAt() *float64

func (*Metadata) GetWriter

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

func (*Metadata) GetYear

func (o *Metadata) GetYear() *float64

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 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,omitempty"`
	Title *string `json:"title,omitempty"`
}

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 Option added in v0.2.0

type Option func(*Options, ...string) error

func WithRetries added in v0.2.0

func WithRetries(config utils.RetryConfig) 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 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.

type Options added in v0.2.0

type Options struct {
	ServerURL *string
	Retries   *utils.RetryConfig
}

type Part

type Part 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 (*Part) GetContainer

func (o *Part) GetContainer() *string

func (*Part) GetDuration

func (o *Part) GetDuration() *float64

func (*Part) GetFile

func (o *Part) GetFile() *string

func (*Part) GetHas64bitOffsets

func (o *Part) GetHas64bitOffsets() *bool

func (*Part) GetHasThumbnail

func (o *Part) GetHasThumbnail() *float64

func (*Part) GetID

func (o *Part) GetID() *float64

func (*Part) GetKey

func (o *Part) GetKey() *string

func (*Part) GetOptimizedForStreaming

func (o *Part) GetOptimizedForStreaming() *bool

func (*Part) GetSize

func (o *Part) GetSize() *float64

func (*Part) GetVideoProfile

func (o *Part) GetVideoProfile() *string

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 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 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 Producer added in v0.1.1

type Producer struct {
	ID     *int    `json:"id,omitempty"`
	Filter *string `json:"filter,omitempty"`
	Tag    *string `json:"tag,omitempty"`
	TagKey *string `json:"tagKey,omitempty"`
	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() *int

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 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 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 string

QueryParamType - type of playlist to create

const (
	QueryParamTypeAudio QueryParamType = "audio"
	QueryParamTypeVideo QueryParamType = "video"
	QueryParamTypePhoto QueryParamType = "photo"
)

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 {
	Image *string  `json:"image,omitempty"`
	Value *float64 `json:"value,omitempty"`
	Type  *string  `json:"type,omitempty"`
}

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() *float64

type RefreshLibraryRequest

type RefreshLibraryRequest struct {
	// the Id of the library to refresh
	SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
}

func (*RefreshLibraryRequest) GetSectionID

func (o *RefreshLibraryRequest) GetSectionID() float64

type RefreshLibraryResponse

type RefreshLibraryResponse 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 (*RefreshLibraryResponse) GetContentType

func (o *RefreshLibraryResponse) GetContentType() string

func (*RefreshLibraryResponse) GetRawResponse

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

func (*RefreshLibraryResponse) GetStatusCode

func (o *RefreshLibraryResponse) GetStatusCode() int

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 Role

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

func (*Role) GetTag

func (o *Role) GetTag() *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 SearchLibraryMediaContainer added in v0.1.2

type SearchLibraryMediaContainer 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        []SearchLibraryMetadata `json:"Metadata,omitempty"`
}

func (*SearchLibraryMediaContainer) GetAllowSync added in v0.1.2

func (o *SearchLibraryMediaContainer) GetAllowSync() *bool

func (*SearchLibraryMediaContainer) GetArt added in v0.1.2

func (o *SearchLibraryMediaContainer) GetArt() *string

func (*SearchLibraryMediaContainer) GetIdentifier added in v0.1.2

func (o *SearchLibraryMediaContainer) GetIdentifier() *string

func (*SearchLibraryMediaContainer) GetMediaTagPrefix added in v0.1.2

func (o *SearchLibraryMediaContainer) GetMediaTagPrefix() *string

func (*SearchLibraryMediaContainer) GetMediaTagVersion added in v0.1.2

func (o *SearchLibraryMediaContainer) GetMediaTagVersion() *int

func (*SearchLibraryMediaContainer) GetMetadata added in v0.1.2

func (*SearchLibraryMediaContainer) GetNocache added in v0.1.2

func (o *SearchLibraryMediaContainer) GetNocache() *bool

func (*SearchLibraryMediaContainer) GetSize added in v0.1.2

func (o *SearchLibraryMediaContainer) GetSize() *int

func (*SearchLibraryMediaContainer) GetThumb added in v0.1.2

func (o *SearchLibraryMediaContainer) GetThumb() *string

func (*SearchLibraryMediaContainer) GetTitle1 added in v0.1.2

func (o *SearchLibraryMediaContainer) GetTitle1() *string

func (*SearchLibraryMediaContainer) GetTitle2 added in v0.1.2

func (o *SearchLibraryMediaContainer) GetTitle2() *string

func (*SearchLibraryMediaContainer) GetViewGroup added in v0.1.2

func (o *SearchLibraryMediaContainer) GetViewGroup() *string

func (*SearchLibraryMediaContainer) GetViewMode added in v0.1.2

func (o *SearchLibraryMediaContainer) GetViewMode() *int

type SearchLibraryMetadata added in v0.1.2

type SearchLibraryMetadata 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 (*SearchLibraryMetadata) GetAddedAt added in v0.1.2

func (o *SearchLibraryMetadata) GetAddedAt() *int

func (*SearchLibraryMetadata) GetArt added in v0.1.2

func (o *SearchLibraryMetadata) GetArt() *string

func (*SearchLibraryMetadata) GetGUID added in v0.1.2

func (o *SearchLibraryMetadata) GetGUID() *string

func (*SearchLibraryMetadata) GetIndex added in v0.1.2

func (o *SearchLibraryMetadata) GetIndex() *int

func (*SearchLibraryMetadata) GetKey added in v0.1.2

func (o *SearchLibraryMetadata) GetKey() *string

func (*SearchLibraryMetadata) GetParentGUID added in v0.1.2

func (o *SearchLibraryMetadata) GetParentGUID() *string

func (*SearchLibraryMetadata) GetParentIndex added in v0.1.2

func (o *SearchLibraryMetadata) GetParentIndex() *int

func (*SearchLibraryMetadata) GetParentKey added in v0.1.2

func (o *SearchLibraryMetadata) GetParentKey() *string

func (*SearchLibraryMetadata) GetParentRatingKey added in v0.1.2

func (o *SearchLibraryMetadata) GetParentRatingKey() *string

func (*SearchLibraryMetadata) GetParentStudio added in v0.1.2

func (o *SearchLibraryMetadata) GetParentStudio() *string

func (*SearchLibraryMetadata) GetParentTheme added in v0.1.2

func (o *SearchLibraryMetadata) GetParentTheme() *string

func (*SearchLibraryMetadata) GetParentThumb added in v0.1.2

func (o *SearchLibraryMetadata) GetParentThumb() *string

func (*SearchLibraryMetadata) GetParentTitle added in v0.1.2

func (o *SearchLibraryMetadata) GetParentTitle() *string

func (*SearchLibraryMetadata) GetParentYear added in v0.1.2

func (o *SearchLibraryMetadata) GetParentYear() *int

func (*SearchLibraryMetadata) GetRatingKey added in v0.1.2

func (o *SearchLibraryMetadata) GetRatingKey() *string

func (*SearchLibraryMetadata) GetSummary added in v0.1.2

func (o *SearchLibraryMetadata) GetSummary() *string

func (*SearchLibraryMetadata) GetThumb added in v0.1.2

func (o *SearchLibraryMetadata) GetThumb() *string

func (*SearchLibraryMetadata) GetTitle added in v0.1.2

func (o *SearchLibraryMetadata) GetTitle() *string

func (*SearchLibraryMetadata) GetType added in v0.1.2

func (o *SearchLibraryMetadata) GetType() *string

func (*SearchLibraryMetadata) GetUpdatedAt added in v0.1.2

func (o *SearchLibraryMetadata) GetUpdatedAt() *int

type SearchLibraryRequest added in v0.1.2

type SearchLibraryRequest struct {
	// the Id of the library to query
	SectionID int64 `pathParam:"style=simple,explode=false,name=sectionId"`
	// Plex content type to search for
	Type Type `queryParam:"style=form,explode=true,name=type"`
}

func (*SearchLibraryRequest) GetSectionID added in v0.1.2

func (o *SearchLibraryRequest) GetSectionID() int64

func (*SearchLibraryRequest) GetType added in v0.1.2

func (o *SearchLibraryRequest) GetType() Type

type SearchLibraryResponse added in v0.1.2

type SearchLibraryResponse 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 *SearchLibraryResponseBody
}

func (*SearchLibraryResponse) GetContentType added in v0.1.2

func (o *SearchLibraryResponse) GetContentType() string

func (*SearchLibraryResponse) GetObject added in v0.1.2

func (*SearchLibraryResponse) GetRawResponse added in v0.1.2

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

func (*SearchLibraryResponse) GetStatusCode added in v0.1.2

func (o *SearchLibraryResponse) GetStatusCode() int

type SearchLibraryResponseBody added in v0.1.2

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

SearchLibraryResponseBody - The contents of the library by section and type

func (*SearchLibraryResponseBody) GetMediaContainer added in v0.1.2

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 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 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"`
	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 (*Sort) GetDefault added in v0.1.0

func (o *Sort) GetDefault() *string

func (*Sort) GetDefaultDirection added in v0.1.0

func (o *Sort) GetDefaultDirection() *string

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

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 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 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                   *int    `json:"id,omitempty"`
	StreamType           *int    `json:"streamType,omitempty"`
	Default              *bool   `json:"default,omitempty"`
	Codec                *string `json:"codec,omitempty"`
	Index                *int    `json:"index,omitempty"`
	Bitrate              *int    `json:"bitrate,omitempty"`
	BitDepth             *int    `json:"bitDepth,omitempty"`
	ChromaLocation       *string `json:"chromaLocation,omitempty"`
	ChromaSubsampling    *string `json:"chromaSubsampling,omitempty"`
	CodedHeight          *int    `json:"codedHeight,omitempty"`
	CodedWidth           *int    `json:"codedWidth,omitempty"`
	ColorPrimaries       *string `json:"colorPrimaries,omitempty"`
	ColorRange           *string `json:"colorRange,omitempty"`
	ColorSpace           *string `json:"colorSpace,omitempty"`
	ColorTrc             *string `json:"colorTrc,omitempty"`
	FrameRate            *int    `json:"frameRate,omitempty"`
	HasScalingMatrix     *bool   `json:"hasScalingMatrix,omitempty"`
	Height               *int    `json:"height,omitempty"`
	Level                *int    `json:"level,omitempty"`
	Profile              *string `json:"profile,omitempty"`
	RefFrames            *int    `json:"refFrames,omitempty"`
	ScanType             *string `json:"scanType,omitempty"`
	StreamIdentifier     *string `json:"streamIdentifier,omitempty"`
	Width                *int    `json:"width,omitempty"`
	DisplayTitle         *string `json:"displayTitle,omitempty"`
	ExtendedDisplayTitle *string `json:"extendedDisplayTitle,omitempty"`
	Selected             *bool   `json:"selected,omitempty"`
	Channels             *int    `json:"channels,omitempty"`
	Language             *string `json:"language,omitempty"`
	LanguageTag          *string `json:"languageTag,omitempty"`
	LanguageCode         *string `json:"languageCode,omitempty"`
	SamplingRate         *int    `json:"samplingRate,omitempty"`
}

func (*Stream) GetBitDepth

func (o *Stream) GetBitDepth() *int

func (*Stream) GetBitrate

func (o *Stream) GetBitrate() *int

func (*Stream) GetChannels added in v0.1.1

func (o *Stream) GetChannels() *int

func (*Stream) GetChromaLocation

func (o *Stream) GetChromaLocation() *string

func (*Stream) GetChromaSubsampling

func (o *Stream) GetChromaSubsampling() *string

func (*Stream) GetCodec

func (o *Stream) GetCodec() *string

func (*Stream) GetCodedHeight

func (o *Stream) GetCodedHeight() *int

func (*Stream) GetCodedWidth

func (o *Stream) GetCodedWidth() *int

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) GetExtendedDisplayTitle

func (o *Stream) GetExtendedDisplayTitle() *string

func (*Stream) GetFrameRate

func (o *Stream) GetFrameRate() *int

func (*Stream) GetHasScalingMatrix added in v0.1.1

func (o *Stream) GetHasScalingMatrix() *bool

func (*Stream) GetHeight

func (o *Stream) GetHeight() *int

func (*Stream) GetID

func (o *Stream) GetID() *int

func (*Stream) GetIndex

func (o *Stream) GetIndex() *int

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() *int

func (*Stream) GetProfile

func (o *Stream) GetProfile() *string

func (*Stream) GetRefFrames

func (o *Stream) GetRefFrames() *int

func (*Stream) GetSamplingRate added in v0.1.1

func (o *Stream) GetSamplingRate() *int

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() *int

func (*Stream) GetWidth

func (o *Stream) GetWidth() *int

type Tag added in v0.1.1

type Tag string

Tag - A key representing a specific tag within the section.

const (
	TagAll            Tag = "all"
	TagUnwatched      Tag = "unwatched"
	TagNewest         Tag = "newest"
	TagRecentlyAdded  Tag = "recentlyAdded"
	TagRecentlyViewed Tag = "recentlyViewed"
	TagOnDeck         Tag = "onDeck"
	TagCollection     Tag = "collection"
	TagEdition        Tag = "edition"
	TagGenre          Tag = "genre"
	TagYear           Tag = "year"
	TagDecade         Tag = "decade"
	TagDirector       Tag = "director"
	TagActor          Tag = "actor"
	TagCountry        Tag = "country"
	TagContentRating  Tag = "contentRating"
	TagRating         Tag = "rating"
	TagResolution     Tag = "resolution"
	TagFirstCharacter Tag = "firstCharacter"
	TagFolder         Tag = "folder"
)

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 Type

type Type int64

Type - Plex content type to search for

const (
	TypeOne   Type = 1
	TypeTwo   Type = 2
	TypeThree Type = 3
	TypeFour  Type = 4
)

func (Type) ToPointer

func (e Type) ToPointer() *Type

func (*Type) UnmarshalJSON

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

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 Force `queryParam:"style=form,explode=true,name=force"`
}

func (*UploadPlaylistRequest) GetForce

func (o *UploadPlaylistRequest) GetForce() Force

func (*UploadPlaylistRequest) GetPath

func (o *UploadPlaylistRequest) GetPath() string

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 {
	ID    *string `json:"id,omitempty"`
	Thumb *string `json:"thumb,omitempty"`
	Title *string `json:"title,omitempty"`
}

func (*User) GetID added in v0.1.1

func (o *User) GetID() *string

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

type Writer

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

func (*Writer) GetTag

func (o *Writer) GetTag() *string

Jump to

Keyboard shortcuts

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