mirror of
https://github.com/LukeHagar/plexpy.git
synced 2025-12-09 12:47:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.484.1
This commit is contained in:
135
src/plex_api_client/models/operations/get_countries_library.py
Normal file
135
src/plex_api_client/models/operations/get_countries_library.py
Normal file
@@ -0,0 +1,135 @@
|
||||
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
||||
|
||||
from __future__ import annotations
|
||||
import httpx
|
||||
from plex_api_client.types import BaseModel
|
||||
from plex_api_client.utils import FieldMetadata, PathParamMetadata
|
||||
import pydantic
|
||||
from typing import List, Optional
|
||||
from typing_extensions import Annotated, NotRequired, TypedDict
|
||||
|
||||
|
||||
class GetCountriesLibraryRequestTypedDict(TypedDict):
|
||||
section_key: int
|
||||
r"""The unique key of the Plex library.
|
||||
Note: This is unique in the context of the Plex server.
|
||||
|
||||
"""
|
||||
|
||||
|
||||
class GetCountriesLibraryRequest(BaseModel):
|
||||
section_key: Annotated[
|
||||
int,
|
||||
pydantic.Field(alias="sectionKey"),
|
||||
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
||||
]
|
||||
r"""The unique key of the Plex library.
|
||||
Note: This is unique in the context of the Plex server.
|
||||
|
||||
"""
|
||||
|
||||
|
||||
class GetCountriesLibraryDirectoryTypedDict(TypedDict):
|
||||
fast_key: str
|
||||
key: str
|
||||
title: str
|
||||
|
||||
|
||||
class GetCountriesLibraryDirectory(BaseModel):
|
||||
fast_key: Annotated[str, pydantic.Field(alias="fastKey")]
|
||||
|
||||
key: str
|
||||
|
||||
title: str
|
||||
|
||||
|
||||
class GetCountriesLibraryMediaContainerTypedDict(TypedDict):
|
||||
size: float
|
||||
identifier: str
|
||||
allow_sync: bool
|
||||
art: str
|
||||
content: str
|
||||
media_tag_prefix: str
|
||||
media_tag_version: int
|
||||
nocache: bool
|
||||
thumb: str
|
||||
title1: str
|
||||
title2: str
|
||||
view_group: str
|
||||
offset: NotRequired[int]
|
||||
total_size: NotRequired[int]
|
||||
directory: NotRequired[List[GetCountriesLibraryDirectoryTypedDict]]
|
||||
|
||||
|
||||
class GetCountriesLibraryMediaContainer(BaseModel):
|
||||
size: float
|
||||
|
||||
identifier: str
|
||||
|
||||
allow_sync: Annotated[bool, pydantic.Field(alias="allowSync")]
|
||||
|
||||
art: str
|
||||
|
||||
content: str
|
||||
|
||||
media_tag_prefix: Annotated[str, pydantic.Field(alias="mediaTagPrefix")]
|
||||
|
||||
media_tag_version: Annotated[int, pydantic.Field(alias="mediaTagVersion")]
|
||||
|
||||
nocache: bool
|
||||
|
||||
thumb: str
|
||||
|
||||
title1: str
|
||||
|
||||
title2: str
|
||||
|
||||
view_group: Annotated[str, pydantic.Field(alias="viewGroup")]
|
||||
|
||||
offset: Optional[int] = None
|
||||
|
||||
total_size: Annotated[Optional[int], pydantic.Field(alias="totalSize")] = None
|
||||
|
||||
directory: Annotated[
|
||||
Optional[List[GetCountriesLibraryDirectory]], pydantic.Field(alias="Directory")
|
||||
] = None
|
||||
|
||||
|
||||
class GetCountriesLibraryResponseBodyTypedDict(TypedDict):
|
||||
r"""Successful response containing media container data."""
|
||||
|
||||
media_container: NotRequired[GetCountriesLibraryMediaContainerTypedDict]
|
||||
|
||||
|
||||
class GetCountriesLibraryResponseBody(BaseModel):
|
||||
r"""Successful response containing media container data."""
|
||||
|
||||
media_container: Annotated[
|
||||
Optional[GetCountriesLibraryMediaContainer],
|
||||
pydantic.Field(alias="MediaContainer"),
|
||||
] = None
|
||||
|
||||
|
||||
class GetCountriesLibraryResponseTypedDict(TypedDict):
|
||||
content_type: str
|
||||
r"""HTTP response content type for this operation"""
|
||||
status_code: int
|
||||
r"""HTTP response status code for this operation"""
|
||||
raw_response: httpx.Response
|
||||
r"""Raw HTTP response; suitable for custom response parsing"""
|
||||
object: NotRequired[GetCountriesLibraryResponseBodyTypedDict]
|
||||
r"""Successful response containing media container data."""
|
||||
|
||||
|
||||
class GetCountriesLibraryResponse(BaseModel):
|
||||
content_type: str
|
||||
r"""HTTP response content type for this operation"""
|
||||
|
||||
status_code: int
|
||||
r"""HTTP response status code for this operation"""
|
||||
|
||||
raw_response: httpx.Response
|
||||
r"""Raw HTTP response; suitable for custom response parsing"""
|
||||
|
||||
object: Optional[GetCountriesLibraryResponseBody] = None
|
||||
r"""Successful response containing media container data."""
|
||||
Reference in New Issue
Block a user