Skip to content

Commit

Permalink
docs: Update required parameters for a Blues device (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
paigen11 authored Feb 12, 2024
2 parents 0183991 + cd8e8b1 commit 1451dd0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
1 change: 0 additions & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2706,7 +2706,6 @@ components:
type: boolean
required:
- uid
- serial_number
- provisioned
- product_uid
- fleet_uids
Expand Down
2 changes: 1 addition & 1 deletion src/docs/Device.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
| Name | Type | Description | Notes |
| ------------------------ | ----------------------------------------- | ----------- | ---------- |
| **uid** | **String** | |
| **serialNumber** | **String** | |
| **serialNumber** | **String** | | [optional] |
| **provisioned** | **Date** | |
| **lastActivity** | **Date** | | [optional] |
| **contact** | [**Contact**](Contact.md) | | [optional] |
Expand Down
15 changes: 1 addition & 14 deletions src/src/model/Device.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,16 @@ class Device {
* Constructs a new <code>Device</code>.
* @alias module:model/Device
* @param uid {String}
* @param serialNumber {String}
* @param provisioned {Date}
* @param productUid {String}
* @param fleetUids {Array.<String>}
* @param voltage {Number}
* @param temperature {Number}
*/
constructor(
uid,
serialNumber,
provisioned,
productUid,
fleetUids,
voltage,
temperature
) {
constructor(uid, provisioned, productUid, fleetUids, voltage, temperature) {
Device.initialize(
this,
uid,
serialNumber,
provisioned,
productUid,
fleetUids,
Expand All @@ -63,15 +53,13 @@ class Device {
static initialize(
obj,
uid,
serialNumber,
provisioned,
productUid,
fleetUids,
voltage,
temperature
) {
obj["uid"] = uid;
obj["serial_number"] = serialNumber;
obj["provisioned"] = provisioned;
obj["product_uid"] = productUid;
obj["fleet_uids"] = fleetUids;
Expand Down Expand Up @@ -276,7 +264,6 @@ class Device {

Device.RequiredProperties = [
"uid",
"serial_number",
"provisioned",
"product_uid",
"fleet_uids",
Expand Down

0 comments on commit 1451dd0

Please sign in to comment.