Skip to main content

LXCORestResponse class

This data object contains information about the executed REST API.

Namespace: Lenovo.SysMgmt.LXCO.Integration.Data

Assembly: Lenovo.SysMgmt.LXC.Integration.Data

Properties

public string ResourceUri { get; set;}
Rsource for which this response is returned
public HttpStatusCode ResponseStatusCode { get; set;}
HTTP Status Code returned by the REST API call
public string ResponseBody { get; set;}
Response, in JSON format, returned by the REST API call
public string LocationHeaderValue { get; set;}
Location header value if REST call returns this header, otherwise null
public DateTime RequestTimeStamp { get; set;}
Time and date when the request was started
public string OutFile { get; set;}
If requested, this property contains the fully qualified name of the file that contains REST call result. Otherwise, this property is set to null.

Methods

public virtual bool Equals (object obj);
Determines whether the specified object is equal to the current object.

(Inherited from System.Object)

public virtual int GetHashCode ();
Serves as the default hash function

(Inherited from System.Object)

public Type GetType ();
Gets the System.Type of the current instance

(Inherited from System.Object)

public virtual string ToString ();
Returns a string that represents the current object.

(Inherited from System.Object)