org.jclouds.digitalocean.domain
Class Size

java.lang.Object
  extended by org.jclouds.digitalocean.domain.Size

public class Size
extends Object

A Size.

Author:
Sergi Castro, Ignasi Barrera

Constructor Summary
Size(int id, String name, String slug, int memory, int cpu, int disk, String costPerHour, String costPerMonth)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCostPerHour()
           
 String getCostPerMonth()
           
 int getCpu()
           
 int getDisk()
           
 int getId()
           
 int getMemory()
           
 String getName()
           
 String getSlug()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Size

@ConstructorProperties(value={"id","name","slug","memory","cpu","disk","cost_per_hour","cost_per_month"})
public Size(int id,
                                       String name,
                                       String slug,
                                       int memory,
                                       int cpu,
                                       int disk,
                                       String costPerHour,
                                       String costPerMonth)
Method Detail

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.