@kintone/kintone-js-sdk
Version:
The SDK of kintone REST API client on node and browser
49 lines (41 loc) • 863 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
/**
* UpdateFormFieldsRequest model
*/
class UpdateFormFieldsRequest {
/**
* @param {Integer} app
* @param {Array<HashTable<String, Field>>} fields
* @param {Integer} revision
*/
constructor(app, fields, revision) {
this.app = app;
this.fields = fields;
this.revision = revision;
}
/**
* Get JSON struct of this model
* @return {JSON}
*/
toJSON() {
const data = {
app: this.app,
properties: this.fields,
revision: this.revision
};
return data;
}
/**
* Convert this model to JSON string
* @return {String}
*/
toJSONString() {
return JSON.stringify(this.toJSON());
}
}
var _default = UpdateFormFieldsRequest;
exports.default = _default;