@xray-app/xray-automation
Version:
Library for uploading test results to Xray Test Management
13 lines (12 loc) • 437 B
JavaScript
export class XrayCloudGraphQLResponseV2 {
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;
}
}
}
export default XrayCloudGraphQLResponseV2;