systemproperties

package
v0.0.0-...-cbcd650 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package systemproperties is a generated SystemProperties package.

Index

Constants

View Source
const (
	ServiceURN     = "urn:schemas-upnp-org:service:SystemProperties:1"
	EncodingSchema = "http://schemas.xmlsoap.org/soap/encoding/"
	EnvelopeSchema = "http://schemas.xmlsoap.org/soap/envelope/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAccountXArgs

type AddAccountXArgs struct {
	Xmlns           string `xml:"xmlns:u,attr"`
	AccountType     uint32 `xml:"AccountType"`
	AccountID       string `xml:"AccountID"`
	AccountPassword string `xml:"AccountPassword"`
}

type AddAccountXResponse

type AddAccountXResponse struct {
	AccountUDN string `xml:"AccountUDN"`
}

type AddOAuthAccountXArgs

type AddOAuthAccountXArgs struct {
	Xmlns             string `xml:"xmlns:u,attr"`
	AccountType       uint32 `xml:"AccountType"`
	AccountToken      string `xml:"AccountToken"`
	AccountKey        string `xml:"AccountKey"`
	OAuthDeviceID     string `xml:"OAuthDeviceID"`
	AuthorizationCode string `xml:"AuthorizationCode"`
	RedirectURI       string `xml:"RedirectURI"`
	UserIdHashCode    string `xml:"UserIdHashCode"`
	AccountTier       uint32 `xml:"AccountTier"`
}

type AddOAuthAccountXResponse

type AddOAuthAccountXResponse struct {
	AccountUDN      string `xml:"AccountUDN"`
	AccountNickname string `xml:"AccountNickname"`
}

type CustomerID

type CustomerID string

type DoPostUpdateTasksArgs

type DoPostUpdateTasksArgs struct {
	Xmlns string `xml:"xmlns:u,attr"`
}

type DoPostUpdateTasksResponse

type DoPostUpdateTasksResponse struct {
}

type EditAccountMdArgs

type EditAccountMdArgs struct {
	Xmlns        string `xml:"xmlns:u,attr"`
	AccountType  uint32 `xml:"AccountType"`
	AccountID    string `xml:"AccountID"`
	NewAccountMd string `xml:"NewAccountMd"`
}

type EditAccountMdResponse

type EditAccountMdResponse struct {
}

type EditAccountPasswordXArgs

type EditAccountPasswordXArgs struct {
	Xmlns              string `xml:"xmlns:u,attr"`
	AccountType        uint32 `xml:"AccountType"`
	AccountID          string `xml:"AccountID"`
	NewAccountPassword string `xml:"NewAccountPassword"`
}

type EditAccountPasswordXResponse

type EditAccountPasswordXResponse struct {
}

type EnableRDMArgs

type EnableRDMArgs struct {
	Xmlns    string `xml:"xmlns:u,attr"`
	RDMValue bool   `xml:"RDMValue"`
}

type EnableRDMResponse

type EnableRDMResponse struct {
}

type GetRDMArgs

type GetRDMArgs struct {
	Xmlns string `xml:"xmlns:u,attr"`
}

type GetRDMResponse

type GetRDMResponse struct {
	RDMValue bool `xml:"RDMValue"`
}

type GetStringArgs

type GetStringArgs struct {
	Xmlns        string `xml:"xmlns:u,attr"`
	VariableName string `xml:"VariableName"`
}

type GetStringResponse

type GetStringResponse struct {
	StringValue string `xml:"StringValue"`
}

type GetWebCodeArgs

type GetWebCodeArgs struct {
	Xmlns       string `xml:"xmlns:u,attr"`
	AccountType uint32 `xml:"AccountType"`
}

type GetWebCodeResponse

type GetWebCodeResponse struct {
	WebCode string `xml:"WebCode"`
}

type Property

type Property struct {
	XMLName        xml.Name        `xml:"property"`
	CustomerID     *CustomerID     `xml:"CustomerID"`
	UpdateID       *UpdateID       `xml:"UpdateID"`
	UpdateIDX      *UpdateIDX      `xml:"UpdateIDX"`
	VoiceUpdateID  *VoiceUpdateID  `xml:"VoiceUpdateID"`
	ThirdPartyHash *ThirdPartyHash `xml:"ThirdPartyHash"`
}

type ProvisionCredentialedTrialAccountXArgs

type ProvisionCredentialedTrialAccountXArgs struct {
	Xmlns           string `xml:"xmlns:u,attr"`
	AccountType     uint32 `xml:"AccountType"`
	AccountID       string `xml:"AccountID"`
	AccountPassword string `xml:"AccountPassword"`
}

type ProvisionCredentialedTrialAccountXResponse

type ProvisionCredentialedTrialAccountXResponse struct {
	IsExpired  bool   `xml:"IsExpired"`
	AccountUDN string `xml:"AccountUDN"`
}

type RefreshAccountCredentialsXArgs

type RefreshAccountCredentialsXArgs struct {
	Xmlns        string `xml:"xmlns:u,attr"`
	AccountType  uint32 `xml:"AccountType"`
	AccountUID   uint32 `xml:"AccountUID"`
	AccountToken string `xml:"AccountToken"`
	AccountKey   string `xml:"AccountKey"`
}

type RefreshAccountCredentialsXResponse

type RefreshAccountCredentialsXResponse struct {
}

type RemoveAccountArgs

type RemoveAccountArgs struct {
	Xmlns       string `xml:"xmlns:u,attr"`
	AccountType uint32 `xml:"AccountType"`
	AccountID   string `xml:"AccountID"`
}

type RemoveAccountResponse

type RemoveAccountResponse struct {
}

type RemoveArgs

type RemoveArgs struct {
	Xmlns        string `xml:"xmlns:u,attr"`
	VariableName string `xml:"VariableName"`
}

type RemoveResponse

type RemoveResponse struct {
}

type ReplaceAccountXArgs

type ReplaceAccountXArgs struct {
	Xmlns              string `xml:"xmlns:u,attr"`
	AccountUDN         string `xml:"AccountUDN"`
	NewAccountID       string `xml:"NewAccountID"`
	NewAccountPassword string `xml:"NewAccountPassword"`
	AccountToken       string `xml:"AccountToken"`
	AccountKey         string `xml:"AccountKey"`
	OAuthDeviceID      string `xml:"OAuthDeviceID"`
}

type ReplaceAccountXResponse

type ReplaceAccountXResponse struct {
	NewAccountUDN string `xml:"NewAccountUDN"`
}

type ResetThirdPartyCredentialsArgs

type ResetThirdPartyCredentialsArgs struct {
	Xmlns string `xml:"xmlns:u,attr"`
}

type ResetThirdPartyCredentialsResponse

type ResetThirdPartyCredentialsResponse struct {
}

type Service

type Service struct {
	CustomerID     *CustomerID
	UpdateID       *UpdateID
	UpdateIDX      *UpdateIDX
	VoiceUpdateID  *VoiceUpdateID
	ThirdPartyHash *ThirdPartyHash
	// contains filtered or unexported fields
}

func NewService

func NewService(opts ...ServiceOption) *Service

func (*Service) AddAccountX

func (s *Service) AddAccountX(args *AddAccountXArgs) (*AddAccountXResponse, error)

func (*Service) AddOAuthAccountX

func (s *Service) AddOAuthAccountX(args *AddOAuthAccountXArgs) (*AddOAuthAccountXResponse, error)

func (*Service) Client

func (s *Service) Client() *http.Client

func (*Service) ControlEndpoint

func (s *Service) ControlEndpoint() *url.URL

func (*Service) DoPostUpdateTasks

func (s *Service) DoPostUpdateTasks(args *DoPostUpdateTasksArgs) (*DoPostUpdateTasksResponse, error)

func (*Service) EditAccountMd

func (s *Service) EditAccountMd(args *EditAccountMdArgs) (*EditAccountMdResponse, error)

func (*Service) EditAccountPasswordX

func (s *Service) EditAccountPasswordX(args *EditAccountPasswordXArgs) (*EditAccountPasswordXResponse, error)

func (*Service) EnableRDM

func (s *Service) EnableRDM(args *EnableRDMArgs) (*EnableRDMResponse, error)

func (*Service) EventEndpoint

func (s *Service) EventEndpoint() *url.URL

func (*Service) GetRDM

func (s *Service) GetRDM(args *GetRDMArgs) (*GetRDMResponse, error)

func (*Service) GetString

func (s *Service) GetString(args *GetStringArgs) (*GetStringResponse, error)

func (*Service) GetWebCode

func (s *Service) GetWebCode(args *GetWebCodeArgs) (*GetWebCodeResponse, error)

func (*Service) Location

func (s *Service) Location() *url.URL

func (*Service) ParseEvent

func (zp *Service) ParseEvent(body []byte) []interface{}

func (*Service) RefreshAccountCredentialsX

func (s *Service) RefreshAccountCredentialsX(args *RefreshAccountCredentialsXArgs) (*RefreshAccountCredentialsXResponse, error)

func (*Service) Remove

func (s *Service) Remove(args *RemoveArgs) (*RemoveResponse, error)

func (*Service) RemoveAccount

func (s *Service) RemoveAccount(args *RemoveAccountArgs) (*RemoveAccountResponse, error)

func (*Service) ReplaceAccountX

func (s *Service) ReplaceAccountX(args *ReplaceAccountXArgs) (*ReplaceAccountXResponse, error)

func (*Service) ResetThirdPartyCredentials

func (s *Service) ResetThirdPartyCredentials(args *ResetThirdPartyCredentialsArgs) (*ResetThirdPartyCredentialsResponse, error)

func (*Service) SetAccountNicknameX

func (s *Service) SetAccountNicknameX(args *SetAccountNicknameXArgs) (*SetAccountNicknameXResponse, error)

func (*Service) SetString

func (s *Service) SetString(args *SetStringArgs) (*SetStringResponse, error)

type ServiceOption

type ServiceOption func(*Service)

func WithClient

func WithClient(c *http.Client) ServiceOption

func WithLocation

func WithLocation(u *url.URL) ServiceOption

type SetAccountNicknameXArgs

type SetAccountNicknameXArgs struct {
	Xmlns           string `xml:"xmlns:u,attr"`
	AccountUDN      string `xml:"AccountUDN"`
	AccountNickname string `xml:"AccountNickname"`
}

type SetAccountNicknameXResponse

type SetAccountNicknameXResponse struct {
}

type SetStringArgs

type SetStringArgs struct {
	Xmlns        string `xml:"xmlns:u,attr"`
	VariableName string `xml:"VariableName"`
	StringValue  string `xml:"StringValue"`
}

type SetStringResponse

type SetStringResponse struct {
}

type ThirdPartyHash

type ThirdPartyHash string

type UpdateID

type UpdateID uint32

type UpdateIDX

type UpdateIDX uint32

type UpnpEvent

type UpnpEvent struct {
	XMLName      xml.Name   `xml:"propertyset"`
	XMLNameSpace string     `xml:"xmlns:e,attr"`
	Properties   []Property `xml:"property"`
}

type VoiceUpdateID

type VoiceUpdateID uint32

Jump to

Keyboard shortcuts

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