# coding: utf-8

"""
    e-KYC API

    e-KYC API , GST verification suite  # noqa: E501

    The version of the OpenAPI document: v1
    Contact: gautam@balajimariline.com
    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 vartulz_compliance_sdk import schemas  # noqa: F401


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

    Do not edit the class manually.
    """


    class MetaOapg:
        required = {
            "clientData",
            "consent",
        }
        
        class properties:
            consent = schemas.StrSchema
        
            @staticmethod
            def clientData() -> typing.Type['CaseDetails']:
                return CaseDetails
            consumer_id = schemas.StrSchema
            service_provider = schemas.StrSchema
            regMobileNo = schemas.StrSchema
            __annotations__ = {
                "consent": consent,
                "clientData": clientData,
                "consumer_id": consumer_id,
                "service_provider": service_provider,
                "regMobileNo": regMobileNo,
            }
    
    clientData: 'CaseDetails'
    consent: MetaOapg.properties.consent
    
    @typing.overload
    def __getitem__(self, name: typing_extensions.Literal["consent"]) -> MetaOapg.properties.consent: ...
    
    @typing.overload
    def __getitem__(self, name: typing_extensions.Literal["clientData"]) -> 'CaseDetails': ...
    
    @typing.overload
    def __getitem__(self, name: typing_extensions.Literal["consumer_id"]) -> MetaOapg.properties.consumer_id: ...
    
    @typing.overload
    def __getitem__(self, name: typing_extensions.Literal["service_provider"]) -> MetaOapg.properties.service_provider: ...
    
    @typing.overload
    def __getitem__(self, name: typing_extensions.Literal["regMobileNo"]) -> MetaOapg.properties.regMobileNo: ...
    
    @typing.overload
    def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
    
    def __getitem__(self, name: typing.Union[typing_extensions.Literal["consent", "clientData", "consumer_id", "service_provider", "regMobileNo", ], str]):
        # dict_instance[name] accessor
        return super().__getitem__(name)
    
    
    @typing.overload
    def get_item_oapg(self, name: typing_extensions.Literal["consent"]) -> MetaOapg.properties.consent: ...
    
    @typing.overload
    def get_item_oapg(self, name: typing_extensions.Literal["clientData"]) -> 'CaseDetails': ...
    
    @typing.overload
    def get_item_oapg(self, name: typing_extensions.Literal["consumer_id"]) -> typing.Union[MetaOapg.properties.consumer_id, schemas.Unset]: ...
    
    @typing.overload
    def get_item_oapg(self, name: typing_extensions.Literal["service_provider"]) -> typing.Union[MetaOapg.properties.service_provider, schemas.Unset]: ...
    
    @typing.overload
    def get_item_oapg(self, name: typing_extensions.Literal["regMobileNo"]) -> typing.Union[MetaOapg.properties.regMobileNo, schemas.Unset]: ...
    
    @typing.overload
    def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
    
    def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["consent", "clientData", "consumer_id", "service_provider", "regMobileNo", ], str]):
        return super().get_item_oapg(name)
    

    def __new__(
        cls,
        *_args: typing.Union[dict, frozendict.frozendict, ],
        clientData: 'CaseDetails',
        consent: typing.Union[MetaOapg.properties.consent, str, ],
        consumer_id: typing.Union[MetaOapg.properties.consumer_id, str, schemas.Unset] = schemas.unset,
        service_provider: typing.Union[MetaOapg.properties.service_provider, str, schemas.Unset] = schemas.unset,
        regMobileNo: typing.Union[MetaOapg.properties.regMobileNo, str, schemas.Unset] = schemas.unset,
        _configuration: typing.Optional[schemas.Configuration] = None,
        **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
    ) -> 'NSDLElectricityBillRequest':
        return super().__new__(
            cls,
            *_args,
            clientData=clientData,
            consent=consent,
            consumer_id=consumer_id,
            service_provider=service_provider,
            regMobileNo=regMobileNo,
            _configuration=_configuration,
            **kwargs,
        )

from vartulz_compliance_sdk.model.case_details import CaseDetails
