Skip to content

Commit 6523403

Browse files
author
Fabrizio Mirabito
authored
Regenerate client from commit bdf4410 of spec repo (#9)
1 parent 6fbf191 commit 6523403

10 files changed

+450
-671
lines changed

.apigentools-info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"codegen_version": "4.1.1",
55
"info_version": "1",
66
"image": null,
7-
"spec_repo_commit": "92e0697"
7+
"spec_repo_commit": "bdf4410"
88
}

api/openapi.yaml

Lines changed: 392 additions & 653 deletions
Large diffs are not rendered by default.

api_properties_v1.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/ArduinoSeriesBatch.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**RespVersion** | **int64** | Response version |
78
**Responses** | [**[]ArduinoSeriesResponse**](ArduinoSeriesResponse.md) | Responses of the request |
89

910
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/ArduinoSeriesResponse.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**CountValues** | **int64** | Total number of values in the array 'values' |
78
**FromDate** | [**time.Time**](time.Time.md) | From date |
89
**Interval** | **int64** | Resolution in seconds |
10+
**Message** | **string** | If the response is different than 'ok' | [optional] [default to ]
911
**Query** | **string** | Query of for the data |
1012
**RespVersion** | **int64** | Response version |
11-
**Series** | [**[]BatchQueryResponseSeriesMediaV1**](BatchQueryResponseSeriesMediaV1.md) | Series information |
13+
**SeriesLimit** | **int64** | Max of values | [optional]
1214
**Status** | **string** | Status of the response |
1315
**Times** | [**[]time.Time**](time.Time.md) | Timestamp in RFC3339 |
1416
**ToDate** | [**time.Time**](time.Time.md) | To date |
15-
**Values** | [**[][]float64**](array.md) | Values in Float |
17+
**Values** | **[]float64** | Values in Float |
1618

1719
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1820

docs/PropertiesV1Api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Method | HTTP request | Description
77
[**PropertiesV1Create**](PropertiesV1Api.md#PropertiesV1Create) | **Put** /v1/things/{id}/properties | create properties_v1
88
[**PropertiesV1Delete**](PropertiesV1Api.md#PropertiesV1Delete) | **Delete** /v1/things/{id}/properties/{pid} | delete properties_v1
99
[**PropertiesV1List**](PropertiesV1Api.md#PropertiesV1List) | **Get** /v1/things/{id}/properties | list properties_v1
10-
[**PropertiesV1Publish**](PropertiesV1Api.md#PropertiesV1Publish) | **Put** /v1/things/{id}/properties/{pid}/publish | publish properties_v1
10+
[**PropertiesV1Send**](PropertiesV1Api.md#PropertiesV1Send) | **Put** /v1/things/{id}/properties/{pid}/send | send properties_v1
1111
[**PropertiesV1Show**](PropertiesV1Api.md#PropertiesV1Show) | **Get** /v1/things/{id}/properties/{pid} | show properties_v1
1212
[**PropertiesV1Update**](PropertiesV1Api.md#PropertiesV1Update) | **Post** /v1/things/{id}/properties/{pid} | update properties_v1
1313

@@ -137,12 +137,12 @@ Name | Type | Description | Notes
137137
[[Back to README]](../README.md)
138138

139139

140-
## PropertiesV1Publish
140+
## PropertiesV1Send
141141

142-
> PropertiesV1Publish(ctx, id, pid, propertyValue)
143-
publish properties_v1
142+
> PropertiesV1Send(ctx, id, pid, propertyStringValue)
143+
send properties_v1
144144

145-
Publish a property value to MQTT
145+
Publish a property value to MQTT, as string
146146

147147
### Required Parameters
148148

@@ -152,7 +152,7 @@ Name | Type | Description | Notes
152152
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
153153
**id** | **string**| The id of the thing |
154154
**pid** | **string**| The id of the property |
155-
**propertyValue** | [**PropertyValue**](PropertyValue.md)| PropertyValuePayload describes a property value |
155+
**propertyStringValue** | [**PropertyStringValue**](PropertyStringValue.md)| PropertyStringValuePayload describes a property value |
156156

157157
### Return type
158158

docs/PropertyStringValue.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# PropertyStringValue
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**DeviceId** | **string** | The device who send the property | [optional]
8+
**Value** | **string** | The property value, as string |
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

model_arduino_series_batch.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

model_arduino_series_response.go

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

model_property_string_value.go

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)