Skip to content

Commit a076802

Browse files
author
Lab5e Release Bot
committed
Span release 5.0.0
1 parent dbbb905 commit a076802

File tree

222 files changed

+1643
-1260
lines changed

Some content is hidden

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

222 files changed

+1643
-1260
lines changed

Diff for: api/openapi.yaml

+373-294
Large diffs are not rendered by default.

Diff for: build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'com.lab5e'
7-
version = '4.9.6'
7+
version = '5.0.0'
88

99
buildscript {
1010
repositories {

Diff for: build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.lab5e",
44
name := "span-java-client",
5-
version := "4.9.6",
5+
version := "5.0.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

Diff for: docs/AddDownstreamMessageRequest.md renamed to docs/AddDownstreamMessageBody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# AddDownstreamMessageRequest
3+
# AddDownstreamMessageBody
44

55
This is the request object to send messages out to the devices
66

Diff for: docs/CertificatesApi.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class Example {
4141

4242
CertificatesApi apiInstance = new CertificatesApi(defaultClient);
4343
String collectionId = "collectionId_example"; // String |
44-
CreateCertificateRequest body = new CreateCertificateRequest(); // CreateCertificateRequest |
44+
CreateCertificateBody body = new CreateCertificateBody(); // CreateCertificateBody |
4545
try {
4646
CreateCertificateResponse result = apiInstance.createCertificate(collectionId, body);
4747
System.out.println(result);
@@ -61,7 +61,7 @@ public class Example {
6161
| Name | Type | Description | Notes |
6262
|------------- | ------------- | ------------- | -------------|
6363
| **collectionId** | **String**| | |
64-
| **body** | [**CreateCertificateRequest**](CreateCertificateRequest.md)| | |
64+
| **body** | [**CreateCertificateBody**](CreateCertificateBody.md)| | |
6565

6666
### Return type
6767

@@ -199,7 +199,7 @@ public class Example {
199199

200200
CertificatesApi apiInstance = new CertificatesApi(defaultClient);
201201
String collectionId = "collectionId_example"; // String |
202-
SignCertificateRequest body = new SignCertificateRequest(); // SignCertificateRequest |
202+
SignCertificateBody body = new SignCertificateBody(); // SignCertificateBody |
203203
try {
204204
SignCertificateResponse result = apiInstance.signCertificate(collectionId, body);
205205
System.out.println(result);
@@ -219,7 +219,7 @@ public class Example {
219219
| Name | Type | Description | Notes |
220220
|------------- | ------------- | ------------- | -------------|
221221
| **collectionId** | **String**| | |
222-
| **body** | [**SignCertificateRequest**](SignCertificateRequest.md)| | |
222+
| **body** | [**SignCertificateBody**](SignCertificateBody.md)| | |
223223

224224
### Return type
225225

@@ -277,7 +277,7 @@ public class Example {
277277

278278
CertificatesApi apiInstance = new CertificatesApi(defaultClient);
279279
String collectionId = "collectionId_example"; // String |
280-
VerifyCertificateRequest body = new VerifyCertificateRequest(); // VerifyCertificateRequest |
280+
VerifyCertificateBody body = new VerifyCertificateBody(); // VerifyCertificateBody |
281281
try {
282282
VerifyCertificateResponse result = apiInstance.verifyCertificate(collectionId, body);
283283
System.out.println(result);
@@ -297,7 +297,7 @@ public class Example {
297297
| Name | Type | Description | Notes |
298298
|------------- | ------------- | ------------- | -------------|
299299
| **collectionId** | **String**| | |
300-
| **body** | [**VerifyCertificateRequest**](VerifyCertificateRequest.md)| | |
300+
| **body** | [**VerifyCertificateBody**](VerifyCertificateBody.md)| | |
301301

302302
### Return type
303303

Diff for: docs/Collection.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ This is a collection
1414
|**tags** | **Map<String, String>** | Tags for the collection. Tags are metadata fields that you can assign to the collection. | [optional] |
1515
|**upstreamTimestamps** | **List<String>** | | [optional] |
1616
|**downstreamTimestamps** | **List<String>** | | [optional] |
17+
|**enabled** | **Boolean** | Disabled flag for collection. If the collection is disabled it is in effect read only and inactive. You can't update a disabled collection. | [optional] |
1718

1819

1920

Diff for: docs/CollectionsApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ public class Example {
508508

509509
CollectionsApi apiInstance = new CollectionsApi(defaultClient);
510510
String collectionId = "collectionId_example"; // String | The ID of the collection. This is assigned by the backend.
511-
UpdateCollectionRequest body = new UpdateCollectionRequest(); // UpdateCollectionRequest |
511+
UpdateCollectionBody body = new UpdateCollectionBody(); // UpdateCollectionBody |
512512
try {
513513
Collection result = apiInstance.updateCollection(collectionId, body);
514514
System.out.println(result);
@@ -528,7 +528,7 @@ public class Example {
528528
| Name | Type | Description | Notes |
529529
|------------- | ------------- | ------------- | -------------|
530530
| **collectionId** | **String**| The ID of the collection. This is assigned by the backend. | |
531-
| **body** | [**UpdateCollectionRequest**](UpdateCollectionRequest.md)| | |
531+
| **body** | [**UpdateCollectionBody**](UpdateCollectionBody.md)| | |
532532

533533
### Return type
534534

Diff for: docs/CreateCertificateRequest.md renamed to docs/CreateCertificateBody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# CreateCertificateRequest
3+
# CreateCertificateBody
44

55
Request object to create a new certificate.
66

Diff for: docs/CreateDeviceRequest.md renamed to docs/CreateDeviceBody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# CreateDeviceRequest
3+
# CreateDeviceBody
44

55
Request object to create new devices
66

Diff for: docs/CreateFirmwareRequest.md renamed to docs/CreateFirmwareBody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# CreateFirmwareRequest
3+
# CreateFirmwareBody
44

55
Create a new firmware image
66

Diff for: docs/CreateGatewayRequest.md renamed to docs/CreateGatewayBody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# CreateGatewayRequest
3+
# CreateGatewayBody
44

55

66
## Properties

Diff for: docs/CreateOutputRequest.md renamed to docs/CreateOutputBody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# CreateOutputRequest
3+
# CreateOutputBody
44

55
Request type when creating new outputs
66

Diff for: docs/Device.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This a device
1818
|**lastTransport** | **MessageTransport** | | [optional] |
1919
|**lastReceived** | **String** | | [optional] |
2020
|**lastPayload** | **byte[]** | | [optional] |
21+
|**enabled** | **Boolean** | | [optional] |
2122

2223

2324

Diff for: docs/DevicesApi.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class Example {
5050
DevicesApi apiInstance = new DevicesApi(defaultClient);
5151
String collectionId = "collectionId_example"; // String |
5252
String deviceId = "deviceId_example"; // String |
53-
AddDownstreamMessageRequest body = new AddDownstreamMessageRequest(); // AddDownstreamMessageRequest |
53+
AddDownstreamMessageBody body = new AddDownstreamMessageBody(); // AddDownstreamMessageBody |
5454
try {
5555
MessageDownstream result = apiInstance.addDownstreamMessage(collectionId, deviceId, body);
5656
System.out.println(result);
@@ -71,7 +71,7 @@ public class Example {
7171
|------------- | ------------- | ------------- | -------------|
7272
| **collectionId** | **String**| | |
7373
| **deviceId** | **String**| | |
74-
| **body** | [**AddDownstreamMessageRequest**](AddDownstreamMessageRequest.md)| | |
74+
| **body** | [**AddDownstreamMessageBody**](AddDownstreamMessageBody.md)| | |
7575

7676
### Return type
7777

@@ -127,7 +127,7 @@ public class Example {
127127

128128
DevicesApi apiInstance = new DevicesApi(defaultClient);
129129
String collectionId = "collectionId_example"; // String | This is the containing collection
130-
CreateDeviceRequest body = new CreateDeviceRequest(); // CreateDeviceRequest |
130+
CreateDeviceBody body = new CreateDeviceBody(); // CreateDeviceBody |
131131
try {
132132
Device result = apiInstance.createDevice(collectionId, body);
133133
System.out.println(result);
@@ -147,7 +147,7 @@ public class Example {
147147
| Name | Type | Description | Notes |
148148
|------------- | ------------- | ------------- | -------------|
149149
| **collectionId** | **String**| This is the containing collection | |
150-
| **body** | [**CreateDeviceRequest**](CreateDeviceRequest.md)| | |
150+
| **body** | [**CreateDeviceBody**](CreateDeviceBody.md)| | |
151151

152152
### Return type
153153

@@ -922,7 +922,7 @@ public class Example {
922922
DevicesApi apiInstance = new DevicesApi(defaultClient);
923923
String existingCollectionId = "existingCollectionId_example"; // String |
924924
String deviceId = "deviceId_example"; // String |
925-
UpdateDeviceRequest body = new UpdateDeviceRequest(); // UpdateDeviceRequest |
925+
UpdateDeviceBody body = new UpdateDeviceBody(); // UpdateDeviceBody |
926926
try {
927927
Device result = apiInstance.updateDevice(existingCollectionId, deviceId, body);
928928
System.out.println(result);
@@ -943,7 +943,7 @@ public class Example {
943943
|------------- | ------------- | ------------- | -------------|
944944
| **existingCollectionId** | **String**| | |
945945
| **deviceId** | **String**| | |
946-
| **body** | [**UpdateDeviceRequest**](UpdateDeviceRequest.md)| | |
946+
| **body** | [**UpdateDeviceBody**](UpdateDeviceBody.md)| | |
947947

948948
### Return type
949949

Diff for: docs/Firmware.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Firmware images aren't served back out through the API, only the metadata.
1616
|**collectionId** | **String** | Collection ID for the collection owning the firmware image. | [optional] |
1717
|**created** | **String** | | [optional] |
1818
|**tags** | **Map<String, String>** | Tags for firmware image. | [optional] |
19+
|**enabled** | **Boolean** | | [optional] |
1920

2021

2122

Diff for: docs/FotaApi.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public class Example {
121121

122122
FotaApi apiInstance = new FotaApi(defaultClient);
123123
String collectionId = "collectionId_example"; // String |
124-
CreateFirmwareRequest body = new CreateFirmwareRequest(); // CreateFirmwareRequest |
124+
CreateFirmwareBody body = new CreateFirmwareBody(); // CreateFirmwareBody |
125125
try {
126126
Firmware result = apiInstance.createFirmware(collectionId, body);
127127
System.out.println(result);
@@ -141,7 +141,7 @@ public class Example {
141141
| Name | Type | Description | Notes |
142142
|------------- | ------------- | ------------- | -------------|
143143
| **collectionId** | **String**| | |
144-
| **body** | [**CreateFirmwareRequest**](CreateFirmwareRequest.md)| | |
144+
| **body** | [**CreateFirmwareBody**](CreateFirmwareBody.md)| | |
145145

146146
### Return type
147147

@@ -578,7 +578,7 @@ public class Example {
578578
FotaApi apiInstance = new FotaApi(defaultClient);
579579
String existingCollectionId = "existingCollectionId_example"; // String |
580580
String imageId = "imageId_example"; // String |
581-
UpdateFirmwareRequest body = new UpdateFirmwareRequest(); // UpdateFirmwareRequest |
581+
UpdateFirmwareBody body = new UpdateFirmwareBody(); // UpdateFirmwareBody |
582582
try {
583583
Firmware result = apiInstance.updateFirmware(existingCollectionId, imageId, body);
584584
System.out.println(result);
@@ -599,7 +599,7 @@ public class Example {
599599
|------------- | ------------- | ------------- | -------------|
600600
| **existingCollectionId** | **String**| | |
601601
| **imageId** | **String**| | |
602-
| **body** | [**UpdateFirmwareRequest**](UpdateFirmwareRequest.md)| | |
602+
| **body** | [**UpdateFirmwareBody**](UpdateFirmwareBody.md)| | |
603603

604604
### Return type
605605

Diff for: docs/Gateway.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ A gateway is a connection between devices and Span
1616
|**config** | [**GatewayConfig**](GatewayConfig.md) | | [optional] |
1717
|**tags** | **Map<String, String>** | | [optional] |
1818
|**status** | **GatewayStatus** | | [optional] |
19+
|**enabled** | **Boolean** | | [optional] |
1920

2021

2122

Diff for: docs/GatewaysApi.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class Example {
4444

4545
GatewaysApi apiInstance = new GatewaysApi(defaultClient);
4646
String collectionId = "collectionId_example"; // String |
47-
CreateGatewayRequest body = new CreateGatewayRequest(); // CreateGatewayRequest |
47+
CreateGatewayBody body = new CreateGatewayBody(); // CreateGatewayBody |
4848
try {
4949
Gateway result = apiInstance.createGateway(collectionId, body);
5050
System.out.println(result);
@@ -64,7 +64,7 @@ public class Example {
6464
| Name | Type | Description | Notes |
6565
|------------- | ------------- | ------------- | -------------|
6666
| **collectionId** | **String**| | |
67-
| **body** | [**CreateGatewayRequest**](CreateGatewayRequest.md)| | |
67+
| **body** | [**CreateGatewayBody**](CreateGatewayBody.md)| | |
6868

6969
### Return type
7070

@@ -509,7 +509,7 @@ public class Example {
509509
GatewaysApi apiInstance = new GatewaysApi(defaultClient);
510510
String existingCollectionId = "existingCollectionId_example"; // String |
511511
String gatewayId = "gatewayId_example"; // String |
512-
UpdateGatewayRequest body = new UpdateGatewayRequest(); // UpdateGatewayRequest |
512+
UpdateGatewayBody body = new UpdateGatewayBody(); // UpdateGatewayBody |
513513
try {
514514
Gateway result = apiInstance.updateGateway(existingCollectionId, gatewayId, body);
515515
System.out.println(result);
@@ -530,7 +530,7 @@ public class Example {
530530
|------------- | ------------- | ------------- | -------------|
531531
| **existingCollectionId** | **String**| | |
532532
| **gatewayId** | **String**| | |
533-
| **body** | [**UpdateGatewayRequest**](UpdateGatewayRequest.md)| | |
533+
| **body** | [**UpdateGatewayBody**](UpdateGatewayBody.md)| | |
534534

535535
### Return type
536536

Diff for: docs/OutputsApi.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class Example {
4343

4444
OutputsApi apiInstance = new OutputsApi(defaultClient);
4545
String collectionId = "collectionId_example"; // String |
46-
CreateOutputRequest body = new CreateOutputRequest(); // CreateOutputRequest |
46+
CreateOutputBody body = new CreateOutputBody(); // CreateOutputBody |
4747
try {
4848
Output result = apiInstance.createOutput(collectionId, body);
4949
System.out.println(result);
@@ -63,7 +63,7 @@ public class Example {
6363
| Name | Type | Description | Notes |
6464
|------------- | ------------- | ------------- | -------------|
6565
| **collectionId** | **String**| | |
66-
| **body** | [**CreateOutputRequest**](CreateOutputRequest.md)| | |
66+
| **body** | [**CreateOutputBody**](CreateOutputBody.md)| | |
6767

6868
### Return type
6969

@@ -574,7 +574,7 @@ public class Example {
574574
OutputsApi apiInstance = new OutputsApi(defaultClient);
575575
String existingCollectionId = "existingCollectionId_example"; // String |
576576
String outputId = "outputId_example"; // String |
577-
UpdateOutputRequest body = new UpdateOutputRequest(); // UpdateOutputRequest |
577+
UpdateOutputBody body = new UpdateOutputBody(); // UpdateOutputBody |
578578
try {
579579
Output result = apiInstance.updateOutput(existingCollectionId, outputId, body);
580580
System.out.println(result);
@@ -595,7 +595,7 @@ public class Example {
595595
|------------- | ------------- | ------------- | -------------|
596596
| **existingCollectionId** | **String**| | |
597597
| **outputId** | **String**| | |
598-
| **body** | [**UpdateOutputRequest**](UpdateOutputRequest.md)| | |
598+
| **body** | [**UpdateOutputBody**](UpdateOutputBody.md)| | |
599599

600600
### Return type
601601

Diff for: docs/Status.md renamed to docs/RpcStatus.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# Status
3+
# RpcStatus
44

55

66
## Properties

Diff for: docs/SignCertificateRequest.md renamed to docs/SignCertificateBody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# SignCertificateRequest
3+
# SignCertificateBody
44

55
Request certificate signing
66

Diff for: docs/UpdateCollectionRequest.md renamed to docs/UpdateCollectionBody.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# UpdateCollectionRequest
3+
# UpdateCollectionBody
44

55
Request object when updating a collection
66

@@ -11,6 +11,7 @@ Request object when updating a collection
1111
|**teamId** | **String** | The team ID that owns the collection. This field is required. When you create new collections the default is to use your private team ID. | [optional] |
1212
|**firmware** | [**CollectionFirmware**](CollectionFirmware.md) | | [optional] |
1313
|**tags** | **Map<String, String>** | Tags for the collection. Tags are metadata fields that you can assign to the collection. | [optional] |
14+
|**enabled** | **Boolean** | Enabled flag for the collection. A collection may be disabled or enabled to save time. | [optional] |
1415

1516

1617

Diff for: docs/UpdateDeviceRequest.md renamed to docs/UpdateDeviceBody.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# UpdateDeviceRequest
3+
# UpdateDeviceBody
44

55
Updating the device
66

@@ -12,6 +12,7 @@ Updating the device
1212
|**tags** | **Map<String, String>** | Tags are metadata for the device that you can set. These are just strings. | [optional] |
1313
|**firmware** | [**FirmwareMetadata**](FirmwareMetadata.md) | | [optional] |
1414
|**config** | [**DeviceConfig**](DeviceConfig.md) | | [optional] |
15+
|**enabled** | **Boolean** | | [optional] |
1516

1617

1718

Diff for: docs/UpdateFirmwareRequest.md renamed to docs/UpdateFirmwareBody.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# UpdateFirmwareRequest
3+
# UpdateFirmwareBody
44

55
This is the request object when updating the firmware image
66

@@ -11,6 +11,7 @@ This is the request object when updating the firmware image
1111
|**collectionId** | **String** | | [optional] |
1212
|**version** | **String** | | [optional] |
1313
|**tags** | **Map<String, String>** | | [optional] |
14+
|**enabled** | **Boolean** | | [optional] |
1415

1516

1617

0 commit comments

Comments
 (0)