PhoneNumberInput
The phone number of a participant.
- Inheritance
-
- Object
- Serializable
- Data
- InputData
- PhoneNumberInput
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
PhoneNumberInput.fromJson
PhoneNumberInput
Properties
countryCode
getter/setter pair
The country code of this phone number.
The country code is represented by a string, since some country codes contain a '-'. For example, "1-246" for Barbados or "44-1481" for Guernsey.
See https://countrycode.org/ or https://en.wikipedia.org/wiki/List_of_country_calling_codes
fromJsonFunction
The function which can convert a JSON string to an object of this type.
isoCode
getter/setter pair
The ISO 3166 code of the countryCode, if available.
See https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
number
getter/setter pair
The phone number.
The phone number is represented as a string since it may be pretty-printed with spaces.
type
The type of this input data.
Methods
toJson
Return a JSON encoding of this object.