globals

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Globals

type Globals struct {
	// Indicates the client accepts the indicated media types
	Accepts *components.Accepts `default:"application/xml" header:"style=simple,explode=false,name=accepts"`
	// An opaque identifier unique to the client
	ClientIdentifier *string `header:"style=simple,explode=false,name=X-Plex-Client-Identifier"`
	// The name of the client product
	Product *string `header:"style=simple,explode=false,name=X-Plex-Product"`
	// The version of the client application
	Version *string `header:"style=simple,explode=false,name=X-Plex-Version"`
	// The platform of the client
	Platform *string `header:"style=simple,explode=false,name=X-Plex-Platform"`
	// The version of the platform
	PlatformVersion *string `header:"style=simple,explode=false,name=X-Plex-Platform-Version"`
	// A relatively friendly name for the client device
	Device *string `header:"style=simple,explode=false,name=X-Plex-Device"`
	// A potentially less friendly identifier for the device model
	Model *string `header:"style=simple,explode=false,name=X-Plex-Model"`
	// The device vendor
	DeviceVendor *string `header:"style=simple,explode=false,name=X-Plex-Device-Vendor"`
	// A friendly name for the client
	DeviceName *string `header:"style=simple,explode=false,name=X-Plex-Device-Name"`
	// The marketplace on which the client application is distributed
	Marketplace *string `header:"style=simple,explode=false,name=X-Plex-Marketplace"`
}

func (*Globals) GetAccepts added in v0.26.0

func (g *Globals) GetAccepts() *components.Accepts

func (*Globals) GetClientIdentifier added in v0.26.0

func (g *Globals) GetClientIdentifier() *string

func (*Globals) GetDevice added in v0.26.0

func (g *Globals) GetDevice() *string

func (*Globals) GetDeviceName added in v0.11.11

func (g *Globals) GetDeviceName() *string

func (*Globals) GetDeviceVendor added in v0.26.0

func (g *Globals) GetDeviceVendor() *string

func (*Globals) GetMarketplace added in v0.26.0

func (g *Globals) GetMarketplace() *string

func (*Globals) GetModel added in v0.26.0

func (g *Globals) GetModel() *string

func (*Globals) GetPlatform added in v0.15.0

func (g *Globals) GetPlatform() *string

func (*Globals) GetPlatformVersion added in v0.26.0

func (g *Globals) GetPlatformVersion() *string

func (*Globals) GetProduct added in v0.26.0

func (g *Globals) GetProduct() *string

func (*Globals) GetVersion added in v0.26.0

func (g *Globals) GetVersion() *string

func (Globals) MarshalJSON added in v0.26.0

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

func (*Globals) UnmarshalJSON added in v0.26.0

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

Jump to

Keyboard shortcuts

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