Package kubevirt.io

Class V1CDRomTarget


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

      Constructors 
      Constructor Description
      V1CDRomTarget()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V1CDRomTarget bus​(java.lang.String bus)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getBus()
      Bus indicates the type of disk device to emulate.
      java.lang.String getTray()
      Tray indicates if the tray of the device is open or closed.
      int hashCode()  
      java.lang.Boolean isReadonly()
      ReadOnly.
      V1CDRomTarget readonly​(java.lang.Boolean readonly)  
      void setBus​(java.lang.String bus)  
      void setReadonly​(java.lang.Boolean readonly)  
      void setTray​(java.lang.String tray)  
      java.lang.String toString()  
      V1CDRomTarget tray​(java.lang.String tray)  
      • Methods inherited from class java.lang.Object

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

      • V1CDRomTarget

        public V1CDRomTarget()
    • Method Detail

      • getBus

        public java.lang.String getBus()
        Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi.
        Returns:
        bus
      • setBus

        public void setBus​(java.lang.String bus)
      • readonly

        public V1CDRomTarget readonly​(java.lang.Boolean readonly)
      • isReadonly

        public java.lang.Boolean isReadonly()
        ReadOnly. Defaults to true.
        Returns:
        readonly
      • setReadonly

        public void setReadonly​(java.lang.Boolean readonly)
      • getTray

        public java.lang.String getTray()
        Tray indicates if the tray of the device is open or closed. Allowed values are \"open\" and \"closed\". Defaults to closed. +optional
        Returns:
        tray
      • setTray

        public void setTray​(java.lang.String tray)
      • 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