Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2023-09-29 16:05:40 -07:00
parent 31cd9e532d
commit 12c164620b
268 changed files with 22464 additions and 18287 deletions

View File

@ -6,48 +6,48 @@ from ..types import UNSET, Unset
QO = TypeVar("QO", bound="Mesh")
@attr.s(auto_attribs=True)
class Mesh:
mesh: Union[Unset, str] = UNSET
mesh: Union[Unset, str] = UNSET
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
def to_dict(self) -> Dict[str, Any]:
mesh = self.mesh
def to_dict(self) -> Dict[str, Any]:
mesh = self.mesh
field_dict: Dict[str, Any] = {}
field_dict.update(self.additional_properties)
field_dict.update({})
if mesh is not UNSET:
field_dict["mesh"] = mesh
field_dict: Dict[str, Any] = {}
field_dict.update(self.additional_properties)
field_dict.update({})
if mesh is not UNSET:
field_dict['mesh'] = mesh
return field_dict
return field_dict
@classmethod
def from_dict(cls: Type[QO], src_dict: Dict[str, Any]) -> QO:
d = src_dict.copy()
mesh = d.pop("mesh", UNSET)
@classmethod
def from_dict(cls: Type[QO], src_dict: Dict[str, Any]) -> QO:
d = src_dict.copy()
mesh = d.pop("mesh", UNSET)
mesh = cls(
mesh=mesh,
)
mesh.additional_properties = d
return mesh
mesh = cls(
mesh= mesh,
)
@property
def additional_keys(self) -> List[str]:
return list(self.additional_properties.keys())
mesh.additional_properties = d
return mesh
def __getitem__(self, key: str) -> Any:
return self.additional_properties[key]
@property
def additional_keys(self) -> List[str]:
return list(self.additional_properties.keys())
def __setitem__(self, key: str, value: Any) -> None:
self.additional_properties[key] = value
def __getitem__(self, key: str) -> Any:
return self.additional_properties[key]
def __delitem__(self, key: str) -> None:
del self.additional_properties[key]
def __setitem__(self, key: str, value: Any) -> None:
self.additional_properties[key] = value
def __contains__(self, key: str) -> bool:
return key in self.additional_properties
def __delitem__(self, key: str) -> None:
del self.additional_properties[key]
def __contains__(self, key: str) -> bool:
return key in self.additional_properties