public class JVultrPlan
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JVultrPlan.Type
Represent a Vultr Plan Type
|
| Constructor and Description |
|---|
JVultrPlan(com.google.gson.JsonObject value)
DON'T USE THIS CONSTRUCTOR !
|
| Modifier and Type | Method and Description |
|---|---|
JVultrRegion[] |
getAvailableRegions()
Get plan available regions
|
float |
getBandwidth()
Get plan bandwidth
|
int |
getCpus()
Get plan cpu amount
|
int |
getDisk()
Get plan disk space
|
int |
getId()
Get Vultr Plan id
|
java.lang.String |
getName()
Get plan name
|
float |
getPricePerMonth()
Get plan price per month
|
int |
getRam()
Get plan ram amount
|
JVultrPlan.Type |
getType()
Get plan type
|
boolean |
isWindows()
Get if plan is windows ?
|
java.lang.String |
toString() |
public JVultrPlan(com.google.gson.JsonObject value)
value - the JsonObject representing this objectpublic int getId()
public java.lang.String getName()
public int getCpus()
public int getRam()
public int getDisk()
public float getBandwidth()
public float getPricePerMonth()
public boolean isWindows()
public JVultrPlan.Type getType()
public JVultrRegion[] getAvailableRegions()
public java.lang.String toString()
toString in class java.lang.Object