ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.393.2

This commit is contained in:
speakeasybot
2024-09-09 20:37:28 +00:00
parent 05f0b1a99a
commit 41621a4bbd
282 changed files with 1882 additions and 1908 deletions

View File

@@ -34,16 +34,16 @@ func (o *AddPlaylistContentsPlaylistsErrors) GetStatus() *int64 {
return o.Status
}
// AddPlaylistContentsPlaylistsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type AddPlaylistContentsPlaylistsResponseBody struct {
// AddPlaylistContentsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type AddPlaylistContentsUnauthorized struct {
Errors []AddPlaylistContentsPlaylistsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &AddPlaylistContentsPlaylistsResponseBody{}
var _ error = &AddPlaylistContentsUnauthorized{}
func (e *AddPlaylistContentsPlaylistsResponseBody) Error() string {
func (e *AddPlaylistContentsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *AddPlaylistContentsErrors) GetStatus() *int64 {
return o.Status
}
// AddPlaylistContentsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type AddPlaylistContentsResponseBody struct {
// AddPlaylistContentsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type AddPlaylistContentsBadRequest struct {
Errors []AddPlaylistContentsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &AddPlaylistContentsResponseBody{}
var _ error = &AddPlaylistContentsBadRequest{}
func (e *AddPlaylistContentsResponseBody) Error() string {
func (e *AddPlaylistContentsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *ApplyUpdatesUpdaterErrors) GetStatus() *int64 {
return o.Status
}
// ApplyUpdatesUpdaterResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type ApplyUpdatesUpdaterResponseBody struct {
// ApplyUpdatesUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type ApplyUpdatesUnauthorized struct {
Errors []ApplyUpdatesUpdaterErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &ApplyUpdatesUpdaterResponseBody{}
var _ error = &ApplyUpdatesUnauthorized{}
func (e *ApplyUpdatesUpdaterResponseBody) Error() string {
func (e *ApplyUpdatesUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *ApplyUpdatesErrors) GetStatus() *int64 {
return o.Status
}
// ApplyUpdatesResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type ApplyUpdatesResponseBody struct {
// ApplyUpdatesBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type ApplyUpdatesBadRequest struct {
Errors []ApplyUpdatesErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &ApplyUpdatesResponseBody{}
var _ error = &ApplyUpdatesBadRequest{}
func (e *ApplyUpdatesResponseBody) Error() string {
func (e *ApplyUpdatesBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *CancelServerActivitiesActivitiesErrors) GetStatus() *int64 {
return o.Status
}
// CancelServerActivitiesActivitiesResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type CancelServerActivitiesActivitiesResponseBody struct {
// CancelServerActivitiesUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type CancelServerActivitiesUnauthorized struct {
Errors []CancelServerActivitiesActivitiesErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &CancelServerActivitiesActivitiesResponseBody{}
var _ error = &CancelServerActivitiesUnauthorized{}
func (e *CancelServerActivitiesActivitiesResponseBody) Error() string {
func (e *CancelServerActivitiesUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *CancelServerActivitiesErrors) GetStatus() *int64 {
return o.Status
}
// CancelServerActivitiesResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type CancelServerActivitiesResponseBody struct {
// CancelServerActivitiesBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type CancelServerActivitiesBadRequest struct {
Errors []CancelServerActivitiesErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &CancelServerActivitiesResponseBody{}
var _ error = &CancelServerActivitiesBadRequest{}
func (e *CancelServerActivitiesResponseBody) Error() string {
func (e *CancelServerActivitiesBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *CheckForUpdatesUpdaterErrors) GetStatus() *int64 {
return o.Status
}
// CheckForUpdatesUpdaterResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type CheckForUpdatesUpdaterResponseBody struct {
// CheckForUpdatesUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type CheckForUpdatesUnauthorized struct {
Errors []CheckForUpdatesUpdaterErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &CheckForUpdatesUpdaterResponseBody{}
var _ error = &CheckForUpdatesUnauthorized{}
func (e *CheckForUpdatesUpdaterResponseBody) Error() string {
func (e *CheckForUpdatesUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *CheckForUpdatesErrors) GetStatus() *int64 {
return o.Status
}
// CheckForUpdatesResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type CheckForUpdatesResponseBody struct {
// CheckForUpdatesBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type CheckForUpdatesBadRequest struct {
Errors []CheckForUpdatesErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &CheckForUpdatesResponseBody{}
var _ error = &CheckForUpdatesBadRequest{}
func (e *CheckForUpdatesResponseBody) Error() string {
func (e *CheckForUpdatesBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *ClearPlaylistContentsPlaylistsErrors) GetStatus() *int64 {
return o.Status
}
// ClearPlaylistContentsPlaylistsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type ClearPlaylistContentsPlaylistsResponseBody struct {
// ClearPlaylistContentsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type ClearPlaylistContentsUnauthorized struct {
Errors []ClearPlaylistContentsPlaylistsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &ClearPlaylistContentsPlaylistsResponseBody{}
var _ error = &ClearPlaylistContentsUnauthorized{}
func (e *ClearPlaylistContentsPlaylistsResponseBody) Error() string {
func (e *ClearPlaylistContentsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *ClearPlaylistContentsErrors) GetStatus() *int64 {
return o.Status
}
// ClearPlaylistContentsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type ClearPlaylistContentsResponseBody struct {
// ClearPlaylistContentsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type ClearPlaylistContentsBadRequest struct {
Errors []ClearPlaylistContentsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &ClearPlaylistContentsResponseBody{}
var _ error = &ClearPlaylistContentsBadRequest{}
func (e *ClearPlaylistContentsResponseBody) Error() string {
func (e *ClearPlaylistContentsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *CreatePlaylistPlaylistsErrors) GetStatus() *int64 {
return o.Status
}
// CreatePlaylistPlaylistsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type CreatePlaylistPlaylistsResponseBody struct {
// CreatePlaylistUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type CreatePlaylistUnauthorized struct {
Errors []CreatePlaylistPlaylistsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &CreatePlaylistPlaylistsResponseBody{}
var _ error = &CreatePlaylistUnauthorized{}
func (e *CreatePlaylistPlaylistsResponseBody) Error() string {
func (e *CreatePlaylistUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *CreatePlaylistErrors) GetStatus() *int64 {
return o.Status
}
// CreatePlaylistResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type CreatePlaylistResponseBody struct {
// CreatePlaylistBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type CreatePlaylistBadRequest struct {
Errors []CreatePlaylistErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &CreatePlaylistResponseBody{}
var _ error = &CreatePlaylistBadRequest{}
func (e *CreatePlaylistResponseBody) Error() string {
func (e *CreatePlaylistBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *DeleteLibraryLibraryErrors) GetStatus() *int64 {
return o.Status
}
// DeleteLibraryLibraryResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type DeleteLibraryLibraryResponseBody struct {
// DeleteLibraryUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type DeleteLibraryUnauthorized struct {
Errors []DeleteLibraryLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &DeleteLibraryLibraryResponseBody{}
var _ error = &DeleteLibraryUnauthorized{}
func (e *DeleteLibraryLibraryResponseBody) Error() string {
func (e *DeleteLibraryUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *DeleteLibraryErrors) GetStatus() *int64 {
return o.Status
}
// DeleteLibraryResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type DeleteLibraryResponseBody struct {
// DeleteLibraryBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type DeleteLibraryBadRequest struct {
Errors []DeleteLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &DeleteLibraryResponseBody{}
var _ error = &DeleteLibraryBadRequest{}
func (e *DeleteLibraryResponseBody) Error() string {
func (e *DeleteLibraryBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *DeletePlaylistPlaylistsErrors) GetStatus() *int64 {
return o.Status
}
// DeletePlaylistPlaylistsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type DeletePlaylistPlaylistsResponseBody struct {
// DeletePlaylistUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type DeletePlaylistUnauthorized struct {
Errors []DeletePlaylistPlaylistsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &DeletePlaylistPlaylistsResponseBody{}
var _ error = &DeletePlaylistUnauthorized{}
func (e *DeletePlaylistPlaylistsResponseBody) Error() string {
func (e *DeletePlaylistUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *DeletePlaylistErrors) GetStatus() *int64 {
return o.Status
}
// DeletePlaylistResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type DeletePlaylistResponseBody struct {
// DeletePlaylistBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type DeletePlaylistBadRequest struct {
Errors []DeletePlaylistErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &DeletePlaylistResponseBody{}
var _ error = &DeletePlaylistBadRequest{}
func (e *DeletePlaylistResponseBody) Error() string {
func (e *DeletePlaylistBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *EnablePaperTrailLogErrors) GetStatus() *int64 {
return o.Status
}
// EnablePaperTrailLogResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type EnablePaperTrailLogResponseBody struct {
// EnablePaperTrailUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type EnablePaperTrailUnauthorized struct {
Errors []EnablePaperTrailLogErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &EnablePaperTrailLogResponseBody{}
var _ error = &EnablePaperTrailUnauthorized{}
func (e *EnablePaperTrailLogResponseBody) Error() string {
func (e *EnablePaperTrailUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *EnablePaperTrailErrors) GetStatus() *int64 {
return o.Status
}
// EnablePaperTrailResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type EnablePaperTrailResponseBody struct {
// EnablePaperTrailBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type EnablePaperTrailBadRequest struct {
Errors []EnablePaperTrailErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &EnablePaperTrailResponseBody{}
var _ error = &EnablePaperTrailBadRequest{}
func (e *EnablePaperTrailResponseBody) Error() string {
func (e *EnablePaperTrailBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetAllLibrariesLibraryErrors) GetStatus() *int64 {
return o.Status
}
// GetAllLibrariesLibraryResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetAllLibrariesLibraryResponseBody struct {
// GetAllLibrariesUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetAllLibrariesUnauthorized struct {
Errors []GetAllLibrariesLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetAllLibrariesLibraryResponseBody{}
var _ error = &GetAllLibrariesUnauthorized{}
func (e *GetAllLibrariesLibraryResponseBody) Error() string {
func (e *GetAllLibrariesUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetAllLibrariesErrors) GetStatus() *int64 {
return o.Status
}
// GetAllLibrariesResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetAllLibrariesResponseBody struct {
// GetAllLibrariesBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetAllLibrariesBadRequest struct {
Errors []GetAllLibrariesErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetAllLibrariesResponseBody{}
var _ error = &GetAllLibrariesBadRequest{}
func (e *GetAllLibrariesResponseBody) Error() string {
func (e *GetAllLibrariesBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetAvailableClientsServerErrors) GetStatus() *int64 {
return o.Status
}
// GetAvailableClientsServerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetAvailableClientsServerResponseBody struct {
// GetAvailableClientsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetAvailableClientsUnauthorized struct {
Errors []GetAvailableClientsServerErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetAvailableClientsServerResponseBody{}
var _ error = &GetAvailableClientsUnauthorized{}
func (e *GetAvailableClientsServerResponseBody) Error() string {
func (e *GetAvailableClientsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetAvailableClientsErrors) GetStatus() *int64 {
return o.Status
}
// GetAvailableClientsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetAvailableClientsResponseBody struct {
// GetAvailableClientsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetAvailableClientsBadRequest struct {
Errors []GetAvailableClientsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetAvailableClientsResponseBody{}
var _ error = &GetAvailableClientsBadRequest{}
func (e *GetAvailableClientsResponseBody) Error() string {
func (e *GetAvailableClientsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetBandwidthStatisticsStatisticsErrors) GetStatus() *int64 {
return o.Status
}
// GetBandwidthStatisticsStatisticsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetBandwidthStatisticsStatisticsResponseBody struct {
// GetBandwidthStatisticsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetBandwidthStatisticsUnauthorized struct {
Errors []GetBandwidthStatisticsStatisticsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetBandwidthStatisticsStatisticsResponseBody{}
var _ error = &GetBandwidthStatisticsUnauthorized{}
func (e *GetBandwidthStatisticsStatisticsResponseBody) Error() string {
func (e *GetBandwidthStatisticsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetBandwidthStatisticsErrors) GetStatus() *int64 {
return o.Status
}
// GetBandwidthStatisticsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetBandwidthStatisticsResponseBody struct {
// GetBandwidthStatisticsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetBandwidthStatisticsBadRequest struct {
Errors []GetBandwidthStatisticsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetBandwidthStatisticsResponseBody{}
var _ error = &GetBandwidthStatisticsBadRequest{}
func (e *GetBandwidthStatisticsResponseBody) Error() string {
func (e *GetBandwidthStatisticsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetBannerImageMediaErrors) GetStatus() *int64 {
return o.Status
}
// GetBannerImageMediaResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetBannerImageMediaResponseBody struct {
// GetBannerImageUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetBannerImageUnauthorized struct {
Errors []GetBannerImageMediaErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetBannerImageMediaResponseBody{}
var _ error = &GetBannerImageUnauthorized{}
func (e *GetBannerImageMediaResponseBody) Error() string {
func (e *GetBannerImageUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetBannerImageErrors) GetStatus() *int64 {
return o.Status
}
// GetBannerImageResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetBannerImageResponseBody struct {
// GetBannerImageBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetBannerImageBadRequest struct {
Errors []GetBannerImageErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetBannerImageResponseBody{}
var _ error = &GetBannerImageBadRequest{}
func (e *GetBannerImageResponseBody) Error() string {
func (e *GetBannerImageBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetButlerTasksButlerErrors) GetStatus() *int64 {
return o.Status
}
// GetButlerTasksButlerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetButlerTasksButlerResponseBody struct {
// GetButlerTasksUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetButlerTasksUnauthorized struct {
Errors []GetButlerTasksButlerErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetButlerTasksButlerResponseBody{}
var _ error = &GetButlerTasksUnauthorized{}
func (e *GetButlerTasksButlerResponseBody) Error() string {
func (e *GetButlerTasksUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetButlerTasksErrors) GetStatus() *int64 {
return o.Status
}
// GetButlerTasksResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetButlerTasksResponseBody struct {
// GetButlerTasksBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetButlerTasksBadRequest struct {
Errors []GetButlerTasksErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetButlerTasksResponseBody{}
var _ error = &GetButlerTasksBadRequest{}
func (e *GetButlerTasksResponseBody) Error() string {
func (e *GetButlerTasksBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetCompanionsDataPlexErrors) GetStatus() *int64 {
return o.Status
}
// GetCompanionsDataPlexResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetCompanionsDataPlexResponseBody struct {
// GetCompanionsDataUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetCompanionsDataUnauthorized struct {
Errors []GetCompanionsDataPlexErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetCompanionsDataPlexResponseBody{}
var _ error = &GetCompanionsDataUnauthorized{}
func (e *GetCompanionsDataPlexResponseBody) Error() string {
func (e *GetCompanionsDataUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetCompanionsDataErrors) GetStatus() *int64 {
return o.Status
}
// GetCompanionsDataResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetCompanionsDataResponseBody struct {
// GetCompanionsDataBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetCompanionsDataBadRequest struct {
Errors []GetCompanionsDataErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetCompanionsDataResponseBody{}
var _ error = &GetCompanionsDataBadRequest{}
func (e *GetCompanionsDataResponseBody) Error() string {
func (e *GetCompanionsDataBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetDevicesServerErrors) GetStatus() *int64 {
return o.Status
}
// GetDevicesServerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetDevicesServerResponseBody struct {
// GetDevicesUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetDevicesUnauthorized struct {
Errors []GetDevicesServerErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetDevicesServerResponseBody{}
var _ error = &GetDevicesUnauthorized{}
func (e *GetDevicesServerResponseBody) Error() string {
func (e *GetDevicesUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetDevicesErrors) GetStatus() *int64 {
return o.Status
}
// GetDevicesResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetDevicesResponseBody struct {
// GetDevicesBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetDevicesBadRequest struct {
Errors []GetDevicesErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetDevicesResponseBody{}
var _ error = &GetDevicesBadRequest{}
func (e *GetDevicesResponseBody) Error() string {
func (e *GetDevicesBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetFileHashLibraryErrors) GetStatus() *int64 {
return o.Status
}
// GetFileHashLibraryResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetFileHashLibraryResponseBody struct {
// GetFileHashUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetFileHashUnauthorized struct {
Errors []GetFileHashLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetFileHashLibraryResponseBody{}
var _ error = &GetFileHashUnauthorized{}
func (e *GetFileHashLibraryResponseBody) Error() string {
func (e *GetFileHashUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetFileHashErrors) GetStatus() *int64 {
return o.Status
}
// GetFileHashResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetFileHashResponseBody struct {
// GetFileHashBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetFileHashBadRequest struct {
Errors []GetFileHashErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetFileHashResponseBody{}
var _ error = &GetFileHashBadRequest{}
func (e *GetFileHashResponseBody) Error() string {
func (e *GetFileHashBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetGeoDataPlexErrors) GetStatus() *int64 {
return o.Status
}
// GetGeoDataPlexResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetGeoDataPlexResponseBody struct {
// GetGeoDataUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetGeoDataUnauthorized struct {
Errors []GetGeoDataPlexErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetGeoDataPlexResponseBody{}
var _ error = &GetGeoDataUnauthorized{}
func (e *GetGeoDataPlexResponseBody) Error() string {
func (e *GetGeoDataUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetGeoDataErrors) GetStatus() *int64 {
return o.Status
}
// GetGeoDataResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetGeoDataResponseBody struct {
// GetGeoDataBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetGeoDataBadRequest struct {
Errors []GetGeoDataErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetGeoDataResponseBody{}
var _ error = &GetGeoDataBadRequest{}
func (e *GetGeoDataResponseBody) Error() string {
func (e *GetGeoDataBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetGlobalHubsHubsErrors) GetStatus() *int64 {
return o.Status
}
// GetGlobalHubsHubsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetGlobalHubsHubsResponseBody struct {
// GetGlobalHubsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetGlobalHubsUnauthorized struct {
Errors []GetGlobalHubsHubsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetGlobalHubsHubsResponseBody{}
var _ error = &GetGlobalHubsUnauthorized{}
func (e *GetGlobalHubsHubsResponseBody) Error() string {
func (e *GetGlobalHubsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetGlobalHubsErrors) GetStatus() *int64 {
return o.Status
}
// GetGlobalHubsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetGlobalHubsResponseBody struct {
// GetGlobalHubsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetGlobalHubsBadRequest struct {
Errors []GetGlobalHubsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetGlobalHubsResponseBody{}
var _ error = &GetGlobalHubsBadRequest{}
func (e *GetGlobalHubsResponseBody) Error() string {
func (e *GetGlobalHubsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetHomeDataPlexErrors) GetStatus() *int64 {
return o.Status
}
// GetHomeDataPlexResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetHomeDataPlexResponseBody struct {
// GetHomeDataUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetHomeDataUnauthorized struct {
Errors []GetHomeDataPlexErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetHomeDataPlexResponseBody{}
var _ error = &GetHomeDataUnauthorized{}
func (e *GetHomeDataPlexResponseBody) Error() string {
func (e *GetHomeDataUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetHomeDataErrors) GetStatus() *int64 {
return o.Status
}
// GetHomeDataResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetHomeDataResponseBody struct {
// GetHomeDataBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetHomeDataBadRequest struct {
Errors []GetHomeDataErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetHomeDataResponseBody{}
var _ error = &GetHomeDataBadRequest{}
func (e *GetHomeDataResponseBody) Error() string {
func (e *GetHomeDataBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetLibraryDetailsLibraryErrors) GetStatus() *int64 {
return o.Status
}
// GetLibraryDetailsLibraryResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetLibraryDetailsLibraryResponseBody struct {
// GetLibraryDetailsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetLibraryDetailsUnauthorized struct {
Errors []GetLibraryDetailsLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetLibraryDetailsLibraryResponseBody{}
var _ error = &GetLibraryDetailsUnauthorized{}
func (e *GetLibraryDetailsLibraryResponseBody) Error() string {
func (e *GetLibraryDetailsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetLibraryDetailsErrors) GetStatus() *int64 {
return o.Status
}
// GetLibraryDetailsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetLibraryDetailsResponseBody struct {
// GetLibraryDetailsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetLibraryDetailsBadRequest struct {
Errors []GetLibraryDetailsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetLibraryDetailsResponseBody{}
var _ error = &GetLibraryDetailsBadRequest{}
func (e *GetLibraryDetailsResponseBody) Error() string {
func (e *GetLibraryDetailsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetLibraryHubsHubsErrors) GetStatus() *int64 {
return o.Status
}
// GetLibraryHubsHubsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetLibraryHubsHubsResponseBody struct {
// GetLibraryHubsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetLibraryHubsUnauthorized struct {
Errors []GetLibraryHubsHubsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetLibraryHubsHubsResponseBody{}
var _ error = &GetLibraryHubsUnauthorized{}
func (e *GetLibraryHubsHubsResponseBody) Error() string {
func (e *GetLibraryHubsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetLibraryHubsErrors) GetStatus() *int64 {
return o.Status
}
// GetLibraryHubsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetLibraryHubsResponseBody struct {
// GetLibraryHubsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetLibraryHubsBadRequest struct {
Errors []GetLibraryHubsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetLibraryHubsResponseBody{}
var _ error = &GetLibraryHubsBadRequest{}
func (e *GetLibraryHubsResponseBody) Error() string {
func (e *GetLibraryHubsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetLibraryItemsLibraryErrors) GetStatus() *int64 {
return o.Status
}
// GetLibraryItemsLibraryResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetLibraryItemsLibraryResponseBody struct {
// GetLibraryItemsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetLibraryItemsUnauthorized struct {
Errors []GetLibraryItemsLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetLibraryItemsLibraryResponseBody{}
var _ error = &GetLibraryItemsUnauthorized{}
func (e *GetLibraryItemsLibraryResponseBody) Error() string {
func (e *GetLibraryItemsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetLibraryItemsErrors) GetStatus() *int64 {
return o.Status
}
// GetLibraryItemsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetLibraryItemsResponseBody struct {
// GetLibraryItemsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetLibraryItemsBadRequest struct {
Errors []GetLibraryItemsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetLibraryItemsResponseBody{}
var _ error = &GetLibraryItemsBadRequest{}
func (e *GetLibraryItemsResponseBody) Error() string {
func (e *GetLibraryItemsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetMediaProvidersServerErrors) GetStatus() *int64 {
return o.Status
}
// GetMediaProvidersServerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetMediaProvidersServerResponseBody struct {
// GetMediaProvidersUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetMediaProvidersUnauthorized struct {
Errors []GetMediaProvidersServerErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetMediaProvidersServerResponseBody{}
var _ error = &GetMediaProvidersUnauthorized{}
func (e *GetMediaProvidersServerResponseBody) Error() string {
func (e *GetMediaProvidersUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetMediaProvidersErrors) GetStatus() *int64 {
return o.Status
}
// GetMediaProvidersResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetMediaProvidersResponseBody struct {
// GetMediaProvidersBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetMediaProvidersBadRequest struct {
Errors []GetMediaProvidersErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetMediaProvidersResponseBody{}
var _ error = &GetMediaProvidersBadRequest{}
func (e *GetMediaProvidersResponseBody) Error() string {
func (e *GetMediaProvidersBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetMetaDataByRatingKeyLibraryErrors) GetStatus() *int64 {
return o.Status
}
// GetMetaDataByRatingKeyLibraryResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetMetaDataByRatingKeyLibraryResponseBody struct {
// GetMetaDataByRatingKeyUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetMetaDataByRatingKeyUnauthorized struct {
Errors []GetMetaDataByRatingKeyLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetMetaDataByRatingKeyLibraryResponseBody{}
var _ error = &GetMetaDataByRatingKeyUnauthorized{}
func (e *GetMetaDataByRatingKeyLibraryResponseBody) Error() string {
func (e *GetMetaDataByRatingKeyUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetMetaDataByRatingKeyErrors) GetStatus() *int64 {
return o.Status
}
// GetMetaDataByRatingKeyResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetMetaDataByRatingKeyResponseBody struct {
// GetMetaDataByRatingKeyBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetMetaDataByRatingKeyBadRequest struct {
Errors []GetMetaDataByRatingKeyErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetMetaDataByRatingKeyResponseBody{}
var _ error = &GetMetaDataByRatingKeyBadRequest{}
func (e *GetMetaDataByRatingKeyResponseBody) Error() string {
func (e *GetMetaDataByRatingKeyBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetMetadataChildrenLibraryErrors) GetStatus() *int64 {
return o.Status
}
// GetMetadataChildrenLibraryResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetMetadataChildrenLibraryResponseBody struct {
// GetMetadataChildrenUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetMetadataChildrenUnauthorized struct {
Errors []GetMetadataChildrenLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetMetadataChildrenLibraryResponseBody{}
var _ error = &GetMetadataChildrenUnauthorized{}
func (e *GetMetadataChildrenLibraryResponseBody) Error() string {
func (e *GetMetadataChildrenUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetMetadataChildrenErrors) GetStatus() *int64 {
return o.Status
}
// GetMetadataChildrenResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetMetadataChildrenResponseBody struct {
// GetMetadataChildrenBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetMetadataChildrenBadRequest struct {
Errors []GetMetadataChildrenErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetMetadataChildrenResponseBody{}
var _ error = &GetMetadataChildrenBadRequest{}
func (e *GetMetadataChildrenResponseBody) Error() string {
func (e *GetMetadataChildrenBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetMyPlexAccountServerErrors) GetStatus() *int64 {
return o.Status
}
// GetMyPlexAccountServerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetMyPlexAccountServerResponseBody struct {
// GetMyPlexAccountUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetMyPlexAccountUnauthorized struct {
Errors []GetMyPlexAccountServerErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetMyPlexAccountServerResponseBody{}
var _ error = &GetMyPlexAccountUnauthorized{}
func (e *GetMyPlexAccountServerResponseBody) Error() string {
func (e *GetMyPlexAccountUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetMyPlexAccountErrors) GetStatus() *int64 {
return o.Status
}
// GetMyPlexAccountResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetMyPlexAccountResponseBody struct {
// GetMyPlexAccountBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetMyPlexAccountBadRequest struct {
Errors []GetMyPlexAccountErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetMyPlexAccountResponseBody{}
var _ error = &GetMyPlexAccountBadRequest{}
func (e *GetMyPlexAccountResponseBody) Error() string {
func (e *GetMyPlexAccountBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetOnDeckLibraryErrors) GetStatus() *int64 {
return o.Status
}
// GetOnDeckLibraryResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetOnDeckLibraryResponseBody struct {
// GetOnDeckUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetOnDeckUnauthorized struct {
Errors []GetOnDeckLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetOnDeckLibraryResponseBody{}
var _ error = &GetOnDeckUnauthorized{}
func (e *GetOnDeckLibraryResponseBody) Error() string {
func (e *GetOnDeckUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetOnDeckErrors) GetStatus() *int64 {
return o.Status
}
// GetOnDeckResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetOnDeckResponseBody struct {
// GetOnDeckBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetOnDeckBadRequest struct {
Errors []GetOnDeckErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetOnDeckResponseBody{}
var _ error = &GetOnDeckBadRequest{}
func (e *GetOnDeckResponseBody) Error() string {
func (e *GetOnDeckBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetPinErrors) GetStatus() *int64 {
return o.Status
}
// GetPinResponseBody - Bad Request response when the X-Plex-Client-Identifier is missing
type GetPinResponseBody struct {
// GetPinBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetPinBadRequest struct {
Errors []GetPinErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetPinResponseBody{}
var _ error = &GetPinBadRequest{}
func (e *GetPinResponseBody) Error() string {
func (e *GetPinBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetPlaylistPlaylistsErrors) GetStatus() *int64 {
return o.Status
}
// GetPlaylistPlaylistsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetPlaylistPlaylistsResponseBody struct {
// GetPlaylistUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetPlaylistUnauthorized struct {
Errors []GetPlaylistPlaylistsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetPlaylistPlaylistsResponseBody{}
var _ error = &GetPlaylistUnauthorized{}
func (e *GetPlaylistPlaylistsResponseBody) Error() string {
func (e *GetPlaylistUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetPlaylistErrors) GetStatus() *int64 {
return o.Status
}
// GetPlaylistResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetPlaylistResponseBody struct {
// GetPlaylistBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetPlaylistBadRequest struct {
Errors []GetPlaylistErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetPlaylistResponseBody{}
var _ error = &GetPlaylistBadRequest{}
func (e *GetPlaylistResponseBody) Error() string {
func (e *GetPlaylistBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetPlaylistContentsPlaylistsErrors) GetStatus() *int64 {
return o.Status
}
// GetPlaylistContentsPlaylistsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetPlaylistContentsPlaylistsResponseBody struct {
// GetPlaylistContentsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetPlaylistContentsUnauthorized struct {
Errors []GetPlaylistContentsPlaylistsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetPlaylistContentsPlaylistsResponseBody{}
var _ error = &GetPlaylistContentsUnauthorized{}
func (e *GetPlaylistContentsPlaylistsResponseBody) Error() string {
func (e *GetPlaylistContentsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetPlaylistContentsErrors) GetStatus() *int64 {
return o.Status
}
// GetPlaylistContentsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetPlaylistContentsResponseBody struct {
// GetPlaylistContentsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetPlaylistContentsBadRequest struct {
Errors []GetPlaylistContentsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetPlaylistContentsResponseBody{}
var _ error = &GetPlaylistContentsBadRequest{}
func (e *GetPlaylistContentsResponseBody) Error() string {
func (e *GetPlaylistContentsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetPlaylistsPlaylistsErrors) GetStatus() *int64 {
return o.Status
}
// GetPlaylistsPlaylistsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetPlaylistsPlaylistsResponseBody struct {
// GetPlaylistsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetPlaylistsUnauthorized struct {
Errors []GetPlaylistsPlaylistsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetPlaylistsPlaylistsResponseBody{}
var _ error = &GetPlaylistsUnauthorized{}
func (e *GetPlaylistsPlaylistsResponseBody) Error() string {
func (e *GetPlaylistsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetPlaylistsErrors) GetStatus() *int64 {
return o.Status
}
// GetPlaylistsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetPlaylistsResponseBody struct {
// GetPlaylistsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetPlaylistsBadRequest struct {
Errors []GetPlaylistsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetPlaylistsResponseBody{}
var _ error = &GetPlaylistsBadRequest{}
func (e *GetPlaylistsResponseBody) Error() string {
func (e *GetPlaylistsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetRecentlyAddedLibraryErrors) GetStatus() *int64 {
return o.Status
}
// GetRecentlyAddedLibraryResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetRecentlyAddedLibraryResponseBody struct {
// GetRecentlyAddedUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetRecentlyAddedUnauthorized struct {
Errors []GetRecentlyAddedLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetRecentlyAddedLibraryResponseBody{}
var _ error = &GetRecentlyAddedUnauthorized{}
func (e *GetRecentlyAddedLibraryResponseBody) Error() string {
func (e *GetRecentlyAddedUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetRecentlyAddedErrors) GetStatus() *int64 {
return o.Status
}
// GetRecentlyAddedResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetRecentlyAddedResponseBody struct {
// GetRecentlyAddedBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetRecentlyAddedBadRequest struct {
Errors []GetRecentlyAddedErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetRecentlyAddedResponseBody{}
var _ error = &GetRecentlyAddedBadRequest{}
func (e *GetRecentlyAddedResponseBody) Error() string {
func (e *GetRecentlyAddedBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetRefreshLibraryMetadataLibraryErrors) GetStatus() *int64 {
return o.Status
}
// GetRefreshLibraryMetadataLibraryResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetRefreshLibraryMetadataLibraryResponseBody struct {
// GetRefreshLibraryMetadataUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetRefreshLibraryMetadataUnauthorized struct {
Errors []GetRefreshLibraryMetadataLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetRefreshLibraryMetadataLibraryResponseBody{}
var _ error = &GetRefreshLibraryMetadataUnauthorized{}
func (e *GetRefreshLibraryMetadataLibraryResponseBody) Error() string {
func (e *GetRefreshLibraryMetadataUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetRefreshLibraryMetadataErrors) GetStatus() *int64 {
return o.Status
}
// GetRefreshLibraryMetadataResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetRefreshLibraryMetadataResponseBody struct {
// GetRefreshLibraryMetadataBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetRefreshLibraryMetadataBadRequest struct {
Errors []GetRefreshLibraryMetadataErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetRefreshLibraryMetadataResponseBody{}
var _ error = &GetRefreshLibraryMetadataBadRequest{}
func (e *GetRefreshLibraryMetadataResponseBody) Error() string {
func (e *GetRefreshLibraryMetadataBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetResizedPhotoServerErrors) GetStatus() *int64 {
return o.Status
}
// GetResizedPhotoServerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetResizedPhotoServerResponseBody struct {
// GetResizedPhotoUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetResizedPhotoUnauthorized struct {
Errors []GetResizedPhotoServerErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetResizedPhotoServerResponseBody{}
var _ error = &GetResizedPhotoUnauthorized{}
func (e *GetResizedPhotoServerResponseBody) Error() string {
func (e *GetResizedPhotoUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetResizedPhotoErrors) GetStatus() *int64 {
return o.Status
}
// GetResizedPhotoResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetResizedPhotoResponseBody struct {
// GetResizedPhotoBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetResizedPhotoBadRequest struct {
Errors []GetResizedPhotoErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetResizedPhotoResponseBody{}
var _ error = &GetResizedPhotoBadRequest{}
func (e *GetResizedPhotoResponseBody) Error() string {
func (e *GetResizedPhotoBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetResourcesStatisticsStatisticsErrors) GetStatus() *int64 {
return o.Status
}
// GetResourcesStatisticsStatisticsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetResourcesStatisticsStatisticsResponseBody struct {
// GetResourcesStatisticsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetResourcesStatisticsUnauthorized struct {
Errors []GetResourcesStatisticsStatisticsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetResourcesStatisticsStatisticsResponseBody{}
var _ error = &GetResourcesStatisticsUnauthorized{}
func (e *GetResourcesStatisticsStatisticsResponseBody) Error() string {
func (e *GetResourcesStatisticsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetResourcesStatisticsErrors) GetStatus() *int64 {
return o.Status
}
// GetResourcesStatisticsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetResourcesStatisticsResponseBody struct {
// GetResourcesStatisticsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetResourcesStatisticsBadRequest struct {
Errors []GetResourcesStatisticsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetResourcesStatisticsResponseBody{}
var _ error = &GetResourcesStatisticsBadRequest{}
func (e *GetResourcesStatisticsResponseBody) Error() string {
func (e *GetResourcesStatisticsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetSearchLibraryLibraryErrors) GetStatus() *int64 {
return o.Status
}
// GetSearchLibraryLibraryResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetSearchLibraryLibraryResponseBody struct {
// GetSearchLibraryUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetSearchLibraryUnauthorized struct {
Errors []GetSearchLibraryLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetSearchLibraryLibraryResponseBody{}
var _ error = &GetSearchLibraryUnauthorized{}
func (e *GetSearchLibraryLibraryResponseBody) Error() string {
func (e *GetSearchLibraryUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetSearchLibraryErrors) GetStatus() *int64 {
return o.Status
}
// GetSearchLibraryResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetSearchLibraryResponseBody struct {
// GetSearchLibraryBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetSearchLibraryBadRequest struct {
Errors []GetSearchLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetSearchLibraryResponseBody{}
var _ error = &GetSearchLibraryBadRequest{}
func (e *GetSearchLibraryResponseBody) Error() string {
func (e *GetSearchLibraryBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetSearchResultsSearchErrors) GetStatus() *int64 {
return o.Status
}
// GetSearchResultsSearchResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetSearchResultsSearchResponseBody struct {
// GetSearchResultsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetSearchResultsUnauthorized struct {
Errors []GetSearchResultsSearchErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetSearchResultsSearchResponseBody{}
var _ error = &GetSearchResultsUnauthorized{}
func (e *GetSearchResultsSearchResponseBody) Error() string {
func (e *GetSearchResultsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetSearchResultsErrors) GetStatus() *int64 {
return o.Status
}
// GetSearchResultsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetSearchResultsResponseBody struct {
// GetSearchResultsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetSearchResultsBadRequest struct {
Errors []GetSearchResultsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetSearchResultsResponseBody{}
var _ error = &GetSearchResultsBadRequest{}
func (e *GetSearchResultsResponseBody) Error() string {
func (e *GetSearchResultsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetServerActivitiesActivitiesErrors) GetStatus() *int64 {
return o.Status
}
// GetServerActivitiesActivitiesResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetServerActivitiesActivitiesResponseBody struct {
// GetServerActivitiesUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetServerActivitiesUnauthorized struct {
Errors []GetServerActivitiesActivitiesErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetServerActivitiesActivitiesResponseBody{}
var _ error = &GetServerActivitiesUnauthorized{}
func (e *GetServerActivitiesActivitiesResponseBody) Error() string {
func (e *GetServerActivitiesUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetServerActivitiesErrors) GetStatus() *int64 {
return o.Status
}
// GetServerActivitiesResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetServerActivitiesResponseBody struct {
// GetServerActivitiesBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetServerActivitiesBadRequest struct {
Errors []GetServerActivitiesErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetServerActivitiesResponseBody{}
var _ error = &GetServerActivitiesBadRequest{}
func (e *GetServerActivitiesResponseBody) Error() string {
func (e *GetServerActivitiesBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetServerCapabilitiesErrors) GetStatus() *int64 {
return o.Status
}
// GetServerCapabilitiesServerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetServerCapabilitiesServerResponseBody struct {
// GetServerCapabilitiesUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetServerCapabilitiesUnauthorized struct {
Errors []GetServerCapabilitiesErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetServerCapabilitiesServerResponseBody{}
var _ error = &GetServerCapabilitiesUnauthorized{}
func (e *GetServerCapabilitiesServerResponseBody) Error() string {
func (e *GetServerCapabilitiesUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *Errors) GetStatus() *int64 {
return o.Status
}
// GetServerCapabilitiesResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetServerCapabilitiesResponseBody struct {
// GetServerCapabilitiesBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetServerCapabilitiesBadRequest struct {
Errors []Errors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetServerCapabilitiesResponseBody{}
var _ error = &GetServerCapabilitiesBadRequest{}
func (e *GetServerCapabilitiesResponseBody) Error() string {
func (e *GetServerCapabilitiesBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -6,17 +6,17 @@ import (
"net/http"
)
// GetServerIdentityResponseBody - Request Timeout
type GetServerIdentityResponseBody struct {
// GetServerIdentityRequestTimeout - Request Timeout
type GetServerIdentityRequestTimeout struct {
Code *int64 `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetServerIdentityResponseBody{}
var _ error = &GetServerIdentityRequestTimeout{}
func (e *GetServerIdentityResponseBody) Error() string {
func (e *GetServerIdentityRequestTimeout) Error() string {
if e.Message == nil {
return "unknown error"
}

View File

@@ -34,16 +34,16 @@ func (o *GetServerListServerErrors) GetStatus() *int64 {
return o.Status
}
// GetServerListServerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetServerListServerResponseBody struct {
// GetServerListUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetServerListUnauthorized struct {
Errors []GetServerListServerErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetServerListServerResponseBody{}
var _ error = &GetServerListUnauthorized{}
func (e *GetServerListServerResponseBody) Error() string {
func (e *GetServerListUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetServerListErrors) GetStatus() *int64 {
return o.Status
}
// GetServerListResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetServerListResponseBody struct {
// GetServerListBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetServerListBadRequest struct {
Errors []GetServerListErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetServerListResponseBody{}
var _ error = &GetServerListBadRequest{}
func (e *GetServerListResponseBody) Error() string {
func (e *GetServerListBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetServerPreferencesServerErrors) GetStatus() *int64 {
return o.Status
}
// GetServerPreferencesServerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetServerPreferencesServerResponseBody struct {
// GetServerPreferencesUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetServerPreferencesUnauthorized struct {
Errors []GetServerPreferencesServerErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetServerPreferencesServerResponseBody{}
var _ error = &GetServerPreferencesUnauthorized{}
func (e *GetServerPreferencesServerResponseBody) Error() string {
func (e *GetServerPreferencesUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetServerPreferencesErrors) GetStatus() *int64 {
return o.Status
}
// GetServerPreferencesResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetServerPreferencesResponseBody struct {
// GetServerPreferencesBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetServerPreferencesBadRequest struct {
Errors []GetServerPreferencesErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetServerPreferencesResponseBody{}
var _ error = &GetServerPreferencesBadRequest{}
func (e *GetServerPreferencesResponseBody) Error() string {
func (e *GetServerPreferencesBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetServerResourcesPlexErrors) GetStatus() *int64 {
return o.Status
}
// GetServerResourcesPlexResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetServerResourcesPlexResponseBody struct {
// GetServerResourcesUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetServerResourcesUnauthorized struct {
Errors []GetServerResourcesPlexErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetServerResourcesPlexResponseBody{}
var _ error = &GetServerResourcesUnauthorized{}
func (e *GetServerResourcesPlexResponseBody) Error() string {
func (e *GetServerResourcesUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetServerResourcesErrors) GetStatus() *int64 {
return o.Status
}
// GetServerResourcesResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetServerResourcesResponseBody struct {
// GetServerResourcesBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetServerResourcesBadRequest struct {
Errors []GetServerResourcesErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetServerResourcesResponseBody{}
var _ error = &GetServerResourcesBadRequest{}
func (e *GetServerResourcesResponseBody) Error() string {
func (e *GetServerResourcesBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetSessionHistorySessionsErrors) GetStatus() *int64 {
return o.Status
}
// GetSessionHistorySessionsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetSessionHistorySessionsResponseBody struct {
// GetSessionHistoryUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetSessionHistoryUnauthorized struct {
Errors []GetSessionHistorySessionsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetSessionHistorySessionsResponseBody{}
var _ error = &GetSessionHistoryUnauthorized{}
func (e *GetSessionHistorySessionsResponseBody) Error() string {
func (e *GetSessionHistoryUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetSessionHistoryErrors) GetStatus() *int64 {
return o.Status
}
// GetSessionHistoryResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetSessionHistoryResponseBody struct {
// GetSessionHistoryBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetSessionHistoryBadRequest struct {
Errors []GetSessionHistoryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetSessionHistoryResponseBody{}
var _ error = &GetSessionHistoryBadRequest{}
func (e *GetSessionHistoryResponseBody) Error() string {
func (e *GetSessionHistoryBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetSessionsSessionsErrors) GetStatus() *int64 {
return o.Status
}
// GetSessionsSessionsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetSessionsSessionsResponseBody struct {
// GetSessionsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetSessionsUnauthorized struct {
Errors []GetSessionsSessionsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetSessionsSessionsResponseBody{}
var _ error = &GetSessionsUnauthorized{}
func (e *GetSessionsSessionsResponseBody) Error() string {
func (e *GetSessionsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetSessionsErrors) GetStatus() *int64 {
return o.Status
}
// GetSessionsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetSessionsResponseBody struct {
// GetSessionsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetSessionsBadRequest struct {
Errors []GetSessionsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetSessionsResponseBody{}
var _ error = &GetSessionsBadRequest{}
func (e *GetSessionsResponseBody) Error() string {
func (e *GetSessionsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetSourceConnectionInformationAuthenticationErrors) GetStatus() *int64
return o.Status
}
// GetSourceConnectionInformationAuthenticationResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetSourceConnectionInformationAuthenticationResponseBody struct {
// GetSourceConnectionInformationUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetSourceConnectionInformationUnauthorized struct {
Errors []GetSourceConnectionInformationAuthenticationErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetSourceConnectionInformationAuthenticationResponseBody{}
var _ error = &GetSourceConnectionInformationUnauthorized{}
func (e *GetSourceConnectionInformationAuthenticationResponseBody) Error() string {
func (e *GetSourceConnectionInformationUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetSourceConnectionInformationErrors) GetStatus() *int64 {
return o.Status
}
// GetSourceConnectionInformationResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetSourceConnectionInformationResponseBody struct {
// GetSourceConnectionInformationBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetSourceConnectionInformationBadRequest struct {
Errors []GetSourceConnectionInformationErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetSourceConnectionInformationResponseBody{}
var _ error = &GetSourceConnectionInformationBadRequest{}
func (e *GetSourceConnectionInformationResponseBody) Error() string {
func (e *GetSourceConnectionInformationBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetStatisticsStatisticsErrors) GetStatus() *int64 {
return o.Status
}
// GetStatisticsStatisticsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetStatisticsStatisticsResponseBody struct {
// GetStatisticsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetStatisticsUnauthorized struct {
Errors []GetStatisticsStatisticsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetStatisticsStatisticsResponseBody{}
var _ error = &GetStatisticsUnauthorized{}
func (e *GetStatisticsStatisticsResponseBody) Error() string {
func (e *GetStatisticsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetStatisticsErrors) GetStatus() *int64 {
return o.Status
}
// GetStatisticsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetStatisticsResponseBody struct {
// GetStatisticsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetStatisticsBadRequest struct {
Errors []GetStatisticsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetStatisticsResponseBody{}
var _ error = &GetStatisticsBadRequest{}
func (e *GetStatisticsResponseBody) Error() string {
func (e *GetStatisticsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetThumbImageMediaErrors) GetStatus() *int64 {
return o.Status
}
// GetThumbImageMediaResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetThumbImageMediaResponseBody struct {
// GetThumbImageUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetThumbImageUnauthorized struct {
Errors []GetThumbImageMediaErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetThumbImageMediaResponseBody{}
var _ error = &GetThumbImageUnauthorized{}
func (e *GetThumbImageMediaResponseBody) Error() string {
func (e *GetThumbImageUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetThumbImageErrors) GetStatus() *int64 {
return o.Status
}
// GetThumbImageResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetThumbImageResponseBody struct {
// GetThumbImageBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetThumbImageBadRequest struct {
Errors []GetThumbImageErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetThumbImageResponseBody{}
var _ error = &GetThumbImageBadRequest{}
func (e *GetThumbImageResponseBody) Error() string {
func (e *GetThumbImageBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetTimelineVideoErrors) GetStatus() *int64 {
return o.Status
}
// GetTimelineVideoResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetTimelineVideoResponseBody struct {
// GetTimelineUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetTimelineUnauthorized struct {
Errors []GetTimelineVideoErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetTimelineVideoResponseBody{}
var _ error = &GetTimelineUnauthorized{}
func (e *GetTimelineVideoResponseBody) Error() string {
func (e *GetTimelineUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetTimelineErrors) GetStatus() *int64 {
return o.Status
}
// GetTimelineResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetTimelineResponseBody struct {
// GetTimelineBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetTimelineBadRequest struct {
Errors []GetTimelineErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetTimelineResponseBody{}
var _ error = &GetTimelineBadRequest{}
func (e *GetTimelineResponseBody) Error() string {
func (e *GetTimelineBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -26,16 +26,16 @@ func (o *GetTokenByPinIDPlexErrors) GetMessage() *string {
return o.Message
}
// GetTokenByPinIDPlexResponseBody - Not Found or Expired
type GetTokenByPinIDPlexResponseBody struct {
// GetTokenByPinIDResponseBody - Not Found or Expired
type GetTokenByPinIDResponseBody struct {
Errors []GetTokenByPinIDPlexErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetTokenByPinIDPlexResponseBody{}
var _ error = &GetTokenByPinIDResponseBody{}
func (e *GetTokenByPinIDPlexResponseBody) Error() string {
func (e *GetTokenByPinIDResponseBody) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -67,16 +67,16 @@ func (o *GetTokenByPinIDErrors) GetStatus() *int64 {
return o.Status
}
// GetTokenByPinIDResponseBody - Bad Request response when the X-Plex-Client-Identifier is missing
type GetTokenByPinIDResponseBody struct {
// GetTokenByPinIDBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetTokenByPinIDBadRequest struct {
Errors []GetTokenByPinIDErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetTokenByPinIDResponseBody{}
var _ error = &GetTokenByPinIDBadRequest{}
func (e *GetTokenByPinIDResponseBody) Error() string {
func (e *GetTokenByPinIDBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

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

View File

@@ -34,16 +34,16 @@ func (o *GetTopWatchedContentLibraryErrors) GetStatus() *int64 {
return o.Status
}
// GetTopWatchedContentLibraryResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetTopWatchedContentLibraryResponseBody struct {
// GetTopWatchedContentUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetTopWatchedContentUnauthorized struct {
Errors []GetTopWatchedContentLibraryErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetTopWatchedContentLibraryResponseBody{}
var _ error = &GetTopWatchedContentUnauthorized{}
func (e *GetTopWatchedContentLibraryResponseBody) Error() string {
func (e *GetTopWatchedContentUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetTopWatchedContentErrors) GetStatus() *int64 {
return o.Status
}
// GetTopWatchedContentResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetTopWatchedContentResponseBody struct {
// GetTopWatchedContentBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetTopWatchedContentBadRequest struct {
Errors []GetTopWatchedContentErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetTopWatchedContentResponseBody{}
var _ error = &GetTopWatchedContentBadRequest{}
func (e *GetTopWatchedContentResponseBody) Error() string {
func (e *GetTopWatchedContentBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetTranscodeSessionsSessionsErrors) GetStatus() *int64 {
return o.Status
}
// GetTranscodeSessionsSessionsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetTranscodeSessionsSessionsResponseBody struct {
// GetTranscodeSessionsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetTranscodeSessionsUnauthorized struct {
Errors []GetTranscodeSessionsSessionsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetTranscodeSessionsSessionsResponseBody{}
var _ error = &GetTranscodeSessionsUnauthorized{}
func (e *GetTranscodeSessionsSessionsResponseBody) Error() string {
func (e *GetTranscodeSessionsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetTranscodeSessionsErrors) GetStatus() *int64 {
return o.Status
}
// GetTranscodeSessionsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetTranscodeSessionsResponseBody struct {
// GetTranscodeSessionsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetTranscodeSessionsBadRequest struct {
Errors []GetTranscodeSessionsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetTranscodeSessionsResponseBody{}
var _ error = &GetTranscodeSessionsBadRequest{}
func (e *GetTranscodeSessionsResponseBody) Error() string {
func (e *GetTranscodeSessionsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetTransientTokenAuthenticationErrors) GetStatus() *int64 {
return o.Status
}
// GetTransientTokenAuthenticationResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetTransientTokenAuthenticationResponseBody struct {
// GetTransientTokenUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetTransientTokenUnauthorized struct {
Errors []GetTransientTokenAuthenticationErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetTransientTokenAuthenticationResponseBody{}
var _ error = &GetTransientTokenUnauthorized{}
func (e *GetTransientTokenAuthenticationResponseBody) Error() string {
func (e *GetTransientTokenUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetTransientTokenErrors) GetStatus() *int64 {
return o.Status
}
// GetTransientTokenResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetTransientTokenResponseBody struct {
// GetTransientTokenBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetTransientTokenBadRequest struct {
Errors []GetTransientTokenErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetTransientTokenResponseBody{}
var _ error = &GetTransientTokenBadRequest{}
func (e *GetTransientTokenResponseBody) Error() string {
func (e *GetTransientTokenBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetUpdateStatusUpdaterErrors) GetStatus() *int64 {
return o.Status
}
// GetUpdateStatusUpdaterResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetUpdateStatusUpdaterResponseBody struct {
// GetUpdateStatusUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetUpdateStatusUnauthorized struct {
Errors []GetUpdateStatusUpdaterErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetUpdateStatusUpdaterResponseBody{}
var _ error = &GetUpdateStatusUnauthorized{}
func (e *GetUpdateStatusUpdaterResponseBody) Error() string {
func (e *GetUpdateStatusUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetUpdateStatusErrors) GetStatus() *int64 {
return o.Status
}
// GetUpdateStatusResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetUpdateStatusResponseBody struct {
// GetUpdateStatusBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetUpdateStatusBadRequest struct {
Errors []GetUpdateStatusErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetUpdateStatusResponseBody{}
var _ error = &GetUpdateStatusBadRequest{}
func (e *GetUpdateStatusResponseBody) Error() string {
func (e *GetUpdateStatusBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

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

View File

@@ -34,16 +34,16 @@ func (o *GetUserFriendsPlexErrors) GetStatus() *int64 {
return o.Status
}
// GetUserFriendsPlexResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetUserFriendsPlexResponseBody struct {
// GetUserFriendsUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetUserFriendsUnauthorized struct {
Errors []GetUserFriendsPlexErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetUserFriendsPlexResponseBody{}
var _ error = &GetUserFriendsUnauthorized{}
func (e *GetUserFriendsPlexResponseBody) Error() string {
func (e *GetUserFriendsUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetUserFriendsErrors) GetStatus() *int64 {
return o.Status
}
// GetUserFriendsResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetUserFriendsResponseBody struct {
// GetUserFriendsBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetUserFriendsBadRequest struct {
Errors []GetUserFriendsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetUserFriendsResponseBody{}
var _ error = &GetUserFriendsBadRequest{}
func (e *GetUserFriendsResponseBody) Error() string {
func (e *GetUserFriendsBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *GetWatchListWatchlistErrors) GetStatus() *int64 {
return o.Status
}
// GetWatchListWatchlistResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetWatchListWatchlistResponseBody struct {
// GetWatchListUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type GetWatchListUnauthorized struct {
Errors []GetWatchListWatchlistErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetWatchListWatchlistResponseBody{}
var _ error = &GetWatchListUnauthorized{}
func (e *GetWatchListWatchlistResponseBody) Error() string {
func (e *GetWatchListUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *GetWatchListErrors) GetStatus() *int64 {
return o.Status
}
// GetWatchListResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetWatchListResponseBody struct {
// GetWatchListBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type GetWatchListBadRequest struct {
Errors []GetWatchListErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &GetWatchListResponseBody{}
var _ error = &GetWatchListBadRequest{}
func (e *GetWatchListResponseBody) Error() string {
func (e *GetWatchListBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *LogLineLogErrors) GetStatus() *int64 {
return o.Status
}
// LogLineLogResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type LogLineLogResponseBody struct {
// LogLineUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type LogLineUnauthorized struct {
Errors []LogLineLogErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &LogLineLogResponseBody{}
var _ error = &LogLineUnauthorized{}
func (e *LogLineLogResponseBody) Error() string {
func (e *LogLineUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *LogLineErrors) GetStatus() *int64 {
return o.Status
}
// LogLineResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type LogLineResponseBody struct {
// LogLineBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type LogLineBadRequest struct {
Errors []LogLineErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &LogLineResponseBody{}
var _ error = &LogLineBadRequest{}
func (e *LogLineResponseBody) Error() string {
func (e *LogLineBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *LogMultiLineLogErrors) GetStatus() *int64 {
return o.Status
}
// LogMultiLineLogResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type LogMultiLineLogResponseBody struct {
// LogMultiLineUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type LogMultiLineUnauthorized struct {
Errors []LogMultiLineLogErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &LogMultiLineLogResponseBody{}
var _ error = &LogMultiLineUnauthorized{}
func (e *LogMultiLineLogResponseBody) Error() string {
func (e *LogMultiLineUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *LogMultiLineErrors) GetStatus() *int64 {
return o.Status
}
// LogMultiLineResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type LogMultiLineResponseBody struct {
// LogMultiLineBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type LogMultiLineBadRequest struct {
Errors []LogMultiLineErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &LogMultiLineResponseBody{}
var _ error = &LogMultiLineBadRequest{}
func (e *LogMultiLineResponseBody) Error() string {
func (e *LogMultiLineBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *MarkPlayedMediaErrors) GetStatus() *int64 {
return o.Status
}
// MarkPlayedMediaResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type MarkPlayedMediaResponseBody struct {
// MarkPlayedUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type MarkPlayedUnauthorized struct {
Errors []MarkPlayedMediaErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &MarkPlayedMediaResponseBody{}
var _ error = &MarkPlayedUnauthorized{}
func (e *MarkPlayedMediaResponseBody) Error() string {
func (e *MarkPlayedUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *MarkPlayedErrors) GetStatus() *int64 {
return o.Status
}
// MarkPlayedResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type MarkPlayedResponseBody struct {
// MarkPlayedBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type MarkPlayedBadRequest struct {
Errors []MarkPlayedErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &MarkPlayedResponseBody{}
var _ error = &MarkPlayedBadRequest{}
func (e *MarkPlayedResponseBody) Error() string {
func (e *MarkPlayedBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *MarkUnplayedMediaErrors) GetStatus() *int64 {
return o.Status
}
// MarkUnplayedMediaResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type MarkUnplayedMediaResponseBody struct {
// MarkUnplayedUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type MarkUnplayedUnauthorized struct {
Errors []MarkUnplayedMediaErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &MarkUnplayedMediaResponseBody{}
var _ error = &MarkUnplayedUnauthorized{}
func (e *MarkUnplayedMediaResponseBody) Error() string {
func (e *MarkUnplayedUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *MarkUnplayedErrors) GetStatus() *int64 {
return o.Status
}
// MarkUnplayedResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type MarkUnplayedResponseBody struct {
// MarkUnplayedBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type MarkUnplayedBadRequest struct {
Errors []MarkUnplayedErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &MarkUnplayedResponseBody{}
var _ error = &MarkUnplayedBadRequest{}
func (e *MarkUnplayedResponseBody) Error() string {
func (e *MarkUnplayedBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *PerformSearchSearchErrors) GetStatus() *int64 {
return o.Status
}
// PerformSearchSearchResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type PerformSearchSearchResponseBody struct {
// PerformSearchUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type PerformSearchUnauthorized struct {
Errors []PerformSearchSearchErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &PerformSearchSearchResponseBody{}
var _ error = &PerformSearchUnauthorized{}
func (e *PerformSearchSearchResponseBody) Error() string {
func (e *PerformSearchUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *PerformSearchErrors) GetStatus() *int64 {
return o.Status
}
// PerformSearchResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type PerformSearchResponseBody struct {
// PerformSearchBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type PerformSearchBadRequest struct {
Errors []PerformSearchErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &PerformSearchResponseBody{}
var _ error = &PerformSearchBadRequest{}
func (e *PerformSearchResponseBody) Error() string {
func (e *PerformSearchBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *PerformVoiceSearchSearchErrors) GetStatus() *int64 {
return o.Status
}
// PerformVoiceSearchSearchResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type PerformVoiceSearchSearchResponseBody struct {
// PerformVoiceSearchUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type PerformVoiceSearchUnauthorized struct {
Errors []PerformVoiceSearchSearchErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &PerformVoiceSearchSearchResponseBody{}
var _ error = &PerformVoiceSearchUnauthorized{}
func (e *PerformVoiceSearchSearchResponseBody) Error() string {
func (e *PerformVoiceSearchUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *PerformVoiceSearchErrors) GetStatus() *int64 {
return o.Status
}
// PerformVoiceSearchResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type PerformVoiceSearchResponseBody struct {
// PerformVoiceSearchBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type PerformVoiceSearchBadRequest struct {
Errors []PerformVoiceSearchErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &PerformVoiceSearchResponseBody{}
var _ error = &PerformVoiceSearchBadRequest{}
func (e *PerformVoiceSearchResponseBody) Error() string {
func (e *PerformVoiceSearchBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *PostUsersSignInDataAuthenticationErrors) GetStatus() *int64 {
return o.Status
}
// PostUsersSignInDataAuthenticationResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type PostUsersSignInDataAuthenticationResponseBody struct {
// PostUsersSignInDataUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type PostUsersSignInDataUnauthorized struct {
Errors []PostUsersSignInDataAuthenticationErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &PostUsersSignInDataAuthenticationResponseBody{}
var _ error = &PostUsersSignInDataUnauthorized{}
func (e *PostUsersSignInDataAuthenticationResponseBody) Error() string {
func (e *PostUsersSignInDataUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *PostUsersSignInDataErrors) GetStatus() *int64 {
return o.Status
}
// PostUsersSignInDataResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type PostUsersSignInDataResponseBody struct {
// PostUsersSignInDataBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type PostUsersSignInDataBadRequest struct {
Errors []PostUsersSignInDataErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &PostUsersSignInDataResponseBody{}
var _ error = &PostUsersSignInDataBadRequest{}
func (e *PostUsersSignInDataResponseBody) Error() string {
func (e *PostUsersSignInDataBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *StartAllTasksButlerErrors) GetStatus() *int64 {
return o.Status
}
// StartAllTasksButlerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type StartAllTasksButlerResponseBody struct {
// StartAllTasksUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type StartAllTasksUnauthorized struct {
Errors []StartAllTasksButlerErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &StartAllTasksButlerResponseBody{}
var _ error = &StartAllTasksUnauthorized{}
func (e *StartAllTasksButlerResponseBody) Error() string {
func (e *StartAllTasksUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *StartAllTasksErrors) GetStatus() *int64 {
return o.Status
}
// StartAllTasksResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type StartAllTasksResponseBody struct {
// StartAllTasksBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type StartAllTasksBadRequest struct {
Errors []StartAllTasksErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &StartAllTasksResponseBody{}
var _ error = &StartAllTasksBadRequest{}
func (e *StartAllTasksResponseBody) Error() string {
func (e *StartAllTasksBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *StartTaskButlerErrors) GetStatus() *int64 {
return o.Status
}
// StartTaskButlerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type StartTaskButlerResponseBody struct {
// StartTaskUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type StartTaskUnauthorized struct {
Errors []StartTaskButlerErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &StartTaskButlerResponseBody{}
var _ error = &StartTaskUnauthorized{}
func (e *StartTaskButlerResponseBody) Error() string {
func (e *StartTaskUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *StartTaskErrors) GetStatus() *int64 {
return o.Status
}
// StartTaskResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type StartTaskResponseBody struct {
// StartTaskBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type StartTaskBadRequest struct {
Errors []StartTaskErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &StartTaskResponseBody{}
var _ error = &StartTaskBadRequest{}
func (e *StartTaskResponseBody) Error() string {
func (e *StartTaskBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *StartUniversalTranscodeVideoErrors) GetStatus() *int64 {
return o.Status
}
// StartUniversalTranscodeVideoResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type StartUniversalTranscodeVideoResponseBody struct {
// StartUniversalTranscodeUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type StartUniversalTranscodeUnauthorized struct {
Errors []StartUniversalTranscodeVideoErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &StartUniversalTranscodeVideoResponseBody{}
var _ error = &StartUniversalTranscodeUnauthorized{}
func (e *StartUniversalTranscodeVideoResponseBody) Error() string {
func (e *StartUniversalTranscodeUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *StartUniversalTranscodeErrors) GetStatus() *int64 {
return o.Status
}
// StartUniversalTranscodeResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type StartUniversalTranscodeResponseBody struct {
// StartUniversalTranscodeBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type StartUniversalTranscodeBadRequest struct {
Errors []StartUniversalTranscodeErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &StartUniversalTranscodeResponseBody{}
var _ error = &StartUniversalTranscodeBadRequest{}
func (e *StartUniversalTranscodeResponseBody) Error() string {
func (e *StartUniversalTranscodeBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *StopAllTasksButlerErrors) GetStatus() *int64 {
return o.Status
}
// StopAllTasksButlerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type StopAllTasksButlerResponseBody struct {
// StopAllTasksUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type StopAllTasksUnauthorized struct {
Errors []StopAllTasksButlerErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &StopAllTasksButlerResponseBody{}
var _ error = &StopAllTasksUnauthorized{}
func (e *StopAllTasksButlerResponseBody) Error() string {
func (e *StopAllTasksUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *StopAllTasksErrors) GetStatus() *int64 {
return o.Status
}
// StopAllTasksResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type StopAllTasksResponseBody struct {
// StopAllTasksBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type StopAllTasksBadRequest struct {
Errors []StopAllTasksErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &StopAllTasksResponseBody{}
var _ error = &StopAllTasksBadRequest{}
func (e *StopAllTasksResponseBody) Error() string {
func (e *StopAllTasksBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *StopTaskButlerErrors) GetStatus() *int64 {
return o.Status
}
// StopTaskButlerResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type StopTaskButlerResponseBody struct {
// StopTaskUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type StopTaskUnauthorized struct {
Errors []StopTaskButlerErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &StopTaskButlerResponseBody{}
var _ error = &StopTaskUnauthorized{}
func (e *StopTaskButlerResponseBody) Error() string {
func (e *StopTaskUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *StopTaskErrors) GetStatus() *int64 {
return o.Status
}
// StopTaskResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type StopTaskResponseBody struct {
// StopTaskBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type StopTaskBadRequest struct {
Errors []StopTaskErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &StopTaskResponseBody{}
var _ error = &StopTaskBadRequest{}
func (e *StopTaskResponseBody) Error() string {
func (e *StopTaskBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *StopTranscodeSessionSessionsErrors) GetStatus() *int64 {
return o.Status
}
// StopTranscodeSessionSessionsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type StopTranscodeSessionSessionsResponseBody struct {
// StopTranscodeSessionUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type StopTranscodeSessionUnauthorized struct {
Errors []StopTranscodeSessionSessionsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &StopTranscodeSessionSessionsResponseBody{}
var _ error = &StopTranscodeSessionUnauthorized{}
func (e *StopTranscodeSessionSessionsResponseBody) Error() string {
func (e *StopTranscodeSessionUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *StopTranscodeSessionErrors) GetStatus() *int64 {
return o.Status
}
// StopTranscodeSessionResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type StopTranscodeSessionResponseBody struct {
// StopTranscodeSessionBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type StopTranscodeSessionBadRequest struct {
Errors []StopTranscodeSessionErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &StopTranscodeSessionResponseBody{}
var _ error = &StopTranscodeSessionBadRequest{}
func (e *StopTranscodeSessionResponseBody) Error() string {
func (e *StopTranscodeSessionBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *UpdatePlaylistPlaylistsErrors) GetStatus() *int64 {
return o.Status
}
// UpdatePlaylistPlaylistsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type UpdatePlaylistPlaylistsResponseBody struct {
// UpdatePlaylistUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type UpdatePlaylistUnauthorized struct {
Errors []UpdatePlaylistPlaylistsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &UpdatePlaylistPlaylistsResponseBody{}
var _ error = &UpdatePlaylistUnauthorized{}
func (e *UpdatePlaylistPlaylistsResponseBody) Error() string {
func (e *UpdatePlaylistUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *UpdatePlaylistErrors) GetStatus() *int64 {
return o.Status
}
// UpdatePlaylistResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type UpdatePlaylistResponseBody struct {
// UpdatePlaylistBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type UpdatePlaylistBadRequest struct {
Errors []UpdatePlaylistErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &UpdatePlaylistResponseBody{}
var _ error = &UpdatePlaylistBadRequest{}
func (e *UpdatePlaylistResponseBody) Error() string {
func (e *UpdatePlaylistBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *UpdatePlayProgressMediaErrors) GetStatus() *int64 {
return o.Status
}
// UpdatePlayProgressMediaResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type UpdatePlayProgressMediaResponseBody struct {
// UpdatePlayProgressUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type UpdatePlayProgressUnauthorized struct {
Errors []UpdatePlayProgressMediaErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &UpdatePlayProgressMediaResponseBody{}
var _ error = &UpdatePlayProgressUnauthorized{}
func (e *UpdatePlayProgressMediaResponseBody) Error() string {
func (e *UpdatePlayProgressUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *UpdatePlayProgressErrors) GetStatus() *int64 {
return o.Status
}
// UpdatePlayProgressResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type UpdatePlayProgressResponseBody struct {
// UpdatePlayProgressBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type UpdatePlayProgressBadRequest struct {
Errors []UpdatePlayProgressErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &UpdatePlayProgressResponseBody{}
var _ error = &UpdatePlayProgressBadRequest{}
func (e *UpdatePlayProgressResponseBody) Error() string {
func (e *UpdatePlayProgressBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}

View File

@@ -34,16 +34,16 @@ func (o *UploadPlaylistPlaylistsErrors) GetStatus() *int64 {
return o.Status
}
// UploadPlaylistPlaylistsResponseBody - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type UploadPlaylistPlaylistsResponseBody struct {
// UploadPlaylistUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
type UploadPlaylistUnauthorized struct {
Errors []UploadPlaylistPlaylistsErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &UploadPlaylistPlaylistsResponseBody{}
var _ error = &UploadPlaylistUnauthorized{}
func (e *UploadPlaylistPlaylistsResponseBody) Error() string {
func (e *UploadPlaylistUnauthorized) Error() string {
data, _ := json.Marshal(e)
return string(data)
}
@@ -75,16 +75,16 @@ func (o *UploadPlaylistErrors) GetStatus() *int64 {
return o.Status
}
// UploadPlaylistResponseBody - Bad Request - A parameter was not specified, or was specified incorrectly.
type UploadPlaylistResponseBody struct {
// UploadPlaylistBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly.
type UploadPlaylistBadRequest struct {
Errors []UploadPlaylistErrors `json:"errors,omitempty"`
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response `json:"-"`
}
var _ error = &UploadPlaylistResponseBody{}
var _ error = &UploadPlaylistBadRequest{}
func (e *UploadPlaylistResponseBody) Error() string {
func (e *UploadPlaylistBadRequest) Error() string {
data, _ := json.Marshal(e)
return string(data)
}