Skip to main content

DeviceMaintenanceStatus class

This data object contains information about maintenance Status for a device.

Namespace: Lenovo.SysMgmt.LXCA.Integration.Data

Assembly: Lenovo.SysMgmt.LXCA.Integration.Data

Properties

public string UUID { get; set; }
UUID of the device.
public string State { get; set; }
Maintenance mode. This can be one of the following values.
  • Enabled

  • Disabled

  • Unknown

public DateTime? StartDate { get; set; }
If State is set to Enabled, this property specifies when the maintenance starts.

This property is translated into the time zone of the local system.

public DateTime? EndDate { get; set; }
If State is set to Enabled, this property specifies when the maintenance ends.

This property is translated into the time zone of the local system.

public string Message { get; set;}
If State is set to Unknown, this property contains an explanation of this state; otherwise, it is an empty string.

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)