org.jclouds.cloudstack.domain
Class Project

java.lang.Object
  extended by org.jclouds.cloudstack.domain.Project
All Implemented Interfaces:
Comparable<Project>

public class Project
extends Object
implements Comparable<Project>

Representation of the API project response


Nested Class Summary
static class Project.Builder<T extends Project.Builder<T>>
           
static class Project.State
           
 
Constructor Summary
protected Project(String id, String account, String displayText, String domain, String domainId, String name, Project.State state)
           
 
Method Summary
static Project.Builder<?> builder()
           
 int compareTo(Project other)
           
 boolean equals(Object obj)
           
 String getAccount()
           
 String getDisplayText()
           
 String getDomain()
           
 String getDomainId()
           
 String getId()
           
 String getName()
           
 Project.State getState()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 Project.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Project

@ConstructorProperties(value={"id","account","displaytext","domain","domainid","name","state"})
protected Project(String id,
                                             String account,
                                             String displayText,
                                             String domain,
                                             String domainId,
                                             String name,
                                             Project.State state)
Method Detail

builder

public static Project.Builder<?> builder()

toBuilder

public Project.Builder<?> toBuilder()

getId

public String getId()

getAccount

@Nullable
public String getAccount()

getDisplayText

@Nullable
public String getDisplayText()

getDomain

@Nullable
public String getDomain()

getDomainId

@Nullable
public String getDomainId()

getName

@Nullable
public String getName()

getState

public Project.State getState()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(Project other)
Specified by:
compareTo in interface Comparable<Project>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.