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