@kintone/kintone-js-sdk
Version:
The SDK of kintone REST API client on node and browser
50 lines (40 loc) • 754 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
/**
* GetFormFieldsRequest model
*/
class GetFormFieldsRequest {
/**
* @param {Integer} appID
* @param {String} lang
*/
constructor(appID, lang) {
this.appID = appID;
this.lang = lang;
}
/**
* Get JSON struct of this model
* @return {JSON}
*/
toJSON() {
const data = {
app: this.appID
};
if (this.lang) {
data.lang = this.lang;
}
return data;
}
/**
* Convert this model to JSON string
* @return {String}
*/
toJSONString() {
return JSON.stringify(this.toJSON());
}
}
var _default = GetFormFieldsRequest;
exports.default = _default;