@kintone/kintone-js-sdk
Version:
The SDK of kintone REST API client on node and browser
46 lines (38 loc) • 695 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
/**
* CommentMention model
*/
class CommentMention {
/**
* constructor
* @param {String} code
* @param {String} type
*/
constructor(code, type) {
this.code = code;
this.type = type;
}
/**
* Get JSON struct of this model
* @return {integer}
*/
toJSON() {
return {
code: this.code,
type: this.type
};
}
/**
* Convert this model to JSON string
* @return {String}
*/
toJSONString() {
return JSON.stringify(this.toJSON());
}
}
var _default = CommentMention;
exports.default = _default;