|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.cloudstack.domain.TemplatePermission
public class TemplatePermission
Nested Class Summary | |
---|---|
static class |
TemplatePermission.Builder
|
Constructor Summary | |
---|---|
TemplatePermission(long id,
String account,
long domainId,
boolean isPublic)
Construct a new TemplatePermission instance. |
Method Summary | |
---|---|
static TemplatePermission.Builder |
builder()
|
int |
compareTo(TemplatePermission other)
|
boolean |
equals(Object o)
|
String |
getAccount()
Gets the list of accounts the template is available for |
long |
getDomainId()
Gets the ID of the domain to which the template belongs |
long |
getId()
Gets the template ID |
int |
hashCode()
|
boolean |
isPublic()
Returns true if this template is a public template, false otherwise |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TemplatePermission(long id, String account, long domainId, boolean isPublic)
id
- the template IDaccount
- the list of accounts the template is available fordomainId
- the ID of the domain to which the template belongsisPublic
- true if this template is a public template, false otherwiseMethod Detail |
---|
public static TemplatePermission.Builder builder()
public long getId()
public String getAccount()
public long getDomainId()
public boolean isPublic()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public int compareTo(TemplatePermission other)
compareTo
in interface Comparable<TemplatePermission>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |