-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathphone.ts
More file actions
52 lines (44 loc) · 1.31 KB
/
phone.ts
File metadata and controls
52 lines (44 loc) · 1.31 KB
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
/*
* 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 readonly discriminator: string | undefined = undefined;
static readonly mapping: {[index: string]: string} | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "number",
"baseName": "number",
"type": "string",
"format": ""
},
{
"name": "type",
"baseName": "type",
"type": "Phone.TypeEnum",
"format": ""
} ];
static getAttributeTypeMap() {
return Phone.attributeTypeMap;
}
public constructor() {
}
}
export namespace Phone {
export enum TypeEnum {
Landline = 'landline',
Mobile = 'mobile'
}
}