All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.cdm.base.staticdata.party.TelephoneNumber.py Maven / Gradle / Ivy

There is a newer version: 6.0.0-dev.92
Show newest version
# pylint: disable=line-too-long, invalid-name, missing-function-docstring, missing-module-docstring, superfluous-parens
# pylint: disable=wrong-import-position, unused-import, unused-wildcard-import, wildcard-import, wrong-import-order, missing-class-docstring
from __future__ import annotations
from typing import List, Optional
from datetime import date
from datetime import time
from datetime import datetime
from decimal import Decimal
from pydantic import Field
from rosetta.runtime.utils import *

__all__ = ['TelephoneNumber']


class TelephoneNumber(BaseDataClass):
  """
  A class to specify a telephone number as a type of phone number (e.g. work, personal, ...) alongside with the actual number.
  """
  telephoneNumberType: Optional[TelephoneTypeEnum] = Field(None, description="The type of telephone number, e.g. work, mobile.")
  """
  The type of telephone number, e.g. work, mobile.
  """
  number: str = Field(..., description="The actual telephone number.")
  """
  The actual telephone number.
  """

from cdm.base.staticdata.party.TelephoneTypeEnum import TelephoneTypeEnum

TelephoneNumber.update_forward_refs()




© 2015 - 2025 Weber Informatics LLC | Privacy Policy