Class ServerType


@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-09-21T08:14:59.463226706Z[Etc/UTC]") public class ServerType extends IdentifiableResource
ServerType
  • Field Details

  • Constructor Details

    • ServerType

      public ServerType()
  • Method Details

    • name

      public ServerType name(String name)
    • getName

      @Nullable public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(String name)
    • description

      public ServerType description(String description)
    • getDescription

      @Nullable public String getDescription()
      Description of the Server type
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • cores

      public ServerType cores(Integer cores)
    • getCores

      @Nullable public Integer getCores()
      Number of cpu cores a Server of this type will have
      Returns:
      cores
    • setCores

      public void setCores(Integer cores)
    • memory

      public ServerType memory(Integer memory)
    • getMemory

      @Nullable public Integer getMemory()
      Memory a Server of this type will have in GB,
      Returns:
      memory
    • setMemory

      public void setMemory(Integer memory)
    • disk

      public ServerType disk(Integer disk)
    • getDisk

      @Nullable public Integer getDisk()
      Disk size a Server of this type will have in GB
      Returns:
      disk
    • setDisk

      public void setDisk(Integer disk)
    • deprecated

      public ServerType deprecated(Boolean deprecated)
    • getDeprecated

      @Nullable public Boolean getDeprecated()
      True if Server type is deprecated,
      Returns:
      deprecated
    • setDeprecated

      public void setDeprecated(Boolean deprecated)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class IdentifiableResource
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class IdentifiableResource
    • toString

      public String toString()
      Overrides:
      toString in class IdentifiableResource