green_link_api 1.15.1 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +22 -31
- package/dist/ApiClient.js +4 -8
- package/dist/api/BlockchainApi.js +8 -8
- package/dist/api/EnergyAssetsApi.js +22 -22
- package/dist/api/EnergyDataApi.js +82 -164
- package/dist/api/HealthCheckApi.js +3 -3
- package/dist/api/LicensedProductionSitesOnEpiasApi.js +3 -3
- package/dist/api/LocationsApi.js +10 -10
- package/dist/api/LogsApi.js +129 -60
- package/dist/api/MaintenanceCheckApi.js +3 -3
- package/dist/api/OrganizationprofilesApi.js +8 -8
- package/dist/api/OrganizationsApi.js +32 -32
- package/dist/api/SchemaApi.js +3 -3
- package/dist/api/SentryDebugApi.js +3 -3
- package/dist/api/UsersApi.js +10 -10
- package/dist/index.js +73 -73
- package/dist/model/Activities.js +79 -26
- package/dist/model/ActivitiesStatusEnum.js +60 -0
- package/dist/model/{BlockchainTransaction.js → BlockchainTransactionTask.js} +31 -33
- package/dist/model/Consumer.js +2 -2
- package/dist/model/ConsumptionDataFileList.js +2 -2
- package/dist/model/ConsumptionDataFromRetailerRequest.js +2 -2
- package/dist/model/ConsumptionDataPointCreate.js +2 -2
- package/dist/model/ConsumptionDataPointListOrDetail.js +6 -6
- package/dist/model/ConsumptionDataPointUpdate.js +2 -2
- package/dist/model/{ImportRequest.js → ConsumptionDataTask.js} +33 -33
- package/dist/model/ConsumptionSite.js +2 -2
- package/dist/model/ConsumptionSiteContract.js +2 -2
- package/dist/model/ConsumptionSiteContractImport.js +2 -2
- package/dist/model/ConsumptionSiteCreate.js +2 -2
- package/dist/model/ConsumptionSiteFileUpload.js +2 -2
- package/dist/model/ConsumptionSiteListOrDetail.js +2 -2
- package/dist/model/ContentTypeEnum.js +1 -1
- package/dist/model/EacTypeEnum.js +1 -1
- package/dist/model/EmissionFactor.js +2 -2
- package/dist/model/EnergySourceEnum.js +1 -1
- package/dist/model/EnergySourcePreference.js +2 -2
- package/dist/model/{Status619Enum.js → EventEnum.js} +21 -16
- package/dist/model/GetFromEpias.js +2 -2
- package/dist/model/GridOperator.js +2 -2
- package/dist/model/{ImportedEnergyDataPoint.js → ImportedConsumptionDataPoint.js} +26 -26
- package/dist/model/Issuer.js +2 -2
- package/dist/model/Location.js +2 -2
- package/dist/model/MatchTypeEnum.js +1 -1
- package/dist/model/{MatchedEnergyDataPoint.js → MatchedDataPoint.js} +33 -33
- package/dist/model/{MatchRequest.js → MatchedDataTask.js} +42 -42
- package/dist/model/MatchingConsumerRequest.js +2 -2
- package/dist/model/MatchingSiteRequest.js +2 -2
- package/dist/model/NullEnum.js +55 -0
- package/dist/model/OrganizationTypeEnum.js +1 -1
- package/dist/model/PaginatedActivitiesList.js +2 -2
- package/dist/model/PaginatedConsumerList.js +2 -2
- package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +2 -2
- package/dist/model/{PaginatedUploadedFileList.js → PaginatedConsumptionDataTaskList.js} +24 -24
- package/dist/model/PaginatedConsumptionSiteContractList.js +2 -2
- package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +2 -2
- package/dist/model/PaginatedEmissionFactorList.js +2 -2
- package/dist/model/PaginatedEnergySourcePreferenceList.js +2 -2
- package/dist/model/PaginatedGridOperatorList.js +2 -2
- package/dist/model/PaginatedImportedConsumptionDataPointList.js +101 -0
- package/dist/model/PaginatedIssuerList.js +2 -2
- package/dist/model/PaginatedLocationList.js +2 -2
- package/dist/model/{PaginatedImportRequestRawList.js → PaginatedMatchedDataPointList.js} +24 -24
- package/dist/model/{PaginatedImportRequestList.js → PaginatedMatchedDataTaskList.js} +24 -24
- package/dist/model/PaginatedProducerList.js +2 -2
- package/dist/model/{PaginatedImportedEnergyDataPointList.js → PaginatedProductionDataFromEpiasTaskList.js} +24 -24
- package/dist/model/PaginatedProductionDataPointListOrDetailList.js +2 -2
- package/dist/model/PaginatedProductionSiteListOrDetailList.js +2 -2
- package/dist/model/PaginatedRetailerList.js +2 -2
- package/dist/model/PaginatedSmartContractList.js +2 -2
- package/dist/model/PaginatedUnprocessedRowList.js +2 -2
- package/dist/model/PaginatedUploadedCertificateListorDetailList.js +2 -2
- package/dist/model/{PaginatedMatchRequestList.js → PaginatedUploadedFileTaskList.js} +24 -24
- package/dist/model/PaginatedUserList.js +2 -2
- package/dist/model/PatchedConsumer.js +2 -2
- package/dist/model/PatchedConsumptionDataPointUpdate.js +2 -2
- package/dist/model/PatchedConsumptionSite.js +2 -2
- package/dist/model/PatchedEmissionFactor.js +2 -2
- package/dist/model/PatchedEnergySourcePreference.js +2 -2
- package/dist/model/PatchedGridOperator.js +2 -2
- package/dist/model/PatchedIssuer.js +2 -2
- package/dist/model/PatchedLocation.js +2 -2
- package/dist/model/PatchedProducer.js +11 -2
- package/dist/model/PatchedProductionDataPointUpdate.js +2 -2
- package/dist/model/PatchedProductionSiteUpdate.js +2 -2
- package/dist/model/PatchedRetailer.js +2 -2
- package/dist/model/PatchedSmartContract.js +2 -2
- package/dist/model/PatchedUser.js +2 -2
- package/dist/model/PatchedUserDetail.js +2 -2
- package/dist/model/PriorityEnum.js +1 -1
- package/dist/model/Producer.js +11 -2
- package/dist/model/ProductionDataFileList.js +2 -2
- package/dist/model/{ProductionDataFromEpiasRequest.js → ProductionDataFromEpiasTask.js} +30 -30
- package/dist/model/ProductionDataPointCreate.js +2 -2
- package/dist/model/ProductionDataPointListOrDetail.js +6 -6
- package/dist/model/ProductionDataPointUpdate.js +2 -2
- package/dist/model/ProductionSite.js +2 -2
- package/dist/model/ProductionSiteFileUpload.js +2 -2
- package/dist/model/ProductionSiteListOrDetail.js +2 -2
- package/dist/model/ProductionSiteUpdate.js +2 -2
- package/dist/model/Register.js +2 -2
- package/dist/model/Retailer.js +2 -2
- package/dist/model/SmartContract.js +2 -2
- package/dist/model/{ImportRequestStatusEnum.js → Status90bEnum.js} +15 -10
- package/dist/model/TypeEnum.js +1 -1
- package/dist/model/UnprocessedRow.js +2 -2
- package/dist/model/UploadedCertificate.js +2 -2
- package/dist/model/UploadedCertificateListorDetail.js +2 -2
- package/dist/model/{UploadedFile.js → UploadedFileTask.js} +29 -29
- package/dist/model/User.js +2 -2
- package/dist/model/UserDetail.js +2 -2
- package/package.json +1 -1
- package/dist/model/ImportRequestRaw.js +0 -120
- package/dist/model/PaginatedMatchedEnergyDataPointList.js +0 -101
- package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +0 -101
package/package.json
CHANGED
@@ -1,120 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports["default"] = void 0;
|
7
|
-
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
8
|
-
var _ImportedEnergyDataPoint = _interopRequireDefault(require("./ImportedEnergyDataPoint"));
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
10
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
11
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
12
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
13
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
14
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
15
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
16
|
-
* GreenLink API
|
17
|
-
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
18
|
-
*
|
19
|
-
* The version of the OpenAPI document: 1.15.1
|
20
|
-
*
|
21
|
-
*
|
22
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
23
|
-
* https://openapi-generator.tech
|
24
|
-
* Do not edit the class manually.
|
25
|
-
*
|
26
|
-
*/
|
27
|
-
/**
|
28
|
-
* The ImportRequestRaw model module.
|
29
|
-
* @module model/ImportRequestRaw
|
30
|
-
* @version 1.15.1
|
31
|
-
*/
|
32
|
-
var ImportRequestRaw = /*#__PURE__*/function () {
|
33
|
-
/**
|
34
|
-
* Constructs a new <code>ImportRequestRaw</code>.
|
35
|
-
* @alias module:model/ImportRequestRaw
|
36
|
-
* @param datapoint {module:model/ImportedEnergyDataPoint}
|
37
|
-
*/
|
38
|
-
function ImportRequestRaw(datapoint) {
|
39
|
-
_classCallCheck(this, ImportRequestRaw);
|
40
|
-
ImportRequestRaw.initialize(this, datapoint);
|
41
|
-
}
|
42
|
-
|
43
|
-
/**
|
44
|
-
* Initializes the fields of this object.
|
45
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
46
|
-
* Only for internal use.
|
47
|
-
*/
|
48
|
-
_createClass(ImportRequestRaw, null, [{
|
49
|
-
key: "initialize",
|
50
|
-
value: function initialize(obj, datapoint) {
|
51
|
-
obj['datapoint'] = datapoint;
|
52
|
-
}
|
53
|
-
|
54
|
-
/**
|
55
|
-
* Constructs a <code>ImportRequestRaw</code> from a plain JavaScript object, optionally creating a new instance.
|
56
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
57
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
58
|
-
* @param {module:model/ImportRequestRaw} obj Optional instance to populate.
|
59
|
-
* @return {module:model/ImportRequestRaw} The populated <code>ImportRequestRaw</code> instance.
|
60
|
-
*/
|
61
|
-
}, {
|
62
|
-
key: "constructFromObject",
|
63
|
-
value: function constructFromObject(data, obj) {
|
64
|
-
if (data) {
|
65
|
-
obj = obj || new ImportRequestRaw();
|
66
|
-
if (data.hasOwnProperty('id')) {
|
67
|
-
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
68
|
-
}
|
69
|
-
if (data.hasOwnProperty('datapoint')) {
|
70
|
-
obj['datapoint'] = _ImportedEnergyDataPoint["default"].constructFromObject(data['datapoint']);
|
71
|
-
}
|
72
|
-
if (data.hasOwnProperty('response')) {
|
73
|
-
obj['response'] = _ApiClient["default"].convertToType(data['response'], 'String');
|
74
|
-
}
|
75
|
-
if (data.hasOwnProperty('request')) {
|
76
|
-
obj['request'] = _ApiClient["default"].convertToType(data['request'], 'String');
|
77
|
-
}
|
78
|
-
if (data.hasOwnProperty('created_at')) {
|
79
|
-
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
|
80
|
-
}
|
81
|
-
if (data.hasOwnProperty('updated_at')) {
|
82
|
-
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
|
83
|
-
}
|
84
|
-
}
|
85
|
-
return obj;
|
86
|
-
}
|
87
|
-
}]);
|
88
|
-
return ImportRequestRaw;
|
89
|
-
}();
|
90
|
-
/**
|
91
|
-
* @member {String} id
|
92
|
-
*/
|
93
|
-
ImportRequestRaw.prototype['id'] = undefined;
|
94
|
-
|
95
|
-
/**
|
96
|
-
* @member {module:model/ImportedEnergyDataPoint} datapoint
|
97
|
-
*/
|
98
|
-
ImportRequestRaw.prototype['datapoint'] = undefined;
|
99
|
-
|
100
|
-
/**
|
101
|
-
* @member {String} response
|
102
|
-
*/
|
103
|
-
ImportRequestRaw.prototype['response'] = undefined;
|
104
|
-
|
105
|
-
/**
|
106
|
-
* @member {String} request
|
107
|
-
*/
|
108
|
-
ImportRequestRaw.prototype['request'] = undefined;
|
109
|
-
|
110
|
-
/**
|
111
|
-
* @member {Date} created_at
|
112
|
-
*/
|
113
|
-
ImportRequestRaw.prototype['created_at'] = undefined;
|
114
|
-
|
115
|
-
/**
|
116
|
-
* @member {Date} updated_at
|
117
|
-
*/
|
118
|
-
ImportRequestRaw.prototype['updated_at'] = undefined;
|
119
|
-
var _default = ImportRequestRaw;
|
120
|
-
exports["default"] = _default;
|
@@ -1,101 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports["default"] = void 0;
|
7
|
-
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
8
|
-
var _MatchedEnergyDataPoint = _interopRequireDefault(require("./MatchedEnergyDataPoint"));
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
10
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
11
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
12
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
13
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
14
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
15
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
16
|
-
* GreenLink API
|
17
|
-
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
18
|
-
*
|
19
|
-
* The version of the OpenAPI document: 1.15.1
|
20
|
-
*
|
21
|
-
*
|
22
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
23
|
-
* https://openapi-generator.tech
|
24
|
-
* Do not edit the class manually.
|
25
|
-
*
|
26
|
-
*/
|
27
|
-
/**
|
28
|
-
* The PaginatedMatchedEnergyDataPointList model module.
|
29
|
-
* @module model/PaginatedMatchedEnergyDataPointList
|
30
|
-
* @version 1.15.1
|
31
|
-
*/
|
32
|
-
var PaginatedMatchedEnergyDataPointList = /*#__PURE__*/function () {
|
33
|
-
/**
|
34
|
-
* Constructs a new <code>PaginatedMatchedEnergyDataPointList</code>.
|
35
|
-
* @alias module:model/PaginatedMatchedEnergyDataPointList
|
36
|
-
*/
|
37
|
-
function PaginatedMatchedEnergyDataPointList() {
|
38
|
-
_classCallCheck(this, PaginatedMatchedEnergyDataPointList);
|
39
|
-
PaginatedMatchedEnergyDataPointList.initialize(this);
|
40
|
-
}
|
41
|
-
|
42
|
-
/**
|
43
|
-
* Initializes the fields of this object.
|
44
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
45
|
-
* Only for internal use.
|
46
|
-
*/
|
47
|
-
_createClass(PaginatedMatchedEnergyDataPointList, null, [{
|
48
|
-
key: "initialize",
|
49
|
-
value: function initialize(obj) {}
|
50
|
-
|
51
|
-
/**
|
52
|
-
* Constructs a <code>PaginatedMatchedEnergyDataPointList</code> from a plain JavaScript object, optionally creating a new instance.
|
53
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
54
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
55
|
-
* @param {module:model/PaginatedMatchedEnergyDataPointList} obj Optional instance to populate.
|
56
|
-
* @return {module:model/PaginatedMatchedEnergyDataPointList} The populated <code>PaginatedMatchedEnergyDataPointList</code> instance.
|
57
|
-
*/
|
58
|
-
}, {
|
59
|
-
key: "constructFromObject",
|
60
|
-
value: function constructFromObject(data, obj) {
|
61
|
-
if (data) {
|
62
|
-
obj = obj || new PaginatedMatchedEnergyDataPointList();
|
63
|
-
if (data.hasOwnProperty('count')) {
|
64
|
-
obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
|
65
|
-
}
|
66
|
-
if (data.hasOwnProperty('next')) {
|
67
|
-
obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
|
68
|
-
}
|
69
|
-
if (data.hasOwnProperty('previous')) {
|
70
|
-
obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
|
71
|
-
}
|
72
|
-
if (data.hasOwnProperty('results')) {
|
73
|
-
obj['results'] = _ApiClient["default"].convertToType(data['results'], [_MatchedEnergyDataPoint["default"]]);
|
74
|
-
}
|
75
|
-
}
|
76
|
-
return obj;
|
77
|
-
}
|
78
|
-
}]);
|
79
|
-
return PaginatedMatchedEnergyDataPointList;
|
80
|
-
}();
|
81
|
-
/**
|
82
|
-
* @member {Number} count
|
83
|
-
*/
|
84
|
-
PaginatedMatchedEnergyDataPointList.prototype['count'] = undefined;
|
85
|
-
|
86
|
-
/**
|
87
|
-
* @member {String} next
|
88
|
-
*/
|
89
|
-
PaginatedMatchedEnergyDataPointList.prototype['next'] = undefined;
|
90
|
-
|
91
|
-
/**
|
92
|
-
* @member {String} previous
|
93
|
-
*/
|
94
|
-
PaginatedMatchedEnergyDataPointList.prototype['previous'] = undefined;
|
95
|
-
|
96
|
-
/**
|
97
|
-
* @member {Array.<module:model/MatchedEnergyDataPoint>} results
|
98
|
-
*/
|
99
|
-
PaginatedMatchedEnergyDataPointList.prototype['results'] = undefined;
|
100
|
-
var _default = PaginatedMatchedEnergyDataPointList;
|
101
|
-
exports["default"] = _default;
|
@@ -1,101 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports["default"] = void 0;
|
7
|
-
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
8
|
-
var _ProductionDataFromEpiasRequest = _interopRequireDefault(require("./ProductionDataFromEpiasRequest"));
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
10
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
11
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
12
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
13
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
14
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
15
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
16
|
-
* GreenLink API
|
17
|
-
* ⚡GreenLink API documentation with interactive tools for testing API endpoints.⚡
|
18
|
-
*
|
19
|
-
* The version of the OpenAPI document: 1.15.1
|
20
|
-
*
|
21
|
-
*
|
22
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
23
|
-
* https://openapi-generator.tech
|
24
|
-
* Do not edit the class manually.
|
25
|
-
*
|
26
|
-
*/
|
27
|
-
/**
|
28
|
-
* The PaginatedProductionDataFromEpiasRequestList model module.
|
29
|
-
* @module model/PaginatedProductionDataFromEpiasRequestList
|
30
|
-
* @version 1.15.1
|
31
|
-
*/
|
32
|
-
var PaginatedProductionDataFromEpiasRequestList = /*#__PURE__*/function () {
|
33
|
-
/**
|
34
|
-
* Constructs a new <code>PaginatedProductionDataFromEpiasRequestList</code>.
|
35
|
-
* @alias module:model/PaginatedProductionDataFromEpiasRequestList
|
36
|
-
*/
|
37
|
-
function PaginatedProductionDataFromEpiasRequestList() {
|
38
|
-
_classCallCheck(this, PaginatedProductionDataFromEpiasRequestList);
|
39
|
-
PaginatedProductionDataFromEpiasRequestList.initialize(this);
|
40
|
-
}
|
41
|
-
|
42
|
-
/**
|
43
|
-
* Initializes the fields of this object.
|
44
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
45
|
-
* Only for internal use.
|
46
|
-
*/
|
47
|
-
_createClass(PaginatedProductionDataFromEpiasRequestList, null, [{
|
48
|
-
key: "initialize",
|
49
|
-
value: function initialize(obj) {}
|
50
|
-
|
51
|
-
/**
|
52
|
-
* Constructs a <code>PaginatedProductionDataFromEpiasRequestList</code> from a plain JavaScript object, optionally creating a new instance.
|
53
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
54
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
55
|
-
* @param {module:model/PaginatedProductionDataFromEpiasRequestList} obj Optional instance to populate.
|
56
|
-
* @return {module:model/PaginatedProductionDataFromEpiasRequestList} The populated <code>PaginatedProductionDataFromEpiasRequestList</code> instance.
|
57
|
-
*/
|
58
|
-
}, {
|
59
|
-
key: "constructFromObject",
|
60
|
-
value: function constructFromObject(data, obj) {
|
61
|
-
if (data) {
|
62
|
-
obj = obj || new PaginatedProductionDataFromEpiasRequestList();
|
63
|
-
if (data.hasOwnProperty('count')) {
|
64
|
-
obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
|
65
|
-
}
|
66
|
-
if (data.hasOwnProperty('next')) {
|
67
|
-
obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
|
68
|
-
}
|
69
|
-
if (data.hasOwnProperty('previous')) {
|
70
|
-
obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
|
71
|
-
}
|
72
|
-
if (data.hasOwnProperty('results')) {
|
73
|
-
obj['results'] = _ApiClient["default"].convertToType(data['results'], [_ProductionDataFromEpiasRequest["default"]]);
|
74
|
-
}
|
75
|
-
}
|
76
|
-
return obj;
|
77
|
-
}
|
78
|
-
}]);
|
79
|
-
return PaginatedProductionDataFromEpiasRequestList;
|
80
|
-
}();
|
81
|
-
/**
|
82
|
-
* @member {Number} count
|
83
|
-
*/
|
84
|
-
PaginatedProductionDataFromEpiasRequestList.prototype['count'] = undefined;
|
85
|
-
|
86
|
-
/**
|
87
|
-
* @member {String} next
|
88
|
-
*/
|
89
|
-
PaginatedProductionDataFromEpiasRequestList.prototype['next'] = undefined;
|
90
|
-
|
91
|
-
/**
|
92
|
-
* @member {String} previous
|
93
|
-
*/
|
94
|
-
PaginatedProductionDataFromEpiasRequestList.prototype['previous'] = undefined;
|
95
|
-
|
96
|
-
/**
|
97
|
-
* @member {Array.<module:model/ProductionDataFromEpiasRequest>} results
|
98
|
-
*/
|
99
|
-
PaginatedProductionDataFromEpiasRequestList.prototype['results'] = undefined;
|
100
|
-
var _default = PaginatedProductionDataFromEpiasRequestList;
|
101
|
-
exports["default"] = _default;
|