ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.615.2

This commit is contained in:
speakeasybot
2025-09-16 00:04:22 +00:00
parent dda385c4f3
commit de330d5951
103 changed files with 721 additions and 358 deletions

View File

@@ -1,6 +1,7 @@
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
from dataclasses import dataclass, field
import httpx
from plex_api_client.models.errors import PlexAPIError
from plex_api_client.types import BaseModel
@@ -32,10 +33,11 @@ class GetSessionsUnauthorizedData(BaseModel):
r"""Raw HTTP response; suitable for custom response parsing"""
@dataclass(frozen=True)
class GetSessionsUnauthorized(PlexAPIError):
r"""Unauthorized - Returned if the X-Plex-Token is missing from the header or query."""
data: GetSessionsUnauthorizedData
data: GetSessionsUnauthorizedData = field(hash=False)
def __init__(
self,
@@ -45,7 +47,7 @@ class GetSessionsUnauthorized(PlexAPIError):
):
message = body or raw_response.text
super().__init__(message, raw_response, body)
self.data = data
object.__setattr__(self, "data", data)
class GetSessionsErrorsTypedDict(TypedDict):
@@ -71,10 +73,11 @@ class GetSessionsBadRequestData(BaseModel):
r"""Raw HTTP response; suitable for custom response parsing"""
@dataclass(frozen=True)
class GetSessionsBadRequest(PlexAPIError):
r"""Bad Request - A parameter was not specified, or was specified incorrectly."""
data: GetSessionsBadRequestData
data: GetSessionsBadRequestData = field(hash=False)
def __init__(
self,
@@ -84,4 +87,4 @@ class GetSessionsBadRequest(PlexAPIError):
):
message = body or raw_response.text
super().__init__(message, raw_response, body)
self.data = data
object.__setattr__(self, "data", data)