oci-resourcescheduler 2.86.3
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/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +215 -0
- package/lib/client.js +1060 -0
- package/lib/client.js.map +1 -0
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/compartment-id-resource-filter.d.ts +32 -0
- package/lib/model/compartment-id-resource-filter.js +54 -0
- package/lib/model/compartment-id-resource-filter.js.map +1 -0
- package/lib/model/create-schedule-details.d.ts +100 -0
- package/lib/model/create-schedule-details.js +81 -0
- package/lib/model/create-schedule-details.js.map +1 -0
- package/lib/model/defined-tag-filter-value.d.ts +33 -0
- package/lib/model/defined-tag-filter-value.js +29 -0
- package/lib/model/defined-tag-filter-value.js.map +1 -0
- package/lib/model/defined-tags-resource-filter.d.ts +28 -0
- package/lib/model/defined-tags-resource-filter.js +66 -0
- package/lib/model/defined-tags-resource-filter.js.map +1 -0
- package/lib/model/index.d.ts +66 -0
- package/lib/model/index.js +89 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/lifecycle-state-resource-filter.d.ts +28 -0
- package/lib/model/lifecycle-state-resource-filter.js +54 -0
- package/lib/model/lifecycle-state-resource-filter.js.map +1 -0
- package/lib/model/operation-status.d.ts +34 -0
- package/lib/model/operation-status.js +45 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +31 -0
- package/lib/model/operation-type.js +42 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/resource-filter.d.ts +22 -0
- package/lib/model/resource-filter.js +84 -0
- package/lib/model/resource-filter.js.map +1 -0
- package/lib/model/resource-type-collection.d.ts +27 -0
- package/lib/model/resource-type-collection.js +61 -0
- package/lib/model/resource-type-collection.js.map +1 -0
- package/lib/model/resource-type-resource-filter.d.ts +28 -0
- package/lib/model/resource-type-resource-filter.js +54 -0
- package/lib/model/resource-type-resource-filter.js.map +1 -0
- package/lib/model/resource-type.d.ts +27 -0
- package/lib/model/resource-type.js +29 -0
- package/lib/model/resource-type.js.map +1 -0
- package/lib/model/resource.d.ts +42 -0
- package/lib/model/resource.js +29 -0
- package/lib/model/resource.js.map +1 -0
- package/lib/model/schedule-collection.d.ts +26 -0
- package/lib/model/schedule-collection.js +61 -0
- package/lib/model/schedule-collection.js.map +1 -0
- package/lib/model/schedule-summary.d.ts +161 -0
- package/lib/model/schedule-summary.js +91 -0
- package/lib/model/schedule-summary.js.map +1 -0
- package/lib/model/schedule.d.ts +177 -0
- package/lib/model/schedule.js +106 -0
- package/lib/model/schedule.js.map +1 -0
- package/lib/model/sort-order.d.ts +25 -0
- package/lib/model/sort-order.js +36 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/time-created-resource-filter.d.ts +42 -0
- package/lib/model/time-created-resource-filter.js +65 -0
- package/lib/model/time-created-resource-filter.js.map +1 -0
- package/lib/model/update-schedule-details.d.ts +96 -0
- package/lib/model/update-schedule-details.js +81 -0
- package/lib/model/update-schedule-details.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +37 -0
- package/lib/model/work-request-error.js +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +31 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +42 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +73 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +76 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/activate-schedule-request.d.ts +47 -0
- package/lib/request/activate-schedule-request.js +15 -0
- package/lib/request/activate-schedule-request.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +38 -0
- package/lib/request/cancel-work-request-request.js +15 -0
- package/lib/request/cancel-work-request-request.js.map +1 -0
- package/lib/request/create-schedule-request.d.ts +40 -0
- package/lib/request/create-schedule-request.js +15 -0
- package/lib/request/create-schedule-request.js.map +1 -0
- package/lib/request/deactivate-schedule-request.d.ts +47 -0
- package/lib/request/deactivate-schedule-request.js +15 -0
- package/lib/request/deactivate-schedule-request.js.map +1 -0
- package/lib/request/delete-schedule-request.d.ts +38 -0
- package/lib/request/delete-schedule-request.js +15 -0
- package/lib/request/delete-schedule-request.js.map +1 -0
- package/lib/request/get-schedule-request.d.ts +30 -0
- package/lib/request/get-schedule-request.js +15 -0
- package/lib/request/get-schedule-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +30 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +38 -0
- package/lib/request/index.js +43 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-resource-types-request.d.ts +44 -0
- package/lib/request/list-resource-types-request.js +15 -0
- package/lib/request/list-resource-types-request.js.map +1 -0
- package/lib/request/list-schedules-request.d.ts +77 -0
- package/lib/request/list-schedules-request.js +26 -0
- package/lib/request/list-schedules-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +59 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +59 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +75 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/update-schedule-request.d.ts +43 -0
- package/lib/request/update-schedule-request.js +15 -0
- package/lib/request/update-schedule-request.js.map +1 -0
- package/lib/response/activate-schedule-response.d.ts +30 -0
- package/lib/response/activate-schedule-response.js +15 -0
- package/lib/response/activate-schedule-response.js.map +1 -0
- package/lib/response/cancel-work-request-response.d.ts +20 -0
- package/lib/response/cancel-work-request-response.js +15 -0
- package/lib/response/cancel-work-request-response.js.map +1 -0
- package/lib/response/create-schedule-response.d.ts +44 -0
- package/lib/response/create-schedule-response.js +15 -0
- package/lib/response/create-schedule-response.js.map +1 -0
- package/lib/response/deactivate-schedule-response.d.ts +30 -0
- package/lib/response/deactivate-schedule-response.js +15 -0
- package/lib/response/deactivate-schedule-response.js.map +1 -0
- package/lib/response/delete-schedule-response.d.ts +20 -0
- package/lib/response/delete-schedule-response.js +15 -0
- package/lib/response/delete-schedule-response.js.map +1 -0
- package/lib/response/get-schedule-response.d.ts +30 -0
- package/lib/response/get-schedule-response.js +15 -0
- package/lib/response/get-schedule-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +34 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +38 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-resource-types-response.d.ts +31 -0
- package/lib/response/list-resource-types-response.js +15 -0
- package/lib/response/list-resource-types-response.js.map +1 -0
- package/lib/response/list-schedules-response.d.ts +31 -0
- package/lib/response/list-schedules-response.js +15 -0
- package/lib/response/list-schedules-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +31 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +31 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +31 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/update-schedule-response.d.ts +26 -0
- package/lib/response/update-schedule-response.js +15 -0
- package/lib/response/update-schedule-response.js.map +1 -0
- package/lib/schedule-waiter.d.ts +36 -0
- package/lib/schedule-waiter.js +76 -0
- package/lib/schedule-waiter.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resource Scheduler API
|
|
3
|
+
* Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
|
|
4
|
+
* OpenAPI spec version: 20240430
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* This is a resource filter for filtering resource based on resource type.
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourceTypeResourceFilter extends model.ResourceFilter {
|
|
18
|
+
/**
|
|
19
|
+
* This is a collection of resource types.
|
|
20
|
+
*/
|
|
21
|
+
"value"?: Array<string>;
|
|
22
|
+
"attribute": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace ResourceTypeResourceFilter {
|
|
25
|
+
function getJsonObj(obj: ResourceTypeResourceFilter, isParentJsonObj?: boolean): object;
|
|
26
|
+
const attribute = "RESOURCE_TYPE";
|
|
27
|
+
function getDeserializedJsonObj(obj: ResourceTypeResourceFilter, isParentJsonObj?: boolean): object;
|
|
28
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Scheduler API
|
|
4
|
+
* Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
|
|
5
|
+
* OpenAPI spec version: 20240430
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.ResourceTypeResourceFilter = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ResourceTypeResourceFilter;
|
|
37
|
+
(function (ResourceTypeResourceFilter) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.ResourceFilter.getJsonObj(obj))), {});
|
|
42
|
+
return jsonObj;
|
|
43
|
+
}
|
|
44
|
+
ResourceTypeResourceFilter.getJsonObj = getJsonObj;
|
|
45
|
+
ResourceTypeResourceFilter.attribute = "RESOURCE_TYPE";
|
|
46
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
48
|
+
? obj
|
|
49
|
+
: model.ResourceFilter.getDeserializedJsonObj(obj))), {});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
ResourceTypeResourceFilter.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
53
|
+
})(ResourceTypeResourceFilter = exports.ResourceTypeResourceFilter || (exports.ResourceTypeResourceFilter = {}));
|
|
54
|
+
//# sourceMappingURL=resource-type-resource-filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-type-resource-filter.js","sourceRoot":"","sources":["../../../../../lib/resourcescheduler/lib/model/resource-type-resource-filter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,0BAA0B,CAyB1C;AAzBD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B,EAAE,eAAyB;QACnF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAgC,CAAC,GACtE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,qCAAU,aASzB,CAAA;IACY,oCAAS,GAAG,eAAe,CAAC;IACzC,SAAgB,sBAAsB,CACpC,GAA+B,EAC/B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAgC,CAAC,GAClF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,iDAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAyB1C"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resource Scheduler API
|
|
3
|
+
* Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
|
|
4
|
+
* OpenAPI spec version: 20240430
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* This is a resource type supported by resource scheduler.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourceType {
|
|
18
|
+
/**
|
|
19
|
+
* This is a resource type supported by resource scheduler.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
"name": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace ResourceType {
|
|
25
|
+
function getJsonObj(obj: ResourceType): object;
|
|
26
|
+
function getDeserializedJsonObj(obj: ResourceType): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Scheduler API
|
|
4
|
+
* Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
|
|
5
|
+
* OpenAPI spec version: 20240430
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ResourceType = void 0;
|
|
16
|
+
var ResourceType;
|
|
17
|
+
(function (ResourceType) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
ResourceType.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
ResourceType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
29
|
+
//# sourceMappingURL=resource-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-type.js","sourceRoot":"","sources":["../../../../../lib/resourcescheduler/lib/model/resource-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAiBH,IAAiB,YAAY,CAW5B;AAXD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAW5B"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resource Scheduler API
|
|
3
|
+
* Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
|
|
4
|
+
* OpenAPI spec version: 20240430
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* This is the schedule resource entity.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export interface Resource {
|
|
18
|
+
/**
|
|
19
|
+
* This is the resource OCID.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* This is additional information that helps to identity the resource for the schedule.
|
|
24
|
+
* <p>
|
|
25
|
+
{
|
|
26
|
+
* \"id\": \"<OCID_of_bucket>\"
|
|
27
|
+
* \"metadata\":
|
|
28
|
+
* {
|
|
29
|
+
* \"namespaceName\": \"sampleNamespace\",
|
|
30
|
+
* \"bucketName\": \"sampleBucket\"
|
|
31
|
+
* }
|
|
32
|
+
* }
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"metadata"?: {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export declare namespace Resource {
|
|
40
|
+
function getJsonObj(obj: Resource): object;
|
|
41
|
+
function getDeserializedJsonObj(obj: Resource): object;
|
|
42
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Scheduler API
|
|
4
|
+
* Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
|
|
5
|
+
* OpenAPI spec version: 20240430
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.Resource = void 0;
|
|
16
|
+
var Resource;
|
|
17
|
+
(function (Resource) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
Resource.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
Resource.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(Resource = exports.Resource || (exports.Resource = {}));
|
|
29
|
+
//# sourceMappingURL=resource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../../../lib/resourcescheduler/lib/model/resource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA8BH,IAAiB,QAAQ,CAWxB;AAXD,WAAiB,QAAQ;IACvB,SAAgB,UAAU,CAAC,GAAa;QACtC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAa;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAWxB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resource Scheduler API
|
|
3
|
+
* Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
|
|
4
|
+
* OpenAPI spec version: 20240430
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* This is the list of schedule items.
|
|
16
|
+
*/
|
|
17
|
+
export interface ScheduleCollection {
|
|
18
|
+
/**
|
|
19
|
+
* This is the list of schedule items.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.ScheduleSummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace ScheduleCollection {
|
|
24
|
+
function getJsonObj(obj: ScheduleCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: ScheduleCollection): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Scheduler API
|
|
4
|
+
* Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
|
|
5
|
+
* OpenAPI spec version: 20240430
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.ScheduleCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ScheduleCollection;
|
|
37
|
+
(function (ScheduleCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.ScheduleSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
ScheduleCollection.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"items": obj.items
|
|
52
|
+
? obj.items.map(item => {
|
|
53
|
+
return model.ScheduleSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
ScheduleCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(ScheduleCollection = exports.ScheduleCollection || (exports.ScheduleCollection = {}));
|
|
61
|
+
//# sourceMappingURL=schedule-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedule-collection.js","sourceRoot":"","sources":["../../../../../lib/resourcescheduler/lib/model/schedule-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,kBAAkB,CA6BlC;AA7BD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6BlC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resource Scheduler API
|
|
3
|
+
* Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
|
|
4
|
+
* OpenAPI spec version: 20240430
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* This is the summary information about a schedule.
|
|
16
|
+
*/
|
|
17
|
+
export interface ScheduleSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the schedule
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the schedule is created
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
|
|
28
|
+
*/
|
|
29
|
+
"displayName": string;
|
|
30
|
+
/**
|
|
31
|
+
* This is the action that will be executed by the schedule.
|
|
32
|
+
*/
|
|
33
|
+
"action": ScheduleSummary.Action;
|
|
34
|
+
/**
|
|
35
|
+
* This is the description of the schedule.
|
|
36
|
+
*/
|
|
37
|
+
"description"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting
|
|
40
|
+
* or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"recurrenceDetails": string;
|
|
44
|
+
/**
|
|
45
|
+
* Type of recurrence of a schedule
|
|
46
|
+
*/
|
|
47
|
+
"recurrenceType": ScheduleSummary.RecurrenceType;
|
|
48
|
+
/**
|
|
49
|
+
* This is a list of resources filters. The schedule will be applied to resources matching all of them.
|
|
50
|
+
*/
|
|
51
|
+
"resourceFilters"?: Array<model.ResourceFilter>;
|
|
52
|
+
/**
|
|
53
|
+
* This is the list of resources to which the scheduled operation is applied.
|
|
54
|
+
*/
|
|
55
|
+
"resources"?: Array<model.Resource>;
|
|
56
|
+
/**
|
|
57
|
+
* This is the date and time the schedule starts, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339)
|
|
58
|
+
* <p>
|
|
59
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
"timeStarts"?: Date;
|
|
63
|
+
/**
|
|
64
|
+
* This is the date and time the schedule ends, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339)
|
|
65
|
+
* <p>
|
|
66
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
"timeEnds"?: Date;
|
|
70
|
+
/**
|
|
71
|
+
* This is the date and time the schedule was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
72
|
+
* <p>
|
|
73
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
"timeCreated"?: Date;
|
|
77
|
+
/**
|
|
78
|
+
* This is the date and time the schedule was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
79
|
+
* <p>
|
|
80
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
"timeUpdated"?: Date;
|
|
84
|
+
/**
|
|
85
|
+
* This is the date and time the schedule runs last time, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
86
|
+
* <p>
|
|
87
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
"timeLastRun"?: Date;
|
|
91
|
+
/**
|
|
92
|
+
* This is the date and time the schedule run the next time, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
93
|
+
* <p>
|
|
94
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
"timeNextRun"?: Date;
|
|
98
|
+
/**
|
|
99
|
+
* This is the status of the last work request.
|
|
100
|
+
*/
|
|
101
|
+
"lastRunStatus"?: model.OperationStatus;
|
|
102
|
+
/**
|
|
103
|
+
* This is the current state of the schedule.
|
|
104
|
+
*/
|
|
105
|
+
"lifecycleState": string;
|
|
106
|
+
/**
|
|
107
|
+
* These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
108
|
+
* For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
109
|
+
* <p>
|
|
110
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
111
|
+
*
|
|
112
|
+
*/
|
|
113
|
+
"freeformTags"?: {
|
|
114
|
+
[key: string]: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* These are defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
118
|
+
* For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
119
|
+
* <p>
|
|
120
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
123
|
+
"definedTags"?: {
|
|
124
|
+
[key: string]: {
|
|
125
|
+
[key: string]: any;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* These are system tags for this resource. Each key is predefined and scoped to a namespace.
|
|
130
|
+
* <p>
|
|
131
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
132
|
+
*
|
|
133
|
+
*/
|
|
134
|
+
"systemTags"?: {
|
|
135
|
+
[key: string]: {
|
|
136
|
+
[key: string]: any;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
export declare namespace ScheduleSummary {
|
|
141
|
+
enum Action {
|
|
142
|
+
StartResource = "START_RESOURCE",
|
|
143
|
+
StopResource = "STOP_RESOURCE",
|
|
144
|
+
/**
|
|
145
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
146
|
+
* version of the SDK.
|
|
147
|
+
*/
|
|
148
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
149
|
+
}
|
|
150
|
+
enum RecurrenceType {
|
|
151
|
+
Cron = "CRON",
|
|
152
|
+
Ical = "ICAL",
|
|
153
|
+
/**
|
|
154
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
155
|
+
* version of the SDK.
|
|
156
|
+
*/
|
|
157
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
158
|
+
}
|
|
159
|
+
function getJsonObj(obj: ScheduleSummary): object;
|
|
160
|
+
function getDeserializedJsonObj(obj: ScheduleSummary): object;
|
|
161
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Scheduler API
|
|
4
|
+
* Use the Resource scheduler API to manage schedules, to perform actions on a collection of resources.
|
|
5
|
+
* OpenAPI spec version: 20240430
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.ScheduleSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ScheduleSummary;
|
|
37
|
+
(function (ScheduleSummary) {
|
|
38
|
+
let Action;
|
|
39
|
+
(function (Action) {
|
|
40
|
+
Action["StartResource"] = "START_RESOURCE";
|
|
41
|
+
Action["StopResource"] = "STOP_RESOURCE";
|
|
42
|
+
/**
|
|
43
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
44
|
+
* version of the SDK.
|
|
45
|
+
*/
|
|
46
|
+
Action["UnknownValue"] = "UNKNOWN_VALUE";
|
|
47
|
+
})(Action = ScheduleSummary.Action || (ScheduleSummary.Action = {}));
|
|
48
|
+
let RecurrenceType;
|
|
49
|
+
(function (RecurrenceType) {
|
|
50
|
+
RecurrenceType["Cron"] = "CRON";
|
|
51
|
+
RecurrenceType["Ical"] = "ICAL";
|
|
52
|
+
/**
|
|
53
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
54
|
+
* version of the SDK.
|
|
55
|
+
*/
|
|
56
|
+
RecurrenceType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
57
|
+
})(RecurrenceType = ScheduleSummary.RecurrenceType || (ScheduleSummary.RecurrenceType = {}));
|
|
58
|
+
function getJsonObj(obj) {
|
|
59
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
60
|
+
"resourceFilters": obj.resourceFilters
|
|
61
|
+
? obj.resourceFilters.map(item => {
|
|
62
|
+
return model.ResourceFilter.getJsonObj(item);
|
|
63
|
+
})
|
|
64
|
+
: undefined,
|
|
65
|
+
"resources": obj.resources
|
|
66
|
+
? obj.resources.map(item => {
|
|
67
|
+
return model.Resource.getJsonObj(item);
|
|
68
|
+
})
|
|
69
|
+
: undefined
|
|
70
|
+
});
|
|
71
|
+
return jsonObj;
|
|
72
|
+
}
|
|
73
|
+
ScheduleSummary.getJsonObj = getJsonObj;
|
|
74
|
+
function getDeserializedJsonObj(obj) {
|
|
75
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
76
|
+
"resourceFilters": obj.resourceFilters
|
|
77
|
+
? obj.resourceFilters.map(item => {
|
|
78
|
+
return model.ResourceFilter.getDeserializedJsonObj(item);
|
|
79
|
+
})
|
|
80
|
+
: undefined,
|
|
81
|
+
"resources": obj.resources
|
|
82
|
+
? obj.resources.map(item => {
|
|
83
|
+
return model.Resource.getDeserializedJsonObj(item);
|
|
84
|
+
})
|
|
85
|
+
: undefined
|
|
86
|
+
});
|
|
87
|
+
return jsonObj;
|
|
88
|
+
}
|
|
89
|
+
ScheduleSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
90
|
+
})(ScheduleSummary = exports.ScheduleSummary || (exports.ScheduleSummary = {}));
|
|
91
|
+
//# sourceMappingURL=schedule-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedule-summary.js","sourceRoot":"","sources":["../../../../../lib/resourcescheduler/lib/model/schedule-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwHlC,IAAiB,eAAe,CA2D/B;AA3DD,WAAiB,eAAe;IAC9B,IAAY,MAQX;IARD,WAAY,MAAM;QAChB,0CAAgC,CAAA;QAChC,wCAA8B,CAAA;QAC9B;;;WAGG;QACH,wCAA8B,CAAA;IAChC,CAAC,EARW,MAAM,GAAN,sBAAM,KAAN,sBAAM,QAQjB;IAED,IAAY,cAQX;IARD,WAAY,cAAc;QACxB,+BAAa,CAAA;QACb,+BAAa,CAAA;QACb;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EARW,cAAc,GAAd,8BAAc,KAAd,8BAAc,QAQzB;IAED,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC/C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,0BAAU,aAkBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,sCAAsB,yBAkBrC,CAAA;AACH,CAAC,EA3DgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA2D/B"}
|