1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 2 | #[::pyo3::pyclass]
|
3 - | /// :param events typing.AsyncIterator\[constraints_without_public_constrained_types.model.Event\]:
|
3 + | /// :param con_a constraints_without_public_constrained_types.model.ConA:
|
4 4 | /// :rtype None:
|
5 5 | #[allow(missing_docs)] // documentation missing in model
|
6 - | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
7 - | pub struct EventStreamsOperationOutput {
|
6 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
7 + | pub struct ConstrainedShapesOperationOutput {
|
8 8 | #[pyo3(get, set)]
|
9 - | /// :type typing.AsyncIterator\[constraints_without_public_constrained_types.model.Event\]:
|
9 + | /// :type constraints_without_public_constrained_types.model.ConA:
|
10 10 | #[allow(missing_docs)] // documentation missing in model
|
11 - | pub events: crate::python_event_stream::EventStreamsOperationOutputEventsEventStreamSender,
|
11 + | pub con_a: crate::model::ConA,
|
12 12 | }
|
13 - | impl EventStreamsOperationOutput {
|
13 + | impl ConstrainedShapesOperationOutput {
|
14 14 | #[allow(missing_docs)] // documentation missing in model
|
15 - | pub fn events(
|
16 - | &self,
|
17 - | ) -> &crate::python_event_stream::EventStreamsOperationOutputEventsEventStreamSender {
|
18 - | &self.events
|
15 + | pub fn con_a(&self) -> &crate::model::ConA {
|
16 + | &self.con_a
|
19 17 | }
|
20 18 | }
|
21 19 | #[allow(clippy::new_without_default)]
|
22 20 | #[allow(clippy::too_many_arguments)]
|
23 21 | #[::pyo3::pymethods]
|
24 - | impl EventStreamsOperationOutput {
|
22 + | impl ConstrainedShapesOperationOutput {
|
25 23 | #[new]
|
26 - | pub fn new(
|
27 - | events: crate::python_event_stream::EventStreamsOperationOutputEventsEventStreamSender,
|
28 - | ) -> Self {
|
29 - | Self { events }
|
24 + | pub fn new(con_a: crate::model::ConA) -> Self {
|
25 + | Self { con_a }
|
30 26 | }
|
31 27 | fn __repr__(&self) -> String {
|
32 28 | format!("{self:?}")
|
33 29 | }
|
34 30 | fn __str__(&self) -> String {
|
35 31 | format!("{self:?}")
|
36 32 | }
|
37 33 | }
|
38 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EventStreamsOperationOutput> {
|
34 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ConstrainedShapesOperationOutput> {
|
39 35 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
40 - | ob.extract::<EventStreamsOperationOutput>().map(Box::new)
|
36 + | ob.extract::<ConstrainedShapesOperationOutput>()
|
37 + | .map(Box::new)
|
41 38 | }
|
42 39 | }
|
43 40 |
|
44 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EventStreamsOperationOutput> {
|
41 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ConstrainedShapesOperationOutput> {
|
45 42 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
46 43 | (*self).into_py(py)
|
47 44 | }
|
48 45 | }
|
49 - | impl EventStreamsOperationOutput {
|
50 - | /// Creates a new builder-style object to manufacture [`EventStreamsOperationOutput`](crate::output::EventStreamsOperationOutput).
|
51 - | pub fn builder() -> crate::output::event_streams_operation_output::Builder {
|
52 - | crate::output::event_streams_operation_output::Builder::default()
|
46 + | impl ConstrainedShapesOperationOutput {
|
47 + | /// Creates a new builder-style object to manufacture [`ConstrainedShapesOperationOutput`](crate::output::ConstrainedShapesOperationOutput).
|
48 + | pub fn builder() -> crate::output::constrained_shapes_operation_output::Builder {
|
49 + | crate::output::constrained_shapes_operation_output::Builder::default()
|
53 50 | }
|
54 51 | }
|
55 52 |
|
56 53 | #[::pyo3::pyclass]
|
57 - | /// :param streaming_blob constraints_without_public_constrained_types.types.ByteStream:
|
54 + | /// :param list typing.Optional\[typing.List\[constraints_without_public_constrained_types.model.ConstrainedUnionInOutput\]\]:
|
55 + | /// :param map typing.Optional\[typing.Dict\[str, constraints_without_public_constrained_types.model.TransitivelyConstrainedStructureInOutput\]\]:
|
56 + | /// :param union typing.Optional\[constraints_without_public_constrained_types.model.ConstrainedUnionInOutput\]:
|
58 57 | /// :rtype None:
|
59 58 | #[allow(missing_docs)] // documentation missing in model
|
60 - | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
61 - | pub struct StreamingBlobOperationOutput {
|
59 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
60 + | pub struct ConstrainedShapesOnlyInOutputOperationOutput {
|
62 61 | #[pyo3(get, set)]
|
63 - | /// :type constraints_without_public_constrained_types.types.ByteStream:
|
62 + | /// :type typing.Optional\[typing.List\[constraints_without_public_constrained_types.model.ConstrainedUnionInOutput\]\]:
|
64 63 | #[allow(missing_docs)] // documentation missing in model
|
65 - | pub streaming_blob: ::aws_smithy_http_server_python::types::ByteStream,
|
66 - | }
|
67 - | impl StreamingBlobOperationOutput {
|
64 + | pub list: ::std::option::Option<::std::vec::Vec<crate::model::ConstrainedUnionInOutput>>,
|
65 + | #[pyo3(get, set)]
|
66 + | /// :type typing.Optional\[typing.Dict\[str, constraints_without_public_constrained_types.model.TransitivelyConstrainedStructureInOutput\]\]:
|
68 67 | #[allow(missing_docs)] // documentation missing in model
|
69 - | pub fn streaming_blob(&self) -> &::aws_smithy_http_server_python::types::ByteStream {
|
70 - | &self.streaming_blob
|
71 - | }
|
72 - | }
|
73 - | #[allow(clippy::new_without_default)]
|
74 - | #[allow(clippy::too_many_arguments)]
|
75 - | #[::pyo3::pymethods]
|
76 - | impl StreamingBlobOperationOutput {
|
77 - | #[new]
|
78 - | pub fn new(streaming_blob: ::aws_smithy_http_server_python::types::ByteStream) -> Self {
|
79 - | Self { streaming_blob }
|
80 - | }
|
81 - | fn __repr__(&self) -> String {
|
82 - | format!("{self:?}")
|
83 - | }
|
84 - | fn __str__(&self) -> String {
|
85 - | format!("{self:?}")
|
86 - | }
|
87 - | }
|
88 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<StreamingBlobOperationOutput> {
|
89 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
90 - | ob.extract::<StreamingBlobOperationOutput>().map(Box::new)
|
91 - | }
|
92 - | }
|
93 - |
|
94 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StreamingBlobOperationOutput> {
|
95 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
96 - | (*self).into_py(py)
|
97 - | }
|
98 - | }
|
99 - | impl StreamingBlobOperationOutput {
|
100 - | /// Creates a new builder-style object to manufacture [`StreamingBlobOperationOutput`](crate::output::StreamingBlobOperationOutput).
|
101 - | pub fn builder() -> crate::output::streaming_blob_operation_output::Builder {
|
102 - | crate::output::streaming_blob_operation_output::Builder::default()
|
103 - | }
|
104 - | }
|
105 - |
|
106 - | #[::pyo3::pyclass]
|
107 - | /// :param non_streaming_blob typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
|
108 - | /// :rtype None:
|
109 - | #[allow(missing_docs)] // documentation missing in model
|
110 - | #[derive(
|
111 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
112 - | )]
|
113 - | pub struct NonStreamingBlobOperationOutput {
|
68 + | pub map: ::std::option::Option<
|
69 + | ::std::collections::HashMap<
|
70 + | ::std::string::String,
|
71 + | crate::model::TransitivelyConstrainedStructureInOutput,
|
72 + | >,
|
73 + | >,
|
114 74 | #[pyo3(get, set)]
|
115 - | /// :type typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
|
75 + | /// :type typing.Optional\[constraints_without_public_constrained_types.model.ConstrainedUnionInOutput\]:
|
116 76 | #[allow(missing_docs)] // documentation missing in model
|
117 - | pub non_streaming_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
77 + | pub union: ::std::option::Option<crate::model::ConstrainedUnionInOutput>,
|
118 78 | }
|
119 - | impl NonStreamingBlobOperationOutput {
|
79 + | impl ConstrainedShapesOnlyInOutputOperationOutput {
|
120 80 | #[allow(missing_docs)] // documentation missing in model
|
121 - | pub fn non_streaming_blob(
|
122 - | &self,
|
123 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
124 - | self.non_streaming_blob.as_ref()
|
125 - | }
|
126 - | }
|
127 - | #[allow(clippy::new_without_default)]
|
128 - | #[allow(clippy::too_many_arguments)]
|
129 - | #[::pyo3::pymethods]
|
130 - | impl NonStreamingBlobOperationOutput {
|
131 - | #[new]
|
132 - | pub fn new(
|
133 - | non_streaming_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
134 - | ) -> Self {
|
135 - | Self { non_streaming_blob }
|
136 - | }
|
137 - | fn __repr__(&self) -> String {
|
138 - | format!("{self:?}")
|
139 - | }
|
140 - | fn __str__(&self) -> String {
|
141 - | format!("{self:?}")
|
142 - | }
|
143 - | }
|
144 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NonStreamingBlobOperationOutput> {
|
145 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
146 - | ob.extract::<NonStreamingBlobOperationOutput>()
|
147 - | .map(Box::new)
|
148 - | }
|
149 - | }
|
150 - |
|
151 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NonStreamingBlobOperationOutput> {
|
152 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
153 - | (*self).into_py(py)
|
154 - | }
|
155 - | }
|
156 - | impl NonStreamingBlobOperationOutput {
|
157 - | /// Creates a new builder-style object to manufacture [`NonStreamingBlobOperationOutput`](crate::output::NonStreamingBlobOperationOutput).
|
158 - | pub fn builder() -> crate::output::non_streaming_blob_operation_output::Builder {
|
159 - | crate::output::non_streaming_blob_operation_output::Builder::default()
|
81 + | pub fn list(&self) -> ::std::option::Option<&[crate::model::ConstrainedUnionInOutput]> {
|
82 + | self.list.as_deref()
|
160 83 | }
|
161 - | }
|
162 - |
|
163 - | #[::pyo3::pyclass]
|
164 - | /// :param map_of_enum_string typing.Optional\[typing.Dict\[constraints_without_public_constrained_types.model.EnumString, constraints_without_public_constrained_types.model.EnumString\]\]:
|
165 - | /// :rtype None:
|
166 - | #[allow(missing_docs)] // documentation missing in model
|
167 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
168 - | pub struct QueryParamsTargetingMapOfEnumStringOperationOutput {
|
169 - | #[pyo3(get, set)]
|
170 - | /// :type typing.Optional\[typing.Dict\[constraints_without_public_constrained_types.model.EnumString, constraints_without_public_constrained_types.model.EnumString\]\]:
|
171 - | #[allow(missing_docs)] // documentation missing in model
|
172 - | pub map_of_enum_string: ::std::option::Option<
|
173 - | ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
|
174 - | >,
|
175 - | }
|
176 - | impl QueryParamsTargetingMapOfEnumStringOperationOutput {
|
177 84 | #[allow(missing_docs)] // documentation missing in model
|
178 - | pub fn map_of_enum_string(
|
85 + | pub fn map(
|
179 86 | &self,
|
180 87 | ) -> ::std::option::Option<
|
181 - | &::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
|
88 + | &::std::collections::HashMap<
|
89 + | ::std::string::String,
|
90 + | crate::model::TransitivelyConstrainedStructureInOutput,
|
91 + | >,
|
182 92 | > {
|
183 - | self.map_of_enum_string.as_ref()
|
93 + | self.map.as_ref()
|
94 + | }
|
95 + | #[allow(missing_docs)] // documentation missing in model
|
96 + | pub fn union(&self) -> ::std::option::Option<&crate::model::ConstrainedUnionInOutput> {
|
97 + | self.union.as_ref()
|
184 98 | }
|
185 99 | }
|
186 100 | #[allow(clippy::new_without_default)]
|
187 101 | #[allow(clippy::too_many_arguments)]
|
188 102 | #[::pyo3::pymethods]
|
189 - | impl QueryParamsTargetingMapOfEnumStringOperationOutput {
|
103 + | impl ConstrainedShapesOnlyInOutputOperationOutput {
|
190 104 | #[new]
|
191 105 | pub fn new(
|
192 - | map_of_enum_string: ::std::option::Option<
|
193 - | ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
|
106 + | list: ::std::option::Option<::std::vec::Vec<crate::model::ConstrainedUnionInOutput>>,
|
107 + | map: ::std::option::Option<
|
108 + | ::std::collections::HashMap<
|
109 + | ::std::string::String,
|
110 + | crate::model::TransitivelyConstrainedStructureInOutput,
|
111 + | >,
|
194 112 | >,
|
113 + | union: ::std::option::Option<crate::model::ConstrainedUnionInOutput>,
|
195 114 | ) -> Self {
|
196 - | Self { map_of_enum_string }
|
115 + | Self { list, map, union }
|
197 116 | }
|
198 117 | fn __repr__(&self) -> String {
|
199 118 | format!("{self:?}")
|
200 119 | }
|
201 120 | fn __str__(&self) -> String {
|
202 121 | format!("{self:?}")
|
203 122 | }
|
204 123 | }
|
205 124 | impl<'source> ::pyo3::FromPyObject<'source>
|
206 - | for std::boxed::Box<QueryParamsTargetingMapOfEnumStringOperationOutput>
|
125 + | for std::boxed::Box<ConstrainedShapesOnlyInOutputOperationOutput>
|
207 126 | {
|
208 127 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
209 - | ob.extract::<QueryParamsTargetingMapOfEnumStringOperationOutput>()
|
128 + | ob.extract::<ConstrainedShapesOnlyInOutputOperationOutput>()
|
210 129 | .map(Box::new)
|
211 130 | }
|
212 131 | }
|
213 132 |
|
214 133 | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
215 - | for std::boxed::Box<QueryParamsTargetingMapOfEnumStringOperationOutput>
|
134 + | for std::boxed::Box<ConstrainedShapesOnlyInOutputOperationOutput>
|
216 135 | {
|
217 136 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
218 137 | (*self).into_py(py)
|
219 138 | }
|
220 139 | }
|
221 - | impl QueryParamsTargetingMapOfEnumStringOperationOutput {
|
222 - | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput).
|
223 - | pub fn builder(
|
224 - | ) -> crate::output::query_params_targeting_map_of_enum_string_operation_output::Builder {
|
225 - | crate::output::query_params_targeting_map_of_enum_string_operation_output::Builder::default(
|
226 - | )
|
140 + | impl ConstrainedShapesOnlyInOutputOperationOutput {
|
141 + | /// Creates a new builder-style object to manufacture [`ConstrainedShapesOnlyInOutputOperationOutput`](crate::output::ConstrainedShapesOnlyInOutputOperationOutput).
|
142 + | pub fn builder() -> crate::output::constrained_shapes_only_in_output_operation_output::Builder {
|
143 + | crate::output::constrained_shapes_only_in_output_operation_output::Builder::default()
|
227 144 | }
|
228 145 | }
|
229 146 |
|
230 147 | #[::pyo3::pyclass]
|
231 - | /// :param length_map typing.Optional\[typing.Dict\[str, str\]\]:
|
148 + | /// :param length_string_label str:
|
149 + | /// :param range_integer_label int:
|
150 + | /// :param range_short_label int:
|
151 + | /// :param range_long_label int:
|
152 + | /// :param range_byte_label int:
|
153 + | /// :param enum_string_label constraints_without_public_constrained_types.model.EnumString:
|
154 + | /// :param length_string_header_map typing.Dict\[str, str\]:
|
155 + | /// :param range_integer_header int:
|
156 + | /// :param range_short_header int:
|
157 + | /// :param range_long_header int:
|
158 + | /// :param range_byte_header int:
|
159 + | /// :param range_byte_query int:
|
160 + | /// :param range_short_query int:
|
161 + | /// :param range_integer_query int:
|
162 + | /// :param range_long_query int:
|
163 + | /// :param length_string_header typing.Optional\[str\]:
|
164 + | /// :param length_string_set_header typing.Optional\[typing.Set\[str\]\]:
|
165 + | /// :param list_length_string_header typing.Optional\[typing.List\[str\]\]:
|
166 + | /// :param length_list_pattern_string_header typing.Optional\[typing.List\[str\]\]:
|
167 + | /// :param length_set_pattern_string_header typing.Optional\[typing.Set\[str\]\]:
|
168 + | /// :param range_byte_set_header typing.Optional\[typing.List\[int\]\]:
|
169 + | /// :param range_short_set_header typing.Optional\[typing.List\[int\]\]:
|
170 + | /// :param range_integer_set_header typing.Optional\[typing.List\[int\]\]:
|
171 + | /// :param range_long_set_header typing.Optional\[typing.List\[int\]\]:
|
172 + | /// :param range_byte_list_header typing.Optional\[typing.List\[int\]\]:
|
173 + | /// :param range_short_list_header typing.Optional\[typing.List\[int\]\]:
|
174 + | /// :param range_integer_list_header typing.Optional\[typing.List\[int\]\]:
|
175 + | /// :param range_long_list_header typing.Optional\[typing.List\[int\]\]:
|
176 + | /// :param length_string_query typing.Optional\[str\]:
|
177 + | /// :param enum_string_query typing.Optional\[constraints_without_public_constrained_types.model.EnumString\]:
|
178 + | /// :param length_string_list_query typing.Optional\[typing.List\[str\]\]:
|
179 + | /// :param length_list_pattern_string_query typing.Optional\[typing.List\[str\]\]:
|
180 + | /// :param length_string_set_query typing.Optional\[typing.Set\[str\]\]:
|
181 + | /// :param range_byte_list_query typing.Optional\[typing.List\[int\]\]:
|
182 + | /// :param range_short_list_query typing.Optional\[typing.List\[int\]\]:
|
183 + | /// :param range_integer_list_query typing.Optional\[typing.List\[int\]\]:
|
184 + | /// :param range_long_list_query typing.Optional\[typing.List\[int\]\]:
|
185 + | /// :param range_byte_set_query typing.Optional\[typing.List\[int\]\]:
|
186 + | /// :param range_short_set_query typing.Optional\[typing.List\[int\]\]:
|
187 + | /// :param range_integer_set_query typing.Optional\[typing.List\[int\]\]:
|
188 + | /// :param range_long_set_query typing.Optional\[typing.List\[int\]\]:
|
189 + | /// :param enum_string_list_query typing.Optional\[typing.List\[constraints_without_public_constrained_types.model.EnumString\]\]:
|
232 190 | /// :rtype None:
|
233 191 | #[allow(missing_docs)] // documentation missing in model
|
234 192 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
235 - | pub struct HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
193 + | pub struct ConstrainedHttpBoundShapesOperationOutput {
|
236 194 | #[pyo3(get, set)]
|
237 - | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
195 + | /// :type str:
|
238 196 | #[allow(missing_docs)] // documentation missing in model
|
239 - | pub length_map: ::std::option::Option<
|
240 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
241 - | >,
|
242 - | }
|
243 - | impl HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
197 + | pub length_string_label: ::std::string::String,
|
198 + | #[pyo3(get, set)]
|
199 + | /// :type int:
|
244 200 | #[allow(missing_docs)] // documentation missing in model
|
245 - | pub fn length_map(
|
246 - | &self,
|
247 - | ) -> ::std::option::Option<
|
248 - | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
249 - | > {
|
250 - | self.length_map.as_ref()
|
251 - | }
|
252 - | }
|
253 - | #[allow(clippy::new_without_default)]
|
254 - | #[allow(clippy::too_many_arguments)]
|
255 - | #[::pyo3::pymethods]
|
256 - | impl HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
257 - | #[new]
|
258 - | pub fn new(
|
259 - | length_map: ::std::option::Option<
|
260 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
261 - | >,
|
262 - | ) -> Self {
|
263 - | Self { length_map }
|
264 - | }
|
265 - | fn __repr__(&self) -> String {
|
266 - | format!("{self:?}")
|
267 - | }
|
268 - | fn __str__(&self) -> String {
|
269 - | format!("{self:?}")
|
270 - | }
|
271 - | }
|
272 - | impl<'source> ::pyo3::FromPyObject<'source>
|
273 - | for std::boxed::Box<HttpPrefixHeadersTargetingLengthMapOperationOutput>
|
274 - | {
|
275 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
276 - | ob.extract::<HttpPrefixHeadersTargetingLengthMapOperationOutput>()
|
277 - | .map(Box::new)
|
278 - | }
|
279 - | }
|
280 - |
|
281 - | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
282 - | for std::boxed::Box<HttpPrefixHeadersTargetingLengthMapOperationOutput>
|
283 - | {
|
284 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
285 - | (*self).into_py(py)
|
286 - | }
|
287 - | }
|
288 - | impl HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
289 - | /// Creates a new builder-style object to manufacture [`HttpPrefixHeadersTargetingLengthMapOperationOutput`](crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput).
|
290 - | pub fn builder(
|
291 - | ) -> crate::output::http_prefix_headers_targeting_length_map_operation_output::Builder {
|
292 - | crate::output::http_prefix_headers_targeting_length_map_operation_output::Builder::default()
|
293 - | }
|
294 - | }
|
295 - |
|
296 - | #[::pyo3::pyclass]
|
297 - | /// :param map_of_length_pattern_string typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
298 - | /// :rtype None:
|
299 - | #[allow(missing_docs)] // documentation missing in model
|
300 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
301 - | pub struct QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput {
|
201 + | pub range_integer_label: i32,
|
302 202 | #[pyo3(get, set)]
|
303 - | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
203 + | /// :type int:
|
304 204 | #[allow(missing_docs)] // documentation missing in model
|
305 - | pub map_of_length_pattern_string: ::std::option::Option<
|
306 - | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
307 - | >,
|
308 - | }
|
309 - | impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput {
|
205 + | pub range_short_label: i16,
|
206 + | #[pyo3(get, set)]
|
207 + | /// :type int:
|
310 208 | #[allow(missing_docs)] // documentation missing in model
|
311 - | pub fn map_of_length_pattern_string(
|
312 - | &self,
|
313 - | ) -> ::std::option::Option<
|
314 - | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
315 - | > {
|
316 - | self.map_of_length_pattern_string.as_ref()
|
317 - | }
|
318 - | }
|
319 - | #[allow(clippy::new_without_default)]
|
320 - | #[allow(clippy::too_many_arguments)]
|
321 - | #[::pyo3::pymethods]
|
322 - | impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput {
|
323 - | #[new]
|
324 - | pub fn new(
|
325 - | map_of_length_pattern_string: ::std::option::Option<
|
326 - | ::std::collections::HashMap<
|
327 - | ::std::string::String,
|
328 - | ::std::vec::Vec<::std::string::String>,
|
329 - | >,
|
330 - | >,
|
331 - | ) -> Self {
|
332 - | Self {
|
333 - | map_of_length_pattern_string,
|
334 - | }
|
335 - | }
|
336 - | fn __repr__(&self) -> String {
|
337 - | format!("{self:?}")
|
338 - | }
|
339 - | fn __str__(&self) -> String {
|
340 - | format!("{self:?}")
|
341 - | }
|
342 - | }
|
343 - | impl<'source> ::pyo3::FromPyObject<'source>
|
344 - | for std::boxed::Box<QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput>
|
345 - | {
|
346 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
347 - | ob.extract::<QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput>()
|
348 - | .map(Box::new)
|
349 - | }
|
350 - | }
|
351 - |
|
352 - | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
353 - | for std::boxed::Box<QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput>
|
354 - | {
|
355 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
356 - | (*self).into_py(py)
|
357 - | }
|
358 - | }
|
359 - | impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput {
|
360 - | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput).
|
361 - | pub fn builder() -> crate::output::query_params_targeting_map_of_list_of_length_pattern_string_operation_output::Builder{
|
362 - | crate::output::query_params_targeting_map_of_list_of_length_pattern_string_operation_output::Builder::default()
|
363 - | }
|
364 - | }
|
365 - |
|
366 - | #[::pyo3::pyclass]
|
367 - | /// :param map_of_length_pattern_string typing.Optional\[typing.Dict\[str, str\]\]:
|
368 - | /// :rtype None:
|
369 - | #[allow(missing_docs)] // documentation missing in model
|
370 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
371 - | pub struct QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
209 + | pub range_long_label: i64,
|
372 210 | #[pyo3(get, set)]
|
373 - | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
211 + | /// :type int:
|
374 212 | #[allow(missing_docs)] // documentation missing in model
|
375 - | pub map_of_length_pattern_string: ::std::option::Option<
|
213 + | pub range_byte_label: i8,
|
214 + | #[pyo3(get, set)]
|
215 + | /// :type constraints_without_public_constrained_types.model.EnumString:
|
216 + | #[allow(missing_docs)] // documentation missing in model
|
217 + | pub enum_string_label: crate::model::EnumString,
|
218 + | #[pyo3(get, set)]
|
219 + | /// :type typing.Dict\[str, str\]:
|
220 + | #[allow(missing_docs)] // documentation missing in model
|
221 + | pub length_string_header_map:
|
376 222 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
377 - | >,
|
378 - | }
|
379 - | impl QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
223 + | #[pyo3(get, set)]
|
224 + | /// :type typing.Optional\[str\]:
|
380 225 | #[allow(missing_docs)] // documentation missing in model
|
381 - | pub fn map_of_length_pattern_string(
|
382 - | &self,
|
383 - | ) -> ::std::option::Option<
|
384 - | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
385 - | > {
|
386 - | self.map_of_length_pattern_string.as_ref()
|
387 - | }
|
226 + | pub length_string_header: ::std::option::Option<::std::string::String>,
|
227 + | #[pyo3(get, set)]
|
228 + | /// :type int:
|
229 + | #[allow(missing_docs)] // documentation missing in model
|
230 + | pub range_integer_header: i32,
|
231 + | #[pyo3(get, set)]
|
232 + | /// :type int:
|
233 + | #[allow(missing_docs)] // documentation missing in model
|
234 + | pub range_short_header: i16,
|
235 + | #[pyo3(get, set)]
|
236 + | /// :type int:
|
237 + | #[allow(missing_docs)] // documentation missing in model
|
238 + | pub range_long_header: i64,
|
239 + | #[pyo3(get, set)]
|
240 + | /// :type int:
|
241 + | #[allow(missing_docs)] // documentation missing in model
|
242 + | pub range_byte_header: i8,
|
243 + | #[pyo3(get, set)]
|
244 + | /// :type typing.Optional\[typing.Set\[str\]\]:
|
245 + | #[allow(missing_docs)] // documentation missing in model
|
246 + | pub length_string_set_header: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
247 + | #[pyo3(get, set)]
|
248 + | /// :type typing.Optional\[typing.List\[str\]\]:
|
249 + | #[allow(missing_docs)] // documentation missing in model
|
250 + | pub list_length_string_header: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
251 + | #[pyo3(get, set)]
|
252 + | /// :type typing.Optional\[typing.List\[str\]\]:
|
253 + | #[allow(missing_docs)] // documentation missing in model
|
254 + | pub length_list_pattern_string_header:
|
255 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
256 + | #[pyo3(get, set)]
|
257 + | /// :type typing.Optional\[typing.Set\[str\]\]:
|
258 + | #[allow(missing_docs)] // documentation missing in model
|
259 + | pub length_set_pattern_string_header:
|
260 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
261 + | #[pyo3(get, set)]
|
262 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
263 + | #[allow(missing_docs)] // documentation missing in model
|
264 + | pub range_byte_set_header: ::std::option::Option<::std::vec::Vec<i8>>,
|
265 + | #[pyo3(get, set)]
|
266 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
267 + | #[allow(missing_docs)] // documentation missing in model
|
268 + | pub range_short_set_header: ::std::option::Option<::std::vec::Vec<i16>>,
|
269 + | #[pyo3(get, set)]
|
270 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
271 + | #[allow(missing_docs)] // documentation missing in model
|
272 + | pub range_integer_set_header: ::std::option::Option<::std::vec::Vec<i32>>,
|
273 + | #[pyo3(get, set)]
|
274 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
275 + | #[allow(missing_docs)] // documentation missing in model
|
276 + | pub range_long_set_header: ::std::option::Option<::std::vec::Vec<i64>>,
|
277 + | #[pyo3(get, set)]
|
278 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
279 + | #[allow(missing_docs)] // documentation missing in model
|
280 + | pub range_byte_list_header: ::std::option::Option<::std::vec::Vec<i8>>,
|
281 + | #[pyo3(get, set)]
|
282 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
283 + | #[allow(missing_docs)] // documentation missing in model
|
284 + | pub range_short_list_header: ::std::option::Option<::std::vec::Vec<i16>>,
|
285 + | #[pyo3(get, set)]
|
286 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
287 + | #[allow(missing_docs)] // documentation missing in model
|
288 + | pub range_integer_list_header: ::std::option::Option<::std::vec::Vec<i32>>,
|
289 + | #[pyo3(get, set)]
|
290 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
291 + | #[allow(missing_docs)] // documentation missing in model
|
292 + | pub range_long_list_header: ::std::option::Option<::std::vec::Vec<i64>>,
|
293 + | #[pyo3(get, set)]
|
294 + | /// :type typing.Optional\[str\]:
|
295 + | #[allow(missing_docs)] // documentation missing in model
|
296 + | pub length_string_query: ::std::option::Option<::std::string::String>,
|
297 + | #[pyo3(get, set)]
|
298 + | /// :type int:
|
299 + | #[allow(missing_docs)] // documentation missing in model
|
300 + | pub range_byte_query: i8,
|
301 + | #[pyo3(get, set)]
|
302 + | /// :type int:
|
303 + | #[allow(missing_docs)] // documentation missing in model
|
304 + | pub range_short_query: i16,
|
305 + | #[pyo3(get, set)]
|
306 + | /// :type int:
|
307 + | #[allow(missing_docs)] // documentation missing in model
|
308 + | pub range_integer_query: i32,
|
309 + | #[pyo3(get, set)]
|
310 + | /// :type int:
|
311 + | #[allow(missing_docs)] // documentation missing in model
|
312 + | pub range_long_query: i64,
|
313 + | #[pyo3(get, set)]
|
314 + | /// :type typing.Optional\[constraints_without_public_constrained_types.model.EnumString\]:
|
315 + | #[allow(missing_docs)] // documentation missing in model
|
316 + | pub enum_string_query: ::std::option::Option<crate::model::EnumString>,
|
317 + | #[pyo3(get, set)]
|
318 + | /// :type typing.Optional\[typing.List\[str\]\]:
|
319 + | #[allow(missing_docs)] // documentation missing in model
|
320 + | pub length_string_list_query: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
321 + | #[pyo3(get, set)]
|
322 + | /// :type typing.Optional\[typing.List\[str\]\]:
|
323 + | #[allow(missing_docs)] // documentation missing in model
|
324 + | pub length_list_pattern_string_query:
|
325 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
326 + | #[pyo3(get, set)]
|
327 + | /// :type typing.Optional\[typing.Set\[str\]\]:
|
328 + | #[allow(missing_docs)] // documentation missing in model
|
329 + | pub length_string_set_query: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
330 + | #[pyo3(get, set)]
|
331 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
332 + | #[allow(missing_docs)] // documentation missing in model
|
333 + | pub range_byte_list_query: ::std::option::Option<::std::vec::Vec<i8>>,
|
334 + | #[pyo3(get, set)]
|
335 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
336 + | #[allow(missing_docs)] // documentation missing in model
|
337 + | pub range_short_list_query: ::std::option::Option<::std::vec::Vec<i16>>,
|
338 + | #[pyo3(get, set)]
|
339 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
340 + | #[allow(missing_docs)] // documentation missing in model
|
341 + | pub range_integer_list_query: ::std::option::Option<::std::vec::Vec<i32>>,
|
342 + | #[pyo3(get, set)]
|
343 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
344 + | #[allow(missing_docs)] // documentation missing in model
|
345 + | pub range_long_list_query: ::std::option::Option<::std::vec::Vec<i64>>,
|
346 + | #[pyo3(get, set)]
|
347 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
348 + | #[allow(missing_docs)] // documentation missing in model
|
349 + | pub range_byte_set_query: ::std::option::Option<::std::vec::Vec<i8>>,
|
350 + | #[pyo3(get, set)]
|
351 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
352 + | #[allow(missing_docs)] // documentation missing in model
|
353 + | pub range_short_set_query: ::std::option::Option<::std::vec::Vec<i16>>,
|
354 + | #[pyo3(get, set)]
|
355 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
356 + | #[allow(missing_docs)] // documentation missing in model
|
357 + | pub range_integer_set_query: ::std::option::Option<::std::vec::Vec<i32>>,
|
358 + | #[pyo3(get, set)]
|
359 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
360 + | #[allow(missing_docs)] // documentation missing in model
|
361 + | pub range_long_set_query: ::std::option::Option<::std::vec::Vec<i64>>,
|
362 + | #[pyo3(get, set)]
|
363 + | /// :type typing.Optional\[typing.List\[constraints_without_public_constrained_types.model.EnumString\]\]:
|
364 + | #[allow(missing_docs)] // documentation missing in model
|
365 + | pub enum_string_list_query: ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
|
388 366 | }
|
389 - | #[allow(clippy::new_without_default)]
|
390 - | #[allow(clippy::too_many_arguments)]
|
391 - | #[::pyo3::pymethods]
|
392 - | impl QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
393 - | #[new]
|
394 - | pub fn new(
|
395 - | map_of_length_pattern_string: ::std::option::Option<
|
396 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
397 - | >,
|
398 - | ) -> Self {
|
399 - | Self {
|
400 - | map_of_length_pattern_string,
|
401 - | }
|
402 - | }
|
403 - | fn __repr__(&self) -> String {
|
404 - | format!("{self:?}")
|
367 + | impl ConstrainedHttpBoundShapesOperationOutput {
|
368 + | #[allow(missing_docs)] // documentation missing in model
|
369 + | pub fn length_string_label(&self) -> &str {
|
370 + | use std::ops::Deref;
|
371 + | self.length_string_label.deref()
|
405 372 | }
|
406 - | fn __str__(&self) -> String {
|
407 - | format!("{self:?}")
|
373 + | #[allow(missing_docs)] // documentation missing in model
|
374 + | pub fn range_integer_label(&self) -> i32 {
|
375 + | self.range_integer_label
|
408 376 | }
|
409 - | }
|
410 - | impl<'source> ::pyo3::FromPyObject<'source>
|
411 - | for std::boxed::Box<QueryParamsTargetingMapOfLengthPatternStringOperationOutput>
|
412 - | {
|
413 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
414 - | ob.extract::<QueryParamsTargetingMapOfLengthPatternStringOperationOutput>()
|
415 - | .map(Box::new)
|
377 + | #[allow(missing_docs)] // documentation missing in model
|
378 + | pub fn range_short_label(&self) -> i16 {
|
379 + | self.range_short_label
|
416 380 | }
|
417 - | }
|
418 - |
|
419 - | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
420 - | for std::boxed::Box<QueryParamsTargetingMapOfLengthPatternStringOperationOutput>
|
421 - | {
|
422 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
423 - | (*self).into_py(py)
|
381 + | #[allow(missing_docs)] // documentation missing in model
|
382 + | pub fn range_long_label(&self) -> i64 {
|
383 + | self.range_long_label
|
424 384 | }
|
425 - | }
|
426 - | impl QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
427 - | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput).
|
428 - | pub fn builder(
|
429 - | ) -> crate::output::query_params_targeting_map_of_length_pattern_string_operation_output::Builder
|
430 - | {
|
431 - | crate::output::query_params_targeting_map_of_length_pattern_string_operation_output::Builder::default()
|
385 + | #[allow(missing_docs)] // documentation missing in model
|
386 + | pub fn range_byte_label(&self) -> i8 {
|
387 + | self.range_byte_label
|
432 388 | }
|
433 - | }
|
434 - |
|
435 - | #[::pyo3::pyclass]
|
436 - | /// :param map_of_list_of_pattern_string typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
437 - | /// :rtype None:
|
438 - | #[allow(missing_docs)] // documentation missing in model
|
439 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
440 - | pub struct QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
441 - | #[pyo3(get, set)]
|
442 - | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
443 389 | #[allow(missing_docs)] // documentation missing in model
|
444 - | pub map_of_list_of_pattern_string: ::std::option::Option<
|
445 - | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
446 - | >,
|
447 - | }
|
448 - | impl QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
390 + | pub fn enum_string_label(&self) -> &crate::model::EnumString {
|
391 + | &self.enum_string_label
|
392 + | }
|
449 393 | #[allow(missing_docs)] // documentation missing in model
|
450 - | pub fn map_of_list_of_pattern_string(
|
394 + | pub fn length_string_header_map(
|
451 395 | &self,
|
452 - | ) -> ::std::option::Option<
|
453 - | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
454 - | > {
|
455 - | self.map_of_list_of_pattern_string.as_ref()
|
456 - | }
|
457 - | }
|
458 - | #[allow(clippy::new_without_default)]
|
459 - | #[allow(clippy::too_many_arguments)]
|
460 - | #[::pyo3::pymethods]
|
461 - | impl QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
462 - | #[new]
|
463 - | pub fn new(
|
464 - | map_of_list_of_pattern_string: ::std::option::Option<
|
465 - | ::std::collections::HashMap<
|
466 - | ::std::string::String,
|
467 - | ::std::vec::Vec<::std::string::String>,
|
468 - | >,
|
469 - | >,
|
470 - | ) -> Self {
|
471 - | Self {
|
472 - | map_of_list_of_pattern_string,
|
396 + | ) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> {
|
397 + | &self.length_string_header_map
|
473 398 | }
|
399 + | #[allow(missing_docs)] // documentation missing in model
|
400 + | pub fn length_string_header(&self) -> ::std::option::Option<&str> {
|
401 + | self.length_string_header.as_deref()
|
474 402 | }
|
475 - | fn __repr__(&self) -> String {
|
476 - | format!("{self:?}")
|
403 + | #[allow(missing_docs)] // documentation missing in model
|
404 + | pub fn range_integer_header(&self) -> i32 {
|
405 + | self.range_integer_header
|
477 406 | }
|
478 - | fn __str__(&self) -> String {
|
479 - | format!("{self:?}")
|
407 + | #[allow(missing_docs)] // documentation missing in model
|
408 + | pub fn range_short_header(&self) -> i16 {
|
409 + | self.range_short_header
|
480 410 | }
|
481 - | }
|
482 - | impl<'source> ::pyo3::FromPyObject<'source>
|
483 - | for std::boxed::Box<QueryParamsTargetingMapOfListOfPatternStringOperationOutput>
|
484 - | {
|
485 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
486 - | ob.extract::<QueryParamsTargetingMapOfListOfPatternStringOperationOutput>()
|
487 - | .map(Box::new)
|
411 + | #[allow(missing_docs)] // documentation missing in model
|
412 + | pub fn range_long_header(&self) -> i64 {
|
413 + | self.range_long_header
|
488 414 | }
|
489 - | }
|
490 - |
|
491 - | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
492 - | for std::boxed::Box<QueryParamsTargetingMapOfListOfPatternStringOperationOutput>
|
493 - | {
|
494 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
495 - | (*self).into_py(py)
|
415 + | #[allow(missing_docs)] // documentation missing in model
|
416 + | pub fn range_byte_header(&self) -> i8 {
|
417 + | self.range_byte_header
|
496 418 | }
|
497 - | }
|
498 - | impl QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
499 - | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput).
|
500 - | pub fn builder(
|
501 - | ) -> crate::output::query_params_targeting_map_of_list_of_pattern_string_operation_output::Builder
|
502 - | {
|
503 - | crate::output::query_params_targeting_map_of_list_of_pattern_string_operation_output::Builder::default()
|
419 + | #[allow(missing_docs)] // documentation missing in model
|
420 + | pub fn length_string_set_header(
|
421 + | &self,
|
422 + | ) -> ::std::option::Option<&::std::vec::Vec<::std::string::String>> {
|
423 + | self.length_string_set_header.as_ref()
|
504 424 | }
|
505 - | }
|
506 - |
|
507 - | #[::pyo3::pyclass]
|
508 - | /// :param map_of_pattern_string typing.Optional\[typing.Dict\[str, str\]\]:
|
509 - | /// :rtype None:
|
510 - | #[allow(missing_docs)] // documentation missing in model
|
511 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
512 - | pub struct QueryParamsTargetingMapOfPatternStringOperationOutput {
|
513 - | #[pyo3(get, set)]
|
514 - | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
515 425 | #[allow(missing_docs)] // documentation missing in model
|
516 - | pub map_of_pattern_string: ::std::option::Option<
|
517 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
518 - | >,
|
519 - | }
|
520 - | impl QueryParamsTargetingMapOfPatternStringOperationOutput {
|
426 + | pub fn list_length_string_header(&self) -> ::std::option::Option<&[::std::string::String]> {
|
427 + | self.list_length_string_header.as_deref()
|
428 + | }
|
521 429 | #[allow(missing_docs)] // documentation missing in model
|
522 - | pub fn map_of_pattern_string(
|
430 + | pub fn length_list_pattern_string_header(
|
523 431 | &self,
|
524 - | ) -> ::std::option::Option<
|
525 - | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
526 - | > {
|
527 - | self.map_of_pattern_string.as_ref()
|
528 - | }
|
529 - | }
|
530 - | #[allow(clippy::new_without_default)]
|
531 - | #[allow(clippy::too_many_arguments)]
|
532 - | #[::pyo3::pymethods]
|
533 - | impl QueryParamsTargetingMapOfPatternStringOperationOutput {
|
534 - | #[new]
|
535 - | pub fn new(
|
536 - | map_of_pattern_string: ::std::option::Option<
|
537 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
538 - | >,
|
539 - | ) -> Self {
|
540 - | Self {
|
541 - | map_of_pattern_string,
|
432 + | ) -> ::std::option::Option<&[::std::string::String]> {
|
433 + | self.length_list_pattern_string_header.as_deref()
|
542 434 | }
|
435 + | #[allow(missing_docs)] // documentation missing in model
|
436 + | pub fn length_set_pattern_string_header(
|
437 + | &self,
|
438 + | ) -> ::std::option::Option<&::std::vec::Vec<::std::string::String>> {
|
439 + | self.length_set_pattern_string_header.as_ref()
|
543 440 | }
|
544 - | fn __repr__(&self) -> String {
|
545 - | format!("{self:?}")
|
441 + | #[allow(missing_docs)] // documentation missing in model
|
442 + | pub fn range_byte_set_header(&self) -> ::std::option::Option<&[i8]> {
|
443 + | self.range_byte_set_header.as_deref()
|
546 444 | }
|
547 - | fn __str__(&self) -> String {
|
548 - | format!("{self:?}")
|
445 + | #[allow(missing_docs)] // documentation missing in model
|
446 + | pub fn range_short_set_header(&self) -> ::std::option::Option<&[i16]> {
|
447 + | self.range_short_set_header.as_deref()
|
549 448 | }
|
550 - | }
|
551 - | impl<'source> ::pyo3::FromPyObject<'source>
|
552 - | for std::boxed::Box<QueryParamsTargetingMapOfPatternStringOperationOutput>
|
553 - | {
|
554 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
555 - | ob.extract::<QueryParamsTargetingMapOfPatternStringOperationOutput>()
|
556 - | .map(Box::new)
|
449 + | #[allow(missing_docs)] // documentation missing in model
|
450 + | pub fn range_integer_set_header(&self) -> ::std::option::Option<&[i32]> {
|
451 + | self.range_integer_set_header.as_deref()
|
557 452 | }
|
558 - | }
|
559 - |
|
560 - | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
561 - | for std::boxed::Box<QueryParamsTargetingMapOfPatternStringOperationOutput>
|
562 - | {
|
563 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
564 - | (*self).into_py(py)
|
453 + | #[allow(missing_docs)] // documentation missing in model
|
454 + | pub fn range_long_set_header(&self) -> ::std::option::Option<&[i64]> {
|
455 + | self.range_long_set_header.as_deref()
|
565 456 | }
|
566 - | }
|
567 - | impl QueryParamsTargetingMapOfPatternStringOperationOutput {
|
568 - | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput).
|
569 - | pub fn builder(
|
570 - | ) -> crate::output::query_params_targeting_map_of_pattern_string_operation_output::Builder {
|
571 - | crate::output::query_params_targeting_map_of_pattern_string_operation_output::Builder::default()
|
457 + | #[allow(missing_docs)] // documentation missing in model
|
458 + | pub fn range_byte_list_header(&self) -> ::std::option::Option<&[i8]> {
|
459 + | self.range_byte_list_header.as_deref()
|
572 460 | }
|
573 - | }
|
574 - |
|
575 - | #[::pyo3::pyclass]
|
576 - | /// :param map_of_list_of_enum_string typing.Optional\[typing.Dict\[constraints_without_public_constrained_types.model.EnumString, typing.List\[constraints_without_public_constrained_types.model.EnumString\]\]\]:
|
577 - | /// :rtype None:
|
578 - | #[allow(missing_docs)] // documentation missing in model
|
579 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
580 - | pub struct QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
581 - | #[pyo3(get, set)]
|
582 - | /// :type typing.Optional\[typing.Dict\[constraints_without_public_constrained_types.model.EnumString, typing.List\[constraints_without_public_constrained_types.model.EnumString\]\]\]:
|
583 461 | #[allow(missing_docs)] // documentation missing in model
|
584 - | pub map_of_list_of_enum_string: ::std::option::Option<
|
585 - | ::std::collections::HashMap<
|
586 - | crate::model::EnumString,
|
587 - | ::std::vec::Vec<crate::model::EnumString>,
|
588 - | >,
|
589 - | >,
|
590 - | }
|
591 - | impl QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
462 + | pub fn range_short_list_header(&self) -> ::std::option::Option<&[i16]> {
|
463 + | self.range_short_list_header.as_deref()
|
464 + | }
|
592 465 | #[allow(missing_docs)] // documentation missing in model
|
593 - | pub fn map_of_list_of_enum_string(
|
594 - | &self,
|
595 - | ) -> ::std::option::Option<
|
596 - | &::std::collections::HashMap<
|
597 - | crate::model::EnumString,
|
598 - | ::std::vec::Vec<crate::model::EnumString>,
|
599 - | >,
|
600 - | > {
|
601 - | self.map_of_list_of_enum_string.as_ref()
|
466 + | pub fn range_integer_list_header(&self) -> ::std::option::Option<&[i32]> {
|
467 + | self.range_integer_list_header.as_deref()
|
602 468 | }
|
603 - | }
|
604 - | #[allow(clippy::new_without_default)]
|
605 - | #[allow(clippy::too_many_arguments)]
|
606 - | #[::pyo3::pymethods]
|
607 - | impl QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
608 - | #[new]
|
609 - | pub fn new(
|
610 - | map_of_list_of_enum_string: ::std::option::Option<
|
611 - | ::std::collections::HashMap<
|
612 - | crate::model::EnumString,
|
613 - | ::std::vec::Vec<crate::model::EnumString>,
|
614 - | >,
|
615 - | >,
|
616 - | ) -> Self {
|
617 - | Self {
|
618 - | map_of_list_of_enum_string,
|
469 + | #[allow(missing_docs)] // documentation missing in model
|
470 + | pub fn range_long_list_header(&self) -> ::std::option::Option<&[i64]> {
|
471 + | self.range_long_list_header.as_deref()
|
619 472 | }
|
473 + | #[allow(missing_docs)] // documentation missing in model
|
474 + | pub fn length_string_query(&self) -> ::std::option::Option<&str> {
|
475 + | self.length_string_query.as_deref()
|
620 476 | }
|
621 - | fn __repr__(&self) -> String {
|
622 - | format!("{self:?}")
|
477 + | #[allow(missing_docs)] // documentation missing in model
|
478 + | pub fn range_byte_query(&self) -> i8 {
|
479 + | self.range_byte_query
|
623 480 | }
|
624 - | fn __str__(&self) -> String {
|
625 - | format!("{self:?}")
|
481 + | #[allow(missing_docs)] // documentation missing in model
|
482 + | pub fn range_short_query(&self) -> i16 {
|
483 + | self.range_short_query
|
626 484 | }
|
627 - | }
|
628 - | impl<'source> ::pyo3::FromPyObject<'source>
|
629 - | for std::boxed::Box<QueryParamsTargetingMapOfListOfEnumStringOperationOutput>
|
630 - | {
|
631 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
632 - | ob.extract::<QueryParamsTargetingMapOfListOfEnumStringOperationOutput>()
|
633 - | .map(Box::new)
|
485 + | #[allow(missing_docs)] // documentation missing in model
|
486 + | pub fn range_integer_query(&self) -> i32 {
|
487 + | self.range_integer_query
|
634 488 | }
|
635 - | }
|
636 - |
|
637 - | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
638 - | for std::boxed::Box<QueryParamsTargetingMapOfListOfEnumStringOperationOutput>
|
639 - | {
|
640 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
641 - | (*self).into_py(py)
|
489 + | #[allow(missing_docs)] // documentation missing in model
|
490 + | pub fn range_long_query(&self) -> i64 {
|
491 + | self.range_long_query
|
642 492 | }
|
643 - | }
|
644 - | impl QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
645 - | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput).
|
646 - | pub fn builder(
|
647 - | ) -> crate::output::query_params_targeting_map_of_list_of_enum_string_operation_output::Builder
|
648 - | {
|
649 - | crate::output::query_params_targeting_map_of_list_of_enum_string_operation_output::Builder::default()
|
493 + | #[allow(missing_docs)] // documentation missing in model
|
494 + | pub fn enum_string_query(&self) -> ::std::option::Option<&crate::model::EnumString> {
|
495 + | self.enum_string_query.as_ref()
|
650 496 | }
|
651 - | }
|
652 - |
|
653 - | #[::pyo3::pyclass]
|
654 - | /// :param map_of_length_list_of_pattern_string typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
655 - | /// :rtype None:
|
656 - | #[allow(missing_docs)] // documentation missing in model
|
657 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
658 - | pub struct QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput {
|
659 - | #[pyo3(get, set)]
|
660 - | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
661 497 | #[allow(missing_docs)] // documentation missing in model
|
662 - | pub map_of_length_list_of_pattern_string: ::std::option::Option<
|
663 - | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
664 - | >,
|
665 - | }
|
666 - | impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput {
|
498 + | pub fn length_string_list_query(&self) -> ::std::option::Option<&[::std::string::String]> {
|
499 + | self.length_string_list_query.as_deref()
|
500 + | }
|
667 501 | #[allow(missing_docs)] // documentation missing in model
|
668 - | pub fn map_of_length_list_of_pattern_string(
|
502 + | pub fn length_list_pattern_string_query(
|
669 503 | &self,
|
670 - | ) -> ::std::option::Option<
|
671 - | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
672 - | > {
|
673 - | self.map_of_length_list_of_pattern_string.as_ref()
|
504 + | ) -> ::std::option::Option<&[::std::string::String]> {
|
505 + | self.length_list_pattern_string_query.as_deref()
|
674 506 | }
|
675 - | }
|
676 - | #[allow(clippy::new_without_default)]
|
677 - | #[allow(clippy::too_many_arguments)]
|
678 - | #[::pyo3::pymethods]
|
679 - | impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput {
|
680 - | #[new]
|
681 - | pub fn new(
|
682 - | map_of_length_list_of_pattern_string: ::std::option::Option<
|
683 - | ::std::collections::HashMap<
|
684 - | ::std::string::String,
|
685 - | ::std::vec::Vec<::std::string::String>,
|
686 - | >,
|
687 - | >,
|
688 - | ) -> Self {
|
689 - | Self {
|
690 - | map_of_length_list_of_pattern_string,
|
507 + | #[allow(missing_docs)] // documentation missing in model
|
508 + | pub fn length_string_set_query(
|
509 + | &self,
|
510 + | ) -> ::std::option::Option<&::std::vec::Vec<::std::string::String>> {
|
511 + | self.length_string_set_query.as_ref()
|
691 512 | }
|
513 + | #[allow(missing_docs)] // documentation missing in model
|
514 + | pub fn range_byte_list_query(&self) -> ::std::option::Option<&[i8]> {
|
515 + | self.range_byte_list_query.as_deref()
|
692 516 | }
|
693 - | fn __repr__(&self) -> String {
|
694 - | format!("{self:?}")
|
517 + | #[allow(missing_docs)] // documentation missing in model
|
518 + | pub fn range_short_list_query(&self) -> ::std::option::Option<&[i16]> {
|
519 + | self.range_short_list_query.as_deref()
|
695 520 | }
|
696 - | fn __str__(&self) -> String {
|
697 - | format!("{self:?}")
|
521 + | #[allow(missing_docs)] // documentation missing in model
|
522 + | pub fn range_integer_list_query(&self) -> ::std::option::Option<&[i32]> {
|
523 + | self.range_integer_list_query.as_deref()
|
698 524 | }
|
699 - | }
|
700 - | impl<'source> ::pyo3::FromPyObject<'source>
|
701 - | for std::boxed::Box<QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput>
|
702 - | {
|
703 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
704 - | ob.extract::<QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput>()
|
705 - | .map(Box::new)
|
525 + | #[allow(missing_docs)] // documentation missing in model
|
526 + | pub fn range_long_list_query(&self) -> ::std::option::Option<&[i64]> {
|
527 + | self.range_long_list_query.as_deref()
|
706 528 | }
|
707 - | }
|
708 - |
|
709 - | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
710 - | for std::boxed::Box<QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput>
|
711 - | {
|
712 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
713 - | (*self).into_py(py)
|
529 + | #[allow(missing_docs)] // documentation missing in model
|
530 + | pub fn range_byte_set_query(&self) -> ::std::option::Option<&[i8]> {
|
531 + | self.range_byte_set_query.as_deref()
|
714 532 | }
|
715 - | }
|
716 - | impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput {
|
717 - | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput).
|
718 - | pub fn builder() -> crate::output::query_params_targeting_map_of_length_list_of_pattern_string_operation_output::Builder{
|
719 - | crate::output::query_params_targeting_map_of_length_list_of_pattern_string_operation_output::Builder::default()
|
533 + | #[allow(missing_docs)] // documentation missing in model
|
534 + | pub fn range_short_set_query(&self) -> ::std::option::Option<&[i16]> {
|
535 + | self.range_short_set_query.as_deref()
|
720 536 | }
|
721 - | }
|
722 - |
|
723 - | #[::pyo3::pyclass]
|
724 - | /// :param map_of_set_of_length_string typing.Optional\[typing.Dict\[str, typing.Set\[str\]\]\]:
|
725 - | /// :rtype None:
|
726 - | #[allow(missing_docs)] // documentation missing in model
|
727 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
728 - | pub struct QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
729 - | #[pyo3(get, set)]
|
730 - | /// :type typing.Optional\[typing.Dict\[str, typing.Set\[str\]\]\]:
|
731 537 | #[allow(missing_docs)] // documentation missing in model
|
732 - | pub map_of_set_of_length_string: ::std::option::Option<
|
733 - | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
734 - | >,
|
735 - | }
|
736 - | impl QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
538 + | pub fn range_integer_set_query(&self) -> ::std::option::Option<&[i32]> {
|
539 + | self.range_integer_set_query.as_deref()
|
540 + | }
|
737 541 | #[allow(missing_docs)] // documentation missing in model
|
738 - | pub fn map_of_set_of_length_string(
|
739 - | &self,
|
740 - | ) -> ::std::option::Option<
|
741 - | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
742 - | > {
|
743 - | self.map_of_set_of_length_string.as_ref()
|
542 + | pub fn range_long_set_query(&self) -> ::std::option::Option<&[i64]> {
|
543 + | self.range_long_set_query.as_deref()
|
544 + | }
|
545 + | #[allow(missing_docs)] // documentation missing in model
|
546 + | pub fn enum_string_list_query(&self) -> ::std::option::Option<&[crate::model::EnumString]> {
|
547 + | self.enum_string_list_query.as_deref()
|
744 548 | }
|
745 549 | }
|
746 550 | #[allow(clippy::new_without_default)]
|
747 551 | #[allow(clippy::too_many_arguments)]
|
748 552 | #[::pyo3::pymethods]
|
749 - | impl QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
553 + | impl ConstrainedHttpBoundShapesOperationOutput {
|
750 554 | #[new]
|
751 555 | pub fn new(
|
752 - | map_of_set_of_length_string: ::std::option::Option<
|
753 - | ::std::collections::HashMap<
|
556 + | length_string_label: ::std::string::String,
|
557 + | range_integer_label: i32,
|
558 + | range_short_label: i16,
|
559 + | range_long_label: i64,
|
560 + | range_byte_label: i8,
|
561 + | enum_string_label: crate::model::EnumString,
|
562 + | length_string_header_map: ::std::collections::HashMap<
|
563 + | ::std::string::String,
|
754 564 | ::std::string::String,
|
565 + | >,
|
566 + | range_integer_header: i32,
|
567 + | range_short_header: i16,
|
568 + | range_long_header: i64,
|
569 + | range_byte_header: i8,
|
570 + | range_byte_query: i8,
|
571 + | range_short_query: i16,
|
572 + | range_integer_query: i32,
|
573 + | range_long_query: i64,
|
574 + | length_string_header: ::std::option::Option<::std::string::String>,
|
575 + | length_string_set_header: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
576 + | list_length_string_header: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
577 + | length_list_pattern_string_header: ::std::option::Option<
|
578 + | ::std::vec::Vec<::std::string::String>,
|
579 + | >,
|
580 + | length_set_pattern_string_header: ::std::option::Option<
|
755 581 | ::std::vec::Vec<::std::string::String>,
|
756 582 | >,
|
583 + | range_byte_set_header: ::std::option::Option<::std::vec::Vec<i8>>,
|
584 + | range_short_set_header: ::std::option::Option<::std::vec::Vec<i16>>,
|
585 + | range_integer_set_header: ::std::option::Option<::std::vec::Vec<i32>>,
|
586 + | range_long_set_header: ::std::option::Option<::std::vec::Vec<i64>>,
|
587 + | range_byte_list_header: ::std::option::Option<::std::vec::Vec<i8>>,
|
588 + | range_short_list_header: ::std::option::Option<::std::vec::Vec<i16>>,
|
589 + | range_integer_list_header: ::std::option::Option<::std::vec::Vec<i32>>,
|
590 + | range_long_list_header: ::std::option::Option<::std::vec::Vec<i64>>,
|
591 + | length_string_query: ::std::option::Option<::std::string::String>,
|
592 + | enum_string_query: ::std::option::Option<crate::model::EnumString>,
|
593 + | length_string_list_query: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
594 + | length_list_pattern_string_query: ::std::option::Option<
|
595 + | ::std::vec::Vec<::std::string::String>,
|
757 596 | >,
|
597 + | length_string_set_query: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
598 + | range_byte_list_query: ::std::option::Option<::std::vec::Vec<i8>>,
|
599 + | range_short_list_query: ::std::option::Option<::std::vec::Vec<i16>>,
|
600 + | range_integer_list_query: ::std::option::Option<::std::vec::Vec<i32>>,
|
601 + | range_long_list_query: ::std::option::Option<::std::vec::Vec<i64>>,
|
602 + | range_byte_set_query: ::std::option::Option<::std::vec::Vec<i8>>,
|
603 + | range_short_set_query: ::std::option::Option<::std::vec::Vec<i16>>,
|
604 + | range_integer_set_query: ::std::option::Option<::std::vec::Vec<i32>>,
|
605 + | range_long_set_query: ::std::option::Option<::std::vec::Vec<i64>>,
|
606 + | enum_string_list_query: ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
|
758 607 | ) -> Self {
|
759 608 | Self {
|
760 - | map_of_set_of_length_string,
|
609 + | length_string_label,
|
610 + | range_integer_label,
|
611 + | range_short_label,
|
612 + | range_long_label,
|
613 + | range_byte_label,
|
614 + | enum_string_label,
|
615 + | length_string_header_map,
|
616 + | range_integer_header,
|
617 + | range_short_header,
|
618 + | range_long_header,
|
619 + | range_byte_header,
|
620 + | range_byte_query,
|
621 + | range_short_query,
|
622 + | range_integer_query,
|
623 + | range_long_query,
|
624 + | length_string_header,
|
625 + | length_string_set_header,
|
626 + | list_length_string_header,
|
627 + | length_list_pattern_string_header,
|
628 + | length_set_pattern_string_header,
|
629 + | range_byte_set_header,
|
630 + | range_short_set_header,
|
631 + | range_integer_set_header,
|
632 + | range_long_set_header,
|
633 + | range_byte_list_header,
|
634 + | range_short_list_header,
|
635 + | range_integer_list_header,
|
636 + | range_long_list_header,
|
637 + | length_string_query,
|
638 + | enum_string_query,
|
639 + | length_string_list_query,
|
640 + | length_list_pattern_string_query,
|
641 + | length_string_set_query,
|
642 + | range_byte_list_query,
|
643 + | range_short_list_query,
|
644 + | range_integer_list_query,
|
645 + | range_long_list_query,
|
646 + | range_byte_set_query,
|
647 + | range_short_set_query,
|
648 + | range_integer_set_query,
|
649 + | range_long_set_query,
|
650 + | enum_string_list_query,
|
761 651 | }
|
762 652 | }
|
763 653 | fn __repr__(&self) -> String {
|
764 654 | format!("{self:?}")
|
765 655 | }
|
766 656 | fn __str__(&self) -> String {
|
767 657 | format!("{self:?}")
|
768 658 | }
|
769 659 | }
|
770 660 | impl<'source> ::pyo3::FromPyObject<'source>
|
771 - | for std::boxed::Box<QueryParamsTargetingMapOfSetOfLengthStringOperationOutput>
|
661 + | for std::boxed::Box<ConstrainedHttpBoundShapesOperationOutput>
|
772 662 | {
|
773 663 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
774 - | ob.extract::<QueryParamsTargetingMapOfSetOfLengthStringOperationOutput>()
|
664 + | ob.extract::<ConstrainedHttpBoundShapesOperationOutput>()
|
775 665 | .map(Box::new)
|
776 666 | }
|
777 667 | }
|
778 668 |
|
779 669 | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
780 - | for std::boxed::Box<QueryParamsTargetingMapOfSetOfLengthStringOperationOutput>
|
670 + | for std::boxed::Box<ConstrainedHttpBoundShapesOperationOutput>
|
781 671 | {
|
782 672 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
783 673 | (*self).into_py(py)
|
784 674 | }
|
785 675 | }
|
786 - | impl QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
787 - | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfSetOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput).
|
788 - | pub fn builder(
|
789 - | ) -> crate::output::query_params_targeting_map_of_set_of_length_string_operation_output::Builder
|
790 - | {
|
791 - | crate::output::query_params_targeting_map_of_set_of_length_string_operation_output::Builder::default()
|
676 + | impl ConstrainedHttpBoundShapesOperationOutput {
|
677 + | /// Creates a new builder-style object to manufacture [`ConstrainedHttpBoundShapesOperationOutput`](crate::output::ConstrainedHttpBoundShapesOperationOutput).
|
678 + | pub fn builder() -> crate::output::constrained_http_bound_shapes_operation_output::Builder {
|
679 + | crate::output::constrained_http_bound_shapes_operation_output::Builder::default()
|
792 680 | }
|
793 681 | }
|
794 682 |
|
795 683 | #[::pyo3::pyclass]
|
796 - | /// :param map_of_list_of_length_string typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
684 + | /// :param http_payload_bound_constrained_shape constraints_without_public_constrained_types.model.ConA:
|
797 685 | /// :rtype None:
|
798 686 | #[allow(missing_docs)] // documentation missing in model
|
799 687 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
800 - | pub struct QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
688 + | pub struct ConstrainedHttpPayloadBoundShapeOperationOutput {
|
801 689 | #[pyo3(get, set)]
|
802 - | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
690 + | /// :type constraints_without_public_constrained_types.model.ConA:
|
803 691 | #[allow(missing_docs)] // documentation missing in model
|
804 - | pub map_of_list_of_length_string: ::std::option::Option<
|
805 - | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
806 - | >,
|
692 + | pub http_payload_bound_constrained_shape: crate::model::ConA,
|
807 693 | }
|
808 - | impl QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
694 + | impl ConstrainedHttpPayloadBoundShapeOperationOutput {
|
809 695 | #[allow(missing_docs)] // documentation missing in model
|
810 - | pub fn map_of_list_of_length_string(
|
811 - | &self,
|
812 - | ) -> ::std::option::Option<
|
813 - | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
814 - | > {
|
815 - | self.map_of_list_of_length_string.as_ref()
|
696 + | pub fn http_payload_bound_constrained_shape(&self) -> &crate::model::ConA {
|
697 + | &self.http_payload_bound_constrained_shape
|
816 698 | }
|
817 699 | }
|
818 700 | #[allow(clippy::new_without_default)]
|
819 701 | #[allow(clippy::too_many_arguments)]
|
820 702 | #[::pyo3::pymethods]
|
821 - | impl QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
703 + | impl ConstrainedHttpPayloadBoundShapeOperationOutput {
|
822 704 | #[new]
|
823 - | pub fn new(
|
824 - | map_of_list_of_length_string: ::std::option::Option<
|
825 - | ::std::collections::HashMap<
|
826 - | ::std::string::String,
|
827 - | ::std::vec::Vec<::std::string::String>,
|
828 - | >,
|
829 - | >,
|
830 - | ) -> Self {
|
705 + | pub fn new(http_payload_bound_constrained_shape: crate::model::ConA) -> Self {
|
831 706 | Self {
|
832 - | map_of_list_of_length_string,
|
707 + | http_payload_bound_constrained_shape,
|
833 708 | }
|
834 709 | }
|
835 710 | fn __repr__(&self) -> String {
|
836 711 | format!("{self:?}")
|
837 712 | }
|
838 713 | fn __str__(&self) -> String {
|
839 714 | format!("{self:?}")
|
840 715 | }
|
841 716 | }
|
842 717 | impl<'source> ::pyo3::FromPyObject<'source>
|
843 - | for std::boxed::Box<QueryParamsTargetingMapOfListOfLengthStringOperationOutput>
|
718 + | for std::boxed::Box<ConstrainedHttpPayloadBoundShapeOperationOutput>
|
844 719 | {
|
845 720 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
846 - | ob.extract::<QueryParamsTargetingMapOfListOfLengthStringOperationOutput>()
|
721 + | ob.extract::<ConstrainedHttpPayloadBoundShapeOperationOutput>()
|
847 722 | .map(Box::new)
|
848 723 | }
|
849 724 | }
|
850 725 |
|
851 726 | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
852 - | for std::boxed::Box<QueryParamsTargetingMapOfListOfLengthStringOperationOutput>
|
727 + | for std::boxed::Box<ConstrainedHttpPayloadBoundShapeOperationOutput>
|
853 728 | {
|
854 729 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
855 730 | (*self).into_py(py)
|
856 731 | }
|
857 732 | }
|
858 - | impl QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
859 - | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput).
|
860 - | pub fn builder(
|
861 - | ) -> crate::output::query_params_targeting_map_of_list_of_length_string_operation_output::Builder
|
733 + | impl ConstrainedHttpPayloadBoundShapeOperationOutput {
|
734 + | /// Creates a new builder-style object to manufacture [`ConstrainedHttpPayloadBoundShapeOperationOutput`](crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput).
|
735 + | pub fn builder() -> crate::output::constrained_http_payload_bound_shape_operation_output::Builder
|
862 736 | {
|
863 - | crate::output::query_params_targeting_map_of_list_of_length_string_operation_output::Builder::default()
|
737 + | crate::output::constrained_http_payload_bound_shape_operation_output::Builder::default()
|
864 738 | }
|
865 739 | }
|
866 740 |
|
867 741 | #[::pyo3::pyclass]
|
868 - | /// :param map_of_length_string typing.Optional\[typing.Dict\[str, str\]\]:
|
742 + | /// :param recursive_list typing.List\[constraints_without_public_constrained_types.model.RecursiveShapesInputOutputNested1\]:
|
743 + | /// :param nested typing.Optional\[constraints_without_public_constrained_types.model.RecursiveShapesInputOutputNested1\]:
|
869 744 | /// :rtype None:
|
870 745 | #[allow(missing_docs)] // documentation missing in model
|
871 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
872 - | pub struct QueryParamsTargetingMapOfLengthStringOperationOutput {
|
746 + | #[derive(
|
747 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
748 + | )]
|
749 + | pub struct ConstrainedRecursiveShapesOperationOutput {
|
873 750 | #[pyo3(get, set)]
|
874 - | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
751 + | /// :type typing.Optional\[constraints_without_public_constrained_types.model.RecursiveShapesInputOutputNested1\]:
|
875 752 | #[allow(missing_docs)] // documentation missing in model
|
876 - | pub map_of_length_string: ::std::option::Option<
|
877 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
878 - | >,
|
753 + | pub nested: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
|
754 + | #[pyo3(get, set)]
|
755 + | /// :type typing.List\[constraints_without_public_constrained_types.model.RecursiveShapesInputOutputNested1\]:
|
756 + | #[allow(missing_docs)] // documentation missing in model
|
757 + | pub recursive_list: ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
|
879 758 | }
|
880 - | impl QueryParamsTargetingMapOfLengthStringOperationOutput {
|
759 + | impl ConstrainedRecursiveShapesOperationOutput {
|
881 760 | #[allow(missing_docs)] // documentation missing in model
|
882 - | pub fn map_of_length_string(
|
761 + | pub fn nested(
|
883 762 | &self,
|
884 - | ) -> ::std::option::Option<
|
885 - | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
886 - | > {
|
887 - | self.map_of_length_string.as_ref()
|
763 + | ) -> ::std::option::Option<&crate::model::RecursiveShapesInputOutputNested1> {
|
764 + | self.nested.as_ref()
|
765 + | }
|
766 + | #[allow(missing_docs)] // documentation missing in model
|
767 + | pub fn recursive_list(&self) -> &[crate::model::RecursiveShapesInputOutputNested1] {
|
768 + | use std::ops::Deref;
|
769 + | self.recursive_list.deref()
|
888 770 | }
|
889 771 | }
|
890 772 | #[allow(clippy::new_without_default)]
|
891 773 | #[allow(clippy::too_many_arguments)]
|
892 774 | #[::pyo3::pymethods]
|
893 - | impl QueryParamsTargetingMapOfLengthStringOperationOutput {
|
775 + | impl ConstrainedRecursiveShapesOperationOutput {
|
894 776 | #[new]
|
895 777 | pub fn new(
|
896 - | map_of_length_string: ::std::option::Option<
|
897 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
898 - | >,
|
778 + | recursive_list: ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
|
779 + | nested: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
|
899 780 | ) -> Self {
|
900 781 | Self {
|
901 - | map_of_length_string,
|
782 + | recursive_list,
|
783 + | nested,
|
902 784 | }
|
903 785 | }
|
904 786 | fn __repr__(&self) -> String {
|
905 787 | format!("{self:?}")
|
906 788 | }
|
907 789 | fn __str__(&self) -> String {
|
908 790 | format!("{self:?}")
|
909 791 | }
|
910 792 | }
|
911 793 | impl<'source> ::pyo3::FromPyObject<'source>
|
912 - | for std::boxed::Box<QueryParamsTargetingMapOfLengthStringOperationOutput>
|
794 + | for std::boxed::Box<ConstrainedRecursiveShapesOperationOutput>
|
913 795 | {
|
914 796 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
915 - | ob.extract::<QueryParamsTargetingMapOfLengthStringOperationOutput>()
|
797 + | ob.extract::<ConstrainedRecursiveShapesOperationOutput>()
|
916 798 | .map(Box::new)
|
917 799 | }
|
918 800 | }
|
919 801 |
|
920 802 | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
921 - | for std::boxed::Box<QueryParamsTargetingMapOfLengthStringOperationOutput>
|
803 + | for std::boxed::Box<ConstrainedRecursiveShapesOperationOutput>
|
922 804 | {
|
923 805 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
924 806 | (*self).into_py(py)
|
925 807 | }
|
926 808 | }
|
927 - | impl QueryParamsTargetingMapOfLengthStringOperationOutput {
|
928 - | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput).
|
929 - | pub fn builder(
|
930 - | ) -> crate::output::query_params_targeting_map_of_length_string_operation_output::Builder {
|
931 - | crate::output::query_params_targeting_map_of_length_string_operation_output::Builder::default()
|
809 + | impl ConstrainedRecursiveShapesOperationOutput {
|
810 + | /// Creates a new builder-style object to manufacture [`ConstrainedRecursiveShapesOperationOutput`](crate::output::ConstrainedRecursiveShapesOperationOutput).
|
811 + | pub fn builder() -> crate::output::constrained_recursive_shapes_operation_output::Builder {
|
812 + | crate::output::constrained_recursive_shapes_operation_output::Builder::default()
|
932 813 | }
|
933 814 | }
|
934 815 |
|
935 816 | #[::pyo3::pyclass]
|
936 817 | /// :param length_map typing.Optional\[typing.Dict\[str, str\]\]:
|
937 818 | /// :rtype None:
|
938 819 | #[allow(missing_docs)] // documentation missing in model
|
939 820 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
940 821 | pub struct QueryParamsTargetingLengthMapOperationOutput {
|
941 822 | #[pyo3(get, set)]
|
991 872 | }
|
992 873 | }
|
993 874 | impl QueryParamsTargetingLengthMapOperationOutput {
|
994 875 | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingLengthMapOperationOutput`](crate::output::QueryParamsTargetingLengthMapOperationOutput).
|
995 876 | pub fn builder() -> crate::output::query_params_targeting_length_map_operation_output::Builder {
|
996 877 | crate::output::query_params_targeting_length_map_operation_output::Builder::default()
|
997 878 | }
|
998 879 | }
|
999 880 |
|
1000 881 | #[::pyo3::pyclass]
|
1001 - | /// :param recursive_list typing.List\[constraints_without_public_constrained_types.model.RecursiveShapesInputOutputNested1\]:
|
1002 - | /// :param nested typing.Optional\[constraints_without_public_constrained_types.model.RecursiveShapesInputOutputNested1\]:
|
882 + | /// :param map_of_length_string typing.Optional\[typing.Dict\[str, str\]\]:
|
1003 883 | /// :rtype None:
|
1004 884 | #[allow(missing_docs)] // documentation missing in model
|
1005 - | #[derive(
|
1006 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1007 - | )]
|
1008 - | pub struct ConstrainedRecursiveShapesOperationOutput {
|
1009 - | #[pyo3(get, set)]
|
1010 - | /// :type typing.Optional\[constraints_without_public_constrained_types.model.RecursiveShapesInputOutputNested1\]:
|
1011 - | #[allow(missing_docs)] // documentation missing in model
|
1012 - | pub nested: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
|
885 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
886 + | pub struct QueryParamsTargetingMapOfLengthStringOperationOutput {
|
1013 887 | #[pyo3(get, set)]
|
1014 - | /// :type typing.List\[constraints_without_public_constrained_types.model.RecursiveShapesInputOutputNested1\]:
|
888 + | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
1015 889 | #[allow(missing_docs)] // documentation missing in model
|
1016 - | pub recursive_list: ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
|
890 + | pub map_of_length_string: ::std::option::Option<
|
891 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
892 + | >,
|
1017 893 | }
|
1018 - | impl ConstrainedRecursiveShapesOperationOutput {
|
894 + | impl QueryParamsTargetingMapOfLengthStringOperationOutput {
|
1019 895 | #[allow(missing_docs)] // documentation missing in model
|
1020 - | pub fn nested(
|
896 + | pub fn map_of_length_string(
|
1021 897 | &self,
|
1022 - | ) -> ::std::option::Option<&crate::model::RecursiveShapesInputOutputNested1> {
|
1023 - | self.nested.as_ref()
|
1024 - | }
|
1025 - | #[allow(missing_docs)] // documentation missing in model
|
1026 - | pub fn recursive_list(&self) -> &[crate::model::RecursiveShapesInputOutputNested1] {
|
1027 - | use std::ops::Deref;
|
1028 - | self.recursive_list.deref()
|
898 + | ) -> ::std::option::Option<
|
899 + | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
900 + | > {
|
901 + | self.map_of_length_string.as_ref()
|
1029 902 | }
|
1030 903 | }
|
1031 904 | #[allow(clippy::new_without_default)]
|
1032 905 | #[allow(clippy::too_many_arguments)]
|
1033 906 | #[::pyo3::pymethods]
|
1034 - | impl ConstrainedRecursiveShapesOperationOutput {
|
907 + | impl QueryParamsTargetingMapOfLengthStringOperationOutput {
|
1035 908 | #[new]
|
1036 909 | pub fn new(
|
1037 - | recursive_list: ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
|
1038 - | nested: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
|
910 + | map_of_length_string: ::std::option::Option<
|
911 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
912 + | >,
|
1039 913 | ) -> Self {
|
1040 914 | Self {
|
1041 - | recursive_list,
|
1042 - | nested,
|
915 + | map_of_length_string,
|
1043 916 | }
|
1044 917 | }
|
1045 918 | fn __repr__(&self) -> String {
|
1046 919 | format!("{self:?}")
|
1047 920 | }
|
1048 921 | fn __str__(&self) -> String {
|
1049 922 | format!("{self:?}")
|
1050 923 | }
|
1051 924 | }
|
1052 925 | impl<'source> ::pyo3::FromPyObject<'source>
|
1053 - | for std::boxed::Box<ConstrainedRecursiveShapesOperationOutput>
|
926 + | for std::boxed::Box<QueryParamsTargetingMapOfLengthStringOperationOutput>
|
1054 927 | {
|
1055 928 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1056 - | ob.extract::<ConstrainedRecursiveShapesOperationOutput>()
|
929 + | ob.extract::<QueryParamsTargetingMapOfLengthStringOperationOutput>()
|
1057 930 | .map(Box::new)
|
1058 931 | }
|
1059 932 | }
|
1060 933 |
|
1061 934 | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1062 - | for std::boxed::Box<ConstrainedRecursiveShapesOperationOutput>
|
935 + | for std::boxed::Box<QueryParamsTargetingMapOfLengthStringOperationOutput>
|
1063 936 | {
|
1064 937 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1065 938 | (*self).into_py(py)
|
1066 939 | }
|
1067 940 | }
|
1068 - | impl ConstrainedRecursiveShapesOperationOutput {
|
1069 - | /// Creates a new builder-style object to manufacture [`ConstrainedRecursiveShapesOperationOutput`](crate::output::ConstrainedRecursiveShapesOperationOutput).
|
1070 - | pub fn builder() -> crate::output::constrained_recursive_shapes_operation_output::Builder {
|
1071 - | crate::output::constrained_recursive_shapes_operation_output::Builder::default()
|
941 + | impl QueryParamsTargetingMapOfLengthStringOperationOutput {
|
942 + | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput).
|
943 + | pub fn builder(
|
944 + | ) -> crate::output::query_params_targeting_map_of_length_string_operation_output::Builder {
|
945 + | crate::output::query_params_targeting_map_of_length_string_operation_output::Builder::default()
|
1072 946 | }
|
1073 947 | }
|
1074 948 |
|
1075 949 | #[::pyo3::pyclass]
|
1076 - | /// :param http_payload_bound_constrained_shape constraints_without_public_constrained_types.model.ConA:
|
950 + | /// :param map_of_list_of_length_string typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
1077 951 | /// :rtype None:
|
1078 952 | #[allow(missing_docs)] // documentation missing in model
|
1079 953 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1080 - | pub struct ConstrainedHttpPayloadBoundShapeOperationOutput {
|
954 + | pub struct QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
1081 955 | #[pyo3(get, set)]
|
1082 - | /// :type constraints_without_public_constrained_types.model.ConA:
|
956 + | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
1083 957 | #[allow(missing_docs)] // documentation missing in model
|
1084 - | pub http_payload_bound_constrained_shape: crate::model::ConA,
|
958 + | pub map_of_list_of_length_string: ::std::option::Option<
|
959 + | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
960 + | >,
|
1085 961 | }
|
1086 - | impl ConstrainedHttpPayloadBoundShapeOperationOutput {
|
962 + | impl QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
1087 963 | #[allow(missing_docs)] // documentation missing in model
|
1088 - | pub fn http_payload_bound_constrained_shape(&self) -> &crate::model::ConA {
|
1089 - | &self.http_payload_bound_constrained_shape
|
964 + | pub fn map_of_list_of_length_string(
|
965 + | &self,
|
966 + | ) -> ::std::option::Option<
|
967 + | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
968 + | > {
|
969 + | self.map_of_list_of_length_string.as_ref()
|
1090 970 | }
|
1091 971 | }
|
1092 972 | #[allow(clippy::new_without_default)]
|
1093 973 | #[allow(clippy::too_many_arguments)]
|
1094 974 | #[::pyo3::pymethods]
|
1095 - | impl ConstrainedHttpPayloadBoundShapeOperationOutput {
|
975 + | impl QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
1096 976 | #[new]
|
1097 - | pub fn new(http_payload_bound_constrained_shape: crate::model::ConA) -> Self {
|
977 + | pub fn new(
|
978 + | map_of_list_of_length_string: ::std::option::Option<
|
979 + | ::std::collections::HashMap<
|
980 + | ::std::string::String,
|
981 + | ::std::vec::Vec<::std::string::String>,
|
982 + | >,
|
983 + | >,
|
984 + | ) -> Self {
|
1098 985 | Self {
|
1099 - | http_payload_bound_constrained_shape,
|
986 + | map_of_list_of_length_string,
|
1100 987 | }
|
1101 988 | }
|
1102 989 | fn __repr__(&self) -> String {
|
1103 990 | format!("{self:?}")
|
1104 991 | }
|
1105 992 | fn __str__(&self) -> String {
|
1106 993 | format!("{self:?}")
|
1107 994 | }
|
1108 995 | }
|
1109 996 | impl<'source> ::pyo3::FromPyObject<'source>
|
1110 - | for std::boxed::Box<ConstrainedHttpPayloadBoundShapeOperationOutput>
|
997 + | for std::boxed::Box<QueryParamsTargetingMapOfListOfLengthStringOperationOutput>
|
1111 998 | {
|
1112 999 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1113 - | ob.extract::<ConstrainedHttpPayloadBoundShapeOperationOutput>()
|
1000 + | ob.extract::<QueryParamsTargetingMapOfListOfLengthStringOperationOutput>()
|
1114 1001 | .map(Box::new)
|
1115 1002 | }
|
1116 1003 | }
|
1117 1004 |
|
1118 1005 | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1119 - | for std::boxed::Box<ConstrainedHttpPayloadBoundShapeOperationOutput>
|
1006 + | for std::boxed::Box<QueryParamsTargetingMapOfListOfLengthStringOperationOutput>
|
1120 1007 | {
|
1121 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1122 - | (*self).into_py(py)
|
1123 - | }
|
1124 - | }
|
1125 - | impl ConstrainedHttpPayloadBoundShapeOperationOutput {
|
1126 - | /// Creates a new builder-style object to manufacture [`ConstrainedHttpPayloadBoundShapeOperationOutput`](crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput).
|
1127 - | pub fn builder() -> crate::output::constrained_http_payload_bound_shape_operation_output::Builder
|
1128 - | {
|
1129 - | crate::output::constrained_http_payload_bound_shape_operation_output::Builder::default()
|
1130 - | }
|
1131 - | }
|
1132 - |
|
1133 - | #[::pyo3::pyclass]
|
1134 - | /// :param length_string_label str:
|
1135 - | /// :param range_integer_label int:
|
1136 - | /// :param range_short_label int:
|
1137 - | /// :param range_long_label int:
|
1138 - | /// :param range_byte_label int:
|
1139 - | /// :param enum_string_label constraints_without_public_constrained_types.model.EnumString:
|
1140 - | /// :param length_string_header_map typing.Dict\[str, str\]:
|
1141 - | /// :param range_integer_header int:
|
1142 - | /// :param range_short_header int:
|
1143 - | /// :param range_long_header int:
|
1144 - | /// :param range_byte_header int:
|
1145 - | /// :param range_byte_query int:
|
1146 - | /// :param range_short_query int:
|
1147 - | /// :param range_integer_query int:
|
1148 - | /// :param range_long_query int:
|
1149 - | /// :param length_string_header typing.Optional\[str\]:
|
1150 - | /// :param length_string_set_header typing.Optional\[typing.Set\[str\]\]:
|
1151 - | /// :param list_length_string_header typing.Optional\[typing.List\[str\]\]:
|
1152 - | /// :param length_list_pattern_string_header typing.Optional\[typing.List\[str\]\]:
|
1153 - | /// :param length_set_pattern_string_header typing.Optional\[typing.Set\[str\]\]:
|
1154 - | /// :param range_byte_set_header typing.Optional\[typing.List\[int\]\]:
|
1155 - | /// :param range_short_set_header typing.Optional\[typing.List\[int\]\]:
|
1156 - | /// :param range_integer_set_header typing.Optional\[typing.List\[int\]\]:
|
1157 - | /// :param range_long_set_header typing.Optional\[typing.List\[int\]\]:
|
1158 - | /// :param range_byte_list_header typing.Optional\[typing.List\[int\]\]:
|
1159 - | /// :param range_short_list_header typing.Optional\[typing.List\[int\]\]:
|
1160 - | /// :param range_integer_list_header typing.Optional\[typing.List\[int\]\]:
|
1161 - | /// :param range_long_list_header typing.Optional\[typing.List\[int\]\]:
|
1162 - | /// :param length_string_query typing.Optional\[str\]:
|
1163 - | /// :param enum_string_query typing.Optional\[constraints_without_public_constrained_types.model.EnumString\]:
|
1164 - | /// :param length_string_list_query typing.Optional\[typing.List\[str\]\]:
|
1165 - | /// :param length_list_pattern_string_query typing.Optional\[typing.List\[str\]\]:
|
1166 - | /// :param length_string_set_query typing.Optional\[typing.Set\[str\]\]:
|
1167 - | /// :param range_byte_list_query typing.Optional\[typing.List\[int\]\]:
|
1168 - | /// :param range_short_list_query typing.Optional\[typing.List\[int\]\]:
|
1169 - | /// :param range_integer_list_query typing.Optional\[typing.List\[int\]\]:
|
1170 - | /// :param range_long_list_query typing.Optional\[typing.List\[int\]\]:
|
1171 - | /// :param range_byte_set_query typing.Optional\[typing.List\[int\]\]:
|
1172 - | /// :param range_short_set_query typing.Optional\[typing.List\[int\]\]:
|
1173 - | /// :param range_integer_set_query typing.Optional\[typing.List\[int\]\]:
|
1174 - | /// :param range_long_set_query typing.Optional\[typing.List\[int\]\]:
|
1175 - | /// :param enum_string_list_query typing.Optional\[typing.List\[constraints_without_public_constrained_types.model.EnumString\]\]:
|
1176 - | /// :rtype None:
|
1177 - | #[allow(missing_docs)] // documentation missing in model
|
1178 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1179 - | pub struct ConstrainedHttpBoundShapesOperationOutput {
|
1180 - | #[pyo3(get, set)]
|
1181 - | /// :type str:
|
1182 - | #[allow(missing_docs)] // documentation missing in model
|
1183 - | pub length_string_label: ::std::string::String,
|
1184 - | #[pyo3(get, set)]
|
1185 - | /// :type int:
|
1186 - | #[allow(missing_docs)] // documentation missing in model
|
1187 - | pub range_integer_label: i32,
|
1188 - | #[pyo3(get, set)]
|
1189 - | /// :type int:
|
1190 - | #[allow(missing_docs)] // documentation missing in model
|
1191 - | pub range_short_label: i16,
|
1192 - | #[pyo3(get, set)]
|
1193 - | /// :type int:
|
1194 - | #[allow(missing_docs)] // documentation missing in model
|
1195 - | pub range_long_label: i64,
|
1196 - | #[pyo3(get, set)]
|
1197 - | /// :type int:
|
1198 - | #[allow(missing_docs)] // documentation missing in model
|
1199 - | pub range_byte_label: i8,
|
1200 - | #[pyo3(get, set)]
|
1201 - | /// :type constraints_without_public_constrained_types.model.EnumString:
|
1202 - | #[allow(missing_docs)] // documentation missing in model
|
1203 - | pub enum_string_label: crate::model::EnumString,
|
1204 - | #[pyo3(get, set)]
|
1205 - | /// :type typing.Dict\[str, str\]:
|
1206 - | #[allow(missing_docs)] // documentation missing in model
|
1207 - | pub length_string_header_map:
|
1208 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1209 - | #[pyo3(get, set)]
|
1210 - | /// :type typing.Optional\[str\]:
|
1211 - | #[allow(missing_docs)] // documentation missing in model
|
1212 - | pub length_string_header: ::std::option::Option<::std::string::String>,
|
1213 - | #[pyo3(get, set)]
|
1214 - | /// :type int:
|
1215 - | #[allow(missing_docs)] // documentation missing in model
|
1216 - | pub range_integer_header: i32,
|
1217 - | #[pyo3(get, set)]
|
1218 - | /// :type int:
|
1219 - | #[allow(missing_docs)] // documentation missing in model
|
1220 - | pub range_short_header: i16,
|
1221 - | #[pyo3(get, set)]
|
1222 - | /// :type int:
|
1223 - | #[allow(missing_docs)] // documentation missing in model
|
1224 - | pub range_long_header: i64,
|
1225 - | #[pyo3(get, set)]
|
1226 - | /// :type int:
|
1227 - | #[allow(missing_docs)] // documentation missing in model
|
1228 - | pub range_byte_header: i8,
|
1229 - | #[pyo3(get, set)]
|
1230 - | /// :type typing.Optional\[typing.Set\[str\]\]:
|
1231 - | #[allow(missing_docs)] // documentation missing in model
|
1232 - | pub length_string_set_header: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1233 - | #[pyo3(get, set)]
|
1234 - | /// :type typing.Optional\[typing.List\[str\]\]:
|
1235 - | #[allow(missing_docs)] // documentation missing in model
|
1236 - | pub list_length_string_header: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1237 - | #[pyo3(get, set)]
|
1238 - | /// :type typing.Optional\[typing.List\[str\]\]:
|
1239 - | #[allow(missing_docs)] // documentation missing in model
|
1240 - | pub length_list_pattern_string_header:
|
1241 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1242 - | #[pyo3(get, set)]
|
1243 - | /// :type typing.Optional\[typing.Set\[str\]\]:
|
1244 - | #[allow(missing_docs)] // documentation missing in model
|
1245 - | pub length_set_pattern_string_header:
|
1246 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1247 - | #[pyo3(get, set)]
|
1248 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1249 - | #[allow(missing_docs)] // documentation missing in model
|
1250 - | pub range_byte_set_header: ::std::option::Option<::std::vec::Vec<i8>>,
|
1251 - | #[pyo3(get, set)]
|
1252 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1253 - | #[allow(missing_docs)] // documentation missing in model
|
1254 - | pub range_short_set_header: ::std::option::Option<::std::vec::Vec<i16>>,
|
1255 - | #[pyo3(get, set)]
|
1256 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1257 - | #[allow(missing_docs)] // documentation missing in model
|
1258 - | pub range_integer_set_header: ::std::option::Option<::std::vec::Vec<i32>>,
|
1259 - | #[pyo3(get, set)]
|
1260 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1261 - | #[allow(missing_docs)] // documentation missing in model
|
1262 - | pub range_long_set_header: ::std::option::Option<::std::vec::Vec<i64>>,
|
1263 - | #[pyo3(get, set)]
|
1264 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1265 - | #[allow(missing_docs)] // documentation missing in model
|
1266 - | pub range_byte_list_header: ::std::option::Option<::std::vec::Vec<i8>>,
|
1267 - | #[pyo3(get, set)]
|
1268 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1269 - | #[allow(missing_docs)] // documentation missing in model
|
1270 - | pub range_short_list_header: ::std::option::Option<::std::vec::Vec<i16>>,
|
1271 - | #[pyo3(get, set)]
|
1272 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1273 - | #[allow(missing_docs)] // documentation missing in model
|
1274 - | pub range_integer_list_header: ::std::option::Option<::std::vec::Vec<i32>>,
|
1275 - | #[pyo3(get, set)]
|
1276 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1277 - | #[allow(missing_docs)] // documentation missing in model
|
1278 - | pub range_long_list_header: ::std::option::Option<::std::vec::Vec<i64>>,
|
1279 - | #[pyo3(get, set)]
|
1280 - | /// :type typing.Optional\[str\]:
|
1281 - | #[allow(missing_docs)] // documentation missing in model
|
1282 - | pub length_string_query: ::std::option::Option<::std::string::String>,
|
1283 - | #[pyo3(get, set)]
|
1284 - | /// :type int:
|
1285 - | #[allow(missing_docs)] // documentation missing in model
|
1286 - | pub range_byte_query: i8,
|
1287 - | #[pyo3(get, set)]
|
1288 - | /// :type int:
|
1289 - | #[allow(missing_docs)] // documentation missing in model
|
1290 - | pub range_short_query: i16,
|
1291 - | #[pyo3(get, set)]
|
1292 - | /// :type int:
|
1293 - | #[allow(missing_docs)] // documentation missing in model
|
1294 - | pub range_integer_query: i32,
|
1295 - | #[pyo3(get, set)]
|
1296 - | /// :type int:
|
1297 - | #[allow(missing_docs)] // documentation missing in model
|
1298 - | pub range_long_query: i64,
|
1299 - | #[pyo3(get, set)]
|
1300 - | /// :type typing.Optional\[constraints_without_public_constrained_types.model.EnumString\]:
|
1301 - | #[allow(missing_docs)] // documentation missing in model
|
1302 - | pub enum_string_query: ::std::option::Option<crate::model::EnumString>,
|
1303 - | #[pyo3(get, set)]
|
1304 - | /// :type typing.Optional\[typing.List\[str\]\]:
|
1305 - | #[allow(missing_docs)] // documentation missing in model
|
1306 - | pub length_string_list_query: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1307 - | #[pyo3(get, set)]
|
1308 - | /// :type typing.Optional\[typing.List\[str\]\]:
|
1309 - | #[allow(missing_docs)] // documentation missing in model
|
1310 - | pub length_list_pattern_string_query:
|
1311 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1312 - | #[pyo3(get, set)]
|
1313 - | /// :type typing.Optional\[typing.Set\[str\]\]:
|
1314 - | #[allow(missing_docs)] // documentation missing in model
|
1315 - | pub length_string_set_query: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1316 - | #[pyo3(get, set)]
|
1317 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1318 - | #[allow(missing_docs)] // documentation missing in model
|
1319 - | pub range_byte_list_query: ::std::option::Option<::std::vec::Vec<i8>>,
|
1320 - | #[pyo3(get, set)]
|
1321 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1322 - | #[allow(missing_docs)] // documentation missing in model
|
1323 - | pub range_short_list_query: ::std::option::Option<::std::vec::Vec<i16>>,
|
1324 - | #[pyo3(get, set)]
|
1325 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1326 - | #[allow(missing_docs)] // documentation missing in model
|
1327 - | pub range_integer_list_query: ::std::option::Option<::std::vec::Vec<i32>>,
|
1328 - | #[pyo3(get, set)]
|
1329 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1330 - | #[allow(missing_docs)] // documentation missing in model
|
1331 - | pub range_long_list_query: ::std::option::Option<::std::vec::Vec<i64>>,
|
1332 - | #[pyo3(get, set)]
|
1333 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1334 - | #[allow(missing_docs)] // documentation missing in model
|
1335 - | pub range_byte_set_query: ::std::option::Option<::std::vec::Vec<i8>>,
|
1336 - | #[pyo3(get, set)]
|
1337 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1338 - | #[allow(missing_docs)] // documentation missing in model
|
1339 - | pub range_short_set_query: ::std::option::Option<::std::vec::Vec<i16>>,
|
1008 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1009 + | (*self).into_py(py)
|
1010 + | }
|
1011 + | }
|
1012 + | impl QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
1013 + | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput).
|
1014 + | pub fn builder(
|
1015 + | ) -> crate::output::query_params_targeting_map_of_list_of_length_string_operation_output::Builder
|
1016 + | {
|
1017 + | crate::output::query_params_targeting_map_of_list_of_length_string_operation_output::Builder::default()
|
1018 + | }
|
1019 + | }
|
1020 + |
|
1021 + | #[::pyo3::pyclass]
|
1022 + | /// :param map_of_set_of_length_string typing.Optional\[typing.Dict\[str, typing.Set\[str\]\]\]:
|
1023 + | /// :rtype None:
|
1024 + | #[allow(missing_docs)] // documentation missing in model
|
1025 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1026 + | pub struct QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
1340 1027 | #[pyo3(get, set)]
|
1341 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1028 + | /// :type typing.Optional\[typing.Dict\[str, typing.Set\[str\]\]\]:
|
1342 1029 | #[allow(missing_docs)] // documentation missing in model
|
1343 - | pub range_integer_set_query: ::std::option::Option<::std::vec::Vec<i32>>,
|
1344 - | #[pyo3(get, set)]
|
1345 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
1030 + | pub map_of_set_of_length_string: ::std::option::Option<
|
1031 + | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
1032 + | >,
|
1033 + | }
|
1034 + | impl QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
1346 1035 | #[allow(missing_docs)] // documentation missing in model
|
1347 - | pub range_long_set_query: ::std::option::Option<::std::vec::Vec<i64>>,
|
1036 + | pub fn map_of_set_of_length_string(
|
1037 + | &self,
|
1038 + | ) -> ::std::option::Option<
|
1039 + | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
1040 + | > {
|
1041 + | self.map_of_set_of_length_string.as_ref()
|
1042 + | }
|
1043 + | }
|
1044 + | #[allow(clippy::new_without_default)]
|
1045 + | #[allow(clippy::too_many_arguments)]
|
1046 + | #[::pyo3::pymethods]
|
1047 + | impl QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
1048 + | #[new]
|
1049 + | pub fn new(
|
1050 + | map_of_set_of_length_string: ::std::option::Option<
|
1051 + | ::std::collections::HashMap<
|
1052 + | ::std::string::String,
|
1053 + | ::std::vec::Vec<::std::string::String>,
|
1054 + | >,
|
1055 + | >,
|
1056 + | ) -> Self {
|
1057 + | Self {
|
1058 + | map_of_set_of_length_string,
|
1059 + | }
|
1060 + | }
|
1061 + | fn __repr__(&self) -> String {
|
1062 + | format!("{self:?}")
|
1063 + | }
|
1064 + | fn __str__(&self) -> String {
|
1065 + | format!("{self:?}")
|
1066 + | }
|
1067 + | }
|
1068 + | impl<'source> ::pyo3::FromPyObject<'source>
|
1069 + | for std::boxed::Box<QueryParamsTargetingMapOfSetOfLengthStringOperationOutput>
|
1070 + | {
|
1071 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1072 + | ob.extract::<QueryParamsTargetingMapOfSetOfLengthStringOperationOutput>()
|
1073 + | .map(Box::new)
|
1074 + | }
|
1075 + | }
|
1076 + |
|
1077 + | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1078 + | for std::boxed::Box<QueryParamsTargetingMapOfSetOfLengthStringOperationOutput>
|
1079 + | {
|
1080 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1081 + | (*self).into_py(py)
|
1082 + | }
|
1083 + | }
|
1084 + | impl QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
1085 + | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfSetOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput).
|
1086 + | pub fn builder(
|
1087 + | ) -> crate::output::query_params_targeting_map_of_set_of_length_string_operation_output::Builder
|
1088 + | {
|
1089 + | crate::output::query_params_targeting_map_of_set_of_length_string_operation_output::Builder::default()
|
1090 + | }
|
1091 + | }
|
1092 + |
|
1093 + | #[::pyo3::pyclass]
|
1094 + | /// :param map_of_length_list_of_pattern_string typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
1095 + | /// :rtype None:
|
1096 + | #[allow(missing_docs)] // documentation missing in model
|
1097 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1098 + | pub struct QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput {
|
1348 1099 | #[pyo3(get, set)]
|
1349 - | /// :type typing.Optional\[typing.List\[constraints_without_public_constrained_types.model.EnumString\]\]:
|
1100 + | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
1350 1101 | #[allow(missing_docs)] // documentation missing in model
|
1351 - | pub enum_string_list_query: ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
|
1102 + | pub map_of_length_list_of_pattern_string: ::std::option::Option<
|
1103 + | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
1104 + | >,
|
1352 1105 | }
|
1353 - | impl ConstrainedHttpBoundShapesOperationOutput {
|
1106 + | impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput {
|
1354 1107 | #[allow(missing_docs)] // documentation missing in model
|
1355 - | pub fn length_string_label(&self) -> &str {
|
1356 - | use std::ops::Deref;
|
1357 - | self.length_string_label.deref()
|
1108 + | pub fn map_of_length_list_of_pattern_string(
|
1109 + | &self,
|
1110 + | ) -> ::std::option::Option<
|
1111 + | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
1112 + | > {
|
1113 + | self.map_of_length_list_of_pattern_string.as_ref()
|
1358 1114 | }
|
1359 - | #[allow(missing_docs)] // documentation missing in model
|
1360 - | pub fn range_integer_label(&self) -> i32 {
|
1361 - | self.range_integer_label
|
1115 + | }
|
1116 + | #[allow(clippy::new_without_default)]
|
1117 + | #[allow(clippy::too_many_arguments)]
|
1118 + | #[::pyo3::pymethods]
|
1119 + | impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput {
|
1120 + | #[new]
|
1121 + | pub fn new(
|
1122 + | map_of_length_list_of_pattern_string: ::std::option::Option<
|
1123 + | ::std::collections::HashMap<
|
1124 + | ::std::string::String,
|
1125 + | ::std::vec::Vec<::std::string::String>,
|
1126 + | >,
|
1127 + | >,
|
1128 + | ) -> Self {
|
1129 + | Self {
|
1130 + | map_of_length_list_of_pattern_string,
|
1362 1131 | }
|
1363 - | #[allow(missing_docs)] // documentation missing in model
|
1364 - | pub fn range_short_label(&self) -> i16 {
|
1365 - | self.range_short_label
|
1366 1132 | }
|
1367 - | #[allow(missing_docs)] // documentation missing in model
|
1368 - | pub fn range_long_label(&self) -> i64 {
|
1369 - | self.range_long_label
|
1133 + | fn __repr__(&self) -> String {
|
1134 + | format!("{self:?}")
|
1370 1135 | }
|
1371 - | #[allow(missing_docs)] // documentation missing in model
|
1372 - | pub fn range_byte_label(&self) -> i8 {
|
1373 - | self.range_byte_label
|
1136 + | fn __str__(&self) -> String {
|
1137 + | format!("{self:?}")
|
1374 1138 | }
|
1375 - | #[allow(missing_docs)] // documentation missing in model
|
1376 - | pub fn enum_string_label(&self) -> &crate::model::EnumString {
|
1377 - | &self.enum_string_label
|
1139 + | }
|
1140 + | impl<'source> ::pyo3::FromPyObject<'source>
|
1141 + | for std::boxed::Box<QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput>
|
1142 + | {
|
1143 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1144 + | ob.extract::<QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput>()
|
1145 + | .map(Box::new)
|
1146 + | }
|
1147 + | }
|
1148 + |
|
1149 + | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1150 + | for std::boxed::Box<QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput>
|
1151 + | {
|
1152 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1153 + | (*self).into_py(py)
|
1378 1154 | }
|
1155 + | }
|
1156 + | impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput {
|
1157 + | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput).
|
1158 + | pub fn builder() -> crate::output::query_params_targeting_map_of_length_list_of_pattern_string_operation_output::Builder{
|
1159 + | crate::output::query_params_targeting_map_of_length_list_of_pattern_string_operation_output::Builder::default()
|
1160 + | }
|
1161 + | }
|
1162 + |
|
1163 + | #[::pyo3::pyclass]
|
1164 + | /// :param map_of_list_of_enum_string typing.Optional\[typing.Dict\[constraints_without_public_constrained_types.model.EnumString, typing.List\[constraints_without_public_constrained_types.model.EnumString\]\]\]:
|
1165 + | /// :rtype None:
|
1166 + | #[allow(missing_docs)] // documentation missing in model
|
1167 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1168 + | pub struct QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
1169 + | #[pyo3(get, set)]
|
1170 + | /// :type typing.Optional\[typing.Dict\[constraints_without_public_constrained_types.model.EnumString, typing.List\[constraints_without_public_constrained_types.model.EnumString\]\]\]:
|
1379 1171 | #[allow(missing_docs)] // documentation missing in model
|
1380 - | pub fn length_string_header_map(
|
1172 + | pub map_of_list_of_enum_string: ::std::option::Option<
|
1173 + | ::std::collections::HashMap<
|
1174 + | crate::model::EnumString,
|
1175 + | ::std::vec::Vec<crate::model::EnumString>,
|
1176 + | >,
|
1177 + | >,
|
1178 + | }
|
1179 + | impl QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
1180 + | #[allow(missing_docs)] // documentation missing in model
|
1181 + | pub fn map_of_list_of_enum_string(
|
1381 1182 | &self,
|
1382 - | ) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> {
|
1383 - | &self.length_string_header_map
|
1183 + | ) -> ::std::option::Option<
|
1184 + | &::std::collections::HashMap<
|
1185 + | crate::model::EnumString,
|
1186 + | ::std::vec::Vec<crate::model::EnumString>,
|
1187 + | >,
|
1188 + | > {
|
1189 + | self.map_of_list_of_enum_string.as_ref()
|
1384 1190 | }
|
1385 - | #[allow(missing_docs)] // documentation missing in model
|
1386 - | pub fn length_string_header(&self) -> ::std::option::Option<&str> {
|
1387 - | self.length_string_header.as_deref()
|
1191 + | }
|
1192 + | #[allow(clippy::new_without_default)]
|
1193 + | #[allow(clippy::too_many_arguments)]
|
1194 + | #[::pyo3::pymethods]
|
1195 + | impl QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
1196 + | #[new]
|
1197 + | pub fn new(
|
1198 + | map_of_list_of_enum_string: ::std::option::Option<
|
1199 + | ::std::collections::HashMap<
|
1200 + | crate::model::EnumString,
|
1201 + | ::std::vec::Vec<crate::model::EnumString>,
|
1202 + | >,
|
1203 + | >,
|
1204 + | ) -> Self {
|
1205 + | Self {
|
1206 + | map_of_list_of_enum_string,
|
1388 1207 | }
|
1389 - | #[allow(missing_docs)] // documentation missing in model
|
1390 - | pub fn range_integer_header(&self) -> i32 {
|
1391 - | self.range_integer_header
|
1392 1208 | }
|
1393 - | #[allow(missing_docs)] // documentation missing in model
|
1394 - | pub fn range_short_header(&self) -> i16 {
|
1395 - | self.range_short_header
|
1209 + | fn __repr__(&self) -> String {
|
1210 + | format!("{self:?}")
|
1396 1211 | }
|
1397 - | #[allow(missing_docs)] // documentation missing in model
|
1398 - | pub fn range_long_header(&self) -> i64 {
|
1399 - | self.range_long_header
|
1212 + | fn __str__(&self) -> String {
|
1213 + | format!("{self:?}")
|
1400 1214 | }
|
1401 - | #[allow(missing_docs)] // documentation missing in model
|
1402 - | pub fn range_byte_header(&self) -> i8 {
|
1403 - | self.range_byte_header
|
1215 + | }
|
1216 + | impl<'source> ::pyo3::FromPyObject<'source>
|
1217 + | for std::boxed::Box<QueryParamsTargetingMapOfListOfEnumStringOperationOutput>
|
1218 + | {
|
1219 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1220 + | ob.extract::<QueryParamsTargetingMapOfListOfEnumStringOperationOutput>()
|
1221 + | .map(Box::new)
|
1404 1222 | }
|
1405 - | #[allow(missing_docs)] // documentation missing in model
|
1406 - | pub fn length_string_set_header(
|
1407 - | &self,
|
1408 - | ) -> ::std::option::Option<&::std::vec::Vec<::std::string::String>> {
|
1409 - | self.length_string_set_header.as_ref()
|
1223 + | }
|
1224 + |
|
1225 + | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1226 + | for std::boxed::Box<QueryParamsTargetingMapOfListOfEnumStringOperationOutput>
|
1227 + | {
|
1228 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1229 + | (*self).into_py(py)
|
1230 + | }
|
1231 + | }
|
1232 + | impl QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
1233 + | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput).
|
1234 + | pub fn builder(
|
1235 + | ) -> crate::output::query_params_targeting_map_of_list_of_enum_string_operation_output::Builder
|
1236 + | {
|
1237 + | crate::output::query_params_targeting_map_of_list_of_enum_string_operation_output::Builder::default()
|
1410 1238 | }
|
1239 + | }
|
1240 + |
|
1241 + | #[::pyo3::pyclass]
|
1242 + | /// :param map_of_pattern_string typing.Optional\[typing.Dict\[str, str\]\]:
|
1243 + | /// :rtype None:
|
1244 + | #[allow(missing_docs)] // documentation missing in model
|
1245 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1246 + | pub struct QueryParamsTargetingMapOfPatternStringOperationOutput {
|
1247 + | #[pyo3(get, set)]
|
1248 + | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
1411 1249 | #[allow(missing_docs)] // documentation missing in model
|
1412 - | pub fn list_length_string_header(&self) -> ::std::option::Option<&[::std::string::String]> {
|
1413 - | self.list_length_string_header.as_deref()
|
1414 - | }
|
1250 + | pub map_of_pattern_string: ::std::option::Option<
|
1251 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1252 + | >,
|
1253 + | }
|
1254 + | impl QueryParamsTargetingMapOfPatternStringOperationOutput {
|
1415 1255 | #[allow(missing_docs)] // documentation missing in model
|
1416 - | pub fn length_list_pattern_string_header(
|
1256 + | pub fn map_of_pattern_string(
|
1417 1257 | &self,
|
1418 - | ) -> ::std::option::Option<&[::std::string::String]> {
|
1419 - | self.length_list_pattern_string_header.as_deref()
|
1258 + | ) -> ::std::option::Option<
|
1259 + | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1260 + | > {
|
1261 + | self.map_of_pattern_string.as_ref()
|
1420 1262 | }
|
1421 - | #[allow(missing_docs)] // documentation missing in model
|
1422 - | pub fn length_set_pattern_string_header(
|
1423 - | &self,
|
1424 - | ) -> ::std::option::Option<&::std::vec::Vec<::std::string::String>> {
|
1425 - | self.length_set_pattern_string_header.as_ref()
|
1263 + | }
|
1264 + | #[allow(clippy::new_without_default)]
|
1265 + | #[allow(clippy::too_many_arguments)]
|
1266 + | #[::pyo3::pymethods]
|
1267 + | impl QueryParamsTargetingMapOfPatternStringOperationOutput {
|
1268 + | #[new]
|
1269 + | pub fn new(
|
1270 + | map_of_pattern_string: ::std::option::Option<
|
1271 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1272 + | >,
|
1273 + | ) -> Self {
|
1274 + | Self {
|
1275 + | map_of_pattern_string,
|
1426 1276 | }
|
1427 - | #[allow(missing_docs)] // documentation missing in model
|
1428 - | pub fn range_byte_set_header(&self) -> ::std::option::Option<&[i8]> {
|
1429 - | self.range_byte_set_header.as_deref()
|
1430 1277 | }
|
1431 - | #[allow(missing_docs)] // documentation missing in model
|
1432 - | pub fn range_short_set_header(&self) -> ::std::option::Option<&[i16]> {
|
1433 - | self.range_short_set_header.as_deref()
|
1278 + | fn __repr__(&self) -> String {
|
1279 + | format!("{self:?}")
|
1434 1280 | }
|
1435 - | #[allow(missing_docs)] // documentation missing in model
|
1436 - | pub fn range_integer_set_header(&self) -> ::std::option::Option<&[i32]> {
|
1437 - | self.range_integer_set_header.as_deref()
|
1281 + | fn __str__(&self) -> String {
|
1282 + | format!("{self:?}")
|
1438 1283 | }
|
1439 - | #[allow(missing_docs)] // documentation missing in model
|
1440 - | pub fn range_long_set_header(&self) -> ::std::option::Option<&[i64]> {
|
1441 - | self.range_long_set_header.as_deref()
|
1284 + | }
|
1285 + | impl<'source> ::pyo3::FromPyObject<'source>
|
1286 + | for std::boxed::Box<QueryParamsTargetingMapOfPatternStringOperationOutput>
|
1287 + | {
|
1288 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1289 + | ob.extract::<QueryParamsTargetingMapOfPatternStringOperationOutput>()
|
1290 + | .map(Box::new)
|
1442 1291 | }
|
1443 - | #[allow(missing_docs)] // documentation missing in model
|
1444 - | pub fn range_byte_list_header(&self) -> ::std::option::Option<&[i8]> {
|
1445 - | self.range_byte_list_header.as_deref()
|
1292 + | }
|
1293 + |
|
1294 + | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1295 + | for std::boxed::Box<QueryParamsTargetingMapOfPatternStringOperationOutput>
|
1296 + | {
|
1297 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1298 + | (*self).into_py(py)
|
1446 1299 | }
|
1447 - | #[allow(missing_docs)] // documentation missing in model
|
1448 - | pub fn range_short_list_header(&self) -> ::std::option::Option<&[i16]> {
|
1449 - | self.range_short_list_header.as_deref()
|
1300 + | }
|
1301 + | impl QueryParamsTargetingMapOfPatternStringOperationOutput {
|
1302 + | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput).
|
1303 + | pub fn builder(
|
1304 + | ) -> crate::output::query_params_targeting_map_of_pattern_string_operation_output::Builder {
|
1305 + | crate::output::query_params_targeting_map_of_pattern_string_operation_output::Builder::default()
|
1450 1306 | }
|
1307 + | }
|
1308 + |
|
1309 + | #[::pyo3::pyclass]
|
1310 + | /// :param map_of_list_of_pattern_string typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
1311 + | /// :rtype None:
|
1312 + | #[allow(missing_docs)] // documentation missing in model
|
1313 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1314 + | pub struct QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
1315 + | #[pyo3(get, set)]
|
1316 + | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
1451 1317 | #[allow(missing_docs)] // documentation missing in model
|
1452 - | pub fn range_integer_list_header(&self) -> ::std::option::Option<&[i32]> {
|
1453 - | self.range_integer_list_header.as_deref()
|
1454 - | }
|
1318 + | pub map_of_list_of_pattern_string: ::std::option::Option<
|
1319 + | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
1320 + | >,
|
1321 + | }
|
1322 + | impl QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
1455 1323 | #[allow(missing_docs)] // documentation missing in model
|
1456 - | pub fn range_long_list_header(&self) -> ::std::option::Option<&[i64]> {
|
1457 - | self.range_long_list_header.as_deref()
|
1324 + | pub fn map_of_list_of_pattern_string(
|
1325 + | &self,
|
1326 + | ) -> ::std::option::Option<
|
1327 + | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
1328 + | > {
|
1329 + | self.map_of_list_of_pattern_string.as_ref()
|
1458 1330 | }
|
1459 - | #[allow(missing_docs)] // documentation missing in model
|
1460 - | pub fn length_string_query(&self) -> ::std::option::Option<&str> {
|
1461 - | self.length_string_query.as_deref()
|
1331 + | }
|
1332 + | #[allow(clippy::new_without_default)]
|
1333 + | #[allow(clippy::too_many_arguments)]
|
1334 + | #[::pyo3::pymethods]
|
1335 + | impl QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
1336 + | #[new]
|
1337 + | pub fn new(
|
1338 + | map_of_list_of_pattern_string: ::std::option::Option<
|
1339 + | ::std::collections::HashMap<
|
1340 + | ::std::string::String,
|
1341 + | ::std::vec::Vec<::std::string::String>,
|
1342 + | >,
|
1343 + | >,
|
1344 + | ) -> Self {
|
1345 + | Self {
|
1346 + | map_of_list_of_pattern_string,
|
1462 1347 | }
|
1463 - | #[allow(missing_docs)] // documentation missing in model
|
1464 - | pub fn range_byte_query(&self) -> i8 {
|
1465 - | self.range_byte_query
|
1466 1348 | }
|
1467 - | #[allow(missing_docs)] // documentation missing in model
|
1468 - | pub fn range_short_query(&self) -> i16 {
|
1469 - | self.range_short_query
|
1349 + | fn __repr__(&self) -> String {
|
1350 + | format!("{self:?}")
|
1470 1351 | }
|
1471 - | #[allow(missing_docs)] // documentation missing in model
|
1472 - | pub fn range_integer_query(&self) -> i32 {
|
1473 - | self.range_integer_query
|
1352 + | fn __str__(&self) -> String {
|
1353 + | format!("{self:?}")
|
1474 1354 | }
|
1475 - | #[allow(missing_docs)] // documentation missing in model
|
1476 - | pub fn range_long_query(&self) -> i64 {
|
1477 - | self.range_long_query
|
1355 + | }
|
1356 + | impl<'source> ::pyo3::FromPyObject<'source>
|
1357 + | for std::boxed::Box<QueryParamsTargetingMapOfListOfPatternStringOperationOutput>
|
1358 + | {
|
1359 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1360 + | ob.extract::<QueryParamsTargetingMapOfListOfPatternStringOperationOutput>()
|
1361 + | .map(Box::new)
|
1478 1362 | }
|
1479 - | #[allow(missing_docs)] // documentation missing in model
|
1480 - | pub fn enum_string_query(&self) -> ::std::option::Option<&crate::model::EnumString> {
|
1481 - | self.enum_string_query.as_ref()
|
1363 + | }
|
1364 + |
|
1365 + | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1366 + | for std::boxed::Box<QueryParamsTargetingMapOfListOfPatternStringOperationOutput>
|
1367 + | {
|
1368 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1369 + | (*self).into_py(py)
|
1482 1370 | }
|
1483 - | #[allow(missing_docs)] // documentation missing in model
|
1484 - | pub fn length_string_list_query(&self) -> ::std::option::Option<&[::std::string::String]> {
|
1485 - | self.length_string_list_query.as_deref()
|
1371 + | }
|
1372 + | impl QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
1373 + | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput).
|
1374 + | pub fn builder(
|
1375 + | ) -> crate::output::query_params_targeting_map_of_list_of_pattern_string_operation_output::Builder
|
1376 + | {
|
1377 + | crate::output::query_params_targeting_map_of_list_of_pattern_string_operation_output::Builder::default()
|
1486 1378 | }
|
1379 + | }
|
1380 + |
|
1381 + | #[::pyo3::pyclass]
|
1382 + | /// :param map_of_length_pattern_string typing.Optional\[typing.Dict\[str, str\]\]:
|
1383 + | /// :rtype None:
|
1384 + | #[allow(missing_docs)] // documentation missing in model
|
1385 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1386 + | pub struct QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
1387 + | #[pyo3(get, set)]
|
1388 + | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
1487 1389 | #[allow(missing_docs)] // documentation missing in model
|
1488 - | pub fn length_list_pattern_string_query(
|
1489 - | &self,
|
1490 - | ) -> ::std::option::Option<&[::std::string::String]> {
|
1491 - | self.length_list_pattern_string_query.as_deref()
|
1492 - | }
|
1390 + | pub map_of_length_pattern_string: ::std::option::Option<
|
1391 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1392 + | >,
|
1393 + | }
|
1394 + | impl QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
1493 1395 | #[allow(missing_docs)] // documentation missing in model
|
1494 - | pub fn length_string_set_query(
|
1396 + | pub fn map_of_length_pattern_string(
|
1495 1397 | &self,
|
1496 - | ) -> ::std::option::Option<&::std::vec::Vec<::std::string::String>> {
|
1497 - | self.length_string_set_query.as_ref()
|
1398 + | ) -> ::std::option::Option<
|
1399 + | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1400 + | > {
|
1401 + | self.map_of_length_pattern_string.as_ref()
|
1498 1402 | }
|
1499 - | #[allow(missing_docs)] // documentation missing in model
|
1500 - | pub fn range_byte_list_query(&self) -> ::std::option::Option<&[i8]> {
|
1501 - | self.range_byte_list_query.as_deref()
|
1403 + | }
|
1404 + | #[allow(clippy::new_without_default)]
|
1405 + | #[allow(clippy::too_many_arguments)]
|
1406 + | #[::pyo3::pymethods]
|
1407 + | impl QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
1408 + | #[new]
|
1409 + | pub fn new(
|
1410 + | map_of_length_pattern_string: ::std::option::Option<
|
1411 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1412 + | >,
|
1413 + | ) -> Self {
|
1414 + | Self {
|
1415 + | map_of_length_pattern_string,
|
1502 1416 | }
|
1503 - | #[allow(missing_docs)] // documentation missing in model
|
1504 - | pub fn range_short_list_query(&self) -> ::std::option::Option<&[i16]> {
|
1505 - | self.range_short_list_query.as_deref()
|
1506 1417 | }
|
1507 - | #[allow(missing_docs)] // documentation missing in model
|
1508 - | pub fn range_integer_list_query(&self) -> ::std::option::Option<&[i32]> {
|
1509 - | self.range_integer_list_query.as_deref()
|
1418 + | fn __repr__(&self) -> String {
|
1419 + | format!("{self:?}")
|
1510 1420 | }
|
1511 - | #[allow(missing_docs)] // documentation missing in model
|
1512 - | pub fn range_long_list_query(&self) -> ::std::option::Option<&[i64]> {
|
1513 - | self.range_long_list_query.as_deref()
|
1421 + | fn __str__(&self) -> String {
|
1422 + | format!("{self:?}")
|
1514 1423 | }
|
1515 - | #[allow(missing_docs)] // documentation missing in model
|
1516 - | pub fn range_byte_set_query(&self) -> ::std::option::Option<&[i8]> {
|
1517 - | self.range_byte_set_query.as_deref()
|
1424 + | }
|
1425 + | impl<'source> ::pyo3::FromPyObject<'source>
|
1426 + | for std::boxed::Box<QueryParamsTargetingMapOfLengthPatternStringOperationOutput>
|
1427 + | {
|
1428 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1429 + | ob.extract::<QueryParamsTargetingMapOfLengthPatternStringOperationOutput>()
|
1430 + | .map(Box::new)
|
1518 1431 | }
|
1519 - | #[allow(missing_docs)] // documentation missing in model
|
1520 - | pub fn range_short_set_query(&self) -> ::std::option::Option<&[i16]> {
|
1521 - | self.range_short_set_query.as_deref()
|
1432 + | }
|
1433 + |
|
1434 + | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1435 + | for std::boxed::Box<QueryParamsTargetingMapOfLengthPatternStringOperationOutput>
|
1436 + | {
|
1437 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1438 + | (*self).into_py(py)
|
1522 1439 | }
|
1523 - | #[allow(missing_docs)] // documentation missing in model
|
1524 - | pub fn range_integer_set_query(&self) -> ::std::option::Option<&[i32]> {
|
1525 - | self.range_integer_set_query.as_deref()
|
1440 + | }
|
1441 + | impl QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
1442 + | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput).
|
1443 + | pub fn builder(
|
1444 + | ) -> crate::output::query_params_targeting_map_of_length_pattern_string_operation_output::Builder
|
1445 + | {
|
1446 + | crate::output::query_params_targeting_map_of_length_pattern_string_operation_output::Builder::default()
|
1526 1447 | }
|
1448 + | }
|
1449 + |
|
1450 + | #[::pyo3::pyclass]
|
1451 + | /// :param map_of_length_pattern_string typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
1452 + | /// :rtype None:
|
1453 + | #[allow(missing_docs)] // documentation missing in model
|
1454 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1455 + | pub struct QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput {
|
1456 + | #[pyo3(get, set)]
|
1457 + | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
1527 1458 | #[allow(missing_docs)] // documentation missing in model
|
1528 - | pub fn range_long_set_query(&self) -> ::std::option::Option<&[i64]> {
|
1529 - | self.range_long_set_query.as_deref()
|
1530 - | }
|
1459 + | pub map_of_length_pattern_string: ::std::option::Option<
|
1460 + | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
1461 + | >,
|
1462 + | }
|
1463 + | impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput {
|
1531 1464 | #[allow(missing_docs)] // documentation missing in model
|
1532 - | pub fn enum_string_list_query(&self) -> ::std::option::Option<&[crate::model::EnumString]> {
|
1533 - | self.enum_string_list_query.as_deref()
|
1465 + | pub fn map_of_length_pattern_string(
|
1466 + | &self,
|
1467 + | ) -> ::std::option::Option<
|
1468 + | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
1469 + | > {
|
1470 + | self.map_of_length_pattern_string.as_ref()
|
1534 1471 | }
|
1535 1472 | }
|
1536 1473 | #[allow(clippy::new_without_default)]
|
1537 1474 | #[allow(clippy::too_many_arguments)]
|
1538 1475 | #[::pyo3::pymethods]
|
1539 - | impl ConstrainedHttpBoundShapesOperationOutput {
|
1476 + | impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput {
|
1540 1477 | #[new]
|
1541 1478 | pub fn new(
|
1542 - | length_string_label: ::std::string::String,
|
1543 - | range_integer_label: i32,
|
1544 - | range_short_label: i16,
|
1545 - | range_long_label: i64,
|
1546 - | range_byte_label: i8,
|
1547 - | enum_string_label: crate::model::EnumString,
|
1548 - | length_string_header_map: ::std::collections::HashMap<
|
1549 - | ::std::string::String,
|
1479 + | map_of_length_pattern_string: ::std::option::Option<
|
1480 + | ::std::collections::HashMap<
|
1550 1481 | ::std::string::String,
|
1551 - | >,
|
1552 - | range_integer_header: i32,
|
1553 - | range_short_header: i16,
|
1554 - | range_long_header: i64,
|
1555 - | range_byte_header: i8,
|
1556 - | range_byte_query: i8,
|
1557 - | range_short_query: i16,
|
1558 - | range_integer_query: i32,
|
1559 - | range_long_query: i64,
|
1560 - | length_string_header: ::std::option::Option<::std::string::String>,
|
1561 - | length_string_set_header: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1562 - | list_length_string_header: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1563 - | length_list_pattern_string_header: ::std::option::Option<
|
1564 - | ::std::vec::Vec<::std::string::String>,
|
1565 - | >,
|
1566 - | length_set_pattern_string_header: ::std::option::Option<
|
1567 1482 | ::std::vec::Vec<::std::string::String>,
|
1568 1483 | >,
|
1569 - | range_byte_set_header: ::std::option::Option<::std::vec::Vec<i8>>,
|
1570 - | range_short_set_header: ::std::option::Option<::std::vec::Vec<i16>>,
|
1571 - | range_integer_set_header: ::std::option::Option<::std::vec::Vec<i32>>,
|
1572 - | range_long_set_header: ::std::option::Option<::std::vec::Vec<i64>>,
|
1573 - | range_byte_list_header: ::std::option::Option<::std::vec::Vec<i8>>,
|
1574 - | range_short_list_header: ::std::option::Option<::std::vec::Vec<i16>>,
|
1575 - | range_integer_list_header: ::std::option::Option<::std::vec::Vec<i32>>,
|
1576 - | range_long_list_header: ::std::option::Option<::std::vec::Vec<i64>>,
|
1577 - | length_string_query: ::std::option::Option<::std::string::String>,
|
1578 - | enum_string_query: ::std::option::Option<crate::model::EnumString>,
|
1579 - | length_string_list_query: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1580 - | length_list_pattern_string_query: ::std::option::Option<
|
1581 - | ::std::vec::Vec<::std::string::String>,
|
1582 1484 | >,
|
1583 - | length_string_set_query: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1584 - | range_byte_list_query: ::std::option::Option<::std::vec::Vec<i8>>,
|
1585 - | range_short_list_query: ::std::option::Option<::std::vec::Vec<i16>>,
|
1586 - | range_integer_list_query: ::std::option::Option<::std::vec::Vec<i32>>,
|
1587 - | range_long_list_query: ::std::option::Option<::std::vec::Vec<i64>>,
|
1588 - | range_byte_set_query: ::std::option::Option<::std::vec::Vec<i8>>,
|
1589 - | range_short_set_query: ::std::option::Option<::std::vec::Vec<i16>>,
|
1590 - | range_integer_set_query: ::std::option::Option<::std::vec::Vec<i32>>,
|
1591 - | range_long_set_query: ::std::option::Option<::std::vec::Vec<i64>>,
|
1592 - | enum_string_list_query: ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
|
1593 1485 | ) -> Self {
|
1594 1486 | Self {
|
1595 - | length_string_label,
|
1596 - | range_integer_label,
|
1597 - | range_short_label,
|
1598 - | range_long_label,
|
1599 - | range_byte_label,
|
1600 - | enum_string_label,
|
1601 - | length_string_header_map,
|
1602 - | range_integer_header,
|
1603 - | range_short_header,
|
1604 - | range_long_header,
|
1605 - | range_byte_header,
|
1606 - | range_byte_query,
|
1607 - | range_short_query,
|
1608 - | range_integer_query,
|
1609 - | range_long_query,
|
1610 - | length_string_header,
|
1611 - | length_string_set_header,
|
1612 - | list_length_string_header,
|
1613 - | length_list_pattern_string_header,
|
1614 - | length_set_pattern_string_header,
|
1615 - | range_byte_set_header,
|
1616 - | range_short_set_header,
|
1617 - | range_integer_set_header,
|
1618 - | range_long_set_header,
|
1619 - | range_byte_list_header,
|
1620 - | range_short_list_header,
|
1621 - | range_integer_list_header,
|
1622 - | range_long_list_header,
|
1623 - | length_string_query,
|
1624 - | enum_string_query,
|
1625 - | length_string_list_query,
|
1626 - | length_list_pattern_string_query,
|
1627 - | length_string_set_query,
|
1628 - | range_byte_list_query,
|
1629 - | range_short_list_query,
|
1630 - | range_integer_list_query,
|
1631 - | range_long_list_query,
|
1632 - | range_byte_set_query,
|
1633 - | range_short_set_query,
|
1634 - | range_integer_set_query,
|
1635 - | range_long_set_query,
|
1636 - | enum_string_list_query,
|
1487 + | map_of_length_pattern_string,
|
1637 1488 | }
|
1638 1489 | }
|
1639 1490 | fn __repr__(&self) -> String {
|
1640 1491 | format!("{self:?}")
|
1641 1492 | }
|
1642 1493 | fn __str__(&self) -> String {
|
1643 1494 | format!("{self:?}")
|
1644 1495 | }
|
1645 1496 | }
|
1646 1497 | impl<'source> ::pyo3::FromPyObject<'source>
|
1647 - | for std::boxed::Box<ConstrainedHttpBoundShapesOperationOutput>
|
1498 + | for std::boxed::Box<QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput>
|
1648 1499 | {
|
1649 1500 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1650 - | ob.extract::<ConstrainedHttpBoundShapesOperationOutput>()
|
1501 + | ob.extract::<QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput>()
|
1651 1502 | .map(Box::new)
|
1652 1503 | }
|
1653 1504 | }
|
1654 1505 |
|
1655 1506 | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1656 - | for std::boxed::Box<ConstrainedHttpBoundShapesOperationOutput>
|
1507 + | for std::boxed::Box<QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput>
|
1657 1508 | {
|
1658 1509 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1659 1510 | (*self).into_py(py)
|
1660 1511 | }
|
1661 1512 | }
|
1662 - | impl ConstrainedHttpBoundShapesOperationOutput {
|
1663 - | /// Creates a new builder-style object to manufacture [`ConstrainedHttpBoundShapesOperationOutput`](crate::output::ConstrainedHttpBoundShapesOperationOutput).
|
1664 - | pub fn builder() -> crate::output::constrained_http_bound_shapes_operation_output::Builder {
|
1665 - | crate::output::constrained_http_bound_shapes_operation_output::Builder::default()
|
1513 + | impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput {
|
1514 + | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput).
|
1515 + | pub fn builder() -> crate::output::query_params_targeting_map_of_list_of_length_pattern_string_operation_output::Builder{
|
1516 + | crate::output::query_params_targeting_map_of_list_of_length_pattern_string_operation_output::Builder::default()
|
1666 1517 | }
|
1667 1518 | }
|
1668 1519 |
|
1669 1520 | #[::pyo3::pyclass]
|
1670 - | /// :param list typing.Optional\[typing.List\[constraints_without_public_constrained_types.model.ConstrainedUnionInOutput\]\]:
|
1671 - | /// :param map typing.Optional\[typing.Dict\[str, constraints_without_public_constrained_types.model.TransitivelyConstrainedStructureInOutput\]\]:
|
1672 - | /// :param union typing.Optional\[constraints_without_public_constrained_types.model.ConstrainedUnionInOutput\]:
|
1521 + | /// :param length_map typing.Optional\[typing.Dict\[str, str\]\]:
|
1673 1522 | /// :rtype None:
|
1674 1523 | #[allow(missing_docs)] // documentation missing in model
|
1675 1524 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1676 - | pub struct ConstrainedShapesOnlyInOutputOperationOutput {
|
1677 - | #[pyo3(get, set)]
|
1678 - | /// :type typing.Optional\[typing.List\[constraints_without_public_constrained_types.model.ConstrainedUnionInOutput\]\]:
|
1679 - | #[allow(missing_docs)] // documentation missing in model
|
1680 - | pub list: ::std::option::Option<::std::vec::Vec<crate::model::ConstrainedUnionInOutput>>,
|
1525 + | pub struct HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
1681 1526 | #[pyo3(get, set)]
|
1682 - | /// :type typing.Optional\[typing.Dict\[str, constraints_without_public_constrained_types.model.TransitivelyConstrainedStructureInOutput\]\]:
|
1527 + | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
1683 1528 | #[allow(missing_docs)] // documentation missing in model
|
1684 - | pub map: ::std::option::Option<
|
1685 - | ::std::collections::HashMap<
|
1686 - | ::std::string::String,
|
1687 - | crate::model::TransitivelyConstrainedStructureInOutput,
|
1529 + | pub length_map: ::std::option::Option<
|
1530 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1688 1531 | >,
|
1532 + | }
|
1533 + | impl HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
1534 + | #[allow(missing_docs)] // documentation missing in model
|
1535 + | pub fn length_map(
|
1536 + | &self,
|
1537 + | ) -> ::std::option::Option<
|
1538 + | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1539 + | > {
|
1540 + | self.length_map.as_ref()
|
1541 + | }
|
1542 + | }
|
1543 + | #[allow(clippy::new_without_default)]
|
1544 + | #[allow(clippy::too_many_arguments)]
|
1545 + | #[::pyo3::pymethods]
|
1546 + | impl HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
1547 + | #[new]
|
1548 + | pub fn new(
|
1549 + | length_map: ::std::option::Option<
|
1550 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1689 1551 | >,
|
1552 + | ) -> Self {
|
1553 + | Self { length_map }
|
1554 + | }
|
1555 + | fn __repr__(&self) -> String {
|
1556 + | format!("{self:?}")
|
1557 + | }
|
1558 + | fn __str__(&self) -> String {
|
1559 + | format!("{self:?}")
|
1560 + | }
|
1561 + | }
|
1562 + | impl<'source> ::pyo3::FromPyObject<'source>
|
1563 + | for std::boxed::Box<HttpPrefixHeadersTargetingLengthMapOperationOutput>
|
1564 + | {
|
1565 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1566 + | ob.extract::<HttpPrefixHeadersTargetingLengthMapOperationOutput>()
|
1567 + | .map(Box::new)
|
1568 + | }
|
1569 + | }
|
1570 + |
|
1571 + | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1572 + | for std::boxed::Box<HttpPrefixHeadersTargetingLengthMapOperationOutput>
|
1573 + | {
|
1574 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1575 + | (*self).into_py(py)
|
1576 + | }
|
1577 + | }
|
1578 + | impl HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
1579 + | /// Creates a new builder-style object to manufacture [`HttpPrefixHeadersTargetingLengthMapOperationOutput`](crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput).
|
1580 + | pub fn builder(
|
1581 + | ) -> crate::output::http_prefix_headers_targeting_length_map_operation_output::Builder {
|
1582 + | crate::output::http_prefix_headers_targeting_length_map_operation_output::Builder::default()
|
1583 + | }
|
1584 + | }
|
1585 + |
|
1586 + | #[::pyo3::pyclass]
|
1587 + | /// :param map_of_enum_string typing.Optional\[typing.Dict\[constraints_without_public_constrained_types.model.EnumString, constraints_without_public_constrained_types.model.EnumString\]\]:
|
1588 + | /// :rtype None:
|
1589 + | #[allow(missing_docs)] // documentation missing in model
|
1590 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1591 + | pub struct QueryParamsTargetingMapOfEnumStringOperationOutput {
|
1690 1592 | #[pyo3(get, set)]
|
1691 - | /// :type typing.Optional\[constraints_without_public_constrained_types.model.ConstrainedUnionInOutput\]:
|
1593 + | /// :type typing.Optional\[typing.Dict\[constraints_without_public_constrained_types.model.EnumString, constraints_without_public_constrained_types.model.EnumString\]\]:
|
1692 1594 | #[allow(missing_docs)] // documentation missing in model
|
1693 - | pub union: ::std::option::Option<crate::model::ConstrainedUnionInOutput>,
|
1595 + | pub map_of_enum_string: ::std::option::Option<
|
1596 + | ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
|
1597 + | >,
|
1694 1598 | }
|
1695 - | impl ConstrainedShapesOnlyInOutputOperationOutput {
|
1696 - | #[allow(missing_docs)] // documentation missing in model
|
1697 - | pub fn list(&self) -> ::std::option::Option<&[crate::model::ConstrainedUnionInOutput]> {
|
1698 - | self.list.as_deref()
|
1699 - | }
|
1599 + | impl QueryParamsTargetingMapOfEnumStringOperationOutput {
|
1700 1600 | #[allow(missing_docs)] // documentation missing in model
|
1701 - | pub fn map(
|
1601 + | pub fn map_of_enum_string(
|
1702 1602 | &self,
|
1703 1603 | ) -> ::std::option::Option<
|
1704 - | &::std::collections::HashMap<
|
1705 - | ::std::string::String,
|
1706 - | crate::model::TransitivelyConstrainedStructureInOutput,
|
1707 - | >,
|
1604 + | &::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
|
1708 1605 | > {
|
1709 - | self.map.as_ref()
|
1710 - | }
|
1711 - | #[allow(missing_docs)] // documentation missing in model
|
1712 - | pub fn union(&self) -> ::std::option::Option<&crate::model::ConstrainedUnionInOutput> {
|
1713 - | self.union.as_ref()
|
1606 + | self.map_of_enum_string.as_ref()
|
1714 1607 | }
|
1715 1608 | }
|
1716 1609 | #[allow(clippy::new_without_default)]
|
1717 1610 | #[allow(clippy::too_many_arguments)]
|
1718 1611 | #[::pyo3::pymethods]
|
1719 - | impl ConstrainedShapesOnlyInOutputOperationOutput {
|
1612 + | impl QueryParamsTargetingMapOfEnumStringOperationOutput {
|
1720 1613 | #[new]
|
1721 1614 | pub fn new(
|
1722 - | list: ::std::option::Option<::std::vec::Vec<crate::model::ConstrainedUnionInOutput>>,
|
1723 - | map: ::std::option::Option<
|
1724 - | ::std::collections::HashMap<
|
1725 - | ::std::string::String,
|
1726 - | crate::model::TransitivelyConstrainedStructureInOutput,
|
1727 - | >,
|
1615 + | map_of_enum_string: ::std::option::Option<
|
1616 + | ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
|
1728 1617 | >,
|
1729 - | union: ::std::option::Option<crate::model::ConstrainedUnionInOutput>,
|
1730 1618 | ) -> Self {
|
1731 - | Self { list, map, union }
|
1619 + | Self { map_of_enum_string }
|
1732 1620 | }
|
1733 1621 | fn __repr__(&self) -> String {
|
1734 1622 | format!("{self:?}")
|
1735 1623 | }
|
1736 1624 | fn __str__(&self) -> String {
|
1737 1625 | format!("{self:?}")
|
1738 1626 | }
|
1739 1627 | }
|
1740 1628 | impl<'source> ::pyo3::FromPyObject<'source>
|
1741 - | for std::boxed::Box<ConstrainedShapesOnlyInOutputOperationOutput>
|
1629 + | for std::boxed::Box<QueryParamsTargetingMapOfEnumStringOperationOutput>
|
1742 1630 | {
|
1743 1631 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1744 - | ob.extract::<ConstrainedShapesOnlyInOutputOperationOutput>()
|
1632 + | ob.extract::<QueryParamsTargetingMapOfEnumStringOperationOutput>()
|
1745 1633 | .map(Box::new)
|
1746 1634 | }
|
1747 1635 | }
|
1748 1636 |
|
1749 1637 | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1750 - | for std::boxed::Box<ConstrainedShapesOnlyInOutputOperationOutput>
|
1638 + | for std::boxed::Box<QueryParamsTargetingMapOfEnumStringOperationOutput>
|
1751 1639 | {
|
1752 1640 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1753 1641 | (*self).into_py(py)
|
1754 1642 | }
|
1755 1643 | }
|
1756 - | impl ConstrainedShapesOnlyInOutputOperationOutput {
|
1757 - | /// Creates a new builder-style object to manufacture [`ConstrainedShapesOnlyInOutputOperationOutput`](crate::output::ConstrainedShapesOnlyInOutputOperationOutput).
|
1758 - | pub fn builder() -> crate::output::constrained_shapes_only_in_output_operation_output::Builder {
|
1759 - | crate::output::constrained_shapes_only_in_output_operation_output::Builder::default()
|
1644 + | impl QueryParamsTargetingMapOfEnumStringOperationOutput {
|
1645 + | /// Creates a new builder-style object to manufacture [`QueryParamsTargetingMapOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput).
|
1646 + | pub fn builder(
|
1647 + | ) -> crate::output::query_params_targeting_map_of_enum_string_operation_output::Builder {
|
1648 + | crate::output::query_params_targeting_map_of_enum_string_operation_output::Builder::default(
|
1649 + | )
|
1760 1650 | }
|
1761 1651 | }
|
1762 1652 |
|
1763 1653 | #[::pyo3::pyclass]
|
1764 - | /// :param con_a constraints_without_public_constrained_types.model.ConA:
|
1654 + | /// :param non_streaming_blob typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
|
1765 1655 | /// :rtype None:
|
1766 1656 | #[allow(missing_docs)] // documentation missing in model
|
1767 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1768 - | pub struct ConstrainedShapesOperationOutput {
|
1657 + | #[derive(
|
1658 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1659 + | )]
|
1660 + | pub struct NonStreamingBlobOperationOutput {
|
1769 1661 | #[pyo3(get, set)]
|
1770 - | /// :type constraints_without_public_constrained_types.model.ConA:
|
1662 + | /// :type typing.Optional\[constraints_without_public_constrained_types.types.Blob\]:
|
1771 1663 | #[allow(missing_docs)] // documentation missing in model
|
1772 - | pub con_a: crate::model::ConA,
|
1664 + | pub non_streaming_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1773 1665 | }
|
1774 - | impl ConstrainedShapesOperationOutput {
|
1666 + | impl NonStreamingBlobOperationOutput {
|
1775 1667 | #[allow(missing_docs)] // documentation missing in model
|
1776 - | pub fn con_a(&self) -> &crate::model::ConA {
|
1777 - | &self.con_a
|
1668 + | pub fn non_streaming_blob(
|
1669 + | &self,
|
1670 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
1671 + | self.non_streaming_blob.as_ref()
|
1778 1672 | }
|
1779 1673 | }
|
1780 1674 | #[allow(clippy::new_without_default)]
|
1781 1675 | #[allow(clippy::too_many_arguments)]
|
1782 1676 | #[::pyo3::pymethods]
|
1783 - | impl ConstrainedShapesOperationOutput {
|
1677 + | impl NonStreamingBlobOperationOutput {
|
1784 1678 | #[new]
|
1785 - | pub fn new(con_a: crate::model::ConA) -> Self {
|
1786 - | Self { con_a }
|
1679 + | pub fn new(
|
1680 + | non_streaming_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1681 + | ) -> Self {
|
1682 + | Self { non_streaming_blob }
|
1787 1683 | }
|
1788 1684 | fn __repr__(&self) -> String {
|
1789 1685 | format!("{self:?}")
|
1790 1686 | }
|
1791 1687 | fn __str__(&self) -> String {
|
1792 1688 | format!("{self:?}")
|
1793 1689 | }
|
1794 1690 | }
|
1795 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ConstrainedShapesOperationOutput> {
|
1691 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NonStreamingBlobOperationOutput> {
|
1796 1692 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1797 - | ob.extract::<ConstrainedShapesOperationOutput>()
|
1693 + | ob.extract::<NonStreamingBlobOperationOutput>()
|
1798 1694 | .map(Box::new)
|
1799 1695 | }
|
1800 1696 | }
|
1801 1697 |
|
1802 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ConstrainedShapesOperationOutput> {
|
1698 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NonStreamingBlobOperationOutput> {
|
1803 1699 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1804 1700 | (*self).into_py(py)
|
1805 1701 | }
|
1806 1702 | }
|
1807 - | impl ConstrainedShapesOperationOutput {
|
1808 - | /// Creates a new builder-style object to manufacture [`ConstrainedShapesOperationOutput`](crate::output::ConstrainedShapesOperationOutput).
|
1809 - | pub fn builder() -> crate::output::constrained_shapes_operation_output::Builder {
|
1810 - | crate::output::constrained_shapes_operation_output::Builder::default()
|
1703 + | impl NonStreamingBlobOperationOutput {
|
1704 + | /// Creates a new builder-style object to manufacture [`NonStreamingBlobOperationOutput`](crate::output::NonStreamingBlobOperationOutput).
|
1705 + | pub fn builder() -> crate::output::non_streaming_blob_operation_output::Builder {
|
1706 + | crate::output::non_streaming_blob_operation_output::Builder::default()
|
1811 1707 | }
|
1812 1708 | }
|
1813 - | /// See [`EventStreamsOperationOutput`](crate::output::EventStreamsOperationOutput).
|
1814 - | pub mod event_streams_operation_output {
|
1815 - |
|
1816 - | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1817 - | /// Holds one variant for each of the ways the builder can fail.
|
1818 - | #[allow(clippy::enum_variant_names)]
|
1819 - | pub enum ConstraintViolation {
|
1820 - | /// `events` was not provided but it is required when building `EventStreamsOperationOutput`.
|
1821 - | MissingEvents,
|
1822 - | }
|
1823 - | impl ::std::fmt::Display for ConstraintViolation {
|
1824 - | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
1825 - | match self {
|
1826 - | ConstraintViolation::MissingEvents => write!(f, "`events` was not provided but it is required when building `EventStreamsOperationOutput`"),
|
1827 - | }
|
1828 - | }
|
1829 - | }
|
1830 - | impl ::std::error::Error for ConstraintViolation {}
|
1831 - | impl ::std::convert::TryFrom<Builder> for crate::output::EventStreamsOperationOutput {
|
1832 - | type Error = ConstraintViolation;
|
1833 1709 |
|
1834 - | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
1835 - | builder.build()
|
1836 - | }
|
1837 - | }
|
1838 - | /// A builder for [`EventStreamsOperationOutput`](crate::output::EventStreamsOperationOutput).
|
1839 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1840 - | pub struct Builder {
|
1841 - | pub(crate) events: ::std::option::Option<
|
1842 - | crate::python_event_stream::EventStreamsOperationOutputEventsEventStreamSender,
|
1843 - | >,
|
1844 - | }
|
1845 - | impl Builder {
|
1710 + | #[::pyo3::pyclass]
|
1711 + | /// :param streaming_blob constraints_without_public_constrained_types.types.ByteStream:
|
1712 + | /// :rtype None:
|
1713 + | #[allow(missing_docs)] // documentation missing in model
|
1714 + | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
1715 + | pub struct StreamingBlobOperationOutput {
|
1716 + | #[pyo3(get, set)]
|
1717 + | /// :type constraints_without_public_constrained_types.types.ByteStream:
|
1846 1718 | #[allow(missing_docs)] // documentation missing in model
|
1847 - | pub fn events(
|
1848 - | mut self,
|
1849 - | input: crate::python_event_stream::EventStreamsOperationOutputEventsEventStreamSender,
|
1850 - | ) -> Self {
|
1851 - | self.events = Some(input);
|
1852 - | self
|
1853 - | }
|
1854 - | /// Consumes the builder and constructs a [`EventStreamsOperationOutput`](crate::output::EventStreamsOperationOutput).
|
1855 - | ///
|
1856 - | /// The builder fails to construct a [`EventStreamsOperationOutput`](crate::output::EventStreamsOperationOutput) if you do not provide a value for all non-`Option`al members.
|
1857 - | ///
|
1858 - | pub fn build(
|
1859 - | self,
|
1860 - | ) -> Result<crate::output::EventStreamsOperationOutput, ConstraintViolation> {
|
1861 - | self.build_enforcing_required_and_enum_traits()
|
1862 - | }
|
1863 - | fn build_enforcing_required_and_enum_traits(
|
1864 - | self,
|
1865 - | ) -> Result<crate::output::EventStreamsOperationOutput, ConstraintViolation> {
|
1866 - | Ok(crate::output::EventStreamsOperationOutput {
|
1867 - | events: self.events.ok_or(ConstraintViolation::MissingEvents)?,
|
1868 - | })
|
1869 - | }
|
1870 - | }
|
1719 + | pub streaming_blob: ::aws_smithy_http_server_python::types::ByteStream,
|
1871 1720 | }
|
1872 - | /// See [`StreamingBlobOperationOutput`](crate::output::StreamingBlobOperationOutput).
|
1873 - | pub mod streaming_blob_operation_output {
|
1874 - |
|
1875 - | impl ::std::convert::From<Builder> for crate::output::StreamingBlobOperationOutput {
|
1876 - | fn from(builder: Builder) -> Self {
|
1877 - | builder.build()
|
1878 - | }
|
1879 - | }
|
1880 - | /// A builder for [`StreamingBlobOperationOutput`](crate::output::StreamingBlobOperationOutput).
|
1881 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1882 - | pub struct Builder {
|
1883 - | pub(crate) streaming_blob:
|
1884 - | ::std::option::Option<::aws_smithy_http_server_python::types::ByteStream>,
|
1885 - | }
|
1886 - | impl Builder {
|
1721 + | impl StreamingBlobOperationOutput {
|
1887 1722 | #[allow(missing_docs)] // documentation missing in model
|
1888 - | pub fn streaming_blob(
|
1889 - | mut self,
|
1890 - | input: ::aws_smithy_http_server_python::types::ByteStream,
|
1891 - | ) -> Self {
|
1892 - | self.streaming_blob = Some(input);
|
1893 - | self
|
1723 + | pub fn streaming_blob(&self) -> &::aws_smithy_http_server_python::types::ByteStream {
|
1724 + | &self.streaming_blob
|
1894 1725 | }
|
1895 - | /// Consumes the builder and constructs a [`StreamingBlobOperationOutput`](crate::output::StreamingBlobOperationOutput).
|
1896 - | pub fn build(self) -> crate::output::StreamingBlobOperationOutput {
|
1897 - | self.build_enforcing_required_and_enum_traits()
|
1726 + | }
|
1727 + | #[allow(clippy::new_without_default)]
|
1728 + | #[allow(clippy::too_many_arguments)]
|
1729 + | #[::pyo3::pymethods]
|
1730 + | impl StreamingBlobOperationOutput {
|
1731 + | #[new]
|
1732 + | pub fn new(streaming_blob: ::aws_smithy_http_server_python::types::ByteStream) -> Self {
|
1733 + | Self { streaming_blob }
|
1898 1734 | }
|
1899 - | fn build_enforcing_required_and_enum_traits(
|
1900 - | self,
|
1901 - | ) -> crate::output::StreamingBlobOperationOutput {
|
1902 - | crate::output::StreamingBlobOperationOutput {
|
1903 - | streaming_blob: self.streaming_blob.unwrap_or_default(),
|
1735 + | fn __repr__(&self) -> String {
|
1736 + | format!("{self:?}")
|
1904 1737 | }
|
1738 + | fn __str__(&self) -> String {
|
1739 + | format!("{self:?}")
|
1905 1740 | }
|
1741 + | }
|
1742 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<StreamingBlobOperationOutput> {
|
1743 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1744 + | ob.extract::<StreamingBlobOperationOutput>().map(Box::new)
|
1906 1745 | }
|
1907 1746 | }
|
1908 - | /// See [`NonStreamingBlobOperationOutput`](crate::output::NonStreamingBlobOperationOutput).
|
1909 - | pub mod non_streaming_blob_operation_output {
|
1910 1747 |
|
1911 - | impl ::std::convert::From<Builder> for crate::output::NonStreamingBlobOperationOutput {
|
1912 - | fn from(builder: Builder) -> Self {
|
1913 - | builder.build()
|
1914 - | }
|
1915 - | }
|
1916 - | /// A builder for [`NonStreamingBlobOperationOutput`](crate::output::NonStreamingBlobOperationOutput).
|
1917 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1918 - | pub struct Builder {
|
1919 - | pub(crate) non_streaming_blob:
|
1920 - | ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1921 - | }
|
1922 - | impl Builder {
|
1923 - | #[allow(missing_docs)] // documentation missing in model
|
1924 - | pub fn non_streaming_blob(
|
1925 - | mut self,
|
1926 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1927 - | ) -> Self {
|
1928 - | self.non_streaming_blob = input;
|
1929 - | self
|
1930 - | }
|
1931 - | /// Consumes the builder and constructs a [`NonStreamingBlobOperationOutput`](crate::output::NonStreamingBlobOperationOutput).
|
1932 - | pub fn build(self) -> crate::output::NonStreamingBlobOperationOutput {
|
1933 - | self.build_enforcing_required_and_enum_traits()
|
1934 - | }
|
1935 - | fn build_enforcing_required_and_enum_traits(
|
1936 - | self,
|
1937 - | ) -> crate::output::NonStreamingBlobOperationOutput {
|
1938 - | crate::output::NonStreamingBlobOperationOutput {
|
1939 - | non_streaming_blob: self.non_streaming_blob,
|
1940 - | }
|
1748 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StreamingBlobOperationOutput> {
|
1749 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1750 + | (*self).into_py(py)
|
1941 1751 | }
|
1752 + | }
|
1753 + | impl StreamingBlobOperationOutput {
|
1754 + | /// Creates a new builder-style object to manufacture [`StreamingBlobOperationOutput`](crate::output::StreamingBlobOperationOutput).
|
1755 + | pub fn builder() -> crate::output::streaming_blob_operation_output::Builder {
|
1756 + | crate::output::streaming_blob_operation_output::Builder::default()
|
1942 1757 | }
|
1943 1758 | }
|
1944 - | /// See [`QueryParamsTargetingMapOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput).
|
1945 - | pub mod query_params_targeting_map_of_enum_string_operation_output {
|
1946 1759 |
|
1947 - | impl ::std::convert::From<Builder>
|
1948 - | for crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput
|
1949 - | {
|
1950 - | fn from(builder: Builder) -> Self {
|
1951 - | builder.build()
|
1952 - | }
|
1953 - | }
|
1954 - | /// A builder for [`QueryParamsTargetingMapOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput).
|
1955 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1956 - | pub struct Builder {
|
1957 - | pub(crate) map_of_enum_string: ::std::option::Option<
|
1958 - | ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
|
1959 - | >,
|
1960 - | }
|
1961 - | impl Builder {
|
1760 + | #[::pyo3::pyclass]
|
1761 + | /// :param events typing.AsyncIterator\[constraints_without_public_constrained_types.model.Event\]:
|
1762 + | /// :rtype None:
|
1763 + | #[allow(missing_docs)] // documentation missing in model
|
1764 + | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
1765 + | pub struct EventStreamsOperationOutput {
|
1766 + | #[pyo3(get, set)]
|
1767 + | /// :type typing.AsyncIterator\[constraints_without_public_constrained_types.model.Event\]:
|
1962 1768 | #[allow(missing_docs)] // documentation missing in model
|
1963 - | pub fn map_of_enum_string(
|
1964 - | mut self,
|
1965 - | input: ::std::option::Option<
|
1966 - | ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
|
1967 - | >,
|
1769 + | pub events: crate::python_event_stream::EventStreamsOperationOutputEventsEventStreamSender,
|
1770 + | }
|
1771 + | impl EventStreamsOperationOutput {
|
1772 + | #[allow(missing_docs)] // documentation missing in model
|
1773 + | pub fn events(
|
1774 + | &self,
|
1775 + | ) -> &crate::python_event_stream::EventStreamsOperationOutputEventsEventStreamSender {
|
1776 + | &self.events
|
1777 + | }
|
1778 + | }
|
1779 + | #[allow(clippy::new_without_default)]
|
1780 + | #[allow(clippy::too_many_arguments)]
|
1781 + | #[::pyo3::pymethods]
|
1782 + | impl EventStreamsOperationOutput {
|
1783 + | #[new]
|
1784 + | pub fn new(
|
1785 + | events: crate::python_event_stream::EventStreamsOperationOutputEventsEventStreamSender,
|
1968 1786 | ) -> Self {
|
1969 - | self.map_of_enum_string = input;
|
1970 - | self
|
1787 + | Self { events }
|
1971 1788 | }
|
1972 - | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput).
|
1973 - | pub fn build(self) -> crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput {
|
1974 - | self.build_enforcing_required_and_enum_traits()
|
1789 + | fn __repr__(&self) -> String {
|
1790 + | format!("{self:?}")
|
1975 1791 | }
|
1976 - | fn build_enforcing_required_and_enum_traits(
|
1977 - | self,
|
1978 - | ) -> crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput {
|
1979 - | crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput {
|
1980 - | map_of_enum_string: self.map_of_enum_string,
|
1792 + | fn __str__(&self) -> String {
|
1793 + | format!("{self:?}")
|
1981 1794 | }
|
1795 + | }
|
1796 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EventStreamsOperationOutput> {
|
1797 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1798 + | ob.extract::<EventStreamsOperationOutput>().map(Box::new)
|
1982 1799 | }
|
1800 + | }
|
1801 + |
|
1802 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EventStreamsOperationOutput> {
|
1803 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1804 + | (*self).into_py(py)
|
1983 1805 | }
|
1984 1806 | }
|
1985 - | /// See [`HttpPrefixHeadersTargetingLengthMapOperationOutput`](crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput).
|
1986 - | pub mod http_prefix_headers_targeting_length_map_operation_output {
|
1807 + | impl EventStreamsOperationOutput {
|
1808 + | /// Creates a new builder-style object to manufacture [`EventStreamsOperationOutput`](crate::output::EventStreamsOperationOutput).
|
1809 + | pub fn builder() -> crate::output::event_streams_operation_output::Builder {
|
1810 + | crate::output::event_streams_operation_output::Builder::default()
|
1811 + | }
|
1812 + | }
|
1813 + | /// See [`ConstrainedShapesOperationOutput`](crate::output::ConstrainedShapesOperationOutput).
|
1814 + | pub mod constrained_shapes_operation_output {
|
1987 1815 |
|
1988 - | impl ::std::convert::From<Builder>
|
1989 - | for crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput
|
1990 - | {
|
1991 - | fn from(builder: Builder) -> Self {
|
1816 + | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1817 + | /// Holds one variant for each of the ways the builder can fail.
|
1818 + | #[allow(clippy::enum_variant_names)]
|
1819 + | pub enum ConstraintViolation {
|
1820 + | /// `con_a` was not provided but it is required when building `ConstrainedShapesOperationOutput`.
|
1821 + | MissingConA,
|
1822 + | }
|
1823 + | impl ::std::fmt::Display for ConstraintViolation {
|
1824 + | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
1825 + | match self {
|
1826 + | ConstraintViolation::MissingConA => write!(f, "`con_a` was not provided but it is required when building `ConstrainedShapesOperationOutput`"),
|
1827 + | }
|
1828 + | }
|
1829 + | }
|
1830 + | impl ::std::error::Error for ConstraintViolation {}
|
1831 + | impl ::std::convert::TryFrom<Builder> for crate::output::ConstrainedShapesOperationOutput {
|
1832 + | type Error = ConstraintViolation;
|
1833 + |
|
1834 + | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
1992 1835 | builder.build()
|
1993 1836 | }
|
1994 1837 | }
|
1995 - | /// A builder for [`HttpPrefixHeadersTargetingLengthMapOperationOutput`](crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput).
|
1838 + | /// A builder for [`ConstrainedShapesOperationOutput`](crate::output::ConstrainedShapesOperationOutput).
|
1996 1839 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1997 1840 | pub struct Builder {
|
1998 - | pub(crate) length_map: ::std::option::Option<
|
1999 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2000 - | >,
|
1841 + | pub(crate) con_a: ::std::option::Option<crate::model::ConA>,
|
2001 1842 | }
|
2002 1843 | impl Builder {
|
2003 1844 | #[allow(missing_docs)] // documentation missing in model
|
2004 - | pub fn length_map(
|
2005 - | mut self,
|
2006 - | input: ::std::option::Option<
|
2007 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2008 - | >,
|
2009 - | ) -> Self {
|
2010 - | self.length_map = input;
|
1845 + | pub fn con_a(mut self, input: crate::model::ConA) -> Self {
|
1846 + | self.con_a = Some(input);
|
2011 1847 | self
|
2012 1848 | }
|
2013 - | /// Consumes the builder and constructs a [`HttpPrefixHeadersTargetingLengthMapOperationOutput`](crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput).
|
2014 - | pub fn build(self) -> crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
1849 + | /// Consumes the builder and constructs a [`ConstrainedShapesOperationOutput`](crate::output::ConstrainedShapesOperationOutput).
|
1850 + | ///
|
1851 + | /// The builder fails to construct a [`ConstrainedShapesOperationOutput`](crate::output::ConstrainedShapesOperationOutput) if you do not provide a value for all non-`Option`al members.
|
1852 + | ///
|
1853 + | pub fn build(
|
1854 + | self,
|
1855 + | ) -> Result<crate::output::ConstrainedShapesOperationOutput, ConstraintViolation> {
|
2015 1856 | self.build_enforcing_required_and_enum_traits()
|
2016 1857 | }
|
2017 1858 | fn build_enforcing_required_and_enum_traits(
|
2018 1859 | self,
|
2019 - | ) -> crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
2020 - | crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
2021 - | length_map: self.length_map,
|
2022 - | }
|
1860 + | ) -> Result<crate::output::ConstrainedShapesOperationOutput, ConstraintViolation> {
|
1861 + | Ok(crate::output::ConstrainedShapesOperationOutput {
|
1862 + | con_a: self.con_a.ok_or(ConstraintViolation::MissingConA)?,
|
1863 + | })
|
2023 1864 | }
|
2024 1865 | }
|
2025 1866 | }
|
2026 - | /// See [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput).
|
2027 - | pub mod query_params_targeting_map_of_list_of_length_pattern_string_operation_output {
|
1867 + | /// See [`ConstrainedShapesOnlyInOutputOperationOutput`](crate::output::ConstrainedShapesOnlyInOutputOperationOutput).
|
1868 + | pub mod constrained_shapes_only_in_output_operation_output {
|
2028 1869 |
|
2029 - | impl ::std::convert::From<Builder>
|
2030 - | for crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput
|
2031 - | {
|
1870 + | impl ::std::convert::From<Builder> for crate::output::ConstrainedShapesOnlyInOutputOperationOutput {
|
2032 1871 | fn from(builder: Builder) -> Self {
|
2033 1872 | builder.build()
|
2034 1873 | }
|
2035 1874 | }
|
2036 - | /// A builder for [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput).
|
1875 + | /// A builder for [`ConstrainedShapesOnlyInOutputOperationOutput`](crate::output::ConstrainedShapesOnlyInOutputOperationOutput).
|
2037 1876 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2038 1877 | pub struct Builder {
|
2039 - | pub(crate) map_of_length_pattern_string: ::std::option::Option<
|
1878 + | pub(crate) list:
|
1879 + | ::std::option::Option<::std::vec::Vec<crate::model::ConstrainedUnionInOutput>>,
|
1880 + | pub(crate) map: ::std::option::Option<
|
2040 1881 | ::std::collections::HashMap<
|
2041 1882 | ::std::string::String,
|
2042 - | ::std::vec::Vec<::std::string::String>,
|
1883 + | crate::model::TransitivelyConstrainedStructureInOutput,
|
2043 1884 | >,
|
2044 1885 | >,
|
1886 + | pub(crate) union: ::std::option::Option<crate::model::ConstrainedUnionInOutput>,
|
2045 1887 | }
|
2046 1888 | impl Builder {
|
2047 1889 | #[allow(missing_docs)] // documentation missing in model
|
2048 - | pub fn map_of_length_pattern_string(
|
1890 + | pub fn list(
|
1891 + | mut self,
|
1892 + | input: ::std::option::Option<::std::vec::Vec<crate::model::ConstrainedUnionInOutput>>,
|
1893 + | ) -> Self {
|
1894 + | self.list = input;
|
1895 + | self
|
1896 + | }
|
1897 + | #[allow(missing_docs)] // documentation missing in model
|
1898 + | pub fn map(
|
2049 1899 | mut self,
|
2050 1900 | input: ::std::option::Option<
|
2051 1901 | ::std::collections::HashMap<
|
2052 1902 | ::std::string::String,
|
2053 - | ::std::vec::Vec<::std::string::String>,
|
1903 + | crate::model::TransitivelyConstrainedStructureInOutput,
|
2054 1904 | >,
|
2055 1905 | >,
|
2056 1906 | ) -> Self {
|
2057 - | self.map_of_length_pattern_string = input;
|
1907 + | self.map = input;
|
2058 1908 | self
|
2059 1909 | }
|
2060 - | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput).
|
2061 - | pub fn build(
|
2062 - | self,
|
2063 - | ) -> crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput
|
2064 - | {
|
2065 - | self.build_enforcing_required_and_enum_traits()
|
2066 - | }
|
2067 - | fn build_enforcing_required_and_enum_traits(
|
2068 - | self,
|
2069 - | ) -> crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput
|
2070 - | {
|
2071 - | crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput {
|
2072 - | map_of_length_pattern_string: self.map_of_length_pattern_string,
|
2073 - | }
|
2074 - | }
|
2075 - | }
|
2076 - | }
|
2077 - | /// See [`QueryParamsTargetingMapOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput).
|
2078 - | pub mod query_params_targeting_map_of_length_pattern_string_operation_output {
|
2079 - |
|
2080 - | impl ::std::convert::From<Builder>
|
2081 - | for crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput
|
2082 - | {
|
2083 - | fn from(builder: Builder) -> Self {
|
2084 - | builder.build()
|
2085 - | }
|
2086 - | }
|
2087 - | /// A builder for [`QueryParamsTargetingMapOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput).
|
2088 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2089 - | pub struct Builder {
|
2090 - | pub(crate) map_of_length_pattern_string: ::std::option::Option<
|
2091 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2092 - | >,
|
2093 - | }
|
2094 - | impl Builder {
|
2095 1910 | #[allow(missing_docs)] // documentation missing in model
|
2096 - | pub fn map_of_length_pattern_string(
|
1911 + | pub fn union(
|
2097 1912 | mut self,
|
2098 - | input: ::std::option::Option<
|
2099 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2100 - | >,
|
1913 + | input: ::std::option::Option<crate::model::ConstrainedUnionInOutput>,
|
2101 1914 | ) -> Self {
|
2102 - | self.map_of_length_pattern_string = input;
|
1915 + | self.union = input;
|
2103 1916 | self
|
2104 1917 | }
|
2105 - | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput).
|
2106 - | pub fn build(
|
2107 - | self,
|
2108 - | ) -> crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
1918 + | /// Consumes the builder and constructs a [`ConstrainedShapesOnlyInOutputOperationOutput`](crate::output::ConstrainedShapesOnlyInOutputOperationOutput).
|
1919 + | pub fn build(self) -> crate::output::ConstrainedShapesOnlyInOutputOperationOutput {
|
2109 1920 | self.build_enforcing_required_and_enum_traits()
|
2110 1921 | }
|
2111 1922 | fn build_enforcing_required_and_enum_traits(
|
2112 1923 | self,
|
2113 - | ) -> crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
2114 - | crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
2115 - | map_of_length_pattern_string: self.map_of_length_pattern_string,
|
1924 + | ) -> crate::output::ConstrainedShapesOnlyInOutputOperationOutput {
|
1925 + | crate::output::ConstrainedShapesOnlyInOutputOperationOutput {
|
1926 + | list: self.list,
|
1927 + | map: self.map,
|
1928 + | union: self.union,
|
2116 1929 | }
|
2117 1930 | }
|
2118 1931 | }
|
2119 1932 | }
|
2120 - | /// See [`QueryParamsTargetingMapOfListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput).
|
2121 - | pub mod query_params_targeting_map_of_list_of_pattern_string_operation_output {
|
1933 + | /// See [`ConstrainedHttpBoundShapesOperationOutput`](crate::output::ConstrainedHttpBoundShapesOperationOutput).
|
1934 + | pub mod constrained_http_bound_shapes_operation_output {
|
2122 1935 |
|
2123 - | impl ::std::convert::From<Builder>
|
2124 - | for crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput
|
2125 - | {
|
2126 - | fn from(builder: Builder) -> Self {
|
1936 + | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1937 + | /// Holds one variant for each of the ways the builder can fail.
|
1938 + | #[allow(clippy::enum_variant_names)]
|
1939 + | pub enum ConstraintViolation {
|
1940 + | /// `length_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationOutput`.
|
1941 + | MissingLengthStringLabel,
|
1942 + | /// `enum_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationOutput`.
|
1943 + | MissingEnumStringLabel,
|
1944 + | /// `length_string_header_map` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationOutput`.
|
1945 + | MissingLengthStringHeaderMap,
|
1946 + | }
|
1947 + | impl ::std::fmt::Display for ConstraintViolation {
|
1948 + | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
1949 + | match self {
|
1950 + | ConstraintViolation::MissingLengthStringLabel => write!(f, "`length_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationOutput`"),
|
1951 + | ConstraintViolation::MissingEnumStringLabel => write!(f, "`enum_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationOutput`"),
|
1952 + | ConstraintViolation::MissingLengthStringHeaderMap => write!(f, "`length_string_header_map` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationOutput`"),
|
1953 + | }
|
1954 + | }
|
1955 + | }
|
1956 + | impl ::std::error::Error for ConstraintViolation {}
|
1957 + | impl ::std::convert::TryFrom<Builder> for crate::output::ConstrainedHttpBoundShapesOperationOutput {
|
1958 + | type Error = ConstraintViolation;
|
1959 + |
|
1960 + | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
2127 1961 | builder.build()
|
2128 1962 | }
|
2129 1963 | }
|
2130 - | /// A builder for [`QueryParamsTargetingMapOfListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput).
|
1964 + | /// A builder for [`ConstrainedHttpBoundShapesOperationOutput`](crate::output::ConstrainedHttpBoundShapesOperationOutput).
|
2131 1965 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2132 1966 | pub struct Builder {
|
2133 - | pub(crate) map_of_list_of_pattern_string: ::std::option::Option<
|
2134 - | ::std::collections::HashMap<
|
2135 - | ::std::string::String,
|
2136 - | ::std::vec::Vec<::std::string::String>,
|
2137 - | >,
|
1967 + | pub(crate) length_string_label: ::std::option::Option<::std::string::String>,
|
1968 + | pub(crate) range_integer_label: ::std::option::Option<i32>,
|
1969 + | pub(crate) range_short_label: ::std::option::Option<i16>,
|
1970 + | pub(crate) range_long_label: ::std::option::Option<i64>,
|
1971 + | pub(crate) range_byte_label: ::std::option::Option<i8>,
|
1972 + | pub(crate) enum_string_label: ::std::option::Option<crate::model::EnumString>,
|
1973 + | pub(crate) length_string_header_map: ::std::option::Option<
|
1974 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2138 1975 | >,
|
1976 + | pub(crate) length_string_header: ::std::option::Option<::std::string::String>,
|
1977 + | pub(crate) range_integer_header: ::std::option::Option<i32>,
|
1978 + | pub(crate) range_short_header: ::std::option::Option<i16>,
|
1979 + | pub(crate) range_long_header: ::std::option::Option<i64>,
|
1980 + | pub(crate) range_byte_header: ::std::option::Option<i8>,
|
1981 + | pub(crate) length_string_set_header:
|
1982 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1983 + | pub(crate) list_length_string_header:
|
1984 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1985 + | pub(crate) length_list_pattern_string_header:
|
1986 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1987 + | pub(crate) length_set_pattern_string_header:
|
1988 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1989 + | pub(crate) range_byte_set_header: ::std::option::Option<::std::vec::Vec<i8>>,
|
1990 + | pub(crate) range_short_set_header: ::std::option::Option<::std::vec::Vec<i16>>,
|
1991 + | pub(crate) range_integer_set_header: ::std::option::Option<::std::vec::Vec<i32>>,
|
1992 + | pub(crate) range_long_set_header: ::std::option::Option<::std::vec::Vec<i64>>,
|
1993 + | pub(crate) range_byte_list_header: ::std::option::Option<::std::vec::Vec<i8>>,
|
1994 + | pub(crate) range_short_list_header: ::std::option::Option<::std::vec::Vec<i16>>,
|
1995 + | pub(crate) range_integer_list_header: ::std::option::Option<::std::vec::Vec<i32>>,
|
1996 + | pub(crate) range_long_list_header: ::std::option::Option<::std::vec::Vec<i64>>,
|
1997 + | pub(crate) length_string_query: ::std::option::Option<::std::string::String>,
|
1998 + | pub(crate) range_byte_query: ::std::option::Option<i8>,
|
1999 + | pub(crate) range_short_query: ::std::option::Option<i16>,
|
2000 + | pub(crate) range_integer_query: ::std::option::Option<i32>,
|
2001 + | pub(crate) range_long_query: ::std::option::Option<i64>,
|
2002 + | pub(crate) enum_string_query: ::std::option::Option<crate::model::EnumString>,
|
2003 + | pub(crate) length_string_list_query:
|
2004 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2005 + | pub(crate) length_list_pattern_string_query:
|
2006 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2007 + | pub(crate) length_string_set_query:
|
2008 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2009 + | pub(crate) range_byte_list_query: ::std::option::Option<::std::vec::Vec<i8>>,
|
2010 + | pub(crate) range_short_list_query: ::std::option::Option<::std::vec::Vec<i16>>,
|
2011 + | pub(crate) range_integer_list_query: ::std::option::Option<::std::vec::Vec<i32>>,
|
2012 + | pub(crate) range_long_list_query: ::std::option::Option<::std::vec::Vec<i64>>,
|
2013 + | pub(crate) range_byte_set_query: ::std::option::Option<::std::vec::Vec<i8>>,
|
2014 + | pub(crate) range_short_set_query: ::std::option::Option<::std::vec::Vec<i16>>,
|
2015 + | pub(crate) range_integer_set_query: ::std::option::Option<::std::vec::Vec<i32>>,
|
2016 + | pub(crate) range_long_set_query: ::std::option::Option<::std::vec::Vec<i64>>,
|
2017 + | pub(crate) enum_string_list_query:
|
2018 + | ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
|
2139 2019 | }
|
2140 2020 | impl Builder {
|
2141 2021 | #[allow(missing_docs)] // documentation missing in model
|
2142 - | pub fn map_of_list_of_pattern_string(
|
2143 - | mut self,
|
2144 - | input: ::std::option::Option<
|
2145 - | ::std::collections::HashMap<
|
2146 - | ::std::string::String,
|
2147 - | ::std::vec::Vec<::std::string::String>,
|
2148 - | >,
|
2149 - | >,
|
2150 - | ) -> Self {
|
2151 - | self.map_of_list_of_pattern_string = input;
|
2022 + | pub fn length_string_label(mut self, input: ::std::string::String) -> Self {
|
2023 + | self.length_string_label = Some(input);
|
2152 2024 | self
|
2153 2025 | }
|
2154 - | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput).
|
2155 - | pub fn build(
|
2156 - | self,
|
2157 - | ) -> crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
2158 - | self.build_enforcing_required_and_enum_traits()
|
2159 - | }
|
2160 - | fn build_enforcing_required_and_enum_traits(
|
2161 - | self,
|
2162 - | ) -> crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
2163 - | crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
2164 - | map_of_list_of_pattern_string: self.map_of_list_of_pattern_string,
|
2026 + | #[allow(missing_docs)] // documentation missing in model
|
2027 + | pub fn range_integer_label(mut self, input: i32) -> Self {
|
2028 + | self.range_integer_label = Some(input);
|
2029 + | self
|
2165 2030 | }
|
2031 + | #[allow(missing_docs)] // documentation missing in model
|
2032 + | pub fn range_short_label(mut self, input: i16) -> Self {
|
2033 + | self.range_short_label = Some(input);
|
2034 + | self
|
2166 2035 | }
|
2036 + | #[allow(missing_docs)] // documentation missing in model
|
2037 + | pub fn range_long_label(mut self, input: i64) -> Self {
|
2038 + | self.range_long_label = Some(input);
|
2039 + | self
|
2167 2040 | }
|
2168 - | }
|
2169 - | /// See [`QueryParamsTargetingMapOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput).
|
2170 - | pub mod query_params_targeting_map_of_pattern_string_operation_output {
|
2171 - |
|
2172 - | impl ::std::convert::From<Builder>
|
2173 - | for crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput
|
2174 - | {
|
2175 - | fn from(builder: Builder) -> Self {
|
2176 - | builder.build()
|
2041 + | #[allow(missing_docs)] // documentation missing in model
|
2042 + | pub fn range_byte_label(mut self, input: i8) -> Self {
|
2043 + | self.range_byte_label = Some(input);
|
2044 + | self
|
2177 2045 | }
|
2046 + | #[allow(missing_docs)] // documentation missing in model
|
2047 + | pub fn enum_string_label(mut self, input: crate::model::EnumString) -> Self {
|
2048 + | self.enum_string_label = Some(input);
|
2049 + | self
|
2178 2050 | }
|
2179 - | /// A builder for [`QueryParamsTargetingMapOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput).
|
2180 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2181 - | pub struct Builder {
|
2182 - | pub(crate) map_of_pattern_string: ::std::option::Option<
|
2183 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2184 - | >,
|
2051 + | #[allow(missing_docs)] // documentation missing in model
|
2052 + | pub fn length_string_header_map(
|
2053 + | mut self,
|
2054 + | input: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2055 + | ) -> Self {
|
2056 + | self.length_string_header_map = Some(input);
|
2057 + | self
|
2185 2058 | }
|
2186 - | impl Builder {
|
2187 2059 | #[allow(missing_docs)] // documentation missing in model
|
2188 - | pub fn map_of_pattern_string(
|
2060 + | pub fn length_string_header(
|
2189 2061 | mut self,
|
2190 - | input: ::std::option::Option<
|
2191 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2192 - | >,
|
2062 + | input: ::std::option::Option<::std::string::String>,
|
2193 2063 | ) -> Self {
|
2194 - | self.map_of_pattern_string = input;
|
2064 + | self.length_string_header = input;
|
2195 2065 | self
|
2196 2066 | }
|
2197 - | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput).
|
2198 - | pub fn build(self) -> crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput {
|
2199 - | self.build_enforcing_required_and_enum_traits()
|
2067 + | #[allow(missing_docs)] // documentation missing in model
|
2068 + | pub fn range_integer_header(mut self, input: i32) -> Self {
|
2069 + | self.range_integer_header = Some(input);
|
2070 + | self
|
2200 2071 | }
|
2201 - | fn build_enforcing_required_and_enum_traits(
|
2202 - | self,
|
2203 - | ) -> crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput {
|
2204 - | crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput {
|
2205 - | map_of_pattern_string: self.map_of_pattern_string,
|
2072 + | #[allow(missing_docs)] // documentation missing in model
|
2073 + | pub fn range_short_header(mut self, input: i16) -> Self {
|
2074 + | self.range_short_header = Some(input);
|
2075 + | self
|
2206 2076 | }
|
2077 + | #[allow(missing_docs)] // documentation missing in model
|
2078 + | pub fn range_long_header(mut self, input: i64) -> Self {
|
2079 + | self.range_long_header = Some(input);
|
2080 + | self
|
2207 2081 | }
|
2082 + | #[allow(missing_docs)] // documentation missing in model
|
2083 + | pub fn range_byte_header(mut self, input: i8) -> Self {
|
2084 + | self.range_byte_header = Some(input);
|
2085 + | self
|
2208 2086 | }
|
2209 - | }
|
2210 - | /// See [`QueryParamsTargetingMapOfListOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput).
|
2211 - | pub mod query_params_targeting_map_of_list_of_enum_string_operation_output {
|
2212 - |
|
2213 - | impl ::std::convert::From<Builder>
|
2214 - | for crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput
|
2215 - | {
|
2216 - | fn from(builder: Builder) -> Self {
|
2217 - | builder.build()
|
2087 + | #[allow(missing_docs)] // documentation missing in model
|
2088 + | pub fn length_string_set_header(
|
2089 + | mut self,
|
2090 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2091 + | ) -> Self {
|
2092 + | self.length_string_set_header = input;
|
2093 + | self
|
2218 2094 | }
|
2095 + | #[allow(missing_docs)] // documentation missing in model
|
2096 + | pub fn list_length_string_header(
|
2097 + | mut self,
|
2098 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2099 + | ) -> Self {
|
2100 + | self.list_length_string_header = input;
|
2101 + | self
|
2219 2102 | }
|
2220 - | /// A builder for [`QueryParamsTargetingMapOfListOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput).
|
2221 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2222 - | pub struct Builder {
|
2223 - | pub(crate) map_of_list_of_enum_string: ::std::option::Option<
|
2224 - | ::std::collections::HashMap<
|
2225 - | crate::model::EnumString,
|
2226 - | ::std::vec::Vec<crate::model::EnumString>,
|
2227 - | >,
|
2228 - | >,
|
2103 + | #[allow(missing_docs)] // documentation missing in model
|
2104 + | pub fn length_list_pattern_string_header(
|
2105 + | mut self,
|
2106 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2107 + | ) -> Self {
|
2108 + | self.length_list_pattern_string_header = input;
|
2109 + | self
|
2229 2110 | }
|
2230 - | impl Builder {
|
2231 2111 | #[allow(missing_docs)] // documentation missing in model
|
2232 - | pub fn map_of_list_of_enum_string(
|
2112 + | pub fn length_set_pattern_string_header(
|
2233 2113 | mut self,
|
2234 - | input: ::std::option::Option<
|
2235 - | ::std::collections::HashMap<
|
2236 - | crate::model::EnumString,
|
2237 - | ::std::vec::Vec<crate::model::EnumString>,
|
2238 - | >,
|
2239 - | >,
|
2114 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2240 2115 | ) -> Self {
|
2241 - | self.map_of_list_of_enum_string = input;
|
2116 + | self.length_set_pattern_string_header = input;
|
2242 2117 | self
|
2243 2118 | }
|
2244 - | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput).
|
2245 - | pub fn build(
|
2246 - | self,
|
2247 - | ) -> crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
2248 - | self.build_enforcing_required_and_enum_traits()
|
2119 + | #[allow(missing_docs)] // documentation missing in model
|
2120 + | pub fn range_byte_set_header(
|
2121 + | mut self,
|
2122 + | input: ::std::option::Option<::std::vec::Vec<i8>>,
|
2123 + | ) -> Self {
|
2124 + | self.range_byte_set_header = input;
|
2125 + | self
|
2249 2126 | }
|
2250 - | fn build_enforcing_required_and_enum_traits(
|
2251 - | self,
|
2252 - | ) -> crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
2253 - | crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
2254 - | map_of_list_of_enum_string: self.map_of_list_of_enum_string,
|
2127 + | #[allow(missing_docs)] // documentation missing in model
|
2128 + | pub fn range_short_set_header(
|
2129 + | mut self,
|
2130 + | input: ::std::option::Option<::std::vec::Vec<i16>>,
|
2131 + | ) -> Self {
|
2132 + | self.range_short_set_header = input;
|
2133 + | self
|
2255 2134 | }
|
2135 + | #[allow(missing_docs)] // documentation missing in model
|
2136 + | pub fn range_integer_set_header(
|
2137 + | mut self,
|
2138 + | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
2139 + | ) -> Self {
|
2140 + | self.range_integer_set_header = input;
|
2141 + | self
|
2256 2142 | }
|
2143 + | #[allow(missing_docs)] // documentation missing in model
|
2144 + | pub fn range_long_set_header(
|
2145 + | mut self,
|
2146 + | input: ::std::option::Option<::std::vec::Vec<i64>>,
|
2147 + | ) -> Self {
|
2148 + | self.range_long_set_header = input;
|
2149 + | self
|
2257 2150 | }
|
2258 - | }
|
2259 - | /// See [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput).
|
2260 - | pub mod query_params_targeting_map_of_length_list_of_pattern_string_operation_output {
|
2261 - |
|
2262 - | impl ::std::convert::From<Builder>
|
2263 - | for crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput
|
2264 - | {
|
2265 - | fn from(builder: Builder) -> Self {
|
2266 - | builder.build()
|
2151 + | #[allow(missing_docs)] // documentation missing in model
|
2152 + | pub fn range_byte_list_header(
|
2153 + | mut self,
|
2154 + | input: ::std::option::Option<::std::vec::Vec<i8>>,
|
2155 + | ) -> Self {
|
2156 + | self.range_byte_list_header = input;
|
2157 + | self
|
2267 2158 | }
|
2159 + | #[allow(missing_docs)] // documentation missing in model
|
2160 + | pub fn range_short_list_header(
|
2161 + | mut self,
|
2162 + | input: ::std::option::Option<::std::vec::Vec<i16>>,
|
2163 + | ) -> Self {
|
2164 + | self.range_short_list_header = input;
|
2165 + | self
|
2268 2166 | }
|
2269 - | /// A builder for [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput).
|
2270 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2271 - | pub struct Builder {
|
2272 - | pub(crate) map_of_length_list_of_pattern_string: ::std::option::Option<
|
2273 - | ::std::collections::HashMap<
|
2274 - | ::std::string::String,
|
2275 - | ::std::vec::Vec<::std::string::String>,
|
2276 - | >,
|
2277 - | >,
|
2167 + | #[allow(missing_docs)] // documentation missing in model
|
2168 + | pub fn range_integer_list_header(
|
2169 + | mut self,
|
2170 + | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
2171 + | ) -> Self {
|
2172 + | self.range_integer_list_header = input;
|
2173 + | self
|
2278 2174 | }
|
2279 - | impl Builder {
|
2280 2175 | #[allow(missing_docs)] // documentation missing in model
|
2281 - | pub fn map_of_length_list_of_pattern_string(
|
2176 + | pub fn range_long_list_header(
|
2282 2177 | mut self,
|
2283 - | input: ::std::option::Option<
|
2284 - | ::std::collections::HashMap<
|
2285 - | ::std::string::String,
|
2286 - | ::std::vec::Vec<::std::string::String>,
|
2287 - | >,
|
2288 - | >,
|
2178 + | input: ::std::option::Option<::std::vec::Vec<i64>>,
|
2179 + | ) -> Self {
|
2180 + | self.range_long_list_header = input;
|
2181 + | self
|
2182 + | }
|
2183 + | #[allow(missing_docs)] // documentation missing in model
|
2184 + | pub fn length_string_query(
|
2185 + | mut self,
|
2186 + | input: ::std::option::Option<::std::string::String>,
|
2289 2187 | ) -> Self {
|
2290 - | self.map_of_length_list_of_pattern_string = input;
|
2188 + | self.length_string_query = input;
|
2291 2189 | self
|
2292 2190 | }
|
2293 - | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput).
|
2294 - | pub fn build(
|
2295 - | self,
|
2296 - | ) -> crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput
|
2297 - | {
|
2298 - | self.build_enforcing_required_and_enum_traits()
|
2191 + | #[allow(missing_docs)] // documentation missing in model
|
2192 + | pub fn range_byte_query(mut self, input: i8) -> Self {
|
2193 + | self.range_byte_query = Some(input);
|
2194 + | self
|
2299 2195 | }
|
2300 - | fn build_enforcing_required_and_enum_traits(
|
2301 - | self,
|
2302 - | ) -> crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput
|
2303 - | {
|
2304 - | crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput {
|
2305 - | map_of_length_list_of_pattern_string: self.map_of_length_list_of_pattern_string,
|
2196 + | #[allow(missing_docs)] // documentation missing in model
|
2197 + | pub fn range_short_query(mut self, input: i16) -> Self {
|
2198 + | self.range_short_query = Some(input);
|
2199 + | self
|
2306 2200 | }
|
2201 + | #[allow(missing_docs)] // documentation missing in model
|
2202 + | pub fn range_integer_query(mut self, input: i32) -> Self {
|
2203 + | self.range_integer_query = Some(input);
|
2204 + | self
|
2307 2205 | }
|
2206 + | #[allow(missing_docs)] // documentation missing in model
|
2207 + | pub fn range_long_query(mut self, input: i64) -> Self {
|
2208 + | self.range_long_query = Some(input);
|
2209 + | self
|
2308 2210 | }
|
2309 - | }
|
2310 - | /// See [`QueryParamsTargetingMapOfSetOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput).
|
2311 - | pub mod query_params_targeting_map_of_set_of_length_string_operation_output {
|
2312 - |
|
2313 - | impl ::std::convert::From<Builder>
|
2314 - | for crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput
|
2315 - | {
|
2316 - | fn from(builder: Builder) -> Self {
|
2317 - | builder.build()
|
2211 + | #[allow(missing_docs)] // documentation missing in model
|
2212 + | pub fn enum_string_query(
|
2213 + | mut self,
|
2214 + | input: ::std::option::Option<crate::model::EnumString>,
|
2215 + | ) -> Self {
|
2216 + | self.enum_string_query = input;
|
2217 + | self
|
2318 2218 | }
|
2219 + | #[allow(missing_docs)] // documentation missing in model
|
2220 + | pub fn length_string_list_query(
|
2221 + | mut self,
|
2222 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2223 + | ) -> Self {
|
2224 + | self.length_string_list_query = input;
|
2225 + | self
|
2319 2226 | }
|
2320 - | /// A builder for [`QueryParamsTargetingMapOfSetOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput).
|
2321 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2322 - | pub struct Builder {
|
2323 - | pub(crate) map_of_set_of_length_string: ::std::option::Option<
|
2324 - | ::std::collections::HashMap<
|
2325 - | ::std::string::String,
|
2326 - | ::std::vec::Vec<::std::string::String>,
|
2327 - | >,
|
2328 - | >,
|
2227 + | #[allow(missing_docs)] // documentation missing in model
|
2228 + | pub fn length_list_pattern_string_query(
|
2229 + | mut self,
|
2230 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2231 + | ) -> Self {
|
2232 + | self.length_list_pattern_string_query = input;
|
2233 + | self
|
2329 2234 | }
|
2330 - | impl Builder {
|
2331 2235 | #[allow(missing_docs)] // documentation missing in model
|
2332 - | pub fn map_of_set_of_length_string(
|
2236 + | pub fn length_string_set_query(
|
2333 2237 | mut self,
|
2334 - | input: ::std::option::Option<
|
2335 - | ::std::collections::HashMap<
|
2336 - | ::std::string::String,
|
2337 - | ::std::vec::Vec<::std::string::String>,
|
2338 - | >,
|
2339 - | >,
|
2238 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2340 2239 | ) -> Self {
|
2341 - | self.map_of_set_of_length_string = input;
|
2240 + | self.length_string_set_query = input;
|
2342 2241 | self
|
2343 2242 | }
|
2344 - | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfSetOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput).
|
2345 - | pub fn build(
|
2346 - | self,
|
2347 - | ) -> crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
2348 - | self.build_enforcing_required_and_enum_traits()
|
2243 + | #[allow(missing_docs)] // documentation missing in model
|
2244 + | pub fn range_byte_list_query(
|
2245 + | mut self,
|
2246 + | input: ::std::option::Option<::std::vec::Vec<i8>>,
|
2247 + | ) -> Self {
|
2248 + | self.range_byte_list_query = input;
|
2249 + | self
|
2349 2250 | }
|
2350 - | fn build_enforcing_required_and_enum_traits(
|
2351 - | self,
|
2352 - | ) -> crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
2353 - | crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
2354 - | map_of_set_of_length_string: self.map_of_set_of_length_string,
|
2251 + | #[allow(missing_docs)] // documentation missing in model
|
2252 + | pub fn range_short_list_query(
|
2253 + | mut self,
|
2254 + | input: ::std::option::Option<::std::vec::Vec<i16>>,
|
2255 + | ) -> Self {
|
2256 + | self.range_short_list_query = input;
|
2257 + | self
|
2355 2258 | }
|
2259 + | #[allow(missing_docs)] // documentation missing in model
|
2260 + | pub fn range_integer_list_query(
|
2261 + | mut self,
|
2262 + | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
2263 + | ) -> Self {
|
2264 + | self.range_integer_list_query = input;
|
2265 + | self
|
2356 2266 | }
|
2267 + | #[allow(missing_docs)] // documentation missing in model
|
2268 + | pub fn range_long_list_query(
|
2269 + | mut self,
|
2270 + | input: ::std::option::Option<::std::vec::Vec<i64>>,
|
2271 + | ) -> Self {
|
2272 + | self.range_long_list_query = input;
|
2273 + | self
|
2357 2274 | }
|
2358 - | }
|
2359 - | /// See [`QueryParamsTargetingMapOfListOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput).
|
2360 - | pub mod query_params_targeting_map_of_list_of_length_string_operation_output {
|
2361 - |
|
2362 - | impl ::std::convert::From<Builder>
|
2363 - | for crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput
|
2364 - | {
|
2365 - | fn from(builder: Builder) -> Self {
|
2366 - | builder.build()
|
2275 + | #[allow(missing_docs)] // documentation missing in model
|
2276 + | pub fn range_byte_set_query(
|
2277 + | mut self,
|
2278 + | input: ::std::option::Option<::std::vec::Vec<i8>>,
|
2279 + | ) -> Self {
|
2280 + | self.range_byte_set_query = input;
|
2281 + | self
|
2367 2282 | }
|
2283 + | #[allow(missing_docs)] // documentation missing in model
|
2284 + | pub fn range_short_set_query(
|
2285 + | mut self,
|
2286 + | input: ::std::option::Option<::std::vec::Vec<i16>>,
|
2287 + | ) -> Self {
|
2288 + | self.range_short_set_query = input;
|
2289 + | self
|
2368 2290 | }
|
2369 - | /// A builder for [`QueryParamsTargetingMapOfListOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput).
|
2370 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2371 - | pub struct Builder {
|
2372 - | pub(crate) map_of_list_of_length_string: ::std::option::Option<
|
2373 - | ::std::collections::HashMap<
|
2374 - | ::std::string::String,
|
2375 - | ::std::vec::Vec<::std::string::String>,
|
2376 - | >,
|
2377 - | >,
|
2291 + | #[allow(missing_docs)] // documentation missing in model
|
2292 + | pub fn range_integer_set_query(
|
2293 + | mut self,
|
2294 + | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
2295 + | ) -> Self {
|
2296 + | self.range_integer_set_query = input;
|
2297 + | self
|
2378 2298 | }
|
2379 - | impl Builder {
|
2380 2299 | #[allow(missing_docs)] // documentation missing in model
|
2381 - | pub fn map_of_list_of_length_string(
|
2300 + | pub fn range_long_set_query(
|
2382 2301 | mut self,
|
2383 - | input: ::std::option::Option<
|
2384 - | ::std::collections::HashMap<
|
2385 - | ::std::string::String,
|
2386 - | ::std::vec::Vec<::std::string::String>,
|
2387 - | >,
|
2388 - | >,
|
2302 + | input: ::std::option::Option<::std::vec::Vec<i64>>,
|
2389 2303 | ) -> Self {
|
2390 - | self.map_of_list_of_length_string = input;
|
2304 + | self.range_long_set_query = input;
|
2391 2305 | self
|
2392 2306 | }
|
2393 - | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput).
|
2307 + | #[allow(missing_docs)] // documentation missing in model
|
2308 + | pub fn enum_string_list_query(
|
2309 + | mut self,
|
2310 + | input: ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
|
2311 + | ) -> Self {
|
2312 + | self.enum_string_list_query = input;
|
2313 + | self
|
2314 + | }
|
2315 + | /// Consumes the builder and constructs a [`ConstrainedHttpBoundShapesOperationOutput`](crate::output::ConstrainedHttpBoundShapesOperationOutput).
|
2316 + | ///
|
2317 + | /// The builder fails to construct a [`ConstrainedHttpBoundShapesOperationOutput`](crate::output::ConstrainedHttpBoundShapesOperationOutput) if you do not provide a value for all non-`Option`al members.
|
2318 + | ///
|
2394 2319 | pub fn build(
|
2395 2320 | self,
|
2396 - | ) -> crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
2321 + | ) -> Result<crate::output::ConstrainedHttpBoundShapesOperationOutput, ConstraintViolation>
|
2322 + | {
|
2397 2323 | self.build_enforcing_required_and_enum_traits()
|
2398 2324 | }
|
2399 2325 | fn build_enforcing_required_and_enum_traits(
|
2400 2326 | self,
|
2401 - | ) -> crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
2402 - | crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
2403 - | map_of_list_of_length_string: self.map_of_list_of_length_string,
|
2404 - | }
|
2405 - | }
|
2406 - | }
|
2407 - | }
|
2408 - | /// See [`QueryParamsTargetingMapOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput).
|
2409 - | pub mod query_params_targeting_map_of_length_string_operation_output {
|
2410 - |
|
2411 - | impl ::std::convert::From<Builder>
|
2412 - | for crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput
|
2327 + | ) -> Result<crate::output::ConstrainedHttpBoundShapesOperationOutput, ConstraintViolation>
|
2413 2328 | {
|
2414 - | fn from(builder: Builder) -> Self {
|
2415 - | builder.build()
|
2416 - | }
|
2417 - | }
|
2418 - | /// A builder for [`QueryParamsTargetingMapOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput).
|
2419 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2420 - | pub struct Builder {
|
2421 - | pub(crate) map_of_length_string: ::std::option::Option<
|
2422 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2423 - | >,
|
2329 + | Ok(crate::output::ConstrainedHttpBoundShapesOperationOutput {
|
2330 + | length_string_label: self
|
2331 + | .length_string_label
|
2332 + | .ok_or(ConstraintViolation::MissingLengthStringLabel)?,
|
2333 + | range_integer_label: self.range_integer_label.unwrap_or(0i32),
|
2334 + | range_short_label: self.range_short_label.unwrap_or(0i16),
|
2335 + | range_long_label: self.range_long_label.unwrap_or(0i64),
|
2336 + | range_byte_label: self.range_byte_label.unwrap_or(0i8),
|
2337 + | enum_string_label: self
|
2338 + | .enum_string_label
|
2339 + | .ok_or(ConstraintViolation::MissingEnumStringLabel)?,
|
2340 + | length_string_header_map: self
|
2341 + | .length_string_header_map
|
2342 + | .ok_or(ConstraintViolation::MissingLengthStringHeaderMap)?,
|
2343 + | length_string_header: self.length_string_header,
|
2344 + | range_integer_header: self.range_integer_header.unwrap_or(0i32),
|
2345 + | range_short_header: self.range_short_header.unwrap_or(0i16),
|
2346 + | range_long_header: self.range_long_header.unwrap_or(0i64),
|
2347 + | range_byte_header: self.range_byte_header.unwrap_or(0i8),
|
2348 + | length_string_set_header: self.length_string_set_header,
|
2349 + | list_length_string_header: self.list_length_string_header,
|
2350 + | length_list_pattern_string_header: self.length_list_pattern_string_header,
|
2351 + | length_set_pattern_string_header: self.length_set_pattern_string_header,
|
2352 + | range_byte_set_header: self.range_byte_set_header,
|
2353 + | range_short_set_header: self.range_short_set_header,
|
2354 + | range_integer_set_header: self.range_integer_set_header,
|
2355 + | range_long_set_header: self.range_long_set_header,
|
2356 + | range_byte_list_header: self.range_byte_list_header,
|
2357 + | range_short_list_header: self.range_short_list_header,
|
2358 + | range_integer_list_header: self.range_integer_list_header,
|
2359 + | range_long_list_header: self.range_long_list_header,
|
2360 + | length_string_query: self.length_string_query,
|
2361 + | range_byte_query: self.range_byte_query.unwrap_or(0i8),
|
2362 + | range_short_query: self.range_short_query.unwrap_or(0i16),
|
2363 + | range_integer_query: self.range_integer_query.unwrap_or(0i32),
|
2364 + | range_long_query: self.range_long_query.unwrap_or(0i64),
|
2365 + | enum_string_query: self.enum_string_query,
|
2366 + | length_string_list_query: self.length_string_list_query,
|
2367 + | length_list_pattern_string_query: self.length_list_pattern_string_query,
|
2368 + | length_string_set_query: self.length_string_set_query,
|
2369 + | range_byte_list_query: self.range_byte_list_query,
|
2370 + | range_short_list_query: self.range_short_list_query,
|
2371 + | range_integer_list_query: self.range_integer_list_query,
|
2372 + | range_long_list_query: self.range_long_list_query,
|
2373 + | range_byte_set_query: self.range_byte_set_query,
|
2374 + | range_short_set_query: self.range_short_set_query,
|
2375 + | range_integer_set_query: self.range_integer_set_query,
|
2376 + | range_long_set_query: self.range_long_set_query,
|
2377 + | enum_string_list_query: self.enum_string_list_query,
|
2378 + | })
|
2424 2379 | }
|
2425 - | impl Builder {
|
2426 - | #[allow(missing_docs)] // documentation missing in model
|
2427 - | pub fn map_of_length_string(
|
2428 - | mut self,
|
2429 - | input: ::std::option::Option<
|
2430 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2431 - | >,
|
2432 - | ) -> Self {
|
2433 - | self.map_of_length_string = input;
|
2434 - | self
|
2435 2380 | }
|
2436 - | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput).
|
2437 - | pub fn build(self) -> crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput {
|
2438 - | self.build_enforcing_required_and_enum_traits()
|
2381 + | }
|
2382 + | /// See [`ConstrainedHttpPayloadBoundShapeOperationOutput`](crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput).
|
2383 + | pub mod constrained_http_payload_bound_shape_operation_output {
|
2384 + |
|
2385 + | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
2386 + | /// Holds one variant for each of the ways the builder can fail.
|
2387 + | #[allow(clippy::enum_variant_names)]
|
2388 + | pub enum ConstraintViolation {
|
2389 + | /// `http_payload_bound_constrained_shape` was not provided but it is required when building `ConstrainedHttpPayloadBoundShapeOperationOutput`.
|
2390 + | MissingHttpPayloadBoundConstrainedShape,
|
2439 2391 | }
|
2440 - | fn build_enforcing_required_and_enum_traits(
|
2441 - | self,
|
2442 - | ) -> crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput {
|
2443 - | crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput {
|
2444 - | map_of_length_string: self.map_of_length_string,
|
2392 + | impl ::std::fmt::Display for ConstraintViolation {
|
2393 + | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
2394 + | match self {
|
2395 + | ConstraintViolation::MissingHttpPayloadBoundConstrainedShape => write!(f, "`http_payload_bound_constrained_shape` was not provided but it is required when building `ConstrainedHttpPayloadBoundShapeOperationOutput`"),
|
2445 2396 | }
|
2446 2397 | }
|
2447 2398 | }
|
2448 - | }
|
2449 - | /// See [`QueryParamsTargetingLengthMapOperationOutput`](crate::output::QueryParamsTargetingLengthMapOperationOutput).
|
2450 - | pub mod query_params_targeting_length_map_operation_output {
|
2399 + | impl ::std::error::Error for ConstraintViolation {}
|
2400 + | impl ::std::convert::TryFrom<Builder>
|
2401 + | for crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput
|
2402 + | {
|
2403 + | type Error = ConstraintViolation;
|
2451 2404 |
|
2452 - | impl ::std::convert::From<Builder> for crate::output::QueryParamsTargetingLengthMapOperationOutput {
|
2453 - | fn from(builder: Builder) -> Self {
|
2405 + | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
2454 2406 | builder.build()
|
2455 2407 | }
|
2456 2408 | }
|
2457 - | /// A builder for [`QueryParamsTargetingLengthMapOperationOutput`](crate::output::QueryParamsTargetingLengthMapOperationOutput).
|
2409 + | /// A builder for [`ConstrainedHttpPayloadBoundShapeOperationOutput`](crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput).
|
2458 2410 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2459 2411 | pub struct Builder {
|
2460 - | pub(crate) length_map: ::std::option::Option<
|
2461 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2462 - | >,
|
2412 + | pub(crate) http_payload_bound_constrained_shape: ::std::option::Option<crate::model::ConA>,
|
2463 2413 | }
|
2464 2414 | impl Builder {
|
2465 2415 | #[allow(missing_docs)] // documentation missing in model
|
2466 - | pub fn length_map(
|
2467 - | mut self,
|
2468 - | input: ::std::option::Option<
|
2469 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2470 - | >,
|
2471 - | ) -> Self {
|
2472 - | self.length_map = input;
|
2416 + | pub fn http_payload_bound_constrained_shape(mut self, input: crate::model::ConA) -> Self {
|
2417 + | self.http_payload_bound_constrained_shape = Some(input);
|
2473 2418 | self
|
2474 2419 | }
|
2475 - | /// Consumes the builder and constructs a [`QueryParamsTargetingLengthMapOperationOutput`](crate::output::QueryParamsTargetingLengthMapOperationOutput).
|
2476 - | pub fn build(self) -> crate::output::QueryParamsTargetingLengthMapOperationOutput {
|
2420 + | /// Consumes the builder and constructs a [`ConstrainedHttpPayloadBoundShapeOperationOutput`](crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput).
|
2421 + | ///
|
2422 + | /// The builder fails to construct a [`ConstrainedHttpPayloadBoundShapeOperationOutput`](crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput) if you do not provide a value for all non-`Option`al members.
|
2423 + | ///
|
2424 + | pub fn build(
|
2425 + | self,
|
2426 + | ) -> Result<
|
2427 + | crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput,
|
2428 + | ConstraintViolation,
|
2429 + | > {
|
2477 2430 | self.build_enforcing_required_and_enum_traits()
|
2478 2431 | }
|
2479 2432 | fn build_enforcing_required_and_enum_traits(
|
2480 2433 | self,
|
2481 - | ) -> crate::output::QueryParamsTargetingLengthMapOperationOutput {
|
2482 - | crate::output::QueryParamsTargetingLengthMapOperationOutput {
|
2483 - | length_map: self.length_map,
|
2484 - | }
|
2434 + | ) -> Result<
|
2435 + | crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput,
|
2436 + | ConstraintViolation,
|
2437 + | > {
|
2438 + | Ok(
|
2439 + | crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput {
|
2440 + | http_payload_bound_constrained_shape: self
|
2441 + | .http_payload_bound_constrained_shape
|
2442 + | .ok_or(ConstraintViolation::MissingHttpPayloadBoundConstrainedShape)?,
|
2443 + | },
|
2444 + | )
|
2485 2445 | }
|
2486 2446 | }
|
2487 2447 | }
|
2488 2448 | /// See [`ConstrainedRecursiveShapesOperationOutput`](crate::output::ConstrainedRecursiveShapesOperationOutput).
|
2489 2449 | pub mod constrained_recursive_shapes_operation_output {
|
2490 2450 |
|
2491 2451 | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
2492 2452 | /// Holds one variant for each of the ways the builder can fail.
|
2493 2453 | #[allow(clippy::enum_variant_names)]
|
2494 2454 | pub enum ConstraintViolation {
|
2550 2510 | {
|
2551 2511 | Ok(crate::output::ConstrainedRecursiveShapesOperationOutput {
|
2552 2512 | nested: self.nested,
|
2553 2513 | recursive_list: self
|
2554 2514 | .recursive_list
|
2555 2515 | .ok_or(ConstraintViolation::MissingRecursiveList)?,
|
2556 2516 | })
|
2557 2517 | }
|
2558 2518 | }
|
2559 2519 | }
|
2560 - | /// See [`ConstrainedHttpPayloadBoundShapeOperationOutput`](crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput).
|
2561 - | pub mod constrained_http_payload_bound_shape_operation_output {
|
2520 + | /// See [`QueryParamsTargetingLengthMapOperationOutput`](crate::output::QueryParamsTargetingLengthMapOperationOutput).
|
2521 + | pub mod query_params_targeting_length_map_operation_output {
|
2562 2522 |
|
2563 - | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
2564 - | /// Holds one variant for each of the ways the builder can fail.
|
2565 - | #[allow(clippy::enum_variant_names)]
|
2566 - | pub enum ConstraintViolation {
|
2567 - | /// `http_payload_bound_constrained_shape` was not provided but it is required when building `ConstrainedHttpPayloadBoundShapeOperationOutput`.
|
2568 - | MissingHttpPayloadBoundConstrainedShape,
|
2523 + | impl ::std::convert::From<Builder> for crate::output::QueryParamsTargetingLengthMapOperationOutput {
|
2524 + | fn from(builder: Builder) -> Self {
|
2525 + | builder.build()
|
2569 2526 | }
|
2570 - | impl ::std::fmt::Display for ConstraintViolation {
|
2571 - | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
2572 - | match self {
|
2573 - | ConstraintViolation::MissingHttpPayloadBoundConstrainedShape => write!(f, "`http_payload_bound_constrained_shape` was not provided but it is required when building `ConstrainedHttpPayloadBoundShapeOperationOutput`"),
|
2574 2527 | }
|
2528 + | /// A builder for [`QueryParamsTargetingLengthMapOperationOutput`](crate::output::QueryParamsTargetingLengthMapOperationOutput).
|
2529 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2530 + | pub struct Builder {
|
2531 + | pub(crate) length_map: ::std::option::Option<
|
2532 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2533 + | >,
|
2575 2534 | }
|
2535 + | impl Builder {
|
2536 + | #[allow(missing_docs)] // documentation missing in model
|
2537 + | pub fn length_map(
|
2538 + | mut self,
|
2539 + | input: ::std::option::Option<
|
2540 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2541 + | >,
|
2542 + | ) -> Self {
|
2543 + | self.length_map = input;
|
2544 + | self
|
2576 2545 | }
|
2577 - | impl ::std::error::Error for ConstraintViolation {}
|
2578 - | impl ::std::convert::TryFrom<Builder>
|
2579 - | for crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput
|
2580 - | {
|
2581 - | type Error = ConstraintViolation;
|
2546 + | /// Consumes the builder and constructs a [`QueryParamsTargetingLengthMapOperationOutput`](crate::output::QueryParamsTargetingLengthMapOperationOutput).
|
2547 + | pub fn build(self) -> crate::output::QueryParamsTargetingLengthMapOperationOutput {
|
2548 + | self.build_enforcing_required_and_enum_traits()
|
2549 + | }
|
2550 + | fn build_enforcing_required_and_enum_traits(
|
2551 + | self,
|
2552 + | ) -> crate::output::QueryParamsTargetingLengthMapOperationOutput {
|
2553 + | crate::output::QueryParamsTargetingLengthMapOperationOutput {
|
2554 + | length_map: self.length_map,
|
2555 + | }
|
2556 + | }
|
2557 + | }
|
2558 + | }
|
2559 + | /// See [`QueryParamsTargetingMapOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput).
|
2560 + | pub mod query_params_targeting_map_of_length_string_operation_output {
|
2582 2561 |
|
2583 - | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
2562 + | impl ::std::convert::From<Builder>
|
2563 + | for crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput
|
2564 + | {
|
2565 + | fn from(builder: Builder) -> Self {
|
2584 2566 | builder.build()
|
2585 2567 | }
|
2586 2568 | }
|
2587 - | /// A builder for [`ConstrainedHttpPayloadBoundShapeOperationOutput`](crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput).
|
2569 + | /// A builder for [`QueryParamsTargetingMapOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput).
|
2588 2570 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2589 2571 | pub struct Builder {
|
2590 - | pub(crate) http_payload_bound_constrained_shape: ::std::option::Option<crate::model::ConA>,
|
2572 + | pub(crate) map_of_length_string: ::std::option::Option<
|
2573 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2574 + | >,
|
2591 2575 | }
|
2592 2576 | impl Builder {
|
2593 2577 | #[allow(missing_docs)] // documentation missing in model
|
2594 - | pub fn http_payload_bound_constrained_shape(mut self, input: crate::model::ConA) -> Self {
|
2595 - | self.http_payload_bound_constrained_shape = Some(input);
|
2578 + | pub fn map_of_length_string(
|
2579 + | mut self,
|
2580 + | input: ::std::option::Option<
|
2581 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2582 + | >,
|
2583 + | ) -> Self {
|
2584 + | self.map_of_length_string = input;
|
2596 2585 | self
|
2597 2586 | }
|
2598 - | /// Consumes the builder and constructs a [`ConstrainedHttpPayloadBoundShapeOperationOutput`](crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput).
|
2599 - | ///
|
2600 - | /// The builder fails to construct a [`ConstrainedHttpPayloadBoundShapeOperationOutput`](crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput) if you do not provide a value for all non-`Option`al members.
|
2601 - | ///
|
2602 - | pub fn build(
|
2603 - | self,
|
2604 - | ) -> Result<
|
2605 - | crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput,
|
2606 - | ConstraintViolation,
|
2607 - | > {
|
2587 + | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput).
|
2588 + | pub fn build(self) -> crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput {
|
2608 2589 | self.build_enforcing_required_and_enum_traits()
|
2609 2590 | }
|
2610 2591 | fn build_enforcing_required_and_enum_traits(
|
2611 2592 | self,
|
2612 - | ) -> Result<
|
2613 - | crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput,
|
2614 - | ConstraintViolation,
|
2615 - | > {
|
2616 - | Ok(
|
2617 - | crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput {
|
2618 - | http_payload_bound_constrained_shape: self
|
2619 - | .http_payload_bound_constrained_shape
|
2620 - | .ok_or(ConstraintViolation::MissingHttpPayloadBoundConstrainedShape)?,
|
2621 - | },
|
2622 - | )
|
2593 + | ) -> crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput {
|
2594 + | crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput {
|
2595 + | map_of_length_string: self.map_of_length_string,
|
2596 + | }
|
2623 2597 | }
|
2624 2598 | }
|
2625 2599 | }
|
2626 - | /// See [`ConstrainedHttpBoundShapesOperationOutput`](crate::output::ConstrainedHttpBoundShapesOperationOutput).
|
2627 - | pub mod constrained_http_bound_shapes_operation_output {
|
2600 + | /// See [`QueryParamsTargetingMapOfListOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput).
|
2601 + | pub mod query_params_targeting_map_of_list_of_length_string_operation_output {
|
2628 2602 |
|
2629 - | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
2630 - | /// Holds one variant for each of the ways the builder can fail.
|
2631 - | #[allow(clippy::enum_variant_names)]
|
2632 - | pub enum ConstraintViolation {
|
2633 - | /// `length_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationOutput`.
|
2634 - | MissingLengthStringLabel,
|
2635 - | /// `enum_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationOutput`.
|
2636 - | MissingEnumStringLabel,
|
2637 - | /// `length_string_header_map` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationOutput`.
|
2638 - | MissingLengthStringHeaderMap,
|
2603 + | impl ::std::convert::From<Builder>
|
2604 + | for crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput
|
2605 + | {
|
2606 + | fn from(builder: Builder) -> Self {
|
2607 + | builder.build()
|
2639 2608 | }
|
2640 - | impl ::std::fmt::Display for ConstraintViolation {
|
2641 - | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
2642 - | match self {
|
2643 - | ConstraintViolation::MissingLengthStringLabel => write!(f, "`length_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationOutput`"),
|
2644 - | ConstraintViolation::MissingEnumStringLabel => write!(f, "`enum_string_label` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationOutput`"),
|
2645 - | ConstraintViolation::MissingLengthStringHeaderMap => write!(f, "`length_string_header_map` was not provided but it is required when building `ConstrainedHttpBoundShapesOperationOutput`"),
|
2609 + | }
|
2610 + | /// A builder for [`QueryParamsTargetingMapOfListOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput).
|
2611 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2612 + | pub struct Builder {
|
2613 + | pub(crate) map_of_list_of_length_string: ::std::option::Option<
|
2614 + | ::std::collections::HashMap<
|
2615 + | ::std::string::String,
|
2616 + | ::std::vec::Vec<::std::string::String>,
|
2617 + | >,
|
2618 + | >,
|
2619 + | }
|
2620 + | impl Builder {
|
2621 + | #[allow(missing_docs)] // documentation missing in model
|
2622 + | pub fn map_of_list_of_length_string(
|
2623 + | mut self,
|
2624 + | input: ::std::option::Option<
|
2625 + | ::std::collections::HashMap<
|
2626 + | ::std::string::String,
|
2627 + | ::std::vec::Vec<::std::string::String>,
|
2628 + | >,
|
2629 + | >,
|
2630 + | ) -> Self {
|
2631 + | self.map_of_list_of_length_string = input;
|
2632 + | self
|
2633 + | }
|
2634 + | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput).
|
2635 + | pub fn build(
|
2636 + | self,
|
2637 + | ) -> crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
2638 + | self.build_enforcing_required_and_enum_traits()
|
2639 + | }
|
2640 + | fn build_enforcing_required_and_enum_traits(
|
2641 + | self,
|
2642 + | ) -> crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
2643 + | crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput {
|
2644 + | map_of_list_of_length_string: self.map_of_list_of_length_string,
|
2646 2645 | }
|
2647 2646 | }
|
2648 2647 | }
|
2649 - | impl ::std::error::Error for ConstraintViolation {}
|
2650 - | impl ::std::convert::TryFrom<Builder> for crate::output::ConstrainedHttpBoundShapesOperationOutput {
|
2651 - | type Error = ConstraintViolation;
|
2648 + | }
|
2649 + | /// See [`QueryParamsTargetingMapOfSetOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput).
|
2650 + | pub mod query_params_targeting_map_of_set_of_length_string_operation_output {
|
2652 2651 |
|
2653 - | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
2652 + | impl ::std::convert::From<Builder>
|
2653 + | for crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput
|
2654 + | {
|
2655 + | fn from(builder: Builder) -> Self {
|
2654 2656 | builder.build()
|
2655 2657 | }
|
2656 2658 | }
|
2657 - | /// A builder for [`ConstrainedHttpBoundShapesOperationOutput`](crate::output::ConstrainedHttpBoundShapesOperationOutput).
|
2659 + | /// A builder for [`QueryParamsTargetingMapOfSetOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput).
|
2658 2660 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2659 2661 | pub struct Builder {
|
2660 - | pub(crate) length_string_label: ::std::option::Option<::std::string::String>,
|
2661 - | pub(crate) range_integer_label: ::std::option::Option<i32>,
|
2662 - | pub(crate) range_short_label: ::std::option::Option<i16>,
|
2663 - | pub(crate) range_long_label: ::std::option::Option<i64>,
|
2664 - | pub(crate) range_byte_label: ::std::option::Option<i8>,
|
2665 - | pub(crate) enum_string_label: ::std::option::Option<crate::model::EnumString>,
|
2666 - | pub(crate) length_string_header_map: ::std::option::Option<
|
2667 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2662 + | pub(crate) map_of_set_of_length_string: ::std::option::Option<
|
2663 + | ::std::collections::HashMap<
|
2664 + | ::std::string::String,
|
2665 + | ::std::vec::Vec<::std::string::String>,
|
2666 + | >,
|
2668 2667 | >,
|
2669 - | pub(crate) length_string_header: ::std::option::Option<::std::string::String>,
|
2670 - | pub(crate) range_integer_header: ::std::option::Option<i32>,
|
2671 - | pub(crate) range_short_header: ::std::option::Option<i16>,
|
2672 - | pub(crate) range_long_header: ::std::option::Option<i64>,
|
2673 - | pub(crate) range_byte_header: ::std::option::Option<i8>,
|
2674 - | pub(crate) length_string_set_header:
|
2675 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2676 - | pub(crate) list_length_string_header:
|
2677 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2678 - | pub(crate) length_list_pattern_string_header:
|
2679 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2680 - | pub(crate) length_set_pattern_string_header:
|
2681 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2682 - | pub(crate) range_byte_set_header: ::std::option::Option<::std::vec::Vec<i8>>,
|
2683 - | pub(crate) range_short_set_header: ::std::option::Option<::std::vec::Vec<i16>>,
|
2684 - | pub(crate) range_integer_set_header: ::std::option::Option<::std::vec::Vec<i32>>,
|
2685 - | pub(crate) range_long_set_header: ::std::option::Option<::std::vec::Vec<i64>>,
|
2686 - | pub(crate) range_byte_list_header: ::std::option::Option<::std::vec::Vec<i8>>,
|
2687 - | pub(crate) range_short_list_header: ::std::option::Option<::std::vec::Vec<i16>>,
|
2688 - | pub(crate) range_integer_list_header: ::std::option::Option<::std::vec::Vec<i32>>,
|
2689 - | pub(crate) range_long_list_header: ::std::option::Option<::std::vec::Vec<i64>>,
|
2690 - | pub(crate) length_string_query: ::std::option::Option<::std::string::String>,
|
2691 - | pub(crate) range_byte_query: ::std::option::Option<i8>,
|
2692 - | pub(crate) range_short_query: ::std::option::Option<i16>,
|
2693 - | pub(crate) range_integer_query: ::std::option::Option<i32>,
|
2694 - | pub(crate) range_long_query: ::std::option::Option<i64>,
|
2695 - | pub(crate) enum_string_query: ::std::option::Option<crate::model::EnumString>,
|
2696 - | pub(crate) length_string_list_query:
|
2697 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2698 - | pub(crate) length_list_pattern_string_query:
|
2699 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2700 - | pub(crate) length_string_set_query:
|
2701 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2702 - | pub(crate) range_byte_list_query: ::std::option::Option<::std::vec::Vec<i8>>,
|
2703 - | pub(crate) range_short_list_query: ::std::option::Option<::std::vec::Vec<i16>>,
|
2704 - | pub(crate) range_integer_list_query: ::std::option::Option<::std::vec::Vec<i32>>,
|
2705 - | pub(crate) range_long_list_query: ::std::option::Option<::std::vec::Vec<i64>>,
|
2706 - | pub(crate) range_byte_set_query: ::std::option::Option<::std::vec::Vec<i8>>,
|
2707 - | pub(crate) range_short_set_query: ::std::option::Option<::std::vec::Vec<i16>>,
|
2708 - | pub(crate) range_integer_set_query: ::std::option::Option<::std::vec::Vec<i32>>,
|
2709 - | pub(crate) range_long_set_query: ::std::option::Option<::std::vec::Vec<i64>>,
|
2710 - | pub(crate) enum_string_list_query:
|
2711 - | ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
|
2712 2668 | }
|
2713 2669 | impl Builder {
|
2714 2670 | #[allow(missing_docs)] // documentation missing in model
|
2715 - | pub fn length_string_label(mut self, input: ::std::string::String) -> Self {
|
2716 - | self.length_string_label = Some(input);
|
2671 + | pub fn map_of_set_of_length_string(
|
2672 + | mut self,
|
2673 + | input: ::std::option::Option<
|
2674 + | ::std::collections::HashMap<
|
2675 + | ::std::string::String,
|
2676 + | ::std::vec::Vec<::std::string::String>,
|
2677 + | >,
|
2678 + | >,
|
2679 + | ) -> Self {
|
2680 + | self.map_of_set_of_length_string = input;
|
2717 2681 | self
|
2718 2682 | }
|
2719 - | #[allow(missing_docs)] // documentation missing in model
|
2720 - | pub fn range_integer_label(mut self, input: i32) -> Self {
|
2721 - | self.range_integer_label = Some(input);
|
2722 - | self
|
2683 + | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfSetOfLengthStringOperationOutput`](crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput).
|
2684 + | pub fn build(
|
2685 + | self,
|
2686 + | ) -> crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
2687 + | self.build_enforcing_required_and_enum_traits()
|
2723 2688 | }
|
2724 - | #[allow(missing_docs)] // documentation missing in model
|
2725 - | pub fn range_short_label(mut self, input: i16) -> Self {
|
2726 - | self.range_short_label = Some(input);
|
2727 - | self
|
2689 + | fn build_enforcing_required_and_enum_traits(
|
2690 + | self,
|
2691 + | ) -> crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
2692 + | crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput {
|
2693 + | map_of_set_of_length_string: self.map_of_set_of_length_string,
|
2728 2694 | }
|
2729 - | #[allow(missing_docs)] // documentation missing in model
|
2730 - | pub fn range_long_label(mut self, input: i64) -> Self {
|
2731 - | self.range_long_label = Some(input);
|
2732 - | self
|
2733 2695 | }
|
2734 - | #[allow(missing_docs)] // documentation missing in model
|
2735 - | pub fn range_byte_label(mut self, input: i8) -> Self {
|
2736 - | self.range_byte_label = Some(input);
|
2737 - | self
|
2738 2696 | }
|
2739 - | #[allow(missing_docs)] // documentation missing in model
|
2740 - | pub fn enum_string_label(mut self, input: crate::model::EnumString) -> Self {
|
2741 - | self.enum_string_label = Some(input);
|
2742 - | self
|
2697 + | }
|
2698 + | /// See [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput).
|
2699 + | pub mod query_params_targeting_map_of_length_list_of_pattern_string_operation_output {
|
2700 + |
|
2701 + | impl ::std::convert::From<Builder>
|
2702 + | for crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput
|
2703 + | {
|
2704 + | fn from(builder: Builder) -> Self {
|
2705 + | builder.build()
|
2743 2706 | }
|
2744 - | #[allow(missing_docs)] // documentation missing in model
|
2745 - | pub fn length_string_header_map(
|
2746 - | mut self,
|
2747 - | input: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2748 - | ) -> Self {
|
2749 - | self.length_string_header_map = Some(input);
|
2750 - | self
|
2751 2707 | }
|
2708 + | /// A builder for [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput).
|
2709 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2710 + | pub struct Builder {
|
2711 + | pub(crate) map_of_length_list_of_pattern_string: ::std::option::Option<
|
2712 + | ::std::collections::HashMap<
|
2713 + | ::std::string::String,
|
2714 + | ::std::vec::Vec<::std::string::String>,
|
2715 + | >,
|
2716 + | >,
|
2717 + | }
|
2718 + | impl Builder {
|
2752 2719 | #[allow(missing_docs)] // documentation missing in model
|
2753 - | pub fn length_string_header(
|
2720 + | pub fn map_of_length_list_of_pattern_string(
|
2754 2721 | mut self,
|
2755 - | input: ::std::option::Option<::std::string::String>,
|
2722 + | input: ::std::option::Option<
|
2723 + | ::std::collections::HashMap<
|
2724 + | ::std::string::String,
|
2725 + | ::std::vec::Vec<::std::string::String>,
|
2726 + | >,
|
2727 + | >,
|
2756 2728 | ) -> Self {
|
2757 - | self.length_string_header = input;
|
2729 + | self.map_of_length_list_of_pattern_string = input;
|
2758 2730 | self
|
2759 2731 | }
|
2760 - | #[allow(missing_docs)] // documentation missing in model
|
2761 - | pub fn range_integer_header(mut self, input: i32) -> Self {
|
2762 - | self.range_integer_header = Some(input);
|
2763 - | self
|
2732 + | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput).
|
2733 + | pub fn build(
|
2734 + | self,
|
2735 + | ) -> crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput
|
2736 + | {
|
2737 + | self.build_enforcing_required_and_enum_traits()
|
2764 2738 | }
|
2765 - | #[allow(missing_docs)] // documentation missing in model
|
2766 - | pub fn range_short_header(mut self, input: i16) -> Self {
|
2767 - | self.range_short_header = Some(input);
|
2768 - | self
|
2739 + | fn build_enforcing_required_and_enum_traits(
|
2740 + | self,
|
2741 + | ) -> crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput
|
2742 + | {
|
2743 + | crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput {
|
2744 + | map_of_length_list_of_pattern_string: self.map_of_length_list_of_pattern_string,
|
2769 2745 | }
|
2770 - | #[allow(missing_docs)] // documentation missing in model
|
2771 - | pub fn range_long_header(mut self, input: i64) -> Self {
|
2772 - | self.range_long_header = Some(input);
|
2773 - | self
|
2774 2746 | }
|
2775 - | #[allow(missing_docs)] // documentation missing in model
|
2776 - | pub fn range_byte_header(mut self, input: i8) -> Self {
|
2777 - | self.range_byte_header = Some(input);
|
2778 - | self
|
2779 2747 | }
|
2780 - | #[allow(missing_docs)] // documentation missing in model
|
2781 - | pub fn length_string_set_header(
|
2782 - | mut self,
|
2783 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2784 - | ) -> Self {
|
2785 - | self.length_string_set_header = input;
|
2786 - | self
|
2748 + | }
|
2749 + | /// See [`QueryParamsTargetingMapOfListOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput).
|
2750 + | pub mod query_params_targeting_map_of_list_of_enum_string_operation_output {
|
2751 + |
|
2752 + | impl ::std::convert::From<Builder>
|
2753 + | for crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput
|
2754 + | {
|
2755 + | fn from(builder: Builder) -> Self {
|
2756 + | builder.build()
|
2787 2757 | }
|
2788 - | #[allow(missing_docs)] // documentation missing in model
|
2789 - | pub fn list_length_string_header(
|
2790 - | mut self,
|
2791 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2792 - | ) -> Self {
|
2793 - | self.list_length_string_header = input;
|
2794 - | self
|
2795 2758 | }
|
2796 - | #[allow(missing_docs)] // documentation missing in model
|
2797 - | pub fn length_list_pattern_string_header(
|
2798 - | mut self,
|
2799 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2800 - | ) -> Self {
|
2801 - | self.length_list_pattern_string_header = input;
|
2802 - | self
|
2759 + | /// A builder for [`QueryParamsTargetingMapOfListOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput).
|
2760 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2761 + | pub struct Builder {
|
2762 + | pub(crate) map_of_list_of_enum_string: ::std::option::Option<
|
2763 + | ::std::collections::HashMap<
|
2764 + | crate::model::EnumString,
|
2765 + | ::std::vec::Vec<crate::model::EnumString>,
|
2766 + | >,
|
2767 + | >,
|
2803 2768 | }
|
2769 + | impl Builder {
|
2804 2770 | #[allow(missing_docs)] // documentation missing in model
|
2805 - | pub fn length_set_pattern_string_header(
|
2771 + | pub fn map_of_list_of_enum_string(
|
2806 2772 | mut self,
|
2807 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2773 + | input: ::std::option::Option<
|
2774 + | ::std::collections::HashMap<
|
2775 + | crate::model::EnumString,
|
2776 + | ::std::vec::Vec<crate::model::EnumString>,
|
2777 + | >,
|
2778 + | >,
|
2808 2779 | ) -> Self {
|
2809 - | self.length_set_pattern_string_header = input;
|
2780 + | self.map_of_list_of_enum_string = input;
|
2810 2781 | self
|
2811 2782 | }
|
2812 - | #[allow(missing_docs)] // documentation missing in model
|
2813 - | pub fn range_byte_set_header(
|
2814 - | mut self,
|
2815 - | input: ::std::option::Option<::std::vec::Vec<i8>>,
|
2816 - | ) -> Self {
|
2817 - | self.range_byte_set_header = input;
|
2818 - | self
|
2783 + | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput).
|
2784 + | pub fn build(
|
2785 + | self,
|
2786 + | ) -> crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
2787 + | self.build_enforcing_required_and_enum_traits()
|
2788 + | }
|
2789 + | fn build_enforcing_required_and_enum_traits(
|
2790 + | self,
|
2791 + | ) -> crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
2792 + | crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput {
|
2793 + | map_of_list_of_enum_string: self.map_of_list_of_enum_string,
|
2794 + | }
|
2795 + | }
|
2796 + | }
|
2797 + | }
|
2798 + | /// See [`QueryParamsTargetingMapOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput).
|
2799 + | pub mod query_params_targeting_map_of_pattern_string_operation_output {
|
2800 + |
|
2801 + | impl ::std::convert::From<Builder>
|
2802 + | for crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput
|
2803 + | {
|
2804 + | fn from(builder: Builder) -> Self {
|
2805 + | builder.build()
|
2806 + | }
|
2807 + | }
|
2808 + | /// A builder for [`QueryParamsTargetingMapOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput).
|
2809 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2810 + | pub struct Builder {
|
2811 + | pub(crate) map_of_pattern_string: ::std::option::Option<
|
2812 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2813 + | >,
|
2819 2814 | }
|
2815 + | impl Builder {
|
2820 2816 | #[allow(missing_docs)] // documentation missing in model
|
2821 - | pub fn range_short_set_header(
|
2817 + | pub fn map_of_pattern_string(
|
2822 2818 | mut self,
|
2823 - | input: ::std::option::Option<::std::vec::Vec<i16>>,
|
2819 + | input: ::std::option::Option<
|
2820 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2821 + | >,
|
2824 2822 | ) -> Self {
|
2825 - | self.range_short_set_header = input;
|
2823 + | self.map_of_pattern_string = input;
|
2826 2824 | self
|
2827 2825 | }
|
2828 - | #[allow(missing_docs)] // documentation missing in model
|
2829 - | pub fn range_integer_set_header(
|
2830 - | mut self,
|
2831 - | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
2832 - | ) -> Self {
|
2833 - | self.range_integer_set_header = input;
|
2834 - | self
|
2826 + | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput).
|
2827 + | pub fn build(self) -> crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput {
|
2828 + | self.build_enforcing_required_and_enum_traits()
|
2835 2829 | }
|
2836 - | #[allow(missing_docs)] // documentation missing in model
|
2837 - | pub fn range_long_set_header(
|
2838 - | mut self,
|
2839 - | input: ::std::option::Option<::std::vec::Vec<i64>>,
|
2840 - | ) -> Self {
|
2841 - | self.range_long_set_header = input;
|
2842 - | self
|
2830 + | fn build_enforcing_required_and_enum_traits(
|
2831 + | self,
|
2832 + | ) -> crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput {
|
2833 + | crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput {
|
2834 + | map_of_pattern_string: self.map_of_pattern_string,
|
2843 2835 | }
|
2844 - | #[allow(missing_docs)] // documentation missing in model
|
2845 - | pub fn range_byte_list_header(
|
2846 - | mut self,
|
2847 - | input: ::std::option::Option<::std::vec::Vec<i8>>,
|
2848 - | ) -> Self {
|
2849 - | self.range_byte_list_header = input;
|
2850 - | self
|
2851 2836 | }
|
2852 - | #[allow(missing_docs)] // documentation missing in model
|
2853 - | pub fn range_short_list_header(
|
2854 - | mut self,
|
2855 - | input: ::std::option::Option<::std::vec::Vec<i16>>,
|
2856 - | ) -> Self {
|
2857 - | self.range_short_list_header = input;
|
2858 - | self
|
2859 2837 | }
|
2860 - | #[allow(missing_docs)] // documentation missing in model
|
2861 - | pub fn range_integer_list_header(
|
2862 - | mut self,
|
2863 - | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
2864 - | ) -> Self {
|
2865 - | self.range_integer_list_header = input;
|
2866 - | self
|
2838 + | }
|
2839 + | /// See [`QueryParamsTargetingMapOfListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput).
|
2840 + | pub mod query_params_targeting_map_of_list_of_pattern_string_operation_output {
|
2841 + |
|
2842 + | impl ::std::convert::From<Builder>
|
2843 + | for crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput
|
2844 + | {
|
2845 + | fn from(builder: Builder) -> Self {
|
2846 + | builder.build()
|
2867 2847 | }
|
2868 - | #[allow(missing_docs)] // documentation missing in model
|
2869 - | pub fn range_long_list_header(
|
2870 - | mut self,
|
2871 - | input: ::std::option::Option<::std::vec::Vec<i64>>,
|
2872 - | ) -> Self {
|
2873 - | self.range_long_list_header = input;
|
2874 - | self
|
2875 2848 | }
|
2849 + | /// A builder for [`QueryParamsTargetingMapOfListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput).
|
2850 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2851 + | pub struct Builder {
|
2852 + | pub(crate) map_of_list_of_pattern_string: ::std::option::Option<
|
2853 + | ::std::collections::HashMap<
|
2854 + | ::std::string::String,
|
2855 + | ::std::vec::Vec<::std::string::String>,
|
2856 + | >,
|
2857 + | >,
|
2858 + | }
|
2859 + | impl Builder {
|
2876 2860 | #[allow(missing_docs)] // documentation missing in model
|
2877 - | pub fn length_string_query(
|
2861 + | pub fn map_of_list_of_pattern_string(
|
2878 2862 | mut self,
|
2879 - | input: ::std::option::Option<::std::string::String>,
|
2863 + | input: ::std::option::Option<
|
2864 + | ::std::collections::HashMap<
|
2865 + | ::std::string::String,
|
2866 + | ::std::vec::Vec<::std::string::String>,
|
2867 + | >,
|
2868 + | >,
|
2880 2869 | ) -> Self {
|
2881 - | self.length_string_query = input;
|
2882 - | self
|
2883 - | }
|
2884 - | #[allow(missing_docs)] // documentation missing in model
|
2885 - | pub fn range_byte_query(mut self, input: i8) -> Self {
|
2886 - | self.range_byte_query = Some(input);
|
2870 + | self.map_of_list_of_pattern_string = input;
|
2887 2871 | self
|
2888 2872 | }
|
2889 - | #[allow(missing_docs)] // documentation missing in model
|
2890 - | pub fn range_short_query(mut self, input: i16) -> Self {
|
2891 - | self.range_short_query = Some(input);
|
2892 - | self
|
2873 + | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput).
|
2874 + | pub fn build(
|
2875 + | self,
|
2876 + | ) -> crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
2877 + | self.build_enforcing_required_and_enum_traits()
|
2893 2878 | }
|
2894 - | #[allow(missing_docs)] // documentation missing in model
|
2895 - | pub fn range_integer_query(mut self, input: i32) -> Self {
|
2896 - | self.range_integer_query = Some(input);
|
2897 - | self
|
2879 + | fn build_enforcing_required_and_enum_traits(
|
2880 + | self,
|
2881 + | ) -> crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
2882 + | crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput {
|
2883 + | map_of_list_of_pattern_string: self.map_of_list_of_pattern_string,
|
2898 2884 | }
|
2899 - | #[allow(missing_docs)] // documentation missing in model
|
2900 - | pub fn range_long_query(mut self, input: i64) -> Self {
|
2901 - | self.range_long_query = Some(input);
|
2902 - | self
|
2903 2885 | }
|
2904 - | #[allow(missing_docs)] // documentation missing in model
|
2905 - | pub fn enum_string_query(
|
2906 - | mut self,
|
2907 - | input: ::std::option::Option<crate::model::EnumString>,
|
2908 - | ) -> Self {
|
2909 - | self.enum_string_query = input;
|
2910 - | self
|
2911 2886 | }
|
2912 - | #[allow(missing_docs)] // documentation missing in model
|
2913 - | pub fn length_string_list_query(
|
2914 - | mut self,
|
2915 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2916 - | ) -> Self {
|
2917 - | self.length_string_list_query = input;
|
2918 - | self
|
2887 + | }
|
2888 + | /// See [`QueryParamsTargetingMapOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput).
|
2889 + | pub mod query_params_targeting_map_of_length_pattern_string_operation_output {
|
2890 + |
|
2891 + | impl ::std::convert::From<Builder>
|
2892 + | for crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput
|
2893 + | {
|
2894 + | fn from(builder: Builder) -> Self {
|
2895 + | builder.build()
|
2919 2896 | }
|
2920 - | #[allow(missing_docs)] // documentation missing in model
|
2921 - | pub fn length_list_pattern_string_query(
|
2922 - | mut self,
|
2923 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2924 - | ) -> Self {
|
2925 - | self.length_list_pattern_string_query = input;
|
2926 - | self
|
2927 2897 | }
|
2928 - | #[allow(missing_docs)] // documentation missing in model
|
2929 - | pub fn length_string_set_query(
|
2930 - | mut self,
|
2931 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2932 - | ) -> Self {
|
2933 - | self.length_string_set_query = input;
|
2934 - | self
|
2898 + | /// A builder for [`QueryParamsTargetingMapOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput).
|
2899 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2900 + | pub struct Builder {
|
2901 + | pub(crate) map_of_length_pattern_string: ::std::option::Option<
|
2902 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2903 + | >,
|
2935 2904 | }
|
2905 + | impl Builder {
|
2936 2906 | #[allow(missing_docs)] // documentation missing in model
|
2937 - | pub fn range_byte_list_query(
|
2907 + | pub fn map_of_length_pattern_string(
|
2938 2908 | mut self,
|
2939 - | input: ::std::option::Option<::std::vec::Vec<i8>>,
|
2909 + | input: ::std::option::Option<
|
2910 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2911 + | >,
|
2940 2912 | ) -> Self {
|
2941 - | self.range_byte_list_query = input;
|
2913 + | self.map_of_length_pattern_string = input;
|
2942 2914 | self
|
2943 2915 | }
|
2944 - | #[allow(missing_docs)] // documentation missing in model
|
2945 - | pub fn range_short_list_query(
|
2946 - | mut self,
|
2947 - | input: ::std::option::Option<::std::vec::Vec<i16>>,
|
2948 - | ) -> Self {
|
2949 - | self.range_short_list_query = input;
|
2950 - | self
|
2916 + | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput).
|
2917 + | pub fn build(
|
2918 + | self,
|
2919 + | ) -> crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
2920 + | self.build_enforcing_required_and_enum_traits()
|
2951 2921 | }
|
2952 - | #[allow(missing_docs)] // documentation missing in model
|
2953 - | pub fn range_integer_list_query(
|
2954 - | mut self,
|
2955 - | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
2956 - | ) -> Self {
|
2957 - | self.range_integer_list_query = input;
|
2958 - | self
|
2922 + | fn build_enforcing_required_and_enum_traits(
|
2923 + | self,
|
2924 + | ) -> crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
2925 + | crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput {
|
2926 + | map_of_length_pattern_string: self.map_of_length_pattern_string,
|
2959 2927 | }
|
2960 - | #[allow(missing_docs)] // documentation missing in model
|
2961 - | pub fn range_long_list_query(
|
2962 - | mut self,
|
2963 - | input: ::std::option::Option<::std::vec::Vec<i64>>,
|
2964 - | ) -> Self {
|
2965 - | self.range_long_list_query = input;
|
2966 - | self
|
2967 2928 | }
|
2968 - | #[allow(missing_docs)] // documentation missing in model
|
2969 - | pub fn range_byte_set_query(
|
2970 - | mut self,
|
2971 - | input: ::std::option::Option<::std::vec::Vec<i8>>,
|
2972 - | ) -> Self {
|
2973 - | self.range_byte_set_query = input;
|
2974 - | self
|
2975 2929 | }
|
2976 - | #[allow(missing_docs)] // documentation missing in model
|
2977 - | pub fn range_short_set_query(
|
2978 - | mut self,
|
2979 - | input: ::std::option::Option<::std::vec::Vec<i16>>,
|
2980 - | ) -> Self {
|
2981 - | self.range_short_set_query = input;
|
2982 - | self
|
2930 + | }
|
2931 + | /// See [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput).
|
2932 + | pub mod query_params_targeting_map_of_list_of_length_pattern_string_operation_output {
|
2933 + |
|
2934 + | impl ::std::convert::From<Builder>
|
2935 + | for crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput
|
2936 + | {
|
2937 + | fn from(builder: Builder) -> Self {
|
2938 + | builder.build()
|
2983 2939 | }
|
2984 - | #[allow(missing_docs)] // documentation missing in model
|
2985 - | pub fn range_integer_set_query(
|
2986 - | mut self,
|
2987 - | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
2988 - | ) -> Self {
|
2989 - | self.range_integer_set_query = input;
|
2990 - | self
|
2991 2940 | }
|
2992 - | #[allow(missing_docs)] // documentation missing in model
|
2993 - | pub fn range_long_set_query(
|
2994 - | mut self,
|
2995 - | input: ::std::option::Option<::std::vec::Vec<i64>>,
|
2996 - | ) -> Self {
|
2997 - | self.range_long_set_query = input;
|
2998 - | self
|
2941 + | /// A builder for [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput).
|
2942 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2943 + | pub struct Builder {
|
2944 + | pub(crate) map_of_length_pattern_string: ::std::option::Option<
|
2945 + | ::std::collections::HashMap<
|
2946 + | ::std::string::String,
|
2947 + | ::std::vec::Vec<::std::string::String>,
|
2948 + | >,
|
2949 + | >,
|
2999 2950 | }
|
2951 + | impl Builder {
|
3000 2952 | #[allow(missing_docs)] // documentation missing in model
|
3001 - | pub fn enum_string_list_query(
|
2953 + | pub fn map_of_length_pattern_string(
|
3002 2954 | mut self,
|
3003 - | input: ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
|
2955 + | input: ::std::option::Option<
|
2956 + | ::std::collections::HashMap<
|
2957 + | ::std::string::String,
|
2958 + | ::std::vec::Vec<::std::string::String>,
|
2959 + | >,
|
2960 + | >,
|
3004 2961 | ) -> Self {
|
3005 - | self.enum_string_list_query = input;
|
2962 + | self.map_of_length_pattern_string = input;
|
3006 2963 | self
|
3007 2964 | }
|
3008 - | /// Consumes the builder and constructs a [`ConstrainedHttpBoundShapesOperationOutput`](crate::output::ConstrainedHttpBoundShapesOperationOutput).
|
3009 - | ///
|
3010 - | /// The builder fails to construct a [`ConstrainedHttpBoundShapesOperationOutput`](crate::output::ConstrainedHttpBoundShapesOperationOutput) if you do not provide a value for all non-`Option`al members.
|
3011 - | ///
|
2965 + | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput`](crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput).
|
3012 2966 | pub fn build(
|
3013 2967 | self,
|
3014 - | ) -> Result<crate::output::ConstrainedHttpBoundShapesOperationOutput, ConstraintViolation>
|
2968 + | ) -> crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput
|
3015 2969 | {
|
3016 2970 | self.build_enforcing_required_and_enum_traits()
|
3017 2971 | }
|
3018 2972 | fn build_enforcing_required_and_enum_traits(
|
3019 2973 | self,
|
3020 - | ) -> Result<crate::output::ConstrainedHttpBoundShapesOperationOutput, ConstraintViolation>
|
2974 + | ) -> crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput
|
3021 2975 | {
|
3022 - | Ok(crate::output::ConstrainedHttpBoundShapesOperationOutput {
|
3023 - | length_string_label: self
|
3024 - | .length_string_label
|
3025 - | .ok_or(ConstraintViolation::MissingLengthStringLabel)?,
|
3026 - | range_integer_label: self.range_integer_label.unwrap_or(0i32),
|
3027 - | range_short_label: self.range_short_label.unwrap_or(0i16),
|
3028 - | range_long_label: self.range_long_label.unwrap_or(0i64),
|
3029 - | range_byte_label: self.range_byte_label.unwrap_or(0i8),
|
3030 - | enum_string_label: self
|
3031 - | .enum_string_label
|
3032 - | .ok_or(ConstraintViolation::MissingEnumStringLabel)?,
|
3033 - | length_string_header_map: self
|
3034 - | .length_string_header_map
|
3035 - | .ok_or(ConstraintViolation::MissingLengthStringHeaderMap)?,
|
3036 - | length_string_header: self.length_string_header,
|
3037 - | range_integer_header: self.range_integer_header.unwrap_or(0i32),
|
3038 - | range_short_header: self.range_short_header.unwrap_or(0i16),
|
3039 - | range_long_header: self.range_long_header.unwrap_or(0i64),
|
3040 - | range_byte_header: self.range_byte_header.unwrap_or(0i8),
|
3041 - | length_string_set_header: self.length_string_set_header,
|
3042 - | list_length_string_header: self.list_length_string_header,
|
3043 - | length_list_pattern_string_header: self.length_list_pattern_string_header,
|
3044 - | length_set_pattern_string_header: self.length_set_pattern_string_header,
|
3045 - | range_byte_set_header: self.range_byte_set_header,
|
3046 - | range_short_set_header: self.range_short_set_header,
|
3047 - | range_integer_set_header: self.range_integer_set_header,
|
3048 - | range_long_set_header: self.range_long_set_header,
|
3049 - | range_byte_list_header: self.range_byte_list_header,
|
3050 - | range_short_list_header: self.range_short_list_header,
|
3051 - | range_integer_list_header: self.range_integer_list_header,
|
3052 - | range_long_list_header: self.range_long_list_header,
|
3053 - | length_string_query: self.length_string_query,
|
3054 - | range_byte_query: self.range_byte_query.unwrap_or(0i8),
|
3055 - | range_short_query: self.range_short_query.unwrap_or(0i16),
|
3056 - | range_integer_query: self.range_integer_query.unwrap_or(0i32),
|
3057 - | range_long_query: self.range_long_query.unwrap_or(0i64),
|
3058 - | enum_string_query: self.enum_string_query,
|
3059 - | length_string_list_query: self.length_string_list_query,
|
3060 - | length_list_pattern_string_query: self.length_list_pattern_string_query,
|
3061 - | length_string_set_query: self.length_string_set_query,
|
3062 - | range_byte_list_query: self.range_byte_list_query,
|
3063 - | range_short_list_query: self.range_short_list_query,
|
3064 - | range_integer_list_query: self.range_integer_list_query,
|
3065 - | range_long_list_query: self.range_long_list_query,
|
3066 - | range_byte_set_query: self.range_byte_set_query,
|
3067 - | range_short_set_query: self.range_short_set_query,
|
3068 - | range_integer_set_query: self.range_integer_set_query,
|
3069 - | range_long_set_query: self.range_long_set_query,
|
3070 - | enum_string_list_query: self.enum_string_list_query,
|
3071 - | })
|
2976 + | crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput {
|
2977 + | map_of_length_pattern_string: self.map_of_length_pattern_string,
|
2978 + | }
|
3072 2979 | }
|
3073 2980 | }
|
3074 2981 | }
|
3075 - | /// See [`ConstrainedShapesOnlyInOutputOperationOutput`](crate::output::ConstrainedShapesOnlyInOutputOperationOutput).
|
3076 - | pub mod constrained_shapes_only_in_output_operation_output {
|
2982 + | /// See [`HttpPrefixHeadersTargetingLengthMapOperationOutput`](crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput).
|
2983 + | pub mod http_prefix_headers_targeting_length_map_operation_output {
|
3077 2984 |
|
3078 - | impl ::std::convert::From<Builder> for crate::output::ConstrainedShapesOnlyInOutputOperationOutput {
|
2985 + | impl ::std::convert::From<Builder>
|
2986 + | for crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput
|
2987 + | {
|
3079 2988 | fn from(builder: Builder) -> Self {
|
3080 2989 | builder.build()
|
3081 2990 | }
|
3082 2991 | }
|
3083 - | /// A builder for [`ConstrainedShapesOnlyInOutputOperationOutput`](crate::output::ConstrainedShapesOnlyInOutputOperationOutput).
|
2992 + | /// A builder for [`HttpPrefixHeadersTargetingLengthMapOperationOutput`](crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput).
|
3084 2993 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3085 2994 | pub struct Builder {
|
3086 - | pub(crate) list:
|
3087 - | ::std::option::Option<::std::vec::Vec<crate::model::ConstrainedUnionInOutput>>,
|
3088 - | pub(crate) map: ::std::option::Option<
|
3089 - | ::std::collections::HashMap<
|
3090 - | ::std::string::String,
|
3091 - | crate::model::TransitivelyConstrainedStructureInOutput,
|
3092 - | >,
|
2995 + | pub(crate) length_map: ::std::option::Option<
|
2996 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3093 2997 | >,
|
3094 - | pub(crate) union: ::std::option::Option<crate::model::ConstrainedUnionInOutput>,
|
3095 2998 | }
|
3096 2999 | impl Builder {
|
3097 3000 | #[allow(missing_docs)] // documentation missing in model
|
3098 - | pub fn list(
|
3001 + | pub fn length_map(
|
3099 3002 | mut self,
|
3100 - | input: ::std::option::Option<::std::vec::Vec<crate::model::ConstrainedUnionInOutput>>,
|
3003 + | input: ::std::option::Option<
|
3004 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3005 + | >,
|
3101 3006 | ) -> Self {
|
3102 - | self.list = input;
|
3007 + | self.length_map = input;
|
3103 3008 | self
|
3104 3009 | }
|
3010 + | /// Consumes the builder and constructs a [`HttpPrefixHeadersTargetingLengthMapOperationOutput`](crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput).
|
3011 + | pub fn build(self) -> crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
3012 + | self.build_enforcing_required_and_enum_traits()
|
3013 + | }
|
3014 + | fn build_enforcing_required_and_enum_traits(
|
3015 + | self,
|
3016 + | ) -> crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
3017 + | crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput {
|
3018 + | length_map: self.length_map,
|
3019 + | }
|
3020 + | }
|
3021 + | }
|
3022 + | }
|
3023 + | /// See [`QueryParamsTargetingMapOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput).
|
3024 + | pub mod query_params_targeting_map_of_enum_string_operation_output {
|
3025 + |
|
3026 + | impl ::std::convert::From<Builder>
|
3027 + | for crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput
|
3028 + | {
|
3029 + | fn from(builder: Builder) -> Self {
|
3030 + | builder.build()
|
3031 + | }
|
3032 + | }
|
3033 + | /// A builder for [`QueryParamsTargetingMapOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput).
|
3034 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3035 + | pub struct Builder {
|
3036 + | pub(crate) map_of_enum_string: ::std::option::Option<
|
3037 + | ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
|
3038 + | >,
|
3039 + | }
|
3040 + | impl Builder {
|
3105 3041 | #[allow(missing_docs)] // documentation missing in model
|
3106 - | pub fn map(
|
3042 + | pub fn map_of_enum_string(
|
3107 3043 | mut self,
|
3108 3044 | input: ::std::option::Option<
|
3109 - | ::std::collections::HashMap<
|
3110 - | ::std::string::String,
|
3111 - | crate::model::TransitivelyConstrainedStructureInOutput,
|
3112 - | >,
|
3045 + | ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
|
3113 3046 | >,
|
3114 3047 | ) -> Self {
|
3115 - | self.map = input;
|
3048 + | self.map_of_enum_string = input;
|
3116 3049 | self
|
3117 3050 | }
|
3051 + | /// Consumes the builder and constructs a [`QueryParamsTargetingMapOfEnumStringOperationOutput`](crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput).
|
3052 + | pub fn build(self) -> crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput {
|
3053 + | self.build_enforcing_required_and_enum_traits()
|
3054 + | }
|
3055 + | fn build_enforcing_required_and_enum_traits(
|
3056 + | self,
|
3057 + | ) -> crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput {
|
3058 + | crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput {
|
3059 + | map_of_enum_string: self.map_of_enum_string,
|
3060 + | }
|
3061 + | }
|
3062 + | }
|
3063 + | }
|
3064 + | /// See [`NonStreamingBlobOperationOutput`](crate::output::NonStreamingBlobOperationOutput).
|
3065 + | pub mod non_streaming_blob_operation_output {
|
3066 + |
|
3067 + | impl ::std::convert::From<Builder> for crate::output::NonStreamingBlobOperationOutput {
|
3068 + | fn from(builder: Builder) -> Self {
|
3069 + | builder.build()
|
3070 + | }
|
3071 + | }
|
3072 + | /// A builder for [`NonStreamingBlobOperationOutput`](crate::output::NonStreamingBlobOperationOutput).
|
3073 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3074 + | pub struct Builder {
|
3075 + | pub(crate) non_streaming_blob:
|
3076 + | ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
3077 + | }
|
3078 + | impl Builder {
|
3118 3079 | #[allow(missing_docs)] // documentation missing in model
|
3119 - | pub fn union(
|
3080 + | pub fn non_streaming_blob(
|
3120 3081 | mut self,
|
3121 - | input: ::std::option::Option<crate::model::ConstrainedUnionInOutput>,
|
3082 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
3122 3083 | ) -> Self {
|
3123 - | self.union = input;
|
3084 + | self.non_streaming_blob = input;
|
3124 3085 | self
|
3125 3086 | }
|
3126 - | /// Consumes the builder and constructs a [`ConstrainedShapesOnlyInOutputOperationOutput`](crate::output::ConstrainedShapesOnlyInOutputOperationOutput).
|
3127 - | pub fn build(self) -> crate::output::ConstrainedShapesOnlyInOutputOperationOutput {
|
3087 + | /// Consumes the builder and constructs a [`NonStreamingBlobOperationOutput`](crate::output::NonStreamingBlobOperationOutput).
|
3088 + | pub fn build(self) -> crate::output::NonStreamingBlobOperationOutput {
|
3128 3089 | self.build_enforcing_required_and_enum_traits()
|
3129 3090 | }
|
3130 3091 | fn build_enforcing_required_and_enum_traits(
|
3131 3092 | self,
|
3132 - | ) -> crate::output::ConstrainedShapesOnlyInOutputOperationOutput {
|
3133 - | crate::output::ConstrainedShapesOnlyInOutputOperationOutput {
|
3134 - | list: self.list,
|
3135 - | map: self.map,
|
3136 - | union: self.union,
|
3093 + | ) -> crate::output::NonStreamingBlobOperationOutput {
|
3094 + | crate::output::NonStreamingBlobOperationOutput {
|
3095 + | non_streaming_blob: self.non_streaming_blob,
|
3137 3096 | }
|
3138 3097 | }
|
3139 3098 | }
|
3140 3099 | }
|
3141 - | /// See [`ConstrainedShapesOperationOutput`](crate::output::ConstrainedShapesOperationOutput).
|
3142 - | pub mod constrained_shapes_operation_output {
|
3100 + | /// See [`StreamingBlobOperationOutput`](crate::output::StreamingBlobOperationOutput).
|
3101 + | pub mod streaming_blob_operation_output {
|
3102 + |
|
3103 + | impl ::std::convert::From<Builder> for crate::output::StreamingBlobOperationOutput {
|
3104 + | fn from(builder: Builder) -> Self {
|
3105 + | builder.build()
|
3106 + | }
|
3107 + | }
|
3108 + | /// A builder for [`StreamingBlobOperationOutput`](crate::output::StreamingBlobOperationOutput).
|
3109 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3110 + | pub struct Builder {
|
3111 + | pub(crate) streaming_blob:
|
3112 + | ::std::option::Option<::aws_smithy_http_server_python::types::ByteStream>,
|
3113 + | }
|
3114 + | impl Builder {
|
3115 + | #[allow(missing_docs)] // documentation missing in model
|
3116 + | pub fn streaming_blob(
|
3117 + | mut self,
|
3118 + | input: ::aws_smithy_http_server_python::types::ByteStream,
|
3119 + | ) -> Self {
|
3120 + | self.streaming_blob = Some(input);
|
3121 + | self
|
3122 + | }
|
3123 + | /// Consumes the builder and constructs a [`StreamingBlobOperationOutput`](crate::output::StreamingBlobOperationOutput).
|
3124 + | pub fn build(self) -> crate::output::StreamingBlobOperationOutput {
|
3125 + | self.build_enforcing_required_and_enum_traits()
|
3126 + | }
|
3127 + | fn build_enforcing_required_and_enum_traits(
|
3128 + | self,
|
3129 + | ) -> crate::output::StreamingBlobOperationOutput {
|
3130 + | crate::output::StreamingBlobOperationOutput {
|
3131 + | streaming_blob: self.streaming_blob.unwrap_or_default(),
|
3132 + | }
|
3133 + | }
|
3134 + | }
|
3135 + | }
|
3136 + | /// See [`EventStreamsOperationOutput`](crate::output::EventStreamsOperationOutput).
|
3137 + | pub mod event_streams_operation_output {
|
3143 3138 |
|
3144 3139 | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
3145 3140 | /// Holds one variant for each of the ways the builder can fail.
|
3146 3141 | #[allow(clippy::enum_variant_names)]
|
3147 3142 | pub enum ConstraintViolation {
|
3148 - | /// `con_a` was not provided but it is required when building `ConstrainedShapesOperationOutput`.
|
3149 - | MissingConA,
|
3143 + | /// `events` was not provided but it is required when building `EventStreamsOperationOutput`.
|
3144 + | MissingEvents,
|
3150 3145 | }
|
3151 3146 | impl ::std::fmt::Display for ConstraintViolation {
|
3152 3147 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
3153 3148 | match self {
|
3154 - | ConstraintViolation::MissingConA => write!(f, "`con_a` was not provided but it is required when building `ConstrainedShapesOperationOutput`"),
|
3149 + | ConstraintViolation::MissingEvents => write!(f, "`events` was not provided but it is required when building `EventStreamsOperationOutput`"),
|
3155 3150 | }
|
3156 3151 | }
|
3157 3152 | }
|
3158 3153 | impl ::std::error::Error for ConstraintViolation {}
|
3159 - | impl ::std::convert::TryFrom<Builder> for crate::output::ConstrainedShapesOperationOutput {
|
3154 + | impl ::std::convert::TryFrom<Builder> for crate::output::EventStreamsOperationOutput {
|
3160 3155 | type Error = ConstraintViolation;
|
3161 3156 |
|
3162 3157 | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
3163 3158 | builder.build()
|
3164 3159 | }
|
3165 3160 | }
|
3166 - | /// A builder for [`ConstrainedShapesOperationOutput`](crate::output::ConstrainedShapesOperationOutput).
|
3161 + | /// A builder for [`EventStreamsOperationOutput`](crate::output::EventStreamsOperationOutput).
|
3167 3162 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3168 3163 | pub struct Builder {
|
3169 - | pub(crate) con_a: ::std::option::Option<crate::model::ConA>,
|
3164 + | pub(crate) events: ::std::option::Option<
|
3165 + | crate::python_event_stream::EventStreamsOperationOutputEventsEventStreamSender,
|
3166 + | >,
|
3170 3167 | }
|
3171 3168 | impl Builder {
|
3172 3169 | #[allow(missing_docs)] // documentation missing in model
|
3173 - | pub fn con_a(mut self, input: crate::model::ConA) -> Self {
|
3174 - | self.con_a = Some(input);
|
3170 + | pub fn events(
|
3171 + | mut self,
|
3172 + | input: crate::python_event_stream::EventStreamsOperationOutputEventsEventStreamSender,
|
3173 + | ) -> Self {
|
3174 + | self.events = Some(input);
|
3175 3175 | self
|
3176 3176 | }
|
3177 - | /// Consumes the builder and constructs a [`ConstrainedShapesOperationOutput`](crate::output::ConstrainedShapesOperationOutput).
|
3177 + | /// Consumes the builder and constructs a [`EventStreamsOperationOutput`](crate::output::EventStreamsOperationOutput).
|
3178 3178 | ///
|
3179 - | /// The builder fails to construct a [`ConstrainedShapesOperationOutput`](crate::output::ConstrainedShapesOperationOutput) if you do not provide a value for all non-`Option`al members.
|
3179 + | /// The builder fails to construct a [`EventStreamsOperationOutput`](crate::output::EventStreamsOperationOutput) if you do not provide a value for all non-`Option`al members.
|
3180 3180 | ///
|
3181 3181 | pub fn build(
|
3182 3182 | self,
|
3183 - | ) -> Result<crate::output::ConstrainedShapesOperationOutput, ConstraintViolation> {
|
3183 + | ) -> Result<crate::output::EventStreamsOperationOutput, ConstraintViolation> {
|
3184 3184 | self.build_enforcing_required_and_enum_traits()
|
3185 3185 | }
|
3186 3186 | fn build_enforcing_required_and_enum_traits(
|
3187 3187 | self,
|
3188 - | ) -> Result<crate::output::ConstrainedShapesOperationOutput, ConstraintViolation> {
|
3189 - | Ok(crate::output::ConstrainedShapesOperationOutput {
|
3190 - | con_a: self.con_a.ok_or(ConstraintViolation::MissingConA)?,
|
3188 + | ) -> Result<crate::output::EventStreamsOperationOutput, ConstraintViolation> {
|
3189 + | Ok(crate::output::EventStreamsOperationOutput {
|
3190 + | events: self.events.ok_or(ConstraintViolation::MissingEvents)?,
|
3191 3191 | })
|
3192 3192 | }
|
3193 3193 | }
|
3194 3194 | }
|