Michael Pasternak has uploaded a new change for review.

Change subject: sdk: regenerate against the latest api
......................................................................

sdk: regenerate against the latest api

- to host.install() added ssh related arguments
- to template added virtio_scsi.enabled
- to vm added virtio_scsi.enabled
- added ability to attach a disk snapshot to the virtual machine
- to File class added 'content' field
- Payload class now reuses Files instead of own PayloadFile collection

Change-Id: If0ea500890f41d3bf58508a720cb183b7a6eb890
Signed-off-by: Michael pasternak <mpast...@redhat.com>
---
M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Host.java
M 
ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Template.java
M 
ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Templates.java
M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VM.java
M 
ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMDisks.java
M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMs.java
M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Disk.java
M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/File.java
M 
ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/ObjectFactory.java
M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Payload.java
D 
ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/PayloadFile.java
M 
ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Template.java
M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/VM.java
A 
ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/VirtIOSCSI.java
14 files changed, 313 insertions(+), 186 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-sdk-java 
refs/changes/91/20691/1

diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Host.java 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Host.java
index c22d1c3..15a20a3 100644
--- 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Host.java
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Host.java
@@ -173,7 +173,11 @@
      *      engine providing thre ssh
      *      password
      *
-     *      [action.ssh.password]
+     *      [action.ssh.port]
+     *      [action.ssh.fingerprint]
+     *      [action.ssh.authentication_method]
+     *      [action.ssh.user.user_name]
+     *      [action.ssh.user.password]
      *      [action.image]
      *    </pre>
      *
@@ -224,7 +228,11 @@
      *      engine providing thre ssh
      *      password
      *
-     *      [action.ssh.password]
+     *      [action.ssh.port]
+     *      [action.ssh.fingerprint]
+     *      [action.ssh.authentication_method]
+     *      [action.ssh.user.user_name]
+     *      [action.ssh.user.password]
      *      [action.image]
      *    </pre>
      *
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Template.java
 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Template.java
index 2821b5d..04bdee4 100644
--- 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Template.java
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Template.java
@@ -185,6 +185,7 @@
      *    [template.usb.enabled]
      *    [template.usb.type]
      *    [template.tunnel_migration]
+     *    [template.virtio_scsi.enabled]
      *    </pre>
      *
      * @return
@@ -251,6 +252,7 @@
      *    [template.usb.enabled]
      *    [template.usb.type]
      *    [template.tunnel_migration]
+     *    [template.virtio_scsi.enabled]
      *    </pre>
      *
      * @param correlationId
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Templates.java
 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Templates.java
index 7805214..25531b2 100644
--- 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Templates.java
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Templates.java
@@ -173,6 +173,7 @@
      *    [template.usb.enabled]
      *    [template.usb.type]
      *    [template.tunnel_migration]
+     *    [template.virtio_scsi.enabled]
      *    [template.vm.disks.disk]
      *    [template.permissions.clone]
      *    [template.cpu.cpu_tune.vcpu_pin]
@@ -240,6 +241,7 @@
      *    [template.usb.enabled]
      *    [template.usb.type]
      *    [template.tunnel_migration]
+     *    [template.virtio_scsi.enabled]
      *    [template.vm.disks.disk]
      *    [template.permissions.clone]
      *    [template.cpu.cpu_tune.vcpu_pin]
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VM.java 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VM.java
index fa375fe..27970e5 100644
--- 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VM.java
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VM.java
@@ -331,6 +331,7 @@
      *    [vm.origin]
      *    [vm.os.kernel]
      *    [vm.tunnel_migration]
+     *    [vm.virtio_scsi.enabled]
      *    [vm.payloads.payload]
      *    [vm.cpu.cpu_tune.vcpu_pin]
      *    </pre>
@@ -402,6 +403,7 @@
      *    [vm.origin]
      *    [vm.os.kernel]
      *    [vm.tunnel_migration]
+     *    [vm.virtio_scsi.enabled]
      *    [vm.payloads.payload]
      *    [vm.cpu.cpu_tune.vcpu_pin]
      *    </pre>
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMDisks.java
 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMDisks.java
index e543dde..f15dc6f 100644
--- 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMDisks.java
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMDisks.java
@@ -181,6 +181,15 @@
      *
      *      disk.id
      *      [disk.active]
+     *
+     *    Overload 4:
+     *
+     *      attach a disk snapshot to the
+     *      virtual machine
+     *
+     *      disk.id
+     *      disk.snapshot.id
+     *      [disk.active]
      *    </pre>
      *
      * @return
@@ -258,6 +267,15 @@
      *
      *      disk.id
      *      [disk.active]
+     *
+     *    Overload 4:
+     *
+     *      attach a disk snapshot to the
+     *      virtual machine
+     *
+     *      disk.id
+     *      disk.snapshot.id
+     *      [disk.active]
      *    </pre>
      *
      * @param expect
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMs.java 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMs.java
index a3df9fa..f01cc96 100644
--- 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMs.java
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/VMs.java
@@ -185,6 +185,7 @@
      *      [vm.os.kernel]
      *      [vm.disks.clone]
      *      [vm.tunnel_migration]
+     *      [vm.virtio_scsi.enabled]
      *      [vm.payloads.payload]
      *      [vm.initialization.configuration.type]
      *      [vm.initialization.configuration.data]
@@ -234,6 +235,7 @@
      *      [vm.origin]
      *      [vm.os.kernel]
      *      [vm.tunnel_migration]
+     *      [vm.virtio_scsi.enabled]
      *      [vm.payloads.payload]
      *      [vm.cpu.cpu_tune.vcpu_pin]
      *
@@ -282,6 +284,7 @@
      *      [vm.os.kernel]
      *      [vm.disks.clone]
      *      [vm.tunnel_migration]
+     *      [vm.virtio_scsi.enabled]
      *      [vm.payloads.payload]
      *      [vm.initialization.configuration.type]
      *      [vm.initialization.configuration.data]
@@ -362,6 +365,7 @@
      *      [vm.os.kernel]
      *      [vm.disks.clone]
      *      [vm.tunnel_migration]
+     *      [vm.virtio_scsi.enabled]
      *      [vm.payloads.payload]
      *      [vm.initialization.configuration.type]
      *      [vm.initialization.configuration.data]
@@ -411,6 +415,7 @@
      *      [vm.origin]
      *      [vm.os.kernel]
      *      [vm.tunnel_migration]
+     *      [vm.virtio_scsi.enabled]
      *      [vm.payloads.payload]
      *      [vm.cpu.cpu_tune.vcpu_pin]
      *
@@ -459,6 +464,7 @@
      *      [vm.os.kernel]
      *      [vm.disks.clone]
      *      [vm.tunnel_migration]
+     *      [vm.virtio_scsi.enabled]
      *      [vm.payloads.payload]
      *      [vm.initialization.configuration.type]
      *      [vm.initialization.configuration.data]
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Disk.java 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Disk.java
index f85cf13..6d4fa9e 100644
--- 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Disk.java
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Disk.java
@@ -58,6 +58,7 @@
  *         &lt;element ref="{}quota" minOccurs="0"/>
  *         &lt;element name="lun_storage" type="{}Storage" minOccurs="0"/>
  *         &lt;element name="sgio" 
type="{http://www.w3.org/2001/XMLSchema}string"; minOccurs="0"/>
+ *         &lt;element ref="{}snapshot" minOccurs="0"/>
  *       &lt;/sequence>
  *     &lt;/extension>
  *   &lt;/complexContent>
@@ -88,7 +89,8 @@
     "active",
     "quota",
     "lunStorage",
-    "sgio"
+    "sgio",
+    "snapshot"
 })
 public class Disk
     extends BaseDevice
@@ -124,6 +126,7 @@
     @XmlElement(name = "lun_storage")
     protected Storage lunStorage;
     protected String sgio;
+    protected Snapshot snapshot;
 
     /**
      * Gets the value of the alias property.
@@ -713,4 +716,32 @@
         return (this.sgio!= null);
     }
 
+    /**
+     * Gets the value of the snapshot property.
+     *
+     * @return
+     *     possible object is
+     *     {@link Snapshot }
+     *
+     */
+    public Snapshot getSnapshot() {
+        return snapshot;
+    }
+
+    /**
+     * Sets the value of the snapshot property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link Snapshot }
+     *
+     */
+    public void setSnapshot(Snapshot value) {
+        this.snapshot = value;
+    }
+
+    public boolean isSetSnapshot() {
+        return (this.snapshot!= null);
+    }
+
 }
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/File.java 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/File.java
index 8471940..80d560e 100644
--- 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/File.java
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/File.java
@@ -37,6 +37,7 @@
  *   &lt;complexContent>
  *     &lt;extension base="{}BaseResource">
  *       &lt;sequence>
+ *         &lt;element name="content" 
type="{http://www.w3.org/2001/XMLSchema}string"/>
  *         &lt;element name="type" 
type="{http://www.w3.org/2001/XMLSchema}string"; minOccurs="0"/>
  *         &lt;element ref="{}storage_domain" minOccurs="0"/>
  *       &lt;/sequence>
@@ -49,6 +50,7 @@
  */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "File", propOrder = {
+    "content",
     "type",
     "storageDomain"
 })
@@ -56,11 +58,41 @@
     extends BaseResource
 {
 
+    @XmlElement(required = true)
+    protected String content;
     protected String type;
     @XmlElement(name = "storage_domain")
     protected StorageDomain storageDomain;
 
     /**
+     * Gets the value of the content property.
+     *
+     * @return
+     *     possible object is
+     *     {@link String }
+     *
+     */
+    public String getContent() {
+        return content;
+    }
+
+    /**
+     * Sets the value of the content property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *
+     */
+    public void setContent(String value) {
+        this.content = value;
+    }
+
+    public boolean isSetContent() {
+        return (this.content!= null);
+    }
+
+    /**
      * Gets the value of the type property.
      *
      * @return
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/ObjectFactory.java
 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/ObjectFactory.java
index 89b44e4..f17c7e7 100644
--- 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/ObjectFactory.java
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/ObjectFactory.java
@@ -69,6 +69,7 @@
     private final static QName _VmDeviceTypes_QNAME = new QName("", 
"vm_device_types");
     private final static QName _Roles_QNAME = new QName("", "roles");
     private final static QName _PowerManagementStates_QNAME = new QName("", 
"power_management_states");
+    private final static QName _VirtioScsi_QNAME = new QName("", 
"virtio_scsi");
     private final static QName _Nics_QNAME = new QName("", "nics");
     private final static QName _TemplateStates_QNAME = new QName("", 
"template_states");
     private final static QName _OsTypes_QNAME = new QName("", "os_types");
@@ -184,7 +185,6 @@
     private final static QName _GlusterHook_QNAME = new QName("", 
"gluster_hook");
     private final static QName _Headers_QNAME = new QName("", "headers");
     private final static QName _Users_QNAME = new QName("", "users");
-    private final static QName _PayloadFile_QNAME = new QName("", 
"payload_file");
     private final static QName _Permit_QNAME = new QName("", "permit");
     private final static QName _Disk_QNAME = new QName("", "disk");
     private final static QName _VnicProfile_QNAME = new QName("", 
"vnic_profile");
@@ -230,8 +230,8 @@
     private final static QName _SystemVersion_QNAME = new QName("", 
"system_version");
     private final static QName _Application_QNAME = new QName("", 
"application");
     private final static QName _Nic_QNAME = new QName("", "nic");
-    private final static QName _Ip_QNAME = new QName("", "ip");
     private final static QName _SgioOptions_QNAME = new QName("", 
"sgio_options");
+    private final static QName _Ip_QNAME = new QName("", "ip");
     private final static QName _ServerHook_QNAME = new QName("", 
"server_hook");
     private final static QName _WatchdogActions_QNAME = new QName("", 
"watchdog_actions");
     private final static QName _PmProxies_QNAME = new QName("", "pm_proxies");
@@ -449,6 +449,14 @@
      */
     public PowerManagementStates createPowerManagementStates() {
         return new PowerManagementStates();
+    }
+
+    /**
+     * Create an instance of {@link VirtIOSCSI }
+     *
+     */
+    public VirtIOSCSI createVirtIOSCSI() {
+        return new VirtIOSCSI();
     }
 
     /**
@@ -1372,14 +1380,6 @@
     }
 
     /**
-     * Create an instance of {@link PayloadFile }
-     *
-     */
-    public PayloadFile createPayloadFile() {
-        return new PayloadFile();
-    }
-
-    /**
      * Create an instance of {@link Permit }
      *
      */
@@ -1732,19 +1732,19 @@
     }
 
     /**
-     * Create an instance of {@link IP }
-     *
-     */
-    public IP createIP() {
-        return new IP();
-    }
-
-    /**
      * Create an instance of {@link ScsiGenericIoOptions }
      *
      */
     public ScsiGenericIoOptions createScsiGenericIoOptions() {
         return new ScsiGenericIoOptions();
+    }
+
+    /**
+     * Create an instance of {@link IP }
+     *
+     */
+    public IP createIP() {
+        return new IP();
     }
 
     /**
@@ -2258,6 +2258,15 @@
     @XmlElementDecl(namespace = "", name = "power_management_states")
     public JAXBElement<PowerManagementStates> 
createPowerManagementStates(PowerManagementStates value) {
         return new 
JAXBElement<PowerManagementStates>(_PowerManagementStates_QNAME, 
PowerManagementStates.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link VirtIOSCSI 
}{@code >}}
+     *
+     */
+    @XmlElementDecl(namespace = "", name = "virtio_scsi")
+    public JAXBElement<VirtIOSCSI> createVirtioScsi(VirtIOSCSI value) {
+        return new JAXBElement<VirtIOSCSI>(_VirtioScsi_QNAME, 
VirtIOSCSI.class, null, value);
     }
 
     /**
@@ -3296,15 +3305,6 @@
     }
 
     /**
-     * Create an instance of {@link JAXBElement }{@code <}{@link PayloadFile 
}{@code >}}
-     *
-     */
-    @XmlElementDecl(namespace = "", name = "payload_file")
-    public JAXBElement<PayloadFile> createPayloadFile(PayloadFile value) {
-        return new JAXBElement<PayloadFile>(_PayloadFile_QNAME, 
PayloadFile.class, null, value);
-    }
-
-    /**
      * Create an instance of {@link JAXBElement }{@code <}{@link Permit 
}{@code >}}
      *
      */
@@ -3710,15 +3710,6 @@
     }
 
     /**
-     * Create an instance of {@link JAXBElement }{@code <}{@link IP }{@code >}}
-     *
-     */
-    @XmlElementDecl(namespace = "", name = "ip")
-    public JAXBElement<IP> createIp(IP value) {
-        return new JAXBElement<IP>(_Ip_QNAME, IP.class, null, value);
-    }
-
-    /**
      * Create an instance of {@link JAXBElement }{@code <}{@link 
ScsiGenericIoOptions }{@code >}}
      *
      */
@@ -3728,6 +3719,15 @@
     }
 
     /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link IP }{@code >}}
+     *
+     */
+    @XmlElementDecl(namespace = "", name = "ip")
+    public JAXBElement<IP> createIp(IP value) {
+        return new JAXBElement<IP>(_Ip_QNAME, IP.class, null, value);
+    }
+
+    /**
      * Create an instance of {@link JAXBElement }{@code <}{@link 
GlusterServerHook }{@code >}}
      *
      */
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Payload.java
 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Payload.java
index d8f52fa..21c51c0 100644
--- 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Payload.java
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Payload.java
@@ -21,8 +21,6 @@
 
 package org.ovirt.engine.sdk.entities;
 
-import java.util.ArrayList;
-import java.util.List;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlAttribute;
@@ -40,7 +38,7 @@
  *   &lt;complexContent>
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType";>
  *       &lt;sequence>
- *         &lt;element name="file" type="{}PayloadFile" maxOccurs="unbounded" 
minOccurs="0"/>
+ *         &lt;element ref="{}files"/>
  *         &lt;element name="volume_id" 
type="{http://www.w3.org/2001/XMLSchema}string"/>
  *       &lt;/sequence>
  *       &lt;attribute name="type" 
type="{http://www.w3.org/2001/XMLSchema}string"; />
@@ -53,52 +51,44 @@
  */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "Payload", propOrder = {
-    "file",
+    "files",
     "volumeId"
 })
 public class Payload {
 
-    protected List<PayloadFile> file;
+    @XmlElement(required = true)
+    protected Files files;
     @XmlElement(name = "volume_id", required = true)
     protected String volumeId;
     @XmlAttribute(name = "type")
     protected String type;
 
     /**
-     * Gets the value of the file property.
+     * Gets the value of the files property.
      *
-     * <p>
-     * This accessor method returns a reference to the live list,
-     * not a snapshot. Therefore any modification you make to the
-     * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the file 
property.
-     *
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getFile().add(newItem);
-     * </pre>
-     *
-     *
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link PayloadFile }
-     *
+     * @return
+     *     possible object is
+     *     {@link Files }
      *
      */
-    public List<PayloadFile> getFile() {
-        if (file == null) {
-            file = new ArrayList<PayloadFile>();
-        }
-        return this.file;
+    public Files getFiles() {
+        return files;
     }
 
-    public boolean isSetFile() {
-        return ((this.file!= null)&&(!this.file.isEmpty()));
+    /**
+     * Sets the value of the files property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link Files }
+     *
+     */
+    public void setFiles(Files value) {
+        this.files = value;
     }
 
-    public void unsetFile() {
-        this.file = null;
+    public boolean isSetFiles() {
+        return (this.files!= null);
     }
 
     /**
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/PayloadFile.java
 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/PayloadFile.java
deleted file mode 100644
index 52cb523..0000000
--- 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/PayloadFile.java
+++ /dev/null
@@ -1,115 +0,0 @@
-//
-// Copyright (c) 2012 Red Hat, Inc.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//           http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-
-// *********************************************************************
-// ********************* GENERATED CODE - DO NOT MODIFY ****************
-// *********************************************************************
-
-
-package org.ovirt.engine.sdk.entities;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for PayloadFile complex type.
- *
- * <p>The following schema fragment specifies the expected content contained 
within this class.
- *
- * <pre>
- * &lt;complexType name="PayloadFile">
- *   &lt;complexContent>
- *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType";>
- *       &lt;sequence>
- *         &lt;element name="content" 
type="{http://www.w3.org/2001/XMLSchema}string"/>
- *       &lt;/sequence>
- *       &lt;attribute name="name" 
type="{http://www.w3.org/2001/XMLSchema}string"; />
- *     &lt;/restriction>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "PayloadFile", propOrder = {
-    "content"
-})
-public class PayloadFile {
-
-    @XmlElement(required = true)
-    protected String content;
-    @XmlAttribute(name = "name")
-    protected String name;
-
-    /**
-     * Gets the value of the content property.
-     *
-     * @return
-     *     possible object is
-     *     {@link String }
-     *
-     */
-    public String getContent() {
-        return content;
-    }
-
-    /**
-     * Sets the value of the content property.
-     *
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *
-     */
-    public void setContent(String value) {
-        this.content = value;
-    }
-
-    public boolean isSetContent() {
-        return (this.content!= null);
-    }
-
-    /**
-     * Gets the value of the name property.
-     *
-     * @return
-     *     possible object is
-     *     {@link String }
-     *
-     */
-    public String getName() {
-        return name;
-    }
-
-    /**
-     * Sets the value of the name property.
-     *
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *
-     */
-    public void setName(String value) {
-        this.name = value;
-    }
-
-}
-
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Template.java
 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Template.java
index 9d3aed0..9166930 100644
--- 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Template.java
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/Template.java
@@ -59,6 +59,7 @@
  *         &lt;element ref="{}domain" minOccurs="0"/>
  *         &lt;element ref="{}usb" minOccurs="0"/>
  *         &lt;element name="tunnel_migration" 
type="{http://www.w3.org/2001/XMLSchema}boolean"; minOccurs="0"/>
+ *         &lt;element ref="{}virtio_scsi" minOccurs="0"/>
  *         &lt;element ref="{}permissions" minOccurs="0"/>
  *       &lt;/sequence>
  *     &lt;/extension>
@@ -90,6 +91,7 @@
     "domain",
     "usb",
     "tunnelMigration",
+    "virtioScsi",
     "permissions"
 })
 public class Template
@@ -123,6 +125,8 @@
     protected Usb usb;
     @XmlElement(name = "tunnel_migration")
     protected Boolean tunnelMigration;
+    @XmlElement(name = "virtio_scsi")
+    protected VirtIOSCSI virtioScsi;
     protected Permissions permissions;
 
     /**
@@ -686,6 +690,34 @@
     }
 
     /**
+     * Gets the value of the virtioScsi property.
+     *
+     * @return
+     *     possible object is
+     *     {@link VirtIOSCSI }
+     *
+     */
+    public VirtIOSCSI getVirtioScsi() {
+        return virtioScsi;
+    }
+
+    /**
+     * Sets the value of the virtioScsi property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link VirtIOSCSI }
+     *
+     */
+    public void setVirtioScsi(VirtIOSCSI value) {
+        this.virtioScsi = value;
+    }
+
+    public boolean isSetVirtioScsi() {
+        return (this.virtioScsi!= null);
+    }
+
+    /**
      * Gets the value of the permissions property.
      *
      * @return
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/VM.java 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/VM.java
index 002a1ea..901654e 100644
--- a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/VM.java
+++ b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/VM.java
@@ -74,6 +74,7 @@
  *         &lt;element ref="{}quota" minOccurs="0"/>
  *         &lt;element ref="{}usb" minOccurs="0"/>
  *         &lt;element name="tunnel_migration" 
type="{http://www.w3.org/2001/XMLSchema}boolean"; minOccurs="0"/>
+ *         &lt;element ref="{}virtio_scsi" minOccurs="0"/>
  *         &lt;element ref="{}permissions" minOccurs="0"/>
  *         &lt;element ref="{}vmpool" minOccurs="0"/>
  *         &lt;element ref="{}cdroms" minOccurs="0"/>
@@ -124,6 +125,7 @@
     "quota",
     "usb",
     "tunnelMigration",
+    "virtioScsi",
     "permissions",
     "vmPool",
     "cdroms",
@@ -185,6 +187,8 @@
     protected Usb usb;
     @XmlElement(name = "tunnel_migration")
     protected Boolean tunnelMigration;
+    @XmlElement(name = "virtio_scsi")
+    protected VirtIOSCSI virtioScsi;
     protected Permissions permissions;
     @XmlElement(name = "vmpool")
     protected VmPool vmPool;
@@ -1147,6 +1151,34 @@
     }
 
     /**
+     * Gets the value of the virtioScsi property.
+     *
+     * @return
+     *     possible object is
+     *     {@link VirtIOSCSI }
+     *
+     */
+    public VirtIOSCSI getVirtioScsi() {
+        return virtioScsi;
+    }
+
+    /**
+     * Sets the value of the virtioScsi property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link VirtIOSCSI }
+     *
+     */
+    public void setVirtioScsi(VirtIOSCSI value) {
+        this.virtioScsi = value;
+    }
+
+    public boolean isSetVirtioScsi() {
+        return (this.virtioScsi!= null);
+    }
+
+    /**
      * Gets the value of the permissions property.
      *
      * @return
diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/VirtIOSCSI.java
 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/VirtIOSCSI.java
new file mode 100644
index 0000000..d5de9fd
--- /dev/null
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/VirtIOSCSI.java
@@ -0,0 +1,87 @@
+//
+// Copyright (c) 2012 Red Hat, Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//           http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+// *********************************************************************
+// ********************* GENERATED CODE - DO NOT MODIFY ****************
+// *********************************************************************
+
+
+package org.ovirt.engine.sdk.entities;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for VirtIO_SCSI complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained 
within this class.
+ *
+ * <pre>
+ * &lt;complexType name="VirtIO_SCSI">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType";>
+ *       &lt;attribute name="enabled" 
type="{http://www.w3.org/2001/XMLSchema}boolean"; />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "VirtIO_SCSI")
+public class VirtIOSCSI {
+
+    @XmlAttribute(name = "enabled")
+    protected Boolean enabled;
+
+    /**
+     * Gets the value of the enabled property.
+     *
+     * @return
+     *     possible object is
+     *     {@link Boolean }
+     *
+     */
+    public boolean getEnabled() {
+        return enabled;
+    }
+
+    /**
+     * Sets the value of the enabled property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link Boolean }
+     *
+     */
+    public void setEnabled(boolean value) {
+        this.enabled = value;
+    }
+
+    public boolean isSetEnabled() {
+        return (this.enabled!= null);
+    }
+
+    public void unsetEnabled() {
+        this.enabled = null;
+    }
+
+}
+


-- 
To view, visit http://gerrit.ovirt.org/20691
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If0ea500890f41d3bf58508a720cb183b7a6eb890
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <mpast...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to