@xray-app/xray-automation
Version:
Library for uploading test results to Xray Test Management
17 lines (16 loc) • 610 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.XrayDatacenterResponseV2 = void 0;
class XrayDatacenterResponseV2 {
constructor(response) {
this._response = response;
if (response.data !== undefined &&
response.data.testExecIssue !== undefined) {
this.id = response.data.testExecIssue.id;
this.key = response.data.testExecIssue.key;
this.selfUrl = response.data.testExecIssue.self;
}
}
}
exports.XrayDatacenterResponseV2 = XrayDatacenterResponseV2;
exports.default = XrayDatacenterResponseV2;