org.jclouds.gogrid.domain
Class ServerImage
java.lang.Object
org.jclouds.gogrid.domain.ServerImage
- All Implemented Interfaces:
- Comparable<ServerImage>
public class ServerImage
- extends Object
- implements Comparable<ServerImage>
- Author:
- Oleksiy Yarmula
Constructor Summary |
ServerImage()
A no-args constructor is required for deserialization |
ServerImage(long id,
String name,
String friendlyName,
String description,
Option os,
Option architecture,
ServerImageType type,
ServerImageState state,
double price,
String location,
boolean active,
boolean aPublic,
Date createdTime,
Date updatedTime,
Set<BillingToken> billingTokens,
Customer owner)
|
ServerImage
public ServerImage()
- A no-args constructor is required for deserialization
ServerImage
public ServerImage(long id,
String name,
String friendlyName,
String description,
Option os,
Option architecture,
ServerImageType type,
ServerImageState state,
double price,
String location,
boolean active,
boolean aPublic,
Date createdTime,
Date updatedTime,
Set<BillingToken> billingTokens,
Customer owner)
getId
public long getId()
getName
public String getName()
getFriendlyName
public String getFriendlyName()
getDescription
public String getDescription()
getOs
public Option getOs()
getArchitecture
public Option getArchitecture()
getType
public ServerImageType getType()
getState
public ServerImageState getState()
getPrice
public double getPrice()
getLocation
public String getLocation()
isActive
public boolean isActive()
isPublic
public boolean isPublic()
getCreatedTime
public Date getCreatedTime()
getUpdatedTime
public Date getUpdatedTime()
getBillingTokens
public Set<BillingToken> getBillingTokens()
getOwner
public Customer getOwner()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(ServerImage o)
- Specified by:
compareTo
in interface Comparable<ServerImage>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.