1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 + | /* RustType.kt:516 */
|
2 3 | #[::pyo3::pyclass]
|
4 + | /* PythonServerStructureGenerator.kt:63 */
|
3 5 | /// :param value typing.Optional\[int\]:
|
4 6 | /// :rtype None:
|
7 + | /* StructureGenerator.kt:197 */
|
5 8 | #[allow(missing_docs)] // documentation missing in model
|
9 + | /* RustType.kt:516 */
|
6 10 | #[derive(
|
7 11 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
8 12 | )]
|
9 - | pub struct ContentTypeParametersInput {
|
13 + | pub /* StructureGenerator.kt:201 */ struct ContentTypeParametersInput {
|
14 + | /* RustType.kt:516 */
|
10 15 | #[pyo3(get, set)]
|
16 + | /* PythonServerStructureGenerator.kt:80 */
|
11 17 | /// :type typing.Optional\[int\]:
|
18 + | /* StructureGenerator.kt:231 */
|
12 19 | #[allow(missing_docs)] // documentation missing in model
|
13 20 | pub value: ::std::option::Option<i32>,
|
21 + | /* StructureGenerator.kt:201 */
|
14 22 | }
|
23 + | /* StructureGenerator.kt:135 */
|
15 24 | impl ContentTypeParametersInput {
|
25 + | /* StructureGenerator.kt:231 */
|
16 26 | #[allow(missing_docs)] // documentation missing in model
|
27 + | /* StructureGenerator.kt:166 */
|
17 28 | pub fn value(&self) -> ::std::option::Option<i32> {
|
29 + | /* StructureGenerator.kt:168 */
|
18 30 | self.value
|
31 + | /* StructureGenerator.kt:166 */
|
19 32 | }
|
33 + | /* StructureGenerator.kt:135 */
|
20 34 | }
|
35 + | /* RustType.kt:516 */
|
21 36 | #[allow(clippy::new_without_default)]
|
37 + | /* RustType.kt:516 */
|
22 38 | #[allow(clippy::too_many_arguments)]
|
39 + | /* RustType.kt:516 */
|
23 40 | #[::pyo3::pymethods]
|
41 + | /* PythonServerStructureGenerator.kt:88 */
|
24 42 | impl ContentTypeParametersInput {
|
25 43 | #[new]
|
26 44 | pub fn new(value: ::std::option::Option<i32>) -> Self {
|
27 45 | Self { value }
|
28 46 | }
|
29 47 | fn __repr__(&self) -> String {
|
30 48 | format!("{self:?}")
|
31 49 | }
|
32 50 | fn __str__(&self) -> String {
|
33 51 | format!("{self:?}")
|
34 52 | }
|
35 53 | }
|
54 + | /* PythonServerStructureGenerator.kt:111 */
|
36 55 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ContentTypeParametersInput> {
|
37 56 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
38 57 | ob.extract::<ContentTypeParametersInput>().map(Box::new)
|
39 58 | }
|
40 59 | }
|
41 60 |
|
42 61 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ContentTypeParametersInput> {
|
43 62 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
44 63 | (*self).into_py(py)
|
45 64 | }
|
46 65 | }
|
66 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
47 67 | impl crate::constrained::Constrained for crate::input::ContentTypeParametersInput {
|
48 68 | type Unconstrained = crate::input::content_type_parameters_input_internal::Builder;
|
49 69 | }
|
70 + | /* ServerCodegenVisitor.kt:370 */
|
50 71 | impl ContentTypeParametersInput {
|
51 - | /// Creates a new builder-style object to manufacture [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
72 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
73 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
52 74 | pub fn builder() -> crate::input::content_type_parameters_input::Builder {
|
75 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
53 76 | crate::input::content_type_parameters_input::Builder::default()
|
77 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
54 78 | }
|
79 + | /* ServerCodegenVisitor.kt:370 */
|
55 80 | }
|
56 81 |
|
82 + | /* RustType.kt:516 */
|
57 83 | #[::pyo3::pyclass]
|
84 + | /* PythonServerStructureGenerator.kt:63 */
|
58 85 | /// :param encoding typing.Optional\[str\]:
|
59 86 | /// :param data typing.Optional\[str\]:
|
60 87 | /// :rtype None:
|
88 + | /* StructureGenerator.kt:197 */
|
61 89 | #[allow(missing_docs)] // documentation missing in model
|
90 + | /* RustType.kt:516 */
|
62 91 | #[derive(
|
63 92 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
64 93 | )]
|
65 - | pub struct PutWithContentEncodingInput {
|
94 + | pub /* StructureGenerator.kt:201 */ struct PutWithContentEncodingInput {
|
95 + | /* RustType.kt:516 */
|
66 96 | #[pyo3(get, set)]
|
97 + | /* PythonServerStructureGenerator.kt:80 */
|
67 98 | /// :type typing.Optional\[str\]:
|
99 + | /* StructureGenerator.kt:231 */
|
68 100 | #[allow(missing_docs)] // documentation missing in model
|
69 101 | pub encoding: ::std::option::Option<::std::string::String>,
|
102 + | /* RustType.kt:516 */
|
70 103 | #[pyo3(get, set)]
|
104 + | /* PythonServerStructureGenerator.kt:80 */
|
71 105 | /// :type typing.Optional\[str\]:
|
106 + | /* StructureGenerator.kt:231 */
|
72 107 | #[allow(missing_docs)] // documentation missing in model
|
73 108 | pub data: ::std::option::Option<::std::string::String>,
|
109 + | /* StructureGenerator.kt:201 */
|
74 110 | }
|
111 + | /* StructureGenerator.kt:135 */
|
75 112 | impl PutWithContentEncodingInput {
|
113 + | /* StructureGenerator.kt:231 */
|
76 114 | #[allow(missing_docs)] // documentation missing in model
|
115 + | /* StructureGenerator.kt:166 */
|
77 116 | pub fn encoding(&self) -> ::std::option::Option<&str> {
|
117 + | /* StructureGenerator.kt:169 */
|
78 118 | self.encoding.as_deref()
|
119 + | /* StructureGenerator.kt:166 */
|
79 120 | }
|
121 + | /* StructureGenerator.kt:231 */
|
80 122 | #[allow(missing_docs)] // documentation missing in model
|
123 + | /* StructureGenerator.kt:166 */
|
81 124 | pub fn data(&self) -> ::std::option::Option<&str> {
|
125 + | /* StructureGenerator.kt:169 */
|
82 126 | self.data.as_deref()
|
127 + | /* StructureGenerator.kt:166 */
|
83 128 | }
|
129 + | /* StructureGenerator.kt:135 */
|
84 130 | }
|
131 + | /* RustType.kt:516 */
|
85 132 | #[allow(clippy::new_without_default)]
|
133 + | /* RustType.kt:516 */
|
86 134 | #[allow(clippy::too_many_arguments)]
|
135 + | /* RustType.kt:516 */
|
87 136 | #[::pyo3::pymethods]
|
137 + | /* PythonServerStructureGenerator.kt:88 */
|
88 138 | impl PutWithContentEncodingInput {
|
89 139 | #[new]
|
90 140 | pub fn new(
|
91 141 | encoding: ::std::option::Option<::std::string::String>,
|
92 142 | data: ::std::option::Option<::std::string::String>,
|
93 143 | ) -> Self {
|
94 144 | Self { encoding, data }
|
95 145 | }
|
96 146 | fn __repr__(&self) -> String {
|
97 147 | format!("{self:?}")
|
98 148 | }
|
99 149 | fn __str__(&self) -> String {
|
100 150 | format!("{self:?}")
|
101 151 | }
|
102 152 | }
|
153 + | /* PythonServerStructureGenerator.kt:111 */
|
103 154 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PutWithContentEncodingInput> {
|
104 155 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
105 156 | ob.extract::<PutWithContentEncodingInput>().map(Box::new)
|
106 157 | }
|
107 158 | }
|
108 159 |
|
109 160 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PutWithContentEncodingInput> {
|
110 161 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
111 162 | (*self).into_py(py)
|
112 163 | }
|
113 164 | }
|
165 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
114 166 | impl crate::constrained::Constrained for crate::input::PutWithContentEncodingInput {
|
115 167 | type Unconstrained = crate::input::put_with_content_encoding_input_internal::Builder;
|
116 168 | }
|
169 + | /* ServerCodegenVisitor.kt:370 */
|
117 170 | impl PutWithContentEncodingInput {
|
118 - | /// Creates a new builder-style object to manufacture [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
171 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
172 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
119 173 | pub fn builder() -> crate::input::put_with_content_encoding_input::Builder {
|
174 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
120 175 | crate::input::put_with_content_encoding_input::Builder::default()
|
176 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
121 177 | }
|
178 + | /* ServerCodegenVisitor.kt:370 */
|
122 179 | }
|
123 180 |
|
181 + | /* RustType.kt:516 */
|
124 182 | #[::pyo3::pyclass]
|
183 + | /* PythonServerStructureGenerator.kt:63 */
|
125 184 | /// :rtype None:
|
185 + | /* StructureGenerator.kt:197 */
|
126 186 | #[allow(missing_docs)] // documentation missing in model
|
187 + | /* RustType.kt:516 */
|
127 188 | #[derive(
|
128 189 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
129 190 | )]
|
130 - | pub struct FractionalSecondsInput {}
|
191 + | pub /* StructureGenerator.kt:201 */ struct FractionalSecondsInput {/* StructureGenerator.kt:201 */}
|
192 + | /* RustType.kt:516 */
|
131 193 | #[allow(clippy::new_without_default)]
|
194 + | /* RustType.kt:516 */
|
132 195 | #[allow(clippy::too_many_arguments)]
|
196 + | /* RustType.kt:516 */
|
133 197 | #[::pyo3::pymethods]
|
198 + | /* PythonServerStructureGenerator.kt:88 */
|
134 199 | impl FractionalSecondsInput {
|
135 200 | #[new]
|
136 201 | pub fn new() -> Self {
|
137 202 | Self {}
|
138 203 | }
|
139 204 | fn __repr__(&self) -> String {
|
140 205 | format!("{self:?}")
|
141 206 | }
|
142 207 | fn __str__(&self) -> String {
|
143 208 | format!("{self:?}")
|
144 209 | }
|
145 210 | }
|
211 + | /* PythonServerStructureGenerator.kt:111 */
|
146 212 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<FractionalSecondsInput> {
|
147 213 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
148 214 | ob.extract::<FractionalSecondsInput>().map(Box::new)
|
149 215 | }
|
150 216 | }
|
151 217 |
|
152 218 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<FractionalSecondsInput> {
|
153 219 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
154 220 | (*self).into_py(py)
|
155 221 | }
|
156 222 | }
|
223 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
157 224 | impl crate::constrained::Constrained for crate::input::FractionalSecondsInput {
|
158 225 | type Unconstrained = crate::input::fractional_seconds_input_internal::Builder;
|
159 226 | }
|
227 + | /* ServerCodegenVisitor.kt:370 */
|
160 228 | impl FractionalSecondsInput {
|
161 - | /// Creates a new builder-style object to manufacture [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
229 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
230 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
162 231 | pub fn builder() -> crate::input::fractional_seconds_input::Builder {
|
232 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
163 233 | crate::input::fractional_seconds_input::Builder::default()
|
234 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
164 235 | }
|
236 + | /* ServerCodegenVisitor.kt:370 */
|
165 237 | }
|
166 238 |
|
239 + | /* RustType.kt:516 */
|
167 240 | #[::pyo3::pyclass]
|
241 + | /* PythonServerStructureGenerator.kt:63 */
|
168 242 | /// :rtype None:
|
243 + | /* StructureGenerator.kt:197 */
|
169 244 | #[allow(missing_docs)] // documentation missing in model
|
245 + | /* RustType.kt:516 */
|
170 246 | #[derive(
|
171 247 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
172 248 | )]
|
173 - | pub struct DatetimeOffsetsInput {}
|
249 + | pub /* StructureGenerator.kt:201 */ struct DatetimeOffsetsInput {/* StructureGenerator.kt:201 */}
|
250 + | /* RustType.kt:516 */
|
174 251 | #[allow(clippy::new_without_default)]
|
252 + | /* RustType.kt:516 */
|
175 253 | #[allow(clippy::too_many_arguments)]
|
254 + | /* RustType.kt:516 */
|
176 255 | #[::pyo3::pymethods]
|
256 + | /* PythonServerStructureGenerator.kt:88 */
|
177 257 | impl DatetimeOffsetsInput {
|
178 258 | #[new]
|
179 259 | pub fn new() -> Self {
|
180 260 | Self {}
|
181 261 | }
|
182 262 | fn __repr__(&self) -> String {
|
183 263 | format!("{self:?}")
|
184 264 | }
|
185 265 | fn __str__(&self) -> String {
|
186 266 | format!("{self:?}")
|
187 267 | }
|
188 268 | }
|
269 + | /* PythonServerStructureGenerator.kt:111 */
|
189 270 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<DatetimeOffsetsInput> {
|
190 271 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
191 272 | ob.extract::<DatetimeOffsetsInput>().map(Box::new)
|
192 273 | }
|
193 274 | }
|
194 275 |
|
195 276 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DatetimeOffsetsInput> {
|
196 277 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
197 278 | (*self).into_py(py)
|
198 279 | }
|
199 280 | }
|
281 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
200 282 | impl crate::constrained::Constrained for crate::input::DatetimeOffsetsInput {
|
201 283 | type Unconstrained = crate::input::datetime_offsets_input_internal::Builder;
|
202 284 | }
|
285 + | /* ServerCodegenVisitor.kt:370 */
|
203 286 | impl DatetimeOffsetsInput {
|
204 - | /// Creates a new builder-style object to manufacture [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
287 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
288 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
205 289 | pub fn builder() -> crate::input::datetime_offsets_input::Builder {
|
290 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
206 291 | crate::input::datetime_offsets_input::Builder::default()
|
292 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
207 293 | }
|
294 + | /* ServerCodegenVisitor.kt:370 */
|
208 295 | }
|
209 296 |
|
297 + | /* RustType.kt:516 */
|
210 298 | #[::pyo3::pyclass]
|
299 + | /* PythonServerStructureGenerator.kt:63 */
|
211 300 | /// :rtype None:
|
301 + | /* StructureGenerator.kt:197 */
|
212 302 | #[allow(missing_docs)] // documentation missing in model
|
303 + | /* RustType.kt:516 */
|
213 304 | #[derive(
|
214 305 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
215 306 | )]
|
216 - | pub struct HostWithPathOperationInput {}
|
307 + | pub /* StructureGenerator.kt:201 */ struct HostWithPathOperationInput {/* StructureGenerator.kt:201 */}
|
308 + | /* RustType.kt:516 */
|
217 309 | #[allow(clippy::new_without_default)]
|
310 + | /* RustType.kt:516 */
|
218 311 | #[allow(clippy::too_many_arguments)]
|
312 + | /* RustType.kt:516 */
|
219 313 | #[::pyo3::pymethods]
|
314 + | /* PythonServerStructureGenerator.kt:88 */
|
220 315 | impl HostWithPathOperationInput {
|
221 316 | #[new]
|
222 317 | pub fn new() -> Self {
|
223 318 | Self {}
|
224 319 | }
|
225 320 | fn __repr__(&self) -> String {
|
226 321 | format!("{self:?}")
|
227 322 | }
|
228 323 | fn __str__(&self) -> String {
|
229 324 | format!("{self:?}")
|
230 325 | }
|
231 326 | }
|
327 + | /* PythonServerStructureGenerator.kt:111 */
|
232 328 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HostWithPathOperationInput> {
|
233 329 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
234 330 | ob.extract::<HostWithPathOperationInput>().map(Box::new)
|
235 331 | }
|
236 332 | }
|
237 333 |
|
238 334 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HostWithPathOperationInput> {
|
239 335 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
240 336 | (*self).into_py(py)
|
241 337 | }
|
242 338 | }
|
339 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
243 340 | impl crate::constrained::Constrained for crate::input::HostWithPathOperationInput {
|
244 341 | type Unconstrained = crate::input::host_with_path_operation_input_internal::Builder;
|
245 342 | }
|
343 + | /* ServerCodegenVisitor.kt:370 */
|
246 344 | impl HostWithPathOperationInput {
|
247 - | /// Creates a new builder-style object to manufacture [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
345 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
346 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
248 347 | pub fn builder() -> crate::input::host_with_path_operation_input::Builder {
|
348 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
249 349 | crate::input::host_with_path_operation_input::Builder::default()
|
350 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
250 351 | }
|
352 + | /* ServerCodegenVisitor.kt:370 */
|
251 353 | }
|
252 354 |
|
355 + | /* RustType.kt:516 */
|
253 356 | #[::pyo3::pyclass]
|
357 + | /* PythonServerStructureGenerator.kt:63 */
|
254 358 | /// :param label str:
|
255 359 | /// :rtype None:
|
360 + | /* StructureGenerator.kt:197 */
|
256 361 | #[allow(missing_docs)] // documentation missing in model
|
362 + | /* RustType.kt:516 */
|
257 363 | #[derive(
|
258 364 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
259 365 | )]
|
260 - | pub struct EndpointWithHostLabelOperationInput {
|
366 + | pub /* StructureGenerator.kt:201 */ struct EndpointWithHostLabelOperationInput {
|
367 + | /* RustType.kt:516 */
|
261 368 | #[pyo3(get, set)]
|
369 + | /* PythonServerStructureGenerator.kt:80 */
|
262 370 | /// :type str:
|
371 + | /* StructureGenerator.kt:231 */
|
263 372 | #[allow(missing_docs)] // documentation missing in model
|
264 373 | pub label: ::std::string::String,
|
374 + | /* StructureGenerator.kt:201 */
|
265 375 | }
|
376 + | /* StructureGenerator.kt:135 */
|
266 377 | impl EndpointWithHostLabelOperationInput {
|
378 + | /* StructureGenerator.kt:231 */
|
267 379 | #[allow(missing_docs)] // documentation missing in model
|
380 + | /* StructureGenerator.kt:166 */
|
268 381 | pub fn label(&self) -> &str {
|
382 + | /* StructureGenerator.kt:171 */
|
269 383 | use std::ops::Deref;
|
270 384 | self.label.deref()
|
385 + | /* StructureGenerator.kt:166 */
|
271 386 | }
|
387 + | /* StructureGenerator.kt:135 */
|
272 388 | }
|
389 + | /* RustType.kt:516 */
|
273 390 | #[allow(clippy::new_without_default)]
|
391 + | /* RustType.kt:516 */
|
274 392 | #[allow(clippy::too_many_arguments)]
|
393 + | /* RustType.kt:516 */
|
275 394 | #[::pyo3::pymethods]
|
395 + | /* PythonServerStructureGenerator.kt:88 */
|
276 396 | impl EndpointWithHostLabelOperationInput {
|
277 397 | #[new]
|
278 398 | pub fn new(label: ::std::string::String) -> Self {
|
279 399 | Self { label }
|
280 400 | }
|
281 401 | fn __repr__(&self) -> String {
|
282 402 | format!("{self:?}")
|
283 403 | }
|
284 404 | fn __str__(&self) -> String {
|
285 405 | format!("{self:?}")
|
286 406 | }
|
287 407 | }
|
408 + | /* PythonServerStructureGenerator.kt:111 */
|
288 409 | impl<'source> ::pyo3::FromPyObject<'source>
|
289 410 | for std::boxed::Box<EndpointWithHostLabelOperationInput>
|
290 411 | {
|
291 412 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
292 413 | ob.extract::<EndpointWithHostLabelOperationInput>()
|
293 414 | .map(Box::new)
|
294 415 | }
|
295 416 | }
|
296 417 |
|
297 418 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EndpointWithHostLabelOperationInput> {
|
298 419 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
299 420 | (*self).into_py(py)
|
300 421 | }
|
301 422 | }
|
423 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
302 424 | impl crate::constrained::Constrained for crate::input::EndpointWithHostLabelOperationInput {
|
303 425 | type Unconstrained = crate::input::endpoint_with_host_label_operation_input_internal::Builder;
|
304 426 | }
|
427 + | /* ServerCodegenVisitor.kt:370 */
|
305 428 | impl EndpointWithHostLabelOperationInput {
|
306 - | /// Creates a new builder-style object to manufacture [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
429 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
430 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
307 431 | pub fn builder() -> crate::input::endpoint_with_host_label_operation_input::Builder {
|
432 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
308 433 | crate::input::endpoint_with_host_label_operation_input::Builder::default()
|
434 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
309 435 | }
|
436 + | /* ServerCodegenVisitor.kt:370 */
|
310 437 | }
|
311 438 |
|
439 + | /* RustType.kt:516 */
|
312 440 | #[::pyo3::pyclass]
|
441 + | /* PythonServerStructureGenerator.kt:63 */
|
313 442 | /// :rtype None:
|
443 + | /* StructureGenerator.kt:197 */
|
314 444 | #[allow(missing_docs)] // documentation missing in model
|
445 + | /* RustType.kt:516 */
|
315 446 | #[derive(
|
316 447 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
317 448 | )]
|
318 - | pub struct EndpointOperationInput {}
|
449 + | pub /* StructureGenerator.kt:201 */ struct EndpointOperationInput {/* StructureGenerator.kt:201 */}
|
450 + | /* RustType.kt:516 */
|
319 451 | #[allow(clippy::new_without_default)]
|
452 + | /* RustType.kt:516 */
|
320 453 | #[allow(clippy::too_many_arguments)]
|
454 + | /* RustType.kt:516 */
|
321 455 | #[::pyo3::pymethods]
|
456 + | /* PythonServerStructureGenerator.kt:88 */
|
322 457 | impl EndpointOperationInput {
|
323 458 | #[new]
|
324 459 | pub fn new() -> Self {
|
325 460 | Self {}
|
326 461 | }
|
327 462 | fn __repr__(&self) -> String {
|
328 463 | format!("{self:?}")
|
329 464 | }
|
330 465 | fn __str__(&self) -> String {
|
331 466 | format!("{self:?}")
|
332 467 | }
|
333 468 | }
|
469 + | /* PythonServerStructureGenerator.kt:111 */
|
334 470 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EndpointOperationInput> {
|
335 471 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
336 472 | ob.extract::<EndpointOperationInput>().map(Box::new)
|
337 473 | }
|
338 474 | }
|
339 475 |
|
340 476 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EndpointOperationInput> {
|
341 477 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
342 478 | (*self).into_py(py)
|
343 479 | }
|
344 480 | }
|
481 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
345 482 | impl crate::constrained::Constrained for crate::input::EndpointOperationInput {
|
346 483 | type Unconstrained = crate::input::endpoint_operation_input_internal::Builder;
|
347 484 | }
|
485 + | /* ServerCodegenVisitor.kt:370 */
|
348 486 | impl EndpointOperationInput {
|
349 - | /// Creates a new builder-style object to manufacture [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
487 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
488 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
350 489 | pub fn builder() -> crate::input::endpoint_operation_input::Builder {
|
490 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
351 491 | crate::input::endpoint_operation_input::Builder::default()
|
492 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
352 493 | }
|
494 + | /* ServerCodegenVisitor.kt:370 */
|
353 495 | }
|
354 496 |
|
497 + | /* RustType.kt:516 */
|
355 498 | #[::pyo3::pyclass]
|
499 + | /* PythonServerStructureGenerator.kt:63 */
|
356 500 | /// :param contents typing.Optional\[json_rpc11.model.MyUnion\]:
|
357 501 | /// :rtype None:
|
358 - | /// A shared structure that contains a single union member.
|
502 + | /// /* StructureGenerator.kt:197 */A shared structure that contains a single union member.
|
503 + | /* RustType.kt:516 */
|
359 504 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
360 - | pub struct JsonUnionsInput {
|
505 + | pub /* StructureGenerator.kt:201 */ struct JsonUnionsInput {
|
506 + | /* RustType.kt:516 */
|
361 507 | #[pyo3(get, set)]
|
508 + | /* PythonServerStructureGenerator.kt:80 */
|
362 509 | /// :type typing.Optional\[json_rpc11.model.MyUnion\]:
|
363 - | /// A union with a representative set of types for members.
|
510 + | /// /* StructureGenerator.kt:231 */A union with a representative set of types for members.
|
364 511 | pub contents: ::std::option::Option<crate::model::MyUnion>,
|
512 + | /* StructureGenerator.kt:201 */
|
365 513 | }
|
514 + | /* StructureGenerator.kt:135 */
|
366 515 | impl JsonUnionsInput {
|
367 - | /// A union with a representative set of types for members.
|
516 + | /// /* StructureGenerator.kt:231 */A union with a representative set of types for members.
|
517 + | /* StructureGenerator.kt:166 */
|
368 518 | pub fn contents(&self) -> ::std::option::Option<&crate::model::MyUnion> {
|
519 + | /* StructureGenerator.kt:170 */
|
369 520 | self.contents.as_ref()
|
521 + | /* StructureGenerator.kt:166 */
|
370 522 | }
|
523 + | /* StructureGenerator.kt:135 */
|
371 524 | }
|
525 + | /* RustType.kt:516 */
|
372 526 | #[allow(clippy::new_without_default)]
|
527 + | /* RustType.kt:516 */
|
373 528 | #[allow(clippy::too_many_arguments)]
|
529 + | /* RustType.kt:516 */
|
374 530 | #[::pyo3::pymethods]
|
531 + | /* PythonServerStructureGenerator.kt:88 */
|
375 532 | impl JsonUnionsInput {
|
376 533 | #[new]
|
377 534 | pub fn new(contents: ::std::option::Option<crate::model::MyUnion>) -> Self {
|
378 535 | Self { contents }
|
379 536 | }
|
380 537 | fn __repr__(&self) -> String {
|
381 538 | format!("{self:?}")
|
382 539 | }
|
383 540 | fn __str__(&self) -> String {
|
384 541 | format!("{self:?}")
|
385 542 | }
|
386 543 | }
|
544 + | /* PythonServerStructureGenerator.kt:111 */
|
387 545 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonUnionsInput> {
|
388 546 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
389 547 | ob.extract::<JsonUnionsInput>().map(Box::new)
|
390 548 | }
|
391 549 | }
|
392 550 |
|
393 551 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonUnionsInput> {
|
394 552 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
395 553 | (*self).into_py(py)
|
396 554 | }
|
397 555 | }
|
556 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
398 557 | impl crate::constrained::Constrained for crate::input::JsonUnionsInput {
|
399 558 | type Unconstrained = crate::input::json_unions_input_internal::Builder;
|
400 559 | }
|
560 + | /* ServerCodegenVisitor.kt:370 */
|
401 561 | impl JsonUnionsInput {
|
402 - | /// Creates a new builder-style object to manufacture [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
562 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
563 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
403 564 | pub fn builder() -> crate::input::json_unions_input::Builder {
|
565 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
404 566 | crate::input::json_unions_input::Builder::default()
|
567 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
405 568 | }
|
569 + | /* ServerCodegenVisitor.kt:370 */
|
406 570 | }
|
407 571 |
|
572 + | /* RustType.kt:516 */
|
408 573 | #[::pyo3::pyclass]
|
574 + | /* PythonServerStructureGenerator.kt:63 */
|
409 575 | /// :rtype None:
|
576 + | /* StructureGenerator.kt:197 */
|
410 577 | #[allow(missing_docs)] // documentation missing in model
|
578 + | /* RustType.kt:516 */
|
411 579 | #[derive(
|
412 580 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
413 581 | )]
|
414 - | pub struct GreetingWithErrorsInput {}
|
582 + | pub /* StructureGenerator.kt:201 */ struct GreetingWithErrorsInput {/* StructureGenerator.kt:201 */}
|
583 + | /* RustType.kt:516 */
|
415 584 | #[allow(clippy::new_without_default)]
|
585 + | /* RustType.kt:516 */
|
416 586 | #[allow(clippy::too_many_arguments)]
|
587 + | /* RustType.kt:516 */
|
417 588 | #[::pyo3::pymethods]
|
589 + | /* PythonServerStructureGenerator.kt:88 */
|
418 590 | impl GreetingWithErrorsInput {
|
419 591 | #[new]
|
420 592 | pub fn new() -> Self {
|
421 593 | Self {}
|
422 594 | }
|
423 595 | fn __repr__(&self) -> String {
|
424 596 | format!("{self:?}")
|
425 597 | }
|
426 598 | fn __str__(&self) -> String {
|
427 599 | format!("{self:?}")
|
428 600 | }
|
429 601 | }
|
602 + | /* PythonServerStructureGenerator.kt:111 */
|
430 603 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<GreetingWithErrorsInput> {
|
431 604 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
432 605 | ob.extract::<GreetingWithErrorsInput>().map(Box::new)
|
433 606 | }
|
434 607 | }
|
435 608 |
|
436 609 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<GreetingWithErrorsInput> {
|
437 610 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
438 611 | (*self).into_py(py)
|
439 612 | }
|
440 613 | }
|
614 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
441 615 | impl crate::constrained::Constrained for crate::input::GreetingWithErrorsInput {
|
442 616 | type Unconstrained = crate::input::greeting_with_errors_input_internal::Builder;
|
443 617 | }
|
618 + | /* ServerCodegenVisitor.kt:370 */
|
444 619 | impl GreetingWithErrorsInput {
|
445 - | /// Creates a new builder-style object to manufacture [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
620 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
621 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
446 622 | pub fn builder() -> crate::input::greeting_with_errors_input::Builder {
|
623 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
447 624 | crate::input::greeting_with_errors_input::Builder::default()
|
625 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
448 626 | }
|
627 + | /* ServerCodegenVisitor.kt:370 */
|
449 628 | }
|
450 629 |
|
630 + | /* RustType.kt:516 */
|
451 631 | #[::pyo3::pyclass]
|
632 + | /* PythonServerStructureGenerator.kt:63 */
|
452 633 | /// :param sparse_string_list typing.Optional\[typing.List\[typing.Optional\[str\]\]\]:
|
453 634 | /// :param sparse_string_map typing.Optional\[typing.Dict\[str, typing.Optional\[str\]\]\]:
|
454 635 | /// :rtype None:
|
636 + | /* StructureGenerator.kt:197 */
|
455 637 | #[allow(missing_docs)] // documentation missing in model
|
638 + | /* RustType.kt:516 */
|
456 639 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
457 - | pub struct SparseNullsOperationInput {
|
640 + | pub /* StructureGenerator.kt:201 */ struct SparseNullsOperationInput {
|
641 + | /* RustType.kt:516 */
|
458 642 | #[pyo3(get, set)]
|
643 + | /* PythonServerStructureGenerator.kt:80 */
|
459 644 | /// :type typing.Optional\[typing.List\[typing.Optional\[str\]\]\]:
|
645 + | /* StructureGenerator.kt:231 */
|
460 646 | #[allow(missing_docs)] // documentation missing in model
|
461 647 | pub sparse_string_list:
|
462 648 | ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
|
649 + | /* RustType.kt:516 */
|
463 650 | #[pyo3(get, set)]
|
651 + | /* PythonServerStructureGenerator.kt:80 */
|
464 652 | /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[str\]\]\]:
|
653 + | /* StructureGenerator.kt:231 */
|
465 654 | #[allow(missing_docs)] // documentation missing in model
|
466 655 | pub sparse_string_map: ::std::option::Option<
|
467 656 | ::std::collections::HashMap<
|
468 657 | ::std::string::String,
|
469 658 | ::std::option::Option<::std::string::String>,
|
470 659 | >,
|
471 660 | >,
|
661 + | /* StructureGenerator.kt:201 */
|
472 662 | }
|
663 + | /* StructureGenerator.kt:135 */
|
473 664 | impl SparseNullsOperationInput {
|
665 + | /* StructureGenerator.kt:231 */
|
474 666 | #[allow(missing_docs)] // documentation missing in model
|
667 + | /* StructureGenerator.kt:166 */
|
475 668 | pub fn sparse_string_list(
|
476 669 | &self,
|
477 670 | ) -> ::std::option::Option<&[::std::option::Option<::std::string::String>]> {
|
671 + | /* StructureGenerator.kt:169 */
|
478 672 | self.sparse_string_list.as_deref()
|
673 + | /* StructureGenerator.kt:166 */
|
479 674 | }
|
675 + | /* StructureGenerator.kt:231 */
|
480 676 | #[allow(missing_docs)] // documentation missing in model
|
677 + | /* StructureGenerator.kt:166 */
|
481 678 | pub fn sparse_string_map(
|
482 679 | &self,
|
483 680 | ) -> ::std::option::Option<
|
484 681 | &::std::collections::HashMap<
|
485 682 | ::std::string::String,
|
486 683 | ::std::option::Option<::std::string::String>,
|
487 684 | >,
|
488 685 | > {
|
686 + | /* StructureGenerator.kt:170 */
|
489 687 | self.sparse_string_map.as_ref()
|
688 + | /* StructureGenerator.kt:166 */
|
490 689 | }
|
690 + | /* StructureGenerator.kt:135 */
|
491 691 | }
|
692 + | /* RustType.kt:516 */
|
492 693 | #[allow(clippy::new_without_default)]
|
694 + | /* RustType.kt:516 */
|
493 695 | #[allow(clippy::too_many_arguments)]
|
696 + | /* RustType.kt:516 */
|
494 697 | #[::pyo3::pymethods]
|
698 + | /* PythonServerStructureGenerator.kt:88 */
|
495 699 | impl SparseNullsOperationInput {
|
496 700 | #[new]
|
497 701 | pub fn new(
|
498 702 | sparse_string_list: ::std::option::Option<
|
499 703 | ::std::vec::Vec<::std::option::Option<::std::string::String>>,
|
500 704 | >,
|
501 705 | sparse_string_map: ::std::option::Option<
|
502 706 | ::std::collections::HashMap<
|
503 707 | ::std::string::String,
|
504 708 | ::std::option::Option<::std::string::String>,
|
505 709 | >,
|
506 710 | >,
|
507 711 | ) -> Self {
|
508 712 | Self {
|
509 713 | sparse_string_list,
|
510 714 | sparse_string_map,
|
511 715 | }
|
512 716 | }
|
513 717 | fn __repr__(&self) -> String {
|
514 718 | format!("{self:?}")
|
515 719 | }
|
516 720 | fn __str__(&self) -> String {
|
517 721 | format!("{self:?}")
|
518 722 | }
|
519 723 | }
|
724 + | /* PythonServerStructureGenerator.kt:111 */
|
520 725 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<SparseNullsOperationInput> {
|
521 726 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
522 727 | ob.extract::<SparseNullsOperationInput>().map(Box::new)
|
523 728 | }
|
524 729 | }
|
525 730 |
|
526 731 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<SparseNullsOperationInput> {
|
527 732 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
528 733 | (*self).into_py(py)
|
529 734 | }
|
530 735 | }
|
736 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
531 737 | impl crate::constrained::Constrained for crate::input::SparseNullsOperationInput {
|
532 738 | type Unconstrained = crate::input::sparse_nulls_operation_input_internal::Builder;
|
533 739 | }
|
740 + | /* ServerCodegenVisitor.kt:370 */
|
534 741 | impl SparseNullsOperationInput {
|
535 - | /// Creates a new builder-style object to manufacture [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
742 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
743 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
536 744 | pub fn builder() -> crate::input::sparse_nulls_operation_input::Builder {
|
745 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
537 746 | crate::input::sparse_nulls_operation_input::Builder::default()
|
747 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
538 748 | }
|
749 + | /* ServerCodegenVisitor.kt:370 */
|
539 750 | }
|
540 751 |
|
752 + | /* RustType.kt:516 */
|
541 753 | #[::pyo3::pyclass]
|
754 + | /* PythonServerStructureGenerator.kt:63 */
|
542 755 | /// :param string typing.Optional\[str\]:
|
543 756 | /// :rtype None:
|
757 + | /* StructureGenerator.kt:197 */
|
544 758 | #[allow(missing_docs)] // documentation missing in model
|
759 + | /* RustType.kt:516 */
|
545 760 | #[derive(
|
546 761 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
547 762 | )]
|
548 - | pub struct NullOperationInput {
|
763 + | pub /* StructureGenerator.kt:201 */ struct NullOperationInput {
|
764 + | /* RustType.kt:516 */
|
549 765 | #[pyo3(get, set)]
|
766 + | /* PythonServerStructureGenerator.kt:80 */
|
550 767 | /// :type typing.Optional\[str\]:
|
768 + | /* StructureGenerator.kt:231 */
|
551 769 | #[allow(missing_docs)] // documentation missing in model
|
552 770 | pub string: ::std::option::Option<::std::string::String>,
|
771 + | /* StructureGenerator.kt:201 */
|
553 772 | }
|
773 + | /* StructureGenerator.kt:135 */
|
554 774 | impl NullOperationInput {
|
775 + | /* StructureGenerator.kt:231 */
|
555 776 | #[allow(missing_docs)] // documentation missing in model
|
777 + | /* StructureGenerator.kt:166 */
|
556 778 | pub fn string(&self) -> ::std::option::Option<&str> {
|
779 + | /* StructureGenerator.kt:169 */
|
557 780 | self.string.as_deref()
|
781 + | /* StructureGenerator.kt:166 */
|
558 782 | }
|
783 + | /* StructureGenerator.kt:135 */
|
559 784 | }
|
785 + | /* RustType.kt:516 */
|
560 786 | #[allow(clippy::new_without_default)]
|
787 + | /* RustType.kt:516 */
|
561 788 | #[allow(clippy::too_many_arguments)]
|
789 + | /* RustType.kt:516 */
|
562 790 | #[::pyo3::pymethods]
|
791 + | /* PythonServerStructureGenerator.kt:88 */
|
563 792 | impl NullOperationInput {
|
564 793 | #[new]
|
565 794 | pub fn new(string: ::std::option::Option<::std::string::String>) -> Self {
|
566 795 | Self { string }
|
567 796 | }
|
568 797 | fn __repr__(&self) -> String {
|
569 798 | format!("{self:?}")
|
570 799 | }
|
571 800 | fn __str__(&self) -> String {
|
572 801 | format!("{self:?}")
|
573 802 | }
|
574 803 | }
|
804 + | /* PythonServerStructureGenerator.kt:111 */
|
575 805 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NullOperationInput> {
|
576 806 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
577 807 | ob.extract::<NullOperationInput>().map(Box::new)
|
578 808 | }
|
579 809 | }
|
580 810 |
|
581 811 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NullOperationInput> {
|
582 812 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
583 813 | (*self).into_py(py)
|
584 814 | }
|
585 815 | }
|
816 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
586 817 | impl crate::constrained::Constrained for crate::input::NullOperationInput {
|
587 818 | type Unconstrained = crate::input::null_operation_input_internal::Builder;
|
588 819 | }
|
820 + | /* ServerCodegenVisitor.kt:370 */
|
589 821 | impl NullOperationInput {
|
590 - | /// Creates a new builder-style object to manufacture [`NullOperationInput`](crate::input::NullOperationInput).
|
822 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`NullOperationInput`](crate::input::NullOperationInput).
|
823 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
591 824 | pub fn builder() -> crate::input::null_operation_input::Builder {
|
825 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
592 826 | crate::input::null_operation_input::Builder::default()
|
827 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
593 828 | }
|
829 + | /* ServerCodegenVisitor.kt:370 */
|
594 830 | }
|
595 831 |
|
832 + | /* RustType.kt:516 */
|
596 833 | #[::pyo3::pyclass]
|
834 + | /* PythonServerStructureGenerator.kt:63 */
|
597 835 | /// :param foo_enum1 typing.Optional\[json_rpc11.model.FooEnum\]:
|
598 836 | /// :param foo_enum2 typing.Optional\[json_rpc11.model.FooEnum\]:
|
599 837 | /// :param foo_enum3 typing.Optional\[json_rpc11.model.FooEnum\]:
|
600 838 | /// :param foo_enum_list typing.Optional\[typing.List\[json_rpc11.model.FooEnum\]\]:
|
601 839 | /// :param foo_enum_set typing.Optional\[typing.List\[json_rpc11.model.FooEnum\]\]:
|
602 840 | /// :param foo_enum_map typing.Optional\[typing.Dict\[str, json_rpc11.model.FooEnum\]\]:
|
603 841 | /// :rtype None:
|
842 + | /* StructureGenerator.kt:197 */
|
604 843 | #[allow(missing_docs)] // documentation missing in model
|
844 + | /* RustType.kt:516 */
|
605 845 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
606 - | pub struct JsonEnumsInput {
|
846 + | pub /* StructureGenerator.kt:201 */ struct JsonEnumsInput {
|
847 + | /* RustType.kt:516 */
|
607 848 | #[pyo3(get, set)]
|
849 + | /* PythonServerStructureGenerator.kt:80 */
|
608 850 | /// :type typing.Optional\[json_rpc11.model.FooEnum\]:
|
851 + | /* StructureGenerator.kt:231 */
|
609 852 | #[allow(missing_docs)] // documentation missing in model
|
610 853 | pub foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
854 + | /* RustType.kt:516 */
|
611 855 | #[pyo3(get, set)]
|
856 + | /* PythonServerStructureGenerator.kt:80 */
|
612 857 | /// :type typing.Optional\[json_rpc11.model.FooEnum\]:
|
858 + | /* StructureGenerator.kt:231 */
|
613 859 | #[allow(missing_docs)] // documentation missing in model
|
614 860 | pub foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
861 + | /* RustType.kt:516 */
|
615 862 | #[pyo3(get, set)]
|
863 + | /* PythonServerStructureGenerator.kt:80 */
|
616 864 | /// :type typing.Optional\[json_rpc11.model.FooEnum\]:
|
865 + | /* StructureGenerator.kt:231 */
|
617 866 | #[allow(missing_docs)] // documentation missing in model
|
618 867 | pub foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
868 + | /* RustType.kt:516 */
|
619 869 | #[pyo3(get, set)]
|
870 + | /* PythonServerStructureGenerator.kt:80 */
|
620 871 | /// :type typing.Optional\[typing.List\[json_rpc11.model.FooEnum\]\]:
|
872 + | /* StructureGenerator.kt:231 */
|
621 873 | #[allow(missing_docs)] // documentation missing in model
|
622 874 | pub foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
875 + | /* RustType.kt:516 */
|
623 876 | #[pyo3(get, set)]
|
877 + | /* PythonServerStructureGenerator.kt:80 */
|
624 878 | /// :type typing.Optional\[typing.List\[json_rpc11.model.FooEnum\]\]:
|
879 + | /* StructureGenerator.kt:231 */
|
625 880 | #[allow(missing_docs)] // documentation missing in model
|
626 881 | pub foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
882 + | /* RustType.kt:516 */
|
627 883 | #[pyo3(get, set)]
|
884 + | /* PythonServerStructureGenerator.kt:80 */
|
628 885 | /// :type typing.Optional\[typing.Dict\[str, json_rpc11.model.FooEnum\]\]:
|
886 + | /* StructureGenerator.kt:231 */
|
629 887 | #[allow(missing_docs)] // documentation missing in model
|
630 888 | pub foo_enum_map: ::std::option::Option<
|
631 889 | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
632 890 | >,
|
891 + | /* StructureGenerator.kt:201 */
|
633 892 | }
|
893 + | /* StructureGenerator.kt:135 */
|
634 894 | impl JsonEnumsInput {
|
895 + | /* StructureGenerator.kt:231 */
|
635 896 | #[allow(missing_docs)] // documentation missing in model
|
897 + | /* StructureGenerator.kt:166 */
|
636 898 | pub fn foo_enum1(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
899 + | /* StructureGenerator.kt:170 */
|
637 900 | self.foo_enum1.as_ref()
|
901 + | /* StructureGenerator.kt:166 */
|
638 902 | }
|
903 + | /* StructureGenerator.kt:231 */
|
639 904 | #[allow(missing_docs)] // documentation missing in model
|
905 + | /* StructureGenerator.kt:166 */
|
640 906 | pub fn foo_enum2(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
907 + | /* StructureGenerator.kt:170 */
|
641 908 | self.foo_enum2.as_ref()
|
909 + | /* StructureGenerator.kt:166 */
|
642 910 | }
|
911 + | /* StructureGenerator.kt:231 */
|
643 912 | #[allow(missing_docs)] // documentation missing in model
|
913 + | /* StructureGenerator.kt:166 */
|
644 914 | pub fn foo_enum3(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
915 + | /* StructureGenerator.kt:170 */
|
645 916 | self.foo_enum3.as_ref()
|
917 + | /* StructureGenerator.kt:166 */
|
646 918 | }
|
919 + | /* StructureGenerator.kt:231 */
|
647 920 | #[allow(missing_docs)] // documentation missing in model
|
921 + | /* StructureGenerator.kt:166 */
|
648 922 | pub fn foo_enum_list(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
923 + | /* StructureGenerator.kt:169 */
|
649 924 | self.foo_enum_list.as_deref()
|
925 + | /* StructureGenerator.kt:166 */
|
650 926 | }
|
927 + | /* StructureGenerator.kt:231 */
|
651 928 | #[allow(missing_docs)] // documentation missing in model
|
929 + | /* StructureGenerator.kt:166 */
|
652 930 | pub fn foo_enum_set(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
931 + | /* StructureGenerator.kt:169 */
|
653 932 | self.foo_enum_set.as_deref()
|
933 + | /* StructureGenerator.kt:166 */
|
654 934 | }
|
935 + | /* StructureGenerator.kt:231 */
|
655 936 | #[allow(missing_docs)] // documentation missing in model
|
937 + | /* StructureGenerator.kt:166 */
|
656 938 | pub fn foo_enum_map(
|
657 939 | &self,
|
658 940 | ) -> ::std::option::Option<
|
659 941 | &::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
660 942 | > {
|
943 + | /* StructureGenerator.kt:170 */
|
661 944 | self.foo_enum_map.as_ref()
|
945 + | /* StructureGenerator.kt:166 */
|
662 946 | }
|
947 + | /* StructureGenerator.kt:135 */
|
663 948 | }
|
949 + | /* RustType.kt:516 */
|
664 950 | #[allow(clippy::new_without_default)]
|
951 + | /* RustType.kt:516 */
|
665 952 | #[allow(clippy::too_many_arguments)]
|
953 + | /* RustType.kt:516 */
|
666 954 | #[::pyo3::pymethods]
|
955 + | /* PythonServerStructureGenerator.kt:88 */
|
667 956 | impl JsonEnumsInput {
|
668 957 | #[new]
|
669 958 | pub fn new(
|
670 959 | foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
671 960 | foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
672 961 | foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
673 962 | foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
674 963 | foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
675 964 | foo_enum_map: ::std::option::Option<
|
676 965 | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
677 966 | >,
|
678 967 | ) -> Self {
|
679 968 | Self {
|
680 969 | foo_enum1,
|
681 970 | foo_enum2,
|
682 971 | foo_enum3,
|
683 972 | foo_enum_list,
|
684 973 | foo_enum_set,
|
685 974 | foo_enum_map,
|
686 975 | }
|
687 976 | }
|
688 977 | fn __repr__(&self) -> String {
|
689 978 | format!("{self:?}")
|
690 979 | }
|
691 980 | fn __str__(&self) -> String {
|
692 981 | format!("{self:?}")
|
693 982 | }
|
694 983 | }
|
984 + | /* PythonServerStructureGenerator.kt:111 */
|
695 985 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonEnumsInput> {
|
696 986 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
697 987 | ob.extract::<JsonEnumsInput>().map(Box::new)
|
698 988 | }
|
699 989 | }
|
700 990 |
|
701 991 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonEnumsInput> {
|
702 992 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
703 993 | (*self).into_py(py)
|
704 994 | }
|
705 995 | }
|
996 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
706 997 | impl crate::constrained::Constrained for crate::input::JsonEnumsInput {
|
707 998 | type Unconstrained = crate::input::json_enums_input_internal::Builder;
|
708 999 | }
|
1000 + | /* ServerCodegenVisitor.kt:370 */
|
709 1001 | impl JsonEnumsInput {
|
710 - | /// Creates a new builder-style object to manufacture [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
1002 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
1003 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
711 1004 | pub fn builder() -> crate::input::json_enums_input::Builder {
|
1005 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
712 1006 | crate::input::json_enums_input::Builder::default()
|
1007 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
713 1008 | }
|
1009 + | /* ServerCodegenVisitor.kt:370 */
|
714 1010 | }
|
715 1011 |
|
1012 + | /* RustType.kt:516 */
|
716 1013 | #[::pyo3::pyclass]
|
1014 + | /* PythonServerStructureGenerator.kt:63 */
|
717 1015 | /// :param inline_document typing.Optional\[json_rpc11.types.Document\]:
|
718 1016 | /// :rtype None:
|
1017 + | /* StructureGenerator.kt:197 */
|
719 1018 | #[allow(missing_docs)] // documentation missing in model
|
1019 + | /* RustType.kt:516 */
|
720 1020 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
721 - | pub struct PutAndGetInlineDocumentsInput {
|
1021 + | pub /* StructureGenerator.kt:201 */ struct PutAndGetInlineDocumentsInput {
|
1022 + | /* RustType.kt:516 */
|
722 1023 | #[pyo3(get, set)]
|
1024 + | /* PythonServerStructureGenerator.kt:80 */
|
723 1025 | /// :type typing.Optional\[json_rpc11.types.Document\]:
|
1026 + | /* StructureGenerator.kt:231 */
|
724 1027 | #[allow(missing_docs)] // documentation missing in model
|
725 1028 | pub inline_document: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
1029 + | /* StructureGenerator.kt:201 */
|
726 1030 | }
|
1031 + | /* StructureGenerator.kt:135 */
|
727 1032 | impl PutAndGetInlineDocumentsInput {
|
1033 + | /* StructureGenerator.kt:231 */
|
728 1034 | #[allow(missing_docs)] // documentation missing in model
|
1035 + | /* StructureGenerator.kt:166 */
|
729 1036 | pub fn inline_document(
|
730 1037 | &self,
|
731 1038 | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Document> {
|
1039 + | /* StructureGenerator.kt:170 */
|
732 1040 | self.inline_document.as_ref()
|
1041 + | /* StructureGenerator.kt:166 */
|
733 1042 | }
|
1043 + | /* StructureGenerator.kt:135 */
|
734 1044 | }
|
1045 + | /* RustType.kt:516 */
|
735 1046 | #[allow(clippy::new_without_default)]
|
1047 + | /* RustType.kt:516 */
|
736 1048 | #[allow(clippy::too_many_arguments)]
|
1049 + | /* RustType.kt:516 */
|
737 1050 | #[::pyo3::pymethods]
|
1051 + | /* PythonServerStructureGenerator.kt:88 */
|
738 1052 | impl PutAndGetInlineDocumentsInput {
|
739 1053 | #[new]
|
740 1054 | pub fn new(
|
741 1055 | inline_document: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
742 1056 | ) -> Self {
|
743 1057 | Self { inline_document }
|
744 1058 | }
|
745 1059 | fn __repr__(&self) -> String {
|
746 1060 | format!("{self:?}")
|
747 1061 | }
|
748 1062 | fn __str__(&self) -> String {
|
749 1063 | format!("{self:?}")
|
750 1064 | }
|
751 1065 | }
|
1066 + | /* PythonServerStructureGenerator.kt:111 */
|
752 1067 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PutAndGetInlineDocumentsInput> {
|
753 1068 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
754 1069 | ob.extract::<PutAndGetInlineDocumentsInput>().map(Box::new)
|
755 1070 | }
|
756 1071 | }
|
757 1072 |
|
758 1073 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PutAndGetInlineDocumentsInput> {
|
759 1074 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
760 1075 | (*self).into_py(py)
|
761 1076 | }
|
762 1077 | }
|
1078 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
763 1079 | impl crate::constrained::Constrained for crate::input::PutAndGetInlineDocumentsInput {
|
764 1080 | type Unconstrained = crate::input::put_and_get_inline_documents_input_internal::Builder;
|
765 1081 | }
|
1082 + | /* ServerCodegenVisitor.kt:370 */
|
766 1083 | impl PutAndGetInlineDocumentsInput {
|
767 - | /// Creates a new builder-style object to manufacture [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
1084 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
1085 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
768 1086 | pub fn builder() -> crate::input::put_and_get_inline_documents_input::Builder {
|
1087 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
769 1088 | crate::input::put_and_get_inline_documents_input::Builder::default()
|
1089 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
770 1090 | }
|
1091 + | /* ServerCodegenVisitor.kt:370 */
|
771 1092 | }
|
772 1093 |
|
1094 + | /* RustType.kt:516 */
|
773 1095 | #[::pyo3::pyclass]
|
1096 + | /* PythonServerStructureGenerator.kt:63 */
|
774 1097 | /// :param value typing.Optional\[str\]:
|
775 1098 | /// :rtype None:
|
1099 + | /* StructureGenerator.kt:197 */
|
776 1100 | #[allow(missing_docs)] // documentation missing in model
|
1101 + | /* RustType.kt:516 */
|
777 1102 | #[derive(
|
778 1103 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
779 1104 | )]
|
780 - | pub struct OperationWithOptionalInputOutputInput {
|
1105 + | pub /* StructureGenerator.kt:201 */ struct OperationWithOptionalInputOutputInput {
|
1106 + | /* RustType.kt:516 */
|
781 1107 | #[pyo3(get, set)]
|
1108 + | /* PythonServerStructureGenerator.kt:80 */
|
782 1109 | /// :type typing.Optional\[str\]:
|
1110 + | /* StructureGenerator.kt:231 */
|
783 1111 | #[allow(missing_docs)] // documentation missing in model
|
784 1112 | pub value: ::std::option::Option<::std::string::String>,
|
1113 + | /* StructureGenerator.kt:201 */
|
785 1114 | }
|
1115 + | /* StructureGenerator.kt:135 */
|
786 1116 | impl OperationWithOptionalInputOutputInput {
|
1117 + | /* StructureGenerator.kt:231 */
|
787 1118 | #[allow(missing_docs)] // documentation missing in model
|
1119 + | /* StructureGenerator.kt:166 */
|
788 1120 | pub fn value(&self) -> ::std::option::Option<&str> {
|
1121 + | /* StructureGenerator.kt:169 */
|
789 1122 | self.value.as_deref()
|
1123 + | /* StructureGenerator.kt:166 */
|
790 1124 | }
|
1125 + | /* StructureGenerator.kt:135 */
|
791 1126 | }
|
1127 + | /* RustType.kt:516 */
|
792 1128 | #[allow(clippy::new_without_default)]
|
1129 + | /* RustType.kt:516 */
|
793 1130 | #[allow(clippy::too_many_arguments)]
|
1131 + | /* RustType.kt:516 */
|
794 1132 | #[::pyo3::pymethods]
|
1133 + | /* PythonServerStructureGenerator.kt:88 */
|
795 1134 | impl OperationWithOptionalInputOutputInput {
|
796 1135 | #[new]
|
797 1136 | pub fn new(value: ::std::option::Option<::std::string::String>) -> Self {
|
798 1137 | Self { value }
|
799 1138 | }
|
800 1139 | fn __repr__(&self) -> String {
|
801 1140 | format!("{self:?}")
|
802 1141 | }
|
803 1142 | fn __str__(&self) -> String {
|
804 1143 | format!("{self:?}")
|
805 1144 | }
|
806 1145 | }
|
1146 + | /* PythonServerStructureGenerator.kt:111 */
|
807 1147 | impl<'source> ::pyo3::FromPyObject<'source>
|
808 1148 | for std::boxed::Box<OperationWithOptionalInputOutputInput>
|
809 1149 | {
|
810 1150 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
811 1151 | ob.extract::<OperationWithOptionalInputOutputInput>()
|
812 1152 | .map(Box::new)
|
813 1153 | }
|
814 1154 | }
|
815 1155 |
|
816 1156 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OperationWithOptionalInputOutputInput> {
|
817 1157 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
818 1158 | (*self).into_py(py)
|
819 1159 | }
|
820 1160 | }
|
1161 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
821 1162 | impl crate::constrained::Constrained for crate::input::OperationWithOptionalInputOutputInput {
|
822 1163 | type Unconstrained = crate::input::operation_with_optional_input_output_input_internal::Builder;
|
823 1164 | }
|
1165 + | /* ServerCodegenVisitor.kt:370 */
|
824 1166 | impl OperationWithOptionalInputOutputInput {
|
825 - | /// Creates a new builder-style object to manufacture [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
1167 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
1168 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
826 1169 | pub fn builder() -> crate::input::operation_with_optional_input_output_input::Builder {
|
1170 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
827 1171 | crate::input::operation_with_optional_input_output_input::Builder::default()
|
1172 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
828 1173 | }
|
1174 + | /* ServerCodegenVisitor.kt:370 */
|
829 1175 | }
|
830 1176 |
|
1177 + | /* RustType.kt:516 */
|
831 1178 | #[::pyo3::pyclass]
|
1179 + | /* PythonServerStructureGenerator.kt:63 */
|
832 1180 | /// :param float_value typing.Optional\[float\]:
|
833 1181 | /// :param double_value typing.Optional\[float\]:
|
834 1182 | /// :rtype None:
|
1183 + | /* StructureGenerator.kt:197 */
|
835 1184 | #[allow(missing_docs)] // documentation missing in model
|
1185 + | /* RustType.kt:516 */
|
836 1186 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
837 - | pub struct SimpleScalarPropertiesInput {
|
1187 + | pub /* StructureGenerator.kt:201 */ struct SimpleScalarPropertiesInput {
|
1188 + | /* RustType.kt:516 */
|
838 1189 | #[pyo3(get, set)]
|
1190 + | /* PythonServerStructureGenerator.kt:80 */
|
839 1191 | /// :type typing.Optional\[float\]:
|
1192 + | /* StructureGenerator.kt:231 */
|
840 1193 | #[allow(missing_docs)] // documentation missing in model
|
841 1194 | pub float_value: ::std::option::Option<f32>,
|
1195 + | /* RustType.kt:516 */
|
842 1196 | #[pyo3(get, set)]
|
1197 + | /* PythonServerStructureGenerator.kt:80 */
|
843 1198 | /// :type typing.Optional\[float\]:
|
1199 + | /* StructureGenerator.kt:231 */
|
844 1200 | #[allow(missing_docs)] // documentation missing in model
|
845 1201 | pub double_value: ::std::option::Option<f64>,
|
1202 + | /* StructureGenerator.kt:201 */
|
846 1203 | }
|
1204 + | /* StructureGenerator.kt:135 */
|
847 1205 | impl SimpleScalarPropertiesInput {
|
1206 + | /* StructureGenerator.kt:231 */
|
848 1207 | #[allow(missing_docs)] // documentation missing in model
|
1208 + | /* StructureGenerator.kt:166 */
|
849 1209 | pub fn float_value(&self) -> ::std::option::Option<f32> {
|
1210 + | /* StructureGenerator.kt:168 */
|
850 1211 | self.float_value
|
1212 + | /* StructureGenerator.kt:166 */
|
851 1213 | }
|
1214 + | /* StructureGenerator.kt:231 */
|
852 1215 | #[allow(missing_docs)] // documentation missing in model
|
1216 + | /* StructureGenerator.kt:166 */
|
853 1217 | pub fn double_value(&self) -> ::std::option::Option<f64> {
|
1218 + | /* StructureGenerator.kt:168 */
|
854 1219 | self.double_value
|
1220 + | /* StructureGenerator.kt:166 */
|
855 1221 | }
|
1222 + | /* StructureGenerator.kt:135 */
|
856 1223 | }
|
1224 + | /* RustType.kt:516 */
|
857 1225 | #[allow(clippy::new_without_default)]
|
1226 + | /* RustType.kt:516 */
|
858 1227 | #[allow(clippy::too_many_arguments)]
|
1228 + | /* RustType.kt:516 */
|
859 1229 | #[::pyo3::pymethods]
|
1230 + | /* PythonServerStructureGenerator.kt:88 */
|
860 1231 | impl SimpleScalarPropertiesInput {
|
861 1232 | #[new]
|
862 1233 | pub fn new(
|
863 1234 | float_value: ::std::option::Option<f32>,
|
864 1235 | double_value: ::std::option::Option<f64>,
|
865 1236 | ) -> Self {
|
866 1237 | Self {
|
867 1238 | float_value,
|
868 1239 | double_value,
|
869 1240 | }
|
870 1241 | }
|
871 1242 | fn __repr__(&self) -> String {
|
872 1243 | format!("{self:?}")
|
873 1244 | }
|
874 1245 | fn __str__(&self) -> String {
|
875 1246 | format!("{self:?}")
|
876 1247 | }
|
877 1248 | }
|
1249 + | /* PythonServerStructureGenerator.kt:111 */
|
878 1250 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<SimpleScalarPropertiesInput> {
|
879 1251 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
880 1252 | ob.extract::<SimpleScalarPropertiesInput>().map(Box::new)
|
881 1253 | }
|
882 1254 | }
|
883 1255 |
|
884 1256 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<SimpleScalarPropertiesInput> {
|
885 1257 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
886 1258 | (*self).into_py(py)
|
887 1259 | }
|
888 1260 | }
|
1261 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
889 1262 | impl crate::constrained::Constrained for crate::input::SimpleScalarPropertiesInput {
|
890 1263 | type Unconstrained = crate::input::simple_scalar_properties_input_internal::Builder;
|
891 1264 | }
|
1265 + | /* ServerCodegenVisitor.kt:370 */
|
892 1266 | impl SimpleScalarPropertiesInput {
|
893 - | /// Creates a new builder-style object to manufacture [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
1267 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
1268 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
894 1269 | pub fn builder() -> crate::input::simple_scalar_properties_input::Builder {
|
1270 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
895 1271 | crate::input::simple_scalar_properties_input::Builder::default()
|
1272 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
896 1273 | }
|
1274 + | /* ServerCodegenVisitor.kt:370 */
|
897 1275 | }
|
898 1276 |
|
1277 + | /* RustType.kt:516 */
|
899 1278 | #[::pyo3::pyclass]
|
1279 + | /* PythonServerStructureGenerator.kt:63 */
|
900 1280 | /// :param blob typing.Optional\[json_rpc11.types.Blob\]:
|
901 1281 | /// :param boolean typing.Optional\[bool\]:
|
902 1282 | /// :param double typing.Optional\[float\]:
|
903 1283 | /// :param empty_struct typing.Optional\[json_rpc11.model.EmptyStruct\]:
|
904 1284 | /// :param float typing.Optional\[float\]:
|
905 1285 | /// :param httpdate_timestamp typing.Optional\[json_rpc11.types.DateTime\]:
|
906 1286 | /// :param integer typing.Optional\[int\]:
|
907 1287 | /// :param iso8601_timestamp typing.Optional\[json_rpc11.types.DateTime\]:
|
908 1288 | /// :param json_value typing.Optional\[str\]:
|
909 1289 | /// :param list_of_lists typing.Optional\[typing.List\[typing.List\[str\]\]\]:
|
910 1290 | /// :param list_of_maps_of_strings typing.Optional\[typing.List\[typing.Dict\[str, str\]\]\]:
|
911 1291 | /// :param list_of_strings typing.Optional\[typing.List\[str\]\]:
|
912 1292 | /// :param list_of_structs typing.Optional\[typing.List\[json_rpc11.model.SimpleStruct\]\]:
|
913 1293 | /// :param long typing.Optional\[int\]:
|
914 1294 | /// :param map_of_lists_of_strings typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
915 1295 | /// :param map_of_maps typing.Optional\[typing.Dict\[str, typing.Dict\[str, str\]\]\]:
|
916 1296 | /// :param map_of_strings typing.Optional\[typing.Dict\[str, str\]\]:
|
917 1297 | /// :param map_of_structs typing.Optional\[typing.Dict\[str, json_rpc11.model.SimpleStruct\]\]:
|
918 1298 | /// :param recursive_list typing.Optional\[typing.List\[json_rpc11.model.KitchenSink\]\]:
|
919 1299 | /// :param recursive_map typing.Optional\[typing.Dict\[str, json_rpc11.model.KitchenSink\]\]:
|
920 1300 | /// :param recursive_struct typing.Optional\[json_rpc11.model.KitchenSink\]:
|
921 1301 | /// :param simple_struct typing.Optional\[json_rpc11.model.SimpleStruct\]:
|
922 1302 | /// :param string typing.Optional\[str\]:
|
923 1303 | /// :param struct_with_json_name typing.Optional\[json_rpc11.model.StructWithJsonName\]:
|
924 1304 | /// :param timestamp typing.Optional\[json_rpc11.types.DateTime\]:
|
925 1305 | /// :param unix_timestamp typing.Optional\[json_rpc11.types.DateTime\]:
|
926 1306 | /// :rtype None:
|
1307 + | /* StructureGenerator.kt:197 */
|
927 1308 | #[allow(missing_docs)] // documentation missing in model
|
1309 + | /* RustType.kt:516 */
|
928 1310 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
929 - | pub struct KitchenSinkOperationInput {
|
1311 + | pub /* StructureGenerator.kt:201 */ struct KitchenSinkOperationInput {
|
1312 + | /* RustType.kt:516 */
|
930 1313 | #[pyo3(get, set)]
|
1314 + | /* PythonServerStructureGenerator.kt:80 */
|
931 1315 | /// :type typing.Optional\[json_rpc11.types.Blob\]:
|
1316 + | /* StructureGenerator.kt:231 */
|
932 1317 | #[allow(missing_docs)] // documentation missing in model
|
933 1318 | pub blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1319 + | /* RustType.kt:516 */
|
934 1320 | #[pyo3(get, set)]
|
1321 + | /* PythonServerStructureGenerator.kt:80 */
|
935 1322 | /// :type typing.Optional\[bool\]:
|
1323 + | /* StructureGenerator.kt:231 */
|
936 1324 | #[allow(missing_docs)] // documentation missing in model
|
937 1325 | pub boolean: ::std::option::Option<bool>,
|
1326 + | /* RustType.kt:516 */
|
938 1327 | #[pyo3(get, set)]
|
1328 + | /* PythonServerStructureGenerator.kt:80 */
|
939 1329 | /// :type typing.Optional\[float\]:
|
1330 + | /* StructureGenerator.kt:231 */
|
940 1331 | #[allow(missing_docs)] // documentation missing in model
|
941 1332 | pub double: ::std::option::Option<f64>,
|
1333 + | /* RustType.kt:516 */
|
942 1334 | #[pyo3(get, set)]
|
1335 + | /* PythonServerStructureGenerator.kt:80 */
|
943 1336 | /// :type typing.Optional\[json_rpc11.model.EmptyStruct\]:
|
1337 + | /* StructureGenerator.kt:231 */
|
944 1338 | #[allow(missing_docs)] // documentation missing in model
|
945 1339 | pub empty_struct: ::std::option::Option<crate::model::EmptyStruct>,
|
1340 + | /* RustType.kt:516 */
|
946 1341 | #[pyo3(get, set)]
|
1342 + | /* PythonServerStructureGenerator.kt:80 */
|
947 1343 | /// :type typing.Optional\[float\]:
|
1344 + | /* StructureGenerator.kt:231 */
|
948 1345 | #[allow(missing_docs)] // documentation missing in model
|
949 1346 | pub float: ::std::option::Option<f32>,
|
1347 + | /* RustType.kt:516 */
|
950 1348 | #[pyo3(get, set)]
|
1349 + | /* PythonServerStructureGenerator.kt:80 */
|
951 1350 | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
1351 + | /* StructureGenerator.kt:231 */
|
952 1352 | #[allow(missing_docs)] // documentation missing in model
|
953 1353 | pub httpdate_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1354 + | /* RustType.kt:516 */
|
954 1355 | #[pyo3(get, set)]
|
1356 + | /* PythonServerStructureGenerator.kt:80 */
|
955 1357 | /// :type typing.Optional\[int\]:
|
1358 + | /* StructureGenerator.kt:231 */
|
956 1359 | #[allow(missing_docs)] // documentation missing in model
|
957 1360 | pub integer: ::std::option::Option<i32>,
|
1361 + | /* RustType.kt:516 */
|
958 1362 | #[pyo3(get, set)]
|
1363 + | /* PythonServerStructureGenerator.kt:80 */
|
959 1364 | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
1365 + | /* StructureGenerator.kt:231 */
|
960 1366 | #[allow(missing_docs)] // documentation missing in model
|
961 1367 | pub iso8601_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1368 + | /* RustType.kt:516 */
|
962 1369 | #[pyo3(get, set)]
|
1370 + | /* PythonServerStructureGenerator.kt:80 */
|
963 1371 | /// :type typing.Optional\[str\]:
|
1372 + | /* StructureGenerator.kt:231 */
|
964 1373 | #[allow(missing_docs)] // documentation missing in model
|
965 1374 | pub json_value: ::std::option::Option<::std::string::String>,
|
1375 + | /* RustType.kt:516 */
|
966 1376 | #[pyo3(get, set)]
|
1377 + | /* PythonServerStructureGenerator.kt:80 */
|
967 1378 | /// :type typing.Optional\[typing.List\[typing.List\[str\]\]\]:
|
1379 + | /* StructureGenerator.kt:231 */
|
968 1380 | #[allow(missing_docs)] // documentation missing in model
|
969 1381 | pub list_of_lists:
|
970 1382 | ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
1383 + | /* RustType.kt:516 */
|
971 1384 | #[pyo3(get, set)]
|
1385 + | /* PythonServerStructureGenerator.kt:80 */
|
972 1386 | /// :type typing.Optional\[typing.List\[typing.Dict\[str, str\]\]\]:
|
1387 + | /* StructureGenerator.kt:231 */
|
973 1388 | #[allow(missing_docs)] // documentation missing in model
|
974 1389 | pub list_of_maps_of_strings: ::std::option::Option<
|
975 1390 | ::std::vec::Vec<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
976 1391 | >,
|
1392 + | /* RustType.kt:516 */
|
977 1393 | #[pyo3(get, set)]
|
1394 + | /* PythonServerStructureGenerator.kt:80 */
|
978 1395 | /// :type typing.Optional\[typing.List\[str\]\]:
|
1396 + | /* StructureGenerator.kt:231 */
|
979 1397 | #[allow(missing_docs)] // documentation missing in model
|
980 1398 | pub list_of_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
1399 + | /* RustType.kt:516 */
|
981 1400 | #[pyo3(get, set)]
|
1401 + | /* PythonServerStructureGenerator.kt:80 */
|
982 1402 | /// :type typing.Optional\[typing.List\[json_rpc11.model.SimpleStruct\]\]:
|
1403 + | /* StructureGenerator.kt:231 */
|
983 1404 | #[allow(missing_docs)] // documentation missing in model
|
984 1405 | pub list_of_structs: ::std::option::Option<::std::vec::Vec<crate::model::SimpleStruct>>,
|
1406 + | /* RustType.kt:516 */
|
985 1407 | #[pyo3(get, set)]
|
1408 + | /* PythonServerStructureGenerator.kt:80 */
|
986 1409 | /// :type typing.Optional\[int\]:
|
1410 + | /* StructureGenerator.kt:231 */
|
987 1411 | #[allow(missing_docs)] // documentation missing in model
|
988 1412 | pub long: ::std::option::Option<i64>,
|
1413 + | /* RustType.kt:516 */
|
989 1414 | #[pyo3(get, set)]
|
1415 + | /* PythonServerStructureGenerator.kt:80 */
|
990 1416 | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
1417 + | /* StructureGenerator.kt:231 */
|
991 1418 | #[allow(missing_docs)] // documentation missing in model
|
992 1419 | pub map_of_lists_of_strings: ::std::option::Option<
|
993 1420 | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
994 1421 | >,
|
1422 + | /* RustType.kt:516 */
|
995 1423 | #[pyo3(get, set)]
|
1424 + | /* PythonServerStructureGenerator.kt:80 */
|
996 1425 | /// :type typing.Optional\[typing.Dict\[str, typing.Dict\[str, str\]\]\]:
|
1426 + | /* StructureGenerator.kt:231 */
|
997 1427 | #[allow(missing_docs)] // documentation missing in model
|
998 1428 | pub map_of_maps: ::std::option::Option<
|
999 1429 | ::std::collections::HashMap<
|
1000 1430 | ::std::string::String,
|
1001 1431 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1002 1432 | >,
|
1003 1433 | >,
|
1434 + | /* RustType.kt:516 */
|
1004 1435 | #[pyo3(get, set)]
|
1436 + | /* PythonServerStructureGenerator.kt:80 */
|
1005 1437 | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
1438 + | /* StructureGenerator.kt:231 */
|
1006 1439 | #[allow(missing_docs)] // documentation missing in model
|
1007 1440 | pub map_of_strings: ::std::option::Option<
|
1008 1441 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1009 1442 | >,
|
1443 + | /* RustType.kt:516 */
|
1010 1444 | #[pyo3(get, set)]
|
1445 + | /* PythonServerStructureGenerator.kt:80 */
|
1011 1446 | /// :type typing.Optional\[typing.Dict\[str, json_rpc11.model.SimpleStruct\]\]:
|
1447 + | /* StructureGenerator.kt:231 */
|
1012 1448 | #[allow(missing_docs)] // documentation missing in model
|
1013 1449 | pub map_of_structs: ::std::option::Option<
|
1014 1450 | ::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
1015 1451 | >,
|
1452 + | /* RustType.kt:516 */
|
1016 1453 | #[pyo3(get, set)]
|
1454 + | /* PythonServerStructureGenerator.kt:80 */
|
1017 1455 | /// :type typing.Optional\[typing.List\[json_rpc11.model.KitchenSink\]\]:
|
1456 + | /* StructureGenerator.kt:231 */
|
1018 1457 | #[allow(missing_docs)] // documentation missing in model
|
1019 1458 | pub recursive_list: ::std::option::Option<::std::vec::Vec<crate::model::KitchenSink>>,
|
1459 + | /* RustType.kt:516 */
|
1020 1460 | #[pyo3(get, set)]
|
1461 + | /* PythonServerStructureGenerator.kt:80 */
|
1021 1462 | /// :type typing.Optional\[typing.Dict\[str, json_rpc11.model.KitchenSink\]\]:
|
1463 + | /* StructureGenerator.kt:231 */
|
1022 1464 | #[allow(missing_docs)] // documentation missing in model
|
1023 1465 | pub recursive_map: ::std::option::Option<
|
1024 1466 | ::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
1025 1467 | >,
|
1468 + | /* RustType.kt:516 */
|
1026 1469 | #[pyo3(get, set)]
|
1470 + | /* PythonServerStructureGenerator.kt:80 */
|
1027 1471 | /// :type typing.Optional\[json_rpc11.model.KitchenSink\]:
|
1472 + | /* StructureGenerator.kt:231 */
|
1028 1473 | #[allow(missing_docs)] // documentation missing in model
|
1029 1474 | pub recursive_struct: ::std::option::Option<::std::boxed::Box<crate::model::KitchenSink>>,
|
1475 + | /* RustType.kt:516 */
|
1030 1476 | #[pyo3(get, set)]
|
1477 + | /* PythonServerStructureGenerator.kt:80 */
|
1031 1478 | /// :type typing.Optional\[json_rpc11.model.SimpleStruct\]:
|
1479 + | /* StructureGenerator.kt:231 */
|
1032 1480 | #[allow(missing_docs)] // documentation missing in model
|
1033 1481 | pub simple_struct: ::std::option::Option<crate::model::SimpleStruct>,
|
1482 + | /* RustType.kt:516 */
|
1034 1483 | #[pyo3(get, set)]
|
1484 + | /* PythonServerStructureGenerator.kt:80 */
|
1035 1485 | /// :type typing.Optional\[str\]:
|
1486 + | /* StructureGenerator.kt:231 */
|
1036 1487 | #[allow(missing_docs)] // documentation missing in model
|
1037 1488 | pub string: ::std::option::Option<::std::string::String>,
|
1489 + | /* RustType.kt:516 */
|
1038 1490 | #[pyo3(get, set)]
|
1491 + | /* PythonServerStructureGenerator.kt:80 */
|
1039 1492 | /// :type typing.Optional\[json_rpc11.model.StructWithJsonName\]:
|
1493 + | /* StructureGenerator.kt:231 */
|
1040 1494 | #[allow(missing_docs)] // documentation missing in model
|
1041 1495 | pub struct_with_json_name: ::std::option::Option<crate::model::StructWithJsonName>,
|
1496 + | /* RustType.kt:516 */
|
1042 1497 | #[pyo3(get, set)]
|
1498 + | /* PythonServerStructureGenerator.kt:80 */
|
1043 1499 | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
1500 + | /* StructureGenerator.kt:231 */
|
1044 1501 | #[allow(missing_docs)] // documentation missing in model
|
1045 1502 | pub timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1503 + | /* RustType.kt:516 */
|
1046 1504 | #[pyo3(get, set)]
|
1505 + | /* PythonServerStructureGenerator.kt:80 */
|
1047 1506 | /// :type typing.Optional\[json_rpc11.types.DateTime\]:
|
1507 + | /* StructureGenerator.kt:231 */
|
1048 1508 | #[allow(missing_docs)] // documentation missing in model
|
1049 1509 | pub unix_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1510 + | /* StructureGenerator.kt:201 */
|
1050 1511 | }
|
1512 + | /* StructureGenerator.kt:135 */
|
1051 1513 | impl KitchenSinkOperationInput {
|
1514 + | /* StructureGenerator.kt:231 */
|
1052 1515 | #[allow(missing_docs)] // documentation missing in model
|
1516 + | /* StructureGenerator.kt:166 */
|
1053 1517 | pub fn blob(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
1518 + | /* StructureGenerator.kt:170 */
|
1054 1519 | self.blob.as_ref()
|
1520 + | /* StructureGenerator.kt:166 */
|
1055 1521 | }
|
1522 + | /* StructureGenerator.kt:231 */
|
1056 1523 | #[allow(missing_docs)] // documentation missing in model
|
1524 + | /* StructureGenerator.kt:166 */
|
1057 1525 | pub fn boolean(&self) -> ::std::option::Option<bool> {
|
1526 + | /* StructureGenerator.kt:168 */
|
1058 1527 | self.boolean
|
1528 + | /* StructureGenerator.kt:166 */
|
1059 1529 | }
|
1530 + | /* StructureGenerator.kt:231 */
|
1060 1531 | #[allow(missing_docs)] // documentation missing in model
|
1532 + | /* StructureGenerator.kt:166 */
|
1061 1533 | pub fn double(&self) -> ::std::option::Option<f64> {
|
1534 + | /* StructureGenerator.kt:168 */
|
1062 1535 | self.double
|
1536 + | /* StructureGenerator.kt:166 */
|
1063 1537 | }
|
1538 + | /* StructureGenerator.kt:231 */
|
1064 1539 | #[allow(missing_docs)] // documentation missing in model
|
1540 + | /* StructureGenerator.kt:166 */
|
1065 1541 | pub fn empty_struct(&self) -> ::std::option::Option<&crate::model::EmptyStruct> {
|
1542 + | /* StructureGenerator.kt:170 */
|
1066 1543 | self.empty_struct.as_ref()
|
1544 + | /* StructureGenerator.kt:166 */
|
1067 1545 | }
|
1546 + | /* StructureGenerator.kt:231 */
|
1068 1547 | #[allow(missing_docs)] // documentation missing in model
|
1548 + | /* StructureGenerator.kt:166 */
|
1069 1549 | pub fn float(&self) -> ::std::option::Option<f32> {
|
1550 + | /* StructureGenerator.kt:168 */
|
1070 1551 | self.float
|
1552 + | /* StructureGenerator.kt:166 */
|
1071 1553 | }
|
1554 + | /* StructureGenerator.kt:231 */
|
1072 1555 | #[allow(missing_docs)] // documentation missing in model
|
1556 + | /* StructureGenerator.kt:166 */
|
1073 1557 | pub fn httpdate_timestamp(
|
1074 1558 | &self,
|
1075 1559 | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
1560 + | /* StructureGenerator.kt:170 */
|
1076 1561 | self.httpdate_timestamp.as_ref()
|
1562 + | /* StructureGenerator.kt:166 */
|
1077 1563 | }
|
1564 + | /* StructureGenerator.kt:231 */
|
1078 1565 | #[allow(missing_docs)] // documentation missing in model
|
1566 + | /* StructureGenerator.kt:166 */
|
1079 1567 | pub fn integer(&self) -> ::std::option::Option<i32> {
|
1568 + | /* StructureGenerator.kt:168 */
|
1080 1569 | self.integer
|
1570 + | /* StructureGenerator.kt:166 */
|
1081 1571 | }
|
1572 + | /* StructureGenerator.kt:231 */
|
1082 1573 | #[allow(missing_docs)] // documentation missing in model
|
1574 + | /* StructureGenerator.kt:166 */
|
1083 1575 | pub fn iso8601_timestamp(
|
1084 1576 | &self,
|
1085 1577 | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
1578 + | /* StructureGenerator.kt:170 */
|
1086 1579 | self.iso8601_timestamp.as_ref()
|
1580 + | /* StructureGenerator.kt:166 */
|
1087 1581 | }
|
1582 + | /* StructureGenerator.kt:231 */
|
1088 1583 | #[allow(missing_docs)] // documentation missing in model
|
1584 + | /* StructureGenerator.kt:166 */
|
1089 1585 | pub fn json_value(&self) -> ::std::option::Option<&str> {
|
1586 + | /* StructureGenerator.kt:169 */
|
1090 1587 | self.json_value.as_deref()
|
1588 + | /* StructureGenerator.kt:166 */
|
1091 1589 | }
|
1590 + | /* StructureGenerator.kt:231 */
|
1092 1591 | #[allow(missing_docs)] // documentation missing in model
|
1592 + | /* StructureGenerator.kt:166 */
|
1093 1593 | pub fn list_of_lists(
|
1094 1594 | &self,
|
1095 1595 | ) -> ::std::option::Option<&[::std::vec::Vec<::std::string::String>]> {
|
1596 + | /* StructureGenerator.kt:169 */
|
1096 1597 | self.list_of_lists.as_deref()
|
1598 + | /* StructureGenerator.kt:166 */
|
1097 1599 | }
|
1600 + | /* StructureGenerator.kt:231 */
|
1098 1601 | #[allow(missing_docs)] // documentation missing in model
|
1602 + | /* StructureGenerator.kt:166 */
|
1099 1603 | pub fn list_of_maps_of_strings(
|
1100 1604 | &self,
|
1101 1605 | ) -> ::std::option::Option<
|
1102 1606 | &[::std::collections::HashMap<::std::string::String, ::std::string::String>],
|
1103 1607 | > {
|
1608 + | /* StructureGenerator.kt:169 */
|
1104 1609 | self.list_of_maps_of_strings.as_deref()
|
1610 + | /* StructureGenerator.kt:166 */
|
1105 1611 | }
|
1612 + | /* StructureGenerator.kt:231 */
|
1106 1613 | #[allow(missing_docs)] // documentation missing in model
|
1614 + | /* StructureGenerator.kt:166 */
|
1107 1615 | pub fn list_of_strings(&self) -> ::std::option::Option<&[::std::string::String]> {
|
1616 + | /* StructureGenerator.kt:169 */
|
1108 1617 | self.list_of_strings.as_deref()
|
1618 + | /* StructureGenerator.kt:166 */
|
1109 1619 | }
|
1620 + | /* StructureGenerator.kt:231 */
|
1110 1621 | #[allow(missing_docs)] // documentation missing in model
|
1622 + | /* StructureGenerator.kt:166 */
|
1111 1623 | pub fn list_of_structs(&self) -> ::std::option::Option<&[crate::model::SimpleStruct]> {
|
1624 + | /* StructureGenerator.kt:169 */
|
1112 1625 | self.list_of_structs.as_deref()
|
1626 + | /* StructureGenerator.kt:166 */
|
1113 1627 | }
|
1628 + | /* StructureGenerator.kt:231 */
|
1114 1629 | #[allow(missing_docs)] // documentation missing in model
|
1630 + | /* StructureGenerator.kt:166 */
|
1115 1631 | pub fn long(&self) -> ::std::option::Option<i64> {
|
1632 + | /* StructureGenerator.kt:168 */
|
1116 1633 | self.long
|
1634 + | /* StructureGenerator.kt:166 */
|
1117 1635 | }
|
1636 + | /* StructureGenerator.kt:231 */
|
1118 1637 | #[allow(missing_docs)] // documentation missing in model
|
1638 + | /* StructureGenerator.kt:166 */
|
1119 1639 | pub fn map_of_lists_of_strings(
|
1120 1640 | &self,
|
1121 1641 | ) -> ::std::option::Option<
|
1122 1642 | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
1123 1643 | > {
|
1644 + | /* StructureGenerator.kt:170 */
|
1124 1645 | self.map_of_lists_of_strings.as_ref()
|
1646 + | /* StructureGenerator.kt:166 */
|
1125 1647 | }
|
1648 + | /* StructureGenerator.kt:231 */
|
1126 1649 | #[allow(missing_docs)] // documentation missing in model
|
1650 + | /* StructureGenerator.kt:166 */
|
1127 1651 | pub fn map_of_maps(
|
1128 1652 | &self,
|
1129 1653 | ) -> ::std::option::Option<
|
1130 1654 | &::std::collections::HashMap<
|
1131 1655 | ::std::string::String,
|
1132 1656 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1133 1657 | >,
|
1134 1658 | > {
|
1659 + | /* StructureGenerator.kt:170 */
|
1135 1660 | self.map_of_maps.as_ref()
|
1661 + | /* StructureGenerator.kt:166 */
|
1136 1662 | }
|
1663 + | /* StructureGenerator.kt:231 */
|
1137 1664 | #[allow(missing_docs)] // documentation missing in model
|
1665 + | /* StructureGenerator.kt:166 */
|
1138 1666 | pub fn map_of_strings(
|
1139 1667 | &self,
|
1140 1668 | ) -> ::std::option::Option<
|
1141 1669 | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1142 1670 | > {
|
1671 + | /* StructureGenerator.kt:170 */
|
1143 1672 | self.map_of_strings.as_ref()
|
1673 + | /* StructureGenerator.kt:166 */
|
1144 1674 | }
|
1675 + | /* StructureGenerator.kt:231 */
|
1145 1676 | #[allow(missing_docs)] // documentation missing in model
|
1677 + | /* StructureGenerator.kt:166 */
|
1146 1678 | pub fn map_of_structs(
|
1147 1679 | &self,
|
1148 1680 | ) -> ::std::option::Option<
|
1149 1681 | &::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
1150 1682 | > {
|
1683 + | /* StructureGenerator.kt:170 */
|
1151 1684 | self.map_of_structs.as_ref()
|
1685 + | /* StructureGenerator.kt:166 */
|
1152 1686 | }
|
1687 + | /* StructureGenerator.kt:231 */
|
1153 1688 | #[allow(missing_docs)] // documentation missing in model
|
1689 + | /* StructureGenerator.kt:166 */
|
1154 1690 | pub fn recursive_list(&self) -> ::std::option::Option<&[crate::model::KitchenSink]> {
|
1691 + | /* StructureGenerator.kt:169 */
|
1155 1692 | self.recursive_list.as_deref()
|
1693 + | /* StructureGenerator.kt:166 */
|
1156 1694 | }
|
1695 + | /* StructureGenerator.kt:231 */
|
1157 1696 | #[allow(missing_docs)] // documentation missing in model
|
1697 + | /* StructureGenerator.kt:166 */
|
1158 1698 | pub fn recursive_map(
|
1159 1699 | &self,
|
1160 1700 | ) -> ::std::option::Option<
|
1161 1701 | &::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
1162 1702 | > {
|
1703 + | /* StructureGenerator.kt:170 */
|
1163 1704 | self.recursive_map.as_ref()
|
1705 + | /* StructureGenerator.kt:166 */
|
1164 1706 | }
|
1707 + | /* StructureGenerator.kt:231 */
|
1165 1708 | #[allow(missing_docs)] // documentation missing in model
|
1709 + | /* StructureGenerator.kt:166 */
|
1166 1710 | pub fn recursive_struct(&self) -> ::std::option::Option<&crate::model::KitchenSink> {
|
1711 + | /* StructureGenerator.kt:169 */
|
1167 1712 | self.recursive_struct.as_deref()
|
1713 + | /* StructureGenerator.kt:166 */
|
1168 1714 | }
|
1715 + | /* StructureGenerator.kt:231 */
|
1169 1716 | #[allow(missing_docs)] // documentation missing in model
|
1717 + | /* StructureGenerator.kt:166 */
|
1170 1718 | pub fn simple_struct(&self) -> ::std::option::Option<&crate::model::SimpleStruct> {
|
1719 + | /* StructureGenerator.kt:170 */
|
1171 1720 | self.simple_struct.as_ref()
|
1721 + | /* StructureGenerator.kt:166 */
|
1172 1722 | }
|
1723 + | /* StructureGenerator.kt:231 */
|
1173 1724 | #[allow(missing_docs)] // documentation missing in model
|
1725 + | /* StructureGenerator.kt:166 */
|
1174 1726 | pub fn string(&self) -> ::std::option::Option<&str> {
|
1727 + | /* StructureGenerator.kt:169 */
|
1175 1728 | self.string.as_deref()
|
1729 + | /* StructureGenerator.kt:166 */
|
1176 1730 | }
|
1731 + | /* StructureGenerator.kt:231 */
|
1177 1732 | #[allow(missing_docs)] // documentation missing in model
|
1733 + | /* StructureGenerator.kt:166 */
|
1178 1734 | pub fn struct_with_json_name(
|
1179 1735 | &self,
|
1180 1736 | ) -> ::std::option::Option<&crate::model::StructWithJsonName> {
|
1737 + | /* StructureGenerator.kt:170 */
|
1181 1738 | self.struct_with_json_name.as_ref()
|
1739 + | /* StructureGenerator.kt:166 */
|
1182 1740 | }
|
1741 + | /* StructureGenerator.kt:231 */
|
1183 1742 | #[allow(missing_docs)] // documentation missing in model
|
1743 + | /* StructureGenerator.kt:166 */
|
1184 1744 | pub fn timestamp(
|
1185 1745 | &self,
|
1186 1746 | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
1747 + | /* StructureGenerator.kt:170 */
|
1187 1748 | self.timestamp.as_ref()
|
1749 + | /* StructureGenerator.kt:166 */
|
1188 1750 | }
|
1751 + | /* StructureGenerator.kt:231 */
|
1189 1752 | #[allow(missing_docs)] // documentation missing in model
|
1753 + | /* StructureGenerator.kt:166 */
|
1190 1754 | pub fn unix_timestamp(
|
1191 1755 | &self,
|
1192 1756 | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
1757 + | /* StructureGenerator.kt:170 */
|
1193 1758 | self.unix_timestamp.as_ref()
|
1759 + | /* StructureGenerator.kt:166 */
|
1194 1760 | }
|
1761 + | /* StructureGenerator.kt:135 */
|
1195 1762 | }
|
1763 + | /* RustType.kt:516 */
|
1196 1764 | #[allow(clippy::new_without_default)]
|
1765 + | /* RustType.kt:516 */
|
1197 1766 | #[allow(clippy::too_many_arguments)]
|
1767 + | /* RustType.kt:516 */
|
1198 1768 | #[::pyo3::pymethods]
|
1769 + | /* PythonServerStructureGenerator.kt:88 */
|
1199 1770 | impl KitchenSinkOperationInput {
|
1200 1771 | #[new]
|
1201 1772 | pub fn new(
|
1202 1773 | blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1203 1774 | boolean: ::std::option::Option<bool>,
|
1204 1775 | double: ::std::option::Option<f64>,
|
1205 1776 | empty_struct: ::std::option::Option<crate::model::EmptyStruct>,
|
1206 1777 | float: ::std::option::Option<f32>,
|
1207 1778 | httpdate_timestamp: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
1208 1779 | integer: ::std::option::Option<i32>,
|
1277 1848 | unix_timestamp,
|
1278 1849 | }
|
1279 1850 | }
|
1280 1851 | fn __repr__(&self) -> String {
|
1281 1852 | format!("{self:?}")
|
1282 1853 | }
|
1283 1854 | fn __str__(&self) -> String {
|
1284 1855 | format!("{self:?}")
|
1285 1856 | }
|
1286 1857 | }
|
1858 + | /* PythonServerStructureGenerator.kt:111 */
|
1287 1859 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<KitchenSinkOperationInput> {
|
1288 1860 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1289 1861 | ob.extract::<KitchenSinkOperationInput>().map(Box::new)
|
1290 1862 | }
|
1291 1863 | }
|
1292 1864 |
|
1293 1865 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<KitchenSinkOperationInput> {
|
1294 1866 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1295 1867 | (*self).into_py(py)
|
1296 1868 | }
|
1297 1869 | }
|
1870 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
1298 1871 | impl crate::constrained::Constrained for crate::input::KitchenSinkOperationInput {
|
1299 1872 | type Unconstrained = crate::input::kitchen_sink_operation_input_internal::Builder;
|
1300 1873 | }
|
1874 + | /* ServerCodegenVisitor.kt:370 */
|
1301 1875 | impl KitchenSinkOperationInput {
|
1302 - | /// Creates a new builder-style object to manufacture [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
1876 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
1877 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
1303 1878 | pub fn builder() -> crate::input::kitchen_sink_operation_input::Builder {
|
1879 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
1304 1880 | crate::input::kitchen_sink_operation_input::Builder::default()
|
1881 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
1305 1882 | }
|
1883 + | /* ServerCodegenVisitor.kt:370 */
|
1306 1884 | }
|
1307 1885 |
|
1886 + | /* RustType.kt:516 */
|
1308 1887 | #[::pyo3::pyclass]
|
1888 + | /* PythonServerStructureGenerator.kt:63 */
|
1309 1889 | /// :rtype None:
|
1890 + | /* StructureGenerator.kt:197 */
|
1310 1891 | #[allow(missing_docs)] // documentation missing in model
|
1892 + | /* RustType.kt:516 */
|
1311 1893 | #[derive(
|
1312 1894 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1313 1895 | )]
|
1314 - | pub struct EmptyOperationInput {}
|
1896 + | pub /* StructureGenerator.kt:201 */ struct EmptyOperationInput {/* StructureGenerator.kt:201 */}
|
1897 + | /* RustType.kt:516 */
|
1315 1898 | #[allow(clippy::new_without_default)]
|
1899 + | /* RustType.kt:516 */
|
1316 1900 | #[allow(clippy::too_many_arguments)]
|
1901 + | /* RustType.kt:516 */
|
1317 1902 | #[::pyo3::pymethods]
|
1903 + | /* PythonServerStructureGenerator.kt:88 */
|
1318 1904 | impl EmptyOperationInput {
|
1319 1905 | #[new]
|
1320 1906 | pub fn new() -> Self {
|
1321 1907 | Self {}
|
1322 1908 | }
|
1323 1909 | fn __repr__(&self) -> String {
|
1324 1910 | format!("{self:?}")
|
1325 1911 | }
|
1326 1912 | fn __str__(&self) -> String {
|
1327 1913 | format!("{self:?}")
|
1328 1914 | }
|
1329 1915 | }
|
1916 + | /* PythonServerStructureGenerator.kt:111 */
|
1330 1917 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EmptyOperationInput> {
|
1331 1918 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1332 1919 | ob.extract::<EmptyOperationInput>().map(Box::new)
|
1333 1920 | }
|
1334 1921 | }
|
1335 1922 |
|
1336 1923 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EmptyOperationInput> {
|
1337 1924 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1338 1925 | (*self).into_py(py)
|
1339 1926 | }
|
1340 1927 | }
|
1928 + | /* ServerStructureConstrainedTraitImpl.kt:21 */
|
1341 1929 | impl crate::constrained::Constrained for crate::input::EmptyOperationInput {
|
1342 1930 | type Unconstrained = crate::input::empty_operation_input_internal::Builder;
|
1343 1931 | }
|
1932 + | /* ServerCodegenVisitor.kt:370 */
|
1344 1933 | impl EmptyOperationInput {
|
1345 - | /// Creates a new builder-style object to manufacture [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
1934 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
1935 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
1346 1936 | pub fn builder() -> crate::input::empty_operation_input::Builder {
|
1937 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
1347 1938 | crate::input::empty_operation_input::Builder::default()
|
1939 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
1348 1940 | }
|
1941 + | /* ServerCodegenVisitor.kt:370 */
|
1349 1942 | }
|
1350 - | /// See [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
1943 + | /// /* ServerBuilderGenerator.kt:171 */See [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
1351 1944 | pub(crate) mod content_type_parameters_input_internal {
|
1352 1945 |
|
1946 + | /* ServerBuilderGenerator.kt:461 */
|
1353 1947 | impl ::std::convert::From<Builder> for crate::input::ContentTypeParametersInput {
|
1354 1948 | fn from(builder: Builder) -> Self {
|
1355 1949 | builder.build()
|
1356 1950 | }
|
1357 1951 | }
|
1358 - | /// A builder for [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
1952 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
1953 + | /* RustType.kt:516 */
|
1359 1954 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1955 + | /* ServerBuilderGenerator.kt:211 */
|
1360 1956 | pub(crate) struct Builder {
|
1957 + | /* ServerBuilderGenerator.kt:308 */
|
1361 1958 | pub(crate) value: ::std::option::Option<i32>,
|
1959 + | /* ServerBuilderGenerator.kt:211 */
|
1362 1960 | }
|
1961 + | /* ServerBuilderGenerator.kt:215 */
|
1363 1962 | impl Builder {
|
1963 + | /* ServerBuilderGenerator.kt:426 */
|
1364 1964 | #[allow(missing_docs)] // documentation missing in model
|
1965 + | /* ServerBuilderGenerator.kt:428 */
|
1365 1966 | pub(crate) fn set_value(mut self, input: Option<impl ::std::convert::Into<i32>>) -> Self {
|
1967 + | /* ServerBuilderGenerator.kt:429 */
|
1366 1968 | self.value = input.map(|v| v.into());
|
1367 1969 | self
|
1970 + | /* ServerBuilderGenerator.kt:428 */
|
1368 1971 | }
|
1369 - | /// Consumes the builder and constructs a [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
1972 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
1973 + | /* ServerBuilderGenerator.kt:271 */
|
1370 1974 | pub fn build(self) -> crate::input::ContentTypeParametersInput {
|
1371 1975 | self.build_enforcing_all_constraints()
|
1372 1976 | }
|
1977 + | /* ServerBuilderGenerator.kt:283 */
|
1373 1978 | fn build_enforcing_all_constraints(self) -> crate::input::ContentTypeParametersInput {
|
1374 - | crate::input::ContentTypeParametersInput { value: self.value }
|
1979 + | /* ServerBuilderGenerator.kt:542 */
|
1980 + | crate::input::ContentTypeParametersInput {
|
1981 + | /* ServerBuilderGenerator.kt:546 */
|
1982 + | value: self.value,
|
1983 + | /* ServerBuilderGenerator.kt:542 */
|
1375 1984 | }
|
1985 + | /* ServerBuilderGenerator.kt:283 */
|
1376 1986 | }
|
1987 + | /* ServerBuilderGenerator.kt:215 */
|
1988 + | }
|
1989 + |
|
1990 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1377 1991 | }
|
1378 - | /// See [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
1992 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
1379 1993 | pub mod content_type_parameters_input {
|
1380 1994 |
|
1995 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
1381 1996 | impl ::std::convert::From<Builder> for crate::input::ContentTypeParametersInput {
|
1382 1997 | fn from(builder: Builder) -> Self {
|
1383 1998 | builder.build()
|
1384 1999 | }
|
1385 2000 | }
|
1386 - | /// A builder for [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
2001 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
2002 + | /* RustType.kt:516 */
|
1387 2003 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2004 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
1388 2005 | pub struct Builder {
|
2006 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
1389 2007 | pub(crate) value: ::std::option::Option<i32>,
|
2008 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
1390 2009 | }
|
2010 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1391 2011 | impl Builder {
|
2012 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
1392 2013 | #[allow(missing_docs)] // documentation missing in model
|
2014 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
1393 2015 | pub fn value(mut self, input: ::std::option::Option<i32>) -> Self {
|
1394 - | self.value = input;
|
2016 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
2017 + | self.value =
|
2018 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
2019 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
1395 2020 | self
|
2021 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
1396 2022 | }
|
1397 - | /// Consumes the builder and constructs a [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
2023 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`ContentTypeParametersInput`](crate::input::ContentTypeParametersInput).
|
2024 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
1398 2025 | pub fn build(self) -> crate::input::ContentTypeParametersInput {
|
1399 2026 | self.build_enforcing_required_and_enum_traits()
|
1400 2027 | }
|
2028 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1401 2029 | fn build_enforcing_required_and_enum_traits(
|
1402 2030 | self,
|
1403 2031 | ) -> crate::input::ContentTypeParametersInput {
|
1404 - | crate::input::ContentTypeParametersInput { value: self.value }
|
2032 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2033 + | crate::input::ContentTypeParametersInput {
|
2034 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2035 + | value: self.value,
|
2036 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
1405 2037 | }
|
2038 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1406 2039 | }
|
2040 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2041 + | }
|
2042 + |
|
2043 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1407 2044 | }
|
1408 - | /// See [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
2045 + | /// /* ServerBuilderGenerator.kt:171 */See [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
1409 2046 | pub(crate) mod put_with_content_encoding_input_internal {
|
1410 2047 |
|
2048 + | /* ServerBuilderGenerator.kt:461 */
|
1411 2049 | impl ::std::convert::From<Builder> for crate::input::PutWithContentEncodingInput {
|
1412 2050 | fn from(builder: Builder) -> Self {
|
1413 2051 | builder.build()
|
1414 2052 | }
|
1415 2053 | }
|
1416 - | /// A builder for [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
2054 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
2055 + | /* RustType.kt:516 */
|
1417 2056 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2057 + | /* ServerBuilderGenerator.kt:211 */
|
1418 2058 | pub(crate) struct Builder {
|
2059 + | /* ServerBuilderGenerator.kt:308 */
|
1419 2060 | pub(crate) encoding: ::std::option::Option<::std::string::String>,
|
2061 + | /* ServerBuilderGenerator.kt:308 */
|
1420 2062 | pub(crate) data: ::std::option::Option<::std::string::String>,
|
2063 + | /* ServerBuilderGenerator.kt:211 */
|
1421 2064 | }
|
2065 + | /* ServerBuilderGenerator.kt:215 */
|
1422 2066 | impl Builder {
|
2067 + | /* ServerBuilderGenerator.kt:426 */
|
1423 2068 | #[allow(missing_docs)] // documentation missing in model
|
2069 + | /* ServerBuilderGenerator.kt:428 */
|
1424 2070 | pub(crate) fn set_encoding(
|
1425 2071 | mut self,
|
1426 2072 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
1427 2073 | ) -> Self {
|
2074 + | /* ServerBuilderGenerator.kt:429 */
|
1428 2075 | self.encoding = input.map(|v| v.into());
|
1429 2076 | self
|
2077 + | /* ServerBuilderGenerator.kt:428 */
|
1430 2078 | }
|
2079 + | /* ServerBuilderGenerator.kt:426 */
|
1431 2080 | #[allow(missing_docs)] // documentation missing in model
|
2081 + | /* ServerBuilderGenerator.kt:428 */
|
1432 2082 | pub(crate) fn set_data(
|
1433 2083 | mut self,
|
1434 2084 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
1435 2085 | ) -> Self {
|
2086 + | /* ServerBuilderGenerator.kt:429 */
|
1436 2087 | self.data = input.map(|v| v.into());
|
1437 2088 | self
|
2089 + | /* ServerBuilderGenerator.kt:428 */
|
1438 2090 | }
|
1439 - | /// Consumes the builder and constructs a [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
2091 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
2092 + | /* ServerBuilderGenerator.kt:271 */
|
1440 2093 | pub fn build(self) -> crate::input::PutWithContentEncodingInput {
|
1441 2094 | self.build_enforcing_all_constraints()
|
1442 2095 | }
|
2096 + | /* ServerBuilderGenerator.kt:283 */
|
1443 2097 | fn build_enforcing_all_constraints(self) -> crate::input::PutWithContentEncodingInput {
|
2098 + | /* ServerBuilderGenerator.kt:542 */
|
1444 2099 | crate::input::PutWithContentEncodingInput {
|
2100 + | /* ServerBuilderGenerator.kt:546 */
|
1445 2101 | encoding: self.encoding,
|
2102 + | /* ServerBuilderGenerator.kt:546 */
|
1446 2103 | data: self.data,
|
2104 + | /* ServerBuilderGenerator.kt:542 */
|
1447 2105 | }
|
2106 + | /* ServerBuilderGenerator.kt:283 */
|
1448 2107 | }
|
2108 + | /* ServerBuilderGenerator.kt:215 */
|
1449 2109 | }
|
2110 + |
|
2111 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1450 2112 | }
|
1451 - | /// See [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
2113 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
1452 2114 | pub mod put_with_content_encoding_input {
|
1453 2115 |
|
2116 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
1454 2117 | impl ::std::convert::From<Builder> for crate::input::PutWithContentEncodingInput {
|
1455 2118 | fn from(builder: Builder) -> Self {
|
1456 2119 | builder.build()
|
1457 2120 | }
|
1458 2121 | }
|
1459 - | /// A builder for [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
2122 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
2123 + | /* RustType.kt:516 */
|
1460 2124 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2125 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
1461 2126 | pub struct Builder {
|
2127 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
1462 2128 | pub(crate) encoding: ::std::option::Option<::std::string::String>,
|
2129 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
1463 2130 | pub(crate) data: ::std::option::Option<::std::string::String>,
|
2131 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
1464 2132 | }
|
2133 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1465 2134 | impl Builder {
|
2135 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
1466 2136 | #[allow(missing_docs)] // documentation missing in model
|
2137 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
1467 2138 | pub fn encoding(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
1468 - | self.encoding = input;
|
2139 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
2140 + | self.encoding =
|
2141 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
2142 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
1469 2143 | self
|
2144 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
1470 2145 | }
|
2146 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
1471 2147 | #[allow(missing_docs)] // documentation missing in model
|
2148 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
1472 2149 | pub fn data(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
1473 - | self.data = input;
|
2150 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
2151 + | self.data =
|
2152 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
2153 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
1474 2154 | self
|
2155 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
1475 2156 | }
|
1476 - | /// Consumes the builder and constructs a [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
2157 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`PutWithContentEncodingInput`](crate::input::PutWithContentEncodingInput).
|
2158 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
1477 2159 | pub fn build(self) -> crate::input::PutWithContentEncodingInput {
|
1478 2160 | self.build_enforcing_required_and_enum_traits()
|
1479 2161 | }
|
2162 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1480 2163 | fn build_enforcing_required_and_enum_traits(
|
1481 2164 | self,
|
1482 2165 | ) -> crate::input::PutWithContentEncodingInput {
|
2166 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
1483 2167 | crate::input::PutWithContentEncodingInput {
|
2168 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
1484 2169 | encoding: self.encoding,
|
2170 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
1485 2171 | data: self.data,
|
2172 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
1486 2173 | }
|
2174 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1487 2175 | }
|
2176 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1488 2177 | }
|
2178 + |
|
2179 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1489 2180 | }
|
1490 - | /// See [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
2181 + | /// /* ServerBuilderGenerator.kt:171 */See [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
1491 2182 | pub(crate) mod fractional_seconds_input_internal {
|
1492 2183 |
|
2184 + | /* ServerBuilderGenerator.kt:461 */
|
1493 2185 | impl ::std::convert::From<Builder> for crate::input::FractionalSecondsInput {
|
1494 2186 | fn from(builder: Builder) -> Self {
|
1495 2187 | builder.build()
|
1496 2188 | }
|
1497 2189 | }
|
1498 - | /// A builder for [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
2190 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
2191 + | /* RustType.kt:516 */
|
1499 2192 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1500 - | pub(crate) struct Builder {}
|
2193 + | /* ServerBuilderGenerator.kt:211 */
|
2194 + | pub(crate) struct Builder {/* ServerBuilderGenerator.kt:211 */}
|
2195 + | /* ServerBuilderGenerator.kt:215 */
|
1501 2196 | impl Builder {
|
1502 - | /// Consumes the builder and constructs a [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
2197 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
2198 + | /* ServerBuilderGenerator.kt:271 */
|
1503 2199 | pub fn build(self) -> crate::input::FractionalSecondsInput {
|
1504 2200 | self.build_enforcing_all_constraints()
|
1505 2201 | }
|
2202 + | /* ServerBuilderGenerator.kt:283 */
|
1506 2203 | fn build_enforcing_all_constraints(self) -> crate::input::FractionalSecondsInput {
|
1507 - | crate::input::FractionalSecondsInput {}
|
2204 + | /* ServerBuilderGenerator.kt:542 */
|
2205 + | crate::input::FractionalSecondsInput {
|
2206 + | /* ServerBuilderGenerator.kt:542 */}
|
2207 + | /* ServerBuilderGenerator.kt:283 */
|
1508 2208 | }
|
2209 + | /* ServerBuilderGenerator.kt:215 */
|
1509 2210 | }
|
2211 + |
|
2212 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1510 2213 | }
|
1511 - | /// See [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
2214 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
1512 2215 | pub mod fractional_seconds_input {
|
1513 2216 |
|
2217 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
1514 2218 | impl ::std::convert::From<Builder> for crate::input::FractionalSecondsInput {
|
1515 2219 | fn from(builder: Builder) -> Self {
|
1516 2220 | builder.build()
|
1517 2221 | }
|
1518 2222 | }
|
1519 - | /// A builder for [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
2223 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
2224 + | /* RustType.kt:516 */
|
1520 2225 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1521 - | pub struct Builder {}
|
2226 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2227 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
2228 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1522 2229 | impl Builder {
|
1523 - | /// Consumes the builder and constructs a [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
2230 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`FractionalSecondsInput`](crate::input::FractionalSecondsInput).
|
2231 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
1524 2232 | pub fn build(self) -> crate::input::FractionalSecondsInput {
|
1525 2233 | self.build_enforcing_required_and_enum_traits()
|
1526 2234 | }
|
2235 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1527 2236 | fn build_enforcing_required_and_enum_traits(self) -> crate::input::FractionalSecondsInput {
|
1528 - | crate::input::FractionalSecondsInput {}
|
2237 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2238 + | crate::input::FractionalSecondsInput {
|
2239 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
2240 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1529 2241 | }
|
2242 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1530 2243 | }
|
2244 + |
|
2245 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1531 2246 | }
|
1532 - | /// See [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
2247 + | /// /* ServerBuilderGenerator.kt:171 */See [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
1533 2248 | pub(crate) mod datetime_offsets_input_internal {
|
1534 2249 |
|
2250 + | /* ServerBuilderGenerator.kt:461 */
|
1535 2251 | impl ::std::convert::From<Builder> for crate::input::DatetimeOffsetsInput {
|
1536 2252 | fn from(builder: Builder) -> Self {
|
1537 2253 | builder.build()
|
1538 2254 | }
|
1539 2255 | }
|
1540 - | /// A builder for [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
2256 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
2257 + | /* RustType.kt:516 */
|
1541 2258 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1542 - | pub(crate) struct Builder {}
|
2259 + | /* ServerBuilderGenerator.kt:211 */
|
2260 + | pub(crate) struct Builder {/* ServerBuilderGenerator.kt:211 */}
|
2261 + | /* ServerBuilderGenerator.kt:215 */
|
1543 2262 | impl Builder {
|
1544 - | /// Consumes the builder and constructs a [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
2263 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
2264 + | /* ServerBuilderGenerator.kt:271 */
|
1545 2265 | pub fn build(self) -> crate::input::DatetimeOffsetsInput {
|
1546 2266 | self.build_enforcing_all_constraints()
|
1547 2267 | }
|
2268 + | /* ServerBuilderGenerator.kt:283 */
|
1548 2269 | fn build_enforcing_all_constraints(self) -> crate::input::DatetimeOffsetsInput {
|
1549 - | crate::input::DatetimeOffsetsInput {}
|
2270 + | /* ServerBuilderGenerator.kt:542 */
|
2271 + | crate::input::DatetimeOffsetsInput {
|
2272 + | /* ServerBuilderGenerator.kt:542 */}
|
2273 + | /* ServerBuilderGenerator.kt:283 */
|
1550 2274 | }
|
2275 + | /* ServerBuilderGenerator.kt:215 */
|
1551 2276 | }
|
2277 + |
|
2278 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1552 2279 | }
|
1553 - | /// See [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
2280 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
1554 2281 | pub mod datetime_offsets_input {
|
1555 2282 |
|
2283 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
1556 2284 | impl ::std::convert::From<Builder> for crate::input::DatetimeOffsetsInput {
|
1557 2285 | fn from(builder: Builder) -> Self {
|
1558 2286 | builder.build()
|
1559 2287 | }
|
1560 2288 | }
|
1561 - | /// A builder for [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
2289 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
2290 + | /* RustType.kt:516 */
|
1562 2291 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1563 - | pub struct Builder {}
|
2292 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2293 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
2294 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1564 2295 | impl Builder {
|
1565 - | /// Consumes the builder and constructs a [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
2296 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`DatetimeOffsetsInput`](crate::input::DatetimeOffsetsInput).
|
2297 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
1566 2298 | pub fn build(self) -> crate::input::DatetimeOffsetsInput {
|
1567 2299 | self.build_enforcing_required_and_enum_traits()
|
1568 2300 | }
|
2301 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1569 2302 | fn build_enforcing_required_and_enum_traits(self) -> crate::input::DatetimeOffsetsInput {
|
1570 - | crate::input::DatetimeOffsetsInput {}
|
2303 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2304 + | crate::input::DatetimeOffsetsInput {
|
2305 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
2306 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1571 2307 | }
|
2308 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1572 2309 | }
|
2310 + |
|
2311 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1573 2312 | }
|
1574 - | /// See [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
2313 + | /// /* ServerBuilderGenerator.kt:171 */See [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
1575 2314 | pub(crate) mod host_with_path_operation_input_internal {
|
1576 2315 |
|
2316 + | /* ServerBuilderGenerator.kt:461 */
|
1577 2317 | impl ::std::convert::From<Builder> for crate::input::HostWithPathOperationInput {
|
1578 2318 | fn from(builder: Builder) -> Self {
|
1579 2319 | builder.build()
|
1580 2320 | }
|
1581 2321 | }
|
1582 - | /// A builder for [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
2322 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
2323 + | /* RustType.kt:516 */
|
1583 2324 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1584 - | pub(crate) struct Builder {}
|
2325 + | /* ServerBuilderGenerator.kt:211 */
|
2326 + | pub(crate) struct Builder {/* ServerBuilderGenerator.kt:211 */}
|
2327 + | /* ServerBuilderGenerator.kt:215 */
|
1585 2328 | impl Builder {
|
1586 - | /// Consumes the builder and constructs a [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
2329 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
2330 + | /* ServerBuilderGenerator.kt:271 */
|
1587 2331 | pub fn build(self) -> crate::input::HostWithPathOperationInput {
|
1588 2332 | self.build_enforcing_all_constraints()
|
1589 2333 | }
|
2334 + | /* ServerBuilderGenerator.kt:283 */
|
1590 2335 | fn build_enforcing_all_constraints(self) -> crate::input::HostWithPathOperationInput {
|
1591 - | crate::input::HostWithPathOperationInput {}
|
2336 + | /* ServerBuilderGenerator.kt:542 */
|
2337 + | crate::input::HostWithPathOperationInput {
|
2338 + | /* ServerBuilderGenerator.kt:542 */}
|
2339 + | /* ServerBuilderGenerator.kt:283 */
|
1592 2340 | }
|
2341 + | /* ServerBuilderGenerator.kt:215 */
|
1593 2342 | }
|
2343 + |
|
2344 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1594 2345 | }
|
1595 - | /// See [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
2346 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
1596 2347 | pub mod host_with_path_operation_input {
|
1597 2348 |
|
2349 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
1598 2350 | impl ::std::convert::From<Builder> for crate::input::HostWithPathOperationInput {
|
1599 2351 | fn from(builder: Builder) -> Self {
|
1600 2352 | builder.build()
|
1601 2353 | }
|
1602 2354 | }
|
1603 - | /// A builder for [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
2355 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
2356 + | /* RustType.kt:516 */
|
1604 2357 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1605 - | pub struct Builder {}
|
2358 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2359 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
2360 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1606 2361 | impl Builder {
|
1607 - | /// Consumes the builder and constructs a [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
2362 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`HostWithPathOperationInput`](crate::input::HostWithPathOperationInput).
|
2363 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
1608 2364 | pub fn build(self) -> crate::input::HostWithPathOperationInput {
|
1609 2365 | self.build_enforcing_required_and_enum_traits()
|
1610 2366 | }
|
2367 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1611 2368 | fn build_enforcing_required_and_enum_traits(
|
1612 2369 | self,
|
1613 2370 | ) -> crate::input::HostWithPathOperationInput {
|
1614 - | crate::input::HostWithPathOperationInput {}
|
2371 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2372 + | crate::input::HostWithPathOperationInput {
|
2373 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
2374 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1615 2375 | }
|
2376 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1616 2377 | }
|
2378 + |
|
2379 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1617 2380 | }
|
1618 - | /// See [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
2381 + | /// /* ServerBuilderGenerator.kt:171 */See [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
1619 2382 | pub(crate) mod endpoint_with_host_label_operation_input_internal {
|
1620 2383 |
|
2384 + | /* RustType.kt:516 */
|
1621 2385 | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1622 - | /// Holds one variant for each of the ways the builder can fail.
|
2386 + | /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
|
2387 + | /* RustType.kt:516 */
|
1623 2388 | #[non_exhaustive]
|
2389 + | /* ServerBuilderConstraintViolations.kt:75 */
|
1624 2390 | #[allow(clippy::enum_variant_names)]
|
1625 2391 | pub(crate) enum ConstraintViolation {
|
1626 - | /// `label` was not provided but it is required when building `EndpointWithHostLabelOperationInput`.
|
2392 + | /// /* ServerBuilderConstraintViolations.kt:138 */`label` was not provided but it is required when building `EndpointWithHostLabelOperationInput`.
|
2393 + | /* ServerBuilderConstraintViolations.kt:143 */
|
1627 2394 | MissingLabel,
|
2395 + | /* ServerBuilderConstraintViolations.kt:75 */
|
1628 2396 | }
|
2397 + | /* ServerBuilderConstraintViolations.kt:117 */
|
1629 2398 | impl ::std::fmt::Display for ConstraintViolation {
|
2399 + | /* ServerBuilderConstraintViolations.kt:118 */
|
1630 2400 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
2401 + | /* ServerBuilderConstraintViolations.kt:119 */
|
1631 2402 | match self {
|
1632 - | ConstraintViolation::MissingLabel => write!(f, "`label` was not provided but it is required when building `EndpointWithHostLabelOperationInput`"),
|
1633 - | }
|
2403 + | /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingLabel => write!(f, "`label` was not provided but it is required when building `EndpointWithHostLabelOperationInput`"),
|
2404 + | /* ServerBuilderConstraintViolations.kt:119 */}
|
2405 + | /* ServerBuilderConstraintViolations.kt:118 */
|
1634 2406 | }
|
2407 + | /* ServerBuilderConstraintViolations.kt:117 */
|
1635 2408 | }
|
2409 + | /* ServerBuilderConstraintViolations.kt:84 */
|
1636 2410 | impl ::std::error::Error for ConstraintViolation {}
|
2411 + | /* ServerBuilderConstraintViolations.kt:171 */
|
1637 2412 | impl ConstraintViolation {
|
1638 2413 | pub(crate) fn as_validation_exception_field(
|
1639 2414 | self,
|
1640 2415 | path: ::std::string::String,
|
1641 2416 | ) -> crate::model::ValidationExceptionField {
|
1642 2417 | match self {
|
1643 2418 | ConstraintViolation::MissingLabel => crate::model::ValidationExceptionField {
|
1644 2419 | message: format!(
|
1645 2420 | "Value at '{}/label' failed to satisfy constraint: Member must not be null",
|
1646 2421 | path
|
1647 2422 | ),
|
1648 2423 | path: path + "/label",
|
1649 2424 | },
|
1650 2425 | }
|
1651 2426 | }
|
1652 2427 | }
|
2428 + | /* ServerBuilderGenerator.kt:234 */
|
1653 2429 | impl ::std::convert::From<ConstraintViolation>
|
1654 2430 | for ::aws_smithy_http_server::protocol::aws_json::rejection::RequestRejection
|
1655 2431 | {
|
1656 2432 | fn from(constraint_violation: ConstraintViolation) -> Self {
|
1657 2433 | let first_validation_exception_field =
|
1658 2434 | constraint_violation.as_validation_exception_field("".to_owned());
|
1659 2435 | let validation_exception = crate::error::ValidationException {
|
1660 2436 | message: format!(
|
1661 2437 | "1 validation error detected. {}",
|
1662 2438 | &first_validation_exception_field.message
|
1663 2439 | ),
|
1664 2440 | field_list: Some(vec![first_validation_exception_field]),
|
1665 2441 | };
|
1666 2442 | Self::ConstraintViolation(
|
1667 2443 | crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
|
1668 2444 | .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
|
1669 2445 | )
|
1670 2446 | }
|
1671 2447 | }
|
2448 + | /* ServerBuilderGenerator.kt:244 */
|
1672 2449 | impl ::std::convert::From<Builder>
|
1673 2450 | for crate::constrained::MaybeConstrained<crate::input::EndpointWithHostLabelOperationInput>
|
1674 2451 | {
|
1675 2452 | fn from(builder: Builder) -> Self {
|
1676 2453 | Self::Unconstrained(builder)
|
1677 2454 | }
|
1678 2455 | }
|
2456 + | /* ServerBuilderGenerator.kt:446 */
|
1679 2457 | impl ::std::convert::TryFrom<Builder> for crate::input::EndpointWithHostLabelOperationInput {
|
1680 2458 | type Error = ConstraintViolation;
|
1681 2459 |
|
1682 2460 | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
1683 2461 | builder.build()
|
1684 2462 | }
|
1685 2463 | }
|
1686 - | /// A builder for [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
2464 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
2465 + | /* RustType.kt:516 */
|
1687 2466 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2467 + | /* ServerBuilderGenerator.kt:211 */
|
1688 2468 | pub(crate) struct Builder {
|
2469 + | /* ServerBuilderGenerator.kt:308 */
|
1689 2470 | pub(crate) label: ::std::option::Option<::std::string::String>,
|
2471 + | /* ServerBuilderGenerator.kt:211 */
|
1690 2472 | }
|
2473 + | /* ServerBuilderGenerator.kt:215 */
|
1691 2474 | impl Builder {
|
2475 + | /* ServerBuilderGenerator.kt:426 */
|
1692 2476 | #[allow(missing_docs)] // documentation missing in model
|
2477 + | /* ServerBuilderGenerator.kt:428 */
|
1693 2478 | pub(crate) fn set_label(
|
1694 2479 | mut self,
|
1695 2480 | input: impl ::std::convert::Into<::std::string::String>,
|
1696 2481 | ) -> Self {
|
2482 + | /* ServerBuilderGenerator.kt:429 */
|
1697 2483 | self.label = Some(input.into());
|
1698 2484 | self
|
2485 + | /* ServerBuilderGenerator.kt:428 */
|
1699 2486 | }
|
1700 - | /// Consumes the builder and constructs a [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
1701 - | ///
|
2487 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
2488 + | /// /* ServerBuilderGenerator.kt:260 */
|
1702 2489 | /// The builder fails to construct a [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput) if a [`ConstraintViolation`] occurs.
|
1703 2490 | ///
|
2491 + | /* ServerBuilderGenerator.kt:271 */
|
1704 2492 | pub fn build(
|
1705 2493 | self,
|
1706 2494 | ) -> Result<crate::input::EndpointWithHostLabelOperationInput, ConstraintViolation>
|
1707 2495 | {
|
1708 2496 | self.build_enforcing_all_constraints()
|
1709 2497 | }
|
2498 + | /* ServerBuilderGenerator.kt:283 */
|
1710 2499 | fn build_enforcing_all_constraints(
|
1711 2500 | self,
|
1712 2501 | ) -> Result<crate::input::EndpointWithHostLabelOperationInput, ConstraintViolation>
|
1713 2502 | {
|
1714 - | Ok(crate::input::EndpointWithHostLabelOperationInput {
|
1715 - | label: self.label.ok_or(ConstraintViolation::MissingLabel)?,
|
1716 - | })
|
2503 + | /* ServerBuilderGenerator.kt:287 */
|
2504 + | Ok(
|
2505 + | /* ServerBuilderGenerator.kt:542 */
|
2506 + | crate::input::EndpointWithHostLabelOperationInput {
|
2507 + | /* ServerBuilderGenerator.kt:546 */
|
2508 + | label: self
|
2509 + | .label
|
2510 + | /* ServerBuilderGenerator.kt:569 */
|
2511 + | .ok_or(ConstraintViolation::MissingLabel)?,
|
2512 + | /* ServerBuilderGenerator.kt:542 */
|
2513 + | }, /* ServerBuilderGenerator.kt:287 */
|
2514 + | )
|
2515 + | /* ServerBuilderGenerator.kt:283 */
|
1717 2516 | }
|
2517 + | /* ServerBuilderGenerator.kt:215 */
|
1718 2518 | }
|
2519 + |
|
2520 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1719 2521 | }
|
1720 - | /// See [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
2522 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
1721 2523 | pub mod endpoint_with_host_label_operation_input {
|
1722 2524 |
|
2525 + | /* RustType.kt:516 */
|
1723 2526 | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1724 - | /// Holds one variant for each of the ways the builder can fail.
|
1725 - |
|
2527 + | /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
|
2528 + | /* ServerBuilderConstraintViolations.kt:75 */
|
1726 2529 | #[allow(clippy::enum_variant_names)]
|
1727 2530 | pub enum ConstraintViolation {
|
1728 - | /// `label` was not provided but it is required when building `EndpointWithHostLabelOperationInput`.
|
2531 + | /// /* ServerBuilderConstraintViolations.kt:138 */`label` was not provided but it is required when building `EndpointWithHostLabelOperationInput`.
|
2532 + | /* ServerBuilderConstraintViolations.kt:143 */
|
1729 2533 | MissingLabel,
|
2534 + | /* ServerBuilderConstraintViolations.kt:75 */
|
1730 2535 | }
|
2536 + | /* ServerBuilderConstraintViolations.kt:117 */
|
1731 2537 | impl ::std::fmt::Display for ConstraintViolation {
|
2538 + | /* ServerBuilderConstraintViolations.kt:118 */
|
1732 2539 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
2540 + | /* ServerBuilderConstraintViolations.kt:119 */
|
1733 2541 | match self {
|
1734 - | ConstraintViolation::MissingLabel => write!(f, "`label` was not provided but it is required when building `EndpointWithHostLabelOperationInput`"),
|
1735 - | }
|
2542 + | /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingLabel => write!(f, "`label` was not provided but it is required when building `EndpointWithHostLabelOperationInput`"),
|
2543 + | /* ServerBuilderConstraintViolations.kt:119 */}
|
2544 + | /* ServerBuilderConstraintViolations.kt:118 */
|
1736 2545 | }
|
2546 + | /* ServerBuilderConstraintViolations.kt:117 */
|
1737 2547 | }
|
2548 + | /* ServerBuilderConstraintViolations.kt:84 */
|
1738 2549 | impl ::std::error::Error for ConstraintViolation {}
|
2550 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:254 */
|
1739 2551 | impl ::std::convert::TryFrom<Builder> for crate::input::EndpointWithHostLabelOperationInput {
|
1740 2552 | type Error = ConstraintViolation;
|
1741 2553 |
|
1742 2554 | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
1743 2555 | builder.build()
|
1744 2556 | }
|
1745 2557 | }
|
1746 - | /// A builder for [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
2558 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
2559 + | /* RustType.kt:516 */
|
1747 2560 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2561 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
1748 2562 | pub struct Builder {
|
2563 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
1749 2564 | pub(crate) label: ::std::option::Option<::std::string::String>,
|
2565 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
1750 2566 | }
|
2567 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1751 2568 | impl Builder {
|
2569 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
1752 2570 | #[allow(missing_docs)] // documentation missing in model
|
2571 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
1753 2572 | pub fn label(mut self, input: ::std::string::String) -> Self {
|
1754 - | self.label = Some(input);
|
2573 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
2574 + | self.label =
|
2575 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
|
2576 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
2577 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
|
2578 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
1755 2579 | self
|
2580 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
1756 2581 | }
|
1757 - | /// Consumes the builder and constructs a [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
1758 - | ///
|
2582 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput).
|
2583 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:152 */
|
1759 2584 | /// The builder fails to construct a [`EndpointWithHostLabelOperationInput`](crate::input::EndpointWithHostLabelOperationInput) if you do not provide a value for all non-`Option`al members.
|
1760 2585 | ///
|
2586 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
1761 2587 | pub fn build(
|
1762 2588 | self,
|
1763 2589 | ) -> Result<crate::input::EndpointWithHostLabelOperationInput, ConstraintViolation>
|
1764 2590 | {
|
1765 2591 | self.build_enforcing_required_and_enum_traits()
|
1766 2592 | }
|
2593 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1767 2594 | fn build_enforcing_required_and_enum_traits(
|
1768 2595 | self,
|
1769 2596 | ) -> Result<crate::input::EndpointWithHostLabelOperationInput, ConstraintViolation>
|
1770 2597 | {
|
1771 - | Ok(crate::input::EndpointWithHostLabelOperationInput {
|
1772 - | label: self.label.ok_or(ConstraintViolation::MissingLabel)?,
|
1773 - | })
|
2598 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
|
2599 + | Ok(
|
2600 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2601 + | crate::input::EndpointWithHostLabelOperationInput {
|
2602 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2603 + | label: self
|
2604 + | .label
|
2605 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:202 */
|
2606 + | .ok_or(ConstraintViolation::MissingLabel)?,
|
2607 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2608 + | }, /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
|
2609 + | )
|
2610 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1774 2611 | }
|
2612 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1775 2613 | }
|
2614 + |
|
2615 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1776 2616 | }
|
1777 - | /// See [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
2617 + | /// /* ServerBuilderGenerator.kt:171 */See [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
1778 2618 | pub(crate) mod endpoint_operation_input_internal {
|
1779 2619 |
|
2620 + | /* ServerBuilderGenerator.kt:461 */
|
1780 2621 | impl ::std::convert::From<Builder> for crate::input::EndpointOperationInput {
|
1781 2622 | fn from(builder: Builder) -> Self {
|
1782 2623 | builder.build()
|
1783 2624 | }
|
1784 2625 | }
|
1785 - | /// A builder for [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
2626 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
2627 + | /* RustType.kt:516 */
|
1786 2628 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1787 - | pub(crate) struct Builder {}
|
2629 + | /* ServerBuilderGenerator.kt:211 */
|
2630 + | pub(crate) struct Builder {/* ServerBuilderGenerator.kt:211 */}
|
2631 + | /* ServerBuilderGenerator.kt:215 */
|
1788 2632 | impl Builder {
|
1789 - | /// Consumes the builder and constructs a [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
2633 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
2634 + | /* ServerBuilderGenerator.kt:271 */
|
1790 2635 | pub fn build(self) -> crate::input::EndpointOperationInput {
|
1791 2636 | self.build_enforcing_all_constraints()
|
1792 2637 | }
|
2638 + | /* ServerBuilderGenerator.kt:283 */
|
1793 2639 | fn build_enforcing_all_constraints(self) -> crate::input::EndpointOperationInput {
|
1794 - | crate::input::EndpointOperationInput {}
|
2640 + | /* ServerBuilderGenerator.kt:542 */
|
2641 + | crate::input::EndpointOperationInput {
|
2642 + | /* ServerBuilderGenerator.kt:542 */}
|
2643 + | /* ServerBuilderGenerator.kt:283 */
|
1795 2644 | }
|
2645 + | /* ServerBuilderGenerator.kt:215 */
|
1796 2646 | }
|
2647 + |
|
2648 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1797 2649 | }
|
1798 - | /// See [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
2650 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
1799 2651 | pub mod endpoint_operation_input {
|
1800 2652 |
|
2653 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
1801 2654 | impl ::std::convert::From<Builder> for crate::input::EndpointOperationInput {
|
1802 2655 | fn from(builder: Builder) -> Self {
|
1803 2656 | builder.build()
|
1804 2657 | }
|
1805 2658 | }
|
1806 - | /// A builder for [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
2659 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
2660 + | /* RustType.kt:516 */
|
1807 2661 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1808 - | pub struct Builder {}
|
2662 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2663 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
2664 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1809 2665 | impl Builder {
|
1810 - | /// Consumes the builder and constructs a [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
2666 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`EndpointOperationInput`](crate::input::EndpointOperationInput).
|
2667 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
1811 2668 | pub fn build(self) -> crate::input::EndpointOperationInput {
|
1812 2669 | self.build_enforcing_required_and_enum_traits()
|
1813 2670 | }
|
2671 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1814 2672 | fn build_enforcing_required_and_enum_traits(self) -> crate::input::EndpointOperationInput {
|
1815 - | crate::input::EndpointOperationInput {}
|
2673 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2674 + | crate::input::EndpointOperationInput {
|
2675 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
2676 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1816 2677 | }
|
2678 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1817 2679 | }
|
2680 + |
|
2681 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1818 2682 | }
|
1819 - | /// See [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
2683 + | /// /* ServerBuilderGenerator.kt:171 */See [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
1820 2684 | pub(crate) mod json_unions_input_internal {
|
1821 2685 |
|
2686 + | /* RustType.kt:516 */
|
1822 2687 | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1823 - | /// Holds one variant for each of the ways the builder can fail.
|
2688 + | /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
|
2689 + | /* RustType.kt:516 */
|
1824 2690 | #[non_exhaustive]
|
2691 + | /* ServerBuilderConstraintViolations.kt:75 */
|
1825 2692 | #[allow(clippy::enum_variant_names)]
|
1826 2693 | pub(crate) enum ConstraintViolation {
|
1827 - | /// Constraint violation occurred building member `contents` when building `JsonUnionsInput`.
|
2694 + | /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `contents` when building `JsonUnionsInput`.
|
2695 + | /* RustType.kt:516 */
|
1828 2696 | #[doc(hidden)]
|
2697 + | /* ServerBuilderConstraintViolations.kt:164 */
|
1829 2698 | Contents(crate::model::my_union_internal::ConstraintViolation),
|
2699 + | /* ServerBuilderConstraintViolations.kt:75 */
|
1830 2700 | }
|
2701 + | /* ServerBuilderConstraintViolations.kt:117 */
|
1831 2702 | impl ::std::fmt::Display for ConstraintViolation {
|
2703 + | /* ServerBuilderConstraintViolations.kt:118 */
|
1832 2704 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
2705 + | /* ServerBuilderConstraintViolations.kt:119 */
|
1833 2706 | match self {
|
1834 - | ConstraintViolation::Contents(_) => write!(f, "constraint violation occurred building member `contents` when building `JsonUnionsInput`"),
|
1835 - | }
|
2707 + | /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Contents(_) => write!(f, "constraint violation occurred building member `contents` when building `JsonUnionsInput`"),
|
2708 + | /* ServerBuilderConstraintViolations.kt:119 */}
|
2709 + | /* ServerBuilderConstraintViolations.kt:118 */
|
1836 2710 | }
|
2711 + | /* ServerBuilderConstraintViolations.kt:117 */
|
1837 2712 | }
|
2713 + | /* ServerBuilderConstraintViolations.kt:84 */
|
1838 2714 | impl ::std::error::Error for ConstraintViolation {}
|
2715 + | /* ServerBuilderConstraintViolations.kt:171 */
|
1839 2716 | impl ConstraintViolation {
|
1840 2717 | pub(crate) fn as_validation_exception_field(
|
1841 2718 | self,
|
1842 2719 | path: ::std::string::String,
|
1843 2720 | ) -> crate::model::ValidationExceptionField {
|
1844 2721 | match self {
|
1845 2722 | ConstraintViolation::Contents(inner) => {
|
1846 2723 | inner.as_validation_exception_field(path + "/contents")
|
1847 2724 | }
|
1848 2725 | }
|
1849 2726 | }
|
1850 2727 | }
|
2728 + | /* ServerBuilderGenerator.kt:234 */
|
1851 2729 | impl ::std::convert::From<ConstraintViolation>
|
1852 2730 | for ::aws_smithy_http_server::protocol::aws_json::rejection::RequestRejection
|
1853 2731 | {
|
1854 2732 | fn from(constraint_violation: ConstraintViolation) -> Self {
|
1855 2733 | let first_validation_exception_field =
|
1856 2734 | constraint_violation.as_validation_exception_field("".to_owned());
|
1857 2735 | let validation_exception = crate::error::ValidationException {
|
1858 2736 | message: format!(
|
1859 2737 | "1 validation error detected. {}",
|
1860 2738 | &first_validation_exception_field.message
|
1861 2739 | ),
|
1862 2740 | field_list: Some(vec![first_validation_exception_field]),
|
1863 2741 | };
|
1864 2742 | Self::ConstraintViolation(
|
1865 2743 | crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
|
1866 2744 | .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
|
1867 2745 | )
|
1868 2746 | }
|
1869 2747 | }
|
2748 + | /* ServerBuilderGenerator.kt:244 */
|
1870 2749 | impl ::std::convert::From<Builder>
|
1871 2750 | for crate::constrained::MaybeConstrained<crate::input::JsonUnionsInput>
|
1872 2751 | {
|
1873 2752 | fn from(builder: Builder) -> Self {
|
1874 2753 | Self::Unconstrained(builder)
|
1875 2754 | }
|
1876 2755 | }
|
2756 + | /* ServerBuilderGenerator.kt:446 */
|
1877 2757 | impl ::std::convert::TryFrom<Builder> for crate::input::JsonUnionsInput {
|
1878 2758 | type Error = ConstraintViolation;
|
1879 2759 |
|
1880 2760 | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
1881 2761 | builder.build()
|
1882 2762 | }
|
1883 2763 | }
|
1884 - | /// A builder for [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
2764 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
2765 + | /* RustType.kt:516 */
|
1885 2766 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2767 + | /* ServerBuilderGenerator.kt:211 */
|
1886 2768 | pub(crate) struct Builder {
|
2769 + | /* ServerBuilderGenerator.kt:308 */
|
1887 2770 | pub(crate) contents:
|
1888 2771 | ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MyUnion>>,
|
2772 + | /* ServerBuilderGenerator.kt:211 */
|
1889 2773 | }
|
2774 + | /* ServerBuilderGenerator.kt:215 */
|
1890 2775 | impl Builder {
|
1891 - | /// A union with a representative set of types for members.
|
2776 + | /// /* ServerBuilderGenerator.kt:426 */A union with a representative set of types for members.
|
2777 + | /* ServerBuilderGenerator.kt:428 */
|
1892 2778 | pub(crate) fn set_contents(
|
1893 2779 | mut self,
|
1894 2780 | input: Option<
|
1895 2781 | impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MyUnion>>,
|
1896 2782 | >,
|
1897 2783 | ) -> Self {
|
2784 + | /* ServerBuilderGenerator.kt:429 */
|
1898 2785 | self.contents = input.map(|v| v.into());
|
1899 2786 | self
|
2787 + | /* ServerBuilderGenerator.kt:428 */
|
1900 2788 | }
|
1901 - | /// Consumes the builder and constructs a [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
1902 - | ///
|
2789 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
2790 + | /// /* ServerBuilderGenerator.kt:260 */
|
1903 2791 | /// The builder fails to construct a [`JsonUnionsInput`](crate::input::JsonUnionsInput) if a [`ConstraintViolation`] occurs.
|
1904 2792 | ///
|
2793 + | /* ServerBuilderGenerator.kt:271 */
|
1905 2794 | pub fn build(self) -> Result<crate::input::JsonUnionsInput, ConstraintViolation> {
|
1906 2795 | self.build_enforcing_all_constraints()
|
1907 2796 | }
|
2797 + | /* ServerBuilderGenerator.kt:283 */
|
1908 2798 | fn build_enforcing_all_constraints(
|
1909 2799 | self,
|
1910 2800 | ) -> Result<crate::input::JsonUnionsInput, ConstraintViolation> {
|
1911 - | Ok(crate::input::JsonUnionsInput {
|
2801 + | /* ServerBuilderGenerator.kt:287 */
|
2802 + | Ok(
|
2803 + | /* ServerBuilderGenerator.kt:542 */
|
2804 + | crate::input::JsonUnionsInput {
|
2805 + | /* ServerBuilderGenerator.kt:546 */
|
1912 2806 | contents: self
|
1913 2807 | .contents
|
2808 + | /* ServerBuilderGenerator.kt:602 */
|
1914 2809 | .map(|v| match v {
|
1915 2810 | crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
|
1916 2811 | crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
|
1917 2812 | })
|
2813 + | /* ServerBuilderGenerator.kt:614 */
|
1918 2814 | .map(|res| res.map_err(ConstraintViolation::Contents))
|
1919 2815 | .transpose()?,
|
1920 - | })
|
2816 + | /* ServerBuilderGenerator.kt:542 */
|
2817 + | }, /* ServerBuilderGenerator.kt:287 */
|
2818 + | )
|
2819 + | /* ServerBuilderGenerator.kt:283 */
|
1921 2820 | }
|
2821 + | /* ServerBuilderGenerator.kt:215 */
|
1922 2822 | }
|
2823 + |
|
2824 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1923 2825 | }
|
1924 - | /// See [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
2826 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
1925 2827 | pub mod json_unions_input {
|
1926 2828 |
|
2829 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
1927 2830 | impl ::std::convert::From<Builder> for crate::input::JsonUnionsInput {
|
1928 2831 | fn from(builder: Builder) -> Self {
|
1929 2832 | builder.build()
|
1930 2833 | }
|
1931 2834 | }
|
1932 - | /// A builder for [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
2835 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
2836 + | /* RustType.kt:516 */
|
1933 2837 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2838 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
1934 2839 | pub struct Builder {
|
2840 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
1935 2841 | pub(crate) contents: ::std::option::Option<crate::model::MyUnion>,
|
2842 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
1936 2843 | }
|
2844 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1937 2845 | impl Builder {
|
1938 - | /// A union with a representative set of types for members.
|
2846 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */A union with a representative set of types for members.
|
2847 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
1939 2848 | pub fn contents(mut self, input: ::std::option::Option<crate::model::MyUnion>) -> Self {
|
1940 - | self.contents = input;
|
2849 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
2850 + | self.contents =
|
2851 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
2852 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
1941 2853 | self
|
2854 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
1942 2855 | }
|
1943 - | /// Consumes the builder and constructs a [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
2856 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`JsonUnionsInput`](crate::input::JsonUnionsInput).
|
2857 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
1944 2858 | pub fn build(self) -> crate::input::JsonUnionsInput {
|
1945 2859 | self.build_enforcing_required_and_enum_traits()
|
1946 2860 | }
|
2861 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1947 2862 | fn build_enforcing_required_and_enum_traits(self) -> crate::input::JsonUnionsInput {
|
2863 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
1948 2864 | crate::input::JsonUnionsInput {
|
2865 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
1949 2866 | contents: self.contents,
|
2867 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
1950 2868 | }
|
2869 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1951 2870 | }
|
2871 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1952 2872 | }
|
2873 + |
|
2874 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1953 2875 | }
|
1954 - | /// See [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
2876 + | /// /* ServerBuilderGenerator.kt:171 */See [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
1955 2877 | pub(crate) mod greeting_with_errors_input_internal {
|
1956 2878 |
|
2879 + | /* ServerBuilderGenerator.kt:461 */
|
1957 2880 | impl ::std::convert::From<Builder> for crate::input::GreetingWithErrorsInput {
|
1958 2881 | fn from(builder: Builder) -> Self {
|
1959 2882 | builder.build()
|
1960 2883 | }
|
1961 2884 | }
|
1962 - | /// A builder for [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
2885 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
2886 + | /* RustType.kt:516 */
|
1963 2887 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1964 - | pub(crate) struct Builder {}
|
2888 + | /* ServerBuilderGenerator.kt:211 */
|
2889 + | pub(crate) struct Builder {/* ServerBuilderGenerator.kt:211 */}
|
2890 + | /* ServerBuilderGenerator.kt:215 */
|
1965 2891 | impl Builder {
|
1966 - | /// Consumes the builder and constructs a [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
2892 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
2893 + | /* ServerBuilderGenerator.kt:271 */
|
1967 2894 | pub fn build(self) -> crate::input::GreetingWithErrorsInput {
|
1968 2895 | self.build_enforcing_all_constraints()
|
1969 2896 | }
|
2897 + | /* ServerBuilderGenerator.kt:283 */
|
1970 2898 | fn build_enforcing_all_constraints(self) -> crate::input::GreetingWithErrorsInput {
|
1971 - | crate::input::GreetingWithErrorsInput {}
|
2899 + | /* ServerBuilderGenerator.kt:542 */
|
2900 + | crate::input::GreetingWithErrorsInput {
|
2901 + | /* ServerBuilderGenerator.kt:542 */}
|
2902 + | /* ServerBuilderGenerator.kt:283 */
|
1972 2903 | }
|
2904 + | /* ServerBuilderGenerator.kt:215 */
|
1973 2905 | }
|
2906 + |
|
2907 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1974 2908 | }
|
1975 - | /// See [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
2909 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
1976 2910 | pub mod greeting_with_errors_input {
|
1977 2911 |
|
2912 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
1978 2913 | impl ::std::convert::From<Builder> for crate::input::GreetingWithErrorsInput {
|
1979 2914 | fn from(builder: Builder) -> Self {
|
1980 2915 | builder.build()
|
1981 2916 | }
|
1982 2917 | }
|
1983 - | /// A builder for [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
2918 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
2919 + | /* RustType.kt:516 */
|
1984 2920 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1985 - | pub struct Builder {}
|
2921 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2922 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
2923 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1986 2924 | impl Builder {
|
1987 - | /// Consumes the builder and constructs a [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
2925 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`GreetingWithErrorsInput`](crate::input::GreetingWithErrorsInput).
|
2926 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
1988 2927 | pub fn build(self) -> crate::input::GreetingWithErrorsInput {
|
1989 2928 | self.build_enforcing_required_and_enum_traits()
|
1990 2929 | }
|
2930 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1991 2931 | fn build_enforcing_required_and_enum_traits(self) -> crate::input::GreetingWithErrorsInput {
|
1992 - | crate::input::GreetingWithErrorsInput {}
|
2932 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2933 + | crate::input::GreetingWithErrorsInput {
|
2934 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
2935 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
1993 2936 | }
|
2937 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
1994 2938 | }
|
2939 + |
|
2940 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
1995 2941 | }
|
1996 - | /// See [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
2942 + | /// /* ServerBuilderGenerator.kt:171 */See [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
1997 2943 | pub(crate) mod sparse_nulls_operation_input_internal {
|
1998 2944 |
|
2945 + | /* ServerBuilderGenerator.kt:461 */
|
1999 2946 | impl ::std::convert::From<Builder> for crate::input::SparseNullsOperationInput {
|
2000 2947 | fn from(builder: Builder) -> Self {
|
2001 2948 | builder.build()
|
2002 2949 | }
|
2003 2950 | }
|
2004 - | /// A builder for [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
2951 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
2952 + | /* RustType.kt:516 */
|
2005 2953 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
2954 + | /* ServerBuilderGenerator.kt:211 */
|
2006 2955 | pub(crate) struct Builder {
|
2956 + | /* ServerBuilderGenerator.kt:308 */
|
2007 2957 | pub(crate) sparse_string_list:
|
2008 2958 | ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
|
2959 + | /* ServerBuilderGenerator.kt:308 */
|
2009 2960 | pub(crate) sparse_string_map: ::std::option::Option<
|
2010 2961 | ::std::collections::HashMap<
|
2011 2962 | ::std::string::String,
|
2012 2963 | ::std::option::Option<::std::string::String>,
|
2013 2964 | >,
|
2014 2965 | >,
|
2966 + | /* ServerBuilderGenerator.kt:211 */
|
2015 2967 | }
|
2968 + | /* ServerBuilderGenerator.kt:215 */
|
2016 2969 | impl Builder {
|
2970 + | /* ServerBuilderGenerator.kt:426 */
|
2017 2971 | #[allow(missing_docs)] // documentation missing in model
|
2972 + | /* ServerBuilderGenerator.kt:428 */
|
2018 2973 | pub(crate) fn set_sparse_string_list(
|
2019 2974 | mut self,
|
2020 2975 | input: Option<
|
2021 2976 | impl ::std::convert::Into<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
|
2022 2977 | >,
|
2023 2978 | ) -> Self {
|
2979 + | /* ServerBuilderGenerator.kt:429 */
|
2024 2980 | self.sparse_string_list = input.map(|v| v.into());
|
2025 2981 | self
|
2982 + | /* ServerBuilderGenerator.kt:428 */
|
2026 2983 | }
|
2984 + | /* ServerBuilderGenerator.kt:426 */
|
2027 2985 | #[allow(missing_docs)] // documentation missing in model
|
2986 + | /* ServerBuilderGenerator.kt:428 */
|
2028 2987 | pub(crate) fn set_sparse_string_map(
|
2029 2988 | mut self,
|
2030 2989 | input: Option<
|
2031 2990 | impl ::std::convert::Into<
|
2032 2991 | ::std::collections::HashMap<
|
2033 2992 | ::std::string::String,
|
2034 2993 | ::std::option::Option<::std::string::String>,
|
2035 2994 | >,
|
2036 2995 | >,
|
2037 2996 | >,
|
2038 2997 | ) -> Self {
|
2998 + | /* ServerBuilderGenerator.kt:429 */
|
2039 2999 | self.sparse_string_map = input.map(|v| v.into());
|
2040 3000 | self
|
3001 + | /* ServerBuilderGenerator.kt:428 */
|
2041 3002 | }
|
2042 - | /// Consumes the builder and constructs a [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
3003 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
3004 + | /* ServerBuilderGenerator.kt:271 */
|
2043 3005 | pub fn build(self) -> crate::input::SparseNullsOperationInput {
|
2044 3006 | self.build_enforcing_all_constraints()
|
2045 3007 | }
|
3008 + | /* ServerBuilderGenerator.kt:283 */
|
2046 3009 | fn build_enforcing_all_constraints(self) -> crate::input::SparseNullsOperationInput {
|
3010 + | /* ServerBuilderGenerator.kt:542 */
|
2047 3011 | crate::input::SparseNullsOperationInput {
|
3012 + | /* ServerBuilderGenerator.kt:546 */
|
2048 3013 | sparse_string_list: self.sparse_string_list,
|
3014 + | /* ServerBuilderGenerator.kt:546 */
|
2049 3015 | sparse_string_map: self.sparse_string_map,
|
3016 + | /* ServerBuilderGenerator.kt:542 */
|
2050 3017 | }
|
3018 + | /* ServerBuilderGenerator.kt:283 */
|
2051 3019 | }
|
3020 + | /* ServerBuilderGenerator.kt:215 */
|
2052 3021 | }
|
3022 + |
|
3023 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
2053 3024 | }
|
2054 - | /// See [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
3025 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
2055 3026 | pub mod sparse_nulls_operation_input {
|
2056 3027 |
|
3028 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
2057 3029 | impl ::std::convert::From<Builder> for crate::input::SparseNullsOperationInput {
|
2058 3030 | fn from(builder: Builder) -> Self {
|
2059 3031 | builder.build()
|
2060 3032 | }
|
2061 3033 | }
|
2062 - | /// A builder for [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
3034 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
3035 + | /* RustType.kt:516 */
|
2063 3036 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3037 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2064 3038 | pub struct Builder {
|
3039 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2065 3040 | pub(crate) sparse_string_list:
|
2066 3041 | ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
|
3042 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2067 3043 | pub(crate) sparse_string_map: ::std::option::Option<
|
2068 3044 | ::std::collections::HashMap<
|
2069 3045 | ::std::string::String,
|
2070 3046 | ::std::option::Option<::std::string::String>,
|
2071 3047 | >,
|
2072 3048 | >,
|
3049 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2073 3050 | }
|
3051 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2074 3052 | impl Builder {
|
3053 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2075 3054 | #[allow(missing_docs)] // documentation missing in model
|
3055 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2076 3056 | pub fn sparse_string_list(
|
2077 3057 | mut self,
|
2078 3058 | input: ::std::option::Option<
|
2079 3059 | ::std::vec::Vec<::std::option::Option<::std::string::String>>,
|
2080 3060 | >,
|
2081 3061 | ) -> Self {
|
2082 - | self.sparse_string_list = input;
|
3062 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
3063 + | self.sparse_string_list =
|
3064 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
3065 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2083 3066 | self
|
3067 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2084 3068 | }
|
3069 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2085 3070 | #[allow(missing_docs)] // documentation missing in model
|
3071 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2086 3072 | pub fn sparse_string_map(
|
2087 3073 | mut self,
|
2088 3074 | input: ::std::option::Option<
|
2089 3075 | ::std::collections::HashMap<
|
2090 3076 | ::std::string::String,
|
2091 3077 | ::std::option::Option<::std::string::String>,
|
2092 3078 | >,
|
2093 3079 | >,
|
2094 3080 | ) -> Self {
|
2095 - | self.sparse_string_map = input;
|
3081 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
3082 + | self.sparse_string_map =
|
3083 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
3084 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2096 3085 | self
|
3086 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2097 3087 | }
|
2098 - | /// Consumes the builder and constructs a [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
3088 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`SparseNullsOperationInput`](crate::input::SparseNullsOperationInput).
|
3089 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
2099 3090 | pub fn build(self) -> crate::input::SparseNullsOperationInput {
|
2100 3091 | self.build_enforcing_required_and_enum_traits()
|
2101 3092 | }
|
3093 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
2102 3094 | fn build_enforcing_required_and_enum_traits(
|
2103 3095 | self,
|
2104 3096 | ) -> crate::input::SparseNullsOperationInput {
|
3097 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2105 3098 | crate::input::SparseNullsOperationInput {
|
3099 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2106 3100 | sparse_string_list: self.sparse_string_list,
|
3101 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2107 3102 | sparse_string_map: self.sparse_string_map,
|
3103 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2108 3104 | }
|
3105 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
2109 3106 | }
|
3107 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2110 3108 | }
|
3109 + |
|
3110 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
2111 3111 | }
|
2112 - | /// See [`NullOperationInput`](crate::input::NullOperationInput).
|
3112 + | /// /* ServerBuilderGenerator.kt:171 */See [`NullOperationInput`](crate::input::NullOperationInput).
|
2113 3113 | pub(crate) mod null_operation_input_internal {
|
2114 3114 |
|
3115 + | /* ServerBuilderGenerator.kt:461 */
|
2115 3116 | impl ::std::convert::From<Builder> for crate::input::NullOperationInput {
|
2116 3117 | fn from(builder: Builder) -> Self {
|
2117 3118 | builder.build()
|
2118 3119 | }
|
2119 3120 | }
|
2120 - | /// A builder for [`NullOperationInput`](crate::input::NullOperationInput).
|
3121 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`NullOperationInput`](crate::input::NullOperationInput).
|
3122 + | /* RustType.kt:516 */
|
2121 3123 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3124 + | /* ServerBuilderGenerator.kt:211 */
|
2122 3125 | pub(crate) struct Builder {
|
3126 + | /* ServerBuilderGenerator.kt:308 */
|
2123 3127 | pub(crate) string: ::std::option::Option<::std::string::String>,
|
3128 + | /* ServerBuilderGenerator.kt:211 */
|
2124 3129 | }
|
3130 + | /* ServerBuilderGenerator.kt:215 */
|
2125 3131 | impl Builder {
|
3132 + | /* ServerBuilderGenerator.kt:426 */
|
2126 3133 | #[allow(missing_docs)] // documentation missing in model
|
3134 + | /* ServerBuilderGenerator.kt:428 */
|
2127 3135 | pub(crate) fn set_string(
|
2128 3136 | mut self,
|
2129 3137 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
2130 3138 | ) -> Self {
|
3139 + | /* ServerBuilderGenerator.kt:429 */
|
2131 3140 | self.string = input.map(|v| v.into());
|
2132 3141 | self
|
3142 + | /* ServerBuilderGenerator.kt:428 */
|
2133 3143 | }
|
2134 - | /// Consumes the builder and constructs a [`NullOperationInput`](crate::input::NullOperationInput).
|
3144 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`NullOperationInput`](crate::input::NullOperationInput).
|
3145 + | /* ServerBuilderGenerator.kt:271 */
|
2135 3146 | pub fn build(self) -> crate::input::NullOperationInput {
|
2136 3147 | self.build_enforcing_all_constraints()
|
2137 3148 | }
|
3149 + | /* ServerBuilderGenerator.kt:283 */
|
2138 3150 | fn build_enforcing_all_constraints(self) -> crate::input::NullOperationInput {
|
3151 + | /* ServerBuilderGenerator.kt:542 */
|
2139 3152 | crate::input::NullOperationInput {
|
3153 + | /* ServerBuilderGenerator.kt:546 */
|
2140 3154 | string: self.string,
|
3155 + | /* ServerBuilderGenerator.kt:542 */
|
2141 3156 | }
|
3157 + | /* ServerBuilderGenerator.kt:283 */
|
2142 3158 | }
|
3159 + | /* ServerBuilderGenerator.kt:215 */
|
2143 3160 | }
|
3161 + |
|
3162 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
2144 3163 | }
|
2145 - | /// See [`NullOperationInput`](crate::input::NullOperationInput).
|
3164 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`NullOperationInput`](crate::input::NullOperationInput).
|
2146 3165 | pub mod null_operation_input {
|
2147 3166 |
|
3167 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
2148 3168 | impl ::std::convert::From<Builder> for crate::input::NullOperationInput {
|
2149 3169 | fn from(builder: Builder) -> Self {
|
2150 3170 | builder.build()
|
2151 3171 | }
|
2152 3172 | }
|
2153 - | /// A builder for [`NullOperationInput`](crate::input::NullOperationInput).
|
3173 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`NullOperationInput`](crate::input::NullOperationInput).
|
3174 + | /* RustType.kt:516 */
|
2154 3175 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3176 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2155 3177 | pub struct Builder {
|
3178 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2156 3179 | pub(crate) string: ::std::option::Option<::std::string::String>,
|
3180 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2157 3181 | }
|
3182 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2158 3183 | impl Builder {
|
3184 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2159 3185 | #[allow(missing_docs)] // documentation missing in model
|
3186 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2160 3187 | pub fn string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
2161 - | self.string = input;
|
3188 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
3189 + | self.string =
|
3190 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
3191 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2162 3192 | self
|
3193 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2163 3194 | }
|
2164 - | /// Consumes the builder and constructs a [`NullOperationInput`](crate::input::NullOperationInput).
|
3195 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`NullOperationInput`](crate::input::NullOperationInput).
|
3196 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
2165 3197 | pub fn build(self) -> crate::input::NullOperationInput {
|
2166 3198 | self.build_enforcing_required_and_enum_traits()
|
2167 3199 | }
|
3200 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
2168 3201 | fn build_enforcing_required_and_enum_traits(self) -> crate::input::NullOperationInput {
|
3202 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2169 3203 | crate::input::NullOperationInput {
|
3204 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2170 3205 | string: self.string,
|
3206 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2171 3207 | }
|
3208 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
2172 3209 | }
|
3210 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2173 3211 | }
|
3212 + |
|
3213 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
2174 3214 | }
|
2175 - | /// See [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
3215 + | /// /* ServerBuilderGenerator.kt:171 */See [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
2176 3216 | pub(crate) mod json_enums_input_internal {
|
2177 3217 |
|
3218 + | /* RustType.kt:516 */
|
2178 3219 | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
2179 - | /// Holds one variant for each of the ways the builder can fail.
|
3220 + | /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
|
3221 + | /* RustType.kt:516 */
|
2180 3222 | #[non_exhaustive]
|
3223 + | /* ServerBuilderConstraintViolations.kt:75 */
|
2181 3224 | #[allow(clippy::enum_variant_names)]
|
2182 3225 | pub(crate) enum ConstraintViolation {
|
2183 - | /// Constraint violation occurred building member `foo_enum1` when building `JsonEnumsInput`.
|
3226 + | /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `foo_enum1` when building `JsonEnumsInput`.
|
3227 + | /* RustType.kt:516 */
|
2184 3228 | #[doc(hidden)]
|
3229 + | /* ServerBuilderConstraintViolations.kt:164 */
|
2185 3230 | FooEnum1(crate::model::foo_enum_internal::ConstraintViolation),
|
2186 - | /// Constraint violation occurred building member `foo_enum2` when building `JsonEnumsInput`.
|
3231 + | /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `foo_enum2` when building `JsonEnumsInput`.
|
3232 + | /* RustType.kt:516 */
|
2187 3233 | #[doc(hidden)]
|
3234 + | /* ServerBuilderConstraintViolations.kt:164 */
|
2188 3235 | FooEnum2(crate::model::foo_enum_internal::ConstraintViolation),
|
2189 - | /// Constraint violation occurred building member `foo_enum3` when building `JsonEnumsInput`.
|
3236 + | /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `foo_enum3` when building `JsonEnumsInput`.
|
3237 + | /* RustType.kt:516 */
|
2190 3238 | #[doc(hidden)]
|
3239 + | /* ServerBuilderConstraintViolations.kt:164 */
|
2191 3240 | FooEnum3(crate::model::foo_enum_internal::ConstraintViolation),
|
2192 - | /// Constraint violation occurred building member `foo_enum_list` when building `JsonEnumsInput`.
|
3241 + | /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `foo_enum_list` when building `JsonEnumsInput`.
|
3242 + | /* RustType.kt:516 */
|
2193 3243 | #[doc(hidden)]
|
3244 + | /* ServerBuilderConstraintViolations.kt:164 */
|
2194 3245 | FooEnumList(crate::model::foo_enum_list_internal::ConstraintViolation),
|
2195 - | /// Constraint violation occurred building member `foo_enum_set` when building `JsonEnumsInput`.
|
3246 + | /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `foo_enum_set` when building `JsonEnumsInput`.
|
3247 + | /* RustType.kt:516 */
|
2196 3248 | #[doc(hidden)]
|
3249 + | /* ServerBuilderConstraintViolations.kt:164 */
|
2197 3250 | FooEnumSet(crate::model::foo_enum_set_internal::ConstraintViolation),
|
2198 - | /// Constraint violation occurred building member `foo_enum_map` when building `JsonEnumsInput`.
|
3251 + | /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `foo_enum_map` when building `JsonEnumsInput`.
|
3252 + | /* RustType.kt:516 */
|
2199 3253 | #[doc(hidden)]
|
3254 + | /* ServerBuilderConstraintViolations.kt:164 */
|
2200 3255 | FooEnumMap(crate::model::foo_enum_map_internal::ConstraintViolation),
|
3256 + | /* ServerBuilderConstraintViolations.kt:75 */
|
2201 3257 | }
|
3258 + | /* ServerBuilderConstraintViolations.kt:117 */
|
2202 3259 | impl ::std::fmt::Display for ConstraintViolation {
|
3260 + | /* ServerBuilderConstraintViolations.kt:118 */
|
2203 3261 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
3262 + | /* ServerBuilderConstraintViolations.kt:119 */
|
2204 3263 | match self {
|
2205 - | ConstraintViolation::FooEnum1(_) => write!(f, "constraint violation occurred building member `foo_enum1` when building `JsonEnumsInput`"),
|
2206 - | ConstraintViolation::FooEnum2(_) => write!(f, "constraint violation occurred building member `foo_enum2` when building `JsonEnumsInput`"),
|
2207 - | ConstraintViolation::FooEnum3(_) => write!(f, "constraint violation occurred building member `foo_enum3` when building `JsonEnumsInput`"),
|
2208 - | ConstraintViolation::FooEnumList(_) => write!(f, "constraint violation occurred building member `foo_enum_list` when building `JsonEnumsInput`"),
|
2209 - | ConstraintViolation::FooEnumSet(_) => write!(f, "constraint violation occurred building member `foo_enum_set` when building `JsonEnumsInput`"),
|
2210 - | ConstraintViolation::FooEnumMap(_) => write!(f, "constraint violation occurred building member `foo_enum_map` when building `JsonEnumsInput`"),
|
2211 - | }
|
2212 - | }
|
2213 - | }
|
3264 + | /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FooEnum1(_) => write!(f, "constraint violation occurred building member `foo_enum1` when building `JsonEnumsInput`"),
|
3265 + | /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FooEnum2(_) => write!(f, "constraint violation occurred building member `foo_enum2` when building `JsonEnumsInput`"),
|
3266 + | /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FooEnum3(_) => write!(f, "constraint violation occurred building member `foo_enum3` when building `JsonEnumsInput`"),
|
3267 + | /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FooEnumList(_) => write!(f, "constraint violation occurred building member `foo_enum_list` when building `JsonEnumsInput`"),
|
3268 + | /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FooEnumSet(_) => write!(f, "constraint violation occurred building member `foo_enum_set` when building `JsonEnumsInput`"),
|
3269 + | /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::FooEnumMap(_) => write!(f, "constraint violation occurred building member `foo_enum_map` when building `JsonEnumsInput`"),
|
3270 + | /* ServerBuilderConstraintViolations.kt:119 */}
|
3271 + | /* ServerBuilderConstraintViolations.kt:118 */
|
3272 + | }
|
3273 + | /* ServerBuilderConstraintViolations.kt:117 */
|
3274 + | }
|
3275 + | /* ServerBuilderConstraintViolations.kt:84 */
|
2214 3276 | impl ::std::error::Error for ConstraintViolation {}
|
3277 + | /* ServerBuilderConstraintViolations.kt:171 */
|
2215 3278 | impl ConstraintViolation {
|
2216 3279 | pub(crate) fn as_validation_exception_field(
|
2217 3280 | self,
|
2218 3281 | path: ::std::string::String,
|
2219 3282 | ) -> crate::model::ValidationExceptionField {
|
2220 3283 | match self {
|
2221 3284 | ConstraintViolation::FooEnum1(inner) => {
|
2222 3285 | inner.as_validation_exception_field(path + "/fooEnum1")
|
2223 3286 | }
|
2224 3287 | ConstraintViolation::FooEnum2(inner) => {
|
2225 3288 | inner.as_validation_exception_field(path + "/fooEnum2")
|
2226 3289 | }
|
2227 3290 | ConstraintViolation::FooEnum3(inner) => {
|
2228 3291 | inner.as_validation_exception_field(path + "/fooEnum3")
|
2229 3292 | }
|
2230 3293 | ConstraintViolation::FooEnumList(inner) => {
|
2231 3294 | inner.as_validation_exception_field(path + "/fooEnumList")
|
2232 3295 | }
|
2233 3296 | ConstraintViolation::FooEnumSet(inner) => {
|
2234 3297 | inner.as_validation_exception_field(path + "/fooEnumSet")
|
2235 3298 | }
|
2236 3299 | ConstraintViolation::FooEnumMap(inner) => {
|
2237 3300 | inner.as_validation_exception_field(path + "/fooEnumMap")
|
2238 3301 | }
|
2239 3302 | }
|
2240 3303 | }
|
2241 3304 | }
|
3305 + | /* ServerBuilderGenerator.kt:234 */
|
2242 3306 | impl ::std::convert::From<ConstraintViolation>
|
2243 3307 | for ::aws_smithy_http_server::protocol::aws_json::rejection::RequestRejection
|
2244 3308 | {
|
2245 3309 | fn from(constraint_violation: ConstraintViolation) -> Self {
|
2246 3310 | let first_validation_exception_field =
|
2247 3311 | constraint_violation.as_validation_exception_field("".to_owned());
|
2248 3312 | let validation_exception = crate::error::ValidationException {
|
2249 3313 | message: format!(
|
2250 3314 | "1 validation error detected. {}",
|
2251 3315 | &first_validation_exception_field.message
|
2252 3316 | ),
|
2253 3317 | field_list: Some(vec![first_validation_exception_field]),
|
2254 3318 | };
|
2255 3319 | Self::ConstraintViolation(
|
2256 3320 | crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
|
2257 3321 | .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
|
2258 3322 | )
|
2259 3323 | }
|
2260 3324 | }
|
3325 + | /* ServerBuilderGenerator.kt:244 */
|
2261 3326 | impl ::std::convert::From<Builder>
|
2262 3327 | for crate::constrained::MaybeConstrained<crate::input::JsonEnumsInput>
|
2263 3328 | {
|
2264 3329 | fn from(builder: Builder) -> Self {
|
2265 3330 | Self::Unconstrained(builder)
|
2266 3331 | }
|
2267 3332 | }
|
3333 + | /* ServerBuilderGenerator.kt:446 */
|
2268 3334 | impl ::std::convert::TryFrom<Builder> for crate::input::JsonEnumsInput {
|
2269 3335 | type Error = ConstraintViolation;
|
2270 3336 |
|
2271 3337 | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
2272 3338 | builder.build()
|
2273 3339 | }
|
2274 3340 | }
|
2275 - | /// A builder for [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
3341 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
3342 + | /* RustType.kt:516 */
|
2276 3343 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3344 + | /* ServerBuilderGenerator.kt:211 */
|
2277 3345 | pub(crate) struct Builder {
|
3346 + | /* ServerBuilderGenerator.kt:308 */
|
2278 3347 | pub(crate) foo_enum1:
|
2279 3348 | ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FooEnum>>,
|
3349 + | /* ServerBuilderGenerator.kt:308 */
|
2280 3350 | pub(crate) foo_enum2:
|
2281 3351 | ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FooEnum>>,
|
3352 + | /* ServerBuilderGenerator.kt:308 */
|
2282 3353 | pub(crate) foo_enum3:
|
2283 3354 | ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FooEnum>>,
|
3355 + | /* ServerBuilderGenerator.kt:308 */
|
2284 3356 | pub(crate) foo_enum_list: ::std::option::Option<
|
2285 3357 | crate::constrained::MaybeConstrained<
|
2286 3358 | crate::constrained::foo_enum_list_constrained::FooEnumListConstrained,
|
2287 3359 | >,
|
2288 3360 | >,
|
3361 + | /* ServerBuilderGenerator.kt:308 */
|
2289 3362 | pub(crate) foo_enum_set:
|
2290 3363 | ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FooEnumSet>>,
|
3364 + | /* ServerBuilderGenerator.kt:308 */
|
2291 3365 | pub(crate) foo_enum_map: ::std::option::Option<
|
2292 3366 | crate::constrained::MaybeConstrained<
|
2293 3367 | crate::constrained::foo_enum_map_constrained::FooEnumMapConstrained,
|
2294 3368 | >,
|
2295 3369 | >,
|
3370 + | /* ServerBuilderGenerator.kt:211 */
|
2296 3371 | }
|
3372 + | /* ServerBuilderGenerator.kt:215 */
|
2297 3373 | impl Builder {
|
3374 + | /* ServerBuilderGenerator.kt:426 */
|
2298 3375 | #[allow(missing_docs)] // documentation missing in model
|
3376 + | /* ServerBuilderGenerator.kt:428 */
|
2299 3377 | pub(crate) fn set_foo_enum1(
|
2300 3378 | mut self,
|
2301 3379 | input: Option<
|
2302 3380 | impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::FooEnum>>,
|
2303 3381 | >,
|
2304 3382 | ) -> Self {
|
3383 + | /* ServerBuilderGenerator.kt:429 */
|
2305 3384 | self.foo_enum1 = input.map(|v| v.into());
|
2306 3385 | self
|
3386 + | /* ServerBuilderGenerator.kt:428 */
|
2307 3387 | }
|
3388 + | /* ServerBuilderGenerator.kt:426 */
|
2308 3389 | #[allow(missing_docs)] // documentation missing in model
|
3390 + | /* ServerBuilderGenerator.kt:428 */
|
2309 3391 | pub(crate) fn set_foo_enum2(
|
2310 3392 | mut self,
|
2311 3393 | input: Option<
|
2312 3394 | impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::FooEnum>>,
|
2313 3395 | >,
|
2314 3396 | ) -> Self {
|
3397 + | /* ServerBuilderGenerator.kt:429 */
|
2315 3398 | self.foo_enum2 = input.map(|v| v.into());
|
2316 3399 | self
|
3400 + | /* ServerBuilderGenerator.kt:428 */
|
2317 3401 | }
|
3402 + | /* ServerBuilderGenerator.kt:426 */
|
2318 3403 | #[allow(missing_docs)] // documentation missing in model
|
3404 + | /* ServerBuilderGenerator.kt:428 */
|
2319 3405 | pub(crate) fn set_foo_enum3(
|
2320 3406 | mut self,
|
2321 3407 | input: Option<
|
2322 3408 | impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::FooEnum>>,
|
2323 3409 | >,
|
2324 3410 | ) -> Self {
|
3411 + | /* ServerBuilderGenerator.kt:429 */
|
2325 3412 | self.foo_enum3 = input.map(|v| v.into());
|
2326 3413 | self
|
3414 + | /* ServerBuilderGenerator.kt:428 */
|
2327 3415 | }
|
3416 + | /* ServerBuilderGenerator.kt:426 */
|
2328 3417 | #[allow(missing_docs)] // documentation missing in model
|
3418 + | /* ServerBuilderGenerator.kt:428 */
|
2329 3419 | pub(crate) fn set_foo_enum_list(
|
2330 3420 | mut self,
|
2331 3421 | input: Option<
|
2332 3422 | impl ::std::convert::Into<
|
2333 3423 | crate::constrained::MaybeConstrained<
|
2334 3424 | crate::constrained::foo_enum_list_constrained::FooEnumListConstrained,
|
2335 3425 | >,
|
2336 3426 | >,
|
2337 3427 | >,
|
2338 3428 | ) -> Self {
|
3429 + | /* ServerBuilderGenerator.kt:429 */
|
2339 3430 | self.foo_enum_list = input.map(|v| v.into());
|
2340 3431 | self
|
3432 + | /* ServerBuilderGenerator.kt:428 */
|
2341 3433 | }
|
3434 + | /* ServerBuilderGenerator.kt:426 */
|
2342 3435 | #[allow(missing_docs)] // documentation missing in model
|
3436 + | /* ServerBuilderGenerator.kt:428 */
|
2343 3437 | pub(crate) fn set_foo_enum_set(
|
2344 3438 | mut self,
|
2345 3439 | input: Option<
|
2346 3440 | impl ::std::convert::Into<
|
2347 3441 | crate::constrained::MaybeConstrained<crate::model::FooEnumSet>,
|
2348 3442 | >,
|
2349 3443 | >,
|
2350 3444 | ) -> Self {
|
3445 + | /* ServerBuilderGenerator.kt:429 */
|
2351 3446 | self.foo_enum_set = input.map(|v| v.into());
|
2352 3447 | self
|
3448 + | /* ServerBuilderGenerator.kt:428 */
|
2353 3449 | }
|
3450 + | /* ServerBuilderGenerator.kt:426 */
|
2354 3451 | #[allow(missing_docs)] // documentation missing in model
|
3452 + | /* ServerBuilderGenerator.kt:428 */
|
2355 3453 | pub(crate) fn set_foo_enum_map(
|
2356 3454 | mut self,
|
2357 3455 | input: Option<
|
2358 3456 | impl ::std::convert::Into<
|
2359 3457 | crate::constrained::MaybeConstrained<
|
2360 3458 | crate::constrained::foo_enum_map_constrained::FooEnumMapConstrained,
|
2361 3459 | >,
|
2362 3460 | >,
|
2363 3461 | >,
|
2364 3462 | ) -> Self {
|
3463 + | /* ServerBuilderGenerator.kt:429 */
|
2365 3464 | self.foo_enum_map = input.map(|v| v.into());
|
2366 3465 | self
|
3466 + | /* ServerBuilderGenerator.kt:428 */
|
2367 3467 | }
|
2368 - | /// Consumes the builder and constructs a [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
2369 - | ///
|
3468 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
3469 + | /// /* ServerBuilderGenerator.kt:260 */
|
2370 3470 | /// The builder fails to construct a [`JsonEnumsInput`](crate::input::JsonEnumsInput) if a [`ConstraintViolation`] occurs.
|
2371 3471 | ///
|
2372 - | /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
|
3472 + | /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
|
3473 + | /* ServerBuilderGenerator.kt:271 */
|
2373 3474 | pub fn build(self) -> Result<crate::input::JsonEnumsInput, ConstraintViolation> {
|
2374 3475 | self.build_enforcing_all_constraints()
|
2375 3476 | }
|
3477 + | /* ServerBuilderGenerator.kt:283 */
|
2376 3478 | fn build_enforcing_all_constraints(
|
2377 3479 | self,
|
2378 3480 | ) -> Result<crate::input::JsonEnumsInput, ConstraintViolation> {
|
2379 - | Ok(crate::input::JsonEnumsInput {
|
3481 + | /* ServerBuilderGenerator.kt:287 */
|
3482 + | Ok(
|
3483 + | /* ServerBuilderGenerator.kt:542 */
|
3484 + | crate::input::JsonEnumsInput {
|
3485 + | /* ServerBuilderGenerator.kt:546 */
|
2380 3486 | foo_enum1: self
|
2381 3487 | .foo_enum1
|
3488 + | /* ServerBuilderGenerator.kt:602 */
|
2382 3489 | .map(|v| match v {
|
2383 3490 | crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
|
2384 3491 | crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
|
2385 3492 | })
|
3493 + | /* ServerBuilderGenerator.kt:614 */
|
2386 3494 | .map(|res| res.map_err(ConstraintViolation::FooEnum1))
|
2387 3495 | .transpose()?,
|
3496 + | /* ServerBuilderGenerator.kt:546 */
|
2388 3497 | foo_enum2: self
|
2389 3498 | .foo_enum2
|
3499 + | /* ServerBuilderGenerator.kt:602 */
|
2390 3500 | .map(|v| match v {
|
2391 3501 | crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
|
2392 3502 | crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
|
2393 3503 | })
|
3504 + | /* ServerBuilderGenerator.kt:614 */
|
2394 3505 | .map(|res| res.map_err(ConstraintViolation::FooEnum2))
|
2395 3506 | .transpose()?,
|
3507 + | /* ServerBuilderGenerator.kt:546 */
|
2396 3508 | foo_enum3: self
|
2397 3509 | .foo_enum3
|
3510 + | /* ServerBuilderGenerator.kt:602 */
|
2398 3511 | .map(|v| match v {
|
2399 3512 | crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
|
2400 3513 | crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
|
2401 3514 | })
|
3515 + | /* ServerBuilderGenerator.kt:614 */
|
2402 3516 | .map(|res| res.map_err(ConstraintViolation::FooEnum3))
|
2403 3517 | .transpose()?,
|
3518 + | /* ServerBuilderGenerator.kt:546 */
|
2404 3519 | foo_enum_list: self
|
2405 3520 | .foo_enum_list
|
3521 + | /* ServerBuilderGenerator.kt:602 */
|
2406 3522 | .map(|v| match v {
|
2407 3523 | crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
|
2408 3524 | crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
|
2409 3525 | })
|
3526 + | /* ServerBuilderGenerator.kt:614 */
|
2410 3527 | .map(|res| {
|
2411 3528 | res.map(|v| v.into())
|
2412 3529 | .map_err(ConstraintViolation::FooEnumList)
|
2413 3530 | })
|
2414 3531 | .transpose()?,
|
3532 + | /* ServerBuilderGenerator.kt:546 */
|
2415 3533 | foo_enum_set: self
|
2416 3534 | .foo_enum_set
|
3535 + | /* ServerBuilderGenerator.kt:602 */
|
2417 3536 | .map(|v| match v {
|
2418 3537 | crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
|
2419 3538 | crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
|
2420 3539 | })
|
3540 + | /* ServerBuilderGenerator.kt:614 */
|
2421 3541 | .map(|res| res.map_err(ConstraintViolation::FooEnumSet))
|
2422 3542 | .transpose()?
|
3543 + | /* ServerBuilderGenerator.kt:630 */
|
2423 3544 | .map(|v: crate::model::FooEnumSet| v.into()),
|
3545 + | /* ServerBuilderGenerator.kt:546 */
|
2424 3546 | foo_enum_map: self
|
2425 3547 | .foo_enum_map
|
3548 + | /* ServerBuilderGenerator.kt:602 */
|
2426 3549 | .map(|v| match v {
|
2427 3550 | crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
|
2428 3551 | crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
|
2429 3552 | })
|
3553 + | /* ServerBuilderGenerator.kt:614 */
|
2430 3554 | .map(|res| {
|
2431 3555 | res.map(|v| v.into())
|
2432 3556 | .map_err(ConstraintViolation::FooEnumMap)
|
2433 3557 | })
|
2434 3558 | .transpose()?,
|
2435 - | })
|
3559 + | /* ServerBuilderGenerator.kt:542 */
|
3560 + | }, /* ServerBuilderGenerator.kt:287 */
|
3561 + | )
|
3562 + | /* ServerBuilderGenerator.kt:283 */
|
2436 3563 | }
|
3564 + | /* ServerBuilderGenerator.kt:215 */
|
2437 3565 | }
|
3566 + |
|
3567 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
2438 3568 | }
|
2439 - | /// See [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
3569 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
2440 3570 | pub mod json_enums_input {
|
2441 3571 |
|
3572 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
2442 3573 | impl ::std::convert::From<Builder> for crate::input::JsonEnumsInput {
|
2443 3574 | fn from(builder: Builder) -> Self {
|
2444 3575 | builder.build()
|
2445 3576 | }
|
2446 3577 | }
|
2447 - | /// A builder for [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
3578 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
3579 + | /* RustType.kt:516 */
|
2448 3580 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3581 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2449 3582 | pub struct Builder {
|
3583 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2450 3584 | pub(crate) foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
3585 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2451 3586 | pub(crate) foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
3587 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2452 3588 | pub(crate) foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
3589 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2453 3590 | pub(crate) foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
3591 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2454 3592 | pub(crate) foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
3593 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2455 3594 | pub(crate) foo_enum_map: ::std::option::Option<
|
2456 3595 | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
2457 3596 | >,
|
3597 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2458 3598 | }
|
3599 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2459 3600 | impl Builder {
|
3601 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2460 3602 | #[allow(missing_docs)] // documentation missing in model
|
3603 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2461 3604 | pub fn foo_enum1(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
2462 - | self.foo_enum1 = input;
|
3605 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
3606 + | self.foo_enum1 =
|
3607 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
3608 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2463 3609 | self
|
3610 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2464 3611 | }
|
3612 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2465 3613 | #[allow(missing_docs)] // documentation missing in model
|
3614 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2466 3615 | pub fn foo_enum2(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
2467 - | self.foo_enum2 = input;
|
3616 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
3617 + | self.foo_enum2 =
|
3618 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
3619 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2468 3620 | self
|
3621 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2469 3622 | }
|
3623 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2470 3624 | #[allow(missing_docs)] // documentation missing in model
|
3625 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2471 3626 | pub fn foo_enum3(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
2472 - | self.foo_enum3 = input;
|
3627 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
3628 + | self.foo_enum3 =
|
3629 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
3630 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2473 3631 | self
|
3632 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2474 3633 | }
|
3634 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2475 3635 | #[allow(missing_docs)] // documentation missing in model
|
3636 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2476 3637 | pub fn foo_enum_list(
|
2477 3638 | mut self,
|
2478 3639 | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
2479 3640 | ) -> Self {
|
2480 - | self.foo_enum_list = input;
|
3641 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
3642 + | self.foo_enum_list =
|
3643 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
3644 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2481 3645 | self
|
3646 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2482 3647 | }
|
3648 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2483 3649 | #[allow(missing_docs)] // documentation missing in model
|
3650 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2484 3651 | pub fn foo_enum_set(
|
2485 3652 | mut self,
|
2486 3653 | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
2487 3654 | ) -> Self {
|
2488 - | self.foo_enum_set = input;
|
3655 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
3656 + | self.foo_enum_set =
|
3657 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
3658 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2489 3659 | self
|
3660 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2490 3661 | }
|
3662 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2491 3663 | #[allow(missing_docs)] // documentation missing in model
|
3664 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2492 3665 | pub fn foo_enum_map(
|
2493 3666 | mut self,
|
2494 3667 | input: ::std::option::Option<
|
2495 3668 | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
2496 3669 | >,
|
2497 3670 | ) -> Self {
|
2498 - | self.foo_enum_map = input;
|
3671 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
3672 + | self.foo_enum_map =
|
3673 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
3674 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2499 3675 | self
|
3676 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2500 3677 | }
|
2501 - | /// Consumes the builder and constructs a [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
3678 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`JsonEnumsInput`](crate::input::JsonEnumsInput).
|
3679 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
2502 3680 | pub fn build(self) -> crate::input::JsonEnumsInput {
|
2503 3681 | self.build_enforcing_required_and_enum_traits()
|
2504 3682 | }
|
3683 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
2505 3684 | fn build_enforcing_required_and_enum_traits(self) -> crate::input::JsonEnumsInput {
|
3685 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2506 3686 | crate::input::JsonEnumsInput {
|
3687 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2507 3688 | foo_enum1: self.foo_enum1,
|
3689 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2508 3690 | foo_enum2: self.foo_enum2,
|
3691 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2509 3692 | foo_enum3: self.foo_enum3,
|
3693 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2510 3694 | foo_enum_list: self.foo_enum_list,
|
3695 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2511 3696 | foo_enum_set: self.foo_enum_set,
|
3697 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2512 3698 | foo_enum_map: self.foo_enum_map,
|
3699 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2513 3700 | }
|
3701 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
2514 3702 | }
|
3703 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2515 3704 | }
|
3705 + |
|
3706 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
2516 3707 | }
|
2517 - | /// See [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
3708 + | /// /* ServerBuilderGenerator.kt:171 */See [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
2518 3709 | pub(crate) mod put_and_get_inline_documents_input_internal {
|
2519 3710 |
|
3711 + | /* ServerBuilderGenerator.kt:461 */
|
2520 3712 | impl ::std::convert::From<Builder> for crate::input::PutAndGetInlineDocumentsInput {
|
2521 3713 | fn from(builder: Builder) -> Self {
|
2522 3714 | builder.build()
|
2523 3715 | }
|
2524 3716 | }
|
2525 - | /// A builder for [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
3717 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
3718 + | /* RustType.kt:516 */
|
2526 3719 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3720 + | /* ServerBuilderGenerator.kt:211 */
|
2527 3721 | pub(crate) struct Builder {
|
3722 + | /* ServerBuilderGenerator.kt:308 */
|
2528 3723 | pub(crate) inline_document:
|
2529 3724 | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
3725 + | /* ServerBuilderGenerator.kt:211 */
|
2530 3726 | }
|
3727 + | /* ServerBuilderGenerator.kt:215 */
|
2531 3728 | impl Builder {
|
3729 + | /* ServerBuilderGenerator.kt:426 */
|
2532 3730 | #[allow(missing_docs)] // documentation missing in model
|
3731 + | /* ServerBuilderGenerator.kt:428 */
|
2533 3732 | pub(crate) fn set_inline_document(
|
2534 3733 | mut self,
|
2535 3734 | input: Option<
|
2536 3735 | impl ::std::convert::Into<::aws_smithy_http_server_python::types::Document>,
|
2537 3736 | >,
|
2538 3737 | ) -> Self {
|
3738 + | /* ServerBuilderGenerator.kt:429 */
|
2539 3739 | self.inline_document = input.map(|v| v.into());
|
2540 3740 | self
|
3741 + | /* ServerBuilderGenerator.kt:428 */
|
2541 3742 | }
|
2542 - | /// Consumes the builder and constructs a [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
3743 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
3744 + | /* ServerBuilderGenerator.kt:271 */
|
2543 3745 | pub fn build(self) -> crate::input::PutAndGetInlineDocumentsInput {
|
2544 3746 | self.build_enforcing_all_constraints()
|
2545 3747 | }
|
3748 + | /* ServerBuilderGenerator.kt:283 */
|
2546 3749 | fn build_enforcing_all_constraints(self) -> crate::input::PutAndGetInlineDocumentsInput {
|
3750 + | /* ServerBuilderGenerator.kt:542 */
|
2547 3751 | crate::input::PutAndGetInlineDocumentsInput {
|
3752 + | /* ServerBuilderGenerator.kt:546 */
|
2548 3753 | inline_document: self.inline_document,
|
3754 + | /* ServerBuilderGenerator.kt:542 */
|
2549 3755 | }
|
3756 + | /* ServerBuilderGenerator.kt:283 */
|
2550 3757 | }
|
3758 + | /* ServerBuilderGenerator.kt:215 */
|
2551 3759 | }
|
3760 + |
|
3761 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
2552 3762 | }
|
2553 - | /// See [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
3763 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
2554 3764 | pub mod put_and_get_inline_documents_input {
|
2555 3765 |
|
3766 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
2556 3767 | impl ::std::convert::From<Builder> for crate::input::PutAndGetInlineDocumentsInput {
|
2557 3768 | fn from(builder: Builder) -> Self {
|
2558 3769 | builder.build()
|
2559 3770 | }
|
2560 3771 | }
|
2561 - | /// A builder for [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
3772 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
3773 + | /* RustType.kt:516 */
|
2562 3774 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3775 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2563 3776 | pub struct Builder {
|
3777 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2564 3778 | pub(crate) inline_document:
|
2565 3779 | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
3780 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2566 3781 | }
|
3782 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2567 3783 | impl Builder {
|
3784 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2568 3785 | #[allow(missing_docs)] // documentation missing in model
|
3786 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2569 3787 | pub fn inline_document(
|
2570 3788 | mut self,
|
2571 3789 | input: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
2572 3790 | ) -> Self {
|
2573 - | self.inline_document = input;
|
3791 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
3792 + | self.inline_document =
|
3793 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
3794 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2574 3795 | self
|
3796 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2575 3797 | }
|
2576 - | /// Consumes the builder and constructs a [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
3798 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`PutAndGetInlineDocumentsInput`](crate::input::PutAndGetInlineDocumentsInput).
|
3799 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
2577 3800 | pub fn build(self) -> crate::input::PutAndGetInlineDocumentsInput {
|
2578 3801 | self.build_enforcing_required_and_enum_traits()
|
2579 3802 | }
|
3803 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
2580 3804 | fn build_enforcing_required_and_enum_traits(
|
2581 3805 | self,
|
2582 3806 | ) -> crate::input::PutAndGetInlineDocumentsInput {
|
3807 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2583 3808 | crate::input::PutAndGetInlineDocumentsInput {
|
3809 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2584 3810 | inline_document: self.inline_document,
|
3811 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2585 3812 | }
|
3813 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
2586 3814 | }
|
3815 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2587 3816 | }
|
3817 + |
|
3818 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
2588 3819 | }
|
2589 - | /// See [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
3820 + | /// /* ServerBuilderGenerator.kt:171 */See [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
2590 3821 | pub(crate) mod operation_with_optional_input_output_input_internal {
|
2591 3822 |
|
3823 + | /* ServerBuilderGenerator.kt:461 */
|
2592 3824 | impl ::std::convert::From<Builder> for crate::input::OperationWithOptionalInputOutputInput {
|
2593 3825 | fn from(builder: Builder) -> Self {
|
2594 3826 | builder.build()
|
2595 3827 | }
|
2596 3828 | }
|
2597 - | /// A builder for [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
3829 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
3830 + | /* RustType.kt:516 */
|
2598 3831 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3832 + | /* ServerBuilderGenerator.kt:211 */
|
2599 3833 | pub(crate) struct Builder {
|
3834 + | /* ServerBuilderGenerator.kt:308 */
|
2600 3835 | pub(crate) value: ::std::option::Option<::std::string::String>,
|
3836 + | /* ServerBuilderGenerator.kt:211 */
|
2601 3837 | }
|
3838 + | /* ServerBuilderGenerator.kt:215 */
|
2602 3839 | impl Builder {
|
3840 + | /* ServerBuilderGenerator.kt:426 */
|
2603 3841 | #[allow(missing_docs)] // documentation missing in model
|
3842 + | /* ServerBuilderGenerator.kt:428 */
|
2604 3843 | pub(crate) fn set_value(
|
2605 3844 | mut self,
|
2606 3845 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
2607 3846 | ) -> Self {
|
3847 + | /* ServerBuilderGenerator.kt:429 */
|
2608 3848 | self.value = input.map(|v| v.into());
|
2609 3849 | self
|
3850 + | /* ServerBuilderGenerator.kt:428 */
|
2610 3851 | }
|
2611 - | /// Consumes the builder and constructs a [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
3852 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
3853 + | /* ServerBuilderGenerator.kt:271 */
|
2612 3854 | pub fn build(self) -> crate::input::OperationWithOptionalInputOutputInput {
|
2613 3855 | self.build_enforcing_all_constraints()
|
2614 3856 | }
|
3857 + | /* ServerBuilderGenerator.kt:283 */
|
2615 3858 | fn build_enforcing_all_constraints(
|
2616 3859 | self,
|
2617 3860 | ) -> crate::input::OperationWithOptionalInputOutputInput {
|
2618 - | crate::input::OperationWithOptionalInputOutputInput { value: self.value }
|
3861 + | /* ServerBuilderGenerator.kt:542 */
|
3862 + | crate::input::OperationWithOptionalInputOutputInput {
|
3863 + | /* ServerBuilderGenerator.kt:546 */
|
3864 + | value: self.value,
|
3865 + | /* ServerBuilderGenerator.kt:542 */
|
3866 + | }
|
3867 + | /* ServerBuilderGenerator.kt:283 */
|
2619 3868 | }
|
3869 + | /* ServerBuilderGenerator.kt:215 */
|
2620 3870 | }
|
3871 + |
|
3872 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
2621 3873 | }
|
2622 - | /// See [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
3874 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
2623 3875 | pub mod operation_with_optional_input_output_input {
|
2624 3876 |
|
3877 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
2625 3878 | impl ::std::convert::From<Builder> for crate::input::OperationWithOptionalInputOutputInput {
|
2626 3879 | fn from(builder: Builder) -> Self {
|
2627 3880 | builder.build()
|
2628 3881 | }
|
2629 3882 | }
|
2630 - | /// A builder for [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
3883 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
3884 + | /* RustType.kt:516 */
|
2631 3885 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3886 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2632 3887 | pub struct Builder {
|
3888 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2633 3889 | pub(crate) value: ::std::option::Option<::std::string::String>,
|
3890 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2634 3891 | }
|
3892 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2635 3893 | impl Builder {
|
3894 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2636 3895 | #[allow(missing_docs)] // documentation missing in model
|
3896 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2637 3897 | pub fn value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
2638 - | self.value = input;
|
3898 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
3899 + | self.value =
|
3900 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
3901 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2639 3902 | self
|
3903 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2640 3904 | }
|
2641 - | /// Consumes the builder and constructs a [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
3905 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`OperationWithOptionalInputOutputInput`](crate::input::OperationWithOptionalInputOutputInput).
|
3906 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
2642 3907 | pub fn build(self) -> crate::input::OperationWithOptionalInputOutputInput {
|
2643 3908 | self.build_enforcing_required_and_enum_traits()
|
2644 3909 | }
|
3910 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
2645 3911 | fn build_enforcing_required_and_enum_traits(
|
2646 3912 | self,
|
2647 3913 | ) -> crate::input::OperationWithOptionalInputOutputInput {
|
2648 - | crate::input::OperationWithOptionalInputOutputInput { value: self.value }
|
3914 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
3915 + | crate::input::OperationWithOptionalInputOutputInput {
|
3916 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3917 + | value: self.value,
|
3918 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
3919 + | }
|
3920 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
2649 3921 | }
|
3922 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2650 3923 | }
|
3924 + |
|
3925 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
2651 3926 | }
|
2652 - | /// See [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
3927 + | /// /* ServerBuilderGenerator.kt:171 */See [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
2653 3928 | pub(crate) mod simple_scalar_properties_input_internal {
|
2654 3929 |
|
3930 + | /* ServerBuilderGenerator.kt:461 */
|
2655 3931 | impl ::std::convert::From<Builder> for crate::input::SimpleScalarPropertiesInput {
|
2656 3932 | fn from(builder: Builder) -> Self {
|
2657 3933 | builder.build()
|
2658 3934 | }
|
2659 3935 | }
|
2660 - | /// A builder for [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
3936 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
3937 + | /* RustType.kt:516 */
|
2661 3938 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3939 + | /* ServerBuilderGenerator.kt:211 */
|
2662 3940 | pub(crate) struct Builder {
|
3941 + | /* ServerBuilderGenerator.kt:308 */
|
2663 3942 | pub(crate) float_value: ::std::option::Option<f32>,
|
3943 + | /* ServerBuilderGenerator.kt:308 */
|
2664 3944 | pub(crate) double_value: ::std::option::Option<f64>,
|
3945 + | /* ServerBuilderGenerator.kt:211 */
|
2665 3946 | }
|
3947 + | /* ServerBuilderGenerator.kt:215 */
|
2666 3948 | impl Builder {
|
3949 + | /* ServerBuilderGenerator.kt:426 */
|
2667 3950 | #[allow(missing_docs)] // documentation missing in model
|
3951 + | /* ServerBuilderGenerator.kt:428 */
|
2668 3952 | pub(crate) fn set_float_value(
|
2669 3953 | mut self,
|
2670 3954 | input: Option<impl ::std::convert::Into<f32>>,
|
2671 3955 | ) -> Self {
|
3956 + | /* ServerBuilderGenerator.kt:429 */
|
2672 3957 | self.float_value = input.map(|v| v.into());
|
2673 3958 | self
|
3959 + | /* ServerBuilderGenerator.kt:428 */
|
2674 3960 | }
|
3961 + | /* ServerBuilderGenerator.kt:426 */
|
2675 3962 | #[allow(missing_docs)] // documentation missing in model
|
3963 + | /* ServerBuilderGenerator.kt:428 */
|
2676 3964 | pub(crate) fn set_double_value(
|
2677 3965 | mut self,
|
2678 3966 | input: Option<impl ::std::convert::Into<f64>>,
|
2679 3967 | ) -> Self {
|
3968 + | /* ServerBuilderGenerator.kt:429 */
|
2680 3969 | self.double_value = input.map(|v| v.into());
|
2681 3970 | self
|
3971 + | /* ServerBuilderGenerator.kt:428 */
|
2682 3972 | }
|
2683 - | /// Consumes the builder and constructs a [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
3973 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
3974 + | /* ServerBuilderGenerator.kt:271 */
|
2684 3975 | pub fn build(self) -> crate::input::SimpleScalarPropertiesInput {
|
2685 3976 | self.build_enforcing_all_constraints()
|
2686 3977 | }
|
3978 + | /* ServerBuilderGenerator.kt:283 */
|
2687 3979 | fn build_enforcing_all_constraints(self) -> crate::input::SimpleScalarPropertiesInput {
|
3980 + | /* ServerBuilderGenerator.kt:542 */
|
2688 3981 | crate::input::SimpleScalarPropertiesInput {
|
3982 + | /* ServerBuilderGenerator.kt:546 */
|
2689 3983 | float_value: self.float_value,
|
3984 + | /* ServerBuilderGenerator.kt:546 */
|
2690 3985 | double_value: self.double_value,
|
3986 + | /* ServerBuilderGenerator.kt:542 */
|
2691 3987 | }
|
3988 + | /* ServerBuilderGenerator.kt:283 */
|
2692 3989 | }
|
3990 + | /* ServerBuilderGenerator.kt:215 */
|
2693 3991 | }
|
3992 + |
|
3993 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
2694 3994 | }
|
2695 - | /// See [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
3995 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
2696 3996 | pub mod simple_scalar_properties_input {
|
2697 3997 |
|
3998 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
2698 3999 | impl ::std::convert::From<Builder> for crate::input::SimpleScalarPropertiesInput {
|
2699 4000 | fn from(builder: Builder) -> Self {
|
2700 4001 | builder.build()
|
2701 4002 | }
|
2702 4003 | }
|
2703 - | /// A builder for [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
4004 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
4005 + | /* RustType.kt:516 */
|
2704 4006 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
4007 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2705 4008 | pub struct Builder {
|
4009 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2706 4010 | pub(crate) float_value: ::std::option::Option<f32>,
|
4011 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
2707 4012 | pub(crate) double_value: ::std::option::Option<f64>,
|
4013 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
2708 4014 | }
|
4015 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2709 4016 | impl Builder {
|
4017 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2710 4018 | #[allow(missing_docs)] // documentation missing in model
|
4019 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2711 4020 | pub fn float_value(mut self, input: ::std::option::Option<f32>) -> Self {
|
2712 - | self.float_value = input;
|
4021 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4022 + | self.float_value =
|
4023 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4024 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2713 4025 | self
|
4026 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2714 4027 | }
|
4028 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
2715 4029 | #[allow(missing_docs)] // documentation missing in model
|
4030 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2716 4031 | pub fn double_value(mut self, input: ::std::option::Option<f64>) -> Self {
|
2717 - | self.double_value = input;
|
4032 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4033 + | self.double_value =
|
4034 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4035 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
2718 4036 | self
|
4037 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
2719 4038 | }
|
2720 - | /// Consumes the builder and constructs a [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
4039 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`SimpleScalarPropertiesInput`](crate::input::SimpleScalarPropertiesInput).
|
4040 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
2721 4041 | pub fn build(self) -> crate::input::SimpleScalarPropertiesInput {
|
2722 4042 | self.build_enforcing_required_and_enum_traits()
|
2723 4043 | }
|
4044 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
2724 4045 | fn build_enforcing_required_and_enum_traits(
|
2725 4046 | self,
|
2726 4047 | ) -> crate::input::SimpleScalarPropertiesInput {
|
4048 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2727 4049 | crate::input::SimpleScalarPropertiesInput {
|
4050 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2728 4051 | float_value: self.float_value,
|
4052 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
2729 4053 | double_value: self.double_value,
|
4054 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
2730 4055 | }
|
4056 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
2731 4057 | }
|
4058 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
2732 4059 | }
|
4060 + |
|
4061 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
2733 4062 | }
|
2734 - | /// See [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
4063 + | /// /* ServerBuilderGenerator.kt:171 */See [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
2735 4064 | pub(crate) mod kitchen_sink_operation_input_internal {
|
2736 4065 |
|
4066 + | /* ServerBuilderGenerator.kt:461 */
|
2737 4067 | impl ::std::convert::From<Builder> for crate::input::KitchenSinkOperationInput {
|
2738 4068 | fn from(builder: Builder) -> Self {
|
2739 4069 | builder.build()
|
2740 4070 | }
|
2741 4071 | }
|
2742 - | /// A builder for [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
4072 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
4073 + | /* RustType.kt:516 */
|
2743 4074 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
4075 + | /* ServerBuilderGenerator.kt:211 */
|
2744 4076 | pub(crate) struct Builder {
|
4077 + | /* ServerBuilderGenerator.kt:308 */
|
2745 4078 | pub(crate) blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
2746 - | pub(crate) boolean: ::std::option::Option<bool>,
|
2747 - | pub(crate) double: ::std::option::Option<f64>,
|
4079 + | /* ServerBuilderGenerator.kt:308 */ pub(crate) boolean: ::std::option::Option<bool>,
|
4080 + | /* ServerBuilderGenerator.kt:308 */ pub(crate) double: ::std::option::Option<f64>,
|
4081 + | /* ServerBuilderGenerator.kt:308 */
|
2748 4082 | pub(crate) empty_struct: ::std::option::Option<crate::model::EmptyStruct>,
|
2749 - | pub(crate) float: ::std::option::Option<f32>,
|
4083 + | /* ServerBuilderGenerator.kt:308 */ pub(crate) float: ::std::option::Option<f32>,
|
4084 + | /* ServerBuilderGenerator.kt:308 */
|
2750 4085 | pub(crate) httpdate_timestamp:
|
2751 4086 | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2752 - | pub(crate) integer: ::std::option::Option<i32>,
|
4087 + | /* ServerBuilderGenerator.kt:308 */ pub(crate) integer: ::std::option::Option<i32>,
|
4088 + | /* ServerBuilderGenerator.kt:308 */
|
2753 4089 | pub(crate) iso8601_timestamp:
|
2754 4090 | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
4091 + | /* ServerBuilderGenerator.kt:308 */
|
2755 4092 | pub(crate) json_value: ::std::option::Option<::std::string::String>,
|
4093 + | /* ServerBuilderGenerator.kt:308 */
|
2756 4094 | pub(crate) list_of_lists:
|
2757 4095 | ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
4096 + | /* ServerBuilderGenerator.kt:308 */
|
2758 4097 | pub(crate) list_of_maps_of_strings: ::std::option::Option<
|
2759 4098 | ::std::vec::Vec<
|
2760 4099 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2761 4100 | >,
|
2762 4101 | >,
|
4102 + | /* ServerBuilderGenerator.kt:308 */
|
2763 4103 | pub(crate) list_of_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
4104 + | /* ServerBuilderGenerator.kt:308 */
|
2764 4105 | pub(crate) list_of_structs:
|
2765 4106 | ::std::option::Option<::std::vec::Vec<crate::model::SimpleStruct>>,
|
2766 - | pub(crate) long: ::std::option::Option<i64>,
|
4107 + | /* ServerBuilderGenerator.kt:308 */ pub(crate) long: ::std::option::Option<i64>,
|
4108 + | /* ServerBuilderGenerator.kt:308 */
|
2767 4109 | pub(crate) map_of_lists_of_strings: ::std::option::Option<
|
2768 4110 | ::std::collections::HashMap<
|
2769 4111 | ::std::string::String,
|
2770 4112 | ::std::vec::Vec<::std::string::String>,
|
2771 4113 | >,
|
2772 4114 | >,
|
4115 + | /* ServerBuilderGenerator.kt:308 */
|
2773 4116 | pub(crate) map_of_maps: ::std::option::Option<
|
2774 4117 | ::std::collections::HashMap<
|
2775 4118 | ::std::string::String,
|
2776 4119 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2777 4120 | >,
|
2778 4121 | >,
|
4122 + | /* ServerBuilderGenerator.kt:308 */
|
2779 4123 | pub(crate) map_of_strings: ::std::option::Option<
|
2780 4124 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2781 4125 | >,
|
4126 + | /* ServerBuilderGenerator.kt:308 */
|
2782 4127 | pub(crate) map_of_structs: ::std::option::Option<
|
2783 4128 | ::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
2784 4129 | >,
|
4130 + | /* ServerBuilderGenerator.kt:308 */
|
2785 4131 | pub(crate) recursive_list:
|
2786 4132 | ::std::option::Option<::std::vec::Vec<crate::model::KitchenSink>>,
|
4133 + | /* ServerBuilderGenerator.kt:308 */
|
2787 4134 | pub(crate) recursive_map: ::std::option::Option<
|
2788 4135 | ::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
2789 4136 | >,
|
4137 + | /* ServerBuilderGenerator.kt:308 */
|
2790 4138 | pub(crate) recursive_struct:
|
2791 4139 | ::std::option::Option<::std::boxed::Box<crate::model::KitchenSink>>,
|
4140 + | /* ServerBuilderGenerator.kt:308 */
|
2792 4141 | pub(crate) simple_struct: ::std::option::Option<crate::model::SimpleStruct>,
|
4142 + | /* ServerBuilderGenerator.kt:308 */
|
2793 4143 | pub(crate) string: ::std::option::Option<::std::string::String>,
|
4144 + | /* ServerBuilderGenerator.kt:308 */
|
2794 4145 | pub(crate) struct_with_json_name: ::std::option::Option<crate::model::StructWithJsonName>,
|
4146 + | /* ServerBuilderGenerator.kt:308 */
|
2795 4147 | pub(crate) timestamp:
|
2796 4148 | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
4149 + | /* ServerBuilderGenerator.kt:308 */
|
2797 4150 | pub(crate) unix_timestamp:
|
2798 4151 | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
4152 + | /* ServerBuilderGenerator.kt:211 */
|
2799 4153 | }
|
4154 + | /* ServerBuilderGenerator.kt:215 */
|
2800 4155 | impl Builder {
|
4156 + | /* ServerBuilderGenerator.kt:426 */
|
2801 4157 | #[allow(missing_docs)] // documentation missing in model
|
4158 + | /* ServerBuilderGenerator.kt:428 */
|
2802 4159 | pub(crate) fn set_blob(
|
2803 4160 | mut self,
|
2804 4161 | input: Option<impl ::std::convert::Into<::aws_smithy_http_server_python::types::Blob>>,
|
2805 4162 | ) -> Self {
|
4163 + | /* ServerBuilderGenerator.kt:429 */
|
2806 4164 | self.blob = input.map(|v| v.into());
|
2807 4165 | self
|
4166 + | /* ServerBuilderGenerator.kt:428 */
|
2808 4167 | }
|
4168 + | /* ServerBuilderGenerator.kt:426 */
|
2809 4169 | #[allow(missing_docs)] // documentation missing in model
|
4170 + | /* ServerBuilderGenerator.kt:428 */
|
2810 4171 | pub(crate) fn set_boolean(
|
2811 4172 | mut self,
|
2812 4173 | input: Option<impl ::std::convert::Into<bool>>,
|
2813 4174 | ) -> Self {
|
4175 + | /* ServerBuilderGenerator.kt:429 */
|
2814 4176 | self.boolean = input.map(|v| v.into());
|
2815 4177 | self
|
4178 + | /* ServerBuilderGenerator.kt:428 */
|
2816 4179 | }
|
4180 + | /* ServerBuilderGenerator.kt:426 */
|
2817 4181 | #[allow(missing_docs)] // documentation missing in model
|
4182 + | /* ServerBuilderGenerator.kt:428 */
|
2818 4183 | pub(crate) fn set_double(mut self, input: Option<impl ::std::convert::Into<f64>>) -> Self {
|
4184 + | /* ServerBuilderGenerator.kt:429 */
|
2819 4185 | self.double = input.map(|v| v.into());
|
2820 4186 | self
|
4187 + | /* ServerBuilderGenerator.kt:428 */
|
2821 4188 | }
|
4189 + | /* ServerBuilderGenerator.kt:426 */
|
2822 4190 | #[allow(missing_docs)] // documentation missing in model
|
4191 + | /* ServerBuilderGenerator.kt:428 */
|
2823 4192 | pub(crate) fn set_empty_struct(
|
2824 4193 | mut self,
|
2825 4194 | input: Option<impl ::std::convert::Into<crate::model::EmptyStruct>>,
|
2826 4195 | ) -> Self {
|
4196 + | /* ServerBuilderGenerator.kt:429 */
|
2827 4197 | self.empty_struct = input.map(|v| v.into());
|
2828 4198 | self
|
4199 + | /* ServerBuilderGenerator.kt:428 */
|
2829 4200 | }
|
4201 + | /* ServerBuilderGenerator.kt:426 */
|
2830 4202 | #[allow(missing_docs)] // documentation missing in model
|
4203 + | /* ServerBuilderGenerator.kt:428 */
|
2831 4204 | pub(crate) fn set_float(mut self, input: Option<impl ::std::convert::Into<f32>>) -> Self {
|
4205 + | /* ServerBuilderGenerator.kt:429 */
|
2832 4206 | self.float = input.map(|v| v.into());
|
2833 4207 | self
|
4208 + | /* ServerBuilderGenerator.kt:428 */
|
2834 4209 | }
|
4210 + | /* ServerBuilderGenerator.kt:426 */
|
2835 4211 | #[allow(missing_docs)] // documentation missing in model
|
4212 + | /* ServerBuilderGenerator.kt:428 */
|
2836 4213 | pub(crate) fn set_httpdate_timestamp(
|
2837 4214 | mut self,
|
2838 4215 | input: Option<
|
2839 4216 | impl ::std::convert::Into<::aws_smithy_http_server_python::types::DateTime>,
|
2840 4217 | >,
|
2841 4218 | ) -> Self {
|
4219 + | /* ServerBuilderGenerator.kt:429 */
|
2842 4220 | self.httpdate_timestamp = input.map(|v| v.into());
|
2843 4221 | self
|
4222 + | /* ServerBuilderGenerator.kt:428 */
|
2844 4223 | }
|
4224 + | /* ServerBuilderGenerator.kt:426 */
|
2845 4225 | #[allow(missing_docs)] // documentation missing in model
|
4226 + | /* ServerBuilderGenerator.kt:428 */
|
2846 4227 | pub(crate) fn set_integer(mut self, input: Option<impl ::std::convert::Into<i32>>) -> Self {
|
4228 + | /* ServerBuilderGenerator.kt:429 */
|
2847 4229 | self.integer = input.map(|v| v.into());
|
2848 4230 | self
|
4231 + | /* ServerBuilderGenerator.kt:428 */
|
2849 4232 | }
|
4233 + | /* ServerBuilderGenerator.kt:426 */
|
2850 4234 | #[allow(missing_docs)] // documentation missing in model
|
4235 + | /* ServerBuilderGenerator.kt:428 */
|
2851 4236 | pub(crate) fn set_iso8601_timestamp(
|
2852 4237 | mut self,
|
2853 4238 | input: Option<
|
2854 4239 | impl ::std::convert::Into<::aws_smithy_http_server_python::types::DateTime>,
|
2855 4240 | >,
|
2856 4241 | ) -> Self {
|
4242 + | /* ServerBuilderGenerator.kt:429 */
|
2857 4243 | self.iso8601_timestamp = input.map(|v| v.into());
|
2858 4244 | self
|
4245 + | /* ServerBuilderGenerator.kt:428 */
|
2859 4246 | }
|
4247 + | /* ServerBuilderGenerator.kt:426 */
|
2860 4248 | #[allow(missing_docs)] // documentation missing in model
|
4249 + | /* ServerBuilderGenerator.kt:428 */
|
2861 4250 | pub(crate) fn set_json_value(
|
2862 4251 | mut self,
|
2863 4252 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
2864 4253 | ) -> Self {
|
4254 + | /* ServerBuilderGenerator.kt:429 */
|
2865 4255 | self.json_value = input.map(|v| v.into());
|
2866 4256 | self
|
4257 + | /* ServerBuilderGenerator.kt:428 */
|
2867 4258 | }
|
4259 + | /* ServerBuilderGenerator.kt:426 */
|
2868 4260 | #[allow(missing_docs)] // documentation missing in model
|
4261 + | /* ServerBuilderGenerator.kt:428 */
|
2869 4262 | pub(crate) fn set_list_of_lists(
|
2870 4263 | mut self,
|
2871 4264 | input: Option<
|
2872 4265 | impl ::std::convert::Into<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
2873 4266 | >,
|
2874 4267 | ) -> Self {
|
4268 + | /* ServerBuilderGenerator.kt:429 */
|
2875 4269 | self.list_of_lists = input.map(|v| v.into());
|
2876 4270 | self
|
4271 + | /* ServerBuilderGenerator.kt:428 */
|
2877 4272 | }
|
4273 + | /* ServerBuilderGenerator.kt:426 */
|
2878 4274 | #[allow(missing_docs)] // documentation missing in model
|
4275 + | /* ServerBuilderGenerator.kt:428 */
|
2879 4276 | pub(crate) fn set_list_of_maps_of_strings(
|
2880 4277 | mut self,
|
2881 4278 | input: Option<
|
2882 4279 | impl ::std::convert::Into<
|
2883 4280 | ::std::vec::Vec<
|
2884 4281 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2885 4282 | >,
|
2886 4283 | >,
|
2887 4284 | >,
|
2888 4285 | ) -> Self {
|
4286 + | /* ServerBuilderGenerator.kt:429 */
|
2889 4287 | self.list_of_maps_of_strings = input.map(|v| v.into());
|
2890 4288 | self
|
4289 + | /* ServerBuilderGenerator.kt:428 */
|
2891 4290 | }
|
4291 + | /* ServerBuilderGenerator.kt:426 */
|
2892 4292 | #[allow(missing_docs)] // documentation missing in model
|
4293 + | /* ServerBuilderGenerator.kt:428 */
|
2893 4294 | pub(crate) fn set_list_of_strings(
|
2894 4295 | mut self,
|
2895 4296 | input: Option<impl ::std::convert::Into<::std::vec::Vec<::std::string::String>>>,
|
2896 4297 | ) -> Self {
|
4298 + | /* ServerBuilderGenerator.kt:429 */
|
2897 4299 | self.list_of_strings = input.map(|v| v.into());
|
2898 4300 | self
|
4301 + | /* ServerBuilderGenerator.kt:428 */
|
2899 4302 | }
|
4303 + | /* ServerBuilderGenerator.kt:426 */
|
2900 4304 | #[allow(missing_docs)] // documentation missing in model
|
4305 + | /* ServerBuilderGenerator.kt:428 */
|
2901 4306 | pub(crate) fn set_list_of_structs(
|
2902 4307 | mut self,
|
2903 4308 | input: Option<impl ::std::convert::Into<::std::vec::Vec<crate::model::SimpleStruct>>>,
|
2904 4309 | ) -> Self {
|
4310 + | /* ServerBuilderGenerator.kt:429 */
|
2905 4311 | self.list_of_structs = input.map(|v| v.into());
|
2906 4312 | self
|
4313 + | /* ServerBuilderGenerator.kt:428 */
|
2907 4314 | }
|
4315 + | /* ServerBuilderGenerator.kt:426 */
|
2908 4316 | #[allow(missing_docs)] // documentation missing in model
|
4317 + | /* ServerBuilderGenerator.kt:428 */
|
2909 4318 | pub(crate) fn set_long(mut self, input: Option<impl ::std::convert::Into<i64>>) -> Self {
|
4319 + | /* ServerBuilderGenerator.kt:429 */
|
2910 4320 | self.long = input.map(|v| v.into());
|
2911 4321 | self
|
4322 + | /* ServerBuilderGenerator.kt:428 */
|
2912 4323 | }
|
4324 + | /* ServerBuilderGenerator.kt:426 */
|
2913 4325 | #[allow(missing_docs)] // documentation missing in model
|
4326 + | /* ServerBuilderGenerator.kt:428 */
|
2914 4327 | pub(crate) fn set_map_of_lists_of_strings(
|
2915 4328 | mut self,
|
2916 4329 | input: Option<
|
2917 4330 | impl ::std::convert::Into<
|
2918 4331 | ::std::collections::HashMap<
|
2919 4332 | ::std::string::String,
|
2920 4333 | ::std::vec::Vec<::std::string::String>,
|
2921 4334 | >,
|
2922 4335 | >,
|
2923 4336 | >,
|
2924 4337 | ) -> Self {
|
4338 + | /* ServerBuilderGenerator.kt:429 */
|
2925 4339 | self.map_of_lists_of_strings = input.map(|v| v.into());
|
2926 4340 | self
|
4341 + | /* ServerBuilderGenerator.kt:428 */
|
2927 4342 | }
|
4343 + | /* ServerBuilderGenerator.kt:426 */
|
2928 4344 | #[allow(missing_docs)] // documentation missing in model
|
4345 + | /* ServerBuilderGenerator.kt:428 */
|
2929 4346 | pub(crate) fn set_map_of_maps(
|
2930 4347 | mut self,
|
2931 4348 | input: Option<
|
2932 4349 | impl ::std::convert::Into<
|
2933 4350 | ::std::collections::HashMap<
|
2934 4351 | ::std::string::String,
|
2935 4352 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2936 4353 | >,
|
2937 4354 | >,
|
2938 4355 | >,
|
2939 4356 | ) -> Self {
|
4357 + | /* ServerBuilderGenerator.kt:429 */
|
2940 4358 | self.map_of_maps = input.map(|v| v.into());
|
2941 4359 | self
|
4360 + | /* ServerBuilderGenerator.kt:428 */
|
2942 4361 | }
|
4362 + | /* ServerBuilderGenerator.kt:426 */
|
2943 4363 | #[allow(missing_docs)] // documentation missing in model
|
4364 + | /* ServerBuilderGenerator.kt:428 */
|
2944 4365 | pub(crate) fn set_map_of_strings(
|
2945 4366 | mut self,
|
2946 4367 | input: Option<
|
2947 4368 | impl ::std::convert::Into<
|
2948 4369 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
2949 4370 | >,
|
2950 4371 | >,
|
2951 4372 | ) -> Self {
|
4373 + | /* ServerBuilderGenerator.kt:429 */
|
2952 4374 | self.map_of_strings = input.map(|v| v.into());
|
2953 4375 | self
|
4376 + | /* ServerBuilderGenerator.kt:428 */
|
2954 4377 | }
|
4378 + | /* ServerBuilderGenerator.kt:426 */
|
2955 4379 | #[allow(missing_docs)] // documentation missing in model
|
4380 + | /* ServerBuilderGenerator.kt:428 */
|
2956 4381 | pub(crate) fn set_map_of_structs(
|
2957 4382 | mut self,
|
2958 4383 | input: Option<
|
2959 4384 | impl ::std::convert::Into<
|
2960 4385 | ::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
2961 4386 | >,
|
2962 4387 | >,
|
2963 4388 | ) -> Self {
|
4389 + | /* ServerBuilderGenerator.kt:429 */
|
2964 4390 | self.map_of_structs = input.map(|v| v.into());
|
2965 4391 | self
|
4392 + | /* ServerBuilderGenerator.kt:428 */
|
2966 4393 | }
|
4394 + | /* ServerBuilderGenerator.kt:426 */
|
2967 4395 | #[allow(missing_docs)] // documentation missing in model
|
4396 + | /* ServerBuilderGenerator.kt:428 */
|
2968 4397 | pub(crate) fn set_recursive_list(
|
2969 4398 | mut self,
|
2970 4399 | input: Option<impl ::std::convert::Into<::std::vec::Vec<crate::model::KitchenSink>>>,
|
2971 4400 | ) -> Self {
|
4401 + | /* ServerBuilderGenerator.kt:429 */
|
2972 4402 | self.recursive_list = input.map(|v| v.into());
|
2973 4403 | self
|
4404 + | /* ServerBuilderGenerator.kt:428 */
|
2974 4405 | }
|
4406 + | /* ServerBuilderGenerator.kt:426 */
|
2975 4407 | #[allow(missing_docs)] // documentation missing in model
|
4408 + | /* ServerBuilderGenerator.kt:428 */
|
2976 4409 | pub(crate) fn set_recursive_map(
|
2977 4410 | mut self,
|
2978 4411 | input: Option<
|
2979 4412 | impl ::std::convert::Into<
|
2980 4413 | ::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
2981 4414 | >,
|
2982 4415 | >,
|
2983 4416 | ) -> Self {
|
4417 + | /* ServerBuilderGenerator.kt:429 */
|
2984 4418 | self.recursive_map = input.map(|v| v.into());
|
2985 4419 | self
|
4420 + | /* ServerBuilderGenerator.kt:428 */
|
2986 4421 | }
|
4422 + | /* ServerBuilderGenerator.kt:426 */
|
2987 4423 | #[allow(missing_docs)] // documentation missing in model
|
4424 + | /* ServerBuilderGenerator.kt:428 */
|
2988 4425 | pub(crate) fn set_recursive_struct(
|
2989 4426 | mut self,
|
2990 4427 | input: Option<impl ::std::convert::Into<::std::boxed::Box<crate::model::KitchenSink>>>,
|
2991 4428 | ) -> Self {
|
4429 + | /* ServerBuilderGenerator.kt:429 */
|
2992 4430 | self.recursive_struct = input.map(|v| v.into());
|
2993 4431 | self
|
4432 + | /* ServerBuilderGenerator.kt:428 */
|
2994 4433 | }
|
4434 + | /* ServerBuilderGenerator.kt:426 */
|
2995 4435 | #[allow(missing_docs)] // documentation missing in model
|
4436 + | /* ServerBuilderGenerator.kt:428 */
|
2996 4437 | pub(crate) fn set_simple_struct(
|
2997 4438 | mut self,
|
2998 4439 | input: Option<impl ::std::convert::Into<crate::model::SimpleStruct>>,
|
2999 4440 | ) -> Self {
|
4441 + | /* ServerBuilderGenerator.kt:429 */
|
3000 4442 | self.simple_struct = input.map(|v| v.into());
|
3001 4443 | self
|
4444 + | /* ServerBuilderGenerator.kt:428 */
|
3002 4445 | }
|
4446 + | /* ServerBuilderGenerator.kt:426 */
|
3003 4447 | #[allow(missing_docs)] // documentation missing in model
|
4448 + | /* ServerBuilderGenerator.kt:428 */
|
3004 4449 | pub(crate) fn set_string(
|
3005 4450 | mut self,
|
3006 4451 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
3007 4452 | ) -> Self {
|
4453 + | /* ServerBuilderGenerator.kt:429 */
|
3008 4454 | self.string = input.map(|v| v.into());
|
3009 4455 | self
|
4456 + | /* ServerBuilderGenerator.kt:428 */
|
3010 4457 | }
|
4458 + | /* ServerBuilderGenerator.kt:426 */
|
3011 4459 | #[allow(missing_docs)] // documentation missing in model
|
4460 + | /* ServerBuilderGenerator.kt:428 */
|
3012 4461 | pub(crate) fn set_struct_with_json_name(
|
3013 4462 | mut self,
|
3014 4463 | input: Option<impl ::std::convert::Into<crate::model::StructWithJsonName>>,
|
3015 4464 | ) -> Self {
|
4465 + | /* ServerBuilderGenerator.kt:429 */
|
3016 4466 | self.struct_with_json_name = input.map(|v| v.into());
|
3017 4467 | self
|
4468 + | /* ServerBuilderGenerator.kt:428 */
|
3018 4469 | }
|
4470 + | /* ServerBuilderGenerator.kt:426 */
|
3019 4471 | #[allow(missing_docs)] // documentation missing in model
|
4472 + | /* ServerBuilderGenerator.kt:428 */
|
3020 4473 | pub(crate) fn set_timestamp(
|
3021 4474 | mut self,
|
3022 4475 | input: Option<
|
3023 4476 | impl ::std::convert::Into<::aws_smithy_http_server_python::types::DateTime>,
|
3024 4477 | >,
|
3025 4478 | ) -> Self {
|
4479 + | /* ServerBuilderGenerator.kt:429 */
|
3026 4480 | self.timestamp = input.map(|v| v.into());
|
3027 4481 | self
|
4482 + | /* ServerBuilderGenerator.kt:428 */
|
3028 4483 | }
|
4484 + | /* ServerBuilderGenerator.kt:426 */
|
3029 4485 | #[allow(missing_docs)] // documentation missing in model
|
4486 + | /* ServerBuilderGenerator.kt:428 */
|
3030 4487 | pub(crate) fn set_unix_timestamp(
|
3031 4488 | mut self,
|
3032 4489 | input: Option<
|
3033 4490 | impl ::std::convert::Into<::aws_smithy_http_server_python::types::DateTime>,
|
3034 4491 | >,
|
3035 4492 | ) -> Self {
|
4493 + | /* ServerBuilderGenerator.kt:429 */
|
3036 4494 | self.unix_timestamp = input.map(|v| v.into());
|
3037 4495 | self
|
4496 + | /* ServerBuilderGenerator.kt:428 */
|
3038 4497 | }
|
3039 - | /// Consumes the builder and constructs a [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
4498 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
4499 + | /* ServerBuilderGenerator.kt:271 */
|
3040 4500 | pub fn build(self) -> crate::input::KitchenSinkOperationInput {
|
3041 4501 | self.build_enforcing_all_constraints()
|
3042 4502 | }
|
4503 + | /* ServerBuilderGenerator.kt:283 */
|
3043 4504 | fn build_enforcing_all_constraints(self) -> crate::input::KitchenSinkOperationInput {
|
4505 + | /* ServerBuilderGenerator.kt:542 */
|
3044 4506 | crate::input::KitchenSinkOperationInput {
|
4507 + | /* ServerBuilderGenerator.kt:546 */
|
3045 4508 | blob: self.blob,
|
4509 + | /* ServerBuilderGenerator.kt:546 */
|
3046 4510 | boolean: self.boolean,
|
4511 + | /* ServerBuilderGenerator.kt:546 */
|
3047 4512 | double: self.double,
|
4513 + | /* ServerBuilderGenerator.kt:546 */
|
3048 4514 | empty_struct: self.empty_struct,
|
4515 + | /* ServerBuilderGenerator.kt:546 */
|
3049 4516 | float: self.float,
|
4517 + | /* ServerBuilderGenerator.kt:546 */
|
3050 4518 | httpdate_timestamp: self.httpdate_timestamp,
|
4519 + | /* ServerBuilderGenerator.kt:546 */
|
3051 4520 | integer: self.integer,
|
4521 + | /* ServerBuilderGenerator.kt:546 */
|
3052 4522 | iso8601_timestamp: self.iso8601_timestamp,
|
4523 + | /* ServerBuilderGenerator.kt:546 */
|
3053 4524 | json_value: self.json_value,
|
4525 + | /* ServerBuilderGenerator.kt:546 */
|
3054 4526 | list_of_lists: self.list_of_lists,
|
4527 + | /* ServerBuilderGenerator.kt:546 */
|
3055 4528 | list_of_maps_of_strings: self.list_of_maps_of_strings,
|
4529 + | /* ServerBuilderGenerator.kt:546 */
|
3056 4530 | list_of_strings: self.list_of_strings,
|
4531 + | /* ServerBuilderGenerator.kt:546 */
|
3057 4532 | list_of_structs: self.list_of_structs,
|
4533 + | /* ServerBuilderGenerator.kt:546 */
|
3058 4534 | long: self.long,
|
4535 + | /* ServerBuilderGenerator.kt:546 */
|
3059 4536 | map_of_lists_of_strings: self.map_of_lists_of_strings,
|
4537 + | /* ServerBuilderGenerator.kt:546 */
|
3060 4538 | map_of_maps: self.map_of_maps,
|
4539 + | /* ServerBuilderGenerator.kt:546 */
|
3061 4540 | map_of_strings: self.map_of_strings,
|
4541 + | /* ServerBuilderGenerator.kt:546 */
|
3062 4542 | map_of_structs: self.map_of_structs,
|
4543 + | /* ServerBuilderGenerator.kt:546 */
|
3063 4544 | recursive_list: self.recursive_list,
|
4545 + | /* ServerBuilderGenerator.kt:546 */
|
3064 4546 | recursive_map: self.recursive_map,
|
4547 + | /* ServerBuilderGenerator.kt:546 */
|
3065 4548 | recursive_struct: self.recursive_struct,
|
4549 + | /* ServerBuilderGenerator.kt:546 */
|
3066 4550 | simple_struct: self.simple_struct,
|
4551 + | /* ServerBuilderGenerator.kt:546 */
|
3067 4552 | string: self.string,
|
4553 + | /* ServerBuilderGenerator.kt:546 */
|
3068 4554 | struct_with_json_name: self.struct_with_json_name,
|
4555 + | /* ServerBuilderGenerator.kt:546 */
|
3069 4556 | timestamp: self.timestamp,
|
4557 + | /* ServerBuilderGenerator.kt:546 */
|
3070 4558 | unix_timestamp: self.unix_timestamp,
|
4559 + | /* ServerBuilderGenerator.kt:542 */
|
3071 4560 | }
|
4561 + | /* ServerBuilderGenerator.kt:283 */
|
3072 4562 | }
|
4563 + | /* ServerBuilderGenerator.kt:215 */
|
3073 4564 | }
|
4565 + |
|
4566 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
3074 4567 | }
|
3075 - | /// See [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
4568 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
3076 4569 | pub mod kitchen_sink_operation_input {
|
3077 4570 |
|
4571 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
3078 4572 | impl ::std::convert::From<Builder> for crate::input::KitchenSinkOperationInput {
|
3079 4573 | fn from(builder: Builder) -> Self {
|
3080 4574 | builder.build()
|
3081 4575 | }
|
3082 4576 | }
|
3083 - | /// A builder for [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
4577 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
4578 + | /* RustType.kt:516 */
|
3084 4579 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
4580 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
3085 4581 | pub struct Builder {
|
4582 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3086 4583 | pub(crate) blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
4584 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3087 4585 | pub(crate) boolean: ::std::option::Option<bool>,
|
4586 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3088 4587 | pub(crate) double: ::std::option::Option<f64>,
|
4588 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3089 4589 | pub(crate) empty_struct: ::std::option::Option<crate::model::EmptyStruct>,
|
4590 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3090 4591 | pub(crate) float: ::std::option::Option<f32>,
|
4592 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3091 4593 | pub(crate) httpdate_timestamp:
|
3092 4594 | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
4595 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3093 4596 | pub(crate) integer: ::std::option::Option<i32>,
|
4597 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3094 4598 | pub(crate) iso8601_timestamp:
|
3095 4599 | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
4600 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3096 4601 | pub(crate) json_value: ::std::option::Option<::std::string::String>,
|
4602 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3097 4603 | pub(crate) list_of_lists:
|
3098 4604 | ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
4605 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3099 4606 | pub(crate) list_of_maps_of_strings: ::std::option::Option<
|
3100 4607 | ::std::vec::Vec<
|
3101 4608 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3102 4609 | >,
|
3103 4610 | >,
|
4611 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3104 4612 | pub(crate) list_of_strings: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
4613 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3105 4614 | pub(crate) list_of_structs:
|
3106 4615 | ::std::option::Option<::std::vec::Vec<crate::model::SimpleStruct>>,
|
4616 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3107 4617 | pub(crate) long: ::std::option::Option<i64>,
|
4618 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3108 4619 | pub(crate) map_of_lists_of_strings: ::std::option::Option<
|
3109 4620 | ::std::collections::HashMap<
|
3110 4621 | ::std::string::String,
|
3111 4622 | ::std::vec::Vec<::std::string::String>,
|
3112 4623 | >,
|
3113 4624 | >,
|
4625 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3114 4626 | pub(crate) map_of_maps: ::std::option::Option<
|
3115 4627 | ::std::collections::HashMap<
|
3116 4628 | ::std::string::String,
|
3117 4629 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3118 4630 | >,
|
3119 4631 | >,
|
4632 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3120 4633 | pub(crate) map_of_strings: ::std::option::Option<
|
3121 4634 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3122 4635 | >,
|
4636 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3123 4637 | pub(crate) map_of_structs: ::std::option::Option<
|
3124 4638 | ::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
3125 4639 | >,
|
4640 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3126 4641 | pub(crate) recursive_list:
|
3127 4642 | ::std::option::Option<::std::vec::Vec<crate::model::KitchenSink>>,
|
4643 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3128 4644 | pub(crate) recursive_map: ::std::option::Option<
|
3129 4645 | ::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
3130 4646 | >,
|
4647 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3131 4648 | pub(crate) recursive_struct:
|
3132 4649 | ::std::option::Option<::std::boxed::Box<crate::model::KitchenSink>>,
|
4650 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3133 4651 | pub(crate) simple_struct: ::std::option::Option<crate::model::SimpleStruct>,
|
4652 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3134 4653 | pub(crate) string: ::std::option::Option<::std::string::String>,
|
4654 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3135 4655 | pub(crate) struct_with_json_name: ::std::option::Option<crate::model::StructWithJsonName>,
|
4656 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3136 4657 | pub(crate) timestamp:
|
3137 4658 | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
4659 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
3138 4660 | pub(crate) unix_timestamp:
|
3139 4661 | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
4662 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
3140 4663 | }
|
4664 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
3141 4665 | impl Builder {
|
4666 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3142 4667 | #[allow(missing_docs)] // documentation missing in model
|
4668 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3143 4669 | pub fn blob(
|
3144 4670 | mut self,
|
3145 4671 | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
3146 4672 | ) -> Self {
|
3147 - | self.blob = input;
|
4673 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4674 + | self.blob =
|
4675 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4676 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3148 4677 | self
|
4678 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3149 4679 | }
|
4680 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3150 4681 | #[allow(missing_docs)] // documentation missing in model
|
4682 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3151 4683 | pub fn boolean(mut self, input: ::std::option::Option<bool>) -> Self {
|
3152 - | self.boolean = input;
|
4684 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4685 + | self.boolean =
|
4686 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4687 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3153 4688 | self
|
4689 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3154 4690 | }
|
4691 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3155 4692 | #[allow(missing_docs)] // documentation missing in model
|
4693 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3156 4694 | pub fn double(mut self, input: ::std::option::Option<f64>) -> Self {
|
3157 - | self.double = input;
|
4695 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4696 + | self.double =
|
4697 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4698 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3158 4699 | self
|
4700 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3159 4701 | }
|
4702 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3160 4703 | #[allow(missing_docs)] // documentation missing in model
|
4704 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3161 4705 | pub fn empty_struct(
|
3162 4706 | mut self,
|
3163 4707 | input: ::std::option::Option<crate::model::EmptyStruct>,
|
3164 4708 | ) -> Self {
|
3165 - | self.empty_struct = input;
|
4709 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4710 + | self.empty_struct =
|
4711 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4712 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3166 4713 | self
|
4714 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3167 4715 | }
|
4716 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3168 4717 | #[allow(missing_docs)] // documentation missing in model
|
4718 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3169 4719 | pub fn float(mut self, input: ::std::option::Option<f32>) -> Self {
|
3170 - | self.float = input;
|
4720 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4721 + | self.float =
|
4722 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4723 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3171 4724 | self
|
4725 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3172 4726 | }
|
4727 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3173 4728 | #[allow(missing_docs)] // documentation missing in model
|
4729 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3174 4730 | pub fn httpdate_timestamp(
|
3175 4731 | mut self,
|
3176 4732 | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3177 4733 | ) -> Self {
|
3178 - | self.httpdate_timestamp = input;
|
4734 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4735 + | self.httpdate_timestamp =
|
4736 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4737 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3179 4738 | self
|
4739 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3180 4740 | }
|
4741 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3181 4742 | #[allow(missing_docs)] // documentation missing in model
|
4743 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3182 4744 | pub fn integer(mut self, input: ::std::option::Option<i32>) -> Self {
|
3183 - | self.integer = input;
|
4745 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4746 + | self.integer =
|
4747 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4748 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3184 4749 | self
|
4750 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3185 4751 | }
|
4752 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3186 4753 | #[allow(missing_docs)] // documentation missing in model
|
4754 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3187 4755 | pub fn iso8601_timestamp(
|
3188 4756 | mut self,
|
3189 4757 | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3190 4758 | ) -> Self {
|
3191 - | self.iso8601_timestamp = input;
|
4759 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4760 + | self.iso8601_timestamp =
|
4761 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4762 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3192 4763 | self
|
4764 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3193 4765 | }
|
4766 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3194 4767 | #[allow(missing_docs)] // documentation missing in model
|
4768 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3195 4769 | pub fn json_value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
3196 - | self.json_value = input;
|
4770 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4771 + | self.json_value =
|
4772 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4773 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3197 4774 | self
|
4775 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3198 4776 | }
|
4777 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3199 4778 | #[allow(missing_docs)] // documentation missing in model
|
4779 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3200 4780 | pub fn list_of_lists(
|
3201 4781 | mut self,
|
3202 4782 | input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
3203 4783 | ) -> Self {
|
3204 - | self.list_of_lists = input;
|
4784 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4785 + | self.list_of_lists =
|
4786 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4787 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3205 4788 | self
|
4789 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3206 4790 | }
|
4791 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3207 4792 | #[allow(missing_docs)] // documentation missing in model
|
4793 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3208 4794 | pub fn list_of_maps_of_strings(
|
3209 4795 | mut self,
|
3210 4796 | input: ::std::option::Option<
|
3211 4797 | ::std::vec::Vec<
|
3212 4798 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3213 4799 | >,
|
3214 4800 | >,
|
3215 4801 | ) -> Self {
|
3216 - | self.list_of_maps_of_strings = input;
|
4802 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4803 + | self.list_of_maps_of_strings =
|
4804 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4805 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3217 4806 | self
|
4807 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3218 4808 | }
|
4809 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3219 4810 | #[allow(missing_docs)] // documentation missing in model
|
4811 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3220 4812 | pub fn list_of_strings(
|
3221 4813 | mut self,
|
3222 4814 | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
3223 4815 | ) -> Self {
|
3224 - | self.list_of_strings = input;
|
4816 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4817 + | self.list_of_strings =
|
4818 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4819 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3225 4820 | self
|
4821 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3226 4822 | }
|
4823 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3227 4824 | #[allow(missing_docs)] // documentation missing in model
|
4825 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3228 4826 | pub fn list_of_structs(
|
3229 4827 | mut self,
|
3230 4828 | input: ::std::option::Option<::std::vec::Vec<crate::model::SimpleStruct>>,
|
3231 4829 | ) -> Self {
|
3232 - | self.list_of_structs = input;
|
4830 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4831 + | self.list_of_structs =
|
4832 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4833 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3233 4834 | self
|
4835 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3234 4836 | }
|
4837 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3235 4838 | #[allow(missing_docs)] // documentation missing in model
|
4839 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3236 4840 | pub fn long(mut self, input: ::std::option::Option<i64>) -> Self {
|
3237 - | self.long = input;
|
4841 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4842 + | self.long =
|
4843 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4844 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3238 4845 | self
|
4846 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3239 4847 | }
|
4848 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3240 4849 | #[allow(missing_docs)] // documentation missing in model
|
4850 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3241 4851 | pub fn map_of_lists_of_strings(
|
3242 4852 | mut self,
|
3243 4853 | input: ::std::option::Option<
|
3244 4854 | ::std::collections::HashMap<
|
3245 4855 | ::std::string::String,
|
3246 4856 | ::std::vec::Vec<::std::string::String>,
|
3247 4857 | >,
|
3248 4858 | >,
|
3249 4859 | ) -> Self {
|
3250 - | self.map_of_lists_of_strings = input;
|
4860 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4861 + | self.map_of_lists_of_strings =
|
4862 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4863 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3251 4864 | self
|
4865 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3252 4866 | }
|
4867 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3253 4868 | #[allow(missing_docs)] // documentation missing in model
|
4869 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3254 4870 | pub fn map_of_maps(
|
3255 4871 | mut self,
|
3256 4872 | input: ::std::option::Option<
|
3257 4873 | ::std::collections::HashMap<
|
3258 4874 | ::std::string::String,
|
3259 4875 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3260 4876 | >,
|
3261 4877 | >,
|
3262 4878 | ) -> Self {
|
3263 - | self.map_of_maps = input;
|
4879 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4880 + | self.map_of_maps =
|
4881 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4882 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3264 4883 | self
|
4884 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3265 4885 | }
|
4886 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3266 4887 | #[allow(missing_docs)] // documentation missing in model
|
4888 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3267 4889 | pub fn map_of_strings(
|
3268 4890 | mut self,
|
3269 4891 | input: ::std::option::Option<
|
3270 4892 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3271 4893 | >,
|
3272 4894 | ) -> Self {
|
3273 - | self.map_of_strings = input;
|
4895 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4896 + | self.map_of_strings =
|
4897 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4898 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3274 4899 | self
|
4900 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3275 4901 | }
|
4902 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3276 4903 | #[allow(missing_docs)] // documentation missing in model
|
4904 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3277 4905 | pub fn map_of_structs(
|
3278 4906 | mut self,
|
3279 4907 | input: ::std::option::Option<
|
3280 4908 | ::std::collections::HashMap<::std::string::String, crate::model::SimpleStruct>,
|
3281 4909 | >,
|
3282 4910 | ) -> Self {
|
3283 - | self.map_of_structs = input;
|
4911 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4912 + | self.map_of_structs =
|
4913 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4914 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3284 4915 | self
|
4916 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3285 4917 | }
|
4918 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3286 4919 | #[allow(missing_docs)] // documentation missing in model
|
4920 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3287 4921 | pub fn recursive_list(
|
3288 4922 | mut self,
|
3289 4923 | input: ::std::option::Option<::std::vec::Vec<crate::model::KitchenSink>>,
|
3290 4924 | ) -> Self {
|
3291 - | self.recursive_list = input;
|
4925 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4926 + | self.recursive_list =
|
4927 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4928 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3292 4929 | self
|
4930 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3293 4931 | }
|
4932 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3294 4933 | #[allow(missing_docs)] // documentation missing in model
|
4934 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3295 4935 | pub fn recursive_map(
|
3296 4936 | mut self,
|
3297 4937 | input: ::std::option::Option<
|
3298 4938 | ::std::collections::HashMap<::std::string::String, crate::model::KitchenSink>,
|
3299 4939 | >,
|
3300 4940 | ) -> Self {
|
3301 - | self.recursive_map = input;
|
4941 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4942 + | self.recursive_map =
|
4943 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4944 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3302 4945 | self
|
4946 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3303 4947 | }
|
4948 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3304 4949 | #[allow(missing_docs)] // documentation missing in model
|
4950 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3305 4951 | pub fn recursive_struct(
|
3306 4952 | mut self,
|
3307 4953 | input: ::std::option::Option<::std::boxed::Box<crate::model::KitchenSink>>,
|
3308 4954 | ) -> Self {
|
3309 - | self.recursive_struct = input;
|
4955 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4956 + | self.recursive_struct =
|
4957 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4958 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3310 4959 | self
|
4960 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3311 4961 | }
|
4962 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3312 4963 | #[allow(missing_docs)] // documentation missing in model
|
4964 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3313 4965 | pub fn simple_struct(
|
3314 4966 | mut self,
|
3315 4967 | input: ::std::option::Option<crate::model::SimpleStruct>,
|
3316 4968 | ) -> Self {
|
3317 - | self.simple_struct = input;
|
4969 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4970 + | self.simple_struct =
|
4971 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4972 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3318 4973 | self
|
4974 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3319 4975 | }
|
4976 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3320 4977 | #[allow(missing_docs)] // documentation missing in model
|
4978 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3321 4979 | pub fn string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
3322 - | self.string = input;
|
4980 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4981 + | self.string =
|
4982 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4983 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3323 4984 | self
|
4985 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3324 4986 | }
|
4987 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3325 4988 | #[allow(missing_docs)] // documentation missing in model
|
4989 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3326 4990 | pub fn struct_with_json_name(
|
3327 4991 | mut self,
|
3328 4992 | input: ::std::option::Option<crate::model::StructWithJsonName>,
|
3329 4993 | ) -> Self {
|
3330 - | self.struct_with_json_name = input;
|
4994 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
4995 + | self.struct_with_json_name =
|
4996 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
4997 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3331 4998 | self
|
4999 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3332 5000 | }
|
5001 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3333 5002 | #[allow(missing_docs)] // documentation missing in model
|
5003 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3334 5004 | pub fn timestamp(
|
3335 5005 | mut self,
|
3336 5006 | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3337 5007 | ) -> Self {
|
3338 - | self.timestamp = input;
|
5008 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
5009 + | self.timestamp =
|
5010 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
5011 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3339 5012 | self
|
5013 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3340 5014 | }
|
5015 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
3341 5016 | #[allow(missing_docs)] // documentation missing in model
|
5017 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3342 5018 | pub fn unix_timestamp(
|
3343 5019 | mut self,
|
3344 5020 | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3345 5021 | ) -> Self {
|
3346 - | self.unix_timestamp = input;
|
5022 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
5023 + | self.unix_timestamp =
|
5024 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
5025 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
3347 5026 | self
|
5027 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
3348 5028 | }
|
3349 - | /// Consumes the builder and constructs a [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
5029 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`KitchenSinkOperationInput`](crate::input::KitchenSinkOperationInput).
|
5030 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
3350 5031 | pub fn build(self) -> crate::input::KitchenSinkOperationInput {
|
3351 5032 | self.build_enforcing_required_and_enum_traits()
|
3352 5033 | }
|
5034 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
3353 5035 | fn build_enforcing_required_and_enum_traits(
|
3354 5036 | self,
|
3355 5037 | ) -> crate::input::KitchenSinkOperationInput {
|
5038 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
3356 5039 | crate::input::KitchenSinkOperationInput {
|
5040 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3357 5041 | blob: self.blob,
|
5042 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3358 5043 | boolean: self.boolean,
|
5044 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3359 5045 | double: self.double,
|
5046 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3360 5047 | empty_struct: self.empty_struct,
|
5048 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3361 5049 | float: self.float,
|
5050 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3362 5051 | httpdate_timestamp: self.httpdate_timestamp,
|
5052 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3363 5053 | integer: self.integer,
|
5054 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3364 5055 | iso8601_timestamp: self.iso8601_timestamp,
|
5056 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3365 5057 | json_value: self.json_value,
|
5058 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3366 5059 | list_of_lists: self.list_of_lists,
|
5060 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3367 5061 | list_of_maps_of_strings: self.list_of_maps_of_strings,
|
5062 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3368 5063 | list_of_strings: self.list_of_strings,
|
5064 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3369 5065 | list_of_structs: self.list_of_structs,
|
5066 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3370 5067 | long: self.long,
|
5068 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3371 5069 | map_of_lists_of_strings: self.map_of_lists_of_strings,
|
5070 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3372 5071 | map_of_maps: self.map_of_maps,
|
5072 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3373 5073 | map_of_strings: self.map_of_strings,
|
5074 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3374 5075 | map_of_structs: self.map_of_structs,
|
5076 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3375 5077 | recursive_list: self.recursive_list,
|
5078 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3376 5079 | recursive_map: self.recursive_map,
|
5080 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3377 5081 | recursive_struct: self.recursive_struct,
|
5082 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3378 5083 | simple_struct: self.simple_struct,
|
5084 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3379 5085 | string: self.string,
|
5086 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3380 5087 | struct_with_json_name: self.struct_with_json_name,
|
5088 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3381 5089 | timestamp: self.timestamp,
|
5090 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
3382 5091 | unix_timestamp: self.unix_timestamp,
|
5092 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
3383 5093 | }
|
5094 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
3384 5095 | }
|
5096 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
3385 5097 | }
|
5098 + |
|
5099 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
3386 5100 | }
|
3387 - | /// See [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
5101 + | /// /* ServerBuilderGenerator.kt:171 */See [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
3388 5102 | pub(crate) mod empty_operation_input_internal {
|
3389 5103 |
|
5104 + | /* ServerBuilderGenerator.kt:461 */
|
3390 5105 | impl ::std::convert::From<Builder> for crate::input::EmptyOperationInput {
|
3391 5106 | fn from(builder: Builder) -> Self {
|
3392 5107 | builder.build()
|
3393 5108 | }
|
3394 5109 | }
|
3395 - | /// A builder for [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
5110 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
5111 + | /* RustType.kt:516 */
|
3396 5112 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3397 - | pub(crate) struct Builder {}
|
5113 + | /* ServerBuilderGenerator.kt:211 */
|
5114 + | pub(crate) struct Builder {/* ServerBuilderGenerator.kt:211 */}
|
5115 + | /* ServerBuilderGenerator.kt:215 */
|
3398 5116 | impl Builder {
|
3399 - | /// Consumes the builder and constructs a [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
5117 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
5118 + | /* ServerBuilderGenerator.kt:271 */
|
3400 5119 | pub fn build(self) -> crate::input::EmptyOperationInput {
|
3401 5120 | self.build_enforcing_all_constraints()
|
3402 5121 | }
|
5122 + | /* ServerBuilderGenerator.kt:283 */
|
3403 5123 | fn build_enforcing_all_constraints(self) -> crate::input::EmptyOperationInput {
|
3404 - | crate::input::EmptyOperationInput {}
|
5124 + | /* ServerBuilderGenerator.kt:542 */
|
5125 + | crate::input::EmptyOperationInput {
|
5126 + | /* ServerBuilderGenerator.kt:542 */}
|
5127 + | /* ServerBuilderGenerator.kt:283 */
|
3405 5128 | }
|
5129 + | /* ServerBuilderGenerator.kt:215 */
|
3406 5130 | }
|
5131 + |
|
5132 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
3407 5133 | }
|
3408 - | /// See [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
5134 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
3409 5135 | pub mod empty_operation_input {
|
3410 5136 |
|
5137 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
3411 5138 | impl ::std::convert::From<Builder> for crate::input::EmptyOperationInput {
|
3412 5139 | fn from(builder: Builder) -> Self {
|
3413 5140 | builder.build()
|
3414 5141 | }
|
3415 5142 | }
|
3416 - | /// A builder for [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
5143 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
5144 + | /* RustType.kt:516 */
|
3417 5145 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
3418 - | pub struct Builder {}
|
5146 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
5147 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
5148 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
3419 5149 | impl Builder {
|
3420 - | /// Consumes the builder and constructs a [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
5150 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`EmptyOperationInput`](crate::input::EmptyOperationInput).
|
5151 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
3421 5152 | pub fn build(self) -> crate::input::EmptyOperationInput {
|
3422 5153 | self.build_enforcing_required_and_enum_traits()
|
3423 5154 | }
|
5155 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
3424 5156 | fn build_enforcing_required_and_enum_traits(self) -> crate::input::EmptyOperationInput {
|
3425 - | crate::input::EmptyOperationInput {}
|
5157 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
5158 + | crate::input::EmptyOperationInput {
|
5159 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
5160 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
3426 5161 | }
|
5162 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
3427 5163 | }
|
5164 + |
|
5165 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
3428 5166 | }
|