Michael Pasternak has uploaded a new change for review.

Change subject: sdk: add ReportedDevice entity
......................................................................

sdk: add ReportedDevice entity

Change-Id: Ibfd7d1e6294a706b7eb8736aa4c7c5d7f130524a
Signed-off-by: Michael Pasternak <[email protected]>
---
A 
ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/ReportedDevice.java
1 file changed, 181 insertions(+), 0 deletions(-)


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

diff --git 
a/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/ReportedDevice.java
 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/ReportedDevice.java
new file mode 100644
index 0000000..4605916
--- /dev/null
+++ 
b/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/entities/ReportedDevice.java
@@ -0,0 +1,181 @@
+//
+// 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.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ReportedDevice complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained 
within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ReportedDevice">
+ *   &lt;complexContent>
+ *     &lt;extension base="{}BaseResource">
+ *       &lt;sequence>
+ *         &lt;element name="type" 
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element ref="{}mac" minOccurs="0"/>
+ *         &lt;element ref="{}ips" minOccurs="0"/>
+ *         &lt;element ref="{}vm" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ReportedDevice", propOrder = {
+    "type",
+    "mac",
+    "ips",
+    "vm"
+})
+public class ReportedDevice
+    extends BaseResource
+{
+
+    @XmlElement(required = true)
+    protected String type;
+    protected MAC mac;
+    protected IPs ips;
+    protected VM vm;
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setType(String value) {
+        this.type = value;
+    }
+
+    public boolean isSetType() {
+        return (this.type!= null);
+    }
+
+    /**
+     * Gets the value of the mac property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link MAC }
+     *     
+     */
+    public MAC getMac() {
+        return mac;
+    }
+
+    /**
+     * Sets the value of the mac property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link MAC }
+     *     
+     */
+    public void setMac(MAC value) {
+        this.mac = value;
+    }
+
+    public boolean isSetMac() {
+        return (this.mac!= null);
+    }
+
+    /**
+     * Gets the value of the ips property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link IPs }
+     *     
+     */
+    public IPs getIps() {
+        return ips;
+    }
+
+    /**
+     * Sets the value of the ips property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link IPs }
+     *     
+     */
+    public void setIps(IPs value) {
+        this.ips = value;
+    }
+
+    public boolean isSetIps() {
+        return (this.ips!= null);
+    }
+
+    /**
+     * Gets the value of the vm property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link VM }
+     *     
+     */
+    public VM getVm() {
+        return vm;
+    }
+
+    /**
+     * Sets the value of the vm property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link VM }
+     *     
+     */
+    public void setVm(VM value) {
+        this.vm = value;
+    }
+
+    public boolean isSetVm() {
+        return (this.vm!= null);
+    }
+
+}


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibfd7d1e6294a706b7eb8736aa4c7c5d7f130524a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to