-
Notifications
You must be signed in to change notification settings - Fork 85
/
IPingResponse.ts
44 lines (38 loc) · 1.12 KB
/
IPingResponse.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/
import { IZosmfPingResponse } from "./zosmf/IZosmfPingResponse";
import { ImperativeError } from "@zowe/imperative";
export interface IPingResponse {
/**
* True if the command was issued and the responses were collected.
* @type {boolean}
* @memberof IPingResponse
*/
success: boolean;
/**
* Response from z/OSMF to ping rest call
* @type {IZosmfPingResponse}
* @memberof IPingResponse
*/
zosmfPingResponse: IZosmfPingResponse;
/**
* If an error occurs, returns the ImperativeError, which contains cause error.
* @type {ImperativeError}
* @memberof IConsoleResponse
*/
failureResponse?: ImperativeError;
/**
* Servlet key from IZosmfPingResponse
* @type {string}
* @memberof IPingResponse
*/
servletKey: string;
}