org.jclouds.cloudstack.domain
Class OSType
java.lang.Object
org.jclouds.cloudstack.domain.OSType
- All Implemented Interfaces:
- Comparable<OSType>
public class OSType
- extends Object
- implements Comparable<OSType>
- Author:
- Adrian Cole
Constructor Summary |
OSType(long id,
long OSCategoryId,
String description)
|
OSType
public OSType(long id,
long OSCategoryId,
String description)
builder
public static OSType.Builder builder()
getId
public long getId()
- Returns:
- the ID of the OS type
getOSCategoryId
public long getOSCategoryId()
- Returns:
- the ID of the OS category
getDescription
public String getDescription()
- Returns:
- the name/description of the OS type
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(OSType arg0)
- Specified by:
compareTo
in interface Comparable<OSType>
Copyright © 2009-2012 jclouds. All Rights Reserved.