Package kubevirt.io

Class V1GPU


  • @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2019-11-10T14:44:51.030+02:00")
    public class V1GPU
    extends java.lang.Object
    V1GPU
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String deviceName  
      private java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      V1GPU()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V1GPU deviceName​(java.lang.String deviceName)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getDeviceName()
      Get deviceName
      java.lang.String getName()
      Name of the GPU device as exposed by a device plugin
      int hashCode()  
      V1GPU name​(java.lang.String name)  
      void setDeviceName​(java.lang.String deviceName)  
      void setName​(java.lang.String name)  
      private java.lang.String toIndentedString​(java.lang.Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • deviceName

        private java.lang.String deviceName
      • name

        private java.lang.String name
    • Constructor Detail

      • V1GPU

        public V1GPU()
    • Method Detail

      • deviceName

        public V1GPU deviceName​(java.lang.String deviceName)
      • getDeviceName

        public java.lang.String getDeviceName()
        Get deviceName
        Returns:
        deviceName
      • setDeviceName

        public void setDeviceName​(java.lang.String deviceName)
      • name

        public V1GPU name​(java.lang.String name)
      • getName

        public java.lang.String getName()
        Name of the GPU device as exposed by a device plugin
        Returns:
        name
      • setName

        public void setName​(java.lang.String name)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toIndentedString

        private java.lang.String toIndentedString​(java.lang.Object o)
        Convert the given object to string with each line indented by 4 spaces (except the first line).