-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathphone.ts
45 lines (39 loc) · 1.11 KB
/
phone.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
/*
* 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 Phone {
/**
* The full phone number provided as a single string. For example, **\"0031 6 11 22 33 44\"**, **\"+316/1122-3344\"**, or **\"(0031) 611223344\"**.
*/
'number': string;
/**
* Type of phone number. Possible values: **Landline**, **Mobile**.
*/
'type': Phone.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "number",
"baseName": "number",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "Phone.TypeEnum"
} ];
static getAttributeTypeMap() {
return Phone.attributeTypeMap;
}
}
export namespace Phone {
export enum TypeEnum {
Landline = 'landline',
Mobile = 'mobile'
}
}