// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

// Player - Information about the player being used for playback
type Player struct {
	// The title of the client
	Title *string `json:"title,omitempty"`
	// The remote address
	Address *string `json:"address,omitempty"`
	// Indicating if the client is playing from the local LAN
	Local *bool `json:"local,omitempty"`
	// The identifier of the client
	MachineIdentifier *string `json:"machineIdentifier,omitempty"`
	// The model of the client
	Model *string `json:"model,omitempty"`
	// The platform of the client
	Platform *string `json:"platform,omitempty"`
	// The platformVersion of the client
	PlatformVersion *string `json:"platformVersion,omitempty"`
	// The product name of the client
	Product *string `json:"product,omitempty"`
	// Indicating if the client is playing over a relay connection
	Relayed *bool `json:"relayed,omitempty"`
	// The client's public address
	RemotePublicAddress *string `json:"remotePublicAddress,omitempty"`
	// Indicating if the client is playing over HTTPS
	Secure *bool `json:"secure,omitempty"`
	// The client's last reported state
	State *string `json:"state,omitempty"`
	// The id of the user
	UserID *int64 `json:"userID,omitempty"`
	// The vendor of the client
	Vendor *string `json:"vendor,omitempty"`
	// The version of the client
	Version *string `json:"version,omitempty"`
}

func (p *Player) GetTitle() *string {
	if p == nil {
		return nil
	}
	return p.Title
}

func (p *Player) GetAddress() *string {
	if p == nil {
		return nil
	}
	return p.Address
}

func (p *Player) GetLocal() *bool {
	if p == nil {
		return nil
	}
	return p.Local
}

func (p *Player) GetMachineIdentifier() *string {
	if p == nil {
		return nil
	}
	return p.MachineIdentifier
}

func (p *Player) GetModel() *string {
	if p == nil {
		return nil
	}
	return p.Model
}

func (p *Player) GetPlatform() *string {
	if p == nil {
		return nil
	}
	return p.Platform
}

func (p *Player) GetPlatformVersion() *string {
	if p == nil {
		return nil
	}
	return p.PlatformVersion
}

func (p *Player) GetProduct() *string {
	if p == nil {
		return nil
	}
	return p.Product
}

func (p *Player) GetRelayed() *bool {
	if p == nil {
		return nil
	}
	return p.Relayed
}

func (p *Player) GetRemotePublicAddress() *string {
	if p == nil {
		return nil
	}
	return p.RemotePublicAddress
}

func (p *Player) GetSecure() *bool {
	if p == nil {
		return nil
	}
	return p.Secure
}

func (p *Player) GetState() *string {
	if p == nil {
		return nil
	}
	return p.State
}

func (p *Player) GetUserID() *int64 {
	if p == nil {
		return nil
	}
	return p.UserID
}

func (p *Player) GetVendor() *string {
	if p == nil {
		return nil
	}
	return p.Vendor
}

func (p *Player) GetVersion() *string {
	if p == nil {
		return nil
	}
	return p.Version
}
