Class Flavor

java.lang.Object
com.woorea.openstack.nova.model.Flavor
All Implemented Interfaces:
Serializable

public class Flavor extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • Flavor

      public Flavor()
  • Method Details

    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getVcpus

      public Integer getVcpus()
      Returns:
      the vcpus
    • setVcpus

      public void setVcpus(Integer vcpus)
      Parameters:
      vcpus - the vcpus to set
    • getRam

      public Integer getRam()
      Returns:
      the ram
    • setRam

      public void setRam(Integer ram)
      Parameters:
      ram - the ram to set
    • getDisk

      public Integer getDisk()
      Returns:
      the disk
    • setDisk

      public void setDisk(Integer disk)
      Parameters:
      disk - the disk to set
    • getEphemeral

      public Integer getEphemeral()
      Returns:
      the ephemeral
    • setEphemeral

      public void setEphemeral(Integer ephemeral)
      Parameters:
      ephemeral - the ephemeral to set
    • getSwap

      public String getSwap()
      Returns:
      the swap
    • setSwap

      public void setSwap(String swap)
      Parameters:
      swap - the swap to set
    • getRxtxFactor

      public Float getRxtxFactor()
      Returns:
      the rxtxFactor
    • setRxtxFactor

      public void setRxtxFactor(Float rxtxFactor)
      Parameters:
      rxtxFactor - the rxtxFactor to set
    • getRxtxQuota

      public Integer getRxtxQuota()
      Returns:
      the rxtxQuota
    • setRxtxQuota

      public void setRxtxQuota(Integer rxtxQuota)
      Parameters:
      rxtxQuota - the rxtxQuota to set
    • getRxtxCap

      public Integer getRxtxCap()
      Returns:
      the rxtxCap
    • setRxtxCap

      public void setRxtxCap(Integer rxtxCap)
      Parameters:
      rxtxCap - the rxtxCap to set
    • getDisabled

      public Boolean getDisabled()
      Returns:
      the disabled
    • setDisabled

      public void setDisabled(Boolean disabled)
      Parameters:
      disabled - the disabled to set
    • isPublic

      public Boolean isPublic()
      Returns:
      the isPublic
    • setPublic

      public void setPublic(Boolean isPublic)
      Parameters:
      isPublic - the isPublic to set
    • getLinks

      public List<Link> getLinks()
      Returns:
      the links
    • setLinks

      public void setLinks(List<Link> links)
      Parameters:
      links - the links to set
    • toString

      public String toString()
      Overrides:
      toString in class Object