View Javadoc
1   
2   package org.metricshub.winrm.service.enumeration;
3   
4   import java.util.HashMap;
5   import java.util.Map;
6   import javax.xml.namespace.QName;
7   import jakarta.xml.bind.annotation.XmlAccessType;
8   import jakarta.xml.bind.annotation.XmlAccessorType;
9   import jakarta.xml.bind.annotation.XmlAnyAttribute;
10  import jakarta.xml.bind.annotation.XmlElement;
11  import jakarta.xml.bind.annotation.XmlRootElement;
12  import jakarta.xml.bind.annotation.XmlType;
13  
14  
15  /**
16   * <p>Java class for anonymous complex type</p>.
17   * 
18   * <p>The following schema fragment specifies the expected content contained within this class.</p>
19   * 
20   * <pre>{@code
21   * <complexType>
22   *   <complexContent>
23   *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24   *       <sequence>
25   *         <element name="EnumerationContext" type="{http://schemas.xmlsoap.org/ws/2004/09/enumeration}EnumerationContextType"/>
26   *       </sequence>
27   *       <anyAttribute processContents='lax' namespace='##other'/>
28   *     </restriction>
29   *   </complexContent>
30   * </complexType>
31   * }</pre>
32   * 
33   * 
34   */
35  @XmlAccessorType(XmlAccessType.FIELD)
36  @XmlType(name = "", propOrder = {
37      "enumerationContext"
38  })
39  @XmlRootElement(name = "Release")
40  public class Release {
41  
42      @XmlElement(name = "EnumerationContext", required = true)
43      protected EnumerationContextType enumerationContext;
44      @XmlAnyAttribute
45      private Map<QName, String> otherAttributes = new HashMap<>();
46  
47      /**
48       * Gets the value of the enumerationContext property.
49       * 
50       * @return
51       *     possible object is
52       *     {@link EnumerationContextType }
53       *     
54       */
55      public EnumerationContextType getEnumerationContext() {
56          return enumerationContext;
57      }
58  
59      /**
60       * Sets the value of the enumerationContext property.
61       * 
62       * @param value
63       *     allowed object is
64       *     {@link EnumerationContextType }
65       *     
66       */
67      public void setEnumerationContext(EnumerationContextType value) {
68          this.enumerationContext = value;
69      }
70  
71      /**
72       * Gets a map that contains attributes that aren't bound to any typed property on this class.
73       * 
74       * <p>
75       * the map is keyed by the name of the attribute and 
76       * the value is the string value of the attribute.
77       * 
78       * the map returned by this method is live, and you can add new attribute
79       * by updating the map directly. Because of this design, there's no setter.
80       * 
81       * 
82       * @return
83       *     always non-null
84       */
85      public Map<QName, String> getOtherAttributes() {
86          return otherAttributes;
87      }
88  
89  }