Class InstanceType


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class InstanceType
    extends Object
    Compute instance type
    • Method Detail

      • getId

        @Nullable
        public UUID getId()
        Instance type ID
        Returns:
        id
      • getCpus

        @Nullable
        public Long getCpus()
        CPU count minimum: 0
        Returns:
        cpus
      • getGpus

        @Nullable
        public Long getGpus()
        GPU count minimum: 0
        Returns:
        gpus
      • getAuthorized

        @Nullable
        public Boolean getAuthorized()
        Requires authorization or publicly available
        Returns:
        authorized
      • getMemory

        @Nullable
        public Long getMemory()
        Available memory minimum: 0
        Returns:
        memory
      • getZones

        @Nullable
        public List<ZoneName> getZones()
        Instance Type available zones
        Returns:
        zones
      • equals

        public boolean equals​(Object o)
        Return true if this instance-type object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string