1
2 package org.metricshub.winrm.service.wsman;
3
4 import java.util.ArrayList;
5 import java.util.List;
6 import jakarta.xml.bind.annotation.XmlAccessType;
7 import jakarta.xml.bind.annotation.XmlAccessorType;
8 import jakarta.xml.bind.annotation.XmlAnyElement;
9 import jakarta.xml.bind.annotation.XmlType;
10 import org.w3c.dom.Element;
11
12
13 /**
14 * <p>Java class for SignalResponse complex type</p>.
15 *
16 * <p>The following schema fragment specifies the expected content contained within this class.</p>
17 *
18 * <pre>{@code
19 * <complexType name="SignalResponse">
20 * <complexContent>
21 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22 * <sequence>
23 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
24 * </sequence>
25 * </restriction>
26 * </complexContent>
27 * </complexType>
28 * }</pre>
29 *
30 *
31 */
32 @XmlAccessorType(XmlAccessType.FIELD)
33 @XmlType(name = "SignalResponse", propOrder = {
34 "any"
35 })
36 public class SignalResponse {
37
38 @XmlAnyElement(lax = true)
39 protected List<Object> any;
40
41 /**
42 * Gets the value of the any property.
43 *
44 * <p>This accessor method returns a reference to the live list,
45 * not a snapshot. Therefore any modification you make to the
46 * returned list will be present inside the JAXB object.
47 * This is why there is not a <CODE>set</CODE> method for the any property.</p>
48 *
49 * <p>
50 * For example, to add a new item, do as follows:
51 * </p>
52 * <pre>
53 * getAny().add(newItem);
54 * </pre>
55 *
56 *
57 * <p>
58 * Objects of the following type(s) are allowed in the list
59 * {@link Object }
60 * {@link Element }
61 * </p>
62 *
63 *
64 * @return
65 * The value of the any property.
66 */
67 public List<Object> getAny() {
68 if (any == null) {
69 any = new ArrayList<>();
70 }
71 return this.any;
72 }
73
74 }