Repository navigation
Expand file tree
/
Copy pathsweepExecutionNotificationData.ts
More file actions
102 lines (93 loc) · 2.85 KB
/
Copy pathsweepExecutionNotificationData.ts
File metadata and controls
102 lines (93 loc) · 2.85 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*
* 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.
*/
import { SweepResultDetails } from "./sweepResultDetails";
export class SweepExecutionNotificationData {
/**
* The unique identifier of the balance account from which the sweep is initiated.
*/
"balanceAccountId"?: string;
/**
* The unique identifier of the sweep configuration.
*/
"balanceAccountSweepId"?: string;
/**
* The unique identifier of the balance platform.
*/
"balancePlatform"?: string;
/**
* The ID of the resource.
*/
"id"?: string;
/**
* The outcome of the sweep execution. Possible results: - **succeeded**: The sweep payout was completed successfully. - **failed**: The sweep payout was not completed due to an error. - **skipped**: The sweep payout was not triggered as expected.
*/
"result"?: SweepExecutionNotificationData.ResultEnum;
"resultDetails"?: SweepResultDetails | null;
/**
* The timestamp of when the execution was triggered.
*/
"triggeredAt"?: Date;
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": "balanceAccountId",
"baseName": "balanceAccountId",
"type": "string",
"format": ""
},
{
"name": "balanceAccountSweepId",
"baseName": "balanceAccountSweepId",
"type": "string",
"format": ""
},
{
"name": "balancePlatform",
"baseName": "balancePlatform",
"type": "string",
"format": ""
},
{
"name": "id",
"baseName": "id",
"type": "string",
"format": ""
},
{
"name": "result",
"baseName": "result",
"type": "SweepExecutionNotificationData.ResultEnum",
"format": ""
},
{
"name": "resultDetails",
"baseName": "resultDetails",
"type": "SweepResultDetails | null",
"format": ""
},
{
"name": "triggeredAt",
"baseName": "triggeredAt",
"type": "Date",
"format": "date-time"
} ];
static getAttributeTypeMap() {
return SweepExecutionNotificationData.attributeTypeMap;
}
public constructor() {
}
}
export namespace SweepExecutionNotificationData {
export enum ResultEnum {
Failed = 'failed',
Skipped = 'skipped',
Succeeded = 'succeeded'
}
}