systemproperties

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 Body

type Body struct {
	XMLName                            xml.Name                                `xml:"s:Body"`
	SetString                          *SetStringArgs                          `xml:"u:SetString,omitempty"`
	GetString                          *GetStringArgs                          `xml:"u:GetString,omitempty"`
	Remove                             *RemoveArgs                             `xml:"u:Remove,omitempty"`
	GetWebCode                         *GetWebCodeArgs                         `xml:"u:GetWebCode,omitempty"`
	ProvisionCredentialedTrialAccountX *ProvisionCredentialedTrialAccountXArgs `xml:"u:ProvisionCredentialedTrialAccountX,omitempty"`
	AddAccountX                        *AddAccountXArgs                        `xml:"u:AddAccountX,omitempty"`
	AddOAuthAccountX                   *AddOAuthAccountXArgs                   `xml:"u:AddOAuthAccountX,omitempty"`
	RemoveAccount                      *RemoveAccountArgs                      `xml:"u:RemoveAccount,omitempty"`
	EditAccountPasswordX               *EditAccountPasswordXArgs               `xml:"u:EditAccountPasswordX,omitempty"`
	SetAccountNicknameX                *SetAccountNicknameXArgs                `xml:"u:SetAccountNicknameX,omitempty"`
	RefreshAccountCredentialsX         *RefreshAccountCredentialsXArgs         `xml:"u:RefreshAccountCredentialsX,omitempty"`
	EditAccountMd                      *EditAccountMdArgs                      `xml:"u:EditAccountMd,omitempty"`
	DoPostUpdateTasks                  *DoPostUpdateTasksArgs                  `xml:"u:DoPostUpdateTasks,omitempty"`
	ResetThirdPartyCredentials         *ResetThirdPartyCredentialsArgs         `xml:"u:ResetThirdPartyCredentials,omitempty"`
	EnableRDM                          *EnableRDMArgs                          `xml:"u:EnableRDM,omitempty"`
	GetRDM                             *GetRDMArgs                             `xml:"u:GetRDM,omitempty"`
	ReplaceAccountX                    *ReplaceAccountXArgs                    `xml:"u:ReplaceAccountX,omitempty"`
}

type BodyResponse

type BodyResponse struct {
	XMLName                            xml.Name                                    `xml:"Body"`
	SetString                          *SetStringResponse                          `xml:"SetStringResponse,omitempty"`
	GetString                          *GetStringResponse                          `xml:"GetStringResponse,omitempty"`
	Remove                             *RemoveResponse                             `xml:"RemoveResponse,omitempty"`
	GetWebCode                         *GetWebCodeResponse                         `xml:"GetWebCodeResponse,omitempty"`
	ProvisionCredentialedTrialAccountX *ProvisionCredentialedTrialAccountXResponse `xml:"ProvisionCredentialedTrialAccountXResponse,omitempty"`
	AddAccountX                        *AddAccountXResponse                        `xml:"AddAccountXResponse,omitempty"`
	AddOAuthAccountX                   *AddOAuthAccountXResponse                   `xml:"AddOAuthAccountXResponse,omitempty"`
	RemoveAccount                      *RemoveAccountResponse                      `xml:"RemoveAccountResponse,omitempty"`
	EditAccountPasswordX               *EditAccountPasswordXResponse               `xml:"EditAccountPasswordXResponse,omitempty"`
	SetAccountNicknameX                *SetAccountNicknameXResponse                `xml:"SetAccountNicknameXResponse,omitempty"`
	RefreshAccountCredentialsX         *RefreshAccountCredentialsXResponse         `xml:"RefreshAccountCredentialsXResponse,omitempty"`
	EditAccountMd                      *EditAccountMdResponse                      `xml:"EditAccountMdResponse,omitempty"`
	DoPostUpdateTasks                  *DoPostUpdateTasksResponse                  `xml:"DoPostUpdateTasksResponse,omitempty"`
	ResetThirdPartyCredentials         *ResetThirdPartyCredentialsResponse         `xml:"ResetThirdPartyCredentialsResponse,omitempty"`
	EnableRDM                          *EnableRDMResponse                          `xml:"EnableRDMResponse,omitempty"`
	GetRDM                             *GetRDMResponse                             `xml:"GetRDMResponse,omitempty"`
	ReplaceAccountX                    *ReplaceAccountXResponse                    `xml:"ReplaceAccountXResponse,omitempty"`
}

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 Envelope

type Envelope struct {
	XMLName       xml.Name `xml:"s:Envelope"`
	Xmlns         string   `xml:"xmlns:s,attr"`
	EncodingStyle string   `xml:"s:encodingStyle,attr"`
	Body          Body     `xml:"s:Body"`
}

type EnvelopeResponse

type EnvelopeResponse struct {
	XMLName       xml.Name     `xml:"Envelope"`
	Xmlns         string       `xml:"xmlns:s,attr"`
	EncodingStyle string       `xml:"encodingStyle,attr"`
	Body          BodyResponse `xml:"Body"`
}

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 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 {
	ControlEndpoint *url.URL
	EventEndpoint   *url.URL
}

func NewService

func NewService(deviceUrl *url.URL) *Service

func (*Service) AddAccountX

func (s *Service) AddAccountX(httpClient *http.Client, args *AddAccountXArgs) (*AddAccountXResponse, error)

func (*Service) AddOAuthAccountX

func (s *Service) AddOAuthAccountX(httpClient *http.Client, args *AddOAuthAccountXArgs) (*AddOAuthAccountXResponse, error)

func (*Service) DoPostUpdateTasks

func (s *Service) DoPostUpdateTasks(httpClient *http.Client, args *DoPostUpdateTasksArgs) (*DoPostUpdateTasksResponse, error)

func (*Service) EditAccountMd

func (s *Service) EditAccountMd(httpClient *http.Client, args *EditAccountMdArgs) (*EditAccountMdResponse, error)

func (*Service) EditAccountPasswordX

func (s *Service) EditAccountPasswordX(httpClient *http.Client, args *EditAccountPasswordXArgs) (*EditAccountPasswordXResponse, error)

func (*Service) EnableRDM

func (s *Service) EnableRDM(httpClient *http.Client, args *EnableRDMArgs) (*EnableRDMResponse, error)

func (*Service) GetRDM

func (s *Service) GetRDM(httpClient *http.Client, args *GetRDMArgs) (*GetRDMResponse, error)

func (*Service) GetString

func (s *Service) GetString(httpClient *http.Client, args *GetStringArgs) (*GetStringResponse, error)

func (*Service) GetWebCode

func (s *Service) GetWebCode(httpClient *http.Client, args *GetWebCodeArgs) (*GetWebCodeResponse, error)

func (*Service) ProvisionCredentialedTrialAccountX

func (s *Service) ProvisionCredentialedTrialAccountX(httpClient *http.Client, args *ProvisionCredentialedTrialAccountXArgs) (*ProvisionCredentialedTrialAccountXResponse, error)

func (*Service) RefreshAccountCredentialsX

func (s *Service) RefreshAccountCredentialsX(httpClient *http.Client, args *RefreshAccountCredentialsXArgs) (*RefreshAccountCredentialsXResponse, error)

func (*Service) Remove

func (s *Service) Remove(httpClient *http.Client, args *RemoveArgs) (*RemoveResponse, error)

func (*Service) RemoveAccount

func (s *Service) RemoveAccount(httpClient *http.Client, args *RemoveAccountArgs) (*RemoveAccountResponse, error)

func (*Service) ReplaceAccountX

func (s *Service) ReplaceAccountX(httpClient *http.Client, args *ReplaceAccountXArgs) (*ReplaceAccountXResponse, error)

func (*Service) ResetThirdPartyCredentials

func (s *Service) ResetThirdPartyCredentials(httpClient *http.Client, args *ResetThirdPartyCredentialsArgs) (*ResetThirdPartyCredentialsResponse, error)

func (*Service) SetAccountNicknameX

func (s *Service) SetAccountNicknameX(httpClient *http.Client, args *SetAccountNicknameXArgs) (*SetAccountNicknameXResponse, error)

func (*Service) SetString

func (s *Service) SetString(httpClient *http.Client, args *SetStringArgs) (*SetStringResponse, error)

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

Jump to

Keyboard shortcuts

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