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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String bus  
      private java.lang.Boolean readonly  
      private java.lang.String tray  
    • 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)  
      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()  
      V1CDRomTarget tray​(java.lang.String tray)  
      • Methods inherited from class java.lang.Object

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

      • bus

        private java.lang.String bus
      • readonly

        private java.lang.Boolean readonly
      • tray

        private java.lang.String tray
    • 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
      • 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).