@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
31 lines • 960 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClusterConfiguration = void 0;
class ClusterConfiguration {
constructor(data) {
let sourceDefault = "coordinator";
this.source = typeof (data === null || data === void 0 ? void 0 : data.source) !== "undefined" ? data === null || data === void 0 ? void 0 : data.source : sourceDefault;
}
static getSourceDefault() {
return "coordinator";
}
static getSourceDescription() {
return "";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new ClusterConfiguration(data);
}
toJson() {
return {
'source': this.source,
};
}
clone() {
return ClusterConfiguration.fromJson(this.toJson());
}
}
exports.ClusterConfiguration = ClusterConfiguration;
//# sourceMappingURL=ClusterConfiguration.js.map