|
| 1 | +# coding: utf-8 |
| 2 | + |
| 3 | +""" |
| 4 | + CoderBot Cloud API - Robot only - OpenAPI 3.0 |
| 5 | +
|
| 6 | + CoderBot Cloud API - Robot only # noqa: E501 |
| 7 | +
|
| 8 | + The version of the OpenAPI document: 0.1.0 |
| 9 | + |
| 10 | + Generated by: https://openapi-generator.tech |
| 11 | +""" |
| 12 | + |
| 13 | +from datetime import date, datetime # noqa: F401 |
| 14 | +import decimal # noqa: F401 |
| 15 | +import functools # noqa: F401 |
| 16 | +import io # noqa: F401 |
| 17 | +import re # noqa: F401 |
| 18 | +import typing # noqa: F401 |
| 19 | +import typing_extensions # noqa: F401 |
| 20 | +import uuid # noqa: F401 |
| 21 | + |
| 22 | +import frozendict # noqa: F401 |
| 23 | + |
| 24 | +from cloud_api_robot_client import schemas # noqa: F401 |
| 25 | + |
| 26 | + |
| 27 | +class RobotRegisterData( |
| 28 | + schemas.DictSchema |
| 29 | +): |
| 30 | + """NOTE: This class is auto generated by OpenAPI Generator. |
| 31 | + Ref: https://openapi-generator.tech |
| 32 | +
|
| 33 | + Do not edit the class manually. |
| 34 | + """ |
| 35 | + |
| 36 | + |
| 37 | + class MetaOapg: |
| 38 | + |
| 39 | + class properties: |
| 40 | + otp = schemas.StrSchema |
| 41 | + __annotations__ = { |
| 42 | + "otp": otp, |
| 43 | + } |
| 44 | + |
| 45 | + @typing.overload |
| 46 | + def __getitem__(self, name: typing_extensions.Literal["otp"]) -> MetaOapg.properties.otp: ... |
| 47 | + |
| 48 | + @typing.overload |
| 49 | + def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... |
| 50 | + |
| 51 | + def __getitem__(self, name: typing.Union[typing_extensions.Literal["otp", ], str]): |
| 52 | + # dict_instance[name] accessor |
| 53 | + return super().__getitem__(name) |
| 54 | + |
| 55 | + |
| 56 | + @typing.overload |
| 57 | + def get_item_oapg(self, name: typing_extensions.Literal["otp"]) -> typing.Union[MetaOapg.properties.otp, schemas.Unset]: ... |
| 58 | + |
| 59 | + @typing.overload |
| 60 | + def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... |
| 61 | + |
| 62 | + def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["otp", ], str]): |
| 63 | + return super().get_item_oapg(name) |
| 64 | + |
| 65 | + |
| 66 | + def __new__( |
| 67 | + cls, |
| 68 | + *_args: typing.Union[dict, frozendict.frozendict, ], |
| 69 | + otp: typing.Union[MetaOapg.properties.otp, str, schemas.Unset] = schemas.unset, |
| 70 | + _configuration: typing.Optional[schemas.Configuration] = None, |
| 71 | + **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], |
| 72 | + ) -> 'RobotRegisterData': |
| 73 | + return super().__new__( |
| 74 | + cls, |
| 75 | + *_args, |
| 76 | + otp=otp, |
| 77 | + _configuration=_configuration, |
| 78 | + **kwargs, |
| 79 | + ) |
0 commit comments