1
2 package org.metricshub.winrm.service.enumeration;
3
4 import java.math.BigInteger;
5 import java.util.ArrayList;
6 import java.util.HashMap;
7 import java.util.List;
8 import java.util.Map;
9 import javax.xml.datatype.Duration;
10 import javax.xml.namespace.QName;
11 import jakarta.xml.bind.annotation.XmlAccessType;
12 import jakarta.xml.bind.annotation.XmlAccessorType;
13 import jakarta.xml.bind.annotation.XmlAnyAttribute;
14 import jakarta.xml.bind.annotation.XmlAnyElement;
15 import jakarta.xml.bind.annotation.XmlElement;
16 import jakarta.xml.bind.annotation.XmlRootElement;
17 import jakarta.xml.bind.annotation.XmlSchemaType;
18 import jakarta.xml.bind.annotation.XmlType;
19 import org.w3c.dom.Element;
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46 @XmlAccessorType(XmlAccessType.FIELD)
47 @XmlType(name = "", propOrder = {
48 "enumerationContext",
49 "maxTime",
50 "maxElements",
51 "maxCharacters",
52 "any"
53 })
54 @XmlRootElement(name = "Pull")
55 public class Pull {
56
57 @XmlElement(name = "EnumerationContext", required = true)
58 protected EnumerationContextType enumerationContext;
59 @XmlElement(name = "MaxTime")
60 protected Duration maxTime;
61 @XmlElement(name = "MaxElements")
62 @XmlSchemaType(name = "positiveInteger")
63 protected BigInteger maxElements;
64 @XmlElement(name = "MaxCharacters")
65 @XmlSchemaType(name = "positiveInteger")
66 protected BigInteger maxCharacters;
67 @XmlAnyElement(lax = true)
68 protected List<Object> any;
69 @XmlAnyAttribute
70 private Map<QName, String> otherAttributes = new HashMap<>();
71
72
73
74
75
76
77
78
79
80 public EnumerationContextType getEnumerationContext() {
81 return enumerationContext;
82 }
83
84
85
86
87
88
89
90
91
92 public void setEnumerationContext(EnumerationContextType value) {
93 this.enumerationContext = value;
94 }
95
96
97
98
99
100
101
102
103
104 public Duration getMaxTime() {
105 return maxTime;
106 }
107
108
109
110
111
112
113
114
115
116 public void setMaxTime(Duration value) {
117 this.maxTime = value;
118 }
119
120
121
122
123
124
125
126
127
128 public BigInteger getMaxElements() {
129 return maxElements;
130 }
131
132
133
134
135
136
137
138
139
140 public void setMaxElements(BigInteger value) {
141 this.maxElements = value;
142 }
143
144
145
146
147
148
149
150
151
152 public BigInteger getMaxCharacters() {
153 return maxCharacters;
154 }
155
156
157
158
159
160
161
162
163
164 public void setMaxCharacters(BigInteger value) {
165 this.maxCharacters = value;
166 }
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194 public List<Object> getAny() {
195 if (any == null) {
196 any = new ArrayList<>();
197 }
198 return this.any;
199 }
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215 public Map<QName, String> getOtherAttributes() {
216 return otherAttributes;
217 }
218
219 }