# coding: utf-8

"""
    node-server

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: 0.0.237
    Generated by: https://openapi-generator.tech
"""

from datetime import date, datetime  # noqa: F401
import decimal  # noqa: F401
import functools  # noqa: F401
import io  # noqa: F401
import re  # noqa: F401
import typing  # noqa: F401
import typing_extensions  # noqa: F401
import uuid  # noqa: F401

import frozendict  # noqa: F401

from tensorleap_openapi_client import schemas  # noqa: F401


class SetUserMetadataInnerParams(
    schemas.DictSchema
):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """


    class MetaOapg:
        
        class properties:
            company = schemas.StrSchema
            title = schemas.StrSchema
            companySize = schemas.StrSchema
            dnnLevel = schemas.StrSchema
            __annotations__ = {
                "company": company,
                "title": title,
                "companySize": companySize,
                "dnnLevel": dnnLevel,
            }
        additional_properties = schemas.NotAnyTypeSchema
    
    @typing.overload
    def __getitem__(self, name: typing_extensions.Literal["company"]) -> MetaOapg.properties.company: ...
    
    @typing.overload
    def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ...
    
    @typing.overload
    def __getitem__(self, name: typing_extensions.Literal["companySize"]) -> MetaOapg.properties.companySize: ...
    
    @typing.overload
    def __getitem__(self, name: typing_extensions.Literal["dnnLevel"]) -> MetaOapg.properties.dnnLevel: ...
    
    def __getitem__(self, name: typing.Union[typing_extensions.Literal["company"], typing_extensions.Literal["title"], typing_extensions.Literal["companySize"], typing_extensions.Literal["dnnLevel"], ]):
        # dict_instance[name] accessor
        return super().__getitem__(name)
    
    @typing.overload
    def get_item_oapg(self, name: typing_extensions.Literal["company"]) -> typing.Union[MetaOapg.properties.company, schemas.Unset]: ...
    
    @typing.overload
    def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ...
    
    @typing.overload
    def get_item_oapg(self, name: typing_extensions.Literal["companySize"]) -> typing.Union[MetaOapg.properties.companySize, schemas.Unset]: ...
    
    @typing.overload
    def get_item_oapg(self, name: typing_extensions.Literal["dnnLevel"]) -> typing.Union[MetaOapg.properties.dnnLevel, schemas.Unset]: ...
    
    def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["company"], typing_extensions.Literal["title"], typing_extensions.Literal["companySize"], typing_extensions.Literal["dnnLevel"], ]):
        return super().get_item_oapg(name)

    def __new__(
        cls,
        *args: typing.Union[dict, frozendict.frozendict, ],
        company: typing.Union[MetaOapg.properties.company, str, schemas.Unset] = schemas.unset,
        title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset,
        companySize: typing.Union[MetaOapg.properties.companySize, str, schemas.Unset] = schemas.unset,
        dnnLevel: typing.Union[MetaOapg.properties.dnnLevel, str, schemas.Unset] = schemas.unset,
        _configuration: typing.Optional[schemas.Configuration] = None,
    ) -> 'SetUserMetadataInnerParams':
        return super().__new__(
            cls,
            *args,
            company=company,
            title=title,
            companySize=companySize,
            dnnLevel=dnnLevel,
            _configuration=_configuration,
        )
