@openshift-migration-advisor/planner-sdk 0.10.0 → 0.11.0

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.
Files changed (85) hide show
  1. package/.openapi-generator/FILES +18 -0
  2. package/README.md +27 -11
  3. package/dist/apis/AccountApi.d.ts +390 -0
  4. package/dist/apis/AccountApi.js +454 -0
  5. package/dist/apis/AssessmentApi.d.ts +5 -13
  6. package/dist/apis/AssessmentApi.js +8 -8
  7. package/dist/apis/ImageApi.js +2 -2
  8. package/dist/apis/JobApi.js +2 -2
  9. package/dist/apis/SourceApi.js +4 -4
  10. package/dist/apis/index.d.ts +1 -0
  11. package/dist/apis/index.js +1 -0
  12. package/dist/esm/apis/AccountApi.d.ts +390 -0
  13. package/dist/esm/apis/AccountApi.js +450 -0
  14. package/dist/esm/apis/AssessmentApi.d.ts +5 -13
  15. package/dist/esm/apis/AssessmentApi.js +9 -9
  16. package/dist/esm/apis/ImageApi.js +2 -2
  17. package/dist/esm/apis/JobApi.js +2 -2
  18. package/dist/esm/apis/SourceApi.js +4 -4
  19. package/dist/esm/apis/index.d.ts +1 -0
  20. package/dist/esm/apis/index.js +1 -0
  21. package/dist/esm/models/Group.d.ts +82 -0
  22. package/dist/esm/models/Group.js +76 -0
  23. package/dist/esm/models/GroupCreate.d.ts +64 -0
  24. package/dist/esm/models/GroupCreate.js +66 -0
  25. package/dist/esm/models/GroupUpdate.d.ts +50 -0
  26. package/dist/esm/models/GroupUpdate.js +47 -0
  27. package/dist/esm/models/Identity.d.ts +60 -0
  28. package/dist/esm/models/Identity.js +60 -0
  29. package/dist/esm/models/Member.d.ts +56 -0
  30. package/dist/esm/models/Member.js +57 -0
  31. package/dist/esm/models/MemberCreate.d.ts +38 -0
  32. package/dist/esm/models/MemberCreate.js +47 -0
  33. package/dist/esm/models/MemberUpdate.d.ts +32 -0
  34. package/dist/esm/models/MemberUpdate.js +41 -0
  35. package/dist/esm/models/MigrationEstimationRequest.d.ts +1 -1
  36. package/dist/esm/models/MigrationEstimationResponse.d.ts +43 -0
  37. package/dist/esm/models/MigrationEstimationResponse.js +50 -0
  38. package/dist/esm/models/index.d.ts +8 -0
  39. package/dist/esm/models/index.js +8 -0
  40. package/dist/models/Group.d.ts +82 -0
  41. package/dist/models/Group.js +84 -0
  42. package/dist/models/GroupCreate.d.ts +64 -0
  43. package/dist/models/GroupCreate.js +74 -0
  44. package/dist/models/GroupUpdate.d.ts +50 -0
  45. package/dist/models/GroupUpdate.js +54 -0
  46. package/dist/models/Identity.d.ts +60 -0
  47. package/dist/models/Identity.js +68 -0
  48. package/dist/models/Member.d.ts +56 -0
  49. package/dist/models/Member.js +64 -0
  50. package/dist/models/MemberCreate.d.ts +38 -0
  51. package/dist/models/MemberCreate.js +54 -0
  52. package/dist/models/MemberUpdate.d.ts +32 -0
  53. package/dist/models/MemberUpdate.js +48 -0
  54. package/dist/models/MigrationEstimationRequest.d.ts +1 -1
  55. package/dist/models/MigrationEstimationResponse.d.ts +43 -0
  56. package/dist/models/MigrationEstimationResponse.js +57 -0
  57. package/dist/models/index.d.ts +8 -0
  58. package/dist/models/index.js +8 -0
  59. package/docs/AccountApi.md +734 -0
  60. package/docs/AssessmentApi.md +2 -2
  61. package/docs/Group.md +48 -0
  62. package/docs/GroupCreate.md +42 -0
  63. package/docs/GroupUpdate.md +40 -0
  64. package/docs/Identity.md +40 -0
  65. package/docs/Member.md +42 -0
  66. package/docs/MemberCreate.md +36 -0
  67. package/docs/MemberUpdate.md +34 -0
  68. package/docs/MigrationEstimationResponse.md +37 -0
  69. package/package.json +1 -1
  70. package/src/apis/AccountApi.ts +834 -0
  71. package/src/apis/AssessmentApi.ts +15 -15
  72. package/src/apis/ImageApi.ts +2 -2
  73. package/src/apis/JobApi.ts +2 -2
  74. package/src/apis/SourceApi.ts +4 -4
  75. package/src/apis/index.ts +1 -0
  76. package/src/models/Group.ts +139 -0
  77. package/src/models/GroupCreate.ts +113 -0
  78. package/src/models/GroupUpdate.ts +89 -0
  79. package/src/models/Identity.ts +104 -0
  80. package/src/models/Member.ts +101 -0
  81. package/src/models/MemberCreate.ts +75 -0
  82. package/src/models/MemberUpdate.ts +65 -0
  83. package/src/models/MigrationEstimationRequest.ts +1 -1
  84. package/src/models/MigrationEstimationResponse.ts +91 -0
  85. package/src/models/index.ts +8 -0
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: undefined
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the MemberCreate interface.
16
+ */
17
+ export function instanceOfMemberCreate(value) {
18
+ if (!('username' in value) || value['username'] === undefined)
19
+ return false;
20
+ if (!('email' in value) || value['email'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function MemberCreateFromJSON(json) {
25
+ return MemberCreateFromJSONTyped(json, false);
26
+ }
27
+ export function MemberCreateFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'username': json['username'],
33
+ 'email': json['email'],
34
+ };
35
+ }
36
+ export function MemberCreateToJSON(json) {
37
+ return MemberCreateToJSONTyped(json, false);
38
+ }
39
+ export function MemberCreateToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'username': value['username'],
45
+ 'email': value['email'],
46
+ };
47
+ }
@@ -0,0 +1,32 @@
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 MemberUpdate
16
+ */
17
+ export interface MemberUpdate {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof MemberUpdate
22
+ */
23
+ email?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the MemberUpdate interface.
27
+ */
28
+ export declare function instanceOfMemberUpdate(value: object): value is MemberUpdate;
29
+ export declare function MemberUpdateFromJSON(json: any): MemberUpdate;
30
+ export declare function MemberUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): MemberUpdate;
31
+ export declare function MemberUpdateToJSON(json: any): MemberUpdate;
32
+ export declare function MemberUpdateToJSONTyped(value?: MemberUpdate | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,41 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: undefined
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the MemberUpdate interface.
16
+ */
17
+ export function instanceOfMemberUpdate(value) {
18
+ return true;
19
+ }
20
+ export function MemberUpdateFromJSON(json) {
21
+ return MemberUpdateFromJSONTyped(json, false);
22
+ }
23
+ export function MemberUpdateFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'email': json['email'] == null ? undefined : json['email'],
29
+ };
30
+ }
31
+ export function MemberUpdateToJSON(json) {
32
+ return MemberUpdateToJSONTyped(json, false);
33
+ }
34
+ export function MemberUpdateToJSONTyped(value, ignoreDiscriminator = false) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'email': value['email'],
40
+ };
41
+ }
@@ -29,7 +29,7 @@ export interface MigrationEstimationRequest {
29
29
  */
30
30
  estimationSchema?: Array<string>;
31
31
  /**
32
- * Optional calculator parameter overrides. Keys must match known calculator param names (e.g. "transfer_rate_mbps", "work_hours_per_day", "troubleshoot_mins_per_vm", "post_migration_engineers"). User-supplied values take precedence over both defaults and inventory-derived values. Unknown keys are silently ignored.
32
+ * Optional calculator parameter overrides. Keys must match known calculator param names (e.g. "transfer_rate_mbps", "work_hours_per_day", "troubleshoot_mins_per_vm", "post_migration_engineers"). User-supplied values take precedence over both defaults and inventory-derived values. Unknown keys are rejected with HTTP 400.
33
33
  *
34
34
  * @type {{ [key: string]: any; }}
35
35
  * @memberof MigrationEstimationRequest
@@ -0,0 +1,43 @@
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
+ import type { SchemaEstimationResult } from './SchemaEstimationResult.js';
13
+ import type { EstimationContext } from './EstimationContext.js';
14
+ /**
15
+ * Migration estimation result, including per-schema results and the parameters used.
16
+ *
17
+ * @export
18
+ * @interface MigrationEstimationResponse
19
+ */
20
+ export interface MigrationEstimationResponse {
21
+ /**
22
+ * Estimation results keyed by schema name (e.g. "network-based", "storage-offload").
23
+ * @type {{ [key: string]: SchemaEstimationResult; }}
24
+ * @memberof MigrationEstimationResponse
25
+ */
26
+ estimation: {
27
+ [key: string]: SchemaEstimationResult;
28
+ };
29
+ /**
30
+ *
31
+ * @type {EstimationContext}
32
+ * @memberof MigrationEstimationResponse
33
+ */
34
+ estimationContext: EstimationContext;
35
+ }
36
+ /**
37
+ * Check if a given object implements the MigrationEstimationResponse interface.
38
+ */
39
+ export declare function instanceOfMigrationEstimationResponse(value: object): value is MigrationEstimationResponse;
40
+ export declare function MigrationEstimationResponseFromJSON(json: any): MigrationEstimationResponse;
41
+ export declare function MigrationEstimationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationEstimationResponse;
42
+ export declare function MigrationEstimationResponseToJSON(json: any): MigrationEstimationResponse;
43
+ export declare function MigrationEstimationResponseToJSONTyped(value?: MigrationEstimationResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: undefined
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { mapValues } from '../runtime.js';
15
+ import { SchemaEstimationResultFromJSON, SchemaEstimationResultToJSON, } from './SchemaEstimationResult.js';
16
+ import { EstimationContextFromJSON, EstimationContextToJSON, } from './EstimationContext.js';
17
+ /**
18
+ * Check if a given object implements the MigrationEstimationResponse interface.
19
+ */
20
+ export function instanceOfMigrationEstimationResponse(value) {
21
+ if (!('estimation' in value) || value['estimation'] === undefined)
22
+ return false;
23
+ if (!('estimationContext' in value) || value['estimationContext'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function MigrationEstimationResponseFromJSON(json) {
28
+ return MigrationEstimationResponseFromJSONTyped(json, false);
29
+ }
30
+ export function MigrationEstimationResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'estimation': (mapValues(json['estimation'], SchemaEstimationResultFromJSON)),
36
+ 'estimationContext': EstimationContextFromJSON(json['estimationContext']),
37
+ };
38
+ }
39
+ export function MigrationEstimationResponseToJSON(json) {
40
+ return MigrationEstimationResponseToJSONTyped(json, false);
41
+ }
42
+ export function MigrationEstimationResponseToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'estimation': (mapValues(value['estimation'], SchemaEstimationResultToJSON)),
48
+ 'estimationContext': EstimationContextToJSON(value['estimationContext']),
49
+ };
50
+ }
@@ -14,8 +14,12 @@ export * from './DiskSizeTierSummary.js';
14
14
  export * from './DiskTypeSummary.js';
15
15
  export * from './EstimationContext.js';
16
16
  export * from './EstimationDetail.js';
17
+ export * from './Group.js';
18
+ export * from './GroupCreate.js';
19
+ export * from './GroupUpdate.js';
17
20
  export * from './Histogram.js';
18
21
  export * from './Host.js';
22
+ export * from './Identity.js';
19
23
  export * from './Info.js';
20
24
  export * from './Infra.js';
21
25
  export * from './Inventory.js';
@@ -25,10 +29,14 @@ export * from './Ipv4Config.js';
25
29
  export * from './Job.js';
26
30
  export * from './JobStatus.js';
27
31
  export * from './Label.js';
32
+ export * from './Member.js';
33
+ export * from './MemberCreate.js';
34
+ export * from './MemberUpdate.js';
28
35
  export * from './MigrationComplexityRequest.js';
29
36
  export * from './MigrationComplexityResponse.js';
30
37
  export * from './MigrationEstimationByComplexityResponse.js';
31
38
  export * from './MigrationEstimationRequest.js';
39
+ export * from './MigrationEstimationResponse.js';
32
40
  export * from './MigrationIssue.js';
33
41
  export * from './ModelError.js';
34
42
  export * from './Network.js';
@@ -16,8 +16,12 @@ export * from './DiskSizeTierSummary.js';
16
16
  export * from './DiskTypeSummary.js';
17
17
  export * from './EstimationContext.js';
18
18
  export * from './EstimationDetail.js';
19
+ export * from './Group.js';
20
+ export * from './GroupCreate.js';
21
+ export * from './GroupUpdate.js';
19
22
  export * from './Histogram.js';
20
23
  export * from './Host.js';
24
+ export * from './Identity.js';
21
25
  export * from './Info.js';
22
26
  export * from './Infra.js';
23
27
  export * from './Inventory.js';
@@ -27,10 +31,14 @@ export * from './Ipv4Config.js';
27
31
  export * from './Job.js';
28
32
  export * from './JobStatus.js';
29
33
  export * from './Label.js';
34
+ export * from './Member.js';
35
+ export * from './MemberCreate.js';
36
+ export * from './MemberUpdate.js';
30
37
  export * from './MigrationComplexityRequest.js';
31
38
  export * from './MigrationComplexityResponse.js';
32
39
  export * from './MigrationEstimationByComplexityResponse.js';
33
40
  export * from './MigrationEstimationRequest.js';
41
+ export * from './MigrationEstimationResponse.js';
34
42
  export * from './MigrationIssue.js';
35
43
  export * from './ModelError.js';
36
44
  export * from './Network.js';
@@ -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;