org.jclouds.digitalocean.domain
Class Size
java.lang.Object
org.jclouds.digitalocean.domain.Size
public class Size
- extends Object
A Size.
- Author:
- Sergi Castro, Ignasi Barrera
Size
@ConstructorProperties(value={"id","name","slug","memory","cpu","disk","cost_per_hour","cost_per_month"})
public Size(int id,
String name,
@Nullable
String slug,
int memory,
int cpu,
int disk,
String costPerHour,
String costPerMonth)
getId
public int getId()
getName
public String getName()
getSlug
public String getSlug()
getMemory
public int getMemory()
getCpu
public int getCpu()
getDisk
public int getDisk()
getCostPerHour
public String getCostPerHour()
getCostPerMonth
public String getCostPerMonth()
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
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.