@ -10,14 +10,14 @@ T = TypeVar("T", bound="ApiCallWithPriceResultsPage")
|
||||
@attr.s(auto_attribs=True)
|
||||
class ApiCallWithPriceResultsPage:
|
||||
""" """
|
||||
from ...models import ApiCallWithPrice
|
||||
from ..models import ApiCallWithPrice
|
||||
items: Union[Unset, List[ApiCallWithPrice]] = UNSET
|
||||
next_page: Union[Unset, str] = UNSET
|
||||
|
||||
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
|
||||
|
||||
def to_dict(self) -> Dict[str, Any]:
|
||||
from ...models import ApiCallWithPrice
|
||||
from ..models import ApiCallWithPrice
|
||||
items: Union[Unset, List[ApiCallWithPrice]] = UNSET
|
||||
if not isinstance(self.items, Unset):
|
||||
items = self.items
|
||||
@ -36,7 +36,7 @@ class ApiCallWithPriceResultsPage:
|
||||
@classmethod
|
||||
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
||||
d = src_dict.copy()
|
||||
from ...models import ApiCallWithPrice
|
||||
from ..models import ApiCallWithPrice
|
||||
items = cast(List[ApiCallWithPrice], d.pop("items", UNSET))
|
||||
|
||||
next_page = d.pop("next_page", UNSET)
|
||||
|
@ -10,14 +10,14 @@ T = TypeVar("T", bound="ApiTokenResultsPage")
|
||||
@attr.s(auto_attribs=True)
|
||||
class ApiTokenResultsPage:
|
||||
""" """
|
||||
from ...models import ApiToken
|
||||
from ..models import ApiToken
|
||||
items: Union[Unset, List[ApiToken]] = UNSET
|
||||
next_page: Union[Unset, str] = UNSET
|
||||
|
||||
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
|
||||
|
||||
def to_dict(self) -> Dict[str, Any]:
|
||||
from ...models import ApiToken
|
||||
from ..models import ApiToken
|
||||
items: Union[Unset, List[ApiToken]] = UNSET
|
||||
if not isinstance(self.items, Unset):
|
||||
items = self.items
|
||||
@ -36,7 +36,7 @@ class ApiTokenResultsPage:
|
||||
@classmethod
|
||||
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
||||
d = src_dict.copy()
|
||||
from ...models import ApiToken
|
||||
from ..models import ApiToken
|
||||
items = cast(List[ApiToken], d.pop("items", UNSET))
|
||||
|
||||
next_page = d.pop("next_page", UNSET)
|
||||
|
@ -10,14 +10,14 @@ T = TypeVar("T", bound="ExtendedUserResultsPage")
|
||||
@attr.s(auto_attribs=True)
|
||||
class ExtendedUserResultsPage:
|
||||
""" """
|
||||
from ...models import ExtendedUser
|
||||
from ..models import ExtendedUser
|
||||
items: Union[Unset, List[ExtendedUser]] = UNSET
|
||||
next_page: Union[Unset, str] = UNSET
|
||||
|
||||
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
|
||||
|
||||
def to_dict(self) -> Dict[str, Any]:
|
||||
from ...models import ExtendedUser
|
||||
from ..models import ExtendedUser
|
||||
items: Union[Unset, List[ExtendedUser]] = UNSET
|
||||
if not isinstance(self.items, Unset):
|
||||
items = self.items
|
||||
@ -36,7 +36,7 @@ class ExtendedUserResultsPage:
|
||||
@classmethod
|
||||
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
||||
d = src_dict.copy()
|
||||
from ...models import ExtendedUser
|
||||
from ..models import ExtendedUser
|
||||
items = cast(List[ExtendedUser], d.pop("items", UNSET))
|
||||
|
||||
next_page = d.pop("next_page", UNSET)
|
||||
|
@ -10,14 +10,14 @@ T = TypeVar("T", bound="FileConversionResultsPage")
|
||||
@attr.s(auto_attribs=True)
|
||||
class FileConversionResultsPage:
|
||||
""" """
|
||||
from ...models import FileConversion
|
||||
from ..models import FileConversion
|
||||
items: Union[Unset, List[FileConversion]] = UNSET
|
||||
next_page: Union[Unset, str] = UNSET
|
||||
|
||||
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
|
||||
|
||||
def to_dict(self) -> Dict[str, Any]:
|
||||
from ...models import FileConversion
|
||||
from ..models import FileConversion
|
||||
items: Union[Unset, List[FileConversion]] = UNSET
|
||||
if not isinstance(self.items, Unset):
|
||||
items = self.items
|
||||
@ -36,7 +36,7 @@ class FileConversionResultsPage:
|
||||
@classmethod
|
||||
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
||||
d = src_dict.copy()
|
||||
from ...models import FileConversion
|
||||
from ..models import FileConversion
|
||||
items = cast(List[FileConversion], d.pop("items", UNSET))
|
||||
|
||||
next_page = d.pop("next_page", UNSET)
|
||||
|
@ -10,14 +10,14 @@ T = TypeVar("T", bound="UserResultsPage")
|
||||
@attr.s(auto_attribs=True)
|
||||
class UserResultsPage:
|
||||
""" """
|
||||
from ...models import User
|
||||
from ..models import User
|
||||
items: Union[Unset, List[User]] = UNSET
|
||||
next_page: Union[Unset, str] = UNSET
|
||||
|
||||
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
|
||||
|
||||
def to_dict(self) -> Dict[str, Any]:
|
||||
from ...models import User
|
||||
from ..models import User
|
||||
items: Union[Unset, List[User]] = UNSET
|
||||
if not isinstance(self.items, Unset):
|
||||
items = self.items
|
||||
@ -36,7 +36,7 @@ class UserResultsPage:
|
||||
@classmethod
|
||||
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
||||
d = src_dict.copy()
|
||||
from ...models import User
|
||||
from ..models import User
|
||||
items = cast(List[User], d.pop("items", UNSET))
|
||||
|
||||
next_page = d.pop("next_page", UNSET)
|
||||
|
Reference in New Issue
Block a user