@openshift-migration-advisor/planner-sdk 0.20.3 → 0.21.0-515d930cc594
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 +22 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +16 -3
- package/dist/apis/AccountApi.js +1 -1
- package/dist/apis/AssessmentApi.d.ts +81 -0
- package/dist/apis/AssessmentApi.js +84 -0
- package/dist/esm/apis/AccountApi.js +1 -1
- package/dist/esm/apis/AssessmentApi.d.ts +81 -0
- package/dist/esm/apis/AssessmentApi.js +84 -0
- package/dist/esm/models/ActiveEnvironmentsInput.d.ts +41 -0
- package/dist/esm/models/ActiveEnvironmentsInput.js +51 -0
- package/dist/esm/models/Agent.js +6 -5
- package/dist/esm/models/AriaAutomationInput.d.ts +51 -0
- package/dist/esm/models/AriaAutomationInput.js +61 -0
- package/dist/esm/models/AriaOpsInput.d.ts +49 -0
- package/dist/esm/models/AriaOpsInput.js +59 -0
- package/dist/esm/models/AriaSecureInput.d.ts +41 -0
- package/dist/esm/models/AriaSecureInput.js +51 -0
- package/dist/esm/models/Assessment.js +5 -4
- package/dist/esm/models/AssessmentSubsetInventory.js +3 -2
- package/dist/esm/models/ClusterFeatures.d.ts +2 -2
- package/dist/esm/models/ClusterFeatures.js +3 -3
- package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/ClusterRequirementsStoredInput.js +3 -3
- package/dist/esm/models/CpuOverCommitRatio.js +1 -1
- package/dist/esm/models/CustomerDetailsInput.d.ts +34 -0
- package/dist/esm/models/CustomerDetailsInput.js +43 -0
- package/dist/esm/models/DeployedEnvironmentInput.d.ts +40 -0
- package/dist/esm/models/DeployedEnvironmentInput.js +50 -0
- package/dist/esm/models/EnhancementData.d.ts +76 -0
- package/dist/esm/models/EnhancementData.js +69 -0
- package/dist/esm/models/Group.js +6 -5
- package/dist/esm/models/GroupCreate.js +1 -1
- package/dist/esm/models/Host.d.ts +8 -0
- package/dist/esm/models/Host.js +4 -0
- package/dist/esm/models/Identity.js +1 -1
- package/dist/esm/models/Infra.d.ts +4 -0
- package/dist/esm/models/Infra.js +2 -0
- package/dist/esm/models/Inventory.d.ts +4 -0
- package/dist/esm/models/Inventory.js +3 -1
- package/dist/esm/models/JobStatus.js +1 -1
- package/dist/esm/models/Member.js +5 -4
- package/dist/esm/models/MemoryOverCommitRatio.js +1 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/NsxInput.d.ts +46 -0
- package/dist/esm/models/NsxInput.js +56 -0
- package/dist/esm/models/OptimizationStatus.js +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PartnerRequest.js +7 -6
- package/dist/esm/models/PartnerRequestStatus.js +1 -1
- package/dist/esm/models/PresignedUrl.js +3 -2
- package/dist/esm/models/Snapshot.js +3 -2
- package/dist/esm/models/Source.js +6 -5
- package/dist/esm/models/SourceCreate.js +1 -1
- package/dist/esm/models/SourceUpdate.js +1 -1
- package/dist/esm/models/StandaloneClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- package/dist/esm/models/VMs.d.ts +4 -0
- package/dist/esm/models/VMs.js +2 -0
- package/dist/esm/models/VMwareSubscriptionInput.d.ts +42 -0
- package/dist/esm/models/VMwareSubscriptionInput.js +52 -0
- package/dist/esm/models/VMwareVersionCountsInput.d.ts +42 -0
- package/dist/esm/models/VMwareVersionCountsInput.js +47 -0
- package/dist/esm/models/VsphereCoreInput.d.ts +38 -0
- package/dist/esm/models/VsphereCoreInput.js +45 -0
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/esm/runtime.d.ts +11 -0
- package/dist/esm/runtime.js +47 -1
- package/dist/models/ActiveEnvironmentsInput.d.ts +41 -0
- package/dist/models/ActiveEnvironmentsInput.js +59 -0
- package/dist/models/Agent.js +6 -5
- package/dist/models/AriaAutomationInput.d.ts +51 -0
- package/dist/models/AriaAutomationInput.js +69 -0
- package/dist/models/AriaOpsInput.d.ts +49 -0
- package/dist/models/AriaOpsInput.js +67 -0
- package/dist/models/AriaSecureInput.d.ts +41 -0
- package/dist/models/AriaSecureInput.js +59 -0
- package/dist/models/Assessment.js +5 -4
- package/dist/models/AssessmentSubsetInventory.js +3 -2
- package/dist/models/ClusterFeatures.d.ts +2 -2
- package/dist/models/ClusterFeatures.js +3 -3
- package/dist/models/ClusterRequirementsRequest.js +1 -1
- package/dist/models/ClusterRequirementsStoredInput.js +3 -3
- package/dist/models/CpuOverCommitRatio.js +1 -1
- package/dist/models/CustomerDetailsInput.d.ts +34 -0
- package/dist/models/CustomerDetailsInput.js +50 -0
- package/dist/models/DeployedEnvironmentInput.d.ts +40 -0
- package/dist/models/DeployedEnvironmentInput.js +58 -0
- package/dist/models/EnhancementData.d.ts +76 -0
- package/dist/models/EnhancementData.js +76 -0
- package/dist/models/Group.js +6 -5
- package/dist/models/GroupCreate.js +1 -1
- package/dist/models/Host.d.ts +8 -0
- package/dist/models/Host.js +4 -0
- package/dist/models/Identity.js +1 -1
- package/dist/models/Infra.d.ts +4 -0
- package/dist/models/Infra.js +2 -0
- package/dist/models/Inventory.d.ts +4 -0
- package/dist/models/Inventory.js +2 -0
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/Member.js +5 -4
- package/dist/models/MemoryOverCommitRatio.js +1 -1
- package/dist/models/Network.js +1 -1
- package/dist/models/NsxInput.d.ts +46 -0
- package/dist/models/NsxInput.js +64 -0
- package/dist/models/OptimizationStatus.js +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PartnerRequest.js +7 -6
- package/dist/models/PartnerRequestStatus.js +1 -1
- package/dist/models/PresignedUrl.js +3 -2
- package/dist/models/Snapshot.js +3 -2
- package/dist/models/Source.js +6 -5
- package/dist/models/SourceCreate.js +1 -1
- package/dist/models/SourceUpdate.js +1 -1
- package/dist/models/StandaloneClusterRequirementsRequest.js +1 -1
- package/dist/models/StorageIoConfiguration.js +1 -1
- package/dist/models/VMs.d.ts +4 -0
- package/dist/models/VMs.js +2 -0
- package/dist/models/VMwareSubscriptionInput.d.ts +42 -0
- package/dist/models/VMwareSubscriptionInput.js +60 -0
- package/dist/models/VMwareVersionCountsInput.d.ts +42 -0
- package/dist/models/VMwareVersionCountsInput.js +54 -0
- package/dist/models/VsphereCoreInput.d.ts +38 -0
- package/dist/models/VsphereCoreInput.js +52 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/runtime.d.ts +11 -0
- package/dist/runtime.js +51 -1
- package/docs/ActiveEnvironmentsInput.md +34 -0
- package/docs/AriaAutomationInput.md +34 -0
- package/docs/AriaOpsInput.md +34 -0
- package/docs/AriaSecureInput.md +34 -0
- package/docs/AssessmentApi.md +148 -0
- package/docs/ClusterFeatures.md +2 -2
- package/docs/CustomerDetailsInput.md +36 -0
- package/docs/DeployedEnvironmentInput.md +34 -0
- package/docs/EnhancementData.md +53 -0
- package/docs/Host.md +4 -0
- package/docs/Infra.md +2 -0
- package/docs/Inventory.md +2 -0
- package/docs/NsxInput.md +34 -0
- package/docs/VMs.md +2 -0
- package/docs/VMwareSubscriptionInput.md +34 -0
- package/docs/VMwareVersionCountsInput.md +40 -0
- package/docs/VsphereCoreInput.md +38 -0
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +1 -1
- package/src/apis/AssessmentApi.ts +169 -0
- package/src/models/ActiveEnvironmentsInput.ts +77 -0
- package/src/models/Agent.ts +6 -6
- package/src/models/AriaAutomationInput.ts +87 -0
- package/src/models/AriaOpsInput.ts +85 -0
- package/src/models/AriaSecureInput.ts +77 -0
- package/src/models/Assessment.ts +5 -5
- package/src/models/AssessmentSubsetInventory.ts +3 -3
- package/src/models/ClusterFeatures.ts +5 -5
- package/src/models/ClusterRequirementsRequest.ts +1 -1
- package/src/models/ClusterRequirementsStoredInput.ts +3 -3
- package/src/models/CpuOverCommitRatio.ts +1 -1
- package/src/models/CustomerDetailsInput.ts +69 -0
- package/src/models/DeployedEnvironmentInput.ts +76 -0
- package/src/models/EnhancementData.ts +188 -0
- package/src/models/Group.ts +6 -6
- package/src/models/GroupCreate.ts +1 -1
- package/src/models/Host.ts +12 -0
- package/src/models/Identity.ts +1 -1
- package/src/models/Infra.ts +6 -0
- package/src/models/Inventory.ts +7 -1
- package/src/models/JobStatus.ts +1 -1
- package/src/models/Member.ts +5 -5
- package/src/models/MemoryOverCommitRatio.ts +1 -1
- package/src/models/Network.ts +1 -1
- package/src/models/NsxInput.ts +82 -0
- package/src/models/OptimizationStatus.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PartnerRequest.ts +7 -7
- package/src/models/PartnerRequestStatus.ts +1 -1
- package/src/models/PresignedUrl.ts +3 -3
- package/src/models/Snapshot.ts +3 -3
- package/src/models/Source.ts +6 -6
- package/src/models/SourceCreate.ts +1 -1
- package/src/models/SourceUpdate.ts +1 -1
- package/src/models/StandaloneClusterRequirementsRequest.ts +1 -1
- package/src/models/StorageIoConfiguration.ts +1 -1
- package/src/models/VMs.ts +6 -0
- package/src/models/VMwareSubscriptionInput.ts +78 -0
- package/src/models/VMwareVersionCountsInput.ts +81 -0
- package/src/models/VsphereCoreInput.ts +75 -0
- package/src/models/index.ts +11 -0
- package/src/runtime.ts +52 -1
|
@@ -0,0 +1,43 @@
|
|
|
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: v1alpha1
|
|
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 CustomerDetailsInput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCustomerDetailsInput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function CustomerDetailsInputFromJSON(json) {
|
|
21
|
+
return CustomerDetailsInputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function CustomerDetailsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'physicalLocationsCount': json['physicalLocationsCount'] == null ? undefined : json['physicalLocationsCount'],
|
|
29
|
+
'targetHardware': json['targetHardware'] == null ? undefined : json['targetHardware'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function CustomerDetailsInputToJSON(json) {
|
|
33
|
+
return CustomerDetailsInputToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function CustomerDetailsInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'physicalLocationsCount': value['physicalLocationsCount'],
|
|
41
|
+
'targetHardware': value['targetHardware'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -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: v1alpha1
|
|
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 DeployedEnvironmentInput
|
|
16
|
+
*/
|
|
17
|
+
export interface DeployedEnvironmentInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
environment?: DeployedEnvironmentInputEnvironmentEnum;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const DeployedEnvironmentInputEnvironmentEnum: {
|
|
27
|
+
readonly OnPremises: "on_premises";
|
|
28
|
+
readonly OnCloud: "on_cloud";
|
|
29
|
+
readonly ManagedServices: "managed_services";
|
|
30
|
+
readonly NotAssessed: "not_assessed";
|
|
31
|
+
};
|
|
32
|
+
export type DeployedEnvironmentInputEnvironmentEnum = typeof DeployedEnvironmentInputEnvironmentEnum[keyof typeof DeployedEnvironmentInputEnvironmentEnum];
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the DeployedEnvironmentInput interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfDeployedEnvironmentInput(value: object): value is DeployedEnvironmentInput;
|
|
37
|
+
export declare function DeployedEnvironmentInputFromJSON(json: any): DeployedEnvironmentInput;
|
|
38
|
+
export declare function DeployedEnvironmentInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeployedEnvironmentInput;
|
|
39
|
+
export declare function DeployedEnvironmentInputToJSON(json: any): DeployedEnvironmentInput;
|
|
40
|
+
export declare function DeployedEnvironmentInputToJSONTyped(value?: DeployedEnvironmentInput | 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: v1alpha1
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const DeployedEnvironmentInputEnvironmentEnum = {
|
|
18
|
+
OnPremises: 'on_premises',
|
|
19
|
+
OnCloud: 'on_cloud',
|
|
20
|
+
ManagedServices: 'managed_services',
|
|
21
|
+
NotAssessed: 'not_assessed',
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the DeployedEnvironmentInput interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfDeployedEnvironmentInput(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function DeployedEnvironmentInputFromJSON(json) {
|
|
30
|
+
return DeployedEnvironmentInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function DeployedEnvironmentInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'environment': json['environment'] == null ? undefined : json['environment'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function DeployedEnvironmentInputToJSON(json) {
|
|
41
|
+
return DeployedEnvironmentInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function DeployedEnvironmentInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'environment': value['environment'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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: v1alpha1
|
|
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 { NsxInput } from './NsxInput.js';
|
|
13
|
+
import type { AriaSecureInput } from './AriaSecureInput.js';
|
|
14
|
+
import type { DeployedEnvironmentInput } from './DeployedEnvironmentInput.js';
|
|
15
|
+
import type { VMwareSubscriptionInput } from './VMwareSubscriptionInput.js';
|
|
16
|
+
import type { CustomerDetailsInput } from './CustomerDetailsInput.js';
|
|
17
|
+
import type { VMwareVersionCountsInput } from './VMwareVersionCountsInput.js';
|
|
18
|
+
import type { VsphereCoreInput } from './VsphereCoreInput.js';
|
|
19
|
+
import type { AriaAutomationInput } from './AriaAutomationInput.js';
|
|
20
|
+
import type { AriaOpsInput } from './AriaOpsInput.js';
|
|
21
|
+
import type { ActiveEnvironmentsInput } from './ActiveEnvironmentsInput.js';
|
|
22
|
+
/**
|
|
23
|
+
* VMA enhancement data — fields that cannot be auto-collected by Agent or RVTools
|
|
24
|
+
* @export
|
|
25
|
+
* @interface EnhancementData
|
|
26
|
+
*/
|
|
27
|
+
export interface EnhancementData {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
deployedEnvironment?: DeployedEnvironmentInput;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
vmwareVersionCounts?: VMwareVersionCountsInput;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
activeEnvironments?: ActiveEnvironmentsInput;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
vmwareSubscription?: VMwareSubscriptionInput;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
vsphereCore?: VsphereCoreInput;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
nsx?: NsxInput;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
ariaOps?: AriaOpsInput;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
ariaAutomation?: AriaAutomationInput;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
ariaSecure?: AriaSecureInput;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
customerDetails?: CustomerDetailsInput;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the EnhancementData interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfEnhancementData(value: object): value is EnhancementData;
|
|
73
|
+
export declare function EnhancementDataFromJSON(json: any): EnhancementData;
|
|
74
|
+
export declare function EnhancementDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnhancementData;
|
|
75
|
+
export declare function EnhancementDataToJSON(json: any): EnhancementData;
|
|
76
|
+
export declare function EnhancementDataToJSONTyped(value?: EnhancementData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
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: v1alpha1
|
|
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 { NsxInputFromJSON, NsxInputToJSON, } from './NsxInput.js';
|
|
15
|
+
import { AriaSecureInputFromJSON, AriaSecureInputToJSON, } from './AriaSecureInput.js';
|
|
16
|
+
import { DeployedEnvironmentInputFromJSON, DeployedEnvironmentInputToJSON, } from './DeployedEnvironmentInput.js';
|
|
17
|
+
import { VMwareSubscriptionInputFromJSON, VMwareSubscriptionInputToJSON, } from './VMwareSubscriptionInput.js';
|
|
18
|
+
import { CustomerDetailsInputFromJSON, CustomerDetailsInputToJSON, } from './CustomerDetailsInput.js';
|
|
19
|
+
import { VMwareVersionCountsInputFromJSON, VMwareVersionCountsInputToJSON, } from './VMwareVersionCountsInput.js';
|
|
20
|
+
import { VsphereCoreInputFromJSON, VsphereCoreInputToJSON, } from './VsphereCoreInput.js';
|
|
21
|
+
import { AriaAutomationInputFromJSON, AriaAutomationInputToJSON, } from './AriaAutomationInput.js';
|
|
22
|
+
import { AriaOpsInputFromJSON, AriaOpsInputToJSON, } from './AriaOpsInput.js';
|
|
23
|
+
import { ActiveEnvironmentsInputFromJSON, ActiveEnvironmentsInputToJSON, } from './ActiveEnvironmentsInput.js';
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the EnhancementData interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfEnhancementData(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function EnhancementDataFromJSON(json) {
|
|
31
|
+
return EnhancementDataFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function EnhancementDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'deployedEnvironment': json['deployedEnvironment'] == null ? undefined : DeployedEnvironmentInputFromJSON(json['deployedEnvironment']),
|
|
39
|
+
'vmwareVersionCounts': json['vmwareVersionCounts'] == null ? undefined : VMwareVersionCountsInputFromJSON(json['vmwareVersionCounts']),
|
|
40
|
+
'activeEnvironments': json['activeEnvironments'] == null ? undefined : ActiveEnvironmentsInputFromJSON(json['activeEnvironments']),
|
|
41
|
+
'vmwareSubscription': json['vmwareSubscription'] == null ? undefined : VMwareSubscriptionInputFromJSON(json['vmwareSubscription']),
|
|
42
|
+
'vsphereCore': json['vsphereCore'] == null ? undefined : VsphereCoreInputFromJSON(json['vsphereCore']),
|
|
43
|
+
'nsx': json['nsx'] == null ? undefined : NsxInputFromJSON(json['nsx']),
|
|
44
|
+
'ariaOps': json['ariaOps'] == null ? undefined : AriaOpsInputFromJSON(json['ariaOps']),
|
|
45
|
+
'ariaAutomation': json['ariaAutomation'] == null ? undefined : AriaAutomationInputFromJSON(json['ariaAutomation']),
|
|
46
|
+
'ariaSecure': json['ariaSecure'] == null ? undefined : AriaSecureInputFromJSON(json['ariaSecure']),
|
|
47
|
+
'customerDetails': json['customerDetails'] == null ? undefined : CustomerDetailsInputFromJSON(json['customerDetails']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export function EnhancementDataToJSON(json) {
|
|
51
|
+
return EnhancementDataToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
export function EnhancementDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'deployedEnvironment': DeployedEnvironmentInputToJSON(value['deployedEnvironment']),
|
|
59
|
+
'vmwareVersionCounts': VMwareVersionCountsInputToJSON(value['vmwareVersionCounts']),
|
|
60
|
+
'activeEnvironments': ActiveEnvironmentsInputToJSON(value['activeEnvironments']),
|
|
61
|
+
'vmwareSubscription': VMwareSubscriptionInputToJSON(value['vmwareSubscription']),
|
|
62
|
+
'vsphereCore': VsphereCoreInputToJSON(value['vsphereCore']),
|
|
63
|
+
'nsx': NsxInputToJSON(value['nsx']),
|
|
64
|
+
'ariaOps': AriaOpsInputToJSON(value['ariaOps']),
|
|
65
|
+
'ariaAutomation': AriaAutomationInputToJSON(value['ariaAutomation']),
|
|
66
|
+
'ariaSecure': AriaSecureInputToJSON(value['ariaSecure']),
|
|
67
|
+
'customerDetails': CustomerDetailsInputToJSON(value['customerDetails']),
|
|
68
|
+
};
|
|
69
|
+
}
|
package/dist/esm/models/Group.js
CHANGED
|
@@ -11,12 +11,13 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { parseDateTime, serializeDateTime } from '../runtime.js';
|
|
14
15
|
/**
|
|
15
16
|
* @export
|
|
16
17
|
*/
|
|
17
18
|
export const GroupKindEnum = {
|
|
18
19
|
Partner: 'partner',
|
|
19
|
-
Admin: 'admin'
|
|
20
|
+
Admin: 'admin',
|
|
20
21
|
};
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the Group interface.
|
|
@@ -52,8 +53,8 @@ export function GroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
53
|
'kind': json['kind'],
|
|
53
54
|
'icon': json['icon'],
|
|
54
55
|
'company': json['company'],
|
|
55
|
-
'createdAt': (json['createdAt'] == null ? json['createdAt'] :
|
|
56
|
-
'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] :
|
|
56
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
|
|
57
|
+
'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : parseDateTime(json['updatedAt'])),
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
60
|
export function GroupToJSON(json) {
|
|
@@ -70,7 +71,7 @@ export function GroupToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
70
71
|
'kind': value['kind'],
|
|
71
72
|
'icon': value['icon'],
|
|
72
73
|
'company': value['company'],
|
|
73
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt']
|
|
74
|
-
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt']
|
|
74
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
75
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : serializeDateTime(value['updatedAt']),
|
|
75
76
|
};
|
|
76
77
|
}
|
|
@@ -39,6 +39,14 @@ export interface Host {
|
|
|
39
39
|
* Host memory in MB
|
|
40
40
|
*/
|
|
41
41
|
memoryMB?: number | null;
|
|
42
|
+
/**
|
|
43
|
+
* Whether vMotion is supported on this host (HostSystem.capability.vmotionSupported)
|
|
44
|
+
*/
|
|
45
|
+
vmotionSupported?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
|
|
48
|
+
*/
|
|
49
|
+
storageVmotionSupported?: boolean;
|
|
42
50
|
}
|
|
43
51
|
/**
|
|
44
52
|
* Check if a given object implements the Host interface.
|
package/dist/esm/models/Host.js
CHANGED
|
@@ -35,6 +35,8 @@ export function HostFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
|
|
36
36
|
'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
|
|
37
37
|
'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
|
|
38
|
+
'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
|
|
39
|
+
'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
export function HostToJSON(json) {
|
|
@@ -51,5 +53,7 @@ export function HostToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
51
53
|
'cpuCores': value['cpuCores'],
|
|
52
54
|
'cpuSockets': value['cpuSockets'],
|
|
53
55
|
'memoryMB': value['memoryMB'],
|
|
56
|
+
'vmotionSupported': value['vmotionSupported'],
|
|
57
|
+
'storageVmotionSupported': value['storageVmotionSupported'],
|
|
54
58
|
};
|
|
55
59
|
}
|
|
@@ -43,6 +43,10 @@ export interface Infra {
|
|
|
43
43
|
* RAM memory Overcommitment Ratio. Calculated as total Allocated memory / Total memory available
|
|
44
44
|
*/
|
|
45
45
|
memoryOverCommitment?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Average VM density per ESXi host. Calculated as total VMs / totalHosts
|
|
48
|
+
*/
|
|
49
|
+
vmsPerHostAverage?: number;
|
|
46
50
|
/**
|
|
47
51
|
*
|
|
48
52
|
*/
|
package/dist/esm/models/Infra.js
CHANGED
|
@@ -42,6 +42,7 @@ export function InfraFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'clustersPerDatacenter': json['clustersPerDatacenter'] == null ? undefined : json['clustersPerDatacenter'],
|
|
43
43
|
'cpuOverCommitment': json['cpuOverCommitment'] == null ? undefined : json['cpuOverCommitment'],
|
|
44
44
|
'memoryOverCommitment': json['memoryOverCommitment'] == null ? undefined : json['memoryOverCommitment'],
|
|
45
|
+
'vmsPerHostAverage': json['vmsPerHostAverage'] == null ? undefined : json['vmsPerHostAverage'],
|
|
45
46
|
'hosts': json['hosts'] == null ? undefined : (json['hosts'].map(HostFromJSON)),
|
|
46
47
|
'hostsPerCluster': json['hostsPerCluster'] == null ? undefined : json['hostsPerCluster'],
|
|
47
48
|
'vmsPerCluster': json['vmsPerCluster'] == null ? undefined : json['vmsPerCluster'],
|
|
@@ -64,6 +65,7 @@ export function InfraToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
64
65
|
'clustersPerDatacenter': value['clustersPerDatacenter'],
|
|
65
66
|
'cpuOverCommitment': value['cpuOverCommitment'],
|
|
66
67
|
'memoryOverCommitment': value['memoryOverCommitment'],
|
|
68
|
+
'vmsPerHostAverage': value['vmsPerHostAverage'],
|
|
67
69
|
'hosts': value['hosts'] == null ? undefined : (value['hosts'].map(HostToJSON)),
|
|
68
70
|
'hostsPerCluster': value['hostsPerCluster'],
|
|
69
71
|
'vmsPerCluster': value['vmsPerCluster'],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { mapValues } from '../runtime.js';
|
|
14
|
+
import { mapValues, parseDateTime, serializeDateTime } from '../runtime.js';
|
|
15
15
|
import { InventoryDataFromJSON, InventoryDataToJSON, } from './InventoryData.js';
|
|
16
16
|
/**
|
|
17
17
|
* Check if a given object implements the Inventory interface.
|
|
@@ -35,6 +35,7 @@ export function InventoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
|
|
36
36
|
'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
|
|
37
37
|
'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
|
|
38
|
+
'createdAt': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
export function InventoryToJSON(json) {
|
|
@@ -49,5 +50,6 @@ export function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
49
50
|
'vcenter_version': value['vcenterVersion'],
|
|
50
51
|
'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
|
|
51
52
|
'vcenter': InventoryDataToJSON(value['vcenter']),
|
|
53
|
+
'created_at': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
52
54
|
};
|
|
53
55
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { parseDateTime, serializeDateTime } from '../runtime.js';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the Member interface.
|
|
16
17
|
*/
|
|
@@ -36,8 +37,8 @@ export function MemberFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
37
|
'username': json['username'],
|
|
37
38
|
'email': json['email'],
|
|
38
39
|
'groupId': json['groupId'],
|
|
39
|
-
'createdAt': (json['createdAt'] == null ? json['createdAt'] :
|
|
40
|
-
'updatedAt': json['updatedAt'] == null ? undefined : (
|
|
40
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
|
|
41
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (parseDateTime(json['updatedAt'])),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
export function MemberToJSON(json) {
|
|
@@ -51,7 +52,7 @@ export function MemberToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
51
52
|
'username': value['username'],
|
|
52
53
|
'email': value['email'],
|
|
53
54
|
'groupId': value['groupId'],
|
|
54
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt']
|
|
55
|
-
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt']
|
|
55
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
56
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : serializeDateTime(value['updatedAt']),
|
|
56
57
|
};
|
|
57
58
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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: v1alpha1
|
|
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 NsxInput
|
|
16
|
+
*/
|
|
17
|
+
export interface NsxInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
features?: Set<NsxInputFeaturesEnum>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const NsxInputFeaturesEnum: {
|
|
27
|
+
readonly Microsegmentation: "microsegmentation";
|
|
28
|
+
readonly MultiCloud: "multi_cloud";
|
|
29
|
+
readonly Tunnels: "tunnels";
|
|
30
|
+
readonly DynamicRouting: "dynamic_routing";
|
|
31
|
+
readonly CentralMgmt: "central_mgmt";
|
|
32
|
+
readonly Mpls: "mpls";
|
|
33
|
+
readonly Qos: "qos";
|
|
34
|
+
readonly NotAssessed: "not_assessed";
|
|
35
|
+
readonly NotAvailable: "not_available";
|
|
36
|
+
readonly NotInUse: "not_in_use";
|
|
37
|
+
};
|
|
38
|
+
export type NsxInputFeaturesEnum = typeof NsxInputFeaturesEnum[keyof typeof NsxInputFeaturesEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the NsxInput interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfNsxInput(value: object): value is NsxInput;
|
|
43
|
+
export declare function NsxInputFromJSON(json: any): NsxInput;
|
|
44
|
+
export declare function NsxInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NsxInput;
|
|
45
|
+
export declare function NsxInputToJSON(json: any): NsxInput;
|
|
46
|
+
export declare function NsxInputToJSONTyped(value?: NsxInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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: v1alpha1
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const NsxInputFeaturesEnum = {
|
|
18
|
+
Microsegmentation: 'microsegmentation',
|
|
19
|
+
MultiCloud: 'multi_cloud',
|
|
20
|
+
Tunnels: 'tunnels',
|
|
21
|
+
DynamicRouting: 'dynamic_routing',
|
|
22
|
+
CentralMgmt: 'central_mgmt',
|
|
23
|
+
Mpls: 'mpls',
|
|
24
|
+
Qos: 'qos',
|
|
25
|
+
NotAssessed: 'not_assessed',
|
|
26
|
+
NotAvailable: 'not_available',
|
|
27
|
+
NotInUse: 'not_in_use',
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the NsxInput interface.
|
|
31
|
+
*/
|
|
32
|
+
export function instanceOfNsxInput(value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function NsxInputFromJSON(json) {
|
|
36
|
+
return NsxInputFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function NsxInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function NsxInputToJSON(json) {
|
|
47
|
+
return NsxInputToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function NsxInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'features': value['features'] == null ? undefined : Array.from(value['features']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -18,7 +18,7 @@ export const OptimizationStatusReasonEnum = {
|
|
|
18
18
|
NoUtilizationData: 'no_utilization_data',
|
|
19
19
|
LowConfidence: 'low_confidence',
|
|
20
20
|
CalculationError: 'calculation_error',
|
|
21
|
-
Success: 'success'
|
|
21
|
+
Success: 'success',
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the OptimizationStatus interface.
|
|
@@ -18,7 +18,7 @@ export const OsInfoSupportTierEnum = {
|
|
|
18
18
|
Certified: 'certified',
|
|
19
19
|
VendorSupported: 'vendor_supported',
|
|
20
20
|
CommunitySupported: 'community_supported',
|
|
21
|
-
SpecialHandling: 'special_handling'
|
|
21
|
+
SpecialHandling: 'special_handling',
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the OsInfo interface.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { parseDateTime, serializeDateTime } from '../runtime.js';
|
|
14
15
|
import { PartnerRequestStatusFromJSON, PartnerRequestStatusToJSON, } from './PartnerRequestStatus.js';
|
|
15
16
|
import { PartnerSummaryFromJSON, PartnerSummaryToJSON, } from './PartnerSummary.js';
|
|
16
17
|
/**
|
|
@@ -57,9 +58,9 @@ export function PartnerRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
58
|
'email': json['email'],
|
|
58
59
|
'location': json['location'],
|
|
59
60
|
'reason': json['reason'] === undefined ? undefined : json['reason'] === null ? null : json['reason'],
|
|
60
|
-
'acceptedAt': json['acceptedAt'] === undefined ? undefined : json['acceptedAt'] === null ? null : (
|
|
61
|
-
'terminatedAt': json['terminatedAt'] === undefined ? undefined : json['terminatedAt'] === null ? null : (
|
|
62
|
-
'createdAt': (json['createdAt'] == null ? json['createdAt'] :
|
|
61
|
+
'acceptedAt': json['acceptedAt'] === undefined ? undefined : json['acceptedAt'] === null ? null : (parseDateTime(json['acceptedAt'])),
|
|
62
|
+
'terminatedAt': json['terminatedAt'] === undefined ? undefined : json['terminatedAt'] === null ? null : (parseDateTime(json['terminatedAt'])),
|
|
63
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
|
|
63
64
|
};
|
|
64
65
|
}
|
|
65
66
|
export function PartnerRequestToJSON(json) {
|
|
@@ -80,8 +81,8 @@ export function PartnerRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
80
81
|
'email': value['email'],
|
|
81
82
|
'location': value['location'],
|
|
82
83
|
'reason': value['reason'],
|
|
83
|
-
'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : value['acceptedAt']
|
|
84
|
-
'terminatedAt': value['terminatedAt'] == null ? value['terminatedAt'] : value['terminatedAt']
|
|
85
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt']
|
|
84
|
+
'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : serializeDateTime(value['acceptedAt']),
|
|
85
|
+
'terminatedAt': value['terminatedAt'] == null ? value['terminatedAt'] : serializeDateTime(value['terminatedAt']),
|
|
86
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
86
87
|
};
|
|
87
88
|
}
|