You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -136,12 +137,69 @@ export default class DevicesV2Api {
136
137
}
137
138
138
139
140
+
/**
141
+
* getEvents devices_v2
142
+
* GET device events
143
+
* @param {String} id The id of the device
144
+
* @param {Object} opts Optional parameters
145
+
* @param {Number} opts.limit The number of events to select
146
+
* @param {String} opts.start The time at which to start selecting events
147
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDevicev2EventProperties} and HTTP response
148
+
*/
149
+
devicesV2GetEventsWithHttpInfo(id,opts){
150
+
opts=opts||{};
151
+
letpostBody=null;
152
+
// verify the required parameter 'id' is set
153
+
if(id===undefined||id===null){
154
+
thrownewError("Missing the required parameter 'id' when calling devicesV2GetEvents");
* @param {Boolean} opts.showDeleted If true, shows the soft deleted properties (default to false)
202
+
* @param {Boolean} opts.showDeleted If true, shows the soft deleted properties
145
203
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDevicev2properties} and HTTP response
146
204
*/
147
205
devicesV2GetPropertiesWithHttpInfo(id,opts){
@@ -165,7 +223,7 @@ export default class DevicesV2Api {
@@ -179,7 +237,7 @@ export default class DevicesV2Api {
179
237
* GET device properties
180
238
* @param {String} id The id of the device
181
239
* @param {Object} opts Optional parameters
182
-
* @param {Boolean} opts.showDeleted If true, shows the soft deleted properties (default to false)
240
+
* @param {Boolean} opts.showDeleted If true, shows the soft deleted properties
183
241
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDevicev2properties}
184
242
*/
185
243
devicesV2GetProperties(id,opts){
@@ -194,7 +252,7 @@ export default class DevicesV2Api {
194
252
* list devices_v2
195
253
* Returns the list of devices associated to the user
196
254
* @param {Object} opts Optional parameters
197
-
* @param {Boolean} opts.acrossUserIds If true, returns all the devices (default to false)
255
+
* @param {Boolean} opts.acrossUserIds If true, returns all the devices
198
256
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ArduinoDevicev2>} and HTTP response
199
257
*/
200
258
devicesV2ListWithHttpInfo(opts){
@@ -213,7 +271,7 @@ export default class DevicesV2Api {
@@ -142,7 +142,7 @@ export default class PropertiesV2Api {
142
142
* @param {String} id The id of the thing
143
143
* @param {String} pid The id of the property
144
144
* @param {Object} opts Optional parameters
145
-
* @param {Boolean} opts.force If true, hard delete the property (default to false)
145
+
* @param {Boolean} opts.force If true, hard delete the property
146
146
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
147
147
*/
148
148
propertiesV2Delete(id,pid,opts){
@@ -158,7 +158,7 @@ export default class PropertiesV2Api {
158
158
* Returns the list of properties associated to the thing
159
159
* @param {String} id The id of the thing
160
160
* @param {Object} opts Optional parameters
161
-
* @param {Boolean} opts.showDeleted If true, shows the soft deleted properties (default to false)
161
+
* @param {Boolean} opts.showDeleted If true, shows the soft deleted properties
162
162
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ArduinoProperty>} and HTTP response
163
163
*/
164
164
propertiesV2ListWithHttpInfo(id,opts){
@@ -182,7 +182,7 @@ export default class PropertiesV2Api {
@@ -274,7 +274,7 @@ export default class PropertiesV2Api {
274
274
* @param {String} id The id of the thing
275
275
* @param {String} pid The id of the property
276
276
* @param {Object} opts Optional parameters
277
-
* @param {Boolean} opts.showDeleted If true, shows the soft deleted properties (default to false)
277
+
* @param {Boolean} opts.showDeleted If true, shows the soft deleted properties
278
278
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoProperty} and HTTP response
279
279
*/
280
280
propertiesV2ShowWithHttpInfo(id,pid,opts){
@@ -303,7 +303,7 @@ export default class PropertiesV2Api {
0 commit comments