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