Package kubevirt.io

Class V1alpha1DataVolumeSpec


  • @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2019-11-10T14:44:51.030+02:00")
    public class V1alpha1DataVolumeSpec
    extends java.lang.Object
    DataVolumeSpec defines our specification for a DataVolume type
    • Constructor Detail

      • V1alpha1DataVolumeSpec

        public V1alpha1DataVolumeSpec()
    • Method Detail

      • getContentType

        public java.lang.String getContentType()
        DataVolumeContentType options: \"kubevirt\", \"archive\"
        Returns:
        contentType
      • setContentType

        public void setContentType​(java.lang.String contentType)
      • getSource

        public V1alpha1DataVolumeSource getSource()
        Source is the src of the data for the requested DataVolume
        Returns:
        source
      • 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).