Skip to content

Commit bc81fd2

Browse files
committed
regenerated clients
1 parent c215f45 commit bc81fd2

20 files changed

Lines changed: 898 additions & 898 deletions

paas/docs/Integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ A JSON value representing the integration.
1717
| **debugMode** | **Boolean** | Enable/disable debug. | [optional] |
1818
| **debugSettings** | **DebugSettings** | Debug settings object. | [optional] |
1919
| **enabled** | **Boolean** | Boolean flag to enable/disable the integration | [optional] |
20+
| **remote** | **Boolean** | Boolean flag to enable/disable the integration to be executed remotely. Remote integration is launched in a separate microservice. Local integration is executed by the platform core | [optional] |
2021
| **allowCreateDevicesOrAssets** | **Boolean** | Boolean flag to allow/disallow the integration to create devices or assets that send message and do not exist in the system yet | [optional] |
2122
| **edgeTemplate** | **Boolean** | Boolean flag that specifies that is regular or edge template integration | [optional] |
2223
| **version** | **Long** | | [optional] |
@@ -26,7 +27,6 @@ A JSON value representing the integration.
2627
| **secret** | **String** | String value used by the remote integrations. Remote integration uses this value along with the 'routingKey' for kind of security and validation to be able to connect to the platform using Grpc | [optional] |
2728
| **_configuration** | **com.fasterxml.jackson.databind.JsonNode** | JSON object representing integration configuration. Each integration type has specific configuration with the connectivity parameters (like 'host' and 'port' for MQTT type or 'baseUrl' for HTTP based type, etc.) and other important parameters dependent on the integration type | |
2829
| **additionalInfo** | **com.fasterxml.jackson.databind.JsonNode** | Additional parameters of the integration | [optional] |
29-
| **remote** | **Boolean** | Boolean flag to enable/disable the integration to be executed remotely. Remote integration is launched in a separate microservice. Local integration is executed by the platform core | [optional] |
3030

3131

3232

paas/docs/IntegrationInfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
| **debugMode** | **Boolean** | Enable/disable debug. | [optional] |
1616
| **debugSettings** | **DebugSettings** | Debug settings object. | [optional] |
1717
| **enabled** | **Boolean** | Boolean flag to enable/disable the integration | [optional] |
18+
| **remote** | **Boolean** | Boolean flag to enable/disable the integration to be executed remotely. Remote integration is launched in a separate microservice. Local integration is executed by the platform core | [optional] |
1819
| **allowCreateDevicesOrAssets** | **Boolean** | Boolean flag to allow/disallow the integration to create devices or assets that send message and do not exist in the system yet | [optional] |
1920
| **edgeTemplate** | **Boolean** | Boolean flag that specifies that is regular or edge template integration | [optional] |
2021
| **version** | **Long** | | [optional] |
2122
| **status** | **Object** | | [optional] |
2223
| **stats** | **Object** | | [optional] |
23-
| **remote** | **Boolean** | Boolean flag to enable/disable the integration to be executed remotely. Remote integration is launched in a separate microservice. Local integration is executed by the platform core | [optional] |
2424

2525

2626

paas/docs/PdfReportTemplateConfig.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99

1010
| Name | Type | Description | Notes |
1111
|------------ | ------------- | ------------- | -------------|
12-
| **pageSize** | **PageSize** | | [optional] |
13-
| **pageOrientation** | **PageOrientation** | | [optional] |
14-
| **pageMargins** | **Insets** | | [optional] |
15-
| **pageBackground** | **String** | | [optional] |
16-
| **header** | **HeaderFooter** | | [optional] |
1712
| **footer** | **HeaderFooter** | | [optional] |
13+
| **header** | **HeaderFooter** | | [optional] |
14+
| **pageBackground** | **String** | | [optional] |
15+
| **pageMargins** | **Insets** | | [optional] |
16+
| **pageOrientation** | **PageOrientation** | | [optional] |
17+
| **pageSize** | **PageSize** | | [optional] |
1818

1919

2020

paas/docs/ReportTemplateConfig.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
| **format** | **TbReportFormat** | Report format | |
11-
| **filters** | **List\<Filter\>** | | [optional] |
1210
| **namePattern** | **String** | | [optional] |
13-
| **components** | **List\<ReportComponent\>** | | [optional] |
1411
| **timeDataPattern** | **String** | | [optional] |
12+
| **format** | **TbReportFormat** | Report format | |
1513
| **entityAliases** | **List\<EntityAlias\>** | | [optional] |
14+
| **filters** | **List\<Filter\>** | | [optional] |
15+
| **components** | **List\<ReportComponent\>** | | [optional] |
1616

1717

1818

paas/spec/openapi.json

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -144195,6 +144195,10 @@
144195144195
"type": "boolean",
144196144196
"description": "Boolean flag to enable/disable the integration"
144197144197
},
144198+
"remote": {
144199+
"type": "boolean",
144200+
"description": "Boolean flag to enable/disable the integration to be executed remotely. Remote integration is launched in a separate microservice. Local integration is executed by the platform core"
144201+
},
144198144202
"allowCreateDevicesOrAssets": {
144199144203
"type": "boolean",
144200144204
"description": "Boolean flag to allow/disallow the integration to create devices or assets that send message and do not exist in the system yet"
@@ -144232,10 +144236,6 @@
144232144236
"additionalInfo": {
144233144237
"$ref": "#/components/schemas/JsonNode",
144234144238
"description": "Additional parameters of the integration"
144235-
},
144236-
"remote": {
144237-
"type": "boolean",
144238-
"description": "Boolean flag to enable/disable the integration to be executed remotely. Remote integration is launched in a separate microservice. Local integration is executed by the platform core"
144239144239
}
144240144240
},
144241144241
"required": [
@@ -144317,6 +144317,10 @@
144317144317
"type": "boolean",
144318144318
"description": "Boolean flag to enable/disable the integration"
144319144319
},
144320+
"remote": {
144321+
"type": "boolean",
144322+
"description": "Boolean flag to enable/disable the integration to be executed remotely. Remote integration is launched in a separate microservice. Local integration is executed by the platform core"
144323+
},
144320144324
"allowCreateDevicesOrAssets": {
144321144325
"type": "boolean",
144322144326
"description": "Boolean flag to allow/disallow the integration to create devices or assets that send message and do not exist in the system yet"
@@ -144334,10 +144338,6 @@
144334144338
},
144335144339
"stats": {
144336144340
"$ref": "#/components/schemas/ArrayNode"
144337-
},
144338-
"remote": {
144339-
"type": "boolean",
144340-
"description": "Boolean flag to enable/disable the integration to be executed remotely. Remote integration is launched in a separate microservice. Local integration is executed by the platform core"
144341144341
}
144342144342
},
144343144343
"required": [
@@ -150539,23 +150539,23 @@
150539150539
{
150540150540
"type": "object",
150541150541
"properties": {
150542-
"pageSize": {
150543-
"$ref": "#/components/schemas/PageSize"
150544-
},
150545-
"pageOrientation": {
150546-
"$ref": "#/components/schemas/PageOrientation"
150542+
"footer": {
150543+
"$ref": "#/components/schemas/HeaderFooter"
150547150544
},
150548-
"pageMargins": {
150549-
"$ref": "#/components/schemas/Insets"
150545+
"header": {
150546+
"$ref": "#/components/schemas/HeaderFooter"
150550150547
},
150551150548
"pageBackground": {
150552150549
"type": "string"
150553150550
},
150554-
"header": {
150555-
"$ref": "#/components/schemas/HeaderFooter"
150551+
"pageMargins": {
150552+
"$ref": "#/components/schemas/Insets"
150556150553
},
150557-
"footer": {
150558-
"$ref": "#/components/schemas/HeaderFooter"
150554+
"pageOrientation": {
150555+
"$ref": "#/components/schemas/PageOrientation"
150556+
},
150557+
"pageSize": {
150558+
"$ref": "#/components/schemas/PageSize"
150559150559
}
150560150560
}
150561150561
}
@@ -152053,32 +152053,32 @@
152053152053
}
152054152054
},
152055152055
"properties": {
152056+
"namePattern": {
152057+
"type": "string"
152058+
},
152059+
"timeDataPattern": {
152060+
"type": "string"
152061+
},
152056152062
"format": {
152057152063
"$ref": "#/components/schemas/TbReportFormat",
152058152064
"description": "Report format"
152059152065
},
152060-
"filters": {
152066+
"entityAliases": {
152061152067
"type": "array",
152062152068
"items": {
152063-
"$ref": "#/components/schemas/Filter"
152069+
"$ref": "#/components/schemas/EntityAlias"
152064152070
}
152065152071
},
152066-
"namePattern": {
152067-
"type": "string"
152068-
},
152069-
"components": {
152072+
"filters": {
152070152073
"type": "array",
152071152074
"items": {
152072-
"$ref": "#/components/schemas/ReportComponent"
152075+
"$ref": "#/components/schemas/Filter"
152073152076
}
152074152077
},
152075-
"timeDataPattern": {
152076-
"type": "string"
152077-
},
152078-
"entityAliases": {
152078+
"components": {
152079152079
"type": "array",
152080152080
"items": {
152081-
"$ref": "#/components/schemas/EntityAlias"
152081+
"$ref": "#/components/schemas/ReportComponent"
152082152082
}
152083152083
}
152084152084
},

paas/src/main/java/org/thingsboard/client/model/CsvReportTemplateConfig.java

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -59,38 +59,38 @@ public CsvReportTemplateConfig() {
5959
}
6060

6161
@Override
62-
public CsvReportTemplateConfig format(@javax.annotation.Nonnull TbReportFormat format) {
63-
this.setFormat(format);
62+
public CsvReportTemplateConfig namePattern(@javax.annotation.Nullable String namePattern) {
63+
this.setNamePattern(namePattern);
6464
return this;
6565
}
6666

6767
@Override
68-
public CsvReportTemplateConfig filters(@javax.annotation.Nullable List<Filter> filters) {
69-
this.setFilters(filters);
68+
public CsvReportTemplateConfig timeDataPattern(@javax.annotation.Nullable String timeDataPattern) {
69+
this.setTimeDataPattern(timeDataPattern);
7070
return this;
7171
}
7272

7373
@Override
74-
public CsvReportTemplateConfig namePattern(@javax.annotation.Nullable String namePattern) {
75-
this.setNamePattern(namePattern);
74+
public CsvReportTemplateConfig format(@javax.annotation.Nonnull TbReportFormat format) {
75+
this.setFormat(format);
7676
return this;
7777
}
7878

7979
@Override
80-
public CsvReportTemplateConfig components(@javax.annotation.Nullable List<ReportComponent> components) {
81-
this.setComponents(components);
80+
public CsvReportTemplateConfig entityAliases(@javax.annotation.Nullable List<EntityAlias> entityAliases) {
81+
this.setEntityAliases(entityAliases);
8282
return this;
8383
}
8484

8585
@Override
86-
public CsvReportTemplateConfig timeDataPattern(@javax.annotation.Nullable String timeDataPattern) {
87-
this.setTimeDataPattern(timeDataPattern);
86+
public CsvReportTemplateConfig filters(@javax.annotation.Nullable List<Filter> filters) {
87+
this.setFilters(filters);
8888
return this;
8989
}
9090

9191
@Override
92-
public CsvReportTemplateConfig entityAliases(@javax.annotation.Nullable List<EntityAlias> entityAliases) {
93-
this.setEntityAliases(entityAliases);
92+
public CsvReportTemplateConfig components(@javax.annotation.Nullable List<ReportComponent> components) {
93+
this.setComponents(components);
9494
return this;
9595
}
9696

@@ -165,11 +165,31 @@ public String toUrlQueryString(String prefix) {
165165

166166
StringJoiner joiner = new StringJoiner("&");
167167

168+
// add `namePattern` to the URL query string
169+
if (getNamePattern() != null) {
170+
joiner.add(String.format(java.util.Locale.ROOT, "%snamePattern%s=%s", prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getNamePattern()))));
171+
}
172+
173+
// add `timeDataPattern` to the URL query string
174+
if (getTimeDataPattern() != null) {
175+
joiner.add(String.format(java.util.Locale.ROOT, "%stimeDataPattern%s=%s", prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getTimeDataPattern()))));
176+
}
177+
168178
// add `format` to the URL query string
169179
if (getFormat() != null) {
170180
joiner.add(String.format(java.util.Locale.ROOT, "%sformat%s=%s", prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getFormat()))));
171181
}
172182

183+
// add `entityAliases` to the URL query string
184+
if (getEntityAliases() != null) {
185+
for (int i = 0; i < getEntityAliases().size(); i++) {
186+
if (getEntityAliases().get(i) != null) {
187+
joiner.add(getEntityAliases().get(i).toUrlQueryString(String.format(java.util.Locale.ROOT, "%sentityAliases%s%s", prefix, suffix,
188+
"".equals(suffix) ? "" : String.format(java.util.Locale.ROOT, "%s%d%s", containerPrefix, i, containerSuffix))));
189+
}
190+
}
191+
}
192+
173193
// add `filters` to the URL query string
174194
if (getFilters() != null) {
175195
for (int i = 0; i < getFilters().size(); i++) {
@@ -180,11 +200,6 @@ public String toUrlQueryString(String prefix) {
180200
}
181201
}
182202

183-
// add `namePattern` to the URL query string
184-
if (getNamePattern() != null) {
185-
joiner.add(String.format(java.util.Locale.ROOT, "%snamePattern%s=%s", prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getNamePattern()))));
186-
}
187-
188203
// add `components` to the URL query string
189204
if (getComponents() != null) {
190205
for (int i = 0; i < getComponents().size(); i++) {
@@ -195,21 +210,6 @@ public String toUrlQueryString(String prefix) {
195210
}
196211
}
197212

198-
// add `timeDataPattern` to the URL query string
199-
if (getTimeDataPattern() != null) {
200-
joiner.add(String.format(java.util.Locale.ROOT, "%stimeDataPattern%s=%s", prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getTimeDataPattern()))));
201-
}
202-
203-
// add `entityAliases` to the URL query string
204-
if (getEntityAliases() != null) {
205-
for (int i = 0; i < getEntityAliases().size(); i++) {
206-
if (getEntityAliases().get(i) != null) {
207-
joiner.add(getEntityAliases().get(i).toUrlQueryString(String.format(java.util.Locale.ROOT, "%sentityAliases%s%s", prefix, suffix,
208-
"".equals(suffix) ? "" : String.format(java.util.Locale.ROOT, "%s%d%s", containerPrefix, i, containerSuffix))));
209-
}
210-
}
211-
}
212-
213213
return joiner.toString();
214214
}
215215
static {

0 commit comments

Comments
 (0)