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