Skip to content

Commit af9c34f

Browse files
Merge branch 'master' of github.com:thingsboard/thingsboard-java-client into tests
2 parents fd57cd8 + 9bab5ce commit af9c34f

2,757 files changed

Lines changed: 114601 additions & 4 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#
2+
# Copyright © 2026-2026 ThingsBoard, Inc.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
name: CI
18+
19+
on:
20+
push:
21+
branches: [ master ]
22+
pull_request:
23+
branches: [ master ]
24+
25+
concurrency:
26+
group: ${{ github.workflow }}-${{ github.ref }}
27+
cancel-in-progress: true
28+
29+
jobs:
30+
build:
31+
name: Build
32+
runs-on: ubuntu-latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
36+
- name: Set up Java 25
37+
uses: actions/setup-java@v4
38+
with:
39+
distribution: temurin
40+
java-version: 25
41+
cache: maven
42+
43+
- name: Build
44+
run: mvn clean install -DskipTests
45+
46+
verify-codegen:
47+
name: Verify codegen
48+
runs-on: ubuntu-latest
49+
steps:
50+
- uses: actions/checkout@v4
51+
52+
- name: Set up Java 25
53+
uses: actions/setup-java@v4
54+
with:
55+
distribution: temurin
56+
java-version: 25
57+
cache: maven
58+
59+
- name: Set up Node.js 20
60+
uses: actions/setup-node@v4
61+
with:
62+
node-version: 20
63+
64+
- name: Install openapi-generator-cli
65+
run: npm install -g @openapitools/openapi-generator-cli
66+
67+
- name: Regenerate all clients
68+
run: ./generate-client.sh all
69+
70+
- name: Check for drift
71+
run: |
72+
if ! git diff --cached --exit-code; then
73+
echo ""
74+
echo "Generated code is out of sync with specs."
75+
echo "Run './generate-client.sh all' locally and commit the changes."
76+
exit 1
77+
fi

ce/docs/AccountTwoFaSettings.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
# AccountTwoFaSettings
3+
4+
`org.thingsboard.client.model.AccountTwoFaSettings`
5+
6+
Account Two-Factor Authentication Settings
7+
8+
## Properties
9+
10+
| Name | Type | Description | Notes |
11+
|------------ | ------------- | ------------- | -------------|
12+
| **configs** | **Map\<String, TwoFaAccountConfig\>** | | [optional] |
13+
14+
15+
16+
---
17+
18+
### Conventions
19+
20+
- **Package:** `org.thingsboard.client.model`
21+
- **Getter pattern:** `get<PropertyName>()` — e.g., `getId()`, `getName()`
22+
- **Setter pattern:** `set<PropertyName>(value)` — e.g., `setId(value)`, `setName(value)`
23+
- **Null fields:** Getters return `null` for unset optional fields; they do not throw exceptions
24+

ce/docs/Action.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
# Action
3+
4+
`org.thingsboard.client.model.Action`
5+
6+
## Enum Values
7+
8+
9+
* `ASSIGNED` (value: `"ASSIGNED"`)
10+
11+
* `UNASSIGNED` (value: `"UNASSIGNED"`)
12+
13+
14+
15+
---
16+
17+
### Conventions
18+
19+
- **Package:** `org.thingsboard.client.model`
20+
- **Getter pattern:** `get<PropertyName>()` — e.g., `getId()`, `getName()`
21+
- **Setter pattern:** `set<PropertyName>(value)` — e.g., `setId(value)`, `setName(value)`
22+
- **Null fields:** Getters return `null` for unset optional fields; they do not throw exceptions
23+

ce/docs/ActionStatus.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
# ActionStatus
3+
4+
`org.thingsboard.client.model.ActionStatus`
5+
6+
## Enum Values
7+
8+
9+
* `SUCCESS` (value: `"SUCCESS"`)
10+
11+
* `FAILURE` (value: `"FAILURE"`)
12+
13+
14+
15+
---
16+
17+
### Conventions
18+
19+
- **Package:** `org.thingsboard.client.model`
20+
- **Getter pattern:** `get<PropertyName>()` — e.g., `getId()`, `getName()`
21+
- **Setter pattern:** `set<PropertyName>(value)` — e.g., `setId(value)`, `setName(value)`
22+
- **Null fields:** Getters return `null` for unset optional fields; they do not throw exceptions
23+

ce/docs/ActionType.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
2+
# ActionType
3+
4+
`org.thingsboard.client.model.ActionType`
5+
6+
## Enum Values
7+
8+
9+
* `ADDED` (value: `"ADDED"`)
10+
11+
* `DELETED` (value: `"DELETED"`)
12+
13+
* `UPDATED` (value: `"UPDATED"`)
14+
15+
* `ATTRIBUTES_UPDATED` (value: `"ATTRIBUTES_UPDATED"`)
16+
17+
* `ATTRIBUTES_DELETED` (value: `"ATTRIBUTES_DELETED"`)
18+
19+
* `TIMESERIES_UPDATED` (value: `"TIMESERIES_UPDATED"`)
20+
21+
* `TIMESERIES_DELETED` (value: `"TIMESERIES_DELETED"`)
22+
23+
* `RPC_CALL` (value: `"RPC_CALL"`)
24+
25+
* `CREDENTIALS_UPDATED` (value: `"CREDENTIALS_UPDATED"`)
26+
27+
* `ASSIGNED_TO_CUSTOMER` (value: `"ASSIGNED_TO_CUSTOMER"`)
28+
29+
* `UNASSIGNED_FROM_CUSTOMER` (value: `"UNASSIGNED_FROM_CUSTOMER"`)
30+
31+
* `ACTIVATED` (value: `"ACTIVATED"`)
32+
33+
* `SUSPENDED` (value: `"SUSPENDED"`)
34+
35+
* `CREDENTIALS_READ` (value: `"CREDENTIALS_READ"`)
36+
37+
* `ATTRIBUTES_READ` (value: `"ATTRIBUTES_READ"`)
38+
39+
* `RELATION_ADD_OR_UPDATE` (value: `"RELATION_ADD_OR_UPDATE"`)
40+
41+
* `RELATION_DELETED` (value: `"RELATION_DELETED"`)
42+
43+
* `RELATIONS_DELETED` (value: `"RELATIONS_DELETED"`)
44+
45+
* `REST_API_RULE_ENGINE_CALL` (value: `"REST_API_RULE_ENGINE_CALL"`)
46+
47+
* `ALARM_ACK` (value: `"ALARM_ACK"`)
48+
49+
* `ALARM_CLEAR` (value: `"ALARM_CLEAR"`)
50+
51+
* `ALARM_DELETE` (value: `"ALARM_DELETE"`)
52+
53+
* `ALARM_ASSIGNED` (value: `"ALARM_ASSIGNED"`)
54+
55+
* `ALARM_UNASSIGNED` (value: `"ALARM_UNASSIGNED"`)
56+
57+
* `LOGIN` (value: `"LOGIN"`)
58+
59+
* `LOGOUT` (value: `"LOGOUT"`)
60+
61+
* `LOCKOUT` (value: `"LOCKOUT"`)
62+
63+
* `ASSIGNED_FROM_TENANT` (value: `"ASSIGNED_FROM_TENANT"`)
64+
65+
* `ASSIGNED_TO_TENANT` (value: `"ASSIGNED_TO_TENANT"`)
66+
67+
* `PROVISION_SUCCESS` (value: `"PROVISION_SUCCESS"`)
68+
69+
* `PROVISION_FAILURE` (value: `"PROVISION_FAILURE"`)
70+
71+
* `ASSIGNED_TO_EDGE` (value: `"ASSIGNED_TO_EDGE"`)
72+
73+
* `UNASSIGNED_FROM_EDGE` (value: `"UNASSIGNED_FROM_EDGE"`)
74+
75+
* `ADDED_COMMENT` (value: `"ADDED_COMMENT"`)
76+
77+
* `UPDATED_COMMENT` (value: `"UPDATED_COMMENT"`)
78+
79+
* `DELETED_COMMENT` (value: `"DELETED_COMMENT"`)
80+
81+
* `SMS_SENT` (value: `"SMS_SENT"`)
82+
83+
84+
85+
---
86+
87+
### Conventions
88+
89+
- **Package:** `org.thingsboard.client.model`
90+
- **Getter pattern:** `get<PropertyName>()` — e.g., `getId()`, `getName()`
91+
- **Setter pattern:** `set<PropertyName>(value)` — e.g., `setId(value)`, `setName(value)`
92+
- **Null fields:** Getters return `null` for unset optional fields; they do not throw exceptions
93+

ce/docs/ActivateUserRequest.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
# ActivateUserRequest
3+
4+
`org.thingsboard.client.model.ActivateUserRequest`
5+
6+
Activate user request.
7+
8+
## Properties
9+
10+
| Name | Type | Description | Notes |
11+
|------------ | ------------- | ------------- | -------------|
12+
| **activateToken** | **String** | The activate token to verify | [optional] |
13+
| **password** | **String** | The new password to set | [optional] |
14+
15+
16+
17+
---
18+
19+
### Conventions
20+
21+
- **Package:** `org.thingsboard.client.model`
22+
- **Getter pattern:** `get<PropertyName>()` — e.g., `getId()`, `getName()`
23+
- **Setter pattern:** `set<PropertyName>(value)` — e.g., `setId(value)`, `setName(value)`
24+
- **Null fields:** Getters return `null` for unset optional fields; they do not throw exceptions
25+

0 commit comments

Comments
 (0)