Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit 04bfd02

Browse files
committed
PATCH: zone name is no more required
1 parent 57355e3 commit 04bfd02

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

docs/Zone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **Number** | | [optional]
8-
**name** | **String** | |
8+
**name** | **String** | | [optional]
99
**uuid** | **String** | |
1010
**zones** | [**[Zone]**](Zone.md) | | [optional]
1111
**parentId** | **Number** | | [optional]

src/model/Zone.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,19 @@ class Zone {
2323
/**
2424
* Constructs a new <code>Zone</code>.
2525
* @alias module:model/Zone
26-
* @param name {String}
2726
* @param uuid {String}
2827
*/
29-
constructor(name, uuid) {
28+
constructor(uuid) {
3029

31-
Zone.initialize(this, name, uuid);
30+
Zone.initialize(this, uuid);
3231
}
3332

3433
/**
3534
* Initializes the fields of this object.
3635
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
3736
* Only for internal use.
3837
*/
39-
static initialize(obj, name, uuid) {
40-
obj['name'] = name;
38+
static initialize(obj, uuid) {
4139
obj['uuid'] = uuid;
4240
}
4341

0 commit comments

Comments
 (0)