Skip to content
This repository was archived by the owner on Apr 14, 2024. It is now read-only.

Commit 68188c2

Browse files
committed
Look for details in API documentation's changelog
1 parent cdc6880 commit 68188c2

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

docs/ListpresentationRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ Name | Type | Description | Notes
1010
**a_sColumnName** | **[String]** | An array of column names that the user chose to bee visible |
1111
**iListpresentationRowMax** | **Number** | The maximum numbers of results to be returned |
1212
**iListpresentationRowOffset** | **Number** | The starting element from where to start retrieving the results. For example if you started at iRowOffset=0 and asked for iRowMax=100, to get the next 100 results, you could specify iRowOffset=100&iRowMax=100, |
13+
**bListpresentationDefault** | **Boolean** | Set to true if the user chose this Listpresentation as the default one. A single element should be set to true |
1314

1415

src/eZmaxAPI/model/ListpresentationRequest.js

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,26 @@ class ListpresentationRequest {
2929
* @param a_sColumnName {Array.<String>} An array of column names that the user chose to bee visible
3030
* @param iListpresentationRowMax {Number} The maximum numbers of results to be returned
3131
* @param iListpresentationRowOffset {Number} The starting element from where to start retrieving the results. For example if you started at iRowOffset=0 and asked for iRowMax=100, to get the next 100 results, you could specify iRowOffset=100&iRowMax=100,
32+
* @param bListpresentationDefault {Boolean} Set to true if the user chose this Listpresentation as the default one. A single element should be set to true
3233
*/
33-
constructor(sListpresentationDescription, sListpresentationFilter, sListpresentationOrderby, a_sColumnName, iListpresentationRowMax, iListpresentationRowOffset) {
34+
constructor(sListpresentationDescription, sListpresentationFilter, sListpresentationOrderby, a_sColumnName, iListpresentationRowMax, iListpresentationRowOffset, bListpresentationDefault) {
3435

35-
ListpresentationRequest.initialize(this, sListpresentationDescription, sListpresentationFilter, sListpresentationOrderby, a_sColumnName, iListpresentationRowMax, iListpresentationRowOffset);
36+
ListpresentationRequest.initialize(this, sListpresentationDescription, sListpresentationFilter, sListpresentationOrderby, a_sColumnName, iListpresentationRowMax, iListpresentationRowOffset, bListpresentationDefault);
3637
}
3738

3839
/**
3940
* Initializes the fields of this object.
4041
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
4142
* Only for internal use.
4243
*/
43-
static initialize(obj, sListpresentationDescription, sListpresentationFilter, sListpresentationOrderby, a_sColumnName, iListpresentationRowMax, iListpresentationRowOffset) {
44+
static initialize(obj, sListpresentationDescription, sListpresentationFilter, sListpresentationOrderby, a_sColumnName, iListpresentationRowMax, iListpresentationRowOffset, bListpresentationDefault) {
4445
obj['sListpresentationDescription'] = sListpresentationDescription;
4546
obj['sListpresentationFilter'] = sListpresentationFilter;
4647
obj['sListpresentationOrderby'] = sListpresentationOrderby;
4748
obj['a_sColumnName'] = a_sColumnName;
4849
obj['iListpresentationRowMax'] = iListpresentationRowMax;
4950
obj['iListpresentationRowOffset'] = iListpresentationRowOffset;
51+
obj['bListpresentationDefault'] = bListpresentationDefault;
5052
}
5153

5254
/**
@@ -78,6 +80,9 @@ class ListpresentationRequest {
7880
if (data.hasOwnProperty('iListpresentationRowOffset')) {
7981
obj['iListpresentationRowOffset'] = ApiClient.convertToType(data['iListpresentationRowOffset'], 'Number');
8082
}
83+
if (data.hasOwnProperty('bListpresentationDefault')) {
84+
obj['bListpresentationDefault'] = ApiClient.convertToType(data['bListpresentationDefault'], 'Boolean');
85+
}
8186
}
8287
return obj;
8388
}
@@ -172,6 +177,21 @@ class ListpresentationRequest {
172177
setIListpresentationRowOffset(iListpresentationRowOffset) {
173178
this['iListpresentationRowOffset'] = iListpresentationRowOffset;
174179
}
180+
/**
181+
* Returns Set to true if the user chose this Listpresentation as the default one. A single element should be set to true
182+
* @return {Boolean}
183+
*/
184+
getBListpresentationDefault() {
185+
return this.bListpresentationDefault;
186+
}
187+
188+
/**
189+
* Sets Set to true if the user chose this Listpresentation as the default one. A single element should be set to true
190+
* @param {Boolean} bListpresentationDefault Set to true if the user chose this Listpresentation as the default one. A single element should be set to true
191+
*/
192+
setBListpresentationDefault(bListpresentationDefault) {
193+
this['bListpresentationDefault'] = bListpresentationDefault;
194+
}
175195

176196
}
177197

@@ -211,6 +231,12 @@ ListpresentationRequest.prototype['iListpresentationRowMax'] = undefined;
211231
*/
212232
ListpresentationRequest.prototype['iListpresentationRowOffset'] = undefined;
213233

234+
/**
235+
* Set to true if the user chose this Listpresentation as the default one. A single element should be set to true
236+
* @member {Boolean} bListpresentationDefault
237+
*/
238+
ListpresentationRequest.prototype['bListpresentationDefault'] = undefined;
239+
214240

215241

216242

test/eZmaxAPI/model/ListpresentationRequest.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@
9090
//expect(instance).to.be();
9191
});
9292

93+
it('should have the property bListpresentationDefault (base name: "bListpresentationDefault")', function() {
94+
// uncomment below and update the code to test the property bListpresentationDefault
95+
//var instance = new EZmaxApiDefinition.ListpresentationRequest();
96+
//expect(instance).to.be();
97+
});
98+
9399
});
94100

95101
}));

0 commit comments

Comments
 (0)