Update api spec (#132)

* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-08-30 18:30:23 -07:00
committed by GitHub
parent 816904419e
commit 63824cd04f
74 changed files with 819 additions and 717 deletions

View File

@ -4,7 +4,7 @@ import attr
from ..types import UNSET, Unset
YK = TypeVar("YK", bound="ice_server_info")
WS = TypeVar("WS", bound="ice_server_info")
@attr.s(auto_attribs=True)
@ -30,7 +30,7 @@ class ice_server_info:
return field_dict
@classmethod
def from_dict(cls: Type[YK], src_dict: Dict[str, Any]) -> YK:
def from_dict(cls: Type[WS], src_dict: Dict[str, Any]) -> WS:
d = src_dict.copy()
data = d.pop("data", UNSET)
type = d.pop("type", UNSET)
@ -60,7 +60,7 @@ class ice_server_info:
return key in self.additional_properties
WS = TypeVar("WS", bound="trickle_ice")
SL = TypeVar("SL", bound="trickle_ice")
@attr.s(auto_attribs=True)
@ -86,7 +86,7 @@ class trickle_ice:
return field_dict
@classmethod
def from_dict(cls: Type[WS], src_dict: Dict[str, Any]) -> WS:
def from_dict(cls: Type[SL], src_dict: Dict[str, Any]) -> SL:
d = src_dict.copy()
data = d.pop("data", UNSET)
type = d.pop("type", UNSET)
@ -116,7 +116,7 @@ class trickle_ice:
return key in self.additional_properties
SL = TypeVar("SL", bound="sdp_answer")
MK = TypeVar("MK", bound="sdp_answer")
@attr.s(auto_attribs=True)
@ -142,7 +142,7 @@ class sdp_answer:
return field_dict
@classmethod
def from_dict(cls: Type[SL], src_dict: Dict[str, Any]) -> SL:
def from_dict(cls: Type[MK], src_dict: Dict[str, Any]) -> MK:
d = src_dict.copy()
data = d.pop("data", UNSET)
type = d.pop("type", UNSET)
@ -172,7 +172,7 @@ class sdp_answer:
return key in self.additional_properties
MK = TypeVar("MK", bound="modeling")
TU = TypeVar("TU", bound="modeling")
@attr.s(auto_attribs=True)
@ -198,7 +198,7 @@ class modeling:
return field_dict
@classmethod
def from_dict(cls: Type[MK], src_dict: Dict[str, Any]) -> MK:
def from_dict(cls: Type[TU], src_dict: Dict[str, Any]) -> TU:
d = src_dict.copy()
data = d.pop("data", UNSET)
type = d.pop("type", UNSET)
@ -228,7 +228,7 @@ class modeling:
return key in self.additional_properties
TU = TypeVar("TU", bound="export")
FY = TypeVar("FY", bound="export")
@attr.s(auto_attribs=True)
@ -254,7 +254,7 @@ class export:
return field_dict
@classmethod
def from_dict(cls: Type[TU], src_dict: Dict[str, Any]) -> TU:
def from_dict(cls: Type[FY], src_dict: Dict[str, Any]) -> FY:
d = src_dict.copy()
data = d.pop("data", UNSET)
type = d.pop("type", UNSET)