Documentation
¶
Index ¶
- type Errors
- type GetServerResourcesErrors
- type GetServerResourcesUnauthorized
- type GetTokenDetailsBadRequest
- type GetTokenDetailsErrors
- type GetTokenDetailsUnauthorized
- type GetUsersBadRequest
- type GetUsersErrors
- type GetUsersUnauthorized
- type GetUsersUsersErrors
- type PostUsersSignInDataAuthenticationErrors
- type PostUsersSignInDataBadRequest
- type PostUsersSignInDataErrors
- type PostUsersSignInDataUnauthorized
- type SDKError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Errors ¶
type Errors struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *int `json:"status,omitempty"`
}
func (*Errors) GetMessage ¶
type GetServerResourcesErrors ¶ added in v0.11.1
type GetServerResourcesErrors struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *int `json:"status,omitempty"`
}
func (*GetServerResourcesErrors) GetCode ¶ added in v0.11.1
func (g *GetServerResourcesErrors) GetCode() *int
func (*GetServerResourcesErrors) GetMessage ¶ added in v0.11.1
func (g *GetServerResourcesErrors) GetMessage() *string
func (*GetServerResourcesErrors) GetStatus ¶ added in v0.11.1
func (g *GetServerResourcesErrors) GetStatus() *int
type GetServerResourcesUnauthorized ¶ added in v0.11.2
GetServerResourcesUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
func (*GetServerResourcesUnauthorized) Error ¶ added in v0.11.2
func (e *GetServerResourcesUnauthorized) Error() string
type GetTokenDetailsBadRequest ¶ added in v0.11.2
type GetTokenDetailsBadRequest struct {
Errors []Errors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
GetTokenDetailsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
func (*GetTokenDetailsBadRequest) Error ¶ added in v0.11.2
func (e *GetTokenDetailsBadRequest) Error() string
type GetTokenDetailsErrors ¶ added in v0.11.2
type GetTokenDetailsErrors struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *int `json:"status,omitempty"`
}
func (*GetTokenDetailsErrors) GetCode ¶ added in v0.11.2
func (g *GetTokenDetailsErrors) GetCode() *int
func (*GetTokenDetailsErrors) GetMessage ¶ added in v0.11.2
func (g *GetTokenDetailsErrors) GetMessage() *string
func (*GetTokenDetailsErrors) GetStatus ¶ added in v0.11.2
func (g *GetTokenDetailsErrors) GetStatus() *int
type GetTokenDetailsUnauthorized ¶ added in v0.11.2
GetTokenDetailsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
func (*GetTokenDetailsUnauthorized) Error ¶ added in v0.11.2
func (e *GetTokenDetailsUnauthorized) Error() string
type GetUsersBadRequest ¶ added in v0.18.0
type GetUsersBadRequest struct {
Errors []GetUsersErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
GetUsersBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
func (*GetUsersBadRequest) Error ¶ added in v0.18.0
func (e *GetUsersBadRequest) Error() string
type GetUsersErrors ¶ added in v0.18.0
type GetUsersErrors struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *int `json:"status,omitempty"`
}
func (*GetUsersErrors) GetCode ¶ added in v0.18.0
func (g *GetUsersErrors) GetCode() *int
func (*GetUsersErrors) GetMessage ¶ added in v0.18.0
func (g *GetUsersErrors) GetMessage() *string
func (*GetUsersErrors) GetStatus ¶ added in v0.18.0
func (g *GetUsersErrors) GetStatus() *int
type GetUsersUnauthorized ¶ added in v0.18.0
GetUsersUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
func (*GetUsersUnauthorized) Error ¶ added in v0.18.0
func (e *GetUsersUnauthorized) Error() string
type GetUsersUsersErrors ¶ added in v0.18.0
type GetUsersUsersErrors struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *int `json:"status,omitempty"`
}
func (*GetUsersUsersErrors) GetCode ¶ added in v0.18.0
func (g *GetUsersUsersErrors) GetCode() *int
func (*GetUsersUsersErrors) GetMessage ¶ added in v0.18.0
func (g *GetUsersUsersErrors) GetMessage() *string
func (*GetUsersUsersErrors) GetStatus ¶ added in v0.18.0
func (g *GetUsersUsersErrors) GetStatus() *int
type PostUsersSignInDataAuthenticationErrors ¶ added in v0.11.1
type PostUsersSignInDataAuthenticationErrors struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *int `json:"status,omitempty"`
}
func (*PostUsersSignInDataAuthenticationErrors) GetCode ¶ added in v0.11.1
func (p *PostUsersSignInDataAuthenticationErrors) GetCode() *int
func (*PostUsersSignInDataAuthenticationErrors) GetMessage ¶ added in v0.11.1
func (p *PostUsersSignInDataAuthenticationErrors) GetMessage() *string
func (*PostUsersSignInDataAuthenticationErrors) GetStatus ¶ added in v0.11.1
func (p *PostUsersSignInDataAuthenticationErrors) GetStatus() *int
type PostUsersSignInDataBadRequest ¶ added in v0.11.2
type PostUsersSignInDataBadRequest struct {
Errors []PostUsersSignInDataErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
PostUsersSignInDataBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
func (*PostUsersSignInDataBadRequest) Error ¶ added in v0.11.2
func (e *PostUsersSignInDataBadRequest) Error() string
type PostUsersSignInDataErrors ¶ added in v0.11.1
type PostUsersSignInDataErrors struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *int `json:"status,omitempty"`
}
func (*PostUsersSignInDataErrors) GetCode ¶ added in v0.11.1
func (p *PostUsersSignInDataErrors) GetCode() *int
func (*PostUsersSignInDataErrors) GetMessage ¶ added in v0.11.1
func (p *PostUsersSignInDataErrors) GetMessage() *string
func (*PostUsersSignInDataErrors) GetStatus ¶ added in v0.11.1
func (p *PostUsersSignInDataErrors) GetStatus() *int
type PostUsersSignInDataUnauthorized ¶ added in v0.11.2
PostUsersSignInDataUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
func (*PostUsersSignInDataUnauthorized) Error ¶ added in v0.11.2
func (e *PostUsersSignInDataUnauthorized) Error() string