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 _Issuer = _interopRequireDefault(require("./Issuer"));
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 PaginatedIssuerList model module.
22
15
  * @module model/PaginatedIssuerList
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PaginatedIssuerList = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PaginatedIssuerList = /*#__PURE__*/function () {
29
22
  */
30
23
  function PaginatedIssuerList() {
31
24
  _classCallCheck(this, PaginatedIssuerList);
32
-
33
25
  PaginatedIssuerList.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(PaginatedIssuerList, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PaginatedIssuerList</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 PaginatedIssuerList = /*#__PURE__*/function () {
49
41
  * @param {module:model/PaginatedIssuerList} obj Optional instance to populate.
50
42
  * @return {module:model/PaginatedIssuerList} The populated <code>PaginatedIssuerList</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 PaginatedIssuerList();
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'], [_Issuer["default"]]);
73
60
  }
74
61
  }
75
-
76
62
  return obj;
77
63
  }
78
64
  }]);
79
-
80
65
  return PaginatedIssuerList;
81
66
  }();
82
67
  /**
83
68
  * @member {Number} count
84
69
  */
85
-
86
-
87
70
  PaginatedIssuerList.prototype['count'] = undefined;
71
+
88
72
  /**
89
73
  * @member {String} next
90
74
  */
91
-
92
75
  PaginatedIssuerList.prototype['next'] = undefined;
76
+
93
77
  /**
94
78
  * @member {String} previous
95
79
  */
96
-
97
80
  PaginatedIssuerList.prototype['previous'] = undefined;
81
+
98
82
  /**
99
83
  * @member {Array.<module:model/Issuer>} results
100
84
  */
101
-
102
85
  PaginatedIssuerList.prototype['results'] = undefined;
103
86
  var _default = PaginatedIssuerList;
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 _Location = _interopRequireDefault(require("./Location"));
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 PaginatedLocationList model module.
22
15
  * @module model/PaginatedLocationList
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PaginatedLocationList = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PaginatedLocationList = /*#__PURE__*/function () {
29
22
  */
30
23
  function PaginatedLocationList() {
31
24
  _classCallCheck(this, PaginatedLocationList);
32
-
33
25
  PaginatedLocationList.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(PaginatedLocationList, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PaginatedLocationList</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 PaginatedLocationList = /*#__PURE__*/function () {
49
41
  * @param {module:model/PaginatedLocationList} obj Optional instance to populate.
50
42
  * @return {module:model/PaginatedLocationList} The populated <code>PaginatedLocationList</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 PaginatedLocationList();
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'], [_Location["default"]]);
73
60
  }
74
61
  }
75
-
76
62
  return obj;
77
63
  }
78
64
  }]);
79
-
80
65
  return PaginatedLocationList;
81
66
  }();
82
67
  /**
83
68
  * @member {Number} count
84
69
  */
85
-
86
-
87
70
  PaginatedLocationList.prototype['count'] = undefined;
71
+
88
72
  /**
89
73
  * @member {String} next
90
74
  */
91
-
92
75
  PaginatedLocationList.prototype['next'] = undefined;
76
+
93
77
  /**
94
78
  * @member {String} previous
95
79
  */
96
-
97
80
  PaginatedLocationList.prototype['previous'] = undefined;
81
+
98
82
  /**
99
83
  * @member {Array.<module:model/Location>} results
100
84
  */
101
-
102
85
  PaginatedLocationList.prototype['results'] = undefined;
103
86
  var _default = PaginatedLocationList;
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 _MatchRequest = _interopRequireDefault(require("./MatchRequest"));
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 PaginatedMatchRequestList model module.
22
15
  * @module model/PaginatedMatchRequestList
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PaginatedMatchRequestList = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PaginatedMatchRequestList = /*#__PURE__*/function () {
29
22
  */
30
23
  function PaginatedMatchRequestList() {
31
24
  _classCallCheck(this, PaginatedMatchRequestList);
32
-
33
25
  PaginatedMatchRequestList.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(PaginatedMatchRequestList, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PaginatedMatchRequestList</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 PaginatedMatchRequestList = /*#__PURE__*/function () {
49
41
  * @param {module:model/PaginatedMatchRequestList} obj Optional instance to populate.
50
42
  * @return {module:model/PaginatedMatchRequestList} The populated <code>PaginatedMatchRequestList</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 PaginatedMatchRequestList();
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'], [_MatchRequest["default"]]);
73
60
  }
74
61
  }
75
-
76
62
  return obj;
77
63
  }
78
64
  }]);
79
-
80
65
  return PaginatedMatchRequestList;
81
66
  }();
82
67
  /**
83
68
  * @member {Number} count
84
69
  */
85
-
86
-
87
70
  PaginatedMatchRequestList.prototype['count'] = undefined;
71
+
88
72
  /**
89
73
  * @member {String} next
90
74
  */
91
-
92
75
  PaginatedMatchRequestList.prototype['next'] = undefined;
76
+
93
77
  /**
94
78
  * @member {String} previous
95
79
  */
96
-
97
80
  PaginatedMatchRequestList.prototype['previous'] = undefined;
81
+
98
82
  /**
99
83
  * @member {Array.<module:model/MatchRequest>} results
100
84
  */
101
-
102
85
  PaginatedMatchRequestList.prototype['results'] = undefined;
103
86
  var _default = PaginatedMatchRequestList;
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 _MatchedEnergyDataPoint = _interopRequireDefault(require("./MatchedEnergyDataPoint"));
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 PaginatedMatchedEnergyDataPointList model module.
22
15
  * @module model/PaginatedMatchedEnergyDataPointList
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PaginatedMatchedEnergyDataPointList = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PaginatedMatchedEnergyDataPointList = /*#__PURE__*/function () {
29
22
  */
30
23
  function PaginatedMatchedEnergyDataPointList() {
31
24
  _classCallCheck(this, PaginatedMatchedEnergyDataPointList);
32
-
33
25
  PaginatedMatchedEnergyDataPointList.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(PaginatedMatchedEnergyDataPointList, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PaginatedMatchedEnergyDataPointList</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 PaginatedMatchedEnergyDataPointList = /*#__PURE__*/function () {
49
41
  * @param {module:model/PaginatedMatchedEnergyDataPointList} obj Optional instance to populate.
50
42
  * @return {module:model/PaginatedMatchedEnergyDataPointList} The populated <code>PaginatedMatchedEnergyDataPointList</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 PaginatedMatchedEnergyDataPointList();
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'], [_MatchedEnergyDataPoint["default"]]);
73
60
  }
74
61
  }
75
-
76
62
  return obj;
77
63
  }
78
64
  }]);
79
-
80
65
  return PaginatedMatchedEnergyDataPointList;
81
66
  }();
82
67
  /**
83
68
  * @member {Number} count
84
69
  */
85
-
86
-
87
70
  PaginatedMatchedEnergyDataPointList.prototype['count'] = undefined;
71
+
88
72
  /**
89
73
  * @member {String} next
90
74
  */
91
-
92
75
  PaginatedMatchedEnergyDataPointList.prototype['next'] = undefined;
76
+
93
77
  /**
94
78
  * @member {String} previous
95
79
  */
96
-
97
80
  PaginatedMatchedEnergyDataPointList.prototype['previous'] = undefined;
81
+
98
82
  /**
99
83
  * @member {Array.<module:model/MatchedEnergyDataPoint>} results
100
84
  */
101
-
102
85
  PaginatedMatchedEnergyDataPointList.prototype['results'] = undefined;
103
86
  var _default = PaginatedMatchedEnergyDataPointList;
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 _Producer = _interopRequireDefault(require("./Producer"));
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 PaginatedProducerList model module.
22
15
  * @module model/PaginatedProducerList
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PaginatedProducerList = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PaginatedProducerList = /*#__PURE__*/function () {
29
22
  */
30
23
  function PaginatedProducerList() {
31
24
  _classCallCheck(this, PaginatedProducerList);
32
-
33
25
  PaginatedProducerList.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(PaginatedProducerList, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PaginatedProducerList</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 PaginatedProducerList = /*#__PURE__*/function () {
49
41
  * @param {module:model/PaginatedProducerList} obj Optional instance to populate.
50
42
  * @return {module:model/PaginatedProducerList} The populated <code>PaginatedProducerList</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 PaginatedProducerList();
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'], [_Producer["default"]]);
73
60
  }
74
61
  }
75
-
76
62
  return obj;
77
63
  }
78
64
  }]);
79
-
80
65
  return PaginatedProducerList;
81
66
  }();
82
67
  /**
83
68
  * @member {Number} count
84
69
  */
85
-
86
-
87
70
  PaginatedProducerList.prototype['count'] = undefined;
71
+
88
72
  /**
89
73
  * @member {String} next
90
74
  */
91
-
92
75
  PaginatedProducerList.prototype['next'] = undefined;
76
+
93
77
  /**
94
78
  * @member {String} previous
95
79
  */
96
-
97
80
  PaginatedProducerList.prototype['previous'] = undefined;
81
+
98
82
  /**
99
83
  * @member {Array.<module:model/Producer>} results
100
84
  */
101
-
102
85
  PaginatedProducerList.prototype['results'] = undefined;
103
86
  var _default = PaginatedProducerList;
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 _ProductionDataFromEpiasRequest = _interopRequireDefault(require("./ProductionDataFromEpiasRequest"));
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 PaginatedProductionDataFromEpiasRequestList model module.
22
15
  * @module model/PaginatedProductionDataFromEpiasRequestList
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PaginatedProductionDataFromEpiasRequestList = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PaginatedProductionDataFromEpiasRequestList = /*#__PURE__*/function () {
29
22
  */
30
23
  function PaginatedProductionDataFromEpiasRequestList() {
31
24
  _classCallCheck(this, PaginatedProductionDataFromEpiasRequestList);
32
-
33
25
  PaginatedProductionDataFromEpiasRequestList.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(PaginatedProductionDataFromEpiasRequestList, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PaginatedProductionDataFromEpiasRequestList</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 PaginatedProductionDataFromEpiasRequestList = /*#__PURE__*/function () {
49
41
  * @param {module:model/PaginatedProductionDataFromEpiasRequestList} obj Optional instance to populate.
50
42
  * @return {module:model/PaginatedProductionDataFromEpiasRequestList} The populated <code>PaginatedProductionDataFromEpiasRequestList</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 PaginatedProductionDataFromEpiasRequestList();
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'], [_ProductionDataFromEpiasRequest["default"]]);
73
60
  }
74
61
  }
75
-
76
62
  return obj;
77
63
  }
78
64
  }]);
79
-
80
65
  return PaginatedProductionDataFromEpiasRequestList;
81
66
  }();
82
67
  /**
83
68
  * @member {Number} count
84
69
  */
85
-
86
-
87
70
  PaginatedProductionDataFromEpiasRequestList.prototype['count'] = undefined;
71
+
88
72
  /**
89
73
  * @member {String} next
90
74
  */
91
-
92
75
  PaginatedProductionDataFromEpiasRequestList.prototype['next'] = undefined;
76
+
93
77
  /**
94
78
  * @member {String} previous
95
79
  */
96
-
97
80
  PaginatedProductionDataFromEpiasRequestList.prototype['previous'] = undefined;
81
+
98
82
  /**
99
83
  * @member {Array.<module:model/ProductionDataFromEpiasRequest>} results
100
84
  */
101
-
102
85
  PaginatedProductionDataFromEpiasRequestList.prototype['results'] = undefined;
103
86
  var _default = PaginatedProductionDataFromEpiasRequestList;
104
87
  exports["default"] = _default;