@openshift-migration-advisor/planner-sdk 0.9.0 → 0.10.0-783d8b3a2dc4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +24 -0
- package/README.md +31 -11
- package/dist/apis/AccountApi.d.ts +390 -0
- package/dist/apis/AccountApi.js +454 -0
- package/dist/apis/AssessmentApi.d.ts +42 -13
- package/dist/apis/AssessmentApi.js +45 -1
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AccountApi.d.ts +390 -0
- package/dist/esm/apis/AccountApi.js +450 -0
- package/dist/esm/apis/AssessmentApi.d.ts +42 -13
- package/dist/esm/apis/AssessmentApi.js +46 -2
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/ComplexityOSNameEntry.d.ts +1 -1
- package/dist/esm/models/ComplexityOSScoreEntry.d.ts +1 -1
- package/dist/esm/models/EstimationContext.d.ts +40 -0
- package/dist/esm/models/EstimationContext.js +43 -0
- package/dist/esm/models/Group.d.ts +82 -0
- package/dist/esm/models/Group.js +76 -0
- package/dist/esm/models/GroupCreate.d.ts +64 -0
- package/dist/esm/models/GroupCreate.js +66 -0
- package/dist/esm/models/GroupUpdate.d.ts +50 -0
- package/dist/esm/models/GroupUpdate.js +47 -0
- package/dist/esm/models/Identity.d.ts +60 -0
- package/dist/esm/models/Identity.js +60 -0
- package/dist/esm/models/Member.d.ts +56 -0
- package/dist/esm/models/Member.js +57 -0
- package/dist/esm/models/MemberCreate.d.ts +38 -0
- package/dist/esm/models/MemberCreate.js +47 -0
- package/dist/esm/models/MemberUpdate.d.ts +32 -0
- package/dist/esm/models/MemberUpdate.js +41 -0
- package/dist/esm/models/MigrationComplexityResponse.d.ts +2 -2
- package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +50 -0
- package/dist/esm/models/MigrationEstimationByComplexityResponse.js +51 -0
- package/dist/esm/models/MigrationEstimationRequest.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationResponse.d.ts +43 -0
- package/dist/esm/models/MigrationEstimationResponse.js +50 -0
- package/dist/esm/models/OsDiskEstimationEntry.d.ts +53 -0
- package/dist/esm/models/OsDiskEstimationEntry.js +55 -0
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/models/ComplexityOSNameEntry.d.ts +1 -1
- package/dist/models/ComplexityOSScoreEntry.d.ts +1 -1
- package/dist/models/EstimationContext.d.ts +40 -0
- package/dist/models/EstimationContext.js +50 -0
- package/dist/models/Group.d.ts +82 -0
- package/dist/models/Group.js +84 -0
- package/dist/models/GroupCreate.d.ts +64 -0
- package/dist/models/GroupCreate.js +74 -0
- package/dist/models/GroupUpdate.d.ts +50 -0
- package/dist/models/GroupUpdate.js +54 -0
- package/dist/models/Identity.d.ts +60 -0
- package/dist/models/Identity.js +68 -0
- package/dist/models/Member.d.ts +56 -0
- package/dist/models/Member.js +64 -0
- package/dist/models/MemberCreate.d.ts +38 -0
- package/dist/models/MemberCreate.js +54 -0
- package/dist/models/MemberUpdate.d.ts +32 -0
- package/dist/models/MemberUpdate.js +48 -0
- package/dist/models/MigrationComplexityResponse.d.ts +2 -2
- package/dist/models/MigrationEstimationByComplexityResponse.d.ts +50 -0
- package/dist/models/MigrationEstimationByComplexityResponse.js +58 -0
- package/dist/models/MigrationEstimationRequest.d.ts +1 -1
- package/dist/models/MigrationEstimationResponse.d.ts +43 -0
- package/dist/models/MigrationEstimationResponse.js +57 -0
- package/dist/models/OsDiskEstimationEntry.d.ts +53 -0
- package/dist/models/OsDiskEstimationEntry.js +62 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/docs/AccountApi.md +734 -0
- package/docs/AssessmentApi.md +78 -2
- package/docs/EstimationContext.md +36 -0
- package/docs/Group.md +48 -0
- package/docs/GroupCreate.md +42 -0
- package/docs/GroupUpdate.md +40 -0
- package/docs/Identity.md +40 -0
- package/docs/Member.md +42 -0
- package/docs/MemberCreate.md +36 -0
- package/docs/MemberUpdate.md +34 -0
- package/docs/MigrationEstimationByComplexityResponse.md +38 -0
- package/docs/MigrationEstimationResponse.md +37 -0
- package/docs/OsDiskEstimationEntry.md +40 -0
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +834 -0
- package/src/apis/AssessmentApi.ts +95 -8
- package/src/apis/index.ts +1 -0
- package/src/models/ComplexityOSNameEntry.ts +1 -1
- package/src/models/ComplexityOSScoreEntry.ts +1 -1
- package/src/models/EstimationContext.ts +73 -0
- package/src/models/Group.ts +139 -0
- package/src/models/GroupCreate.ts +113 -0
- package/src/models/GroupUpdate.ts +89 -0
- package/src/models/Identity.ts +104 -0
- package/src/models/Member.ts +101 -0
- package/src/models/MemberCreate.ts +75 -0
- package/src/models/MemberUpdate.ts +65 -0
- package/src/models/MigrationComplexityResponse.ts +2 -2
- package/src/models/MigrationEstimationByComplexityResponse.ts +98 -0
- package/src/models/MigrationEstimationRequest.ts +1 -1
- package/src/models/MigrationEstimationResponse.ts +91 -0
- package/src/models/OsDiskEstimationEntry.ts +100 -0
- package/src/models/index.ts +11 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EstimationContext
|
|
16
|
+
*/
|
|
17
|
+
export interface EstimationContext {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof EstimationContext
|
|
22
|
+
*/
|
|
23
|
+
schemas?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: number; }}
|
|
27
|
+
* @memberof EstimationContext
|
|
28
|
+
*/
|
|
29
|
+
params?: {
|
|
30
|
+
[key: string]: number;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the EstimationContext interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfEstimationContext(value: object): value is EstimationContext;
|
|
37
|
+
export declare function EstimationContextFromJSON(json: any): EstimationContext;
|
|
38
|
+
export declare function EstimationContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): EstimationContext;
|
|
39
|
+
export declare function EstimationContextToJSON(json: any): EstimationContext;
|
|
40
|
+
export declare function EstimationContextToJSONTyped(value?: EstimationContext | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfEstimationContext = instanceOfEstimationContext;
|
|
17
|
+
exports.EstimationContextFromJSON = EstimationContextFromJSON;
|
|
18
|
+
exports.EstimationContextFromJSONTyped = EstimationContextFromJSONTyped;
|
|
19
|
+
exports.EstimationContextToJSON = EstimationContextToJSON;
|
|
20
|
+
exports.EstimationContextToJSONTyped = EstimationContextToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EstimationContext interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEstimationContext(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function EstimationContextFromJSON(json) {
|
|
28
|
+
return EstimationContextFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function EstimationContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'schemas': json['schemas'] == null ? undefined : json['schemas'],
|
|
36
|
+
'params': json['params'] == null ? undefined : json['params'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function EstimationContextToJSON(json) {
|
|
40
|
+
return EstimationContextToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function EstimationContextToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'schemas': value['schemas'],
|
|
48
|
+
'params': value['params'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Group
|
|
16
|
+
*/
|
|
17
|
+
export interface Group {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Group
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Group
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Group
|
|
34
|
+
*/
|
|
35
|
+
description?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {GroupKindEnum}
|
|
39
|
+
* @memberof Group
|
|
40
|
+
*/
|
|
41
|
+
kind: GroupKindEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Group
|
|
46
|
+
*/
|
|
47
|
+
icon: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Group
|
|
52
|
+
*/
|
|
53
|
+
company: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof Group
|
|
58
|
+
*/
|
|
59
|
+
createdAt: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof Group
|
|
64
|
+
*/
|
|
65
|
+
updatedAt: Date;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const GroupKindEnum: {
|
|
71
|
+
readonly Partner: "partner";
|
|
72
|
+
readonly Admin: "admin";
|
|
73
|
+
};
|
|
74
|
+
export type GroupKindEnum = typeof GroupKindEnum[keyof typeof GroupKindEnum];
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the Group interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfGroup(value: object): value is Group;
|
|
79
|
+
export declare function GroupFromJSON(json: any): Group;
|
|
80
|
+
export declare function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Group;
|
|
81
|
+
export declare function GroupToJSON(json: any): Group;
|
|
82
|
+
export declare function GroupToJSONTyped(value?: Group | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.GroupKindEnum = void 0;
|
|
17
|
+
exports.instanceOfGroup = instanceOfGroup;
|
|
18
|
+
exports.GroupFromJSON = GroupFromJSON;
|
|
19
|
+
exports.GroupFromJSONTyped = GroupFromJSONTyped;
|
|
20
|
+
exports.GroupToJSON = GroupToJSON;
|
|
21
|
+
exports.GroupToJSONTyped = GroupToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GroupKindEnum = {
|
|
26
|
+
Partner: 'partner',
|
|
27
|
+
Admin: 'admin'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the Group interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfGroup(value) {
|
|
33
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('icon' in value) || value['icon'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('company' in value) || value['company'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
function GroupFromJSON(json) {
|
|
50
|
+
return GroupFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': json['id'],
|
|
58
|
+
'name': json['name'],
|
|
59
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
60
|
+
'kind': json['kind'],
|
|
61
|
+
'icon': json['icon'],
|
|
62
|
+
'company': json['company'],
|
|
63
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
64
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function GroupToJSON(json) {
|
|
68
|
+
return GroupToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
function GroupToJSONTyped(value, ignoreDiscriminator = false) {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'id': value['id'],
|
|
76
|
+
'name': value['name'],
|
|
77
|
+
'description': value['description'],
|
|
78
|
+
'kind': value['kind'],
|
|
79
|
+
'icon': value['icon'],
|
|
80
|
+
'company': value['company'],
|
|
81
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
82
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GroupCreate
|
|
16
|
+
*/
|
|
17
|
+
export interface GroupCreate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GroupCreate
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupCreate
|
|
28
|
+
*/
|
|
29
|
+
description: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {GroupCreateKindEnum}
|
|
33
|
+
* @memberof GroupCreate
|
|
34
|
+
*/
|
|
35
|
+
kind: GroupCreateKindEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GroupCreate
|
|
40
|
+
*/
|
|
41
|
+
icon: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GroupCreate
|
|
46
|
+
*/
|
|
47
|
+
company: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const GroupCreateKindEnum: {
|
|
53
|
+
readonly Partner: "partner";
|
|
54
|
+
readonly Admin: "admin";
|
|
55
|
+
};
|
|
56
|
+
export type GroupCreateKindEnum = typeof GroupCreateKindEnum[keyof typeof GroupCreateKindEnum];
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the GroupCreate interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfGroupCreate(value: object): value is GroupCreate;
|
|
61
|
+
export declare function GroupCreateFromJSON(json: any): GroupCreate;
|
|
62
|
+
export declare function GroupCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupCreate;
|
|
63
|
+
export declare function GroupCreateToJSON(json: any): GroupCreate;
|
|
64
|
+
export declare function GroupCreateToJSONTyped(value?: GroupCreate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.GroupCreateKindEnum = void 0;
|
|
17
|
+
exports.instanceOfGroupCreate = instanceOfGroupCreate;
|
|
18
|
+
exports.GroupCreateFromJSON = GroupCreateFromJSON;
|
|
19
|
+
exports.GroupCreateFromJSONTyped = GroupCreateFromJSONTyped;
|
|
20
|
+
exports.GroupCreateToJSON = GroupCreateToJSON;
|
|
21
|
+
exports.GroupCreateToJSONTyped = GroupCreateToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GroupCreateKindEnum = {
|
|
26
|
+
Partner: 'partner',
|
|
27
|
+
Admin: 'admin'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the GroupCreate interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfGroupCreate(value) {
|
|
33
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('icon' in value) || value['icon'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('company' in value) || value['company'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function GroupCreateFromJSON(json) {
|
|
46
|
+
return GroupCreateFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GroupCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'name': json['name'],
|
|
54
|
+
'description': json['description'],
|
|
55
|
+
'kind': json['kind'],
|
|
56
|
+
'icon': json['icon'],
|
|
57
|
+
'company': json['company'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function GroupCreateToJSON(json) {
|
|
61
|
+
return GroupCreateToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function GroupCreateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'name': value['name'],
|
|
69
|
+
'description': value['description'],
|
|
70
|
+
'kind': value['kind'],
|
|
71
|
+
'icon': value['icon'],
|
|
72
|
+
'company': value['company'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GroupUpdate
|
|
16
|
+
*/
|
|
17
|
+
export interface GroupUpdate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GroupUpdate
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupUpdate
|
|
28
|
+
*/
|
|
29
|
+
description?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GroupUpdate
|
|
34
|
+
*/
|
|
35
|
+
icon?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GroupUpdate
|
|
40
|
+
*/
|
|
41
|
+
company?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GroupUpdate interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGroupUpdate(value: object): value is GroupUpdate;
|
|
47
|
+
export declare function GroupUpdateFromJSON(json: any): GroupUpdate;
|
|
48
|
+
export declare function GroupUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupUpdate;
|
|
49
|
+
export declare function GroupUpdateToJSON(json: any): GroupUpdate;
|
|
50
|
+
export declare function GroupUpdateToJSONTyped(value?: GroupUpdate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGroupUpdate = instanceOfGroupUpdate;
|
|
17
|
+
exports.GroupUpdateFromJSON = GroupUpdateFromJSON;
|
|
18
|
+
exports.GroupUpdateFromJSONTyped = GroupUpdateFromJSONTyped;
|
|
19
|
+
exports.GroupUpdateToJSON = GroupUpdateToJSON;
|
|
20
|
+
exports.GroupUpdateToJSONTyped = GroupUpdateToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GroupUpdate interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGroupUpdate(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function GroupUpdateFromJSON(json) {
|
|
28
|
+
return GroupUpdateFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function GroupUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
36
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
37
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
38
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function GroupUpdateToJSON(json) {
|
|
42
|
+
return GroupUpdateToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GroupUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'name': value['name'],
|
|
50
|
+
'description': value['description'],
|
|
51
|
+
'icon': value['icon'],
|
|
52
|
+
'company': value['company'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Identity
|
|
16
|
+
*/
|
|
17
|
+
export interface Identity {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Identity
|
|
22
|
+
*/
|
|
23
|
+
username: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {IdentityKindEnum}
|
|
27
|
+
* @memberof Identity
|
|
28
|
+
*/
|
|
29
|
+
kind: IdentityKindEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Identity
|
|
34
|
+
*/
|
|
35
|
+
groupId?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Identity
|
|
40
|
+
*/
|
|
41
|
+
partnerId?: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const IdentityKindEnum: {
|
|
47
|
+
readonly Partner: "partner";
|
|
48
|
+
readonly Customer: "customer";
|
|
49
|
+
readonly Regular: "regular";
|
|
50
|
+
readonly Admin: "admin";
|
|
51
|
+
};
|
|
52
|
+
export type IdentityKindEnum = typeof IdentityKindEnum[keyof typeof IdentityKindEnum];
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the Identity interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfIdentity(value: object): value is Identity;
|
|
57
|
+
export declare function IdentityFromJSON(json: any): Identity;
|
|
58
|
+
export declare function IdentityFromJSONTyped(json: any, ignoreDiscriminator: boolean): Identity;
|
|
59
|
+
export declare function IdentityToJSON(json: any): Identity;
|
|
60
|
+
export declare function IdentityToJSONTyped(value?: Identity | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IdentityKindEnum = void 0;
|
|
17
|
+
exports.instanceOfIdentity = instanceOfIdentity;
|
|
18
|
+
exports.IdentityFromJSON = IdentityFromJSON;
|
|
19
|
+
exports.IdentityFromJSONTyped = IdentityFromJSONTyped;
|
|
20
|
+
exports.IdentityToJSON = IdentityToJSON;
|
|
21
|
+
exports.IdentityToJSONTyped = IdentityToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IdentityKindEnum = {
|
|
26
|
+
Partner: 'partner',
|
|
27
|
+
Customer: 'customer',
|
|
28
|
+
Regular: 'regular',
|
|
29
|
+
Admin: 'admin'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the Identity interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfIdentity(value) {
|
|
35
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function IdentityFromJSON(json) {
|
|
42
|
+
return IdentityFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function IdentityFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'username': json['username'],
|
|
50
|
+
'kind': json['kind'],
|
|
51
|
+
'groupId': json['groupId'] == null ? undefined : json['groupId'],
|
|
52
|
+
'partnerId': json['partnerId'] == null ? undefined : json['partnerId'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function IdentityToJSON(json) {
|
|
56
|
+
return IdentityToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function IdentityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'username': value['username'],
|
|
64
|
+
'kind': value['kind'],
|
|
65
|
+
'groupId': value['groupId'],
|
|
66
|
+
'partnerId': value['partnerId'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Member
|
|
16
|
+
*/
|
|
17
|
+
export interface Member {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Member
|
|
22
|
+
*/
|
|
23
|
+
username: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Member
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Member
|
|
34
|
+
*/
|
|
35
|
+
groupId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof Member
|
|
40
|
+
*/
|
|
41
|
+
createdAt: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof Member
|
|
46
|
+
*/
|
|
47
|
+
updatedAt?: Date;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the Member interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfMember(value: object): value is Member;
|
|
53
|
+
export declare function MemberFromJSON(json: any): Member;
|
|
54
|
+
export declare function MemberFromJSONTyped(json: any, ignoreDiscriminator: boolean): Member;
|
|
55
|
+
export declare function MemberToJSON(json: any): Member;
|
|
56
|
+
export declare function MemberToJSONTyped(value?: Member | null, ignoreDiscriminator?: boolean): any;
|