1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 2 | #[::pyo3::pyclass]
|
3 + | /// :param payload typing.Optional\[str\]:
|
3 4 | /// :rtype None:
|
4 5 | #[allow(missing_docs)] // documentation missing in model
|
5 6 | #[derive(
|
6 7 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
7 8 | )]
|
8 - | pub struct HttpQueryParamsOnlyOperationOutput {}
|
9 + | pub struct StringPayloadOutput {
|
10 + | #[pyo3(get, set)]
|
11 + | /// :type typing.Optional\[str\]:
|
12 + | #[allow(missing_docs)] // documentation missing in model
|
13 + | pub payload: ::std::option::Option<::std::string::String>,
|
14 + | }
|
15 + | impl StringPayloadOutput {
|
16 + | #[allow(missing_docs)] // documentation missing in model
|
17 + | pub fn payload(&self) -> ::std::option::Option<&str> {
|
18 + | self.payload.as_deref()
|
19 + | }
|
20 + | }
|
9 21 | #[allow(clippy::new_without_default)]
|
10 22 | #[allow(clippy::too_many_arguments)]
|
11 23 | #[::pyo3::pymethods]
|
12 - | impl HttpQueryParamsOnlyOperationOutput {
|
24 + | impl StringPayloadOutput {
|
13 25 | #[new]
|
14 - | pub fn new() -> Self {
|
15 - | Self {}
|
26 + | pub fn new(payload: ::std::option::Option<::std::string::String>) -> Self {
|
27 + | Self { payload }
|
16 28 | }
|
17 29 | fn __repr__(&self) -> String {
|
18 30 | format!("{self:?}")
|
19 31 | }
|
20 32 | fn __str__(&self) -> String {
|
21 33 | format!("{self:?}")
|
22 34 | }
|
23 35 | }
|
24 - | impl<'source> ::pyo3::FromPyObject<'source>
|
25 - | for std::boxed::Box<HttpQueryParamsOnlyOperationOutput>
|
26 - | {
|
36 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<StringPayloadOutput> {
|
27 37 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
28 - | ob.extract::<HttpQueryParamsOnlyOperationOutput>()
|
29 - | .map(Box::new)
|
38 + | ob.extract::<StringPayloadOutput>().map(Box::new)
|
30 39 | }
|
31 40 | }
|
32 41 |
|
33 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpQueryParamsOnlyOperationOutput> {
|
42 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StringPayloadOutput> {
|
34 43 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
35 44 | (*self).into_py(py)
|
36 45 | }
|
37 46 | }
|
38 - | impl HttpQueryParamsOnlyOperationOutput {
|
39 - | /// Creates a new builder-style object to manufacture [`HttpQueryParamsOnlyOperationOutput`](crate::output::HttpQueryParamsOnlyOperationOutput).
|
40 - | pub fn builder() -> crate::output::http_query_params_only_operation_output::Builder {
|
41 - | crate::output::http_query_params_only_operation_output::Builder::default()
|
47 + | impl StringPayloadOutput {
|
48 + | /// Creates a new builder-style object to manufacture [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
49 + | pub fn builder() -> crate::output::string_payload_output::Builder {
|
50 + | crate::output::string_payload_output::Builder::default()
|
42 51 | }
|
43 52 | }
|
44 53 |
|
45 54 | #[::pyo3::pyclass]
|
55 + | /// :param field int:
|
46 56 | /// :rtype None:
|
47 57 | #[allow(missing_docs)] // documentation missing in model
|
48 58 | #[derive(
|
49 59 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
50 60 | )]
|
51 - | pub struct QueryPrecedenceOutput {}
|
61 + | pub struct PrimitiveIntHeaderOutput {
|
62 + | #[pyo3(get, set)]
|
63 + | /// :type int:
|
64 + | #[allow(missing_docs)] // documentation missing in model
|
65 + | pub field: i32,
|
66 + | }
|
67 + | impl PrimitiveIntHeaderOutput {
|
68 + | #[allow(missing_docs)] // documentation missing in model
|
69 + | pub fn field(&self) -> i32 {
|
70 + | self.field
|
71 + | }
|
72 + | }
|
52 73 | #[allow(clippy::new_without_default)]
|
53 74 | #[allow(clippy::too_many_arguments)]
|
54 75 | #[::pyo3::pymethods]
|
55 - | impl QueryPrecedenceOutput {
|
76 + | impl PrimitiveIntHeaderOutput {
|
56 77 | #[new]
|
57 - | pub fn new() -> Self {
|
58 - | Self {}
|
78 + | pub fn new(field: i32) -> Self {
|
79 + | Self { field }
|
59 80 | }
|
60 81 | fn __repr__(&self) -> String {
|
61 82 | format!("{self:?}")
|
62 83 | }
|
63 84 | fn __str__(&self) -> String {
|
64 85 | format!("{self:?}")
|
65 86 | }
|
66 87 | }
|
67 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<QueryPrecedenceOutput> {
|
88 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PrimitiveIntHeaderOutput> {
|
68 89 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
69 - | ob.extract::<QueryPrecedenceOutput>().map(Box::new)
|
90 + | ob.extract::<PrimitiveIntHeaderOutput>().map(Box::new)
|
70 91 | }
|
71 92 | }
|
72 93 |
|
73 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<QueryPrecedenceOutput> {
|
94 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PrimitiveIntHeaderOutput> {
|
74 95 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
75 96 | (*self).into_py(py)
|
76 97 | }
|
77 98 | }
|
78 - | impl QueryPrecedenceOutput {
|
79 - | /// Creates a new builder-style object to manufacture [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
80 - | pub fn builder() -> crate::output::query_precedence_output::Builder {
|
81 - | crate::output::query_precedence_output::Builder::default()
|
99 + | impl PrimitiveIntHeaderOutput {
|
100 + | /// Creates a new builder-style object to manufacture [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
101 + | pub fn builder() -> crate::output::primitive_int_header_output::Builder {
|
102 + | crate::output::primitive_int_header_output::Builder::default()
|
82 103 | }
|
83 104 | }
|
84 105 |
|
85 106 | #[::pyo3::pyclass]
|
86 - | /// :param empty typing.Optional\[rest_json_extras.model.EmptyStruct\]:
|
87 107 | /// :rtype None:
|
88 108 | #[allow(missing_docs)] // documentation missing in model
|
89 109 | #[derive(
|
90 110 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
91 111 | )]
|
92 - | pub struct EmptyStructWithContentOnWireOpOutput {
|
93 - | #[pyo3(get, set)]
|
94 - | /// :type typing.Optional\[rest_json_extras.model.EmptyStruct\]:
|
95 - | #[allow(missing_docs)] // documentation missing in model
|
96 - | pub empty: ::std::option::Option<crate::model::EmptyStruct>,
|
97 - | }
|
98 - | impl EmptyStructWithContentOnWireOpOutput {
|
99 - | #[allow(missing_docs)] // documentation missing in model
|
100 - | pub fn empty(&self) -> ::std::option::Option<&crate::model::EmptyStruct> {
|
101 - | self.empty.as_ref()
|
102 - | }
|
103 - | }
|
112 + | pub struct EnumQueryOutput {}
|
104 113 | #[allow(clippy::new_without_default)]
|
105 114 | #[allow(clippy::too_many_arguments)]
|
106 115 | #[::pyo3::pymethods]
|
107 - | impl EmptyStructWithContentOnWireOpOutput {
|
116 + | impl EnumQueryOutput {
|
108 117 | #[new]
|
109 - | pub fn new(empty: ::std::option::Option<crate::model::EmptyStruct>) -> Self {
|
110 - | Self { empty }
|
118 + | pub fn new() -> Self {
|
119 + | Self {}
|
111 120 | }
|
112 121 | fn __repr__(&self) -> String {
|
113 122 | format!("{self:?}")
|
114 123 | }
|
115 124 | fn __str__(&self) -> String {
|
116 125 | format!("{self:?}")
|
117 126 | }
|
118 127 | }
|
119 - | impl<'source> ::pyo3::FromPyObject<'source>
|
120 - | for std::boxed::Box<EmptyStructWithContentOnWireOpOutput>
|
121 - | {
|
128 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EnumQueryOutput> {
|
122 129 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
123 - | ob.extract::<EmptyStructWithContentOnWireOpOutput>()
|
124 - | .map(Box::new)
|
130 + | ob.extract::<EnumQueryOutput>().map(Box::new)
|
125 131 | }
|
126 132 | }
|
127 133 |
|
128 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EmptyStructWithContentOnWireOpOutput> {
|
134 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EnumQueryOutput> {
|
129 135 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
130 136 | (*self).into_py(py)
|
131 137 | }
|
132 138 | }
|
133 - | impl EmptyStructWithContentOnWireOpOutput {
|
134 - | /// Creates a new builder-style object to manufacture [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
135 - | pub fn builder() -> crate::output::empty_struct_with_content_on_wire_op_output::Builder {
|
136 - | crate::output::empty_struct_with_content_on_wire_op_output::Builder::default()
|
139 + | impl EnumQueryOutput {
|
140 + | /// Creates a new builder-style object to manufacture [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
141 + | pub fn builder() -> crate::output::enum_query_output::Builder {
|
142 + | crate::output::enum_query_output::Builder::default()
|
137 143 | }
|
138 144 | }
|
139 145 |
|
140 146 | #[::pyo3::pyclass]
|
147 + | /// :param field int:
|
141 148 | /// :rtype None:
|
142 149 | #[allow(missing_docs)] // documentation missing in model
|
143 150 | #[derive(
|
144 151 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
145 152 | )]
|
146 - | pub struct CaseInsensitiveErrorOperationOutput {}
|
153 + | pub struct StatusResponseOutput {
|
154 + | #[pyo3(get, set)]
|
155 + | /// :type int:
|
156 + | #[allow(missing_docs)] // documentation missing in model
|
157 + | pub field: i32,
|
158 + | }
|
159 + | impl StatusResponseOutput {
|
160 + | #[allow(missing_docs)] // documentation missing in model
|
161 + | pub fn field(&self) -> i32 {
|
162 + | self.field
|
163 + | }
|
164 + | }
|
147 165 | #[allow(clippy::new_without_default)]
|
148 166 | #[allow(clippy::too_many_arguments)]
|
149 167 | #[::pyo3::pymethods]
|
150 - | impl CaseInsensitiveErrorOperationOutput {
|
168 + | impl StatusResponseOutput {
|
151 169 | #[new]
|
152 - | pub fn new() -> Self {
|
153 - | Self {}
|
170 + | pub fn new(field: i32) -> Self {
|
171 + | Self { field }
|
154 172 | }
|
155 173 | fn __repr__(&self) -> String {
|
156 174 | format!("{self:?}")
|
157 175 | }
|
158 176 | fn __str__(&self) -> String {
|
159 177 | format!("{self:?}")
|
160 178 | }
|
161 179 | }
|
162 - | impl<'source> ::pyo3::FromPyObject<'source>
|
163 - | for std::boxed::Box<CaseInsensitiveErrorOperationOutput>
|
164 - | {
|
180 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<StatusResponseOutput> {
|
165 181 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
166 - | ob.extract::<CaseInsensitiveErrorOperationOutput>()
|
167 - | .map(Box::new)
|
182 + | ob.extract::<StatusResponseOutput>().map(Box::new)
|
168 183 | }
|
169 184 | }
|
170 185 |
|
171 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<CaseInsensitiveErrorOperationOutput> {
|
186 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StatusResponseOutput> {
|
172 187 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
173 188 | (*self).into_py(py)
|
174 189 | }
|
175 190 | }
|
176 - | impl CaseInsensitiveErrorOperationOutput {
|
177 - | /// Creates a new builder-style object to manufacture [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
178 - | pub fn builder() -> crate::output::case_insensitive_error_operation_output::Builder {
|
179 - | crate::output::case_insensitive_error_operation_output::Builder::default()
|
191 + | impl StatusResponseOutput {
|
192 + | /// Creates a new builder-style object to manufacture [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
193 + | pub fn builder() -> crate::output::status_response_output::Builder {
|
194 + | crate::output::status_response_output::Builder::default()
|
180 195 | }
|
181 196 | }
|
182 197 |
|
183 198 | #[::pyo3::pyclass]
|
184 - | /// :param list typing.Optional\[typing.List\[str\]\]:
|
185 - | /// :param map typing.Optional\[typing.Dict\[str, str\]\]:
|
186 - | /// :param union typing.Optional\[rest_json_extras.model.SingleElementUnion\]:
|
199 + | /// :param map typing.Optional\[typing.Dict\[rest_json_extras.model.StringEnum, str\]\]:
|
187 200 | /// :rtype None:
|
188 201 | #[allow(missing_docs)] // documentation missing in model
|
189 202 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
190 - | pub struct NullInNonSparseOutput {
|
191 - | #[pyo3(get, set)]
|
192 - | /// :type typing.Optional\[typing.List\[str\]\]:
|
193 - | #[allow(missing_docs)] // documentation missing in model
|
194 - | pub list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
203 + | pub struct MapWithEnumKeyOpOutput {
|
195 204 | #[pyo3(get, set)]
|
196 - | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
205 + | /// :type typing.Optional\[typing.Dict\[rest_json_extras.model.StringEnum, str\]\]:
|
197 206 | #[allow(missing_docs)] // documentation missing in model
|
198 207 | pub map: ::std::option::Option<
|
199 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
208 + | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
200 209 | >,
|
201 - | #[pyo3(get, set)]
|
202 - | /// :type typing.Optional\[rest_json_extras.model.SingleElementUnion\]:
|
203 - | #[allow(missing_docs)] // documentation missing in model
|
204 - | pub union: ::std::option::Option<crate::model::SingleElementUnion>,
|
205 210 | }
|
206 - | impl NullInNonSparseOutput {
|
207 - | #[allow(missing_docs)] // documentation missing in model
|
208 - | pub fn list(&self) -> ::std::option::Option<&[::std::string::String]> {
|
209 - | self.list.as_deref()
|
210 - | }
|
211 + | impl MapWithEnumKeyOpOutput {
|
211 212 | #[allow(missing_docs)] // documentation missing in model
|
212 213 | pub fn map(
|
213 214 | &self,
|
214 215 | ) -> ::std::option::Option<
|
215 - | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
216 + | &::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
216 217 | > {
|
217 218 | self.map.as_ref()
|
218 219 | }
|
219 - | #[allow(missing_docs)] // documentation missing in model
|
220 - | pub fn union(&self) -> ::std::option::Option<&crate::model::SingleElementUnion> {
|
221 - | self.union.as_ref()
|
222 - | }
|
223 220 | }
|
224 221 | #[allow(clippy::new_without_default)]
|
225 222 | #[allow(clippy::too_many_arguments)]
|
226 223 | #[::pyo3::pymethods]
|
227 - | impl NullInNonSparseOutput {
|
224 + | impl MapWithEnumKeyOpOutput {
|
228 225 | #[new]
|
229 226 | pub fn new(
|
230 - | list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
231 227 | map: ::std::option::Option<
|
232 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
228 + | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
233 229 | >,
|
234 - | union: ::std::option::Option<crate::model::SingleElementUnion>,
|
235 230 | ) -> Self {
|
236 - | Self { list, map, union }
|
231 + | Self { map }
|
237 232 | }
|
238 233 | fn __repr__(&self) -> String {
|
239 234 | format!("{self:?}")
|
240 235 | }
|
241 236 | fn __str__(&self) -> String {
|
242 237 | format!("{self:?}")
|
243 238 | }
|
244 239 | }
|
245 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NullInNonSparseOutput> {
|
240 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MapWithEnumKeyOpOutput> {
|
246 241 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
247 - | ob.extract::<NullInNonSparseOutput>().map(Box::new)
|
242 + | ob.extract::<MapWithEnumKeyOpOutput>().map(Box::new)
|
248 243 | }
|
249 244 | }
|
250 245 |
|
251 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NullInNonSparseOutput> {
|
246 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MapWithEnumKeyOpOutput> {
|
252 247 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
253 248 | (*self).into_py(py)
|
254 249 | }
|
255 250 | }
|
256 - | impl NullInNonSparseOutput {
|
257 - | /// Creates a new builder-style object to manufacture [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
258 - | pub fn builder() -> crate::output::null_in_non_sparse_output::Builder {
|
259 - | crate::output::null_in_non_sparse_output::Builder::default()
|
251 + | impl MapWithEnumKeyOpOutput {
|
252 + | /// Creates a new builder-style object to manufacture [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
253 + | pub fn builder() -> crate::output::map_with_enum_key_op_output::Builder {
|
254 + | crate::output::map_with_enum_key_op_output::Builder::default()
|
255 + | }
|
256 + | }
|
257 + |
|
258 + | #[::pyo3::pyclass]
|
259 + | /// :param value int:
|
260 + | /// :rtype None:
|
261 + | #[allow(missing_docs)] // documentation missing in model
|
262 + | #[derive(
|
263 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
264 + | )]
|
265 + | pub struct PrimitiveIntOpOutput {
|
266 + | #[pyo3(get, set)]
|
267 + | /// :type int:
|
268 + | #[allow(missing_docs)] // documentation missing in model
|
269 + | pub value: i32,
|
270 + | }
|
271 + | impl PrimitiveIntOpOutput {
|
272 + | #[allow(missing_docs)] // documentation missing in model
|
273 + | pub fn value(&self) -> i32 {
|
274 + | self.value
|
275 + | }
|
276 + | }
|
277 + | #[allow(clippy::new_without_default)]
|
278 + | #[allow(clippy::too_many_arguments)]
|
279 + | #[::pyo3::pymethods]
|
280 + | impl PrimitiveIntOpOutput {
|
281 + | #[new]
|
282 + | pub fn new(value: i32) -> Self {
|
283 + | Self { value }
|
284 + | }
|
285 + | fn __repr__(&self) -> String {
|
286 + | format!("{self:?}")
|
287 + | }
|
288 + | fn __str__(&self) -> String {
|
289 + | format!("{self:?}")
|
290 + | }
|
291 + | }
|
292 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PrimitiveIntOpOutput> {
|
293 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
294 + | ob.extract::<PrimitiveIntOpOutput>().map(Box::new)
|
295 + | }
|
296 + | }
|
297 + |
|
298 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PrimitiveIntOpOutput> {
|
299 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
300 + | (*self).into_py(py)
|
301 + | }
|
302 + | }
|
303 + | impl PrimitiveIntOpOutput {
|
304 + | /// Creates a new builder-style object to manufacture [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
305 + | pub fn builder() -> crate::output::primitive_int_op_output::Builder {
|
306 + | crate::output::primitive_int_op_output::Builder::default()
|
260 307 | }
|
261 308 | }
|
262 309 |
|
263 310 | #[::pyo3::pyclass]
|
264 311 | /// :param r#enum typing.Optional\[rest_json_extras.model.EnumWithEscapedChars\]:
|
265 312 | /// :param some_string typing.Optional\[str\]:
|
266 313 | /// :rtype None:
|
267 314 | #[allow(missing_docs)] // documentation missing in model
|
268 315 | #[derive(
|
269 316 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
321 368 | }
|
322 369 | }
|
323 370 | impl EscapedStringValuesOutput {
|
324 371 | /// Creates a new builder-style object to manufacture [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
325 372 | pub fn builder() -> crate::output::escaped_string_values_output::Builder {
|
326 373 | crate::output::escaped_string_values_output::Builder::default()
|
327 374 | }
|
328 375 | }
|
329 376 |
|
330 377 | #[::pyo3::pyclass]
|
331 - | /// :param value int:
|
378 + | /// :param list typing.Optional\[typing.List\[str\]\]:
|
379 + | /// :param map typing.Optional\[typing.Dict\[str, str\]\]:
|
380 + | /// :param union typing.Optional\[rest_json_extras.model.SingleElementUnion\]:
|
332 381 | /// :rtype None:
|
333 382 | #[allow(missing_docs)] // documentation missing in model
|
334 - | #[derive(
|
335 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
336 - | )]
|
337 - | pub struct PrimitiveIntOpOutput {
|
383 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
384 + | pub struct NullInNonSparseOutput {
|
338 385 | #[pyo3(get, set)]
|
339 - | /// :type int:
|
340 - | #[allow(missing_docs)] // documentation missing in model
|
341 - | pub value: i32,
|
342 - | }
|
343 - | impl PrimitiveIntOpOutput {
|
386 + | /// :type typing.Optional\[typing.List\[str\]\]:
|
344 387 | #[allow(missing_docs)] // documentation missing in model
|
345 - | pub fn value(&self) -> i32 {
|
346 - | self.value
|
347 - | }
|
348 - | }
|
349 - | #[allow(clippy::new_without_default)]
|
350 - | #[allow(clippy::too_many_arguments)]
|
351 - | #[::pyo3::pymethods]
|
352 - | impl PrimitiveIntOpOutput {
|
353 - | #[new]
|
354 - | pub fn new(value: i32) -> Self {
|
355 - | Self { value }
|
356 - | }
|
357 - | fn __repr__(&self) -> String {
|
358 - | format!("{self:?}")
|
359 - | }
|
360 - | fn __str__(&self) -> String {
|
361 - | format!("{self:?}")
|
362 - | }
|
363 - | }
|
364 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PrimitiveIntOpOutput> {
|
365 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
366 - | ob.extract::<PrimitiveIntOpOutput>().map(Box::new)
|
367 - | }
|
368 - | }
|
369 - |
|
370 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PrimitiveIntOpOutput> {
|
371 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
372 - | (*self).into_py(py)
|
373 - | }
|
374 - | }
|
375 - | impl PrimitiveIntOpOutput {
|
376 - | /// Creates a new builder-style object to manufacture [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
377 - | pub fn builder() -> crate::output::primitive_int_op_output::Builder {
|
378 - | crate::output::primitive_int_op_output::Builder::default()
|
379 - | }
|
380 - | }
|
381 - |
|
382 - | #[::pyo3::pyclass]
|
383 - | /// :param map typing.Optional\[typing.Dict\[rest_json_extras.model.StringEnum, str\]\]:
|
384 - | /// :rtype None:
|
385 - | #[allow(missing_docs)] // documentation missing in model
|
386 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
387 - | pub struct MapWithEnumKeyOpOutput {
|
388 + | pub list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
388 389 | #[pyo3(get, set)]
|
389 - | /// :type typing.Optional\[typing.Dict\[rest_json_extras.model.StringEnum, str\]\]:
|
390 + | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
390 391 | #[allow(missing_docs)] // documentation missing in model
|
391 392 | pub map: ::std::option::Option<
|
392 - | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
393 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
393 394 | >,
|
395 + | #[pyo3(get, set)]
|
396 + | /// :type typing.Optional\[rest_json_extras.model.SingleElementUnion\]:
|
397 + | #[allow(missing_docs)] // documentation missing in model
|
398 + | pub union: ::std::option::Option<crate::model::SingleElementUnion>,
|
394 399 | }
|
395 - | impl MapWithEnumKeyOpOutput {
|
400 + | impl NullInNonSparseOutput {
|
401 + | #[allow(missing_docs)] // documentation missing in model
|
402 + | pub fn list(&self) -> ::std::option::Option<&[::std::string::String]> {
|
403 + | self.list.as_deref()
|
404 + | }
|
396 405 | #[allow(missing_docs)] // documentation missing in model
|
397 406 | pub fn map(
|
398 407 | &self,
|
399 408 | ) -> ::std::option::Option<
|
400 - | &::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
409 + | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
401 410 | > {
|
402 411 | self.map.as_ref()
|
403 412 | }
|
413 + | #[allow(missing_docs)] // documentation missing in model
|
414 + | pub fn union(&self) -> ::std::option::Option<&crate::model::SingleElementUnion> {
|
415 + | self.union.as_ref()
|
416 + | }
|
404 417 | }
|
405 418 | #[allow(clippy::new_without_default)]
|
406 419 | #[allow(clippy::too_many_arguments)]
|
407 420 | #[::pyo3::pymethods]
|
408 - | impl MapWithEnumKeyOpOutput {
|
421 + | impl NullInNonSparseOutput {
|
409 422 | #[new]
|
410 423 | pub fn new(
|
424 + | list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
411 425 | map: ::std::option::Option<
|
412 - | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
426 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
413 427 | >,
|
428 + | union: ::std::option::Option<crate::model::SingleElementUnion>,
|
414 429 | ) -> Self {
|
415 - | Self { map }
|
416 - | }
|
417 - | fn __repr__(&self) -> String {
|
418 - | format!("{self:?}")
|
419 - | }
|
420 - | fn __str__(&self) -> String {
|
421 - | format!("{self:?}")
|
422 - | }
|
423 - | }
|
424 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MapWithEnumKeyOpOutput> {
|
425 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
426 - | ob.extract::<MapWithEnumKeyOpOutput>().map(Box::new)
|
427 - | }
|
428 - | }
|
429 - |
|
430 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MapWithEnumKeyOpOutput> {
|
431 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
432 - | (*self).into_py(py)
|
433 - | }
|
434 - | }
|
435 - | impl MapWithEnumKeyOpOutput {
|
436 - | /// Creates a new builder-style object to manufacture [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
437 - | pub fn builder() -> crate::output::map_with_enum_key_op_output::Builder {
|
438 - | crate::output::map_with_enum_key_op_output::Builder::default()
|
439 - | }
|
440 - | }
|
441 - |
|
442 - | #[::pyo3::pyclass]
|
443 - | /// :param field int:
|
444 - | /// :rtype None:
|
445 - | #[allow(missing_docs)] // documentation missing in model
|
446 - | #[derive(
|
447 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
448 - | )]
|
449 - | pub struct StatusResponseOutput {
|
450 - | #[pyo3(get, set)]
|
451 - | /// :type int:
|
452 - | #[allow(missing_docs)] // documentation missing in model
|
453 - | pub field: i32,
|
454 - | }
|
455 - | impl StatusResponseOutput {
|
456 - | #[allow(missing_docs)] // documentation missing in model
|
457 - | pub fn field(&self) -> i32 {
|
458 - | self.field
|
459 - | }
|
460 - | }
|
461 - | #[allow(clippy::new_without_default)]
|
462 - | #[allow(clippy::too_many_arguments)]
|
463 - | #[::pyo3::pymethods]
|
464 - | impl StatusResponseOutput {
|
465 - | #[new]
|
466 - | pub fn new(field: i32) -> Self {
|
467 - | Self { field }
|
430 + | Self { list, map, union }
|
468 431 | }
|
469 432 | fn __repr__(&self) -> String {
|
470 433 | format!("{self:?}")
|
471 434 | }
|
472 435 | fn __str__(&self) -> String {
|
473 436 | format!("{self:?}")
|
474 437 | }
|
475 438 | }
|
476 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<StatusResponseOutput> {
|
439 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NullInNonSparseOutput> {
|
477 440 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
478 - | ob.extract::<StatusResponseOutput>().map(Box::new)
|
441 + | ob.extract::<NullInNonSparseOutput>().map(Box::new)
|
479 442 | }
|
480 443 | }
|
481 444 |
|
482 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StatusResponseOutput> {
|
445 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NullInNonSparseOutput> {
|
483 446 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
484 447 | (*self).into_py(py)
|
485 448 | }
|
486 449 | }
|
487 - | impl StatusResponseOutput {
|
488 - | /// Creates a new builder-style object to manufacture [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
489 - | pub fn builder() -> crate::output::status_response_output::Builder {
|
490 - | crate::output::status_response_output::Builder::default()
|
450 + | impl NullInNonSparseOutput {
|
451 + | /// Creates a new builder-style object to manufacture [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
452 + | pub fn builder() -> crate::output::null_in_non_sparse_output::Builder {
|
453 + | crate::output::null_in_non_sparse_output::Builder::default()
|
491 454 | }
|
492 455 | }
|
493 456 |
|
494 457 | #[::pyo3::pyclass]
|
495 458 | /// :rtype None:
|
496 459 | #[allow(missing_docs)] // documentation missing in model
|
497 460 | #[derive(
|
498 461 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
499 462 | )]
|
500 - | pub struct EnumQueryOutput {}
|
463 + | pub struct CaseInsensitiveErrorOperationOutput {}
|
501 464 | #[allow(clippy::new_without_default)]
|
502 465 | #[allow(clippy::too_many_arguments)]
|
503 466 | #[::pyo3::pymethods]
|
504 - | impl EnumQueryOutput {
|
467 + | impl CaseInsensitiveErrorOperationOutput {
|
505 468 | #[new]
|
506 469 | pub fn new() -> Self {
|
507 470 | Self {}
|
508 471 | }
|
509 472 | fn __repr__(&self) -> String {
|
510 473 | format!("{self:?}")
|
511 474 | }
|
512 475 | fn __str__(&self) -> String {
|
513 476 | format!("{self:?}")
|
514 477 | }
|
515 478 | }
|
516 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EnumQueryOutput> {
|
479 + | impl<'source> ::pyo3::FromPyObject<'source>
|
480 + | for std::boxed::Box<CaseInsensitiveErrorOperationOutput>
|
481 + | {
|
517 482 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
518 - | ob.extract::<EnumQueryOutput>().map(Box::new)
|
483 + | ob.extract::<CaseInsensitiveErrorOperationOutput>()
|
484 + | .map(Box::new)
|
519 485 | }
|
520 486 | }
|
521 487 |
|
522 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EnumQueryOutput> {
|
488 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<CaseInsensitiveErrorOperationOutput> {
|
523 489 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
524 490 | (*self).into_py(py)
|
525 491 | }
|
526 492 | }
|
527 - | impl EnumQueryOutput {
|
528 - | /// Creates a new builder-style object to manufacture [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
529 - | pub fn builder() -> crate::output::enum_query_output::Builder {
|
530 - | crate::output::enum_query_output::Builder::default()
|
493 + | impl CaseInsensitiveErrorOperationOutput {
|
494 + | /// Creates a new builder-style object to manufacture [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
495 + | pub fn builder() -> crate::output::case_insensitive_error_operation_output::Builder {
|
496 + | crate::output::case_insensitive_error_operation_output::Builder::default()
|
531 497 | }
|
532 498 | }
|
533 499 |
|
534 500 | #[::pyo3::pyclass]
|
535 - | /// :param field int:
|
501 + | /// :param empty typing.Optional\[rest_json_extras.model.EmptyStruct\]:
|
536 502 | /// :rtype None:
|
537 503 | #[allow(missing_docs)] // documentation missing in model
|
538 504 | #[derive(
|
539 505 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
540 506 | )]
|
541 - | pub struct PrimitiveIntHeaderOutput {
|
507 + | pub struct EmptyStructWithContentOnWireOpOutput {
|
542 508 | #[pyo3(get, set)]
|
543 - | /// :type int:
|
509 + | /// :type typing.Optional\[rest_json_extras.model.EmptyStruct\]:
|
544 510 | #[allow(missing_docs)] // documentation missing in model
|
545 - | pub field: i32,
|
511 + | pub empty: ::std::option::Option<crate::model::EmptyStruct>,
|
546 512 | }
|
547 - | impl PrimitiveIntHeaderOutput {
|
513 + | impl EmptyStructWithContentOnWireOpOutput {
|
548 514 | #[allow(missing_docs)] // documentation missing in model
|
549 - | pub fn field(&self) -> i32 {
|
550 - | self.field
|
515 + | pub fn empty(&self) -> ::std::option::Option<&crate::model::EmptyStruct> {
|
516 + | self.empty.as_ref()
|
551 517 | }
|
552 518 | }
|
553 519 | #[allow(clippy::new_without_default)]
|
554 520 | #[allow(clippy::too_many_arguments)]
|
555 521 | #[::pyo3::pymethods]
|
556 - | impl PrimitiveIntHeaderOutput {
|
522 + | impl EmptyStructWithContentOnWireOpOutput {
|
557 523 | #[new]
|
558 - | pub fn new(field: i32) -> Self {
|
559 - | Self { field }
|
524 + | pub fn new(empty: ::std::option::Option<crate::model::EmptyStruct>) -> Self {
|
525 + | Self { empty }
|
560 526 | }
|
561 527 | fn __repr__(&self) -> String {
|
562 528 | format!("{self:?}")
|
563 529 | }
|
564 530 | fn __str__(&self) -> String {
|
565 531 | format!("{self:?}")
|
566 532 | }
|
567 533 | }
|
568 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PrimitiveIntHeaderOutput> {
|
534 + | impl<'source> ::pyo3::FromPyObject<'source>
|
535 + | for std::boxed::Box<EmptyStructWithContentOnWireOpOutput>
|
536 + | {
|
569 537 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
570 - | ob.extract::<PrimitiveIntHeaderOutput>().map(Box::new)
|
538 + | ob.extract::<EmptyStructWithContentOnWireOpOutput>()
|
539 + | .map(Box::new)
|
571 540 | }
|
572 541 | }
|
573 542 |
|
574 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PrimitiveIntHeaderOutput> {
|
543 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EmptyStructWithContentOnWireOpOutput> {
|
575 544 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
576 545 | (*self).into_py(py)
|
577 546 | }
|
578 547 | }
|
579 - | impl PrimitiveIntHeaderOutput {
|
580 - | /// Creates a new builder-style object to manufacture [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
581 - | pub fn builder() -> crate::output::primitive_int_header_output::Builder {
|
582 - | crate::output::primitive_int_header_output::Builder::default()
|
548 + | impl EmptyStructWithContentOnWireOpOutput {
|
549 + | /// Creates a new builder-style object to manufacture [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
550 + | pub fn builder() -> crate::output::empty_struct_with_content_on_wire_op_output::Builder {
|
551 + | crate::output::empty_struct_with_content_on_wire_op_output::Builder::default()
|
583 552 | }
|
584 553 | }
|
585 554 |
|
586 555 | #[::pyo3::pyclass]
|
587 - | /// :param payload typing.Optional\[str\]:
|
588 556 | /// :rtype None:
|
589 557 | #[allow(missing_docs)] // documentation missing in model
|
590 558 | #[derive(
|
591 559 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
592 560 | )]
|
593 - | pub struct StringPayloadOutput {
|
594 - | #[pyo3(get, set)]
|
595 - | /// :type typing.Optional\[str\]:
|
596 - | #[allow(missing_docs)] // documentation missing in model
|
597 - | pub payload: ::std::option::Option<::std::string::String>,
|
598 - | }
|
599 - | impl StringPayloadOutput {
|
600 - | #[allow(missing_docs)] // documentation missing in model
|
601 - | pub fn payload(&self) -> ::std::option::Option<&str> {
|
602 - | self.payload.as_deref()
|
603 - | }
|
604 - | }
|
561 + | pub struct QueryPrecedenceOutput {}
|
605 562 | #[allow(clippy::new_without_default)]
|
606 563 | #[allow(clippy::too_many_arguments)]
|
607 564 | #[::pyo3::pymethods]
|
608 - | impl StringPayloadOutput {
|
565 + | impl QueryPrecedenceOutput {
|
609 566 | #[new]
|
610 - | pub fn new(payload: ::std::option::Option<::std::string::String>) -> Self {
|
611 - | Self { payload }
|
567 + | pub fn new() -> Self {
|
568 + | Self {}
|
612 569 | }
|
613 570 | fn __repr__(&self) -> String {
|
614 571 | format!("{self:?}")
|
615 572 | }
|
616 573 | fn __str__(&self) -> String {
|
617 574 | format!("{self:?}")
|
618 575 | }
|
619 576 | }
|
620 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<StringPayloadOutput> {
|
577 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<QueryPrecedenceOutput> {
|
621 578 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
622 - | ob.extract::<StringPayloadOutput>().map(Box::new)
|
579 + | ob.extract::<QueryPrecedenceOutput>().map(Box::new)
|
623 580 | }
|
624 581 | }
|
625 582 |
|
626 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StringPayloadOutput> {
|
583 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<QueryPrecedenceOutput> {
|
627 584 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
628 585 | (*self).into_py(py)
|
629 586 | }
|
630 587 | }
|
631 - | impl StringPayloadOutput {
|
632 - | /// Creates a new builder-style object to manufacture [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
633 - | pub fn builder() -> crate::output::string_payload_output::Builder {
|
634 - | crate::output::string_payload_output::Builder::default()
|
588 + | impl QueryPrecedenceOutput {
|
589 + | /// Creates a new builder-style object to manufacture [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
590 + | pub fn builder() -> crate::output::query_precedence_output::Builder {
|
591 + | crate::output::query_precedence_output::Builder::default()
|
635 592 | }
|
636 593 | }
|
637 - | /// See [`HttpQueryParamsOnlyOperationOutput`](crate::output::HttpQueryParamsOnlyOperationOutput).
|
638 - | pub mod http_query_params_only_operation_output {
|
594 + | /// See [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
595 + | pub mod string_payload_output {
|
639 596 |
|
640 - | impl ::std::convert::From<Builder> for crate::output::HttpQueryParamsOnlyOperationOutput {
|
597 + | impl ::std::convert::From<Builder> for crate::output::StringPayloadOutput {
|
641 598 | fn from(builder: Builder) -> Self {
|
642 599 | builder.build()
|
643 600 | }
|
644 601 | }
|
645 - | /// A builder for [`HttpQueryParamsOnlyOperationOutput`](crate::output::HttpQueryParamsOnlyOperationOutput).
|
602 + | /// A builder for [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
646 603 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
647 - | pub struct Builder {}
|
604 + | pub struct Builder {
|
605 + | pub(crate) payload: ::std::option::Option<::std::string::String>,
|
606 + | }
|
648 607 | impl Builder {
|
649 - | /// Consumes the builder and constructs a [`HttpQueryParamsOnlyOperationOutput`](crate::output::HttpQueryParamsOnlyOperationOutput).
|
650 - | pub fn build(self) -> crate::output::HttpQueryParamsOnlyOperationOutput {
|
608 + | #[allow(missing_docs)] // documentation missing in model
|
609 + | pub fn payload(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
610 + | self.payload = input;
|
611 + | self
|
612 + | }
|
613 + | /// Consumes the builder and constructs a [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
614 + | pub fn build(self) -> crate::output::StringPayloadOutput {
|
651 615 | self.build_enforcing_required_and_enum_traits()
|
652 616 | }
|
653 - | fn build_enforcing_required_and_enum_traits(
|
654 - | self,
|
655 - | ) -> crate::output::HttpQueryParamsOnlyOperationOutput {
|
656 - | crate::output::HttpQueryParamsOnlyOperationOutput {}
|
617 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::StringPayloadOutput {
|
618 + | crate::output::StringPayloadOutput {
|
619 + | payload: self.payload,
|
620 + | }
|
657 621 | }
|
658 622 | }
|
659 623 | }
|
660 - | /// See [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
661 - | pub mod query_precedence_output {
|
624 + | /// See [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
625 + | pub mod primitive_int_header_output {
|
662 626 |
|
663 - | impl ::std::convert::From<Builder> for crate::output::QueryPrecedenceOutput {
|
627 + | impl ::std::convert::From<Builder> for crate::output::PrimitiveIntHeaderOutput {
|
664 628 | fn from(builder: Builder) -> Self {
|
665 629 | builder.build()
|
666 630 | }
|
667 631 | }
|
668 - | /// A builder for [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
632 + | /// A builder for [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
669 633 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
670 - | pub struct Builder {}
|
634 + | pub struct Builder {
|
635 + | pub(crate) field: ::std::option::Option<i32>,
|
636 + | }
|
671 637 | impl Builder {
|
672 - | /// Consumes the builder and constructs a [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
673 - | pub fn build(self) -> crate::output::QueryPrecedenceOutput {
|
638 + | #[allow(missing_docs)] // documentation missing in model
|
639 + | pub fn field(mut self, input: i32) -> Self {
|
640 + | self.field = Some(input);
|
641 + | self
|
642 + | }
|
643 + | /// Consumes the builder and constructs a [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
644 + | pub fn build(self) -> crate::output::PrimitiveIntHeaderOutput {
|
674 645 | self.build_enforcing_required_and_enum_traits()
|
675 646 | }
|
676 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::QueryPrecedenceOutput {
|
677 - | crate::output::QueryPrecedenceOutput {}
|
647 + | fn build_enforcing_required_and_enum_traits(
|
648 + | self,
|
649 + | ) -> crate::output::PrimitiveIntHeaderOutput {
|
650 + | crate::output::PrimitiveIntHeaderOutput {
|
651 + | field: self.field.unwrap_or(0i32),
|
652 + | }
|
678 653 | }
|
679 654 | }
|
680 655 | }
|
681 - | /// See [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
682 - | pub mod empty_struct_with_content_on_wire_op_output {
|
656 + | /// See [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
657 + | pub mod enum_query_output {
|
683 658 |
|
684 - | impl ::std::convert::From<Builder> for crate::output::EmptyStructWithContentOnWireOpOutput {
|
659 + | impl ::std::convert::From<Builder> for crate::output::EnumQueryOutput {
|
685 660 | fn from(builder: Builder) -> Self {
|
686 661 | builder.build()
|
687 662 | }
|
688 663 | }
|
689 - | /// A builder for [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
664 + | /// A builder for [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
690 665 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
691 - | pub struct Builder {
|
692 - | pub(crate) empty: ::std::option::Option<crate::model::EmptyStruct>,
|
693 - | }
|
666 + | pub struct Builder {}
|
694 667 | impl Builder {
|
695 - | #[allow(missing_docs)] // documentation missing in model
|
696 - | pub fn empty(mut self, input: ::std::option::Option<crate::model::EmptyStruct>) -> Self {
|
697 - | self.empty = input;
|
698 - | self
|
699 - | }
|
700 - | /// Consumes the builder and constructs a [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
701 - | pub fn build(self) -> crate::output::EmptyStructWithContentOnWireOpOutput {
|
668 + | /// Consumes the builder and constructs a [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
669 + | pub fn build(self) -> crate::output::EnumQueryOutput {
|
702 670 | self.build_enforcing_required_and_enum_traits()
|
703 671 | }
|
704 - | fn build_enforcing_required_and_enum_traits(
|
705 - | self,
|
706 - | ) -> crate::output::EmptyStructWithContentOnWireOpOutput {
|
707 - | crate::output::EmptyStructWithContentOnWireOpOutput { empty: self.empty }
|
672 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::EnumQueryOutput {
|
673 + | crate::output::EnumQueryOutput {}
|
708 674 | }
|
709 675 | }
|
710 676 | }
|
711 - | /// See [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
712 - | pub mod case_insensitive_error_operation_output {
|
677 + | /// See [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
678 + | pub mod status_response_output {
|
713 679 |
|
714 - | impl ::std::convert::From<Builder> for crate::output::CaseInsensitiveErrorOperationOutput {
|
680 + | impl ::std::convert::From<Builder> for crate::output::StatusResponseOutput {
|
715 681 | fn from(builder: Builder) -> Self {
|
716 682 | builder.build()
|
717 683 | }
|
718 684 | }
|
719 - | /// A builder for [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
685 + | /// A builder for [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
720 686 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
721 - | pub struct Builder {}
|
687 + | pub struct Builder {
|
688 + | pub(crate) field: ::std::option::Option<i32>,
|
689 + | }
|
722 690 | impl Builder {
|
723 - | /// Consumes the builder and constructs a [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
724 - | pub fn build(self) -> crate::output::CaseInsensitiveErrorOperationOutput {
|
691 + | #[allow(missing_docs)] // documentation missing in model
|
692 + | pub fn field(mut self, input: i32) -> Self {
|
693 + | self.field = Some(input);
|
694 + | self
|
695 + | }
|
696 + | /// Consumes the builder and constructs a [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
697 + | pub fn build(self) -> crate::output::StatusResponseOutput {
|
725 698 | self.build_enforcing_required_and_enum_traits()
|
726 699 | }
|
727 - | fn build_enforcing_required_and_enum_traits(
|
728 - | self,
|
729 - | ) -> crate::output::CaseInsensitiveErrorOperationOutput {
|
730 - | crate::output::CaseInsensitiveErrorOperationOutput {}
|
700 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::StatusResponseOutput {
|
701 + | crate::output::StatusResponseOutput {
|
702 + | field: self.field.unwrap_or(0i32),
|
703 + | }
|
731 704 | }
|
732 705 | }
|
733 706 | }
|
734 - | /// See [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
735 - | pub mod null_in_non_sparse_output {
|
707 + | /// See [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
708 + | pub mod map_with_enum_key_op_output {
|
736 709 |
|
737 - | impl ::std::convert::From<Builder> for crate::output::NullInNonSparseOutput {
|
710 + | impl ::std::convert::From<Builder> for crate::output::MapWithEnumKeyOpOutput {
|
738 711 | fn from(builder: Builder) -> Self {
|
739 712 | builder.build()
|
740 713 | }
|
741 714 | }
|
742 - | /// A builder for [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
715 + | /// A builder for [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
743 716 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
744 717 | pub struct Builder {
|
745 - | pub(crate) list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
746 718 | pub(crate) map: ::std::option::Option<
|
747 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
719 + | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
748 720 | >,
|
749 - | pub(crate) union: ::std::option::Option<crate::model::SingleElementUnion>,
|
750 721 | }
|
751 722 | impl Builder {
|
752 - | #[allow(missing_docs)] // documentation missing in model
|
753 - | pub fn list(
|
754 - | mut self,
|
755 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
756 - | ) -> Self {
|
757 - | self.list = input;
|
758 - | self
|
759 - | }
|
760 723 | #[allow(missing_docs)] // documentation missing in model
|
761 724 | pub fn map(
|
762 725 | mut self,
|
763 726 | input: ::std::option::Option<
|
764 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
727 + | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
765 728 | >,
|
766 729 | ) -> Self {
|
767 730 | self.map = input;
|
768 731 | self
|
769 732 | }
|
733 + | /// Consumes the builder and constructs a [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
734 + | pub fn build(self) -> crate::output::MapWithEnumKeyOpOutput {
|
735 + | self.build_enforcing_required_and_enum_traits()
|
736 + | }
|
737 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MapWithEnumKeyOpOutput {
|
738 + | crate::output::MapWithEnumKeyOpOutput { map: self.map }
|
739 + | }
|
740 + | }
|
741 + | }
|
742 + | /// See [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
743 + | pub mod primitive_int_op_output {
|
744 + |
|
745 + | impl ::std::convert::From<Builder> for crate::output::PrimitiveIntOpOutput {
|
746 + | fn from(builder: Builder) -> Self {
|
747 + | builder.build()
|
748 + | }
|
749 + | }
|
750 + | /// A builder for [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
751 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
752 + | pub struct Builder {
|
753 + | pub(crate) value: ::std::option::Option<i32>,
|
754 + | }
|
755 + | impl Builder {
|
770 756 | #[allow(missing_docs)] // documentation missing in model
|
771 - | pub fn union(
|
772 - | mut self,
|
773 - | input: ::std::option::Option<crate::model::SingleElementUnion>,
|
774 - | ) -> Self {
|
775 - | self.union = input;
|
757 + | pub fn value(mut self, input: i32) -> Self {
|
758 + | self.value = Some(input);
|
776 759 | self
|
777 760 | }
|
778 - | /// Consumes the builder and constructs a [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
779 - | pub fn build(self) -> crate::output::NullInNonSparseOutput {
|
761 + | /// Consumes the builder and constructs a [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
762 + | pub fn build(self) -> crate::output::PrimitiveIntOpOutput {
|
780 763 | self.build_enforcing_required_and_enum_traits()
|
781 764 | }
|
782 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::NullInNonSparseOutput {
|
783 - | crate::output::NullInNonSparseOutput {
|
784 - | list: self.list,
|
785 - | map: self.map,
|
786 - | union: self.union,
|
765 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::PrimitiveIntOpOutput {
|
766 + | crate::output::PrimitiveIntOpOutput {
|
767 + | value: self.value.unwrap_or(0i32),
|
787 768 | }
|
788 769 | }
|
789 770 | }
|
790 771 | }
|
791 772 | /// See [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
792 773 | pub mod escaped_string_values_output {
|
793 774 |
|
794 775 | impl ::std::convert::From<Builder> for crate::output::EscapedStringValuesOutput {
|
795 776 | fn from(builder: Builder) -> Self {
|
796 777 | builder.build()
|
797 778 | }
|
798 779 | }
|
799 780 | /// A builder for [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
800 781 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
801 782 | pub struct Builder {
|
802 783 | pub(crate) r#enum: ::std::option::Option<crate::model::EnumWithEscapedChars>,
|
803 784 | pub(crate) some_string: ::std::option::Option<::std::string::String>,
|
804 785 | }
|
805 786 | impl Builder {
|
806 787 | #[allow(missing_docs)] // documentation missing in model
|
807 788 | pub fn r#enum(
|
808 789 | mut self,
|
809 790 | input: ::std::option::Option<crate::model::EnumWithEscapedChars>,
|
810 791 | ) -> Self {
|
811 792 | self.r#enum = input;
|
812 793 | self
|
813 794 | }
|
814 795 | #[allow(missing_docs)] // documentation missing in model
|
815 796 | pub fn some_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
816 797 | self.some_string = input;
|
817 798 | self
|
818 799 | }
|
819 800 | /// Consumes the builder and constructs a [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
820 801 | pub fn build(self) -> crate::output::EscapedStringValuesOutput {
|
821 802 | self.build_enforcing_required_and_enum_traits()
|
822 803 | }
|
823 804 | fn build_enforcing_required_and_enum_traits(
|
824 805 | self,
|
825 806 | ) -> crate::output::EscapedStringValuesOutput {
|
826 807 | crate::output::EscapedStringValuesOutput {
|
827 808 | r#enum: self.r#enum,
|
828 809 | some_string: self.some_string,
|
829 810 | }
|
830 811 | }
|
831 812 | }
|
832 813 | }
|
833 - | /// See [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
834 - | pub mod primitive_int_op_output {
|
814 + | /// See [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
815 + | pub mod null_in_non_sparse_output {
|
835 816 |
|
836 - | impl ::std::convert::From<Builder> for crate::output::PrimitiveIntOpOutput {
|
817 + | impl ::std::convert::From<Builder> for crate::output::NullInNonSparseOutput {
|
837 818 | fn from(builder: Builder) -> Self {
|
838 819 | builder.build()
|
839 820 | }
|
840 821 | }
|
841 - | /// A builder for [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
822 + | /// A builder for [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
842 823 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
843 824 | pub struct Builder {
|
844 - | pub(crate) value: ::std::option::Option<i32>,
|
825 + | pub(crate) list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
826 + | pub(crate) map: ::std::option::Option<
|
827 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
828 + | >,
|
829 + | pub(crate) union: ::std::option::Option<crate::model::SingleElementUnion>,
|
845 830 | }
|
846 831 | impl Builder {
|
847 832 | #[allow(missing_docs)] // documentation missing in model
|
848 - | pub fn value(mut self, input: i32) -> Self {
|
849 - | self.value = Some(input);
|
833 + | pub fn list(
|
834 + | mut self,
|
835 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
836 + | ) -> Self {
|
837 + | self.list = input;
|
850 838 | self
|
851 839 | }
|
852 - | /// Consumes the builder and constructs a [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
853 - | pub fn build(self) -> crate::output::PrimitiveIntOpOutput {
|
854 - | self.build_enforcing_required_and_enum_traits()
|
855 - | }
|
856 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::PrimitiveIntOpOutput {
|
857 - | crate::output::PrimitiveIntOpOutput {
|
858 - | value: self.value.unwrap_or(0i32),
|
859 - | }
|
860 - | }
|
861 - | }
|
862 - | }
|
863 - | /// See [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
864 - | pub mod map_with_enum_key_op_output {
|
865 - |
|
866 - | impl ::std::convert::From<Builder> for crate::output::MapWithEnumKeyOpOutput {
|
867 - | fn from(builder: Builder) -> Self {
|
868 - | builder.build()
|
869 - | }
|
870 - | }
|
871 - | /// A builder for [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
872 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
873 - | pub struct Builder {
|
874 - | pub(crate) map: ::std::option::Option<
|
875 - | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
876 - | >,
|
877 - | }
|
878 - | impl Builder {
|
879 840 | #[allow(missing_docs)] // documentation missing in model
|
880 841 | pub fn map(
|
881 842 | mut self,
|
882 843 | input: ::std::option::Option<
|
883 - | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
844 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
884 845 | >,
|
885 846 | ) -> Self {
|
886 847 | self.map = input;
|
887 848 | self
|
888 849 | }
|
889 - | /// Consumes the builder and constructs a [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
890 - | pub fn build(self) -> crate::output::MapWithEnumKeyOpOutput {
|
891 - | self.build_enforcing_required_and_enum_traits()
|
892 - | }
|
893 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MapWithEnumKeyOpOutput {
|
894 - | crate::output::MapWithEnumKeyOpOutput { map: self.map }
|
895 - | }
|
896 - | }
|
897 - | }
|
898 - | /// See [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
899 - | pub mod status_response_output {
|
900 - |
|
901 - | impl ::std::convert::From<Builder> for crate::output::StatusResponseOutput {
|
902 - | fn from(builder: Builder) -> Self {
|
903 - | builder.build()
|
904 - | }
|
905 - | }
|
906 - | /// A builder for [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
907 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
908 - | pub struct Builder {
|
909 - | pub(crate) field: ::std::option::Option<i32>,
|
910 - | }
|
911 - | impl Builder {
|
912 850 | #[allow(missing_docs)] // documentation missing in model
|
913 - | pub fn field(mut self, input: i32) -> Self {
|
914 - | self.field = Some(input);
|
851 + | pub fn union(
|
852 + | mut self,
|
853 + | input: ::std::option::Option<crate::model::SingleElementUnion>,
|
854 + | ) -> Self {
|
855 + | self.union = input;
|
915 856 | self
|
916 857 | }
|
917 - | /// Consumes the builder and constructs a [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
918 - | pub fn build(self) -> crate::output::StatusResponseOutput {
|
858 + | /// Consumes the builder and constructs a [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
859 + | pub fn build(self) -> crate::output::NullInNonSparseOutput {
|
919 860 | self.build_enforcing_required_and_enum_traits()
|
920 861 | }
|
921 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::StatusResponseOutput {
|
922 - | crate::output::StatusResponseOutput {
|
923 - | field: self.field.unwrap_or(0i32),
|
862 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::NullInNonSparseOutput {
|
863 + | crate::output::NullInNonSparseOutput {
|
864 + | list: self.list,
|
865 + | map: self.map,
|
866 + | union: self.union,
|
924 867 | }
|
925 868 | }
|
926 869 | }
|
927 870 | }
|
928 - | /// See [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
929 - | pub mod enum_query_output {
|
871 + | /// See [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
872 + | pub mod case_insensitive_error_operation_output {
|
930 873 |
|
931 - | impl ::std::convert::From<Builder> for crate::output::EnumQueryOutput {
|
874 + | impl ::std::convert::From<Builder> for crate::output::CaseInsensitiveErrorOperationOutput {
|
932 875 | fn from(builder: Builder) -> Self {
|
933 876 | builder.build()
|
934 877 | }
|
935 878 | }
|
936 - | /// A builder for [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
879 + | /// A builder for [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
937 880 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
938 881 | pub struct Builder {}
|
939 882 | impl Builder {
|
940 - | /// Consumes the builder and constructs a [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
941 - | pub fn build(self) -> crate::output::EnumQueryOutput {
|
883 + | /// Consumes the builder and constructs a [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
884 + | pub fn build(self) -> crate::output::CaseInsensitiveErrorOperationOutput {
|
942 885 | self.build_enforcing_required_and_enum_traits()
|
943 886 | }
|
944 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::EnumQueryOutput {
|
945 - | crate::output::EnumQueryOutput {}
|
887 + | fn build_enforcing_required_and_enum_traits(
|
888 + | self,
|
889 + | ) -> crate::output::CaseInsensitiveErrorOperationOutput {
|
890 + | crate::output::CaseInsensitiveErrorOperationOutput {}
|
946 891 | }
|
947 892 | }
|
948 893 | }
|
949 - | /// See [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
950 - | pub mod primitive_int_header_output {
|
894 + | /// See [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
895 + | pub mod empty_struct_with_content_on_wire_op_output {
|
951 896 |
|
952 - | impl ::std::convert::From<Builder> for crate::output::PrimitiveIntHeaderOutput {
|
897 + | impl ::std::convert::From<Builder> for crate::output::EmptyStructWithContentOnWireOpOutput {
|
953 898 | fn from(builder: Builder) -> Self {
|
954 899 | builder.build()
|
955 900 | }
|
956 901 | }
|
957 - | /// A builder for [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
902 + | /// A builder for [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
958 903 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
959 904 | pub struct Builder {
|
960 - | pub(crate) field: ::std::option::Option<i32>,
|
905 + | pub(crate) empty: ::std::option::Option<crate::model::EmptyStruct>,
|
961 906 | }
|
962 907 | impl Builder {
|
963 908 | #[allow(missing_docs)] // documentation missing in model
|
964 - | pub fn field(mut self, input: i32) -> Self {
|
965 - | self.field = Some(input);
|
909 + | pub fn empty(mut self, input: ::std::option::Option<crate::model::EmptyStruct>) -> Self {
|
910 + | self.empty = input;
|
966 911 | self
|
967 912 | }
|
968 - | /// Consumes the builder and constructs a [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
969 - | pub fn build(self) -> crate::output::PrimitiveIntHeaderOutput {
|
913 + | /// Consumes the builder and constructs a [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
914 + | pub fn build(self) -> crate::output::EmptyStructWithContentOnWireOpOutput {
|
970 915 | self.build_enforcing_required_and_enum_traits()
|
971 916 | }
|
972 917 | fn build_enforcing_required_and_enum_traits(
|
973 918 | self,
|
974 - | ) -> crate::output::PrimitiveIntHeaderOutput {
|
975 - | crate::output::PrimitiveIntHeaderOutput {
|
976 - | field: self.field.unwrap_or(0i32),
|
977 - | }
|
919 + | ) -> crate::output::EmptyStructWithContentOnWireOpOutput {
|
920 + | crate::output::EmptyStructWithContentOnWireOpOutput { empty: self.empty }
|
978 921 | }
|
979 922 | }
|
980 923 | }
|
981 - | /// See [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
982 - | pub mod string_payload_output {
|
924 + | /// See [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
925 + | pub mod query_precedence_output {
|
983 926 |
|
984 - | impl ::std::convert::From<Builder> for crate::output::StringPayloadOutput {
|
927 + | impl ::std::convert::From<Builder> for crate::output::QueryPrecedenceOutput {
|
985 928 | fn from(builder: Builder) -> Self {
|
986 929 | builder.build()
|
987 930 | }
|
988 931 | }
|
989 - | /// A builder for [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
932 + | /// A builder for [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
990 933 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
991 - | pub struct Builder {
|
992 - | pub(crate) payload: ::std::option::Option<::std::string::String>,
|
993 - | }
|
934 + | pub struct Builder {}
|
994 935 | impl Builder {
|
995 - | #[allow(missing_docs)] // documentation missing in model
|
996 - | pub fn payload(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
997 - | self.payload = input;
|
998 - | self
|
999 - | }
|
1000 - | /// Consumes the builder and constructs a [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
1001 - | pub fn build(self) -> crate::output::StringPayloadOutput {
|
936 + | /// Consumes the builder and constructs a [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
937 + | pub fn build(self) -> crate::output::QueryPrecedenceOutput {
|
1002 938 | self.build_enforcing_required_and_enum_traits()
|
1003 939 | }
|
1004 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::StringPayloadOutput {
|
1005 - | crate::output::StringPayloadOutput {
|
1006 - | payload: self.payload,
|
1007 - | }
|
940 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::QueryPrecedenceOutput {
|
941 + | crate::output::QueryPrecedenceOutput {}
|
1008 942 | }
|
1009 943 | }
|
1010 944 | }
|