ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.488.0

This commit is contained in:
speakeasybot
2025-02-11 00:10:34 +00:00
parent ef0d39928c
commit 1cfc2d604f
92 changed files with 4595 additions and 394 deletions

View File

@@ -0,0 +1,90 @@
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package sdkerrors
import (
"encoding/json"
"net/http"
)
type GetAllMediaLibraryLibraryErrors struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *int `json:"status,omitempty"`
}
func (o *GetAllMediaLibraryLibraryErrors) GetCode() *int {
if o == nil {
return nil
}
return o.Code
}
func (o *GetAllMediaLibraryLibraryErrors) GetMessage() *string {
if o == nil {
return nil
}
return o.Message
}
func (o *GetAllMediaLibraryLibraryErrors) GetStatus() *int {
if o == nil {
return nil
}
return o.Status
}
// GetAllMediaLibraryUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetAllMediaLibraryUnauthorized struct {
Errors []GetAllMediaLibraryLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetAllMediaLibraryUnauthorized{}
func (e *GetAllMediaLibraryUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
type GetAllMediaLibraryErrors struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *int `json:"status,omitempty"`
}
func (o *GetAllMediaLibraryErrors) GetCode() *int {
if o == nil {
return nil
}
return o.Code
}
func (o *GetAllMediaLibraryErrors) GetMessage() *string {
if o == nil {
return nil
}
return o.Message
}
func (o *GetAllMediaLibraryErrors) GetStatus() *int {
if o == nil {
return nil
}
return o.Status
}
// GetAllMediaLibraryBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetAllMediaLibraryBadRequest struct {
Errors []GetAllMediaLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetAllMediaLibraryBadRequest{}
func (e *GetAllMediaLibraryBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}