operations

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (*AddPlaylistContentsResponse) GetContentType

func (o *AddPlaylistContentsResponse) GetContentType() string

func (*AddPlaylistContentsResponse) GetRawResponse

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

func (*AddPlaylistContentsResponse) GetStatusCode

func (o *AddPlaylistContentsResponse) GetStatusCode() int

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 CreatePlaylistRequest

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

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
}

func (*CreatePlaylistResponse) GetContentType

func (o *CreatePlaylistResponse) GetContentType() string

func (*CreatePlaylistResponse) GetRawResponse

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

func (*CreatePlaylistResponse) GetStatusCode

func (o *CreatePlaylistResponse) GetStatusCode() int

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 Force

type Force int64

Force - 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
	ResponseBodies []ResponseBody
}

func (*GetAvailableClientsResponse) GetContentType

func (o *GetAvailableClientsResponse) GetContentType() string

func (*GetAvailableClientsResponse) GetRawResponse

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

func (*GetAvailableClientsResponse) GetResponseBodies

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

func (*GetAvailableClientsResponse) GetStatusCode

func (o *GetAvailableClientsResponse) GetStatusCode() int

type GetButlerTasksResponse

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

func (*GetButlerTasksResponse) GetContentType

func (o *GetButlerTasksResponse) GetContentType() string

func (*GetButlerTasksResponse) GetObject

func (*GetButlerTasksResponse) GetRawResponse

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

func (*GetButlerTasksResponse) GetStatusCode

func (o *GetButlerTasksResponse) GetStatusCode() int

type GetButlerTasksResponseBody

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

GetButlerTasksResponseBody - All butler tasks

func (*GetButlerTasksResponseBody) GetButlerTasks

func (o *GetButlerTasksResponseBody) GetButlerTasks() *ButlerTasks

type GetCommonLibraryItemsRequest

type GetCommonLibraryItemsRequest struct {
	// the Id of the library to query
	SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
	// item type
	Type float64 `queryParam:"style=form,explode=true,name=type"`
	// the filter parameter
	Filter *string `queryParam:"style=form,explode=true,name=filter"`
}

func (*GetCommonLibraryItemsRequest) GetFilter

func (o *GetCommonLibraryItemsRequest) GetFilter() *string

func (*GetCommonLibraryItemsRequest) GetSectionID

func (o *GetCommonLibraryItemsRequest) GetSectionID() float64

func (*GetCommonLibraryItemsRequest) GetType

type GetCommonLibraryItemsResponse

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

func (o *GetCommonLibraryItemsResponse) GetContentType() string

func (*GetCommonLibraryItemsResponse) GetRawResponse

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

func (*GetCommonLibraryItemsResponse) GetStatusCode

func (o *GetCommonLibraryItemsResponse) GetStatusCode() int

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

func (*GetGlobalHubsResponse) GetContentType

func (o *GetGlobalHubsResponse) GetContentType() string

func (*GetGlobalHubsResponse) GetRawResponse

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

func (*GetGlobalHubsResponse) GetStatusCode

func (o *GetGlobalHubsResponse) GetStatusCode() int

type GetLatestLibraryItemsRequest

type GetLatestLibraryItemsRequest struct {
	// the Id of the library to query
	SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
	// item type
	Type float64 `queryParam:"style=form,explode=true,name=type"`
	// the filter parameter
	Filter *string `queryParam:"style=form,explode=true,name=filter"`
}

func (*GetLatestLibraryItemsRequest) GetFilter

func (o *GetLatestLibraryItemsRequest) GetFilter() *string

func (*GetLatestLibraryItemsRequest) GetSectionID

func (o *GetLatestLibraryItemsRequest) GetSectionID() float64

func (*GetLatestLibraryItemsRequest) GetType

type GetLatestLibraryItemsResponse

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

func (o *GetLatestLibraryItemsResponse) GetContentType() string

func (*GetLatestLibraryItemsResponse) GetRawResponse

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

func (*GetLatestLibraryItemsResponse) GetStatusCode

func (o *GetLatestLibraryItemsResponse) GetStatusCode() int

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
}

func (*GetLibrariesResponse) GetContentType

func (o *GetLibrariesResponse) GetContentType() string

func (*GetLibrariesResponse) GetRawResponse

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

func (*GetLibrariesResponse) GetStatusCode

func (o *GetLibrariesResponse) GetStatusCode() int

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
}

func (*GetLibraryHubsResponse) GetContentType

func (o *GetLibraryHubsResponse) GetContentType() string

func (*GetLibraryHubsResponse) GetRawResponse

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

func (*GetLibraryHubsResponse) GetStatusCode

func (o *GetLibraryHubsResponse) GetStatusCode() int

type GetLibraryItemsRequest

type GetLibraryItemsRequest struct {
	// the Id of the library to query
	SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
	// item type
	Type *float64 `queryParam:"style=form,explode=true,name=type"`
	// the filter parameter
	Filter *string `queryParam:"style=form,explode=true,name=filter"`
}

func (*GetLibraryItemsRequest) GetFilter

func (o *GetLibraryItemsRequest) GetFilter() *string

func (*GetLibraryItemsRequest) GetSectionID

func (o *GetLibraryItemsRequest) GetSectionID() float64

func (*GetLibraryItemsRequest) GetType

func (o *GetLibraryItemsRequest) GetType() *float64

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
}

func (*GetLibraryItemsResponse) GetContentType

func (o *GetLibraryItemsResponse) GetContentType() string

func (*GetLibraryItemsResponse) GetRawResponse

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

func (*GetLibraryItemsResponse) GetStatusCode

func (o *GetLibraryItemsResponse) GetStatusCode() 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
}

func (*GetLibraryResponse) GetContentType

func (o *GetLibraryResponse) GetContentType() string

func (*GetLibraryResponse) GetRawResponse

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

func (*GetLibraryResponse) GetStatusCode

func (o *GetLibraryResponse) GetStatusCode() 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
}

func (*GetMetadataChildrenResponse) GetContentType

func (o *GetMetadataChildrenResponse) GetContentType() string

func (*GetMetadataChildrenResponse) GetRawResponse

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

func (*GetMetadataChildrenResponse) GetStatusCode

func (o *GetMetadataChildrenResponse) GetStatusCode() int

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
}

func (*GetMetadataResponse) GetContentType

func (o *GetMetadataResponse) GetContentType() string

func (*GetMetadataResponse) GetRawResponse

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

func (*GetMetadataResponse) GetStatusCode

func (o *GetMetadataResponse) GetStatusCode() int

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 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                 []Guids          `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() []Guids

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       []Stream `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() []Stream

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

func (*GetPlaylistContentsResponse) GetContentType

func (o *GetPlaylistContentsResponse) GetContentType() string

func (*GetPlaylistContentsResponse) GetRawResponse

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

func (*GetPlaylistContentsResponse) GetStatusCode

func (o *GetPlaylistContentsResponse) GetStatusCode() 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
}

func (*GetPlaylistResponse) GetContentType

func (o *GetPlaylistResponse) GetContentType() string

func (*GetPlaylistResponse) GetRawResponse

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

func (*GetPlaylistResponse) GetStatusCode

func (o *GetPlaylistResponse) GetStatusCode() 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
}

func (*GetPlaylistsResponse) GetContentType

func (o *GetPlaylistsResponse) GetContentType() string

func (*GetPlaylistsResponse) GetRawResponse

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

func (*GetPlaylistsResponse) GetStatusCode

func (o *GetPlaylistsResponse) GetStatusCode() int

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 Transcode Sessions
	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 Transcode Sessions

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

func (*GetServerPreferencesResponse) GetContentType

func (o *GetServerPreferencesResponse) GetContentType() string

func (*GetServerPreferencesResponse) GetRawResponse

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

func (*GetServerPreferencesResponse) GetStatusCode

func (o *GetServerPreferencesResponse) GetStatusCode() int

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
}

func (*GetSessionHistoryResponse) GetContentType

func (o *GetSessionHistoryResponse) GetContentType() string

func (*GetSessionHistoryResponse) GetRawResponse

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

func (*GetSessionHistoryResponse) GetStatusCode

func (o *GetSessionHistoryResponse) GetStatusCode() int

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
}

func (*GetSessionsResponse) GetContentType

func (o *GetSessionsResponse) GetContentType() string

func (*GetSessionsResponse) GetRawResponse

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

func (*GetSessionsResponse) GetStatusCode

func (o *GetSessionsResponse) GetStatusCode() 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 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 GetTranscodeSessionsMediaContainer

type GetTranscodeSessionsMediaContainer struct {
	Size             *float64           `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 GetTransientTokenRequest

type GetTransientTokenRequest struct {
	// `delegation` - This is the only supported `type` parameter.
	Type QueryParamType `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 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
}

func (*GetUpdateStatusResponse) GetContentType

func (o *GetUpdateStatusResponse) GetContentType() string

func (*GetUpdateStatusResponse) GetRawResponse

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

func (*GetUpdateStatusResponse) GetStatusCode

func (o *GetUpdateStatusResponse) GetStatusCode() int

type Guids

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

func (*Guids) GetID

func (o *Guids) GetID() *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 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 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 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 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 - `delegation` - This is the only supported `type` parameter.

const (
	QueryParamTypeDelegation QueryParamType = "delegation"
)

func (QueryParamType) ToPointer

func (e QueryParamType) ToPointer() *QueryParamType

func (*QueryParamType) UnmarshalJSON

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

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 ResponseBody

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

func (*ResponseBody) GetMediaContainer

func (o *ResponseBody) GetMediaContainer() *GetAvailableClientsMediaContainer

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 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 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 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 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                   *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 (*Stream) GetBitDepth

func (o *Stream) GetBitDepth() *float64

func (*Stream) GetBitrate

func (o *Stream) GetBitrate() *float64

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

func (*Stream) GetCodedWidth

func (o *Stream) GetCodedWidth() *float64

func (*Stream) GetColorRange

func (o *Stream) GetColorRange() *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() *float64

func (*Stream) GetHeight

func (o *Stream) GetHeight() *float64

func (*Stream) GetID

func (o *Stream) GetID() *float64

func (*Stream) GetIndex

func (o *Stream) GetIndex() *float64

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

func (*Stream) GetProfile

func (o *Stream) GetProfile() *string

func (*Stream) GetRefFrames

func (o *Stream) GetRefFrames() *float64

func (*Stream) GetStreamType

func (o *Stream) GetStreamType() *float64

func (*Stream) GetWidth

func (o *Stream) GetWidth() *float64

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                 *float64 `json:"size,omitempty"`
	Speed                *float64 `json:"speed,omitempty"`
	Error                *bool    `json:"error,omitempty"`
	Duration             *float64 `json:"duration,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"`
	Protocol             *string  `json:"protocol,omitempty"`
	Container            *string  `json:"container,omitempty"`
	VideoCodec           *string  `json:"videoCodec,omitempty"`
	AudioCodec           *string  `json:"audioCodec,omitempty"`
	AudioChannels        *float64 `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() *float64

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

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

func (o *TranscodeSession) GetSize() *float64

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

Type - type of playlist to create

const (
	TypeAudio Type = "audio"
	TypeVideo Type = "video"
	TypePhoto Type = "photo"
)

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

func (*UpdatePlaylistRequest) GetPlaylistID

func (o *UpdatePlaylistRequest) GetPlaylistID() float64

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 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
JackTT - Gopher 🇻🇳