green_link_api 1.10.2 → 1.10.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.
Files changed (112) hide show
  1. package/README.md +2 -2
  2. package/dist/ApiClient.js +51 -133
  3. package/dist/api/BlockchainApi.js +19 -38
  4. package/dist/api/EnergyAssetsApi.js +61 -106
  5. package/dist/api/EnergyDataApi.js +88 -152
  6. package/dist/api/HealthCheckApi.js +2 -12
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -12
  8. package/dist/api/LocationsApi.js +21 -40
  9. package/dist/api/LogsApi.js +36 -67
  10. package/dist/api/MaintenanceCheckApi.js +2 -12
  11. package/dist/api/OrganizationprofilesApi.js +19 -38
  12. package/dist/api/OrganizationsApi.js +91 -146
  13. package/dist/api/SchemaApi.js +2 -12
  14. package/dist/api/SentryDebugApi.js +2 -12
  15. package/dist/api/UsersApi.js +23 -47
  16. package/dist/index.js +0 -110
  17. package/dist/model/Activities.js +9 -28
  18. package/dist/model/BlockchainTransaction.js +12 -36
  19. package/dist/model/Consumer.js +13 -37
  20. package/dist/model/ConsumptionDataFileList.js +8 -26
  21. package/dist/model/ConsumptionDataFromRetailerRequest.js +5 -20
  22. package/dist/model/ConsumptionDataPointCreate.js +24 -59
  23. package/dist/model/ConsumptionDataPointListOrDetail.js +24 -64
  24. package/dist/model/ConsumptionDataPointUpdate.js +24 -59
  25. package/dist/model/ConsumptionSite.js +15 -41
  26. package/dist/model/ConsumptionSiteContract.js +9 -29
  27. package/dist/model/ConsumptionSiteContractImport.js +5 -20
  28. package/dist/model/ConsumptionSiteCreate.js +15 -41
  29. package/dist/model/ConsumptionSiteFileUpload.js +8 -26
  30. package/dist/model/ConsumptionSiteListOrDetail.js +14 -41
  31. package/dist/model/ContentTypeEnum.js +0 -15
  32. package/dist/model/EacTypeEnum.js +0 -11
  33. package/dist/model/EmissionFactor.js +9 -28
  34. package/dist/model/EnergySourceEnum.js +0 -18
  35. package/dist/model/EnergySourcePreference.js +10 -32
  36. package/dist/model/GetFromEpias.js +5 -20
  37. package/dist/model/GridOperator.js +11 -33
  38. package/dist/model/ImportRequest.js +14 -40
  39. package/dist/model/ImportRequestStatusEnum.js +0 -14
  40. package/dist/model/ImportedEnergyDataPoint.js +11 -32
  41. package/dist/model/Issuer.js +11 -33
  42. package/dist/model/Location.js +19 -48
  43. package/dist/model/Login.js +5 -20
  44. package/dist/model/MatchRequest.js +23 -63
  45. package/dist/model/MatchTypeEnum.js +0 -12
  46. package/dist/model/MatchedEnergyDataPoint.js +14 -39
  47. package/dist/model/MatchingConsumerRequest.js +7 -24
  48. package/dist/model/MatchingSiteRequest.js +7 -24
  49. package/dist/model/OrganizationTypeEnum.js +0 -16
  50. package/dist/model/PaginatedActivitiesList.js +6 -23
  51. package/dist/model/PaginatedConsumerList.js +6 -23
  52. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +6 -23
  53. package/dist/model/PaginatedConsumptionSiteContractList.js +6 -23
  54. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +6 -23
  55. package/dist/model/PaginatedEmissionFactorList.js +6 -23
  56. package/dist/model/PaginatedEnergySourcePreferenceList.js +6 -23
  57. package/dist/model/PaginatedGridOperatorList.js +6 -23
  58. package/dist/model/PaginatedImportRequestList.js +6 -23
  59. package/dist/model/PaginatedImportedEnergyDataPointList.js +6 -23
  60. package/dist/model/PaginatedIssuerList.js +6 -23
  61. package/dist/model/PaginatedLocationList.js +6 -23
  62. package/dist/model/PaginatedMatchRequestList.js +6 -23
  63. package/dist/model/PaginatedMatchedEnergyDataPointList.js +6 -23
  64. package/dist/model/PaginatedProducerList.js +6 -23
  65. package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +6 -23
  66. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +6 -23
  67. package/dist/model/PaginatedProductionSiteListOrDetailList.js +6 -23
  68. package/dist/model/PaginatedRetailerList.js +6 -23
  69. package/dist/model/PaginatedSmartContractList.js +6 -23
  70. package/dist/model/PaginatedUnprocessedRowList.js +6 -23
  71. package/dist/model/PaginatedUploadedCertificateListorDetailList.js +6 -23
  72. package/dist/model/PaginatedUploadedFileList.js +6 -23
  73. package/dist/model/PaginatedUserList.js +6 -23
  74. package/dist/model/PatchedConsumer.js +13 -37
  75. package/dist/model/PatchedConsumptionDataPointUpdate.js +24 -59
  76. package/dist/model/PatchedConsumptionSite.js +15 -41
  77. package/dist/model/PatchedEmissionFactor.js +9 -28
  78. package/dist/model/PatchedEnergySourcePreference.js +10 -32
  79. package/dist/model/PatchedGridOperator.js +11 -33
  80. package/dist/model/PatchedIssuer.js +11 -33
  81. package/dist/model/PatchedLocation.js +19 -48
  82. package/dist/model/PatchedProducer.js +11 -33
  83. package/dist/model/PatchedProductionDataPointUpdate.js +18 -47
  84. package/dist/model/PatchedProductionSiteUpdate.js +20 -51
  85. package/dist/model/PatchedRetailer.js +12 -35
  86. package/dist/model/PatchedSmartContract.js +9 -28
  87. package/dist/model/PatchedUser.js +18 -47
  88. package/dist/model/PatchedUserDetail.js +18 -47
  89. package/dist/model/PriorityEnum.js +0 -18
  90. package/dist/model/Producer.js +11 -33
  91. package/dist/model/ProductionDataFileList.js +8 -26
  92. package/dist/model/ProductionDataFromEpiasRequest.js +11 -36
  93. package/dist/model/ProductionDataPointCreate.js +18 -47
  94. package/dist/model/ProductionDataPointListOrDetail.js +19 -53
  95. package/dist/model/ProductionDataPointUpdate.js +18 -47
  96. package/dist/model/ProductionSite.js +20 -51
  97. package/dist/model/ProductionSiteFileUpload.js +12 -34
  98. package/dist/model/ProductionSiteListOrDetail.js +18 -48
  99. package/dist/model/ProductionSiteUpdate.js +20 -51
  100. package/dist/model/Register.js +14 -38
  101. package/dist/model/Retailer.js +12 -35
  102. package/dist/model/SmartContract.js +9 -28
  103. package/dist/model/Status619Enum.js +0 -13
  104. package/dist/model/Token.js +3 -16
  105. package/dist/model/TypeEnum.js +0 -13
  106. package/dist/model/UnprocessedRow.js +9 -28
  107. package/dist/model/UploadedCertificate.js +12 -35
  108. package/dist/model/UploadedCertificateListorDetail.js +12 -36
  109. package/dist/model/UploadedFile.js +10 -32
  110. package/dist/model/User.js +18 -47
  111. package/dist/model/UserDetail.js +18 -47
  112. package/package.json +1 -1
@@ -4,23 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  var _ConsumptionSiteListOrDetail = _interopRequireDefault(require("./ConsumptionSiteListOrDetail"));
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
-
16
11
  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, descriptor.key, descriptor); } }
17
-
18
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
-
20
13
  /**
21
14
  * The PaginatedConsumptionSiteListOrDetailList model module.
22
15
  * @module model/PaginatedConsumptionSiteListOrDetailList
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PaginatedConsumptionSiteListOrDetailList = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PaginatedConsumptionSiteListOrDetailList = /*#__PURE__*/function () {
29
22
  */
30
23
  function PaginatedConsumptionSiteListOrDetailList() {
31
24
  _classCallCheck(this, PaginatedConsumptionSiteListOrDetailList);
32
-
33
25
  PaginatedConsumptionSiteListOrDetailList.initialize(this);
34
26
  }
27
+
35
28
  /**
36
29
  * Initializes the fields of this object.
37
30
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38
31
  * Only for internal use.
39
32
  */
40
-
41
-
42
33
  _createClass(PaginatedConsumptionSiteListOrDetailList, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PaginatedConsumptionSiteListOrDetailList</code> from a plain JavaScript object, optionally creating a new instance.
47
39
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -49,56 +41,47 @@ var PaginatedConsumptionSiteListOrDetailList = /*#__PURE__*/function () {
49
41
  * @param {module:model/PaginatedConsumptionSiteListOrDetailList} obj Optional instance to populate.
50
42
  * @return {module:model/PaginatedConsumptionSiteListOrDetailList} The populated <code>PaginatedConsumptionSiteListOrDetailList</code> instance.
51
43
  */
52
-
53
44
  }, {
54
45
  key: "constructFromObject",
55
46
  value: function constructFromObject(data, obj) {
56
47
  if (data) {
57
48
  obj = obj || new PaginatedConsumptionSiteListOrDetailList();
58
-
59
49
  if (data.hasOwnProperty('count')) {
60
50
  obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
61
51
  }
62
-
63
52
  if (data.hasOwnProperty('next')) {
64
53
  obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
65
54
  }
66
-
67
55
  if (data.hasOwnProperty('previous')) {
68
56
  obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
69
57
  }
70
-
71
58
  if (data.hasOwnProperty('results')) {
72
59
  obj['results'] = _ApiClient["default"].convertToType(data['results'], [_ConsumptionSiteListOrDetail["default"]]);
73
60
  }
74
61
  }
75
-
76
62
  return obj;
77
63
  }
78
64
  }]);
79
-
80
65
  return PaginatedConsumptionSiteListOrDetailList;
81
66
  }();
82
67
  /**
83
68
  * @member {Number} count
84
69
  */
85
-
86
-
87
70
  PaginatedConsumptionSiteListOrDetailList.prototype['count'] = undefined;
71
+
88
72
  /**
89
73
  * @member {String} next
90
74
  */
91
-
92
75
  PaginatedConsumptionSiteListOrDetailList.prototype['next'] = undefined;
76
+
93
77
  /**
94
78
  * @member {String} previous
95
79
  */
96
-
97
80
  PaginatedConsumptionSiteListOrDetailList.prototype['previous'] = undefined;
81
+
98
82
  /**
99
83
  * @member {Array.<module:model/ConsumptionSiteListOrDetail>} results
100
84
  */
101
-
102
85
  PaginatedConsumptionSiteListOrDetailList.prototype['results'] = undefined;
103
86
  var _default = PaginatedConsumptionSiteListOrDetailList;
104
87
  exports["default"] = _default;
@@ -4,23 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  var _EmissionFactor = _interopRequireDefault(require("./EmissionFactor"));
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
-
16
11
  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, descriptor.key, descriptor); } }
17
-
18
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
-
20
13
  /**
21
14
  * The PaginatedEmissionFactorList model module.
22
15
  * @module model/PaginatedEmissionFactorList
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PaginatedEmissionFactorList = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PaginatedEmissionFactorList = /*#__PURE__*/function () {
29
22
  */
30
23
  function PaginatedEmissionFactorList() {
31
24
  _classCallCheck(this, PaginatedEmissionFactorList);
32
-
33
25
  PaginatedEmissionFactorList.initialize(this);
34
26
  }
27
+
35
28
  /**
36
29
  * Initializes the fields of this object.
37
30
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38
31
  * Only for internal use.
39
32
  */
40
-
41
-
42
33
  _createClass(PaginatedEmissionFactorList, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PaginatedEmissionFactorList</code> from a plain JavaScript object, optionally creating a new instance.
47
39
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -49,56 +41,47 @@ var PaginatedEmissionFactorList = /*#__PURE__*/function () {
49
41
  * @param {module:model/PaginatedEmissionFactorList} obj Optional instance to populate.
50
42
  * @return {module:model/PaginatedEmissionFactorList} The populated <code>PaginatedEmissionFactorList</code> instance.
51
43
  */
52
-
53
44
  }, {
54
45
  key: "constructFromObject",
55
46
  value: function constructFromObject(data, obj) {
56
47
  if (data) {
57
48
  obj = obj || new PaginatedEmissionFactorList();
58
-
59
49
  if (data.hasOwnProperty('count')) {
60
50
  obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
61
51
  }
62
-
63
52
  if (data.hasOwnProperty('next')) {
64
53
  obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
65
54
  }
66
-
67
55
  if (data.hasOwnProperty('previous')) {
68
56
  obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
69
57
  }
70
-
71
58
  if (data.hasOwnProperty('results')) {
72
59
  obj['results'] = _ApiClient["default"].convertToType(data['results'], [_EmissionFactor["default"]]);
73
60
  }
74
61
  }
75
-
76
62
  return obj;
77
63
  }
78
64
  }]);
79
-
80
65
  return PaginatedEmissionFactorList;
81
66
  }();
82
67
  /**
83
68
  * @member {Number} count
84
69
  */
85
-
86
-
87
70
  PaginatedEmissionFactorList.prototype['count'] = undefined;
71
+
88
72
  /**
89
73
  * @member {String} next
90
74
  */
91
-
92
75
  PaginatedEmissionFactorList.prototype['next'] = undefined;
76
+
93
77
  /**
94
78
  * @member {String} previous
95
79
  */
96
-
97
80
  PaginatedEmissionFactorList.prototype['previous'] = undefined;
81
+
98
82
  /**
99
83
  * @member {Array.<module:model/EmissionFactor>} results
100
84
  */
101
-
102
85
  PaginatedEmissionFactorList.prototype['results'] = undefined;
103
86
  var _default = PaginatedEmissionFactorList;
104
87
  exports["default"] = _default;
@@ -4,23 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  var _EnergySourcePreference = _interopRequireDefault(require("./EnergySourcePreference"));
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
-
16
11
  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, descriptor.key, descriptor); } }
17
-
18
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
-
20
13
  /**
21
14
  * The PaginatedEnergySourcePreferenceList model module.
22
15
  * @module model/PaginatedEnergySourcePreferenceList
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PaginatedEnergySourcePreferenceList = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PaginatedEnergySourcePreferenceList = /*#__PURE__*/function () {
29
22
  */
30
23
  function PaginatedEnergySourcePreferenceList() {
31
24
  _classCallCheck(this, PaginatedEnergySourcePreferenceList);
32
-
33
25
  PaginatedEnergySourcePreferenceList.initialize(this);
34
26
  }
27
+
35
28
  /**
36
29
  * Initializes the fields of this object.
37
30
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38
31
  * Only for internal use.
39
32
  */
40
-
41
-
42
33
  _createClass(PaginatedEnergySourcePreferenceList, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PaginatedEnergySourcePreferenceList</code> from a plain JavaScript object, optionally creating a new instance.
47
39
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -49,56 +41,47 @@ var PaginatedEnergySourcePreferenceList = /*#__PURE__*/function () {
49
41
  * @param {module:model/PaginatedEnergySourcePreferenceList} obj Optional instance to populate.
50
42
  * @return {module:model/PaginatedEnergySourcePreferenceList} The populated <code>PaginatedEnergySourcePreferenceList</code> instance.
51
43
  */
52
-
53
44
  }, {
54
45
  key: "constructFromObject",
55
46
  value: function constructFromObject(data, obj) {
56
47
  if (data) {
57
48
  obj = obj || new PaginatedEnergySourcePreferenceList();
58
-
59
49
  if (data.hasOwnProperty('count')) {
60
50
  obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
61
51
  }
62
-
63
52
  if (data.hasOwnProperty('next')) {
64
53
  obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
65
54
  }
66
-
67
55
  if (data.hasOwnProperty('previous')) {
68
56
  obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
69
57
  }
70
-
71
58
  if (data.hasOwnProperty('results')) {
72
59
  obj['results'] = _ApiClient["default"].convertToType(data['results'], [_EnergySourcePreference["default"]]);
73
60
  }
74
61
  }
75
-
76
62
  return obj;
77
63
  }
78
64
  }]);
79
-
80
65
  return PaginatedEnergySourcePreferenceList;
81
66
  }();
82
67
  /**
83
68
  * @member {Number} count
84
69
  */
85
-
86
-
87
70
  PaginatedEnergySourcePreferenceList.prototype['count'] = undefined;
71
+
88
72
  /**
89
73
  * @member {String} next
90
74
  */
91
-
92
75
  PaginatedEnergySourcePreferenceList.prototype['next'] = undefined;
76
+
93
77
  /**
94
78
  * @member {String} previous
95
79
  */
96
-
97
80
  PaginatedEnergySourcePreferenceList.prototype['previous'] = undefined;
81
+
98
82
  /**
99
83
  * @member {Array.<module:model/EnergySourcePreference>} results
100
84
  */
101
-
102
85
  PaginatedEnergySourcePreferenceList.prototype['results'] = undefined;
103
86
  var _default = PaginatedEnergySourcePreferenceList;
104
87
  exports["default"] = _default;
@@ -4,23 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  var _GridOperator = _interopRequireDefault(require("./GridOperator"));
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
-
16
11
  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, descriptor.key, descriptor); } }
17
-
18
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
-
20
13
  /**
21
14
  * The PaginatedGridOperatorList model module.
22
15
  * @module model/PaginatedGridOperatorList
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PaginatedGridOperatorList = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PaginatedGridOperatorList = /*#__PURE__*/function () {
29
22
  */
30
23
  function PaginatedGridOperatorList() {
31
24
  _classCallCheck(this, PaginatedGridOperatorList);
32
-
33
25
  PaginatedGridOperatorList.initialize(this);
34
26
  }
27
+
35
28
  /**
36
29
  * Initializes the fields of this object.
37
30
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38
31
  * Only for internal use.
39
32
  */
40
-
41
-
42
33
  _createClass(PaginatedGridOperatorList, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PaginatedGridOperatorList</code> from a plain JavaScript object, optionally creating a new instance.
47
39
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -49,56 +41,47 @@ var PaginatedGridOperatorList = /*#__PURE__*/function () {
49
41
  * @param {module:model/PaginatedGridOperatorList} obj Optional instance to populate.
50
42
  * @return {module:model/PaginatedGridOperatorList} The populated <code>PaginatedGridOperatorList</code> instance.
51
43
  */
52
-
53
44
  }, {
54
45
  key: "constructFromObject",
55
46
  value: function constructFromObject(data, obj) {
56
47
  if (data) {
57
48
  obj = obj || new PaginatedGridOperatorList();
58
-
59
49
  if (data.hasOwnProperty('count')) {
60
50
  obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
61
51
  }
62
-
63
52
  if (data.hasOwnProperty('next')) {
64
53
  obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
65
54
  }
66
-
67
55
  if (data.hasOwnProperty('previous')) {
68
56
  obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
69
57
  }
70
-
71
58
  if (data.hasOwnProperty('results')) {
72
59
  obj['results'] = _ApiClient["default"].convertToType(data['results'], [_GridOperator["default"]]);
73
60
  }
74
61
  }
75
-
76
62
  return obj;
77
63
  }
78
64
  }]);
79
-
80
65
  return PaginatedGridOperatorList;
81
66
  }();
82
67
  /**
83
68
  * @member {Number} count
84
69
  */
85
-
86
-
87
70
  PaginatedGridOperatorList.prototype['count'] = undefined;
71
+
88
72
  /**
89
73
  * @member {String} next
90
74
  */
91
-
92
75
  PaginatedGridOperatorList.prototype['next'] = undefined;
76
+
93
77
  /**
94
78
  * @member {String} previous
95
79
  */
96
-
97
80
  PaginatedGridOperatorList.prototype['previous'] = undefined;
81
+
98
82
  /**
99
83
  * @member {Array.<module:model/GridOperator>} results
100
84
  */
101
-
102
85
  PaginatedGridOperatorList.prototype['results'] = undefined;
103
86
  var _default = PaginatedGridOperatorList;
104
87
  exports["default"] = _default;
@@ -4,23 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  var _ImportRequest = _interopRequireDefault(require("./ImportRequest"));
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
-
16
11
  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, descriptor.key, descriptor); } }
17
-
18
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
-
20
13
  /**
21
14
  * The PaginatedImportRequestList model module.
22
15
  * @module model/PaginatedImportRequestList
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PaginatedImportRequestList = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PaginatedImportRequestList = /*#__PURE__*/function () {
29
22
  */
30
23
  function PaginatedImportRequestList() {
31
24
  _classCallCheck(this, PaginatedImportRequestList);
32
-
33
25
  PaginatedImportRequestList.initialize(this);
34
26
  }
27
+
35
28
  /**
36
29
  * Initializes the fields of this object.
37
30
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38
31
  * Only for internal use.
39
32
  */
40
-
41
-
42
33
  _createClass(PaginatedImportRequestList, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PaginatedImportRequestList</code> from a plain JavaScript object, optionally creating a new instance.
47
39
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -49,56 +41,47 @@ var PaginatedImportRequestList = /*#__PURE__*/function () {
49
41
  * @param {module:model/PaginatedImportRequestList} obj Optional instance to populate.
50
42
  * @return {module:model/PaginatedImportRequestList} The populated <code>PaginatedImportRequestList</code> instance.
51
43
  */
52
-
53
44
  }, {
54
45
  key: "constructFromObject",
55
46
  value: function constructFromObject(data, obj) {
56
47
  if (data) {
57
48
  obj = obj || new PaginatedImportRequestList();
58
-
59
49
  if (data.hasOwnProperty('count')) {
60
50
  obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
61
51
  }
62
-
63
52
  if (data.hasOwnProperty('next')) {
64
53
  obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
65
54
  }
66
-
67
55
  if (data.hasOwnProperty('previous')) {
68
56
  obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
69
57
  }
70
-
71
58
  if (data.hasOwnProperty('results')) {
72
59
  obj['results'] = _ApiClient["default"].convertToType(data['results'], [_ImportRequest["default"]]);
73
60
  }
74
61
  }
75
-
76
62
  return obj;
77
63
  }
78
64
  }]);
79
-
80
65
  return PaginatedImportRequestList;
81
66
  }();
82
67
  /**
83
68
  * @member {Number} count
84
69
  */
85
-
86
-
87
70
  PaginatedImportRequestList.prototype['count'] = undefined;
71
+
88
72
  /**
89
73
  * @member {String} next
90
74
  */
91
-
92
75
  PaginatedImportRequestList.prototype['next'] = undefined;
76
+
93
77
  /**
94
78
  * @member {String} previous
95
79
  */
96
-
97
80
  PaginatedImportRequestList.prototype['previous'] = undefined;
81
+
98
82
  /**
99
83
  * @member {Array.<module:model/ImportRequest>} results
100
84
  */
101
-
102
85
  PaginatedImportRequestList.prototype['results'] = undefined;
103
86
  var _default = PaginatedImportRequestList;
104
87
  exports["default"] = _default;
@@ -4,23 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  var _ImportedEnergyDataPoint = _interopRequireDefault(require("./ImportedEnergyDataPoint"));
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
-
16
11
  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, descriptor.key, descriptor); } }
17
-
18
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
-
20
13
  /**
21
14
  * The PaginatedImportedEnergyDataPointList model module.
22
15
  * @module model/PaginatedImportedEnergyDataPointList
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PaginatedImportedEnergyDataPointList = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PaginatedImportedEnergyDataPointList = /*#__PURE__*/function () {
29
22
  */
30
23
  function PaginatedImportedEnergyDataPointList() {
31
24
  _classCallCheck(this, PaginatedImportedEnergyDataPointList);
32
-
33
25
  PaginatedImportedEnergyDataPointList.initialize(this);
34
26
  }
27
+
35
28
  /**
36
29
  * Initializes the fields of this object.
37
30
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38
31
  * Only for internal use.
39
32
  */
40
-
41
-
42
33
  _createClass(PaginatedImportedEnergyDataPointList, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PaginatedImportedEnergyDataPointList</code> from a plain JavaScript object, optionally creating a new instance.
47
39
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -49,56 +41,47 @@ var PaginatedImportedEnergyDataPointList = /*#__PURE__*/function () {
49
41
  * @param {module:model/PaginatedImportedEnergyDataPointList} obj Optional instance to populate.
50
42
  * @return {module:model/PaginatedImportedEnergyDataPointList} The populated <code>PaginatedImportedEnergyDataPointList</code> instance.
51
43
  */
52
-
53
44
  }, {
54
45
  key: "constructFromObject",
55
46
  value: function constructFromObject(data, obj) {
56
47
  if (data) {
57
48
  obj = obj || new PaginatedImportedEnergyDataPointList();
58
-
59
49
  if (data.hasOwnProperty('count')) {
60
50
  obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
61
51
  }
62
-
63
52
  if (data.hasOwnProperty('next')) {
64
53
  obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
65
54
  }
66
-
67
55
  if (data.hasOwnProperty('previous')) {
68
56
  obj['previous'] = _ApiClient["default"].convertToType(data['previous'], 'String');
69
57
  }
70
-
71
58
  if (data.hasOwnProperty('results')) {
72
59
  obj['results'] = _ApiClient["default"].convertToType(data['results'], [_ImportedEnergyDataPoint["default"]]);
73
60
  }
74
61
  }
75
-
76
62
  return obj;
77
63
  }
78
64
  }]);
79
-
80
65
  return PaginatedImportedEnergyDataPointList;
81
66
  }();
82
67
  /**
83
68
  * @member {Number} count
84
69
  */
85
-
86
-
87
70
  PaginatedImportedEnergyDataPointList.prototype['count'] = undefined;
71
+
88
72
  /**
89
73
  * @member {String} next
90
74
  */
91
-
92
75
  PaginatedImportedEnergyDataPointList.prototype['next'] = undefined;
76
+
93
77
  /**
94
78
  * @member {String} previous
95
79
  */
96
-
97
80
  PaginatedImportedEnergyDataPointList.prototype['previous'] = undefined;
81
+
98
82
  /**
99
83
  * @member {Array.<module:model/ImportedEnergyDataPoint>} results
100
84
  */
101
-
102
85
  PaginatedImportedEnergyDataPointList.prototype['results'] = undefined;
103
86
  var _default = PaginatedImportedEnergyDataPointList;
104
87
  exports["default"] = _default;