Skip to content

Commit 0b95a41

Browse files
author
Lab5e Release Bot
committed
Span release 4.7.0
1 parent 287127d commit 0b95a41

File tree

198 files changed

+296
-288
lines changed

Some content is hidden

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

198 files changed

+296
-288
lines changed

api/openapi.yaml

+10-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ info:
66
url: https://lab5e.com
77
description: "API for device, collection, output and firmware management"
88
title: The Span API
9-
version: 4.6.1 squirming-codi
9+
version: 4.7.0 actionable-aryanna
1010
servers:
1111
- url: https://api.lab5e.com/
1212
security:
@@ -3172,6 +3172,10 @@ paths:
31723172
configuration blocks are deleted. If the configuration block contains a
31733173
gateway ID it will be updated with the new values. All values must be
31743174
submitted in the request.
3175+
If a device is moved out of the collection and it references a gateway in
3176+
the configuration the operation will fail. Devices that are moved from one
3177+
collection to another and references gateway configurations must be updated
3178+
before they are moved.
31753179
operationId: UpdateDevice
31763180
parameters:
31773181
- in: path
@@ -3325,7 +3329,11 @@ paths:
33253329
x-accepts: application/json
33263330
/span/collections/{existingCollectionId}/gateways/{gatewayId}:
33273331
patch:
3328-
description: Update a gateway in Span
3332+
description: |-
3333+
Update configuration for a gateway. If you want to remove or move a gateway
3334+
from the collection the devices in the collection must not have any gateway
3335+
configuration. The certificates for the gateway are unchanged when the
3336+
gateway is moved.
33293337
operationId: UpdateGateway
33303338
parameters:
33313339
- in: path

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.6.1'
7+
version = '4.7.0'
88

99
buildscript {
1010
repositories {

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.6.1",
5+
version := "4.7.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/DevicesApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ public class Example {
896896
897897
Update device
898898

899-
The device can be moved from one collection to another by setting the collection ID field to the new collection. You must have administrative access to both collections. A note on gateway configurations: Empty gateway configuration blocks are deleted. If the configuration block contains a gateway ID it will be updated with the new values. All values must be submitted in the request.
899+
The device can be moved from one collection to another by setting the collection ID field to the new collection. You must have administrative access to both collections. A note on gateway configurations: Empty gateway configuration blocks are deleted. If the configuration block contains a gateway ID it will be updated with the new values. All values must be submitted in the request. If a device is moved out of the collection and it references a gateway in the configuration the operation will fail. Devices that are moved from one collection to another and references gateway configurations must be updated before they are moved.
900900

901901
### Example
902902
```java

docs/GatewaysApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ public class Example {
483483
484484
Update gateway
485485

486-
Update a gateway in Span
486+
Update configuration for a gateway. If you want to remove or move a gateway from the collection the devices in the collection must not have any gateway configuration. The certificates for the gateway are unchanged when the gateway is moved.
487487

488488
### Example
489489
```java

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>span-java-client</artifactId>
66
<packaging>jar</packaging>
77
<name>span-java-client</name>
8-
<version>4.6.1</version>
8+
<version>4.7.0</version>
99
<url>https://github.com/lab5e/java-spanapi</url>
1010
<description>Span API Client</description>
1111
<scm>

src/main/java/com/lab5e/ApiCallback.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/ApiClient.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -140,7 +140,7 @@ private void init() {
140140
json = new JSON();
141141

142142
// Set default User-Agent.
143-
setUserAgent("OpenAPI-Generator/4.6.1/java");
143+
setUserAgent("OpenAPI-Generator/4.7.0/java");
144144

145145
authentications = new HashMap<String, Authentication>();
146146
}

src/main/java/com/lab5e/ApiException.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@
2222
* <p>ApiException class.</p>
2323
*/
2424
@SuppressWarnings("serial")
25-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-16T10:54:11.293559Z[Etc/UTC]")
25+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-11T10:44:29.931093Z[Etc/UTC]")
2626
public class ApiException extends Exception {
2727
private int code = 0;
2828
private Map<String, List<String>> responseHeaders = null;

src/main/java/com/lab5e/ApiResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/Configuration.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,7 +13,7 @@
1313

1414
package com.lab5e;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-16T10:54:11.293559Z[Etc/UTC]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-11T10:44:29.931093Z[Etc/UTC]")
1717
public class Configuration {
1818
private static ApiClient defaultApiClient = new ApiClient();
1919

src/main/java/com/lab5e/GzipRequestInterceptor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/JSON.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/Pair.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,7 +13,7 @@
1313

1414
package com.lab5e;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-16T10:54:11.293559Z[Etc/UTC]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-11T10:44:29.931093Z[Etc/UTC]")
1717
public class Pair {
1818
private String name = "";
1919
private String value = "";

src/main/java/com/lab5e/ProgressRequestBody.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/ProgressResponseBody.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/StringUtil.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@
1616
import java.util.Collection;
1717
import java.util.Iterator;
1818

19-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-16T10:54:11.293559Z[Etc/UTC]")
19+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-11T10:44:29.931093Z[Etc/UTC]")
2020
public class StringUtil {
2121
/**
2222
* Check if the given array contains the given value (with case-insensitive comparison).

src/main/java/com/lab5e/auth/ApiKeyAuth.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,7 +20,7 @@
2020
import java.util.Map;
2121
import java.util.List;
2222

23-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-16T10:54:11.293559Z[Etc/UTC]")
23+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-11T10:44:29.931093Z[Etc/UTC]")
2424
public class ApiKeyAuth implements Authentication {
2525
private final String location;
2626
private final String paramName;

src/main/java/com/lab5e/auth/Authentication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/auth/HttpBasicAuth.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/auth/HttpBearerAuth.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,7 +20,7 @@
2020
import java.util.Map;
2121
import java.util.List;
2222

23-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-16T10:54:11.293559Z[Etc/UTC]")
23+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-11T10:44:29.931093Z[Etc/UTC]")
2424
public class HttpBearerAuth implements Authentication {
2525
private final String scheme;
2626
private String bearerToken;

src/main/java/com/lab5e/span/BlobsApi.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/span/CertificatesApi.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/span/CollectionsApi.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/span/DevicesApi.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2053,7 +2053,7 @@ private okhttp3.Call updateDeviceValidateBeforeCall(String existingCollectionId,
20532053

20542054
/**
20552055
* Update device
2056-
* The device can be moved from one collection to another by setting the collection ID field to the new collection. You must have administrative access to both collections. A note on gateway configurations: Empty gateway configuration blocks are deleted. If the configuration block contains a gateway ID it will be updated with the new values. All values must be submitted in the request.
2056+
* The device can be moved from one collection to another by setting the collection ID field to the new collection. You must have administrative access to both collections. A note on gateway configurations: Empty gateway configuration blocks are deleted. If the configuration block contains a gateway ID it will be updated with the new values. All values must be submitted in the request. If a device is moved out of the collection and it references a gateway in the configuration the operation will fail. Devices that are moved from one collection to another and references gateway configurations must be updated before they are moved.
20572057
* @param existingCollectionId (required)
20582058
* @param deviceId (required)
20592059
* @param body (required)
@@ -2079,7 +2079,7 @@ public Device updateDevice(String existingCollectionId, String deviceId, UpdateD
20792079

20802080
/**
20812081
* Update device
2082-
* The device can be moved from one collection to another by setting the collection ID field to the new collection. You must have administrative access to both collections. A note on gateway configurations: Empty gateway configuration blocks are deleted. If the configuration block contains a gateway ID it will be updated with the new values. All values must be submitted in the request.
2082+
* The device can be moved from one collection to another by setting the collection ID field to the new collection. You must have administrative access to both collections. A note on gateway configurations: Empty gateway configuration blocks are deleted. If the configuration block contains a gateway ID it will be updated with the new values. All values must be submitted in the request. If a device is moved out of the collection and it references a gateway in the configuration the operation will fail. Devices that are moved from one collection to another and references gateway configurations must be updated before they are moved.
20832083
* @param existingCollectionId (required)
20842084
* @param deviceId (required)
20852085
* @param body (required)
@@ -2106,7 +2106,7 @@ public ApiResponse<Device> updateDeviceWithHttpInfo(String existingCollectionId,
21062106

21072107
/**
21082108
* Update device (asynchronously)
2109-
* The device can be moved from one collection to another by setting the collection ID field to the new collection. You must have administrative access to both collections. A note on gateway configurations: Empty gateway configuration blocks are deleted. If the configuration block contains a gateway ID it will be updated with the new values. All values must be submitted in the request.
2109+
* The device can be moved from one collection to another by setting the collection ID field to the new collection. You must have administrative access to both collections. A note on gateway configurations: Empty gateway configuration blocks are deleted. If the configuration block contains a gateway ID it will be updated with the new values. All values must be submitted in the request. If a device is moved out of the collection and it references a gateway in the configuration the operation will fail. Devices that are moved from one collection to another and references gateway configurations must be updated before they are moved.
21102110
* @param existingCollectionId (required)
21112111
* @param deviceId (required)
21122112
* @param body (required)

src/main/java/com/lab5e/span/FotaApi.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/span/GatewaysApi.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1126,7 +1126,7 @@ private okhttp3.Call updateGatewayValidateBeforeCall(String existingCollectionId
11261126

11271127
/**
11281128
* Update gateway
1129-
* Update a gateway in Span
1129+
* Update configuration for a gateway. If you want to remove or move a gateway from the collection the devices in the collection must not have any gateway configuration. The certificates for the gateway are unchanged when the gateway is moved.
11301130
* @param existingCollectionId (required)
11311131
* @param gatewayId (required)
11321132
* @param body (required)
@@ -1152,7 +1152,7 @@ public Gateway updateGateway(String existingCollectionId, String gatewayId, Upda
11521152

11531153
/**
11541154
* Update gateway
1155-
* Update a gateway in Span
1155+
* Update configuration for a gateway. If you want to remove or move a gateway from the collection the devices in the collection must not have any gateway configuration. The certificates for the gateway are unchanged when the gateway is moved.
11561156
* @param existingCollectionId (required)
11571157
* @param gatewayId (required)
11581158
* @param body (required)
@@ -1179,7 +1179,7 @@ public ApiResponse<Gateway> updateGatewayWithHttpInfo(String existingCollectionI
11791179

11801180
/**
11811181
* Update gateway (asynchronously)
1182-
* Update a gateway in Span
1182+
* Update configuration for a gateway. If you want to remove or move a gateway from the collection the devices in the collection must not have any gateway configuration. The certificates for the gateway are unchanged when the gateway is moved.
11831183
* @param existingCollectionId (required)
11841184
* @param gatewayId (required)
11851185
* @param body (required)

src/main/java/com/lab5e/span/OutputsApi.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)