ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.148.0

This commit is contained in:
speakeasybot
2024-01-22 17:16:34 +00:00
parent 70d2e2a152
commit 61283a5769
166 changed files with 7934 additions and 1043 deletions

View File

@@ -1,49 +0,0 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package sdkerrors
import (
"encoding/json"
"net/http"
)
type GetCommonLibraryItemsErrors struct {
Code *float64 `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *float64 `json:"status,omitempty"`
}
func (o *GetCommonLibraryItemsErrors) GetCode() *float64 {
if o == nil {
return nil
}
return o.Code
}
func (o *GetCommonLibraryItemsErrors) GetMessage() *string {
if o == nil {
return nil
}
return o.Message
}
func (o *GetCommonLibraryItemsErrors) GetStatus() *float64 {
if o == nil {
return nil
}
return o.Status
}
// GetCommonLibraryItemsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetCommonLibraryItemsResponseBody struct {
Errors []GetCommonLibraryItemsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetCommonLibraryItemsResponseBody{}
func (e *GetCommonLibraryItemsResponseBody) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -1,49 +0,0 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package sdkerrors
import (
"encoding/json"
"net/http"
)
type GetLatestLibraryItemsErrors struct {
Code *float64 `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *float64 `json:"status,omitempty"`
}
func (o *GetLatestLibraryItemsErrors) GetCode() *float64 {
if o == nil {
return nil
}
return o.Code
}
func (o *GetLatestLibraryItemsErrors) GetMessage() *string {
if o == nil {
return nil
}
return o.Message
}
func (o *GetLatestLibraryItemsErrors) GetStatus() *float64 {
if o == nil {
return nil
}
return o.Status
}
// GetLatestLibraryItemsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetLatestLibraryItemsResponseBody struct {
Errors []GetLatestLibraryItemsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetLatestLibraryItemsResponseBody{}
func (e *GetLatestLibraryItemsResponseBody) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -1,49 +0,0 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package sdkerrors
import (
"encoding/json"
"net/http"
)
type GetLibraryItemsErrors struct {
Code *float64 `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *float64 `json:"status,omitempty"`
}
func (o *GetLibraryItemsErrors) GetCode() *float64 {
if o == nil {
return nil
}
return o.Code
}
func (o *GetLibraryItemsErrors) GetMessage() *string {
if o == nil {
return nil
}
return o.Message
}
func (o *GetLibraryItemsErrors) GetStatus() *float64 {
if o == nil {
return nil
}
return o.Status
}
// GetLibraryItemsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetLibraryItemsResponseBody struct {
Errors []GetLibraryItemsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetLibraryItemsResponseBody{}
func (e *GetLibraryItemsResponseBody) Error() string {
data, _ := json.Marshal(e)
return string(data)
}