@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
54 lines • 2.18 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProviderProviderEntry = void 0;
class ProviderProviderEntry {
constructor(data) {
this.configurationContent = data === null || data === void 0 ? void 0 : data.configurationContent;
let configurationFileNameDefault = "";
this.configurationFileName = typeof (data === null || data === void 0 ? void 0 : data.configurationFileName) !== "undefined" ? data === null || data === void 0 ? void 0 : data.configurationFileName : configurationFileNameDefault;
let configurationFileTypeDefault = "json";
this.configurationFileType = typeof (data === null || data === void 0 ? void 0 : data.configurationFileType) !== "undefined" ? data === null || data === void 0 ? void 0 : data.configurationFileType : configurationFileTypeDefault;
let nameDefault = "";
this.name = typeof (data === null || data === void 0 ? void 0 : data.name) !== "undefined" ? data === null || data === void 0 ? void 0 : data.name : nameDefault;
}
static getConfigurationContentDescription() {
return "";
}
static getConfigurationFileNameDefault() {
return "";
}
static getConfigurationFileNameDescription() {
return "";
}
static getConfigurationFileTypeDefault() {
return "json";
}
static getConfigurationFileTypeDescription() {
return "";
}
static getNameDefault() {
return "";
}
static getNameDescription() {
return "";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new ProviderProviderEntry(data);
}
toJson() {
return {
'configurationContent': this.configurationContent,
'configurationFileName': this.configurationFileName,
'configurationFileType': this.configurationFileType,
'name': this.name,
};
}
clone() {
return ProviderProviderEntry.fromJson(this.toJson());
}
}
exports.ProviderProviderEntry = ProviderProviderEntry;
//# sourceMappingURL=ProviderProviderEntry.js.map