-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathphoneNumber.ts
56 lines (50 loc) · 1.47 KB
/
phoneNumber.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* The version of the OpenAPI document: v2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class PhoneNumber {
/**
* The two-character ISO-3166-1 alpha-2 country code of the phone number. For example, **US** or **NL**.
*/
'phoneCountryCode'?: string;
/**
* The phone number. The inclusion of the phone number country code is not necessary.
*/
'phoneNumber'?: string;
/**
* The type of the phone number. Possible values: **Landline**, **Mobile**, **SIP**, **Fax**.
*/
'phoneType'?: PhoneNumber.PhoneTypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "phoneCountryCode",
"baseName": "phoneCountryCode",
"type": "string"
},
{
"name": "phoneNumber",
"baseName": "phoneNumber",
"type": "string"
},
{
"name": "phoneType",
"baseName": "phoneType",
"type": "PhoneNumber.PhoneTypeEnum"
} ];
static getAttributeTypeMap() {
return PhoneNumber.attributeTypeMap;
}
}
export namespace PhoneNumber {
export enum PhoneTypeEnum {
Fax = 'Fax',
Landline = 'Landline',
Mobile = 'Mobile',
Sip = 'SIP'
}
}