Skip to main content

WarrantyInfo class

This data object contains information about warranty data for a managed device.

Namespace: Lenovo.SysMgmt.LXCA.Integration.Data

Assembly: Lenovo.SysMgmt.LXCA.Integration.Data

Properties

public string DeviceName { get; set; }
Name that is assigned to the device.
public string ProductName { get; set; }
Commercial name of the device.
public string MachineTypeAndModel { get; set; }
Machine type and model of the device.
public string SerialNumber { get; set; }
Serial number of the device.
public string MachineUUID { get; set; }
Device UUID.
public string WarrantyNumber { get; set; }
Warranty contract ID.
public DateTime? WarrantyStartDate { get; set; }
Warranty start date. If the start date is not available, then this property is not defined.
public DateTime? WarrantyExpirationDate { get; set; }
Warranty expiration date. If the expiration date is not available, then this property is not defined.
public WarrantyContractStatus WarrantyStatus { get; set; }
Warranty contract status. This can be one of the following values.
  • Active. The warranty contract is active

  • Expired. The warranty contract is expired

  • NotAvailable. The warranty contract information is not available

public string[] Groups { get; set; }
List of names of the resource groups to which the device belongs.
public string[] GroupsUUIDS { get; set; }
List of UUIDs of the resource groups to which the device belongs.
public string DeviceURI { get; set; }
Device URI.
public bool IsWarrantyAvailable { get; set; }
Indicates whether the device has a warranty contract (active or expired). This can be one of the following values.
  • true. The device has a warranty contract

  • false. The device does not have a warranty contract

public string ParentUUID { get; set; }
Parent UUID of the parent device. If the device does not have a parent, this value is 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)