org.jclouds.cloudstack.domain
Class Domain
java.lang.Object
org.jclouds.cloudstack.domain.Domain
- All Implemented Interfaces:
- Comparable<Domain>
public class Domain
- extends Object
- implements Comparable<Domain>
Representation of the API domain response
- Author:
- Andrei Savu
Constructor Summary |
Domain(long id,
boolean hasChild,
long level,
String name,
String networkDomain,
long parentDomainId,
String parentDomainName)
|
Domain
public Domain(long id,
boolean hasChild,
long level,
String name,
String networkDomain,
long parentDomainId,
String parentDomainName)
builder
public static Domain.Builder builder()
getId
public long getId()
hasChild
public boolean hasChild()
getLevel
public long getLevel()
getName
public String getName()
getNetworkDomain
public String getNetworkDomain()
getParentDomainId
public long getParentDomainId()
getParentDomainName
public String getParentDomainName()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(Domain arg0)
- Specified by:
compareTo
in interface Comparable<Domain>
Copyright © 2009-2012 jclouds. All Rights Reserved.