mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-09 20:47:49 +00:00
regenerated with new spec
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
|
||||
package sdkerrors
|
||||
|
||||
@@ -7,13 +7,54 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
type StartUniversalTranscodeErrors struct {
|
||||
Code *float64 `json:"code,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
Status *float64 `json:"status,omitempty"`
|
||||
type StartUniversalTranscodeVideoErrors struct {
|
||||
Code *int64 `json:"code,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
Status *int64 `json:"status,omitempty"`
|
||||
}
|
||||
|
||||
func (o *StartUniversalTranscodeErrors) GetCode() *float64 {
|
||||
func (o *StartUniversalTranscodeVideoErrors) GetCode() *int64 {
|
||||
if o == nil {
|
||||
return nil
|
||||
}
|
||||
return o.Code
|
||||
}
|
||||
|
||||
func (o *StartUniversalTranscodeVideoErrors) GetMessage() *string {
|
||||
if o == nil {
|
||||
return nil
|
||||
}
|
||||
return o.Message
|
||||
}
|
||||
|
||||
func (o *StartUniversalTranscodeVideoErrors) GetStatus() *int64 {
|
||||
if o == nil {
|
||||
return nil
|
||||
}
|
||||
return o.Status
|
||||
}
|
||||
|
||||
// StartUniversalTranscodeVideoResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
type StartUniversalTranscodeVideoResponseBody struct {
|
||||
Errors []StartUniversalTranscodeVideoErrors `json:"errors,omitempty"`
|
||||
// Raw HTTP response; suitable for custom response parsing
|
||||
RawResponse *http.Response `json:"-"`
|
||||
}
|
||||
|
||||
var _ error = &StartUniversalTranscodeVideoResponseBody{}
|
||||
|
||||
func (e *StartUniversalTranscodeVideoResponseBody) Error() string {
|
||||
data, _ := json.Marshal(e)
|
||||
return string(data)
|
||||
}
|
||||
|
||||
type StartUniversalTranscodeErrors struct {
|
||||
Code *int64 `json:"code,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
Status *int64 `json:"status,omitempty"`
|
||||
}
|
||||
|
||||
func (o *StartUniversalTranscodeErrors) GetCode() *int64 {
|
||||
if o == nil {
|
||||
return nil
|
||||
}
|
||||
@@ -27,14 +68,14 @@ func (o *StartUniversalTranscodeErrors) GetMessage() *string {
|
||||
return o.Message
|
||||
}
|
||||
|
||||
func (o *StartUniversalTranscodeErrors) GetStatus() *float64 {
|
||||
func (o *StartUniversalTranscodeErrors) GetStatus() *int64 {
|
||||
if o == nil {
|
||||
return nil
|
||||
}
|
||||
return o.Status
|
||||
}
|
||||
|
||||
// StartUniversalTranscodeResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
// StartUniversalTranscodeResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
type StartUniversalTranscodeResponseBody struct {
|
||||
Errors []StartUniversalTranscodeErrors `json:"errors,omitempty"`
|
||||
// Raw HTTP response; suitable for custom response parsing
|
||||
|
||||
Reference in New Issue
Block a user