Skip to main content

LXC1RestResponse class

This data object contains the response for the invoked REST API.

Namespace: Lenovo.XC1.PowerShell.Common.DataTypes

Inheritance > Object > LXC1Response.

Properties

public string ResourceUri { get; }
URI of the resource for which this response is returned
public HttpStatusCode ResponseStatusCode { get; }
HTTP status code that was returned by the REST API call
public DateTime RequestTimeStamp { get; }
Time and date when the request was started
public string OutFile { get; }
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)