Skip to main content

StatusMessage class

This data object contains information about the success or failure of a REST API operation.

Namespace: Lenovo.XClarityOrchestrator.PowerShell.Data

Assembly: Lenovo.XClarityOrchestrator.PowerShell.Data

Properties

public string Status { get; set; }
Status of the request. This can be one of the following values.
  • Informational. The task started or ended successfully.
  • Warning. The task completed, but there are some problems to be aware of.
  • Critical. The task failed.

In case there are messages in the messages array, then this will be the most severe from all the messages.

public string Code { get; set; }
Message ID
public string Text { get; set; }
Message text that is associated with the message ID
public string Description { get; set; }
Additional information to clarify the reason for the message
public string UserAction { get; set; }
User actions that can be taken to recover from the error
public string RecoveryURL { get; set;}
Link to more information or recovery actions, if available

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)