-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathvalidationFacts.ts
More file actions
64 lines (56 loc) · 1.74 KB
/
validationFacts.ts
File metadata and controls
64 lines (56 loc) · 1.74 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
53
54
55
56
57
58
59
60
61
62
63
64
/*
* 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 ValidationFacts {
/**
* The reason for the `result` of the validations. This field is only sent for `validationFacts.type` **walletValidation**, when `validationFacts.result` is **invalid**.
*/
"reasons"?: Array<string>;
/**
* The evaluation result of the validation facts. Possible values: **valid**, **invalid**, **notValidated**, **notApplicable**.
*/
"result"?: ValidationFacts.ResultEnum;
/**
* The type of the validation fact.
*/
"type"?: string;
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": "reasons",
"baseName": "reasons",
"type": "Array<string>",
"format": ""
},
{
"name": "result",
"baseName": "result",
"type": "ValidationFacts.ResultEnum",
"format": ""
},
{
"name": "type",
"baseName": "type",
"type": "string",
"format": ""
} ];
static getAttributeTypeMap() {
return ValidationFacts.attributeTypeMap;
}
public constructor() {
}
}
export namespace ValidationFacts {
export enum ResultEnum {
Invalid = 'invalid',
NotApplicable = 'notApplicable',
NotValidated = 'notValidated',
Valid = 'valid'
}
}