1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 2 | #[::pyo3::pyclass]
|
3 - | /// :param dialog rest_json.model.Dialog:
|
4 - | /// :param dialog_list typing.List\[rest_json.model.Dialog\]:
|
5 - | /// :param dialog_map typing.Dict\[str, rest_json.model.Dialog\]:
|
6 3 | /// :rtype None:
|
7 4 | #[allow(missing_docs)] // documentation missing in model
|
8 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
9 - | pub struct OperationWithNestedStructureOutput {
|
10 - | #[pyo3(get, set)]
|
11 - | /// :type rest_json.model.Dialog:
|
12 - | #[allow(missing_docs)] // documentation missing in model
|
13 - | pub dialog: crate::model::Dialog,
|
14 - | #[pyo3(get, set)]
|
15 - | /// :type typing.List\[rest_json.model.Dialog\]:
|
16 - | #[allow(missing_docs)] // documentation missing in model
|
17 - | pub dialog_list: ::std::vec::Vec<crate::model::Dialog>,
|
18 - | #[pyo3(get, set)]
|
19 - | /// :type typing.Dict\[str, rest_json.model.Dialog\]:
|
20 - | #[allow(missing_docs)] // documentation missing in model
|
21 - | pub dialog_map: ::std::collections::HashMap<::std::string::String, crate::model::Dialog>,
|
5 + | #[derive(
|
6 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
7 + | )]
|
8 + | pub struct NoInputAndNoOutputOutput {}
|
9 + | #[allow(clippy::new_without_default)]
|
10 + | #[allow(clippy::too_many_arguments)]
|
11 + | #[::pyo3::pymethods]
|
12 + | impl NoInputAndNoOutputOutput {
|
13 + | #[new]
|
14 + | pub fn new() -> Self {
|
15 + | Self {}
|
16 + | }
|
17 + | fn __repr__(&self) -> String {
|
18 + | format!("{self:?}")
|
19 + | }
|
20 + | fn __str__(&self) -> String {
|
21 + | format!("{self:?}")
|
22 + | }
|
22 23 | }
|
23 - | impl OperationWithNestedStructureOutput {
|
24 - | #[allow(missing_docs)] // documentation missing in model
|
25 - | pub fn dialog(&self) -> &crate::model::Dialog {
|
26 - | &self.dialog
|
24 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NoInputAndNoOutputOutput> {
|
25 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
26 + | ob.extract::<NoInputAndNoOutputOutput>().map(Box::new)
|
27 27 | }
|
28 - | #[allow(missing_docs)] // documentation missing in model
|
29 - | pub fn dialog_list(&self) -> &[crate::model::Dialog] {
|
30 - | use std::ops::Deref;
|
31 - | self.dialog_list.deref()
|
28 + | }
|
29 + |
|
30 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NoInputAndNoOutputOutput> {
|
31 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
32 + | (*self).into_py(py)
|
32 33 | }
|
33 - | #[allow(missing_docs)] // documentation missing in model
|
34 - | pub fn dialog_map(
|
35 - | &self,
|
36 - | ) -> &::std::collections::HashMap<::std::string::String, crate::model::Dialog> {
|
37 - | &self.dialog_map
|
34 + | }
|
35 + | impl NoInputAndNoOutputOutput {
|
36 + | /// Creates a new builder-style object to manufacture [`NoInputAndNoOutputOutput`](crate::output::NoInputAndNoOutputOutput).
|
37 + | pub fn builder() -> crate::output::no_input_and_no_output_output::Builder {
|
38 + | crate::output::no_input_and_no_output_output::Builder::default()
|
38 39 | }
|
39 40 | }
|
41 + |
|
42 + | #[::pyo3::pyclass]
|
43 + | /// :rtype None:
|
44 + | #[allow(missing_docs)] // documentation missing in model
|
45 + | #[derive(
|
46 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
47 + | )]
|
48 + | pub struct NoInputAndOutputOutput {}
|
40 49 | #[allow(clippy::new_without_default)]
|
41 50 | #[allow(clippy::too_many_arguments)]
|
42 51 | #[::pyo3::pymethods]
|
43 - | impl OperationWithNestedStructureOutput {
|
52 + | impl NoInputAndOutputOutput {
|
44 53 | #[new]
|
45 - | pub fn new(
|
46 - | dialog: crate::model::Dialog,
|
47 - | dialog_list: ::std::vec::Vec<crate::model::Dialog>,
|
48 - | dialog_map: ::std::collections::HashMap<::std::string::String, crate::model::Dialog>,
|
49 - | ) -> Self {
|
50 - | Self {
|
51 - | dialog,
|
52 - | dialog_list,
|
53 - | dialog_map,
|
54 - | }
|
54 + | pub fn new() -> Self {
|
55 + | Self {}
|
55 56 | }
|
56 57 | fn __repr__(&self) -> String {
|
57 58 | format!("{self:?}")
|
58 59 | }
|
59 60 | fn __str__(&self) -> String {
|
60 61 | format!("{self:?}")
|
61 62 | }
|
62 63 | }
|
63 - | impl<'source> ::pyo3::FromPyObject<'source>
|
64 - | for std::boxed::Box<OperationWithNestedStructureOutput>
|
65 - | {
|
64 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NoInputAndOutputOutput> {
|
66 65 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
67 - | ob.extract::<OperationWithNestedStructureOutput>()
|
68 - | .map(Box::new)
|
66 + | ob.extract::<NoInputAndOutputOutput>().map(Box::new)
|
69 67 | }
|
70 68 | }
|
71 69 |
|
72 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OperationWithNestedStructureOutput> {
|
70 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NoInputAndOutputOutput> {
|
73 71 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
74 72 | (*self).into_py(py)
|
75 73 | }
|
76 74 | }
|
77 - | impl OperationWithNestedStructureOutput {
|
78 - | /// Creates a new builder-style object to manufacture [`OperationWithNestedStructureOutput`](crate::output::OperationWithNestedStructureOutput).
|
79 - | pub fn builder() -> crate::output::operation_with_nested_structure_output::Builder {
|
80 - | crate::output::operation_with_nested_structure_output::Builder::default()
|
75 + | impl NoInputAndOutputOutput {
|
76 + | /// Creates a new builder-style object to manufacture [`NoInputAndOutputOutput`](crate::output::NoInputAndOutputOutput).
|
77 + | pub fn builder() -> crate::output::no_input_and_output_output::Builder {
|
78 + | crate::output::no_input_and_output_output::Builder::default()
|
81 79 | }
|
82 80 | }
|
83 81 |
|
84 82 | #[::pyo3::pyclass]
|
85 - | /// :param default_string str:
|
86 - | /// :param default_boolean bool:
|
87 - | /// :param default_list typing.List\[str\]:
|
88 - | /// :param default_document_map rest_json.types.Document:
|
89 - | /// :param default_document_string rest_json.types.Document:
|
90 - | /// :param default_document_boolean rest_json.types.Document:
|
91 - | /// :param default_document_list rest_json.types.Document:
|
92 - | /// :param default_timestamp rest_json.types.DateTime:
|
93 - | /// :param default_blob rest_json.types.Blob:
|
94 - | /// :param default_byte int:
|
95 - | /// :param default_short int:
|
96 - | /// :param default_integer int:
|
97 - | /// :param default_long int:
|
98 - | /// :param default_float float:
|
99 - | /// :param default_double float:
|
100 - | /// :param default_map typing.Dict\[str, str\]:
|
101 - | /// :param default_enum rest_json.model.TestEnum:
|
102 - | /// :param default_int_enum int:
|
103 - | /// :param empty_string str:
|
104 - | /// :param false_boolean bool:
|
105 - | /// :param empty_blob rest_json.types.Blob:
|
106 - | /// :param zero_byte int:
|
107 - | /// :param zero_short int:
|
108 - | /// :param zero_integer int:
|
109 - | /// :param zero_long int:
|
110 - | /// :param zero_float float:
|
111 - | /// :param zero_double float:
|
112 - | /// :param default_null_document typing.Optional\[rest_json.types.Document\]:
|
83 + | /// :rtype None:
|
84 + | #[allow(missing_docs)] // documentation missing in model
|
85 + | #[derive(
|
86 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
87 + | )]
|
88 + | pub struct EmptyInputAndEmptyOutputOutput {}
|
89 + | #[allow(clippy::new_without_default)]
|
90 + | #[allow(clippy::too_many_arguments)]
|
91 + | #[::pyo3::pymethods]
|
92 + | impl EmptyInputAndEmptyOutputOutput {
|
93 + | #[new]
|
94 + | pub fn new() -> Self {
|
95 + | Self {}
|
96 + | }
|
97 + | fn __repr__(&self) -> String {
|
98 + | format!("{self:?}")
|
99 + | }
|
100 + | fn __str__(&self) -> String {
|
101 + | format!("{self:?}")
|
102 + | }
|
103 + | }
|
104 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EmptyInputAndEmptyOutputOutput> {
|
105 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
106 + | ob.extract::<EmptyInputAndEmptyOutputOutput>().map(Box::new)
|
107 + | }
|
108 + | }
|
109 + |
|
110 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EmptyInputAndEmptyOutputOutput> {
|
111 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
112 + | (*self).into_py(py)
|
113 + | }
|
114 + | }
|
115 + | impl EmptyInputAndEmptyOutputOutput {
|
116 + | /// Creates a new builder-style object to manufacture [`EmptyInputAndEmptyOutputOutput`](crate::output::EmptyInputAndEmptyOutputOutput).
|
117 + | pub fn builder() -> crate::output::empty_input_and_empty_output_output::Builder {
|
118 + | crate::output::empty_input_and_empty_output_output::Builder::default()
|
119 + | }
|
120 + | }
|
121 + |
|
122 + | #[::pyo3::pyclass]
|
123 + | /// :rtype None:
|
124 + | #[allow(missing_docs)] // documentation missing in model
|
125 + | #[derive(
|
126 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
127 + | )]
|
128 + | pub struct UnitInputAndOutputOutput {}
|
129 + | #[allow(clippy::new_without_default)]
|
130 + | #[allow(clippy::too_many_arguments)]
|
131 + | #[::pyo3::pymethods]
|
132 + | impl UnitInputAndOutputOutput {
|
133 + | #[new]
|
134 + | pub fn new() -> Self {
|
135 + | Self {}
|
136 + | }
|
137 + | fn __repr__(&self) -> String {
|
138 + | format!("{self:?}")
|
139 + | }
|
140 + | fn __str__(&self) -> String {
|
141 + | format!("{self:?}")
|
142 + | }
|
143 + | }
|
144 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<UnitInputAndOutputOutput> {
|
145 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
146 + | ob.extract::<UnitInputAndOutputOutput>().map(Box::new)
|
147 + | }
|
148 + | }
|
149 + |
|
150 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<UnitInputAndOutputOutput> {
|
151 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
152 + | (*self).into_py(py)
|
153 + | }
|
154 + | }
|
155 + | impl UnitInputAndOutputOutput {
|
156 + | /// Creates a new builder-style object to manufacture [`UnitInputAndOutputOutput`](crate::output::UnitInputAndOutputOutput).
|
157 + | pub fn builder() -> crate::output::unit_input_and_output_output::Builder {
|
158 + | crate::output::unit_input_and_output_output::Builder::default()
|
159 + | }
|
160 + | }
|
161 + |
|
162 + | #[::pyo3::pyclass]
|
163 + | /// :param header_string typing.Optional\[str\]:
|
164 + | /// :param header_byte typing.Optional\[int\]:
|
165 + | /// :param header_short typing.Optional\[int\]:
|
166 + | /// :param header_integer typing.Optional\[int\]:
|
167 + | /// :param header_long typing.Optional\[int\]:
|
168 + | /// :param header_float typing.Optional\[float\]:
|
169 + | /// :param header_double typing.Optional\[float\]:
|
170 + | /// :param header_true_bool typing.Optional\[bool\]:
|
171 + | /// :param header_false_bool typing.Optional\[bool\]:
|
172 + | /// :param header_string_list typing.Optional\[typing.List\[str\]\]:
|
173 + | /// :param header_string_set typing.Optional\[typing.List\[str\]\]:
|
174 + | /// :param header_integer_list typing.Optional\[typing.List\[int\]\]:
|
175 + | /// :param header_boolean_list typing.Optional\[typing.List\[bool\]\]:
|
176 + | /// :param header_timestamp_list typing.Optional\[typing.List\[rest_json.types.DateTime\]\]:
|
177 + | /// :param header_enum typing.Optional\[rest_json.model.FooEnum\]:
|
178 + | /// :param header_enum_list typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
179 + | /// :param header_integer_enum typing.Optional\[int\]:
|
180 + | /// :param header_integer_enum_list typing.Optional\[typing.List\[int\]\]:
|
113 181 | /// :rtype None:
|
114 182 | #[allow(missing_docs)] // documentation missing in model
|
115 183 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
116 - | pub struct OperationWithDefaultsOutput {
|
184 + | pub struct InputAndOutputWithHeadersOutput {
|
117 185 | #[pyo3(get, set)]
|
118 - | /// :type str:
|
186 + | /// :type typing.Optional\[str\]:
|
119 187 | #[allow(missing_docs)] // documentation missing in model
|
120 - | pub default_string: ::std::string::String,
|
188 + | pub header_string: ::std::option::Option<::std::string::String>,
|
121 189 | #[pyo3(get, set)]
|
122 - | /// :type bool:
|
190 + | /// :type typing.Optional\[int\]:
|
123 191 | #[allow(missing_docs)] // documentation missing in model
|
124 - | pub default_boolean: bool,
|
192 + | pub header_byte: ::std::option::Option<i8>,
|
125 193 | #[pyo3(get, set)]
|
126 - | /// :type typing.List\[str\]:
|
194 + | /// :type typing.Optional\[int\]:
|
127 195 | #[allow(missing_docs)] // documentation missing in model
|
128 - | pub default_list: ::std::vec::Vec<::std::string::String>,
|
196 + | pub header_short: ::std::option::Option<i16>,
|
129 197 | #[pyo3(get, set)]
|
130 - | /// :type rest_json.types.Document:
|
198 + | /// :type typing.Optional\[int\]:
|
131 199 | #[allow(missing_docs)] // documentation missing in model
|
132 - | pub default_document_map: ::aws_smithy_http_server_python::types::Document,
|
200 + | pub header_integer: ::std::option::Option<i32>,
|
133 201 | #[pyo3(get, set)]
|
134 - | /// :type rest_json.types.Document:
|
202 + | /// :type typing.Optional\[int\]:
|
135 203 | #[allow(missing_docs)] // documentation missing in model
|
136 - | pub default_document_string: ::aws_smithy_http_server_python::types::Document,
|
204 + | pub header_long: ::std::option::Option<i64>,
|
137 205 | #[pyo3(get, set)]
|
138 - | /// :type rest_json.types.Document:
|
206 + | /// :type typing.Optional\[float\]:
|
139 207 | #[allow(missing_docs)] // documentation missing in model
|
140 - | pub default_document_boolean: ::aws_smithy_http_server_python::types::Document,
|
208 + | pub header_float: ::std::option::Option<f32>,
|
141 209 | #[pyo3(get, set)]
|
142 - | /// :type rest_json.types.Document:
|
210 + | /// :type typing.Optional\[float\]:
|
143 211 | #[allow(missing_docs)] // documentation missing in model
|
144 - | pub default_document_list: ::aws_smithy_http_server_python::types::Document,
|
212 + | pub header_double: ::std::option::Option<f64>,
|
145 213 | #[pyo3(get, set)]
|
146 - | /// :type typing.Optional\[rest_json.types.Document\]:
|
147 - | #[allow(missing_docs)] // documentation missing in model
|
148 - | pub default_null_document:
|
149 - | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
150 - | #[pyo3(get, set)]
|
151 - | /// :type rest_json.types.DateTime:
|
152 - | #[allow(missing_docs)] // documentation missing in model
|
153 - | pub default_timestamp: ::aws_smithy_http_server_python::types::DateTime,
|
154 - | #[pyo3(get, set)]
|
155 - | /// :type rest_json.types.Blob:
|
156 - | #[allow(missing_docs)] // documentation missing in model
|
157 - | pub default_blob: ::aws_smithy_http_server_python::types::Blob,
|
158 - | #[pyo3(get, set)]
|
159 - | /// :type int:
|
160 - | #[allow(missing_docs)] // documentation missing in model
|
161 - | pub default_byte: i8,
|
162 - | #[pyo3(get, set)]
|
163 - | /// :type int:
|
164 - | #[allow(missing_docs)] // documentation missing in model
|
165 - | pub default_short: i16,
|
166 - | #[pyo3(get, set)]
|
167 - | /// :type int:
|
168 - | #[allow(missing_docs)] // documentation missing in model
|
169 - | pub default_integer: i32,
|
170 - | #[pyo3(get, set)]
|
171 - | /// :type int:
|
172 - | #[allow(missing_docs)] // documentation missing in model
|
173 - | pub default_long: i64,
|
174 - | #[pyo3(get, set)]
|
175 - | /// :type float:
|
176 - | #[allow(missing_docs)] // documentation missing in model
|
177 - | pub default_float: f32,
|
178 - | #[pyo3(get, set)]
|
179 - | /// :type float:
|
180 - | #[allow(missing_docs)] // documentation missing in model
|
181 - | pub default_double: f64,
|
182 - | #[pyo3(get, set)]
|
183 - | /// :type typing.Dict\[str, str\]:
|
184 - | #[allow(missing_docs)] // documentation missing in model
|
185 - | pub default_map: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
186 - | #[pyo3(get, set)]
|
187 - | /// :type rest_json.model.TestEnum:
|
214 + | /// :type typing.Optional\[bool\]:
|
188 215 | #[allow(missing_docs)] // documentation missing in model
|
189 - | pub default_enum: crate::model::TestEnum,
|
216 + | pub header_true_bool: ::std::option::Option<bool>,
|
190 217 | #[pyo3(get, set)]
|
191 - | /// :type int:
|
218 + | /// :type typing.Optional\[bool\]:
|
192 219 | #[allow(missing_docs)] // documentation missing in model
|
193 - | pub default_int_enum: i32,
|
220 + | pub header_false_bool: ::std::option::Option<bool>,
|
194 221 | #[pyo3(get, set)]
|
195 - | /// :type str:
|
222 + | /// :type typing.Optional\[typing.List\[str\]\]:
|
196 223 | #[allow(missing_docs)] // documentation missing in model
|
197 - | pub empty_string: ::std::string::String,
|
224 + | pub header_string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
198 225 | #[pyo3(get, set)]
|
199 - | /// :type bool:
|
226 + | /// :type typing.Optional\[typing.List\[str\]\]:
|
200 227 | #[allow(missing_docs)] // documentation missing in model
|
201 - | pub false_boolean: bool,
|
228 + | pub header_string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
202 229 | #[pyo3(get, set)]
|
203 - | /// :type rest_json.types.Blob:
|
230 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
204 231 | #[allow(missing_docs)] // documentation missing in model
|
205 - | pub empty_blob: ::aws_smithy_http_server_python::types::Blob,
|
232 + | pub header_integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
206 233 | #[pyo3(get, set)]
|
207 - | /// :type int:
|
234 + | /// :type typing.Optional\[typing.List\[bool\]\]:
|
208 235 | #[allow(missing_docs)] // documentation missing in model
|
209 - | pub zero_byte: i8,
|
236 + | pub header_boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
210 237 | #[pyo3(get, set)]
|
211 - | /// :type int:
|
238 + | /// :type typing.Optional\[typing.List\[rest_json.types.DateTime\]\]:
|
212 239 | #[allow(missing_docs)] // documentation missing in model
|
213 - | pub zero_short: i16,
|
240 + | pub header_timestamp_list:
|
241 + | ::std::option::Option<::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>>,
|
214 242 | #[pyo3(get, set)]
|
215 - | /// :type int:
|
243 + | /// :type typing.Optional\[rest_json.model.FooEnum\]:
|
216 244 | #[allow(missing_docs)] // documentation missing in model
|
217 - | pub zero_integer: i32,
|
245 + | pub header_enum: ::std::option::Option<crate::model::FooEnum>,
|
218 246 | #[pyo3(get, set)]
|
219 - | /// :type int:
|
247 + | /// :type typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
220 248 | #[allow(missing_docs)] // documentation missing in model
|
221 - | pub zero_long: i64,
|
249 + | pub header_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
222 250 | #[pyo3(get, set)]
|
223 - | /// :type float:
|
251 + | /// :type typing.Optional\[int\]:
|
224 252 | #[allow(missing_docs)] // documentation missing in model
|
225 - | pub zero_float: f32,
|
253 + | pub header_integer_enum: ::std::option::Option<i32>,
|
226 254 | #[pyo3(get, set)]
|
227 - | /// :type float:
|
255 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
228 256 | #[allow(missing_docs)] // documentation missing in model
|
229 - | pub zero_double: f64,
|
257 + | pub header_integer_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
230 258 | }
|
231 - | impl OperationWithDefaultsOutput {
|
232 - | #[allow(missing_docs)] // documentation missing in model
|
233 - | pub fn default_string(&self) -> &str {
|
234 - | use std::ops::Deref;
|
235 - | self.default_string.deref()
|
236 - | }
|
237 - | #[allow(missing_docs)] // documentation missing in model
|
238 - | pub fn default_boolean(&self) -> bool {
|
239 - | self.default_boolean
|
240 - | }
|
241 - | #[allow(missing_docs)] // documentation missing in model
|
242 - | pub fn default_list(&self) -> &[::std::string::String] {
|
243 - | use std::ops::Deref;
|
244 - | self.default_list.deref()
|
245 - | }
|
259 + | impl InputAndOutputWithHeadersOutput {
|
246 260 | #[allow(missing_docs)] // documentation missing in model
|
247 - | pub fn default_document_map(&self) -> &::aws_smithy_http_server_python::types::Document {
|
248 - | &self.default_document_map
|
261 + | pub fn header_string(&self) -> ::std::option::Option<&str> {
|
262 + | self.header_string.as_deref()
|
249 263 | }
|
250 264 | #[allow(missing_docs)] // documentation missing in model
|
251 - | pub fn default_document_string(&self) -> &::aws_smithy_http_server_python::types::Document {
|
252 - | &self.default_document_string
|
265 + | pub fn header_byte(&self) -> ::std::option::Option<i8> {
|
266 + | self.header_byte
|
253 267 | }
|
254 268 | #[allow(missing_docs)] // documentation missing in model
|
255 - | pub fn default_document_boolean(&self) -> &::aws_smithy_http_server_python::types::Document {
|
256 - | &self.default_document_boolean
|
269 + | pub fn header_short(&self) -> ::std::option::Option<i16> {
|
270 + | self.header_short
|
257 271 | }
|
258 272 | #[allow(missing_docs)] // documentation missing in model
|
259 - | pub fn default_document_list(&self) -> &::aws_smithy_http_server_python::types::Document {
|
260 - | &self.default_document_list
|
273 + | pub fn header_integer(&self) -> ::std::option::Option<i32> {
|
274 + | self.header_integer
|
261 275 | }
|
262 276 | #[allow(missing_docs)] // documentation missing in model
|
263 - | pub fn default_null_document(
|
264 - | &self,
|
265 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Document> {
|
266 - | self.default_null_document.as_ref()
|
277 + | pub fn header_long(&self) -> ::std::option::Option<i64> {
|
278 + | self.header_long
|
267 279 | }
|
268 280 | #[allow(missing_docs)] // documentation missing in model
|
269 - | pub fn default_timestamp(&self) -> &::aws_smithy_http_server_python::types::DateTime {
|
270 - | &self.default_timestamp
|
281 + | pub fn header_float(&self) -> ::std::option::Option<f32> {
|
282 + | self.header_float
|
271 283 | }
|
272 284 | #[allow(missing_docs)] // documentation missing in model
|
273 - | pub fn default_blob(&self) -> &::aws_smithy_http_server_python::types::Blob {
|
274 - | &self.default_blob
|
285 + | pub fn header_double(&self) -> ::std::option::Option<f64> {
|
286 + | self.header_double
|
275 287 | }
|
276 288 | #[allow(missing_docs)] // documentation missing in model
|
277 - | pub fn default_byte(&self) -> i8 {
|
278 - | self.default_byte
|
289 + | pub fn header_true_bool(&self) -> ::std::option::Option<bool> {
|
290 + | self.header_true_bool
|
279 291 | }
|
280 292 | #[allow(missing_docs)] // documentation missing in model
|
281 - | pub fn default_short(&self) -> i16 {
|
282 - | self.default_short
|
293 + | pub fn header_false_bool(&self) -> ::std::option::Option<bool> {
|
294 + | self.header_false_bool
|
283 295 | }
|
284 296 | #[allow(missing_docs)] // documentation missing in model
|
285 - | pub fn default_integer(&self) -> i32 {
|
286 - | self.default_integer
|
297 + | pub fn header_string_list(&self) -> ::std::option::Option<&[::std::string::String]> {
|
298 + | self.header_string_list.as_deref()
|
287 299 | }
|
288 300 | #[allow(missing_docs)] // documentation missing in model
|
289 - | pub fn default_long(&self) -> i64 {
|
290 - | self.default_long
|
301 + | pub fn header_string_set(&self) -> ::std::option::Option<&[::std::string::String]> {
|
302 + | self.header_string_set.as_deref()
|
291 303 | }
|
292 304 | #[allow(missing_docs)] // documentation missing in model
|
293 - | pub fn default_float(&self) -> f32 {
|
294 - | self.default_float
|
305 + | pub fn header_integer_list(&self) -> ::std::option::Option<&[i32]> {
|
306 + | self.header_integer_list.as_deref()
|
295 307 | }
|
296 308 | #[allow(missing_docs)] // documentation missing in model
|
297 - | pub fn default_double(&self) -> f64 {
|
298 - | self.default_double
|
309 + | pub fn header_boolean_list(&self) -> ::std::option::Option<&[bool]> {
|
310 + | self.header_boolean_list.as_deref()
|
299 311 | }
|
300 312 | #[allow(missing_docs)] // documentation missing in model
|
301 - | pub fn default_map(
|
313 + | pub fn header_timestamp_list(
|
302 314 | &self,
|
303 - | ) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> {
|
304 - | &self.default_map
|
305 - | }
|
306 - | #[allow(missing_docs)] // documentation missing in model
|
307 - | pub fn default_enum(&self) -> &crate::model::TestEnum {
|
308 - | &self.default_enum
|
309 - | }
|
310 - | #[allow(missing_docs)] // documentation missing in model
|
311 - | pub fn default_int_enum(&self) -> i32 {
|
312 - | self.default_int_enum
|
313 - | }
|
314 - | #[allow(missing_docs)] // documentation missing in model
|
315 - | pub fn empty_string(&self) -> &str {
|
316 - | use std::ops::Deref;
|
317 - | self.empty_string.deref()
|
318 - | }
|
319 - | #[allow(missing_docs)] // documentation missing in model
|
320 - | pub fn false_boolean(&self) -> bool {
|
321 - | self.false_boolean
|
322 - | }
|
323 - | #[allow(missing_docs)] // documentation missing in model
|
324 - | pub fn empty_blob(&self) -> &::aws_smithy_http_server_python::types::Blob {
|
325 - | &self.empty_blob
|
326 - | }
|
327 - | #[allow(missing_docs)] // documentation missing in model
|
328 - | pub fn zero_byte(&self) -> i8 {
|
329 - | self.zero_byte
|
330 - | }
|
331 - | #[allow(missing_docs)] // documentation missing in model
|
332 - | pub fn zero_short(&self) -> i16 {
|
333 - | self.zero_short
|
315 + | ) -> ::std::option::Option<&[::aws_smithy_http_server_python::types::DateTime]> {
|
316 + | self.header_timestamp_list.as_deref()
|
334 317 | }
|
335 318 | #[allow(missing_docs)] // documentation missing in model
|
336 - | pub fn zero_integer(&self) -> i32 {
|
337 - | self.zero_integer
|
319 + | pub fn header_enum(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
320 + | self.header_enum.as_ref()
|
338 321 | }
|
339 322 | #[allow(missing_docs)] // documentation missing in model
|
340 - | pub fn zero_long(&self) -> i64 {
|
341 - | self.zero_long
|
323 + | pub fn header_enum_list(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
324 + | self.header_enum_list.as_deref()
|
342 325 | }
|
343 326 | #[allow(missing_docs)] // documentation missing in model
|
344 - | pub fn zero_float(&self) -> f32 {
|
345 - | self.zero_float
|
327 + | pub fn header_integer_enum(&self) -> ::std::option::Option<i32> {
|
328 + | self.header_integer_enum
|
346 329 | }
|
347 330 | #[allow(missing_docs)] // documentation missing in model
|
348 - | pub fn zero_double(&self) -> f64 {
|
349 - | self.zero_double
|
331 + | pub fn header_integer_enum_list(&self) -> ::std::option::Option<&[i32]> {
|
332 + | self.header_integer_enum_list.as_deref()
|
350 333 | }
|
351 334 | }
|
352 335 | #[allow(clippy::new_without_default)]
|
353 336 | #[allow(clippy::too_many_arguments)]
|
354 337 | #[::pyo3::pymethods]
|
355 - | impl OperationWithDefaultsOutput {
|
338 + | impl InputAndOutputWithHeadersOutput {
|
356 339 | #[new]
|
357 340 | pub fn new(
|
358 - | default_string: ::std::string::String,
|
359 - | default_boolean: bool,
|
360 - | default_list: ::std::vec::Vec<::std::string::String>,
|
361 - | default_document_map: ::aws_smithy_http_server_python::types::Document,
|
362 - | default_document_string: ::aws_smithy_http_server_python::types::Document,
|
363 - | default_document_boolean: ::aws_smithy_http_server_python::types::Document,
|
364 - | default_document_list: ::aws_smithy_http_server_python::types::Document,
|
365 - | default_timestamp: ::aws_smithy_http_server_python::types::DateTime,
|
366 - | default_blob: ::aws_smithy_http_server_python::types::Blob,
|
367 - | default_byte: i8,
|
368 - | default_short: i16,
|
369 - | default_integer: i32,
|
370 - | default_long: i64,
|
371 - | default_float: f32,
|
372 - | default_double: f64,
|
373 - | default_map: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
374 - | default_enum: crate::model::TestEnum,
|
375 - | default_int_enum: i32,
|
376 - | empty_string: ::std::string::String,
|
377 - | false_boolean: bool,
|
378 - | empty_blob: ::aws_smithy_http_server_python::types::Blob,
|
379 - | zero_byte: i8,
|
380 - | zero_short: i16,
|
381 - | zero_integer: i32,
|
382 - | zero_long: i64,
|
383 - | zero_float: f32,
|
384 - | zero_double: f64,
|
385 - | default_null_document: ::std::option::Option<
|
386 - | ::aws_smithy_http_server_python::types::Document,
|
341 + | header_string: ::std::option::Option<::std::string::String>,
|
342 + | header_byte: ::std::option::Option<i8>,
|
343 + | header_short: ::std::option::Option<i16>,
|
344 + | header_integer: ::std::option::Option<i32>,
|
345 + | header_long: ::std::option::Option<i64>,
|
346 + | header_float: ::std::option::Option<f32>,
|
347 + | header_double: ::std::option::Option<f64>,
|
348 + | header_true_bool: ::std::option::Option<bool>,
|
349 + | header_false_bool: ::std::option::Option<bool>,
|
350 + | header_string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
351 + | header_string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
352 + | header_integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
353 + | header_boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
354 + | header_timestamp_list: ::std::option::Option<
|
355 + | ::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>,
|
387 356 | >,
|
388 - | ) -> Self {
|
389 - | Self {
|
390 - | default_string,
|
391 - | default_boolean,
|
392 - | default_list,
|
393 - | default_document_map,
|
394 - | default_document_string,
|
395 - | default_document_boolean,
|
396 - | default_document_list,
|
397 - | default_timestamp,
|
398 - | default_blob,
|
399 - | default_byte,
|
400 - | default_short,
|
401 - | default_integer,
|
402 - | default_long,
|
403 - | default_float,
|
404 - | default_double,
|
405 - | default_map,
|
406 - | default_enum,
|
407 - | default_int_enum,
|
408 - | empty_string,
|
409 - | false_boolean,
|
410 - | empty_blob,
|
411 - | zero_byte,
|
412 - | zero_short,
|
413 - | zero_integer,
|
414 - | zero_long,
|
415 - | zero_float,
|
416 - | zero_double,
|
417 - | default_null_document,
|
357 + | header_enum: ::std::option::Option<crate::model::FooEnum>,
|
358 + | header_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
359 + | header_integer_enum: ::std::option::Option<i32>,
|
360 + | header_integer_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
361 + | ) -> Self {
|
362 + | Self {
|
363 + | header_string,
|
364 + | header_byte,
|
365 + | header_short,
|
366 + | header_integer,
|
367 + | header_long,
|
368 + | header_float,
|
369 + | header_double,
|
370 + | header_true_bool,
|
371 + | header_false_bool,
|
372 + | header_string_list,
|
373 + | header_string_set,
|
374 + | header_integer_list,
|
375 + | header_boolean_list,
|
376 + | header_timestamp_list,
|
377 + | header_enum,
|
378 + | header_enum_list,
|
379 + | header_integer_enum,
|
380 + | header_integer_enum_list,
|
418 381 | }
|
419 382 | }
|
420 383 | fn __repr__(&self) -> String {
|
421 384 | format!("{self:?}")
|
422 385 | }
|
423 386 | fn __str__(&self) -> String {
|
424 387 | format!("{self:?}")
|
425 388 | }
|
426 389 | }
|
427 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<OperationWithDefaultsOutput> {
|
390 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<InputAndOutputWithHeadersOutput> {
|
428 391 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
429 - | ob.extract::<OperationWithDefaultsOutput>().map(Box::new)
|
392 + | ob.extract::<InputAndOutputWithHeadersOutput>()
|
393 + | .map(Box::new)
|
430 394 | }
|
431 395 | }
|
432 396 |
|
433 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OperationWithDefaultsOutput> {
|
397 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<InputAndOutputWithHeadersOutput> {
|
434 398 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
435 399 | (*self).into_py(py)
|
436 400 | }
|
437 401 | }
|
438 - | impl OperationWithDefaultsOutput {
|
439 - | /// Creates a new builder-style object to manufacture [`OperationWithDefaultsOutput`](crate::output::OperationWithDefaultsOutput).
|
440 - | pub fn builder() -> crate::output::operation_with_defaults_output::Builder {
|
441 - | crate::output::operation_with_defaults_output::Builder::default()
|
402 + | impl InputAndOutputWithHeadersOutput {
|
403 + | /// Creates a new builder-style object to manufacture [`InputAndOutputWithHeadersOutput`](crate::output::InputAndOutputWithHeadersOutput).
|
404 + | pub fn builder() -> crate::output::input_and_output_with_headers_output::Builder {
|
405 + | crate::output::input_and_output_with_headers_output::Builder::default()
|
442 406 | }
|
443 407 | }
|
444 408 |
|
445 409 | #[::pyo3::pyclass]
|
410 + | /// :param a typing.Optional\[str\]:
|
411 + | /// :param b typing.Optional\[str\]:
|
412 + | /// :param c typing.Optional\[typing.List\[str\]\]:
|
446 413 | /// :rtype None:
|
447 414 | #[allow(missing_docs)] // documentation missing in model
|
448 415 | #[derive(
|
449 416 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
450 417 | )]
|
451 - | pub struct ContentTypeParametersOutput {}
|
452 - | #[allow(clippy::new_without_default)]
|
453 - | #[allow(clippy::too_many_arguments)]
|
454 - | #[::pyo3::pymethods]
|
455 - | impl ContentTypeParametersOutput {
|
456 - | #[new]
|
457 - | pub fn new() -> Self {
|
458 - | Self {}
|
459 - | }
|
460 - | fn __repr__(&self) -> String {
|
461 - | format!("{self:?}")
|
462 - | }
|
463 - | fn __str__(&self) -> String {
|
464 - | format!("{self:?}")
|
465 - | }
|
418 + | pub struct NullAndEmptyHeadersClientOutput {
|
419 + | #[pyo3(get, set)]
|
420 + | /// :type typing.Optional\[str\]:
|
421 + | #[allow(missing_docs)] // documentation missing in model
|
422 + | pub a: ::std::option::Option<::std::string::String>,
|
423 + | #[pyo3(get, set)]
|
424 + | /// :type typing.Optional\[str\]:
|
425 + | #[allow(missing_docs)] // documentation missing in model
|
426 + | pub b: ::std::option::Option<::std::string::String>,
|
427 + | #[pyo3(get, set)]
|
428 + | /// :type typing.Optional\[typing.List\[str\]\]:
|
429 + | #[allow(missing_docs)] // documentation missing in model
|
430 + | pub c: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
466 431 | }
|
467 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ContentTypeParametersOutput> {
|
468 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
469 - | ob.extract::<ContentTypeParametersOutput>().map(Box::new)
|
432 + | impl NullAndEmptyHeadersClientOutput {
|
433 + | #[allow(missing_docs)] // documentation missing in model
|
434 + | pub fn a(&self) -> ::std::option::Option<&str> {
|
435 + | self.a.as_deref()
|
470 436 | }
|
471 - | }
|
472 - |
|
473 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ContentTypeParametersOutput> {
|
474 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
475 - | (*self).into_py(py)
|
437 + | #[allow(missing_docs)] // documentation missing in model
|
438 + | pub fn b(&self) -> ::std::option::Option<&str> {
|
439 + | self.b.as_deref()
|
476 440 | }
|
477 - | }
|
478 - | impl ContentTypeParametersOutput {
|
479 - | /// Creates a new builder-style object to manufacture [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
480 - | pub fn builder() -> crate::output::content_type_parameters_output::Builder {
|
481 - | crate::output::content_type_parameters_output::Builder::default()
|
441 + | #[allow(missing_docs)] // documentation missing in model
|
442 + | pub fn c(&self) -> ::std::option::Option<&[::std::string::String]> {
|
443 + | self.c.as_deref()
|
482 444 | }
|
483 445 | }
|
484 - |
|
485 - | #[::pyo3::pyclass]
|
486 - | /// :rtype None:
|
487 - | #[allow(missing_docs)] // documentation missing in model
|
488 - | #[derive(
|
489 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
490 - | )]
|
491 - | pub struct PutWithContentEncodingOutput {}
|
492 446 | #[allow(clippy::new_without_default)]
|
493 447 | #[allow(clippy::too_many_arguments)]
|
494 448 | #[::pyo3::pymethods]
|
495 - | impl PutWithContentEncodingOutput {
|
449 + | impl NullAndEmptyHeadersClientOutput {
|
496 450 | #[new]
|
497 - | pub fn new() -> Self {
|
498 - | Self {}
|
451 + | pub fn new(
|
452 + | a: ::std::option::Option<::std::string::String>,
|
453 + | b: ::std::option::Option<::std::string::String>,
|
454 + | c: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
455 + | ) -> Self {
|
456 + | Self { a, b, c }
|
499 457 | }
|
500 458 | fn __repr__(&self) -> String {
|
501 459 | format!("{self:?}")
|
502 460 | }
|
503 461 | fn __str__(&self) -> String {
|
504 462 | format!("{self:?}")
|
505 463 | }
|
506 464 | }
|
507 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PutWithContentEncodingOutput> {
|
465 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NullAndEmptyHeadersClientOutput> {
|
508 466 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
509 - | ob.extract::<PutWithContentEncodingOutput>().map(Box::new)
|
467 + | ob.extract::<NullAndEmptyHeadersClientOutput>()
|
468 + | .map(Box::new)
|
510 469 | }
|
511 470 | }
|
512 471 |
|
513 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PutWithContentEncodingOutput> {
|
472 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NullAndEmptyHeadersClientOutput> {
|
514 473 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
515 474 | (*self).into_py(py)
|
516 475 | }
|
517 476 | }
|
518 - | impl PutWithContentEncodingOutput {
|
519 - | /// Creates a new builder-style object to manufacture [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
520 - | pub fn builder() -> crate::output::put_with_content_encoding_output::Builder {
|
521 - | crate::output::put_with_content_encoding_output::Builder::default()
|
477 + | impl NullAndEmptyHeadersClientOutput {
|
478 + | /// Creates a new builder-style object to manufacture [`NullAndEmptyHeadersClientOutput`](crate::output::NullAndEmptyHeadersClientOutput).
|
479 + | pub fn builder() -> crate::output::null_and_empty_headers_client_output::Builder {
|
480 + | crate::output::null_and_empty_headers_client_output::Builder::default()
|
522 481 | }
|
523 482 | }
|
524 483 |
|
525 484 | #[::pyo3::pyclass]
|
526 - | /// :param datetime typing.Optional\[rest_json.types.DateTime\]:
|
485 + | /// :param a typing.Optional\[str\]:
|
486 + | /// :param b typing.Optional\[str\]:
|
487 + | /// :param c typing.Optional\[typing.List\[str\]\]:
|
527 488 | /// :rtype None:
|
528 489 | #[allow(missing_docs)] // documentation missing in model
|
529 490 | #[derive(
|
530 491 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
531 492 | )]
|
532 - | pub struct FractionalSecondsOutput {
|
493 + | pub struct NullAndEmptyHeadersServerOutput {
|
533 494 | #[pyo3(get, set)]
|
534 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
495 + | /// :type typing.Optional\[str\]:
|
535 496 | #[allow(missing_docs)] // documentation missing in model
|
536 - | pub datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
497 + | pub a: ::std::option::Option<::std::string::String>,
|
498 + | #[pyo3(get, set)]
|
499 + | /// :type typing.Optional\[str\]:
|
500 + | #[allow(missing_docs)] // documentation missing in model
|
501 + | pub b: ::std::option::Option<::std::string::String>,
|
502 + | #[pyo3(get, set)]
|
503 + | /// :type typing.Optional\[typing.List\[str\]\]:
|
504 + | #[allow(missing_docs)] // documentation missing in model
|
505 + | pub c: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
537 506 | }
|
538 - | impl FractionalSecondsOutput {
|
507 + | impl NullAndEmptyHeadersServerOutput {
|
539 508 | #[allow(missing_docs)] // documentation missing in model
|
540 - | pub fn datetime(
|
541 - | &self,
|
542 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
543 - | self.datetime.as_ref()
|
509 + | pub fn a(&self) -> ::std::option::Option<&str> {
|
510 + | self.a.as_deref()
|
511 + | }
|
512 + | #[allow(missing_docs)] // documentation missing in model
|
513 + | pub fn b(&self) -> ::std::option::Option<&str> {
|
514 + | self.b.as_deref()
|
515 + | }
|
516 + | #[allow(missing_docs)] // documentation missing in model
|
517 + | pub fn c(&self) -> ::std::option::Option<&[::std::string::String]> {
|
518 + | self.c.as_deref()
|
544 519 | }
|
545 520 | }
|
546 521 | #[allow(clippy::new_without_default)]
|
547 522 | #[allow(clippy::too_many_arguments)]
|
548 523 | #[::pyo3::pymethods]
|
549 - | impl FractionalSecondsOutput {
|
524 + | impl NullAndEmptyHeadersServerOutput {
|
550 525 | #[new]
|
551 526 | pub fn new(
|
552 - | datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
527 + | a: ::std::option::Option<::std::string::String>,
|
528 + | b: ::std::option::Option<::std::string::String>,
|
529 + | c: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
553 530 | ) -> Self {
|
554 - | Self { datetime }
|
531 + | Self { a, b, c }
|
555 532 | }
|
556 533 | fn __repr__(&self) -> String {
|
557 534 | format!("{self:?}")
|
558 535 | }
|
559 536 | fn __str__(&self) -> String {
|
560 537 | format!("{self:?}")
|
561 538 | }
|
562 539 | }
|
563 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<FractionalSecondsOutput> {
|
540 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NullAndEmptyHeadersServerOutput> {
|
564 541 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
565 - | ob.extract::<FractionalSecondsOutput>().map(Box::new)
|
542 + | ob.extract::<NullAndEmptyHeadersServerOutput>()
|
543 + | .map(Box::new)
|
566 544 | }
|
567 545 | }
|
568 546 |
|
569 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<FractionalSecondsOutput> {
|
547 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NullAndEmptyHeadersServerOutput> {
|
570 548 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
571 549 | (*self).into_py(py)
|
572 550 | }
|
573 551 | }
|
574 - | impl FractionalSecondsOutput {
|
575 - | /// Creates a new builder-style object to manufacture [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
576 - | pub fn builder() -> crate::output::fractional_seconds_output::Builder {
|
577 - | crate::output::fractional_seconds_output::Builder::default()
|
552 + | impl NullAndEmptyHeadersServerOutput {
|
553 + | /// Creates a new builder-style object to manufacture [`NullAndEmptyHeadersServerOutput`](crate::output::NullAndEmptyHeadersServerOutput).
|
554 + | pub fn builder() -> crate::output::null_and_empty_headers_server_output::Builder {
|
555 + | crate::output::null_and_empty_headers_server_output::Builder::default()
|
578 556 | }
|
579 557 | }
|
580 558 |
|
581 559 | #[::pyo3::pyclass]
|
582 - | /// :param datetime typing.Optional\[rest_json.types.DateTime\]:
|
560 + | /// :param member_epoch_seconds typing.Optional\[rest_json.types.DateTime\]:
|
561 + | /// :param member_http_date typing.Optional\[rest_json.types.DateTime\]:
|
562 + | /// :param member_date_time typing.Optional\[rest_json.types.DateTime\]:
|
563 + | /// :param default_format typing.Optional\[rest_json.types.DateTime\]:
|
564 + | /// :param target_epoch_seconds typing.Optional\[rest_json.types.DateTime\]:
|
565 + | /// :param target_http_date typing.Optional\[rest_json.types.DateTime\]:
|
566 + | /// :param target_date_time typing.Optional\[rest_json.types.DateTime\]:
|
583 567 | /// :rtype None:
|
584 568 | #[allow(missing_docs)] // documentation missing in model
|
585 569 | #[derive(
|
586 570 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
587 571 | )]
|
588 - | pub struct DatetimeOffsetsOutput {
|
572 + | pub struct TimestampFormatHeadersOutput {
|
589 573 | #[pyo3(get, set)]
|
590 574 | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
591 575 | #[allow(missing_docs)] // documentation missing in model
|
592 - | pub datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
576 + | pub member_epoch_seconds:
|
577 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
578 + | #[pyo3(get, set)]
|
579 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
580 + | #[allow(missing_docs)] // documentation missing in model
|
581 + | pub member_http_date: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
582 + | #[pyo3(get, set)]
|
583 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
584 + | #[allow(missing_docs)] // documentation missing in model
|
585 + | pub member_date_time: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
586 + | #[pyo3(get, set)]
|
587 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
588 + | #[allow(missing_docs)] // documentation missing in model
|
589 + | pub default_format: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
590 + | #[pyo3(get, set)]
|
591 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
592 + | #[allow(missing_docs)] // documentation missing in model
|
593 + | pub target_epoch_seconds:
|
594 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
595 + | #[pyo3(get, set)]
|
596 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
597 + | #[allow(missing_docs)] // documentation missing in model
|
598 + | pub target_http_date: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
599 + | #[pyo3(get, set)]
|
600 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
601 + | #[allow(missing_docs)] // documentation missing in model
|
602 + | pub target_date_time: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
593 603 | }
|
594 - | impl DatetimeOffsetsOutput {
|
604 + | impl TimestampFormatHeadersOutput {
|
595 605 | #[allow(missing_docs)] // documentation missing in model
|
596 - | pub fn datetime(
|
606 + | pub fn member_epoch_seconds(
|
597 607 | &self,
|
598 608 | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
599 - | self.datetime.as_ref()
|
609 + | self.member_epoch_seconds.as_ref()
|
600 610 | }
|
601 - | }
|
602 - | #[allow(clippy::new_without_default)]
|
611 + | #[allow(missing_docs)] // documentation missing in model
|
612 + | pub fn member_http_date(
|
613 + | &self,
|
614 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
615 + | self.member_http_date.as_ref()
|
616 + | }
|
617 + | #[allow(missing_docs)] // documentation missing in model
|
618 + | pub fn member_date_time(
|
619 + | &self,
|
620 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
621 + | self.member_date_time.as_ref()
|
622 + | }
|
623 + | #[allow(missing_docs)] // documentation missing in model
|
624 + | pub fn default_format(
|
625 + | &self,
|
626 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
627 + | self.default_format.as_ref()
|
628 + | }
|
629 + | #[allow(missing_docs)] // documentation missing in model
|
630 + | pub fn target_epoch_seconds(
|
631 + | &self,
|
632 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
633 + | self.target_epoch_seconds.as_ref()
|
634 + | }
|
635 + | #[allow(missing_docs)] // documentation missing in model
|
636 + | pub fn target_http_date(
|
637 + | &self,
|
638 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
639 + | self.target_http_date.as_ref()
|
640 + | }
|
641 + | #[allow(missing_docs)] // documentation missing in model
|
642 + | pub fn target_date_time(
|
643 + | &self,
|
644 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
645 + | self.target_date_time.as_ref()
|
646 + | }
|
647 + | }
|
648 + | #[allow(clippy::new_without_default)]
|
603 649 | #[allow(clippy::too_many_arguments)]
|
604 650 | #[::pyo3::pymethods]
|
605 - | impl DatetimeOffsetsOutput {
|
651 + | impl TimestampFormatHeadersOutput {
|
606 652 | #[new]
|
607 653 | pub fn new(
|
608 - | datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
654 + | member_epoch_seconds: ::std::option::Option<
|
655 + | ::aws_smithy_http_server_python::types::DateTime,
|
656 + | >,
|
657 + | member_http_date: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
658 + | member_date_time: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
659 + | default_format: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
660 + | target_epoch_seconds: ::std::option::Option<
|
661 + | ::aws_smithy_http_server_python::types::DateTime,
|
662 + | >,
|
663 + | target_http_date: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
664 + | target_date_time: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
609 665 | ) -> Self {
|
610 - | Self { datetime }
|
666 + | Self {
|
667 + | member_epoch_seconds,
|
668 + | member_http_date,
|
669 + | member_date_time,
|
670 + | default_format,
|
671 + | target_epoch_seconds,
|
672 + | target_http_date,
|
673 + | target_date_time,
|
674 + | }
|
611 675 | }
|
612 676 | fn __repr__(&self) -> String {
|
613 677 | format!("{self:?}")
|
614 678 | }
|
615 679 | fn __str__(&self) -> String {
|
616 680 | format!("{self:?}")
|
617 681 | }
|
618 682 | }
|
619 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<DatetimeOffsetsOutput> {
|
683 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TimestampFormatHeadersOutput> {
|
620 684 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
621 - | ob.extract::<DatetimeOffsetsOutput>().map(Box::new)
|
685 + | ob.extract::<TimestampFormatHeadersOutput>().map(Box::new)
|
622 686 | }
|
623 687 | }
|
624 688 |
|
625 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DatetimeOffsetsOutput> {
|
689 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TimestampFormatHeadersOutput> {
|
626 690 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
627 691 | (*self).into_py(py)
|
628 692 | }
|
629 693 | }
|
630 - | impl DatetimeOffsetsOutput {
|
631 - | /// Creates a new builder-style object to manufacture [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
632 - | pub fn builder() -> crate::output::datetime_offsets_output::Builder {
|
633 - | crate::output::datetime_offsets_output::Builder::default()
|
694 + | impl TimestampFormatHeadersOutput {
|
695 + | /// Creates a new builder-style object to manufacture [`TimestampFormatHeadersOutput`](crate::output::TimestampFormatHeadersOutput).
|
696 + | pub fn builder() -> crate::output::timestamp_format_headers_output::Builder {
|
697 + | crate::output::timestamp_format_headers_output::Builder::default()
|
634 698 | }
|
635 699 | }
|
636 700 |
|
637 701 | #[::pyo3::pyclass]
|
638 - | /// :param test_id typing.Optional\[str\]:
|
702 + | /// :param json typing.Optional\[str\]:
|
639 703 | /// :rtype None:
|
640 704 | #[allow(missing_docs)] // documentation missing in model
|
641 705 | #[derive(
|
642 706 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
643 707 | )]
|
644 - | pub struct TestPostNoInputNoPayloadOutput {
|
708 + | pub struct MediaTypeHeaderOutput {
|
645 709 | #[pyo3(get, set)]
|
646 710 | /// :type typing.Optional\[str\]:
|
647 711 | #[allow(missing_docs)] // documentation missing in model
|
648 - | pub test_id: ::std::option::Option<::std::string::String>,
|
712 + | pub json: ::std::option::Option<::std::string::String>,
|
649 713 | }
|
650 - | impl TestPostNoInputNoPayloadOutput {
|
714 + | impl MediaTypeHeaderOutput {
|
651 715 | #[allow(missing_docs)] // documentation missing in model
|
652 - | pub fn test_id(&self) -> ::std::option::Option<&str> {
|
653 - | self.test_id.as_deref()
|
716 + | pub fn json(&self) -> ::std::option::Option<&str> {
|
717 + | self.json.as_deref()
|
654 718 | }
|
655 719 | }
|
656 720 | #[allow(clippy::new_without_default)]
|
657 721 | #[allow(clippy::too_many_arguments)]
|
658 722 | #[::pyo3::pymethods]
|
659 - | impl TestPostNoInputNoPayloadOutput {
|
723 + | impl MediaTypeHeaderOutput {
|
660 724 | #[new]
|
661 - | pub fn new(test_id: ::std::option::Option<::std::string::String>) -> Self {
|
662 - | Self { test_id }
|
725 + | pub fn new(json: ::std::option::Option<::std::string::String>) -> Self {
|
726 + | Self { json }
|
663 727 | }
|
664 728 | fn __repr__(&self) -> String {
|
665 729 | format!("{self:?}")
|
666 730 | }
|
667 731 | fn __str__(&self) -> String {
|
668 732 | format!("{self:?}")
|
669 733 | }
|
670 734 | }
|
671 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestPostNoInputNoPayloadOutput> {
|
735 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MediaTypeHeaderOutput> {
|
672 736 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
673 - | ob.extract::<TestPostNoInputNoPayloadOutput>().map(Box::new)
|
737 + | ob.extract::<MediaTypeHeaderOutput>().map(Box::new)
|
674 738 | }
|
675 739 | }
|
676 740 |
|
677 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestPostNoInputNoPayloadOutput> {
|
741 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MediaTypeHeaderOutput> {
|
678 742 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
679 743 | (*self).into_py(py)
|
680 744 | }
|
681 745 | }
|
682 - | impl TestPostNoInputNoPayloadOutput {
|
683 - | /// Creates a new builder-style object to manufacture [`TestPostNoInputNoPayloadOutput`](crate::output::TestPostNoInputNoPayloadOutput).
|
684 - | pub fn builder() -> crate::output::test_post_no_input_no_payload_output::Builder {
|
685 - | crate::output::test_post_no_input_no_payload_output::Builder::default()
|
746 + | impl MediaTypeHeaderOutput {
|
747 + | /// Creates a new builder-style object to manufacture [`MediaTypeHeaderOutput`](crate::output::MediaTypeHeaderOutput).
|
748 + | pub fn builder() -> crate::output::media_type_header_output::Builder {
|
749 + | crate::output::media_type_header_output::Builder::default()
|
686 750 | }
|
687 751 | }
|
688 752 |
|
689 753 | #[::pyo3::pyclass]
|
690 - | /// :param test_id typing.Optional\[str\]:
|
691 754 | /// :rtype None:
|
692 755 | #[allow(missing_docs)] // documentation missing in model
|
693 756 | #[derive(
|
694 757 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
695 758 | )]
|
696 - | pub struct TestGetNoInputNoPayloadOutput {
|
697 - | #[pyo3(get, set)]
|
698 - | /// :type typing.Optional\[str\]:
|
699 - | #[allow(missing_docs)] // documentation missing in model
|
700 - | pub test_id: ::std::option::Option<::std::string::String>,
|
701 - | }
|
702 - | impl TestGetNoInputNoPayloadOutput {
|
703 - | #[allow(missing_docs)] // documentation missing in model
|
704 - | pub fn test_id(&self) -> ::std::option::Option<&str> {
|
705 - | self.test_id.as_deref()
|
706 - | }
|
707 - | }
|
759 + | pub struct HttpRequestWithLabelsOutput {}
|
708 760 | #[allow(clippy::new_without_default)]
|
709 761 | #[allow(clippy::too_many_arguments)]
|
710 762 | #[::pyo3::pymethods]
|
711 - | impl TestGetNoInputNoPayloadOutput {
|
763 + | impl HttpRequestWithLabelsOutput {
|
712 764 | #[new]
|
713 - | pub fn new(test_id: ::std::option::Option<::std::string::String>) -> Self {
|
714 - | Self { test_id }
|
765 + | pub fn new() -> Self {
|
766 + | Self {}
|
715 767 | }
|
716 768 | fn __repr__(&self) -> String {
|
717 769 | format!("{self:?}")
|
718 770 | }
|
719 771 | fn __str__(&self) -> String {
|
720 772 | format!("{self:?}")
|
721 773 | }
|
722 774 | }
|
723 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestGetNoInputNoPayloadOutput> {
|
775 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpRequestWithLabelsOutput> {
|
724 776 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
725 - | ob.extract::<TestGetNoInputNoPayloadOutput>().map(Box::new)
|
777 + | ob.extract::<HttpRequestWithLabelsOutput>().map(Box::new)
|
726 778 | }
|
727 779 | }
|
728 780 |
|
729 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestGetNoInputNoPayloadOutput> {
|
781 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpRequestWithLabelsOutput> {
|
730 782 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
731 783 | (*self).into_py(py)
|
732 784 | }
|
733 785 | }
|
734 - | impl TestGetNoInputNoPayloadOutput {
|
735 - | /// Creates a new builder-style object to manufacture [`TestGetNoInputNoPayloadOutput`](crate::output::TestGetNoInputNoPayloadOutput).
|
736 - | pub fn builder() -> crate::output::test_get_no_input_no_payload_output::Builder {
|
737 - | crate::output::test_get_no_input_no_payload_output::Builder::default()
|
786 + | impl HttpRequestWithLabelsOutput {
|
787 + | /// Creates a new builder-style object to manufacture [`HttpRequestWithLabelsOutput`](crate::output::HttpRequestWithLabelsOutput).
|
788 + | pub fn builder() -> crate::output::http_request_with_labels_output::Builder {
|
789 + | crate::output::http_request_with_labels_output::Builder::default()
|
738 790 | }
|
739 791 | }
|
740 792 |
|
741 793 | #[::pyo3::pyclass]
|
742 - | /// :param test_id typing.Optional\[str\]:
|
743 794 | /// :rtype None:
|
744 795 | #[allow(missing_docs)] // documentation missing in model
|
745 796 | #[derive(
|
746 797 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
747 798 | )]
|
748 - | pub struct TestPostNoPayloadOutput {
|
749 - | #[pyo3(get, set)]
|
750 - | /// :type typing.Optional\[str\]:
|
751 - | #[allow(missing_docs)] // documentation missing in model
|
752 - | pub test_id: ::std::option::Option<::std::string::String>,
|
753 - | }
|
754 - | impl TestPostNoPayloadOutput {
|
755 - | #[allow(missing_docs)] // documentation missing in model
|
756 - | pub fn test_id(&self) -> ::std::option::Option<&str> {
|
757 - | self.test_id.as_deref()
|
758 - | }
|
759 - | }
|
799 + | pub struct HttpRequestWithLabelsAndTimestampFormatOutput {}
|
760 800 | #[allow(clippy::new_without_default)]
|
761 801 | #[allow(clippy::too_many_arguments)]
|
762 802 | #[::pyo3::pymethods]
|
763 - | impl TestPostNoPayloadOutput {
|
803 + | impl HttpRequestWithLabelsAndTimestampFormatOutput {
|
764 804 | #[new]
|
765 - | pub fn new(test_id: ::std::option::Option<::std::string::String>) -> Self {
|
766 - | Self { test_id }
|
805 + | pub fn new() -> Self {
|
806 + | Self {}
|
767 807 | }
|
768 808 | fn __repr__(&self) -> String {
|
769 809 | format!("{self:?}")
|
770 810 | }
|
771 811 | fn __str__(&self) -> String {
|
772 812 | format!("{self:?}")
|
773 813 | }
|
774 814 | }
|
775 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestPostNoPayloadOutput> {
|
815 + | impl<'source> ::pyo3::FromPyObject<'source>
|
816 + | for std::boxed::Box<HttpRequestWithLabelsAndTimestampFormatOutput>
|
817 + | {
|
776 818 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
777 - | ob.extract::<TestPostNoPayloadOutput>().map(Box::new)
|
819 + | ob.extract::<HttpRequestWithLabelsAndTimestampFormatOutput>()
|
820 + | .map(Box::new)
|
778 821 | }
|
779 822 | }
|
780 823 |
|
781 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestPostNoPayloadOutput> {
|
824 + | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
825 + | for std::boxed::Box<HttpRequestWithLabelsAndTimestampFormatOutput>
|
826 + | {
|
782 827 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
783 828 | (*self).into_py(py)
|
784 829 | }
|
785 830 | }
|
786 - | impl TestPostNoPayloadOutput {
|
787 - | /// Creates a new builder-style object to manufacture [`TestPostNoPayloadOutput`](crate::output::TestPostNoPayloadOutput).
|
788 - | pub fn builder() -> crate::output::test_post_no_payload_output::Builder {
|
789 - | crate::output::test_post_no_payload_output::Builder::default()
|
831 + | impl HttpRequestWithLabelsAndTimestampFormatOutput {
|
832 + | /// Creates a new builder-style object to manufacture [`HttpRequestWithLabelsAndTimestampFormatOutput`](crate::output::HttpRequestWithLabelsAndTimestampFormatOutput).
|
833 + | pub fn builder() -> crate::output::http_request_with_labels_and_timestamp_format_output::Builder
|
834 + | {
|
835 + | crate::output::http_request_with_labels_and_timestamp_format_output::Builder::default()
|
790 836 | }
|
791 837 | }
|
792 838 |
|
793 839 | #[::pyo3::pyclass]
|
794 - | /// :param test_id typing.Optional\[str\]:
|
795 840 | /// :rtype None:
|
796 841 | #[allow(missing_docs)] // documentation missing in model
|
797 842 | #[derive(
|
798 843 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
799 844 | )]
|
800 - | pub struct TestGetNoPayloadOutput {
|
801 - | #[pyo3(get, set)]
|
802 - | /// :type typing.Optional\[str\]:
|
803 - | #[allow(missing_docs)] // documentation missing in model
|
804 - | pub test_id: ::std::option::Option<::std::string::String>,
|
805 - | }
|
806 - | impl TestGetNoPayloadOutput {
|
807 - | #[allow(missing_docs)] // documentation missing in model
|
808 - | pub fn test_id(&self) -> ::std::option::Option<&str> {
|
809 - | self.test_id.as_deref()
|
810 - | }
|
811 - | }
|
845 + | pub struct HttpRequestWithGreedyLabelInPathOutput {}
|
812 846 | #[allow(clippy::new_without_default)]
|
813 847 | #[allow(clippy::too_many_arguments)]
|
814 848 | #[::pyo3::pymethods]
|
815 - | impl TestGetNoPayloadOutput {
|
849 + | impl HttpRequestWithGreedyLabelInPathOutput {
|
816 850 | #[new]
|
817 - | pub fn new(test_id: ::std::option::Option<::std::string::String>) -> Self {
|
818 - | Self { test_id }
|
851 + | pub fn new() -> Self {
|
852 + | Self {}
|
819 853 | }
|
820 854 | fn __repr__(&self) -> String {
|
821 855 | format!("{self:?}")
|
822 856 | }
|
823 857 | fn __str__(&self) -> String {
|
824 858 | format!("{self:?}")
|
825 859 | }
|
826 860 | }
|
827 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestGetNoPayloadOutput> {
|
861 + | impl<'source> ::pyo3::FromPyObject<'source>
|
862 + | for std::boxed::Box<HttpRequestWithGreedyLabelInPathOutput>
|
863 + | {
|
828 864 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
829 - | ob.extract::<TestGetNoPayloadOutput>().map(Box::new)
|
865 + | ob.extract::<HttpRequestWithGreedyLabelInPathOutput>()
|
866 + | .map(Box::new)
|
830 867 | }
|
831 868 | }
|
832 869 |
|
833 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestGetNoPayloadOutput> {
|
870 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpRequestWithGreedyLabelInPathOutput> {
|
834 871 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
835 872 | (*self).into_py(py)
|
836 873 | }
|
837 874 | }
|
838 - | impl TestGetNoPayloadOutput {
|
839 - | /// Creates a new builder-style object to manufacture [`TestGetNoPayloadOutput`](crate::output::TestGetNoPayloadOutput).
|
840 - | pub fn builder() -> crate::output::test_get_no_payload_output::Builder {
|
841 - | crate::output::test_get_no_payload_output::Builder::default()
|
875 + | impl HttpRequestWithGreedyLabelInPathOutput {
|
876 + | /// Creates a new builder-style object to manufacture [`HttpRequestWithGreedyLabelInPathOutput`](crate::output::HttpRequestWithGreedyLabelInPathOutput).
|
877 + | pub fn builder() -> crate::output::http_request_with_greedy_label_in_path_output::Builder {
|
878 + | crate::output::http_request_with_greedy_label_in_path_output::Builder::default()
|
842 879 | }
|
843 880 | }
|
844 881 |
|
845 882 | #[::pyo3::pyclass]
|
846 - | /// :param content_type typing.Optional\[str\]:
|
847 - | /// :param data typing.Optional\[rest_json.types.Blob\]:
|
848 883 | /// :rtype None:
|
849 884 | #[allow(missing_docs)] // documentation missing in model
|
850 885 | #[derive(
|
851 886 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
852 887 | )]
|
853 - | pub struct TestPayloadBlobOutput {
|
854 - | #[pyo3(get, set)]
|
855 - | /// :type typing.Optional\[str\]:
|
856 - | #[allow(missing_docs)] // documentation missing in model
|
857 - | pub content_type: ::std::option::Option<::std::string::String>,
|
858 - | #[pyo3(get, set)]
|
859 - | /// :type typing.Optional\[rest_json.types.Blob\]:
|
860 - | #[allow(missing_docs)] // documentation missing in model
|
861 - | pub data: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
862 - | }
|
863 - | impl TestPayloadBlobOutput {
|
864 - | #[allow(missing_docs)] // documentation missing in model
|
865 - | pub fn content_type(&self) -> ::std::option::Option<&str> {
|
866 - | self.content_type.as_deref()
|
867 - | }
|
868 - | #[allow(missing_docs)] // documentation missing in model
|
869 - | pub fn data(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
870 - | self.data.as_ref()
|
871 - | }
|
872 - | }
|
888 + | pub struct HttpRequestWithFloatLabelsOutput {}
|
873 889 | #[allow(clippy::new_without_default)]
|
874 890 | #[allow(clippy::too_many_arguments)]
|
875 891 | #[::pyo3::pymethods]
|
876 - | impl TestPayloadBlobOutput {
|
892 + | impl HttpRequestWithFloatLabelsOutput {
|
877 893 | #[new]
|
878 - | pub fn new(
|
879 - | content_type: ::std::option::Option<::std::string::String>,
|
880 - | data: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
881 - | ) -> Self {
|
882 - | Self { content_type, data }
|
894 + | pub fn new() -> Self {
|
895 + | Self {}
|
883 896 | }
|
884 897 | fn __repr__(&self) -> String {
|
885 898 | format!("{self:?}")
|
886 899 | }
|
887 900 | fn __str__(&self) -> String {
|
888 901 | format!("{self:?}")
|
889 902 | }
|
890 903 | }
|
891 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestPayloadBlobOutput> {
|
904 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpRequestWithFloatLabelsOutput> {
|
892 905 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
893 - | ob.extract::<TestPayloadBlobOutput>().map(Box::new)
|
906 + | ob.extract::<HttpRequestWithFloatLabelsOutput>()
|
907 + | .map(Box::new)
|
894 908 | }
|
895 909 | }
|
896 910 |
|
897 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestPayloadBlobOutput> {
|
911 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpRequestWithFloatLabelsOutput> {
|
898 912 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
899 913 | (*self).into_py(py)
|
900 914 | }
|
901 915 | }
|
902 - | impl TestPayloadBlobOutput {
|
903 - | /// Creates a new builder-style object to manufacture [`TestPayloadBlobOutput`](crate::output::TestPayloadBlobOutput).
|
904 - | pub fn builder() -> crate::output::test_payload_blob_output::Builder {
|
905 - | crate::output::test_payload_blob_output::Builder::default()
|
916 + | impl HttpRequestWithFloatLabelsOutput {
|
917 + | /// Creates a new builder-style object to manufacture [`HttpRequestWithFloatLabelsOutput`](crate::output::HttpRequestWithFloatLabelsOutput).
|
918 + | pub fn builder() -> crate::output::http_request_with_float_labels_output::Builder {
|
919 + | crate::output::http_request_with_float_labels_output::Builder::default()
|
906 920 | }
|
907 921 | }
|
908 922 |
|
909 923 | #[::pyo3::pyclass]
|
910 - | /// :param test_id typing.Optional\[str\]:
|
911 - | /// :param payload_config typing.Optional\[rest_json.model.PayloadConfig\]:
|
912 924 | /// :rtype None:
|
913 925 | #[allow(missing_docs)] // documentation missing in model
|
914 926 | #[derive(
|
915 927 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
916 928 | )]
|
917 - | pub struct TestPayloadStructureOutput {
|
918 - | #[pyo3(get, set)]
|
919 - | /// :type typing.Optional\[str\]:
|
920 - | #[allow(missing_docs)] // documentation missing in model
|
921 - | pub test_id: ::std::option::Option<::std::string::String>,
|
922 - | #[pyo3(get, set)]
|
923 - | /// :type typing.Optional\[rest_json.model.PayloadConfig\]:
|
924 - | #[allow(missing_docs)] // documentation missing in model
|
925 - | pub payload_config: ::std::option::Option<crate::model::PayloadConfig>,
|
926 - | }
|
927 - | impl TestPayloadStructureOutput {
|
928 - | #[allow(missing_docs)] // documentation missing in model
|
929 - | pub fn test_id(&self) -> ::std::option::Option<&str> {
|
930 - | self.test_id.as_deref()
|
931 - | }
|
932 - | #[allow(missing_docs)] // documentation missing in model
|
933 - | pub fn payload_config(&self) -> ::std::option::Option<&crate::model::PayloadConfig> {
|
934 - | self.payload_config.as_ref()
|
935 - | }
|
936 - | }
|
929 + | pub struct HttpRequestWithRegexLiteralOutput {}
|
937 930 | #[allow(clippy::new_without_default)]
|
938 931 | #[allow(clippy::too_many_arguments)]
|
939 932 | #[::pyo3::pymethods]
|
940 - | impl TestPayloadStructureOutput {
|
933 + | impl HttpRequestWithRegexLiteralOutput {
|
941 934 | #[new]
|
942 - | pub fn new(
|
943 - | test_id: ::std::option::Option<::std::string::String>,
|
944 - | payload_config: ::std::option::Option<crate::model::PayloadConfig>,
|
945 - | ) -> Self {
|
946 - | Self {
|
947 - | test_id,
|
948 - | payload_config,
|
949 - | }
|
935 + | pub fn new() -> Self {
|
936 + | Self {}
|
950 937 | }
|
951 938 | fn __repr__(&self) -> String {
|
952 939 | format!("{self:?}")
|
953 940 | }
|
954 941 | fn __str__(&self) -> String {
|
955 942 | format!("{self:?}")
|
956 943 | }
|
957 944 | }
|
958 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestPayloadStructureOutput> {
|
945 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpRequestWithRegexLiteralOutput> {
|
959 946 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
960 - | ob.extract::<TestPayloadStructureOutput>().map(Box::new)
|
947 + | ob.extract::<HttpRequestWithRegexLiteralOutput>()
|
948 + | .map(Box::new)
|
961 949 | }
|
962 950 | }
|
963 951 |
|
964 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestPayloadStructureOutput> {
|
952 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpRequestWithRegexLiteralOutput> {
|
965 953 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
966 954 | (*self).into_py(py)
|
967 955 | }
|
968 956 | }
|
969 - | impl TestPayloadStructureOutput {
|
970 - | /// Creates a new builder-style object to manufacture [`TestPayloadStructureOutput`](crate::output::TestPayloadStructureOutput).
|
971 - | pub fn builder() -> crate::output::test_payload_structure_output::Builder {
|
972 - | crate::output::test_payload_structure_output::Builder::default()
|
957 + | impl HttpRequestWithRegexLiteralOutput {
|
958 + | /// Creates a new builder-style object to manufacture [`HttpRequestWithRegexLiteralOutput`](crate::output::HttpRequestWithRegexLiteralOutput).
|
959 + | pub fn builder() -> crate::output::http_request_with_regex_literal_output::Builder {
|
960 + | crate::output::http_request_with_regex_literal_output::Builder::default()
|
973 961 | }
|
974 962 | }
|
975 963 |
|
976 964 | #[::pyo3::pyclass]
|
977 - | /// :param test_id typing.Optional\[str\]:
|
978 - | /// :param test_config typing.Optional\[rest_json.model.TestConfig\]:
|
979 965 | /// :rtype None:
|
980 966 | #[allow(missing_docs)] // documentation missing in model
|
981 967 | #[derive(
|
982 968 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
983 969 | )]
|
984 - | pub struct TestBodyStructureOutput {
|
985 - | #[pyo3(get, set)]
|
986 - | /// :type typing.Optional\[str\]:
|
987 - | #[allow(missing_docs)] // documentation missing in model
|
988 - | pub test_id: ::std::option::Option<::std::string::String>,
|
989 - | #[pyo3(get, set)]
|
990 - | /// :type typing.Optional\[rest_json.model.TestConfig\]:
|
991 - | #[allow(missing_docs)] // documentation missing in model
|
992 - | pub test_config: ::std::option::Option<crate::model::TestConfig>,
|
993 - | }
|
994 - | impl TestBodyStructureOutput {
|
995 - | #[allow(missing_docs)] // documentation missing in model
|
996 - | pub fn test_id(&self) -> ::std::option::Option<&str> {
|
997 - | self.test_id.as_deref()
|
998 - | }
|
999 - | #[allow(missing_docs)] // documentation missing in model
|
1000 - | pub fn test_config(&self) -> ::std::option::Option<&crate::model::TestConfig> {
|
1001 - | self.test_config.as_ref()
|
1002 - | }
|
1003 - | }
|
970 + | pub struct AllQueryStringTypesOutput {}
|
1004 971 | #[allow(clippy::new_without_default)]
|
1005 972 | #[allow(clippy::too_many_arguments)]
|
1006 973 | #[::pyo3::pymethods]
|
1007 - | impl TestBodyStructureOutput {
|
974 + | impl AllQueryStringTypesOutput {
|
1008 975 | #[new]
|
1009 - | pub fn new(
|
1010 - | test_id: ::std::option::Option<::std::string::String>,
|
1011 - | test_config: ::std::option::Option<crate::model::TestConfig>,
|
1012 - | ) -> Self {
|
1013 - | Self {
|
1014 - | test_id,
|
1015 - | test_config,
|
1016 - | }
|
976 + | pub fn new() -> Self {
|
977 + | Self {}
|
1017 978 | }
|
1018 979 | fn __repr__(&self) -> String {
|
1019 980 | format!("{self:?}")
|
1020 981 | }
|
1021 982 | fn __str__(&self) -> String {
|
1022 983 | format!("{self:?}")
|
1023 984 | }
|
1024 985 | }
|
1025 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestBodyStructureOutput> {
|
986 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<AllQueryStringTypesOutput> {
|
1026 987 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1027 - | ob.extract::<TestBodyStructureOutput>().map(Box::new)
|
988 + | ob.extract::<AllQueryStringTypesOutput>().map(Box::new)
|
1028 989 | }
|
1029 990 | }
|
1030 991 |
|
1031 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestBodyStructureOutput> {
|
992 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<AllQueryStringTypesOutput> {
|
1032 993 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1033 994 | (*self).into_py(py)
|
1034 995 | }
|
1035 996 | }
|
1036 - | impl TestBodyStructureOutput {
|
1037 - | /// Creates a new builder-style object to manufacture [`TestBodyStructureOutput`](crate::output::TestBodyStructureOutput).
|
1038 - | pub fn builder() -> crate::output::test_body_structure_output::Builder {
|
1039 - | crate::output::test_body_structure_output::Builder::default()
|
997 + | impl AllQueryStringTypesOutput {
|
998 + | /// Creates a new builder-style object to manufacture [`AllQueryStringTypesOutput`](crate::output::AllQueryStringTypesOutput).
|
999 + | pub fn builder() -> crate::output::all_query_string_types_output::Builder {
|
1000 + | crate::output::all_query_string_types_output::Builder::default()
|
1040 1001 | }
|
1041 1002 | }
|
1042 1003 |
|
1043 1004 | #[::pyo3::pyclass]
|
1044 - | /// :param payload typing.Optional\[str\]:
|
1045 1005 | /// :rtype None:
|
1046 1006 | #[allow(missing_docs)] // documentation missing in model
|
1047 1007 | #[derive(
|
1048 1008 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1049 1009 | )]
|
1050 - | pub struct MalformedAcceptWithGenericStringOutput {
|
1051 - | #[pyo3(get, set)]
|
1052 - | /// :type typing.Optional\[str\]:
|
1053 - | #[allow(missing_docs)] // documentation missing in model
|
1054 - | pub payload: ::std::option::Option<::std::string::String>,
|
1055 - | }
|
1056 - | impl MalformedAcceptWithGenericStringOutput {
|
1057 - | #[allow(missing_docs)] // documentation missing in model
|
1058 - | pub fn payload(&self) -> ::std::option::Option<&str> {
|
1059 - | self.payload.as_deref()
|
1060 - | }
|
1061 - | }
|
1010 + | pub struct ConstantQueryStringOutput {}
|
1062 1011 | #[allow(clippy::new_without_default)]
|
1063 1012 | #[allow(clippy::too_many_arguments)]
|
1064 1013 | #[::pyo3::pymethods]
|
1065 - | impl MalformedAcceptWithGenericStringOutput {
|
1014 + | impl ConstantQueryStringOutput {
|
1066 1015 | #[new]
|
1067 - | pub fn new(payload: ::std::option::Option<::std::string::String>) -> Self {
|
1068 - | Self { payload }
|
1016 + | pub fn new() -> Self {
|
1017 + | Self {}
|
1069 1018 | }
|
1070 1019 | fn __repr__(&self) -> String {
|
1071 1020 | format!("{self:?}")
|
1072 1021 | }
|
1073 1022 | fn __str__(&self) -> String {
|
1074 1023 | format!("{self:?}")
|
1075 1024 | }
|
1076 1025 | }
|
1077 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1078 - | for std::boxed::Box<MalformedAcceptWithGenericStringOutput>
|
1079 - | {
|
1026 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ConstantQueryStringOutput> {
|
1080 1027 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1081 - | ob.extract::<MalformedAcceptWithGenericStringOutput>()
|
1082 - | .map(Box::new)
|
1028 + | ob.extract::<ConstantQueryStringOutput>().map(Box::new)
|
1083 1029 | }
|
1084 1030 | }
|
1085 1031 |
|
1086 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedAcceptWithGenericStringOutput> {
|
1032 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ConstantQueryStringOutput> {
|
1087 1033 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1088 1034 | (*self).into_py(py)
|
1089 1035 | }
|
1090 1036 | }
|
1091 - | impl MalformedAcceptWithGenericStringOutput {
|
1092 - | /// Creates a new builder-style object to manufacture [`MalformedAcceptWithGenericStringOutput`](crate::output::MalformedAcceptWithGenericStringOutput).
|
1093 - | pub fn builder() -> crate::output::malformed_accept_with_generic_string_output::Builder {
|
1094 - | crate::output::malformed_accept_with_generic_string_output::Builder::default()
|
1037 + | impl ConstantQueryStringOutput {
|
1038 + | /// Creates a new builder-style object to manufacture [`ConstantQueryStringOutput`](crate::output::ConstantQueryStringOutput).
|
1039 + | pub fn builder() -> crate::output::constant_query_string_output::Builder {
|
1040 + | crate::output::constant_query_string_output::Builder::default()
|
1095 1041 | }
|
1096 1042 | }
|
1097 1043 |
|
1098 1044 | #[::pyo3::pyclass]
|
1099 - | /// :param payload typing.Optional\[rest_json.types.Blob\]:
|
1100 1045 | /// :rtype None:
|
1101 1046 | #[allow(missing_docs)] // documentation missing in model
|
1102 1047 | #[derive(
|
1103 1048 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1104 1049 | )]
|
1105 - | pub struct MalformedAcceptWithPayloadOutput {
|
1106 - | #[pyo3(get, set)]
|
1107 - | /// :type typing.Optional\[rest_json.types.Blob\]:
|
1108 - | #[allow(missing_docs)] // documentation missing in model
|
1109 - | pub payload: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1110 - | }
|
1111 - | impl MalformedAcceptWithPayloadOutput {
|
1112 - | #[allow(missing_docs)] // documentation missing in model
|
1113 - | pub fn payload(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
1114 - | self.payload.as_ref()
|
1115 - | }
|
1116 - | }
|
1050 + | pub struct ConstantAndVariableQueryStringOutput {}
|
1117 1051 | #[allow(clippy::new_without_default)]
|
1118 1052 | #[allow(clippy::too_many_arguments)]
|
1119 1053 | #[::pyo3::pymethods]
|
1120 - | impl MalformedAcceptWithPayloadOutput {
|
1054 + | impl ConstantAndVariableQueryStringOutput {
|
1121 1055 | #[new]
|
1122 - | pub fn new(
|
1123 - | payload: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1124 - | ) -> Self {
|
1125 - | Self { payload }
|
1056 + | pub fn new() -> Self {
|
1057 + | Self {}
|
1126 1058 | }
|
1127 1059 | fn __repr__(&self) -> String {
|
1128 1060 | format!("{self:?}")
|
1129 1061 | }
|
1130 1062 | fn __str__(&self) -> String {
|
1131 1063 | format!("{self:?}")
|
1132 1064 | }
|
1133 1065 | }
|
1134 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedAcceptWithPayloadOutput> {
|
1066 + | impl<'source> ::pyo3::FromPyObject<'source>
|
1067 + | for std::boxed::Box<ConstantAndVariableQueryStringOutput>
|
1068 + | {
|
1135 1069 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1136 - | ob.extract::<MalformedAcceptWithPayloadOutput>()
|
1070 + | ob.extract::<ConstantAndVariableQueryStringOutput>()
|
1137 1071 | .map(Box::new)
|
1138 1072 | }
|
1139 1073 | }
|
1140 1074 |
|
1141 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedAcceptWithPayloadOutput> {
|
1075 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ConstantAndVariableQueryStringOutput> {
|
1142 1076 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1143 1077 | (*self).into_py(py)
|
1144 1078 | }
|
1145 1079 | }
|
1146 - | impl MalformedAcceptWithPayloadOutput {
|
1147 - | /// Creates a new builder-style object to manufacture [`MalformedAcceptWithPayloadOutput`](crate::output::MalformedAcceptWithPayloadOutput).
|
1148 - | pub fn builder() -> crate::output::malformed_accept_with_payload_output::Builder {
|
1149 - | crate::output::malformed_accept_with_payload_output::Builder::default()
|
1080 + | impl ConstantAndVariableQueryStringOutput {
|
1081 + | /// Creates a new builder-style object to manufacture [`ConstantAndVariableQueryStringOutput`](crate::output::ConstantAndVariableQueryStringOutput).
|
1082 + | pub fn builder() -> crate::output::constant_and_variable_query_string_output::Builder {
|
1083 + | crate::output::constant_and_variable_query_string_output::Builder::default()
|
1150 1084 | }
|
1151 1085 | }
|
1152 1086 |
|
1153 1087 | #[::pyo3::pyclass]
|
1154 - | /// :param hi typing.Optional\[str\]:
|
1088 + | /// :param baz typing.Optional\[str\]:
|
1155 1089 | /// :rtype None:
|
1156 1090 | #[allow(missing_docs)] // documentation missing in model
|
1157 1091 | #[derive(
|
1158 1092 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1159 1093 | )]
|
1160 - | pub struct MalformedAcceptWithBodyOutput {
|
1094 + | pub struct IgnoreQueryParamsInResponseOutput {
|
1161 1095 | #[pyo3(get, set)]
|
1162 1096 | /// :type typing.Optional\[str\]:
|
1163 1097 | #[allow(missing_docs)] // documentation missing in model
|
1164 - | pub hi: ::std::option::Option<::std::string::String>,
|
1098 + | pub baz: ::std::option::Option<::std::string::String>,
|
1165 1099 | }
|
1166 - | impl MalformedAcceptWithBodyOutput {
|
1100 + | impl IgnoreQueryParamsInResponseOutput {
|
1167 1101 | #[allow(missing_docs)] // documentation missing in model
|
1168 - | pub fn hi(&self) -> ::std::option::Option<&str> {
|
1169 - | self.hi.as_deref()
|
1102 + | pub fn baz(&self) -> ::std::option::Option<&str> {
|
1103 + | self.baz.as_deref()
|
1170 1104 | }
|
1171 1105 | }
|
1172 1106 | #[allow(clippy::new_without_default)]
|
1173 1107 | #[allow(clippy::too_many_arguments)]
|
1174 1108 | #[::pyo3::pymethods]
|
1175 - | impl MalformedAcceptWithBodyOutput {
|
1109 + | impl IgnoreQueryParamsInResponseOutput {
|
1176 1110 | #[new]
|
1177 - | pub fn new(hi: ::std::option::Option<::std::string::String>) -> Self {
|
1178 - | Self { hi }
|
1111 + | pub fn new(baz: ::std::option::Option<::std::string::String>) -> Self {
|
1112 + | Self { baz }
|
1179 1113 | }
|
1180 1114 | fn __repr__(&self) -> String {
|
1181 1115 | format!("{self:?}")
|
1182 1116 | }
|
1183 1117 | fn __str__(&self) -> String {
|
1184 1118 | format!("{self:?}")
|
1185 1119 | }
|
1186 1120 | }
|
1187 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedAcceptWithBodyOutput> {
|
1121 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<IgnoreQueryParamsInResponseOutput> {
|
1188 1122 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1189 - | ob.extract::<MalformedAcceptWithBodyOutput>().map(Box::new)
|
1123 + | ob.extract::<IgnoreQueryParamsInResponseOutput>()
|
1124 + | .map(Box::new)
|
1190 1125 | }
|
1191 1126 | }
|
1192 1127 |
|
1193 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedAcceptWithBodyOutput> {
|
1128 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<IgnoreQueryParamsInResponseOutput> {
|
1194 1129 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1195 1130 | (*self).into_py(py)
|
1196 1131 | }
|
1197 1132 | }
|
1198 - | impl MalformedAcceptWithBodyOutput {
|
1199 - | /// Creates a new builder-style object to manufacture [`MalformedAcceptWithBodyOutput`](crate::output::MalformedAcceptWithBodyOutput).
|
1200 - | pub fn builder() -> crate::output::malformed_accept_with_body_output::Builder {
|
1201 - | crate::output::malformed_accept_with_body_output::Builder::default()
|
1133 + | impl IgnoreQueryParamsInResponseOutput {
|
1134 + | /// Creates a new builder-style object to manufacture [`IgnoreQueryParamsInResponseOutput`](crate::output::IgnoreQueryParamsInResponseOutput).
|
1135 + | pub fn builder() -> crate::output::ignore_query_params_in_response_output::Builder {
|
1136 + | crate::output::ignore_query_params_in_response_output::Builder::default()
|
1202 1137 | }
|
1203 1138 | }
|
1204 1139 |
|
1205 1140 | #[::pyo3::pyclass]
|
1206 1141 | /// :rtype None:
|
1207 1142 | #[allow(missing_docs)] // documentation missing in model
|
1208 1143 | #[derive(
|
1209 1144 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1210 1145 | )]
|
1211 - | pub struct MalformedContentTypeWithGenericStringOutput {}
|
1146 + | pub struct OmitsNullSerializesEmptyStringOutput {}
|
1212 1147 | #[allow(clippy::new_without_default)]
|
1213 1148 | #[allow(clippy::too_many_arguments)]
|
1214 1149 | #[::pyo3::pymethods]
|
1215 - | impl MalformedContentTypeWithGenericStringOutput {
|
1150 + | impl OmitsNullSerializesEmptyStringOutput {
|
1216 1151 | #[new]
|
1217 1152 | pub fn new() -> Self {
|
1218 1153 | Self {}
|
1219 1154 | }
|
1220 1155 | fn __repr__(&self) -> String {
|
1221 1156 | format!("{self:?}")
|
1222 1157 | }
|
1223 1158 | fn __str__(&self) -> String {
|
1224 1159 | format!("{self:?}")
|
1225 1160 | }
|
1226 1161 | }
|
1227 1162 | impl<'source> ::pyo3::FromPyObject<'source>
|
1228 - | for std::boxed::Box<MalformedContentTypeWithGenericStringOutput>
|
1163 + | for std::boxed::Box<OmitsNullSerializesEmptyStringOutput>
|
1229 1164 | {
|
1230 1165 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1231 - | ob.extract::<MalformedContentTypeWithGenericStringOutput>()
|
1166 + | ob.extract::<OmitsNullSerializesEmptyStringOutput>()
|
1232 1167 | .map(Box::new)
|
1233 1168 | }
|
1234 1169 | }
|
1235 1170 |
|
1236 - | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1237 - | for std::boxed::Box<MalformedContentTypeWithGenericStringOutput>
|
1238 - | {
|
1171 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OmitsNullSerializesEmptyStringOutput> {
|
1239 1172 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1240 1173 | (*self).into_py(py)
|
1241 1174 | }
|
1242 1175 | }
|
1243 - | impl MalformedContentTypeWithGenericStringOutput {
|
1244 - | /// Creates a new builder-style object to manufacture [`MalformedContentTypeWithGenericStringOutput`](crate::output::MalformedContentTypeWithGenericStringOutput).
|
1245 - | pub fn builder() -> crate::output::malformed_content_type_with_generic_string_output::Builder {
|
1246 - | crate::output::malformed_content_type_with_generic_string_output::Builder::default()
|
1176 + | impl OmitsNullSerializesEmptyStringOutput {
|
1177 + | /// Creates a new builder-style object to manufacture [`OmitsNullSerializesEmptyStringOutput`](crate::output::OmitsNullSerializesEmptyStringOutput).
|
1178 + | pub fn builder() -> crate::output::omits_null_serializes_empty_string_output::Builder {
|
1179 + | crate::output::omits_null_serializes_empty_string_output::Builder::default()
|
1247 1180 | }
|
1248 1181 | }
|
1249 1182 |
|
1250 1183 | #[::pyo3::pyclass]
|
1251 1184 | /// :rtype None:
|
1252 1185 | #[allow(missing_docs)] // documentation missing in model
|
1253 1186 | #[derive(
|
1254 1187 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1255 1188 | )]
|
1256 - | pub struct MalformedContentTypeWithPayloadOutput {}
|
1189 + | pub struct OmitsSerializingEmptyListsOutput {}
|
1257 1190 | #[allow(clippy::new_without_default)]
|
1258 1191 | #[allow(clippy::too_many_arguments)]
|
1259 1192 | #[::pyo3::pymethods]
|
1260 - | impl MalformedContentTypeWithPayloadOutput {
|
1193 + | impl OmitsSerializingEmptyListsOutput {
|
1261 1194 | #[new]
|
1262 1195 | pub fn new() -> Self {
|
1263 1196 | Self {}
|
1264 1197 | }
|
1265 1198 | fn __repr__(&self) -> String {
|
1266 1199 | format!("{self:?}")
|
1267 1200 | }
|
1268 1201 | fn __str__(&self) -> String {
|
1269 1202 | format!("{self:?}")
|
1270 1203 | }
|
1271 1204 | }
|
1272 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1273 - | for std::boxed::Box<MalformedContentTypeWithPayloadOutput>
|
1274 - | {
|
1205 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<OmitsSerializingEmptyListsOutput> {
|
1275 1206 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1276 - | ob.extract::<MalformedContentTypeWithPayloadOutput>()
|
1207 + | ob.extract::<OmitsSerializingEmptyListsOutput>()
|
1277 1208 | .map(Box::new)
|
1278 1209 | }
|
1279 1210 | }
|
1280 1211 |
|
1281 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedContentTypeWithPayloadOutput> {
|
1212 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OmitsSerializingEmptyListsOutput> {
|
1282 1213 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1283 1214 | (*self).into_py(py)
|
1284 1215 | }
|
1285 1216 | }
|
1286 - | impl MalformedContentTypeWithPayloadOutput {
|
1287 - | /// Creates a new builder-style object to manufacture [`MalformedContentTypeWithPayloadOutput`](crate::output::MalformedContentTypeWithPayloadOutput).
|
1288 - | pub fn builder() -> crate::output::malformed_content_type_with_payload_output::Builder {
|
1289 - | crate::output::malformed_content_type_with_payload_output::Builder::default()
|
1290 - | }
|
1291 - | }
|
1292 - |
|
1217 + | impl OmitsSerializingEmptyListsOutput {
|
1218 + | /// Creates a new builder-style object to manufacture [`OmitsSerializingEmptyListsOutput`](crate::output::OmitsSerializingEmptyListsOutput).
|
1219 + | pub fn builder() -> crate::output::omits_serializing_empty_lists_output::Builder {
|
1220 + | crate::output::omits_serializing_empty_lists_output::Builder::default()
|
1221 + | }
|
1222 + | }
|
1223 + |
|
1293 1224 | #[::pyo3::pyclass]
|
1294 1225 | /// :rtype None:
|
1295 1226 | #[allow(missing_docs)] // documentation missing in model
|
1296 1227 | #[derive(
|
1297 1228 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1298 1229 | )]
|
1299 - | pub struct MalformedContentTypeWithBodyOutput {}
|
1230 + | pub struct QueryIdempotencyTokenAutoFillOutput {}
|
1300 1231 | #[allow(clippy::new_without_default)]
|
1301 1232 | #[allow(clippy::too_many_arguments)]
|
1302 1233 | #[::pyo3::pymethods]
|
1303 - | impl MalformedContentTypeWithBodyOutput {
|
1234 + | impl QueryIdempotencyTokenAutoFillOutput {
|
1304 1235 | #[new]
|
1305 1236 | pub fn new() -> Self {
|
1306 1237 | Self {}
|
1307 1238 | }
|
1308 1239 | fn __repr__(&self) -> String {
|
1309 1240 | format!("{self:?}")
|
1310 1241 | }
|
1311 1242 | fn __str__(&self) -> String {
|
1312 1243 | format!("{self:?}")
|
1313 1244 | }
|
1314 1245 | }
|
1315 1246 | impl<'source> ::pyo3::FromPyObject<'source>
|
1316 - | for std::boxed::Box<MalformedContentTypeWithBodyOutput>
|
1247 + | for std::boxed::Box<QueryIdempotencyTokenAutoFillOutput>
|
1317 1248 | {
|
1318 1249 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1319 - | ob.extract::<MalformedContentTypeWithBodyOutput>()
|
1250 + | ob.extract::<QueryIdempotencyTokenAutoFillOutput>()
|
1320 1251 | .map(Box::new)
|
1321 1252 | }
|
1322 1253 | }
|
1323 1254 |
|
1324 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedContentTypeWithBodyOutput> {
|
1255 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<QueryIdempotencyTokenAutoFillOutput> {
|
1325 1256 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1326 1257 | (*self).into_py(py)
|
1327 1258 | }
|
1328 1259 | }
|
1329 - | impl MalformedContentTypeWithBodyOutput {
|
1330 - | /// Creates a new builder-style object to manufacture [`MalformedContentTypeWithBodyOutput`](crate::output::MalformedContentTypeWithBodyOutput).
|
1331 - | pub fn builder() -> crate::output::malformed_content_type_with_body_output::Builder {
|
1332 - | crate::output::malformed_content_type_with_body_output::Builder::default()
|
1260 + | impl QueryIdempotencyTokenAutoFillOutput {
|
1261 + | /// Creates a new builder-style object to manufacture [`QueryIdempotencyTokenAutoFillOutput`](crate::output::QueryIdempotencyTokenAutoFillOutput).
|
1262 + | pub fn builder() -> crate::output::query_idempotency_token_auto_fill_output::Builder {
|
1263 + | crate::output::query_idempotency_token_auto_fill_output::Builder::default()
|
1333 1264 | }
|
1334 1265 | }
|
1335 1266 |
|
1336 1267 | #[::pyo3::pyclass]
|
1337 1268 | /// :rtype None:
|
1338 1269 | #[allow(missing_docs)] // documentation missing in model
|
1339 1270 | #[derive(
|
1340 1271 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1341 1272 | )]
|
1342 - | pub struct MalformedContentTypeWithoutBodyEmptyInputOutput {}
|
1273 + | pub struct QueryPrecedenceOutput {}
|
1343 1274 | #[allow(clippy::new_without_default)]
|
1344 1275 | #[allow(clippy::too_many_arguments)]
|
1345 1276 | #[::pyo3::pymethods]
|
1346 - | impl MalformedContentTypeWithoutBodyEmptyInputOutput {
|
1277 + | impl QueryPrecedenceOutput {
|
1347 1278 | #[new]
|
1348 1279 | pub fn new() -> Self {
|
1349 1280 | Self {}
|
1350 1281 | }
|
1351 1282 | fn __repr__(&self) -> String {
|
1352 1283 | format!("{self:?}")
|
1353 1284 | }
|
1354 1285 | fn __str__(&self) -> String {
|
1355 1286 | format!("{self:?}")
|
1356 1287 | }
|
1357 1288 | }
|
1358 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1359 - | for std::boxed::Box<MalformedContentTypeWithoutBodyEmptyInputOutput>
|
1360 - | {
|
1289 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<QueryPrecedenceOutput> {
|
1361 1290 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1362 - | ob.extract::<MalformedContentTypeWithoutBodyEmptyInputOutput>()
|
1363 - | .map(Box::new)
|
1291 + | ob.extract::<QueryPrecedenceOutput>().map(Box::new)
|
1364 1292 | }
|
1365 1293 | }
|
1366 1294 |
|
1367 - | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
1368 - | for std::boxed::Box<MalformedContentTypeWithoutBodyEmptyInputOutput>
|
1369 - | {
|
1295 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<QueryPrecedenceOutput> {
|
1370 1296 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1371 1297 | (*self).into_py(py)
|
1372 1298 | }
|
1373 1299 | }
|
1374 - | impl MalformedContentTypeWithoutBodyEmptyInputOutput {
|
1375 - | /// Creates a new builder-style object to manufacture [`MalformedContentTypeWithoutBodyEmptyInputOutput`](crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput).
|
1376 - | pub fn builder(
|
1377 - | ) -> crate::output::malformed_content_type_without_body_empty_input_output::Builder {
|
1378 - | crate::output::malformed_content_type_without_body_empty_input_output::Builder::default()
|
1300 + | impl QueryPrecedenceOutput {
|
1301 + | /// Creates a new builder-style object to manufacture [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
1302 + | pub fn builder() -> crate::output::query_precedence_output::Builder {
|
1303 + | crate::output::query_precedence_output::Builder::default()
|
1379 1304 | }
|
1380 1305 | }
|
1381 1306 |
|
1382 1307 | #[::pyo3::pyclass]
|
1383 1308 | /// :rtype None:
|
1384 1309 | #[allow(missing_docs)] // documentation missing in model
|
1385 1310 | #[derive(
|
1386 1311 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1387 1312 | )]
|
1388 - | pub struct MalformedContentTypeWithoutBodyOutput {}
|
1313 + | pub struct HttpQueryParamsOnlyOperationOutput {}
|
1389 1314 | #[allow(clippy::new_without_default)]
|
1390 1315 | #[allow(clippy::too_many_arguments)]
|
1391 1316 | #[::pyo3::pymethods]
|
1392 - | impl MalformedContentTypeWithoutBodyOutput {
|
1317 + | impl HttpQueryParamsOnlyOperationOutput {
|
1393 1318 | #[new]
|
1394 1319 | pub fn new() -> Self {
|
1395 1320 | Self {}
|
1396 1321 | }
|
1397 1322 | fn __repr__(&self) -> String {
|
1398 1323 | format!("{self:?}")
|
1399 1324 | }
|
1400 1325 | fn __str__(&self) -> String {
|
1401 1326 | format!("{self:?}")
|
1402 1327 | }
|
1403 1328 | }
|
1404 1329 | impl<'source> ::pyo3::FromPyObject<'source>
|
1405 - | for std::boxed::Box<MalformedContentTypeWithoutBodyOutput>
|
1330 + | for std::boxed::Box<HttpQueryParamsOnlyOperationOutput>
|
1406 1331 | {
|
1407 1332 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1408 - | ob.extract::<MalformedContentTypeWithoutBodyOutput>()
|
1333 + | ob.extract::<HttpQueryParamsOnlyOperationOutput>()
|
1409 1334 | .map(Box::new)
|
1410 1335 | }
|
1411 1336 | }
|
1412 1337 |
|
1413 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedContentTypeWithoutBodyOutput> {
|
1338 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpQueryParamsOnlyOperationOutput> {
|
1414 1339 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1415 1340 | (*self).into_py(py)
|
1416 1341 | }
|
1417 1342 | }
|
1418 - | impl MalformedContentTypeWithoutBodyOutput {
|
1419 - | /// Creates a new builder-style object to manufacture [`MalformedContentTypeWithoutBodyOutput`](crate::output::MalformedContentTypeWithoutBodyOutput).
|
1420 - | pub fn builder() -> crate::output::malformed_content_type_without_body_output::Builder {
|
1421 - | crate::output::malformed_content_type_without_body_output::Builder::default()
|
1343 + | impl HttpQueryParamsOnlyOperationOutput {
|
1344 + | /// Creates a new builder-style object to manufacture [`HttpQueryParamsOnlyOperationOutput`](crate::output::HttpQueryParamsOnlyOperationOutput).
|
1345 + | pub fn builder() -> crate::output::http_query_params_only_operation_output::Builder {
|
1346 + | crate::output::http_query_params_only_operation_output::Builder::default()
|
1422 1347 | }
|
1423 1348 | }
|
1424 1349 |
|
1425 1350 | #[::pyo3::pyclass]
|
1426 1351 | /// :rtype None:
|
1427 1352 | #[allow(missing_docs)] // documentation missing in model
|
1428 1353 | #[derive(
|
1429 1354 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1430 1355 | )]
|
1431 - | pub struct MalformedTimestampBodyHttpDateOutput {}
|
1356 + | pub struct QueryParamsAsStringListMapOutput {}
|
1432 1357 | #[allow(clippy::new_without_default)]
|
1433 1358 | #[allow(clippy::too_many_arguments)]
|
1434 1359 | #[::pyo3::pymethods]
|
1435 - | impl MalformedTimestampBodyHttpDateOutput {
|
1360 + | impl QueryParamsAsStringListMapOutput {
|
1436 1361 | #[new]
|
1437 1362 | pub fn new() -> Self {
|
1438 1363 | Self {}
|
1439 1364 | }
|
1440 1365 | fn __repr__(&self) -> String {
|
1441 1366 | format!("{self:?}")
|
1442 1367 | }
|
1443 1368 | fn __str__(&self) -> String {
|
1444 1369 | format!("{self:?}")
|
1445 1370 | }
|
1446 1371 | }
|
1447 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1448 - | for std::boxed::Box<MalformedTimestampBodyHttpDateOutput>
|
1449 - | {
|
1372 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<QueryParamsAsStringListMapOutput> {
|
1450 1373 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1451 - | ob.extract::<MalformedTimestampBodyHttpDateOutput>()
|
1374 + | ob.extract::<QueryParamsAsStringListMapOutput>()
|
1452 1375 | .map(Box::new)
|
1453 1376 | }
|
1454 1377 | }
|
1455 1378 |
|
1456 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampBodyHttpDateOutput> {
|
1379 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<QueryParamsAsStringListMapOutput> {
|
1457 1380 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1458 1381 | (*self).into_py(py)
|
1459 1382 | }
|
1460 1383 | }
|
1461 - | impl MalformedTimestampBodyHttpDateOutput {
|
1462 - | /// Creates a new builder-style object to manufacture [`MalformedTimestampBodyHttpDateOutput`](crate::output::MalformedTimestampBodyHttpDateOutput).
|
1463 - | pub fn builder() -> crate::output::malformed_timestamp_body_http_date_output::Builder {
|
1464 - | crate::output::malformed_timestamp_body_http_date_output::Builder::default()
|
1384 + | impl QueryParamsAsStringListMapOutput {
|
1385 + | /// Creates a new builder-style object to manufacture [`QueryParamsAsStringListMapOutput`](crate::output::QueryParamsAsStringListMapOutput).
|
1386 + | pub fn builder() -> crate::output::query_params_as_string_list_map_output::Builder {
|
1387 + | crate::output::query_params_as_string_list_map_output::Builder::default()
|
1465 1388 | }
|
1466 1389 | }
|
1467 1390 |
|
1468 1391 | #[::pyo3::pyclass]
|
1392 + | /// :param foo typing.Optional\[str\]:
|
1393 + | /// :param foo_map typing.Optional\[typing.Dict\[str, str\]\]:
|
1469 1394 | /// :rtype None:
|
1470 1395 | #[allow(missing_docs)] // documentation missing in model
|
1471 - | #[derive(
|
1472 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1473 - | )]
|
1474 - | pub struct MalformedTimestampBodyDateTimeOutput {}
|
1396 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1397 + | pub struct HttpPrefixHeadersOutput {
|
1398 + | #[pyo3(get, set)]
|
1399 + | /// :type typing.Optional\[str\]:
|
1400 + | #[allow(missing_docs)] // documentation missing in model
|
1401 + | pub foo: ::std::option::Option<::std::string::String>,
|
1402 + | #[pyo3(get, set)]
|
1403 + | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
1404 + | #[allow(missing_docs)] // documentation missing in model
|
1405 + | pub foo_map: ::std::option::Option<
|
1406 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1407 + | >,
|
1408 + | }
|
1409 + | impl HttpPrefixHeadersOutput {
|
1410 + | #[allow(missing_docs)] // documentation missing in model
|
1411 + | pub fn foo(&self) -> ::std::option::Option<&str> {
|
1412 + | self.foo.as_deref()
|
1413 + | }
|
1414 + | #[allow(missing_docs)] // documentation missing in model
|
1415 + | pub fn foo_map(
|
1416 + | &self,
|
1417 + | ) -> ::std::option::Option<
|
1418 + | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1419 + | > {
|
1420 + | self.foo_map.as_ref()
|
1421 + | }
|
1422 + | }
|
1475 1423 | #[allow(clippy::new_without_default)]
|
1476 1424 | #[allow(clippy::too_many_arguments)]
|
1477 1425 | #[::pyo3::pymethods]
|
1478 - | impl MalformedTimestampBodyDateTimeOutput {
|
1426 + | impl HttpPrefixHeadersOutput {
|
1479 1427 | #[new]
|
1480 - | pub fn new() -> Self {
|
1481 - | Self {}
|
1428 + | pub fn new(
|
1429 + | foo: ::std::option::Option<::std::string::String>,
|
1430 + | foo_map: ::std::option::Option<
|
1431 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1432 + | >,
|
1433 + | ) -> Self {
|
1434 + | Self { foo, foo_map }
|
1482 1435 | }
|
1483 1436 | fn __repr__(&self) -> String {
|
1484 1437 | format!("{self:?}")
|
1485 1438 | }
|
1486 1439 | fn __str__(&self) -> String {
|
1487 1440 | format!("{self:?}")
|
1488 1441 | }
|
1489 1442 | }
|
1490 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1491 - | for std::boxed::Box<MalformedTimestampBodyDateTimeOutput>
|
1492 - | {
|
1443 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpPrefixHeadersOutput> {
|
1493 1444 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1494 - | ob.extract::<MalformedTimestampBodyDateTimeOutput>()
|
1495 - | .map(Box::new)
|
1445 + | ob.extract::<HttpPrefixHeadersOutput>().map(Box::new)
|
1496 1446 | }
|
1497 1447 | }
|
1498 1448 |
|
1499 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampBodyDateTimeOutput> {
|
1449 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpPrefixHeadersOutput> {
|
1500 1450 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1501 1451 | (*self).into_py(py)
|
1502 1452 | }
|
1503 1453 | }
|
1504 - | impl MalformedTimestampBodyDateTimeOutput {
|
1505 - | /// Creates a new builder-style object to manufacture [`MalformedTimestampBodyDateTimeOutput`](crate::output::MalformedTimestampBodyDateTimeOutput).
|
1506 - | pub fn builder() -> crate::output::malformed_timestamp_body_date_time_output::Builder {
|
1507 - | crate::output::malformed_timestamp_body_date_time_output::Builder::default()
|
1454 + | impl HttpPrefixHeadersOutput {
|
1455 + | /// Creates a new builder-style object to manufacture [`HttpPrefixHeadersOutput`](crate::output::HttpPrefixHeadersOutput).
|
1456 + | pub fn builder() -> crate::output::http_prefix_headers_output::Builder {
|
1457 + | crate::output::http_prefix_headers_output::Builder::default()
|
1508 1458 | }
|
1509 1459 | }
|
1510 1460 |
|
1511 1461 | #[::pyo3::pyclass]
|
1462 + | /// :param prefix_headers typing.Optional\[typing.Dict\[str, str\]\]:
|
1512 1463 | /// :rtype None:
|
1513 1464 | #[allow(missing_docs)] // documentation missing in model
|
1514 - | #[derive(
|
1515 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1516 - | )]
|
1517 - | pub struct MalformedTimestampBodyDefaultOutput {}
|
1465 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1466 + | pub struct HttpPrefixHeadersInResponseOutput {
|
1467 + | #[pyo3(get, set)]
|
1468 + | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
1469 + | #[allow(missing_docs)] // documentation missing in model
|
1470 + | pub prefix_headers: ::std::option::Option<
|
1471 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1472 + | >,
|
1473 + | }
|
1474 + | impl HttpPrefixHeadersInResponseOutput {
|
1475 + | #[allow(missing_docs)] // documentation missing in model
|
1476 + | pub fn prefix_headers(
|
1477 + | &self,
|
1478 + | ) -> ::std::option::Option<
|
1479 + | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1480 + | > {
|
1481 + | self.prefix_headers.as_ref()
|
1482 + | }
|
1483 + | }
|
1518 1484 | #[allow(clippy::new_without_default)]
|
1519 1485 | #[allow(clippy::too_many_arguments)]
|
1520 1486 | #[::pyo3::pymethods]
|
1521 - | impl MalformedTimestampBodyDefaultOutput {
|
1487 + | impl HttpPrefixHeadersInResponseOutput {
|
1522 1488 | #[new]
|
1523 - | pub fn new() -> Self {
|
1524 - | Self {}
|
1489 + | pub fn new(
|
1490 + | prefix_headers: ::std::option::Option<
|
1491 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1492 + | >,
|
1493 + | ) -> Self {
|
1494 + | Self { prefix_headers }
|
1525 1495 | }
|
1526 1496 | fn __repr__(&self) -> String {
|
1527 1497 | format!("{self:?}")
|
1528 1498 | }
|
1529 1499 | fn __str__(&self) -> String {
|
1530 1500 | format!("{self:?}")
|
1531 1501 | }
|
1532 1502 | }
|
1533 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1534 - | for std::boxed::Box<MalformedTimestampBodyDefaultOutput>
|
1535 - | {
|
1503 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpPrefixHeadersInResponseOutput> {
|
1536 1504 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1537 - | ob.extract::<MalformedTimestampBodyDefaultOutput>()
|
1505 + | ob.extract::<HttpPrefixHeadersInResponseOutput>()
|
1538 1506 | .map(Box::new)
|
1539 1507 | }
|
1540 1508 | }
|
1541 1509 |
|
1542 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampBodyDefaultOutput> {
|
1510 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpPrefixHeadersInResponseOutput> {
|
1543 1511 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1544 1512 | (*self).into_py(py)
|
1545 1513 | }
|
1546 1514 | }
|
1547 - | impl MalformedTimestampBodyDefaultOutput {
|
1548 - | /// Creates a new builder-style object to manufacture [`MalformedTimestampBodyDefaultOutput`](crate::output::MalformedTimestampBodyDefaultOutput).
|
1549 - | pub fn builder() -> crate::output::malformed_timestamp_body_default_output::Builder {
|
1550 - | crate::output::malformed_timestamp_body_default_output::Builder::default()
|
1515 + | impl HttpPrefixHeadersInResponseOutput {
|
1516 + | /// Creates a new builder-style object to manufacture [`HttpPrefixHeadersInResponseOutput`](crate::output::HttpPrefixHeadersInResponseOutput).
|
1517 + | pub fn builder() -> crate::output::http_prefix_headers_in_response_output::Builder {
|
1518 + | crate::output::http_prefix_headers_in_response_output::Builder::default()
|
1551 1519 | }
|
1552 1520 | }
|
1553 1521 |
|
1554 1522 | #[::pyo3::pyclass]
|
1523 + | /// :param prefix_headers typing.Optional\[typing.Dict\[str, str\]\]:
|
1524 + | /// :param specific_header typing.Optional\[str\]:
|
1555 1525 | /// :rtype None:
|
1556 1526 | #[allow(missing_docs)] // documentation missing in model
|
1557 - | #[derive(
|
1558 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1559 - | )]
|
1560 - | pub struct MalformedTimestampHeaderEpochOutput {}
|
1527 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
1528 + | pub struct HttpEmptyPrefixHeadersOutput {
|
1529 + | #[pyo3(get, set)]
|
1530 + | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
1531 + | #[allow(missing_docs)] // documentation missing in model
|
1532 + | pub prefix_headers: ::std::option::Option<
|
1533 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1534 + | >,
|
1535 + | #[pyo3(get, set)]
|
1536 + | /// :type typing.Optional\[str\]:
|
1537 + | #[allow(missing_docs)] // documentation missing in model
|
1538 + | pub specific_header: ::std::option::Option<::std::string::String>,
|
1539 + | }
|
1540 + | impl HttpEmptyPrefixHeadersOutput {
|
1541 + | #[allow(missing_docs)] // documentation missing in model
|
1542 + | pub fn prefix_headers(
|
1543 + | &self,
|
1544 + | ) -> ::std::option::Option<
|
1545 + | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1546 + | > {
|
1547 + | self.prefix_headers.as_ref()
|
1548 + | }
|
1549 + | #[allow(missing_docs)] // documentation missing in model
|
1550 + | pub fn specific_header(&self) -> ::std::option::Option<&str> {
|
1551 + | self.specific_header.as_deref()
|
1552 + | }
|
1553 + | }
|
1561 1554 | #[allow(clippy::new_without_default)]
|
1562 1555 | #[allow(clippy::too_many_arguments)]
|
1563 1556 | #[::pyo3::pymethods]
|
1564 - | impl MalformedTimestampHeaderEpochOutput {
|
1557 + | impl HttpEmptyPrefixHeadersOutput {
|
1565 1558 | #[new]
|
1566 - | pub fn new() -> Self {
|
1567 - | Self {}
|
1559 + | pub fn new(
|
1560 + | prefix_headers: ::std::option::Option<
|
1561 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
1562 + | >,
|
1563 + | specific_header: ::std::option::Option<::std::string::String>,
|
1564 + | ) -> Self {
|
1565 + | Self {
|
1566 + | prefix_headers,
|
1567 + | specific_header,
|
1568 + | }
|
1568 1569 | }
|
1569 1570 | fn __repr__(&self) -> String {
|
1570 1571 | format!("{self:?}")
|
1571 1572 | }
|
1572 1573 | fn __str__(&self) -> String {
|
1573 1574 | format!("{self:?}")
|
1574 1575 | }
|
1575 1576 | }
|
1576 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1577 - | for std::boxed::Box<MalformedTimestampHeaderEpochOutput>
|
1578 - | {
|
1577 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpEmptyPrefixHeadersOutput> {
|
1579 1578 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1580 - | ob.extract::<MalformedTimestampHeaderEpochOutput>()
|
1581 - | .map(Box::new)
|
1579 + | ob.extract::<HttpEmptyPrefixHeadersOutput>().map(Box::new)
|
1582 1580 | }
|
1583 1581 | }
|
1584 1582 |
|
1585 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampHeaderEpochOutput> {
|
1583 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpEmptyPrefixHeadersOutput> {
|
1586 1584 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1587 1585 | (*self).into_py(py)
|
1588 1586 | }
|
1589 1587 | }
|
1590 - | impl MalformedTimestampHeaderEpochOutput {
|
1591 - | /// Creates a new builder-style object to manufacture [`MalformedTimestampHeaderEpochOutput`](crate::output::MalformedTimestampHeaderEpochOutput).
|
1592 - | pub fn builder() -> crate::output::malformed_timestamp_header_epoch_output::Builder {
|
1593 - | crate::output::malformed_timestamp_header_epoch_output::Builder::default()
|
1588 + | impl HttpEmptyPrefixHeadersOutput {
|
1589 + | /// Creates a new builder-style object to manufacture [`HttpEmptyPrefixHeadersOutput`](crate::output::HttpEmptyPrefixHeadersOutput).
|
1590 + | pub fn builder() -> crate::output::http_empty_prefix_headers_output::Builder {
|
1591 + | crate::output::http_empty_prefix_headers_output::Builder::default()
|
1594 1592 | }
|
1595 1593 | }
|
1596 1594 |
|
1597 1595 | #[::pyo3::pyclass]
|
1596 + | /// :param foo typing.Optional\[str\]:
|
1597 + | /// :param blob typing.Optional\[rest_json.types.Blob\]:
|
1598 1598 | /// :rtype None:
|
1599 1599 | #[allow(missing_docs)] // documentation missing in model
|
1600 1600 | #[derive(
|
1601 1601 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1602 1602 | )]
|
1603 - | pub struct MalformedTimestampHeaderDateTimeOutput {}
|
1603 + | pub struct HttpPayloadTraitsOutput {
|
1604 + | #[pyo3(get, set)]
|
1605 + | /// :type typing.Optional\[str\]:
|
1606 + | #[allow(missing_docs)] // documentation missing in model
|
1607 + | pub foo: ::std::option::Option<::std::string::String>,
|
1608 + | #[pyo3(get, set)]
|
1609 + | /// :type typing.Optional\[rest_json.types.Blob\]:
|
1610 + | #[allow(missing_docs)] // documentation missing in model
|
1611 + | pub blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1612 + | }
|
1613 + | impl HttpPayloadTraitsOutput {
|
1614 + | #[allow(missing_docs)] // documentation missing in model
|
1615 + | pub fn foo(&self) -> ::std::option::Option<&str> {
|
1616 + | self.foo.as_deref()
|
1617 + | }
|
1618 + | #[allow(missing_docs)] // documentation missing in model
|
1619 + | pub fn blob(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
1620 + | self.blob.as_ref()
|
1621 + | }
|
1622 + | }
|
1604 1623 | #[allow(clippy::new_without_default)]
|
1605 1624 | #[allow(clippy::too_many_arguments)]
|
1606 1625 | #[::pyo3::pymethods]
|
1607 - | impl MalformedTimestampHeaderDateTimeOutput {
|
1626 + | impl HttpPayloadTraitsOutput {
|
1608 1627 | #[new]
|
1609 - | pub fn new() -> Self {
|
1610 - | Self {}
|
1628 + | pub fn new(
|
1629 + | foo: ::std::option::Option<::std::string::String>,
|
1630 + | blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1631 + | ) -> Self {
|
1632 + | Self { foo, blob }
|
1611 1633 | }
|
1612 1634 | fn __repr__(&self) -> String {
|
1613 1635 | format!("{self:?}")
|
1614 1636 | }
|
1615 1637 | fn __str__(&self) -> String {
|
1616 1638 | format!("{self:?}")
|
1617 1639 | }
|
1618 1640 | }
|
1619 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1620 - | for std::boxed::Box<MalformedTimestampHeaderDateTimeOutput>
|
1621 - | {
|
1641 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpPayloadTraitsOutput> {
|
1622 1642 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1623 - | ob.extract::<MalformedTimestampHeaderDateTimeOutput>()
|
1624 - | .map(Box::new)
|
1643 + | ob.extract::<HttpPayloadTraitsOutput>().map(Box::new)
|
1625 1644 | }
|
1626 1645 | }
|
1627 1646 |
|
1628 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampHeaderDateTimeOutput> {
|
1647 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpPayloadTraitsOutput> {
|
1629 1648 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1630 1649 | (*self).into_py(py)
|
1631 1650 | }
|
1632 1651 | }
|
1633 - | impl MalformedTimestampHeaderDateTimeOutput {
|
1634 - | /// Creates a new builder-style object to manufacture [`MalformedTimestampHeaderDateTimeOutput`](crate::output::MalformedTimestampHeaderDateTimeOutput).
|
1635 - | pub fn builder() -> crate::output::malformed_timestamp_header_date_time_output::Builder {
|
1636 - | crate::output::malformed_timestamp_header_date_time_output::Builder::default()
|
1652 + | impl HttpPayloadTraitsOutput {
|
1653 + | /// Creates a new builder-style object to manufacture [`HttpPayloadTraitsOutput`](crate::output::HttpPayloadTraitsOutput).
|
1654 + | pub fn builder() -> crate::output::http_payload_traits_output::Builder {
|
1655 + | crate::output::http_payload_traits_output::Builder::default()
|
1637 1656 | }
|
1638 1657 | }
|
1639 1658 |
|
1640 1659 | #[::pyo3::pyclass]
|
1660 + | /// :param foo typing.Optional\[str\]:
|
1661 + | /// :param blob typing.Optional\[rest_json.types.Blob\]:
|
1641 1662 | /// :rtype None:
|
1642 1663 | #[allow(missing_docs)] // documentation missing in model
|
1643 1664 | #[derive(
|
1644 1665 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1645 1666 | )]
|
1646 - | pub struct MalformedTimestampHeaderDefaultOutput {}
|
1667 + | pub struct HttpPayloadTraitsWithMediaTypeOutput {
|
1668 + | #[pyo3(get, set)]
|
1669 + | /// :type typing.Optional\[str\]:
|
1670 + | #[allow(missing_docs)] // documentation missing in model
|
1671 + | pub foo: ::std::option::Option<::std::string::String>,
|
1672 + | #[pyo3(get, set)]
|
1673 + | /// :type typing.Optional\[rest_json.types.Blob\]:
|
1674 + | #[allow(missing_docs)] // documentation missing in model
|
1675 + | pub blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1676 + | }
|
1677 + | impl HttpPayloadTraitsWithMediaTypeOutput {
|
1678 + | #[allow(missing_docs)] // documentation missing in model
|
1679 + | pub fn foo(&self) -> ::std::option::Option<&str> {
|
1680 + | self.foo.as_deref()
|
1681 + | }
|
1682 + | #[allow(missing_docs)] // documentation missing in model
|
1683 + | pub fn blob(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
1684 + | self.blob.as_ref()
|
1685 + | }
|
1686 + | }
|
1647 1687 | #[allow(clippy::new_without_default)]
|
1648 1688 | #[allow(clippy::too_many_arguments)]
|
1649 1689 | #[::pyo3::pymethods]
|
1650 - | impl MalformedTimestampHeaderDefaultOutput {
|
1690 + | impl HttpPayloadTraitsWithMediaTypeOutput {
|
1651 1691 | #[new]
|
1652 - | pub fn new() -> Self {
|
1653 - | Self {}
|
1692 + | pub fn new(
|
1693 + | foo: ::std::option::Option<::std::string::String>,
|
1694 + | blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
1695 + | ) -> Self {
|
1696 + | Self { foo, blob }
|
1654 1697 | }
|
1655 1698 | fn __repr__(&self) -> String {
|
1656 1699 | format!("{self:?}")
|
1657 1700 | }
|
1658 1701 | fn __str__(&self) -> String {
|
1659 1702 | format!("{self:?}")
|
1660 1703 | }
|
1661 1704 | }
|
1662 1705 | impl<'source> ::pyo3::FromPyObject<'source>
|
1663 - | for std::boxed::Box<MalformedTimestampHeaderDefaultOutput>
|
1706 + | for std::boxed::Box<HttpPayloadTraitsWithMediaTypeOutput>
|
1664 1707 | {
|
1665 1708 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1666 - | ob.extract::<MalformedTimestampHeaderDefaultOutput>()
|
1709 + | ob.extract::<HttpPayloadTraitsWithMediaTypeOutput>()
|
1667 1710 | .map(Box::new)
|
1668 1711 | }
|
1669 1712 | }
|
1670 1713 |
|
1671 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampHeaderDefaultOutput> {
|
1714 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpPayloadTraitsWithMediaTypeOutput> {
|
1672 1715 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1673 1716 | (*self).into_py(py)
|
1674 1717 | }
|
1675 1718 | }
|
1676 - | impl MalformedTimestampHeaderDefaultOutput {
|
1677 - | /// Creates a new builder-style object to manufacture [`MalformedTimestampHeaderDefaultOutput`](crate::output::MalformedTimestampHeaderDefaultOutput).
|
1678 - | pub fn builder() -> crate::output::malformed_timestamp_header_default_output::Builder {
|
1679 - | crate::output::malformed_timestamp_header_default_output::Builder::default()
|
1719 + | impl HttpPayloadTraitsWithMediaTypeOutput {
|
1720 + | /// Creates a new builder-style object to manufacture [`HttpPayloadTraitsWithMediaTypeOutput`](crate::output::HttpPayloadTraitsWithMediaTypeOutput).
|
1721 + | pub fn builder() -> crate::output::http_payload_traits_with_media_type_output::Builder {
|
1722 + | crate::output::http_payload_traits_with_media_type_output::Builder::default()
|
1680 1723 | }
|
1681 1724 | }
|
1682 1725 |
|
1683 1726 | #[::pyo3::pyclass]
|
1727 + | /// :param nested typing.Optional\[rest_json.model.NestedPayload\]:
|
1684 1728 | /// :rtype None:
|
1685 1729 | #[allow(missing_docs)] // documentation missing in model
|
1686 1730 | #[derive(
|
1687 1731 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1688 1732 | )]
|
1689 - | pub struct MalformedTimestampQueryEpochOutput {}
|
1733 + | pub struct HttpPayloadWithStructureOutput {
|
1734 + | #[pyo3(get, set)]
|
1735 + | /// :type typing.Optional\[rest_json.model.NestedPayload\]:
|
1736 + | #[allow(missing_docs)] // documentation missing in model
|
1737 + | pub nested: ::std::option::Option<crate::model::NestedPayload>,
|
1738 + | }
|
1739 + | impl HttpPayloadWithStructureOutput {
|
1740 + | #[allow(missing_docs)] // documentation missing in model
|
1741 + | pub fn nested(&self) -> ::std::option::Option<&crate::model::NestedPayload> {
|
1742 + | self.nested.as_ref()
|
1743 + | }
|
1744 + | }
|
1690 1745 | #[allow(clippy::new_without_default)]
|
1691 1746 | #[allow(clippy::too_many_arguments)]
|
1692 1747 | #[::pyo3::pymethods]
|
1693 - | impl MalformedTimestampQueryEpochOutput {
|
1748 + | impl HttpPayloadWithStructureOutput {
|
1694 1749 | #[new]
|
1695 - | pub fn new() -> Self {
|
1696 - | Self {}
|
1750 + | pub fn new(nested: ::std::option::Option<crate::model::NestedPayload>) -> Self {
|
1751 + | Self { nested }
|
1697 1752 | }
|
1698 1753 | fn __repr__(&self) -> String {
|
1699 1754 | format!("{self:?}")
|
1700 1755 | }
|
1701 1756 | fn __str__(&self) -> String {
|
1702 1757 | format!("{self:?}")
|
1703 1758 | }
|
1704 1759 | }
|
1705 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1706 - | for std::boxed::Box<MalformedTimestampQueryEpochOutput>
|
1707 - | {
|
1760 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpPayloadWithStructureOutput> {
|
1708 1761 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1709 - | ob.extract::<MalformedTimestampQueryEpochOutput>()
|
1710 - | .map(Box::new)
|
1762 + | ob.extract::<HttpPayloadWithStructureOutput>().map(Box::new)
|
1711 1763 | }
|
1712 1764 | }
|
1713 1765 |
|
1714 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampQueryEpochOutput> {
|
1766 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpPayloadWithStructureOutput> {
|
1715 1767 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1716 1768 | (*self).into_py(py)
|
1717 1769 | }
|
1718 1770 | }
|
1719 - | impl MalformedTimestampQueryEpochOutput {
|
1720 - | /// Creates a new builder-style object to manufacture [`MalformedTimestampQueryEpochOutput`](crate::output::MalformedTimestampQueryEpochOutput).
|
1721 - | pub fn builder() -> crate::output::malformed_timestamp_query_epoch_output::Builder {
|
1722 - | crate::output::malformed_timestamp_query_epoch_output::Builder::default()
|
1771 + | impl HttpPayloadWithStructureOutput {
|
1772 + | /// Creates a new builder-style object to manufacture [`HttpPayloadWithStructureOutput`](crate::output::HttpPayloadWithStructureOutput).
|
1773 + | pub fn builder() -> crate::output::http_payload_with_structure_output::Builder {
|
1774 + | crate::output::http_payload_with_structure_output::Builder::default()
|
1723 1775 | }
|
1724 1776 | }
|
1725 1777 |
|
1726 1778 | #[::pyo3::pyclass]
|
1779 + | /// :param payload typing.Optional\[rest_json.model.StringEnum\]:
|
1727 1780 | /// :rtype None:
|
1728 1781 | #[allow(missing_docs)] // documentation missing in model
|
1729 1782 | #[derive(
|
1730 1783 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1731 1784 | )]
|
1732 - | pub struct MalformedTimestampQueryHttpDateOutput {}
|
1785 + | pub struct HttpEnumPayloadOutput {
|
1786 + | #[pyo3(get, set)]
|
1787 + | /// :type typing.Optional\[rest_json.model.StringEnum\]:
|
1788 + | #[allow(missing_docs)] // documentation missing in model
|
1789 + | pub payload: ::std::option::Option<crate::model::StringEnum>,
|
1790 + | }
|
1791 + | impl HttpEnumPayloadOutput {
|
1792 + | #[allow(missing_docs)] // documentation missing in model
|
1793 + | pub fn payload(&self) -> ::std::option::Option<&crate::model::StringEnum> {
|
1794 + | self.payload.as_ref()
|
1795 + | }
|
1796 + | }
|
1733 1797 | #[allow(clippy::new_without_default)]
|
1734 1798 | #[allow(clippy::too_many_arguments)]
|
1735 1799 | #[::pyo3::pymethods]
|
1736 - | impl MalformedTimestampQueryHttpDateOutput {
|
1800 + | impl HttpEnumPayloadOutput {
|
1737 1801 | #[new]
|
1738 - | pub fn new() -> Self {
|
1739 - | Self {}
|
1802 + | pub fn new(payload: ::std::option::Option<crate::model::StringEnum>) -> Self {
|
1803 + | Self { payload }
|
1740 1804 | }
|
1741 1805 | fn __repr__(&self) -> String {
|
1742 1806 | format!("{self:?}")
|
1743 1807 | }
|
1744 1808 | fn __str__(&self) -> String {
|
1745 1809 | format!("{self:?}")
|
1746 1810 | }
|
1747 1811 | }
|
1748 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1749 - | for std::boxed::Box<MalformedTimestampQueryHttpDateOutput>
|
1750 - | {
|
1812 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpEnumPayloadOutput> {
|
1751 1813 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1752 - | ob.extract::<MalformedTimestampQueryHttpDateOutput>()
|
1753 - | .map(Box::new)
|
1814 + | ob.extract::<HttpEnumPayloadOutput>().map(Box::new)
|
1754 1815 | }
|
1755 1816 | }
|
1756 1817 |
|
1757 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampQueryHttpDateOutput> {
|
1818 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpEnumPayloadOutput> {
|
1758 1819 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1759 1820 | (*self).into_py(py)
|
1760 1821 | }
|
1761 1822 | }
|
1762 - | impl MalformedTimestampQueryHttpDateOutput {
|
1763 - | /// Creates a new builder-style object to manufacture [`MalformedTimestampQueryHttpDateOutput`](crate::output::MalformedTimestampQueryHttpDateOutput).
|
1764 - | pub fn builder() -> crate::output::malformed_timestamp_query_http_date_output::Builder {
|
1765 - | crate::output::malformed_timestamp_query_http_date_output::Builder::default()
|
1823 + | impl HttpEnumPayloadOutput {
|
1824 + | /// Creates a new builder-style object to manufacture [`HttpEnumPayloadOutput`](crate::output::HttpEnumPayloadOutput).
|
1825 + | pub fn builder() -> crate::output::http_enum_payload_output::Builder {
|
1826 + | crate::output::http_enum_payload_output::Builder::default()
|
1766 1827 | }
|
1767 1828 | }
|
1768 1829 |
|
1769 1830 | #[::pyo3::pyclass]
|
1831 + | /// :param payload typing.Optional\[str\]:
|
1770 1832 | /// :rtype None:
|
1771 1833 | #[allow(missing_docs)] // documentation missing in model
|
1772 1834 | #[derive(
|
1773 1835 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1774 1836 | )]
|
1775 - | pub struct MalformedTimestampQueryDefaultOutput {}
|
1837 + | pub struct HttpStringPayloadOutput {
|
1838 + | #[pyo3(get, set)]
|
1839 + | /// :type typing.Optional\[str\]:
|
1840 + | #[allow(missing_docs)] // documentation missing in model
|
1841 + | pub payload: ::std::option::Option<::std::string::String>,
|
1842 + | }
|
1843 + | impl HttpStringPayloadOutput {
|
1844 + | #[allow(missing_docs)] // documentation missing in model
|
1845 + | pub fn payload(&self) -> ::std::option::Option<&str> {
|
1846 + | self.payload.as_deref()
|
1847 + | }
|
1848 + | }
|
1776 1849 | #[allow(clippy::new_without_default)]
|
1777 1850 | #[allow(clippy::too_many_arguments)]
|
1778 1851 | #[::pyo3::pymethods]
|
1779 - | impl MalformedTimestampQueryDefaultOutput {
|
1852 + | impl HttpStringPayloadOutput {
|
1780 1853 | #[new]
|
1781 - | pub fn new() -> Self {
|
1782 - | Self {}
|
1854 + | pub fn new(payload: ::std::option::Option<::std::string::String>) -> Self {
|
1855 + | Self { payload }
|
1783 1856 | }
|
1784 1857 | fn __repr__(&self) -> String {
|
1785 1858 | format!("{self:?}")
|
1786 1859 | }
|
1787 1860 | fn __str__(&self) -> String {
|
1788 1861 | format!("{self:?}")
|
1789 1862 | }
|
1790 1863 | }
|
1791 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1792 - | for std::boxed::Box<MalformedTimestampQueryDefaultOutput>
|
1793 - | {
|
1864 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpStringPayloadOutput> {
|
1794 1865 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1795 - | ob.extract::<MalformedTimestampQueryDefaultOutput>()
|
1796 - | .map(Box::new)
|
1866 + | ob.extract::<HttpStringPayloadOutput>().map(Box::new)
|
1797 1867 | }
|
1798 1868 | }
|
1799 1869 |
|
1800 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampQueryDefaultOutput> {
|
1870 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpStringPayloadOutput> {
|
1801 1871 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1802 1872 | (*self).into_py(py)
|
1803 1873 | }
|
1804 1874 | }
|
1805 - | impl MalformedTimestampQueryDefaultOutput {
|
1806 - | /// Creates a new builder-style object to manufacture [`MalformedTimestampQueryDefaultOutput`](crate::output::MalformedTimestampQueryDefaultOutput).
|
1807 - | pub fn builder() -> crate::output::malformed_timestamp_query_default_output::Builder {
|
1808 - | crate::output::malformed_timestamp_query_default_output::Builder::default()
|
1875 + | impl HttpStringPayloadOutput {
|
1876 + | /// Creates a new builder-style object to manufacture [`HttpStringPayloadOutput`](crate::output::HttpStringPayloadOutput).
|
1877 + | pub fn builder() -> crate::output::http_string_payload_output::Builder {
|
1878 + | crate::output::http_string_payload_output::Builder::default()
|
1809 1879 | }
|
1810 1880 | }
|
1811 1881 |
|
1812 1882 | #[::pyo3::pyclass]
|
1883 + | /// :param nested typing.Optional\[rest_json.model.UnionPayload\]:
|
1813 1884 | /// :rtype None:
|
1814 1885 | #[allow(missing_docs)] // documentation missing in model
|
1815 1886 | #[derive(
|
1816 1887 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1817 1888 | )]
|
1818 - | pub struct MalformedTimestampPathEpochOutput {}
|
1889 + | pub struct HttpPayloadWithUnionOutput {
|
1890 + | #[pyo3(get, set)]
|
1891 + | /// :type typing.Optional\[rest_json.model.UnionPayload\]:
|
1892 + | #[allow(missing_docs)] // documentation missing in model
|
1893 + | pub nested: ::std::option::Option<crate::model::UnionPayload>,
|
1894 + | }
|
1895 + | impl HttpPayloadWithUnionOutput {
|
1896 + | #[allow(missing_docs)] // documentation missing in model
|
1897 + | pub fn nested(&self) -> ::std::option::Option<&crate::model::UnionPayload> {
|
1898 + | self.nested.as_ref()
|
1899 + | }
|
1900 + | }
|
1819 1901 | #[allow(clippy::new_without_default)]
|
1820 1902 | #[allow(clippy::too_many_arguments)]
|
1821 1903 | #[::pyo3::pymethods]
|
1822 - | impl MalformedTimestampPathEpochOutput {
|
1904 + | impl HttpPayloadWithUnionOutput {
|
1823 1905 | #[new]
|
1824 - | pub fn new() -> Self {
|
1825 - | Self {}
|
1906 + | pub fn new(nested: ::std::option::Option<crate::model::UnionPayload>) -> Self {
|
1907 + | Self { nested }
|
1826 1908 | }
|
1827 1909 | fn __repr__(&self) -> String {
|
1828 1910 | format!("{self:?}")
|
1829 1911 | }
|
1830 1912 | fn __str__(&self) -> String {
|
1831 1913 | format!("{self:?}")
|
1832 1914 | }
|
1833 1915 | }
|
1834 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedTimestampPathEpochOutput> {
|
1916 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpPayloadWithUnionOutput> {
|
1835 1917 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1836 - | ob.extract::<MalformedTimestampPathEpochOutput>()
|
1837 - | .map(Box::new)
|
1918 + | ob.extract::<HttpPayloadWithUnionOutput>().map(Box::new)
|
1838 1919 | }
|
1839 1920 | }
|
1840 1921 |
|
1841 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampPathEpochOutput> {
|
1922 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpPayloadWithUnionOutput> {
|
1842 1923 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1843 1924 | (*self).into_py(py)
|
1844 1925 | }
|
1845 1926 | }
|
1846 - | impl MalformedTimestampPathEpochOutput {
|
1847 - | /// Creates a new builder-style object to manufacture [`MalformedTimestampPathEpochOutput`](crate::output::MalformedTimestampPathEpochOutput).
|
1848 - | pub fn builder() -> crate::output::malformed_timestamp_path_epoch_output::Builder {
|
1849 - | crate::output::malformed_timestamp_path_epoch_output::Builder::default()
|
1927 + | impl HttpPayloadWithUnionOutput {
|
1928 + | /// Creates a new builder-style object to manufacture [`HttpPayloadWithUnionOutput`](crate::output::HttpPayloadWithUnionOutput).
|
1929 + | pub fn builder() -> crate::output::http_payload_with_union_output::Builder {
|
1930 + | crate::output::http_payload_with_union_output::Builder::default()
|
1850 1931 | }
|
1851 1932 | }
|
1852 1933 |
|
1853 1934 | #[::pyo3::pyclass]
|
1935 + | /// :param status typing.Optional\[int\]:
|
1854 1936 | /// :rtype None:
|
1855 1937 | #[allow(missing_docs)] // documentation missing in model
|
1856 1938 | #[derive(
|
1857 1939 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1858 1940 | )]
|
1859 - | pub struct MalformedTimestampPathHttpDateOutput {}
|
1941 + | pub struct HttpResponseCodeOutput {
|
1942 + | #[pyo3(get, set)]
|
1943 + | /// :type typing.Optional\[int\]:
|
1944 + | #[allow(missing_docs)] // documentation missing in model
|
1945 + | pub status: ::std::option::Option<i32>,
|
1946 + | }
|
1947 + | impl HttpResponseCodeOutput {
|
1948 + | #[allow(missing_docs)] // documentation missing in model
|
1949 + | pub fn status(&self) -> ::std::option::Option<i32> {
|
1950 + | self.status
|
1951 + | }
|
1952 + | }
|
1860 1953 | #[allow(clippy::new_without_default)]
|
1861 1954 | #[allow(clippy::too_many_arguments)]
|
1862 1955 | #[::pyo3::pymethods]
|
1863 - | impl MalformedTimestampPathHttpDateOutput {
|
1956 + | impl HttpResponseCodeOutput {
|
1864 1957 | #[new]
|
1865 - | pub fn new() -> Self {
|
1866 - | Self {}
|
1958 + | pub fn new(status: ::std::option::Option<i32>) -> Self {
|
1959 + | Self { status }
|
1867 1960 | }
|
1868 1961 | fn __repr__(&self) -> String {
|
1869 1962 | format!("{self:?}")
|
1870 1963 | }
|
1871 1964 | fn __str__(&self) -> String {
|
1872 1965 | format!("{self:?}")
|
1873 1966 | }
|
1874 1967 | }
|
1875 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1876 - | for std::boxed::Box<MalformedTimestampPathHttpDateOutput>
|
1877 - | {
|
1968 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpResponseCodeOutput> {
|
1878 1969 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1879 - | ob.extract::<MalformedTimestampPathHttpDateOutput>()
|
1880 - | .map(Box::new)
|
1970 + | ob.extract::<HttpResponseCodeOutput>().map(Box::new)
|
1881 1971 | }
|
1882 1972 | }
|
1883 1973 |
|
1884 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampPathHttpDateOutput> {
|
1974 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpResponseCodeOutput> {
|
1885 1975 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1886 1976 | (*self).into_py(py)
|
1887 1977 | }
|
1888 1978 | }
|
1889 - | impl MalformedTimestampPathHttpDateOutput {
|
1890 - | /// Creates a new builder-style object to manufacture [`MalformedTimestampPathHttpDateOutput`](crate::output::MalformedTimestampPathHttpDateOutput).
|
1891 - | pub fn builder() -> crate::output::malformed_timestamp_path_http_date_output::Builder {
|
1892 - | crate::output::malformed_timestamp_path_http_date_output::Builder::default()
|
1979 + | impl HttpResponseCodeOutput {
|
1980 + | /// Creates a new builder-style object to manufacture [`HttpResponseCodeOutput`](crate::output::HttpResponseCodeOutput).
|
1981 + | pub fn builder() -> crate::output::http_response_code_output::Builder {
|
1982 + | crate::output::http_response_code_output::Builder::default()
|
1893 1983 | }
|
1894 1984 | }
|
1895 1985 |
|
1896 1986 | #[::pyo3::pyclass]
|
1987 + | /// :param response_code int:
|
1897 1988 | /// :rtype None:
|
1898 1989 | #[allow(missing_docs)] // documentation missing in model
|
1899 1990 | #[derive(
|
1900 1991 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1901 1992 | )]
|
1902 - | pub struct MalformedTimestampPathDefaultOutput {}
|
1993 + | pub struct ResponseCodeRequiredOutput {
|
1994 + | #[pyo3(get, set)]
|
1995 + | /// :type int:
|
1996 + | #[allow(missing_docs)] // documentation missing in model
|
1997 + | pub response_code: i32,
|
1998 + | }
|
1999 + | impl ResponseCodeRequiredOutput {
|
2000 + | #[allow(missing_docs)] // documentation missing in model
|
2001 + | pub fn response_code(&self) -> i32 {
|
2002 + | self.response_code
|
2003 + | }
|
2004 + | }
|
1903 2005 | #[allow(clippy::new_without_default)]
|
1904 2006 | #[allow(clippy::too_many_arguments)]
|
1905 2007 | #[::pyo3::pymethods]
|
1906 - | impl MalformedTimestampPathDefaultOutput {
|
2008 + | impl ResponseCodeRequiredOutput {
|
1907 2009 | #[new]
|
1908 - | pub fn new() -> Self {
|
1909 - | Self {}
|
2010 + | pub fn new(response_code: i32) -> Self {
|
2011 + | Self { response_code }
|
1910 2012 | }
|
1911 2013 | fn __repr__(&self) -> String {
|
1912 2014 | format!("{self:?}")
|
1913 2015 | }
|
1914 2016 | fn __str__(&self) -> String {
|
1915 2017 | format!("{self:?}")
|
1916 2018 | }
|
1917 2019 | }
|
1918 - | impl<'source> ::pyo3::FromPyObject<'source>
|
1919 - | for std::boxed::Box<MalformedTimestampPathDefaultOutput>
|
1920 - | {
|
2020 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ResponseCodeRequiredOutput> {
|
1921 2021 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1922 - | ob.extract::<MalformedTimestampPathDefaultOutput>()
|
1923 - | .map(Box::new)
|
2022 + | ob.extract::<ResponseCodeRequiredOutput>().map(Box::new)
|
1924 2023 | }
|
1925 2024 | }
|
1926 2025 |
|
1927 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampPathDefaultOutput> {
|
2026 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ResponseCodeRequiredOutput> {
|
1928 2027 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1929 2028 | (*self).into_py(py)
|
1930 2029 | }
|
1931 2030 | }
|
1932 - | impl MalformedTimestampPathDefaultOutput {
|
1933 - | /// Creates a new builder-style object to manufacture [`MalformedTimestampPathDefaultOutput`](crate::output::MalformedTimestampPathDefaultOutput).
|
1934 - | pub fn builder() -> crate::output::malformed_timestamp_path_default_output::Builder {
|
1935 - | crate::output::malformed_timestamp_path_default_output::Builder::default()
|
2031 + | impl ResponseCodeRequiredOutput {
|
2032 + | /// Creates a new builder-style object to manufacture [`ResponseCodeRequiredOutput`](crate::output::ResponseCodeRequiredOutput).
|
2033 + | pub fn builder() -> crate::output::response_code_required_output::Builder {
|
2034 + | crate::output::response_code_required_output::Builder::default()
|
1936 2035 | }
|
1937 2036 | }
|
1938 2037 |
|
1939 2038 | #[::pyo3::pyclass]
|
1940 2039 | /// :rtype None:
|
1941 2040 | #[allow(missing_docs)] // documentation missing in model
|
1942 2041 | #[derive(
|
1943 2042 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1944 2043 | )]
|
1945 - | pub struct MalformedStringOutput {}
|
2044 + | pub struct ResponseCodeHttpFallbackOutput {}
|
1946 2045 | #[allow(clippy::new_without_default)]
|
1947 2046 | #[allow(clippy::too_many_arguments)]
|
1948 2047 | #[::pyo3::pymethods]
|
1949 - | impl MalformedStringOutput {
|
2048 + | impl ResponseCodeHttpFallbackOutput {
|
1950 2049 | #[new]
|
1951 2050 | pub fn new() -> Self {
|
1952 2051 | Self {}
|
1953 2052 | }
|
1954 2053 | fn __repr__(&self) -> String {
|
1955 2054 | format!("{self:?}")
|
1956 2055 | }
|
1957 2056 | fn __str__(&self) -> String {
|
1958 2057 | format!("{self:?}")
|
1959 2058 | }
|
1960 2059 | }
|
1961 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedStringOutput> {
|
2060 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ResponseCodeHttpFallbackOutput> {
|
1962 2061 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
1963 - | ob.extract::<MalformedStringOutput>().map(Box::new)
|
2062 + | ob.extract::<ResponseCodeHttpFallbackOutput>().map(Box::new)
|
1964 2063 | }
|
1965 2064 | }
|
1966 2065 |
|
1967 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedStringOutput> {
|
2066 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ResponseCodeHttpFallbackOutput> {
|
1968 2067 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
1969 2068 | (*self).into_py(py)
|
1970 2069 | }
|
1971 2070 | }
|
1972 - | impl MalformedStringOutput {
|
1973 - | /// Creates a new builder-style object to manufacture [`MalformedStringOutput`](crate::output::MalformedStringOutput).
|
1974 - | pub fn builder() -> crate::output::malformed_string_output::Builder {
|
1975 - | crate::output::malformed_string_output::Builder::default()
|
2071 + | impl ResponseCodeHttpFallbackOutput {
|
2072 + | /// Creates a new builder-style object to manufacture [`ResponseCodeHttpFallbackOutput`](crate::output::ResponseCodeHttpFallbackOutput).
|
2073 + | pub fn builder() -> crate::output::response_code_http_fallback_output::Builder {
|
2074 + | crate::output::response_code_http_fallback_output::Builder::default()
|
1976 2075 | }
|
1977 2076 | }
|
1978 2077 |
|
1979 2078 | #[::pyo3::pyclass]
|
2079 + | /// :param blob rest_json.types.ByteStream:
|
2080 + | /// :param foo typing.Optional\[str\]:
|
1980 2081 | /// :rtype None:
|
1981 2082 | #[allow(missing_docs)] // documentation missing in model
|
1982 - | #[derive(
|
1983 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
1984 - | )]
|
1985 - | pub struct MalformedDoubleOutput {}
|
2083 + | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
2084 + | pub struct StreamingTraitsOutput {
|
2085 + | #[pyo3(get, set)]
|
2086 + | /// :type typing.Optional\[str\]:
|
2087 + | #[allow(missing_docs)] // documentation missing in model
|
2088 + | pub foo: ::std::option::Option<::std::string::String>,
|
2089 + | #[pyo3(get, set)]
|
2090 + | /// :type rest_json.types.ByteStream:
|
2091 + | #[allow(missing_docs)] // documentation missing in model
|
2092 + | pub blob: ::aws_smithy_http_server_python::types::ByteStream,
|
2093 + | }
|
2094 + | impl StreamingTraitsOutput {
|
2095 + | #[allow(missing_docs)] // documentation missing in model
|
2096 + | pub fn foo(&self) -> ::std::option::Option<&str> {
|
2097 + | self.foo.as_deref()
|
2098 + | }
|
2099 + | #[allow(missing_docs)] // documentation missing in model
|
2100 + | pub fn blob(&self) -> &::aws_smithy_http_server_python::types::ByteStream {
|
2101 + | &self.blob
|
2102 + | }
|
2103 + | }
|
1986 2104 | #[allow(clippy::new_without_default)]
|
1987 2105 | #[allow(clippy::too_many_arguments)]
|
1988 2106 | #[::pyo3::pymethods]
|
1989 - | impl MalformedDoubleOutput {
|
2107 + | impl StreamingTraitsOutput {
|
1990 2108 | #[new]
|
1991 - | pub fn new() -> Self {
|
1992 - | Self {}
|
2109 + | pub fn new(
|
2110 + | blob: ::aws_smithy_http_server_python::types::ByteStream,
|
2111 + | foo: ::std::option::Option<::std::string::String>,
|
2112 + | ) -> Self {
|
2113 + | Self { blob, foo }
|
1993 2114 | }
|
1994 2115 | fn __repr__(&self) -> String {
|
1995 2116 | format!("{self:?}")
|
1996 2117 | }
|
1997 2118 | fn __str__(&self) -> String {
|
1998 2119 | format!("{self:?}")
|
1999 2120 | }
|
2000 2121 | }
|
2001 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedDoubleOutput> {
|
2122 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<StreamingTraitsOutput> {
|
2002 2123 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2003 - | ob.extract::<MalformedDoubleOutput>().map(Box::new)
|
2124 + | ob.extract::<StreamingTraitsOutput>().map(Box::new)
|
2004 2125 | }
|
2005 2126 | }
|
2006 2127 |
|
2007 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedDoubleOutput> {
|
2128 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StreamingTraitsOutput> {
|
2008 2129 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2009 2130 | (*self).into_py(py)
|
2010 2131 | }
|
2011 2132 | }
|
2012 - | impl MalformedDoubleOutput {
|
2013 - | /// Creates a new builder-style object to manufacture [`MalformedDoubleOutput`](crate::output::MalformedDoubleOutput).
|
2014 - | pub fn builder() -> crate::output::malformed_double_output::Builder {
|
2015 - | crate::output::malformed_double_output::Builder::default()
|
2133 + | impl StreamingTraitsOutput {
|
2134 + | /// Creates a new builder-style object to manufacture [`StreamingTraitsOutput`](crate::output::StreamingTraitsOutput).
|
2135 + | pub fn builder() -> crate::output::streaming_traits_output::Builder {
|
2136 + | crate::output::streaming_traits_output::Builder::default()
|
2016 2137 | }
|
2017 2138 | }
|
2018 2139 |
|
2019 2140 | #[::pyo3::pyclass]
|
2020 2141 | /// :rtype None:
|
2021 2142 | #[allow(missing_docs)] // documentation missing in model
|
2022 2143 | #[derive(
|
2023 2144 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2024 2145 | )]
|
2025 - | pub struct MalformedFloatOutput {}
|
2146 + | pub struct StreamingTraitsRequireLengthOutput {}
|
2026 2147 | #[allow(clippy::new_without_default)]
|
2027 2148 | #[allow(clippy::too_many_arguments)]
|
2028 2149 | #[::pyo3::pymethods]
|
2029 - | impl MalformedFloatOutput {
|
2150 + | impl StreamingTraitsRequireLengthOutput {
|
2030 2151 | #[new]
|
2031 2152 | pub fn new() -> Self {
|
2032 2153 | Self {}
|
2033 2154 | }
|
2034 2155 | fn __repr__(&self) -> String {
|
2035 2156 | format!("{self:?}")
|
2036 2157 | }
|
2037 2158 | fn __str__(&self) -> String {
|
2038 2159 | format!("{self:?}")
|
2039 2160 | }
|
2040 2161 | }
|
2041 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedFloatOutput> {
|
2162 + | impl<'source> ::pyo3::FromPyObject<'source>
|
2163 + | for std::boxed::Box<StreamingTraitsRequireLengthOutput>
|
2164 + | {
|
2042 2165 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2043 - | ob.extract::<MalformedFloatOutput>().map(Box::new)
|
2166 + | ob.extract::<StreamingTraitsRequireLengthOutput>()
|
2167 + | .map(Box::new)
|
2044 2168 | }
|
2045 2169 | }
|
2046 2170 |
|
2047 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedFloatOutput> {
|
2171 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StreamingTraitsRequireLengthOutput> {
|
2048 2172 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2049 2173 | (*self).into_py(py)
|
2050 2174 | }
|
2051 2175 | }
|
2052 - | impl MalformedFloatOutput {
|
2053 - | /// Creates a new builder-style object to manufacture [`MalformedFloatOutput`](crate::output::MalformedFloatOutput).
|
2054 - | pub fn builder() -> crate::output::malformed_float_output::Builder {
|
2055 - | crate::output::malformed_float_output::Builder::default()
|
2176 + | impl StreamingTraitsRequireLengthOutput {
|
2177 + | /// Creates a new builder-style object to manufacture [`StreamingTraitsRequireLengthOutput`](crate::output::StreamingTraitsRequireLengthOutput).
|
2178 + | pub fn builder() -> crate::output::streaming_traits_require_length_output::Builder {
|
2179 + | crate::output::streaming_traits_require_length_output::Builder::default()
|
2056 2180 | }
|
2057 2181 | }
|
2058 2182 |
|
2059 2183 | #[::pyo3::pyclass]
|
2184 + | /// :param blob rest_json.types.ByteStream:
|
2185 + | /// :param foo typing.Optional\[str\]:
|
2060 2186 | /// :rtype None:
|
2061 2187 | #[allow(missing_docs)] // documentation missing in model
|
2062 - | #[derive(
|
2063 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2064 - | )]
|
2065 - | pub struct MalformedLongOutput {}
|
2188 + | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
2189 + | pub struct StreamingTraitsWithMediaTypeOutput {
|
2190 + | #[pyo3(get, set)]
|
2191 + | /// :type typing.Optional\[str\]:
|
2192 + | #[allow(missing_docs)] // documentation missing in model
|
2193 + | pub foo: ::std::option::Option<::std::string::String>,
|
2194 + | #[pyo3(get, set)]
|
2195 + | /// :type rest_json.types.ByteStream:
|
2196 + | #[allow(missing_docs)] // documentation missing in model
|
2197 + | pub blob: ::aws_smithy_http_server_python::types::ByteStream,
|
2198 + | }
|
2199 + | impl StreamingTraitsWithMediaTypeOutput {
|
2200 + | #[allow(missing_docs)] // documentation missing in model
|
2201 + | pub fn foo(&self) -> ::std::option::Option<&str> {
|
2202 + | self.foo.as_deref()
|
2203 + | }
|
2204 + | #[allow(missing_docs)] // documentation missing in model
|
2205 + | pub fn blob(&self) -> &::aws_smithy_http_server_python::types::ByteStream {
|
2206 + | &self.blob
|
2207 + | }
|
2208 + | }
|
2066 2209 | #[allow(clippy::new_without_default)]
|
2067 2210 | #[allow(clippy::too_many_arguments)]
|
2068 2211 | #[::pyo3::pymethods]
|
2069 - | impl MalformedLongOutput {
|
2212 + | impl StreamingTraitsWithMediaTypeOutput {
|
2070 2213 | #[new]
|
2071 - | pub fn new() -> Self {
|
2072 - | Self {}
|
2214 + | pub fn new(
|
2215 + | blob: ::aws_smithy_http_server_python::types::ByteStream,
|
2216 + | foo: ::std::option::Option<::std::string::String>,
|
2217 + | ) -> Self {
|
2218 + | Self { blob, foo }
|
2073 2219 | }
|
2074 2220 | fn __repr__(&self) -> String {
|
2075 2221 | format!("{self:?}")
|
2076 2222 | }
|
2077 2223 | fn __str__(&self) -> String {
|
2078 2224 | format!("{self:?}")
|
2079 2225 | }
|
2080 2226 | }
|
2081 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedLongOutput> {
|
2227 + | impl<'source> ::pyo3::FromPyObject<'source>
|
2228 + | for std::boxed::Box<StreamingTraitsWithMediaTypeOutput>
|
2229 + | {
|
2082 2230 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2083 - | ob.extract::<MalformedLongOutput>().map(Box::new)
|
2231 + | ob.extract::<StreamingTraitsWithMediaTypeOutput>()
|
2232 + | .map(Box::new)
|
2084 2233 | }
|
2085 2234 | }
|
2086 2235 |
|
2087 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedLongOutput> {
|
2236 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StreamingTraitsWithMediaTypeOutput> {
|
2088 2237 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2089 2238 | (*self).into_py(py)
|
2090 2239 | }
|
2091 2240 | }
|
2092 - | impl MalformedLongOutput {
|
2093 - | /// Creates a new builder-style object to manufacture [`MalformedLongOutput`](crate::output::MalformedLongOutput).
|
2094 - | pub fn builder() -> crate::output::malformed_long_output::Builder {
|
2095 - | crate::output::malformed_long_output::Builder::default()
|
2241 + | impl StreamingTraitsWithMediaTypeOutput {
|
2242 + | /// Creates a new builder-style object to manufacture [`StreamingTraitsWithMediaTypeOutput`](crate::output::StreamingTraitsWithMediaTypeOutput).
|
2243 + | pub fn builder() -> crate::output::streaming_traits_with_media_type_output::Builder {
|
2244 + | crate::output::streaming_traits_with_media_type_output::Builder::default()
|
2096 2245 | }
|
2097 2246 | }
|
2098 2247 |
|
2099 2248 | #[::pyo3::pyclass]
|
2249 + | /// :param greeting typing.Optional\[str\]:
|
2100 2250 | /// :rtype None:
|
2101 2251 | #[allow(missing_docs)] // documentation missing in model
|
2102 2252 | #[derive(
|
2103 2253 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2104 2254 | )]
|
2105 - | pub struct MalformedShortOutput {}
|
2255 + | pub struct GreetingWithErrorsOutput {
|
2256 + | #[pyo3(get, set)]
|
2257 + | /// :type typing.Optional\[str\]:
|
2258 + | #[allow(missing_docs)] // documentation missing in model
|
2259 + | pub greeting: ::std::option::Option<::std::string::String>,
|
2260 + | }
|
2261 + | impl GreetingWithErrorsOutput {
|
2262 + | #[allow(missing_docs)] // documentation missing in model
|
2263 + | pub fn greeting(&self) -> ::std::option::Option<&str> {
|
2264 + | self.greeting.as_deref()
|
2265 + | }
|
2266 + | }
|
2106 2267 | #[allow(clippy::new_without_default)]
|
2107 2268 | #[allow(clippy::too_many_arguments)]
|
2108 2269 | #[::pyo3::pymethods]
|
2109 - | impl MalformedShortOutput {
|
2270 + | impl GreetingWithErrorsOutput {
|
2110 2271 | #[new]
|
2111 - | pub fn new() -> Self {
|
2112 - | Self {}
|
2272 + | pub fn new(greeting: ::std::option::Option<::std::string::String>) -> Self {
|
2273 + | Self { greeting }
|
2113 2274 | }
|
2114 2275 | fn __repr__(&self) -> String {
|
2115 2276 | format!("{self:?}")
|
2116 2277 | }
|
2117 2278 | fn __str__(&self) -> String {
|
2118 2279 | format!("{self:?}")
|
2119 2280 | }
|
2120 2281 | }
|
2121 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedShortOutput> {
|
2282 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<GreetingWithErrorsOutput> {
|
2122 2283 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2123 - | ob.extract::<MalformedShortOutput>().map(Box::new)
|
2284 + | ob.extract::<GreetingWithErrorsOutput>().map(Box::new)
|
2124 2285 | }
|
2125 2286 | }
|
2126 2287 |
|
2127 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedShortOutput> {
|
2288 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<GreetingWithErrorsOutput> {
|
2128 2289 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2129 2290 | (*self).into_py(py)
|
2130 2291 | }
|
2131 2292 | }
|
2132 - | impl MalformedShortOutput {
|
2133 - | /// Creates a new builder-style object to manufacture [`MalformedShortOutput`](crate::output::MalformedShortOutput).
|
2134 - | pub fn builder() -> crate::output::malformed_short_output::Builder {
|
2135 - | crate::output::malformed_short_output::Builder::default()
|
2293 + | impl GreetingWithErrorsOutput {
|
2294 + | /// Creates a new builder-style object to manufacture [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
2295 + | pub fn builder() -> crate::output::greeting_with_errors_output::Builder {
|
2296 + | crate::output::greeting_with_errors_output::Builder::default()
|
2136 2297 | }
|
2137 2298 | }
|
2138 2299 |
|
2139 2300 | #[::pyo3::pyclass]
|
2301 + | /// :param foo typing.Optional\[str\]:
|
2302 + | /// :param string_value typing.Optional\[str\]:
|
2303 + | /// :param true_boolean_value typing.Optional\[bool\]:
|
2304 + | /// :param false_boolean_value typing.Optional\[bool\]:
|
2305 + | /// :param byte_value typing.Optional\[int\]:
|
2306 + | /// :param short_value typing.Optional\[int\]:
|
2307 + | /// :param integer_value typing.Optional\[int\]:
|
2308 + | /// :param long_value typing.Optional\[int\]:
|
2309 + | /// :param float_value typing.Optional\[float\]:
|
2310 + | /// :param double_value typing.Optional\[float\]:
|
2140 2311 | /// :rtype None:
|
2141 2312 | #[allow(missing_docs)] // documentation missing in model
|
2142 - | #[derive(
|
2143 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2144 - | )]
|
2145 - | pub struct MalformedByteOutput {}
|
2146 - | #[allow(clippy::new_without_default)]
|
2147 - | #[allow(clippy::too_many_arguments)]
|
2148 - | #[::pyo3::pymethods]
|
2149 - | impl MalformedByteOutput {
|
2150 - | #[new]
|
2151 - | pub fn new() -> Self {
|
2152 - | Self {}
|
2153 - | }
|
2154 - | fn __repr__(&self) -> String {
|
2155 - | format!("{self:?}")
|
2313 + | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
2314 + | pub struct SimpleScalarPropertiesOutput {
|
2315 + | #[pyo3(get, set)]
|
2316 + | /// :type typing.Optional\[str\]:
|
2317 + | #[allow(missing_docs)] // documentation missing in model
|
2318 + | pub foo: ::std::option::Option<::std::string::String>,
|
2319 + | #[pyo3(get, set)]
|
2320 + | /// :type typing.Optional\[str\]:
|
2321 + | #[allow(missing_docs)] // documentation missing in model
|
2322 + | pub string_value: ::std::option::Option<::std::string::String>,
|
2323 + | #[pyo3(get, set)]
|
2324 + | /// :type typing.Optional\[bool\]:
|
2325 + | #[allow(missing_docs)] // documentation missing in model
|
2326 + | pub true_boolean_value: ::std::option::Option<bool>,
|
2327 + | #[pyo3(get, set)]
|
2328 + | /// :type typing.Optional\[bool\]:
|
2329 + | #[allow(missing_docs)] // documentation missing in model
|
2330 + | pub false_boolean_value: ::std::option::Option<bool>,
|
2331 + | #[pyo3(get, set)]
|
2332 + | /// :type typing.Optional\[int\]:
|
2333 + | #[allow(missing_docs)] // documentation missing in model
|
2334 + | pub byte_value: ::std::option::Option<i8>,
|
2335 + | #[pyo3(get, set)]
|
2336 + | /// :type typing.Optional\[int\]:
|
2337 + | #[allow(missing_docs)] // documentation missing in model
|
2338 + | pub short_value: ::std::option::Option<i16>,
|
2339 + | #[pyo3(get, set)]
|
2340 + | /// :type typing.Optional\[int\]:
|
2341 + | #[allow(missing_docs)] // documentation missing in model
|
2342 + | pub integer_value: ::std::option::Option<i32>,
|
2343 + | #[pyo3(get, set)]
|
2344 + | /// :type typing.Optional\[int\]:
|
2345 + | #[allow(missing_docs)] // documentation missing in model
|
2346 + | pub long_value: ::std::option::Option<i64>,
|
2347 + | #[pyo3(get, set)]
|
2348 + | /// :type typing.Optional\[float\]:
|
2349 + | #[allow(missing_docs)] // documentation missing in model
|
2350 + | pub float_value: ::std::option::Option<f32>,
|
2351 + | #[pyo3(get, set)]
|
2352 + | /// :type typing.Optional\[float\]:
|
2353 + | #[allow(missing_docs)] // documentation missing in model
|
2354 + | pub double_value: ::std::option::Option<f64>,
|
2355 + | }
|
2356 + | impl SimpleScalarPropertiesOutput {
|
2357 + | #[allow(missing_docs)] // documentation missing in model
|
2358 + | pub fn foo(&self) -> ::std::option::Option<&str> {
|
2359 + | self.foo.as_deref()
|
2156 2360 | }
|
2157 - | fn __str__(&self) -> String {
|
2158 - | format!("{self:?}")
|
2361 + | #[allow(missing_docs)] // documentation missing in model
|
2362 + | pub fn string_value(&self) -> ::std::option::Option<&str> {
|
2363 + | self.string_value.as_deref()
|
2159 2364 | }
|
2160 - | }
|
2161 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedByteOutput> {
|
2162 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2163 - | ob.extract::<MalformedByteOutput>().map(Box::new)
|
2365 + | #[allow(missing_docs)] // documentation missing in model
|
2366 + | pub fn true_boolean_value(&self) -> ::std::option::Option<bool> {
|
2367 + | self.true_boolean_value
|
2164 2368 | }
|
2165 - | }
|
2166 - |
|
2167 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedByteOutput> {
|
2168 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2169 - | (*self).into_py(py)
|
2369 + | #[allow(missing_docs)] // documentation missing in model
|
2370 + | pub fn false_boolean_value(&self) -> ::std::option::Option<bool> {
|
2371 + | self.false_boolean_value
|
2170 2372 | }
|
2171 - | }
|
2172 - | impl MalformedByteOutput {
|
2173 - | /// Creates a new builder-style object to manufacture [`MalformedByteOutput`](crate::output::MalformedByteOutput).
|
2174 - | pub fn builder() -> crate::output::malformed_byte_output::Builder {
|
2175 - | crate::output::malformed_byte_output::Builder::default()
|
2373 + | #[allow(missing_docs)] // documentation missing in model
|
2374 + | pub fn byte_value(&self) -> ::std::option::Option<i8> {
|
2375 + | self.byte_value
|
2376 + | }
|
2377 + | #[allow(missing_docs)] // documentation missing in model
|
2378 + | pub fn short_value(&self) -> ::std::option::Option<i16> {
|
2379 + | self.short_value
|
2380 + | }
|
2381 + | #[allow(missing_docs)] // documentation missing in model
|
2382 + | pub fn integer_value(&self) -> ::std::option::Option<i32> {
|
2383 + | self.integer_value
|
2384 + | }
|
2385 + | #[allow(missing_docs)] // documentation missing in model
|
2386 + | pub fn long_value(&self) -> ::std::option::Option<i64> {
|
2387 + | self.long_value
|
2388 + | }
|
2389 + | #[allow(missing_docs)] // documentation missing in model
|
2390 + | pub fn float_value(&self) -> ::std::option::Option<f32> {
|
2391 + | self.float_value
|
2392 + | }
|
2393 + | #[allow(missing_docs)] // documentation missing in model
|
2394 + | pub fn double_value(&self) -> ::std::option::Option<f64> {
|
2395 + | self.double_value
|
2176 2396 | }
|
2177 2397 | }
|
2178 - |
|
2179 - | #[::pyo3::pyclass]
|
2180 - | /// :rtype None:
|
2181 - | #[allow(missing_docs)] // documentation missing in model
|
2182 - | #[derive(
|
2183 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2184 - | )]
|
2185 - | pub struct MalformedBlobOutput {}
|
2186 2398 | #[allow(clippy::new_without_default)]
|
2187 2399 | #[allow(clippy::too_many_arguments)]
|
2188 2400 | #[::pyo3::pymethods]
|
2189 - | impl MalformedBlobOutput {
|
2401 + | impl SimpleScalarPropertiesOutput {
|
2190 2402 | #[new]
|
2191 - | pub fn new() -> Self {
|
2192 - | Self {}
|
2403 + | pub fn new(
|
2404 + | foo: ::std::option::Option<::std::string::String>,
|
2405 + | string_value: ::std::option::Option<::std::string::String>,
|
2406 + | true_boolean_value: ::std::option::Option<bool>,
|
2407 + | false_boolean_value: ::std::option::Option<bool>,
|
2408 + | byte_value: ::std::option::Option<i8>,
|
2409 + | short_value: ::std::option::Option<i16>,
|
2410 + | integer_value: ::std::option::Option<i32>,
|
2411 + | long_value: ::std::option::Option<i64>,
|
2412 + | float_value: ::std::option::Option<f32>,
|
2413 + | double_value: ::std::option::Option<f64>,
|
2414 + | ) -> Self {
|
2415 + | Self {
|
2416 + | foo,
|
2417 + | string_value,
|
2418 + | true_boolean_value,
|
2419 + | false_boolean_value,
|
2420 + | byte_value,
|
2421 + | short_value,
|
2422 + | integer_value,
|
2423 + | long_value,
|
2424 + | float_value,
|
2425 + | double_value,
|
2426 + | }
|
2193 2427 | }
|
2194 2428 | fn __repr__(&self) -> String {
|
2195 2429 | format!("{self:?}")
|
2196 2430 | }
|
2197 2431 | fn __str__(&self) -> String {
|
2198 2432 | format!("{self:?}")
|
2199 2433 | }
|
2200 2434 | }
|
2201 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedBlobOutput> {
|
2435 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<SimpleScalarPropertiesOutput> {
|
2202 2436 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2203 - | ob.extract::<MalformedBlobOutput>().map(Box::new)
|
2437 + | ob.extract::<SimpleScalarPropertiesOutput>().map(Box::new)
|
2204 2438 | }
|
2205 2439 | }
|
2206 2440 |
|
2207 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedBlobOutput> {
|
2441 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<SimpleScalarPropertiesOutput> {
|
2208 2442 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2209 2443 | (*self).into_py(py)
|
2210 2444 | }
|
2211 2445 | }
|
2212 - | impl MalformedBlobOutput {
|
2213 - | /// Creates a new builder-style object to manufacture [`MalformedBlobOutput`](crate::output::MalformedBlobOutput).
|
2214 - | pub fn builder() -> crate::output::malformed_blob_output::Builder {
|
2215 - | crate::output::malformed_blob_output::Builder::default()
|
2446 + | impl SimpleScalarPropertiesOutput {
|
2447 + | /// Creates a new builder-style object to manufacture [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
2448 + | pub fn builder() -> crate::output::simple_scalar_properties_output::Builder {
|
2449 + | crate::output::simple_scalar_properties_output::Builder::default()
|
2216 2450 | }
|
2217 2451 | }
|
2218 2452 |
|
2219 2453 | #[::pyo3::pyclass]
|
2454 + | /// :param normal typing.Optional\[rest_json.types.DateTime\]:
|
2455 + | /// :param date_time typing.Optional\[rest_json.types.DateTime\]:
|
2456 + | /// :param date_time_on_target typing.Optional\[rest_json.types.DateTime\]:
|
2457 + | /// :param epoch_seconds typing.Optional\[rest_json.types.DateTime\]:
|
2458 + | /// :param epoch_seconds_on_target typing.Optional\[rest_json.types.DateTime\]:
|
2459 + | /// :param http_date typing.Optional\[rest_json.types.DateTime\]:
|
2460 + | /// :param http_date_on_target typing.Optional\[rest_json.types.DateTime\]:
|
2220 2461 | /// :rtype None:
|
2221 2462 | #[allow(missing_docs)] // documentation missing in model
|
2222 2463 | #[derive(
|
2223 2464 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2224 2465 | )]
|
2225 - | pub struct MalformedMapOutput {}
|
2226 - | #[allow(clippy::new_without_default)]
|
2227 - | #[allow(clippy::too_many_arguments)]
|
2228 - | #[::pyo3::pymethods]
|
2229 - | impl MalformedMapOutput {
|
2230 - | #[new]
|
2231 - | pub fn new() -> Self {
|
2232 - | Self {}
|
2466 + | pub struct JsonTimestampsOutput {
|
2467 + | #[pyo3(get, set)]
|
2468 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
2469 + | #[allow(missing_docs)] // documentation missing in model
|
2470 + | pub normal: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2471 + | #[pyo3(get, set)]
|
2472 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
2473 + | #[allow(missing_docs)] // documentation missing in model
|
2474 + | pub date_time: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2475 + | #[pyo3(get, set)]
|
2476 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
2477 + | #[allow(missing_docs)] // documentation missing in model
|
2478 + | pub date_time_on_target:
|
2479 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2480 + | #[pyo3(get, set)]
|
2481 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
2482 + | #[allow(missing_docs)] // documentation missing in model
|
2483 + | pub epoch_seconds: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2484 + | #[pyo3(get, set)]
|
2485 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
2486 + | #[allow(missing_docs)] // documentation missing in model
|
2487 + | pub epoch_seconds_on_target:
|
2488 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2489 + | #[pyo3(get, set)]
|
2490 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
2491 + | #[allow(missing_docs)] // documentation missing in model
|
2492 + | pub http_date: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2493 + | #[pyo3(get, set)]
|
2494 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
2495 + | #[allow(missing_docs)] // documentation missing in model
|
2496 + | pub http_date_on_target:
|
2497 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2498 + | }
|
2499 + | impl JsonTimestampsOutput {
|
2500 + | #[allow(missing_docs)] // documentation missing in model
|
2501 + | pub fn normal(
|
2502 + | &self,
|
2503 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
2504 + | self.normal.as_ref()
|
2233 2505 | }
|
2234 - | fn __repr__(&self) -> String {
|
2235 - | format!("{self:?}")
|
2506 + | #[allow(missing_docs)] // documentation missing in model
|
2507 + | pub fn date_time(
|
2508 + | &self,
|
2509 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
2510 + | self.date_time.as_ref()
|
2236 2511 | }
|
2237 - | fn __str__(&self) -> String {
|
2238 - | format!("{self:?}")
|
2512 + | #[allow(missing_docs)] // documentation missing in model
|
2513 + | pub fn date_time_on_target(
|
2514 + | &self,
|
2515 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
2516 + | self.date_time_on_target.as_ref()
|
2239 2517 | }
|
2240 - | }
|
2241 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedMapOutput> {
|
2242 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2243 - | ob.extract::<MalformedMapOutput>().map(Box::new)
|
2518 + | #[allow(missing_docs)] // documentation missing in model
|
2519 + | pub fn epoch_seconds(
|
2520 + | &self,
|
2521 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
2522 + | self.epoch_seconds.as_ref()
|
2244 2523 | }
|
2245 - | }
|
2246 - |
|
2247 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedMapOutput> {
|
2248 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2249 - | (*self).into_py(py)
|
2524 + | #[allow(missing_docs)] // documentation missing in model
|
2525 + | pub fn epoch_seconds_on_target(
|
2526 + | &self,
|
2527 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
2528 + | self.epoch_seconds_on_target.as_ref()
|
2250 2529 | }
|
2251 - | }
|
2252 - | impl MalformedMapOutput {
|
2253 - | /// Creates a new builder-style object to manufacture [`MalformedMapOutput`](crate::output::MalformedMapOutput).
|
2254 - | pub fn builder() -> crate::output::malformed_map_output::Builder {
|
2255 - | crate::output::malformed_map_output::Builder::default()
|
2530 + | #[allow(missing_docs)] // documentation missing in model
|
2531 + | pub fn http_date(
|
2532 + | &self,
|
2533 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
2534 + | self.http_date.as_ref()
|
2535 + | }
|
2536 + | #[allow(missing_docs)] // documentation missing in model
|
2537 + | pub fn http_date_on_target(
|
2538 + | &self,
|
2539 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
2540 + | self.http_date_on_target.as_ref()
|
2256 2541 | }
|
2257 2542 | }
|
2258 - |
|
2259 - | #[::pyo3::pyclass]
|
2260 - | /// :rtype None:
|
2261 - | #[allow(missing_docs)] // documentation missing in model
|
2262 - | #[derive(
|
2263 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2264 - | )]
|
2265 - | pub struct MalformedListOutput {}
|
2266 2543 | #[allow(clippy::new_without_default)]
|
2267 2544 | #[allow(clippy::too_many_arguments)]
|
2268 2545 | #[::pyo3::pymethods]
|
2269 - | impl MalformedListOutput {
|
2546 + | impl JsonTimestampsOutput {
|
2270 2547 | #[new]
|
2271 - | pub fn new() -> Self {
|
2272 - | Self {}
|
2548 + | pub fn new(
|
2549 + | normal: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2550 + | date_time: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2551 + | date_time_on_target: ::std::option::Option<
|
2552 + | ::aws_smithy_http_server_python::types::DateTime,
|
2553 + | >,
|
2554 + | epoch_seconds: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2555 + | epoch_seconds_on_target: ::std::option::Option<
|
2556 + | ::aws_smithy_http_server_python::types::DateTime,
|
2557 + | >,
|
2558 + | http_date: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
2559 + | http_date_on_target: ::std::option::Option<
|
2560 + | ::aws_smithy_http_server_python::types::DateTime,
|
2561 + | >,
|
2562 + | ) -> Self {
|
2563 + | Self {
|
2564 + | normal,
|
2565 + | date_time,
|
2566 + | date_time_on_target,
|
2567 + | epoch_seconds,
|
2568 + | epoch_seconds_on_target,
|
2569 + | http_date,
|
2570 + | http_date_on_target,
|
2571 + | }
|
2273 2572 | }
|
2274 2573 | fn __repr__(&self) -> String {
|
2275 2574 | format!("{self:?}")
|
2276 2575 | }
|
2277 2576 | fn __str__(&self) -> String {
|
2278 2577 | format!("{self:?}")
|
2279 2578 | }
|
2280 2579 | }
|
2281 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedListOutput> {
|
2580 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonTimestampsOutput> {
|
2282 2581 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2283 - | ob.extract::<MalformedListOutput>().map(Box::new)
|
2582 + | ob.extract::<JsonTimestampsOutput>().map(Box::new)
|
2284 2583 | }
|
2285 2584 | }
|
2286 2585 |
|
2287 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedListOutput> {
|
2586 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonTimestampsOutput> {
|
2288 2587 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2289 2588 | (*self).into_py(py)
|
2290 2589 | }
|
2291 2590 | }
|
2292 - | impl MalformedListOutput {
|
2293 - | /// Creates a new builder-style object to manufacture [`MalformedListOutput`](crate::output::MalformedListOutput).
|
2294 - | pub fn builder() -> crate::output::malformed_list_output::Builder {
|
2295 - | crate::output::malformed_list_output::Builder::default()
|
2591 + | impl JsonTimestampsOutput {
|
2592 + | /// Creates a new builder-style object to manufacture [`JsonTimestampsOutput`](crate::output::JsonTimestampsOutput).
|
2593 + | pub fn builder() -> crate::output::json_timestamps_output::Builder {
|
2594 + | crate::output::json_timestamps_output::Builder::default()
|
2296 2595 | }
|
2297 2596 | }
|
2298 2597 |
|
2299 2598 | #[::pyo3::pyclass]
|
2599 + | /// :param foo_enum1 typing.Optional\[rest_json.model.FooEnum\]:
|
2600 + | /// :param foo_enum2 typing.Optional\[rest_json.model.FooEnum\]:
|
2601 + | /// :param foo_enum3 typing.Optional\[rest_json.model.FooEnum\]:
|
2602 + | /// :param foo_enum_list typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
2603 + | /// :param foo_enum_set typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
2604 + | /// :param foo_enum_map typing.Optional\[typing.Dict\[str, rest_json.model.FooEnum\]\]:
|
2300 2605 | /// :rtype None:
|
2301 2606 | #[allow(missing_docs)] // documentation missing in model
|
2302 - | #[derive(
|
2303 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2304 - | )]
|
2305 - | pub struct MalformedBooleanOutput {}
|
2607 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
2608 + | pub struct JsonEnumsOutput {
|
2609 + | #[pyo3(get, set)]
|
2610 + | /// :type typing.Optional\[rest_json.model.FooEnum\]:
|
2611 + | #[allow(missing_docs)] // documentation missing in model
|
2612 + | pub foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
2613 + | #[pyo3(get, set)]
|
2614 + | /// :type typing.Optional\[rest_json.model.FooEnum\]:
|
2615 + | #[allow(missing_docs)] // documentation missing in model
|
2616 + | pub foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
2617 + | #[pyo3(get, set)]
|
2618 + | /// :type typing.Optional\[rest_json.model.FooEnum\]:
|
2619 + | #[allow(missing_docs)] // documentation missing in model
|
2620 + | pub foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
2621 + | #[pyo3(get, set)]
|
2622 + | /// :type typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
2623 + | #[allow(missing_docs)] // documentation missing in model
|
2624 + | pub foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
2625 + | #[pyo3(get, set)]
|
2626 + | /// :type typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
2627 + | #[allow(missing_docs)] // documentation missing in model
|
2628 + | pub foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
2629 + | #[pyo3(get, set)]
|
2630 + | /// :type typing.Optional\[typing.Dict\[str, rest_json.model.FooEnum\]\]:
|
2631 + | #[allow(missing_docs)] // documentation missing in model
|
2632 + | pub foo_enum_map: ::std::option::Option<
|
2633 + | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
2634 + | >,
|
2635 + | }
|
2636 + | impl JsonEnumsOutput {
|
2637 + | #[allow(missing_docs)] // documentation missing in model
|
2638 + | pub fn foo_enum1(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
2639 + | self.foo_enum1.as_ref()
|
2640 + | }
|
2641 + | #[allow(missing_docs)] // documentation missing in model
|
2642 + | pub fn foo_enum2(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
2643 + | self.foo_enum2.as_ref()
|
2644 + | }
|
2645 + | #[allow(missing_docs)] // documentation missing in model
|
2646 + | pub fn foo_enum3(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
2647 + | self.foo_enum3.as_ref()
|
2648 + | }
|
2649 + | #[allow(missing_docs)] // documentation missing in model
|
2650 + | pub fn foo_enum_list(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
2651 + | self.foo_enum_list.as_deref()
|
2652 + | }
|
2653 + | #[allow(missing_docs)] // documentation missing in model
|
2654 + | pub fn foo_enum_set(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
2655 + | self.foo_enum_set.as_deref()
|
2656 + | }
|
2657 + | #[allow(missing_docs)] // documentation missing in model
|
2658 + | pub fn foo_enum_map(
|
2659 + | &self,
|
2660 + | ) -> ::std::option::Option<
|
2661 + | &::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
2662 + | > {
|
2663 + | self.foo_enum_map.as_ref()
|
2664 + | }
|
2665 + | }
|
2306 2666 | #[allow(clippy::new_without_default)]
|
2307 2667 | #[allow(clippy::too_many_arguments)]
|
2308 2668 | #[::pyo3::pymethods]
|
2309 - | impl MalformedBooleanOutput {
|
2669 + | impl JsonEnumsOutput {
|
2310 2670 | #[new]
|
2311 - | pub fn new() -> Self {
|
2312 - | Self {}
|
2671 + | pub fn new(
|
2672 + | foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
2673 + | foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
2674 + | foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
2675 + | foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
2676 + | foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
2677 + | foo_enum_map: ::std::option::Option<
|
2678 + | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
2679 + | >,
|
2680 + | ) -> Self {
|
2681 + | Self {
|
2682 + | foo_enum1,
|
2683 + | foo_enum2,
|
2684 + | foo_enum3,
|
2685 + | foo_enum_list,
|
2686 + | foo_enum_set,
|
2687 + | foo_enum_map,
|
2688 + | }
|
2313 2689 | }
|
2314 2690 | fn __repr__(&self) -> String {
|
2315 2691 | format!("{self:?}")
|
2316 2692 | }
|
2317 2693 | fn __str__(&self) -> String {
|
2318 2694 | format!("{self:?}")
|
2319 2695 | }
|
2320 2696 | }
|
2321 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedBooleanOutput> {
|
2697 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonEnumsOutput> {
|
2322 2698 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2323 - | ob.extract::<MalformedBooleanOutput>().map(Box::new)
|
2699 + | ob.extract::<JsonEnumsOutput>().map(Box::new)
|
2324 2700 | }
|
2325 2701 | }
|
2326 2702 |
|
2327 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedBooleanOutput> {
|
2703 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonEnumsOutput> {
|
2328 2704 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2329 2705 | (*self).into_py(py)
|
2330 2706 | }
|
2331 2707 | }
|
2332 - | impl MalformedBooleanOutput {
|
2333 - | /// Creates a new builder-style object to manufacture [`MalformedBooleanOutput`](crate::output::MalformedBooleanOutput).
|
2334 - | pub fn builder() -> crate::output::malformed_boolean_output::Builder {
|
2335 - | crate::output::malformed_boolean_output::Builder::default()
|
2708 + | impl JsonEnumsOutput {
|
2709 + | /// Creates a new builder-style object to manufacture [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
2710 + | pub fn builder() -> crate::output::json_enums_output::Builder {
|
2711 + | crate::output::json_enums_output::Builder::default()
|
2336 2712 | }
|
2337 2713 | }
|
2338 2714 |
|
2339 2715 | #[::pyo3::pyclass]
|
2716 + | /// :param integer_enum1 typing.Optional\[int\]:
|
2717 + | /// :param integer_enum2 typing.Optional\[int\]:
|
2718 + | /// :param integer_enum3 typing.Optional\[int\]:
|
2719 + | /// :param integer_enum_list typing.Optional\[typing.List\[int\]\]:
|
2720 + | /// :param integer_enum_set typing.Optional\[typing.List\[int\]\]:
|
2721 + | /// :param integer_enum_map typing.Optional\[typing.Dict\[str, int\]\]:
|
2340 2722 | /// :rtype None:
|
2341 2723 | #[allow(missing_docs)] // documentation missing in model
|
2342 - | #[derive(
|
2343 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2344 - | )]
|
2345 - | pub struct MalformedUnionOutput {}
|
2724 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
2725 + | pub struct JsonIntEnumsOutput {
|
2726 + | #[pyo3(get, set)]
|
2727 + | /// :type typing.Optional\[int\]:
|
2728 + | #[allow(missing_docs)] // documentation missing in model
|
2729 + | pub integer_enum1: ::std::option::Option<i32>,
|
2730 + | #[pyo3(get, set)]
|
2731 + | /// :type typing.Optional\[int\]:
|
2732 + | #[allow(missing_docs)] // documentation missing in model
|
2733 + | pub integer_enum2: ::std::option::Option<i32>,
|
2734 + | #[pyo3(get, set)]
|
2735 + | /// :type typing.Optional\[int\]:
|
2736 + | #[allow(missing_docs)] // documentation missing in model
|
2737 + | pub integer_enum3: ::std::option::Option<i32>,
|
2738 + | #[pyo3(get, set)]
|
2739 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
2740 + | #[allow(missing_docs)] // documentation missing in model
|
2741 + | pub integer_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
2742 + | #[pyo3(get, set)]
|
2743 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
2744 + | #[allow(missing_docs)] // documentation missing in model
|
2745 + | pub integer_enum_set: ::std::option::Option<::std::vec::Vec<i32>>,
|
2746 + | #[pyo3(get, set)]
|
2747 + | /// :type typing.Optional\[typing.Dict\[str, int\]\]:
|
2748 + | #[allow(missing_docs)] // documentation missing in model
|
2749 + | pub integer_enum_map:
|
2750 + | ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
2751 + | }
|
2752 + | impl JsonIntEnumsOutput {
|
2753 + | #[allow(missing_docs)] // documentation missing in model
|
2754 + | pub fn integer_enum1(&self) -> ::std::option::Option<i32> {
|
2755 + | self.integer_enum1
|
2756 + | }
|
2757 + | #[allow(missing_docs)] // documentation missing in model
|
2758 + | pub fn integer_enum2(&self) -> ::std::option::Option<i32> {
|
2759 + | self.integer_enum2
|
2760 + | }
|
2761 + | #[allow(missing_docs)] // documentation missing in model
|
2762 + | pub fn integer_enum3(&self) -> ::std::option::Option<i32> {
|
2763 + | self.integer_enum3
|
2764 + | }
|
2765 + | #[allow(missing_docs)] // documentation missing in model
|
2766 + | pub fn integer_enum_list(&self) -> ::std::option::Option<&[i32]> {
|
2767 + | self.integer_enum_list.as_deref()
|
2768 + | }
|
2769 + | #[allow(missing_docs)] // documentation missing in model
|
2770 + | pub fn integer_enum_set(&self) -> ::std::option::Option<&[i32]> {
|
2771 + | self.integer_enum_set.as_deref()
|
2772 + | }
|
2773 + | #[allow(missing_docs)] // documentation missing in model
|
2774 + | pub fn integer_enum_map(
|
2775 + | &self,
|
2776 + | ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, i32>> {
|
2777 + | self.integer_enum_map.as_ref()
|
2778 + | }
|
2779 + | }
|
2346 2780 | #[allow(clippy::new_without_default)]
|
2347 2781 | #[allow(clippy::too_many_arguments)]
|
2348 2782 | #[::pyo3::pymethods]
|
2349 - | impl MalformedUnionOutput {
|
2783 + | impl JsonIntEnumsOutput {
|
2350 2784 | #[new]
|
2351 - | pub fn new() -> Self {
|
2352 - | Self {}
|
2785 + | pub fn new(
|
2786 + | integer_enum1: ::std::option::Option<i32>,
|
2787 + | integer_enum2: ::std::option::Option<i32>,
|
2788 + | integer_enum3: ::std::option::Option<i32>,
|
2789 + | integer_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
2790 + | integer_enum_set: ::std::option::Option<::std::vec::Vec<i32>>,
|
2791 + | integer_enum_map: ::std::option::Option<
|
2792 + | ::std::collections::HashMap<::std::string::String, i32>,
|
2793 + | >,
|
2794 + | ) -> Self {
|
2795 + | Self {
|
2796 + | integer_enum1,
|
2797 + | integer_enum2,
|
2798 + | integer_enum3,
|
2799 + | integer_enum_list,
|
2800 + | integer_enum_set,
|
2801 + | integer_enum_map,
|
2802 + | }
|
2353 2803 | }
|
2354 2804 | fn __repr__(&self) -> String {
|
2355 2805 | format!("{self:?}")
|
2356 2806 | }
|
2357 2807 | fn __str__(&self) -> String {
|
2358 2808 | format!("{self:?}")
|
2359 2809 | }
|
2360 2810 | }
|
2361 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedUnionOutput> {
|
2811 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonIntEnumsOutput> {
|
2362 2812 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2363 - | ob.extract::<MalformedUnionOutput>().map(Box::new)
|
2813 + | ob.extract::<JsonIntEnumsOutput>().map(Box::new)
|
2364 2814 | }
|
2365 2815 | }
|
2366 2816 |
|
2367 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedUnionOutput> {
|
2817 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonIntEnumsOutput> {
|
2368 2818 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2369 2819 | (*self).into_py(py)
|
2370 2820 | }
|
2371 2821 | }
|
2372 - | impl MalformedUnionOutput {
|
2373 - | /// Creates a new builder-style object to manufacture [`MalformedUnionOutput`](crate::output::MalformedUnionOutput).
|
2374 - | pub fn builder() -> crate::output::malformed_union_output::Builder {
|
2375 - | crate::output::malformed_union_output::Builder::default()
|
2822 + | impl JsonIntEnumsOutput {
|
2823 + | /// Creates a new builder-style object to manufacture [`JsonIntEnumsOutput`](crate::output::JsonIntEnumsOutput).
|
2824 + | pub fn builder() -> crate::output::json_int_enums_output::Builder {
|
2825 + | crate::output::json_int_enums_output::Builder::default()
|
2376 2826 | }
|
2377 2827 | }
|
2378 2828 |
|
2379 2829 | #[::pyo3::pyclass]
|
2830 + | /// :param nested typing.Optional\[rest_json.model.RecursiveShapesInputOutputNested1\]:
|
2380 2831 | /// :rtype None:
|
2381 2832 | #[allow(missing_docs)] // documentation missing in model
|
2382 2833 | #[derive(
|
2383 2834 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2384 2835 | )]
|
2385 - | pub struct MalformedIntegerOutput {}
|
2386 - | #[allow(clippy::new_without_default)]
|
2387 - | #[allow(clippy::too_many_arguments)]
|
2388 - | #[::pyo3::pymethods]
|
2389 - | impl MalformedIntegerOutput {
|
2390 - | #[new]
|
2391 - | pub fn new() -> Self {
|
2392 - | Self {}
|
2393 - | }
|
2394 - | fn __repr__(&self) -> String {
|
2395 - | format!("{self:?}")
|
2396 - | }
|
2397 - | fn __str__(&self) -> String {
|
2398 - | format!("{self:?}")
|
2399 - | }
|
2400 - | }
|
2401 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedIntegerOutput> {
|
2402 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2403 - | ob.extract::<MalformedIntegerOutput>().map(Box::new)
|
2404 - | }
|
2405 - | }
|
2406 - |
|
2407 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedIntegerOutput> {
|
2408 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2409 - | (*self).into_py(py)
|
2410 - | }
|
2836 + | pub struct RecursiveShapesOutput {
|
2837 + | #[pyo3(get, set)]
|
2838 + | /// :type typing.Optional\[rest_json.model.RecursiveShapesInputOutputNested1\]:
|
2839 + | #[allow(missing_docs)] // documentation missing in model
|
2840 + | pub nested: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
|
2411 2841 | }
|
2412 - | impl MalformedIntegerOutput {
|
2413 - | /// Creates a new builder-style object to manufacture [`MalformedIntegerOutput`](crate::output::MalformedIntegerOutput).
|
2414 - | pub fn builder() -> crate::output::malformed_integer_output::Builder {
|
2415 - | crate::output::malformed_integer_output::Builder::default()
|
2842 + | impl RecursiveShapesOutput {
|
2843 + | #[allow(missing_docs)] // documentation missing in model
|
2844 + | pub fn nested(
|
2845 + | &self,
|
2846 + | ) -> ::std::option::Option<&crate::model::RecursiveShapesInputOutputNested1> {
|
2847 + | self.nested.as_ref()
|
2416 2848 | }
|
2417 2849 | }
|
2418 - |
|
2419 - | #[::pyo3::pyclass]
|
2420 - | /// :rtype None:
|
2421 - | #[allow(missing_docs)] // documentation missing in model
|
2422 - | #[derive(
|
2423 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2424 - | )]
|
2425 - | pub struct MalformedRequestBodyOutput {}
|
2426 2850 | #[allow(clippy::new_without_default)]
|
2427 2851 | #[allow(clippy::too_many_arguments)]
|
2428 2852 | #[::pyo3::pymethods]
|
2429 - | impl MalformedRequestBodyOutput {
|
2853 + | impl RecursiveShapesOutput {
|
2430 2854 | #[new]
|
2431 - | pub fn new() -> Self {
|
2432 - | Self {}
|
2855 + | pub fn new(
|
2856 + | nested: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
|
2857 + | ) -> Self {
|
2858 + | Self { nested }
|
2433 2859 | }
|
2434 2860 | fn __repr__(&self) -> String {
|
2435 2861 | format!("{self:?}")
|
2436 2862 | }
|
2437 2863 | fn __str__(&self) -> String {
|
2438 2864 | format!("{self:?}")
|
2439 2865 | }
|
2440 2866 | }
|
2441 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedRequestBodyOutput> {
|
2867 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<RecursiveShapesOutput> {
|
2442 2868 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2443 - | ob.extract::<MalformedRequestBodyOutput>().map(Box::new)
|
2869 + | ob.extract::<RecursiveShapesOutput>().map(Box::new)
|
2444 2870 | }
|
2445 2871 | }
|
2446 2872 |
|
2447 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedRequestBodyOutput> {
|
2873 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<RecursiveShapesOutput> {
|
2448 2874 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2449 2875 | (*self).into_py(py)
|
2450 2876 | }
|
2451 2877 | }
|
2452 - | impl MalformedRequestBodyOutput {
|
2453 - | /// Creates a new builder-style object to manufacture [`MalformedRequestBodyOutput`](crate::output::MalformedRequestBodyOutput).
|
2454 - | pub fn builder() -> crate::output::malformed_request_body_output::Builder {
|
2455 - | crate::output::malformed_request_body_output::Builder::default()
|
2878 + | impl RecursiveShapesOutput {
|
2879 + | /// Creates a new builder-style object to manufacture [`RecursiveShapesOutput`](crate::output::RecursiveShapesOutput).
|
2880 + | pub fn builder() -> crate::output::recursive_shapes_output::Builder {
|
2881 + | crate::output::recursive_shapes_output::Builder::default()
|
2456 2882 | }
|
2457 2883 | }
|
2458 2884 |
|
2459 2885 | #[::pyo3::pyclass]
|
2460 - | /// :param foo typing.Optional\[str\]:
|
2886 + | /// :param string_list typing.Optional\[typing.List\[str\]\]:
|
2887 + | /// :param string_set typing.Optional\[typing.List\[str\]\]:
|
2888 + | /// :param integer_list typing.Optional\[typing.List\[int\]\]:
|
2889 + | /// :param boolean_list typing.Optional\[typing.List\[bool\]\]:
|
2890 + | /// :param timestamp_list typing.Optional\[typing.List\[rest_json.types.DateTime\]\]:
|
2891 + | /// :param enum_list typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
2892 + | /// :param int_enum_list typing.Optional\[typing.List\[int\]\]:
|
2893 + | /// :param nested_string_list typing.Optional\[typing.List\[typing.List\[str\]\]\]:
|
2894 + | /// :param structure_list typing.Optional\[typing.List\[rest_json.model.StructureListMember\]\]:
|
2461 2895 | /// :rtype None:
|
2462 2896 | #[allow(missing_docs)] // documentation missing in model
|
2463 2897 | #[derive(
|
2464 2898 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2465 2899 | )]
|
2466 - | pub struct HttpChecksumRequiredOutput {
|
2900 + | pub struct JsonListsOutput {
|
2467 2901 | #[pyo3(get, set)]
|
2468 - | /// :type typing.Optional\[str\]:
|
2902 + | /// :type typing.Optional\[typing.List\[str\]\]:
|
2469 2903 | #[allow(missing_docs)] // documentation missing in model
|
2470 - | pub foo: ::std::option::Option<::std::string::String>,
|
2904 + | pub string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2905 + | #[pyo3(get, set)]
|
2906 + | /// :type typing.Optional\[typing.List\[str\]\]:
|
2907 + | #[allow(missing_docs)] // documentation missing in model
|
2908 + | pub string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2909 + | #[pyo3(get, set)]
|
2910 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
2911 + | #[allow(missing_docs)] // documentation missing in model
|
2912 + | pub integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
2913 + | #[pyo3(get, set)]
|
2914 + | /// :type typing.Optional\[typing.List\[bool\]\]:
|
2915 + | #[allow(missing_docs)] // documentation missing in model
|
2916 + | pub boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
2917 + | #[pyo3(get, set)]
|
2918 + | /// :type typing.Optional\[typing.List\[rest_json.types.DateTime\]\]:
|
2919 + | #[allow(missing_docs)] // documentation missing in model
|
2920 + | pub timestamp_list:
|
2921 + | ::std::option::Option<::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>>,
|
2922 + | #[pyo3(get, set)]
|
2923 + | /// :type typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
2924 + | #[allow(missing_docs)] // documentation missing in model
|
2925 + | pub enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
2926 + | #[pyo3(get, set)]
|
2927 + | /// :type typing.Optional\[typing.List\[int\]\]:
|
2928 + | #[allow(missing_docs)] // documentation missing in model
|
2929 + | pub int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
2930 + | #[pyo3(get, set)]
|
2931 + | /// :type typing.Optional\[typing.List\[typing.List\[str\]\]\]:
|
2932 + | /// A list of lists of strings.
|
2933 + | pub nested_string_list:
|
2934 + | ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
2935 + | #[pyo3(get, set)]
|
2936 + | /// :type typing.Optional\[typing.List\[rest_json.model.StructureListMember\]\]:
|
2937 + | #[allow(missing_docs)] // documentation missing in model
|
2938 + | pub structure_list: ::std::option::Option<::std::vec::Vec<crate::model::StructureListMember>>,
|
2471 2939 | }
|
2472 - | impl HttpChecksumRequiredOutput {
|
2940 + | impl JsonListsOutput {
|
2473 2941 | #[allow(missing_docs)] // documentation missing in model
|
2474 - | pub fn foo(&self) -> ::std::option::Option<&str> {
|
2475 - | self.foo.as_deref()
|
2942 + | pub fn string_list(&self) -> ::std::option::Option<&[::std::string::String]> {
|
2943 + | self.string_list.as_deref()
|
2944 + | }
|
2945 + | #[allow(missing_docs)] // documentation missing in model
|
2946 + | pub fn string_set(&self) -> ::std::option::Option<&[::std::string::String]> {
|
2947 + | self.string_set.as_deref()
|
2948 + | }
|
2949 + | #[allow(missing_docs)] // documentation missing in model
|
2950 + | pub fn integer_list(&self) -> ::std::option::Option<&[i32]> {
|
2951 + | self.integer_list.as_deref()
|
2952 + | }
|
2953 + | #[allow(missing_docs)] // documentation missing in model
|
2954 + | pub fn boolean_list(&self) -> ::std::option::Option<&[bool]> {
|
2955 + | self.boolean_list.as_deref()
|
2956 + | }
|
2957 + | #[allow(missing_docs)] // documentation missing in model
|
2958 + | pub fn timestamp_list(
|
2959 + | &self,
|
2960 + | ) -> ::std::option::Option<&[::aws_smithy_http_server_python::types::DateTime]> {
|
2961 + | self.timestamp_list.as_deref()
|
2962 + | }
|
2963 + | #[allow(missing_docs)] // documentation missing in model
|
2964 + | pub fn enum_list(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
2965 + | self.enum_list.as_deref()
|
2966 + | }
|
2967 + | #[allow(missing_docs)] // documentation missing in model
|
2968 + | pub fn int_enum_list(&self) -> ::std::option::Option<&[i32]> {
|
2969 + | self.int_enum_list.as_deref()
|
2970 + | }
|
2971 + | /// A list of lists of strings.
|
2972 + | pub fn nested_string_list(
|
2973 + | &self,
|
2974 + | ) -> ::std::option::Option<&[::std::vec::Vec<::std::string::String>]> {
|
2975 + | self.nested_string_list.as_deref()
|
2976 + | }
|
2977 + | #[allow(missing_docs)] // documentation missing in model
|
2978 + | pub fn structure_list(&self) -> ::std::option::Option<&[crate::model::StructureListMember]> {
|
2979 + | self.structure_list.as_deref()
|
2476 2980 | }
|
2477 2981 | }
|
2478 2982 | #[allow(clippy::new_without_default)]
|
2479 2983 | #[allow(clippy::too_many_arguments)]
|
2480 2984 | #[::pyo3::pymethods]
|
2481 - | impl HttpChecksumRequiredOutput {
|
2985 + | impl JsonListsOutput {
|
2482 2986 | #[new]
|
2483 - | pub fn new(foo: ::std::option::Option<::std::string::String>) -> Self {
|
2484 - | Self { foo }
|
2987 + | pub fn new(
|
2988 + | string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2989 + | string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
2990 + | integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
2991 + | boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
2992 + | timestamp_list: ::std::option::Option<
|
2993 + | ::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>,
|
2994 + | >,
|
2995 + | enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
2996 + | int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
2997 + | nested_string_list: ::std::option::Option<
|
2998 + | ::std::vec::Vec<::std::vec::Vec<::std::string::String>>,
|
2999 + | >,
|
3000 + | structure_list: ::std::option::Option<::std::vec::Vec<crate::model::StructureListMember>>,
|
3001 + | ) -> Self {
|
3002 + | Self {
|
3003 + | string_list,
|
3004 + | string_set,
|
3005 + | integer_list,
|
3006 + | boolean_list,
|
3007 + | timestamp_list,
|
3008 + | enum_list,
|
3009 + | int_enum_list,
|
3010 + | nested_string_list,
|
3011 + | structure_list,
|
3012 + | }
|
2485 3013 | }
|
2486 3014 | fn __repr__(&self) -> String {
|
2487 3015 | format!("{self:?}")
|
2488 3016 | }
|
2489 3017 | fn __str__(&self) -> String {
|
2490 3018 | format!("{self:?}")
|
2491 3019 | }
|
2492 3020 | }
|
2493 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpChecksumRequiredOutput> {
|
3021 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonListsOutput> {
|
2494 3022 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2495 - | ob.extract::<HttpChecksumRequiredOutput>().map(Box::new)
|
3023 + | ob.extract::<JsonListsOutput>().map(Box::new)
|
2496 3024 | }
|
2497 3025 | }
|
2498 3026 |
|
2499 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpChecksumRequiredOutput> {
|
3027 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonListsOutput> {
|
2500 3028 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2501 3029 | (*self).into_py(py)
|
2502 3030 | }
|
2503 3031 | }
|
2504 - | impl HttpChecksumRequiredOutput {
|
2505 - | /// Creates a new builder-style object to manufacture [`HttpChecksumRequiredOutput`](crate::output::HttpChecksumRequiredOutput).
|
2506 - | pub fn builder() -> crate::output::http_checksum_required_output::Builder {
|
2507 - | crate::output::http_checksum_required_output::Builder::default()
|
3032 + | impl JsonListsOutput {
|
3033 + | /// Creates a new builder-style object to manufacture [`JsonListsOutput`](crate::output::JsonListsOutput).
|
3034 + | pub fn builder() -> crate::output::json_lists_output::Builder {
|
3035 + | crate::output::json_lists_output::Builder::default()
|
2508 3036 | }
|
2509 3037 | }
|
2510 3038 |
|
2511 3039 | #[::pyo3::pyclass]
|
3040 + | /// :param sparse_string_list typing.Optional\[typing.List\[typing.Optional\[str\]\]\]:
|
3041 + | /// :param sparse_short_list typing.Optional\[typing.List\[typing.Optional\[int\]\]\]:
|
2512 3042 | /// :rtype None:
|
2513 3043 | #[allow(missing_docs)] // documentation missing in model
|
2514 3044 | #[derive(
|
2515 3045 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2516 3046 | )]
|
2517 - | pub struct HostWithPathOperationOutput {}
|
3047 + | pub struct SparseJsonListsOutput {
|
3048 + | #[pyo3(get, set)]
|
3049 + | /// :type typing.Optional\[typing.List\[typing.Optional\[str\]\]\]:
|
3050 + | #[allow(missing_docs)] // documentation missing in model
|
3051 + | pub sparse_string_list:
|
3052 + | ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
|
3053 + | #[pyo3(get, set)]
|
3054 + | /// :type typing.Optional\[typing.List\[typing.Optional\[int\]\]\]:
|
3055 + | #[allow(missing_docs)] // documentation missing in model
|
3056 + | pub sparse_short_list: ::std::option::Option<::std::vec::Vec<::std::option::Option<i16>>>,
|
3057 + | }
|
3058 + | impl SparseJsonListsOutput {
|
3059 + | #[allow(missing_docs)] // documentation missing in model
|
3060 + | pub fn sparse_string_list(
|
3061 + | &self,
|
3062 + | ) -> ::std::option::Option<&[::std::option::Option<::std::string::String>]> {
|
3063 + | self.sparse_string_list.as_deref()
|
3064 + | }
|
3065 + | #[allow(missing_docs)] // documentation missing in model
|
3066 + | pub fn sparse_short_list(&self) -> ::std::option::Option<&[::std::option::Option<i16>]> {
|
3067 + | self.sparse_short_list.as_deref()
|
3068 + | }
|
3069 + | }
|
2518 3070 | #[allow(clippy::new_without_default)]
|
2519 3071 | #[allow(clippy::too_many_arguments)]
|
2520 3072 | #[::pyo3::pymethods]
|
2521 - | impl HostWithPathOperationOutput {
|
3073 + | impl SparseJsonListsOutput {
|
2522 3074 | #[new]
|
2523 - | pub fn new() -> Self {
|
2524 - | Self {}
|
3075 + | pub fn new(
|
3076 + | sparse_string_list: ::std::option::Option<
|
3077 + | ::std::vec::Vec<::std::option::Option<::std::string::String>>,
|
3078 + | >,
|
3079 + | sparse_short_list: ::std::option::Option<::std::vec::Vec<::std::option::Option<i16>>>,
|
3080 + | ) -> Self {
|
3081 + | Self {
|
3082 + | sparse_string_list,
|
3083 + | sparse_short_list,
|
3084 + | }
|
2525 3085 | }
|
2526 3086 | fn __repr__(&self) -> String {
|
2527 3087 | format!("{self:?}")
|
2528 3088 | }
|
2529 3089 | fn __str__(&self) -> String {
|
2530 3090 | format!("{self:?}")
|
2531 3091 | }
|
2532 3092 | }
|
2533 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HostWithPathOperationOutput> {
|
3093 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<SparseJsonListsOutput> {
|
2534 3094 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2535 - | ob.extract::<HostWithPathOperationOutput>().map(Box::new)
|
3095 + | ob.extract::<SparseJsonListsOutput>().map(Box::new)
|
2536 3096 | }
|
2537 3097 | }
|
2538 3098 |
|
2539 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HostWithPathOperationOutput> {
|
3099 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<SparseJsonListsOutput> {
|
2540 3100 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2541 3101 | (*self).into_py(py)
|
2542 3102 | }
|
2543 3103 | }
|
2544 - | impl HostWithPathOperationOutput {
|
2545 - | /// Creates a new builder-style object to manufacture [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
2546 - | pub fn builder() -> crate::output::host_with_path_operation_output::Builder {
|
2547 - | crate::output::host_with_path_operation_output::Builder::default()
|
3104 + | impl SparseJsonListsOutput {
|
3105 + | /// Creates a new builder-style object to manufacture [`SparseJsonListsOutput`](crate::output::SparseJsonListsOutput).
|
3106 + | pub fn builder() -> crate::output::sparse_json_lists_output::Builder {
|
3107 + | crate::output::sparse_json_lists_output::Builder::default()
|
2548 3108 | }
|
2549 3109 | }
|
2550 3110 |
|
2551 3111 | #[::pyo3::pyclass]
|
2552 - | /// :rtype None:
|
3112 + | /// :param dense_struct_map typing.Optional\[typing.Dict\[str, rest_json.model.GreetingStruct\]\]:
|
3113 + | /// :param dense_number_map typing.Optional\[typing.Dict\[str, int\]\]:
|
3114 + | /// :param dense_boolean_map typing.Optional\[typing.Dict\[str, bool\]\]:
|
3115 + | /// :param dense_string_map typing.Optional\[typing.Dict\[str, str\]\]:
|
3116 + | /// :param dense_set_map typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
3117 + | /// :rtype None:
|
2553 3118 | #[allow(missing_docs)] // documentation missing in model
|
2554 - | #[derive(
|
2555 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2556 - | )]
|
2557 - | pub struct EndpointWithHostLabelOperationOutput {}
|
2558 - | #[allow(clippy::new_without_default)]
|
2559 - | #[allow(clippy::too_many_arguments)]
|
2560 - | #[::pyo3::pymethods]
|
2561 - | impl EndpointWithHostLabelOperationOutput {
|
2562 - | #[new]
|
2563 - | pub fn new() -> Self {
|
2564 - | Self {}
|
2565 - | }
|
2566 - | fn __repr__(&self) -> String {
|
2567 - | format!("{self:?}")
|
3119 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
3120 + | pub struct JsonMapsOutput {
|
3121 + | #[pyo3(get, set)]
|
3122 + | /// :type typing.Optional\[typing.Dict\[str, rest_json.model.GreetingStruct\]\]:
|
3123 + | #[allow(missing_docs)] // documentation missing in model
|
3124 + | pub dense_struct_map: ::std::option::Option<
|
3125 + | ::std::collections::HashMap<::std::string::String, crate::model::GreetingStruct>,
|
3126 + | >,
|
3127 + | #[pyo3(get, set)]
|
3128 + | /// :type typing.Optional\[typing.Dict\[str, int\]\]:
|
3129 + | #[allow(missing_docs)] // documentation missing in model
|
3130 + | pub dense_number_map:
|
3131 + | ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
3132 + | #[pyo3(get, set)]
|
3133 + | /// :type typing.Optional\[typing.Dict\[str, bool\]\]:
|
3134 + | #[allow(missing_docs)] // documentation missing in model
|
3135 + | pub dense_boolean_map:
|
3136 + | ::std::option::Option<::std::collections::HashMap<::std::string::String, bool>>,
|
3137 + | #[pyo3(get, set)]
|
3138 + | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
3139 + | #[allow(missing_docs)] // documentation missing in model
|
3140 + | pub dense_string_map: ::std::option::Option<
|
3141 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3142 + | >,
|
3143 + | #[pyo3(get, set)]
|
3144 + | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
3145 + | #[allow(missing_docs)] // documentation missing in model
|
3146 + | pub dense_set_map: ::std::option::Option<
|
3147 + | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
3148 + | >,
|
3149 + | }
|
3150 + | impl JsonMapsOutput {
|
3151 + | #[allow(missing_docs)] // documentation missing in model
|
3152 + | pub fn dense_struct_map(
|
3153 + | &self,
|
3154 + | ) -> ::std::option::Option<
|
3155 + | &::std::collections::HashMap<::std::string::String, crate::model::GreetingStruct>,
|
3156 + | > {
|
3157 + | self.dense_struct_map.as_ref()
|
2568 3158 | }
|
2569 - | fn __str__(&self) -> String {
|
2570 - | format!("{self:?}")
|
3159 + | #[allow(missing_docs)] // documentation missing in model
|
3160 + | pub fn dense_number_map(
|
3161 + | &self,
|
3162 + | ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, i32>> {
|
3163 + | self.dense_number_map.as_ref()
|
2571 3164 | }
|
2572 - | }
|
2573 - | impl<'source> ::pyo3::FromPyObject<'source>
|
2574 - | for std::boxed::Box<EndpointWithHostLabelOperationOutput>
|
2575 - | {
|
2576 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2577 - | ob.extract::<EndpointWithHostLabelOperationOutput>()
|
2578 - | .map(Box::new)
|
3165 + | #[allow(missing_docs)] // documentation missing in model
|
3166 + | pub fn dense_boolean_map(
|
3167 + | &self,
|
3168 + | ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, bool>> {
|
3169 + | self.dense_boolean_map.as_ref()
|
2579 3170 | }
|
2580 - | }
|
2581 - |
|
2582 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EndpointWithHostLabelOperationOutput> {
|
2583 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2584 - | (*self).into_py(py)
|
3171 + | #[allow(missing_docs)] // documentation missing in model
|
3172 + | pub fn dense_string_map(
|
3173 + | &self,
|
3174 + | ) -> ::std::option::Option<
|
3175 + | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3176 + | > {
|
3177 + | self.dense_string_map.as_ref()
|
2585 3178 | }
|
2586 - | }
|
2587 - | impl EndpointWithHostLabelOperationOutput {
|
2588 - | /// Creates a new builder-style object to manufacture [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
2589 - | pub fn builder() -> crate::output::endpoint_with_host_label_operation_output::Builder {
|
2590 - | crate::output::endpoint_with_host_label_operation_output::Builder::default()
|
3179 + | #[allow(missing_docs)] // documentation missing in model
|
3180 + | pub fn dense_set_map(
|
3181 + | &self,
|
3182 + | ) -> ::std::option::Option<
|
3183 + | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
3184 + | > {
|
3185 + | self.dense_set_map.as_ref()
|
2591 3186 | }
|
2592 3187 | }
|
2593 - |
|
2594 - | #[::pyo3::pyclass]
|
2595 - | /// :rtype None:
|
2596 - | #[allow(missing_docs)] // documentation missing in model
|
2597 - | #[derive(
|
2598 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2599 - | )]
|
2600 - | pub struct EndpointOperationOutput {}
|
2601 3188 | #[allow(clippy::new_without_default)]
|
2602 3189 | #[allow(clippy::too_many_arguments)]
|
2603 3190 | #[::pyo3::pymethods]
|
2604 - | impl EndpointOperationOutput {
|
3191 + | impl JsonMapsOutput {
|
2605 3192 | #[new]
|
2606 - | pub fn new() -> Self {
|
2607 - | Self {}
|
3193 + | pub fn new(
|
3194 + | dense_struct_map: ::std::option::Option<
|
3195 + | ::std::collections::HashMap<::std::string::String, crate::model::GreetingStruct>,
|
3196 + | >,
|
3197 + | dense_number_map: ::std::option::Option<
|
3198 + | ::std::collections::HashMap<::std::string::String, i32>,
|
3199 + | >,
|
3200 + | dense_boolean_map: ::std::option::Option<
|
3201 + | ::std::collections::HashMap<::std::string::String, bool>,
|
3202 + | >,
|
3203 + | dense_string_map: ::std::option::Option<
|
3204 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3205 + | >,
|
3206 + | dense_set_map: ::std::option::Option<
|
3207 + | ::std::collections::HashMap<
|
3208 + | ::std::string::String,
|
3209 + | ::std::vec::Vec<::std::string::String>,
|
3210 + | >,
|
3211 + | >,
|
3212 + | ) -> Self {
|
3213 + | Self {
|
3214 + | dense_struct_map,
|
3215 + | dense_number_map,
|
3216 + | dense_boolean_map,
|
3217 + | dense_string_map,
|
3218 + | dense_set_map,
|
3219 + | }
|
2608 3220 | }
|
2609 3221 | fn __repr__(&self) -> String {
|
2610 3222 | format!("{self:?}")
|
2611 3223 | }
|
2612 3224 | fn __str__(&self) -> String {
|
2613 3225 | format!("{self:?}")
|
2614 3226 | }
|
2615 3227 | }
|
2616 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EndpointOperationOutput> {
|
3228 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonMapsOutput> {
|
2617 3229 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2618 - | ob.extract::<EndpointOperationOutput>().map(Box::new)
|
3230 + | ob.extract::<JsonMapsOutput>().map(Box::new)
|
2619 3231 | }
|
2620 3232 | }
|
2621 3233 |
|
2622 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EndpointOperationOutput> {
|
3234 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonMapsOutput> {
|
2623 3235 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2624 3236 | (*self).into_py(py)
|
2625 3237 | }
|
2626 3238 | }
|
2627 - | impl EndpointOperationOutput {
|
2628 - | /// Creates a new builder-style object to manufacture [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
2629 - | pub fn builder() -> crate::output::endpoint_operation_output::Builder {
|
2630 - | crate::output::endpoint_operation_output::Builder::default()
|
3239 + | impl JsonMapsOutput {
|
3240 + | /// Creates a new builder-style object to manufacture [`JsonMapsOutput`](crate::output::JsonMapsOutput).
|
3241 + | pub fn builder() -> crate::output::json_maps_output::Builder {
|
3242 + | crate::output::json_maps_output::Builder::default()
|
2631 3243 | }
|
2632 3244 | }
|
2633 3245 |
|
2634 3246 | #[::pyo3::pyclass]
|
2635 - | /// :param value rest_json.model.UnionWithJsonName:
|
3247 + | /// :param sparse_struct_map typing.Optional\[typing.Dict\[str, typing.Optional\[rest_json.model.GreetingStruct\]\]\]:
|
3248 + | /// :param sparse_number_map typing.Optional\[typing.Dict\[str, typing.Optional\[int\]\]\]:
|
3249 + | /// :param sparse_boolean_map typing.Optional\[typing.Dict\[str, typing.Optional\[bool\]\]\]:
|
3250 + | /// :param sparse_string_map typing.Optional\[typing.Dict\[str, typing.Optional\[str\]\]\]:
|
3251 + | /// :param sparse_set_map typing.Optional\[typing.Dict\[str, typing.Optional\[typing.List\[str\]\]\]\]:
|
2636 3252 | /// :rtype None:
|
2637 3253 | #[allow(missing_docs)] // documentation missing in model
|
2638 - | #[derive(
|
2639 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2640 - | )]
|
2641 - | pub struct PostUnionWithJsonNameOutput {
|
3254 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
3255 + | pub struct SparseJsonMapsOutput {
|
2642 3256 | #[pyo3(get, set)]
|
2643 - | /// :type rest_json.model.UnionWithJsonName:
|
3257 + | /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[rest_json.model.GreetingStruct\]\]\]:
|
2644 3258 | #[allow(missing_docs)] // documentation missing in model
|
2645 - | pub value: crate::model::UnionWithJsonName,
|
3259 + | pub sparse_struct_map: ::std::option::Option<
|
3260 + | ::std::collections::HashMap<
|
3261 + | ::std::string::String,
|
3262 + | ::std::option::Option<crate::model::GreetingStruct>,
|
3263 + | >,
|
3264 + | >,
|
3265 + | #[pyo3(get, set)]
|
3266 + | /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[int\]\]\]:
|
3267 + | #[allow(missing_docs)] // documentation missing in model
|
3268 + | pub sparse_number_map: ::std::option::Option<
|
3269 + | ::std::collections::HashMap<::std::string::String, ::std::option::Option<i32>>,
|
3270 + | >,
|
3271 + | #[pyo3(get, set)]
|
3272 + | /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[bool\]\]\]:
|
3273 + | #[allow(missing_docs)] // documentation missing in model
|
3274 + | pub sparse_boolean_map: ::std::option::Option<
|
3275 + | ::std::collections::HashMap<::std::string::String, ::std::option::Option<bool>>,
|
3276 + | >,
|
3277 + | #[pyo3(get, set)]
|
3278 + | /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[str\]\]\]:
|
3279 + | #[allow(missing_docs)] // documentation missing in model
|
3280 + | pub sparse_string_map: ::std::option::Option<
|
3281 + | ::std::collections::HashMap<
|
3282 + | ::std::string::String,
|
3283 + | ::std::option::Option<::std::string::String>,
|
3284 + | >,
|
3285 + | >,
|
3286 + | #[pyo3(get, set)]
|
3287 + | /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[typing.List\[str\]\]\]\]:
|
3288 + | #[allow(missing_docs)] // documentation missing in model
|
3289 + | pub sparse_set_map: ::std::option::Option<
|
3290 + | ::std::collections::HashMap<
|
3291 + | ::std::string::String,
|
3292 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
3293 + | >,
|
3294 + | >,
|
2646 3295 | }
|
2647 - | impl PostUnionWithJsonNameOutput {
|
3296 + | impl SparseJsonMapsOutput {
|
2648 3297 | #[allow(missing_docs)] // documentation missing in model
|
2649 - | pub fn value(&self) -> &crate::model::UnionWithJsonName {
|
2650 - | &self.value
|
3298 + | pub fn sparse_struct_map(
|
3299 + | &self,
|
3300 + | ) -> ::std::option::Option<
|
3301 + | &::std::collections::HashMap<
|
3302 + | ::std::string::String,
|
3303 + | ::std::option::Option<crate::model::GreetingStruct>,
|
3304 + | >,
|
3305 + | > {
|
3306 + | self.sparse_struct_map.as_ref()
|
2651 3307 | }
|
2652 - | }
|
2653 - | #[allow(clippy::new_without_default)]
|
2654 - | #[allow(clippy::too_many_arguments)]
|
2655 - | #[::pyo3::pymethods]
|
2656 - | impl PostUnionWithJsonNameOutput {
|
2657 - | #[new]
|
2658 - | pub fn new(value: crate::model::UnionWithJsonName) -> Self {
|
2659 - | Self { value }
|
3308 + | #[allow(missing_docs)] // documentation missing in model
|
3309 + | pub fn sparse_number_map(
|
3310 + | &self,
|
3311 + | ) -> ::std::option::Option<
|
3312 + | &::std::collections::HashMap<::std::string::String, ::std::option::Option<i32>>,
|
3313 + | > {
|
3314 + | self.sparse_number_map.as_ref()
|
2660 3315 | }
|
2661 - | fn __repr__(&self) -> String {
|
2662 - | format!("{self:?}")
|
3316 + | #[allow(missing_docs)] // documentation missing in model
|
3317 + | pub fn sparse_boolean_map(
|
3318 + | &self,
|
3319 + | ) -> ::std::option::Option<
|
3320 + | &::std::collections::HashMap<::std::string::String, ::std::option::Option<bool>>,
|
3321 + | > {
|
3322 + | self.sparse_boolean_map.as_ref()
|
2663 3323 | }
|
2664 - | fn __str__(&self) -> String {
|
2665 - | format!("{self:?}")
|
3324 + | #[allow(missing_docs)] // documentation missing in model
|
3325 + | pub fn sparse_string_map(
|
3326 + | &self,
|
3327 + | ) -> ::std::option::Option<
|
3328 + | &::std::collections::HashMap<
|
3329 + | ::std::string::String,
|
3330 + | ::std::option::Option<::std::string::String>,
|
3331 + | >,
|
3332 + | > {
|
3333 + | self.sparse_string_map.as_ref()
|
2666 3334 | }
|
2667 - | }
|
2668 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PostUnionWithJsonNameOutput> {
|
2669 - | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2670 - | ob.extract::<PostUnionWithJsonNameOutput>().map(Box::new)
|
2671 - | }
|
2672 - | }
|
2673 - |
|
2674 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PostUnionWithJsonNameOutput> {
|
2675 - | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2676 - | (*self).into_py(py)
|
2677 - | }
|
2678 - | }
|
2679 - | impl PostUnionWithJsonNameOutput {
|
2680 - | /// Creates a new builder-style object to manufacture [`PostUnionWithJsonNameOutput`](crate::output::PostUnionWithJsonNameOutput).
|
2681 - | pub fn builder() -> crate::output::post_union_with_json_name_output::Builder {
|
2682 - | crate::output::post_union_with_json_name_output::Builder::default()
|
2683 - | }
|
2684 - | }
|
2685 - |
|
2686 - | #[::pyo3::pyclass]
|
2687 - | /// :param action rest_json.model.PlayerAction:
|
2688 - | /// :rtype None:
|
2689 - | #[allow(missing_docs)] // documentation missing in model
|
2690 - | #[derive(
|
2691 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2692 - | )]
|
2693 - | pub struct PostPlayerActionOutput {
|
2694 - | #[pyo3(get, set)]
|
2695 - | /// :type rest_json.model.PlayerAction:
|
2696 - | #[allow(missing_docs)] // documentation missing in model
|
2697 - | pub action: crate::model::PlayerAction,
|
2698 - | }
|
2699 - | impl PostPlayerActionOutput {
|
2700 3335 | #[allow(missing_docs)] // documentation missing in model
|
2701 - | pub fn action(&self) -> &crate::model::PlayerAction {
|
2702 - | &self.action
|
3336 + | pub fn sparse_set_map(
|
3337 + | &self,
|
3338 + | ) -> ::std::option::Option<
|
3339 + | &::std::collections::HashMap<
|
3340 + | ::std::string::String,
|
3341 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
3342 + | >,
|
3343 + | > {
|
3344 + | self.sparse_set_map.as_ref()
|
2703 3345 | }
|
2704 3346 | }
|
2705 3347 | #[allow(clippy::new_without_default)]
|
2706 3348 | #[allow(clippy::too_many_arguments)]
|
2707 3349 | #[::pyo3::pymethods]
|
2708 - | impl PostPlayerActionOutput {
|
3350 + | impl SparseJsonMapsOutput {
|
2709 3351 | #[new]
|
2710 - | pub fn new(action: crate::model::PlayerAction) -> Self {
|
2711 - | Self { action }
|
3352 + | pub fn new(
|
3353 + | sparse_struct_map: ::std::option::Option<
|
3354 + | ::std::collections::HashMap<
|
3355 + | ::std::string::String,
|
3356 + | ::std::option::Option<crate::model::GreetingStruct>,
|
3357 + | >,
|
3358 + | >,
|
3359 + | sparse_number_map: ::std::option::Option<
|
3360 + | ::std::collections::HashMap<::std::string::String, ::std::option::Option<i32>>,
|
3361 + | >,
|
3362 + | sparse_boolean_map: ::std::option::Option<
|
3363 + | ::std::collections::HashMap<::std::string::String, ::std::option::Option<bool>>,
|
3364 + | >,
|
3365 + | sparse_string_map: ::std::option::Option<
|
3366 + | ::std::collections::HashMap<
|
3367 + | ::std::string::String,
|
3368 + | ::std::option::Option<::std::string::String>,
|
3369 + | >,
|
3370 + | >,
|
3371 + | sparse_set_map: ::std::option::Option<
|
3372 + | ::std::collections::HashMap<
|
3373 + | ::std::string::String,
|
3374 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
3375 + | >,
|
3376 + | >,
|
3377 + | ) -> Self {
|
3378 + | Self {
|
3379 + | sparse_struct_map,
|
3380 + | sparse_number_map,
|
3381 + | sparse_boolean_map,
|
3382 + | sparse_string_map,
|
3383 + | sparse_set_map,
|
3384 + | }
|
2712 3385 | }
|
2713 3386 | fn __repr__(&self) -> String {
|
2714 3387 | format!("{self:?}")
|
2715 3388 | }
|
2716 3389 | fn __str__(&self) -> String {
|
2717 3390 | format!("{self:?}")
|
2718 3391 | }
|
2719 3392 | }
|
2720 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PostPlayerActionOutput> {
|
3393 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<SparseJsonMapsOutput> {
|
2721 3394 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2722 - | ob.extract::<PostPlayerActionOutput>().map(Box::new)
|
3395 + | ob.extract::<SparseJsonMapsOutput>().map(Box::new)
|
2723 3396 | }
|
2724 3397 | }
|
2725 3398 |
|
2726 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PostPlayerActionOutput> {
|
3399 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<SparseJsonMapsOutput> {
|
2727 3400 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2728 3401 | (*self).into_py(py)
|
2729 3402 | }
|
2730 3403 | }
|
2731 - | impl PostPlayerActionOutput {
|
2732 - | /// Creates a new builder-style object to manufacture [`PostPlayerActionOutput`](crate::output::PostPlayerActionOutput).
|
2733 - | pub fn builder() -> crate::output::post_player_action_output::Builder {
|
2734 - | crate::output::post_player_action_output::Builder::default()
|
3404 + | impl SparseJsonMapsOutput {
|
3405 + | /// Creates a new builder-style object to manufacture [`SparseJsonMapsOutput`](crate::output::SparseJsonMapsOutput).
|
3406 + | pub fn builder() -> crate::output::sparse_json_maps_output::Builder {
|
3407 + | crate::output::sparse_json_maps_output::Builder::default()
|
2735 3408 | }
|
2736 3409 | }
|
2737 3410 |
|
2738 3411 | #[::pyo3::pyclass]
|
2739 - | /// :param contents typing.Optional\[rest_json.model.MyUnion\]:
|
3412 + | /// :param data typing.Optional\[rest_json.types.Blob\]:
|
2740 3413 | /// :rtype None:
|
2741 - | /// A shared structure that contains a single union member.
|
2742 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
2743 - | pub struct JsonUnionsOutput {
|
3414 + | #[allow(missing_docs)] // documentation missing in model
|
3415 + | #[derive(
|
3416 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
3417 + | )]
|
3418 + | pub struct JsonBlobsOutput {
|
2744 3419 | #[pyo3(get, set)]
|
2745 - | /// :type typing.Optional\[rest_json.model.MyUnion\]:
|
2746 - | /// A union with a representative set of types for members.
|
2747 - | pub contents: ::std::option::Option<crate::model::MyUnion>,
|
3420 + | /// :type typing.Optional\[rest_json.types.Blob\]:
|
3421 + | #[allow(missing_docs)] // documentation missing in model
|
3422 + | pub data: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
2748 3423 | }
|
2749 - | impl JsonUnionsOutput {
|
2750 - | /// A union with a representative set of types for members.
|
2751 - | pub fn contents(&self) -> ::std::option::Option<&crate::model::MyUnion> {
|
2752 - | self.contents.as_ref()
|
3424 + | impl JsonBlobsOutput {
|
3425 + | #[allow(missing_docs)] // documentation missing in model
|
3426 + | pub fn data(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
3427 + | self.data.as_ref()
|
2753 3428 | }
|
2754 3429 | }
|
2755 3430 | #[allow(clippy::new_without_default)]
|
2756 3431 | #[allow(clippy::too_many_arguments)]
|
2757 3432 | #[::pyo3::pymethods]
|
2758 - | impl JsonUnionsOutput {
|
3433 + | impl JsonBlobsOutput {
|
2759 3434 | #[new]
|
2760 - | pub fn new(contents: ::std::option::Option<crate::model::MyUnion>) -> Self {
|
2761 - | Self { contents }
|
3435 + | pub fn new(data: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>) -> Self {
|
3436 + | Self { data }
|
2762 3437 | }
|
2763 3438 | fn __repr__(&self) -> String {
|
2764 3439 | format!("{self:?}")
|
2765 3440 | }
|
2766 3441 | fn __str__(&self) -> String {
|
2767 3442 | format!("{self:?}")
|
2768 3443 | }
|
2769 3444 | }
|
2770 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonUnionsOutput> {
|
3445 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonBlobsOutput> {
|
2771 3446 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2772 - | ob.extract::<JsonUnionsOutput>().map(Box::new)
|
3447 + | ob.extract::<JsonBlobsOutput>().map(Box::new)
|
2773 3448 | }
|
2774 3449 | }
|
2775 3450 |
|
2776 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonUnionsOutput> {
|
3451 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonBlobsOutput> {
|
2777 3452 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2778 3453 | (*self).into_py(py)
|
2779 3454 | }
|
2780 3455 | }
|
2781 - | impl JsonUnionsOutput {
|
2782 - | /// Creates a new builder-style object to manufacture [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
2783 - | pub fn builder() -> crate::output::json_unions_output::Builder {
|
2784 - | crate::output::json_unions_output::Builder::default()
|
3456 + | impl JsonBlobsOutput {
|
3457 + | /// Creates a new builder-style object to manufacture [`JsonBlobsOutput`](crate::output::JsonBlobsOutput).
|
3458 + | pub fn builder() -> crate::output::json_blobs_output::Builder {
|
3459 + | crate::output::json_blobs_output::Builder::default()
|
2785 3460 | }
|
2786 3461 | }
|
2787 3462 |
|
2788 3463 | #[::pyo3::pyclass]
|
2789 - | /// :param doc_valued_map typing.Optional\[typing.Dict\[str, rest_json.types.Document\]\]:
|
3464 + | /// :param string_value typing.Optional\[str\]:
|
3465 + | /// :param document_value typing.Optional\[rest_json.types.Document\]:
|
2790 3466 | /// :rtype None:
|
2791 3467 | #[allow(missing_docs)] // documentation missing in model
|
2792 3468 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
2793 - | pub struct DocumentTypeAsMapValueOutput {
|
3469 + | pub struct DocumentTypeOutput {
|
2794 3470 | #[pyo3(get, set)]
|
2795 - | /// :type typing.Optional\[typing.Dict\[str, rest_json.types.Document\]\]:
|
3471 + | /// :type typing.Optional\[str\]:
|
2796 3472 | #[allow(missing_docs)] // documentation missing in model
|
2797 - | pub doc_valued_map: ::std::option::Option<
|
2798 - | ::std::collections::HashMap<
|
2799 - | ::std::string::String,
|
2800 - | ::aws_smithy_http_server_python::types::Document,
|
2801 - | >,
|
2802 - | >,
|
3473 + | pub string_value: ::std::option::Option<::std::string::String>,
|
3474 + | #[pyo3(get, set)]
|
3475 + | /// :type typing.Optional\[rest_json.types.Document\]:
|
3476 + | #[allow(missing_docs)] // documentation missing in model
|
3477 + | pub document_value: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
2803 3478 | }
|
2804 - | impl DocumentTypeAsMapValueOutput {
|
3479 + | impl DocumentTypeOutput {
|
2805 3480 | #[allow(missing_docs)] // documentation missing in model
|
2806 - | pub fn doc_valued_map(
|
3481 + | pub fn string_value(&self) -> ::std::option::Option<&str> {
|
3482 + | self.string_value.as_deref()
|
3483 + | }
|
3484 + | #[allow(missing_docs)] // documentation missing in model
|
3485 + | pub fn document_value(
|
2807 3486 | &self,
|
2808 - | ) -> ::std::option::Option<
|
2809 - | &::std::collections::HashMap<
|
2810 - | ::std::string::String,
|
2811 - | ::aws_smithy_http_server_python::types::Document,
|
2812 - | >,
|
2813 - | > {
|
2814 - | self.doc_valued_map.as_ref()
|
3487 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Document> {
|
3488 + | self.document_value.as_ref()
|
2815 3489 | }
|
2816 3490 | }
|
2817 3491 | #[allow(clippy::new_without_default)]
|
2818 3492 | #[allow(clippy::too_many_arguments)]
|
2819 3493 | #[::pyo3::pymethods]
|
2820 - | impl DocumentTypeAsMapValueOutput {
|
3494 + | impl DocumentTypeOutput {
|
2821 3495 | #[new]
|
2822 3496 | pub fn new(
|
2823 - | doc_valued_map: ::std::option::Option<
|
2824 - | ::std::collections::HashMap<
|
2825 - | ::std::string::String,
|
2826 - | ::aws_smithy_http_server_python::types::Document,
|
2827 - | >,
|
2828 - | >,
|
3497 + | string_value: ::std::option::Option<::std::string::String>,
|
3498 + | document_value: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
2829 3499 | ) -> Self {
|
2830 - | Self { doc_valued_map }
|
3500 + | Self {
|
3501 + | string_value,
|
3502 + | document_value,
|
3503 + | }
|
2831 3504 | }
|
2832 3505 | fn __repr__(&self) -> String {
|
2833 3506 | format!("{self:?}")
|
2834 3507 | }
|
2835 3508 | fn __str__(&self) -> String {
|
2836 3509 | format!("{self:?}")
|
2837 3510 | }
|
2838 3511 | }
|
2839 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<DocumentTypeAsMapValueOutput> {
|
3512 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<DocumentTypeOutput> {
|
2840 3513 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2841 - | ob.extract::<DocumentTypeAsMapValueOutput>().map(Box::new)
|
3514 + | ob.extract::<DocumentTypeOutput>().map(Box::new)
|
2842 3515 | }
|
2843 3516 | }
|
2844 3517 |
|
2845 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DocumentTypeAsMapValueOutput> {
|
3518 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DocumentTypeOutput> {
|
2846 3519 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2847 3520 | (*self).into_py(py)
|
2848 3521 | }
|
2849 3522 | }
|
2850 - | impl DocumentTypeAsMapValueOutput {
|
2851 - | /// Creates a new builder-style object to manufacture [`DocumentTypeAsMapValueOutput`](crate::output::DocumentTypeAsMapValueOutput).
|
2852 - | pub fn builder() -> crate::output::document_type_as_map_value_output::Builder {
|
2853 - | crate::output::document_type_as_map_value_output::Builder::default()
|
3523 + | impl DocumentTypeOutput {
|
3524 + | /// Creates a new builder-style object to manufacture [`DocumentTypeOutput`](crate::output::DocumentTypeOutput).
|
3525 + | pub fn builder() -> crate::output::document_type_output::Builder {
|
3526 + | crate::output::document_type_output::Builder::default()
|
2854 3527 | }
|
2855 3528 | }
|
2856 3529 |
|
2857 3530 | #[::pyo3::pyclass]
|
2858 3531 | /// :param document_value typing.Optional\[rest_json.types.Document\]:
|
2859 3532 | /// :rtype None:
|
2860 3533 | #[allow(missing_docs)] // documentation missing in model
|
2861 3534 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
2862 3535 | pub struct DocumentTypeAsPayloadOutput {
|
2863 3536 | #[pyo3(get, set)]
|
2864 3537 | /// :type typing.Optional\[rest_json.types.Document\]:
|
2865 3538 | #[allow(missing_docs)] // documentation missing in model
|
2866 3539 | pub document_value: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
2867 3540 | }
|
2868 3541 | impl DocumentTypeAsPayloadOutput {
|
2869 3542 | #[allow(missing_docs)] // documentation missing in model
|
2870 3543 | pub fn document_value(
|
2871 3544 | &self,
|
2872 3545 | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Document> {
|
2873 3546 | self.document_value.as_ref()
|
2874 3547 | }
|
2875 3548 | }
|
2876 3549 | #[allow(clippy::new_without_default)]
|
2877 3550 | #[allow(clippy::too_many_arguments)]
|
2878 3551 | #[::pyo3::pymethods]
|
2879 3552 | impl DocumentTypeAsPayloadOutput {
|
2880 3553 | #[new]
|
2881 3554 | pub fn new(
|
2882 3555 | document_value: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
2883 3556 | ) -> Self {
|
2884 3557 | Self { document_value }
|
2885 3558 | }
|
2886 3559 | fn __repr__(&self) -> String {
|
2887 3560 | format!("{self:?}")
|
2888 3561 | }
|
2889 3562 | fn __str__(&self) -> String {
|
2890 3563 | format!("{self:?}")
|
2891 3564 | }
|
2892 3565 | }
|
2893 3566 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<DocumentTypeAsPayloadOutput> {
|
2894 3567 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2895 3568 | ob.extract::<DocumentTypeAsPayloadOutput>().map(Box::new)
|
2896 3569 | }
|
2897 3570 | }
|
2898 3571 |
|
2899 3572 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DocumentTypeAsPayloadOutput> {
|
2900 3573 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2901 3574 | (*self).into_py(py)
|
2902 3575 | }
|
2903 3576 | }
|
2904 3577 | impl DocumentTypeAsPayloadOutput {
|
2905 3578 | /// Creates a new builder-style object to manufacture [`DocumentTypeAsPayloadOutput`](crate::output::DocumentTypeAsPayloadOutput).
|
2906 3579 | pub fn builder() -> crate::output::document_type_as_payload_output::Builder {
|
2907 3580 | crate::output::document_type_as_payload_output::Builder::default()
|
2908 3581 | }
|
2909 3582 | }
|
2910 3583 |
|
2911 3584 | #[::pyo3::pyclass]
|
2912 - | /// :param string_value typing.Optional\[str\]:
|
2913 - | /// :param document_value typing.Optional\[rest_json.types.Document\]:
|
3585 + | /// :param doc_valued_map typing.Optional\[typing.Dict\[str, rest_json.types.Document\]\]:
|
2914 3586 | /// :rtype None:
|
2915 3587 | #[allow(missing_docs)] // documentation missing in model
|
2916 3588 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
2917 - | pub struct DocumentTypeOutput {
|
2918 - | #[pyo3(get, set)]
|
2919 - | /// :type typing.Optional\[str\]:
|
2920 - | #[allow(missing_docs)] // documentation missing in model
|
2921 - | pub string_value: ::std::option::Option<::std::string::String>,
|
3589 + | pub struct DocumentTypeAsMapValueOutput {
|
2922 3590 | #[pyo3(get, set)]
|
2923 - | /// :type typing.Optional\[rest_json.types.Document\]:
|
3591 + | /// :type typing.Optional\[typing.Dict\[str, rest_json.types.Document\]\]:
|
2924 3592 | #[allow(missing_docs)] // documentation missing in model
|
2925 - | pub document_value: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
3593 + | pub doc_valued_map: ::std::option::Option<
|
3594 + | ::std::collections::HashMap<
|
3595 + | ::std::string::String,
|
3596 + | ::aws_smithy_http_server_python::types::Document,
|
3597 + | >,
|
3598 + | >,
|
2926 3599 | }
|
2927 - | impl DocumentTypeOutput {
|
2928 - | #[allow(missing_docs)] // documentation missing in model
|
2929 - | pub fn string_value(&self) -> ::std::option::Option<&str> {
|
2930 - | self.string_value.as_deref()
|
2931 - | }
|
3600 + | impl DocumentTypeAsMapValueOutput {
|
2932 3601 | #[allow(missing_docs)] // documentation missing in model
|
2933 - | pub fn document_value(
|
3602 + | pub fn doc_valued_map(
|
2934 3603 | &self,
|
2935 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Document> {
|
2936 - | self.document_value.as_ref()
|
3604 + | ) -> ::std::option::Option<
|
3605 + | &::std::collections::HashMap<
|
3606 + | ::std::string::String,
|
3607 + | ::aws_smithy_http_server_python::types::Document,
|
3608 + | >,
|
3609 + | > {
|
3610 + | self.doc_valued_map.as_ref()
|
2937 3611 | }
|
2938 3612 | }
|
2939 3613 | #[allow(clippy::new_without_default)]
|
2940 3614 | #[allow(clippy::too_many_arguments)]
|
2941 3615 | #[::pyo3::pymethods]
|
2942 - | impl DocumentTypeOutput {
|
3616 + | impl DocumentTypeAsMapValueOutput {
|
2943 3617 | #[new]
|
2944 3618 | pub fn new(
|
2945 - | string_value: ::std::option::Option<::std::string::String>,
|
2946 - | document_value: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
3619 + | doc_valued_map: ::std::option::Option<
|
3620 + | ::std::collections::HashMap<
|
3621 + | ::std::string::String,
|
3622 + | ::aws_smithy_http_server_python::types::Document,
|
3623 + | >,
|
3624 + | >,
|
2947 3625 | ) -> Self {
|
2948 - | Self {
|
2949 - | string_value,
|
2950 - | document_value,
|
2951 - | }
|
3626 + | Self { doc_valued_map }
|
2952 3627 | }
|
2953 3628 | fn __repr__(&self) -> String {
|
2954 3629 | format!("{self:?}")
|
2955 3630 | }
|
2956 3631 | fn __str__(&self) -> String {
|
2957 3632 | format!("{self:?}")
|
2958 3633 | }
|
2959 3634 | }
|
2960 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<DocumentTypeOutput> {
|
3635 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<DocumentTypeAsMapValueOutput> {
|
2961 3636 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
2962 - | ob.extract::<DocumentTypeOutput>().map(Box::new)
|
3637 + | ob.extract::<DocumentTypeAsMapValueOutput>().map(Box::new)
|
2963 3638 | }
|
2964 3639 | }
|
2965 3640 |
|
2966 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DocumentTypeOutput> {
|
3641 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DocumentTypeAsMapValueOutput> {
|
2967 3642 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
2968 3643 | (*self).into_py(py)
|
2969 3644 | }
|
2970 3645 | }
|
2971 - | impl DocumentTypeOutput {
|
2972 - | /// Creates a new builder-style object to manufacture [`DocumentTypeOutput`](crate::output::DocumentTypeOutput).
|
2973 - | pub fn builder() -> crate::output::document_type_output::Builder {
|
2974 - | crate::output::document_type_output::Builder::default()
|
3646 + | impl DocumentTypeAsMapValueOutput {
|
3647 + | /// Creates a new builder-style object to manufacture [`DocumentTypeAsMapValueOutput`](crate::output::DocumentTypeAsMapValueOutput).
|
3648 + | pub fn builder() -> crate::output::document_type_as_map_value_output::Builder {
|
3649 + | crate::output::document_type_as_map_value_output::Builder::default()
|
2975 3650 | }
|
2976 3651 | }
|
2977 3652 |
|
2978 3653 | #[::pyo3::pyclass]
|
2979 - | /// :param data typing.Optional\[rest_json.types.Blob\]:
|
3654 + | /// :param contents typing.Optional\[rest_json.model.MyUnion\]:
|
3655 + | /// :rtype None:
|
3656 + | /// A shared structure that contains a single union member.
|
3657 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
3658 + | pub struct JsonUnionsOutput {
|
3659 + | #[pyo3(get, set)]
|
3660 + | /// :type typing.Optional\[rest_json.model.MyUnion\]:
|
3661 + | /// A union with a representative set of types for members.
|
3662 + | pub contents: ::std::option::Option<crate::model::MyUnion>,
|
3663 + | }
|
3664 + | impl JsonUnionsOutput {
|
3665 + | /// A union with a representative set of types for members.
|
3666 + | pub fn contents(&self) -> ::std::option::Option<&crate::model::MyUnion> {
|
3667 + | self.contents.as_ref()
|
3668 + | }
|
3669 + | }
|
3670 + | #[allow(clippy::new_without_default)]
|
3671 + | #[allow(clippy::too_many_arguments)]
|
3672 + | #[::pyo3::pymethods]
|
3673 + | impl JsonUnionsOutput {
|
3674 + | #[new]
|
3675 + | pub fn new(contents: ::std::option::Option<crate::model::MyUnion>) -> Self {
|
3676 + | Self { contents }
|
3677 + | }
|
3678 + | fn __repr__(&self) -> String {
|
3679 + | format!("{self:?}")
|
3680 + | }
|
3681 + | fn __str__(&self) -> String {
|
3682 + | format!("{self:?}")
|
3683 + | }
|
3684 + | }
|
3685 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonUnionsOutput> {
|
3686 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
3687 + | ob.extract::<JsonUnionsOutput>().map(Box::new)
|
3688 + | }
|
3689 + | }
|
3690 + |
|
3691 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonUnionsOutput> {
|
3692 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
3693 + | (*self).into_py(py)
|
3694 + | }
|
3695 + | }
|
3696 + | impl JsonUnionsOutput {
|
3697 + | /// Creates a new builder-style object to manufacture [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
3698 + | pub fn builder() -> crate::output::json_unions_output::Builder {
|
3699 + | crate::output::json_unions_output::Builder::default()
|
3700 + | }
|
3701 + | }
|
3702 + |
|
3703 + | #[::pyo3::pyclass]
|
3704 + | /// :param action rest_json.model.PlayerAction:
|
2980 3705 | /// :rtype None:
|
2981 3706 | #[allow(missing_docs)] // documentation missing in model
|
2982 3707 | #[derive(
|
2983 3708 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
2984 3709 | )]
|
2985 - | pub struct JsonBlobsOutput {
|
3710 + | pub struct PostPlayerActionOutput {
|
2986 3711 | #[pyo3(get, set)]
|
2987 - | /// :type typing.Optional\[rest_json.types.Blob\]:
|
3712 + | /// :type rest_json.model.PlayerAction:
|
2988 3713 | #[allow(missing_docs)] // documentation missing in model
|
2989 - | pub data: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
3714 + | pub action: crate::model::PlayerAction,
|
2990 3715 | }
|
2991 - | impl JsonBlobsOutput {
|
3716 + | impl PostPlayerActionOutput {
|
2992 3717 | #[allow(missing_docs)] // documentation missing in model
|
2993 - | pub fn data(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
2994 - | self.data.as_ref()
|
3718 + | pub fn action(&self) -> &crate::model::PlayerAction {
|
3719 + | &self.action
|
2995 3720 | }
|
2996 3721 | }
|
2997 3722 | #[allow(clippy::new_without_default)]
|
2998 3723 | #[allow(clippy::too_many_arguments)]
|
2999 3724 | #[::pyo3::pymethods]
|
3000 - | impl JsonBlobsOutput {
|
3725 + | impl PostPlayerActionOutput {
|
3001 3726 | #[new]
|
3002 - | pub fn new(data: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>) -> Self {
|
3003 - | Self { data }
|
3727 + | pub fn new(action: crate::model::PlayerAction) -> Self {
|
3728 + | Self { action }
|
3004 3729 | }
|
3005 3730 | fn __repr__(&self) -> String {
|
3006 3731 | format!("{self:?}")
|
3007 3732 | }
|
3008 3733 | fn __str__(&self) -> String {
|
3009 3734 | format!("{self:?}")
|
3010 3735 | }
|
3011 3736 | }
|
3012 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonBlobsOutput> {
|
3737 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PostPlayerActionOutput> {
|
3013 3738 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
3014 - | ob.extract::<JsonBlobsOutput>().map(Box::new)
|
3739 + | ob.extract::<PostPlayerActionOutput>().map(Box::new)
|
3015 3740 | }
|
3016 3741 | }
|
3017 3742 |
|
3018 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonBlobsOutput> {
|
3743 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PostPlayerActionOutput> {
|
3019 3744 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
3020 3745 | (*self).into_py(py)
|
3021 3746 | }
|
3022 3747 | }
|
3023 - | impl JsonBlobsOutput {
|
3024 - | /// Creates a new builder-style object to manufacture [`JsonBlobsOutput`](crate::output::JsonBlobsOutput).
|
3025 - | pub fn builder() -> crate::output::json_blobs_output::Builder {
|
3026 - | crate::output::json_blobs_output::Builder::default()
|
3748 + | impl PostPlayerActionOutput {
|
3749 + | /// Creates a new builder-style object to manufacture [`PostPlayerActionOutput`](crate::output::PostPlayerActionOutput).
|
3750 + | pub fn builder() -> crate::output::post_player_action_output::Builder {
|
3751 + | crate::output::post_player_action_output::Builder::default()
|
3027 3752 | }
|
3028 3753 | }
|
3029 3754 |
|
3030 3755 | #[::pyo3::pyclass]
|
3031 - | /// :param sparse_struct_map typing.Optional\[typing.Dict\[str, typing.Optional\[rest_json.model.GreetingStruct\]\]\]:
|
3032 - | /// :param sparse_number_map typing.Optional\[typing.Dict\[str, typing.Optional\[int\]\]\]:
|
3033 - | /// :param sparse_boolean_map typing.Optional\[typing.Dict\[str, typing.Optional\[bool\]\]\]:
|
3034 - | /// :param sparse_string_map typing.Optional\[typing.Dict\[str, typing.Optional\[str\]\]\]:
|
3035 - | /// :param sparse_set_map typing.Optional\[typing.Dict\[str, typing.Optional\[typing.List\[str\]\]\]\]:
|
3756 + | /// :param value rest_json.model.UnionWithJsonName:
|
3036 3757 | /// :rtype None:
|
3037 3758 | #[allow(missing_docs)] // documentation missing in model
|
3038 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
3039 - | pub struct SparseJsonMapsOutput {
|
3040 - | #[pyo3(get, set)]
|
3041 - | /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[rest_json.model.GreetingStruct\]\]\]:
|
3042 - | #[allow(missing_docs)] // documentation missing in model
|
3043 - | pub sparse_struct_map: ::std::option::Option<
|
3044 - | ::std::collections::HashMap<
|
3045 - | ::std::string::String,
|
3046 - | ::std::option::Option<crate::model::GreetingStruct>,
|
3047 - | >,
|
3048 - | >,
|
3049 - | #[pyo3(get, set)]
|
3050 - | /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[int\]\]\]:
|
3051 - | #[allow(missing_docs)] // documentation missing in model
|
3052 - | pub sparse_number_map: ::std::option::Option<
|
3053 - | ::std::collections::HashMap<::std::string::String, ::std::option::Option<i32>>,
|
3054 - | >,
|
3055 - | #[pyo3(get, set)]
|
3056 - | /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[bool\]\]\]:
|
3057 - | #[allow(missing_docs)] // documentation missing in model
|
3058 - | pub sparse_boolean_map: ::std::option::Option<
|
3059 - | ::std::collections::HashMap<::std::string::String, ::std::option::Option<bool>>,
|
3060 - | >,
|
3061 - | #[pyo3(get, set)]
|
3062 - | /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[str\]\]\]:
|
3063 - | #[allow(missing_docs)] // documentation missing in model
|
3064 - | pub sparse_string_map: ::std::option::Option<
|
3065 - | ::std::collections::HashMap<
|
3066 - | ::std::string::String,
|
3067 - | ::std::option::Option<::std::string::String>,
|
3068 - | >,
|
3069 - | >,
|
3759 + | #[derive(
|
3760 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
3761 + | )]
|
3762 + | pub struct PostUnionWithJsonNameOutput {
|
3070 3763 | #[pyo3(get, set)]
|
3071 - | /// :type typing.Optional\[typing.Dict\[str, typing.Optional\[typing.List\[str\]\]\]\]:
|
3764 + | /// :type rest_json.model.UnionWithJsonName:
|
3072 3765 | #[allow(missing_docs)] // documentation missing in model
|
3073 - | pub sparse_set_map: ::std::option::Option<
|
3074 - | ::std::collections::HashMap<
|
3075 - | ::std::string::String,
|
3076 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
3077 - | >,
|
3078 - | >,
|
3766 + | pub value: crate::model::UnionWithJsonName,
|
3079 3767 | }
|
3080 - | impl SparseJsonMapsOutput {
|
3081 - | #[allow(missing_docs)] // documentation missing in model
|
3082 - | pub fn sparse_struct_map(
|
3083 - | &self,
|
3084 - | ) -> ::std::option::Option<
|
3085 - | &::std::collections::HashMap<
|
3086 - | ::std::string::String,
|
3087 - | ::std::option::Option<crate::model::GreetingStruct>,
|
3088 - | >,
|
3089 - | > {
|
3090 - | self.sparse_struct_map.as_ref()
|
3091 - | }
|
3092 - | #[allow(missing_docs)] // documentation missing in model
|
3093 - | pub fn sparse_number_map(
|
3094 - | &self,
|
3095 - | ) -> ::std::option::Option<
|
3096 - | &::std::collections::HashMap<::std::string::String, ::std::option::Option<i32>>,
|
3097 - | > {
|
3098 - | self.sparse_number_map.as_ref()
|
3099 - | }
|
3100 - | #[allow(missing_docs)] // documentation missing in model
|
3101 - | pub fn sparse_boolean_map(
|
3102 - | &self,
|
3103 - | ) -> ::std::option::Option<
|
3104 - | &::std::collections::HashMap<::std::string::String, ::std::option::Option<bool>>,
|
3105 - | > {
|
3106 - | self.sparse_boolean_map.as_ref()
|
3107 - | }
|
3108 - | #[allow(missing_docs)] // documentation missing in model
|
3109 - | pub fn sparse_string_map(
|
3110 - | &self,
|
3111 - | ) -> ::std::option::Option<
|
3112 - | &::std::collections::HashMap<
|
3113 - | ::std::string::String,
|
3114 - | ::std::option::Option<::std::string::String>,
|
3115 - | >,
|
3116 - | > {
|
3117 - | self.sparse_string_map.as_ref()
|
3118 - | }
|
3768 + | impl PostUnionWithJsonNameOutput {
|
3119 3769 | #[allow(missing_docs)] // documentation missing in model
|
3120 - | pub fn sparse_set_map(
|
3121 - | &self,
|
3122 - | ) -> ::std::option::Option<
|
3123 - | &::std::collections::HashMap<
|
3124 - | ::std::string::String,
|
3125 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
3126 - | >,
|
3127 - | > {
|
3128 - | self.sparse_set_map.as_ref()
|
3770 + | pub fn value(&self) -> &crate::model::UnionWithJsonName {
|
3771 + | &self.value
|
3129 3772 | }
|
3130 3773 | }
|
3131 3774 | #[allow(clippy::new_without_default)]
|
3132 3775 | #[allow(clippy::too_many_arguments)]
|
3133 3776 | #[::pyo3::pymethods]
|
3134 - | impl SparseJsonMapsOutput {
|
3777 + | impl PostUnionWithJsonNameOutput {
|
3135 3778 | #[new]
|
3136 - | pub fn new(
|
3137 - | sparse_struct_map: ::std::option::Option<
|
3138 - | ::std::collections::HashMap<
|
3139 - | ::std::string::String,
|
3140 - | ::std::option::Option<crate::model::GreetingStruct>,
|
3141 - | >,
|
3142 - | >,
|
3143 - | sparse_number_map: ::std::option::Option<
|
3144 - | ::std::collections::HashMap<::std::string::String, ::std::option::Option<i32>>,
|
3145 - | >,
|
3146 - | sparse_boolean_map: ::std::option::Option<
|
3147 - | ::std::collections::HashMap<::std::string::String, ::std::option::Option<bool>>,
|
3148 - | >,
|
3149 - | sparse_string_map: ::std::option::Option<
|
3150 - | ::std::collections::HashMap<
|
3151 - | ::std::string::String,
|
3152 - | ::std::option::Option<::std::string::String>,
|
3153 - | >,
|
3154 - | >,
|
3155 - | sparse_set_map: ::std::option::Option<
|
3156 - | ::std::collections::HashMap<
|
3157 - | ::std::string::String,
|
3158 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
3159 - | >,
|
3160 - | >,
|
3161 - | ) -> Self {
|
3162 - | Self {
|
3163 - | sparse_struct_map,
|
3164 - | sparse_number_map,
|
3165 - | sparse_boolean_map,
|
3166 - | sparse_string_map,
|
3167 - | sparse_set_map,
|
3168 - | }
|
3779 + | pub fn new(value: crate::model::UnionWithJsonName) -> Self {
|
3780 + | Self { value }
|
3169 3781 | }
|
3170 3782 | fn __repr__(&self) -> String {
|
3171 3783 | format!("{self:?}")
|
3172 3784 | }
|
3173 3785 | fn __str__(&self) -> String {
|
3174 3786 | format!("{self:?}")
|
3175 3787 | }
|
3176 3788 | }
|
3177 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<SparseJsonMapsOutput> {
|
3789 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PostUnionWithJsonNameOutput> {
|
3178 3790 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
3179 - | ob.extract::<SparseJsonMapsOutput>().map(Box::new)
|
3791 + | ob.extract::<PostUnionWithJsonNameOutput>().map(Box::new)
|
3180 3792 | }
|
3181 3793 | }
|
3182 3794 |
|
3183 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<SparseJsonMapsOutput> {
|
3795 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PostUnionWithJsonNameOutput> {
|
3184 3796 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
3185 3797 | (*self).into_py(py)
|
3186 3798 | }
|
3187 3799 | }
|
3188 - | impl SparseJsonMapsOutput {
|
3189 - | /// Creates a new builder-style object to manufacture [`SparseJsonMapsOutput`](crate::output::SparseJsonMapsOutput).
|
3190 - | pub fn builder() -> crate::output::sparse_json_maps_output::Builder {
|
3191 - | crate::output::sparse_json_maps_output::Builder::default()
|
3800 + | impl PostUnionWithJsonNameOutput {
|
3801 + | /// Creates a new builder-style object to manufacture [`PostUnionWithJsonNameOutput`](crate::output::PostUnionWithJsonNameOutput).
|
3802 + | pub fn builder() -> crate::output::post_union_with_json_name_output::Builder {
|
3803 + | crate::output::post_union_with_json_name_output::Builder::default()
|
3192 3804 | }
|
3193 3805 | }
|
3194 3806 |
|
3195 3807 | #[::pyo3::pyclass]
|
3196 - | /// :param dense_struct_map typing.Optional\[typing.Dict\[str, rest_json.model.GreetingStruct\]\]:
|
3197 - | /// :param dense_number_map typing.Optional\[typing.Dict\[str, int\]\]:
|
3198 - | /// :param dense_boolean_map typing.Optional\[typing.Dict\[str, bool\]\]:
|
3199 - | /// :param dense_string_map typing.Optional\[typing.Dict\[str, str\]\]:
|
3200 - | /// :param dense_set_map typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
3201 3808 | /// :rtype None:
|
3202 3809 | #[allow(missing_docs)] // documentation missing in model
|
3203 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
3204 - | pub struct JsonMapsOutput {
|
3205 - | #[pyo3(get, set)]
|
3206 - | /// :type typing.Optional\[typing.Dict\[str, rest_json.model.GreetingStruct\]\]:
|
3207 - | #[allow(missing_docs)] // documentation missing in model
|
3208 - | pub dense_struct_map: ::std::option::Option<
|
3209 - | ::std::collections::HashMap<::std::string::String, crate::model::GreetingStruct>,
|
3210 - | >,
|
3211 - | #[pyo3(get, set)]
|
3212 - | /// :type typing.Optional\[typing.Dict\[str, int\]\]:
|
3213 - | #[allow(missing_docs)] // documentation missing in model
|
3214 - | pub dense_number_map:
|
3215 - | ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
3216 - | #[pyo3(get, set)]
|
3217 - | /// :type typing.Optional\[typing.Dict\[str, bool\]\]:
|
3218 - | #[allow(missing_docs)] // documentation missing in model
|
3219 - | pub dense_boolean_map:
|
3220 - | ::std::option::Option<::std::collections::HashMap<::std::string::String, bool>>,
|
3221 - | #[pyo3(get, set)]
|
3222 - | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
3223 - | #[allow(missing_docs)] // documentation missing in model
|
3224 - | pub dense_string_map: ::std::option::Option<
|
3225 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3226 - | >,
|
3227 - | #[pyo3(get, set)]
|
3228 - | /// :type typing.Optional\[typing.Dict\[str, typing.List\[str\]\]\]:
|
3229 - | #[allow(missing_docs)] // documentation missing in model
|
3230 - | pub dense_set_map: ::std::option::Option<
|
3231 - | ::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
3232 - | >,
|
3810 + | #[derive(
|
3811 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
3812 + | )]
|
3813 + | pub struct EndpointOperationOutput {}
|
3814 + | #[allow(clippy::new_without_default)]
|
3815 + | #[allow(clippy::too_many_arguments)]
|
3816 + | #[::pyo3::pymethods]
|
3817 + | impl EndpointOperationOutput {
|
3818 + | #[new]
|
3819 + | pub fn new() -> Self {
|
3820 + | Self {}
|
3821 + | }
|
3822 + | fn __repr__(&self) -> String {
|
3823 + | format!("{self:?}")
|
3824 + | }
|
3825 + | fn __str__(&self) -> String {
|
3826 + | format!("{self:?}")
|
3827 + | }
|
3233 3828 | }
|
3234 - | impl JsonMapsOutput {
|
3235 - | #[allow(missing_docs)] // documentation missing in model
|
3236 - | pub fn dense_struct_map(
|
3237 - | &self,
|
3238 - | ) -> ::std::option::Option<
|
3239 - | &::std::collections::HashMap<::std::string::String, crate::model::GreetingStruct>,
|
3240 - | > {
|
3241 - | self.dense_struct_map.as_ref()
|
3829 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EndpointOperationOutput> {
|
3830 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
3831 + | ob.extract::<EndpointOperationOutput>().map(Box::new)
|
3242 3832 | }
|
3243 - | #[allow(missing_docs)] // documentation missing in model
|
3244 - | pub fn dense_number_map(
|
3245 - | &self,
|
3246 - | ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, i32>> {
|
3247 - | self.dense_number_map.as_ref()
|
3833 + | }
|
3834 + |
|
3835 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EndpointOperationOutput> {
|
3836 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
3837 + | (*self).into_py(py)
|
3248 3838 | }
|
3249 - | #[allow(missing_docs)] // documentation missing in model
|
3250 - | pub fn dense_boolean_map(
|
3251 - | &self,
|
3252 - | ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, bool>> {
|
3253 - | self.dense_boolean_map.as_ref()
|
3839 + | }
|
3840 + | impl EndpointOperationOutput {
|
3841 + | /// Creates a new builder-style object to manufacture [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
3842 + | pub fn builder() -> crate::output::endpoint_operation_output::Builder {
|
3843 + | crate::output::endpoint_operation_output::Builder::default()
|
3254 3844 | }
|
3255 - | #[allow(missing_docs)] // documentation missing in model
|
3256 - | pub fn dense_string_map(
|
3257 - | &self,
|
3258 - | ) -> ::std::option::Option<
|
3259 - | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3260 - | > {
|
3261 - | self.dense_string_map.as_ref()
|
3845 + | }
|
3846 + |
|
3847 + | #[::pyo3::pyclass]
|
3848 + | /// :rtype None:
|
3849 + | #[allow(missing_docs)] // documentation missing in model
|
3850 + | #[derive(
|
3851 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
3852 + | )]
|
3853 + | pub struct EndpointWithHostLabelOperationOutput {}
|
3854 + | #[allow(clippy::new_without_default)]
|
3855 + | #[allow(clippy::too_many_arguments)]
|
3856 + | #[::pyo3::pymethods]
|
3857 + | impl EndpointWithHostLabelOperationOutput {
|
3858 + | #[new]
|
3859 + | pub fn new() -> Self {
|
3860 + | Self {}
|
3262 3861 | }
|
3263 - | #[allow(missing_docs)] // documentation missing in model
|
3264 - | pub fn dense_set_map(
|
3265 - | &self,
|
3266 - | ) -> ::std::option::Option<
|
3267 - | &::std::collections::HashMap<::std::string::String, ::std::vec::Vec<::std::string::String>>,
|
3268 - | > {
|
3269 - | self.dense_set_map.as_ref()
|
3862 + | fn __repr__(&self) -> String {
|
3863 + | format!("{self:?}")
|
3864 + | }
|
3865 + | fn __str__(&self) -> String {
|
3866 + | format!("{self:?}")
|
3867 + | }
|
3868 + | }
|
3869 + | impl<'source> ::pyo3::FromPyObject<'source>
|
3870 + | for std::boxed::Box<EndpointWithHostLabelOperationOutput>
|
3871 + | {
|
3872 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
3873 + | ob.extract::<EndpointWithHostLabelOperationOutput>()
|
3874 + | .map(Box::new)
|
3875 + | }
|
3876 + | }
|
3877 + |
|
3878 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EndpointWithHostLabelOperationOutput> {
|
3879 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
3880 + | (*self).into_py(py)
|
3881 + | }
|
3882 + | }
|
3883 + | impl EndpointWithHostLabelOperationOutput {
|
3884 + | /// Creates a new builder-style object to manufacture [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
3885 + | pub fn builder() -> crate::output::endpoint_with_host_label_operation_output::Builder {
|
3886 + | crate::output::endpoint_with_host_label_operation_output::Builder::default()
|
3270 3887 | }
|
3271 3888 | }
|
3889 + |
|
3890 + | #[::pyo3::pyclass]
|
3891 + | /// :rtype None:
|
3892 + | #[allow(missing_docs)] // documentation missing in model
|
3893 + | #[derive(
|
3894 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
3895 + | )]
|
3896 + | pub struct HostWithPathOperationOutput {}
|
3272 3897 | #[allow(clippy::new_without_default)]
|
3273 3898 | #[allow(clippy::too_many_arguments)]
|
3274 3899 | #[::pyo3::pymethods]
|
3275 - | impl JsonMapsOutput {
|
3900 + | impl HostWithPathOperationOutput {
|
3276 3901 | #[new]
|
3277 - | pub fn new(
|
3278 - | dense_struct_map: ::std::option::Option<
|
3279 - | ::std::collections::HashMap<::std::string::String, crate::model::GreetingStruct>,
|
3280 - | >,
|
3281 - | dense_number_map: ::std::option::Option<
|
3282 - | ::std::collections::HashMap<::std::string::String, i32>,
|
3283 - | >,
|
3284 - | dense_boolean_map: ::std::option::Option<
|
3285 - | ::std::collections::HashMap<::std::string::String, bool>,
|
3286 - | >,
|
3287 - | dense_string_map: ::std::option::Option<
|
3288 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
3289 - | >,
|
3290 - | dense_set_map: ::std::option::Option<
|
3291 - | ::std::collections::HashMap<
|
3292 - | ::std::string::String,
|
3293 - | ::std::vec::Vec<::std::string::String>,
|
3294 - | >,
|
3295 - | >,
|
3296 - | ) -> Self {
|
3297 - | Self {
|
3298 - | dense_struct_map,
|
3299 - | dense_number_map,
|
3300 - | dense_boolean_map,
|
3301 - | dense_string_map,
|
3302 - | dense_set_map,
|
3303 - | }
|
3902 + | pub fn new() -> Self {
|
3903 + | Self {}
|
3304 3904 | }
|
3305 3905 | fn __repr__(&self) -> String {
|
3306 3906 | format!("{self:?}")
|
3307 3907 | }
|
3308 3908 | fn __str__(&self) -> String {
|
3309 3909 | format!("{self:?}")
|
3310 3910 | }
|
3311 3911 | }
|
3312 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonMapsOutput> {
|
3912 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HostWithPathOperationOutput> {
|
3313 3913 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
3314 - | ob.extract::<JsonMapsOutput>().map(Box::new)
|
3914 + | ob.extract::<HostWithPathOperationOutput>().map(Box::new)
|
3315 3915 | }
|
3316 3916 | }
|
3317 3917 |
|
3318 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonMapsOutput> {
|
3918 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HostWithPathOperationOutput> {
|
3319 3919 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
3320 3920 | (*self).into_py(py)
|
3321 3921 | }
|
3322 3922 | }
|
3323 - | impl JsonMapsOutput {
|
3324 - | /// Creates a new builder-style object to manufacture [`JsonMapsOutput`](crate::output::JsonMapsOutput).
|
3325 - | pub fn builder() -> crate::output::json_maps_output::Builder {
|
3326 - | crate::output::json_maps_output::Builder::default()
|
3923 + | impl HostWithPathOperationOutput {
|
3924 + | /// Creates a new builder-style object to manufacture [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
3925 + | pub fn builder() -> crate::output::host_with_path_operation_output::Builder {
|
3926 + | crate::output::host_with_path_operation_output::Builder::default()
|
3327 3927 | }
|
3328 3928 | }
|
3329 3929 |
|
3330 3930 | #[::pyo3::pyclass]
|
3331 - | /// :param sparse_string_list typing.Optional\[typing.List\[typing.Optional\[str\]\]\]:
|
3332 - | /// :param sparse_short_list typing.Optional\[typing.List\[typing.Optional\[int\]\]\]:
|
3931 + | /// :param foo typing.Optional\[str\]:
|
3333 3932 | /// :rtype None:
|
3334 3933 | #[allow(missing_docs)] // documentation missing in model
|
3335 3934 | #[derive(
|
3336 3935 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
3337 3936 | )]
|
3338 - | pub struct SparseJsonListsOutput {
|
3339 - | #[pyo3(get, set)]
|
3340 - | /// :type typing.Optional\[typing.List\[typing.Optional\[str\]\]\]:
|
3341 - | #[allow(missing_docs)] // documentation missing in model
|
3342 - | pub sparse_string_list:
|
3343 - | ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
|
3937 + | pub struct HttpChecksumRequiredOutput {
|
3344 3938 | #[pyo3(get, set)]
|
3345 - | /// :type typing.Optional\[typing.List\[typing.Optional\[int\]\]\]:
|
3939 + | /// :type typing.Optional\[str\]:
|
3346 3940 | #[allow(missing_docs)] // documentation missing in model
|
3347 - | pub sparse_short_list: ::std::option::Option<::std::vec::Vec<::std::option::Option<i16>>>,
|
3941 + | pub foo: ::std::option::Option<::std::string::String>,
|
3348 3942 | }
|
3349 - | impl SparseJsonListsOutput {
|
3350 - | #[allow(missing_docs)] // documentation missing in model
|
3351 - | pub fn sparse_string_list(
|
3352 - | &self,
|
3353 - | ) -> ::std::option::Option<&[::std::option::Option<::std::string::String>]> {
|
3354 - | self.sparse_string_list.as_deref()
|
3355 - | }
|
3943 + | impl HttpChecksumRequiredOutput {
|
3356 3944 | #[allow(missing_docs)] // documentation missing in model
|
3357 - | pub fn sparse_short_list(&self) -> ::std::option::Option<&[::std::option::Option<i16>]> {
|
3358 - | self.sparse_short_list.as_deref()
|
3945 + | pub fn foo(&self) -> ::std::option::Option<&str> {
|
3946 + | self.foo.as_deref()
|
3359 3947 | }
|
3360 3948 | }
|
3361 3949 | #[allow(clippy::new_without_default)]
|
3362 3950 | #[allow(clippy::too_many_arguments)]
|
3363 3951 | #[::pyo3::pymethods]
|
3364 - | impl SparseJsonListsOutput {
|
3952 + | impl HttpChecksumRequiredOutput {
|
3365 3953 | #[new]
|
3366 - | pub fn new(
|
3367 - | sparse_string_list: ::std::option::Option<
|
3368 - | ::std::vec::Vec<::std::option::Option<::std::string::String>>,
|
3369 - | >,
|
3370 - | sparse_short_list: ::std::option::Option<::std::vec::Vec<::std::option::Option<i16>>>,
|
3371 - | ) -> Self {
|
3372 - | Self {
|
3373 - | sparse_string_list,
|
3374 - | sparse_short_list,
|
3375 - | }
|
3954 + | pub fn new(foo: ::std::option::Option<::std::string::String>) -> Self {
|
3955 + | Self { foo }
|
3376 3956 | }
|
3377 3957 | fn __repr__(&self) -> String {
|
3378 3958 | format!("{self:?}")
|
3379 3959 | }
|
3380 3960 | fn __str__(&self) -> String {
|
3381 3961 | format!("{self:?}")
|
3382 3962 | }
|
3383 3963 | }
|
3384 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<SparseJsonListsOutput> {
|
3964 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpChecksumRequiredOutput> {
|
3385 3965 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
3386 - | ob.extract::<SparseJsonListsOutput>().map(Box::new)
|
3966 + | ob.extract::<HttpChecksumRequiredOutput>().map(Box::new)
|
3387 3967 | }
|
3388 3968 | }
|
3389 3969 |
|
3390 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<SparseJsonListsOutput> {
|
3970 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpChecksumRequiredOutput> {
|
3391 3971 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
3392 3972 | (*self).into_py(py)
|
3393 3973 | }
|
3394 3974 | }
|
3395 - | impl SparseJsonListsOutput {
|
3396 - | /// Creates a new builder-style object to manufacture [`SparseJsonListsOutput`](crate::output::SparseJsonListsOutput).
|
3397 - | pub fn builder() -> crate::output::sparse_json_lists_output::Builder {
|
3398 - | crate::output::sparse_json_lists_output::Builder::default()
|
3975 + | impl HttpChecksumRequiredOutput {
|
3976 + | /// Creates a new builder-style object to manufacture [`HttpChecksumRequiredOutput`](crate::output::HttpChecksumRequiredOutput).
|
3977 + | pub fn builder() -> crate::output::http_checksum_required_output::Builder {
|
3978 + | crate::output::http_checksum_required_output::Builder::default()
|
3399 3979 | }
|
3400 3980 | }
|
3401 3981 |
|
3402 3982 | #[::pyo3::pyclass]
|
3403 - | /// :param string_list typing.Optional\[typing.List\[str\]\]:
|
3404 - | /// :param string_set typing.Optional\[typing.List\[str\]\]:
|
3405 - | /// :param integer_list typing.Optional\[typing.List\[int\]\]:
|
3406 - | /// :param boolean_list typing.Optional\[typing.List\[bool\]\]:
|
3407 - | /// :param timestamp_list typing.Optional\[typing.List\[rest_json.types.DateTime\]\]:
|
3408 - | /// :param enum_list typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
3409 - | /// :param int_enum_list typing.Optional\[typing.List\[int\]\]:
|
3410 - | /// :param nested_string_list typing.Optional\[typing.List\[typing.List\[str\]\]\]:
|
3411 - | /// :param structure_list typing.Optional\[typing.List\[rest_json.model.StructureListMember\]\]:
|
3412 3983 | /// :rtype None:
|
3413 3984 | #[allow(missing_docs)] // documentation missing in model
|
3414 3985 | #[derive(
|
3415 3986 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
3416 3987 | )]
|
3417 - | pub struct JsonListsOutput {
|
3418 - | #[pyo3(get, set)]
|
3419 - | /// :type typing.Optional\[typing.List\[str\]\]:
|
3420 - | #[allow(missing_docs)] // documentation missing in model
|
3421 - | pub string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
3422 - | #[pyo3(get, set)]
|
3423 - | /// :type typing.Optional\[typing.List\[str\]\]:
|
3424 - | #[allow(missing_docs)] // documentation missing in model
|
3425 - | pub string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
3426 - | #[pyo3(get, set)]
|
3427 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
3428 - | #[allow(missing_docs)] // documentation missing in model
|
3429 - | pub integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
3430 - | #[pyo3(get, set)]
|
3431 - | /// :type typing.Optional\[typing.List\[bool\]\]:
|
3432 - | #[allow(missing_docs)] // documentation missing in model
|
3433 - | pub boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
3434 - | #[pyo3(get, set)]
|
3435 - | /// :type typing.Optional\[typing.List\[rest_json.types.DateTime\]\]:
|
3436 - | #[allow(missing_docs)] // documentation missing in model
|
3437 - | pub timestamp_list:
|
3438 - | ::std::option::Option<::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>>,
|
3439 - | #[pyo3(get, set)]
|
3440 - | /// :type typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
3441 - | #[allow(missing_docs)] // documentation missing in model
|
3442 - | pub enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
3443 - | #[pyo3(get, set)]
|
3444 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
3445 - | #[allow(missing_docs)] // documentation missing in model
|
3446 - | pub int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
3447 - | #[pyo3(get, set)]
|
3448 - | /// :type typing.Optional\[typing.List\[typing.List\[str\]\]\]:
|
3449 - | /// A list of lists of strings.
|
3450 - | pub nested_string_list:
|
3451 - | ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
3452 - | #[pyo3(get, set)]
|
3453 - | /// :type typing.Optional\[typing.List\[rest_json.model.StructureListMember\]\]:
|
3454 - | #[allow(missing_docs)] // documentation missing in model
|
3455 - | pub structure_list: ::std::option::Option<::std::vec::Vec<crate::model::StructureListMember>>,
|
3456 - | }
|
3457 - | impl JsonListsOutput {
|
3458 - | #[allow(missing_docs)] // documentation missing in model
|
3459 - | pub fn string_list(&self) -> ::std::option::Option<&[::std::string::String]> {
|
3460 - | self.string_list.as_deref()
|
3461 - | }
|
3462 - | #[allow(missing_docs)] // documentation missing in model
|
3463 - | pub fn string_set(&self) -> ::std::option::Option<&[::std::string::String]> {
|
3464 - | self.string_set.as_deref()
|
3465 - | }
|
3466 - | #[allow(missing_docs)] // documentation missing in model
|
3467 - | pub fn integer_list(&self) -> ::std::option::Option<&[i32]> {
|
3468 - | self.integer_list.as_deref()
|
3469 - | }
|
3470 - | #[allow(missing_docs)] // documentation missing in model
|
3471 - | pub fn boolean_list(&self) -> ::std::option::Option<&[bool]> {
|
3472 - | self.boolean_list.as_deref()
|
3473 - | }
|
3474 - | #[allow(missing_docs)] // documentation missing in model
|
3475 - | pub fn timestamp_list(
|
3476 - | &self,
|
3477 - | ) -> ::std::option::Option<&[::aws_smithy_http_server_python::types::DateTime]> {
|
3478 - | self.timestamp_list.as_deref()
|
3479 - | }
|
3480 - | #[allow(missing_docs)] // documentation missing in model
|
3481 - | pub fn enum_list(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
3482 - | self.enum_list.as_deref()
|
3483 - | }
|
3484 - | #[allow(missing_docs)] // documentation missing in model
|
3485 - | pub fn int_enum_list(&self) -> ::std::option::Option<&[i32]> {
|
3486 - | self.int_enum_list.as_deref()
|
3487 - | }
|
3488 - | /// A list of lists of strings.
|
3489 - | pub fn nested_string_list(
|
3490 - | &self,
|
3491 - | ) -> ::std::option::Option<&[::std::vec::Vec<::std::string::String>]> {
|
3492 - | self.nested_string_list.as_deref()
|
3493 - | }
|
3494 - | #[allow(missing_docs)] // documentation missing in model
|
3495 - | pub fn structure_list(&self) -> ::std::option::Option<&[crate::model::StructureListMember]> {
|
3496 - | self.structure_list.as_deref()
|
3497 - | }
|
3498 - | }
|
3988 + | pub struct MalformedRequestBodyOutput {}
|
3499 3989 | #[allow(clippy::new_without_default)]
|
3500 3990 | #[allow(clippy::too_many_arguments)]
|
3501 3991 | #[::pyo3::pymethods]
|
3502 - | impl JsonListsOutput {
|
3992 + | impl MalformedRequestBodyOutput {
|
3503 3993 | #[new]
|
3504 - | pub fn new(
|
3505 - | string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
3506 - | string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
3507 - | integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
3508 - | boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
3509 - | timestamp_list: ::std::option::Option<
|
3510 - | ::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>,
|
3511 - | >,
|
3512 - | enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
3513 - | int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
3514 - | nested_string_list: ::std::option::Option<
|
3515 - | ::std::vec::Vec<::std::vec::Vec<::std::string::String>>,
|
3516 - | >,
|
3517 - | structure_list: ::std::option::Option<::std::vec::Vec<crate::model::StructureListMember>>,
|
3518 - | ) -> Self {
|
3519 - | Self {
|
3520 - | string_list,
|
3521 - | string_set,
|
3522 - | integer_list,
|
3523 - | boolean_list,
|
3524 - | timestamp_list,
|
3525 - | enum_list,
|
3526 - | int_enum_list,
|
3527 - | nested_string_list,
|
3528 - | structure_list,
|
3529 - | }
|
3994 + | pub fn new() -> Self {
|
3995 + | Self {}
|
3530 3996 | }
|
3531 3997 | fn __repr__(&self) -> String {
|
3532 3998 | format!("{self:?}")
|
3533 3999 | }
|
3534 4000 | fn __str__(&self) -> String {
|
3535 4001 | format!("{self:?}")
|
3536 4002 | }
|
3537 4003 | }
|
3538 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonListsOutput> {
|
4004 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedRequestBodyOutput> {
|
3539 4005 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
3540 - | ob.extract::<JsonListsOutput>().map(Box::new)
|
4006 + | ob.extract::<MalformedRequestBodyOutput>().map(Box::new)
|
3541 4007 | }
|
3542 4008 | }
|
3543 4009 |
|
3544 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonListsOutput> {
|
4010 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedRequestBodyOutput> {
|
3545 4011 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
3546 4012 | (*self).into_py(py)
|
3547 4013 | }
|
3548 4014 | }
|
3549 - | impl JsonListsOutput {
|
3550 - | /// Creates a new builder-style object to manufacture [`JsonListsOutput`](crate::output::JsonListsOutput).
|
3551 - | pub fn builder() -> crate::output::json_lists_output::Builder {
|
3552 - | crate::output::json_lists_output::Builder::default()
|
4015 + | impl MalformedRequestBodyOutput {
|
4016 + | /// Creates a new builder-style object to manufacture [`MalformedRequestBodyOutput`](crate::output::MalformedRequestBodyOutput).
|
4017 + | pub fn builder() -> crate::output::malformed_request_body_output::Builder {
|
4018 + | crate::output::malformed_request_body_output::Builder::default()
|
3553 4019 | }
|
3554 4020 | }
|
3555 4021 |
|
3556 4022 | #[::pyo3::pyclass]
|
3557 - | /// :param nested typing.Optional\[rest_json.model.RecursiveShapesInputOutputNested1\]:
|
3558 4023 | /// :rtype None:
|
3559 4024 | #[allow(missing_docs)] // documentation missing in model
|
3560 4025 | #[derive(
|
3561 4026 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
3562 4027 | )]
|
3563 - | pub struct RecursiveShapesOutput {
|
3564 - | #[pyo3(get, set)]
|
3565 - | /// :type typing.Optional\[rest_json.model.RecursiveShapesInputOutputNested1\]:
|
3566 - | #[allow(missing_docs)] // documentation missing in model
|
3567 - | pub nested: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
|
3568 - | }
|
3569 - | impl RecursiveShapesOutput {
|
3570 - | #[allow(missing_docs)] // documentation missing in model
|
3571 - | pub fn nested(
|
3572 - | &self,
|
3573 - | ) -> ::std::option::Option<&crate::model::RecursiveShapesInputOutputNested1> {
|
3574 - | self.nested.as_ref()
|
3575 - | }
|
3576 - | }
|
4028 + | pub struct MalformedIntegerOutput {}
|
3577 4029 | #[allow(clippy::new_without_default)]
|
3578 4030 | #[allow(clippy::too_many_arguments)]
|
3579 4031 | #[::pyo3::pymethods]
|
3580 - | impl RecursiveShapesOutput {
|
4032 + | impl MalformedIntegerOutput {
|
3581 4033 | #[new]
|
3582 - | pub fn new(
|
3583 - | nested: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
|
3584 - | ) -> Self {
|
3585 - | Self { nested }
|
4034 + | pub fn new() -> Self {
|
4035 + | Self {}
|
3586 4036 | }
|
3587 4037 | fn __repr__(&self) -> String {
|
3588 4038 | format!("{self:?}")
|
3589 4039 | }
|
3590 4040 | fn __str__(&self) -> String {
|
3591 4041 | format!("{self:?}")
|
3592 4042 | }
|
3593 4043 | }
|
3594 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<RecursiveShapesOutput> {
|
4044 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedIntegerOutput> {
|
3595 4045 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
3596 - | ob.extract::<RecursiveShapesOutput>().map(Box::new)
|
4046 + | ob.extract::<MalformedIntegerOutput>().map(Box::new)
|
3597 4047 | }
|
3598 4048 | }
|
3599 4049 |
|
3600 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<RecursiveShapesOutput> {
|
4050 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedIntegerOutput> {
|
3601 4051 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
3602 4052 | (*self).into_py(py)
|
3603 4053 | }
|
3604 4054 | }
|
3605 - | impl RecursiveShapesOutput {
|
3606 - | /// Creates a new builder-style object to manufacture [`RecursiveShapesOutput`](crate::output::RecursiveShapesOutput).
|
3607 - | pub fn builder() -> crate::output::recursive_shapes_output::Builder {
|
3608 - | crate::output::recursive_shapes_output::Builder::default()
|
4055 + | impl MalformedIntegerOutput {
|
4056 + | /// Creates a new builder-style object to manufacture [`MalformedIntegerOutput`](crate::output::MalformedIntegerOutput).
|
4057 + | pub fn builder() -> crate::output::malformed_integer_output::Builder {
|
4058 + | crate::output::malformed_integer_output::Builder::default()
|
3609 4059 | }
|
3610 4060 | }
|
3611 4061 |
|
3612 4062 | #[::pyo3::pyclass]
|
3613 - | /// :param integer_enum1 typing.Optional\[int\]:
|
3614 - | /// :param integer_enum2 typing.Optional\[int\]:
|
3615 - | /// :param integer_enum3 typing.Optional\[int\]:
|
3616 - | /// :param integer_enum_list typing.Optional\[typing.List\[int\]\]:
|
3617 - | /// :param integer_enum_set typing.Optional\[typing.List\[int\]\]:
|
3618 - | /// :param integer_enum_map typing.Optional\[typing.Dict\[str, int\]\]:
|
3619 4063 | /// :rtype None:
|
3620 4064 | #[allow(missing_docs)] // documentation missing in model
|
3621 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
3622 - | pub struct JsonIntEnumsOutput {
|
3623 - | #[pyo3(get, set)]
|
3624 - | /// :type typing.Optional\[int\]:
|
3625 - | #[allow(missing_docs)] // documentation missing in model
|
3626 - | pub integer_enum1: ::std::option::Option<i32>,
|
3627 - | #[pyo3(get, set)]
|
3628 - | /// :type typing.Optional\[int\]:
|
3629 - | #[allow(missing_docs)] // documentation missing in model
|
3630 - | pub integer_enum2: ::std::option::Option<i32>,
|
3631 - | #[pyo3(get, set)]
|
3632 - | /// :type typing.Optional\[int\]:
|
3633 - | #[allow(missing_docs)] // documentation missing in model
|
3634 - | pub integer_enum3: ::std::option::Option<i32>,
|
3635 - | #[pyo3(get, set)]
|
3636 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
3637 - | #[allow(missing_docs)] // documentation missing in model
|
3638 - | pub integer_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
3639 - | #[pyo3(get, set)]
|
3640 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
3641 - | #[allow(missing_docs)] // documentation missing in model
|
3642 - | pub integer_enum_set: ::std::option::Option<::std::vec::Vec<i32>>,
|
3643 - | #[pyo3(get, set)]
|
3644 - | /// :type typing.Optional\[typing.Dict\[str, int\]\]:
|
3645 - | #[allow(missing_docs)] // documentation missing in model
|
3646 - | pub integer_enum_map:
|
3647 - | ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
3648 - | }
|
3649 - | impl JsonIntEnumsOutput {
|
3650 - | #[allow(missing_docs)] // documentation missing in model
|
3651 - | pub fn integer_enum1(&self) -> ::std::option::Option<i32> {
|
3652 - | self.integer_enum1
|
3653 - | }
|
3654 - | #[allow(missing_docs)] // documentation missing in model
|
3655 - | pub fn integer_enum2(&self) -> ::std::option::Option<i32> {
|
3656 - | self.integer_enum2
|
3657 - | }
|
3658 - | #[allow(missing_docs)] // documentation missing in model
|
3659 - | pub fn integer_enum3(&self) -> ::std::option::Option<i32> {
|
3660 - | self.integer_enum3
|
3661 - | }
|
3662 - | #[allow(missing_docs)] // documentation missing in model
|
3663 - | pub fn integer_enum_list(&self) -> ::std::option::Option<&[i32]> {
|
3664 - | self.integer_enum_list.as_deref()
|
3665 - | }
|
3666 - | #[allow(missing_docs)] // documentation missing in model
|
3667 - | pub fn integer_enum_set(&self) -> ::std::option::Option<&[i32]> {
|
3668 - | self.integer_enum_set.as_deref()
|
3669 - | }
|
3670 - | #[allow(missing_docs)] // documentation missing in model
|
3671 - | pub fn integer_enum_map(
|
3672 - | &self,
|
3673 - | ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, i32>> {
|
3674 - | self.integer_enum_map.as_ref()
|
3675 - | }
|
3676 - | }
|
4065 + | #[derive(
|
4066 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4067 + | )]
|
4068 + | pub struct MalformedUnionOutput {}
|
3677 4069 | #[allow(clippy::new_without_default)]
|
3678 4070 | #[allow(clippy::too_many_arguments)]
|
3679 4071 | #[::pyo3::pymethods]
|
3680 - | impl JsonIntEnumsOutput {
|
4072 + | impl MalformedUnionOutput {
|
3681 4073 | #[new]
|
3682 - | pub fn new(
|
3683 - | integer_enum1: ::std::option::Option<i32>,
|
3684 - | integer_enum2: ::std::option::Option<i32>,
|
3685 - | integer_enum3: ::std::option::Option<i32>,
|
3686 - | integer_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
3687 - | integer_enum_set: ::std::option::Option<::std::vec::Vec<i32>>,
|
3688 - | integer_enum_map: ::std::option::Option<
|
3689 - | ::std::collections::HashMap<::std::string::String, i32>,
|
3690 - | >,
|
3691 - | ) -> Self {
|
3692 - | Self {
|
3693 - | integer_enum1,
|
3694 - | integer_enum2,
|
3695 - | integer_enum3,
|
3696 - | integer_enum_list,
|
3697 - | integer_enum_set,
|
3698 - | integer_enum_map,
|
3699 - | }
|
4074 + | pub fn new() -> Self {
|
4075 + | Self {}
|
3700 4076 | }
|
3701 4077 | fn __repr__(&self) -> String {
|
3702 4078 | format!("{self:?}")
|
3703 4079 | }
|
3704 4080 | fn __str__(&self) -> String {
|
3705 4081 | format!("{self:?}")
|
3706 4082 | }
|
3707 4083 | }
|
3708 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonIntEnumsOutput> {
|
4084 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedUnionOutput> {
|
3709 4085 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
3710 - | ob.extract::<JsonIntEnumsOutput>().map(Box::new)
|
4086 + | ob.extract::<MalformedUnionOutput>().map(Box::new)
|
3711 4087 | }
|
3712 4088 | }
|
3713 4089 |
|
3714 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonIntEnumsOutput> {
|
4090 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedUnionOutput> {
|
3715 4091 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
3716 4092 | (*self).into_py(py)
|
3717 4093 | }
|
3718 4094 | }
|
3719 - | impl JsonIntEnumsOutput {
|
3720 - | /// Creates a new builder-style object to manufacture [`JsonIntEnumsOutput`](crate::output::JsonIntEnumsOutput).
|
3721 - | pub fn builder() -> crate::output::json_int_enums_output::Builder {
|
3722 - | crate::output::json_int_enums_output::Builder::default()
|
3723 - | }
|
3724 - | }
|
3725 - |
|
4095 + | impl MalformedUnionOutput {
|
4096 + | /// Creates a new builder-style object to manufacture [`MalformedUnionOutput`](crate::output::MalformedUnionOutput).
|
4097 + | pub fn builder() -> crate::output::malformed_union_output::Builder {
|
4098 + | crate::output::malformed_union_output::Builder::default()
|
4099 + | }
|
4100 + | }
|
4101 + |
|
3726 4102 | #[::pyo3::pyclass]
|
3727 - | /// :param foo_enum1 typing.Optional\[rest_json.model.FooEnum\]:
|
3728 - | /// :param foo_enum2 typing.Optional\[rest_json.model.FooEnum\]:
|
3729 - | /// :param foo_enum3 typing.Optional\[rest_json.model.FooEnum\]:
|
3730 - | /// :param foo_enum_list typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
3731 - | /// :param foo_enum_set typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
3732 - | /// :param foo_enum_map typing.Optional\[typing.Dict\[str, rest_json.model.FooEnum\]\]:
|
3733 4103 | /// :rtype None:
|
3734 4104 | #[allow(missing_docs)] // documentation missing in model
|
3735 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
3736 - | pub struct JsonEnumsOutput {
|
3737 - | #[pyo3(get, set)]
|
3738 - | /// :type typing.Optional\[rest_json.model.FooEnum\]:
|
3739 - | #[allow(missing_docs)] // documentation missing in model
|
3740 - | pub foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
3741 - | #[pyo3(get, set)]
|
3742 - | /// :type typing.Optional\[rest_json.model.FooEnum\]:
|
3743 - | #[allow(missing_docs)] // documentation missing in model
|
3744 - | pub foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
3745 - | #[pyo3(get, set)]
|
3746 - | /// :type typing.Optional\[rest_json.model.FooEnum\]:
|
3747 - | #[allow(missing_docs)] // documentation missing in model
|
3748 - | pub foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
3749 - | #[pyo3(get, set)]
|
3750 - | /// :type typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
3751 - | #[allow(missing_docs)] // documentation missing in model
|
3752 - | pub foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
3753 - | #[pyo3(get, set)]
|
3754 - | /// :type typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
3755 - | #[allow(missing_docs)] // documentation missing in model
|
3756 - | pub foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
3757 - | #[pyo3(get, set)]
|
3758 - | /// :type typing.Optional\[typing.Dict\[str, rest_json.model.FooEnum\]\]:
|
3759 - | #[allow(missing_docs)] // documentation missing in model
|
3760 - | pub foo_enum_map: ::std::option::Option<
|
3761 - | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
3762 - | >,
|
3763 - | }
|
3764 - | impl JsonEnumsOutput {
|
3765 - | #[allow(missing_docs)] // documentation missing in model
|
3766 - | pub fn foo_enum1(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
3767 - | self.foo_enum1.as_ref()
|
3768 - | }
|
3769 - | #[allow(missing_docs)] // documentation missing in model
|
3770 - | pub fn foo_enum2(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
3771 - | self.foo_enum2.as_ref()
|
3772 - | }
|
3773 - | #[allow(missing_docs)] // documentation missing in model
|
3774 - | pub fn foo_enum3(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
3775 - | self.foo_enum3.as_ref()
|
3776 - | }
|
3777 - | #[allow(missing_docs)] // documentation missing in model
|
3778 - | pub fn foo_enum_list(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
3779 - | self.foo_enum_list.as_deref()
|
3780 - | }
|
3781 - | #[allow(missing_docs)] // documentation missing in model
|
3782 - | pub fn foo_enum_set(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
3783 - | self.foo_enum_set.as_deref()
|
3784 - | }
|
3785 - | #[allow(missing_docs)] // documentation missing in model
|
3786 - | pub fn foo_enum_map(
|
3787 - | &self,
|
3788 - | ) -> ::std::option::Option<
|
3789 - | &::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
3790 - | > {
|
3791 - | self.foo_enum_map.as_ref()
|
3792 - | }
|
3793 - | }
|
4105 + | #[derive(
|
4106 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4107 + | )]
|
4108 + | pub struct MalformedBooleanOutput {}
|
3794 4109 | #[allow(clippy::new_without_default)]
|
3795 4110 | #[allow(clippy::too_many_arguments)]
|
3796 4111 | #[::pyo3::pymethods]
|
3797 - | impl JsonEnumsOutput {
|
4112 + | impl MalformedBooleanOutput {
|
3798 4113 | #[new]
|
3799 - | pub fn new(
|
3800 - | foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
3801 - | foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
3802 - | foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
3803 - | foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
3804 - | foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
3805 - | foo_enum_map: ::std::option::Option<
|
3806 - | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
3807 - | >,
|
3808 - | ) -> Self {
|
3809 - | Self {
|
3810 - | foo_enum1,
|
3811 - | foo_enum2,
|
3812 - | foo_enum3,
|
3813 - | foo_enum_list,
|
3814 - | foo_enum_set,
|
3815 - | foo_enum_map,
|
3816 - | }
|
4114 + | pub fn new() -> Self {
|
4115 + | Self {}
|
3817 4116 | }
|
3818 4117 | fn __repr__(&self) -> String {
|
3819 4118 | format!("{self:?}")
|
3820 4119 | }
|
3821 4120 | fn __str__(&self) -> String {
|
3822 4121 | format!("{self:?}")
|
3823 4122 | }
|
3824 4123 | }
|
3825 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonEnumsOutput> {
|
4124 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedBooleanOutput> {
|
3826 4125 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
3827 - | ob.extract::<JsonEnumsOutput>().map(Box::new)
|
4126 + | ob.extract::<MalformedBooleanOutput>().map(Box::new)
|
3828 4127 | }
|
3829 4128 | }
|
3830 4129 |
|
3831 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonEnumsOutput> {
|
4130 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedBooleanOutput> {
|
3832 4131 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
3833 4132 | (*self).into_py(py)
|
3834 4133 | }
|
3835 4134 | }
|
3836 - | impl JsonEnumsOutput {
|
3837 - | /// Creates a new builder-style object to manufacture [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
3838 - | pub fn builder() -> crate::output::json_enums_output::Builder {
|
3839 - | crate::output::json_enums_output::Builder::default()
|
4135 + | impl MalformedBooleanOutput {
|
4136 + | /// Creates a new builder-style object to manufacture [`MalformedBooleanOutput`](crate::output::MalformedBooleanOutput).
|
4137 + | pub fn builder() -> crate::output::malformed_boolean_output::Builder {
|
4138 + | crate::output::malformed_boolean_output::Builder::default()
|
3840 4139 | }
|
3841 4140 | }
|
3842 4141 |
|
3843 4142 | #[::pyo3::pyclass]
|
3844 - | /// :param normal typing.Optional\[rest_json.types.DateTime\]:
|
3845 - | /// :param date_time typing.Optional\[rest_json.types.DateTime\]:
|
3846 - | /// :param date_time_on_target typing.Optional\[rest_json.types.DateTime\]:
|
3847 - | /// :param epoch_seconds typing.Optional\[rest_json.types.DateTime\]:
|
3848 - | /// :param epoch_seconds_on_target typing.Optional\[rest_json.types.DateTime\]:
|
3849 - | /// :param http_date typing.Optional\[rest_json.types.DateTime\]:
|
3850 - | /// :param http_date_on_target typing.Optional\[rest_json.types.DateTime\]:
|
3851 4143 | /// :rtype None:
|
3852 4144 | #[allow(missing_docs)] // documentation missing in model
|
3853 4145 | #[derive(
|
3854 4146 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
3855 4147 | )]
|
3856 - | pub struct JsonTimestampsOutput {
|
3857 - | #[pyo3(get, set)]
|
3858 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
3859 - | #[allow(missing_docs)] // documentation missing in model
|
3860 - | pub normal: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3861 - | #[pyo3(get, set)]
|
3862 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
3863 - | #[allow(missing_docs)] // documentation missing in model
|
3864 - | pub date_time: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3865 - | #[pyo3(get, set)]
|
3866 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
3867 - | #[allow(missing_docs)] // documentation missing in model
|
3868 - | pub date_time_on_target:
|
3869 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3870 - | #[pyo3(get, set)]
|
3871 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
3872 - | #[allow(missing_docs)] // documentation missing in model
|
3873 - | pub epoch_seconds: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3874 - | #[pyo3(get, set)]
|
3875 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
3876 - | #[allow(missing_docs)] // documentation missing in model
|
3877 - | pub epoch_seconds_on_target:
|
3878 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3879 - | #[pyo3(get, set)]
|
3880 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
3881 - | #[allow(missing_docs)] // documentation missing in model
|
3882 - | pub http_date: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3883 - | #[pyo3(get, set)]
|
3884 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
3885 - | #[allow(missing_docs)] // documentation missing in model
|
3886 - | pub http_date_on_target:
|
3887 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3888 - | }
|
3889 - | impl JsonTimestampsOutput {
|
3890 - | #[allow(missing_docs)] // documentation missing in model
|
3891 - | pub fn normal(
|
3892 - | &self,
|
3893 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
3894 - | self.normal.as_ref()
|
3895 - | }
|
3896 - | #[allow(missing_docs)] // documentation missing in model
|
3897 - | pub fn date_time(
|
3898 - | &self,
|
3899 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
3900 - | self.date_time.as_ref()
|
3901 - | }
|
3902 - | #[allow(missing_docs)] // documentation missing in model
|
3903 - | pub fn date_time_on_target(
|
3904 - | &self,
|
3905 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
3906 - | self.date_time_on_target.as_ref()
|
3907 - | }
|
3908 - | #[allow(missing_docs)] // documentation missing in model
|
3909 - | pub fn epoch_seconds(
|
3910 - | &self,
|
3911 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
3912 - | self.epoch_seconds.as_ref()
|
3913 - | }
|
3914 - | #[allow(missing_docs)] // documentation missing in model
|
3915 - | pub fn epoch_seconds_on_target(
|
3916 - | &self,
|
3917 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
3918 - | self.epoch_seconds_on_target.as_ref()
|
3919 - | }
|
3920 - | #[allow(missing_docs)] // documentation missing in model
|
3921 - | pub fn http_date(
|
3922 - | &self,
|
3923 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
3924 - | self.http_date.as_ref()
|
3925 - | }
|
3926 - | #[allow(missing_docs)] // documentation missing in model
|
3927 - | pub fn http_date_on_target(
|
3928 - | &self,
|
3929 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
3930 - | self.http_date_on_target.as_ref()
|
3931 - | }
|
3932 - | }
|
4148 + | pub struct MalformedListOutput {}
|
3933 4149 | #[allow(clippy::new_without_default)]
|
3934 4150 | #[allow(clippy::too_many_arguments)]
|
3935 4151 | #[::pyo3::pymethods]
|
3936 - | impl JsonTimestampsOutput {
|
4152 + | impl MalformedListOutput {
|
3937 4153 | #[new]
|
3938 - | pub fn new(
|
3939 - | normal: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3940 - | date_time: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3941 - | date_time_on_target: ::std::option::Option<
|
3942 - | ::aws_smithy_http_server_python::types::DateTime,
|
3943 - | >,
|
3944 - | epoch_seconds: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3945 - | epoch_seconds_on_target: ::std::option::Option<
|
3946 - | ::aws_smithy_http_server_python::types::DateTime,
|
3947 - | >,
|
3948 - | http_date: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
3949 - | http_date_on_target: ::std::option::Option<
|
3950 - | ::aws_smithy_http_server_python::types::DateTime,
|
3951 - | >,
|
3952 - | ) -> Self {
|
3953 - | Self {
|
3954 - | normal,
|
3955 - | date_time,
|
3956 - | date_time_on_target,
|
3957 - | epoch_seconds,
|
3958 - | epoch_seconds_on_target,
|
3959 - | http_date,
|
3960 - | http_date_on_target,
|
3961 - | }
|
4154 + | pub fn new() -> Self {
|
4155 + | Self {}
|
3962 4156 | }
|
3963 4157 | fn __repr__(&self) -> String {
|
3964 4158 | format!("{self:?}")
|
3965 4159 | }
|
3966 4160 | fn __str__(&self) -> String {
|
3967 4161 | format!("{self:?}")
|
3968 4162 | }
|
3969 4163 | }
|
3970 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<JsonTimestampsOutput> {
|
4164 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedListOutput> {
|
3971 4165 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
3972 - | ob.extract::<JsonTimestampsOutput>().map(Box::new)
|
4166 + | ob.extract::<MalformedListOutput>().map(Box::new)
|
3973 4167 | }
|
3974 4168 | }
|
3975 4169 |
|
3976 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<JsonTimestampsOutput> {
|
4170 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedListOutput> {
|
3977 4171 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
3978 4172 | (*self).into_py(py)
|
3979 4173 | }
|
3980 4174 | }
|
3981 - | impl JsonTimestampsOutput {
|
3982 - | /// Creates a new builder-style object to manufacture [`JsonTimestampsOutput`](crate::output::JsonTimestampsOutput).
|
3983 - | pub fn builder() -> crate::output::json_timestamps_output::Builder {
|
3984 - | crate::output::json_timestamps_output::Builder::default()
|
4175 + | impl MalformedListOutput {
|
4176 + | /// Creates a new builder-style object to manufacture [`MalformedListOutput`](crate::output::MalformedListOutput).
|
4177 + | pub fn builder() -> crate::output::malformed_list_output::Builder {
|
4178 + | crate::output::malformed_list_output::Builder::default()
|
3985 4179 | }
|
3986 4180 | }
|
3987 4181 |
|
3988 4182 | #[::pyo3::pyclass]
|
3989 - | /// :param foo typing.Optional\[str\]:
|
3990 - | /// :param string_value typing.Optional\[str\]:
|
3991 - | /// :param true_boolean_value typing.Optional\[bool\]:
|
3992 - | /// :param false_boolean_value typing.Optional\[bool\]:
|
3993 - | /// :param byte_value typing.Optional\[int\]:
|
3994 - | /// :param short_value typing.Optional\[int\]:
|
3995 - | /// :param integer_value typing.Optional\[int\]:
|
3996 - | /// :param long_value typing.Optional\[int\]:
|
3997 - | /// :param float_value typing.Optional\[float\]:
|
3998 - | /// :param double_value typing.Optional\[float\]:
|
3999 4183 | /// :rtype None:
|
4000 4184 | #[allow(missing_docs)] // documentation missing in model
|
4001 - | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
4002 - | pub struct SimpleScalarPropertiesOutput {
|
4003 - | #[pyo3(get, set)]
|
4004 - | /// :type typing.Optional\[str\]:
|
4005 - | #[allow(missing_docs)] // documentation missing in model
|
4006 - | pub foo: ::std::option::Option<::std::string::String>,
|
4007 - | #[pyo3(get, set)]
|
4008 - | /// :type typing.Optional\[str\]:
|
4009 - | #[allow(missing_docs)] // documentation missing in model
|
4010 - | pub string_value: ::std::option::Option<::std::string::String>,
|
4011 - | #[pyo3(get, set)]
|
4012 - | /// :type typing.Optional\[bool\]:
|
4013 - | #[allow(missing_docs)] // documentation missing in model
|
4014 - | pub true_boolean_value: ::std::option::Option<bool>,
|
4015 - | #[pyo3(get, set)]
|
4016 - | /// :type typing.Optional\[bool\]:
|
4017 - | #[allow(missing_docs)] // documentation missing in model
|
4018 - | pub false_boolean_value: ::std::option::Option<bool>,
|
4019 - | #[pyo3(get, set)]
|
4020 - | /// :type typing.Optional\[int\]:
|
4021 - | #[allow(missing_docs)] // documentation missing in model
|
4022 - | pub byte_value: ::std::option::Option<i8>,
|
4023 - | #[pyo3(get, set)]
|
4024 - | /// :type typing.Optional\[int\]:
|
4025 - | #[allow(missing_docs)] // documentation missing in model
|
4026 - | pub short_value: ::std::option::Option<i16>,
|
4027 - | #[pyo3(get, set)]
|
4028 - | /// :type typing.Optional\[int\]:
|
4029 - | #[allow(missing_docs)] // documentation missing in model
|
4030 - | pub integer_value: ::std::option::Option<i32>,
|
4031 - | #[pyo3(get, set)]
|
4032 - | /// :type typing.Optional\[int\]:
|
4033 - | #[allow(missing_docs)] // documentation missing in model
|
4034 - | pub long_value: ::std::option::Option<i64>,
|
4035 - | #[pyo3(get, set)]
|
4036 - | /// :type typing.Optional\[float\]:
|
4037 - | #[allow(missing_docs)] // documentation missing in model
|
4038 - | pub float_value: ::std::option::Option<f32>,
|
4039 - | #[pyo3(get, set)]
|
4040 - | /// :type typing.Optional\[float\]:
|
4041 - | #[allow(missing_docs)] // documentation missing in model
|
4042 - | pub double_value: ::std::option::Option<f64>,
|
4043 - | }
|
4044 - | impl SimpleScalarPropertiesOutput {
|
4045 - | #[allow(missing_docs)] // documentation missing in model
|
4046 - | pub fn foo(&self) -> ::std::option::Option<&str> {
|
4047 - | self.foo.as_deref()
|
4048 - | }
|
4049 - | #[allow(missing_docs)] // documentation missing in model
|
4050 - | pub fn string_value(&self) -> ::std::option::Option<&str> {
|
4051 - | self.string_value.as_deref()
|
4052 - | }
|
4053 - | #[allow(missing_docs)] // documentation missing in model
|
4054 - | pub fn true_boolean_value(&self) -> ::std::option::Option<bool> {
|
4055 - | self.true_boolean_value
|
4056 - | }
|
4057 - | #[allow(missing_docs)] // documentation missing in model
|
4058 - | pub fn false_boolean_value(&self) -> ::std::option::Option<bool> {
|
4059 - | self.false_boolean_value
|
4060 - | }
|
4061 - | #[allow(missing_docs)] // documentation missing in model
|
4062 - | pub fn byte_value(&self) -> ::std::option::Option<i8> {
|
4063 - | self.byte_value
|
4185 + | #[derive(
|
4186 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4187 + | )]
|
4188 + | pub struct MalformedMapOutput {}
|
4189 + | #[allow(clippy::new_without_default)]
|
4190 + | #[allow(clippy::too_many_arguments)]
|
4191 + | #[::pyo3::pymethods]
|
4192 + | impl MalformedMapOutput {
|
4193 + | #[new]
|
4194 + | pub fn new() -> Self {
|
4195 + | Self {}
|
4064 4196 | }
|
4065 - | #[allow(missing_docs)] // documentation missing in model
|
4066 - | pub fn short_value(&self) -> ::std::option::Option<i16> {
|
4067 - | self.short_value
|
4197 + | fn __repr__(&self) -> String {
|
4198 + | format!("{self:?}")
|
4068 4199 | }
|
4069 - | #[allow(missing_docs)] // documentation missing in model
|
4070 - | pub fn integer_value(&self) -> ::std::option::Option<i32> {
|
4071 - | self.integer_value
|
4200 + | fn __str__(&self) -> String {
|
4201 + | format!("{self:?}")
|
4072 4202 | }
|
4073 - | #[allow(missing_docs)] // documentation missing in model
|
4074 - | pub fn long_value(&self) -> ::std::option::Option<i64> {
|
4075 - | self.long_value
|
4203 + | }
|
4204 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedMapOutput> {
|
4205 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4206 + | ob.extract::<MalformedMapOutput>().map(Box::new)
|
4076 4207 | }
|
4077 - | #[allow(missing_docs)] // documentation missing in model
|
4078 - | pub fn float_value(&self) -> ::std::option::Option<f32> {
|
4079 - | self.float_value
|
4208 + | }
|
4209 + |
|
4210 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedMapOutput> {
|
4211 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4212 + | (*self).into_py(py)
|
4080 4213 | }
|
4081 - | #[allow(missing_docs)] // documentation missing in model
|
4082 - | pub fn double_value(&self) -> ::std::option::Option<f64> {
|
4083 - | self.double_value
|
4214 + | }
|
4215 + | impl MalformedMapOutput {
|
4216 + | /// Creates a new builder-style object to manufacture [`MalformedMapOutput`](crate::output::MalformedMapOutput).
|
4217 + | pub fn builder() -> crate::output::malformed_map_output::Builder {
|
4218 + | crate::output::malformed_map_output::Builder::default()
|
4084 4219 | }
|
4085 4220 | }
|
4221 + |
|
4222 + | #[::pyo3::pyclass]
|
4223 + | /// :rtype None:
|
4224 + | #[allow(missing_docs)] // documentation missing in model
|
4225 + | #[derive(
|
4226 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4227 + | )]
|
4228 + | pub struct MalformedBlobOutput {}
|
4086 4229 | #[allow(clippy::new_without_default)]
|
4087 4230 | #[allow(clippy::too_many_arguments)]
|
4088 4231 | #[::pyo3::pymethods]
|
4089 - | impl SimpleScalarPropertiesOutput {
|
4232 + | impl MalformedBlobOutput {
|
4090 4233 | #[new]
|
4091 - | pub fn new(
|
4092 - | foo: ::std::option::Option<::std::string::String>,
|
4093 - | string_value: ::std::option::Option<::std::string::String>,
|
4094 - | true_boolean_value: ::std::option::Option<bool>,
|
4095 - | false_boolean_value: ::std::option::Option<bool>,
|
4096 - | byte_value: ::std::option::Option<i8>,
|
4097 - | short_value: ::std::option::Option<i16>,
|
4098 - | integer_value: ::std::option::Option<i32>,
|
4099 - | long_value: ::std::option::Option<i64>,
|
4100 - | float_value: ::std::option::Option<f32>,
|
4101 - | double_value: ::std::option::Option<f64>,
|
4102 - | ) -> Self {
|
4103 - | Self {
|
4104 - | foo,
|
4105 - | string_value,
|
4106 - | true_boolean_value,
|
4107 - | false_boolean_value,
|
4108 - | byte_value,
|
4109 - | short_value,
|
4110 - | integer_value,
|
4111 - | long_value,
|
4112 - | float_value,
|
4113 - | double_value,
|
4114 - | }
|
4234 + | pub fn new() -> Self {
|
4235 + | Self {}
|
4115 4236 | }
|
4116 4237 | fn __repr__(&self) -> String {
|
4117 4238 | format!("{self:?}")
|
4118 4239 | }
|
4119 4240 | fn __str__(&self) -> String {
|
4120 4241 | format!("{self:?}")
|
4121 4242 | }
|
4122 4243 | }
|
4123 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<SimpleScalarPropertiesOutput> {
|
4244 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedBlobOutput> {
|
4124 4245 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4125 - | ob.extract::<SimpleScalarPropertiesOutput>().map(Box::new)
|
4246 + | ob.extract::<MalformedBlobOutput>().map(Box::new)
|
4126 4247 | }
|
4127 4248 | }
|
4128 4249 |
|
4129 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<SimpleScalarPropertiesOutput> {
|
4250 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedBlobOutput> {
|
4130 4251 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4131 4252 | (*self).into_py(py)
|
4132 4253 | }
|
4133 4254 | }
|
4134 - | impl SimpleScalarPropertiesOutput {
|
4135 - | /// Creates a new builder-style object to manufacture [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
4136 - | pub fn builder() -> crate::output::simple_scalar_properties_output::Builder {
|
4137 - | crate::output::simple_scalar_properties_output::Builder::default()
|
4255 + | impl MalformedBlobOutput {
|
4256 + | /// Creates a new builder-style object to manufacture [`MalformedBlobOutput`](crate::output::MalformedBlobOutput).
|
4257 + | pub fn builder() -> crate::output::malformed_blob_output::Builder {
|
4258 + | crate::output::malformed_blob_output::Builder::default()
|
4138 4259 | }
|
4139 4260 | }
|
4140 4261 |
|
4141 4262 | #[::pyo3::pyclass]
|
4142 - | /// :param greeting typing.Optional\[str\]:
|
4143 4263 | /// :rtype None:
|
4144 4264 | #[allow(missing_docs)] // documentation missing in model
|
4145 4265 | #[derive(
|
4146 4266 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4147 4267 | )]
|
4148 - | pub struct GreetingWithErrorsOutput {
|
4149 - | #[pyo3(get, set)]
|
4150 - | /// :type typing.Optional\[str\]:
|
4151 - | #[allow(missing_docs)] // documentation missing in model
|
4152 - | pub greeting: ::std::option::Option<::std::string::String>,
|
4153 - | }
|
4154 - | impl GreetingWithErrorsOutput {
|
4155 - | #[allow(missing_docs)] // documentation missing in model
|
4156 - | pub fn greeting(&self) -> ::std::option::Option<&str> {
|
4157 - | self.greeting.as_deref()
|
4158 - | }
|
4159 - | }
|
4268 + | pub struct MalformedByteOutput {}
|
4160 4269 | #[allow(clippy::new_without_default)]
|
4161 4270 | #[allow(clippy::too_many_arguments)]
|
4162 4271 | #[::pyo3::pymethods]
|
4163 - | impl GreetingWithErrorsOutput {
|
4272 + | impl MalformedByteOutput {
|
4164 4273 | #[new]
|
4165 - | pub fn new(greeting: ::std::option::Option<::std::string::String>) -> Self {
|
4166 - | Self { greeting }
|
4274 + | pub fn new() -> Self {
|
4275 + | Self {}
|
4167 4276 | }
|
4168 4277 | fn __repr__(&self) -> String {
|
4169 4278 | format!("{self:?}")
|
4170 4279 | }
|
4171 4280 | fn __str__(&self) -> String {
|
4172 4281 | format!("{self:?}")
|
4173 4282 | }
|
4174 4283 | }
|
4175 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<GreetingWithErrorsOutput> {
|
4284 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedByteOutput> {
|
4176 4285 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4177 - | ob.extract::<GreetingWithErrorsOutput>().map(Box::new)
|
4286 + | ob.extract::<MalformedByteOutput>().map(Box::new)
|
4178 4287 | }
|
4179 4288 | }
|
4180 4289 |
|
4181 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<GreetingWithErrorsOutput> {
|
4290 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedByteOutput> {
|
4182 4291 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4183 4292 | (*self).into_py(py)
|
4184 4293 | }
|
4185 4294 | }
|
4186 - | impl GreetingWithErrorsOutput {
|
4187 - | /// Creates a new builder-style object to manufacture [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
4188 - | pub fn builder() -> crate::output::greeting_with_errors_output::Builder {
|
4189 - | crate::output::greeting_with_errors_output::Builder::default()
|
4295 + | impl MalformedByteOutput {
|
4296 + | /// Creates a new builder-style object to manufacture [`MalformedByteOutput`](crate::output::MalformedByteOutput).
|
4297 + | pub fn builder() -> crate::output::malformed_byte_output::Builder {
|
4298 + | crate::output::malformed_byte_output::Builder::default()
|
4190 4299 | }
|
4191 4300 | }
|
4192 4301 |
|
4193 4302 | #[::pyo3::pyclass]
|
4194 - | /// :param blob rest_json.types.ByteStream:
|
4195 - | /// :param foo typing.Optional\[str\]:
|
4196 4303 | /// :rtype None:
|
4197 4304 | #[allow(missing_docs)] // documentation missing in model
|
4198 - | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
4199 - | pub struct StreamingTraitsWithMediaTypeOutput {
|
4200 - | #[pyo3(get, set)]
|
4201 - | /// :type typing.Optional\[str\]:
|
4202 - | #[allow(missing_docs)] // documentation missing in model
|
4203 - | pub foo: ::std::option::Option<::std::string::String>,
|
4204 - | #[pyo3(get, set)]
|
4205 - | /// :type rest_json.types.ByteStream:
|
4206 - | #[allow(missing_docs)] // documentation missing in model
|
4207 - | pub blob: ::aws_smithy_http_server_python::types::ByteStream,
|
4208 - | }
|
4209 - | impl StreamingTraitsWithMediaTypeOutput {
|
4210 - | #[allow(missing_docs)] // documentation missing in model
|
4211 - | pub fn foo(&self) -> ::std::option::Option<&str> {
|
4212 - | self.foo.as_deref()
|
4213 - | }
|
4214 - | #[allow(missing_docs)] // documentation missing in model
|
4215 - | pub fn blob(&self) -> &::aws_smithy_http_server_python::types::ByteStream {
|
4216 - | &self.blob
|
4217 - | }
|
4218 - | }
|
4305 + | #[derive(
|
4306 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4307 + | )]
|
4308 + | pub struct MalformedShortOutput {}
|
4219 4309 | #[allow(clippy::new_without_default)]
|
4220 4310 | #[allow(clippy::too_many_arguments)]
|
4221 4311 | #[::pyo3::pymethods]
|
4222 - | impl StreamingTraitsWithMediaTypeOutput {
|
4312 + | impl MalformedShortOutput {
|
4223 4313 | #[new]
|
4224 - | pub fn new(
|
4225 - | blob: ::aws_smithy_http_server_python::types::ByteStream,
|
4226 - | foo: ::std::option::Option<::std::string::String>,
|
4227 - | ) -> Self {
|
4228 - | Self { blob, foo }
|
4314 + | pub fn new() -> Self {
|
4315 + | Self {}
|
4229 4316 | }
|
4230 4317 | fn __repr__(&self) -> String {
|
4231 4318 | format!("{self:?}")
|
4232 4319 | }
|
4233 4320 | fn __str__(&self) -> String {
|
4234 4321 | format!("{self:?}")
|
4235 4322 | }
|
4236 4323 | }
|
4237 - | impl<'source> ::pyo3::FromPyObject<'source>
|
4238 - | for std::boxed::Box<StreamingTraitsWithMediaTypeOutput>
|
4239 - | {
|
4324 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedShortOutput> {
|
4240 4325 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4241 - | ob.extract::<StreamingTraitsWithMediaTypeOutput>()
|
4242 - | .map(Box::new)
|
4326 + | ob.extract::<MalformedShortOutput>().map(Box::new)
|
4243 4327 | }
|
4244 4328 | }
|
4245 4329 |
|
4246 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StreamingTraitsWithMediaTypeOutput> {
|
4330 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedShortOutput> {
|
4247 4331 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4248 4332 | (*self).into_py(py)
|
4249 4333 | }
|
4250 4334 | }
|
4251 - | impl StreamingTraitsWithMediaTypeOutput {
|
4252 - | /// Creates a new builder-style object to manufacture [`StreamingTraitsWithMediaTypeOutput`](crate::output::StreamingTraitsWithMediaTypeOutput).
|
4253 - | pub fn builder() -> crate::output::streaming_traits_with_media_type_output::Builder {
|
4254 - | crate::output::streaming_traits_with_media_type_output::Builder::default()
|
4335 + | impl MalformedShortOutput {
|
4336 + | /// Creates a new builder-style object to manufacture [`MalformedShortOutput`](crate::output::MalformedShortOutput).
|
4337 + | pub fn builder() -> crate::output::malformed_short_output::Builder {
|
4338 + | crate::output::malformed_short_output::Builder::default()
|
4255 4339 | }
|
4256 4340 | }
|
4257 4341 |
|
4258 4342 | #[::pyo3::pyclass]
|
4259 4343 | /// :rtype None:
|
4260 4344 | #[allow(missing_docs)] // documentation missing in model
|
4261 4345 | #[derive(
|
4262 4346 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4263 4347 | )]
|
4264 - | pub struct StreamingTraitsRequireLengthOutput {}
|
4348 + | pub struct MalformedLongOutput {}
|
4265 4349 | #[allow(clippy::new_without_default)]
|
4266 4350 | #[allow(clippy::too_many_arguments)]
|
4267 4351 | #[::pyo3::pymethods]
|
4268 - | impl StreamingTraitsRequireLengthOutput {
|
4352 + | impl MalformedLongOutput {
|
4269 4353 | #[new]
|
4270 4354 | pub fn new() -> Self {
|
4271 4355 | Self {}
|
4272 4356 | }
|
4273 4357 | fn __repr__(&self) -> String {
|
4274 4358 | format!("{self:?}")
|
4275 4359 | }
|
4276 4360 | fn __str__(&self) -> String {
|
4277 4361 | format!("{self:?}")
|
4278 4362 | }
|
4279 4363 | }
|
4280 - | impl<'source> ::pyo3::FromPyObject<'source>
|
4281 - | for std::boxed::Box<StreamingTraitsRequireLengthOutput>
|
4282 - | {
|
4364 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedLongOutput> {
|
4283 4365 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4284 - | ob.extract::<StreamingTraitsRequireLengthOutput>()
|
4285 - | .map(Box::new)
|
4366 + | ob.extract::<MalformedLongOutput>().map(Box::new)
|
4286 4367 | }
|
4287 4368 | }
|
4288 4369 |
|
4289 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StreamingTraitsRequireLengthOutput> {
|
4370 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedLongOutput> {
|
4290 4371 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4291 4372 | (*self).into_py(py)
|
4292 4373 | }
|
4293 4374 | }
|
4294 - | impl StreamingTraitsRequireLengthOutput {
|
4295 - | /// Creates a new builder-style object to manufacture [`StreamingTraitsRequireLengthOutput`](crate::output::StreamingTraitsRequireLengthOutput).
|
4296 - | pub fn builder() -> crate::output::streaming_traits_require_length_output::Builder {
|
4297 - | crate::output::streaming_traits_require_length_output::Builder::default()
|
4298 - | }
|
4299 - | }
|
4375 + | impl MalformedLongOutput {
|
4376 + | /// Creates a new builder-style object to manufacture [`MalformedLongOutput`](crate::output::MalformedLongOutput).
|
4377 + | pub fn builder() -> crate::output::malformed_long_output::Builder {
|
4378 + | crate::output::malformed_long_output::Builder::default()
|
4379 + | }
|
4380 + | }
|
4300 4381 |
|
4301 4382 | #[::pyo3::pyclass]
|
4302 - | /// :param blob rest_json.types.ByteStream:
|
4303 - | /// :param foo typing.Optional\[str\]:
|
4304 4383 | /// :rtype None:
|
4305 4384 | #[allow(missing_docs)] // documentation missing in model
|
4306 - | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
4307 - | pub struct StreamingTraitsOutput {
|
4308 - | #[pyo3(get, set)]
|
4309 - | /// :type typing.Optional\[str\]:
|
4310 - | #[allow(missing_docs)] // documentation missing in model
|
4311 - | pub foo: ::std::option::Option<::std::string::String>,
|
4312 - | #[pyo3(get, set)]
|
4313 - | /// :type rest_json.types.ByteStream:
|
4314 - | #[allow(missing_docs)] // documentation missing in model
|
4315 - | pub blob: ::aws_smithy_http_server_python::types::ByteStream,
|
4316 - | }
|
4317 - | impl StreamingTraitsOutput {
|
4318 - | #[allow(missing_docs)] // documentation missing in model
|
4319 - | pub fn foo(&self) -> ::std::option::Option<&str> {
|
4320 - | self.foo.as_deref()
|
4321 - | }
|
4322 - | #[allow(missing_docs)] // documentation missing in model
|
4323 - | pub fn blob(&self) -> &::aws_smithy_http_server_python::types::ByteStream {
|
4324 - | &self.blob
|
4325 - | }
|
4326 - | }
|
4385 + | #[derive(
|
4386 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4387 + | )]
|
4388 + | pub struct MalformedFloatOutput {}
|
4327 4389 | #[allow(clippy::new_without_default)]
|
4328 4390 | #[allow(clippy::too_many_arguments)]
|
4329 4391 | #[::pyo3::pymethods]
|
4330 - | impl StreamingTraitsOutput {
|
4392 + | impl MalformedFloatOutput {
|
4331 4393 | #[new]
|
4332 - | pub fn new(
|
4333 - | blob: ::aws_smithy_http_server_python::types::ByteStream,
|
4334 - | foo: ::std::option::Option<::std::string::String>,
|
4335 - | ) -> Self {
|
4336 - | Self { blob, foo }
|
4394 + | pub fn new() -> Self {
|
4395 + | Self {}
|
4337 4396 | }
|
4338 4397 | fn __repr__(&self) -> String {
|
4339 4398 | format!("{self:?}")
|
4340 4399 | }
|
4341 4400 | fn __str__(&self) -> String {
|
4342 4401 | format!("{self:?}")
|
4343 4402 | }
|
4344 4403 | }
|
4345 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<StreamingTraitsOutput> {
|
4404 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedFloatOutput> {
|
4346 4405 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4347 - | ob.extract::<StreamingTraitsOutput>().map(Box::new)
|
4406 + | ob.extract::<MalformedFloatOutput>().map(Box::new)
|
4348 4407 | }
|
4349 4408 | }
|
4350 4409 |
|
4351 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StreamingTraitsOutput> {
|
4410 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedFloatOutput> {
|
4352 4411 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4353 4412 | (*self).into_py(py)
|
4354 4413 | }
|
4355 4414 | }
|
4356 - | impl StreamingTraitsOutput {
|
4357 - | /// Creates a new builder-style object to manufacture [`StreamingTraitsOutput`](crate::output::StreamingTraitsOutput).
|
4358 - | pub fn builder() -> crate::output::streaming_traits_output::Builder {
|
4359 - | crate::output::streaming_traits_output::Builder::default()
|
4415 + | impl MalformedFloatOutput {
|
4416 + | /// Creates a new builder-style object to manufacture [`MalformedFloatOutput`](crate::output::MalformedFloatOutput).
|
4417 + | pub fn builder() -> crate::output::malformed_float_output::Builder {
|
4418 + | crate::output::malformed_float_output::Builder::default()
|
4360 4419 | }
|
4361 4420 | }
|
4362 4421 |
|
4363 4422 | #[::pyo3::pyclass]
|
4364 4423 | /// :rtype None:
|
4365 4424 | #[allow(missing_docs)] // documentation missing in model
|
4366 4425 | #[derive(
|
4367 4426 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4368 4427 | )]
|
4369 - | pub struct ResponseCodeHttpFallbackOutput {}
|
4428 + | pub struct MalformedDoubleOutput {}
|
4370 4429 | #[allow(clippy::new_without_default)]
|
4371 4430 | #[allow(clippy::too_many_arguments)]
|
4372 4431 | #[::pyo3::pymethods]
|
4373 - | impl ResponseCodeHttpFallbackOutput {
|
4432 + | impl MalformedDoubleOutput {
|
4374 4433 | #[new]
|
4375 4434 | pub fn new() -> Self {
|
4376 4435 | Self {}
|
4377 4436 | }
|
4378 4437 | fn __repr__(&self) -> String {
|
4379 4438 | format!("{self:?}")
|
4380 4439 | }
|
4381 4440 | fn __str__(&self) -> String {
|
4382 4441 | format!("{self:?}")
|
4383 4442 | }
|
4384 4443 | }
|
4385 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ResponseCodeHttpFallbackOutput> {
|
4444 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedDoubleOutput> {
|
4386 4445 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4387 - | ob.extract::<ResponseCodeHttpFallbackOutput>().map(Box::new)
|
4446 + | ob.extract::<MalformedDoubleOutput>().map(Box::new)
|
4388 4447 | }
|
4389 4448 | }
|
4390 4449 |
|
4391 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ResponseCodeHttpFallbackOutput> {
|
4450 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedDoubleOutput> {
|
4392 4451 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4393 4452 | (*self).into_py(py)
|
4394 4453 | }
|
4395 4454 | }
|
4396 - | impl ResponseCodeHttpFallbackOutput {
|
4397 - | /// Creates a new builder-style object to manufacture [`ResponseCodeHttpFallbackOutput`](crate::output::ResponseCodeHttpFallbackOutput).
|
4398 - | pub fn builder() -> crate::output::response_code_http_fallback_output::Builder {
|
4399 - | crate::output::response_code_http_fallback_output::Builder::default()
|
4455 + | impl MalformedDoubleOutput {
|
4456 + | /// Creates a new builder-style object to manufacture [`MalformedDoubleOutput`](crate::output::MalformedDoubleOutput).
|
4457 + | pub fn builder() -> crate::output::malformed_double_output::Builder {
|
4458 + | crate::output::malformed_double_output::Builder::default()
|
4400 4459 | }
|
4401 4460 | }
|
4402 4461 |
|
4403 4462 | #[::pyo3::pyclass]
|
4404 - | /// :param response_code int:
|
4405 4463 | /// :rtype None:
|
4406 4464 | #[allow(missing_docs)] // documentation missing in model
|
4407 4465 | #[derive(
|
4408 4466 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4409 4467 | )]
|
4410 - | pub struct ResponseCodeRequiredOutput {
|
4411 - | #[pyo3(get, set)]
|
4412 - | /// :type int:
|
4413 - | #[allow(missing_docs)] // documentation missing in model
|
4414 - | pub response_code: i32,
|
4415 - | }
|
4416 - | impl ResponseCodeRequiredOutput {
|
4417 - | #[allow(missing_docs)] // documentation missing in model
|
4418 - | pub fn response_code(&self) -> i32 {
|
4419 - | self.response_code
|
4420 - | }
|
4421 - | }
|
4468 + | pub struct MalformedStringOutput {}
|
4422 4469 | #[allow(clippy::new_without_default)]
|
4423 4470 | #[allow(clippy::too_many_arguments)]
|
4424 4471 | #[::pyo3::pymethods]
|
4425 - | impl ResponseCodeRequiredOutput {
|
4472 + | impl MalformedStringOutput {
|
4426 4473 | #[new]
|
4427 - | pub fn new(response_code: i32) -> Self {
|
4428 - | Self { response_code }
|
4474 + | pub fn new() -> Self {
|
4475 + | Self {}
|
4429 4476 | }
|
4430 4477 | fn __repr__(&self) -> String {
|
4431 4478 | format!("{self:?}")
|
4432 4479 | }
|
4433 4480 | fn __str__(&self) -> String {
|
4434 4481 | format!("{self:?}")
|
4435 4482 | }
|
4436 4483 | }
|
4437 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ResponseCodeRequiredOutput> {
|
4484 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedStringOutput> {
|
4438 4485 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4439 - | ob.extract::<ResponseCodeRequiredOutput>().map(Box::new)
|
4486 + | ob.extract::<MalformedStringOutput>().map(Box::new)
|
4440 4487 | }
|
4441 4488 | }
|
4442 4489 |
|
4443 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ResponseCodeRequiredOutput> {
|
4490 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedStringOutput> {
|
4444 4491 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4445 4492 | (*self).into_py(py)
|
4446 4493 | }
|
4447 4494 | }
|
4448 - | impl ResponseCodeRequiredOutput {
|
4449 - | /// Creates a new builder-style object to manufacture [`ResponseCodeRequiredOutput`](crate::output::ResponseCodeRequiredOutput).
|
4450 - | pub fn builder() -> crate::output::response_code_required_output::Builder {
|
4451 - | crate::output::response_code_required_output::Builder::default()
|
4495 + | impl MalformedStringOutput {
|
4496 + | /// Creates a new builder-style object to manufacture [`MalformedStringOutput`](crate::output::MalformedStringOutput).
|
4497 + | pub fn builder() -> crate::output::malformed_string_output::Builder {
|
4498 + | crate::output::malformed_string_output::Builder::default()
|
4452 4499 | }
|
4453 4500 | }
|
4454 4501 |
|
4455 4502 | #[::pyo3::pyclass]
|
4456 - | /// :param status typing.Optional\[int\]:
|
4457 4503 | /// :rtype None:
|
4458 4504 | #[allow(missing_docs)] // documentation missing in model
|
4459 4505 | #[derive(
|
4460 4506 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4461 4507 | )]
|
4462 - | pub struct HttpResponseCodeOutput {
|
4463 - | #[pyo3(get, set)]
|
4464 - | /// :type typing.Optional\[int\]:
|
4465 - | #[allow(missing_docs)] // documentation missing in model
|
4466 - | pub status: ::std::option::Option<i32>,
|
4467 - | }
|
4468 - | impl HttpResponseCodeOutput {
|
4469 - | #[allow(missing_docs)] // documentation missing in model
|
4470 - | pub fn status(&self) -> ::std::option::Option<i32> {
|
4471 - | self.status
|
4472 - | }
|
4473 - | }
|
4508 + | pub struct MalformedTimestampPathDefaultOutput {}
|
4474 4509 | #[allow(clippy::new_without_default)]
|
4475 4510 | #[allow(clippy::too_many_arguments)]
|
4476 4511 | #[::pyo3::pymethods]
|
4477 - | impl HttpResponseCodeOutput {
|
4512 + | impl MalformedTimestampPathDefaultOutput {
|
4478 4513 | #[new]
|
4479 - | pub fn new(status: ::std::option::Option<i32>) -> Self {
|
4480 - | Self { status }
|
4514 + | pub fn new() -> Self {
|
4515 + | Self {}
|
4481 4516 | }
|
4482 4517 | fn __repr__(&self) -> String {
|
4483 4518 | format!("{self:?}")
|
4484 4519 | }
|
4485 4520 | fn __str__(&self) -> String {
|
4486 4521 | format!("{self:?}")
|
4487 4522 | }
|
4488 4523 | }
|
4489 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpResponseCodeOutput> {
|
4524 + | impl<'source> ::pyo3::FromPyObject<'source>
|
4525 + | for std::boxed::Box<MalformedTimestampPathDefaultOutput>
|
4526 + | {
|
4490 4527 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4491 - | ob.extract::<HttpResponseCodeOutput>().map(Box::new)
|
4528 + | ob.extract::<MalformedTimestampPathDefaultOutput>()
|
4529 + | .map(Box::new)
|
4492 4530 | }
|
4493 4531 | }
|
4494 4532 |
|
4495 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpResponseCodeOutput> {
|
4533 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampPathDefaultOutput> {
|
4496 4534 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4497 4535 | (*self).into_py(py)
|
4498 4536 | }
|
4499 4537 | }
|
4500 - | impl HttpResponseCodeOutput {
|
4501 - | /// Creates a new builder-style object to manufacture [`HttpResponseCodeOutput`](crate::output::HttpResponseCodeOutput).
|
4502 - | pub fn builder() -> crate::output::http_response_code_output::Builder {
|
4503 - | crate::output::http_response_code_output::Builder::default()
|
4538 + | impl MalformedTimestampPathDefaultOutput {
|
4539 + | /// Creates a new builder-style object to manufacture [`MalformedTimestampPathDefaultOutput`](crate::output::MalformedTimestampPathDefaultOutput).
|
4540 + | pub fn builder() -> crate::output::malformed_timestamp_path_default_output::Builder {
|
4541 + | crate::output::malformed_timestamp_path_default_output::Builder::default()
|
4504 4542 | }
|
4505 4543 | }
|
4506 4544 |
|
4507 4545 | #[::pyo3::pyclass]
|
4508 - | /// :param nested typing.Optional\[rest_json.model.UnionPayload\]:
|
4509 4546 | /// :rtype None:
|
4510 4547 | #[allow(missing_docs)] // documentation missing in model
|
4511 4548 | #[derive(
|
4512 4549 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4513 4550 | )]
|
4514 - | pub struct HttpPayloadWithUnionOutput {
|
4515 - | #[pyo3(get, set)]
|
4516 - | /// :type typing.Optional\[rest_json.model.UnionPayload\]:
|
4517 - | #[allow(missing_docs)] // documentation missing in model
|
4518 - | pub nested: ::std::option::Option<crate::model::UnionPayload>,
|
4519 - | }
|
4520 - | impl HttpPayloadWithUnionOutput {
|
4521 - | #[allow(missing_docs)] // documentation missing in model
|
4522 - | pub fn nested(&self) -> ::std::option::Option<&crate::model::UnionPayload> {
|
4523 - | self.nested.as_ref()
|
4524 - | }
|
4525 - | }
|
4551 + | pub struct MalformedTimestampPathHttpDateOutput {}
|
4526 4552 | #[allow(clippy::new_without_default)]
|
4527 4553 | #[allow(clippy::too_many_arguments)]
|
4528 4554 | #[::pyo3::pymethods]
|
4529 - | impl HttpPayloadWithUnionOutput {
|
4555 + | impl MalformedTimestampPathHttpDateOutput {
|
4530 4556 | #[new]
|
4531 - | pub fn new(nested: ::std::option::Option<crate::model::UnionPayload>) -> Self {
|
4532 - | Self { nested }
|
4557 + | pub fn new() -> Self {
|
4558 + | Self {}
|
4533 4559 | }
|
4534 4560 | fn __repr__(&self) -> String {
|
4535 4561 | format!("{self:?}")
|
4536 4562 | }
|
4537 4563 | fn __str__(&self) -> String {
|
4538 4564 | format!("{self:?}")
|
4539 4565 | }
|
4540 4566 | }
|
4541 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpPayloadWithUnionOutput> {
|
4567 + | impl<'source> ::pyo3::FromPyObject<'source>
|
4568 + | for std::boxed::Box<MalformedTimestampPathHttpDateOutput>
|
4569 + | {
|
4542 4570 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4543 - | ob.extract::<HttpPayloadWithUnionOutput>().map(Box::new)
|
4571 + | ob.extract::<MalformedTimestampPathHttpDateOutput>()
|
4572 + | .map(Box::new)
|
4544 4573 | }
|
4545 4574 | }
|
4546 4575 |
|
4547 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpPayloadWithUnionOutput> {
|
4576 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampPathHttpDateOutput> {
|
4548 4577 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4549 4578 | (*self).into_py(py)
|
4550 4579 | }
|
4551 4580 | }
|
4552 - | impl HttpPayloadWithUnionOutput {
|
4553 - | /// Creates a new builder-style object to manufacture [`HttpPayloadWithUnionOutput`](crate::output::HttpPayloadWithUnionOutput).
|
4554 - | pub fn builder() -> crate::output::http_payload_with_union_output::Builder {
|
4555 - | crate::output::http_payload_with_union_output::Builder::default()
|
4581 + | impl MalformedTimestampPathHttpDateOutput {
|
4582 + | /// Creates a new builder-style object to manufacture [`MalformedTimestampPathHttpDateOutput`](crate::output::MalformedTimestampPathHttpDateOutput).
|
4583 + | pub fn builder() -> crate::output::malformed_timestamp_path_http_date_output::Builder {
|
4584 + | crate::output::malformed_timestamp_path_http_date_output::Builder::default()
|
4556 4585 | }
|
4557 4586 | }
|
4558 4587 |
|
4559 4588 | #[::pyo3::pyclass]
|
4560 - | /// :param payload typing.Optional\[str\]:
|
4561 4589 | /// :rtype None:
|
4562 4590 | #[allow(missing_docs)] // documentation missing in model
|
4563 4591 | #[derive(
|
4564 4592 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4565 4593 | )]
|
4566 - | pub struct HttpStringPayloadOutput {
|
4567 - | #[pyo3(get, set)]
|
4568 - | /// :type typing.Optional\[str\]:
|
4569 - | #[allow(missing_docs)] // documentation missing in model
|
4570 - | pub payload: ::std::option::Option<::std::string::String>,
|
4571 - | }
|
4572 - | impl HttpStringPayloadOutput {
|
4573 - | #[allow(missing_docs)] // documentation missing in model
|
4574 - | pub fn payload(&self) -> ::std::option::Option<&str> {
|
4575 - | self.payload.as_deref()
|
4576 - | }
|
4577 - | }
|
4594 + | pub struct MalformedTimestampPathEpochOutput {}
|
4578 4595 | #[allow(clippy::new_without_default)]
|
4579 4596 | #[allow(clippy::too_many_arguments)]
|
4580 4597 | #[::pyo3::pymethods]
|
4581 - | impl HttpStringPayloadOutput {
|
4598 + | impl MalformedTimestampPathEpochOutput {
|
4582 4599 | #[new]
|
4583 - | pub fn new(payload: ::std::option::Option<::std::string::String>) -> Self {
|
4584 - | Self { payload }
|
4600 + | pub fn new() -> Self {
|
4601 + | Self {}
|
4585 4602 | }
|
4586 4603 | fn __repr__(&self) -> String {
|
4587 4604 | format!("{self:?}")
|
4588 4605 | }
|
4589 4606 | fn __str__(&self) -> String {
|
4590 4607 | format!("{self:?}")
|
4591 4608 | }
|
4592 4609 | }
|
4593 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpStringPayloadOutput> {
|
4610 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedTimestampPathEpochOutput> {
|
4594 4611 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4595 - | ob.extract::<HttpStringPayloadOutput>().map(Box::new)
|
4612 + | ob.extract::<MalformedTimestampPathEpochOutput>()
|
4613 + | .map(Box::new)
|
4596 4614 | }
|
4597 4615 | }
|
4598 4616 |
|
4599 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpStringPayloadOutput> {
|
4617 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampPathEpochOutput> {
|
4600 4618 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4601 4619 | (*self).into_py(py)
|
4602 4620 | }
|
4603 4621 | }
|
4604 - | impl HttpStringPayloadOutput {
|
4605 - | /// Creates a new builder-style object to manufacture [`HttpStringPayloadOutput`](crate::output::HttpStringPayloadOutput).
|
4606 - | pub fn builder() -> crate::output::http_string_payload_output::Builder {
|
4607 - | crate::output::http_string_payload_output::Builder::default()
|
4622 + | impl MalformedTimestampPathEpochOutput {
|
4623 + | /// Creates a new builder-style object to manufacture [`MalformedTimestampPathEpochOutput`](crate::output::MalformedTimestampPathEpochOutput).
|
4624 + | pub fn builder() -> crate::output::malformed_timestamp_path_epoch_output::Builder {
|
4625 + | crate::output::malformed_timestamp_path_epoch_output::Builder::default()
|
4608 4626 | }
|
4609 4627 | }
|
4610 4628 |
|
4611 4629 | #[::pyo3::pyclass]
|
4612 - | /// :param payload typing.Optional\[rest_json.model.StringEnum\]:
|
4613 4630 | /// :rtype None:
|
4614 4631 | #[allow(missing_docs)] // documentation missing in model
|
4615 4632 | #[derive(
|
4616 4633 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4617 4634 | )]
|
4618 - | pub struct HttpEnumPayloadOutput {
|
4619 - | #[pyo3(get, set)]
|
4620 - | /// :type typing.Optional\[rest_json.model.StringEnum\]:
|
4621 - | #[allow(missing_docs)] // documentation missing in model
|
4622 - | pub payload: ::std::option::Option<crate::model::StringEnum>,
|
4623 - | }
|
4624 - | impl HttpEnumPayloadOutput {
|
4625 - | #[allow(missing_docs)] // documentation missing in model
|
4626 - | pub fn payload(&self) -> ::std::option::Option<&crate::model::StringEnum> {
|
4627 - | self.payload.as_ref()
|
4628 - | }
|
4629 - | }
|
4635 + | pub struct MalformedTimestampQueryDefaultOutput {}
|
4630 4636 | #[allow(clippy::new_without_default)]
|
4631 4637 | #[allow(clippy::too_many_arguments)]
|
4632 4638 | #[::pyo3::pymethods]
|
4633 - | impl HttpEnumPayloadOutput {
|
4639 + | impl MalformedTimestampQueryDefaultOutput {
|
4634 4640 | #[new]
|
4635 - | pub fn new(payload: ::std::option::Option<crate::model::StringEnum>) -> Self {
|
4636 - | Self { payload }
|
4641 + | pub fn new() -> Self {
|
4642 + | Self {}
|
4637 4643 | }
|
4638 4644 | fn __repr__(&self) -> String {
|
4639 4645 | format!("{self:?}")
|
4640 4646 | }
|
4641 4647 | fn __str__(&self) -> String {
|
4642 4648 | format!("{self:?}")
|
4643 4649 | }
|
4644 4650 | }
|
4645 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpEnumPayloadOutput> {
|
4651 + | impl<'source> ::pyo3::FromPyObject<'source>
|
4652 + | for std::boxed::Box<MalformedTimestampQueryDefaultOutput>
|
4653 + | {
|
4646 4654 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4647 - | ob.extract::<HttpEnumPayloadOutput>().map(Box::new)
|
4655 + | ob.extract::<MalformedTimestampQueryDefaultOutput>()
|
4656 + | .map(Box::new)
|
4648 4657 | }
|
4649 4658 | }
|
4650 4659 |
|
4651 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpEnumPayloadOutput> {
|
4660 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampQueryDefaultOutput> {
|
4652 4661 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4653 4662 | (*self).into_py(py)
|
4654 4663 | }
|
4655 4664 | }
|
4656 - | impl HttpEnumPayloadOutput {
|
4657 - | /// Creates a new builder-style object to manufacture [`HttpEnumPayloadOutput`](crate::output::HttpEnumPayloadOutput).
|
4658 - | pub fn builder() -> crate::output::http_enum_payload_output::Builder {
|
4659 - | crate::output::http_enum_payload_output::Builder::default()
|
4665 + | impl MalformedTimestampQueryDefaultOutput {
|
4666 + | /// Creates a new builder-style object to manufacture [`MalformedTimestampQueryDefaultOutput`](crate::output::MalformedTimestampQueryDefaultOutput).
|
4667 + | pub fn builder() -> crate::output::malformed_timestamp_query_default_output::Builder {
|
4668 + | crate::output::malformed_timestamp_query_default_output::Builder::default()
|
4660 4669 | }
|
4661 4670 | }
|
4662 4671 |
|
4663 4672 | #[::pyo3::pyclass]
|
4664 - | /// :param nested typing.Optional\[rest_json.model.NestedPayload\]:
|
4665 4673 | /// :rtype None:
|
4666 4674 | #[allow(missing_docs)] // documentation missing in model
|
4667 4675 | #[derive(
|
4668 4676 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4669 4677 | )]
|
4670 - | pub struct HttpPayloadWithStructureOutput {
|
4671 - | #[pyo3(get, set)]
|
4672 - | /// :type typing.Optional\[rest_json.model.NestedPayload\]:
|
4673 - | #[allow(missing_docs)] // documentation missing in model
|
4674 - | pub nested: ::std::option::Option<crate::model::NestedPayload>,
|
4675 - | }
|
4676 - | impl HttpPayloadWithStructureOutput {
|
4677 - | #[allow(missing_docs)] // documentation missing in model
|
4678 - | pub fn nested(&self) -> ::std::option::Option<&crate::model::NestedPayload> {
|
4679 - | self.nested.as_ref()
|
4680 - | }
|
4681 - | }
|
4678 + | pub struct MalformedTimestampQueryHttpDateOutput {}
|
4682 4679 | #[allow(clippy::new_without_default)]
|
4683 4680 | #[allow(clippy::too_many_arguments)]
|
4684 4681 | #[::pyo3::pymethods]
|
4685 - | impl HttpPayloadWithStructureOutput {
|
4682 + | impl MalformedTimestampQueryHttpDateOutput {
|
4686 4683 | #[new]
|
4687 - | pub fn new(nested: ::std::option::Option<crate::model::NestedPayload>) -> Self {
|
4688 - | Self { nested }
|
4684 + | pub fn new() -> Self {
|
4685 + | Self {}
|
4689 4686 | }
|
4690 4687 | fn __repr__(&self) -> String {
|
4691 4688 | format!("{self:?}")
|
4692 4689 | }
|
4693 4690 | fn __str__(&self) -> String {
|
4694 4691 | format!("{self:?}")
|
4695 4692 | }
|
4696 4693 | }
|
4697 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpPayloadWithStructureOutput> {
|
4694 + | impl<'source> ::pyo3::FromPyObject<'source>
|
4695 + | for std::boxed::Box<MalformedTimestampQueryHttpDateOutput>
|
4696 + | {
|
4698 4697 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4699 - | ob.extract::<HttpPayloadWithStructureOutput>().map(Box::new)
|
4698 + | ob.extract::<MalformedTimestampQueryHttpDateOutput>()
|
4699 + | .map(Box::new)
|
4700 4700 | }
|
4701 4701 | }
|
4702 4702 |
|
4703 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpPayloadWithStructureOutput> {
|
4703 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampQueryHttpDateOutput> {
|
4704 4704 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4705 4705 | (*self).into_py(py)
|
4706 4706 | }
|
4707 4707 | }
|
4708 - | impl HttpPayloadWithStructureOutput {
|
4709 - | /// Creates a new builder-style object to manufacture [`HttpPayloadWithStructureOutput`](crate::output::HttpPayloadWithStructureOutput).
|
4710 - | pub fn builder() -> crate::output::http_payload_with_structure_output::Builder {
|
4711 - | crate::output::http_payload_with_structure_output::Builder::default()
|
4708 + | impl MalformedTimestampQueryHttpDateOutput {
|
4709 + | /// Creates a new builder-style object to manufacture [`MalformedTimestampQueryHttpDateOutput`](crate::output::MalformedTimestampQueryHttpDateOutput).
|
4710 + | pub fn builder() -> crate::output::malformed_timestamp_query_http_date_output::Builder {
|
4711 + | crate::output::malformed_timestamp_query_http_date_output::Builder::default()
|
4712 4712 | }
|
4713 4713 | }
|
4714 4714 |
|
4715 4715 | #[::pyo3::pyclass]
|
4716 - | /// :param foo typing.Optional\[str\]:
|
4717 - | /// :param blob typing.Optional\[rest_json.types.Blob\]:
|
4718 4716 | /// :rtype None:
|
4719 4717 | #[allow(missing_docs)] // documentation missing in model
|
4720 4718 | #[derive(
|
4721 4719 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4722 4720 | )]
|
4723 - | pub struct HttpPayloadTraitsWithMediaTypeOutput {
|
4724 - | #[pyo3(get, set)]
|
4725 - | /// :type typing.Optional\[str\]:
|
4726 - | #[allow(missing_docs)] // documentation missing in model
|
4727 - | pub foo: ::std::option::Option<::std::string::String>,
|
4728 - | #[pyo3(get, set)]
|
4729 - | /// :type typing.Optional\[rest_json.types.Blob\]:
|
4730 - | #[allow(missing_docs)] // documentation missing in model
|
4731 - | pub blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
4732 - | }
|
4733 - | impl HttpPayloadTraitsWithMediaTypeOutput {
|
4734 - | #[allow(missing_docs)] // documentation missing in model
|
4735 - | pub fn foo(&self) -> ::std::option::Option<&str> {
|
4736 - | self.foo.as_deref()
|
4737 - | }
|
4738 - | #[allow(missing_docs)] // documentation missing in model
|
4739 - | pub fn blob(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
4740 - | self.blob.as_ref()
|
4741 - | }
|
4742 - | }
|
4721 + | pub struct MalformedTimestampQueryEpochOutput {}
|
4743 4722 | #[allow(clippy::new_without_default)]
|
4744 4723 | #[allow(clippy::too_many_arguments)]
|
4745 4724 | #[::pyo3::pymethods]
|
4746 - | impl HttpPayloadTraitsWithMediaTypeOutput {
|
4725 + | impl MalformedTimestampQueryEpochOutput {
|
4747 4726 | #[new]
|
4748 - | pub fn new(
|
4749 - | foo: ::std::option::Option<::std::string::String>,
|
4750 - | blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
4751 - | ) -> Self {
|
4752 - | Self { foo, blob }
|
4727 + | pub fn new() -> Self {
|
4728 + | Self {}
|
4753 4729 | }
|
4754 4730 | fn __repr__(&self) -> String {
|
4755 4731 | format!("{self:?}")
|
4756 4732 | }
|
4757 4733 | fn __str__(&self) -> String {
|
4758 4734 | format!("{self:?}")
|
4759 4735 | }
|
4760 4736 | }
|
4761 4737 | impl<'source> ::pyo3::FromPyObject<'source>
|
4762 - | for std::boxed::Box<HttpPayloadTraitsWithMediaTypeOutput>
|
4738 + | for std::boxed::Box<MalformedTimestampQueryEpochOutput>
|
4763 4739 | {
|
4764 4740 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4765 - | ob.extract::<HttpPayloadTraitsWithMediaTypeOutput>()
|
4741 + | ob.extract::<MalformedTimestampQueryEpochOutput>()
|
4766 4742 | .map(Box::new)
|
4767 4743 | }
|
4768 4744 | }
|
4769 4745 |
|
4770 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpPayloadTraitsWithMediaTypeOutput> {
|
4746 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampQueryEpochOutput> {
|
4771 4747 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4772 4748 | (*self).into_py(py)
|
4773 4749 | }
|
4774 4750 | }
|
4775 - | impl HttpPayloadTraitsWithMediaTypeOutput {
|
4776 - | /// Creates a new builder-style object to manufacture [`HttpPayloadTraitsWithMediaTypeOutput`](crate::output::HttpPayloadTraitsWithMediaTypeOutput).
|
4777 - | pub fn builder() -> crate::output::http_payload_traits_with_media_type_output::Builder {
|
4778 - | crate::output::http_payload_traits_with_media_type_output::Builder::default()
|
4751 + | impl MalformedTimestampQueryEpochOutput {
|
4752 + | /// Creates a new builder-style object to manufacture [`MalformedTimestampQueryEpochOutput`](crate::output::MalformedTimestampQueryEpochOutput).
|
4753 + | pub fn builder() -> crate::output::malformed_timestamp_query_epoch_output::Builder {
|
4754 + | crate::output::malformed_timestamp_query_epoch_output::Builder::default()
|
4779 4755 | }
|
4780 4756 | }
|
4781 4757 |
|
4782 4758 | #[::pyo3::pyclass]
|
4783 - | /// :param foo typing.Optional\[str\]:
|
4784 - | /// :param blob typing.Optional\[rest_json.types.Blob\]:
|
4785 4759 | /// :rtype None:
|
4786 4760 | #[allow(missing_docs)] // documentation missing in model
|
4787 4761 | #[derive(
|
4788 4762 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4789 4763 | )]
|
4790 - | pub struct HttpPayloadTraitsOutput {
|
4791 - | #[pyo3(get, set)]
|
4792 - | /// :type typing.Optional\[str\]:
|
4793 - | #[allow(missing_docs)] // documentation missing in model
|
4794 - | pub foo: ::std::option::Option<::std::string::String>,
|
4795 - | #[pyo3(get, set)]
|
4796 - | /// :type typing.Optional\[rest_json.types.Blob\]:
|
4797 - | #[allow(missing_docs)] // documentation missing in model
|
4798 - | pub blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
4799 - | }
|
4800 - | impl HttpPayloadTraitsOutput {
|
4801 - | #[allow(missing_docs)] // documentation missing in model
|
4802 - | pub fn foo(&self) -> ::std::option::Option<&str> {
|
4803 - | self.foo.as_deref()
|
4804 - | }
|
4805 - | #[allow(missing_docs)] // documentation missing in model
|
4806 - | pub fn blob(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
4807 - | self.blob.as_ref()
|
4808 - | }
|
4809 - | }
|
4764 + | pub struct MalformedTimestampHeaderDefaultOutput {}
|
4810 4765 | #[allow(clippy::new_without_default)]
|
4811 4766 | #[allow(clippy::too_many_arguments)]
|
4812 4767 | #[::pyo3::pymethods]
|
4813 - | impl HttpPayloadTraitsOutput {
|
4768 + | impl MalformedTimestampHeaderDefaultOutput {
|
4814 4769 | #[new]
|
4815 - | pub fn new(
|
4816 - | foo: ::std::option::Option<::std::string::String>,
|
4817 - | blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
4818 - | ) -> Self {
|
4819 - | Self { foo, blob }
|
4770 + | pub fn new() -> Self {
|
4771 + | Self {}
|
4820 4772 | }
|
4821 4773 | fn __repr__(&self) -> String {
|
4822 4774 | format!("{self:?}")
|
4823 4775 | }
|
4824 4776 | fn __str__(&self) -> String {
|
4825 4777 | format!("{self:?}")
|
4826 4778 | }
|
4827 4779 | }
|
4828 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpPayloadTraitsOutput> {
|
4780 + | impl<'source> ::pyo3::FromPyObject<'source>
|
4781 + | for std::boxed::Box<MalformedTimestampHeaderDefaultOutput>
|
4782 + | {
|
4829 4783 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4830 - | ob.extract::<HttpPayloadTraitsOutput>().map(Box::new)
|
4784 + | ob.extract::<MalformedTimestampHeaderDefaultOutput>()
|
4785 + | .map(Box::new)
|
4831 4786 | }
|
4832 4787 | }
|
4833 4788 |
|
4834 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpPayloadTraitsOutput> {
|
4789 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampHeaderDefaultOutput> {
|
4835 4790 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4836 4791 | (*self).into_py(py)
|
4837 4792 | }
|
4838 4793 | }
|
4839 - | impl HttpPayloadTraitsOutput {
|
4840 - | /// Creates a new builder-style object to manufacture [`HttpPayloadTraitsOutput`](crate::output::HttpPayloadTraitsOutput).
|
4841 - | pub fn builder() -> crate::output::http_payload_traits_output::Builder {
|
4842 - | crate::output::http_payload_traits_output::Builder::default()
|
4794 + | impl MalformedTimestampHeaderDefaultOutput {
|
4795 + | /// Creates a new builder-style object to manufacture [`MalformedTimestampHeaderDefaultOutput`](crate::output::MalformedTimestampHeaderDefaultOutput).
|
4796 + | pub fn builder() -> crate::output::malformed_timestamp_header_default_output::Builder {
|
4797 + | crate::output::malformed_timestamp_header_default_output::Builder::default()
|
4843 4798 | }
|
4844 4799 | }
|
4845 4800 |
|
4846 4801 | #[::pyo3::pyclass]
|
4847 - | /// :param prefix_headers typing.Optional\[typing.Dict\[str, str\]\]:
|
4848 - | /// :param specific_header typing.Optional\[str\]:
|
4849 4802 | /// :rtype None:
|
4850 4803 | #[allow(missing_docs)] // documentation missing in model
|
4851 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
4852 - | pub struct HttpEmptyPrefixHeadersOutput {
|
4853 - | #[pyo3(get, set)]
|
4854 - | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
4855 - | #[allow(missing_docs)] // documentation missing in model
|
4856 - | pub prefix_headers: ::std::option::Option<
|
4857 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
4858 - | >,
|
4859 - | #[pyo3(get, set)]
|
4860 - | /// :type typing.Optional\[str\]:
|
4861 - | #[allow(missing_docs)] // documentation missing in model
|
4862 - | pub specific_header: ::std::option::Option<::std::string::String>,
|
4863 - | }
|
4864 - | impl HttpEmptyPrefixHeadersOutput {
|
4865 - | #[allow(missing_docs)] // documentation missing in model
|
4866 - | pub fn prefix_headers(
|
4867 - | &self,
|
4868 - | ) -> ::std::option::Option<
|
4869 - | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
4870 - | > {
|
4871 - | self.prefix_headers.as_ref()
|
4872 - | }
|
4873 - | #[allow(missing_docs)] // documentation missing in model
|
4874 - | pub fn specific_header(&self) -> ::std::option::Option<&str> {
|
4875 - | self.specific_header.as_deref()
|
4876 - | }
|
4877 - | }
|
4804 + | #[derive(
|
4805 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4806 + | )]
|
4807 + | pub struct MalformedTimestampHeaderDateTimeOutput {}
|
4878 4808 | #[allow(clippy::new_without_default)]
|
4879 4809 | #[allow(clippy::too_many_arguments)]
|
4880 4810 | #[::pyo3::pymethods]
|
4881 - | impl HttpEmptyPrefixHeadersOutput {
|
4811 + | impl MalformedTimestampHeaderDateTimeOutput {
|
4882 4812 | #[new]
|
4883 - | pub fn new(
|
4884 - | prefix_headers: ::std::option::Option<
|
4885 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
4886 - | >,
|
4887 - | specific_header: ::std::option::Option<::std::string::String>,
|
4888 - | ) -> Self {
|
4889 - | Self {
|
4890 - | prefix_headers,
|
4891 - | specific_header,
|
4892 - | }
|
4813 + | pub fn new() -> Self {
|
4814 + | Self {}
|
4893 4815 | }
|
4894 4816 | fn __repr__(&self) -> String {
|
4895 4817 | format!("{self:?}")
|
4896 4818 | }
|
4897 4819 | fn __str__(&self) -> String {
|
4898 4820 | format!("{self:?}")
|
4899 4821 | }
|
4900 4822 | }
|
4901 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpEmptyPrefixHeadersOutput> {
|
4823 + | impl<'source> ::pyo3::FromPyObject<'source>
|
4824 + | for std::boxed::Box<MalformedTimestampHeaderDateTimeOutput>
|
4825 + | {
|
4902 4826 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4903 - | ob.extract::<HttpEmptyPrefixHeadersOutput>().map(Box::new)
|
4827 + | ob.extract::<MalformedTimestampHeaderDateTimeOutput>()
|
4828 + | .map(Box::new)
|
4904 4829 | }
|
4905 4830 | }
|
4906 4831 |
|
4907 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpEmptyPrefixHeadersOutput> {
|
4832 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampHeaderDateTimeOutput> {
|
4908 4833 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4909 4834 | (*self).into_py(py)
|
4910 4835 | }
|
4911 4836 | }
|
4912 - | impl HttpEmptyPrefixHeadersOutput {
|
4913 - | /// Creates a new builder-style object to manufacture [`HttpEmptyPrefixHeadersOutput`](crate::output::HttpEmptyPrefixHeadersOutput).
|
4914 - | pub fn builder() -> crate::output::http_empty_prefix_headers_output::Builder {
|
4915 - | crate::output::http_empty_prefix_headers_output::Builder::default()
|
4837 + | impl MalformedTimestampHeaderDateTimeOutput {
|
4838 + | /// Creates a new builder-style object to manufacture [`MalformedTimestampHeaderDateTimeOutput`](crate::output::MalformedTimestampHeaderDateTimeOutput).
|
4839 + | pub fn builder() -> crate::output::malformed_timestamp_header_date_time_output::Builder {
|
4840 + | crate::output::malformed_timestamp_header_date_time_output::Builder::default()
|
4916 4841 | }
|
4917 4842 | }
|
4918 4843 |
|
4919 4844 | #[::pyo3::pyclass]
|
4920 - | /// :param prefix_headers typing.Optional\[typing.Dict\[str, str\]\]:
|
4921 4845 | /// :rtype None:
|
4922 4846 | #[allow(missing_docs)] // documentation missing in model
|
4923 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
4924 - | pub struct HttpPrefixHeadersInResponseOutput {
|
4925 - | #[pyo3(get, set)]
|
4926 - | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
4927 - | #[allow(missing_docs)] // documentation missing in model
|
4928 - | pub prefix_headers: ::std::option::Option<
|
4929 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
4930 - | >,
|
4931 - | }
|
4932 - | impl HttpPrefixHeadersInResponseOutput {
|
4933 - | #[allow(missing_docs)] // documentation missing in model
|
4934 - | pub fn prefix_headers(
|
4935 - | &self,
|
4936 - | ) -> ::std::option::Option<
|
4937 - | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
4938 - | > {
|
4939 - | self.prefix_headers.as_ref()
|
4940 - | }
|
4941 - | }
|
4847 + | #[derive(
|
4848 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4849 + | )]
|
4850 + | pub struct MalformedTimestampHeaderEpochOutput {}
|
4942 4851 | #[allow(clippy::new_without_default)]
|
4943 4852 | #[allow(clippy::too_many_arguments)]
|
4944 4853 | #[::pyo3::pymethods]
|
4945 - | impl HttpPrefixHeadersInResponseOutput {
|
4854 + | impl MalformedTimestampHeaderEpochOutput {
|
4946 4855 | #[new]
|
4947 - | pub fn new(
|
4948 - | prefix_headers: ::std::option::Option<
|
4949 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
4950 - | >,
|
4951 - | ) -> Self {
|
4952 - | Self { prefix_headers }
|
4856 + | pub fn new() -> Self {
|
4857 + | Self {}
|
4953 4858 | }
|
4954 4859 | fn __repr__(&self) -> String {
|
4955 4860 | format!("{self:?}")
|
4956 4861 | }
|
4957 4862 | fn __str__(&self) -> String {
|
4958 4863 | format!("{self:?}")
|
4959 4864 | }
|
4960 4865 | }
|
4961 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpPrefixHeadersInResponseOutput> {
|
4866 + | impl<'source> ::pyo3::FromPyObject<'source>
|
4867 + | for std::boxed::Box<MalformedTimestampHeaderEpochOutput>
|
4868 + | {
|
4962 4869 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
4963 - | ob.extract::<HttpPrefixHeadersInResponseOutput>()
|
4870 + | ob.extract::<MalformedTimestampHeaderEpochOutput>()
|
4964 4871 | .map(Box::new)
|
4965 4872 | }
|
4966 4873 | }
|
4967 4874 |
|
4968 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpPrefixHeadersInResponseOutput> {
|
4875 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampHeaderEpochOutput> {
|
4969 4876 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
4970 4877 | (*self).into_py(py)
|
4971 4878 | }
|
4972 4879 | }
|
4973 - | impl HttpPrefixHeadersInResponseOutput {
|
4974 - | /// Creates a new builder-style object to manufacture [`HttpPrefixHeadersInResponseOutput`](crate::output::HttpPrefixHeadersInResponseOutput).
|
4975 - | pub fn builder() -> crate::output::http_prefix_headers_in_response_output::Builder {
|
4976 - | crate::output::http_prefix_headers_in_response_output::Builder::default()
|
4880 + | impl MalformedTimestampHeaderEpochOutput {
|
4881 + | /// Creates a new builder-style object to manufacture [`MalformedTimestampHeaderEpochOutput`](crate::output::MalformedTimestampHeaderEpochOutput).
|
4882 + | pub fn builder() -> crate::output::malformed_timestamp_header_epoch_output::Builder {
|
4883 + | crate::output::malformed_timestamp_header_epoch_output::Builder::default()
|
4977 4884 | }
|
4978 4885 | }
|
4979 4886 |
|
4980 4887 | #[::pyo3::pyclass]
|
4981 - | /// :param foo typing.Optional\[str\]:
|
4982 - | /// :param foo_map typing.Optional\[typing.Dict\[str, str\]\]:
|
4983 4888 | /// :rtype None:
|
4984 4889 | #[allow(missing_docs)] // documentation missing in model
|
4985 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
4986 - | pub struct HttpPrefixHeadersOutput {
|
4987 - | #[pyo3(get, set)]
|
4988 - | /// :type typing.Optional\[str\]:
|
4989 - | #[allow(missing_docs)] // documentation missing in model
|
4990 - | pub foo: ::std::option::Option<::std::string::String>,
|
4991 - | #[pyo3(get, set)]
|
4992 - | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
4993 - | #[allow(missing_docs)] // documentation missing in model
|
4994 - | pub foo_map: ::std::option::Option<
|
4995 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
4996 - | >,
|
4997 - | }
|
4998 - | impl HttpPrefixHeadersOutput {
|
4999 - | #[allow(missing_docs)] // documentation missing in model
|
5000 - | pub fn foo(&self) -> ::std::option::Option<&str> {
|
5001 - | self.foo.as_deref()
|
5002 - | }
|
5003 - | #[allow(missing_docs)] // documentation missing in model
|
5004 - | pub fn foo_map(
|
5005 - | &self,
|
5006 - | ) -> ::std::option::Option<
|
5007 - | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
5008 - | > {
|
5009 - | self.foo_map.as_ref()
|
5010 - | }
|
5011 - | }
|
4890 + | #[derive(
|
4891 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
4892 + | )]
|
4893 + | pub struct MalformedTimestampBodyDefaultOutput {}
|
5012 4894 | #[allow(clippy::new_without_default)]
|
5013 4895 | #[allow(clippy::too_many_arguments)]
|
5014 4896 | #[::pyo3::pymethods]
|
5015 - | impl HttpPrefixHeadersOutput {
|
4897 + | impl MalformedTimestampBodyDefaultOutput {
|
5016 4898 | #[new]
|
5017 - | pub fn new(
|
5018 - | foo: ::std::option::Option<::std::string::String>,
|
5019 - | foo_map: ::std::option::Option<
|
5020 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
5021 - | >,
|
5022 - | ) -> Self {
|
5023 - | Self { foo, foo_map }
|
4899 + | pub fn new() -> Self {
|
4900 + | Self {}
|
5024 4901 | }
|
5025 4902 | fn __repr__(&self) -> String {
|
5026 4903 | format!("{self:?}")
|
5027 4904 | }
|
5028 4905 | fn __str__(&self) -> String {
|
5029 4906 | format!("{self:?}")
|
5030 4907 | }
|
5031 4908 | }
|
5032 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpPrefixHeadersOutput> {
|
4909 + | impl<'source> ::pyo3::FromPyObject<'source>
|
4910 + | for std::boxed::Box<MalformedTimestampBodyDefaultOutput>
|
4911 + | {
|
5033 4912 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5034 - | ob.extract::<HttpPrefixHeadersOutput>().map(Box::new)
|
4913 + | ob.extract::<MalformedTimestampBodyDefaultOutput>()
|
4914 + | .map(Box::new)
|
5035 4915 | }
|
5036 4916 | }
|
5037 4917 |
|
5038 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpPrefixHeadersOutput> {
|
4918 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampBodyDefaultOutput> {
|
5039 4919 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5040 4920 | (*self).into_py(py)
|
5041 4921 | }
|
5042 4922 | }
|
5043 - | impl HttpPrefixHeadersOutput {
|
5044 - | /// Creates a new builder-style object to manufacture [`HttpPrefixHeadersOutput`](crate::output::HttpPrefixHeadersOutput).
|
5045 - | pub fn builder() -> crate::output::http_prefix_headers_output::Builder {
|
5046 - | crate::output::http_prefix_headers_output::Builder::default()
|
4923 + | impl MalformedTimestampBodyDefaultOutput {
|
4924 + | /// Creates a new builder-style object to manufacture [`MalformedTimestampBodyDefaultOutput`](crate::output::MalformedTimestampBodyDefaultOutput).
|
4925 + | pub fn builder() -> crate::output::malformed_timestamp_body_default_output::Builder {
|
4926 + | crate::output::malformed_timestamp_body_default_output::Builder::default()
|
5047 4927 | }
|
5048 4928 | }
|
5049 4929 |
|
5050 4930 | #[::pyo3::pyclass]
|
5051 4931 | /// :rtype None:
|
5052 4932 | #[allow(missing_docs)] // documentation missing in model
|
5053 4933 | #[derive(
|
5054 4934 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5055 4935 | )]
|
5056 - | pub struct QueryParamsAsStringListMapOutput {}
|
4936 + | pub struct MalformedTimestampBodyDateTimeOutput {}
|
5057 4937 | #[allow(clippy::new_without_default)]
|
5058 4938 | #[allow(clippy::too_many_arguments)]
|
5059 4939 | #[::pyo3::pymethods]
|
5060 - | impl QueryParamsAsStringListMapOutput {
|
4940 + | impl MalformedTimestampBodyDateTimeOutput {
|
5061 4941 | #[new]
|
5062 4942 | pub fn new() -> Self {
|
5063 4943 | Self {}
|
5064 4944 | }
|
5065 4945 | fn __repr__(&self) -> String {
|
5066 4946 | format!("{self:?}")
|
5067 4947 | }
|
5068 4948 | fn __str__(&self) -> String {
|
5069 4949 | format!("{self:?}")
|
5070 4950 | }
|
5071 4951 | }
|
5072 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<QueryParamsAsStringListMapOutput> {
|
4952 + | impl<'source> ::pyo3::FromPyObject<'source>
|
4953 + | for std::boxed::Box<MalformedTimestampBodyDateTimeOutput>
|
4954 + | {
|
5073 4955 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5074 - | ob.extract::<QueryParamsAsStringListMapOutput>()
|
4956 + | ob.extract::<MalformedTimestampBodyDateTimeOutput>()
|
5075 4957 | .map(Box::new)
|
5076 4958 | }
|
5077 4959 | }
|
5078 4960 |
|
5079 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<QueryParamsAsStringListMapOutput> {
|
4961 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampBodyDateTimeOutput> {
|
5080 4962 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5081 4963 | (*self).into_py(py)
|
5082 4964 | }
|
5083 4965 | }
|
5084 - | impl QueryParamsAsStringListMapOutput {
|
5085 - | /// Creates a new builder-style object to manufacture [`QueryParamsAsStringListMapOutput`](crate::output::QueryParamsAsStringListMapOutput).
|
5086 - | pub fn builder() -> crate::output::query_params_as_string_list_map_output::Builder {
|
5087 - | crate::output::query_params_as_string_list_map_output::Builder::default()
|
4966 + | impl MalformedTimestampBodyDateTimeOutput {
|
4967 + | /// Creates a new builder-style object to manufacture [`MalformedTimestampBodyDateTimeOutput`](crate::output::MalformedTimestampBodyDateTimeOutput).
|
4968 + | pub fn builder() -> crate::output::malformed_timestamp_body_date_time_output::Builder {
|
4969 + | crate::output::malformed_timestamp_body_date_time_output::Builder::default()
|
5088 4970 | }
|
5089 4971 | }
|
5090 4972 |
|
5091 4973 | #[::pyo3::pyclass]
|
5092 4974 | /// :rtype None:
|
5093 4975 | #[allow(missing_docs)] // documentation missing in model
|
5094 4976 | #[derive(
|
5095 4977 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5096 4978 | )]
|
5097 - | pub struct QueryPrecedenceOutput {}
|
4979 + | pub struct MalformedTimestampBodyHttpDateOutput {}
|
5098 4980 | #[allow(clippy::new_without_default)]
|
5099 4981 | #[allow(clippy::too_many_arguments)]
|
5100 4982 | #[::pyo3::pymethods]
|
5101 - | impl QueryPrecedenceOutput {
|
4983 + | impl MalformedTimestampBodyHttpDateOutput {
|
5102 4984 | #[new]
|
5103 4985 | pub fn new() -> Self {
|
5104 4986 | Self {}
|
5105 4987 | }
|
5106 4988 | fn __repr__(&self) -> String {
|
5107 4989 | format!("{self:?}")
|
5108 4990 | }
|
5109 4991 | fn __str__(&self) -> String {
|
5110 4992 | format!("{self:?}")
|
5111 4993 | }
|
5112 4994 | }
|
5113 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<QueryPrecedenceOutput> {
|
4995 + | impl<'source> ::pyo3::FromPyObject<'source>
|
4996 + | for std::boxed::Box<MalformedTimestampBodyHttpDateOutput>
|
4997 + | {
|
5114 4998 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5115 - | ob.extract::<QueryPrecedenceOutput>().map(Box::new)
|
4999 + | ob.extract::<MalformedTimestampBodyHttpDateOutput>()
|
5000 + | .map(Box::new)
|
5116 5001 | }
|
5117 5002 | }
|
5118 5003 |
|
5119 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<QueryPrecedenceOutput> {
|
5004 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedTimestampBodyHttpDateOutput> {
|
5120 5005 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5121 5006 | (*self).into_py(py)
|
5122 5007 | }
|
5123 5008 | }
|
5124 - | impl QueryPrecedenceOutput {
|
5125 - | /// Creates a new builder-style object to manufacture [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
5126 - | pub fn builder() -> crate::output::query_precedence_output::Builder {
|
5127 - | crate::output::query_precedence_output::Builder::default()
|
5009 + | impl MalformedTimestampBodyHttpDateOutput {
|
5010 + | /// Creates a new builder-style object to manufacture [`MalformedTimestampBodyHttpDateOutput`](crate::output::MalformedTimestampBodyHttpDateOutput).
|
5011 + | pub fn builder() -> crate::output::malformed_timestamp_body_http_date_output::Builder {
|
5012 + | crate::output::malformed_timestamp_body_http_date_output::Builder::default()
|
5128 5013 | }
|
5129 5014 | }
|
5130 5015 |
|
5131 5016 | #[::pyo3::pyclass]
|
5132 5017 | /// :rtype None:
|
5133 5018 | #[allow(missing_docs)] // documentation missing in model
|
5134 5019 | #[derive(
|
5135 5020 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5136 5021 | )]
|
5137 - | pub struct QueryIdempotencyTokenAutoFillOutput {}
|
5022 + | pub struct MalformedContentTypeWithoutBodyOutput {}
|
5138 5023 | #[allow(clippy::new_without_default)]
|
5139 5024 | #[allow(clippy::too_many_arguments)]
|
5140 5025 | #[::pyo3::pymethods]
|
5141 - | impl QueryIdempotencyTokenAutoFillOutput {
|
5026 + | impl MalformedContentTypeWithoutBodyOutput {
|
5142 5027 | #[new]
|
5143 5028 | pub fn new() -> Self {
|
5144 5029 | Self {}
|
5145 5030 | }
|
5146 5031 | fn __repr__(&self) -> String {
|
5147 5032 | format!("{self:?}")
|
5148 5033 | }
|
5149 5034 | fn __str__(&self) -> String {
|
5150 5035 | format!("{self:?}")
|
5151 5036 | }
|
5152 5037 | }
|
5153 5038 | impl<'source> ::pyo3::FromPyObject<'source>
|
5154 - | for std::boxed::Box<QueryIdempotencyTokenAutoFillOutput>
|
5039 + | for std::boxed::Box<MalformedContentTypeWithoutBodyOutput>
|
5155 5040 | {
|
5156 5041 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5157 - | ob.extract::<QueryIdempotencyTokenAutoFillOutput>()
|
5042 + | ob.extract::<MalformedContentTypeWithoutBodyOutput>()
|
5158 5043 | .map(Box::new)
|
5159 5044 | }
|
5160 5045 | }
|
5161 5046 |
|
5162 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<QueryIdempotencyTokenAutoFillOutput> {
|
5047 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedContentTypeWithoutBodyOutput> {
|
5163 5048 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5164 5049 | (*self).into_py(py)
|
5165 5050 | }
|
5166 5051 | }
|
5167 - | impl QueryIdempotencyTokenAutoFillOutput {
|
5168 - | /// Creates a new builder-style object to manufacture [`QueryIdempotencyTokenAutoFillOutput`](crate::output::QueryIdempotencyTokenAutoFillOutput).
|
5169 - | pub fn builder() -> crate::output::query_idempotency_token_auto_fill_output::Builder {
|
5170 - | crate::output::query_idempotency_token_auto_fill_output::Builder::default()
|
5052 + | impl MalformedContentTypeWithoutBodyOutput {
|
5053 + | /// Creates a new builder-style object to manufacture [`MalformedContentTypeWithoutBodyOutput`](crate::output::MalformedContentTypeWithoutBodyOutput).
|
5054 + | pub fn builder() -> crate::output::malformed_content_type_without_body_output::Builder {
|
5055 + | crate::output::malformed_content_type_without_body_output::Builder::default()
|
5171 5056 | }
|
5172 5057 | }
|
5173 5058 |
|
5174 5059 | #[::pyo3::pyclass]
|
5175 5060 | /// :rtype None:
|
5176 5061 | #[allow(missing_docs)] // documentation missing in model
|
5177 5062 | #[derive(
|
5178 5063 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5179 5064 | )]
|
5180 - | pub struct OmitsSerializingEmptyListsOutput {}
|
5065 + | pub struct MalformedContentTypeWithoutBodyEmptyInputOutput {}
|
5181 5066 | #[allow(clippy::new_without_default)]
|
5182 5067 | #[allow(clippy::too_many_arguments)]
|
5183 5068 | #[::pyo3::pymethods]
|
5184 - | impl OmitsSerializingEmptyListsOutput {
|
5069 + | impl MalformedContentTypeWithoutBodyEmptyInputOutput {
|
5185 5070 | #[new]
|
5186 5071 | pub fn new() -> Self {
|
5187 5072 | Self {}
|
5188 5073 | }
|
5189 5074 | fn __repr__(&self) -> String {
|
5190 5075 | format!("{self:?}")
|
5191 5076 | }
|
5192 5077 | fn __str__(&self) -> String {
|
5193 5078 | format!("{self:?}")
|
5194 5079 | }
|
5195 5080 | }
|
5196 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<OmitsSerializingEmptyListsOutput> {
|
5081 + | impl<'source> ::pyo3::FromPyObject<'source>
|
5082 + | for std::boxed::Box<MalformedContentTypeWithoutBodyEmptyInputOutput>
|
5083 + | {
|
5197 5084 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5198 - | ob.extract::<OmitsSerializingEmptyListsOutput>()
|
5085 + | ob.extract::<MalformedContentTypeWithoutBodyEmptyInputOutput>()
|
5199 5086 | .map(Box::new)
|
5200 5087 | }
|
5201 5088 | }
|
5202 5089 |
|
5203 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OmitsSerializingEmptyListsOutput> {
|
5090 + | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
5091 + | for std::boxed::Box<MalformedContentTypeWithoutBodyEmptyInputOutput>
|
5092 + | {
|
5204 5093 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5205 5094 | (*self).into_py(py)
|
5206 5095 | }
|
5207 5096 | }
|
5208 - | impl OmitsSerializingEmptyListsOutput {
|
5209 - | /// Creates a new builder-style object to manufacture [`OmitsSerializingEmptyListsOutput`](crate::output::OmitsSerializingEmptyListsOutput).
|
5210 - | pub fn builder() -> crate::output::omits_serializing_empty_lists_output::Builder {
|
5211 - | crate::output::omits_serializing_empty_lists_output::Builder::default()
|
5097 + | impl MalformedContentTypeWithoutBodyEmptyInputOutput {
|
5098 + | /// Creates a new builder-style object to manufacture [`MalformedContentTypeWithoutBodyEmptyInputOutput`](crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput).
|
5099 + | pub fn builder(
|
5100 + | ) -> crate::output::malformed_content_type_without_body_empty_input_output::Builder {
|
5101 + | crate::output::malformed_content_type_without_body_empty_input_output::Builder::default()
|
5212 5102 | }
|
5213 5103 | }
|
5214 5104 |
|
5215 5105 | #[::pyo3::pyclass]
|
5216 5106 | /// :rtype None:
|
5217 5107 | #[allow(missing_docs)] // documentation missing in model
|
5218 5108 | #[derive(
|
5219 5109 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5220 5110 | )]
|
5221 - | pub struct OmitsNullSerializesEmptyStringOutput {}
|
5111 + | pub struct MalformedContentTypeWithBodyOutput {}
|
5222 5112 | #[allow(clippy::new_without_default)]
|
5223 5113 | #[allow(clippy::too_many_arguments)]
|
5224 5114 | #[::pyo3::pymethods]
|
5225 - | impl OmitsNullSerializesEmptyStringOutput {
|
5115 + | impl MalformedContentTypeWithBodyOutput {
|
5226 5116 | #[new]
|
5227 5117 | pub fn new() -> Self {
|
5228 5118 | Self {}
|
5229 5119 | }
|
5230 5120 | fn __repr__(&self) -> String {
|
5231 5121 | format!("{self:?}")
|
5232 5122 | }
|
5233 5123 | fn __str__(&self) -> String {
|
5234 5124 | format!("{self:?}")
|
5235 5125 | }
|
5236 5126 | }
|
5237 5127 | impl<'source> ::pyo3::FromPyObject<'source>
|
5238 - | for std::boxed::Box<OmitsNullSerializesEmptyStringOutput>
|
5128 + | for std::boxed::Box<MalformedContentTypeWithBodyOutput>
|
5239 5129 | {
|
5240 5130 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5241 - | ob.extract::<OmitsNullSerializesEmptyStringOutput>()
|
5131 + | ob.extract::<MalformedContentTypeWithBodyOutput>()
|
5242 5132 | .map(Box::new)
|
5243 5133 | }
|
5244 5134 | }
|
5245 5135 |
|
5246 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OmitsNullSerializesEmptyStringOutput> {
|
5136 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedContentTypeWithBodyOutput> {
|
5247 5137 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5248 5138 | (*self).into_py(py)
|
5249 5139 | }
|
5250 5140 | }
|
5251 - | impl OmitsNullSerializesEmptyStringOutput {
|
5252 - | /// Creates a new builder-style object to manufacture [`OmitsNullSerializesEmptyStringOutput`](crate::output::OmitsNullSerializesEmptyStringOutput).
|
5253 - | pub fn builder() -> crate::output::omits_null_serializes_empty_string_output::Builder {
|
5254 - | crate::output::omits_null_serializes_empty_string_output::Builder::default()
|
5141 + | impl MalformedContentTypeWithBodyOutput {
|
5142 + | /// Creates a new builder-style object to manufacture [`MalformedContentTypeWithBodyOutput`](crate::output::MalformedContentTypeWithBodyOutput).
|
5143 + | pub fn builder() -> crate::output::malformed_content_type_with_body_output::Builder {
|
5144 + | crate::output::malformed_content_type_with_body_output::Builder::default()
|
5255 5145 | }
|
5256 5146 | }
|
5257 5147 |
|
5258 5148 | #[::pyo3::pyclass]
|
5259 - | /// :param baz typing.Optional\[str\]:
|
5260 5149 | /// :rtype None:
|
5261 5150 | #[allow(missing_docs)] // documentation missing in model
|
5262 5151 | #[derive(
|
5263 5152 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5264 5153 | )]
|
5265 - | pub struct IgnoreQueryParamsInResponseOutput {
|
5266 - | #[pyo3(get, set)]
|
5267 - | /// :type typing.Optional\[str\]:
|
5268 - | #[allow(missing_docs)] // documentation missing in model
|
5269 - | pub baz: ::std::option::Option<::std::string::String>,
|
5270 - | }
|
5271 - | impl IgnoreQueryParamsInResponseOutput {
|
5272 - | #[allow(missing_docs)] // documentation missing in model
|
5273 - | pub fn baz(&self) -> ::std::option::Option<&str> {
|
5274 - | self.baz.as_deref()
|
5275 - | }
|
5276 - | }
|
5154 + | pub struct MalformedContentTypeWithPayloadOutput {}
|
5277 5155 | #[allow(clippy::new_without_default)]
|
5278 5156 | #[allow(clippy::too_many_arguments)]
|
5279 5157 | #[::pyo3::pymethods]
|
5280 - | impl IgnoreQueryParamsInResponseOutput {
|
5158 + | impl MalformedContentTypeWithPayloadOutput {
|
5281 5159 | #[new]
|
5282 - | pub fn new(baz: ::std::option::Option<::std::string::String>) -> Self {
|
5283 - | Self { baz }
|
5160 + | pub fn new() -> Self {
|
5161 + | Self {}
|
5284 5162 | }
|
5285 5163 | fn __repr__(&self) -> String {
|
5286 5164 | format!("{self:?}")
|
5287 5165 | }
|
5288 5166 | fn __str__(&self) -> String {
|
5289 5167 | format!("{self:?}")
|
5290 5168 | }
|
5291 5169 | }
|
5292 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<IgnoreQueryParamsInResponseOutput> {
|
5170 + | impl<'source> ::pyo3::FromPyObject<'source>
|
5171 + | for std::boxed::Box<MalformedContentTypeWithPayloadOutput>
|
5172 + | {
|
5293 5173 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5294 - | ob.extract::<IgnoreQueryParamsInResponseOutput>()
|
5174 + | ob.extract::<MalformedContentTypeWithPayloadOutput>()
|
5295 5175 | .map(Box::new)
|
5296 5176 | }
|
5297 5177 | }
|
5298 5178 |
|
5299 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<IgnoreQueryParamsInResponseOutput> {
|
5179 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedContentTypeWithPayloadOutput> {
|
5300 5180 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5301 5181 | (*self).into_py(py)
|
5302 5182 | }
|
5303 5183 | }
|
5304 - | impl IgnoreQueryParamsInResponseOutput {
|
5305 - | /// Creates a new builder-style object to manufacture [`IgnoreQueryParamsInResponseOutput`](crate::output::IgnoreQueryParamsInResponseOutput).
|
5306 - | pub fn builder() -> crate::output::ignore_query_params_in_response_output::Builder {
|
5307 - | crate::output::ignore_query_params_in_response_output::Builder::default()
|
5184 + | impl MalformedContentTypeWithPayloadOutput {
|
5185 + | /// Creates a new builder-style object to manufacture [`MalformedContentTypeWithPayloadOutput`](crate::output::MalformedContentTypeWithPayloadOutput).
|
5186 + | pub fn builder() -> crate::output::malformed_content_type_with_payload_output::Builder {
|
5187 + | crate::output::malformed_content_type_with_payload_output::Builder::default()
|
5308 5188 | }
|
5309 5189 | }
|
5310 5190 |
|
5311 5191 | #[::pyo3::pyclass]
|
5312 5192 | /// :rtype None:
|
5313 5193 | #[allow(missing_docs)] // documentation missing in model
|
5314 5194 | #[derive(
|
5315 5195 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5316 5196 | )]
|
5317 - | pub struct ConstantAndVariableQueryStringOutput {}
|
5197 + | pub struct MalformedContentTypeWithGenericStringOutput {}
|
5318 5198 | #[allow(clippy::new_without_default)]
|
5319 5199 | #[allow(clippy::too_many_arguments)]
|
5320 5200 | #[::pyo3::pymethods]
|
5321 - | impl ConstantAndVariableQueryStringOutput {
|
5201 + | impl MalformedContentTypeWithGenericStringOutput {
|
5322 5202 | #[new]
|
5323 5203 | pub fn new() -> Self {
|
5324 5204 | Self {}
|
5325 5205 | }
|
5326 5206 | fn __repr__(&self) -> String {
|
5327 5207 | format!("{self:?}")
|
5328 5208 | }
|
5329 5209 | fn __str__(&self) -> String {
|
5330 5210 | format!("{self:?}")
|
5331 5211 | }
|
5332 5212 | }
|
5333 5213 | impl<'source> ::pyo3::FromPyObject<'source>
|
5334 - | for std::boxed::Box<ConstantAndVariableQueryStringOutput>
|
5214 + | for std::boxed::Box<MalformedContentTypeWithGenericStringOutput>
|
5335 5215 | {
|
5336 5216 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5337 - | ob.extract::<ConstantAndVariableQueryStringOutput>()
|
5217 + | ob.extract::<MalformedContentTypeWithGenericStringOutput>()
|
5338 5218 | .map(Box::new)
|
5339 5219 | }
|
5340 5220 | }
|
5341 5221 |
|
5342 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ConstantAndVariableQueryStringOutput> {
|
5222 + | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
5223 + | for std::boxed::Box<MalformedContentTypeWithGenericStringOutput>
|
5224 + | {
|
5343 5225 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5344 5226 | (*self).into_py(py)
|
5345 5227 | }
|
5346 5228 | }
|
5347 - | impl ConstantAndVariableQueryStringOutput {
|
5348 - | /// Creates a new builder-style object to manufacture [`ConstantAndVariableQueryStringOutput`](crate::output::ConstantAndVariableQueryStringOutput).
|
5349 - | pub fn builder() -> crate::output::constant_and_variable_query_string_output::Builder {
|
5350 - | crate::output::constant_and_variable_query_string_output::Builder::default()
|
5229 + | impl MalformedContentTypeWithGenericStringOutput {
|
5230 + | /// Creates a new builder-style object to manufacture [`MalformedContentTypeWithGenericStringOutput`](crate::output::MalformedContentTypeWithGenericStringOutput).
|
5231 + | pub fn builder() -> crate::output::malformed_content_type_with_generic_string_output::Builder {
|
5232 + | crate::output::malformed_content_type_with_generic_string_output::Builder::default()
|
5351 5233 | }
|
5352 5234 | }
|
5353 5235 |
|
5354 5236 | #[::pyo3::pyclass]
|
5237 + | /// :param hi typing.Optional\[str\]:
|
5355 5238 | /// :rtype None:
|
5356 5239 | #[allow(missing_docs)] // documentation missing in model
|
5357 5240 | #[derive(
|
5358 5241 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5359 5242 | )]
|
5360 - | pub struct ConstantQueryStringOutput {}
|
5243 + | pub struct MalformedAcceptWithBodyOutput {
|
5244 + | #[pyo3(get, set)]
|
5245 + | /// :type typing.Optional\[str\]:
|
5246 + | #[allow(missing_docs)] // documentation missing in model
|
5247 + | pub hi: ::std::option::Option<::std::string::String>,
|
5248 + | }
|
5249 + | impl MalformedAcceptWithBodyOutput {
|
5250 + | #[allow(missing_docs)] // documentation missing in model
|
5251 + | pub fn hi(&self) -> ::std::option::Option<&str> {
|
5252 + | self.hi.as_deref()
|
5253 + | }
|
5254 + | }
|
5361 5255 | #[allow(clippy::new_without_default)]
|
5362 5256 | #[allow(clippy::too_many_arguments)]
|
5363 5257 | #[::pyo3::pymethods]
|
5364 - | impl ConstantQueryStringOutput {
|
5258 + | impl MalformedAcceptWithBodyOutput {
|
5365 5259 | #[new]
|
5366 - | pub fn new() -> Self {
|
5367 - | Self {}
|
5260 + | pub fn new(hi: ::std::option::Option<::std::string::String>) -> Self {
|
5261 + | Self { hi }
|
5368 5262 | }
|
5369 5263 | fn __repr__(&self) -> String {
|
5370 5264 | format!("{self:?}")
|
5371 5265 | }
|
5372 5266 | fn __str__(&self) -> String {
|
5373 5267 | format!("{self:?}")
|
5374 5268 | }
|
5375 5269 | }
|
5376 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ConstantQueryStringOutput> {
|
5270 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedAcceptWithBodyOutput> {
|
5377 5271 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5378 - | ob.extract::<ConstantQueryStringOutput>().map(Box::new)
|
5272 + | ob.extract::<MalformedAcceptWithBodyOutput>().map(Box::new)
|
5379 5273 | }
|
5380 5274 | }
|
5381 5275 |
|
5382 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ConstantQueryStringOutput> {
|
5276 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedAcceptWithBodyOutput> {
|
5383 5277 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5384 5278 | (*self).into_py(py)
|
5385 5279 | }
|
5386 5280 | }
|
5387 - | impl ConstantQueryStringOutput {
|
5388 - | /// Creates a new builder-style object to manufacture [`ConstantQueryStringOutput`](crate::output::ConstantQueryStringOutput).
|
5389 - | pub fn builder() -> crate::output::constant_query_string_output::Builder {
|
5390 - | crate::output::constant_query_string_output::Builder::default()
|
5281 + | impl MalformedAcceptWithBodyOutput {
|
5282 + | /// Creates a new builder-style object to manufacture [`MalformedAcceptWithBodyOutput`](crate::output::MalformedAcceptWithBodyOutput).
|
5283 + | pub fn builder() -> crate::output::malformed_accept_with_body_output::Builder {
|
5284 + | crate::output::malformed_accept_with_body_output::Builder::default()
|
5391 5285 | }
|
5392 5286 | }
|
5393 5287 |
|
5394 5288 | #[::pyo3::pyclass]
|
5289 + | /// :param payload typing.Optional\[rest_json.types.Blob\]:
|
5395 5290 | /// :rtype None:
|
5396 5291 | #[allow(missing_docs)] // documentation missing in model
|
5397 5292 | #[derive(
|
5398 5293 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5399 5294 | )]
|
5400 - | pub struct AllQueryStringTypesOutput {}
|
5295 + | pub struct MalformedAcceptWithPayloadOutput {
|
5296 + | #[pyo3(get, set)]
|
5297 + | /// :type typing.Optional\[rest_json.types.Blob\]:
|
5298 + | #[allow(missing_docs)] // documentation missing in model
|
5299 + | pub payload: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
5300 + | }
|
5301 + | impl MalformedAcceptWithPayloadOutput {
|
5302 + | #[allow(missing_docs)] // documentation missing in model
|
5303 + | pub fn payload(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
5304 + | self.payload.as_ref()
|
5305 + | }
|
5306 + | }
|
5401 5307 | #[allow(clippy::new_without_default)]
|
5402 5308 | #[allow(clippy::too_many_arguments)]
|
5403 5309 | #[::pyo3::pymethods]
|
5404 - | impl AllQueryStringTypesOutput {
|
5310 + | impl MalformedAcceptWithPayloadOutput {
|
5405 5311 | #[new]
|
5406 - | pub fn new() -> Self {
|
5407 - | Self {}
|
5312 + | pub fn new(
|
5313 + | payload: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
5314 + | ) -> Self {
|
5315 + | Self { payload }
|
5408 5316 | }
|
5409 5317 | fn __repr__(&self) -> String {
|
5410 5318 | format!("{self:?}")
|
5411 5319 | }
|
5412 5320 | fn __str__(&self) -> String {
|
5413 5321 | format!("{self:?}")
|
5414 5322 | }
|
5415 5323 | }
|
5416 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<AllQueryStringTypesOutput> {
|
5324 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MalformedAcceptWithPayloadOutput> {
|
5417 5325 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5418 - | ob.extract::<AllQueryStringTypesOutput>().map(Box::new)
|
5326 + | ob.extract::<MalformedAcceptWithPayloadOutput>()
|
5327 + | .map(Box::new)
|
5419 5328 | }
|
5420 5329 | }
|
5421 5330 |
|
5422 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<AllQueryStringTypesOutput> {
|
5331 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedAcceptWithPayloadOutput> {
|
5423 5332 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5424 5333 | (*self).into_py(py)
|
5425 5334 | }
|
5426 5335 | }
|
5427 - | impl AllQueryStringTypesOutput {
|
5428 - | /// Creates a new builder-style object to manufacture [`AllQueryStringTypesOutput`](crate::output::AllQueryStringTypesOutput).
|
5429 - | pub fn builder() -> crate::output::all_query_string_types_output::Builder {
|
5430 - | crate::output::all_query_string_types_output::Builder::default()
|
5336 + | impl MalformedAcceptWithPayloadOutput {
|
5337 + | /// Creates a new builder-style object to manufacture [`MalformedAcceptWithPayloadOutput`](crate::output::MalformedAcceptWithPayloadOutput).
|
5338 + | pub fn builder() -> crate::output::malformed_accept_with_payload_output::Builder {
|
5339 + | crate::output::malformed_accept_with_payload_output::Builder::default()
|
5431 5340 | }
|
5432 5341 | }
|
5433 5342 |
|
5434 5343 | #[::pyo3::pyclass]
|
5344 + | /// :param payload typing.Optional\[str\]:
|
5435 5345 | /// :rtype None:
|
5436 5346 | #[allow(missing_docs)] // documentation missing in model
|
5437 5347 | #[derive(
|
5438 5348 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5439 5349 | )]
|
5440 - | pub struct HttpRequestWithRegexLiteralOutput {}
|
5350 + | pub struct MalformedAcceptWithGenericStringOutput {
|
5351 + | #[pyo3(get, set)]
|
5352 + | /// :type typing.Optional\[str\]:
|
5353 + | #[allow(missing_docs)] // documentation missing in model
|
5354 + | pub payload: ::std::option::Option<::std::string::String>,
|
5355 + | }
|
5356 + | impl MalformedAcceptWithGenericStringOutput {
|
5357 + | #[allow(missing_docs)] // documentation missing in model
|
5358 + | pub fn payload(&self) -> ::std::option::Option<&str> {
|
5359 + | self.payload.as_deref()
|
5360 + | }
|
5361 + | }
|
5441 5362 | #[allow(clippy::new_without_default)]
|
5442 5363 | #[allow(clippy::too_many_arguments)]
|
5443 5364 | #[::pyo3::pymethods]
|
5444 - | impl HttpRequestWithRegexLiteralOutput {
|
5365 + | impl MalformedAcceptWithGenericStringOutput {
|
5445 5366 | #[new]
|
5446 - | pub fn new() -> Self {
|
5447 - | Self {}
|
5367 + | pub fn new(payload: ::std::option::Option<::std::string::String>) -> Self {
|
5368 + | Self { payload }
|
5448 5369 | }
|
5449 5370 | fn __repr__(&self) -> String {
|
5450 5371 | format!("{self:?}")
|
5451 5372 | }
|
5452 5373 | fn __str__(&self) -> String {
|
5453 5374 | format!("{self:?}")
|
5454 5375 | }
|
5455 5376 | }
|
5456 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpRequestWithRegexLiteralOutput> {
|
5377 + | impl<'source> ::pyo3::FromPyObject<'source>
|
5378 + | for std::boxed::Box<MalformedAcceptWithGenericStringOutput>
|
5379 + | {
|
5457 5380 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5458 - | ob.extract::<HttpRequestWithRegexLiteralOutput>()
|
5381 + | ob.extract::<MalformedAcceptWithGenericStringOutput>()
|
5459 5382 | .map(Box::new)
|
5460 5383 | }
|
5461 5384 | }
|
5462 5385 |
|
5463 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpRequestWithRegexLiteralOutput> {
|
5386 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MalformedAcceptWithGenericStringOutput> {
|
5464 5387 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5465 5388 | (*self).into_py(py)
|
5466 5389 | }
|
5467 5390 | }
|
5468 - | impl HttpRequestWithRegexLiteralOutput {
|
5469 - | /// Creates a new builder-style object to manufacture [`HttpRequestWithRegexLiteralOutput`](crate::output::HttpRequestWithRegexLiteralOutput).
|
5470 - | pub fn builder() -> crate::output::http_request_with_regex_literal_output::Builder {
|
5471 - | crate::output::http_request_with_regex_literal_output::Builder::default()
|
5391 + | impl MalformedAcceptWithGenericStringOutput {
|
5392 + | /// Creates a new builder-style object to manufacture [`MalformedAcceptWithGenericStringOutput`](crate::output::MalformedAcceptWithGenericStringOutput).
|
5393 + | pub fn builder() -> crate::output::malformed_accept_with_generic_string_output::Builder {
|
5394 + | crate::output::malformed_accept_with_generic_string_output::Builder::default()
|
5472 5395 | }
|
5473 5396 | }
|
5474 5397 |
|
5475 5398 | #[::pyo3::pyclass]
|
5399 + | /// :param test_id typing.Optional\[str\]:
|
5400 + | /// :param test_config typing.Optional\[rest_json.model.TestConfig\]:
|
5476 5401 | /// :rtype None:
|
5477 5402 | #[allow(missing_docs)] // documentation missing in model
|
5478 5403 | #[derive(
|
5479 5404 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5480 5405 | )]
|
5481 - | pub struct HttpRequestWithFloatLabelsOutput {}
|
5406 + | pub struct TestBodyStructureOutput {
|
5407 + | #[pyo3(get, set)]
|
5408 + | /// :type typing.Optional\[str\]:
|
5409 + | #[allow(missing_docs)] // documentation missing in model
|
5410 + | pub test_id: ::std::option::Option<::std::string::String>,
|
5411 + | #[pyo3(get, set)]
|
5412 + | /// :type typing.Optional\[rest_json.model.TestConfig\]:
|
5413 + | #[allow(missing_docs)] // documentation missing in model
|
5414 + | pub test_config: ::std::option::Option<crate::model::TestConfig>,
|
5415 + | }
|
5416 + | impl TestBodyStructureOutput {
|
5417 + | #[allow(missing_docs)] // documentation missing in model
|
5418 + | pub fn test_id(&self) -> ::std::option::Option<&str> {
|
5419 + | self.test_id.as_deref()
|
5420 + | }
|
5421 + | #[allow(missing_docs)] // documentation missing in model
|
5422 + | pub fn test_config(&self) -> ::std::option::Option<&crate::model::TestConfig> {
|
5423 + | self.test_config.as_ref()
|
5424 + | }
|
5425 + | }
|
5482 5426 | #[allow(clippy::new_without_default)]
|
5483 5427 | #[allow(clippy::too_many_arguments)]
|
5484 5428 | #[::pyo3::pymethods]
|
5485 - | impl HttpRequestWithFloatLabelsOutput {
|
5429 + | impl TestBodyStructureOutput {
|
5486 5430 | #[new]
|
5487 - | pub fn new() -> Self {
|
5488 - | Self {}
|
5431 + | pub fn new(
|
5432 + | test_id: ::std::option::Option<::std::string::String>,
|
5433 + | test_config: ::std::option::Option<crate::model::TestConfig>,
|
5434 + | ) -> Self {
|
5435 + | Self {
|
5436 + | test_id,
|
5437 + | test_config,
|
5438 + | }
|
5489 5439 | }
|
5490 5440 | fn __repr__(&self) -> String {
|
5491 5441 | format!("{self:?}")
|
5492 5442 | }
|
5493 5443 | fn __str__(&self) -> String {
|
5494 5444 | format!("{self:?}")
|
5495 5445 | }
|
5496 5446 | }
|
5497 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpRequestWithFloatLabelsOutput> {
|
5447 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestBodyStructureOutput> {
|
5498 5448 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5499 - | ob.extract::<HttpRequestWithFloatLabelsOutput>()
|
5500 - | .map(Box::new)
|
5449 + | ob.extract::<TestBodyStructureOutput>().map(Box::new)
|
5501 5450 | }
|
5502 5451 | }
|
5503 5452 |
|
5504 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpRequestWithFloatLabelsOutput> {
|
5453 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestBodyStructureOutput> {
|
5505 5454 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5506 5455 | (*self).into_py(py)
|
5507 5456 | }
|
5508 5457 | }
|
5509 - | impl HttpRequestWithFloatLabelsOutput {
|
5510 - | /// Creates a new builder-style object to manufacture [`HttpRequestWithFloatLabelsOutput`](crate::output::HttpRequestWithFloatLabelsOutput).
|
5511 - | pub fn builder() -> crate::output::http_request_with_float_labels_output::Builder {
|
5512 - | crate::output::http_request_with_float_labels_output::Builder::default()
|
5458 + | impl TestBodyStructureOutput {
|
5459 + | /// Creates a new builder-style object to manufacture [`TestBodyStructureOutput`](crate::output::TestBodyStructureOutput).
|
5460 + | pub fn builder() -> crate::output::test_body_structure_output::Builder {
|
5461 + | crate::output::test_body_structure_output::Builder::default()
|
5513 5462 | }
|
5514 5463 | }
|
5515 5464 |
|
5516 5465 | #[::pyo3::pyclass]
|
5466 + | /// :param test_id typing.Optional\[str\]:
|
5467 + | /// :param payload_config typing.Optional\[rest_json.model.PayloadConfig\]:
|
5517 5468 | /// :rtype None:
|
5518 5469 | #[allow(missing_docs)] // documentation missing in model
|
5519 5470 | #[derive(
|
5520 5471 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5521 5472 | )]
|
5522 - | pub struct HttpRequestWithGreedyLabelInPathOutput {}
|
5473 + | pub struct TestPayloadStructureOutput {
|
5474 + | #[pyo3(get, set)]
|
5475 + | /// :type typing.Optional\[str\]:
|
5476 + | #[allow(missing_docs)] // documentation missing in model
|
5477 + | pub test_id: ::std::option::Option<::std::string::String>,
|
5478 + | #[pyo3(get, set)]
|
5479 + | /// :type typing.Optional\[rest_json.model.PayloadConfig\]:
|
5480 + | #[allow(missing_docs)] // documentation missing in model
|
5481 + | pub payload_config: ::std::option::Option<crate::model::PayloadConfig>,
|
5482 + | }
|
5483 + | impl TestPayloadStructureOutput {
|
5484 + | #[allow(missing_docs)] // documentation missing in model
|
5485 + | pub fn test_id(&self) -> ::std::option::Option<&str> {
|
5486 + | self.test_id.as_deref()
|
5487 + | }
|
5488 + | #[allow(missing_docs)] // documentation missing in model
|
5489 + | pub fn payload_config(&self) -> ::std::option::Option<&crate::model::PayloadConfig> {
|
5490 + | self.payload_config.as_ref()
|
5491 + | }
|
5492 + | }
|
5523 5493 | #[allow(clippy::new_without_default)]
|
5524 5494 | #[allow(clippy::too_many_arguments)]
|
5525 5495 | #[::pyo3::pymethods]
|
5526 - | impl HttpRequestWithGreedyLabelInPathOutput {
|
5496 + | impl TestPayloadStructureOutput {
|
5527 5497 | #[new]
|
5528 - | pub fn new() -> Self {
|
5529 - | Self {}
|
5498 + | pub fn new(
|
5499 + | test_id: ::std::option::Option<::std::string::String>,
|
5500 + | payload_config: ::std::option::Option<crate::model::PayloadConfig>,
|
5501 + | ) -> Self {
|
5502 + | Self {
|
5503 + | test_id,
|
5504 + | payload_config,
|
5505 + | }
|
5530 5506 | }
|
5531 5507 | fn __repr__(&self) -> String {
|
5532 5508 | format!("{self:?}")
|
5533 5509 | }
|
5534 5510 | fn __str__(&self) -> String {
|
5535 5511 | format!("{self:?}")
|
5536 5512 | }
|
5537 5513 | }
|
5538 - | impl<'source> ::pyo3::FromPyObject<'source>
|
5539 - | for std::boxed::Box<HttpRequestWithGreedyLabelInPathOutput>
|
5540 - | {
|
5514 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestPayloadStructureOutput> {
|
5541 5515 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5542 - | ob.extract::<HttpRequestWithGreedyLabelInPathOutput>()
|
5543 - | .map(Box::new)
|
5516 + | ob.extract::<TestPayloadStructureOutput>().map(Box::new)
|
5544 5517 | }
|
5545 5518 | }
|
5546 5519 |
|
5547 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpRequestWithGreedyLabelInPathOutput> {
|
5520 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestPayloadStructureOutput> {
|
5548 5521 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5549 5522 | (*self).into_py(py)
|
5550 5523 | }
|
5551 5524 | }
|
5552 - | impl HttpRequestWithGreedyLabelInPathOutput {
|
5553 - | /// Creates a new builder-style object to manufacture [`HttpRequestWithGreedyLabelInPathOutput`](crate::output::HttpRequestWithGreedyLabelInPathOutput).
|
5554 - | pub fn builder() -> crate::output::http_request_with_greedy_label_in_path_output::Builder {
|
5555 - | crate::output::http_request_with_greedy_label_in_path_output::Builder::default()
|
5525 + | impl TestPayloadStructureOutput {
|
5526 + | /// Creates a new builder-style object to manufacture [`TestPayloadStructureOutput`](crate::output::TestPayloadStructureOutput).
|
5527 + | pub fn builder() -> crate::output::test_payload_structure_output::Builder {
|
5528 + | crate::output::test_payload_structure_output::Builder::default()
|
5556 5529 | }
|
5557 5530 | }
|
5558 5531 |
|
5559 5532 | #[::pyo3::pyclass]
|
5533 + | /// :param content_type typing.Optional\[str\]:
|
5534 + | /// :param data typing.Optional\[rest_json.types.Blob\]:
|
5560 5535 | /// :rtype None:
|
5561 5536 | #[allow(missing_docs)] // documentation missing in model
|
5562 5537 | #[derive(
|
5563 5538 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5564 5539 | )]
|
5565 - | pub struct HttpRequestWithLabelsAndTimestampFormatOutput {}
|
5540 + | pub struct TestPayloadBlobOutput {
|
5541 + | #[pyo3(get, set)]
|
5542 + | /// :type typing.Optional\[str\]:
|
5543 + | #[allow(missing_docs)] // documentation missing in model
|
5544 + | pub content_type: ::std::option::Option<::std::string::String>,
|
5545 + | #[pyo3(get, set)]
|
5546 + | /// :type typing.Optional\[rest_json.types.Blob\]:
|
5547 + | #[allow(missing_docs)] // documentation missing in model
|
5548 + | pub data: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
5549 + | }
|
5550 + | impl TestPayloadBlobOutput {
|
5551 + | #[allow(missing_docs)] // documentation missing in model
|
5552 + | pub fn content_type(&self) -> ::std::option::Option<&str> {
|
5553 + | self.content_type.as_deref()
|
5554 + | }
|
5555 + | #[allow(missing_docs)] // documentation missing in model
|
5556 + | pub fn data(&self) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Blob> {
|
5557 + | self.data.as_ref()
|
5558 + | }
|
5559 + | }
|
5566 5560 | #[allow(clippy::new_without_default)]
|
5567 5561 | #[allow(clippy::too_many_arguments)]
|
5568 5562 | #[::pyo3::pymethods]
|
5569 - | impl HttpRequestWithLabelsAndTimestampFormatOutput {
|
5563 + | impl TestPayloadBlobOutput {
|
5570 5564 | #[new]
|
5571 - | pub fn new() -> Self {
|
5572 - | Self {}
|
5565 + | pub fn new(
|
5566 + | content_type: ::std::option::Option<::std::string::String>,
|
5567 + | data: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
5568 + | ) -> Self {
|
5569 + | Self { content_type, data }
|
5573 5570 | }
|
5574 5571 | fn __repr__(&self) -> String {
|
5575 5572 | format!("{self:?}")
|
5576 5573 | }
|
5577 5574 | fn __str__(&self) -> String {
|
5578 5575 | format!("{self:?}")
|
5579 5576 | }
|
5580 5577 | }
|
5581 - | impl<'source> ::pyo3::FromPyObject<'source>
|
5582 - | for std::boxed::Box<HttpRequestWithLabelsAndTimestampFormatOutput>
|
5583 - | {
|
5578 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestPayloadBlobOutput> {
|
5584 5579 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5585 - | ob.extract::<HttpRequestWithLabelsAndTimestampFormatOutput>()
|
5586 - | .map(Box::new)
|
5580 + | ob.extract::<TestPayloadBlobOutput>().map(Box::new)
|
5587 5581 | }
|
5588 5582 | }
|
5589 5583 |
|
5590 - | impl ::pyo3::IntoPy<::pyo3::PyObject>
|
5591 - | for std::boxed::Box<HttpRequestWithLabelsAndTimestampFormatOutput>
|
5592 - | {
|
5584 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestPayloadBlobOutput> {
|
5593 5585 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5594 5586 | (*self).into_py(py)
|
5595 5587 | }
|
5596 5588 | }
|
5597 - | impl HttpRequestWithLabelsAndTimestampFormatOutput {
|
5598 - | /// Creates a new builder-style object to manufacture [`HttpRequestWithLabelsAndTimestampFormatOutput`](crate::output::HttpRequestWithLabelsAndTimestampFormatOutput).
|
5599 - | pub fn builder() -> crate::output::http_request_with_labels_and_timestamp_format_output::Builder
|
5600 - | {
|
5601 - | crate::output::http_request_with_labels_and_timestamp_format_output::Builder::default()
|
5589 + | impl TestPayloadBlobOutput {
|
5590 + | /// Creates a new builder-style object to manufacture [`TestPayloadBlobOutput`](crate::output::TestPayloadBlobOutput).
|
5591 + | pub fn builder() -> crate::output::test_payload_blob_output::Builder {
|
5592 + | crate::output::test_payload_blob_output::Builder::default()
|
5602 5593 | }
|
5603 5594 | }
|
5604 5595 |
|
5605 5596 | #[::pyo3::pyclass]
|
5597 + | /// :param test_id typing.Optional\[str\]:
|
5606 5598 | /// :rtype None:
|
5607 5599 | #[allow(missing_docs)] // documentation missing in model
|
5608 5600 | #[derive(
|
5609 5601 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5610 5602 | )]
|
5611 - | pub struct HttpRequestWithLabelsOutput {}
|
5603 + | pub struct TestGetNoPayloadOutput {
|
5604 + | #[pyo3(get, set)]
|
5605 + | /// :type typing.Optional\[str\]:
|
5606 + | #[allow(missing_docs)] // documentation missing in model
|
5607 + | pub test_id: ::std::option::Option<::std::string::String>,
|
5608 + | }
|
5609 + | impl TestGetNoPayloadOutput {
|
5610 + | #[allow(missing_docs)] // documentation missing in model
|
5611 + | pub fn test_id(&self) -> ::std::option::Option<&str> {
|
5612 + | self.test_id.as_deref()
|
5613 + | }
|
5614 + | }
|
5612 5615 | #[allow(clippy::new_without_default)]
|
5613 5616 | #[allow(clippy::too_many_arguments)]
|
5614 5617 | #[::pyo3::pymethods]
|
5615 - | impl HttpRequestWithLabelsOutput {
|
5618 + | impl TestGetNoPayloadOutput {
|
5616 5619 | #[new]
|
5617 - | pub fn new() -> Self {
|
5618 - | Self {}
|
5620 + | pub fn new(test_id: ::std::option::Option<::std::string::String>) -> Self {
|
5621 + | Self { test_id }
|
5619 5622 | }
|
5620 5623 | fn __repr__(&self) -> String {
|
5621 5624 | format!("{self:?}")
|
5622 5625 | }
|
5623 5626 | fn __str__(&self) -> String {
|
5624 5627 | format!("{self:?}")
|
5625 5628 | }
|
5626 5629 | }
|
5627 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<HttpRequestWithLabelsOutput> {
|
5630 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestGetNoPayloadOutput> {
|
5628 5631 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5629 - | ob.extract::<HttpRequestWithLabelsOutput>().map(Box::new)
|
5632 + | ob.extract::<TestGetNoPayloadOutput>().map(Box::new)
|
5630 5633 | }
|
5631 5634 | }
|
5632 5635 |
|
5633 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<HttpRequestWithLabelsOutput> {
|
5636 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestGetNoPayloadOutput> {
|
5634 5637 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5635 5638 | (*self).into_py(py)
|
5636 5639 | }
|
5637 5640 | }
|
5638 - | impl HttpRequestWithLabelsOutput {
|
5639 - | /// Creates a new builder-style object to manufacture [`HttpRequestWithLabelsOutput`](crate::output::HttpRequestWithLabelsOutput).
|
5640 - | pub fn builder() -> crate::output::http_request_with_labels_output::Builder {
|
5641 - | crate::output::http_request_with_labels_output::Builder::default()
|
5641 + | impl TestGetNoPayloadOutput {
|
5642 + | /// Creates a new builder-style object to manufacture [`TestGetNoPayloadOutput`](crate::output::TestGetNoPayloadOutput).
|
5643 + | pub fn builder() -> crate::output::test_get_no_payload_output::Builder {
|
5644 + | crate::output::test_get_no_payload_output::Builder::default()
|
5642 5645 | }
|
5643 5646 | }
|
5644 5647 |
|
5645 5648 | #[::pyo3::pyclass]
|
5646 - | /// :param json typing.Optional\[str\]:
|
5649 + | /// :param test_id typing.Optional\[str\]:
|
5647 5650 | /// :rtype None:
|
5648 5651 | #[allow(missing_docs)] // documentation missing in model
|
5649 5652 | #[derive(
|
5650 5653 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5651 5654 | )]
|
5652 - | pub struct MediaTypeHeaderOutput {
|
5655 + | pub struct TestPostNoPayloadOutput {
|
5653 5656 | #[pyo3(get, set)]
|
5654 5657 | /// :type typing.Optional\[str\]:
|
5655 5658 | #[allow(missing_docs)] // documentation missing in model
|
5656 - | pub json: ::std::option::Option<::std::string::String>,
|
5659 + | pub test_id: ::std::option::Option<::std::string::String>,
|
5657 5660 | }
|
5658 - | impl MediaTypeHeaderOutput {
|
5661 + | impl TestPostNoPayloadOutput {
|
5659 5662 | #[allow(missing_docs)] // documentation missing in model
|
5660 - | pub fn json(&self) -> ::std::option::Option<&str> {
|
5661 - | self.json.as_deref()
|
5663 + | pub fn test_id(&self) -> ::std::option::Option<&str> {
|
5664 + | self.test_id.as_deref()
|
5662 5665 | }
|
5663 5666 | }
|
5664 5667 | #[allow(clippy::new_without_default)]
|
5665 5668 | #[allow(clippy::too_many_arguments)]
|
5666 5669 | #[::pyo3::pymethods]
|
5667 - | impl MediaTypeHeaderOutput {
|
5670 + | impl TestPostNoPayloadOutput {
|
5668 5671 | #[new]
|
5669 - | pub fn new(json: ::std::option::Option<::std::string::String>) -> Self {
|
5670 - | Self { json }
|
5672 + | pub fn new(test_id: ::std::option::Option<::std::string::String>) -> Self {
|
5673 + | Self { test_id }
|
5671 5674 | }
|
5672 5675 | fn __repr__(&self) -> String {
|
5673 5676 | format!("{self:?}")
|
5674 5677 | }
|
5675 5678 | fn __str__(&self) -> String {
|
5676 5679 | format!("{self:?}")
|
5677 5680 | }
|
5678 5681 | }
|
5679 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MediaTypeHeaderOutput> {
|
5682 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestPostNoPayloadOutput> {
|
5680 5683 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5681 - | ob.extract::<MediaTypeHeaderOutput>().map(Box::new)
|
5684 + | ob.extract::<TestPostNoPayloadOutput>().map(Box::new)
|
5682 5685 | }
|
5683 5686 | }
|
5684 5687 |
|
5685 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MediaTypeHeaderOutput> {
|
5688 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestPostNoPayloadOutput> {
|
5686 5689 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5687 5690 | (*self).into_py(py)
|
5688 5691 | }
|
5689 5692 | }
|
5690 - | impl MediaTypeHeaderOutput {
|
5691 - | /// Creates a new builder-style object to manufacture [`MediaTypeHeaderOutput`](crate::output::MediaTypeHeaderOutput).
|
5692 - | pub fn builder() -> crate::output::media_type_header_output::Builder {
|
5693 - | crate::output::media_type_header_output::Builder::default()
|
5693 + | impl TestPostNoPayloadOutput {
|
5694 + | /// Creates a new builder-style object to manufacture [`TestPostNoPayloadOutput`](crate::output::TestPostNoPayloadOutput).
|
5695 + | pub fn builder() -> crate::output::test_post_no_payload_output::Builder {
|
5696 + | crate::output::test_post_no_payload_output::Builder::default()
|
5694 5697 | }
|
5695 5698 | }
|
5696 5699 |
|
5697 5700 | #[::pyo3::pyclass]
|
5698 - | /// :param member_epoch_seconds typing.Optional\[rest_json.types.DateTime\]:
|
5699 - | /// :param member_http_date typing.Optional\[rest_json.types.DateTime\]:
|
5700 - | /// :param member_date_time typing.Optional\[rest_json.types.DateTime\]:
|
5701 - | /// :param default_format typing.Optional\[rest_json.types.DateTime\]:
|
5702 - | /// :param target_epoch_seconds typing.Optional\[rest_json.types.DateTime\]:
|
5703 - | /// :param target_http_date typing.Optional\[rest_json.types.DateTime\]:
|
5704 - | /// :param target_date_time typing.Optional\[rest_json.types.DateTime\]:
|
5701 + | /// :param test_id typing.Optional\[str\]:
|
5705 5702 | /// :rtype None:
|
5706 5703 | #[allow(missing_docs)] // documentation missing in model
|
5707 5704 | #[derive(
|
5708 5705 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5709 5706 | )]
|
5710 - | pub struct TimestampFormatHeadersOutput {
|
5711 - | #[pyo3(get, set)]
|
5712 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
5713 - | #[allow(missing_docs)] // documentation missing in model
|
5714 - | pub member_epoch_seconds:
|
5715 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5716 - | #[pyo3(get, set)]
|
5717 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
5718 - | #[allow(missing_docs)] // documentation missing in model
|
5719 - | pub member_http_date: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5720 - | #[pyo3(get, set)]
|
5721 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
5722 - | #[allow(missing_docs)] // documentation missing in model
|
5723 - | pub member_date_time: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5724 - | #[pyo3(get, set)]
|
5725 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
5726 - | #[allow(missing_docs)] // documentation missing in model
|
5727 - | pub default_format: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5728 - | #[pyo3(get, set)]
|
5729 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
5730 - | #[allow(missing_docs)] // documentation missing in model
|
5731 - | pub target_epoch_seconds:
|
5732 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5733 - | #[pyo3(get, set)]
|
5734 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
5735 - | #[allow(missing_docs)] // documentation missing in model
|
5736 - | pub target_http_date: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5707 + | pub struct TestGetNoInputNoPayloadOutput {
|
5737 5708 | #[pyo3(get, set)]
|
5738 - | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
5709 + | /// :type typing.Optional\[str\]:
|
5739 5710 | #[allow(missing_docs)] // documentation missing in model
|
5740 - | pub target_date_time: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5711 + | pub test_id: ::std::option::Option<::std::string::String>,
|
5741 5712 | }
|
5742 - | impl TimestampFormatHeadersOutput {
|
5743 - | #[allow(missing_docs)] // documentation missing in model
|
5744 - | pub fn member_epoch_seconds(
|
5745 - | &self,
|
5746 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
5747 - | self.member_epoch_seconds.as_ref()
|
5748 - | }
|
5749 - | #[allow(missing_docs)] // documentation missing in model
|
5750 - | pub fn member_http_date(
|
5751 - | &self,
|
5752 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
5753 - | self.member_http_date.as_ref()
|
5754 - | }
|
5755 - | #[allow(missing_docs)] // documentation missing in model
|
5756 - | pub fn member_date_time(
|
5757 - | &self,
|
5758 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
5759 - | self.member_date_time.as_ref()
|
5760 - | }
|
5761 - | #[allow(missing_docs)] // documentation missing in model
|
5762 - | pub fn default_format(
|
5763 - | &self,
|
5764 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
5765 - | self.default_format.as_ref()
|
5766 - | }
|
5767 - | #[allow(missing_docs)] // documentation missing in model
|
5768 - | pub fn target_epoch_seconds(
|
5769 - | &self,
|
5770 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
5771 - | self.target_epoch_seconds.as_ref()
|
5772 - | }
|
5773 - | #[allow(missing_docs)] // documentation missing in model
|
5774 - | pub fn target_http_date(
|
5775 - | &self,
|
5776 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
5777 - | self.target_http_date.as_ref()
|
5778 - | }
|
5713 + | impl TestGetNoInputNoPayloadOutput {
|
5779 5714 | #[allow(missing_docs)] // documentation missing in model
|
5780 - | pub fn target_date_time(
|
5781 - | &self,
|
5782 - | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
5783 - | self.target_date_time.as_ref()
|
5715 + | pub fn test_id(&self) -> ::std::option::Option<&str> {
|
5716 + | self.test_id.as_deref()
|
5784 5717 | }
|
5785 5718 | }
|
5786 5719 | #[allow(clippy::new_without_default)]
|
5787 5720 | #[allow(clippy::too_many_arguments)]
|
5788 5721 | #[::pyo3::pymethods]
|
5789 - | impl TimestampFormatHeadersOutput {
|
5722 + | impl TestGetNoInputNoPayloadOutput {
|
5790 5723 | #[new]
|
5791 - | pub fn new(
|
5792 - | member_epoch_seconds: ::std::option::Option<
|
5793 - | ::aws_smithy_http_server_python::types::DateTime,
|
5794 - | >,
|
5795 - | member_http_date: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5796 - | member_date_time: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5797 - | default_format: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5798 - | target_epoch_seconds: ::std::option::Option<
|
5799 - | ::aws_smithy_http_server_python::types::DateTime,
|
5800 - | >,
|
5801 - | target_http_date: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5802 - | target_date_time: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5803 - | ) -> Self {
|
5804 - | Self {
|
5805 - | member_epoch_seconds,
|
5806 - | member_http_date,
|
5807 - | member_date_time,
|
5808 - | default_format,
|
5809 - | target_epoch_seconds,
|
5810 - | target_http_date,
|
5811 - | target_date_time,
|
5812 - | }
|
5724 + | pub fn new(test_id: ::std::option::Option<::std::string::String>) -> Self {
|
5725 + | Self { test_id }
|
5813 5726 | }
|
5814 5727 | fn __repr__(&self) -> String {
|
5815 5728 | format!("{self:?}")
|
5816 5729 | }
|
5817 5730 | fn __str__(&self) -> String {
|
5818 5731 | format!("{self:?}")
|
5819 5732 | }
|
5820 5733 | }
|
5821 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TimestampFormatHeadersOutput> {
|
5734 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestGetNoInputNoPayloadOutput> {
|
5822 5735 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5823 - | ob.extract::<TimestampFormatHeadersOutput>().map(Box::new)
|
5736 + | ob.extract::<TestGetNoInputNoPayloadOutput>().map(Box::new)
|
5824 5737 | }
|
5825 5738 | }
|
5826 5739 |
|
5827 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TimestampFormatHeadersOutput> {
|
5740 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestGetNoInputNoPayloadOutput> {
|
5828 5741 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5829 5742 | (*self).into_py(py)
|
5830 5743 | }
|
5831 5744 | }
|
5832 - | impl TimestampFormatHeadersOutput {
|
5833 - | /// Creates a new builder-style object to manufacture [`TimestampFormatHeadersOutput`](crate::output::TimestampFormatHeadersOutput).
|
5834 - | pub fn builder() -> crate::output::timestamp_format_headers_output::Builder {
|
5835 - | crate::output::timestamp_format_headers_output::Builder::default()
|
5745 + | impl TestGetNoInputNoPayloadOutput {
|
5746 + | /// Creates a new builder-style object to manufacture [`TestGetNoInputNoPayloadOutput`](crate::output::TestGetNoInputNoPayloadOutput).
|
5747 + | pub fn builder() -> crate::output::test_get_no_input_no_payload_output::Builder {
|
5748 + | crate::output::test_get_no_input_no_payload_output::Builder::default()
|
5836 5749 | }
|
5837 5750 | }
|
5838 5751 |
|
5839 5752 | #[::pyo3::pyclass]
|
5840 - | /// :param a typing.Optional\[str\]:
|
5841 - | /// :param b typing.Optional\[str\]:
|
5842 - | /// :param c typing.Optional\[typing.List\[str\]\]:
|
5753 + | /// :param test_id typing.Optional\[str\]:
|
5843 5754 | /// :rtype None:
|
5844 5755 | #[allow(missing_docs)] // documentation missing in model
|
5845 5756 | #[derive(
|
5846 5757 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5847 5758 | )]
|
5848 - | pub struct NullAndEmptyHeadersServerOutput {
|
5849 - | #[pyo3(get, set)]
|
5850 - | /// :type typing.Optional\[str\]:
|
5851 - | #[allow(missing_docs)] // documentation missing in model
|
5852 - | pub a: ::std::option::Option<::std::string::String>,
|
5759 + | pub struct TestPostNoInputNoPayloadOutput {
|
5853 5760 | #[pyo3(get, set)]
|
5854 5761 | /// :type typing.Optional\[str\]:
|
5855 5762 | #[allow(missing_docs)] // documentation missing in model
|
5856 - | pub b: ::std::option::Option<::std::string::String>,
|
5857 - | #[pyo3(get, set)]
|
5858 - | /// :type typing.Optional\[typing.List\[str\]\]:
|
5859 - | #[allow(missing_docs)] // documentation missing in model
|
5860 - | pub c: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
5763 + | pub test_id: ::std::option::Option<::std::string::String>,
|
5861 5764 | }
|
5862 - | impl NullAndEmptyHeadersServerOutput {
|
5863 - | #[allow(missing_docs)] // documentation missing in model
|
5864 - | pub fn a(&self) -> ::std::option::Option<&str> {
|
5865 - | self.a.as_deref()
|
5866 - | }
|
5867 - | #[allow(missing_docs)] // documentation missing in model
|
5868 - | pub fn b(&self) -> ::std::option::Option<&str> {
|
5869 - | self.b.as_deref()
|
5870 - | }
|
5765 + | impl TestPostNoInputNoPayloadOutput {
|
5871 5766 | #[allow(missing_docs)] // documentation missing in model
|
5872 - | pub fn c(&self) -> ::std::option::Option<&[::std::string::String]> {
|
5873 - | self.c.as_deref()
|
5767 + | pub fn test_id(&self) -> ::std::option::Option<&str> {
|
5768 + | self.test_id.as_deref()
|
5874 5769 | }
|
5875 5770 | }
|
5876 5771 | #[allow(clippy::new_without_default)]
|
5877 5772 | #[allow(clippy::too_many_arguments)]
|
5878 5773 | #[::pyo3::pymethods]
|
5879 - | impl NullAndEmptyHeadersServerOutput {
|
5774 + | impl TestPostNoInputNoPayloadOutput {
|
5880 5775 | #[new]
|
5881 - | pub fn new(
|
5882 - | a: ::std::option::Option<::std::string::String>,
|
5883 - | b: ::std::option::Option<::std::string::String>,
|
5884 - | c: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
5885 - | ) -> Self {
|
5886 - | Self { a, b, c }
|
5776 + | pub fn new(test_id: ::std::option::Option<::std::string::String>) -> Self {
|
5777 + | Self { test_id }
|
5887 5778 | }
|
5888 5779 | fn __repr__(&self) -> String {
|
5889 5780 | format!("{self:?}")
|
5890 5781 | }
|
5891 5782 | fn __str__(&self) -> String {
|
5892 5783 | format!("{self:?}")
|
5893 5784 | }
|
5894 5785 | }
|
5895 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NullAndEmptyHeadersServerOutput> {
|
5786 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<TestPostNoInputNoPayloadOutput> {
|
5896 5787 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5897 - | ob.extract::<NullAndEmptyHeadersServerOutput>()
|
5898 - | .map(Box::new)
|
5788 + | ob.extract::<TestPostNoInputNoPayloadOutput>().map(Box::new)
|
5899 5789 | }
|
5900 5790 | }
|
5901 5791 |
|
5902 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NullAndEmptyHeadersServerOutput> {
|
5792 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<TestPostNoInputNoPayloadOutput> {
|
5903 5793 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5904 5794 | (*self).into_py(py)
|
5905 5795 | }
|
5906 5796 | }
|
5907 - | impl NullAndEmptyHeadersServerOutput {
|
5908 - | /// Creates a new builder-style object to manufacture [`NullAndEmptyHeadersServerOutput`](crate::output::NullAndEmptyHeadersServerOutput).
|
5909 - | pub fn builder() -> crate::output::null_and_empty_headers_server_output::Builder {
|
5910 - | crate::output::null_and_empty_headers_server_output::Builder::default()
|
5797 + | impl TestPostNoInputNoPayloadOutput {
|
5798 + | /// Creates a new builder-style object to manufacture [`TestPostNoInputNoPayloadOutput`](crate::output::TestPostNoInputNoPayloadOutput).
|
5799 + | pub fn builder() -> crate::output::test_post_no_input_no_payload_output::Builder {
|
5800 + | crate::output::test_post_no_input_no_payload_output::Builder::default()
|
5911 5801 | }
|
5912 5802 | }
|
5913 5803 |
|
5914 5804 | #[::pyo3::pyclass]
|
5915 - | /// :param a typing.Optional\[str\]:
|
5916 - | /// :param b typing.Optional\[str\]:
|
5917 - | /// :param c typing.Optional\[typing.List\[str\]\]:
|
5805 + | /// :param datetime typing.Optional\[rest_json.types.DateTime\]:
|
5918 5806 | /// :rtype None:
|
5919 5807 | #[allow(missing_docs)] // documentation missing in model
|
5920 5808 | #[derive(
|
5921 5809 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5922 5810 | )]
|
5923 - | pub struct NullAndEmptyHeadersClientOutput {
|
5924 - | #[pyo3(get, set)]
|
5925 - | /// :type typing.Optional\[str\]:
|
5926 - | #[allow(missing_docs)] // documentation missing in model
|
5927 - | pub a: ::std::option::Option<::std::string::String>,
|
5928 - | #[pyo3(get, set)]
|
5929 - | /// :type typing.Optional\[str\]:
|
5930 - | #[allow(missing_docs)] // documentation missing in model
|
5931 - | pub b: ::std::option::Option<::std::string::String>,
|
5811 + | pub struct DatetimeOffsetsOutput {
|
5932 5812 | #[pyo3(get, set)]
|
5933 - | /// :type typing.Optional\[typing.List\[str\]\]:
|
5813 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
5934 5814 | #[allow(missing_docs)] // documentation missing in model
|
5935 - | pub c: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
5815 + | pub datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5936 5816 | }
|
5937 - | impl NullAndEmptyHeadersClientOutput {
|
5938 - | #[allow(missing_docs)] // documentation missing in model
|
5939 - | pub fn a(&self) -> ::std::option::Option<&str> {
|
5940 - | self.a.as_deref()
|
5941 - | }
|
5942 - | #[allow(missing_docs)] // documentation missing in model
|
5943 - | pub fn b(&self) -> ::std::option::Option<&str> {
|
5944 - | self.b.as_deref()
|
5945 - | }
|
5817 + | impl DatetimeOffsetsOutput {
|
5946 5818 | #[allow(missing_docs)] // documentation missing in model
|
5947 - | pub fn c(&self) -> ::std::option::Option<&[::std::string::String]> {
|
5948 - | self.c.as_deref()
|
5819 + | pub fn datetime(
|
5820 + | &self,
|
5821 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
5822 + | self.datetime.as_ref()
|
5949 5823 | }
|
5950 5824 | }
|
5951 5825 | #[allow(clippy::new_without_default)]
|
5952 5826 | #[allow(clippy::too_many_arguments)]
|
5953 5827 | #[::pyo3::pymethods]
|
5954 - | impl NullAndEmptyHeadersClientOutput {
|
5828 + | impl DatetimeOffsetsOutput {
|
5955 5829 | #[new]
|
5956 5830 | pub fn new(
|
5957 - | a: ::std::option::Option<::std::string::String>,
|
5958 - | b: ::std::option::Option<::std::string::String>,
|
5959 - | c: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
5831 + | datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
5960 5832 | ) -> Self {
|
5961 - | Self { a, b, c }
|
5833 + | Self { datetime }
|
5962 5834 | }
|
5963 5835 | fn __repr__(&self) -> String {
|
5964 5836 | format!("{self:?}")
|
5965 5837 | }
|
5966 5838 | fn __str__(&self) -> String {
|
5967 5839 | format!("{self:?}")
|
5968 5840 | }
|
5969 5841 | }
|
5970 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NullAndEmptyHeadersClientOutput> {
|
5842 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<DatetimeOffsetsOutput> {
|
5971 5843 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5972 - | ob.extract::<NullAndEmptyHeadersClientOutput>()
|
5973 - | .map(Box::new)
|
5844 + | ob.extract::<DatetimeOffsetsOutput>().map(Box::new)
|
5974 5845 | }
|
5975 5846 | }
|
5976 5847 |
|
5977 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NullAndEmptyHeadersClientOutput> {
|
5848 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DatetimeOffsetsOutput> {
|
5978 5849 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5979 5850 | (*self).into_py(py)
|
5980 5851 | }
|
5981 5852 | }
|
5982 - | impl NullAndEmptyHeadersClientOutput {
|
5983 - | /// Creates a new builder-style object to manufacture [`NullAndEmptyHeadersClientOutput`](crate::output::NullAndEmptyHeadersClientOutput).
|
5984 - | pub fn builder() -> crate::output::null_and_empty_headers_client_output::Builder {
|
5985 - | crate::output::null_and_empty_headers_client_output::Builder::default()
|
5853 + | impl DatetimeOffsetsOutput {
|
5854 + | /// Creates a new builder-style object to manufacture [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
5855 + | pub fn builder() -> crate::output::datetime_offsets_output::Builder {
|
5856 + | crate::output::datetime_offsets_output::Builder::default()
|
5986 5857 | }
|
5987 5858 | }
|
5988 5859 |
|
5989 5860 | #[::pyo3::pyclass]
|
5990 - | /// :param header_string typing.Optional\[str\]:
|
5991 - | /// :param header_byte typing.Optional\[int\]:
|
5992 - | /// :param header_short typing.Optional\[int\]:
|
5993 - | /// :param header_integer typing.Optional\[int\]:
|
5994 - | /// :param header_long typing.Optional\[int\]:
|
5995 - | /// :param header_float typing.Optional\[float\]:
|
5996 - | /// :param header_double typing.Optional\[float\]:
|
5997 - | /// :param header_true_bool typing.Optional\[bool\]:
|
5998 - | /// :param header_false_bool typing.Optional\[bool\]:
|
5999 - | /// :param header_string_list typing.Optional\[typing.List\[str\]\]:
|
6000 - | /// :param header_string_set typing.Optional\[typing.List\[str\]\]:
|
6001 - | /// :param header_integer_list typing.Optional\[typing.List\[int\]\]:
|
6002 - | /// :param header_boolean_list typing.Optional\[typing.List\[bool\]\]:
|
6003 - | /// :param header_timestamp_list typing.Optional\[typing.List\[rest_json.types.DateTime\]\]:
|
6004 - | /// :param header_enum typing.Optional\[rest_json.model.FooEnum\]:
|
6005 - | /// :param header_enum_list typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
6006 - | /// :param header_integer_enum typing.Optional\[int\]:
|
6007 - | /// :param header_integer_enum_list typing.Optional\[typing.List\[int\]\]:
|
5861 + | /// :param datetime typing.Optional\[rest_json.types.DateTime\]:
|
6008 5862 | /// :rtype None:
|
6009 5863 | #[allow(missing_docs)] // documentation missing in model
|
6010 - | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
6011 - | pub struct InputAndOutputWithHeadersOutput {
|
6012 - | #[pyo3(get, set)]
|
6013 - | /// :type typing.Optional\[str\]:
|
6014 - | #[allow(missing_docs)] // documentation missing in model
|
6015 - | pub header_string: ::std::option::Option<::std::string::String>,
|
6016 - | #[pyo3(get, set)]
|
6017 - | /// :type typing.Optional\[int\]:
|
6018 - | #[allow(missing_docs)] // documentation missing in model
|
6019 - | pub header_byte: ::std::option::Option<i8>,
|
6020 - | #[pyo3(get, set)]
|
6021 - | /// :type typing.Optional\[int\]:
|
6022 - | #[allow(missing_docs)] // documentation missing in model
|
6023 - | pub header_short: ::std::option::Option<i16>,
|
6024 - | #[pyo3(get, set)]
|
6025 - | /// :type typing.Optional\[int\]:
|
6026 - | #[allow(missing_docs)] // documentation missing in model
|
6027 - | pub header_integer: ::std::option::Option<i32>,
|
6028 - | #[pyo3(get, set)]
|
6029 - | /// :type typing.Optional\[int\]:
|
6030 - | #[allow(missing_docs)] // documentation missing in model
|
6031 - | pub header_long: ::std::option::Option<i64>,
|
6032 - | #[pyo3(get, set)]
|
6033 - | /// :type typing.Optional\[float\]:
|
6034 - | #[allow(missing_docs)] // documentation missing in model
|
6035 - | pub header_float: ::std::option::Option<f32>,
|
6036 - | #[pyo3(get, set)]
|
6037 - | /// :type typing.Optional\[float\]:
|
6038 - | #[allow(missing_docs)] // documentation missing in model
|
6039 - | pub header_double: ::std::option::Option<f64>,
|
6040 - | #[pyo3(get, set)]
|
6041 - | /// :type typing.Optional\[bool\]:
|
6042 - | #[allow(missing_docs)] // documentation missing in model
|
6043 - | pub header_true_bool: ::std::option::Option<bool>,
|
6044 - | #[pyo3(get, set)]
|
6045 - | /// :type typing.Optional\[bool\]:
|
6046 - | #[allow(missing_docs)] // documentation missing in model
|
6047 - | pub header_false_bool: ::std::option::Option<bool>,
|
6048 - | #[pyo3(get, set)]
|
6049 - | /// :type typing.Optional\[typing.List\[str\]\]:
|
6050 - | #[allow(missing_docs)] // documentation missing in model
|
6051 - | pub header_string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
6052 - | #[pyo3(get, set)]
|
6053 - | /// :type typing.Optional\[typing.List\[str\]\]:
|
6054 - | #[allow(missing_docs)] // documentation missing in model
|
6055 - | pub header_string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
6056 - | #[pyo3(get, set)]
|
6057 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
6058 - | #[allow(missing_docs)] // documentation missing in model
|
6059 - | pub header_integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
6060 - | #[pyo3(get, set)]
|
6061 - | /// :type typing.Optional\[typing.List\[bool\]\]:
|
6062 - | #[allow(missing_docs)] // documentation missing in model
|
6063 - | pub header_boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
6064 - | #[pyo3(get, set)]
|
6065 - | /// :type typing.Optional\[typing.List\[rest_json.types.DateTime\]\]:
|
6066 - | #[allow(missing_docs)] // documentation missing in model
|
6067 - | pub header_timestamp_list:
|
6068 - | ::std::option::Option<::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>>,
|
6069 - | #[pyo3(get, set)]
|
6070 - | /// :type typing.Optional\[rest_json.model.FooEnum\]:
|
6071 - | #[allow(missing_docs)] // documentation missing in model
|
6072 - | pub header_enum: ::std::option::Option<crate::model::FooEnum>,
|
6073 - | #[pyo3(get, set)]
|
6074 - | /// :type typing.Optional\[typing.List\[rest_json.model.FooEnum\]\]:
|
6075 - | #[allow(missing_docs)] // documentation missing in model
|
6076 - | pub header_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
6077 - | #[pyo3(get, set)]
|
6078 - | /// :type typing.Optional\[int\]:
|
6079 - | #[allow(missing_docs)] // documentation missing in model
|
6080 - | pub header_integer_enum: ::std::option::Option<i32>,
|
5864 + | #[derive(
|
5865 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5866 + | )]
|
5867 + | pub struct FractionalSecondsOutput {
|
6081 5868 | #[pyo3(get, set)]
|
6082 - | /// :type typing.Optional\[typing.List\[int\]\]:
|
5869 + | /// :type typing.Optional\[rest_json.types.DateTime\]:
|
6083 5870 | #[allow(missing_docs)] // documentation missing in model
|
6084 - | pub header_integer_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
5871 + | pub datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
6085 5872 | }
|
6086 - | impl InputAndOutputWithHeadersOutput {
|
6087 - | #[allow(missing_docs)] // documentation missing in model
|
6088 - | pub fn header_string(&self) -> ::std::option::Option<&str> {
|
6089 - | self.header_string.as_deref()
|
6090 - | }
|
6091 - | #[allow(missing_docs)] // documentation missing in model
|
6092 - | pub fn header_byte(&self) -> ::std::option::Option<i8> {
|
6093 - | self.header_byte
|
6094 - | }
|
6095 - | #[allow(missing_docs)] // documentation missing in model
|
6096 - | pub fn header_short(&self) -> ::std::option::Option<i16> {
|
6097 - | self.header_short
|
6098 - | }
|
6099 - | #[allow(missing_docs)] // documentation missing in model
|
6100 - | pub fn header_integer(&self) -> ::std::option::Option<i32> {
|
6101 - | self.header_integer
|
6102 - | }
|
6103 - | #[allow(missing_docs)] // documentation missing in model
|
6104 - | pub fn header_long(&self) -> ::std::option::Option<i64> {
|
6105 - | self.header_long
|
6106 - | }
|
6107 - | #[allow(missing_docs)] // documentation missing in model
|
6108 - | pub fn header_float(&self) -> ::std::option::Option<f32> {
|
6109 - | self.header_float
|
6110 - | }
|
6111 - | #[allow(missing_docs)] // documentation missing in model
|
6112 - | pub fn header_double(&self) -> ::std::option::Option<f64> {
|
6113 - | self.header_double
|
6114 - | }
|
6115 - | #[allow(missing_docs)] // documentation missing in model
|
6116 - | pub fn header_true_bool(&self) -> ::std::option::Option<bool> {
|
6117 - | self.header_true_bool
|
6118 - | }
|
6119 - | #[allow(missing_docs)] // documentation missing in model
|
6120 - | pub fn header_false_bool(&self) -> ::std::option::Option<bool> {
|
6121 - | self.header_false_bool
|
6122 - | }
|
6123 - | #[allow(missing_docs)] // documentation missing in model
|
6124 - | pub fn header_string_list(&self) -> ::std::option::Option<&[::std::string::String]> {
|
6125 - | self.header_string_list.as_deref()
|
6126 - | }
|
6127 - | #[allow(missing_docs)] // documentation missing in model
|
6128 - | pub fn header_string_set(&self) -> ::std::option::Option<&[::std::string::String]> {
|
6129 - | self.header_string_set.as_deref()
|
6130 - | }
|
6131 - | #[allow(missing_docs)] // documentation missing in model
|
6132 - | pub fn header_integer_list(&self) -> ::std::option::Option<&[i32]> {
|
6133 - | self.header_integer_list.as_deref()
|
6134 - | }
|
6135 - | #[allow(missing_docs)] // documentation missing in model
|
6136 - | pub fn header_boolean_list(&self) -> ::std::option::Option<&[bool]> {
|
6137 - | self.header_boolean_list.as_deref()
|
6138 - | }
|
5873 + | impl FractionalSecondsOutput {
|
6139 5874 | #[allow(missing_docs)] // documentation missing in model
|
6140 - | pub fn header_timestamp_list(
|
5875 + | pub fn datetime(
|
6141 5876 | &self,
|
6142 - | ) -> ::std::option::Option<&[::aws_smithy_http_server_python::types::DateTime]> {
|
6143 - | self.header_timestamp_list.as_deref()
|
6144 - | }
|
6145 - | #[allow(missing_docs)] // documentation missing in model
|
6146 - | pub fn header_enum(&self) -> ::std::option::Option<&crate::model::FooEnum> {
|
6147 - | self.header_enum.as_ref()
|
6148 - | }
|
6149 - | #[allow(missing_docs)] // documentation missing in model
|
6150 - | pub fn header_enum_list(&self) -> ::std::option::Option<&[crate::model::FooEnum]> {
|
6151 - | self.header_enum_list.as_deref()
|
6152 - | }
|
6153 - | #[allow(missing_docs)] // documentation missing in model
|
6154 - | pub fn header_integer_enum(&self) -> ::std::option::Option<i32> {
|
6155 - | self.header_integer_enum
|
6156 - | }
|
6157 - | #[allow(missing_docs)] // documentation missing in model
|
6158 - | pub fn header_integer_enum_list(&self) -> ::std::option::Option<&[i32]> {
|
6159 - | self.header_integer_enum_list.as_deref()
|
5877 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::DateTime> {
|
5878 + | self.datetime.as_ref()
|
6160 5879 | }
|
6161 5880 | }
|
6162 5881 | #[allow(clippy::new_without_default)]
|
6163 5882 | #[allow(clippy::too_many_arguments)]
|
6164 5883 | #[::pyo3::pymethods]
|
6165 - | impl InputAndOutputWithHeadersOutput {
|
5884 + | impl FractionalSecondsOutput {
|
6166 5885 | #[new]
|
6167 5886 | pub fn new(
|
6168 - | header_string: ::std::option::Option<::std::string::String>,
|
6169 - | header_byte: ::std::option::Option<i8>,
|
6170 - | header_short: ::std::option::Option<i16>,
|
6171 - | header_integer: ::std::option::Option<i32>,
|
6172 - | header_long: ::std::option::Option<i64>,
|
6173 - | header_float: ::std::option::Option<f32>,
|
6174 - | header_double: ::std::option::Option<f64>,
|
6175 - | header_true_bool: ::std::option::Option<bool>,
|
6176 - | header_false_bool: ::std::option::Option<bool>,
|
6177 - | header_string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
6178 - | header_string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
6179 - | header_integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
6180 - | header_boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
6181 - | header_timestamp_list: ::std::option::Option<
|
6182 - | ::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>,
|
6183 - | >,
|
6184 - | header_enum: ::std::option::Option<crate::model::FooEnum>,
|
6185 - | header_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
6186 - | header_integer_enum: ::std::option::Option<i32>,
|
6187 - | header_integer_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
5887 + | datetime: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
6188 5888 | ) -> Self {
|
6189 - | Self {
|
6190 - | header_string,
|
6191 - | header_byte,
|
6192 - | header_short,
|
6193 - | header_integer,
|
6194 - | header_long,
|
6195 - | header_float,
|
6196 - | header_double,
|
6197 - | header_true_bool,
|
6198 - | header_false_bool,
|
6199 - | header_string_list,
|
6200 - | header_string_set,
|
6201 - | header_integer_list,
|
6202 - | header_boolean_list,
|
6203 - | header_timestamp_list,
|
6204 - | header_enum,
|
6205 - | header_enum_list,
|
6206 - | header_integer_enum,
|
6207 - | header_integer_enum_list,
|
6208 - | }
|
5889 + | Self { datetime }
|
6209 5890 | }
|
6210 5891 | fn __repr__(&self) -> String {
|
6211 5892 | format!("{self:?}")
|
6212 5893 | }
|
6213 5894 | fn __str__(&self) -> String {
|
6214 5895 | format!("{self:?}")
|
6215 5896 | }
|
6216 5897 | }
|
6217 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<InputAndOutputWithHeadersOutput> {
|
5898 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<FractionalSecondsOutput> {
|
6218 5899 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
6219 - | ob.extract::<InputAndOutputWithHeadersOutput>()
|
6220 - | .map(Box::new)
|
5900 + | ob.extract::<FractionalSecondsOutput>().map(Box::new)
|
6221 5901 | }
|
6222 5902 | }
|
6223 5903 |
|
6224 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<InputAndOutputWithHeadersOutput> {
|
5904 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<FractionalSecondsOutput> {
|
6225 5905 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
6226 5906 | (*self).into_py(py)
|
6227 5907 | }
|
6228 5908 | }
|
6229 - | impl InputAndOutputWithHeadersOutput {
|
6230 - | /// Creates a new builder-style object to manufacture [`InputAndOutputWithHeadersOutput`](crate::output::InputAndOutputWithHeadersOutput).
|
6231 - | pub fn builder() -> crate::output::input_and_output_with_headers_output::Builder {
|
6232 - | crate::output::input_and_output_with_headers_output::Builder::default()
|
5909 + | impl FractionalSecondsOutput {
|
5910 + | /// Creates a new builder-style object to manufacture [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
5911 + | pub fn builder() -> crate::output::fractional_seconds_output::Builder {
|
5912 + | crate::output::fractional_seconds_output::Builder::default()
|
6233 5913 | }
|
6234 5914 | }
|
6235 5915 |
|
6236 5916 | #[::pyo3::pyclass]
|
6237 5917 | /// :rtype None:
|
6238 5918 | #[allow(missing_docs)] // documentation missing in model
|
6239 5919 | #[derive(
|
6240 5920 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
6241 5921 | )]
|
6242 - | pub struct UnitInputAndOutputOutput {}
|
5922 + | pub struct PutWithContentEncodingOutput {}
|
6243 5923 | #[allow(clippy::new_without_default)]
|
6244 5924 | #[allow(clippy::too_many_arguments)]
|
6245 5925 | #[::pyo3::pymethods]
|
6246 - | impl UnitInputAndOutputOutput {
|
5926 + | impl PutWithContentEncodingOutput {
|
6247 5927 | #[new]
|
6248 5928 | pub fn new() -> Self {
|
6249 5929 | Self {}
|
6250 5930 | }
|
6251 5931 | fn __repr__(&self) -> String {
|
6252 5932 | format!("{self:?}")
|
6253 5933 | }
|
6254 5934 | fn __str__(&self) -> String {
|
6255 5935 | format!("{self:?}")
|
6256 5936 | }
|
6257 5937 | }
|
6258 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<UnitInputAndOutputOutput> {
|
5938 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PutWithContentEncodingOutput> {
|
6259 5939 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
6260 - | ob.extract::<UnitInputAndOutputOutput>().map(Box::new)
|
5940 + | ob.extract::<PutWithContentEncodingOutput>().map(Box::new)
|
6261 5941 | }
|
6262 5942 | }
|
6263 5943 |
|
6264 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<UnitInputAndOutputOutput> {
|
5944 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PutWithContentEncodingOutput> {
|
6265 5945 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
6266 5946 | (*self).into_py(py)
|
6267 5947 | }
|
6268 5948 | }
|
6269 - | impl UnitInputAndOutputOutput {
|
6270 - | /// Creates a new builder-style object to manufacture [`UnitInputAndOutputOutput`](crate::output::UnitInputAndOutputOutput).
|
6271 - | pub fn builder() -> crate::output::unit_input_and_output_output::Builder {
|
6272 - | crate::output::unit_input_and_output_output::Builder::default()
|
5949 + | impl PutWithContentEncodingOutput {
|
5950 + | /// Creates a new builder-style object to manufacture [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
5951 + | pub fn builder() -> crate::output::put_with_content_encoding_output::Builder {
|
5952 + | crate::output::put_with_content_encoding_output::Builder::default()
|
6273 5953 | }
|
6274 5954 | }
|
6275 5955 |
|
6276 5956 | #[::pyo3::pyclass]
|
6277 5957 | /// :rtype None:
|
6278 5958 | #[allow(missing_docs)] // documentation missing in model
|
6279 5959 | #[derive(
|
6280 5960 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
6281 5961 | )]
|
6282 - | pub struct EmptyInputAndEmptyOutputOutput {}
|
5962 + | pub struct ContentTypeParametersOutput {}
|
6283 5963 | #[allow(clippy::new_without_default)]
|
6284 5964 | #[allow(clippy::too_many_arguments)]
|
6285 5965 | #[::pyo3::pymethods]
|
6286 - | impl EmptyInputAndEmptyOutputOutput {
|
5966 + | impl ContentTypeParametersOutput {
|
6287 5967 | #[new]
|
6288 5968 | pub fn new() -> Self {
|
6289 5969 | Self {}
|
6290 5970 | }
|
6291 5971 | fn __repr__(&self) -> String {
|
6292 5972 | format!("{self:?}")
|
6293 5973 | }
|
6294 5974 | fn __str__(&self) -> String {
|
6295 5975 | format!("{self:?}")
|
6296 5976 | }
|
6297 5977 | }
|
6298 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EmptyInputAndEmptyOutputOutput> {
|
5978 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ContentTypeParametersOutput> {
|
5979 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
5980 + | ob.extract::<ContentTypeParametersOutput>().map(Box::new)
|
5981 + | }
|
5982 + | }
|
5983 + |
|
5984 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ContentTypeParametersOutput> {
|
5985 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
5986 + | (*self).into_py(py)
|
5987 + | }
|
5988 + | }
|
5989 + | impl ContentTypeParametersOutput {
|
5990 + | /// Creates a new builder-style object to manufacture [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
5991 + | pub fn builder() -> crate::output::content_type_parameters_output::Builder {
|
5992 + | crate::output::content_type_parameters_output::Builder::default()
|
5993 + | }
|
5994 + | }
|
5995 + |
|
5996 + | #[::pyo3::pyclass]
|
5997 + | /// :param default_string str:
|
5998 + | /// :param default_boolean bool:
|
5999 + | /// :param default_list typing.List\[str\]:
|
6000 + | /// :param default_document_map rest_json.types.Document:
|
6001 + | /// :param default_document_string rest_json.types.Document:
|
6002 + | /// :param default_document_boolean rest_json.types.Document:
|
6003 + | /// :param default_document_list rest_json.types.Document:
|
6004 + | /// :param default_timestamp rest_json.types.DateTime:
|
6005 + | /// :param default_blob rest_json.types.Blob:
|
6006 + | /// :param default_byte int:
|
6007 + | /// :param default_short int:
|
6008 + | /// :param default_integer int:
|
6009 + | /// :param default_long int:
|
6010 + | /// :param default_float float:
|
6011 + | /// :param default_double float:
|
6012 + | /// :param default_map typing.Dict\[str, str\]:
|
6013 + | /// :param default_enum rest_json.model.TestEnum:
|
6014 + | /// :param default_int_enum int:
|
6015 + | /// :param empty_string str:
|
6016 + | /// :param false_boolean bool:
|
6017 + | /// :param empty_blob rest_json.types.Blob:
|
6018 + | /// :param zero_byte int:
|
6019 + | /// :param zero_short int:
|
6020 + | /// :param zero_integer int:
|
6021 + | /// :param zero_long int:
|
6022 + | /// :param zero_float float:
|
6023 + | /// :param zero_double float:
|
6024 + | /// :param default_null_document typing.Optional\[rest_json.types.Document\]:
|
6025 + | /// :rtype None:
|
6026 + | #[allow(missing_docs)] // documentation missing in model
|
6027 + | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
6028 + | pub struct OperationWithDefaultsOutput {
|
6029 + | #[pyo3(get, set)]
|
6030 + | /// :type str:
|
6031 + | #[allow(missing_docs)] // documentation missing in model
|
6032 + | pub default_string: ::std::string::String,
|
6033 + | #[pyo3(get, set)]
|
6034 + | /// :type bool:
|
6035 + | #[allow(missing_docs)] // documentation missing in model
|
6036 + | pub default_boolean: bool,
|
6037 + | #[pyo3(get, set)]
|
6038 + | /// :type typing.List\[str\]:
|
6039 + | #[allow(missing_docs)] // documentation missing in model
|
6040 + | pub default_list: ::std::vec::Vec<::std::string::String>,
|
6041 + | #[pyo3(get, set)]
|
6042 + | /// :type rest_json.types.Document:
|
6043 + | #[allow(missing_docs)] // documentation missing in model
|
6044 + | pub default_document_map: ::aws_smithy_http_server_python::types::Document,
|
6045 + | #[pyo3(get, set)]
|
6046 + | /// :type rest_json.types.Document:
|
6047 + | #[allow(missing_docs)] // documentation missing in model
|
6048 + | pub default_document_string: ::aws_smithy_http_server_python::types::Document,
|
6049 + | #[pyo3(get, set)]
|
6050 + | /// :type rest_json.types.Document:
|
6051 + | #[allow(missing_docs)] // documentation missing in model
|
6052 + | pub default_document_boolean: ::aws_smithy_http_server_python::types::Document,
|
6053 + | #[pyo3(get, set)]
|
6054 + | /// :type rest_json.types.Document:
|
6055 + | #[allow(missing_docs)] // documentation missing in model
|
6056 + | pub default_document_list: ::aws_smithy_http_server_python::types::Document,
|
6057 + | #[pyo3(get, set)]
|
6058 + | /// :type typing.Optional\[rest_json.types.Document\]:
|
6059 + | #[allow(missing_docs)] // documentation missing in model
|
6060 + | pub default_null_document:
|
6061 + | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
6062 + | #[pyo3(get, set)]
|
6063 + | /// :type rest_json.types.DateTime:
|
6064 + | #[allow(missing_docs)] // documentation missing in model
|
6065 + | pub default_timestamp: ::aws_smithy_http_server_python::types::DateTime,
|
6066 + | #[pyo3(get, set)]
|
6067 + | /// :type rest_json.types.Blob:
|
6068 + | #[allow(missing_docs)] // documentation missing in model
|
6069 + | pub default_blob: ::aws_smithy_http_server_python::types::Blob,
|
6070 + | #[pyo3(get, set)]
|
6071 + | /// :type int:
|
6072 + | #[allow(missing_docs)] // documentation missing in model
|
6073 + | pub default_byte: i8,
|
6074 + | #[pyo3(get, set)]
|
6075 + | /// :type int:
|
6076 + | #[allow(missing_docs)] // documentation missing in model
|
6077 + | pub default_short: i16,
|
6078 + | #[pyo3(get, set)]
|
6079 + | /// :type int:
|
6080 + | #[allow(missing_docs)] // documentation missing in model
|
6081 + | pub default_integer: i32,
|
6082 + | #[pyo3(get, set)]
|
6083 + | /// :type int:
|
6084 + | #[allow(missing_docs)] // documentation missing in model
|
6085 + | pub default_long: i64,
|
6086 + | #[pyo3(get, set)]
|
6087 + | /// :type float:
|
6088 + | #[allow(missing_docs)] // documentation missing in model
|
6089 + | pub default_float: f32,
|
6090 + | #[pyo3(get, set)]
|
6091 + | /// :type float:
|
6092 + | #[allow(missing_docs)] // documentation missing in model
|
6093 + | pub default_double: f64,
|
6094 + | #[pyo3(get, set)]
|
6095 + | /// :type typing.Dict\[str, str\]:
|
6096 + | #[allow(missing_docs)] // documentation missing in model
|
6097 + | pub default_map: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
6098 + | #[pyo3(get, set)]
|
6099 + | /// :type rest_json.model.TestEnum:
|
6100 + | #[allow(missing_docs)] // documentation missing in model
|
6101 + | pub default_enum: crate::model::TestEnum,
|
6102 + | #[pyo3(get, set)]
|
6103 + | /// :type int:
|
6104 + | #[allow(missing_docs)] // documentation missing in model
|
6105 + | pub default_int_enum: i32,
|
6106 + | #[pyo3(get, set)]
|
6107 + | /// :type str:
|
6108 + | #[allow(missing_docs)] // documentation missing in model
|
6109 + | pub empty_string: ::std::string::String,
|
6110 + | #[pyo3(get, set)]
|
6111 + | /// :type bool:
|
6112 + | #[allow(missing_docs)] // documentation missing in model
|
6113 + | pub false_boolean: bool,
|
6114 + | #[pyo3(get, set)]
|
6115 + | /// :type rest_json.types.Blob:
|
6116 + | #[allow(missing_docs)] // documentation missing in model
|
6117 + | pub empty_blob: ::aws_smithy_http_server_python::types::Blob,
|
6118 + | #[pyo3(get, set)]
|
6119 + | /// :type int:
|
6120 + | #[allow(missing_docs)] // documentation missing in model
|
6121 + | pub zero_byte: i8,
|
6122 + | #[pyo3(get, set)]
|
6123 + | /// :type int:
|
6124 + | #[allow(missing_docs)] // documentation missing in model
|
6125 + | pub zero_short: i16,
|
6126 + | #[pyo3(get, set)]
|
6127 + | /// :type int:
|
6128 + | #[allow(missing_docs)] // documentation missing in model
|
6129 + | pub zero_integer: i32,
|
6130 + | #[pyo3(get, set)]
|
6131 + | /// :type int:
|
6132 + | #[allow(missing_docs)] // documentation missing in model
|
6133 + | pub zero_long: i64,
|
6134 + | #[pyo3(get, set)]
|
6135 + | /// :type float:
|
6136 + | #[allow(missing_docs)] // documentation missing in model
|
6137 + | pub zero_float: f32,
|
6138 + | #[pyo3(get, set)]
|
6139 + | /// :type float:
|
6140 + | #[allow(missing_docs)] // documentation missing in model
|
6141 + | pub zero_double: f64,
|
6142 + | }
|
6143 + | impl OperationWithDefaultsOutput {
|
6144 + | #[allow(missing_docs)] // documentation missing in model
|
6145 + | pub fn default_string(&self) -> &str {
|
6146 + | use std::ops::Deref;
|
6147 + | self.default_string.deref()
|
6148 + | }
|
6149 + | #[allow(missing_docs)] // documentation missing in model
|
6150 + | pub fn default_boolean(&self) -> bool {
|
6151 + | self.default_boolean
|
6152 + | }
|
6153 + | #[allow(missing_docs)] // documentation missing in model
|
6154 + | pub fn default_list(&self) -> &[::std::string::String] {
|
6155 + | use std::ops::Deref;
|
6156 + | self.default_list.deref()
|
6157 + | }
|
6158 + | #[allow(missing_docs)] // documentation missing in model
|
6159 + | pub fn default_document_map(&self) -> &::aws_smithy_http_server_python::types::Document {
|
6160 + | &self.default_document_map
|
6161 + | }
|
6162 + | #[allow(missing_docs)] // documentation missing in model
|
6163 + | pub fn default_document_string(&self) -> &::aws_smithy_http_server_python::types::Document {
|
6164 + | &self.default_document_string
|
6165 + | }
|
6166 + | #[allow(missing_docs)] // documentation missing in model
|
6167 + | pub fn default_document_boolean(&self) -> &::aws_smithy_http_server_python::types::Document {
|
6168 + | &self.default_document_boolean
|
6169 + | }
|
6170 + | #[allow(missing_docs)] // documentation missing in model
|
6171 + | pub fn default_document_list(&self) -> &::aws_smithy_http_server_python::types::Document {
|
6172 + | &self.default_document_list
|
6173 + | }
|
6174 + | #[allow(missing_docs)] // documentation missing in model
|
6175 + | pub fn default_null_document(
|
6176 + | &self,
|
6177 + | ) -> ::std::option::Option<&::aws_smithy_http_server_python::types::Document> {
|
6178 + | self.default_null_document.as_ref()
|
6179 + | }
|
6180 + | #[allow(missing_docs)] // documentation missing in model
|
6181 + | pub fn default_timestamp(&self) -> &::aws_smithy_http_server_python::types::DateTime {
|
6182 + | &self.default_timestamp
|
6183 + | }
|
6184 + | #[allow(missing_docs)] // documentation missing in model
|
6185 + | pub fn default_blob(&self) -> &::aws_smithy_http_server_python::types::Blob {
|
6186 + | &self.default_blob
|
6187 + | }
|
6188 + | #[allow(missing_docs)] // documentation missing in model
|
6189 + | pub fn default_byte(&self) -> i8 {
|
6190 + | self.default_byte
|
6191 + | }
|
6192 + | #[allow(missing_docs)] // documentation missing in model
|
6193 + | pub fn default_short(&self) -> i16 {
|
6194 + | self.default_short
|
6195 + | }
|
6196 + | #[allow(missing_docs)] // documentation missing in model
|
6197 + | pub fn default_integer(&self) -> i32 {
|
6198 + | self.default_integer
|
6199 + | }
|
6200 + | #[allow(missing_docs)] // documentation missing in model
|
6201 + | pub fn default_long(&self) -> i64 {
|
6202 + | self.default_long
|
6203 + | }
|
6204 + | #[allow(missing_docs)] // documentation missing in model
|
6205 + | pub fn default_float(&self) -> f32 {
|
6206 + | self.default_float
|
6207 + | }
|
6208 + | #[allow(missing_docs)] // documentation missing in model
|
6209 + | pub fn default_double(&self) -> f64 {
|
6210 + | self.default_double
|
6211 + | }
|
6212 + | #[allow(missing_docs)] // documentation missing in model
|
6213 + | pub fn default_map(
|
6214 + | &self,
|
6215 + | ) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> {
|
6216 + | &self.default_map
|
6217 + | }
|
6218 + | #[allow(missing_docs)] // documentation missing in model
|
6219 + | pub fn default_enum(&self) -> &crate::model::TestEnum {
|
6220 + | &self.default_enum
|
6221 + | }
|
6222 + | #[allow(missing_docs)] // documentation missing in model
|
6223 + | pub fn default_int_enum(&self) -> i32 {
|
6224 + | self.default_int_enum
|
6225 + | }
|
6226 + | #[allow(missing_docs)] // documentation missing in model
|
6227 + | pub fn empty_string(&self) -> &str {
|
6228 + | use std::ops::Deref;
|
6229 + | self.empty_string.deref()
|
6230 + | }
|
6231 + | #[allow(missing_docs)] // documentation missing in model
|
6232 + | pub fn false_boolean(&self) -> bool {
|
6233 + | self.false_boolean
|
6234 + | }
|
6235 + | #[allow(missing_docs)] // documentation missing in model
|
6236 + | pub fn empty_blob(&self) -> &::aws_smithy_http_server_python::types::Blob {
|
6237 + | &self.empty_blob
|
6238 + | }
|
6239 + | #[allow(missing_docs)] // documentation missing in model
|
6240 + | pub fn zero_byte(&self) -> i8 {
|
6241 + | self.zero_byte
|
6242 + | }
|
6243 + | #[allow(missing_docs)] // documentation missing in model
|
6244 + | pub fn zero_short(&self) -> i16 {
|
6245 + | self.zero_short
|
6246 + | }
|
6247 + | #[allow(missing_docs)] // documentation missing in model
|
6248 + | pub fn zero_integer(&self) -> i32 {
|
6249 + | self.zero_integer
|
6250 + | }
|
6251 + | #[allow(missing_docs)] // documentation missing in model
|
6252 + | pub fn zero_long(&self) -> i64 {
|
6253 + | self.zero_long
|
6254 + | }
|
6255 + | #[allow(missing_docs)] // documentation missing in model
|
6256 + | pub fn zero_float(&self) -> f32 {
|
6257 + | self.zero_float
|
6258 + | }
|
6259 + | #[allow(missing_docs)] // documentation missing in model
|
6260 + | pub fn zero_double(&self) -> f64 {
|
6261 + | self.zero_double
|
6262 + | }
|
6263 + | }
|
6264 + | #[allow(clippy::new_without_default)]
|
6265 + | #[allow(clippy::too_many_arguments)]
|
6266 + | #[::pyo3::pymethods]
|
6267 + | impl OperationWithDefaultsOutput {
|
6268 + | #[new]
|
6269 + | pub fn new(
|
6270 + | default_string: ::std::string::String,
|
6271 + | default_boolean: bool,
|
6272 + | default_list: ::std::vec::Vec<::std::string::String>,
|
6273 + | default_document_map: ::aws_smithy_http_server_python::types::Document,
|
6274 + | default_document_string: ::aws_smithy_http_server_python::types::Document,
|
6275 + | default_document_boolean: ::aws_smithy_http_server_python::types::Document,
|
6276 + | default_document_list: ::aws_smithy_http_server_python::types::Document,
|
6277 + | default_timestamp: ::aws_smithy_http_server_python::types::DateTime,
|
6278 + | default_blob: ::aws_smithy_http_server_python::types::Blob,
|
6279 + | default_byte: i8,
|
6280 + | default_short: i16,
|
6281 + | default_integer: i32,
|
6282 + | default_long: i64,
|
6283 + | default_float: f32,
|
6284 + | default_double: f64,
|
6285 + | default_map: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
6286 + | default_enum: crate::model::TestEnum,
|
6287 + | default_int_enum: i32,
|
6288 + | empty_string: ::std::string::String,
|
6289 + | false_boolean: bool,
|
6290 + | empty_blob: ::aws_smithy_http_server_python::types::Blob,
|
6291 + | zero_byte: i8,
|
6292 + | zero_short: i16,
|
6293 + | zero_integer: i32,
|
6294 + | zero_long: i64,
|
6295 + | zero_float: f32,
|
6296 + | zero_double: f64,
|
6297 + | default_null_document: ::std::option::Option<
|
6298 + | ::aws_smithy_http_server_python::types::Document,
|
6299 + | >,
|
6300 + | ) -> Self {
|
6301 + | Self {
|
6302 + | default_string,
|
6303 + | default_boolean,
|
6304 + | default_list,
|
6305 + | default_document_map,
|
6306 + | default_document_string,
|
6307 + | default_document_boolean,
|
6308 + | default_document_list,
|
6309 + | default_timestamp,
|
6310 + | default_blob,
|
6311 + | default_byte,
|
6312 + | default_short,
|
6313 + | default_integer,
|
6314 + | default_long,
|
6315 + | default_float,
|
6316 + | default_double,
|
6317 + | default_map,
|
6318 + | default_enum,
|
6319 + | default_int_enum,
|
6320 + | empty_string,
|
6321 + | false_boolean,
|
6322 + | empty_blob,
|
6323 + | zero_byte,
|
6324 + | zero_short,
|
6325 + | zero_integer,
|
6326 + | zero_long,
|
6327 + | zero_float,
|
6328 + | zero_double,
|
6329 + | default_null_document,
|
6330 + | }
|
6331 + | }
|
6332 + | fn __repr__(&self) -> String {
|
6333 + | format!("{self:?}")
|
6334 + | }
|
6335 + | fn __str__(&self) -> String {
|
6336 + | format!("{self:?}")
|
6337 + | }
|
6338 + | }
|
6339 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<OperationWithDefaultsOutput> {
|
6340 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
6341 + | ob.extract::<OperationWithDefaultsOutput>().map(Box::new)
|
6342 + | }
|
6343 + | }
|
6344 + |
|
6345 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OperationWithDefaultsOutput> {
|
6346 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
6347 + | (*self).into_py(py)
|
6348 + | }
|
6349 + | }
|
6350 + | impl OperationWithDefaultsOutput {
|
6351 + | /// Creates a new builder-style object to manufacture [`OperationWithDefaultsOutput`](crate::output::OperationWithDefaultsOutput).
|
6352 + | pub fn builder() -> crate::output::operation_with_defaults_output::Builder {
|
6353 + | crate::output::operation_with_defaults_output::Builder::default()
|
6354 + | }
|
6355 + | }
|
6356 + |
|
6357 + | #[::pyo3::pyclass]
|
6358 + | /// :param dialog rest_json.model.Dialog:
|
6359 + | /// :param dialog_list typing.List\[rest_json.model.Dialog\]:
|
6360 + | /// :param dialog_map typing.Dict\[str, rest_json.model.Dialog\]:
|
6361 + | /// :rtype None:
|
6362 + | #[allow(missing_docs)] // documentation missing in model
|
6363 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
6364 + | pub struct OperationWithNestedStructureOutput {
|
6365 + | #[pyo3(get, set)]
|
6366 + | /// :type rest_json.model.Dialog:
|
6367 + | #[allow(missing_docs)] // documentation missing in model
|
6368 + | pub dialog: crate::model::Dialog,
|
6369 + | #[pyo3(get, set)]
|
6370 + | /// :type typing.List\[rest_json.model.Dialog\]:
|
6371 + | #[allow(missing_docs)] // documentation missing in model
|
6372 + | pub dialog_list: ::std::vec::Vec<crate::model::Dialog>,
|
6373 + | #[pyo3(get, set)]
|
6374 + | /// :type typing.Dict\[str, rest_json.model.Dialog\]:
|
6375 + | #[allow(missing_docs)] // documentation missing in model
|
6376 + | pub dialog_map: ::std::collections::HashMap<::std::string::String, crate::model::Dialog>,
|
6377 + | }
|
6378 + | impl OperationWithNestedStructureOutput {
|
6379 + | #[allow(missing_docs)] // documentation missing in model
|
6380 + | pub fn dialog(&self) -> &crate::model::Dialog {
|
6381 + | &self.dialog
|
6382 + | }
|
6383 + | #[allow(missing_docs)] // documentation missing in model
|
6384 + | pub fn dialog_list(&self) -> &[crate::model::Dialog] {
|
6385 + | use std::ops::Deref;
|
6386 + | self.dialog_list.deref()
|
6387 + | }
|
6388 + | #[allow(missing_docs)] // documentation missing in model
|
6389 + | pub fn dialog_map(
|
6390 + | &self,
|
6391 + | ) -> &::std::collections::HashMap<::std::string::String, crate::model::Dialog> {
|
6392 + | &self.dialog_map
|
6393 + | }
|
6394 + | }
|
6395 + | #[allow(clippy::new_without_default)]
|
6396 + | #[allow(clippy::too_many_arguments)]
|
6397 + | #[::pyo3::pymethods]
|
6398 + | impl OperationWithNestedStructureOutput {
|
6399 + | #[new]
|
6400 + | pub fn new(
|
6401 + | dialog: crate::model::Dialog,
|
6402 + | dialog_list: ::std::vec::Vec<crate::model::Dialog>,
|
6403 + | dialog_map: ::std::collections::HashMap<::std::string::String, crate::model::Dialog>,
|
6404 + | ) -> Self {
|
6405 + | Self {
|
6406 + | dialog,
|
6407 + | dialog_list,
|
6408 + | dialog_map,
|
6409 + | }
|
6410 + | }
|
6411 + | fn __repr__(&self) -> String {
|
6412 + | format!("{self:?}")
|
6413 + | }
|
6414 + | fn __str__(&self) -> String {
|
6415 + | format!("{self:?}")
|
6416 + | }
|
6417 + | }
|
6418 + | impl<'source> ::pyo3::FromPyObject<'source>
|
6419 + | for std::boxed::Box<OperationWithNestedStructureOutput>
|
6420 + | {
|
6299 6421 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
6300 - | ob.extract::<EmptyInputAndEmptyOutputOutput>().map(Box::new)
|
6422 + | ob.extract::<OperationWithNestedStructureOutput>()
|
6423 + | .map(Box::new)
|
6301 6424 | }
|
6302 6425 | }
|
6303 6426 |
|
6304 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EmptyInputAndEmptyOutputOutput> {
|
6427 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OperationWithNestedStructureOutput> {
|
6305 6428 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
6306 6429 | (*self).into_py(py)
|
6307 6430 | }
|
6308 6431 | }
|
6309 - | impl EmptyInputAndEmptyOutputOutput {
|
6310 - | /// Creates a new builder-style object to manufacture [`EmptyInputAndEmptyOutputOutput`](crate::output::EmptyInputAndEmptyOutputOutput).
|
6311 - | pub fn builder() -> crate::output::empty_input_and_empty_output_output::Builder {
|
6312 - | crate::output::empty_input_and_empty_output_output::Builder::default()
|
6432 + | impl OperationWithNestedStructureOutput {
|
6433 + | /// Creates a new builder-style object to manufacture [`OperationWithNestedStructureOutput`](crate::output::OperationWithNestedStructureOutput).
|
6434 + | pub fn builder() -> crate::output::operation_with_nested_structure_output::Builder {
|
6435 + | crate::output::operation_with_nested_structure_output::Builder::default()
|
6436 + | }
|
6437 + | }
|
6438 + |
|
6439 + | #[::pyo3::pyclass]
|
6440 + | /// :rtype None:
|
6441 + | #[allow(missing_docs)] // documentation missing in model
|
6442 + | #[derive(
|
6443 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
6444 + | )]
|
6445 + | pub struct InputStreamOutput {}
|
6446 + | #[allow(clippy::new_without_default)]
|
6447 + | #[allow(clippy::too_many_arguments)]
|
6448 + | #[::pyo3::pymethods]
|
6449 + | impl InputStreamOutput {
|
6450 + | #[new]
|
6451 + | pub fn new() -> Self {
|
6452 + | Self {}
|
6453 + | }
|
6454 + | fn __repr__(&self) -> String {
|
6455 + | format!("{self:?}")
|
6456 + | }
|
6457 + | fn __str__(&self) -> String {
|
6458 + | format!("{self:?}")
|
6459 + | }
|
6460 + | }
|
6461 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<InputStreamOutput> {
|
6462 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
6463 + | ob.extract::<InputStreamOutput>().map(Box::new)
|
6464 + | }
|
6465 + | }
|
6466 + |
|
6467 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<InputStreamOutput> {
|
6468 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
6469 + | (*self).into_py(py)
|
6470 + | }
|
6471 + | }
|
6472 + | impl InputStreamOutput {
|
6473 + | /// Creates a new builder-style object to manufacture [`InputStreamOutput`](crate::output::InputStreamOutput).
|
6474 + | pub fn builder() -> crate::output::input_stream_output::Builder {
|
6475 + | crate::output::input_stream_output::Builder::default()
|
6476 + | }
|
6477 + | }
|
6478 + |
|
6479 + | #[::pyo3::pyclass]
|
6480 + | /// :param stream typing.AsyncIterator\[rest_json.model.EventStream\]:
|
6481 + | /// :rtype None:
|
6482 + | #[allow(missing_docs)] // documentation missing in model
|
6483 + | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
6484 + | pub struct OutputStreamOutput {
|
6485 + | #[pyo3(get, set)]
|
6486 + | /// :type typing.AsyncIterator\[rest_json.model.EventStream\]:
|
6487 + | #[allow(missing_docs)] // documentation missing in model
|
6488 + | pub stream: crate::python_event_stream::OutputStreamOutputStreamEventStreamSender,
|
6489 + | }
|
6490 + | impl OutputStreamOutput {
|
6491 + | #[allow(missing_docs)] // documentation missing in model
|
6492 + | pub fn stream(&self) -> &crate::python_event_stream::OutputStreamOutputStreamEventStreamSender {
|
6493 + | &self.stream
|
6494 + | }
|
6495 + | }
|
6496 + | #[allow(clippy::new_without_default)]
|
6497 + | #[allow(clippy::too_many_arguments)]
|
6498 + | #[::pyo3::pymethods]
|
6499 + | impl OutputStreamOutput {
|
6500 + | #[new]
|
6501 + | pub fn new(
|
6502 + | stream: crate::python_event_stream::OutputStreamOutputStreamEventStreamSender,
|
6503 + | ) -> Self {
|
6504 + | Self { stream }
|
6505 + | }
|
6506 + | fn __repr__(&self) -> String {
|
6507 + | format!("{self:?}")
|
6508 + | }
|
6509 + | fn __str__(&self) -> String {
|
6510 + | format!("{self:?}")
|
6511 + | }
|
6512 + | }
|
6513 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<OutputStreamOutput> {
|
6514 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
6515 + | ob.extract::<OutputStreamOutput>().map(Box::new)
|
6516 + | }
|
6517 + | }
|
6518 + |
|
6519 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OutputStreamOutput> {
|
6520 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
6521 + | (*self).into_py(py)
|
6522 + | }
|
6523 + | }
|
6524 + | impl OutputStreamOutput {
|
6525 + | /// Creates a new builder-style object to manufacture [`OutputStreamOutput`](crate::output::OutputStreamOutput).
|
6526 + | pub fn builder() -> crate::output::output_stream_output::Builder {
|
6527 + | crate::output::output_stream_output::Builder::default()
|
6528 + | }
|
6529 + | }
|
6530 + |
|
6531 + | #[::pyo3::pyclass]
|
6532 + | /// :param stream typing.AsyncIterator\[rest_json.model.EventStream\]:
|
6533 + | /// :rtype None:
|
6534 + | #[allow(missing_docs)] // documentation missing in model
|
6535 + | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
6536 + | pub struct DuplexStreamOutput {
|
6537 + | #[pyo3(get, set)]
|
6538 + | /// :type typing.AsyncIterator\[rest_json.model.EventStream\]:
|
6539 + | #[allow(missing_docs)] // documentation missing in model
|
6540 + | pub stream: crate::python_event_stream::DuplexStreamOutputStreamEventStreamSender,
|
6541 + | }
|
6542 + | impl DuplexStreamOutput {
|
6543 + | #[allow(missing_docs)] // documentation missing in model
|
6544 + | pub fn stream(&self) -> &crate::python_event_stream::DuplexStreamOutputStreamEventStreamSender {
|
6545 + | &self.stream
|
6546 + | }
|
6547 + | }
|
6548 + | #[allow(clippy::new_without_default)]
|
6549 + | #[allow(clippy::too_many_arguments)]
|
6550 + | #[::pyo3::pymethods]
|
6551 + | impl DuplexStreamOutput {
|
6552 + | #[new]
|
6553 + | pub fn new(
|
6554 + | stream: crate::python_event_stream::DuplexStreamOutputStreamEventStreamSender,
|
6555 + | ) -> Self {
|
6556 + | Self { stream }
|
6557 + | }
|
6558 + | fn __repr__(&self) -> String {
|
6559 + | format!("{self:?}")
|
6560 + | }
|
6561 + | fn __str__(&self) -> String {
|
6562 + | format!("{self:?}")
|
6563 + | }
|
6564 + | }
|
6565 + | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<DuplexStreamOutput> {
|
6566 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
6567 + | ob.extract::<DuplexStreamOutput>().map(Box::new)
|
6568 + | }
|
6569 + | }
|
6570 + |
|
6571 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DuplexStreamOutput> {
|
6572 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
6573 + | (*self).into_py(py)
|
6574 + | }
|
6575 + | }
|
6576 + | impl DuplexStreamOutput {
|
6577 + | /// Creates a new builder-style object to manufacture [`DuplexStreamOutput`](crate::output::DuplexStreamOutput).
|
6578 + | pub fn builder() -> crate::output::duplex_stream_output::Builder {
|
6579 + | crate::output::duplex_stream_output::Builder::default()
|
6580 + | }
|
6581 + | }
|
6582 + |
|
6583 + | #[::pyo3::pyclass]
|
6584 + | /// :rtype None:
|
6585 + | #[allow(missing_docs)] // documentation missing in model
|
6586 + | #[derive(
|
6587 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
6588 + | )]
|
6589 + | pub struct InputStreamWithInitialRequestOutput {}
|
6590 + | #[allow(clippy::new_without_default)]
|
6591 + | #[allow(clippy::too_many_arguments)]
|
6592 + | #[::pyo3::pymethods]
|
6593 + | impl InputStreamWithInitialRequestOutput {
|
6594 + | #[new]
|
6595 + | pub fn new() -> Self {
|
6596 + | Self {}
|
6597 + | }
|
6598 + | fn __repr__(&self) -> String {
|
6599 + | format!("{self:?}")
|
6600 + | }
|
6601 + | fn __str__(&self) -> String {
|
6602 + | format!("{self:?}")
|
6603 + | }
|
6604 + | }
|
6605 + | impl<'source> ::pyo3::FromPyObject<'source>
|
6606 + | for std::boxed::Box<InputStreamWithInitialRequestOutput>
|
6607 + | {
|
6608 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
6609 + | ob.extract::<InputStreamWithInitialRequestOutput>()
|
6610 + | .map(Box::new)
|
6611 + | }
|
6612 + | }
|
6613 + |
|
6614 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<InputStreamWithInitialRequestOutput> {
|
6615 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
6616 + | (*self).into_py(py)
|
6617 + | }
|
6618 + | }
|
6619 + | impl InputStreamWithInitialRequestOutput {
|
6620 + | /// Creates a new builder-style object to manufacture [`InputStreamWithInitialRequestOutput`](crate::output::InputStreamWithInitialRequestOutput).
|
6621 + | pub fn builder() -> crate::output::input_stream_with_initial_request_output::Builder {
|
6622 + | crate::output::input_stream_with_initial_request_output::Builder::default()
|
6623 + | }
|
6624 + | }
|
6625 + |
|
6626 + | #[::pyo3::pyclass]
|
6627 + | /// :param initial_response_member str:
|
6628 + | /// :param stream typing.AsyncIterator\[rest_json.model.EventStream\]:
|
6629 + | /// :rtype None:
|
6630 + | #[allow(missing_docs)] // documentation missing in model
|
6631 + | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
6632 + | pub struct OutputStreamWithInitialResponseOutput {
|
6633 + | #[pyo3(get, set)]
|
6634 + | /// :type str:
|
6635 + | #[allow(missing_docs)] // documentation missing in model
|
6636 + | pub initial_response_member: ::std::string::String,
|
6637 + | #[pyo3(get, set)]
|
6638 + | /// :type typing.AsyncIterator\[rest_json.model.EventStream\]:
|
6639 + | #[allow(missing_docs)] // documentation missing in model
|
6640 + | pub stream:
|
6641 + | crate::python_event_stream::OutputStreamWithInitialResponseOutputStreamEventStreamSender,
|
6642 + | }
|
6643 + | impl OutputStreamWithInitialResponseOutput {
|
6644 + | #[allow(missing_docs)] // documentation missing in model
|
6645 + | pub fn initial_response_member(&self) -> &str {
|
6646 + | use std::ops::Deref;
|
6647 + | self.initial_response_member.deref()
|
6648 + | }
|
6649 + | #[allow(missing_docs)] // documentation missing in model
|
6650 + | pub fn stream(
|
6651 + | &self,
|
6652 + | ) -> &crate::python_event_stream::OutputStreamWithInitialResponseOutputStreamEventStreamSender
|
6653 + | {
|
6654 + | &self.stream
|
6655 + | }
|
6656 + | }
|
6657 + | #[allow(clippy::new_without_default)]
|
6658 + | #[allow(clippy::too_many_arguments)]
|
6659 + | #[::pyo3::pymethods]
|
6660 + | impl OutputStreamWithInitialResponseOutput {
|
6661 + | #[new]
|
6662 + | pub fn new(
|
6663 + | initial_response_member: ::std::string::String,
|
6664 + | stream: crate::python_event_stream::OutputStreamWithInitialResponseOutputStreamEventStreamSender,
|
6665 + | ) -> Self {
|
6666 + | Self {
|
6667 + | initial_response_member,
|
6668 + | stream,
|
6669 + | }
|
6670 + | }
|
6671 + | fn __repr__(&self) -> String {
|
6672 + | format!("{self:?}")
|
6673 + | }
|
6674 + | fn __str__(&self) -> String {
|
6675 + | format!("{self:?}")
|
6676 + | }
|
6677 + | }
|
6678 + | impl<'source> ::pyo3::FromPyObject<'source>
|
6679 + | for std::boxed::Box<OutputStreamWithInitialResponseOutput>
|
6680 + | {
|
6681 + | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
6682 + | ob.extract::<OutputStreamWithInitialResponseOutput>()
|
6683 + | .map(Box::new)
|
6684 + | }
|
6685 + | }
|
6686 + |
|
6687 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OutputStreamWithInitialResponseOutput> {
|
6688 + | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
6689 + | (*self).into_py(py)
|
6690 + | }
|
6691 + | }
|
6692 + | impl OutputStreamWithInitialResponseOutput {
|
6693 + | /// Creates a new builder-style object to manufacture [`OutputStreamWithInitialResponseOutput`](crate::output::OutputStreamWithInitialResponseOutput).
|
6694 + | pub fn builder() -> crate::output::output_stream_with_initial_response_output::Builder {
|
6695 + | crate::output::output_stream_with_initial_response_output::Builder::default()
|
6696 + | }
|
6697 + | }
|
6698 + |
|
6699 + | #[::pyo3::pyclass]
|
6700 + | /// :param initial_response_member str:
|
6701 + | /// :param stream typing.AsyncIterator\[rest_json.model.EventStream\]:
|
6702 + | /// :rtype None:
|
6703 + | #[allow(missing_docs)] // documentation missing in model
|
6704 + | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
6705 + | pub struct DuplexStreamWithInitialMessagesOutput {
|
6706 + | #[pyo3(get, set)]
|
6707 + | /// :type str:
|
6708 + | #[allow(missing_docs)] // documentation missing in model
|
6709 + | pub initial_response_member: ::std::string::String,
|
6710 + | #[pyo3(get, set)]
|
6711 + | /// :type typing.AsyncIterator\[rest_json.model.EventStream\]:
|
6712 + | #[allow(missing_docs)] // documentation missing in model
|
6713 + | pub stream:
|
6714 + | crate::python_event_stream::DuplexStreamWithInitialMessagesOutputStreamEventStreamSender,
|
6715 + | }
|
6716 + | impl DuplexStreamWithInitialMessagesOutput {
|
6717 + | #[allow(missing_docs)] // documentation missing in model
|
6718 + | pub fn initial_response_member(&self) -> &str {
|
6719 + | use std::ops::Deref;
|
6720 + | self.initial_response_member.deref()
|
6721 + | }
|
6722 + | #[allow(missing_docs)] // documentation missing in model
|
6723 + | pub fn stream(
|
6724 + | &self,
|
6725 + | ) -> &crate::python_event_stream::DuplexStreamWithInitialMessagesOutputStreamEventStreamSender
|
6726 + | {
|
6727 + | &self.stream
|
6313 6728 | }
|
6314 6729 | }
|
6315 - |
|
6316 - | #[::pyo3::pyclass]
|
6317 - | /// :rtype None:
|
6318 - | #[allow(missing_docs)] // documentation missing in model
|
6319 - | #[derive(
|
6320 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
6321 - | )]
|
6322 - | pub struct NoInputAndOutputOutput {}
|
6323 6730 | #[allow(clippy::new_without_default)]
|
6324 6731 | #[allow(clippy::too_many_arguments)]
|
6325 6732 | #[::pyo3::pymethods]
|
6326 - | impl NoInputAndOutputOutput {
|
6733 + | impl DuplexStreamWithInitialMessagesOutput {
|
6327 6734 | #[new]
|
6328 - | pub fn new() -> Self {
|
6329 - | Self {}
|
6735 + | pub fn new(
|
6736 + | initial_response_member: ::std::string::String,
|
6737 + | stream: crate::python_event_stream::DuplexStreamWithInitialMessagesOutputStreamEventStreamSender,
|
6738 + | ) -> Self {
|
6739 + | Self {
|
6740 + | initial_response_member,
|
6741 + | stream,
|
6742 + | }
|
6330 6743 | }
|
6331 6744 | fn __repr__(&self) -> String {
|
6332 6745 | format!("{self:?}")
|
6333 6746 | }
|
6334 6747 | fn __str__(&self) -> String {
|
6335 6748 | format!("{self:?}")
|
6336 6749 | }
|
6337 6750 | }
|
6338 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NoInputAndOutputOutput> {
|
6751 + | impl<'source> ::pyo3::FromPyObject<'source>
|
6752 + | for std::boxed::Box<DuplexStreamWithInitialMessagesOutput>
|
6753 + | {
|
6339 6754 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
6340 - | ob.extract::<NoInputAndOutputOutput>().map(Box::new)
|
6755 + | ob.extract::<DuplexStreamWithInitialMessagesOutput>()
|
6756 + | .map(Box::new)
|
6341 6757 | }
|
6342 6758 | }
|
6343 6759 |
|
6344 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NoInputAndOutputOutput> {
|
6760 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DuplexStreamWithInitialMessagesOutput> {
|
6345 6761 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
6346 6762 | (*self).into_py(py)
|
6347 6763 | }
|
6348 6764 | }
|
6349 - | impl NoInputAndOutputOutput {
|
6350 - | /// Creates a new builder-style object to manufacture [`NoInputAndOutputOutput`](crate::output::NoInputAndOutputOutput).
|
6351 - | pub fn builder() -> crate::output::no_input_and_output_output::Builder {
|
6352 - | crate::output::no_input_and_output_output::Builder::default()
|
6765 + | impl DuplexStreamWithInitialMessagesOutput {
|
6766 + | /// Creates a new builder-style object to manufacture [`DuplexStreamWithInitialMessagesOutput`](crate::output::DuplexStreamWithInitialMessagesOutput).
|
6767 + | pub fn builder() -> crate::output::duplex_stream_with_initial_messages_output::Builder {
|
6768 + | crate::output::duplex_stream_with_initial_messages_output::Builder::default()
|
6353 6769 | }
|
6354 6770 | }
|
6355 6771 |
|
6356 6772 | #[::pyo3::pyclass]
|
6773 + | /// :param stream typing.Optional\[rest_json.model.SingletonEventStream\]:
|
6357 6774 | /// :rtype None:
|
6358 6775 | #[allow(missing_docs)] // documentation missing in model
|
6359 6776 | #[derive(
|
6360 6777 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
6361 6778 | )]
|
6362 - | pub struct NoInputAndNoOutputOutput {}
|
6779 + | pub struct DuplexStreamWithDistinctStreamsOutput {
|
6780 + | #[pyo3(get, set)]
|
6781 + | /// :type typing.Optional\[rest_json.model.SingletonEventStream\]:
|
6782 + | #[allow(missing_docs)] // documentation missing in model
|
6783 + | pub stream: ::std::option::Option<crate::model::SingletonEventStream>,
|
6784 + | }
|
6785 + | impl DuplexStreamWithDistinctStreamsOutput {
|
6786 + | #[allow(missing_docs)] // documentation missing in model
|
6787 + | pub fn stream(&self) -> ::std::option::Option<&crate::model::SingletonEventStream> {
|
6788 + | self.stream.as_ref()
|
6789 + | }
|
6790 + | }
|
6363 6791 | #[allow(clippy::new_without_default)]
|
6364 6792 | #[allow(clippy::too_many_arguments)]
|
6365 6793 | #[::pyo3::pymethods]
|
6366 - | impl NoInputAndNoOutputOutput {
|
6794 + | impl DuplexStreamWithDistinctStreamsOutput {
|
6367 6795 | #[new]
|
6368 - | pub fn new() -> Self {
|
6369 - | Self {}
|
6796 + | pub fn new(stream: ::std::option::Option<crate::model::SingletonEventStream>) -> Self {
|
6797 + | Self { stream }
|
6370 6798 | }
|
6371 6799 | fn __repr__(&self) -> String {
|
6372 6800 | format!("{self:?}")
|
6373 6801 | }
|
6374 6802 | fn __str__(&self) -> String {
|
6375 6803 | format!("{self:?}")
|
6376 6804 | }
|
6377 6805 | }
|
6378 - | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NoInputAndNoOutputOutput> {
|
6806 + | impl<'source> ::pyo3::FromPyObject<'source>
|
6807 + | for std::boxed::Box<DuplexStreamWithDistinctStreamsOutput>
|
6808 + | {
|
6379 6809 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
6380 - | ob.extract::<NoInputAndNoOutputOutput>().map(Box::new)
|
6810 + | ob.extract::<DuplexStreamWithDistinctStreamsOutput>()
|
6811 + | .map(Box::new)
|
6381 6812 | }
|
6382 6813 | }
|
6383 6814 |
|
6384 - | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NoInputAndNoOutputOutput> {
|
6815 + | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<DuplexStreamWithDistinctStreamsOutput> {
|
6385 6816 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
6386 6817 | (*self).into_py(py)
|
6387 6818 | }
|
6388 6819 | }
|
6389 - | impl NoInputAndNoOutputOutput {
|
6390 - | /// Creates a new builder-style object to manufacture [`NoInputAndNoOutputOutput`](crate::output::NoInputAndNoOutputOutput).
|
6391 - | pub fn builder() -> crate::output::no_input_and_no_output_output::Builder {
|
6392 - | crate::output::no_input_and_no_output_output::Builder::default()
|
6820 + | impl DuplexStreamWithDistinctStreamsOutput {
|
6821 + | /// Creates a new builder-style object to manufacture [`DuplexStreamWithDistinctStreamsOutput`](crate::output::DuplexStreamWithDistinctStreamsOutput).
|
6822 + | pub fn builder() -> crate::output::duplex_stream_with_distinct_streams_output::Builder {
|
6823 + | crate::output::duplex_stream_with_distinct_streams_output::Builder::default()
|
6393 6824 | }
|
6394 6825 | }
|
6395 - | /// See [`OperationWithNestedStructureOutput`](crate::output::OperationWithNestedStructureOutput).
|
6396 - | pub mod operation_with_nested_structure_output {
|
6826 + | /// See [`NoInputAndNoOutputOutput`](crate::output::NoInputAndNoOutputOutput).
|
6827 + | pub mod no_input_and_no_output_output {
|
6397 6828 |
|
6398 - | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
6399 - | /// Holds one variant for each of the ways the builder can fail.
|
6400 - | #[allow(clippy::enum_variant_names)]
|
6401 - | pub enum ConstraintViolation {
|
6402 - | /// `dialog` was not provided but it is required when building `OperationWithNestedStructureOutput`.
|
6403 - | MissingDialog,
|
6829 + | impl ::std::convert::From<Builder> for crate::output::NoInputAndNoOutputOutput {
|
6830 + | fn from(builder: Builder) -> Self {
|
6831 + | builder.build()
|
6832 + | }
|
6404 6833 | }
|
6405 - | impl ::std::fmt::Display for ConstraintViolation {
|
6406 - | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
6407 - | match self {
|
6408 - | ConstraintViolation::MissingDialog => write!(f, "`dialog` was not provided but it is required when building `OperationWithNestedStructureOutput`"),
|
6409 - | }
|
6834 + | /// A builder for [`NoInputAndNoOutputOutput`](crate::output::NoInputAndNoOutputOutput).
|
6835 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6836 + | pub struct Builder {}
|
6837 + | impl Builder {
|
6838 + | /// Consumes the builder and constructs a [`NoInputAndNoOutputOutput`](crate::output::NoInputAndNoOutputOutput).
|
6839 + | pub fn build(self) -> crate::output::NoInputAndNoOutputOutput {
|
6840 + | self.build_enforcing_required_and_enum_traits()
|
6841 + | }
|
6842 + | fn build_enforcing_required_and_enum_traits(
|
6843 + | self,
|
6844 + | ) -> crate::output::NoInputAndNoOutputOutput {
|
6845 + | crate::output::NoInputAndNoOutputOutput {}
|
6410 6846 | }
|
6411 6847 | }
|
6412 - | impl ::std::error::Error for ConstraintViolation {}
|
6413 - | impl ::std::convert::TryFrom<Builder> for crate::output::OperationWithNestedStructureOutput {
|
6414 - | type Error = ConstraintViolation;
|
6848 + | }
|
6849 + | /// See [`NoInputAndOutputOutput`](crate::output::NoInputAndOutputOutput).
|
6850 + | pub mod no_input_and_output_output {
|
6415 6851 |
|
6416 - | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
6852 + | impl ::std::convert::From<Builder> for crate::output::NoInputAndOutputOutput {
|
6853 + | fn from(builder: Builder) -> Self {
|
6417 6854 | builder.build()
|
6418 6855 | }
|
6419 6856 | }
|
6420 - | /// A builder for [`OperationWithNestedStructureOutput`](crate::output::OperationWithNestedStructureOutput).
|
6857 + | /// A builder for [`NoInputAndOutputOutput`](crate::output::NoInputAndOutputOutput).
|
6421 6858 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6422 - | pub struct Builder {
|
6423 - | pub(crate) dialog: ::std::option::Option<crate::model::Dialog>,
|
6424 - | pub(crate) dialog_list: ::std::option::Option<::std::vec::Vec<crate::model::Dialog>>,
|
6425 - | pub(crate) dialog_map: ::std::option::Option<
|
6426 - | ::std::collections::HashMap<::std::string::String, crate::model::Dialog>,
|
6427 - | >,
|
6428 - | }
|
6859 + | pub struct Builder {}
|
6429 6860 | impl Builder {
|
6430 - | #[allow(missing_docs)] // documentation missing in model
|
6431 - | pub fn dialog(mut self, input: crate::model::Dialog) -> Self {
|
6432 - | self.dialog = Some(input);
|
6433 - | self
|
6861 + | /// Consumes the builder and constructs a [`NoInputAndOutputOutput`](crate::output::NoInputAndOutputOutput).
|
6862 + | pub fn build(self) -> crate::output::NoInputAndOutputOutput {
|
6863 + | self.build_enforcing_required_and_enum_traits()
|
6434 6864 | }
|
6435 - | #[allow(missing_docs)] // documentation missing in model
|
6436 - | pub fn dialog_list(mut self, input: ::std::vec::Vec<crate::model::Dialog>) -> Self {
|
6437 - | self.dialog_list = Some(input);
|
6438 - | self
|
6865 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::NoInputAndOutputOutput {
|
6866 + | crate::output::NoInputAndOutputOutput {}
|
6439 6867 | }
|
6440 - | #[allow(missing_docs)] // documentation missing in model
|
6441 - | pub fn dialog_map(
|
6442 - | mut self,
|
6443 - | input: ::std::collections::HashMap<::std::string::String, crate::model::Dialog>,
|
6444 - | ) -> Self {
|
6445 - | self.dialog_map = Some(input);
|
6446 - | self
|
6868 + | }
|
6869 + | }
|
6870 + | /// See [`EmptyInputAndEmptyOutputOutput`](crate::output::EmptyInputAndEmptyOutputOutput).
|
6871 + | pub mod empty_input_and_empty_output_output {
|
6872 + |
|
6873 + | impl ::std::convert::From<Builder> for crate::output::EmptyInputAndEmptyOutputOutput {
|
6874 + | fn from(builder: Builder) -> Self {
|
6875 + | builder.build()
|
6447 6876 | }
|
6448 - | /// Consumes the builder and constructs a [`OperationWithNestedStructureOutput`](crate::output::OperationWithNestedStructureOutput).
|
6449 - | ///
|
6450 - | /// The builder fails to construct a [`OperationWithNestedStructureOutput`](crate::output::OperationWithNestedStructureOutput) if you do not provide a value for all non-`Option`al members.
|
6451 - | ///
|
6452 - | pub fn build(
|
6453 - | self,
|
6454 - | ) -> Result<crate::output::OperationWithNestedStructureOutput, ConstraintViolation>
|
6455 - | {
|
6877 + | }
|
6878 + | /// A builder for [`EmptyInputAndEmptyOutputOutput`](crate::output::EmptyInputAndEmptyOutputOutput).
|
6879 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6880 + | pub struct Builder {}
|
6881 + | impl Builder {
|
6882 + | /// Consumes the builder and constructs a [`EmptyInputAndEmptyOutputOutput`](crate::output::EmptyInputAndEmptyOutputOutput).
|
6883 + | pub fn build(self) -> crate::output::EmptyInputAndEmptyOutputOutput {
|
6456 6884 | self.build_enforcing_required_and_enum_traits()
|
6457 6885 | }
|
6458 6886 | fn build_enforcing_required_and_enum_traits(
|
6459 6887 | self,
|
6460 - | ) -> Result<crate::output::OperationWithNestedStructureOutput, ConstraintViolation>
|
6461 - | {
|
6462 - | Ok(crate::output::OperationWithNestedStructureOutput {
|
6463 - | dialog: self.dialog.ok_or(ConstraintViolation::MissingDialog)?,
|
6464 - | dialog_list: self.dialog_list.unwrap_or_default(),
|
6465 - | dialog_map: self.dialog_map.unwrap_or_default(),
|
6466 - | })
|
6888 + | ) -> crate::output::EmptyInputAndEmptyOutputOutput {
|
6889 + | crate::output::EmptyInputAndEmptyOutputOutput {}
|
6467 6890 | }
|
6468 6891 | }
|
6469 6892 | }
|
6470 - | /// See [`OperationWithDefaultsOutput`](crate::output::OperationWithDefaultsOutput).
|
6471 - | pub mod operation_with_defaults_output {
|
6893 + | /// See [`UnitInputAndOutputOutput`](crate::output::UnitInputAndOutputOutput).
|
6894 + | pub mod unit_input_and_output_output {
|
6472 6895 |
|
6473 - | impl ::std::convert::From<Builder> for crate::output::OperationWithDefaultsOutput {
|
6896 + | impl ::std::convert::From<Builder> for crate::output::UnitInputAndOutputOutput {
|
6474 6897 | fn from(builder: Builder) -> Self {
|
6475 6898 | builder.build()
|
6476 6899 | }
|
6477 6900 | }
|
6478 - | /// A builder for [`OperationWithDefaultsOutput`](crate::output::OperationWithDefaultsOutput).
|
6901 + | /// A builder for [`UnitInputAndOutputOutput`](crate::output::UnitInputAndOutputOutput).
|
6479 6902 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6480 - | pub struct Builder {
|
6481 - | pub(crate) default_string: ::std::option::Option<::std::string::String>,
|
6482 - | pub(crate) default_boolean: ::std::option::Option<bool>,
|
6483 - | pub(crate) default_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
6484 - | pub(crate) default_document_map:
|
6485 - | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
6486 - | pub(crate) default_document_string:
|
6487 - | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
6488 - | pub(crate) default_document_boolean:
|
6489 - | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
6490 - | pub(crate) default_document_list:
|
6491 - | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
6492 - | pub(crate) default_null_document:
|
6493 - | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
6494 - | pub(crate) default_timestamp:
|
6495 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
6496 - | pub(crate) default_blob:
|
6497 - | ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
6498 - | pub(crate) default_byte: ::std::option::Option<i8>,
|
6499 - | pub(crate) default_short: ::std::option::Option<i16>,
|
6500 - | pub(crate) default_integer: ::std::option::Option<i32>,
|
6501 - | pub(crate) default_long: ::std::option::Option<i64>,
|
6502 - | pub(crate) default_float: ::std::option::Option<f32>,
|
6503 - | pub(crate) default_double: ::std::option::Option<f64>,
|
6504 - | pub(crate) default_map: ::std::option::Option<
|
6505 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
6506 - | >,
|
6507 - | pub(crate) default_enum: ::std::option::Option<crate::model::TestEnum>,
|
6508 - | pub(crate) default_int_enum: ::std::option::Option<i32>,
|
6509 - | pub(crate) empty_string: ::std::option::Option<::std::string::String>,
|
6510 - | pub(crate) false_boolean: ::std::option::Option<bool>,
|
6511 - | pub(crate) empty_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
6512 - | pub(crate) zero_byte: ::std::option::Option<i8>,
|
6513 - | pub(crate) zero_short: ::std::option::Option<i16>,
|
6514 - | pub(crate) zero_integer: ::std::option::Option<i32>,
|
6515 - | pub(crate) zero_long: ::std::option::Option<i64>,
|
6516 - | pub(crate) zero_float: ::std::option::Option<f32>,
|
6517 - | pub(crate) zero_double: ::std::option::Option<f64>,
|
6518 - | }
|
6903 + | pub struct Builder {}
|
6519 6904 | impl Builder {
|
6520 - | #[allow(missing_docs)] // documentation missing in model
|
6521 - | pub fn default_string(mut self, input: ::std::string::String) -> Self {
|
6522 - | self.default_string = Some(input);
|
6523 - | self
|
6524 - | }
|
6525 - | #[allow(missing_docs)] // documentation missing in model
|
6526 - | pub fn default_boolean(mut self, input: bool) -> Self {
|
6527 - | self.default_boolean = Some(input);
|
6528 - | self
|
6529 - | }
|
6530 - | #[allow(missing_docs)] // documentation missing in model
|
6531 - | pub fn default_list(mut self, input: ::std::vec::Vec<::std::string::String>) -> Self {
|
6532 - | self.default_list = Some(input);
|
6533 - | self
|
6534 - | }
|
6535 - | #[allow(missing_docs)] // documentation missing in model
|
6536 - | pub fn default_document_map(
|
6537 - | mut self,
|
6538 - | input: ::aws_smithy_http_server_python::types::Document,
|
6539 - | ) -> Self {
|
6540 - | self.default_document_map = Some(input);
|
6541 - | self
|
6542 - | }
|
6543 - | #[allow(missing_docs)] // documentation missing in model
|
6544 - | pub fn default_document_string(
|
6545 - | mut self,
|
6546 - | input: ::aws_smithy_http_server_python::types::Document,
|
6547 - | ) -> Self {
|
6548 - | self.default_document_string = Some(input);
|
6549 - | self
|
6905 + | /// Consumes the builder and constructs a [`UnitInputAndOutputOutput`](crate::output::UnitInputAndOutputOutput).
|
6906 + | pub fn build(self) -> crate::output::UnitInputAndOutputOutput {
|
6907 + | self.build_enforcing_required_and_enum_traits()
|
6550 6908 | }
|
6551 - | #[allow(missing_docs)] // documentation missing in model
|
6552 - | pub fn default_document_boolean(
|
6553 - | mut self,
|
6554 - | input: ::aws_smithy_http_server_python::types::Document,
|
6555 - | ) -> Self {
|
6556 - | self.default_document_boolean = Some(input);
|
6557 - | self
|
6909 + | fn build_enforcing_required_and_enum_traits(
|
6910 + | self,
|
6911 + | ) -> crate::output::UnitInputAndOutputOutput {
|
6912 + | crate::output::UnitInputAndOutputOutput {}
|
6558 6913 | }
|
6559 - | #[allow(missing_docs)] // documentation missing in model
|
6560 - | pub fn default_document_list(
|
6561 - | mut self,
|
6562 - | input: ::aws_smithy_http_server_python::types::Document,
|
6563 - | ) -> Self {
|
6564 - | self.default_document_list = Some(input);
|
6565 - | self
|
6914 + | }
|
6915 + | }
|
6916 + | /// See [`InputAndOutputWithHeadersOutput`](crate::output::InputAndOutputWithHeadersOutput).
|
6917 + | pub mod input_and_output_with_headers_output {
|
6918 + |
|
6919 + | impl ::std::convert::From<Builder> for crate::output::InputAndOutputWithHeadersOutput {
|
6920 + | fn from(builder: Builder) -> Self {
|
6921 + | builder.build()
|
6566 6922 | }
|
6923 + | }
|
6924 + | /// A builder for [`InputAndOutputWithHeadersOutput`](crate::output::InputAndOutputWithHeadersOutput).
|
6925 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6926 + | pub struct Builder {
|
6927 + | pub(crate) header_string: ::std::option::Option<::std::string::String>,
|
6928 + | pub(crate) header_byte: ::std::option::Option<i8>,
|
6929 + | pub(crate) header_short: ::std::option::Option<i16>,
|
6930 + | pub(crate) header_integer: ::std::option::Option<i32>,
|
6931 + | pub(crate) header_long: ::std::option::Option<i64>,
|
6932 + | pub(crate) header_float: ::std::option::Option<f32>,
|
6933 + | pub(crate) header_double: ::std::option::Option<f64>,
|
6934 + | pub(crate) header_true_bool: ::std::option::Option<bool>,
|
6935 + | pub(crate) header_false_bool: ::std::option::Option<bool>,
|
6936 + | pub(crate) header_string_list:
|
6937 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
6938 + | pub(crate) header_string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
6939 + | pub(crate) header_integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
6940 + | pub(crate) header_boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
6941 + | pub(crate) header_timestamp_list: ::std::option::Option<
|
6942 + | ::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>,
|
6943 + | >,
|
6944 + | pub(crate) header_enum: ::std::option::Option<crate::model::FooEnum>,
|
6945 + | pub(crate) header_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
6946 + | pub(crate) header_integer_enum: ::std::option::Option<i32>,
|
6947 + | pub(crate) header_integer_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
6948 + | }
|
6949 + | impl Builder {
|
6567 6950 | #[allow(missing_docs)] // documentation missing in model
|
6568 - | pub fn default_null_document(
|
6951 + | pub fn header_string(
|
6569 6952 | mut self,
|
6570 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
6953 + | input: ::std::option::Option<::std::string::String>,
|
6571 6954 | ) -> Self {
|
6572 - | self.default_null_document = input;
|
6955 + | self.header_string = input;
|
6573 6956 | self
|
6574 6957 | }
|
6575 6958 | #[allow(missing_docs)] // documentation missing in model
|
6576 - | pub fn default_timestamp(
|
6577 - | mut self,
|
6578 - | input: ::aws_smithy_http_server_python::types::DateTime,
|
6579 - | ) -> Self {
|
6580 - | self.default_timestamp = Some(input);
|
6959 + | pub fn header_byte(mut self, input: ::std::option::Option<i8>) -> Self {
|
6960 + | self.header_byte = input;
|
6581 6961 | self
|
6582 6962 | }
|
6583 6963 | #[allow(missing_docs)] // documentation missing in model
|
6584 - | pub fn default_blob(mut self, input: ::aws_smithy_http_server_python::types::Blob) -> Self {
|
6585 - | self.default_blob = Some(input);
|
6964 + | pub fn header_short(mut self, input: ::std::option::Option<i16>) -> Self {
|
6965 + | self.header_short = input;
|
6586 6966 | self
|
6587 6967 | }
|
6588 6968 | #[allow(missing_docs)] // documentation missing in model
|
6589 - | pub fn default_byte(mut self, input: i8) -> Self {
|
6590 - | self.default_byte = Some(input);
|
6969 + | pub fn header_integer(mut self, input: ::std::option::Option<i32>) -> Self {
|
6970 + | self.header_integer = input;
|
6591 6971 | self
|
6592 6972 | }
|
6593 6973 | #[allow(missing_docs)] // documentation missing in model
|
6594 - | pub fn default_short(mut self, input: i16) -> Self {
|
6595 - | self.default_short = Some(input);
|
6974 + | pub fn header_long(mut self, input: ::std::option::Option<i64>) -> Self {
|
6975 + | self.header_long = input;
|
6596 6976 | self
|
6597 6977 | }
|
6598 6978 | #[allow(missing_docs)] // documentation missing in model
|
6599 - | pub fn default_integer(mut self, input: i32) -> Self {
|
6600 - | self.default_integer = Some(input);
|
6979 + | pub fn header_float(mut self, input: ::std::option::Option<f32>) -> Self {
|
6980 + | self.header_float = input;
|
6601 6981 | self
|
6602 6982 | }
|
6603 6983 | #[allow(missing_docs)] // documentation missing in model
|
6604 - | pub fn default_long(mut self, input: i64) -> Self {
|
6605 - | self.default_long = Some(input);
|
6984 + | pub fn header_double(mut self, input: ::std::option::Option<f64>) -> Self {
|
6985 + | self.header_double = input;
|
6606 6986 | self
|
6607 6987 | }
|
6608 6988 | #[allow(missing_docs)] // documentation missing in model
|
6609 - | pub fn default_float(mut self, input: f32) -> Self {
|
6610 - | self.default_float = Some(input);
|
6989 + | pub fn header_true_bool(mut self, input: ::std::option::Option<bool>) -> Self {
|
6990 + | self.header_true_bool = input;
|
6611 6991 | self
|
6612 6992 | }
|
6613 6993 | #[allow(missing_docs)] // documentation missing in model
|
6614 - | pub fn default_double(mut self, input: f64) -> Self {
|
6615 - | self.default_double = Some(input);
|
6994 + | pub fn header_false_bool(mut self, input: ::std::option::Option<bool>) -> Self {
|
6995 + | self.header_false_bool = input;
|
6616 6996 | self
|
6617 6997 | }
|
6618 6998 | #[allow(missing_docs)] // documentation missing in model
|
6619 - | pub fn default_map(
|
6999 + | pub fn header_string_list(
|
6620 7000 | mut self,
|
6621 - | input: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
7001 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
6622 7002 | ) -> Self {
|
6623 - | self.default_map = Some(input);
|
6624 - | self
|
6625 - | }
|
6626 - | #[allow(missing_docs)] // documentation missing in model
|
6627 - | pub fn default_enum(mut self, input: crate::model::TestEnum) -> Self {
|
6628 - | self.default_enum = Some(input);
|
6629 - | self
|
6630 - | }
|
6631 - | #[allow(missing_docs)] // documentation missing in model
|
6632 - | pub fn default_int_enum(mut self, input: i32) -> Self {
|
6633 - | self.default_int_enum = Some(input);
|
6634 - | self
|
6635 - | }
|
6636 - | #[allow(missing_docs)] // documentation missing in model
|
6637 - | pub fn empty_string(mut self, input: ::std::string::String) -> Self {
|
6638 - | self.empty_string = Some(input);
|
7003 + | self.header_string_list = input;
|
6639 7004 | self
|
6640 7005 | }
|
6641 7006 | #[allow(missing_docs)] // documentation missing in model
|
6642 - | pub fn false_boolean(mut self, input: bool) -> Self {
|
6643 - | self.false_boolean = Some(input);
|
7007 + | pub fn header_string_set(
|
7008 + | mut self,
|
7009 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
7010 + | ) -> Self {
|
7011 + | self.header_string_set = input;
|
6644 7012 | self
|
6645 7013 | }
|
6646 7014 | #[allow(missing_docs)] // documentation missing in model
|
6647 - | pub fn empty_blob(mut self, input: ::aws_smithy_http_server_python::types::Blob) -> Self {
|
6648 - | self.empty_blob = Some(input);
|
7015 + | pub fn header_integer_list(
|
7016 + | mut self,
|
7017 + | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
7018 + | ) -> Self {
|
7019 + | self.header_integer_list = input;
|
6649 7020 | self
|
6650 7021 | }
|
6651 7022 | #[allow(missing_docs)] // documentation missing in model
|
6652 - | pub fn zero_byte(mut self, input: i8) -> Self {
|
6653 - | self.zero_byte = Some(input);
|
7023 + | pub fn header_boolean_list(
|
7024 + | mut self,
|
7025 + | input: ::std::option::Option<::std::vec::Vec<bool>>,
|
7026 + | ) -> Self {
|
7027 + | self.header_boolean_list = input;
|
6654 7028 | self
|
6655 7029 | }
|
6656 7030 | #[allow(missing_docs)] // documentation missing in model
|
6657 - | pub fn zero_short(mut self, input: i16) -> Self {
|
6658 - | self.zero_short = Some(input);
|
7031 + | pub fn header_timestamp_list(
|
7032 + | mut self,
|
7033 + | input: ::std::option::Option<
|
7034 + | ::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>,
|
7035 + | >,
|
7036 + | ) -> Self {
|
7037 + | self.header_timestamp_list = input;
|
6659 7038 | self
|
6660 7039 | }
|
6661 7040 | #[allow(missing_docs)] // documentation missing in model
|
6662 - | pub fn zero_integer(mut self, input: i32) -> Self {
|
6663 - | self.zero_integer = Some(input);
|
7041 + | pub fn header_enum(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
7042 + | self.header_enum = input;
|
6664 7043 | self
|
6665 7044 | }
|
6666 7045 | #[allow(missing_docs)] // documentation missing in model
|
6667 - | pub fn zero_long(mut self, input: i64) -> Self {
|
6668 - | self.zero_long = Some(input);
|
7046 + | pub fn header_enum_list(
|
7047 + | mut self,
|
7048 + | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
7049 + | ) -> Self {
|
7050 + | self.header_enum_list = input;
|
6669 7051 | self
|
6670 7052 | }
|
6671 7053 | #[allow(missing_docs)] // documentation missing in model
|
6672 - | pub fn zero_float(mut self, input: f32) -> Self {
|
6673 - | self.zero_float = Some(input);
|
7054 + | pub fn header_integer_enum(mut self, input: ::std::option::Option<i32>) -> Self {
|
7055 + | self.header_integer_enum = input;
|
6674 7056 | self
|
6675 7057 | }
|
6676 7058 | #[allow(missing_docs)] // documentation missing in model
|
6677 - | pub fn zero_double(mut self, input: f64) -> Self {
|
6678 - | self.zero_double = Some(input);
|
7059 + | pub fn header_integer_enum_list(
|
7060 + | mut self,
|
7061 + | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
7062 + | ) -> Self {
|
7063 + | self.header_integer_enum_list = input;
|
6679 7064 | self
|
6680 7065 | }
|
6681 - | /// Consumes the builder and constructs a [`OperationWithDefaultsOutput`](crate::output::OperationWithDefaultsOutput).
|
6682 - | pub fn build(self) -> crate::output::OperationWithDefaultsOutput {
|
6683 - | self.build_enforcing_required_and_enum_traits()
|
6684 - | }
|
6685 - | fn build_enforcing_required_and_enum_traits(
|
6686 - | self,
|
6687 - | ) -> crate::output::OperationWithDefaultsOutput {
|
6688 - | crate::output::OperationWithDefaultsOutput {
|
6689 - | default_string: self.default_string.unwrap_or_else(|| String::from("hi")),
|
6690 - | default_boolean: self.default_boolean.unwrap_or(true),
|
6691 - | default_list: self.default_list.unwrap_or_default(),
|
6692 - | default_document_map: self.default_document_map.unwrap_or_else(|| {
|
6693 - | ::aws_smithy_types::Document::Object(::std::collections::HashMap::new()).into()
|
6694 - | }),
|
6695 - | default_document_string: self.default_document_string.unwrap_or_else(|| {
|
6696 - | ::aws_smithy_types::Document::String(::std::string::String::from("hi")).into()
|
6697 - | }),
|
6698 - | default_document_boolean: self
|
6699 - | .default_document_boolean
|
6700 - | .unwrap_or(::aws_smithy_types::Document::Bool(true).into()),
|
6701 - | default_document_list: self.default_document_list.unwrap_or_else(|| {
|
6702 - | ::aws_smithy_types::Document::Array(::std::vec::Vec::new()).into()
|
6703 - | }),
|
6704 - | default_null_document: self.default_null_document,
|
6705 - | default_timestamp: self.default_timestamp.unwrap_or_else(|| {
|
6706 - | ::aws_smithy_types::DateTime::from_fractional_secs(0, 0_f64).into()
|
6707 - | }),
|
6708 - | default_blob: self
|
6709 - | .default_blob
|
6710 - | .unwrap_or_else(|| ::aws_smithy_types::Blob::new("YWJj").into()),
|
6711 - | default_byte: self.default_byte.unwrap_or(1i8),
|
6712 - | default_short: self.default_short.unwrap_or(1i16),
|
6713 - | default_integer: self.default_integer.unwrap_or(10i32),
|
6714 - | default_long: self.default_long.unwrap_or(100i64),
|
6715 - | default_float: self.default_float.unwrap_or(1.0f32),
|
6716 - | default_double: self.default_double.unwrap_or(1.0f64),
|
6717 - | default_map: self.default_map.unwrap_or_default(),
|
6718 - | default_enum: self.default_enum.unwrap_or(
|
6719 - | "FOO"
|
6720 - | .parse::<crate::model::TestEnum>()
|
6721 - | .expect("static value validated to member"),
|
6722 - | ),
|
6723 - | default_int_enum: self.default_int_enum.unwrap_or(1i32),
|
6724 - | empty_string: self.empty_string.unwrap_or_else(|| String::from("")),
|
6725 - | false_boolean: self.false_boolean.unwrap_or(false),
|
6726 - | empty_blob: self
|
6727 - | .empty_blob
|
6728 - | .unwrap_or_else(|| ::aws_smithy_types::Blob::new("").into()),
|
6729 - | zero_byte: self.zero_byte.unwrap_or(0i8),
|
6730 - | zero_short: self.zero_short.unwrap_or(0i16),
|
6731 - | zero_integer: self.zero_integer.unwrap_or(0i32),
|
6732 - | zero_long: self.zero_long.unwrap_or(0i64),
|
6733 - | zero_float: self.zero_float.unwrap_or(0.0f32),
|
6734 - | zero_double: self.zero_double.unwrap_or(0.0f64),
|
6735 - | }
|
6736 - | }
|
6737 - | }
|
6738 - | }
|
6739 - | /// See [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
6740 - | pub mod content_type_parameters_output {
|
6741 - |
|
6742 - | impl ::std::convert::From<Builder> for crate::output::ContentTypeParametersOutput {
|
6743 - | fn from(builder: Builder) -> Self {
|
6744 - | builder.build()
|
6745 - | }
|
6746 - | }
|
6747 - | /// A builder for [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
6748 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6749 - | pub struct Builder {}
|
6750 - | impl Builder {
|
6751 - | /// Consumes the builder and constructs a [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
6752 - | pub fn build(self) -> crate::output::ContentTypeParametersOutput {
|
6753 - | self.build_enforcing_required_and_enum_traits()
|
6754 - | }
|
6755 - | fn build_enforcing_required_and_enum_traits(
|
6756 - | self,
|
6757 - | ) -> crate::output::ContentTypeParametersOutput {
|
6758 - | crate::output::ContentTypeParametersOutput {}
|
6759 - | }
|
6760 - | }
|
6761 - | }
|
6762 - | /// See [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
6763 - | pub mod put_with_content_encoding_output {
|
6764 - |
|
6765 - | impl ::std::convert::From<Builder> for crate::output::PutWithContentEncodingOutput {
|
6766 - | fn from(builder: Builder) -> Self {
|
6767 - | builder.build()
|
6768 - | }
|
6769 - | }
|
6770 - | /// A builder for [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
6771 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6772 - | pub struct Builder {}
|
6773 - | impl Builder {
|
6774 - | /// Consumes the builder and constructs a [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
6775 - | pub fn build(self) -> crate::output::PutWithContentEncodingOutput {
|
7066 + | /// Consumes the builder and constructs a [`InputAndOutputWithHeadersOutput`](crate::output::InputAndOutputWithHeadersOutput).
|
7067 + | pub fn build(self) -> crate::output::InputAndOutputWithHeadersOutput {
|
6776 7068 | self.build_enforcing_required_and_enum_traits()
|
6777 7069 | }
|
6778 7070 | fn build_enforcing_required_and_enum_traits(
|
6779 7071 | self,
|
6780 - | ) -> crate::output::PutWithContentEncodingOutput {
|
6781 - | crate::output::PutWithContentEncodingOutput {}
|
7072 + | ) -> crate::output::InputAndOutputWithHeadersOutput {
|
7073 + | crate::output::InputAndOutputWithHeadersOutput {
|
7074 + | header_string: self.header_string,
|
7075 + | header_byte: self.header_byte,
|
7076 + | header_short: self.header_short,
|
7077 + | header_integer: self.header_integer,
|
7078 + | header_long: self.header_long,
|
7079 + | header_float: self.header_float,
|
7080 + | header_double: self.header_double,
|
7081 + | header_true_bool: self.header_true_bool,
|
7082 + | header_false_bool: self.header_false_bool,
|
7083 + | header_string_list: self.header_string_list,
|
7084 + | header_string_set: self.header_string_set,
|
7085 + | header_integer_list: self.header_integer_list,
|
7086 + | header_boolean_list: self.header_boolean_list,
|
7087 + | header_timestamp_list: self.header_timestamp_list,
|
7088 + | header_enum: self.header_enum,
|
7089 + | header_enum_list: self.header_enum_list,
|
7090 + | header_integer_enum: self.header_integer_enum,
|
7091 + | header_integer_enum_list: self.header_integer_enum_list,
|
7092 + | }
|
6782 7093 | }
|
6783 7094 | }
|
6784 7095 | }
|
6785 - | /// See [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
6786 - | pub mod fractional_seconds_output {
|
7096 + | /// See [`NullAndEmptyHeadersClientOutput`](crate::output::NullAndEmptyHeadersClientOutput).
|
7097 + | pub mod null_and_empty_headers_client_output {
|
6787 7098 |
|
6788 - | impl ::std::convert::From<Builder> for crate::output::FractionalSecondsOutput {
|
7099 + | impl ::std::convert::From<Builder> for crate::output::NullAndEmptyHeadersClientOutput {
|
6789 7100 | fn from(builder: Builder) -> Self {
|
6790 7101 | builder.build()
|
6791 7102 | }
|
6792 7103 | }
|
6793 - | /// A builder for [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
7104 + | /// A builder for [`NullAndEmptyHeadersClientOutput`](crate::output::NullAndEmptyHeadersClientOutput).
|
6794 7105 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6795 7106 | pub struct Builder {
|
6796 - | pub(crate) datetime:
|
6797 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7107 + | pub(crate) a: ::std::option::Option<::std::string::String>,
|
7108 + | pub(crate) b: ::std::option::Option<::std::string::String>,
|
7109 + | pub(crate) c: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
6798 7110 | }
|
6799 7111 | impl Builder {
|
6800 7112 | #[allow(missing_docs)] // documentation missing in model
|
6801 - | pub fn datetime(
|
7113 + | pub fn a(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7114 + | self.a = input;
|
7115 + | self
|
7116 + | }
|
7117 + | #[allow(missing_docs)] // documentation missing in model
|
7118 + | pub fn b(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7119 + | self.b = input;
|
7120 + | self
|
7121 + | }
|
7122 + | #[allow(missing_docs)] // documentation missing in model
|
7123 + | pub fn c(
|
6802 7124 | mut self,
|
6803 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7125 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
6804 7126 | ) -> Self {
|
6805 - | self.datetime = input;
|
7127 + | self.c = input;
|
6806 7128 | self
|
6807 7129 | }
|
6808 - | /// Consumes the builder and constructs a [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
6809 - | pub fn build(self) -> crate::output::FractionalSecondsOutput {
|
7130 + | /// Consumes the builder and constructs a [`NullAndEmptyHeadersClientOutput`](crate::output::NullAndEmptyHeadersClientOutput).
|
7131 + | pub fn build(self) -> crate::output::NullAndEmptyHeadersClientOutput {
|
6810 7132 | self.build_enforcing_required_and_enum_traits()
|
6811 7133 | }
|
6812 7134 | fn build_enforcing_required_and_enum_traits(
|
6813 7135 | self,
|
6814 - | ) -> crate::output::FractionalSecondsOutput {
|
6815 - | crate::output::FractionalSecondsOutput {
|
6816 - | datetime: self.datetime,
|
7136 + | ) -> crate::output::NullAndEmptyHeadersClientOutput {
|
7137 + | crate::output::NullAndEmptyHeadersClientOutput {
|
7138 + | a: self.a,
|
7139 + | b: self.b,
|
7140 + | c: self.c,
|
6817 7141 | }
|
6818 7142 | }
|
6819 7143 | }
|
6820 7144 | }
|
6821 - | /// See [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
6822 - | pub mod datetime_offsets_output {
|
7145 + | /// See [`NullAndEmptyHeadersServerOutput`](crate::output::NullAndEmptyHeadersServerOutput).
|
7146 + | pub mod null_and_empty_headers_server_output {
|
6823 7147 |
|
6824 - | impl ::std::convert::From<Builder> for crate::output::DatetimeOffsetsOutput {
|
7148 + | impl ::std::convert::From<Builder> for crate::output::NullAndEmptyHeadersServerOutput {
|
6825 7149 | fn from(builder: Builder) -> Self {
|
6826 7150 | builder.build()
|
6827 7151 | }
|
6828 7152 | }
|
6829 - | /// A builder for [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
7153 + | /// A builder for [`NullAndEmptyHeadersServerOutput`](crate::output::NullAndEmptyHeadersServerOutput).
|
6830 7154 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6831 7155 | pub struct Builder {
|
6832 - | pub(crate) datetime:
|
6833 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7156 + | pub(crate) a: ::std::option::Option<::std::string::String>,
|
7157 + | pub(crate) b: ::std::option::Option<::std::string::String>,
|
7158 + | pub(crate) c: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
6834 7159 | }
|
6835 7160 | impl Builder {
|
6836 7161 | #[allow(missing_docs)] // documentation missing in model
|
6837 - | pub fn datetime(
|
7162 + | pub fn a(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7163 + | self.a = input;
|
7164 + | self
|
7165 + | }
|
7166 + | #[allow(missing_docs)] // documentation missing in model
|
7167 + | pub fn b(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7168 + | self.b = input;
|
7169 + | self
|
7170 + | }
|
7171 + | #[allow(missing_docs)] // documentation missing in model
|
7172 + | pub fn c(
|
6838 7173 | mut self,
|
6839 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7174 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
6840 7175 | ) -> Self {
|
6841 - | self.datetime = input;
|
7176 + | self.c = input;
|
6842 7177 | self
|
6843 7178 | }
|
6844 - | /// Consumes the builder and constructs a [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
6845 - | pub fn build(self) -> crate::output::DatetimeOffsetsOutput {
|
7179 + | /// Consumes the builder and constructs a [`NullAndEmptyHeadersServerOutput`](crate::output::NullAndEmptyHeadersServerOutput).
|
7180 + | pub fn build(self) -> crate::output::NullAndEmptyHeadersServerOutput {
|
6846 7181 | self.build_enforcing_required_and_enum_traits()
|
6847 7182 | }
|
6848 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::DatetimeOffsetsOutput {
|
6849 - | crate::output::DatetimeOffsetsOutput {
|
6850 - | datetime: self.datetime,
|
7183 + | fn build_enforcing_required_and_enum_traits(
|
7184 + | self,
|
7185 + | ) -> crate::output::NullAndEmptyHeadersServerOutput {
|
7186 + | crate::output::NullAndEmptyHeadersServerOutput {
|
7187 + | a: self.a,
|
7188 + | b: self.b,
|
7189 + | c: self.c,
|
6851 7190 | }
|
6852 7191 | }
|
6853 7192 | }
|
6854 7193 | }
|
6855 - | /// See [`TestPostNoInputNoPayloadOutput`](crate::output::TestPostNoInputNoPayloadOutput).
|
6856 - | pub mod test_post_no_input_no_payload_output {
|
7194 + | /// See [`TimestampFormatHeadersOutput`](crate::output::TimestampFormatHeadersOutput).
|
7195 + | pub mod timestamp_format_headers_output {
|
6857 7196 |
|
6858 - | impl ::std::convert::From<Builder> for crate::output::TestPostNoInputNoPayloadOutput {
|
7197 + | impl ::std::convert::From<Builder> for crate::output::TimestampFormatHeadersOutput {
|
6859 7198 | fn from(builder: Builder) -> Self {
|
6860 7199 | builder.build()
|
6861 7200 | }
|
6862 7201 | }
|
6863 - | /// A builder for [`TestPostNoInputNoPayloadOutput`](crate::output::TestPostNoInputNoPayloadOutput).
|
7202 + | /// A builder for [`TimestampFormatHeadersOutput`](crate::output::TimestampFormatHeadersOutput).
|
6864 7203 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6865 7204 | pub struct Builder {
|
6866 - | pub(crate) test_id: ::std::option::Option<::std::string::String>,
|
7205 + | pub(crate) member_epoch_seconds:
|
7206 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7207 + | pub(crate) member_http_date:
|
7208 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7209 + | pub(crate) member_date_time:
|
7210 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7211 + | pub(crate) default_format:
|
7212 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7213 + | pub(crate) target_epoch_seconds:
|
7214 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7215 + | pub(crate) target_http_date:
|
7216 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7217 + | pub(crate) target_date_time:
|
7218 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
6867 7219 | }
|
6868 7220 | impl Builder {
|
6869 7221 | #[allow(missing_docs)] // documentation missing in model
|
6870 - | pub fn test_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
6871 - | self.test_id = input;
|
7222 + | pub fn member_epoch_seconds(
|
7223 + | mut self,
|
7224 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7225 + | ) -> Self {
|
7226 + | self.member_epoch_seconds = input;
|
6872 7227 | self
|
6873 7228 | }
|
6874 - | /// Consumes the builder and constructs a [`TestPostNoInputNoPayloadOutput`](crate::output::TestPostNoInputNoPayloadOutput).
|
6875 - | pub fn build(self) -> crate::output::TestPostNoInputNoPayloadOutput {
|
7229 + | #[allow(missing_docs)] // documentation missing in model
|
7230 + | pub fn member_http_date(
|
7231 + | mut self,
|
7232 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7233 + | ) -> Self {
|
7234 + | self.member_http_date = input;
|
7235 + | self
|
7236 + | }
|
7237 + | #[allow(missing_docs)] // documentation missing in model
|
7238 + | pub fn member_date_time(
|
7239 + | mut self,
|
7240 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7241 + | ) -> Self {
|
7242 + | self.member_date_time = input;
|
7243 + | self
|
7244 + | }
|
7245 + | #[allow(missing_docs)] // documentation missing in model
|
7246 + | pub fn default_format(
|
7247 + | mut self,
|
7248 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7249 + | ) -> Self {
|
7250 + | self.default_format = input;
|
7251 + | self
|
7252 + | }
|
7253 + | #[allow(missing_docs)] // documentation missing in model
|
7254 + | pub fn target_epoch_seconds(
|
7255 + | mut self,
|
7256 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7257 + | ) -> Self {
|
7258 + | self.target_epoch_seconds = input;
|
7259 + | self
|
7260 + | }
|
7261 + | #[allow(missing_docs)] // documentation missing in model
|
7262 + | pub fn target_http_date(
|
7263 + | mut self,
|
7264 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7265 + | ) -> Self {
|
7266 + | self.target_http_date = input;
|
7267 + | self
|
7268 + | }
|
7269 + | #[allow(missing_docs)] // documentation missing in model
|
7270 + | pub fn target_date_time(
|
7271 + | mut self,
|
7272 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
7273 + | ) -> Self {
|
7274 + | self.target_date_time = input;
|
7275 + | self
|
7276 + | }
|
7277 + | /// Consumes the builder and constructs a [`TimestampFormatHeadersOutput`](crate::output::TimestampFormatHeadersOutput).
|
7278 + | pub fn build(self) -> crate::output::TimestampFormatHeadersOutput {
|
6876 7279 | self.build_enforcing_required_and_enum_traits()
|
6877 7280 | }
|
6878 7281 | fn build_enforcing_required_and_enum_traits(
|
6879 7282 | self,
|
6880 - | ) -> crate::output::TestPostNoInputNoPayloadOutput {
|
6881 - | crate::output::TestPostNoInputNoPayloadOutput {
|
6882 - | test_id: self.test_id,
|
7283 + | ) -> crate::output::TimestampFormatHeadersOutput {
|
7284 + | crate::output::TimestampFormatHeadersOutput {
|
7285 + | member_epoch_seconds: self.member_epoch_seconds,
|
7286 + | member_http_date: self.member_http_date,
|
7287 + | member_date_time: self.member_date_time,
|
7288 + | default_format: self.default_format,
|
7289 + | target_epoch_seconds: self.target_epoch_seconds,
|
7290 + | target_http_date: self.target_http_date,
|
7291 + | target_date_time: self.target_date_time,
|
6883 7292 | }
|
6884 7293 | }
|
6885 7294 | }
|
6886 7295 | }
|
6887 - | /// See [`TestGetNoInputNoPayloadOutput`](crate::output::TestGetNoInputNoPayloadOutput).
|
6888 - | pub mod test_get_no_input_no_payload_output {
|
7296 + | /// See [`MediaTypeHeaderOutput`](crate::output::MediaTypeHeaderOutput).
|
7297 + | pub mod media_type_header_output {
|
6889 7298 |
|
6890 - | impl ::std::convert::From<Builder> for crate::output::TestGetNoInputNoPayloadOutput {
|
7299 + | impl ::std::convert::From<Builder> for crate::output::MediaTypeHeaderOutput {
|
6891 7300 | fn from(builder: Builder) -> Self {
|
6892 7301 | builder.build()
|
6893 7302 | }
|
6894 7303 | }
|
6895 - | /// A builder for [`TestGetNoInputNoPayloadOutput`](crate::output::TestGetNoInputNoPayloadOutput).
|
7304 + | /// A builder for [`MediaTypeHeaderOutput`](crate::output::MediaTypeHeaderOutput).
|
6896 7305 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6897 7306 | pub struct Builder {
|
6898 - | pub(crate) test_id: ::std::option::Option<::std::string::String>,
|
7307 + | pub(crate) json: ::std::option::Option<::std::string::String>,
|
6899 7308 | }
|
6900 7309 | impl Builder {
|
6901 7310 | #[allow(missing_docs)] // documentation missing in model
|
6902 - | pub fn test_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
6903 - | self.test_id = input;
|
7311 + | pub fn json(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7312 + | self.json = input;
|
6904 7313 | self
|
6905 7314 | }
|
6906 - | /// Consumes the builder and constructs a [`TestGetNoInputNoPayloadOutput`](crate::output::TestGetNoInputNoPayloadOutput).
|
6907 - | pub fn build(self) -> crate::output::TestGetNoInputNoPayloadOutput {
|
7315 + | /// Consumes the builder and constructs a [`MediaTypeHeaderOutput`](crate::output::MediaTypeHeaderOutput).
|
7316 + | pub fn build(self) -> crate::output::MediaTypeHeaderOutput {
|
6908 7317 | self.build_enforcing_required_and_enum_traits()
|
6909 7318 | }
|
6910 - | fn build_enforcing_required_and_enum_traits(
|
6911 - | self,
|
6912 - | ) -> crate::output::TestGetNoInputNoPayloadOutput {
|
6913 - | crate::output::TestGetNoInputNoPayloadOutput {
|
6914 - | test_id: self.test_id,
|
6915 - | }
|
7319 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MediaTypeHeaderOutput {
|
7320 + | crate::output::MediaTypeHeaderOutput { json: self.json }
|
6916 7321 | }
|
6917 7322 | }
|
6918 7323 | }
|
6919 - | /// See [`TestPostNoPayloadOutput`](crate::output::TestPostNoPayloadOutput).
|
6920 - | pub mod test_post_no_payload_output {
|
7324 + | /// See [`HttpRequestWithLabelsOutput`](crate::output::HttpRequestWithLabelsOutput).
|
7325 + | pub mod http_request_with_labels_output {
|
6921 7326 |
|
6922 - | impl ::std::convert::From<Builder> for crate::output::TestPostNoPayloadOutput {
|
7327 + | impl ::std::convert::From<Builder> for crate::output::HttpRequestWithLabelsOutput {
|
6923 7328 | fn from(builder: Builder) -> Self {
|
6924 7329 | builder.build()
|
6925 7330 | }
|
6926 7331 | }
|
6927 - | /// A builder for [`TestPostNoPayloadOutput`](crate::output::TestPostNoPayloadOutput).
|
7332 + | /// A builder for [`HttpRequestWithLabelsOutput`](crate::output::HttpRequestWithLabelsOutput).
|
6928 7333 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6929 - | pub struct Builder {
|
6930 - | pub(crate) test_id: ::std::option::Option<::std::string::String>,
|
6931 - | }
|
7334 + | pub struct Builder {}
|
6932 7335 | impl Builder {
|
6933 - | #[allow(missing_docs)] // documentation missing in model
|
6934 - | pub fn test_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
6935 - | self.test_id = input;
|
6936 - | self
|
6937 - | }
|
6938 - | /// Consumes the builder and constructs a [`TestPostNoPayloadOutput`](crate::output::TestPostNoPayloadOutput).
|
6939 - | pub fn build(self) -> crate::output::TestPostNoPayloadOutput {
|
7336 + | /// Consumes the builder and constructs a [`HttpRequestWithLabelsOutput`](crate::output::HttpRequestWithLabelsOutput).
|
7337 + | pub fn build(self) -> crate::output::HttpRequestWithLabelsOutput {
|
6940 7338 | self.build_enforcing_required_and_enum_traits()
|
6941 7339 | }
|
6942 7340 | fn build_enforcing_required_and_enum_traits(
|
6943 7341 | self,
|
6944 - | ) -> crate::output::TestPostNoPayloadOutput {
|
6945 - | crate::output::TestPostNoPayloadOutput {
|
6946 - | test_id: self.test_id,
|
6947 - | }
|
7342 + | ) -> crate::output::HttpRequestWithLabelsOutput {
|
7343 + | crate::output::HttpRequestWithLabelsOutput {}
|
6948 7344 | }
|
6949 7345 | }
|
6950 7346 | }
|
6951 - | /// See [`TestGetNoPayloadOutput`](crate::output::TestGetNoPayloadOutput).
|
6952 - | pub mod test_get_no_payload_output {
|
7347 + | /// See [`HttpRequestWithLabelsAndTimestampFormatOutput`](crate::output::HttpRequestWithLabelsAndTimestampFormatOutput).
|
7348 + | pub mod http_request_with_labels_and_timestamp_format_output {
|
6953 7349 |
|
6954 - | impl ::std::convert::From<Builder> for crate::output::TestGetNoPayloadOutput {
|
7350 + | impl ::std::convert::From<Builder>
|
7351 + | for crate::output::HttpRequestWithLabelsAndTimestampFormatOutput
|
7352 + | {
|
6955 7353 | fn from(builder: Builder) -> Self {
|
6956 7354 | builder.build()
|
6957 7355 | }
|
6958 - | }
|
6959 - | /// A builder for [`TestGetNoPayloadOutput`](crate::output::TestGetNoPayloadOutput).
|
6960 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6961 - | pub struct Builder {
|
6962 - | pub(crate) test_id: ::std::option::Option<::std::string::String>,
|
6963 - | }
|
6964 - | impl Builder {
|
6965 - | #[allow(missing_docs)] // documentation missing in model
|
6966 - | pub fn test_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
6967 - | self.test_id = input;
|
6968 - | self
|
6969 - | }
|
6970 - | /// Consumes the builder and constructs a [`TestGetNoPayloadOutput`](crate::output::TestGetNoPayloadOutput).
|
6971 - | pub fn build(self) -> crate::output::TestGetNoPayloadOutput {
|
7356 + | }
|
7357 + | /// A builder for [`HttpRequestWithLabelsAndTimestampFormatOutput`](crate::output::HttpRequestWithLabelsAndTimestampFormatOutput).
|
7358 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7359 + | pub struct Builder {}
|
7360 + | impl Builder {
|
7361 + | /// Consumes the builder and constructs a [`HttpRequestWithLabelsAndTimestampFormatOutput`](crate::output::HttpRequestWithLabelsAndTimestampFormatOutput).
|
7362 + | pub fn build(self) -> crate::output::HttpRequestWithLabelsAndTimestampFormatOutput {
|
6972 7363 | self.build_enforcing_required_and_enum_traits()
|
6973 7364 | }
|
6974 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::TestGetNoPayloadOutput {
|
6975 - | crate::output::TestGetNoPayloadOutput {
|
6976 - | test_id: self.test_id,
|
6977 - | }
|
7365 + | fn build_enforcing_required_and_enum_traits(
|
7366 + | self,
|
7367 + | ) -> crate::output::HttpRequestWithLabelsAndTimestampFormatOutput {
|
7368 + | crate::output::HttpRequestWithLabelsAndTimestampFormatOutput {}
|
6978 7369 | }
|
6979 7370 | }
|
6980 7371 | }
|
6981 - | /// See [`TestPayloadBlobOutput`](crate::output::TestPayloadBlobOutput).
|
6982 - | pub mod test_payload_blob_output {
|
7372 + | /// See [`HttpRequestWithGreedyLabelInPathOutput`](crate::output::HttpRequestWithGreedyLabelInPathOutput).
|
7373 + | pub mod http_request_with_greedy_label_in_path_output {
|
6983 7374 |
|
6984 - | impl ::std::convert::From<Builder> for crate::output::TestPayloadBlobOutput {
|
7375 + | impl ::std::convert::From<Builder> for crate::output::HttpRequestWithGreedyLabelInPathOutput {
|
6985 7376 | fn from(builder: Builder) -> Self {
|
6986 7377 | builder.build()
|
6987 7378 | }
|
6988 7379 | }
|
6989 - | /// A builder for [`TestPayloadBlobOutput`](crate::output::TestPayloadBlobOutput).
|
7380 + | /// A builder for [`HttpRequestWithGreedyLabelInPathOutput`](crate::output::HttpRequestWithGreedyLabelInPathOutput).
|
6990 7381 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
6991 - | pub struct Builder {
|
6992 - | pub(crate) content_type: ::std::option::Option<::std::string::String>,
|
6993 - | pub(crate) data: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
6994 - | }
|
7382 + | pub struct Builder {}
|
6995 7383 | impl Builder {
|
6996 - | #[allow(missing_docs)] // documentation missing in model
|
6997 - | pub fn content_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
6998 - | self.content_type = input;
|
6999 - | self
|
7000 - | }
|
7001 - | #[allow(missing_docs)] // documentation missing in model
|
7002 - | pub fn data(
|
7003 - | mut self,
|
7004 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
7005 - | ) -> Self {
|
7006 - | self.data = input;
|
7007 - | self
|
7008 - | }
|
7009 - | /// Consumes the builder and constructs a [`TestPayloadBlobOutput`](crate::output::TestPayloadBlobOutput).
|
7010 - | pub fn build(self) -> crate::output::TestPayloadBlobOutput {
|
7384 + | /// Consumes the builder and constructs a [`HttpRequestWithGreedyLabelInPathOutput`](crate::output::HttpRequestWithGreedyLabelInPathOutput).
|
7385 + | pub fn build(self) -> crate::output::HttpRequestWithGreedyLabelInPathOutput {
|
7011 7386 | self.build_enforcing_required_and_enum_traits()
|
7012 7387 | }
|
7013 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::TestPayloadBlobOutput {
|
7014 - | crate::output::TestPayloadBlobOutput {
|
7015 - | content_type: self.content_type,
|
7016 - | data: self.data,
|
7017 - | }
|
7388 + | fn build_enforcing_required_and_enum_traits(
|
7389 + | self,
|
7390 + | ) -> crate::output::HttpRequestWithGreedyLabelInPathOutput {
|
7391 + | crate::output::HttpRequestWithGreedyLabelInPathOutput {}
|
7018 7392 | }
|
7019 7393 | }
|
7020 7394 | }
|
7021 - | /// See [`TestPayloadStructureOutput`](crate::output::TestPayloadStructureOutput).
|
7022 - | pub mod test_payload_structure_output {
|
7395 + | /// See [`HttpRequestWithFloatLabelsOutput`](crate::output::HttpRequestWithFloatLabelsOutput).
|
7396 + | pub mod http_request_with_float_labels_output {
|
7023 7397 |
|
7024 - | impl ::std::convert::From<Builder> for crate::output::TestPayloadStructureOutput {
|
7398 + | impl ::std::convert::From<Builder> for crate::output::HttpRequestWithFloatLabelsOutput {
|
7025 7399 | fn from(builder: Builder) -> Self {
|
7026 7400 | builder.build()
|
7027 7401 | }
|
7028 7402 | }
|
7029 - | /// A builder for [`TestPayloadStructureOutput`](crate::output::TestPayloadStructureOutput).
|
7403 + | /// A builder for [`HttpRequestWithFloatLabelsOutput`](crate::output::HttpRequestWithFloatLabelsOutput).
|
7030 7404 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7031 - | pub struct Builder {
|
7032 - | pub(crate) test_id: ::std::option::Option<::std::string::String>,
|
7033 - | pub(crate) payload_config: ::std::option::Option<crate::model::PayloadConfig>,
|
7034 - | }
|
7405 + | pub struct Builder {}
|
7035 7406 | impl Builder {
|
7036 - | #[allow(missing_docs)] // documentation missing in model
|
7037 - | pub fn test_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7038 - | self.test_id = input;
|
7039 - | self
|
7040 - | }
|
7041 - | #[allow(missing_docs)] // documentation missing in model
|
7042 - | pub fn payload_config(
|
7043 - | mut self,
|
7044 - | input: ::std::option::Option<crate::model::PayloadConfig>,
|
7045 - | ) -> Self {
|
7046 - | self.payload_config = input;
|
7047 - | self
|
7048 - | }
|
7049 - | /// Consumes the builder and constructs a [`TestPayloadStructureOutput`](crate::output::TestPayloadStructureOutput).
|
7050 - | pub fn build(self) -> crate::output::TestPayloadStructureOutput {
|
7407 + | /// Consumes the builder and constructs a [`HttpRequestWithFloatLabelsOutput`](crate::output::HttpRequestWithFloatLabelsOutput).
|
7408 + | pub fn build(self) -> crate::output::HttpRequestWithFloatLabelsOutput {
|
7051 7409 | self.build_enforcing_required_and_enum_traits()
|
7052 7410 | }
|
7053 7411 | fn build_enforcing_required_and_enum_traits(
|
7054 7412 | self,
|
7055 - | ) -> crate::output::TestPayloadStructureOutput {
|
7056 - | crate::output::TestPayloadStructureOutput {
|
7057 - | test_id: self.test_id,
|
7058 - | payload_config: self.payload_config,
|
7059 - | }
|
7413 + | ) -> crate::output::HttpRequestWithFloatLabelsOutput {
|
7414 + | crate::output::HttpRequestWithFloatLabelsOutput {}
|
7060 7415 | }
|
7061 7416 | }
|
7062 7417 | }
|
7063 - | /// See [`TestBodyStructureOutput`](crate::output::TestBodyStructureOutput).
|
7064 - | pub mod test_body_structure_output {
|
7418 + | /// See [`HttpRequestWithRegexLiteralOutput`](crate::output::HttpRequestWithRegexLiteralOutput).
|
7419 + | pub mod http_request_with_regex_literal_output {
|
7065 7420 |
|
7066 - | impl ::std::convert::From<Builder> for crate::output::TestBodyStructureOutput {
|
7421 + | impl ::std::convert::From<Builder> for crate::output::HttpRequestWithRegexLiteralOutput {
|
7067 7422 | fn from(builder: Builder) -> Self {
|
7068 7423 | builder.build()
|
7069 7424 | }
|
7070 7425 | }
|
7071 - | /// A builder for [`TestBodyStructureOutput`](crate::output::TestBodyStructureOutput).
|
7426 + | /// A builder for [`HttpRequestWithRegexLiteralOutput`](crate::output::HttpRequestWithRegexLiteralOutput).
|
7072 7427 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7073 - | pub struct Builder {
|
7074 - | pub(crate) test_id: ::std::option::Option<::std::string::String>,
|
7075 - | pub(crate) test_config: ::std::option::Option<crate::model::TestConfig>,
|
7076 - | }
|
7428 + | pub struct Builder {}
|
7077 7429 | impl Builder {
|
7078 - | #[allow(missing_docs)] // documentation missing in model
|
7079 - | pub fn test_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7080 - | self.test_id = input;
|
7081 - | self
|
7082 - | }
|
7083 - | #[allow(missing_docs)] // documentation missing in model
|
7084 - | pub fn test_config(
|
7085 - | mut self,
|
7086 - | input: ::std::option::Option<crate::model::TestConfig>,
|
7087 - | ) -> Self {
|
7088 - | self.test_config = input;
|
7089 - | self
|
7090 - | }
|
7091 - | /// Consumes the builder and constructs a [`TestBodyStructureOutput`](crate::output::TestBodyStructureOutput).
|
7092 - | pub fn build(self) -> crate::output::TestBodyStructureOutput {
|
7430 + | /// Consumes the builder and constructs a [`HttpRequestWithRegexLiteralOutput`](crate::output::HttpRequestWithRegexLiteralOutput).
|
7431 + | pub fn build(self) -> crate::output::HttpRequestWithRegexLiteralOutput {
|
7093 7432 | self.build_enforcing_required_and_enum_traits()
|
7094 7433 | }
|
7095 7434 | fn build_enforcing_required_and_enum_traits(
|
7096 7435 | self,
|
7097 - | ) -> crate::output::TestBodyStructureOutput {
|
7098 - | crate::output::TestBodyStructureOutput {
|
7099 - | test_id: self.test_id,
|
7100 - | test_config: self.test_config,
|
7101 - | }
|
7436 + | ) -> crate::output::HttpRequestWithRegexLiteralOutput {
|
7437 + | crate::output::HttpRequestWithRegexLiteralOutput {}
|
7102 7438 | }
|
7103 7439 | }
|
7104 7440 | }
|
7105 - | /// See [`MalformedAcceptWithGenericStringOutput`](crate::output::MalformedAcceptWithGenericStringOutput).
|
7106 - | pub mod malformed_accept_with_generic_string_output {
|
7441 + | /// See [`AllQueryStringTypesOutput`](crate::output::AllQueryStringTypesOutput).
|
7442 + | pub mod all_query_string_types_output {
|
7107 7443 |
|
7108 - | impl ::std::convert::From<Builder> for crate::output::MalformedAcceptWithGenericStringOutput {
|
7444 + | impl ::std::convert::From<Builder> for crate::output::AllQueryStringTypesOutput {
|
7109 7445 | fn from(builder: Builder) -> Self {
|
7110 7446 | builder.build()
|
7111 7447 | }
|
7112 7448 | }
|
7113 - | /// A builder for [`MalformedAcceptWithGenericStringOutput`](crate::output::MalformedAcceptWithGenericStringOutput).
|
7449 + | /// A builder for [`AllQueryStringTypesOutput`](crate::output::AllQueryStringTypesOutput).
|
7114 7450 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7115 - | pub struct Builder {
|
7116 - | pub(crate) payload: ::std::option::Option<::std::string::String>,
|
7117 - | }
|
7451 + | pub struct Builder {}
|
7118 7452 | impl Builder {
|
7119 - | #[allow(missing_docs)] // documentation missing in model
|
7120 - | pub fn payload(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7121 - | self.payload = input;
|
7122 - | self
|
7123 - | }
|
7124 - | /// Consumes the builder and constructs a [`MalformedAcceptWithGenericStringOutput`](crate::output::MalformedAcceptWithGenericStringOutput).
|
7125 - | pub fn build(self) -> crate::output::MalformedAcceptWithGenericStringOutput {
|
7453 + | /// Consumes the builder and constructs a [`AllQueryStringTypesOutput`](crate::output::AllQueryStringTypesOutput).
|
7454 + | pub fn build(self) -> crate::output::AllQueryStringTypesOutput {
|
7126 7455 | self.build_enforcing_required_and_enum_traits()
|
7127 7456 | }
|
7128 7457 | fn build_enforcing_required_and_enum_traits(
|
7129 7458 | self,
|
7130 - | ) -> crate::output::MalformedAcceptWithGenericStringOutput {
|
7131 - | crate::output::MalformedAcceptWithGenericStringOutput {
|
7132 - | payload: self.payload,
|
7133 - | }
|
7459 + | ) -> crate::output::AllQueryStringTypesOutput {
|
7460 + | crate::output::AllQueryStringTypesOutput {}
|
7134 7461 | }
|
7135 7462 | }
|
7136 7463 | }
|
7137 - | /// See [`MalformedAcceptWithPayloadOutput`](crate::output::MalformedAcceptWithPayloadOutput).
|
7138 - | pub mod malformed_accept_with_payload_output {
|
7464 + | /// See [`ConstantQueryStringOutput`](crate::output::ConstantQueryStringOutput).
|
7465 + | pub mod constant_query_string_output {
|
7139 7466 |
|
7140 - | impl ::std::convert::From<Builder> for crate::output::MalformedAcceptWithPayloadOutput {
|
7467 + | impl ::std::convert::From<Builder> for crate::output::ConstantQueryStringOutput {
|
7141 7468 | fn from(builder: Builder) -> Self {
|
7142 7469 | builder.build()
|
7143 7470 | }
|
7144 7471 | }
|
7145 - | /// A builder for [`MalformedAcceptWithPayloadOutput`](crate::output::MalformedAcceptWithPayloadOutput).
|
7472 + | /// A builder for [`ConstantQueryStringOutput`](crate::output::ConstantQueryStringOutput).
|
7146 7473 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7147 - | pub struct Builder {
|
7148 - | pub(crate) payload: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
7149 - | }
|
7474 + | pub struct Builder {}
|
7150 7475 | impl Builder {
|
7151 - | #[allow(missing_docs)] // documentation missing in model
|
7152 - | pub fn payload(
|
7153 - | mut self,
|
7154 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
7155 - | ) -> Self {
|
7156 - | self.payload = input;
|
7157 - | self
|
7158 - | }
|
7159 - | /// Consumes the builder and constructs a [`MalformedAcceptWithPayloadOutput`](crate::output::MalformedAcceptWithPayloadOutput).
|
7160 - | pub fn build(self) -> crate::output::MalformedAcceptWithPayloadOutput {
|
7476 + | /// Consumes the builder and constructs a [`ConstantQueryStringOutput`](crate::output::ConstantQueryStringOutput).
|
7477 + | pub fn build(self) -> crate::output::ConstantQueryStringOutput {
|
7161 7478 | self.build_enforcing_required_and_enum_traits()
|
7162 7479 | }
|
7163 7480 | fn build_enforcing_required_and_enum_traits(
|
7164 7481 | self,
|
7165 - | ) -> crate::output::MalformedAcceptWithPayloadOutput {
|
7166 - | crate::output::MalformedAcceptWithPayloadOutput {
|
7167 - | payload: self.payload,
|
7168 - | }
|
7482 + | ) -> crate::output::ConstantQueryStringOutput {
|
7483 + | crate::output::ConstantQueryStringOutput {}
|
7169 7484 | }
|
7170 7485 | }
|
7171 7486 | }
|
7172 - | /// See [`MalformedAcceptWithBodyOutput`](crate::output::MalformedAcceptWithBodyOutput).
|
7173 - | pub mod malformed_accept_with_body_output {
|
7487 + | /// See [`ConstantAndVariableQueryStringOutput`](crate::output::ConstantAndVariableQueryStringOutput).
|
7488 + | pub mod constant_and_variable_query_string_output {
|
7174 7489 |
|
7175 - | impl ::std::convert::From<Builder> for crate::output::MalformedAcceptWithBodyOutput {
|
7490 + | impl ::std::convert::From<Builder> for crate::output::ConstantAndVariableQueryStringOutput {
|
7176 7491 | fn from(builder: Builder) -> Self {
|
7177 7492 | builder.build()
|
7178 7493 | }
|
7179 7494 | }
|
7180 - | /// A builder for [`MalformedAcceptWithBodyOutput`](crate::output::MalformedAcceptWithBodyOutput).
|
7495 + | /// A builder for [`ConstantAndVariableQueryStringOutput`](crate::output::ConstantAndVariableQueryStringOutput).
|
7181 7496 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7182 - | pub struct Builder {
|
7183 - | pub(crate) hi: ::std::option::Option<::std::string::String>,
|
7184 - | }
|
7497 + | pub struct Builder {}
|
7185 7498 | impl Builder {
|
7186 - | #[allow(missing_docs)] // documentation missing in model
|
7187 - | pub fn hi(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7188 - | self.hi = input;
|
7189 - | self
|
7190 - | }
|
7191 - | /// Consumes the builder and constructs a [`MalformedAcceptWithBodyOutput`](crate::output::MalformedAcceptWithBodyOutput).
|
7192 - | pub fn build(self) -> crate::output::MalformedAcceptWithBodyOutput {
|
7499 + | /// Consumes the builder and constructs a [`ConstantAndVariableQueryStringOutput`](crate::output::ConstantAndVariableQueryStringOutput).
|
7500 + | pub fn build(self) -> crate::output::ConstantAndVariableQueryStringOutput {
|
7193 7501 | self.build_enforcing_required_and_enum_traits()
|
7194 7502 | }
|
7195 7503 | fn build_enforcing_required_and_enum_traits(
|
7196 7504 | self,
|
7197 - | ) -> crate::output::MalformedAcceptWithBodyOutput {
|
7198 - | crate::output::MalformedAcceptWithBodyOutput { hi: self.hi }
|
7505 + | ) -> crate::output::ConstantAndVariableQueryStringOutput {
|
7506 + | crate::output::ConstantAndVariableQueryStringOutput {}
|
7199 7507 | }
|
7200 7508 | }
|
7201 7509 | }
|
7202 - | /// See [`MalformedContentTypeWithGenericStringOutput`](crate::output::MalformedContentTypeWithGenericStringOutput).
|
7203 - | pub mod malformed_content_type_with_generic_string_output {
|
7510 + | /// See [`IgnoreQueryParamsInResponseOutput`](crate::output::IgnoreQueryParamsInResponseOutput).
|
7511 + | pub mod ignore_query_params_in_response_output {
|
7204 7512 |
|
7205 - | impl ::std::convert::From<Builder> for crate::output::MalformedContentTypeWithGenericStringOutput {
|
7513 + | impl ::std::convert::From<Builder> for crate::output::IgnoreQueryParamsInResponseOutput {
|
7206 7514 | fn from(builder: Builder) -> Self {
|
7207 7515 | builder.build()
|
7208 7516 | }
|
7209 7517 | }
|
7210 - | /// A builder for [`MalformedContentTypeWithGenericStringOutput`](crate::output::MalformedContentTypeWithGenericStringOutput).
|
7518 + | /// A builder for [`IgnoreQueryParamsInResponseOutput`](crate::output::IgnoreQueryParamsInResponseOutput).
|
7211 7519 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7212 - | pub struct Builder {}
|
7520 + | pub struct Builder {
|
7521 + | pub(crate) baz: ::std::option::Option<::std::string::String>,
|
7522 + | }
|
7213 7523 | impl Builder {
|
7214 - | /// Consumes the builder and constructs a [`MalformedContentTypeWithGenericStringOutput`](crate::output::MalformedContentTypeWithGenericStringOutput).
|
7215 - | pub fn build(self) -> crate::output::MalformedContentTypeWithGenericStringOutput {
|
7524 + | #[allow(missing_docs)] // documentation missing in model
|
7525 + | pub fn baz(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7526 + | self.baz = input;
|
7527 + | self
|
7528 + | }
|
7529 + | /// Consumes the builder and constructs a [`IgnoreQueryParamsInResponseOutput`](crate::output::IgnoreQueryParamsInResponseOutput).
|
7530 + | pub fn build(self) -> crate::output::IgnoreQueryParamsInResponseOutput {
|
7216 7531 | self.build_enforcing_required_and_enum_traits()
|
7217 7532 | }
|
7218 7533 | fn build_enforcing_required_and_enum_traits(
|
7219 7534 | self,
|
7220 - | ) -> crate::output::MalformedContentTypeWithGenericStringOutput {
|
7221 - | crate::output::MalformedContentTypeWithGenericStringOutput {}
|
7535 + | ) -> crate::output::IgnoreQueryParamsInResponseOutput {
|
7536 + | crate::output::IgnoreQueryParamsInResponseOutput { baz: self.baz }
|
7222 7537 | }
|
7223 7538 | }
|
7224 7539 | }
|
7225 - | /// See [`MalformedContentTypeWithPayloadOutput`](crate::output::MalformedContentTypeWithPayloadOutput).
|
7226 - | pub mod malformed_content_type_with_payload_output {
|
7540 + | /// See [`OmitsNullSerializesEmptyStringOutput`](crate::output::OmitsNullSerializesEmptyStringOutput).
|
7541 + | pub mod omits_null_serializes_empty_string_output {
|
7227 7542 |
|
7228 - | impl ::std::convert::From<Builder> for crate::output::MalformedContentTypeWithPayloadOutput {
|
7543 + | impl ::std::convert::From<Builder> for crate::output::OmitsNullSerializesEmptyStringOutput {
|
7229 7544 | fn from(builder: Builder) -> Self {
|
7230 7545 | builder.build()
|
7231 7546 | }
|
7232 7547 | }
|
7233 - | /// A builder for [`MalformedContentTypeWithPayloadOutput`](crate::output::MalformedContentTypeWithPayloadOutput).
|
7548 + | /// A builder for [`OmitsNullSerializesEmptyStringOutput`](crate::output::OmitsNullSerializesEmptyStringOutput).
|
7234 7549 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7235 7550 | pub struct Builder {}
|
7236 7551 | impl Builder {
|
7237 - | /// Consumes the builder and constructs a [`MalformedContentTypeWithPayloadOutput`](crate::output::MalformedContentTypeWithPayloadOutput).
|
7238 - | pub fn build(self) -> crate::output::MalformedContentTypeWithPayloadOutput {
|
7552 + | /// Consumes the builder and constructs a [`OmitsNullSerializesEmptyStringOutput`](crate::output::OmitsNullSerializesEmptyStringOutput).
|
7553 + | pub fn build(self) -> crate::output::OmitsNullSerializesEmptyStringOutput {
|
7239 7554 | self.build_enforcing_required_and_enum_traits()
|
7240 7555 | }
|
7241 7556 | fn build_enforcing_required_and_enum_traits(
|
7242 7557 | self,
|
7243 - | ) -> crate::output::MalformedContentTypeWithPayloadOutput {
|
7244 - | crate::output::MalformedContentTypeWithPayloadOutput {}
|
7558 + | ) -> crate::output::OmitsNullSerializesEmptyStringOutput {
|
7559 + | crate::output::OmitsNullSerializesEmptyStringOutput {}
|
7245 7560 | }
|
7246 7561 | }
|
7247 7562 | }
|
7248 - | /// See [`MalformedContentTypeWithBodyOutput`](crate::output::MalformedContentTypeWithBodyOutput).
|
7249 - | pub mod malformed_content_type_with_body_output {
|
7563 + | /// See [`OmitsSerializingEmptyListsOutput`](crate::output::OmitsSerializingEmptyListsOutput).
|
7564 + | pub mod omits_serializing_empty_lists_output {
|
7250 7565 |
|
7251 - | impl ::std::convert::From<Builder> for crate::output::MalformedContentTypeWithBodyOutput {
|
7566 + | impl ::std::convert::From<Builder> for crate::output::OmitsSerializingEmptyListsOutput {
|
7252 7567 | fn from(builder: Builder) -> Self {
|
7253 7568 | builder.build()
|
7254 7569 | }
|
7255 7570 | }
|
7256 - | /// A builder for [`MalformedContentTypeWithBodyOutput`](crate::output::MalformedContentTypeWithBodyOutput).
|
7571 + | /// A builder for [`OmitsSerializingEmptyListsOutput`](crate::output::OmitsSerializingEmptyListsOutput).
|
7257 7572 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7258 7573 | pub struct Builder {}
|
7259 7574 | impl Builder {
|
7260 - | /// Consumes the builder and constructs a [`MalformedContentTypeWithBodyOutput`](crate::output::MalformedContentTypeWithBodyOutput).
|
7261 - | pub fn build(self) -> crate::output::MalformedContentTypeWithBodyOutput {
|
7575 + | /// Consumes the builder and constructs a [`OmitsSerializingEmptyListsOutput`](crate::output::OmitsSerializingEmptyListsOutput).
|
7576 + | pub fn build(self) -> crate::output::OmitsSerializingEmptyListsOutput {
|
7262 7577 | self.build_enforcing_required_and_enum_traits()
|
7263 7578 | }
|
7264 7579 | fn build_enforcing_required_and_enum_traits(
|
7265 7580 | self,
|
7266 - | ) -> crate::output::MalformedContentTypeWithBodyOutput {
|
7267 - | crate::output::MalformedContentTypeWithBodyOutput {}
|
7581 + | ) -> crate::output::OmitsSerializingEmptyListsOutput {
|
7582 + | crate::output::OmitsSerializingEmptyListsOutput {}
|
7268 7583 | }
|
7269 7584 | }
|
7270 7585 | }
|
7271 - | /// See [`MalformedContentTypeWithoutBodyEmptyInputOutput`](crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput).
|
7272 - | pub mod malformed_content_type_without_body_empty_input_output {
|
7586 + | /// See [`QueryIdempotencyTokenAutoFillOutput`](crate::output::QueryIdempotencyTokenAutoFillOutput).
|
7587 + | pub mod query_idempotency_token_auto_fill_output {
|
7273 7588 |
|
7274 - | impl ::std::convert::From<Builder>
|
7275 - | for crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput
|
7276 - | {
|
7589 + | impl ::std::convert::From<Builder> for crate::output::QueryIdempotencyTokenAutoFillOutput {
|
7277 7590 | fn from(builder: Builder) -> Self {
|
7278 7591 | builder.build()
|
7279 7592 | }
|
7280 7593 | }
|
7281 - | /// A builder for [`MalformedContentTypeWithoutBodyEmptyInputOutput`](crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput).
|
7594 + | /// A builder for [`QueryIdempotencyTokenAutoFillOutput`](crate::output::QueryIdempotencyTokenAutoFillOutput).
|
7282 7595 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7283 7596 | pub struct Builder {}
|
7284 7597 | impl Builder {
|
7285 - | /// Consumes the builder and constructs a [`MalformedContentTypeWithoutBodyEmptyInputOutput`](crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput).
|
7286 - | pub fn build(self) -> crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput {
|
7598 + | /// Consumes the builder and constructs a [`QueryIdempotencyTokenAutoFillOutput`](crate::output::QueryIdempotencyTokenAutoFillOutput).
|
7599 + | pub fn build(self) -> crate::output::QueryIdempotencyTokenAutoFillOutput {
|
7287 7600 | self.build_enforcing_required_and_enum_traits()
|
7288 7601 | }
|
7289 7602 | fn build_enforcing_required_and_enum_traits(
|
7290 7603 | self,
|
7291 - | ) -> crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput {
|
7292 - | crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput {}
|
7604 + | ) -> crate::output::QueryIdempotencyTokenAutoFillOutput {
|
7605 + | crate::output::QueryIdempotencyTokenAutoFillOutput {}
|
7293 7606 | }
|
7294 7607 | }
|
7295 7608 | }
|
7296 - | /// See [`MalformedContentTypeWithoutBodyOutput`](crate::output::MalformedContentTypeWithoutBodyOutput).
|
7297 - | pub mod malformed_content_type_without_body_output {
|
7609 + | /// See [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
7610 + | pub mod query_precedence_output {
|
7298 7611 |
|
7299 - | impl ::std::convert::From<Builder> for crate::output::MalformedContentTypeWithoutBodyOutput {
|
7612 + | impl ::std::convert::From<Builder> for crate::output::QueryPrecedenceOutput {
|
7300 7613 | fn from(builder: Builder) -> Self {
|
7301 7614 | builder.build()
|
7302 7615 | }
|
7303 7616 | }
|
7304 - | /// A builder for [`MalformedContentTypeWithoutBodyOutput`](crate::output::MalformedContentTypeWithoutBodyOutput).
|
7617 + | /// A builder for [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
7305 7618 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7306 7619 | pub struct Builder {}
|
7307 7620 | impl Builder {
|
7308 - | /// Consumes the builder and constructs a [`MalformedContentTypeWithoutBodyOutput`](crate::output::MalformedContentTypeWithoutBodyOutput).
|
7309 - | pub fn build(self) -> crate::output::MalformedContentTypeWithoutBodyOutput {
|
7621 + | /// Consumes the builder and constructs a [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
7622 + | pub fn build(self) -> crate::output::QueryPrecedenceOutput {
|
7310 7623 | self.build_enforcing_required_and_enum_traits()
|
7311 7624 | }
|
7312 - | fn build_enforcing_required_and_enum_traits(
|
7313 - | self,
|
7314 - | ) -> crate::output::MalformedContentTypeWithoutBodyOutput {
|
7315 - | crate::output::MalformedContentTypeWithoutBodyOutput {}
|
7625 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::QueryPrecedenceOutput {
|
7626 + | crate::output::QueryPrecedenceOutput {}
|
7316 7627 | }
|
7317 7628 | }
|
7318 7629 | }
|
7319 - | /// See [`MalformedTimestampBodyHttpDateOutput`](crate::output::MalformedTimestampBodyHttpDateOutput).
|
7320 - | pub mod malformed_timestamp_body_http_date_output {
|
7630 + | /// See [`HttpQueryParamsOnlyOperationOutput`](crate::output::HttpQueryParamsOnlyOperationOutput).
|
7631 + | pub mod http_query_params_only_operation_output {
|
7321 7632 |
|
7322 - | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampBodyHttpDateOutput {
|
7633 + | impl ::std::convert::From<Builder> for crate::output::HttpQueryParamsOnlyOperationOutput {
|
7323 7634 | fn from(builder: Builder) -> Self {
|
7324 7635 | builder.build()
|
7325 7636 | }
|
7326 7637 | }
|
7327 - | /// A builder for [`MalformedTimestampBodyHttpDateOutput`](crate::output::MalformedTimestampBodyHttpDateOutput).
|
7638 + | /// A builder for [`HttpQueryParamsOnlyOperationOutput`](crate::output::HttpQueryParamsOnlyOperationOutput).
|
7328 7639 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7329 7640 | pub struct Builder {}
|
7330 7641 | impl Builder {
|
7331 - | /// Consumes the builder and constructs a [`MalformedTimestampBodyHttpDateOutput`](crate::output::MalformedTimestampBodyHttpDateOutput).
|
7332 - | pub fn build(self) -> crate::output::MalformedTimestampBodyHttpDateOutput {
|
7642 + | /// Consumes the builder and constructs a [`HttpQueryParamsOnlyOperationOutput`](crate::output::HttpQueryParamsOnlyOperationOutput).
|
7643 + | pub fn build(self) -> crate::output::HttpQueryParamsOnlyOperationOutput {
|
7333 7644 | self.build_enforcing_required_and_enum_traits()
|
7334 7645 | }
|
7335 7646 | fn build_enforcing_required_and_enum_traits(
|
7336 7647 | self,
|
7337 - | ) -> crate::output::MalformedTimestampBodyHttpDateOutput {
|
7338 - | crate::output::MalformedTimestampBodyHttpDateOutput {}
|
7648 + | ) -> crate::output::HttpQueryParamsOnlyOperationOutput {
|
7649 + | crate::output::HttpQueryParamsOnlyOperationOutput {}
|
7339 7650 | }
|
7340 7651 | }
|
7341 7652 | }
|
7342 - | /// See [`MalformedTimestampBodyDateTimeOutput`](crate::output::MalformedTimestampBodyDateTimeOutput).
|
7343 - | pub mod malformed_timestamp_body_date_time_output {
|
7653 + | /// See [`QueryParamsAsStringListMapOutput`](crate::output::QueryParamsAsStringListMapOutput).
|
7654 + | pub mod query_params_as_string_list_map_output {
|
7344 7655 |
|
7345 - | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampBodyDateTimeOutput {
|
7656 + | impl ::std::convert::From<Builder> for crate::output::QueryParamsAsStringListMapOutput {
|
7346 7657 | fn from(builder: Builder) -> Self {
|
7347 7658 | builder.build()
|
7348 7659 | }
|
7349 7660 | }
|
7350 - | /// A builder for [`MalformedTimestampBodyDateTimeOutput`](crate::output::MalformedTimestampBodyDateTimeOutput).
|
7661 + | /// A builder for [`QueryParamsAsStringListMapOutput`](crate::output::QueryParamsAsStringListMapOutput).
|
7351 7662 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7352 7663 | pub struct Builder {}
|
7353 7664 | impl Builder {
|
7354 - | /// Consumes the builder and constructs a [`MalformedTimestampBodyDateTimeOutput`](crate::output::MalformedTimestampBodyDateTimeOutput).
|
7355 - | pub fn build(self) -> crate::output::MalformedTimestampBodyDateTimeOutput {
|
7665 + | /// Consumes the builder and constructs a [`QueryParamsAsStringListMapOutput`](crate::output::QueryParamsAsStringListMapOutput).
|
7666 + | pub fn build(self) -> crate::output::QueryParamsAsStringListMapOutput {
|
7356 7667 | self.build_enforcing_required_and_enum_traits()
|
7357 7668 | }
|
7358 7669 | fn build_enforcing_required_and_enum_traits(
|
7359 7670 | self,
|
7360 - | ) -> crate::output::MalformedTimestampBodyDateTimeOutput {
|
7361 - | crate::output::MalformedTimestampBodyDateTimeOutput {}
|
7671 + | ) -> crate::output::QueryParamsAsStringListMapOutput {
|
7672 + | crate::output::QueryParamsAsStringListMapOutput {}
|
7362 7673 | }
|
7363 7674 | }
|
7364 7675 | }
|
7365 - | /// See [`MalformedTimestampBodyDefaultOutput`](crate::output::MalformedTimestampBodyDefaultOutput).
|
7366 - | pub mod malformed_timestamp_body_default_output {
|
7676 + | /// See [`HttpPrefixHeadersOutput`](crate::output::HttpPrefixHeadersOutput).
|
7677 + | pub mod http_prefix_headers_output {
|
7367 7678 |
|
7368 - | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampBodyDefaultOutput {
|
7679 + | impl ::std::convert::From<Builder> for crate::output::HttpPrefixHeadersOutput {
|
7369 7680 | fn from(builder: Builder) -> Self {
|
7370 7681 | builder.build()
|
7371 7682 | }
|
7372 7683 | }
|
7373 - | /// A builder for [`MalformedTimestampBodyDefaultOutput`](crate::output::MalformedTimestampBodyDefaultOutput).
|
7684 + | /// A builder for [`HttpPrefixHeadersOutput`](crate::output::HttpPrefixHeadersOutput).
|
7374 7685 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7375 - | pub struct Builder {}
|
7686 + | pub struct Builder {
|
7687 + | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
7688 + | pub(crate) foo_map: ::std::option::Option<
|
7689 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
7690 + | >,
|
7691 + | }
|
7376 7692 | impl Builder {
|
7377 - | /// Consumes the builder and constructs a [`MalformedTimestampBodyDefaultOutput`](crate::output::MalformedTimestampBodyDefaultOutput).
|
7378 - | pub fn build(self) -> crate::output::MalformedTimestampBodyDefaultOutput {
|
7693 + | #[allow(missing_docs)] // documentation missing in model
|
7694 + | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7695 + | self.foo = input;
|
7696 + | self
|
7697 + | }
|
7698 + | #[allow(missing_docs)] // documentation missing in model
|
7699 + | pub fn foo_map(
|
7700 + | mut self,
|
7701 + | input: ::std::option::Option<
|
7702 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
7703 + | >,
|
7704 + | ) -> Self {
|
7705 + | self.foo_map = input;
|
7706 + | self
|
7707 + | }
|
7708 + | /// Consumes the builder and constructs a [`HttpPrefixHeadersOutput`](crate::output::HttpPrefixHeadersOutput).
|
7709 + | pub fn build(self) -> crate::output::HttpPrefixHeadersOutput {
|
7379 7710 | self.build_enforcing_required_and_enum_traits()
|
7380 7711 | }
|
7381 7712 | fn build_enforcing_required_and_enum_traits(
|
7382 7713 | self,
|
7383 - | ) -> crate::output::MalformedTimestampBodyDefaultOutput {
|
7384 - | crate::output::MalformedTimestampBodyDefaultOutput {}
|
7714 + | ) -> crate::output::HttpPrefixHeadersOutput {
|
7715 + | crate::output::HttpPrefixHeadersOutput {
|
7716 + | foo: self.foo,
|
7717 + | foo_map: self.foo_map,
|
7718 + | }
|
7385 7719 | }
|
7386 7720 | }
|
7387 7721 | }
|
7388 - | /// See [`MalformedTimestampHeaderEpochOutput`](crate::output::MalformedTimestampHeaderEpochOutput).
|
7389 - | pub mod malformed_timestamp_header_epoch_output {
|
7722 + | /// See [`HttpPrefixHeadersInResponseOutput`](crate::output::HttpPrefixHeadersInResponseOutput).
|
7723 + | pub mod http_prefix_headers_in_response_output {
|
7390 7724 |
|
7391 - | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampHeaderEpochOutput {
|
7725 + | impl ::std::convert::From<Builder> for crate::output::HttpPrefixHeadersInResponseOutput {
|
7392 7726 | fn from(builder: Builder) -> Self {
|
7393 7727 | builder.build()
|
7394 7728 | }
|
7395 7729 | }
|
7396 - | /// A builder for [`MalformedTimestampHeaderEpochOutput`](crate::output::MalformedTimestampHeaderEpochOutput).
|
7730 + | /// A builder for [`HttpPrefixHeadersInResponseOutput`](crate::output::HttpPrefixHeadersInResponseOutput).
|
7397 7731 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7398 - | pub struct Builder {}
|
7732 + | pub struct Builder {
|
7733 + | pub(crate) prefix_headers: ::std::option::Option<
|
7734 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
7735 + | >,
|
7736 + | }
|
7399 7737 | impl Builder {
|
7400 - | /// Consumes the builder and constructs a [`MalformedTimestampHeaderEpochOutput`](crate::output::MalformedTimestampHeaderEpochOutput).
|
7401 - | pub fn build(self) -> crate::output::MalformedTimestampHeaderEpochOutput {
|
7738 + | #[allow(missing_docs)] // documentation missing in model
|
7739 + | pub fn prefix_headers(
|
7740 + | mut self,
|
7741 + | input: ::std::option::Option<
|
7742 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
7743 + | >,
|
7744 + | ) -> Self {
|
7745 + | self.prefix_headers = input;
|
7746 + | self
|
7747 + | }
|
7748 + | /// Consumes the builder and constructs a [`HttpPrefixHeadersInResponseOutput`](crate::output::HttpPrefixHeadersInResponseOutput).
|
7749 + | pub fn build(self) -> crate::output::HttpPrefixHeadersInResponseOutput {
|
7402 7750 | self.build_enforcing_required_and_enum_traits()
|
7403 7751 | }
|
7404 7752 | fn build_enforcing_required_and_enum_traits(
|
7405 7753 | self,
|
7406 - | ) -> crate::output::MalformedTimestampHeaderEpochOutput {
|
7407 - | crate::output::MalformedTimestampHeaderEpochOutput {}
|
7754 + | ) -> crate::output::HttpPrefixHeadersInResponseOutput {
|
7755 + | crate::output::HttpPrefixHeadersInResponseOutput {
|
7756 + | prefix_headers: self.prefix_headers,
|
7757 + | }
|
7408 7758 | }
|
7409 7759 | }
|
7410 7760 | }
|
7411 - | /// See [`MalformedTimestampHeaderDateTimeOutput`](crate::output::MalformedTimestampHeaderDateTimeOutput).
|
7412 - | pub mod malformed_timestamp_header_date_time_output {
|
7761 + | /// See [`HttpEmptyPrefixHeadersOutput`](crate::output::HttpEmptyPrefixHeadersOutput).
|
7762 + | pub mod http_empty_prefix_headers_output {
|
7413 7763 |
|
7414 - | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampHeaderDateTimeOutput {
|
7764 + | impl ::std::convert::From<Builder> for crate::output::HttpEmptyPrefixHeadersOutput {
|
7415 7765 | fn from(builder: Builder) -> Self {
|
7416 7766 | builder.build()
|
7417 7767 | }
|
7418 7768 | }
|
7419 - | /// A builder for [`MalformedTimestampHeaderDateTimeOutput`](crate::output::MalformedTimestampHeaderDateTimeOutput).
|
7769 + | /// A builder for [`HttpEmptyPrefixHeadersOutput`](crate::output::HttpEmptyPrefixHeadersOutput).
|
7420 7770 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7421 - | pub struct Builder {}
|
7771 + | pub struct Builder {
|
7772 + | pub(crate) prefix_headers: ::std::option::Option<
|
7773 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
7774 + | >,
|
7775 + | pub(crate) specific_header: ::std::option::Option<::std::string::String>,
|
7776 + | }
|
7422 7777 | impl Builder {
|
7423 - | /// Consumes the builder and constructs a [`MalformedTimestampHeaderDateTimeOutput`](crate::output::MalformedTimestampHeaderDateTimeOutput).
|
7424 - | pub fn build(self) -> crate::output::MalformedTimestampHeaderDateTimeOutput {
|
7778 + | #[allow(missing_docs)] // documentation missing in model
|
7779 + | pub fn prefix_headers(
|
7780 + | mut self,
|
7781 + | input: ::std::option::Option<
|
7782 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
7783 + | >,
|
7784 + | ) -> Self {
|
7785 + | self.prefix_headers = input;
|
7786 + | self
|
7787 + | }
|
7788 + | #[allow(missing_docs)] // documentation missing in model
|
7789 + | pub fn specific_header(
|
7790 + | mut self,
|
7791 + | input: ::std::option::Option<::std::string::String>,
|
7792 + | ) -> Self {
|
7793 + | self.specific_header = input;
|
7794 + | self
|
7795 + | }
|
7796 + | /// Consumes the builder and constructs a [`HttpEmptyPrefixHeadersOutput`](crate::output::HttpEmptyPrefixHeadersOutput).
|
7797 + | pub fn build(self) -> crate::output::HttpEmptyPrefixHeadersOutput {
|
7425 7798 | self.build_enforcing_required_and_enum_traits()
|
7426 7799 | }
|
7427 7800 | fn build_enforcing_required_and_enum_traits(
|
7428 7801 | self,
|
7429 - | ) -> crate::output::MalformedTimestampHeaderDateTimeOutput {
|
7430 - | crate::output::MalformedTimestampHeaderDateTimeOutput {}
|
7802 + | ) -> crate::output::HttpEmptyPrefixHeadersOutput {
|
7803 + | crate::output::HttpEmptyPrefixHeadersOutput {
|
7804 + | prefix_headers: self.prefix_headers,
|
7805 + | specific_header: self.specific_header,
|
7806 + | }
|
7431 7807 | }
|
7432 7808 | }
|
7433 7809 | }
|
7434 - | /// See [`MalformedTimestampHeaderDefaultOutput`](crate::output::MalformedTimestampHeaderDefaultOutput).
|
7435 - | pub mod malformed_timestamp_header_default_output {
|
7810 + | /// See [`HttpPayloadTraitsOutput`](crate::output::HttpPayloadTraitsOutput).
|
7811 + | pub mod http_payload_traits_output {
|
7436 7812 |
|
7437 - | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampHeaderDefaultOutput {
|
7813 + | impl ::std::convert::From<Builder> for crate::output::HttpPayloadTraitsOutput {
|
7438 7814 | fn from(builder: Builder) -> Self {
|
7439 7815 | builder.build()
|
7440 7816 | }
|
7441 7817 | }
|
7442 - | /// A builder for [`MalformedTimestampHeaderDefaultOutput`](crate::output::MalformedTimestampHeaderDefaultOutput).
|
7818 + | /// A builder for [`HttpPayloadTraitsOutput`](crate::output::HttpPayloadTraitsOutput).
|
7443 7819 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7444 - | pub struct Builder {}
|
7820 + | pub struct Builder {
|
7821 + | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
7822 + | pub(crate) blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
7823 + | }
|
7445 7824 | impl Builder {
|
7446 - | /// Consumes the builder and constructs a [`MalformedTimestampHeaderDefaultOutput`](crate::output::MalformedTimestampHeaderDefaultOutput).
|
7447 - | pub fn build(self) -> crate::output::MalformedTimestampHeaderDefaultOutput {
|
7825 + | #[allow(missing_docs)] // documentation missing in model
|
7826 + | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7827 + | self.foo = input;
|
7828 + | self
|
7829 + | }
|
7830 + | #[allow(missing_docs)] // documentation missing in model
|
7831 + | pub fn blob(
|
7832 + | mut self,
|
7833 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
7834 + | ) -> Self {
|
7835 + | self.blob = input;
|
7836 + | self
|
7837 + | }
|
7838 + | /// Consumes the builder and constructs a [`HttpPayloadTraitsOutput`](crate::output::HttpPayloadTraitsOutput).
|
7839 + | pub fn build(self) -> crate::output::HttpPayloadTraitsOutput {
|
7448 7840 | self.build_enforcing_required_and_enum_traits()
|
7449 7841 | }
|
7450 7842 | fn build_enforcing_required_and_enum_traits(
|
7451 7843 | self,
|
7452 - | ) -> crate::output::MalformedTimestampHeaderDefaultOutput {
|
7453 - | crate::output::MalformedTimestampHeaderDefaultOutput {}
|
7844 + | ) -> crate::output::HttpPayloadTraitsOutput {
|
7845 + | crate::output::HttpPayloadTraitsOutput {
|
7846 + | foo: self.foo,
|
7847 + | blob: self.blob,
|
7848 + | }
|
7454 7849 | }
|
7455 7850 | }
|
7456 7851 | }
|
7457 - | /// See [`MalformedTimestampQueryEpochOutput`](crate::output::MalformedTimestampQueryEpochOutput).
|
7458 - | pub mod malformed_timestamp_query_epoch_output {
|
7852 + | /// See [`HttpPayloadTraitsWithMediaTypeOutput`](crate::output::HttpPayloadTraitsWithMediaTypeOutput).
|
7853 + | pub mod http_payload_traits_with_media_type_output {
|
7459 7854 |
|
7460 - | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampQueryEpochOutput {
|
7855 + | impl ::std::convert::From<Builder> for crate::output::HttpPayloadTraitsWithMediaTypeOutput {
|
7461 7856 | fn from(builder: Builder) -> Self {
|
7462 7857 | builder.build()
|
7463 7858 | }
|
7464 7859 | }
|
7465 - | /// A builder for [`MalformedTimestampQueryEpochOutput`](crate::output::MalformedTimestampQueryEpochOutput).
|
7860 + | /// A builder for [`HttpPayloadTraitsWithMediaTypeOutput`](crate::output::HttpPayloadTraitsWithMediaTypeOutput).
|
7466 7861 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7467 - | pub struct Builder {}
|
7862 + | pub struct Builder {
|
7863 + | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
7864 + | pub(crate) blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
7865 + | }
|
7468 7866 | impl Builder {
|
7469 - | /// Consumes the builder and constructs a [`MalformedTimestampQueryEpochOutput`](crate::output::MalformedTimestampQueryEpochOutput).
|
7470 - | pub fn build(self) -> crate::output::MalformedTimestampQueryEpochOutput {
|
7867 + | #[allow(missing_docs)] // documentation missing in model
|
7868 + | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7869 + | self.foo = input;
|
7870 + | self
|
7871 + | }
|
7872 + | #[allow(missing_docs)] // documentation missing in model
|
7873 + | pub fn blob(
|
7874 + | mut self,
|
7875 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
7876 + | ) -> Self {
|
7877 + | self.blob = input;
|
7878 + | self
|
7879 + | }
|
7880 + | /// Consumes the builder and constructs a [`HttpPayloadTraitsWithMediaTypeOutput`](crate::output::HttpPayloadTraitsWithMediaTypeOutput).
|
7881 + | pub fn build(self) -> crate::output::HttpPayloadTraitsWithMediaTypeOutput {
|
7471 7882 | self.build_enforcing_required_and_enum_traits()
|
7472 7883 | }
|
7473 7884 | fn build_enforcing_required_and_enum_traits(
|
7474 7885 | self,
|
7475 - | ) -> crate::output::MalformedTimestampQueryEpochOutput {
|
7476 - | crate::output::MalformedTimestampQueryEpochOutput {}
|
7886 + | ) -> crate::output::HttpPayloadTraitsWithMediaTypeOutput {
|
7887 + | crate::output::HttpPayloadTraitsWithMediaTypeOutput {
|
7888 + | foo: self.foo,
|
7889 + | blob: self.blob,
|
7890 + | }
|
7477 7891 | }
|
7478 7892 | }
|
7479 7893 | }
|
7480 - | /// See [`MalformedTimestampQueryHttpDateOutput`](crate::output::MalformedTimestampQueryHttpDateOutput).
|
7481 - | pub mod malformed_timestamp_query_http_date_output {
|
7894 + | /// See [`HttpPayloadWithStructureOutput`](crate::output::HttpPayloadWithStructureOutput).
|
7895 + | pub mod http_payload_with_structure_output {
|
7482 7896 |
|
7483 - | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampQueryHttpDateOutput {
|
7897 + | impl ::std::convert::From<Builder> for crate::output::HttpPayloadWithStructureOutput {
|
7484 7898 | fn from(builder: Builder) -> Self {
|
7485 7899 | builder.build()
|
7486 7900 | }
|
7487 7901 | }
|
7488 - | /// A builder for [`MalformedTimestampQueryHttpDateOutput`](crate::output::MalformedTimestampQueryHttpDateOutput).
|
7902 + | /// A builder for [`HttpPayloadWithStructureOutput`](crate::output::HttpPayloadWithStructureOutput).
|
7489 7903 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7490 - | pub struct Builder {}
|
7904 + | pub struct Builder {
|
7905 + | pub(crate) nested: ::std::option::Option<crate::model::NestedPayload>,
|
7906 + | }
|
7491 7907 | impl Builder {
|
7492 - | /// Consumes the builder and constructs a [`MalformedTimestampQueryHttpDateOutput`](crate::output::MalformedTimestampQueryHttpDateOutput).
|
7493 - | pub fn build(self) -> crate::output::MalformedTimestampQueryHttpDateOutput {
|
7908 + | #[allow(missing_docs)] // documentation missing in model
|
7909 + | pub fn nested(mut self, input: ::std::option::Option<crate::model::NestedPayload>) -> Self {
|
7910 + | self.nested = input;
|
7911 + | self
|
7912 + | }
|
7913 + | /// Consumes the builder and constructs a [`HttpPayloadWithStructureOutput`](crate::output::HttpPayloadWithStructureOutput).
|
7914 + | pub fn build(self) -> crate::output::HttpPayloadWithStructureOutput {
|
7494 7915 | self.build_enforcing_required_and_enum_traits()
|
7495 7916 | }
|
7496 7917 | fn build_enforcing_required_and_enum_traits(
|
7497 7918 | self,
|
7498 - | ) -> crate::output::MalformedTimestampQueryHttpDateOutput {
|
7499 - | crate::output::MalformedTimestampQueryHttpDateOutput {}
|
7919 + | ) -> crate::output::HttpPayloadWithStructureOutput {
|
7920 + | crate::output::HttpPayloadWithStructureOutput {
|
7921 + | nested: self.nested,
|
7922 + | }
|
7500 7923 | }
|
7501 7924 | }
|
7502 7925 | }
|
7503 - | /// See [`MalformedTimestampQueryDefaultOutput`](crate::output::MalformedTimestampQueryDefaultOutput).
|
7504 - | pub mod malformed_timestamp_query_default_output {
|
7926 + | /// See [`HttpEnumPayloadOutput`](crate::output::HttpEnumPayloadOutput).
|
7927 + | pub mod http_enum_payload_output {
|
7505 7928 |
|
7506 - | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampQueryDefaultOutput {
|
7929 + | impl ::std::convert::From<Builder> for crate::output::HttpEnumPayloadOutput {
|
7507 7930 | fn from(builder: Builder) -> Self {
|
7508 7931 | builder.build()
|
7509 7932 | }
|
7510 7933 | }
|
7511 - | /// A builder for [`MalformedTimestampQueryDefaultOutput`](crate::output::MalformedTimestampQueryDefaultOutput).
|
7934 + | /// A builder for [`HttpEnumPayloadOutput`](crate::output::HttpEnumPayloadOutput).
|
7512 7935 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7513 - | pub struct Builder {}
|
7936 + | pub struct Builder {
|
7937 + | pub(crate) payload: ::std::option::Option<crate::model::StringEnum>,
|
7938 + | }
|
7514 7939 | impl Builder {
|
7515 - | /// Consumes the builder and constructs a [`MalformedTimestampQueryDefaultOutput`](crate::output::MalformedTimestampQueryDefaultOutput).
|
7516 - | pub fn build(self) -> crate::output::MalformedTimestampQueryDefaultOutput {
|
7940 + | #[allow(missing_docs)] // documentation missing in model
|
7941 + | pub fn payload(mut self, input: ::std::option::Option<crate::model::StringEnum>) -> Self {
|
7942 + | self.payload = input;
|
7943 + | self
|
7944 + | }
|
7945 + | /// Consumes the builder and constructs a [`HttpEnumPayloadOutput`](crate::output::HttpEnumPayloadOutput).
|
7946 + | pub fn build(self) -> crate::output::HttpEnumPayloadOutput {
|
7517 7947 | self.build_enforcing_required_and_enum_traits()
|
7518 7948 | }
|
7519 - | fn build_enforcing_required_and_enum_traits(
|
7520 - | self,
|
7521 - | ) -> crate::output::MalformedTimestampQueryDefaultOutput {
|
7522 - | crate::output::MalformedTimestampQueryDefaultOutput {}
|
7949 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::HttpEnumPayloadOutput {
|
7950 + | crate::output::HttpEnumPayloadOutput {
|
7951 + | payload: self.payload,
|
7952 + | }
|
7523 7953 | }
|
7524 7954 | }
|
7525 7955 | }
|
7526 - | /// See [`MalformedTimestampPathEpochOutput`](crate::output::MalformedTimestampPathEpochOutput).
|
7527 - | pub mod malformed_timestamp_path_epoch_output {
|
7956 + | /// See [`HttpStringPayloadOutput`](crate::output::HttpStringPayloadOutput).
|
7957 + | pub mod http_string_payload_output {
|
7528 7958 |
|
7529 - | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampPathEpochOutput {
|
7959 + | impl ::std::convert::From<Builder> for crate::output::HttpStringPayloadOutput {
|
7530 7960 | fn from(builder: Builder) -> Self {
|
7531 7961 | builder.build()
|
7532 7962 | }
|
7533 7963 | }
|
7534 - | /// A builder for [`MalformedTimestampPathEpochOutput`](crate::output::MalformedTimestampPathEpochOutput).
|
7964 + | /// A builder for [`HttpStringPayloadOutput`](crate::output::HttpStringPayloadOutput).
|
7535 7965 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7536 - | pub struct Builder {}
|
7966 + | pub struct Builder {
|
7967 + | pub(crate) payload: ::std::option::Option<::std::string::String>,
|
7968 + | }
|
7537 7969 | impl Builder {
|
7538 - | /// Consumes the builder and constructs a [`MalformedTimestampPathEpochOutput`](crate::output::MalformedTimestampPathEpochOutput).
|
7539 - | pub fn build(self) -> crate::output::MalformedTimestampPathEpochOutput {
|
7970 + | #[allow(missing_docs)] // documentation missing in model
|
7971 + | pub fn payload(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7972 + | self.payload = input;
|
7973 + | self
|
7974 + | }
|
7975 + | /// Consumes the builder and constructs a [`HttpStringPayloadOutput`](crate::output::HttpStringPayloadOutput).
|
7976 + | pub fn build(self) -> crate::output::HttpStringPayloadOutput {
|
7540 7977 | self.build_enforcing_required_and_enum_traits()
|
7541 7978 | }
|
7542 7979 | fn build_enforcing_required_and_enum_traits(
|
7543 7980 | self,
|
7544 - | ) -> crate::output::MalformedTimestampPathEpochOutput {
|
7545 - | crate::output::MalformedTimestampPathEpochOutput {}
|
7981 + | ) -> crate::output::HttpStringPayloadOutput {
|
7982 + | crate::output::HttpStringPayloadOutput {
|
7983 + | payload: self.payload,
|
7984 + | }
|
7546 7985 | }
|
7547 7986 | }
|
7548 7987 | }
|
7549 - | /// See [`MalformedTimestampPathHttpDateOutput`](crate::output::MalformedTimestampPathHttpDateOutput).
|
7550 - | pub mod malformed_timestamp_path_http_date_output {
|
7988 + | /// See [`HttpPayloadWithUnionOutput`](crate::output::HttpPayloadWithUnionOutput).
|
7989 + | pub mod http_payload_with_union_output {
|
7551 7990 |
|
7552 - | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampPathHttpDateOutput {
|
7991 + | impl ::std::convert::From<Builder> for crate::output::HttpPayloadWithUnionOutput {
|
7553 7992 | fn from(builder: Builder) -> Self {
|
7554 7993 | builder.build()
|
7555 7994 | }
|
7556 7995 | }
|
7557 - | /// A builder for [`MalformedTimestampPathHttpDateOutput`](crate::output::MalformedTimestampPathHttpDateOutput).
|
7996 + | /// A builder for [`HttpPayloadWithUnionOutput`](crate::output::HttpPayloadWithUnionOutput).
|
7558 7997 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7559 - | pub struct Builder {}
|
7998 + | pub struct Builder {
|
7999 + | pub(crate) nested: ::std::option::Option<crate::model::UnionPayload>,
|
8000 + | }
|
7560 8001 | impl Builder {
|
7561 - | /// Consumes the builder and constructs a [`MalformedTimestampPathHttpDateOutput`](crate::output::MalformedTimestampPathHttpDateOutput).
|
7562 - | pub fn build(self) -> crate::output::MalformedTimestampPathHttpDateOutput {
|
8002 + | #[allow(missing_docs)] // documentation missing in model
|
8003 + | pub fn nested(mut self, input: ::std::option::Option<crate::model::UnionPayload>) -> Self {
|
8004 + | self.nested = input;
|
8005 + | self
|
8006 + | }
|
8007 + | /// Consumes the builder and constructs a [`HttpPayloadWithUnionOutput`](crate::output::HttpPayloadWithUnionOutput).
|
8008 + | pub fn build(self) -> crate::output::HttpPayloadWithUnionOutput {
|
7563 8009 | self.build_enforcing_required_and_enum_traits()
|
7564 8010 | }
|
7565 8011 | fn build_enforcing_required_and_enum_traits(
|
7566 8012 | self,
|
7567 - | ) -> crate::output::MalformedTimestampPathHttpDateOutput {
|
7568 - | crate::output::MalformedTimestampPathHttpDateOutput {}
|
8013 + | ) -> crate::output::HttpPayloadWithUnionOutput {
|
8014 + | crate::output::HttpPayloadWithUnionOutput {
|
8015 + | nested: self.nested,
|
8016 + | }
|
7569 8017 | }
|
7570 8018 | }
|
7571 8019 | }
|
7572 - | /// See [`MalformedTimestampPathDefaultOutput`](crate::output::MalformedTimestampPathDefaultOutput).
|
7573 - | pub mod malformed_timestamp_path_default_output {
|
8020 + | /// See [`HttpResponseCodeOutput`](crate::output::HttpResponseCodeOutput).
|
8021 + | pub mod http_response_code_output {
|
7574 8022 |
|
7575 - | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampPathDefaultOutput {
|
8023 + | impl ::std::convert::From<Builder> for crate::output::HttpResponseCodeOutput {
|
7576 8024 | fn from(builder: Builder) -> Self {
|
7577 8025 | builder.build()
|
7578 8026 | }
|
7579 8027 | }
|
7580 - | /// A builder for [`MalformedTimestampPathDefaultOutput`](crate::output::MalformedTimestampPathDefaultOutput).
|
8028 + | /// A builder for [`HttpResponseCodeOutput`](crate::output::HttpResponseCodeOutput).
|
7581 8029 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7582 - | pub struct Builder {}
|
8030 + | pub struct Builder {
|
8031 + | pub(crate) status: ::std::option::Option<i32>,
|
8032 + | }
|
7583 8033 | impl Builder {
|
7584 - | /// Consumes the builder and constructs a [`MalformedTimestampPathDefaultOutput`](crate::output::MalformedTimestampPathDefaultOutput).
|
7585 - | pub fn build(self) -> crate::output::MalformedTimestampPathDefaultOutput {
|
8034 + | #[allow(missing_docs)] // documentation missing in model
|
8035 + | pub fn status(mut self, input: ::std::option::Option<i32>) -> Self {
|
8036 + | self.status = input;
|
8037 + | self
|
8038 + | }
|
8039 + | /// Consumes the builder and constructs a [`HttpResponseCodeOutput`](crate::output::HttpResponseCodeOutput).
|
8040 + | pub fn build(self) -> crate::output::HttpResponseCodeOutput {
|
7586 8041 | self.build_enforcing_required_and_enum_traits()
|
7587 8042 | }
|
7588 - | fn build_enforcing_required_and_enum_traits(
|
7589 - | self,
|
7590 - | ) -> crate::output::MalformedTimestampPathDefaultOutput {
|
7591 - | crate::output::MalformedTimestampPathDefaultOutput {}
|
8043 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::HttpResponseCodeOutput {
|
8044 + | crate::output::HttpResponseCodeOutput {
|
8045 + | status: self.status,
|
8046 + | }
|
7592 8047 | }
|
7593 8048 | }
|
7594 8049 | }
|
7595 - | /// See [`MalformedStringOutput`](crate::output::MalformedStringOutput).
|
7596 - | pub mod malformed_string_output {
|
8050 + | /// See [`ResponseCodeRequiredOutput`](crate::output::ResponseCodeRequiredOutput).
|
8051 + | pub mod response_code_required_output {
|
7597 8052 |
|
7598 - | impl ::std::convert::From<Builder> for crate::output::MalformedStringOutput {
|
7599 - | fn from(builder: Builder) -> Self {
|
7600 - | builder.build()
|
7601 - | }
|
8053 + | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
8054 + | /// Holds one variant for each of the ways the builder can fail.
|
8055 + | #[allow(clippy::enum_variant_names)]
|
8056 + | pub enum ConstraintViolation {
|
8057 + | /// `response_code` was not provided but it is required when building `ResponseCodeRequiredOutput`.
|
8058 + | MissingResponseCode,
|
7602 8059 | }
|
7603 - | /// A builder for [`MalformedStringOutput`](crate::output::MalformedStringOutput).
|
7604 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7605 - | pub struct Builder {}
|
7606 - | impl Builder {
|
7607 - | /// Consumes the builder and constructs a [`MalformedStringOutput`](crate::output::MalformedStringOutput).
|
7608 - | pub fn build(self) -> crate::output::MalformedStringOutput {
|
7609 - | self.build_enforcing_required_and_enum_traits()
|
7610 - | }
|
7611 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedStringOutput {
|
7612 - | crate::output::MalformedStringOutput {}
|
8060 + | impl ::std::fmt::Display for ConstraintViolation {
|
8061 + | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
8062 + | match self {
|
8063 + | ConstraintViolation::MissingResponseCode => write!(f, "`response_code` was not provided but it is required when building `ResponseCodeRequiredOutput`"),
|
8064 + | }
|
7613 8065 | }
|
7614 8066 | }
|
7615 - | }
|
7616 - | /// See [`MalformedDoubleOutput`](crate::output::MalformedDoubleOutput).
|
7617 - | pub mod malformed_double_output {
|
8067 + | impl ::std::error::Error for ConstraintViolation {}
|
8068 + | impl ::std::convert::TryFrom<Builder> for crate::output::ResponseCodeRequiredOutput {
|
8069 + | type Error = ConstraintViolation;
|
7618 8070 |
|
7619 - | impl ::std::convert::From<Builder> for crate::output::MalformedDoubleOutput {
|
7620 - | fn from(builder: Builder) -> Self {
|
8071 + | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
7621 8072 | builder.build()
|
7622 8073 | }
|
7623 8074 | }
|
7624 - | /// A builder for [`MalformedDoubleOutput`](crate::output::MalformedDoubleOutput).
|
8075 + | /// A builder for [`ResponseCodeRequiredOutput`](crate::output::ResponseCodeRequiredOutput).
|
7625 8076 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7626 - | pub struct Builder {}
|
8077 + | pub struct Builder {
|
8078 + | pub(crate) response_code: ::std::option::Option<i32>,
|
8079 + | }
|
7627 8080 | impl Builder {
|
7628 - | /// Consumes the builder and constructs a [`MalformedDoubleOutput`](crate::output::MalformedDoubleOutput).
|
7629 - | pub fn build(self) -> crate::output::MalformedDoubleOutput {
|
8081 + | #[allow(missing_docs)] // documentation missing in model
|
8082 + | pub fn response_code(mut self, input: i32) -> Self {
|
8083 + | self.response_code = Some(input);
|
8084 + | self
|
8085 + | }
|
8086 + | /// Consumes the builder and constructs a [`ResponseCodeRequiredOutput`](crate::output::ResponseCodeRequiredOutput).
|
8087 + | ///
|
8088 + | /// The builder fails to construct a [`ResponseCodeRequiredOutput`](crate::output::ResponseCodeRequiredOutput) if you do not provide a value for all non-`Option`al members.
|
8089 + | ///
|
8090 + | pub fn build(
|
8091 + | self,
|
8092 + | ) -> Result<crate::output::ResponseCodeRequiredOutput, ConstraintViolation> {
|
7630 8093 | self.build_enforcing_required_and_enum_traits()
|
7631 8094 | }
|
7632 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedDoubleOutput {
|
7633 - | crate::output::MalformedDoubleOutput {}
|
8095 + | fn build_enforcing_required_and_enum_traits(
|
8096 + | self,
|
8097 + | ) -> Result<crate::output::ResponseCodeRequiredOutput, ConstraintViolation> {
|
8098 + | Ok(crate::output::ResponseCodeRequiredOutput {
|
8099 + | response_code: self
|
8100 + | .response_code
|
8101 + | .ok_or(ConstraintViolation::MissingResponseCode)?,
|
8102 + | })
|
7634 8103 | }
|
7635 8104 | }
|
7636 8105 | }
|
7637 - | /// See [`MalformedFloatOutput`](crate::output::MalformedFloatOutput).
|
7638 - | pub mod malformed_float_output {
|
8106 + | /// See [`ResponseCodeHttpFallbackOutput`](crate::output::ResponseCodeHttpFallbackOutput).
|
8107 + | pub mod response_code_http_fallback_output {
|
7639 8108 |
|
7640 - | impl ::std::convert::From<Builder> for crate::output::MalformedFloatOutput {
|
8109 + | impl ::std::convert::From<Builder> for crate::output::ResponseCodeHttpFallbackOutput {
|
7641 8110 | fn from(builder: Builder) -> Self {
|
7642 8111 | builder.build()
|
7643 8112 | }
|
7644 8113 | }
|
7645 - | /// A builder for [`MalformedFloatOutput`](crate::output::MalformedFloatOutput).
|
8114 + | /// A builder for [`ResponseCodeHttpFallbackOutput`](crate::output::ResponseCodeHttpFallbackOutput).
|
7646 8115 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7647 8116 | pub struct Builder {}
|
7648 8117 | impl Builder {
|
7649 - | /// Consumes the builder and constructs a [`MalformedFloatOutput`](crate::output::MalformedFloatOutput).
|
7650 - | pub fn build(self) -> crate::output::MalformedFloatOutput {
|
8118 + | /// Consumes the builder and constructs a [`ResponseCodeHttpFallbackOutput`](crate::output::ResponseCodeHttpFallbackOutput).
|
8119 + | pub fn build(self) -> crate::output::ResponseCodeHttpFallbackOutput {
|
7651 8120 | self.build_enforcing_required_and_enum_traits()
|
7652 8121 | }
|
7653 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedFloatOutput {
|
7654 - | crate::output::MalformedFloatOutput {}
|
8122 + | fn build_enforcing_required_and_enum_traits(
|
8123 + | self,
|
8124 + | ) -> crate::output::ResponseCodeHttpFallbackOutput {
|
8125 + | crate::output::ResponseCodeHttpFallbackOutput {}
|
7655 8126 | }
|
7656 8127 | }
|
7657 8128 | }
|
7658 - | /// See [`MalformedLongOutput`](crate::output::MalformedLongOutput).
|
7659 - | pub mod malformed_long_output {
|
8129 + | /// See [`StreamingTraitsOutput`](crate::output::StreamingTraitsOutput).
|
8130 + | pub mod streaming_traits_output {
|
7660 8131 |
|
7661 - | impl ::std::convert::From<Builder> for crate::output::MalformedLongOutput {
|
8132 + | impl ::std::convert::From<Builder> for crate::output::StreamingTraitsOutput {
|
7662 8133 | fn from(builder: Builder) -> Self {
|
7663 8134 | builder.build()
|
7664 8135 | }
|
7665 8136 | }
|
7666 - | /// A builder for [`MalformedLongOutput`](crate::output::MalformedLongOutput).
|
8137 + | /// A builder for [`StreamingTraitsOutput`](crate::output::StreamingTraitsOutput).
|
7667 8138 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7668 - | pub struct Builder {}
|
8139 + | pub struct Builder {
|
8140 + | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
8141 + | pub(crate) blob: ::std::option::Option<::aws_smithy_http_server_python::types::ByteStream>,
|
8142 + | }
|
7669 8143 | impl Builder {
|
7670 - | /// Consumes the builder and constructs a [`MalformedLongOutput`](crate::output::MalformedLongOutput).
|
7671 - | pub fn build(self) -> crate::output::MalformedLongOutput {
|
8144 + | #[allow(missing_docs)] // documentation missing in model
|
8145 + | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
8146 + | self.foo = input;
|
8147 + | self
|
8148 + | }
|
8149 + | #[allow(missing_docs)] // documentation missing in model
|
8150 + | pub fn blob(mut self, input: ::aws_smithy_http_server_python::types::ByteStream) -> Self {
|
8151 + | self.blob = Some(input);
|
8152 + | self
|
8153 + | }
|
8154 + | /// Consumes the builder and constructs a [`StreamingTraitsOutput`](crate::output::StreamingTraitsOutput).
|
8155 + | pub fn build(self) -> crate::output::StreamingTraitsOutput {
|
7672 8156 | self.build_enforcing_required_and_enum_traits()
|
7673 8157 | }
|
7674 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedLongOutput {
|
7675 - | crate::output::MalformedLongOutput {}
|
8158 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::StreamingTraitsOutput {
|
8159 + | crate::output::StreamingTraitsOutput {
|
8160 + | foo: self.foo,
|
8161 + | blob: self.blob.unwrap_or_default(),
|
8162 + | }
|
7676 8163 | }
|
7677 8164 | }
|
7678 8165 | }
|
7679 - | /// See [`MalformedShortOutput`](crate::output::MalformedShortOutput).
|
7680 - | pub mod malformed_short_output {
|
8166 + | /// See [`StreamingTraitsRequireLengthOutput`](crate::output::StreamingTraitsRequireLengthOutput).
|
8167 + | pub mod streaming_traits_require_length_output {
|
7681 8168 |
|
7682 - | impl ::std::convert::From<Builder> for crate::output::MalformedShortOutput {
|
8169 + | impl ::std::convert::From<Builder> for crate::output::StreamingTraitsRequireLengthOutput {
|
7683 8170 | fn from(builder: Builder) -> Self {
|
7684 8171 | builder.build()
|
7685 8172 | }
|
7686 8173 | }
|
7687 - | /// A builder for [`MalformedShortOutput`](crate::output::MalformedShortOutput).
|
8174 + | /// A builder for [`StreamingTraitsRequireLengthOutput`](crate::output::StreamingTraitsRequireLengthOutput).
|
7688 8175 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7689 8176 | pub struct Builder {}
|
7690 8177 | impl Builder {
|
7691 - | /// Consumes the builder and constructs a [`MalformedShortOutput`](crate::output::MalformedShortOutput).
|
7692 - | pub fn build(self) -> crate::output::MalformedShortOutput {
|
8178 + | /// Consumes the builder and constructs a [`StreamingTraitsRequireLengthOutput`](crate::output::StreamingTraitsRequireLengthOutput).
|
8179 + | pub fn build(self) -> crate::output::StreamingTraitsRequireLengthOutput {
|
7693 8180 | self.build_enforcing_required_and_enum_traits()
|
7694 8181 | }
|
7695 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedShortOutput {
|
7696 - | crate::output::MalformedShortOutput {}
|
8182 + | fn build_enforcing_required_and_enum_traits(
|
8183 + | self,
|
8184 + | ) -> crate::output::StreamingTraitsRequireLengthOutput {
|
8185 + | crate::output::StreamingTraitsRequireLengthOutput {}
|
7697 8186 | }
|
7698 8187 | }
|
7699 8188 | }
|
7700 - | /// See [`MalformedByteOutput`](crate::output::MalformedByteOutput).
|
7701 - | pub mod malformed_byte_output {
|
8189 + | /// See [`StreamingTraitsWithMediaTypeOutput`](crate::output::StreamingTraitsWithMediaTypeOutput).
|
8190 + | pub mod streaming_traits_with_media_type_output {
|
7702 8191 |
|
7703 - | impl ::std::convert::From<Builder> for crate::output::MalformedByteOutput {
|
8192 + | impl ::std::convert::From<Builder> for crate::output::StreamingTraitsWithMediaTypeOutput {
|
7704 8193 | fn from(builder: Builder) -> Self {
|
7705 8194 | builder.build()
|
7706 8195 | }
|
7707 8196 | }
|
7708 - | /// A builder for [`MalformedByteOutput`](crate::output::MalformedByteOutput).
|
8197 + | /// A builder for [`StreamingTraitsWithMediaTypeOutput`](crate::output::StreamingTraitsWithMediaTypeOutput).
|
7709 8198 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7710 - | pub struct Builder {}
|
8199 + | pub struct Builder {
|
8200 + | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
8201 + | pub(crate) blob: ::std::option::Option<::aws_smithy_http_server_python::types::ByteStream>,
|
8202 + | }
|
7711 8203 | impl Builder {
|
7712 - | /// Consumes the builder and constructs a [`MalformedByteOutput`](crate::output::MalformedByteOutput).
|
7713 - | pub fn build(self) -> crate::output::MalformedByteOutput {
|
8204 + | #[allow(missing_docs)] // documentation missing in model
|
8205 + | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
8206 + | self.foo = input;
|
8207 + | self
|
8208 + | }
|
8209 + | #[allow(missing_docs)] // documentation missing in model
|
8210 + | pub fn blob(mut self, input: ::aws_smithy_http_server_python::types::ByteStream) -> Self {
|
8211 + | self.blob = Some(input);
|
8212 + | self
|
8213 + | }
|
8214 + | /// Consumes the builder and constructs a [`StreamingTraitsWithMediaTypeOutput`](crate::output::StreamingTraitsWithMediaTypeOutput).
|
8215 + | pub fn build(self) -> crate::output::StreamingTraitsWithMediaTypeOutput {
|
7714 8216 | self.build_enforcing_required_and_enum_traits()
|
7715 8217 | }
|
7716 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedByteOutput {
|
7717 - | crate::output::MalformedByteOutput {}
|
8218 + | fn build_enforcing_required_and_enum_traits(
|
8219 + | self,
|
8220 + | ) -> crate::output::StreamingTraitsWithMediaTypeOutput {
|
8221 + | crate::output::StreamingTraitsWithMediaTypeOutput {
|
8222 + | foo: self.foo,
|
8223 + | blob: self.blob.unwrap_or_default(),
|
8224 + | }
|
7718 8225 | }
|
7719 8226 | }
|
7720 8227 | }
|
7721 - | /// See [`MalformedBlobOutput`](crate::output::MalformedBlobOutput).
|
7722 - | pub mod malformed_blob_output {
|
8228 + | /// See [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
8229 + | pub mod greeting_with_errors_output {
|
7723 8230 |
|
7724 - | impl ::std::convert::From<Builder> for crate::output::MalformedBlobOutput {
|
8231 + | impl ::std::convert::From<Builder> for crate::output::GreetingWithErrorsOutput {
|
7725 8232 | fn from(builder: Builder) -> Self {
|
7726 8233 | builder.build()
|
7727 8234 | }
|
7728 8235 | }
|
7729 - | /// A builder for [`MalformedBlobOutput`](crate::output::MalformedBlobOutput).
|
8236 + | /// A builder for [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
7730 8237 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7731 - | pub struct Builder {}
|
8238 + | pub struct Builder {
|
8239 + | pub(crate) greeting: ::std::option::Option<::std::string::String>,
|
8240 + | }
|
7732 8241 | impl Builder {
|
7733 - | /// Consumes the builder and constructs a [`MalformedBlobOutput`](crate::output::MalformedBlobOutput).
|
7734 - | pub fn build(self) -> crate::output::MalformedBlobOutput {
|
8242 + | #[allow(missing_docs)] // documentation missing in model
|
8243 + | pub fn greeting(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
8244 + | self.greeting = input;
|
8245 + | self
|
8246 + | }
|
8247 + | /// Consumes the builder and constructs a [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
8248 + | pub fn build(self) -> crate::output::GreetingWithErrorsOutput {
|
7735 8249 | self.build_enforcing_required_and_enum_traits()
|
7736 8250 | }
|
7737 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedBlobOutput {
|
7738 - | crate::output::MalformedBlobOutput {}
|
8251 + | fn build_enforcing_required_and_enum_traits(
|
8252 + | self,
|
8253 + | ) -> crate::output::GreetingWithErrorsOutput {
|
8254 + | crate::output::GreetingWithErrorsOutput {
|
8255 + | greeting: self.greeting,
|
8256 + | }
|
7739 8257 | }
|
7740 8258 | }
|
7741 8259 | }
|
7742 - | /// See [`MalformedMapOutput`](crate::output::MalformedMapOutput).
|
7743 - | pub mod malformed_map_output {
|
8260 + | /// See [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
8261 + | pub mod simple_scalar_properties_output {
|
7744 8262 |
|
7745 - | impl ::std::convert::From<Builder> for crate::output::MalformedMapOutput {
|
8263 + | impl ::std::convert::From<Builder> for crate::output::SimpleScalarPropertiesOutput {
|
7746 8264 | fn from(builder: Builder) -> Self {
|
7747 8265 | builder.build()
|
7748 8266 | }
|
7749 8267 | }
|
7750 - | /// A builder for [`MalformedMapOutput`](crate::output::MalformedMapOutput).
|
8268 + | /// A builder for [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
7751 8269 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7752 - | pub struct Builder {}
|
8270 + | pub struct Builder {
|
8271 + | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
8272 + | pub(crate) string_value: ::std::option::Option<::std::string::String>,
|
8273 + | pub(crate) true_boolean_value: ::std::option::Option<bool>,
|
8274 + | pub(crate) false_boolean_value: ::std::option::Option<bool>,
|
8275 + | pub(crate) byte_value: ::std::option::Option<i8>,
|
8276 + | pub(crate) short_value: ::std::option::Option<i16>,
|
8277 + | pub(crate) integer_value: ::std::option::Option<i32>,
|
8278 + | pub(crate) long_value: ::std::option::Option<i64>,
|
8279 + | pub(crate) float_value: ::std::option::Option<f32>,
|
8280 + | pub(crate) double_value: ::std::option::Option<f64>,
|
8281 + | }
|
7753 8282 | impl Builder {
|
7754 - | /// Consumes the builder and constructs a [`MalformedMapOutput`](crate::output::MalformedMapOutput).
|
7755 - | pub fn build(self) -> crate::output::MalformedMapOutput {
|
8283 + | #[allow(missing_docs)] // documentation missing in model
|
8284 + | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
8285 + | self.foo = input;
|
8286 + | self
|
8287 + | }
|
8288 + | #[allow(missing_docs)] // documentation missing in model
|
8289 + | pub fn string_value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
8290 + | self.string_value = input;
|
8291 + | self
|
8292 + | }
|
8293 + | #[allow(missing_docs)] // documentation missing in model
|
8294 + | pub fn true_boolean_value(mut self, input: ::std::option::Option<bool>) -> Self {
|
8295 + | self.true_boolean_value = input;
|
8296 + | self
|
8297 + | }
|
8298 + | #[allow(missing_docs)] // documentation missing in model
|
8299 + | pub fn false_boolean_value(mut self, input: ::std::option::Option<bool>) -> Self {
|
8300 + | self.false_boolean_value = input;
|
8301 + | self
|
8302 + | }
|
8303 + | #[allow(missing_docs)] // documentation missing in model
|
8304 + | pub fn byte_value(mut self, input: ::std::option::Option<i8>) -> Self {
|
8305 + | self.byte_value = input;
|
8306 + | self
|
8307 + | }
|
8308 + | #[allow(missing_docs)] // documentation missing in model
|
8309 + | pub fn short_value(mut self, input: ::std::option::Option<i16>) -> Self {
|
8310 + | self.short_value = input;
|
8311 + | self
|
8312 + | }
|
8313 + | #[allow(missing_docs)] // documentation missing in model
|
8314 + | pub fn integer_value(mut self, input: ::std::option::Option<i32>) -> Self {
|
8315 + | self.integer_value = input;
|
8316 + | self
|
8317 + | }
|
8318 + | #[allow(missing_docs)] // documentation missing in model
|
8319 + | pub fn long_value(mut self, input: ::std::option::Option<i64>) -> Self {
|
8320 + | self.long_value = input;
|
8321 + | self
|
8322 + | }
|
8323 + | #[allow(missing_docs)] // documentation missing in model
|
8324 + | pub fn float_value(mut self, input: ::std::option::Option<f32>) -> Self {
|
8325 + | self.float_value = input;
|
8326 + | self
|
8327 + | }
|
8328 + | #[allow(missing_docs)] // documentation missing in model
|
8329 + | pub fn double_value(mut self, input: ::std::option::Option<f64>) -> Self {
|
8330 + | self.double_value = input;
|
8331 + | self
|
8332 + | }
|
8333 + | /// Consumes the builder and constructs a [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
8334 + | pub fn build(self) -> crate::output::SimpleScalarPropertiesOutput {
|
7756 8335 | self.build_enforcing_required_and_enum_traits()
|
7757 8336 | }
|
7758 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedMapOutput {
|
7759 - | crate::output::MalformedMapOutput {}
|
8337 + | fn build_enforcing_required_and_enum_traits(
|
8338 + | self,
|
8339 + | ) -> crate::output::SimpleScalarPropertiesOutput {
|
8340 + | crate::output::SimpleScalarPropertiesOutput {
|
8341 + | foo: self.foo,
|
8342 + | string_value: self.string_value,
|
8343 + | true_boolean_value: self.true_boolean_value,
|
8344 + | false_boolean_value: self.false_boolean_value,
|
8345 + | byte_value: self.byte_value,
|
8346 + | short_value: self.short_value,
|
8347 + | integer_value: self.integer_value,
|
8348 + | long_value: self.long_value,
|
8349 + | float_value: self.float_value,
|
8350 + | double_value: self.double_value,
|
8351 + | }
|
7760 8352 | }
|
7761 8353 | }
|
7762 8354 | }
|
7763 - | /// See [`MalformedListOutput`](crate::output::MalformedListOutput).
|
7764 - | pub mod malformed_list_output {
|
8355 + | /// See [`JsonTimestampsOutput`](crate::output::JsonTimestampsOutput).
|
8356 + | pub mod json_timestamps_output {
|
7765 8357 |
|
7766 - | impl ::std::convert::From<Builder> for crate::output::MalformedListOutput {
|
8358 + | impl ::std::convert::From<Builder> for crate::output::JsonTimestampsOutput {
|
7767 8359 | fn from(builder: Builder) -> Self {
|
7768 8360 | builder.build()
|
7769 8361 | }
|
7770 8362 | }
|
7771 - | /// A builder for [`MalformedListOutput`](crate::output::MalformedListOutput).
|
8363 + | /// A builder for [`JsonTimestampsOutput`](crate::output::JsonTimestampsOutput).
|
7772 8364 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7773 - | pub struct Builder {}
|
8365 + | pub struct Builder {
|
8366 + | pub(crate) normal: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8367 + | pub(crate) date_time:
|
8368 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8369 + | pub(crate) date_time_on_target:
|
8370 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8371 + | pub(crate) epoch_seconds:
|
8372 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8373 + | pub(crate) epoch_seconds_on_target:
|
8374 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8375 + | pub(crate) http_date:
|
8376 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8377 + | pub(crate) http_date_on_target:
|
8378 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8379 + | }
|
7774 8380 | impl Builder {
|
7775 - | /// Consumes the builder and constructs a [`MalformedListOutput`](crate::output::MalformedListOutput).
|
7776 - | pub fn build(self) -> crate::output::MalformedListOutput {
|
7777 - | self.build_enforcing_required_and_enum_traits()
|
8381 + | #[allow(missing_docs)] // documentation missing in model
|
8382 + | pub fn normal(
|
8383 + | mut self,
|
8384 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8385 + | ) -> Self {
|
8386 + | self.normal = input;
|
8387 + | self
|
7778 8388 | }
|
7779 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedListOutput {
|
7780 - | crate::output::MalformedListOutput {}
|
8389 + | #[allow(missing_docs)] // documentation missing in model
|
8390 + | pub fn date_time(
|
8391 + | mut self,
|
8392 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8393 + | ) -> Self {
|
8394 + | self.date_time = input;
|
8395 + | self
|
8396 + | }
|
8397 + | #[allow(missing_docs)] // documentation missing in model
|
8398 + | pub fn date_time_on_target(
|
8399 + | mut self,
|
8400 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8401 + | ) -> Self {
|
8402 + | self.date_time_on_target = input;
|
8403 + | self
|
8404 + | }
|
8405 + | #[allow(missing_docs)] // documentation missing in model
|
8406 + | pub fn epoch_seconds(
|
8407 + | mut self,
|
8408 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8409 + | ) -> Self {
|
8410 + | self.epoch_seconds = input;
|
8411 + | self
|
8412 + | }
|
8413 + | #[allow(missing_docs)] // documentation missing in model
|
8414 + | pub fn epoch_seconds_on_target(
|
8415 + | mut self,
|
8416 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8417 + | ) -> Self {
|
8418 + | self.epoch_seconds_on_target = input;
|
8419 + | self
|
8420 + | }
|
8421 + | #[allow(missing_docs)] // documentation missing in model
|
8422 + | pub fn http_date(
|
8423 + | mut self,
|
8424 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8425 + | ) -> Self {
|
8426 + | self.http_date = input;
|
8427 + | self
|
7781 8428 | }
|
7782 - | }
|
7783 - | }
|
7784 - | /// See [`MalformedBooleanOutput`](crate::output::MalformedBooleanOutput).
|
7785 - | pub mod malformed_boolean_output {
|
7786 - |
|
7787 - | impl ::std::convert::From<Builder> for crate::output::MalformedBooleanOutput {
|
7788 - | fn from(builder: Builder) -> Self {
|
7789 - | builder.build()
|
8429 + | #[allow(missing_docs)] // documentation missing in model
|
8430 + | pub fn http_date_on_target(
|
8431 + | mut self,
|
8432 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8433 + | ) -> Self {
|
8434 + | self.http_date_on_target = input;
|
8435 + | self
|
7790 8436 | }
|
7791 - | }
|
7792 - | /// A builder for [`MalformedBooleanOutput`](crate::output::MalformedBooleanOutput).
|
7793 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7794 - | pub struct Builder {}
|
7795 - | impl Builder {
|
7796 - | /// Consumes the builder and constructs a [`MalformedBooleanOutput`](crate::output::MalformedBooleanOutput).
|
7797 - | pub fn build(self) -> crate::output::MalformedBooleanOutput {
|
8437 + | /// Consumes the builder and constructs a [`JsonTimestampsOutput`](crate::output::JsonTimestampsOutput).
|
8438 + | pub fn build(self) -> crate::output::JsonTimestampsOutput {
|
7798 8439 | self.build_enforcing_required_and_enum_traits()
|
7799 8440 | }
|
7800 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedBooleanOutput {
|
7801 - | crate::output::MalformedBooleanOutput {}
|
8441 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonTimestampsOutput {
|
8442 + | crate::output::JsonTimestampsOutput {
|
8443 + | normal: self.normal,
|
8444 + | date_time: self.date_time,
|
8445 + | date_time_on_target: self.date_time_on_target,
|
8446 + | epoch_seconds: self.epoch_seconds,
|
8447 + | epoch_seconds_on_target: self.epoch_seconds_on_target,
|
8448 + | http_date: self.http_date,
|
8449 + | http_date_on_target: self.http_date_on_target,
|
8450 + | }
|
7802 8451 | }
|
7803 8452 | }
|
7804 8453 | }
|
7805 - | /// See [`MalformedUnionOutput`](crate::output::MalformedUnionOutput).
|
7806 - | pub mod malformed_union_output {
|
8454 + | /// See [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
8455 + | pub mod json_enums_output {
|
7807 8456 |
|
7808 - | impl ::std::convert::From<Builder> for crate::output::MalformedUnionOutput {
|
8457 + | impl ::std::convert::From<Builder> for crate::output::JsonEnumsOutput {
|
7809 8458 | fn from(builder: Builder) -> Self {
|
7810 8459 | builder.build()
|
7811 8460 | }
|
7812 8461 | }
|
7813 - | /// A builder for [`MalformedUnionOutput`](crate::output::MalformedUnionOutput).
|
8462 + | /// A builder for [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
7814 8463 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7815 - | pub struct Builder {}
|
8464 + | pub struct Builder {
|
8465 + | pub(crate) foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
8466 + | pub(crate) foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
8467 + | pub(crate) foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
8468 + | pub(crate) foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
8469 + | pub(crate) foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
8470 + | pub(crate) foo_enum_map: ::std::option::Option<
|
8471 + | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
8472 + | >,
|
8473 + | }
|
7816 8474 | impl Builder {
|
7817 - | /// Consumes the builder and constructs a [`MalformedUnionOutput`](crate::output::MalformedUnionOutput).
|
7818 - | pub fn build(self) -> crate::output::MalformedUnionOutput {
|
7819 - | self.build_enforcing_required_and_enum_traits()
|
8475 + | #[allow(missing_docs)] // documentation missing in model
|
8476 + | pub fn foo_enum1(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
8477 + | self.foo_enum1 = input;
|
8478 + | self
|
7820 8479 | }
|
7821 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedUnionOutput {
|
7822 - | crate::output::MalformedUnionOutput {}
|
8480 + | #[allow(missing_docs)] // documentation missing in model
|
8481 + | pub fn foo_enum2(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
8482 + | self.foo_enum2 = input;
|
8483 + | self
|
7823 8484 | }
|
7824 - | }
|
7825 - | }
|
7826 - | /// See [`MalformedIntegerOutput`](crate::output::MalformedIntegerOutput).
|
7827 - | pub mod malformed_integer_output {
|
7828 - |
|
7829 - | impl ::std::convert::From<Builder> for crate::output::MalformedIntegerOutput {
|
7830 - | fn from(builder: Builder) -> Self {
|
7831 - | builder.build()
|
8485 + | #[allow(missing_docs)] // documentation missing in model
|
8486 + | pub fn foo_enum3(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
8487 + | self.foo_enum3 = input;
|
8488 + | self
|
7832 8489 | }
|
7833 - | }
|
7834 - | /// A builder for [`MalformedIntegerOutput`](crate::output::MalformedIntegerOutput).
|
7835 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7836 - | pub struct Builder {}
|
7837 - | impl Builder {
|
7838 - | /// Consumes the builder and constructs a [`MalformedIntegerOutput`](crate::output::MalformedIntegerOutput).
|
7839 - | pub fn build(self) -> crate::output::MalformedIntegerOutput {
|
7840 - | self.build_enforcing_required_and_enum_traits()
|
8490 + | #[allow(missing_docs)] // documentation missing in model
|
8491 + | pub fn foo_enum_list(
|
8492 + | mut self,
|
8493 + | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
8494 + | ) -> Self {
|
8495 + | self.foo_enum_list = input;
|
8496 + | self
|
7841 8497 | }
|
7842 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedIntegerOutput {
|
7843 - | crate::output::MalformedIntegerOutput {}
|
8498 + | #[allow(missing_docs)] // documentation missing in model
|
8499 + | pub fn foo_enum_set(
|
8500 + | mut self,
|
8501 + | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
8502 + | ) -> Self {
|
8503 + | self.foo_enum_set = input;
|
8504 + | self
|
7844 8505 | }
|
7845 - | }
|
7846 - | }
|
7847 - | /// See [`MalformedRequestBodyOutput`](crate::output::MalformedRequestBodyOutput).
|
7848 - | pub mod malformed_request_body_output {
|
7849 - |
|
7850 - | impl ::std::convert::From<Builder> for crate::output::MalformedRequestBodyOutput {
|
7851 - | fn from(builder: Builder) -> Self {
|
7852 - | builder.build()
|
8506 + | #[allow(missing_docs)] // documentation missing in model
|
8507 + | pub fn foo_enum_map(
|
8508 + | mut self,
|
8509 + | input: ::std::option::Option<
|
8510 + | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
8511 + | >,
|
8512 + | ) -> Self {
|
8513 + | self.foo_enum_map = input;
|
8514 + | self
|
7853 8515 | }
|
7854 - | }
|
7855 - | /// A builder for [`MalformedRequestBodyOutput`](crate::output::MalformedRequestBodyOutput).
|
7856 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7857 - | pub struct Builder {}
|
7858 - | impl Builder {
|
7859 - | /// Consumes the builder and constructs a [`MalformedRequestBodyOutput`](crate::output::MalformedRequestBodyOutput).
|
7860 - | pub fn build(self) -> crate::output::MalformedRequestBodyOutput {
|
8516 + | /// Consumes the builder and constructs a [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
8517 + | pub fn build(self) -> crate::output::JsonEnumsOutput {
|
7861 8518 | self.build_enforcing_required_and_enum_traits()
|
7862 8519 | }
|
7863 - | fn build_enforcing_required_and_enum_traits(
|
7864 - | self,
|
7865 - | ) -> crate::output::MalformedRequestBodyOutput {
|
7866 - | crate::output::MalformedRequestBodyOutput {}
|
8520 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonEnumsOutput {
|
8521 + | crate::output::JsonEnumsOutput {
|
8522 + | foo_enum1: self.foo_enum1,
|
8523 + | foo_enum2: self.foo_enum2,
|
8524 + | foo_enum3: self.foo_enum3,
|
8525 + | foo_enum_list: self.foo_enum_list,
|
8526 + | foo_enum_set: self.foo_enum_set,
|
8527 + | foo_enum_map: self.foo_enum_map,
|
8528 + | }
|
7867 8529 | }
|
7868 8530 | }
|
7869 8531 | }
|
7870 - | /// See [`HttpChecksumRequiredOutput`](crate::output::HttpChecksumRequiredOutput).
|
7871 - | pub mod http_checksum_required_output {
|
8532 + | /// See [`JsonIntEnumsOutput`](crate::output::JsonIntEnumsOutput).
|
8533 + | pub mod json_int_enums_output {
|
7872 8534 |
|
7873 - | impl ::std::convert::From<Builder> for crate::output::HttpChecksumRequiredOutput {
|
8535 + | impl ::std::convert::From<Builder> for crate::output::JsonIntEnumsOutput {
|
7874 8536 | fn from(builder: Builder) -> Self {
|
7875 8537 | builder.build()
|
7876 8538 | }
|
7877 8539 | }
|
7878 - | /// A builder for [`HttpChecksumRequiredOutput`](crate::output::HttpChecksumRequiredOutput).
|
8540 + | /// A builder for [`JsonIntEnumsOutput`](crate::output::JsonIntEnumsOutput).
|
7879 8541 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7880 8542 | pub struct Builder {
|
7881 - | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
8543 + | pub(crate) integer_enum1: ::std::option::Option<i32>,
|
8544 + | pub(crate) integer_enum2: ::std::option::Option<i32>,
|
8545 + | pub(crate) integer_enum3: ::std::option::Option<i32>,
|
8546 + | pub(crate) integer_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
8547 + | pub(crate) integer_enum_set: ::std::option::Option<::std::vec::Vec<i32>>,
|
8548 + | pub(crate) integer_enum_map:
|
8549 + | ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
7882 8550 | }
|
7883 8551 | impl Builder {
|
7884 8552 | #[allow(missing_docs)] // documentation missing in model
|
7885 - | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
7886 - | self.foo = input;
|
8553 + | pub fn integer_enum1(mut self, input: ::std::option::Option<i32>) -> Self {
|
8554 + | self.integer_enum1 = input;
|
7887 8555 | self
|
7888 8556 | }
|
7889 - | /// Consumes the builder and constructs a [`HttpChecksumRequiredOutput`](crate::output::HttpChecksumRequiredOutput).
|
7890 - | pub fn build(self) -> crate::output::HttpChecksumRequiredOutput {
|
8557 + | #[allow(missing_docs)] // documentation missing in model
|
8558 + | pub fn integer_enum2(mut self, input: ::std::option::Option<i32>) -> Self {
|
8559 + | self.integer_enum2 = input;
|
8560 + | self
|
8561 + | }
|
8562 + | #[allow(missing_docs)] // documentation missing in model
|
8563 + | pub fn integer_enum3(mut self, input: ::std::option::Option<i32>) -> Self {
|
8564 + | self.integer_enum3 = input;
|
8565 + | self
|
8566 + | }
|
8567 + | #[allow(missing_docs)] // documentation missing in model
|
8568 + | pub fn integer_enum_list(
|
8569 + | mut self,
|
8570 + | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
8571 + | ) -> Self {
|
8572 + | self.integer_enum_list = input;
|
8573 + | self
|
8574 + | }
|
8575 + | #[allow(missing_docs)] // documentation missing in model
|
8576 + | pub fn integer_enum_set(
|
8577 + | mut self,
|
8578 + | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
8579 + | ) -> Self {
|
8580 + | self.integer_enum_set = input;
|
8581 + | self
|
8582 + | }
|
8583 + | #[allow(missing_docs)] // documentation missing in model
|
8584 + | pub fn integer_enum_map(
|
8585 + | mut self,
|
8586 + | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
8587 + | ) -> Self {
|
8588 + | self.integer_enum_map = input;
|
8589 + | self
|
8590 + | }
|
8591 + | /// Consumes the builder and constructs a [`JsonIntEnumsOutput`](crate::output::JsonIntEnumsOutput).
|
8592 + | pub fn build(self) -> crate::output::JsonIntEnumsOutput {
|
7891 8593 | self.build_enforcing_required_and_enum_traits()
|
7892 8594 | }
|
7893 - | fn build_enforcing_required_and_enum_traits(
|
7894 - | self,
|
7895 - | ) -> crate::output::HttpChecksumRequiredOutput {
|
7896 - | crate::output::HttpChecksumRequiredOutput { foo: self.foo }
|
8595 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonIntEnumsOutput {
|
8596 + | crate::output::JsonIntEnumsOutput {
|
8597 + | integer_enum1: self.integer_enum1,
|
8598 + | integer_enum2: self.integer_enum2,
|
8599 + | integer_enum3: self.integer_enum3,
|
8600 + | integer_enum_list: self.integer_enum_list,
|
8601 + | integer_enum_set: self.integer_enum_set,
|
8602 + | integer_enum_map: self.integer_enum_map,
|
8603 + | }
|
7897 8604 | }
|
7898 8605 | }
|
7899 8606 | }
|
7900 - | /// See [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
7901 - | pub mod host_with_path_operation_output {
|
8607 + | /// See [`RecursiveShapesOutput`](crate::output::RecursiveShapesOutput).
|
8608 + | pub mod recursive_shapes_output {
|
7902 8609 |
|
7903 - | impl ::std::convert::From<Builder> for crate::output::HostWithPathOperationOutput {
|
8610 + | impl ::std::convert::From<Builder> for crate::output::RecursiveShapesOutput {
|
7904 8611 | fn from(builder: Builder) -> Self {
|
7905 8612 | builder.build()
|
7906 8613 | }
|
7907 8614 | }
|
7908 - | /// A builder for [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
8615 + | /// A builder for [`RecursiveShapesOutput`](crate::output::RecursiveShapesOutput).
|
7909 8616 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7910 - | pub struct Builder {}
|
7911 - | impl Builder {
|
7912 - | /// Consumes the builder and constructs a [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
7913 - | pub fn build(self) -> crate::output::HostWithPathOperationOutput {
|
7914 - | self.build_enforcing_required_and_enum_traits()
|
7915 - | }
|
7916 - | fn build_enforcing_required_and_enum_traits(
|
7917 - | self,
|
7918 - | ) -> crate::output::HostWithPathOperationOutput {
|
7919 - | crate::output::HostWithPathOperationOutput {}
|
7920 - | }
|
8617 + | pub struct Builder {
|
8618 + | pub(crate) nested: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
|
7921 8619 | }
|
7922 - | }
|
7923 - | /// See [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
7924 - | pub mod endpoint_with_host_label_operation_output {
|
7925 - |
|
7926 - | impl ::std::convert::From<Builder> for crate::output::EndpointWithHostLabelOperationOutput {
|
7927 - | fn from(builder: Builder) -> Self {
|
7928 - | builder.build()
|
8620 + | impl Builder {
|
8621 + | #[allow(missing_docs)] // documentation missing in model
|
8622 + | pub fn nested(
|
8623 + | mut self,
|
8624 + | input: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
|
8625 + | ) -> Self {
|
8626 + | self.nested = input;
|
8627 + | self
|
7929 8628 | }
|
7930 - | }
|
7931 - | /// A builder for [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
7932 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7933 - | pub struct Builder {}
|
7934 - | impl Builder {
|
7935 - | /// Consumes the builder and constructs a [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
7936 - | pub fn build(self) -> crate::output::EndpointWithHostLabelOperationOutput {
|
8629 + | /// Consumes the builder and constructs a [`RecursiveShapesOutput`](crate::output::RecursiveShapesOutput).
|
8630 + | pub fn build(self) -> crate::output::RecursiveShapesOutput {
|
7937 8631 | self.build_enforcing_required_and_enum_traits()
|
7938 8632 | }
|
7939 - | fn build_enforcing_required_and_enum_traits(
|
7940 - | self,
|
7941 - | ) -> crate::output::EndpointWithHostLabelOperationOutput {
|
7942 - | crate::output::EndpointWithHostLabelOperationOutput {}
|
8633 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::RecursiveShapesOutput {
|
8634 + | crate::output::RecursiveShapesOutput {
|
8635 + | nested: self.nested,
|
8636 + | }
|
7943 8637 | }
|
7944 8638 | }
|
7945 8639 | }
|
7946 - | /// See [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
7947 - | pub mod endpoint_operation_output {
|
8640 + | /// See [`JsonListsOutput`](crate::output::JsonListsOutput).
|
8641 + | pub mod json_lists_output {
|
7948 8642 |
|
7949 - | impl ::std::convert::From<Builder> for crate::output::EndpointOperationOutput {
|
8643 + | impl ::std::convert::From<Builder> for crate::output::JsonListsOutput {
|
7950 8644 | fn from(builder: Builder) -> Self {
|
7951 8645 | builder.build()
|
7952 8646 | }
|
7953 8647 | }
|
7954 - | /// A builder for [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
8648 + | /// A builder for [`JsonListsOutput`](crate::output::JsonListsOutput).
|
7955 8649 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7956 - | pub struct Builder {}
|
8650 + | pub struct Builder {
|
8651 + | pub(crate) string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
8652 + | pub(crate) string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
8653 + | pub(crate) integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
8654 + | pub(crate) boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
8655 + | pub(crate) timestamp_list: ::std::option::Option<
|
8656 + | ::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>,
|
8657 + | >,
|
8658 + | pub(crate) enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
8659 + | pub(crate) int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
8660 + | pub(crate) nested_string_list:
|
8661 + | ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
8662 + | pub(crate) structure_list:
|
8663 + | ::std::option::Option<::std::vec::Vec<crate::model::StructureListMember>>,
|
8664 + | }
|
7957 8665 | impl Builder {
|
7958 - | /// Consumes the builder and constructs a [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
7959 - | pub fn build(self) -> crate::output::EndpointOperationOutput {
|
7960 - | self.build_enforcing_required_and_enum_traits()
|
8666 + | #[allow(missing_docs)] // documentation missing in model
|
8667 + | pub fn string_list(
|
8668 + | mut self,
|
8669 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
8670 + | ) -> Self {
|
8671 + | self.string_list = input;
|
8672 + | self
|
7961 8673 | }
|
7962 - | fn build_enforcing_required_and_enum_traits(
|
7963 - | self,
|
7964 - | ) -> crate::output::EndpointOperationOutput {
|
7965 - | crate::output::EndpointOperationOutput {}
|
8674 + | #[allow(missing_docs)] // documentation missing in model
|
8675 + | pub fn string_set(
|
8676 + | mut self,
|
8677 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
8678 + | ) -> Self {
|
8679 + | self.string_set = input;
|
8680 + | self
|
7966 8681 | }
|
7967 - | }
|
7968 - | }
|
7969 - | /// See [`PostUnionWithJsonNameOutput`](crate::output::PostUnionWithJsonNameOutput).
|
7970 - | pub mod post_union_with_json_name_output {
|
7971 - |
|
7972 - | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
7973 - | /// Holds one variant for each of the ways the builder can fail.
|
7974 - | #[allow(clippy::enum_variant_names)]
|
7975 - | pub enum ConstraintViolation {
|
7976 - | /// `value` was not provided but it is required when building `PostUnionWithJsonNameOutput`.
|
7977 - | MissingValue,
|
7978 - | }
|
7979 - | impl ::std::fmt::Display for ConstraintViolation {
|
7980 - | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
7981 - | match self {
|
7982 - | ConstraintViolation::MissingValue => write!(f, "`value` was not provided but it is required when building `PostUnionWithJsonNameOutput`"),
|
8682 + | #[allow(missing_docs)] // documentation missing in model
|
8683 + | pub fn integer_list(mut self, input: ::std::option::Option<::std::vec::Vec<i32>>) -> Self {
|
8684 + | self.integer_list = input;
|
8685 + | self
|
8686 + | }
|
8687 + | #[allow(missing_docs)] // documentation missing in model
|
8688 + | pub fn boolean_list(mut self, input: ::std::option::Option<::std::vec::Vec<bool>>) -> Self {
|
8689 + | self.boolean_list = input;
|
8690 + | self
|
8691 + | }
|
8692 + | #[allow(missing_docs)] // documentation missing in model
|
8693 + | pub fn timestamp_list(
|
8694 + | mut self,
|
8695 + | input: ::std::option::Option<
|
8696 + | ::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>,
|
8697 + | >,
|
8698 + | ) -> Self {
|
8699 + | self.timestamp_list = input;
|
8700 + | self
|
8701 + | }
|
8702 + | #[allow(missing_docs)] // documentation missing in model
|
8703 + | pub fn enum_list(
|
8704 + | mut self,
|
8705 + | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
8706 + | ) -> Self {
|
8707 + | self.enum_list = input;
|
8708 + | self
|
8709 + | }
|
8710 + | #[allow(missing_docs)] // documentation missing in model
|
8711 + | pub fn int_enum_list(mut self, input: ::std::option::Option<::std::vec::Vec<i32>>) -> Self {
|
8712 + | self.int_enum_list = input;
|
8713 + | self
|
8714 + | }
|
8715 + | /// A list of lists of strings.
|
8716 + | pub fn nested_string_list(
|
8717 + | mut self,
|
8718 + | input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
8719 + | ) -> Self {
|
8720 + | self.nested_string_list = input;
|
8721 + | self
|
8722 + | }
|
8723 + | #[allow(missing_docs)] // documentation missing in model
|
8724 + | pub fn structure_list(
|
8725 + | mut self,
|
8726 + | input: ::std::option::Option<::std::vec::Vec<crate::model::StructureListMember>>,
|
8727 + | ) -> Self {
|
8728 + | self.structure_list = input;
|
8729 + | self
|
8730 + | }
|
8731 + | /// Consumes the builder and constructs a [`JsonListsOutput`](crate::output::JsonListsOutput).
|
8732 + | pub fn build(self) -> crate::output::JsonListsOutput {
|
8733 + | self.build_enforcing_required_and_enum_traits()
|
8734 + | }
|
8735 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonListsOutput {
|
8736 + | crate::output::JsonListsOutput {
|
8737 + | string_list: self.string_list,
|
8738 + | string_set: self.string_set,
|
8739 + | integer_list: self.integer_list,
|
8740 + | boolean_list: self.boolean_list,
|
8741 + | timestamp_list: self.timestamp_list,
|
8742 + | enum_list: self.enum_list,
|
8743 + | int_enum_list: self.int_enum_list,
|
8744 + | nested_string_list: self.nested_string_list,
|
8745 + | structure_list: self.structure_list,
|
7983 8746 | }
|
7984 8747 | }
|
7985 8748 | }
|
7986 - | impl ::std::error::Error for ConstraintViolation {}
|
7987 - | impl ::std::convert::TryFrom<Builder> for crate::output::PostUnionWithJsonNameOutput {
|
7988 - | type Error = ConstraintViolation;
|
8749 + | }
|
8750 + | /// See [`SparseJsonListsOutput`](crate::output::SparseJsonListsOutput).
|
8751 + | pub mod sparse_json_lists_output {
|
7989 8752 |
|
7990 - | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
8753 + | impl ::std::convert::From<Builder> for crate::output::SparseJsonListsOutput {
|
8754 + | fn from(builder: Builder) -> Self {
|
7991 8755 | builder.build()
|
7992 8756 | }
|
7993 8757 | }
|
7994 - | /// A builder for [`PostUnionWithJsonNameOutput`](crate::output::PostUnionWithJsonNameOutput).
|
8758 + | /// A builder for [`SparseJsonListsOutput`](crate::output::SparseJsonListsOutput).
|
7995 8759 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
7996 8760 | pub struct Builder {
|
7997 - | pub(crate) value: ::std::option::Option<crate::model::UnionWithJsonName>,
|
8761 + | pub(crate) sparse_string_list:
|
8762 + | ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
|
8763 + | pub(crate) sparse_short_list:
|
8764 + | ::std::option::Option<::std::vec::Vec<::std::option::Option<i16>>>,
|
7998 8765 | }
|
7999 8766 | impl Builder {
|
8000 8767 | #[allow(missing_docs)] // documentation missing in model
|
8001 - | pub fn value(mut self, input: crate::model::UnionWithJsonName) -> Self {
|
8002 - | self.value = Some(input);
|
8768 + | pub fn sparse_string_list(
|
8769 + | mut self,
|
8770 + | input: ::std::option::Option<
|
8771 + | ::std::vec::Vec<::std::option::Option<::std::string::String>>,
|
8772 + | >,
|
8773 + | ) -> Self {
|
8774 + | self.sparse_string_list = input;
|
8003 8775 | self
|
8004 8776 | }
|
8005 - | /// Consumes the builder and constructs a [`PostUnionWithJsonNameOutput`](crate::output::PostUnionWithJsonNameOutput).
|
8006 - | ///
|
8007 - | /// The builder fails to construct a [`PostUnionWithJsonNameOutput`](crate::output::PostUnionWithJsonNameOutput) if you do not provide a value for all non-`Option`al members.
|
8008 - | ///
|
8009 - | pub fn build(
|
8010 - | self,
|
8011 - | ) -> Result<crate::output::PostUnionWithJsonNameOutput, ConstraintViolation> {
|
8012 - | self.build_enforcing_required_and_enum_traits()
|
8777 + | #[allow(missing_docs)] // documentation missing in model
|
8778 + | pub fn sparse_short_list(
|
8779 + | mut self,
|
8780 + | input: ::std::option::Option<::std::vec::Vec<::std::option::Option<i16>>>,
|
8781 + | ) -> Self {
|
8782 + | self.sparse_short_list = input;
|
8783 + | self
|
8013 8784 | }
|
8014 - | fn build_enforcing_required_and_enum_traits(
|
8015 - | self,
|
8016 - | ) -> Result<crate::output::PostUnionWithJsonNameOutput, ConstraintViolation> {
|
8017 - | Ok(crate::output::PostUnionWithJsonNameOutput {
|
8018 - | value: self.value.ok_or(ConstraintViolation::MissingValue)?,
|
8019 - | })
|
8785 + | /// Consumes the builder and constructs a [`SparseJsonListsOutput`](crate::output::SparseJsonListsOutput).
|
8786 + | pub fn build(self) -> crate::output::SparseJsonListsOutput {
|
8787 + | self.build_enforcing_required_and_enum_traits()
|
8020 8788 | }
|
8021 - | }
|
8022 - | }
|
8023 - | /// See [`PostPlayerActionOutput`](crate::output::PostPlayerActionOutput).
|
8024 - | pub mod post_player_action_output {
|
8025 - |
|
8026 - | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
8027 - | /// Holds one variant for each of the ways the builder can fail.
|
8028 - | #[allow(clippy::enum_variant_names)]
|
8029 - | pub enum ConstraintViolation {
|
8030 - | /// `action` was not provided but it is required when building `PostPlayerActionOutput`.
|
8031 - | MissingAction,
|
8032 - | }
|
8033 - | impl ::std::fmt::Display for ConstraintViolation {
|
8034 - | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
8035 - | match self {
|
8036 - | ConstraintViolation::MissingAction => write!(f, "`action` was not provided but it is required when building `PostPlayerActionOutput`"),
|
8789 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::SparseJsonListsOutput {
|
8790 + | crate::output::SparseJsonListsOutput {
|
8791 + | sparse_string_list: self.sparse_string_list,
|
8792 + | sparse_short_list: self.sparse_short_list,
|
8037 8793 | }
|
8038 8794 | }
|
8039 8795 | }
|
8040 - | impl ::std::error::Error for ConstraintViolation {}
|
8041 - | impl ::std::convert::TryFrom<Builder> for crate::output::PostPlayerActionOutput {
|
8042 - | type Error = ConstraintViolation;
|
8796 + | }
|
8797 + | /// See [`JsonMapsOutput`](crate::output::JsonMapsOutput).
|
8798 + | pub mod json_maps_output {
|
8043 8799 |
|
8044 - | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
8800 + | impl ::std::convert::From<Builder> for crate::output::JsonMapsOutput {
|
8801 + | fn from(builder: Builder) -> Self {
|
8045 8802 | builder.build()
|
8046 8803 | }
|
8047 8804 | }
|
8048 - | /// A builder for [`PostPlayerActionOutput`](crate::output::PostPlayerActionOutput).
|
8805 + | /// A builder for [`JsonMapsOutput`](crate::output::JsonMapsOutput).
|
8049 8806 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8050 8807 | pub struct Builder {
|
8051 - | pub(crate) action: ::std::option::Option<crate::model::PlayerAction>,
|
8808 + | pub(crate) dense_struct_map: ::std::option::Option<
|
8809 + | ::std::collections::HashMap<::std::string::String, crate::model::GreetingStruct>,
|
8810 + | >,
|
8811 + | pub(crate) dense_number_map:
|
8812 + | ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
8813 + | pub(crate) dense_boolean_map:
|
8814 + | ::std::option::Option<::std::collections::HashMap<::std::string::String, bool>>,
|
8815 + | pub(crate) dense_string_map: ::std::option::Option<
|
8816 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
8817 + | >,
|
8818 + | pub(crate) dense_set_map: ::std::option::Option<
|
8819 + | ::std::collections::HashMap<
|
8820 + | ::std::string::String,
|
8821 + | ::std::vec::Vec<::std::string::String>,
|
8822 + | >,
|
8823 + | >,
|
8052 8824 | }
|
8053 8825 | impl Builder {
|
8054 8826 | #[allow(missing_docs)] // documentation missing in model
|
8055 - | pub fn action(mut self, input: crate::model::PlayerAction) -> Self {
|
8056 - | self.action = Some(input);
|
8827 + | pub fn dense_struct_map(
|
8828 + | mut self,
|
8829 + | input: ::std::option::Option<
|
8830 + | ::std::collections::HashMap<::std::string::String, crate::model::GreetingStruct>,
|
8831 + | >,
|
8832 + | ) -> Self {
|
8833 + | self.dense_struct_map = input;
|
8057 8834 | self
|
8058 8835 | }
|
8059 - | /// Consumes the builder and constructs a [`PostPlayerActionOutput`](crate::output::PostPlayerActionOutput).
|
8060 - | ///
|
8061 - | /// The builder fails to construct a [`PostPlayerActionOutput`](crate::output::PostPlayerActionOutput) if you do not provide a value for all non-`Option`al members.
|
8062 - | ///
|
8063 - | pub fn build(self) -> Result<crate::output::PostPlayerActionOutput, ConstraintViolation> {
|
8064 - | self.build_enforcing_required_and_enum_traits()
|
8836 + | #[allow(missing_docs)] // documentation missing in model
|
8837 + | pub fn dense_number_map(
|
8838 + | mut self,
|
8839 + | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
8840 + | ) -> Self {
|
8841 + | self.dense_number_map = input;
|
8842 + | self
|
8065 8843 | }
|
8066 - | fn build_enforcing_required_and_enum_traits(
|
8067 - | self,
|
8068 - | ) -> Result<crate::output::PostPlayerActionOutput, ConstraintViolation> {
|
8069 - | Ok(crate::output::PostPlayerActionOutput {
|
8070 - | action: self.action.ok_or(ConstraintViolation::MissingAction)?,
|
8071 - | })
|
8844 + | #[allow(missing_docs)] // documentation missing in model
|
8845 + | pub fn dense_boolean_map(
|
8846 + | mut self,
|
8847 + | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, bool>>,
|
8848 + | ) -> Self {
|
8849 + | self.dense_boolean_map = input;
|
8850 + | self
|
8072 8851 | }
|
8073 - | }
|
8074 - | }
|
8075 - | /// See [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
8076 - | pub mod json_unions_output {
|
8077 - |
|
8078 - | impl ::std::convert::From<Builder> for crate::output::JsonUnionsOutput {
|
8079 - | fn from(builder: Builder) -> Self {
|
8080 - | builder.build()
|
8852 + | #[allow(missing_docs)] // documentation missing in model
|
8853 + | pub fn dense_string_map(
|
8854 + | mut self,
|
8855 + | input: ::std::option::Option<
|
8856 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
8857 + | >,
|
8858 + | ) -> Self {
|
8859 + | self.dense_string_map = input;
|
8860 + | self
|
8081 8861 | }
|
8082 - | }
|
8083 - | /// A builder for [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
8084 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8085 - | pub struct Builder {
|
8086 - | pub(crate) contents: ::std::option::Option<crate::model::MyUnion>,
|
8087 - | }
|
8088 - | impl Builder {
|
8089 - | /// A union with a representative set of types for members.
|
8090 - | pub fn contents(mut self, input: ::std::option::Option<crate::model::MyUnion>) -> Self {
|
8091 - | self.contents = input;
|
8862 + | #[allow(missing_docs)] // documentation missing in model
|
8863 + | pub fn dense_set_map(
|
8864 + | mut self,
|
8865 + | input: ::std::option::Option<
|
8866 + | ::std::collections::HashMap<
|
8867 + | ::std::string::String,
|
8868 + | ::std::vec::Vec<::std::string::String>,
|
8869 + | >,
|
8870 + | >,
|
8871 + | ) -> Self {
|
8872 + | self.dense_set_map = input;
|
8092 8873 | self
|
8093 8874 | }
|
8094 - | /// Consumes the builder and constructs a [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
8095 - | pub fn build(self) -> crate::output::JsonUnionsOutput {
|
8875 + | /// Consumes the builder and constructs a [`JsonMapsOutput`](crate::output::JsonMapsOutput).
|
8876 + | pub fn build(self) -> crate::output::JsonMapsOutput {
|
8096 8877 | self.build_enforcing_required_and_enum_traits()
|
8097 8878 | }
|
8098 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonUnionsOutput {
|
8099 - | crate::output::JsonUnionsOutput {
|
8100 - | contents: self.contents,
|
8879 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonMapsOutput {
|
8880 + | crate::output::JsonMapsOutput {
|
8881 + | dense_struct_map: self.dense_struct_map,
|
8882 + | dense_number_map: self.dense_number_map,
|
8883 + | dense_boolean_map: self.dense_boolean_map,
|
8884 + | dense_string_map: self.dense_string_map,
|
8885 + | dense_set_map: self.dense_set_map,
|
8101 8886 | }
|
8102 8887 | }
|
8103 8888 | }
|
8104 8889 | }
|
8105 - | /// See [`DocumentTypeAsMapValueOutput`](crate::output::DocumentTypeAsMapValueOutput).
|
8106 - | pub mod document_type_as_map_value_output {
|
8890 + | /// See [`SparseJsonMapsOutput`](crate::output::SparseJsonMapsOutput).
|
8891 + | pub mod sparse_json_maps_output {
|
8107 8892 |
|
8108 - | impl ::std::convert::From<Builder> for crate::output::DocumentTypeAsMapValueOutput {
|
8893 + | impl ::std::convert::From<Builder> for crate::output::SparseJsonMapsOutput {
|
8109 8894 | fn from(builder: Builder) -> Self {
|
8110 8895 | builder.build()
|
8111 8896 | }
|
8112 8897 | }
|
8113 - | /// A builder for [`DocumentTypeAsMapValueOutput`](crate::output::DocumentTypeAsMapValueOutput).
|
8898 + | /// A builder for [`SparseJsonMapsOutput`](crate::output::SparseJsonMapsOutput).
|
8114 8899 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8115 8900 | pub struct Builder {
|
8116 - | pub(crate) doc_valued_map: ::std::option::Option<
|
8901 + | pub(crate) sparse_struct_map: ::std::option::Option<
|
8117 8902 | ::std::collections::HashMap<
|
8118 8903 | ::std::string::String,
|
8119 - | ::aws_smithy_http_server_python::types::Document,
|
8904 + | ::std::option::Option<crate::model::GreetingStruct>,
|
8905 + | >,
|
8906 + | >,
|
8907 + | pub(crate) sparse_number_map: ::std::option::Option<
|
8908 + | ::std::collections::HashMap<::std::string::String, ::std::option::Option<i32>>,
|
8909 + | >,
|
8910 + | pub(crate) sparse_boolean_map: ::std::option::Option<
|
8911 + | ::std::collections::HashMap<::std::string::String, ::std::option::Option<bool>>,
|
8912 + | >,
|
8913 + | pub(crate) sparse_string_map: ::std::option::Option<
|
8914 + | ::std::collections::HashMap<
|
8915 + | ::std::string::String,
|
8916 + | ::std::option::Option<::std::string::String>,
|
8917 + | >,
|
8918 + | >,
|
8919 + | pub(crate) sparse_set_map: ::std::option::Option<
|
8920 + | ::std::collections::HashMap<
|
8921 + | ::std::string::String,
|
8922 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
8120 8923 | >,
|
8121 8924 | >,
|
8122 8925 | }
|
8123 8926 | impl Builder {
|
8124 8927 | #[allow(missing_docs)] // documentation missing in model
|
8125 - | pub fn doc_valued_map(
|
8928 + | pub fn sparse_struct_map(
|
8126 8929 | mut self,
|
8127 8930 | input: ::std::option::Option<
|
8128 8931 | ::std::collections::HashMap<
|
8129 8932 | ::std::string::String,
|
8130 - | ::aws_smithy_http_server_python::types::Document,
|
8933 + | ::std::option::Option<crate::model::GreetingStruct>,
|
8131 8934 | >,
|
8132 8935 | >,
|
8133 8936 | ) -> Self {
|
8134 - | self.doc_valued_map = input;
|
8937 + | self.sparse_struct_map = input;
|
8135 8938 | self
|
8136 8939 | }
|
8137 - | /// Consumes the builder and constructs a [`DocumentTypeAsMapValueOutput`](crate::output::DocumentTypeAsMapValueOutput).
|
8138 - | pub fn build(self) -> crate::output::DocumentTypeAsMapValueOutput {
|
8940 + | #[allow(missing_docs)] // documentation missing in model
|
8941 + | pub fn sparse_number_map(
|
8942 + | mut self,
|
8943 + | input: ::std::option::Option<
|
8944 + | ::std::collections::HashMap<::std::string::String, ::std::option::Option<i32>>,
|
8945 + | >,
|
8946 + | ) -> Self {
|
8947 + | self.sparse_number_map = input;
|
8948 + | self
|
8949 + | }
|
8950 + | #[allow(missing_docs)] // documentation missing in model
|
8951 + | pub fn sparse_boolean_map(
|
8952 + | mut self,
|
8953 + | input: ::std::option::Option<
|
8954 + | ::std::collections::HashMap<::std::string::String, ::std::option::Option<bool>>,
|
8955 + | >,
|
8956 + | ) -> Self {
|
8957 + | self.sparse_boolean_map = input;
|
8958 + | self
|
8959 + | }
|
8960 + | #[allow(missing_docs)] // documentation missing in model
|
8961 + | pub fn sparse_string_map(
|
8962 + | mut self,
|
8963 + | input: ::std::option::Option<
|
8964 + | ::std::collections::HashMap<
|
8965 + | ::std::string::String,
|
8966 + | ::std::option::Option<::std::string::String>,
|
8967 + | >,
|
8968 + | >,
|
8969 + | ) -> Self {
|
8970 + | self.sparse_string_map = input;
|
8971 + | self
|
8972 + | }
|
8973 + | #[allow(missing_docs)] // documentation missing in model
|
8974 + | pub fn sparse_set_map(
|
8975 + | mut self,
|
8976 + | input: ::std::option::Option<
|
8977 + | ::std::collections::HashMap<
|
8978 + | ::std::string::String,
|
8979 + | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
8980 + | >,
|
8981 + | >,
|
8982 + | ) -> Self {
|
8983 + | self.sparse_set_map = input;
|
8984 + | self
|
8985 + | }
|
8986 + | /// Consumes the builder and constructs a [`SparseJsonMapsOutput`](crate::output::SparseJsonMapsOutput).
|
8987 + | pub fn build(self) -> crate::output::SparseJsonMapsOutput {
|
8139 8988 | self.build_enforcing_required_and_enum_traits()
|
8140 8989 | }
|
8141 - | fn build_enforcing_required_and_enum_traits(
|
8142 - | self,
|
8143 - | ) -> crate::output::DocumentTypeAsMapValueOutput {
|
8144 - | crate::output::DocumentTypeAsMapValueOutput {
|
8145 - | doc_valued_map: self.doc_valued_map,
|
8990 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::SparseJsonMapsOutput {
|
8991 + | crate::output::SparseJsonMapsOutput {
|
8992 + | sparse_struct_map: self.sparse_struct_map,
|
8993 + | sparse_number_map: self.sparse_number_map,
|
8994 + | sparse_boolean_map: self.sparse_boolean_map,
|
8995 + | sparse_string_map: self.sparse_string_map,
|
8996 + | sparse_set_map: self.sparse_set_map,
|
8146 8997 | }
|
8147 8998 | }
|
8148 8999 | }
|
8149 9000 | }
|
8150 - | /// See [`DocumentTypeAsPayloadOutput`](crate::output::DocumentTypeAsPayloadOutput).
|
8151 - | pub mod document_type_as_payload_output {
|
9001 + | /// See [`JsonBlobsOutput`](crate::output::JsonBlobsOutput).
|
9002 + | pub mod json_blobs_output {
|
8152 9003 |
|
8153 - | impl ::std::convert::From<Builder> for crate::output::DocumentTypeAsPayloadOutput {
|
9004 + | impl ::std::convert::From<Builder> for crate::output::JsonBlobsOutput {
|
8154 9005 | fn from(builder: Builder) -> Self {
|
8155 9006 | builder.build()
|
8156 9007 | }
|
8157 9008 | }
|
8158 - | /// A builder for [`DocumentTypeAsPayloadOutput`](crate::output::DocumentTypeAsPayloadOutput).
|
9009 + | /// A builder for [`JsonBlobsOutput`](crate::output::JsonBlobsOutput).
|
8159 9010 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8160 9011 | pub struct Builder {
|
8161 - | pub(crate) document_value:
|
8162 - | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
9012 + | pub(crate) data: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
8163 9013 | }
|
8164 9014 | impl Builder {
|
8165 9015 | #[allow(missing_docs)] // documentation missing in model
|
8166 - | pub fn document_value(
|
9016 + | pub fn data(
|
8167 9017 | mut self,
|
8168 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
9018 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
8169 9019 | ) -> Self {
|
8170 - | self.document_value = input;
|
9020 + | self.data = input;
|
8171 9021 | self
|
8172 9022 | }
|
8173 - | /// Consumes the builder and constructs a [`DocumentTypeAsPayloadOutput`](crate::output::DocumentTypeAsPayloadOutput).
|
8174 - | pub fn build(self) -> crate::output::DocumentTypeAsPayloadOutput {
|
9023 + | /// Consumes the builder and constructs a [`JsonBlobsOutput`](crate::output::JsonBlobsOutput).
|
9024 + | pub fn build(self) -> crate::output::JsonBlobsOutput {
|
8175 9025 | self.build_enforcing_required_and_enum_traits()
|
8176 9026 | }
|
8177 - | fn build_enforcing_required_and_enum_traits(
|
8178 - | self,
|
8179 - | ) -> crate::output::DocumentTypeAsPayloadOutput {
|
8180 - | crate::output::DocumentTypeAsPayloadOutput {
|
8181 - | document_value: self.document_value,
|
8182 - | }
|
9027 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonBlobsOutput {
|
9028 + | crate::output::JsonBlobsOutput { data: self.data }
|
8183 9029 | }
|
8184 9030 | }
|
8185 9031 | }
|
8186 9032 | /// See [`DocumentTypeOutput`](crate::output::DocumentTypeOutput).
|
8187 9033 | pub mod document_type_output {
|
8188 9034 |
|
8189 9035 | impl ::std::convert::From<Builder> for crate::output::DocumentTypeOutput {
|
8190 9036 | fn from(builder: Builder) -> Self {
|
8191 9037 | builder.build()
|
8192 9038 | }
|
8193 9039 | }
|
8194 9040 | /// A builder for [`DocumentTypeOutput`](crate::output::DocumentTypeOutput).
|
8195 9041 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8196 9042 | pub struct Builder {
|
8197 9043 | pub(crate) string_value: ::std::option::Option<::std::string::String>,
|
8198 9044 | pub(crate) document_value:
|
8199 9045 | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
8200 9046 | }
|
8201 9047 | impl Builder {
|
8202 9048 | #[allow(missing_docs)] // documentation missing in model
|
8203 9049 | pub fn string_value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
8204 9050 | self.string_value = input;
|
8205 9051 | self
|
8206 9052 | }
|
8207 9053 | #[allow(missing_docs)] // documentation missing in model
|
8208 9054 | pub fn document_value(
|
8209 9055 | mut self,
|
8210 9056 | input: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
8211 9057 | ) -> Self {
|
8212 9058 | self.document_value = input;
|
8213 9059 | self
|
8214 9060 | }
|
8215 9061 | /// Consumes the builder and constructs a [`DocumentTypeOutput`](crate::output::DocumentTypeOutput).
|
8216 9062 | pub fn build(self) -> crate::output::DocumentTypeOutput {
|
8217 9063 | self.build_enforcing_required_and_enum_traits()
|
8218 9064 | }
|
8219 9065 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::DocumentTypeOutput {
|
8220 9066 | crate::output::DocumentTypeOutput {
|
8221 9067 | string_value: self.string_value,
|
8222 9068 | document_value: self.document_value,
|
8223 9069 | }
|
8224 9070 | }
|
8225 9071 | }
|
8226 9072 | }
|
8227 - | /// See [`JsonBlobsOutput`](crate::output::JsonBlobsOutput).
|
8228 - | pub mod json_blobs_output {
|
9073 + | /// See [`DocumentTypeAsPayloadOutput`](crate::output::DocumentTypeAsPayloadOutput).
|
9074 + | pub mod document_type_as_payload_output {
|
8229 9075 |
|
8230 - | impl ::std::convert::From<Builder> for crate::output::JsonBlobsOutput {
|
9076 + | impl ::std::convert::From<Builder> for crate::output::DocumentTypeAsPayloadOutput {
|
8231 9077 | fn from(builder: Builder) -> Self {
|
8232 9078 | builder.build()
|
8233 9079 | }
|
8234 9080 | }
|
8235 - | /// A builder for [`JsonBlobsOutput`](crate::output::JsonBlobsOutput).
|
9081 + | /// A builder for [`DocumentTypeAsPayloadOutput`](crate::output::DocumentTypeAsPayloadOutput).
|
8236 9082 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8237 9083 | pub struct Builder {
|
8238 - | pub(crate) data: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
9084 + | pub(crate) document_value:
|
9085 + | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
8239 9086 | }
|
8240 9087 | impl Builder {
|
8241 9088 | #[allow(missing_docs)] // documentation missing in model
|
8242 - | pub fn data(
|
9089 + | pub fn document_value(
|
8243 9090 | mut self,
|
8244 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
9091 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
8245 9092 | ) -> Self {
|
8246 - | self.data = input;
|
9093 + | self.document_value = input;
|
8247 9094 | self
|
8248 9095 | }
|
8249 - | /// Consumes the builder and constructs a [`JsonBlobsOutput`](crate::output::JsonBlobsOutput).
|
8250 - | pub fn build(self) -> crate::output::JsonBlobsOutput {
|
9096 + | /// Consumes the builder and constructs a [`DocumentTypeAsPayloadOutput`](crate::output::DocumentTypeAsPayloadOutput).
|
9097 + | pub fn build(self) -> crate::output::DocumentTypeAsPayloadOutput {
|
8251 9098 | self.build_enforcing_required_and_enum_traits()
|
8252 9099 | }
|
8253 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonBlobsOutput {
|
8254 - | crate::output::JsonBlobsOutput { data: self.data }
|
9100 + | fn build_enforcing_required_and_enum_traits(
|
9101 + | self,
|
9102 + | ) -> crate::output::DocumentTypeAsPayloadOutput {
|
9103 + | crate::output::DocumentTypeAsPayloadOutput {
|
9104 + | document_value: self.document_value,
|
9105 + | }
|
8255 9106 | }
|
8256 9107 | }
|
8257 9108 | }
|
8258 - | /// See [`SparseJsonMapsOutput`](crate::output::SparseJsonMapsOutput).
|
8259 - | pub mod sparse_json_maps_output {
|
9109 + | /// See [`DocumentTypeAsMapValueOutput`](crate::output::DocumentTypeAsMapValueOutput).
|
9110 + | pub mod document_type_as_map_value_output {
|
8260 9111 |
|
8261 - | impl ::std::convert::From<Builder> for crate::output::SparseJsonMapsOutput {
|
9112 + | impl ::std::convert::From<Builder> for crate::output::DocumentTypeAsMapValueOutput {
|
8262 9113 | fn from(builder: Builder) -> Self {
|
8263 9114 | builder.build()
|
8264 9115 | }
|
8265 9116 | }
|
8266 - | /// A builder for [`SparseJsonMapsOutput`](crate::output::SparseJsonMapsOutput).
|
9117 + | /// A builder for [`DocumentTypeAsMapValueOutput`](crate::output::DocumentTypeAsMapValueOutput).
|
8267 9118 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8268 9119 | pub struct Builder {
|
8269 - | pub(crate) sparse_struct_map: ::std::option::Option<
|
8270 - | ::std::collections::HashMap<
|
8271 - | ::std::string::String,
|
8272 - | ::std::option::Option<crate::model::GreetingStruct>,
|
8273 - | >,
|
8274 - | >,
|
8275 - | pub(crate) sparse_number_map: ::std::option::Option<
|
8276 - | ::std::collections::HashMap<::std::string::String, ::std::option::Option<i32>>,
|
8277 - | >,
|
8278 - | pub(crate) sparse_boolean_map: ::std::option::Option<
|
8279 - | ::std::collections::HashMap<::std::string::String, ::std::option::Option<bool>>,
|
8280 - | >,
|
8281 - | pub(crate) sparse_string_map: ::std::option::Option<
|
8282 - | ::std::collections::HashMap<
|
8283 - | ::std::string::String,
|
8284 - | ::std::option::Option<::std::string::String>,
|
8285 - | >,
|
8286 - | >,
|
8287 - | pub(crate) sparse_set_map: ::std::option::Option<
|
9120 + | pub(crate) doc_valued_map: ::std::option::Option<
|
8288 9121 | ::std::collections::HashMap<
|
8289 9122 | ::std::string::String,
|
8290 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
9123 + | ::aws_smithy_http_server_python::types::Document,
|
8291 9124 | >,
|
8292 9125 | >,
|
8293 9126 | }
|
8294 9127 | impl Builder {
|
8295 9128 | #[allow(missing_docs)] // documentation missing in model
|
8296 - | pub fn sparse_struct_map(
|
9129 + | pub fn doc_valued_map(
|
8297 9130 | mut self,
|
8298 9131 | input: ::std::option::Option<
|
8299 9132 | ::std::collections::HashMap<
|
8300 9133 | ::std::string::String,
|
8301 - | ::std::option::Option<crate::model::GreetingStruct>,
|
9134 + | ::aws_smithy_http_server_python::types::Document,
|
8302 9135 | >,
|
8303 9136 | >,
|
8304 9137 | ) -> Self {
|
8305 - | self.sparse_struct_map = input;
|
9138 + | self.doc_valued_map = input;
|
8306 9139 | self
|
8307 9140 | }
|
8308 - | #[allow(missing_docs)] // documentation missing in model
|
8309 - | pub fn sparse_number_map(
|
8310 - | mut self,
|
8311 - | input: ::std::option::Option<
|
8312 - | ::std::collections::HashMap<::std::string::String, ::std::option::Option<i32>>,
|
8313 - | >,
|
8314 - | ) -> Self {
|
8315 - | self.sparse_number_map = input;
|
8316 - | self
|
9141 + | /// Consumes the builder and constructs a [`DocumentTypeAsMapValueOutput`](crate::output::DocumentTypeAsMapValueOutput).
|
9142 + | pub fn build(self) -> crate::output::DocumentTypeAsMapValueOutput {
|
9143 + | self.build_enforcing_required_and_enum_traits()
|
8317 9144 | }
|
8318 - | #[allow(missing_docs)] // documentation missing in model
|
8319 - | pub fn sparse_boolean_map(
|
8320 - | mut self,
|
8321 - | input: ::std::option::Option<
|
8322 - | ::std::collections::HashMap<::std::string::String, ::std::option::Option<bool>>,
|
8323 - | >,
|
8324 - | ) -> Self {
|
8325 - | self.sparse_boolean_map = input;
|
8326 - | self
|
9145 + | fn build_enforcing_required_and_enum_traits(
|
9146 + | self,
|
9147 + | ) -> crate::output::DocumentTypeAsMapValueOutput {
|
9148 + | crate::output::DocumentTypeAsMapValueOutput {
|
9149 + | doc_valued_map: self.doc_valued_map,
|
9150 + | }
|
8327 9151 | }
|
8328 - | #[allow(missing_docs)] // documentation missing in model
|
8329 - | pub fn sparse_string_map(
|
8330 - | mut self,
|
8331 - | input: ::std::option::Option<
|
8332 - | ::std::collections::HashMap<
|
8333 - | ::std::string::String,
|
8334 - | ::std::option::Option<::std::string::String>,
|
8335 - | >,
|
8336 - | >,
|
8337 - | ) -> Self {
|
8338 - | self.sparse_string_map = input;
|
8339 - | self
|
9152 + | }
|
9153 + | }
|
9154 + | /// See [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
9155 + | pub mod json_unions_output {
|
9156 + |
|
9157 + | impl ::std::convert::From<Builder> for crate::output::JsonUnionsOutput {
|
9158 + | fn from(builder: Builder) -> Self {
|
9159 + | builder.build()
|
8340 9160 | }
|
8341 - | #[allow(missing_docs)] // documentation missing in model
|
8342 - | pub fn sparse_set_map(
|
8343 - | mut self,
|
8344 - | input: ::std::option::Option<
|
8345 - | ::std::collections::HashMap<
|
8346 - | ::std::string::String,
|
8347 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
8348 - | >,
|
8349 - | >,
|
8350 - | ) -> Self {
|
8351 - | self.sparse_set_map = input;
|
9161 + | }
|
9162 + | /// A builder for [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
9163 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9164 + | pub struct Builder {
|
9165 + | pub(crate) contents: ::std::option::Option<crate::model::MyUnion>,
|
9166 + | }
|
9167 + | impl Builder {
|
9168 + | /// A union with a representative set of types for members.
|
9169 + | pub fn contents(mut self, input: ::std::option::Option<crate::model::MyUnion>) -> Self {
|
9170 + | self.contents = input;
|
8352 9171 | self
|
8353 9172 | }
|
8354 - | /// Consumes the builder and constructs a [`SparseJsonMapsOutput`](crate::output::SparseJsonMapsOutput).
|
8355 - | pub fn build(self) -> crate::output::SparseJsonMapsOutput {
|
9173 + | /// Consumes the builder and constructs a [`JsonUnionsOutput`](crate::output::JsonUnionsOutput).
|
9174 + | pub fn build(self) -> crate::output::JsonUnionsOutput {
|
8356 9175 | self.build_enforcing_required_and_enum_traits()
|
8357 9176 | }
|
8358 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::SparseJsonMapsOutput {
|
8359 - | crate::output::SparseJsonMapsOutput {
|
8360 - | sparse_struct_map: self.sparse_struct_map,
|
8361 - | sparse_number_map: self.sparse_number_map,
|
8362 - | sparse_boolean_map: self.sparse_boolean_map,
|
8363 - | sparse_string_map: self.sparse_string_map,
|
8364 - | sparse_set_map: self.sparse_set_map,
|
9177 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonUnionsOutput {
|
9178 + | crate::output::JsonUnionsOutput {
|
9179 + | contents: self.contents,
|
8365 9180 | }
|
8366 9181 | }
|
8367 9182 | }
|
8368 9183 | }
|
8369 - | /// See [`JsonMapsOutput`](crate::output::JsonMapsOutput).
|
8370 - | pub mod json_maps_output {
|
9184 + | /// See [`PostPlayerActionOutput`](crate::output::PostPlayerActionOutput).
|
9185 + | pub mod post_player_action_output {
|
8371 9186 |
|
8372 - | impl ::std::convert::From<Builder> for crate::output::JsonMapsOutput {
|
8373 - | fn from(builder: Builder) -> Self {
|
9187 + | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
9188 + | /// Holds one variant for each of the ways the builder can fail.
|
9189 + | #[allow(clippy::enum_variant_names)]
|
9190 + | pub enum ConstraintViolation {
|
9191 + | /// `action` was not provided but it is required when building `PostPlayerActionOutput`.
|
9192 + | MissingAction,
|
9193 + | }
|
9194 + | impl ::std::fmt::Display for ConstraintViolation {
|
9195 + | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
9196 + | match self {
|
9197 + | ConstraintViolation::MissingAction => write!(f, "`action` was not provided but it is required when building `PostPlayerActionOutput`"),
|
9198 + | }
|
9199 + | }
|
9200 + | }
|
9201 + | impl ::std::error::Error for ConstraintViolation {}
|
9202 + | impl ::std::convert::TryFrom<Builder> for crate::output::PostPlayerActionOutput {
|
9203 + | type Error = ConstraintViolation;
|
9204 + |
|
9205 + | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
8374 9206 | builder.build()
|
8375 9207 | }
|
8376 9208 | }
|
8377 - | /// A builder for [`JsonMapsOutput`](crate::output::JsonMapsOutput).
|
9209 + | /// A builder for [`PostPlayerActionOutput`](crate::output::PostPlayerActionOutput).
|
8378 9210 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8379 9211 | pub struct Builder {
|
8380 - | pub(crate) dense_struct_map: ::std::option::Option<
|
8381 - | ::std::collections::HashMap<::std::string::String, crate::model::GreetingStruct>,
|
8382 - | >,
|
8383 - | pub(crate) dense_number_map:
|
8384 - | ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
8385 - | pub(crate) dense_boolean_map:
|
8386 - | ::std::option::Option<::std::collections::HashMap<::std::string::String, bool>>,
|
8387 - | pub(crate) dense_string_map: ::std::option::Option<
|
8388 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
8389 - | >,
|
8390 - | pub(crate) dense_set_map: ::std::option::Option<
|
8391 - | ::std::collections::HashMap<
|
8392 - | ::std::string::String,
|
8393 - | ::std::vec::Vec<::std::string::String>,
|
8394 - | >,
|
8395 - | >,
|
9212 + | pub(crate) action: ::std::option::Option<crate::model::PlayerAction>,
|
8396 9213 | }
|
8397 9214 | impl Builder {
|
8398 9215 | #[allow(missing_docs)] // documentation missing in model
|
8399 - | pub fn dense_struct_map(
|
8400 - | mut self,
|
8401 - | input: ::std::option::Option<
|
8402 - | ::std::collections::HashMap<::std::string::String, crate::model::GreetingStruct>,
|
8403 - | >,
|
8404 - | ) -> Self {
|
8405 - | self.dense_struct_map = input;
|
9216 + | pub fn action(mut self, input: crate::model::PlayerAction) -> Self {
|
9217 + | self.action = Some(input);
|
8406 9218 | self
|
8407 9219 | }
|
8408 - | #[allow(missing_docs)] // documentation missing in model
|
8409 - | pub fn dense_number_map(
|
8410 - | mut self,
|
8411 - | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
8412 - | ) -> Self {
|
8413 - | self.dense_number_map = input;
|
8414 - | self
|
9220 + | /// Consumes the builder and constructs a [`PostPlayerActionOutput`](crate::output::PostPlayerActionOutput).
|
9221 + | ///
|
9222 + | /// The builder fails to construct a [`PostPlayerActionOutput`](crate::output::PostPlayerActionOutput) if you do not provide a value for all non-`Option`al members.
|
9223 + | ///
|
9224 + | pub fn build(self) -> Result<crate::output::PostPlayerActionOutput, ConstraintViolation> {
|
9225 + | self.build_enforcing_required_and_enum_traits()
|
8415 9226 | }
|
8416 - | #[allow(missing_docs)] // documentation missing in model
|
8417 - | pub fn dense_boolean_map(
|
8418 - | mut self,
|
8419 - | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, bool>>,
|
8420 - | ) -> Self {
|
8421 - | self.dense_boolean_map = input;
|
8422 - | self
|
9227 + | fn build_enforcing_required_and_enum_traits(
|
9228 + | self,
|
9229 + | ) -> Result<crate::output::PostPlayerActionOutput, ConstraintViolation> {
|
9230 + | Ok(crate::output::PostPlayerActionOutput {
|
9231 + | action: self.action.ok_or(ConstraintViolation::MissingAction)?,
|
9232 + | })
|
8423 9233 | }
|
8424 - | #[allow(missing_docs)] // documentation missing in model
|
8425 - | pub fn dense_string_map(
|
8426 - | mut self,
|
8427 - | input: ::std::option::Option<
|
8428 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
8429 - | >,
|
8430 - | ) -> Self {
|
8431 - | self.dense_string_map = input;
|
8432 - | self
|
9234 + | }
|
9235 + | }
|
9236 + | /// See [`PostUnionWithJsonNameOutput`](crate::output::PostUnionWithJsonNameOutput).
|
9237 + | pub mod post_union_with_json_name_output {
|
9238 + |
|
9239 + | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
9240 + | /// Holds one variant for each of the ways the builder can fail.
|
9241 + | #[allow(clippy::enum_variant_names)]
|
9242 + | pub enum ConstraintViolation {
|
9243 + | /// `value` was not provided but it is required when building `PostUnionWithJsonNameOutput`.
|
9244 + | MissingValue,
|
9245 + | }
|
9246 + | impl ::std::fmt::Display for ConstraintViolation {
|
9247 + | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
9248 + | match self {
|
9249 + | ConstraintViolation::MissingValue => write!(f, "`value` was not provided but it is required when building `PostUnionWithJsonNameOutput`"),
|
9250 + | }
|
9251 + | }
|
9252 + | }
|
9253 + | impl ::std::error::Error for ConstraintViolation {}
|
9254 + | impl ::std::convert::TryFrom<Builder> for crate::output::PostUnionWithJsonNameOutput {
|
9255 + | type Error = ConstraintViolation;
|
9256 + |
|
9257 + | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
9258 + | builder.build()
|
8433 9259 | }
|
9260 + | }
|
9261 + | /// A builder for [`PostUnionWithJsonNameOutput`](crate::output::PostUnionWithJsonNameOutput).
|
9262 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9263 + | pub struct Builder {
|
9264 + | pub(crate) value: ::std::option::Option<crate::model::UnionWithJsonName>,
|
9265 + | }
|
9266 + | impl Builder {
|
8434 9267 | #[allow(missing_docs)] // documentation missing in model
|
8435 - | pub fn dense_set_map(
|
8436 - | mut self,
|
8437 - | input: ::std::option::Option<
|
8438 - | ::std::collections::HashMap<
|
8439 - | ::std::string::String,
|
8440 - | ::std::vec::Vec<::std::string::String>,
|
8441 - | >,
|
8442 - | >,
|
8443 - | ) -> Self {
|
8444 - | self.dense_set_map = input;
|
9268 + | pub fn value(mut self, input: crate::model::UnionWithJsonName) -> Self {
|
9269 + | self.value = Some(input);
|
8445 9270 | self
|
8446 9271 | }
|
8447 - | /// Consumes the builder and constructs a [`JsonMapsOutput`](crate::output::JsonMapsOutput).
|
8448 - | pub fn build(self) -> crate::output::JsonMapsOutput {
|
9272 + | /// Consumes the builder and constructs a [`PostUnionWithJsonNameOutput`](crate::output::PostUnionWithJsonNameOutput).
|
9273 + | ///
|
9274 + | /// The builder fails to construct a [`PostUnionWithJsonNameOutput`](crate::output::PostUnionWithJsonNameOutput) if you do not provide a value for all non-`Option`al members.
|
9275 + | ///
|
9276 + | pub fn build(
|
9277 + | self,
|
9278 + | ) -> Result<crate::output::PostUnionWithJsonNameOutput, ConstraintViolation> {
|
8449 9279 | self.build_enforcing_required_and_enum_traits()
|
8450 9280 | }
|
8451 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonMapsOutput {
|
8452 - | crate::output::JsonMapsOutput {
|
8453 - | dense_struct_map: self.dense_struct_map,
|
8454 - | dense_number_map: self.dense_number_map,
|
8455 - | dense_boolean_map: self.dense_boolean_map,
|
8456 - | dense_string_map: self.dense_string_map,
|
8457 - | dense_set_map: self.dense_set_map,
|
8458 - | }
|
9281 + | fn build_enforcing_required_and_enum_traits(
|
9282 + | self,
|
9283 + | ) -> Result<crate::output::PostUnionWithJsonNameOutput, ConstraintViolation> {
|
9284 + | Ok(crate::output::PostUnionWithJsonNameOutput {
|
9285 + | value: self.value.ok_or(ConstraintViolation::MissingValue)?,
|
9286 + | })
|
9287 + | }
|
9288 + | }
|
9289 + | }
|
9290 + | /// See [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
9291 + | pub mod endpoint_operation_output {
|
9292 + |
|
9293 + | impl ::std::convert::From<Builder> for crate::output::EndpointOperationOutput {
|
9294 + | fn from(builder: Builder) -> Self {
|
9295 + | builder.build()
|
9296 + | }
|
9297 + | }
|
9298 + | /// A builder for [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
9299 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9300 + | pub struct Builder {}
|
9301 + | impl Builder {
|
9302 + | /// Consumes the builder and constructs a [`EndpointOperationOutput`](crate::output::EndpointOperationOutput).
|
9303 + | pub fn build(self) -> crate::output::EndpointOperationOutput {
|
9304 + | self.build_enforcing_required_and_enum_traits()
|
9305 + | }
|
9306 + | fn build_enforcing_required_and_enum_traits(
|
9307 + | self,
|
9308 + | ) -> crate::output::EndpointOperationOutput {
|
9309 + | crate::output::EndpointOperationOutput {}
|
8459 9310 | }
|
8460 9311 | }
|
8461 9312 | }
|
8462 - | /// See [`SparseJsonListsOutput`](crate::output::SparseJsonListsOutput).
|
8463 - | pub mod sparse_json_lists_output {
|
9313 + | /// See [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
9314 + | pub mod endpoint_with_host_label_operation_output {
|
8464 9315 |
|
8465 - | impl ::std::convert::From<Builder> for crate::output::SparseJsonListsOutput {
|
9316 + | impl ::std::convert::From<Builder> for crate::output::EndpointWithHostLabelOperationOutput {
|
8466 9317 | fn from(builder: Builder) -> Self {
|
8467 9318 | builder.build()
|
8468 9319 | }
|
8469 9320 | }
|
8470 - | /// A builder for [`SparseJsonListsOutput`](crate::output::SparseJsonListsOutput).
|
9321 + | /// A builder for [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
8471 9322 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8472 - | pub struct Builder {
|
8473 - | pub(crate) sparse_string_list:
|
8474 - | ::std::option::Option<::std::vec::Vec<::std::option::Option<::std::string::String>>>,
|
8475 - | pub(crate) sparse_short_list:
|
8476 - | ::std::option::Option<::std::vec::Vec<::std::option::Option<i16>>>,
|
8477 - | }
|
9323 + | pub struct Builder {}
|
8478 9324 | impl Builder {
|
8479 - | #[allow(missing_docs)] // documentation missing in model
|
8480 - | pub fn sparse_string_list(
|
8481 - | mut self,
|
8482 - | input: ::std::option::Option<
|
8483 - | ::std::vec::Vec<::std::option::Option<::std::string::String>>,
|
8484 - | >,
|
8485 - | ) -> Self {
|
8486 - | self.sparse_string_list = input;
|
8487 - | self
|
8488 - | }
|
8489 - | #[allow(missing_docs)] // documentation missing in model
|
8490 - | pub fn sparse_short_list(
|
8491 - | mut self,
|
8492 - | input: ::std::option::Option<::std::vec::Vec<::std::option::Option<i16>>>,
|
8493 - | ) -> Self {
|
8494 - | self.sparse_short_list = input;
|
8495 - | self
|
8496 - | }
|
8497 - | /// Consumes the builder and constructs a [`SparseJsonListsOutput`](crate::output::SparseJsonListsOutput).
|
8498 - | pub fn build(self) -> crate::output::SparseJsonListsOutput {
|
9325 + | /// Consumes the builder and constructs a [`EndpointWithHostLabelOperationOutput`](crate::output::EndpointWithHostLabelOperationOutput).
|
9326 + | pub fn build(self) -> crate::output::EndpointWithHostLabelOperationOutput {
|
8499 9327 | self.build_enforcing_required_and_enum_traits()
|
8500 9328 | }
|
8501 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::SparseJsonListsOutput {
|
8502 - | crate::output::SparseJsonListsOutput {
|
8503 - | sparse_string_list: self.sparse_string_list,
|
8504 - | sparse_short_list: self.sparse_short_list,
|
8505 - | }
|
9329 + | fn build_enforcing_required_and_enum_traits(
|
9330 + | self,
|
9331 + | ) -> crate::output::EndpointWithHostLabelOperationOutput {
|
9332 + | crate::output::EndpointWithHostLabelOperationOutput {}
|
8506 9333 | }
|
8507 9334 | }
|
8508 9335 | }
|
8509 - | /// See [`JsonListsOutput`](crate::output::JsonListsOutput).
|
8510 - | pub mod json_lists_output {
|
9336 + | /// See [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
9337 + | pub mod host_with_path_operation_output {
|
8511 9338 |
|
8512 - | impl ::std::convert::From<Builder> for crate::output::JsonListsOutput {
|
9339 + | impl ::std::convert::From<Builder> for crate::output::HostWithPathOperationOutput {
|
8513 9340 | fn from(builder: Builder) -> Self {
|
8514 9341 | builder.build()
|
8515 9342 | }
|
8516 9343 | }
|
8517 - | /// A builder for [`JsonListsOutput`](crate::output::JsonListsOutput).
|
9344 + | /// A builder for [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
8518 9345 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8519 - | pub struct Builder {
|
8520 - | pub(crate) string_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
8521 - | pub(crate) string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
8522 - | pub(crate) integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
8523 - | pub(crate) boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
8524 - | pub(crate) timestamp_list: ::std::option::Option<
|
8525 - | ::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>,
|
8526 - | >,
|
8527 - | pub(crate) enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
8528 - | pub(crate) int_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
8529 - | pub(crate) nested_string_list:
|
8530 - | ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
8531 - | pub(crate) structure_list:
|
8532 - | ::std::option::Option<::std::vec::Vec<crate::model::StructureListMember>>,
|
8533 - | }
|
9346 + | pub struct Builder {}
|
8534 9347 | impl Builder {
|
8535 - | #[allow(missing_docs)] // documentation missing in model
|
8536 - | pub fn string_list(
|
8537 - | mut self,
|
8538 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
8539 - | ) -> Self {
|
8540 - | self.string_list = input;
|
8541 - | self
|
8542 - | }
|
8543 - | #[allow(missing_docs)] // documentation missing in model
|
8544 - | pub fn string_set(
|
8545 - | mut self,
|
8546 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
8547 - | ) -> Self {
|
8548 - | self.string_set = input;
|
8549 - | self
|
8550 - | }
|
8551 - | #[allow(missing_docs)] // documentation missing in model
|
8552 - | pub fn integer_list(mut self, input: ::std::option::Option<::std::vec::Vec<i32>>) -> Self {
|
8553 - | self.integer_list = input;
|
8554 - | self
|
8555 - | }
|
8556 - | #[allow(missing_docs)] // documentation missing in model
|
8557 - | pub fn boolean_list(mut self, input: ::std::option::Option<::std::vec::Vec<bool>>) -> Self {
|
8558 - | self.boolean_list = input;
|
8559 - | self
|
8560 - | }
|
8561 - | #[allow(missing_docs)] // documentation missing in model
|
8562 - | pub fn timestamp_list(
|
8563 - | mut self,
|
8564 - | input: ::std::option::Option<
|
8565 - | ::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>,
|
8566 - | >,
|
8567 - | ) -> Self {
|
8568 - | self.timestamp_list = input;
|
8569 - | self
|
8570 - | }
|
8571 - | #[allow(missing_docs)] // documentation missing in model
|
8572 - | pub fn enum_list(
|
8573 - | mut self,
|
8574 - | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
8575 - | ) -> Self {
|
8576 - | self.enum_list = input;
|
8577 - | self
|
8578 - | }
|
8579 - | #[allow(missing_docs)] // documentation missing in model
|
8580 - | pub fn int_enum_list(mut self, input: ::std::option::Option<::std::vec::Vec<i32>>) -> Self {
|
8581 - | self.int_enum_list = input;
|
8582 - | self
|
8583 - | }
|
8584 - | /// A list of lists of strings.
|
8585 - | pub fn nested_string_list(
|
8586 - | mut self,
|
8587 - | input: ::std::option::Option<::std::vec::Vec<::std::vec::Vec<::std::string::String>>>,
|
8588 - | ) -> Self {
|
8589 - | self.nested_string_list = input;
|
8590 - | self
|
8591 - | }
|
8592 - | #[allow(missing_docs)] // documentation missing in model
|
8593 - | pub fn structure_list(
|
8594 - | mut self,
|
8595 - | input: ::std::option::Option<::std::vec::Vec<crate::model::StructureListMember>>,
|
8596 - | ) -> Self {
|
8597 - | self.structure_list = input;
|
8598 - | self
|
8599 - | }
|
8600 - | /// Consumes the builder and constructs a [`JsonListsOutput`](crate::output::JsonListsOutput).
|
8601 - | pub fn build(self) -> crate::output::JsonListsOutput {
|
9348 + | /// Consumes the builder and constructs a [`HostWithPathOperationOutput`](crate::output::HostWithPathOperationOutput).
|
9349 + | pub fn build(self) -> crate::output::HostWithPathOperationOutput {
|
8602 9350 | self.build_enforcing_required_and_enum_traits()
|
8603 9351 | }
|
8604 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonListsOutput {
|
8605 - | crate::output::JsonListsOutput {
|
8606 - | string_list: self.string_list,
|
8607 - | string_set: self.string_set,
|
8608 - | integer_list: self.integer_list,
|
8609 - | boolean_list: self.boolean_list,
|
8610 - | timestamp_list: self.timestamp_list,
|
8611 - | enum_list: self.enum_list,
|
8612 - | int_enum_list: self.int_enum_list,
|
8613 - | nested_string_list: self.nested_string_list,
|
8614 - | structure_list: self.structure_list,
|
8615 - | }
|
9352 + | fn build_enforcing_required_and_enum_traits(
|
9353 + | self,
|
9354 + | ) -> crate::output::HostWithPathOperationOutput {
|
9355 + | crate::output::HostWithPathOperationOutput {}
|
8616 9356 | }
|
8617 9357 | }
|
8618 9358 | }
|
8619 - | /// See [`RecursiveShapesOutput`](crate::output::RecursiveShapesOutput).
|
8620 - | pub mod recursive_shapes_output {
|
9359 + | /// See [`HttpChecksumRequiredOutput`](crate::output::HttpChecksumRequiredOutput).
|
9360 + | pub mod http_checksum_required_output {
|
8621 9361 |
|
8622 - | impl ::std::convert::From<Builder> for crate::output::RecursiveShapesOutput {
|
9362 + | impl ::std::convert::From<Builder> for crate::output::HttpChecksumRequiredOutput {
|
8623 9363 | fn from(builder: Builder) -> Self {
|
8624 9364 | builder.build()
|
8625 9365 | }
|
8626 9366 | }
|
8627 - | /// A builder for [`RecursiveShapesOutput`](crate::output::RecursiveShapesOutput).
|
9367 + | /// A builder for [`HttpChecksumRequiredOutput`](crate::output::HttpChecksumRequiredOutput).
|
8628 9368 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8629 9369 | pub struct Builder {
|
8630 - | pub(crate) nested: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
|
9370 + | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
8631 9371 | }
|
8632 9372 | impl Builder {
|
8633 9373 | #[allow(missing_docs)] // documentation missing in model
|
8634 - | pub fn nested(
|
8635 - | mut self,
|
8636 - | input: ::std::option::Option<crate::model::RecursiveShapesInputOutputNested1>,
|
8637 - | ) -> Self {
|
8638 - | self.nested = input;
|
9374 + | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
9375 + | self.foo = input;
|
8639 9376 | self
|
8640 9377 | }
|
8641 - | /// Consumes the builder and constructs a [`RecursiveShapesOutput`](crate::output::RecursiveShapesOutput).
|
8642 - | pub fn build(self) -> crate::output::RecursiveShapesOutput {
|
9378 + | /// Consumes the builder and constructs a [`HttpChecksumRequiredOutput`](crate::output::HttpChecksumRequiredOutput).
|
9379 + | pub fn build(self) -> crate::output::HttpChecksumRequiredOutput {
|
8643 9380 | self.build_enforcing_required_and_enum_traits()
|
8644 9381 | }
|
8645 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::RecursiveShapesOutput {
|
8646 - | crate::output::RecursiveShapesOutput {
|
8647 - | nested: self.nested,
|
8648 - | }
|
9382 + | fn build_enforcing_required_and_enum_traits(
|
9383 + | self,
|
9384 + | ) -> crate::output::HttpChecksumRequiredOutput {
|
9385 + | crate::output::HttpChecksumRequiredOutput { foo: self.foo }
|
8649 9386 | }
|
8650 9387 | }
|
8651 9388 | }
|
8652 - | /// See [`JsonIntEnumsOutput`](crate::output::JsonIntEnumsOutput).
|
8653 - | pub mod json_int_enums_output {
|
9389 + | /// See [`MalformedRequestBodyOutput`](crate::output::MalformedRequestBodyOutput).
|
9390 + | pub mod malformed_request_body_output {
|
8654 9391 |
|
8655 - | impl ::std::convert::From<Builder> for crate::output::JsonIntEnumsOutput {
|
9392 + | impl ::std::convert::From<Builder> for crate::output::MalformedRequestBodyOutput {
|
8656 9393 | fn from(builder: Builder) -> Self {
|
8657 9394 | builder.build()
|
8658 9395 | }
|
8659 9396 | }
|
8660 - | /// A builder for [`JsonIntEnumsOutput`](crate::output::JsonIntEnumsOutput).
|
9397 + | /// A builder for [`MalformedRequestBodyOutput`](crate::output::MalformedRequestBodyOutput).
|
8661 9398 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8662 - | pub struct Builder {
|
8663 - | pub(crate) integer_enum1: ::std::option::Option<i32>,
|
8664 - | pub(crate) integer_enum2: ::std::option::Option<i32>,
|
8665 - | pub(crate) integer_enum3: ::std::option::Option<i32>,
|
8666 - | pub(crate) integer_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
8667 - | pub(crate) integer_enum_set: ::std::option::Option<::std::vec::Vec<i32>>,
|
8668 - | pub(crate) integer_enum_map:
|
8669 - | ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
8670 - | }
|
9399 + | pub struct Builder {}
|
8671 9400 | impl Builder {
|
8672 - | #[allow(missing_docs)] // documentation missing in model
|
8673 - | pub fn integer_enum1(mut self, input: ::std::option::Option<i32>) -> Self {
|
8674 - | self.integer_enum1 = input;
|
8675 - | self
|
8676 - | }
|
8677 - | #[allow(missing_docs)] // documentation missing in model
|
8678 - | pub fn integer_enum2(mut self, input: ::std::option::Option<i32>) -> Self {
|
8679 - | self.integer_enum2 = input;
|
8680 - | self
|
8681 - | }
|
8682 - | #[allow(missing_docs)] // documentation missing in model
|
8683 - | pub fn integer_enum3(mut self, input: ::std::option::Option<i32>) -> Self {
|
8684 - | self.integer_enum3 = input;
|
8685 - | self
|
8686 - | }
|
8687 - | #[allow(missing_docs)] // documentation missing in model
|
8688 - | pub fn integer_enum_list(
|
8689 - | mut self,
|
8690 - | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
8691 - | ) -> Self {
|
8692 - | self.integer_enum_list = input;
|
8693 - | self
|
9401 + | /// Consumes the builder and constructs a [`MalformedRequestBodyOutput`](crate::output::MalformedRequestBodyOutput).
|
9402 + | pub fn build(self) -> crate::output::MalformedRequestBodyOutput {
|
9403 + | self.build_enforcing_required_and_enum_traits()
|
8694 9404 | }
|
8695 - | #[allow(missing_docs)] // documentation missing in model
|
8696 - | pub fn integer_enum_set(
|
8697 - | mut self,
|
8698 - | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
8699 - | ) -> Self {
|
8700 - | self.integer_enum_set = input;
|
8701 - | self
|
9405 + | fn build_enforcing_required_and_enum_traits(
|
9406 + | self,
|
9407 + | ) -> crate::output::MalformedRequestBodyOutput {
|
9408 + | crate::output::MalformedRequestBodyOutput {}
|
8702 9409 | }
|
8703 - | #[allow(missing_docs)] // documentation missing in model
|
8704 - | pub fn integer_enum_map(
|
8705 - | mut self,
|
8706 - | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, i32>>,
|
8707 - | ) -> Self {
|
8708 - | self.integer_enum_map = input;
|
8709 - | self
|
9410 + | }
|
9411 + | }
|
9412 + | /// See [`MalformedIntegerOutput`](crate::output::MalformedIntegerOutput).
|
9413 + | pub mod malformed_integer_output {
|
9414 + |
|
9415 + | impl ::std::convert::From<Builder> for crate::output::MalformedIntegerOutput {
|
9416 + | fn from(builder: Builder) -> Self {
|
9417 + | builder.build()
|
8710 9418 | }
|
8711 - | /// Consumes the builder and constructs a [`JsonIntEnumsOutput`](crate::output::JsonIntEnumsOutput).
|
8712 - | pub fn build(self) -> crate::output::JsonIntEnumsOutput {
|
9419 + | }
|
9420 + | /// A builder for [`MalformedIntegerOutput`](crate::output::MalformedIntegerOutput).
|
9421 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9422 + | pub struct Builder {}
|
9423 + | impl Builder {
|
9424 + | /// Consumes the builder and constructs a [`MalformedIntegerOutput`](crate::output::MalformedIntegerOutput).
|
9425 + | pub fn build(self) -> crate::output::MalformedIntegerOutput {
|
8713 9426 | self.build_enforcing_required_and_enum_traits()
|
8714 9427 | }
|
8715 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonIntEnumsOutput {
|
8716 - | crate::output::JsonIntEnumsOutput {
|
8717 - | integer_enum1: self.integer_enum1,
|
8718 - | integer_enum2: self.integer_enum2,
|
8719 - | integer_enum3: self.integer_enum3,
|
8720 - | integer_enum_list: self.integer_enum_list,
|
8721 - | integer_enum_set: self.integer_enum_set,
|
8722 - | integer_enum_map: self.integer_enum_map,
|
8723 - | }
|
9428 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedIntegerOutput {
|
9429 + | crate::output::MalformedIntegerOutput {}
|
8724 9430 | }
|
8725 9431 | }
|
8726 9432 | }
|
8727 - | /// See [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
8728 - | pub mod json_enums_output {
|
9433 + | /// See [`MalformedUnionOutput`](crate::output::MalformedUnionOutput).
|
9434 + | pub mod malformed_union_output {
|
8729 9435 |
|
8730 - | impl ::std::convert::From<Builder> for crate::output::JsonEnumsOutput {
|
9436 + | impl ::std::convert::From<Builder> for crate::output::MalformedUnionOutput {
|
8731 9437 | fn from(builder: Builder) -> Self {
|
8732 9438 | builder.build()
|
8733 9439 | }
|
8734 9440 | }
|
8735 - | /// A builder for [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
9441 + | /// A builder for [`MalformedUnionOutput`](crate::output::MalformedUnionOutput).
|
8736 9442 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8737 - | pub struct Builder {
|
8738 - | pub(crate) foo_enum1: ::std::option::Option<crate::model::FooEnum>,
|
8739 - | pub(crate) foo_enum2: ::std::option::Option<crate::model::FooEnum>,
|
8740 - | pub(crate) foo_enum3: ::std::option::Option<crate::model::FooEnum>,
|
8741 - | pub(crate) foo_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
8742 - | pub(crate) foo_enum_set: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
8743 - | pub(crate) foo_enum_map: ::std::option::Option<
|
8744 - | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
8745 - | >,
|
8746 - | }
|
9443 + | pub struct Builder {}
|
8747 9444 | impl Builder {
|
8748 - | #[allow(missing_docs)] // documentation missing in model
|
8749 - | pub fn foo_enum1(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
8750 - | self.foo_enum1 = input;
|
8751 - | self
|
9445 + | /// Consumes the builder and constructs a [`MalformedUnionOutput`](crate::output::MalformedUnionOutput).
|
9446 + | pub fn build(self) -> crate::output::MalformedUnionOutput {
|
9447 + | self.build_enforcing_required_and_enum_traits()
|
8752 9448 | }
|
8753 - | #[allow(missing_docs)] // documentation missing in model
|
8754 - | pub fn foo_enum2(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
8755 - | self.foo_enum2 = input;
|
8756 - | self
|
9449 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedUnionOutput {
|
9450 + | crate::output::MalformedUnionOutput {}
|
8757 9451 | }
|
8758 - | #[allow(missing_docs)] // documentation missing in model
|
8759 - | pub fn foo_enum3(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
8760 - | self.foo_enum3 = input;
|
8761 - | self
|
9452 + | }
|
9453 + | }
|
9454 + | /// See [`MalformedBooleanOutput`](crate::output::MalformedBooleanOutput).
|
9455 + | pub mod malformed_boolean_output {
|
9456 + |
|
9457 + | impl ::std::convert::From<Builder> for crate::output::MalformedBooleanOutput {
|
9458 + | fn from(builder: Builder) -> Self {
|
9459 + | builder.build()
|
8762 9460 | }
|
8763 - | #[allow(missing_docs)] // documentation missing in model
|
8764 - | pub fn foo_enum_list(
|
8765 - | mut self,
|
8766 - | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
8767 - | ) -> Self {
|
8768 - | self.foo_enum_list = input;
|
8769 - | self
|
9461 + | }
|
9462 + | /// A builder for [`MalformedBooleanOutput`](crate::output::MalformedBooleanOutput).
|
9463 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9464 + | pub struct Builder {}
|
9465 + | impl Builder {
|
9466 + | /// Consumes the builder and constructs a [`MalformedBooleanOutput`](crate::output::MalformedBooleanOutput).
|
9467 + | pub fn build(self) -> crate::output::MalformedBooleanOutput {
|
9468 + | self.build_enforcing_required_and_enum_traits()
|
8770 9469 | }
|
8771 - | #[allow(missing_docs)] // documentation missing in model
|
8772 - | pub fn foo_enum_set(
|
8773 - | mut self,
|
8774 - | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
8775 - | ) -> Self {
|
8776 - | self.foo_enum_set = input;
|
8777 - | self
|
9470 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedBooleanOutput {
|
9471 + | crate::output::MalformedBooleanOutput {}
|
8778 9472 | }
|
8779 - | #[allow(missing_docs)] // documentation missing in model
|
8780 - | pub fn foo_enum_map(
|
8781 - | mut self,
|
8782 - | input: ::std::option::Option<
|
8783 - | ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
|
8784 - | >,
|
8785 - | ) -> Self {
|
8786 - | self.foo_enum_map = input;
|
8787 - | self
|
9473 + | }
|
9474 + | }
|
9475 + | /// See [`MalformedListOutput`](crate::output::MalformedListOutput).
|
9476 + | pub mod malformed_list_output {
|
9477 + |
|
9478 + | impl ::std::convert::From<Builder> for crate::output::MalformedListOutput {
|
9479 + | fn from(builder: Builder) -> Self {
|
9480 + | builder.build()
|
8788 9481 | }
|
8789 - | /// Consumes the builder and constructs a [`JsonEnumsOutput`](crate::output::JsonEnumsOutput).
|
8790 - | pub fn build(self) -> crate::output::JsonEnumsOutput {
|
9482 + | }
|
9483 + | /// A builder for [`MalformedListOutput`](crate::output::MalformedListOutput).
|
9484 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9485 + | pub struct Builder {}
|
9486 + | impl Builder {
|
9487 + | /// Consumes the builder and constructs a [`MalformedListOutput`](crate::output::MalformedListOutput).
|
9488 + | pub fn build(self) -> crate::output::MalformedListOutput {
|
8791 9489 | self.build_enforcing_required_and_enum_traits()
|
8792 9490 | }
|
8793 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonEnumsOutput {
|
8794 - | crate::output::JsonEnumsOutput {
|
8795 - | foo_enum1: self.foo_enum1,
|
8796 - | foo_enum2: self.foo_enum2,
|
8797 - | foo_enum3: self.foo_enum3,
|
8798 - | foo_enum_list: self.foo_enum_list,
|
8799 - | foo_enum_set: self.foo_enum_set,
|
8800 - | foo_enum_map: self.foo_enum_map,
|
8801 - | }
|
9491 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedListOutput {
|
9492 + | crate::output::MalformedListOutput {}
|
8802 9493 | }
|
8803 9494 | }
|
8804 9495 | }
|
8805 - | /// See [`JsonTimestampsOutput`](crate::output::JsonTimestampsOutput).
|
8806 - | pub mod json_timestamps_output {
|
9496 + | /// See [`MalformedMapOutput`](crate::output::MalformedMapOutput).
|
9497 + | pub mod malformed_map_output {
|
8807 9498 |
|
8808 - | impl ::std::convert::From<Builder> for crate::output::JsonTimestampsOutput {
|
9499 + | impl ::std::convert::From<Builder> for crate::output::MalformedMapOutput {
|
8809 9500 | fn from(builder: Builder) -> Self {
|
8810 9501 | builder.build()
|
8811 9502 | }
|
8812 9503 | }
|
8813 - | /// A builder for [`JsonTimestampsOutput`](crate::output::JsonTimestampsOutput).
|
9504 + | /// A builder for [`MalformedMapOutput`](crate::output::MalformedMapOutput).
|
8814 9505 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8815 - | pub struct Builder {
|
8816 - | pub(crate) normal: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8817 - | pub(crate) date_time:
|
8818 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8819 - | pub(crate) date_time_on_target:
|
8820 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8821 - | pub(crate) epoch_seconds:
|
8822 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8823 - | pub(crate) epoch_seconds_on_target:
|
8824 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8825 - | pub(crate) http_date:
|
8826 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8827 - | pub(crate) http_date_on_target:
|
8828 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8829 - | }
|
9506 + | pub struct Builder {}
|
8830 9507 | impl Builder {
|
8831 - | #[allow(missing_docs)] // documentation missing in model
|
8832 - | pub fn normal(
|
8833 - | mut self,
|
8834 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8835 - | ) -> Self {
|
8836 - | self.normal = input;
|
8837 - | self
|
8838 - | }
|
8839 - | #[allow(missing_docs)] // documentation missing in model
|
8840 - | pub fn date_time(
|
8841 - | mut self,
|
8842 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8843 - | ) -> Self {
|
8844 - | self.date_time = input;
|
8845 - | self
|
8846 - | }
|
8847 - | #[allow(missing_docs)] // documentation missing in model
|
8848 - | pub fn date_time_on_target(
|
8849 - | mut self,
|
8850 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8851 - | ) -> Self {
|
8852 - | self.date_time_on_target = input;
|
8853 - | self
|
9508 + | /// Consumes the builder and constructs a [`MalformedMapOutput`](crate::output::MalformedMapOutput).
|
9509 + | pub fn build(self) -> crate::output::MalformedMapOutput {
|
9510 + | self.build_enforcing_required_and_enum_traits()
|
8854 9511 | }
|
8855 - | #[allow(missing_docs)] // documentation missing in model
|
8856 - | pub fn epoch_seconds(
|
8857 - | mut self,
|
8858 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8859 - | ) -> Self {
|
8860 - | self.epoch_seconds = input;
|
8861 - | self
|
9512 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedMapOutput {
|
9513 + | crate::output::MalformedMapOutput {}
|
8862 9514 | }
|
8863 - | #[allow(missing_docs)] // documentation missing in model
|
8864 - | pub fn epoch_seconds_on_target(
|
8865 - | mut self,
|
8866 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8867 - | ) -> Self {
|
8868 - | self.epoch_seconds_on_target = input;
|
8869 - | self
|
9515 + | }
|
9516 + | }
|
9517 + | /// See [`MalformedBlobOutput`](crate::output::MalformedBlobOutput).
|
9518 + | pub mod malformed_blob_output {
|
9519 + |
|
9520 + | impl ::std::convert::From<Builder> for crate::output::MalformedBlobOutput {
|
9521 + | fn from(builder: Builder) -> Self {
|
9522 + | builder.build()
|
8870 9523 | }
|
8871 - | #[allow(missing_docs)] // documentation missing in model
|
8872 - | pub fn http_date(
|
8873 - | mut self,
|
8874 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8875 - | ) -> Self {
|
8876 - | self.http_date = input;
|
8877 - | self
|
9524 + | }
|
9525 + | /// A builder for [`MalformedBlobOutput`](crate::output::MalformedBlobOutput).
|
9526 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9527 + | pub struct Builder {}
|
9528 + | impl Builder {
|
9529 + | /// Consumes the builder and constructs a [`MalformedBlobOutput`](crate::output::MalformedBlobOutput).
|
9530 + | pub fn build(self) -> crate::output::MalformedBlobOutput {
|
9531 + | self.build_enforcing_required_and_enum_traits()
|
8878 9532 | }
|
8879 - | #[allow(missing_docs)] // documentation missing in model
|
8880 - | pub fn http_date_on_target(
|
8881 - | mut self,
|
8882 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
8883 - | ) -> Self {
|
8884 - | self.http_date_on_target = input;
|
8885 - | self
|
9533 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedBlobOutput {
|
9534 + | crate::output::MalformedBlobOutput {}
|
8886 9535 | }
|
8887 - | /// Consumes the builder and constructs a [`JsonTimestampsOutput`](crate::output::JsonTimestampsOutput).
|
8888 - | pub fn build(self) -> crate::output::JsonTimestampsOutput {
|
8889 - | self.build_enforcing_required_and_enum_traits()
|
9536 + | }
|
9537 + | }
|
9538 + | /// See [`MalformedByteOutput`](crate::output::MalformedByteOutput).
|
9539 + | pub mod malformed_byte_output {
|
9540 + |
|
9541 + | impl ::std::convert::From<Builder> for crate::output::MalformedByteOutput {
|
9542 + | fn from(builder: Builder) -> Self {
|
9543 + | builder.build()
|
8890 9544 | }
|
8891 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::JsonTimestampsOutput {
|
8892 - | crate::output::JsonTimestampsOutput {
|
8893 - | normal: self.normal,
|
8894 - | date_time: self.date_time,
|
8895 - | date_time_on_target: self.date_time_on_target,
|
8896 - | epoch_seconds: self.epoch_seconds,
|
8897 - | epoch_seconds_on_target: self.epoch_seconds_on_target,
|
8898 - | http_date: self.http_date,
|
8899 - | http_date_on_target: self.http_date_on_target,
|
8900 - | }
|
9545 + | }
|
9546 + | /// A builder for [`MalformedByteOutput`](crate::output::MalformedByteOutput).
|
9547 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9548 + | pub struct Builder {}
|
9549 + | impl Builder {
|
9550 + | /// Consumes the builder and constructs a [`MalformedByteOutput`](crate::output::MalformedByteOutput).
|
9551 + | pub fn build(self) -> crate::output::MalformedByteOutput {
|
9552 + | self.build_enforcing_required_and_enum_traits()
|
9553 + | }
|
9554 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedByteOutput {
|
9555 + | crate::output::MalformedByteOutput {}
|
8901 9556 | }
|
8902 9557 | }
|
8903 9558 | }
|
8904 - | /// See [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
8905 - | pub mod simple_scalar_properties_output {
|
9559 + | /// See [`MalformedShortOutput`](crate::output::MalformedShortOutput).
|
9560 + | pub mod malformed_short_output {
|
8906 9561 |
|
8907 - | impl ::std::convert::From<Builder> for crate::output::SimpleScalarPropertiesOutput {
|
9562 + | impl ::std::convert::From<Builder> for crate::output::MalformedShortOutput {
|
8908 9563 | fn from(builder: Builder) -> Self {
|
8909 9564 | builder.build()
|
8910 9565 | }
|
8911 9566 | }
|
8912 - | /// A builder for [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
9567 + | /// A builder for [`MalformedShortOutput`](crate::output::MalformedShortOutput).
|
8913 9568 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
8914 - | pub struct Builder {
|
8915 - | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
8916 - | pub(crate) string_value: ::std::option::Option<::std::string::String>,
|
8917 - | pub(crate) true_boolean_value: ::std::option::Option<bool>,
|
8918 - | pub(crate) false_boolean_value: ::std::option::Option<bool>,
|
8919 - | pub(crate) byte_value: ::std::option::Option<i8>,
|
8920 - | pub(crate) short_value: ::std::option::Option<i16>,
|
8921 - | pub(crate) integer_value: ::std::option::Option<i32>,
|
8922 - | pub(crate) long_value: ::std::option::Option<i64>,
|
8923 - | pub(crate) float_value: ::std::option::Option<f32>,
|
8924 - | pub(crate) double_value: ::std::option::Option<f64>,
|
8925 - | }
|
9569 + | pub struct Builder {}
|
8926 9570 | impl Builder {
|
8927 - | #[allow(missing_docs)] // documentation missing in model
|
8928 - | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
8929 - | self.foo = input;
|
8930 - | self
|
8931 - | }
|
8932 - | #[allow(missing_docs)] // documentation missing in model
|
8933 - | pub fn string_value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
8934 - | self.string_value = input;
|
8935 - | self
|
9571 + | /// Consumes the builder and constructs a [`MalformedShortOutput`](crate::output::MalformedShortOutput).
|
9572 + | pub fn build(self) -> crate::output::MalformedShortOutput {
|
9573 + | self.build_enforcing_required_and_enum_traits()
|
8936 9574 | }
|
8937 - | #[allow(missing_docs)] // documentation missing in model
|
8938 - | pub fn true_boolean_value(mut self, input: ::std::option::Option<bool>) -> Self {
|
8939 - | self.true_boolean_value = input;
|
8940 - | self
|
9575 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedShortOutput {
|
9576 + | crate::output::MalformedShortOutput {}
|
8941 9577 | }
|
8942 - | #[allow(missing_docs)] // documentation missing in model
|
8943 - | pub fn false_boolean_value(mut self, input: ::std::option::Option<bool>) -> Self {
|
8944 - | self.false_boolean_value = input;
|
8945 - | self
|
9578 + | }
|
9579 + | }
|
9580 + | /// See [`MalformedLongOutput`](crate::output::MalformedLongOutput).
|
9581 + | pub mod malformed_long_output {
|
9582 + |
|
9583 + | impl ::std::convert::From<Builder> for crate::output::MalformedLongOutput {
|
9584 + | fn from(builder: Builder) -> Self {
|
9585 + | builder.build()
|
8946 9586 | }
|
8947 - | #[allow(missing_docs)] // documentation missing in model
|
8948 - | pub fn byte_value(mut self, input: ::std::option::Option<i8>) -> Self {
|
8949 - | self.byte_value = input;
|
8950 - | self
|
9587 + | }
|
9588 + | /// A builder for [`MalformedLongOutput`](crate::output::MalformedLongOutput).
|
9589 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9590 + | pub struct Builder {}
|
9591 + | impl Builder {
|
9592 + | /// Consumes the builder and constructs a [`MalformedLongOutput`](crate::output::MalformedLongOutput).
|
9593 + | pub fn build(self) -> crate::output::MalformedLongOutput {
|
9594 + | self.build_enforcing_required_and_enum_traits()
|
8951 9595 | }
|
8952 - | #[allow(missing_docs)] // documentation missing in model
|
8953 - | pub fn short_value(mut self, input: ::std::option::Option<i16>) -> Self {
|
8954 - | self.short_value = input;
|
8955 - | self
|
9596 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedLongOutput {
|
9597 + | crate::output::MalformedLongOutput {}
|
8956 9598 | }
|
8957 - | #[allow(missing_docs)] // documentation missing in model
|
8958 - | pub fn integer_value(mut self, input: ::std::option::Option<i32>) -> Self {
|
8959 - | self.integer_value = input;
|
8960 - | self
|
9599 + | }
|
9600 + | }
|
9601 + | /// See [`MalformedFloatOutput`](crate::output::MalformedFloatOutput).
|
9602 + | pub mod malformed_float_output {
|
9603 + |
|
9604 + | impl ::std::convert::From<Builder> for crate::output::MalformedFloatOutput {
|
9605 + | fn from(builder: Builder) -> Self {
|
9606 + | builder.build()
|
8961 9607 | }
|
8962 - | #[allow(missing_docs)] // documentation missing in model
|
8963 - | pub fn long_value(mut self, input: ::std::option::Option<i64>) -> Self {
|
8964 - | self.long_value = input;
|
8965 - | self
|
9608 + | }
|
9609 + | /// A builder for [`MalformedFloatOutput`](crate::output::MalformedFloatOutput).
|
9610 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9611 + | pub struct Builder {}
|
9612 + | impl Builder {
|
9613 + | /// Consumes the builder and constructs a [`MalformedFloatOutput`](crate::output::MalformedFloatOutput).
|
9614 + | pub fn build(self) -> crate::output::MalformedFloatOutput {
|
9615 + | self.build_enforcing_required_and_enum_traits()
|
8966 9616 | }
|
8967 - | #[allow(missing_docs)] // documentation missing in model
|
8968 - | pub fn float_value(mut self, input: ::std::option::Option<f32>) -> Self {
|
8969 - | self.float_value = input;
|
8970 - | self
|
9617 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedFloatOutput {
|
9618 + | crate::output::MalformedFloatOutput {}
|
8971 9619 | }
|
8972 - | #[allow(missing_docs)] // documentation missing in model
|
8973 - | pub fn double_value(mut self, input: ::std::option::Option<f64>) -> Self {
|
8974 - | self.double_value = input;
|
8975 - | self
|
9620 + | }
|
9621 + | }
|
9622 + | /// See [`MalformedDoubleOutput`](crate::output::MalformedDoubleOutput).
|
9623 + | pub mod malformed_double_output {
|
9624 + |
|
9625 + | impl ::std::convert::From<Builder> for crate::output::MalformedDoubleOutput {
|
9626 + | fn from(builder: Builder) -> Self {
|
9627 + | builder.build()
|
8976 9628 | }
|
8977 - | /// Consumes the builder and constructs a [`SimpleScalarPropertiesOutput`](crate::output::SimpleScalarPropertiesOutput).
|
8978 - | pub fn build(self) -> crate::output::SimpleScalarPropertiesOutput {
|
9629 + | }
|
9630 + | /// A builder for [`MalformedDoubleOutput`](crate::output::MalformedDoubleOutput).
|
9631 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9632 + | pub struct Builder {}
|
9633 + | impl Builder {
|
9634 + | /// Consumes the builder and constructs a [`MalformedDoubleOutput`](crate::output::MalformedDoubleOutput).
|
9635 + | pub fn build(self) -> crate::output::MalformedDoubleOutput {
|
8979 9636 | self.build_enforcing_required_and_enum_traits()
|
8980 9637 | }
|
8981 - | fn build_enforcing_required_and_enum_traits(
|
8982 - | self,
|
8983 - | ) -> crate::output::SimpleScalarPropertiesOutput {
|
8984 - | crate::output::SimpleScalarPropertiesOutput {
|
8985 - | foo: self.foo,
|
8986 - | string_value: self.string_value,
|
8987 - | true_boolean_value: self.true_boolean_value,
|
8988 - | false_boolean_value: self.false_boolean_value,
|
8989 - | byte_value: self.byte_value,
|
8990 - | short_value: self.short_value,
|
8991 - | integer_value: self.integer_value,
|
8992 - | long_value: self.long_value,
|
8993 - | float_value: self.float_value,
|
8994 - | double_value: self.double_value,
|
8995 - | }
|
9638 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedDoubleOutput {
|
9639 + | crate::output::MalformedDoubleOutput {}
|
8996 9640 | }
|
8997 9641 | }
|
8998 9642 | }
|
8999 - | /// See [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
9000 - | pub mod greeting_with_errors_output {
|
9643 + | /// See [`MalformedStringOutput`](crate::output::MalformedStringOutput).
|
9644 + | pub mod malformed_string_output {
|
9001 9645 |
|
9002 - | impl ::std::convert::From<Builder> for crate::output::GreetingWithErrorsOutput {
|
9646 + | impl ::std::convert::From<Builder> for crate::output::MalformedStringOutput {
|
9003 9647 | fn from(builder: Builder) -> Self {
|
9004 9648 | builder.build()
|
9005 9649 | }
|
9006 9650 | }
|
9007 - | /// A builder for [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
9651 + | /// A builder for [`MalformedStringOutput`](crate::output::MalformedStringOutput).
|
9008 9652 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9009 - | pub struct Builder {
|
9010 - | pub(crate) greeting: ::std::option::Option<::std::string::String>,
|
9011 - | }
|
9653 + | pub struct Builder {}
|
9012 9654 | impl Builder {
|
9013 - | #[allow(missing_docs)] // documentation missing in model
|
9014 - | pub fn greeting(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
9015 - | self.greeting = input;
|
9016 - | self
|
9017 - | }
|
9018 - | /// Consumes the builder and constructs a [`GreetingWithErrorsOutput`](crate::output::GreetingWithErrorsOutput).
|
9019 - | pub fn build(self) -> crate::output::GreetingWithErrorsOutput {
|
9655 + | /// Consumes the builder and constructs a [`MalformedStringOutput`](crate::output::MalformedStringOutput).
|
9656 + | pub fn build(self) -> crate::output::MalformedStringOutput {
|
9020 9657 | self.build_enforcing_required_and_enum_traits()
|
9021 9658 | }
|
9022 - | fn build_enforcing_required_and_enum_traits(
|
9023 - | self,
|
9024 - | ) -> crate::output::GreetingWithErrorsOutput {
|
9025 - | crate::output::GreetingWithErrorsOutput {
|
9026 - | greeting: self.greeting,
|
9027 - | }
|
9659 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MalformedStringOutput {
|
9660 + | crate::output::MalformedStringOutput {}
|
9028 9661 | }
|
9029 9662 | }
|
9030 9663 | }
|
9031 - | /// See [`StreamingTraitsWithMediaTypeOutput`](crate::output::StreamingTraitsWithMediaTypeOutput).
|
9032 - | pub mod streaming_traits_with_media_type_output {
|
9664 + | /// See [`MalformedTimestampPathDefaultOutput`](crate::output::MalformedTimestampPathDefaultOutput).
|
9665 + | pub mod malformed_timestamp_path_default_output {
|
9033 9666 |
|
9034 - | impl ::std::convert::From<Builder> for crate::output::StreamingTraitsWithMediaTypeOutput {
|
9667 + | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampPathDefaultOutput {
|
9035 9668 | fn from(builder: Builder) -> Self {
|
9036 9669 | builder.build()
|
9037 9670 | }
|
9038 9671 | }
|
9039 - | /// A builder for [`StreamingTraitsWithMediaTypeOutput`](crate::output::StreamingTraitsWithMediaTypeOutput).
|
9672 + | /// A builder for [`MalformedTimestampPathDefaultOutput`](crate::output::MalformedTimestampPathDefaultOutput).
|
9040 9673 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9041 - | pub struct Builder {
|
9042 - | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
9043 - | pub(crate) blob: ::std::option::Option<::aws_smithy_http_server_python::types::ByteStream>,
|
9044 - | }
|
9674 + | pub struct Builder {}
|
9045 9675 | impl Builder {
|
9046 - | #[allow(missing_docs)] // documentation missing in model
|
9047 - | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
9048 - | self.foo = input;
|
9049 - | self
|
9050 - | }
|
9051 - | #[allow(missing_docs)] // documentation missing in model
|
9052 - | pub fn blob(mut self, input: ::aws_smithy_http_server_python::types::ByteStream) -> Self {
|
9053 - | self.blob = Some(input);
|
9054 - | self
|
9055 - | }
|
9056 - | /// Consumes the builder and constructs a [`StreamingTraitsWithMediaTypeOutput`](crate::output::StreamingTraitsWithMediaTypeOutput).
|
9057 - | pub fn build(self) -> crate::output::StreamingTraitsWithMediaTypeOutput {
|
9676 + | /// Consumes the builder and constructs a [`MalformedTimestampPathDefaultOutput`](crate::output::MalformedTimestampPathDefaultOutput).
|
9677 + | pub fn build(self) -> crate::output::MalformedTimestampPathDefaultOutput {
|
9058 9678 | self.build_enforcing_required_and_enum_traits()
|
9059 9679 | }
|
9060 9680 | fn build_enforcing_required_and_enum_traits(
|
9061 9681 | self,
|
9062 - | ) -> crate::output::StreamingTraitsWithMediaTypeOutput {
|
9063 - | crate::output::StreamingTraitsWithMediaTypeOutput {
|
9064 - | foo: self.foo,
|
9065 - | blob: self.blob.unwrap_or_default(),
|
9066 - | }
|
9682 + | ) -> crate::output::MalformedTimestampPathDefaultOutput {
|
9683 + | crate::output::MalformedTimestampPathDefaultOutput {}
|
9067 9684 | }
|
9068 9685 | }
|
9069 9686 | }
|
9070 - | /// See [`StreamingTraitsRequireLengthOutput`](crate::output::StreamingTraitsRequireLengthOutput).
|
9071 - | pub mod streaming_traits_require_length_output {
|
9687 + | /// See [`MalformedTimestampPathHttpDateOutput`](crate::output::MalformedTimestampPathHttpDateOutput).
|
9688 + | pub mod malformed_timestamp_path_http_date_output {
|
9072 9689 |
|
9073 - | impl ::std::convert::From<Builder> for crate::output::StreamingTraitsRequireLengthOutput {
|
9690 + | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampPathHttpDateOutput {
|
9074 9691 | fn from(builder: Builder) -> Self {
|
9075 9692 | builder.build()
|
9076 9693 | }
|
9077 9694 | }
|
9078 - | /// A builder for [`StreamingTraitsRequireLengthOutput`](crate::output::StreamingTraitsRequireLengthOutput).
|
9695 + | /// A builder for [`MalformedTimestampPathHttpDateOutput`](crate::output::MalformedTimestampPathHttpDateOutput).
|
9079 9696 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9080 9697 | pub struct Builder {}
|
9081 9698 | impl Builder {
|
9082 - | /// Consumes the builder and constructs a [`StreamingTraitsRequireLengthOutput`](crate::output::StreamingTraitsRequireLengthOutput).
|
9083 - | pub fn build(self) -> crate::output::StreamingTraitsRequireLengthOutput {
|
9699 + | /// Consumes the builder and constructs a [`MalformedTimestampPathHttpDateOutput`](crate::output::MalformedTimestampPathHttpDateOutput).
|
9700 + | pub fn build(self) -> crate::output::MalformedTimestampPathHttpDateOutput {
|
9084 9701 | self.build_enforcing_required_and_enum_traits()
|
9085 9702 | }
|
9086 9703 | fn build_enforcing_required_and_enum_traits(
|
9087 9704 | self,
|
9088 - | ) -> crate::output::StreamingTraitsRequireLengthOutput {
|
9089 - | crate::output::StreamingTraitsRequireLengthOutput {}
|
9705 + | ) -> crate::output::MalformedTimestampPathHttpDateOutput {
|
9706 + | crate::output::MalformedTimestampPathHttpDateOutput {}
|
9090 9707 | }
|
9091 9708 | }
|
9092 9709 | }
|
9093 - | /// See [`StreamingTraitsOutput`](crate::output::StreamingTraitsOutput).
|
9094 - | pub mod streaming_traits_output {
|
9710 + | /// See [`MalformedTimestampPathEpochOutput`](crate::output::MalformedTimestampPathEpochOutput).
|
9711 + | pub mod malformed_timestamp_path_epoch_output {
|
9095 9712 |
|
9096 - | impl ::std::convert::From<Builder> for crate::output::StreamingTraitsOutput {
|
9713 + | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampPathEpochOutput {
|
9097 9714 | fn from(builder: Builder) -> Self {
|
9098 9715 | builder.build()
|
9099 9716 | }
|
9100 9717 | }
|
9101 - | /// A builder for [`StreamingTraitsOutput`](crate::output::StreamingTraitsOutput).
|
9718 + | /// A builder for [`MalformedTimestampPathEpochOutput`](crate::output::MalformedTimestampPathEpochOutput).
|
9102 9719 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9103 - | pub struct Builder {
|
9104 - | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
9105 - | pub(crate) blob: ::std::option::Option<::aws_smithy_http_server_python::types::ByteStream>,
|
9106 - | }
|
9720 + | pub struct Builder {}
|
9107 9721 | impl Builder {
|
9108 - | #[allow(missing_docs)] // documentation missing in model
|
9109 - | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
9110 - | self.foo = input;
|
9111 - | self
|
9112 - | }
|
9113 - | #[allow(missing_docs)] // documentation missing in model
|
9114 - | pub fn blob(mut self, input: ::aws_smithy_http_server_python::types::ByteStream) -> Self {
|
9115 - | self.blob = Some(input);
|
9116 - | self
|
9117 - | }
|
9118 - | /// Consumes the builder and constructs a [`StreamingTraitsOutput`](crate::output::StreamingTraitsOutput).
|
9119 - | pub fn build(self) -> crate::output::StreamingTraitsOutput {
|
9722 + | /// Consumes the builder and constructs a [`MalformedTimestampPathEpochOutput`](crate::output::MalformedTimestampPathEpochOutput).
|
9723 + | pub fn build(self) -> crate::output::MalformedTimestampPathEpochOutput {
|
9120 9724 | self.build_enforcing_required_and_enum_traits()
|
9121 9725 | }
|
9122 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::StreamingTraitsOutput {
|
9123 - | crate::output::StreamingTraitsOutput {
|
9124 - | foo: self.foo,
|
9125 - | blob: self.blob.unwrap_or_default(),
|
9126 - | }
|
9127 - | }
|
9726 + | fn build_enforcing_required_and_enum_traits(
|
9727 + | self,
|
9728 + | ) -> crate::output::MalformedTimestampPathEpochOutput {
|
9729 + | crate::output::MalformedTimestampPathEpochOutput {}
|
9730 + | }
|
9128 9731 | }
|
9129 9732 | }
|
9130 - | /// See [`ResponseCodeHttpFallbackOutput`](crate::output::ResponseCodeHttpFallbackOutput).
|
9131 - | pub mod response_code_http_fallback_output {
|
9733 + | /// See [`MalformedTimestampQueryDefaultOutput`](crate::output::MalformedTimestampQueryDefaultOutput).
|
9734 + | pub mod malformed_timestamp_query_default_output {
|
9132 9735 |
|
9133 - | impl ::std::convert::From<Builder> for crate::output::ResponseCodeHttpFallbackOutput {
|
9736 + | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampQueryDefaultOutput {
|
9134 9737 | fn from(builder: Builder) -> Self {
|
9135 9738 | builder.build()
|
9136 9739 | }
|
9137 9740 | }
|
9138 - | /// A builder for [`ResponseCodeHttpFallbackOutput`](crate::output::ResponseCodeHttpFallbackOutput).
|
9741 + | /// A builder for [`MalformedTimestampQueryDefaultOutput`](crate::output::MalformedTimestampQueryDefaultOutput).
|
9139 9742 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9140 9743 | pub struct Builder {}
|
9141 9744 | impl Builder {
|
9142 - | /// Consumes the builder and constructs a [`ResponseCodeHttpFallbackOutput`](crate::output::ResponseCodeHttpFallbackOutput).
|
9143 - | pub fn build(self) -> crate::output::ResponseCodeHttpFallbackOutput {
|
9745 + | /// Consumes the builder and constructs a [`MalformedTimestampQueryDefaultOutput`](crate::output::MalformedTimestampQueryDefaultOutput).
|
9746 + | pub fn build(self) -> crate::output::MalformedTimestampQueryDefaultOutput {
|
9144 9747 | self.build_enforcing_required_and_enum_traits()
|
9145 9748 | }
|
9146 9749 | fn build_enforcing_required_and_enum_traits(
|
9147 9750 | self,
|
9148 - | ) -> crate::output::ResponseCodeHttpFallbackOutput {
|
9149 - | crate::output::ResponseCodeHttpFallbackOutput {}
|
9751 + | ) -> crate::output::MalformedTimestampQueryDefaultOutput {
|
9752 + | crate::output::MalformedTimestampQueryDefaultOutput {}
|
9150 9753 | }
|
9151 9754 | }
|
9152 9755 | }
|
9153 - | /// See [`ResponseCodeRequiredOutput`](crate::output::ResponseCodeRequiredOutput).
|
9154 - | pub mod response_code_required_output {
|
9155 - |
|
9156 - | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
9157 - | /// Holds one variant for each of the ways the builder can fail.
|
9158 - | #[allow(clippy::enum_variant_names)]
|
9159 - | pub enum ConstraintViolation {
|
9160 - | /// `response_code` was not provided but it is required when building `ResponseCodeRequiredOutput`.
|
9161 - | MissingResponseCode,
|
9162 - | }
|
9163 - | impl ::std::fmt::Display for ConstraintViolation {
|
9164 - | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
9165 - | match self {
|
9166 - | ConstraintViolation::MissingResponseCode => write!(f, "`response_code` was not provided but it is required when building `ResponseCodeRequiredOutput`"),
|
9167 - | }
|
9168 - | }
|
9169 - | }
|
9170 - | impl ::std::error::Error for ConstraintViolation {}
|
9171 - | impl ::std::convert::TryFrom<Builder> for crate::output::ResponseCodeRequiredOutput {
|
9172 - | type Error = ConstraintViolation;
|
9756 + | /// See [`MalformedTimestampQueryHttpDateOutput`](crate::output::MalformedTimestampQueryHttpDateOutput).
|
9757 + | pub mod malformed_timestamp_query_http_date_output {
|
9173 9758 |
|
9174 - | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
9759 + | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampQueryHttpDateOutput {
|
9760 + | fn from(builder: Builder) -> Self {
|
9175 9761 | builder.build()
|
9176 9762 | }
|
9177 9763 | }
|
9178 - | /// A builder for [`ResponseCodeRequiredOutput`](crate::output::ResponseCodeRequiredOutput).
|
9764 + | /// A builder for [`MalformedTimestampQueryHttpDateOutput`](crate::output::MalformedTimestampQueryHttpDateOutput).
|
9179 9765 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9180 - | pub struct Builder {
|
9181 - | pub(crate) response_code: ::std::option::Option<i32>,
|
9182 - | }
|
9766 + | pub struct Builder {}
|
9183 9767 | impl Builder {
|
9184 - | #[allow(missing_docs)] // documentation missing in model
|
9185 - | pub fn response_code(mut self, input: i32) -> Self {
|
9186 - | self.response_code = Some(input);
|
9187 - | self
|
9188 - | }
|
9189 - | /// Consumes the builder and constructs a [`ResponseCodeRequiredOutput`](crate::output::ResponseCodeRequiredOutput).
|
9190 - | ///
|
9191 - | /// The builder fails to construct a [`ResponseCodeRequiredOutput`](crate::output::ResponseCodeRequiredOutput) if you do not provide a value for all non-`Option`al members.
|
9192 - | ///
|
9193 - | pub fn build(
|
9194 - | self,
|
9195 - | ) -> Result<crate::output::ResponseCodeRequiredOutput, ConstraintViolation> {
|
9768 + | /// Consumes the builder and constructs a [`MalformedTimestampQueryHttpDateOutput`](crate::output::MalformedTimestampQueryHttpDateOutput).
|
9769 + | pub fn build(self) -> crate::output::MalformedTimestampQueryHttpDateOutput {
|
9196 9770 | self.build_enforcing_required_and_enum_traits()
|
9197 9771 | }
|
9198 9772 | fn build_enforcing_required_and_enum_traits(
|
9199 9773 | self,
|
9200 - | ) -> Result<crate::output::ResponseCodeRequiredOutput, ConstraintViolation> {
|
9201 - | Ok(crate::output::ResponseCodeRequiredOutput {
|
9202 - | response_code: self
|
9203 - | .response_code
|
9204 - | .ok_or(ConstraintViolation::MissingResponseCode)?,
|
9205 - | })
|
9774 + | ) -> crate::output::MalformedTimestampQueryHttpDateOutput {
|
9775 + | crate::output::MalformedTimestampQueryHttpDateOutput {}
|
9206 9776 | }
|
9207 9777 | }
|
9208 9778 | }
|
9209 - | /// See [`HttpResponseCodeOutput`](crate::output::HttpResponseCodeOutput).
|
9210 - | pub mod http_response_code_output {
|
9779 + | /// See [`MalformedTimestampQueryEpochOutput`](crate::output::MalformedTimestampQueryEpochOutput).
|
9780 + | pub mod malformed_timestamp_query_epoch_output {
|
9211 9781 |
|
9212 - | impl ::std::convert::From<Builder> for crate::output::HttpResponseCodeOutput {
|
9782 + | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampQueryEpochOutput {
|
9213 9783 | fn from(builder: Builder) -> Self {
|
9214 9784 | builder.build()
|
9215 9785 | }
|
9216 9786 | }
|
9217 - | /// A builder for [`HttpResponseCodeOutput`](crate::output::HttpResponseCodeOutput).
|
9787 + | /// A builder for [`MalformedTimestampQueryEpochOutput`](crate::output::MalformedTimestampQueryEpochOutput).
|
9218 9788 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9219 - | pub struct Builder {
|
9220 - | pub(crate) status: ::std::option::Option<i32>,
|
9221 - | }
|
9789 + | pub struct Builder {}
|
9222 9790 | impl Builder {
|
9223 - | #[allow(missing_docs)] // documentation missing in model
|
9224 - | pub fn status(mut self, input: ::std::option::Option<i32>) -> Self {
|
9225 - | self.status = input;
|
9226 - | self
|
9227 - | }
|
9228 - | /// Consumes the builder and constructs a [`HttpResponseCodeOutput`](crate::output::HttpResponseCodeOutput).
|
9229 - | pub fn build(self) -> crate::output::HttpResponseCodeOutput {
|
9791 + | /// Consumes the builder and constructs a [`MalformedTimestampQueryEpochOutput`](crate::output::MalformedTimestampQueryEpochOutput).
|
9792 + | pub fn build(self) -> crate::output::MalformedTimestampQueryEpochOutput {
|
9230 9793 | self.build_enforcing_required_and_enum_traits()
|
9231 9794 | }
|
9232 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::HttpResponseCodeOutput {
|
9233 - | crate::output::HttpResponseCodeOutput {
|
9234 - | status: self.status,
|
9235 - | }
|
9795 + | fn build_enforcing_required_and_enum_traits(
|
9796 + | self,
|
9797 + | ) -> crate::output::MalformedTimestampQueryEpochOutput {
|
9798 + | crate::output::MalformedTimestampQueryEpochOutput {}
|
9236 9799 | }
|
9237 9800 | }
|
9238 9801 | }
|
9239 - | /// See [`HttpPayloadWithUnionOutput`](crate::output::HttpPayloadWithUnionOutput).
|
9240 - | pub mod http_payload_with_union_output {
|
9802 + | /// See [`MalformedTimestampHeaderDefaultOutput`](crate::output::MalformedTimestampHeaderDefaultOutput).
|
9803 + | pub mod malformed_timestamp_header_default_output {
|
9241 9804 |
|
9242 - | impl ::std::convert::From<Builder> for crate::output::HttpPayloadWithUnionOutput {
|
9805 + | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampHeaderDefaultOutput {
|
9243 9806 | fn from(builder: Builder) -> Self {
|
9244 9807 | builder.build()
|
9245 9808 | }
|
9246 9809 | }
|
9247 - | /// A builder for [`HttpPayloadWithUnionOutput`](crate::output::HttpPayloadWithUnionOutput).
|
9810 + | /// A builder for [`MalformedTimestampHeaderDefaultOutput`](crate::output::MalformedTimestampHeaderDefaultOutput).
|
9248 9811 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9249 - | pub struct Builder {
|
9250 - | pub(crate) nested: ::std::option::Option<crate::model::UnionPayload>,
|
9251 - | }
|
9812 + | pub struct Builder {}
|
9252 9813 | impl Builder {
|
9253 - | #[allow(missing_docs)] // documentation missing in model
|
9254 - | pub fn nested(mut self, input: ::std::option::Option<crate::model::UnionPayload>) -> Self {
|
9255 - | self.nested = input;
|
9256 - | self
|
9257 - | }
|
9258 - | /// Consumes the builder and constructs a [`HttpPayloadWithUnionOutput`](crate::output::HttpPayloadWithUnionOutput).
|
9259 - | pub fn build(self) -> crate::output::HttpPayloadWithUnionOutput {
|
9814 + | /// Consumes the builder and constructs a [`MalformedTimestampHeaderDefaultOutput`](crate::output::MalformedTimestampHeaderDefaultOutput).
|
9815 + | pub fn build(self) -> crate::output::MalformedTimestampHeaderDefaultOutput {
|
9260 9816 | self.build_enforcing_required_and_enum_traits()
|
9261 9817 | }
|
9262 9818 | fn build_enforcing_required_and_enum_traits(
|
9263 9819 | self,
|
9264 - | ) -> crate::output::HttpPayloadWithUnionOutput {
|
9265 - | crate::output::HttpPayloadWithUnionOutput {
|
9266 - | nested: self.nested,
|
9267 - | }
|
9820 + | ) -> crate::output::MalformedTimestampHeaderDefaultOutput {
|
9821 + | crate::output::MalformedTimestampHeaderDefaultOutput {}
|
9268 9822 | }
|
9269 9823 | }
|
9270 9824 | }
|
9271 - | /// See [`HttpStringPayloadOutput`](crate::output::HttpStringPayloadOutput).
|
9272 - | pub mod http_string_payload_output {
|
9825 + | /// See [`MalformedTimestampHeaderDateTimeOutput`](crate::output::MalformedTimestampHeaderDateTimeOutput).
|
9826 + | pub mod malformed_timestamp_header_date_time_output {
|
9273 9827 |
|
9274 - | impl ::std::convert::From<Builder> for crate::output::HttpStringPayloadOutput {
|
9828 + | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampHeaderDateTimeOutput {
|
9275 9829 | fn from(builder: Builder) -> Self {
|
9276 9830 | builder.build()
|
9277 9831 | }
|
9278 9832 | }
|
9279 - | /// A builder for [`HttpStringPayloadOutput`](crate::output::HttpStringPayloadOutput).
|
9833 + | /// A builder for [`MalformedTimestampHeaderDateTimeOutput`](crate::output::MalformedTimestampHeaderDateTimeOutput).
|
9280 9834 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9281 - | pub struct Builder {
|
9282 - | pub(crate) payload: ::std::option::Option<::std::string::String>,
|
9283 - | }
|
9835 + | pub struct Builder {}
|
9284 9836 | impl Builder {
|
9285 - | #[allow(missing_docs)] // documentation missing in model
|
9286 - | pub fn payload(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
9287 - | self.payload = input;
|
9288 - | self
|
9289 - | }
|
9290 - | /// Consumes the builder and constructs a [`HttpStringPayloadOutput`](crate::output::HttpStringPayloadOutput).
|
9291 - | pub fn build(self) -> crate::output::HttpStringPayloadOutput {
|
9837 + | /// Consumes the builder and constructs a [`MalformedTimestampHeaderDateTimeOutput`](crate::output::MalformedTimestampHeaderDateTimeOutput).
|
9838 + | pub fn build(self) -> crate::output::MalformedTimestampHeaderDateTimeOutput {
|
9292 9839 | self.build_enforcing_required_and_enum_traits()
|
9293 9840 | }
|
9294 9841 | fn build_enforcing_required_and_enum_traits(
|
9295 9842 | self,
|
9296 - | ) -> crate::output::HttpStringPayloadOutput {
|
9297 - | crate::output::HttpStringPayloadOutput {
|
9298 - | payload: self.payload,
|
9299 - | }
|
9843 + | ) -> crate::output::MalformedTimestampHeaderDateTimeOutput {
|
9844 + | crate::output::MalformedTimestampHeaderDateTimeOutput {}
|
9300 9845 | }
|
9301 9846 | }
|
9302 9847 | }
|
9303 - | /// See [`HttpEnumPayloadOutput`](crate::output::HttpEnumPayloadOutput).
|
9304 - | pub mod http_enum_payload_output {
|
9848 + | /// See [`MalformedTimestampHeaderEpochOutput`](crate::output::MalformedTimestampHeaderEpochOutput).
|
9849 + | pub mod malformed_timestamp_header_epoch_output {
|
9305 9850 |
|
9306 - | impl ::std::convert::From<Builder> for crate::output::HttpEnumPayloadOutput {
|
9851 + | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampHeaderEpochOutput {
|
9307 9852 | fn from(builder: Builder) -> Self {
|
9308 9853 | builder.build()
|
9309 9854 | }
|
9310 9855 | }
|
9311 - | /// A builder for [`HttpEnumPayloadOutput`](crate::output::HttpEnumPayloadOutput).
|
9856 + | /// A builder for [`MalformedTimestampHeaderEpochOutput`](crate::output::MalformedTimestampHeaderEpochOutput).
|
9312 9857 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9313 - | pub struct Builder {
|
9314 - | pub(crate) payload: ::std::option::Option<crate::model::StringEnum>,
|
9315 - | }
|
9858 + | pub struct Builder {}
|
9316 9859 | impl Builder {
|
9317 - | #[allow(missing_docs)] // documentation missing in model
|
9318 - | pub fn payload(mut self, input: ::std::option::Option<crate::model::StringEnum>) -> Self {
|
9319 - | self.payload = input;
|
9320 - | self
|
9321 - | }
|
9322 - | /// Consumes the builder and constructs a [`HttpEnumPayloadOutput`](crate::output::HttpEnumPayloadOutput).
|
9323 - | pub fn build(self) -> crate::output::HttpEnumPayloadOutput {
|
9860 + | /// Consumes the builder and constructs a [`MalformedTimestampHeaderEpochOutput`](crate::output::MalformedTimestampHeaderEpochOutput).
|
9861 + | pub fn build(self) -> crate::output::MalformedTimestampHeaderEpochOutput {
|
9324 9862 | self.build_enforcing_required_and_enum_traits()
|
9325 9863 | }
|
9326 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::HttpEnumPayloadOutput {
|
9327 - | crate::output::HttpEnumPayloadOutput {
|
9328 - | payload: self.payload,
|
9329 - | }
|
9864 + | fn build_enforcing_required_and_enum_traits(
|
9865 + | self,
|
9866 + | ) -> crate::output::MalformedTimestampHeaderEpochOutput {
|
9867 + | crate::output::MalformedTimestampHeaderEpochOutput {}
|
9330 9868 | }
|
9331 9869 | }
|
9332 9870 | }
|
9333 - | /// See [`HttpPayloadWithStructureOutput`](crate::output::HttpPayloadWithStructureOutput).
|
9334 - | pub mod http_payload_with_structure_output {
|
9871 + | /// See [`MalformedTimestampBodyDefaultOutput`](crate::output::MalformedTimestampBodyDefaultOutput).
|
9872 + | pub mod malformed_timestamp_body_default_output {
|
9335 9873 |
|
9336 - | impl ::std::convert::From<Builder> for crate::output::HttpPayloadWithStructureOutput {
|
9874 + | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampBodyDefaultOutput {
|
9337 9875 | fn from(builder: Builder) -> Self {
|
9338 9876 | builder.build()
|
9339 9877 | }
|
9340 9878 | }
|
9341 - | /// A builder for [`HttpPayloadWithStructureOutput`](crate::output::HttpPayloadWithStructureOutput).
|
9879 + | /// A builder for [`MalformedTimestampBodyDefaultOutput`](crate::output::MalformedTimestampBodyDefaultOutput).
|
9342 9880 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9343 - | pub struct Builder {
|
9344 - | pub(crate) nested: ::std::option::Option<crate::model::NestedPayload>,
|
9345 - | }
|
9881 + | pub struct Builder {}
|
9346 9882 | impl Builder {
|
9347 - | #[allow(missing_docs)] // documentation missing in model
|
9348 - | pub fn nested(mut self, input: ::std::option::Option<crate::model::NestedPayload>) -> Self {
|
9349 - | self.nested = input;
|
9350 - | self
|
9351 - | }
|
9352 - | /// Consumes the builder and constructs a [`HttpPayloadWithStructureOutput`](crate::output::HttpPayloadWithStructureOutput).
|
9353 - | pub fn build(self) -> crate::output::HttpPayloadWithStructureOutput {
|
9883 + | /// Consumes the builder and constructs a [`MalformedTimestampBodyDefaultOutput`](crate::output::MalformedTimestampBodyDefaultOutput).
|
9884 + | pub fn build(self) -> crate::output::MalformedTimestampBodyDefaultOutput {
|
9354 9885 | self.build_enforcing_required_and_enum_traits()
|
9355 9886 | }
|
9356 9887 | fn build_enforcing_required_and_enum_traits(
|
9357 9888 | self,
|
9358 - | ) -> crate::output::HttpPayloadWithStructureOutput {
|
9359 - | crate::output::HttpPayloadWithStructureOutput {
|
9360 - | nested: self.nested,
|
9361 - | }
|
9889 + | ) -> crate::output::MalformedTimestampBodyDefaultOutput {
|
9890 + | crate::output::MalformedTimestampBodyDefaultOutput {}
|
9362 9891 | }
|
9363 9892 | }
|
9364 9893 | }
|
9365 - | /// See [`HttpPayloadTraitsWithMediaTypeOutput`](crate::output::HttpPayloadTraitsWithMediaTypeOutput).
|
9366 - | pub mod http_payload_traits_with_media_type_output {
|
9894 + | /// See [`MalformedTimestampBodyDateTimeOutput`](crate::output::MalformedTimestampBodyDateTimeOutput).
|
9895 + | pub mod malformed_timestamp_body_date_time_output {
|
9367 9896 |
|
9368 - | impl ::std::convert::From<Builder> for crate::output::HttpPayloadTraitsWithMediaTypeOutput {
|
9897 + | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampBodyDateTimeOutput {
|
9369 9898 | fn from(builder: Builder) -> Self {
|
9370 9899 | builder.build()
|
9371 9900 | }
|
9372 9901 | }
|
9373 - | /// A builder for [`HttpPayloadTraitsWithMediaTypeOutput`](crate::output::HttpPayloadTraitsWithMediaTypeOutput).
|
9902 + | /// A builder for [`MalformedTimestampBodyDateTimeOutput`](crate::output::MalformedTimestampBodyDateTimeOutput).
|
9374 9903 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9375 - | pub struct Builder {
|
9376 - | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
9377 - | pub(crate) blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
9378 - | }
|
9904 + | pub struct Builder {}
|
9379 9905 | impl Builder {
|
9380 - | #[allow(missing_docs)] // documentation missing in model
|
9381 - | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
9382 - | self.foo = input;
|
9383 - | self
|
9906 + | /// Consumes the builder and constructs a [`MalformedTimestampBodyDateTimeOutput`](crate::output::MalformedTimestampBodyDateTimeOutput).
|
9907 + | pub fn build(self) -> crate::output::MalformedTimestampBodyDateTimeOutput {
|
9908 + | self.build_enforcing_required_and_enum_traits()
|
9384 9909 | }
|
9385 - | #[allow(missing_docs)] // documentation missing in model
|
9386 - | pub fn blob(
|
9387 - | mut self,
|
9388 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
9389 - | ) -> Self {
|
9390 - | self.blob = input;
|
9391 - | self
|
9910 + | fn build_enforcing_required_and_enum_traits(
|
9911 + | self,
|
9912 + | ) -> crate::output::MalformedTimestampBodyDateTimeOutput {
|
9913 + | crate::output::MalformedTimestampBodyDateTimeOutput {}
|
9392 9914 | }
|
9393 - | /// Consumes the builder and constructs a [`HttpPayloadTraitsWithMediaTypeOutput`](crate::output::HttpPayloadTraitsWithMediaTypeOutput).
|
9394 - | pub fn build(self) -> crate::output::HttpPayloadTraitsWithMediaTypeOutput {
|
9915 + | }
|
9916 + | }
|
9917 + | /// See [`MalformedTimestampBodyHttpDateOutput`](crate::output::MalformedTimestampBodyHttpDateOutput).
|
9918 + | pub mod malformed_timestamp_body_http_date_output {
|
9919 + |
|
9920 + | impl ::std::convert::From<Builder> for crate::output::MalformedTimestampBodyHttpDateOutput {
|
9921 + | fn from(builder: Builder) -> Self {
|
9922 + | builder.build()
|
9923 + | }
|
9924 + | }
|
9925 + | /// A builder for [`MalformedTimestampBodyHttpDateOutput`](crate::output::MalformedTimestampBodyHttpDateOutput).
|
9926 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9927 + | pub struct Builder {}
|
9928 + | impl Builder {
|
9929 + | /// Consumes the builder and constructs a [`MalformedTimestampBodyHttpDateOutput`](crate::output::MalformedTimestampBodyHttpDateOutput).
|
9930 + | pub fn build(self) -> crate::output::MalformedTimestampBodyHttpDateOutput {
|
9395 9931 | self.build_enforcing_required_and_enum_traits()
|
9396 9932 | }
|
9397 9933 | fn build_enforcing_required_and_enum_traits(
|
9398 9934 | self,
|
9399 - | ) -> crate::output::HttpPayloadTraitsWithMediaTypeOutput {
|
9400 - | crate::output::HttpPayloadTraitsWithMediaTypeOutput {
|
9401 - | foo: self.foo,
|
9402 - | blob: self.blob,
|
9403 - | }
|
9935 + | ) -> crate::output::MalformedTimestampBodyHttpDateOutput {
|
9936 + | crate::output::MalformedTimestampBodyHttpDateOutput {}
|
9404 9937 | }
|
9405 9938 | }
|
9406 9939 | }
|
9407 - | /// See [`HttpPayloadTraitsOutput`](crate::output::HttpPayloadTraitsOutput).
|
9408 - | pub mod http_payload_traits_output {
|
9940 + | /// See [`MalformedContentTypeWithoutBodyOutput`](crate::output::MalformedContentTypeWithoutBodyOutput).
|
9941 + | pub mod malformed_content_type_without_body_output {
|
9409 9942 |
|
9410 - | impl ::std::convert::From<Builder> for crate::output::HttpPayloadTraitsOutput {
|
9943 + | impl ::std::convert::From<Builder> for crate::output::MalformedContentTypeWithoutBodyOutput {
|
9411 9944 | fn from(builder: Builder) -> Self {
|
9412 9945 | builder.build()
|
9413 9946 | }
|
9414 9947 | }
|
9415 - | /// A builder for [`HttpPayloadTraitsOutput`](crate::output::HttpPayloadTraitsOutput).
|
9948 + | /// A builder for [`MalformedContentTypeWithoutBodyOutput`](crate::output::MalformedContentTypeWithoutBodyOutput).
|
9416 9949 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9417 - | pub struct Builder {
|
9418 - | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
9419 - | pub(crate) blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
9420 - | }
|
9950 + | pub struct Builder {}
|
9421 9951 | impl Builder {
|
9422 - | #[allow(missing_docs)] // documentation missing in model
|
9423 - | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
9424 - | self.foo = input;
|
9425 - | self
|
9426 - | }
|
9427 - | #[allow(missing_docs)] // documentation missing in model
|
9428 - | pub fn blob(
|
9429 - | mut self,
|
9430 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
9431 - | ) -> Self {
|
9432 - | self.blob = input;
|
9433 - | self
|
9434 - | }
|
9435 - | /// Consumes the builder and constructs a [`HttpPayloadTraitsOutput`](crate::output::HttpPayloadTraitsOutput).
|
9436 - | pub fn build(self) -> crate::output::HttpPayloadTraitsOutput {
|
9952 + | /// Consumes the builder and constructs a [`MalformedContentTypeWithoutBodyOutput`](crate::output::MalformedContentTypeWithoutBodyOutput).
|
9953 + | pub fn build(self) -> crate::output::MalformedContentTypeWithoutBodyOutput {
|
9437 9954 | self.build_enforcing_required_and_enum_traits()
|
9438 9955 | }
|
9439 9956 | fn build_enforcing_required_and_enum_traits(
|
9440 9957 | self,
|
9441 - | ) -> crate::output::HttpPayloadTraitsOutput {
|
9442 - | crate::output::HttpPayloadTraitsOutput {
|
9443 - | foo: self.foo,
|
9444 - | blob: self.blob,
|
9445 - | }
|
9958 + | ) -> crate::output::MalformedContentTypeWithoutBodyOutput {
|
9959 + | crate::output::MalformedContentTypeWithoutBodyOutput {}
|
9446 9960 | }
|
9447 9961 | }
|
9448 9962 | }
|
9449 - | /// See [`HttpEmptyPrefixHeadersOutput`](crate::output::HttpEmptyPrefixHeadersOutput).
|
9450 - | pub mod http_empty_prefix_headers_output {
|
9963 + | /// See [`MalformedContentTypeWithoutBodyEmptyInputOutput`](crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput).
|
9964 + | pub mod malformed_content_type_without_body_empty_input_output {
|
9451 9965 |
|
9452 - | impl ::std::convert::From<Builder> for crate::output::HttpEmptyPrefixHeadersOutput {
|
9966 + | impl ::std::convert::From<Builder>
|
9967 + | for crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput
|
9968 + | {
|
9453 9969 | fn from(builder: Builder) -> Self {
|
9454 9970 | builder.build()
|
9455 9971 | }
|
9456 9972 | }
|
9457 - | /// A builder for [`HttpEmptyPrefixHeadersOutput`](crate::output::HttpEmptyPrefixHeadersOutput).
|
9973 + | /// A builder for [`MalformedContentTypeWithoutBodyEmptyInputOutput`](crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput).
|
9458 9974 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9459 - | pub struct Builder {
|
9460 - | pub(crate) prefix_headers: ::std::option::Option<
|
9461 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
9462 - | >,
|
9463 - | pub(crate) specific_header: ::std::option::Option<::std::string::String>,
|
9464 - | }
|
9975 + | pub struct Builder {}
|
9465 9976 | impl Builder {
|
9466 - | #[allow(missing_docs)] // documentation missing in model
|
9467 - | pub fn prefix_headers(
|
9468 - | mut self,
|
9469 - | input: ::std::option::Option<
|
9470 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
9471 - | >,
|
9472 - | ) -> Self {
|
9473 - | self.prefix_headers = input;
|
9474 - | self
|
9475 - | }
|
9476 - | #[allow(missing_docs)] // documentation missing in model
|
9477 - | pub fn specific_header(
|
9478 - | mut self,
|
9479 - | input: ::std::option::Option<::std::string::String>,
|
9480 - | ) -> Self {
|
9481 - | self.specific_header = input;
|
9482 - | self
|
9483 - | }
|
9484 - | /// Consumes the builder and constructs a [`HttpEmptyPrefixHeadersOutput`](crate::output::HttpEmptyPrefixHeadersOutput).
|
9485 - | pub fn build(self) -> crate::output::HttpEmptyPrefixHeadersOutput {
|
9977 + | /// Consumes the builder and constructs a [`MalformedContentTypeWithoutBodyEmptyInputOutput`](crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput).
|
9978 + | pub fn build(self) -> crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput {
|
9486 9979 | self.build_enforcing_required_and_enum_traits()
|
9487 9980 | }
|
9488 9981 | fn build_enforcing_required_and_enum_traits(
|
9489 9982 | self,
|
9490 - | ) -> crate::output::HttpEmptyPrefixHeadersOutput {
|
9491 - | crate::output::HttpEmptyPrefixHeadersOutput {
|
9492 - | prefix_headers: self.prefix_headers,
|
9493 - | specific_header: self.specific_header,
|
9494 - | }
|
9983 + | ) -> crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput {
|
9984 + | crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput {}
|
9495 9985 | }
|
9496 9986 | }
|
9497 9987 | }
|
9498 - | /// See [`HttpPrefixHeadersInResponseOutput`](crate::output::HttpPrefixHeadersInResponseOutput).
|
9499 - | pub mod http_prefix_headers_in_response_output {
|
9988 + | /// See [`MalformedContentTypeWithBodyOutput`](crate::output::MalformedContentTypeWithBodyOutput).
|
9989 + | pub mod malformed_content_type_with_body_output {
|
9500 9990 |
|
9501 - | impl ::std::convert::From<Builder> for crate::output::HttpPrefixHeadersInResponseOutput {
|
9991 + | impl ::std::convert::From<Builder> for crate::output::MalformedContentTypeWithBodyOutput {
|
9502 9992 | fn from(builder: Builder) -> Self {
|
9503 9993 | builder.build()
|
9504 9994 | }
|
9505 9995 | }
|
9506 - | /// A builder for [`HttpPrefixHeadersInResponseOutput`](crate::output::HttpPrefixHeadersInResponseOutput).
|
9996 + | /// A builder for [`MalformedContentTypeWithBodyOutput`](crate::output::MalformedContentTypeWithBodyOutput).
|
9507 9997 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9508 - | pub struct Builder {
|
9509 - | pub(crate) prefix_headers: ::std::option::Option<
|
9510 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
9511 - | >,
|
9512 - | }
|
9998 + | pub struct Builder {}
|
9513 9999 | impl Builder {
|
9514 - | #[allow(missing_docs)] // documentation missing in model
|
9515 - | pub fn prefix_headers(
|
9516 - | mut self,
|
9517 - | input: ::std::option::Option<
|
9518 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
9519 - | >,
|
9520 - | ) -> Self {
|
9521 - | self.prefix_headers = input;
|
9522 - | self
|
9523 - | }
|
9524 - | /// Consumes the builder and constructs a [`HttpPrefixHeadersInResponseOutput`](crate::output::HttpPrefixHeadersInResponseOutput).
|
9525 - | pub fn build(self) -> crate::output::HttpPrefixHeadersInResponseOutput {
|
10000 + | /// Consumes the builder and constructs a [`MalformedContentTypeWithBodyOutput`](crate::output::MalformedContentTypeWithBodyOutput).
|
10001 + | pub fn build(self) -> crate::output::MalformedContentTypeWithBodyOutput {
|
9526 10002 | self.build_enforcing_required_and_enum_traits()
|
9527 10003 | }
|
9528 10004 | fn build_enforcing_required_and_enum_traits(
|
9529 10005 | self,
|
9530 - | ) -> crate::output::HttpPrefixHeadersInResponseOutput {
|
9531 - | crate::output::HttpPrefixHeadersInResponseOutput {
|
9532 - | prefix_headers: self.prefix_headers,
|
9533 - | }
|
10006 + | ) -> crate::output::MalformedContentTypeWithBodyOutput {
|
10007 + | crate::output::MalformedContentTypeWithBodyOutput {}
|
9534 10008 | }
|
9535 10009 | }
|
9536 10010 | }
|
9537 - | /// See [`HttpPrefixHeadersOutput`](crate::output::HttpPrefixHeadersOutput).
|
9538 - | pub mod http_prefix_headers_output {
|
10011 + | /// See [`MalformedContentTypeWithPayloadOutput`](crate::output::MalformedContentTypeWithPayloadOutput).
|
10012 + | pub mod malformed_content_type_with_payload_output {
|
9539 10013 |
|
9540 - | impl ::std::convert::From<Builder> for crate::output::HttpPrefixHeadersOutput {
|
10014 + | impl ::std::convert::From<Builder> for crate::output::MalformedContentTypeWithPayloadOutput {
|
9541 10015 | fn from(builder: Builder) -> Self {
|
9542 10016 | builder.build()
|
9543 10017 | }
|
9544 10018 | }
|
9545 - | /// A builder for [`HttpPrefixHeadersOutput`](crate::output::HttpPrefixHeadersOutput).
|
10019 + | /// A builder for [`MalformedContentTypeWithPayloadOutput`](crate::output::MalformedContentTypeWithPayloadOutput).
|
9546 10020 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9547 - | pub struct Builder {
|
9548 - | pub(crate) foo: ::std::option::Option<::std::string::String>,
|
9549 - | pub(crate) foo_map: ::std::option::Option<
|
9550 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
9551 - | >,
|
9552 - | }
|
10021 + | pub struct Builder {}
|
9553 10022 | impl Builder {
|
9554 - | #[allow(missing_docs)] // documentation missing in model
|
9555 - | pub fn foo(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
9556 - | self.foo = input;
|
9557 - | self
|
9558 - | }
|
9559 - | #[allow(missing_docs)] // documentation missing in model
|
9560 - | pub fn foo_map(
|
9561 - | mut self,
|
9562 - | input: ::std::option::Option<
|
9563 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
9564 - | >,
|
9565 - | ) -> Self {
|
9566 - | self.foo_map = input;
|
9567 - | self
|
9568 - | }
|
9569 - | /// Consumes the builder and constructs a [`HttpPrefixHeadersOutput`](crate::output::HttpPrefixHeadersOutput).
|
9570 - | pub fn build(self) -> crate::output::HttpPrefixHeadersOutput {
|
10023 + | /// Consumes the builder and constructs a [`MalformedContentTypeWithPayloadOutput`](crate::output::MalformedContentTypeWithPayloadOutput).
|
10024 + | pub fn build(self) -> crate::output::MalformedContentTypeWithPayloadOutput {
|
9571 10025 | self.build_enforcing_required_and_enum_traits()
|
9572 10026 | }
|
9573 10027 | fn build_enforcing_required_and_enum_traits(
|
9574 10028 | self,
|
9575 - | ) -> crate::output::HttpPrefixHeadersOutput {
|
9576 - | crate::output::HttpPrefixHeadersOutput {
|
9577 - | foo: self.foo,
|
9578 - | foo_map: self.foo_map,
|
9579 - | }
|
10029 + | ) -> crate::output::MalformedContentTypeWithPayloadOutput {
|
10030 + | crate::output::MalformedContentTypeWithPayloadOutput {}
|
9580 10031 | }
|
9581 10032 | }
|
9582 10033 | }
|
9583 - | /// See [`QueryParamsAsStringListMapOutput`](crate::output::QueryParamsAsStringListMapOutput).
|
9584 - | pub mod query_params_as_string_list_map_output {
|
10034 + | /// See [`MalformedContentTypeWithGenericStringOutput`](crate::output::MalformedContentTypeWithGenericStringOutput).
|
10035 + | pub mod malformed_content_type_with_generic_string_output {
|
9585 10036 |
|
9586 - | impl ::std::convert::From<Builder> for crate::output::QueryParamsAsStringListMapOutput {
|
10037 + | impl ::std::convert::From<Builder> for crate::output::MalformedContentTypeWithGenericStringOutput {
|
9587 10038 | fn from(builder: Builder) -> Self {
|
9588 10039 | builder.build()
|
9589 10040 | }
|
9590 10041 | }
|
9591 - | /// A builder for [`QueryParamsAsStringListMapOutput`](crate::output::QueryParamsAsStringListMapOutput).
|
10042 + | /// A builder for [`MalformedContentTypeWithGenericStringOutput`](crate::output::MalformedContentTypeWithGenericStringOutput).
|
9592 10043 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9593 10044 | pub struct Builder {}
|
9594 10045 | impl Builder {
|
9595 - | /// Consumes the builder and constructs a [`QueryParamsAsStringListMapOutput`](crate::output::QueryParamsAsStringListMapOutput).
|
9596 - | pub fn build(self) -> crate::output::QueryParamsAsStringListMapOutput {
|
10046 + | /// Consumes the builder and constructs a [`MalformedContentTypeWithGenericStringOutput`](crate::output::MalformedContentTypeWithGenericStringOutput).
|
10047 + | pub fn build(self) -> crate::output::MalformedContentTypeWithGenericStringOutput {
|
9597 10048 | self.build_enforcing_required_and_enum_traits()
|
9598 10049 | }
|
9599 10050 | fn build_enforcing_required_and_enum_traits(
|
9600 10051 | self,
|
9601 - | ) -> crate::output::QueryParamsAsStringListMapOutput {
|
9602 - | crate::output::QueryParamsAsStringListMapOutput {}
|
10052 + | ) -> crate::output::MalformedContentTypeWithGenericStringOutput {
|
10053 + | crate::output::MalformedContentTypeWithGenericStringOutput {}
|
9603 10054 | }
|
9604 10055 | }
|
9605 10056 | }
|
9606 - | /// See [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
9607 - | pub mod query_precedence_output {
|
10057 + | /// See [`MalformedAcceptWithBodyOutput`](crate::output::MalformedAcceptWithBodyOutput).
|
10058 + | pub mod malformed_accept_with_body_output {
|
9608 10059 |
|
9609 - | impl ::std::convert::From<Builder> for crate::output::QueryPrecedenceOutput {
|
10060 + | impl ::std::convert::From<Builder> for crate::output::MalformedAcceptWithBodyOutput {
|
9610 10061 | fn from(builder: Builder) -> Self {
|
9611 10062 | builder.build()
|
9612 10063 | }
|
9613 10064 | }
|
9614 - | /// A builder for [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
10065 + | /// A builder for [`MalformedAcceptWithBodyOutput`](crate::output::MalformedAcceptWithBodyOutput).
|
9615 10066 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9616 - | pub struct Builder {}
|
10067 + | pub struct Builder {
|
10068 + | pub(crate) hi: ::std::option::Option<::std::string::String>,
|
10069 + | }
|
9617 10070 | impl Builder {
|
9618 - | /// Consumes the builder and constructs a [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
9619 - | pub fn build(self) -> crate::output::QueryPrecedenceOutput {
|
10071 + | #[allow(missing_docs)] // documentation missing in model
|
10072 + | pub fn hi(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10073 + | self.hi = input;
|
10074 + | self
|
10075 + | }
|
10076 + | /// Consumes the builder and constructs a [`MalformedAcceptWithBodyOutput`](crate::output::MalformedAcceptWithBodyOutput).
|
10077 + | pub fn build(self) -> crate::output::MalformedAcceptWithBodyOutput {
|
9620 10078 | self.build_enforcing_required_and_enum_traits()
|
9621 10079 | }
|
9622 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::QueryPrecedenceOutput {
|
9623 - | crate::output::QueryPrecedenceOutput {}
|
10080 + | fn build_enforcing_required_and_enum_traits(
|
10081 + | self,
|
10082 + | ) -> crate::output::MalformedAcceptWithBodyOutput {
|
10083 + | crate::output::MalformedAcceptWithBodyOutput { hi: self.hi }
|
9624 10084 | }
|
9625 10085 | }
|
9626 10086 | }
|
9627 - | /// See [`QueryIdempotencyTokenAutoFillOutput`](crate::output::QueryIdempotencyTokenAutoFillOutput).
|
9628 - | pub mod query_idempotency_token_auto_fill_output {
|
10087 + | /// See [`MalformedAcceptWithPayloadOutput`](crate::output::MalformedAcceptWithPayloadOutput).
|
10088 + | pub mod malformed_accept_with_payload_output {
|
9629 10089 |
|
9630 - | impl ::std::convert::From<Builder> for crate::output::QueryIdempotencyTokenAutoFillOutput {
|
10090 + | impl ::std::convert::From<Builder> for crate::output::MalformedAcceptWithPayloadOutput {
|
9631 10091 | fn from(builder: Builder) -> Self {
|
9632 10092 | builder.build()
|
9633 10093 | }
|
9634 10094 | }
|
9635 - | /// A builder for [`QueryIdempotencyTokenAutoFillOutput`](crate::output::QueryIdempotencyTokenAutoFillOutput).
|
10095 + | /// A builder for [`MalformedAcceptWithPayloadOutput`](crate::output::MalformedAcceptWithPayloadOutput).
|
9636 10096 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9637 - | pub struct Builder {}
|
10097 + | pub struct Builder {
|
10098 + | pub(crate) payload: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
10099 + | }
|
9638 10100 | impl Builder {
|
9639 - | /// Consumes the builder and constructs a [`QueryIdempotencyTokenAutoFillOutput`](crate::output::QueryIdempotencyTokenAutoFillOutput).
|
9640 - | pub fn build(self) -> crate::output::QueryIdempotencyTokenAutoFillOutput {
|
10101 + | #[allow(missing_docs)] // documentation missing in model
|
10102 + | pub fn payload(
|
10103 + | mut self,
|
10104 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
10105 + | ) -> Self {
|
10106 + | self.payload = input;
|
10107 + | self
|
10108 + | }
|
10109 + | /// Consumes the builder and constructs a [`MalformedAcceptWithPayloadOutput`](crate::output::MalformedAcceptWithPayloadOutput).
|
10110 + | pub fn build(self) -> crate::output::MalformedAcceptWithPayloadOutput {
|
9641 10111 | self.build_enforcing_required_and_enum_traits()
|
9642 10112 | }
|
9643 10113 | fn build_enforcing_required_and_enum_traits(
|
9644 10114 | self,
|
9645 - | ) -> crate::output::QueryIdempotencyTokenAutoFillOutput {
|
9646 - | crate::output::QueryIdempotencyTokenAutoFillOutput {}
|
10115 + | ) -> crate::output::MalformedAcceptWithPayloadOutput {
|
10116 + | crate::output::MalformedAcceptWithPayloadOutput {
|
10117 + | payload: self.payload,
|
10118 + | }
|
9647 10119 | }
|
9648 10120 | }
|
9649 10121 | }
|
9650 - | /// See [`OmitsSerializingEmptyListsOutput`](crate::output::OmitsSerializingEmptyListsOutput).
|
9651 - | pub mod omits_serializing_empty_lists_output {
|
10122 + | /// See [`MalformedAcceptWithGenericStringOutput`](crate::output::MalformedAcceptWithGenericStringOutput).
|
10123 + | pub mod malformed_accept_with_generic_string_output {
|
9652 10124 |
|
9653 - | impl ::std::convert::From<Builder> for crate::output::OmitsSerializingEmptyListsOutput {
|
10125 + | impl ::std::convert::From<Builder> for crate::output::MalformedAcceptWithGenericStringOutput {
|
9654 10126 | fn from(builder: Builder) -> Self {
|
9655 10127 | builder.build()
|
9656 10128 | }
|
9657 10129 | }
|
9658 - | /// A builder for [`OmitsSerializingEmptyListsOutput`](crate::output::OmitsSerializingEmptyListsOutput).
|
10130 + | /// A builder for [`MalformedAcceptWithGenericStringOutput`](crate::output::MalformedAcceptWithGenericStringOutput).
|
9659 10131 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9660 - | pub struct Builder {}
|
10132 + | pub struct Builder {
|
10133 + | pub(crate) payload: ::std::option::Option<::std::string::String>,
|
10134 + | }
|
9661 10135 | impl Builder {
|
9662 - | /// Consumes the builder and constructs a [`OmitsSerializingEmptyListsOutput`](crate::output::OmitsSerializingEmptyListsOutput).
|
9663 - | pub fn build(self) -> crate::output::OmitsSerializingEmptyListsOutput {
|
10136 + | #[allow(missing_docs)] // documentation missing in model
|
10137 + | pub fn payload(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10138 + | self.payload = input;
|
10139 + | self
|
10140 + | }
|
10141 + | /// Consumes the builder and constructs a [`MalformedAcceptWithGenericStringOutput`](crate::output::MalformedAcceptWithGenericStringOutput).
|
10142 + | pub fn build(self) -> crate::output::MalformedAcceptWithGenericStringOutput {
|
9664 10143 | self.build_enforcing_required_and_enum_traits()
|
9665 10144 | }
|
9666 10145 | fn build_enforcing_required_and_enum_traits(
|
9667 10146 | self,
|
9668 - | ) -> crate::output::OmitsSerializingEmptyListsOutput {
|
9669 - | crate::output::OmitsSerializingEmptyListsOutput {}
|
10147 + | ) -> crate::output::MalformedAcceptWithGenericStringOutput {
|
10148 + | crate::output::MalformedAcceptWithGenericStringOutput {
|
10149 + | payload: self.payload,
|
10150 + | }
|
9670 10151 | }
|
9671 10152 | }
|
9672 10153 | }
|
9673 - | /// See [`OmitsNullSerializesEmptyStringOutput`](crate::output::OmitsNullSerializesEmptyStringOutput).
|
9674 - | pub mod omits_null_serializes_empty_string_output {
|
10154 + | /// See [`TestBodyStructureOutput`](crate::output::TestBodyStructureOutput).
|
10155 + | pub mod test_body_structure_output {
|
9675 10156 |
|
9676 - | impl ::std::convert::From<Builder> for crate::output::OmitsNullSerializesEmptyStringOutput {
|
10157 + | impl ::std::convert::From<Builder> for crate::output::TestBodyStructureOutput {
|
9677 10158 | fn from(builder: Builder) -> Self {
|
9678 10159 | builder.build()
|
9679 10160 | }
|
9680 10161 | }
|
9681 - | /// A builder for [`OmitsNullSerializesEmptyStringOutput`](crate::output::OmitsNullSerializesEmptyStringOutput).
|
10162 + | /// A builder for [`TestBodyStructureOutput`](crate::output::TestBodyStructureOutput).
|
9682 10163 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9683 - | pub struct Builder {}
|
10164 + | pub struct Builder {
|
10165 + | pub(crate) test_id: ::std::option::Option<::std::string::String>,
|
10166 + | pub(crate) test_config: ::std::option::Option<crate::model::TestConfig>,
|
10167 + | }
|
9684 10168 | impl Builder {
|
9685 - | /// Consumes the builder and constructs a [`OmitsNullSerializesEmptyStringOutput`](crate::output::OmitsNullSerializesEmptyStringOutput).
|
9686 - | pub fn build(self) -> crate::output::OmitsNullSerializesEmptyStringOutput {
|
10169 + | #[allow(missing_docs)] // documentation missing in model
|
10170 + | pub fn test_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10171 + | self.test_id = input;
|
10172 + | self
|
10173 + | }
|
10174 + | #[allow(missing_docs)] // documentation missing in model
|
10175 + | pub fn test_config(
|
10176 + | mut self,
|
10177 + | input: ::std::option::Option<crate::model::TestConfig>,
|
10178 + | ) -> Self {
|
10179 + | self.test_config = input;
|
10180 + | self
|
10181 + | }
|
10182 + | /// Consumes the builder and constructs a [`TestBodyStructureOutput`](crate::output::TestBodyStructureOutput).
|
10183 + | pub fn build(self) -> crate::output::TestBodyStructureOutput {
|
9687 10184 | self.build_enforcing_required_and_enum_traits()
|
9688 10185 | }
|
9689 10186 | fn build_enforcing_required_and_enum_traits(
|
9690 10187 | self,
|
9691 - | ) -> crate::output::OmitsNullSerializesEmptyStringOutput {
|
9692 - | crate::output::OmitsNullSerializesEmptyStringOutput {}
|
10188 + | ) -> crate::output::TestBodyStructureOutput {
|
10189 + | crate::output::TestBodyStructureOutput {
|
10190 + | test_id: self.test_id,
|
10191 + | test_config: self.test_config,
|
10192 + | }
|
9693 10193 | }
|
9694 10194 | }
|
9695 10195 | }
|
9696 - | /// See [`IgnoreQueryParamsInResponseOutput`](crate::output::IgnoreQueryParamsInResponseOutput).
|
9697 - | pub mod ignore_query_params_in_response_output {
|
10196 + | /// See [`TestPayloadStructureOutput`](crate::output::TestPayloadStructureOutput).
|
10197 + | pub mod test_payload_structure_output {
|
9698 10198 |
|
9699 - | impl ::std::convert::From<Builder> for crate::output::IgnoreQueryParamsInResponseOutput {
|
10199 + | impl ::std::convert::From<Builder> for crate::output::TestPayloadStructureOutput {
|
9700 10200 | fn from(builder: Builder) -> Self {
|
9701 10201 | builder.build()
|
9702 10202 | }
|
9703 10203 | }
|
9704 - | /// A builder for [`IgnoreQueryParamsInResponseOutput`](crate::output::IgnoreQueryParamsInResponseOutput).
|
10204 + | /// A builder for [`TestPayloadStructureOutput`](crate::output::TestPayloadStructureOutput).
|
9705 10205 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9706 10206 | pub struct Builder {
|
9707 - | pub(crate) baz: ::std::option::Option<::std::string::String>,
|
10207 + | pub(crate) test_id: ::std::option::Option<::std::string::String>,
|
10208 + | pub(crate) payload_config: ::std::option::Option<crate::model::PayloadConfig>,
|
9708 10209 | }
|
9709 10210 | impl Builder {
|
9710 10211 | #[allow(missing_docs)] // documentation missing in model
|
9711 - | pub fn baz(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
9712 - | self.baz = input;
|
10212 + | pub fn test_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10213 + | self.test_id = input;
|
9713 10214 | self
|
9714 10215 | }
|
9715 - | /// Consumes the builder and constructs a [`IgnoreQueryParamsInResponseOutput`](crate::output::IgnoreQueryParamsInResponseOutput).
|
9716 - | pub fn build(self) -> crate::output::IgnoreQueryParamsInResponseOutput {
|
10216 + | #[allow(missing_docs)] // documentation missing in model
|
10217 + | pub fn payload_config(
|
10218 + | mut self,
|
10219 + | input: ::std::option::Option<crate::model::PayloadConfig>,
|
10220 + | ) -> Self {
|
10221 + | self.payload_config = input;
|
10222 + | self
|
10223 + | }
|
10224 + | /// Consumes the builder and constructs a [`TestPayloadStructureOutput`](crate::output::TestPayloadStructureOutput).
|
10225 + | pub fn build(self) -> crate::output::TestPayloadStructureOutput {
|
9717 10226 | self.build_enforcing_required_and_enum_traits()
|
9718 10227 | }
|
9719 10228 | fn build_enforcing_required_and_enum_traits(
|
9720 10229 | self,
|
9721 - | ) -> crate::output::IgnoreQueryParamsInResponseOutput {
|
9722 - | crate::output::IgnoreQueryParamsInResponseOutput { baz: self.baz }
|
10230 + | ) -> crate::output::TestPayloadStructureOutput {
|
10231 + | crate::output::TestPayloadStructureOutput {
|
10232 + | test_id: self.test_id,
|
10233 + | payload_config: self.payload_config,
|
10234 + | }
|
9723 10235 | }
|
9724 10236 | }
|
9725 10237 | }
|
9726 - | /// See [`ConstantAndVariableQueryStringOutput`](crate::output::ConstantAndVariableQueryStringOutput).
|
9727 - | pub mod constant_and_variable_query_string_output {
|
10238 + | /// See [`TestPayloadBlobOutput`](crate::output::TestPayloadBlobOutput).
|
10239 + | pub mod test_payload_blob_output {
|
9728 10240 |
|
9729 - | impl ::std::convert::From<Builder> for crate::output::ConstantAndVariableQueryStringOutput {
|
10241 + | impl ::std::convert::From<Builder> for crate::output::TestPayloadBlobOutput {
|
9730 10242 | fn from(builder: Builder) -> Self {
|
9731 10243 | builder.build()
|
9732 10244 | }
|
9733 10245 | }
|
9734 - | /// A builder for [`ConstantAndVariableQueryStringOutput`](crate::output::ConstantAndVariableQueryStringOutput).
|
10246 + | /// A builder for [`TestPayloadBlobOutput`](crate::output::TestPayloadBlobOutput).
|
9735 10247 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9736 - | pub struct Builder {}
|
10248 + | pub struct Builder {
|
10249 + | pub(crate) content_type: ::std::option::Option<::std::string::String>,
|
10250 + | pub(crate) data: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
10251 + | }
|
9737 10252 | impl Builder {
|
9738 - | /// Consumes the builder and constructs a [`ConstantAndVariableQueryStringOutput`](crate::output::ConstantAndVariableQueryStringOutput).
|
9739 - | pub fn build(self) -> crate::output::ConstantAndVariableQueryStringOutput {
|
10253 + | #[allow(missing_docs)] // documentation missing in model
|
10254 + | pub fn content_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10255 + | self.content_type = input;
|
10256 + | self
|
10257 + | }
|
10258 + | #[allow(missing_docs)] // documentation missing in model
|
10259 + | pub fn data(
|
10260 + | mut self,
|
10261 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
10262 + | ) -> Self {
|
10263 + | self.data = input;
|
10264 + | self
|
10265 + | }
|
10266 + | /// Consumes the builder and constructs a [`TestPayloadBlobOutput`](crate::output::TestPayloadBlobOutput).
|
10267 + | pub fn build(self) -> crate::output::TestPayloadBlobOutput {
|
9740 10268 | self.build_enforcing_required_and_enum_traits()
|
9741 10269 | }
|
9742 - | fn build_enforcing_required_and_enum_traits(
|
9743 - | self,
|
9744 - | ) -> crate::output::ConstantAndVariableQueryStringOutput {
|
9745 - | crate::output::ConstantAndVariableQueryStringOutput {}
|
10270 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::TestPayloadBlobOutput {
|
10271 + | crate::output::TestPayloadBlobOutput {
|
10272 + | content_type: self.content_type,
|
10273 + | data: self.data,
|
10274 + | }
|
9746 10275 | }
|
9747 10276 | }
|
9748 10277 | }
|
9749 - | /// See [`ConstantQueryStringOutput`](crate::output::ConstantQueryStringOutput).
|
9750 - | pub mod constant_query_string_output {
|
10278 + | /// See [`TestGetNoPayloadOutput`](crate::output::TestGetNoPayloadOutput).
|
10279 + | pub mod test_get_no_payload_output {
|
9751 10280 |
|
9752 - | impl ::std::convert::From<Builder> for crate::output::ConstantQueryStringOutput {
|
10281 + | impl ::std::convert::From<Builder> for crate::output::TestGetNoPayloadOutput {
|
9753 10282 | fn from(builder: Builder) -> Self {
|
9754 10283 | builder.build()
|
9755 10284 | }
|
9756 10285 | }
|
9757 - | /// A builder for [`ConstantQueryStringOutput`](crate::output::ConstantQueryStringOutput).
|
10286 + | /// A builder for [`TestGetNoPayloadOutput`](crate::output::TestGetNoPayloadOutput).
|
9758 10287 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9759 - | pub struct Builder {}
|
10288 + | pub struct Builder {
|
10289 + | pub(crate) test_id: ::std::option::Option<::std::string::String>,
|
10290 + | }
|
9760 10291 | impl Builder {
|
9761 - | /// Consumes the builder and constructs a [`ConstantQueryStringOutput`](crate::output::ConstantQueryStringOutput).
|
9762 - | pub fn build(self) -> crate::output::ConstantQueryStringOutput {
|
10292 + | #[allow(missing_docs)] // documentation missing in model
|
10293 + | pub fn test_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10294 + | self.test_id = input;
|
10295 + | self
|
10296 + | }
|
10297 + | /// Consumes the builder and constructs a [`TestGetNoPayloadOutput`](crate::output::TestGetNoPayloadOutput).
|
10298 + | pub fn build(self) -> crate::output::TestGetNoPayloadOutput {
|
9763 10299 | self.build_enforcing_required_and_enum_traits()
|
9764 10300 | }
|
9765 - | fn build_enforcing_required_and_enum_traits(
|
9766 - | self,
|
9767 - | ) -> crate::output::ConstantQueryStringOutput {
|
9768 - | crate::output::ConstantQueryStringOutput {}
|
10301 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::TestGetNoPayloadOutput {
|
10302 + | crate::output::TestGetNoPayloadOutput {
|
10303 + | test_id: self.test_id,
|
10304 + | }
|
9769 10305 | }
|
9770 10306 | }
|
9771 10307 | }
|
9772 - | /// See [`AllQueryStringTypesOutput`](crate::output::AllQueryStringTypesOutput).
|
9773 - | pub mod all_query_string_types_output {
|
10308 + | /// See [`TestPostNoPayloadOutput`](crate::output::TestPostNoPayloadOutput).
|
10309 + | pub mod test_post_no_payload_output {
|
9774 10310 |
|
9775 - | impl ::std::convert::From<Builder> for crate::output::AllQueryStringTypesOutput {
|
10311 + | impl ::std::convert::From<Builder> for crate::output::TestPostNoPayloadOutput {
|
9776 10312 | fn from(builder: Builder) -> Self {
|
9777 10313 | builder.build()
|
9778 10314 | }
|
9779 10315 | }
|
9780 - | /// A builder for [`AllQueryStringTypesOutput`](crate::output::AllQueryStringTypesOutput).
|
10316 + | /// A builder for [`TestPostNoPayloadOutput`](crate::output::TestPostNoPayloadOutput).
|
9781 10317 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9782 - | pub struct Builder {}
|
10318 + | pub struct Builder {
|
10319 + | pub(crate) test_id: ::std::option::Option<::std::string::String>,
|
10320 + | }
|
9783 10321 | impl Builder {
|
9784 - | /// Consumes the builder and constructs a [`AllQueryStringTypesOutput`](crate::output::AllQueryStringTypesOutput).
|
9785 - | pub fn build(self) -> crate::output::AllQueryStringTypesOutput {
|
10322 + | #[allow(missing_docs)] // documentation missing in model
|
10323 + | pub fn test_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10324 + | self.test_id = input;
|
10325 + | self
|
10326 + | }
|
10327 + | /// Consumes the builder and constructs a [`TestPostNoPayloadOutput`](crate::output::TestPostNoPayloadOutput).
|
10328 + | pub fn build(self) -> crate::output::TestPostNoPayloadOutput {
|
9786 10329 | self.build_enforcing_required_and_enum_traits()
|
9787 10330 | }
|
9788 10331 | fn build_enforcing_required_and_enum_traits(
|
9789 10332 | self,
|
9790 - | ) -> crate::output::AllQueryStringTypesOutput {
|
9791 - | crate::output::AllQueryStringTypesOutput {}
|
10333 + | ) -> crate::output::TestPostNoPayloadOutput {
|
10334 + | crate::output::TestPostNoPayloadOutput {
|
10335 + | test_id: self.test_id,
|
10336 + | }
|
9792 10337 | }
|
9793 10338 | }
|
9794 10339 | }
|
9795 - | /// See [`HttpRequestWithRegexLiteralOutput`](crate::output::HttpRequestWithRegexLiteralOutput).
|
9796 - | pub mod http_request_with_regex_literal_output {
|
10340 + | /// See [`TestGetNoInputNoPayloadOutput`](crate::output::TestGetNoInputNoPayloadOutput).
|
10341 + | pub mod test_get_no_input_no_payload_output {
|
9797 10342 |
|
9798 - | impl ::std::convert::From<Builder> for crate::output::HttpRequestWithRegexLiteralOutput {
|
10343 + | impl ::std::convert::From<Builder> for crate::output::TestGetNoInputNoPayloadOutput {
|
9799 10344 | fn from(builder: Builder) -> Self {
|
9800 10345 | builder.build()
|
9801 10346 | }
|
9802 10347 | }
|
9803 - | /// A builder for [`HttpRequestWithRegexLiteralOutput`](crate::output::HttpRequestWithRegexLiteralOutput).
|
10348 + | /// A builder for [`TestGetNoInputNoPayloadOutput`](crate::output::TestGetNoInputNoPayloadOutput).
|
9804 10349 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9805 - | pub struct Builder {}
|
10350 + | pub struct Builder {
|
10351 + | pub(crate) test_id: ::std::option::Option<::std::string::String>,
|
10352 + | }
|
9806 10353 | impl Builder {
|
9807 - | /// Consumes the builder and constructs a [`HttpRequestWithRegexLiteralOutput`](crate::output::HttpRequestWithRegexLiteralOutput).
|
9808 - | pub fn build(self) -> crate::output::HttpRequestWithRegexLiteralOutput {
|
10354 + | #[allow(missing_docs)] // documentation missing in model
|
10355 + | pub fn test_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10356 + | self.test_id = input;
|
10357 + | self
|
10358 + | }
|
10359 + | /// Consumes the builder and constructs a [`TestGetNoInputNoPayloadOutput`](crate::output::TestGetNoInputNoPayloadOutput).
|
10360 + | pub fn build(self) -> crate::output::TestGetNoInputNoPayloadOutput {
|
9809 10361 | self.build_enforcing_required_and_enum_traits()
|
9810 10362 | }
|
9811 10363 | fn build_enforcing_required_and_enum_traits(
|
9812 10364 | self,
|
9813 - | ) -> crate::output::HttpRequestWithRegexLiteralOutput {
|
9814 - | crate::output::HttpRequestWithRegexLiteralOutput {}
|
10365 + | ) -> crate::output::TestGetNoInputNoPayloadOutput {
|
10366 + | crate::output::TestGetNoInputNoPayloadOutput {
|
10367 + | test_id: self.test_id,
|
10368 + | }
|
9815 10369 | }
|
9816 10370 | }
|
9817 10371 | }
|
9818 - | /// See [`HttpRequestWithFloatLabelsOutput`](crate::output::HttpRequestWithFloatLabelsOutput).
|
9819 - | pub mod http_request_with_float_labels_output {
|
10372 + | /// See [`TestPostNoInputNoPayloadOutput`](crate::output::TestPostNoInputNoPayloadOutput).
|
10373 + | pub mod test_post_no_input_no_payload_output {
|
9820 10374 |
|
9821 - | impl ::std::convert::From<Builder> for crate::output::HttpRequestWithFloatLabelsOutput {
|
10375 + | impl ::std::convert::From<Builder> for crate::output::TestPostNoInputNoPayloadOutput {
|
9822 10376 | fn from(builder: Builder) -> Self {
|
9823 10377 | builder.build()
|
9824 10378 | }
|
9825 10379 | }
|
9826 - | /// A builder for [`HttpRequestWithFloatLabelsOutput`](crate::output::HttpRequestWithFloatLabelsOutput).
|
10380 + | /// A builder for [`TestPostNoInputNoPayloadOutput`](crate::output::TestPostNoInputNoPayloadOutput).
|
9827 10381 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9828 - | pub struct Builder {}
|
10382 + | pub struct Builder {
|
10383 + | pub(crate) test_id: ::std::option::Option<::std::string::String>,
|
10384 + | }
|
9829 10385 | impl Builder {
|
9830 - | /// Consumes the builder and constructs a [`HttpRequestWithFloatLabelsOutput`](crate::output::HttpRequestWithFloatLabelsOutput).
|
9831 - | pub fn build(self) -> crate::output::HttpRequestWithFloatLabelsOutput {
|
10386 + | #[allow(missing_docs)] // documentation missing in model
|
10387 + | pub fn test_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10388 + | self.test_id = input;
|
10389 + | self
|
10390 + | }
|
10391 + | /// Consumes the builder and constructs a [`TestPostNoInputNoPayloadOutput`](crate::output::TestPostNoInputNoPayloadOutput).
|
10392 + | pub fn build(self) -> crate::output::TestPostNoInputNoPayloadOutput {
|
9832 10393 | self.build_enforcing_required_and_enum_traits()
|
9833 10394 | }
|
9834 10395 | fn build_enforcing_required_and_enum_traits(
|
9835 10396 | self,
|
9836 - | ) -> crate::output::HttpRequestWithFloatLabelsOutput {
|
9837 - | crate::output::HttpRequestWithFloatLabelsOutput {}
|
10397 + | ) -> crate::output::TestPostNoInputNoPayloadOutput {
|
10398 + | crate::output::TestPostNoInputNoPayloadOutput {
|
10399 + | test_id: self.test_id,
|
10400 + | }
|
9838 10401 | }
|
9839 10402 | }
|
9840 10403 | }
|
9841 - | /// See [`HttpRequestWithGreedyLabelInPathOutput`](crate::output::HttpRequestWithGreedyLabelInPathOutput).
|
9842 - | pub mod http_request_with_greedy_label_in_path_output {
|
10404 + | /// See [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
10405 + | pub mod datetime_offsets_output {
|
9843 10406 |
|
9844 - | impl ::std::convert::From<Builder> for crate::output::HttpRequestWithGreedyLabelInPathOutput {
|
10407 + | impl ::std::convert::From<Builder> for crate::output::DatetimeOffsetsOutput {
|
9845 10408 | fn from(builder: Builder) -> Self {
|
9846 10409 | builder.build()
|
9847 10410 | }
|
9848 10411 | }
|
9849 - | /// A builder for [`HttpRequestWithGreedyLabelInPathOutput`](crate::output::HttpRequestWithGreedyLabelInPathOutput).
|
10412 + | /// A builder for [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
9850 10413 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9851 - | pub struct Builder {}
|
10414 + | pub struct Builder {
|
10415 + | pub(crate) datetime:
|
10416 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
10417 + | }
|
9852 10418 | impl Builder {
|
9853 - | /// Consumes the builder and constructs a [`HttpRequestWithGreedyLabelInPathOutput`](crate::output::HttpRequestWithGreedyLabelInPathOutput).
|
9854 - | pub fn build(self) -> crate::output::HttpRequestWithGreedyLabelInPathOutput {
|
10419 + | #[allow(missing_docs)] // documentation missing in model
|
10420 + | pub fn datetime(
|
10421 + | mut self,
|
10422 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
10423 + | ) -> Self {
|
10424 + | self.datetime = input;
|
10425 + | self
|
10426 + | }
|
10427 + | /// Consumes the builder and constructs a [`DatetimeOffsetsOutput`](crate::output::DatetimeOffsetsOutput).
|
10428 + | pub fn build(self) -> crate::output::DatetimeOffsetsOutput {
|
9855 10429 | self.build_enforcing_required_and_enum_traits()
|
9856 10430 | }
|
9857 - | fn build_enforcing_required_and_enum_traits(
|
9858 - | self,
|
9859 - | ) -> crate::output::HttpRequestWithGreedyLabelInPathOutput {
|
9860 - | crate::output::HttpRequestWithGreedyLabelInPathOutput {}
|
10431 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::DatetimeOffsetsOutput {
|
10432 + | crate::output::DatetimeOffsetsOutput {
|
10433 + | datetime: self.datetime,
|
10434 + | }
|
9861 10435 | }
|
9862 10436 | }
|
9863 10437 | }
|
9864 - | /// See [`HttpRequestWithLabelsAndTimestampFormatOutput`](crate::output::HttpRequestWithLabelsAndTimestampFormatOutput).
|
9865 - | pub mod http_request_with_labels_and_timestamp_format_output {
|
10438 + | /// See [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
10439 + | pub mod fractional_seconds_output {
|
9866 10440 |
|
9867 - | impl ::std::convert::From<Builder>
|
9868 - | for crate::output::HttpRequestWithLabelsAndTimestampFormatOutput
|
9869 - | {
|
10441 + | impl ::std::convert::From<Builder> for crate::output::FractionalSecondsOutput {
|
9870 10442 | fn from(builder: Builder) -> Self {
|
9871 10443 | builder.build()
|
9872 10444 | }
|
9873 10445 | }
|
9874 - | /// A builder for [`HttpRequestWithLabelsAndTimestampFormatOutput`](crate::output::HttpRequestWithLabelsAndTimestampFormatOutput).
|
10446 + | /// A builder for [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
9875 10447 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9876 - | pub struct Builder {}
|
10448 + | pub struct Builder {
|
10449 + | pub(crate) datetime:
|
10450 + | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
10451 + | }
|
9877 10452 | impl Builder {
|
9878 - | /// Consumes the builder and constructs a [`HttpRequestWithLabelsAndTimestampFormatOutput`](crate::output::HttpRequestWithLabelsAndTimestampFormatOutput).
|
9879 - | pub fn build(self) -> crate::output::HttpRequestWithLabelsAndTimestampFormatOutput {
|
10453 + | #[allow(missing_docs)] // documentation missing in model
|
10454 + | pub fn datetime(
|
10455 + | mut self,
|
10456 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
10457 + | ) -> Self {
|
10458 + | self.datetime = input;
|
10459 + | self
|
10460 + | }
|
10461 + | /// Consumes the builder and constructs a [`FractionalSecondsOutput`](crate::output::FractionalSecondsOutput).
|
10462 + | pub fn build(self) -> crate::output::FractionalSecondsOutput {
|
9880 10463 | self.build_enforcing_required_and_enum_traits()
|
9881 10464 | }
|
9882 10465 | fn build_enforcing_required_and_enum_traits(
|
9883 10466 | self,
|
9884 - | ) -> crate::output::HttpRequestWithLabelsAndTimestampFormatOutput {
|
9885 - | crate::output::HttpRequestWithLabelsAndTimestampFormatOutput {}
|
10467 + | ) -> crate::output::FractionalSecondsOutput {
|
10468 + | crate::output::FractionalSecondsOutput {
|
10469 + | datetime: self.datetime,
|
10470 + | }
|
9886 10471 | }
|
9887 10472 | }
|
9888 10473 | }
|
9889 - | /// See [`HttpRequestWithLabelsOutput`](crate::output::HttpRequestWithLabelsOutput).
|
9890 - | pub mod http_request_with_labels_output {
|
10474 + | /// See [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
10475 + | pub mod put_with_content_encoding_output {
|
9891 10476 |
|
9892 - | impl ::std::convert::From<Builder> for crate::output::HttpRequestWithLabelsOutput {
|
10477 + | impl ::std::convert::From<Builder> for crate::output::PutWithContentEncodingOutput {
|
9893 10478 | fn from(builder: Builder) -> Self {
|
9894 10479 | builder.build()
|
9895 10480 | }
|
9896 10481 | }
|
9897 - | /// A builder for [`HttpRequestWithLabelsOutput`](crate::output::HttpRequestWithLabelsOutput).
|
10482 + | /// A builder for [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
9898 10483 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9899 10484 | pub struct Builder {}
|
9900 10485 | impl Builder {
|
9901 - | /// Consumes the builder and constructs a [`HttpRequestWithLabelsOutput`](crate::output::HttpRequestWithLabelsOutput).
|
9902 - | pub fn build(self) -> crate::output::HttpRequestWithLabelsOutput {
|
10486 + | /// Consumes the builder and constructs a [`PutWithContentEncodingOutput`](crate::output::PutWithContentEncodingOutput).
|
10487 + | pub fn build(self) -> crate::output::PutWithContentEncodingOutput {
|
9903 10488 | self.build_enforcing_required_and_enum_traits()
|
9904 10489 | }
|
9905 10490 | fn build_enforcing_required_and_enum_traits(
|
9906 10491 | self,
|
9907 - | ) -> crate::output::HttpRequestWithLabelsOutput {
|
9908 - | crate::output::HttpRequestWithLabelsOutput {}
|
10492 + | ) -> crate::output::PutWithContentEncodingOutput {
|
10493 + | crate::output::PutWithContentEncodingOutput {}
|
9909 10494 | }
|
9910 10495 | }
|
9911 10496 | }
|
9912 - | /// See [`MediaTypeHeaderOutput`](crate::output::MediaTypeHeaderOutput).
|
9913 - | pub mod media_type_header_output {
|
10497 + | /// See [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
10498 + | pub mod content_type_parameters_output {
|
9914 10499 |
|
9915 - | impl ::std::convert::From<Builder> for crate::output::MediaTypeHeaderOutput {
|
10500 + | impl ::std::convert::From<Builder> for crate::output::ContentTypeParametersOutput {
|
9916 10501 | fn from(builder: Builder) -> Self {
|
9917 10502 | builder.build()
|
9918 10503 | }
|
9919 10504 | }
|
9920 - | /// A builder for [`MediaTypeHeaderOutput`](crate::output::MediaTypeHeaderOutput).
|
10505 + | /// A builder for [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
9921 10506 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9922 - | pub struct Builder {
|
9923 - | pub(crate) json: ::std::option::Option<::std::string::String>,
|
9924 - | }
|
10507 + | pub struct Builder {}
|
9925 10508 | impl Builder {
|
9926 - | #[allow(missing_docs)] // documentation missing in model
|
9927 - | pub fn json(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
9928 - | self.json = input;
|
9929 - | self
|
9930 - | }
|
9931 - | /// Consumes the builder and constructs a [`MediaTypeHeaderOutput`](crate::output::MediaTypeHeaderOutput).
|
9932 - | pub fn build(self) -> crate::output::MediaTypeHeaderOutput {
|
10509 + | /// Consumes the builder and constructs a [`ContentTypeParametersOutput`](crate::output::ContentTypeParametersOutput).
|
10510 + | pub fn build(self) -> crate::output::ContentTypeParametersOutput {
|
9933 10511 | self.build_enforcing_required_and_enum_traits()
|
9934 10512 | }
|
9935 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MediaTypeHeaderOutput {
|
9936 - | crate::output::MediaTypeHeaderOutput { json: self.json }
|
10513 + | fn build_enforcing_required_and_enum_traits(
|
10514 + | self,
|
10515 + | ) -> crate::output::ContentTypeParametersOutput {
|
10516 + | crate::output::ContentTypeParametersOutput {}
|
9937 10517 | }
|
9938 10518 | }
|
9939 10519 | }
|
9940 - | /// See [`TimestampFormatHeadersOutput`](crate::output::TimestampFormatHeadersOutput).
|
9941 - | pub mod timestamp_format_headers_output {
|
10520 + | /// See [`OperationWithDefaultsOutput`](crate::output::OperationWithDefaultsOutput).
|
10521 + | pub mod operation_with_defaults_output {
|
9942 10522 |
|
9943 - | impl ::std::convert::From<Builder> for crate::output::TimestampFormatHeadersOutput {
|
10523 + | impl ::std::convert::From<Builder> for crate::output::OperationWithDefaultsOutput {
|
9944 10524 | fn from(builder: Builder) -> Self {
|
9945 10525 | builder.build()
|
9946 10526 | }
|
9947 10527 | }
|
9948 - | /// A builder for [`TimestampFormatHeadersOutput`](crate::output::TimestampFormatHeadersOutput).
|
10528 + | /// A builder for [`OperationWithDefaultsOutput`](crate::output::OperationWithDefaultsOutput).
|
9949 10529 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
9950 10530 | pub struct Builder {
|
9951 - | pub(crate) member_epoch_seconds:
|
9952 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
9953 - | pub(crate) member_http_date:
|
9954 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
9955 - | pub(crate) member_date_time:
|
9956 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
9957 - | pub(crate) default_format:
|
9958 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
9959 - | pub(crate) target_epoch_seconds:
|
9960 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
9961 - | pub(crate) target_http_date:
|
9962 - | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
9963 - | pub(crate) target_date_time:
|
10531 + | pub(crate) default_string: ::std::option::Option<::std::string::String>,
|
10532 + | pub(crate) default_boolean: ::std::option::Option<bool>,
|
10533 + | pub(crate) default_list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
10534 + | pub(crate) default_document_map:
|
10535 + | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
10536 + | pub(crate) default_document_string:
|
10537 + | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
10538 + | pub(crate) default_document_boolean:
|
10539 + | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
10540 + | pub(crate) default_document_list:
|
10541 + | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
10542 + | pub(crate) default_null_document:
|
10543 + | ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
10544 + | pub(crate) default_timestamp:
|
9964 10545 | ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
10546 + | pub(crate) default_blob:
|
10547 + | ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
10548 + | pub(crate) default_byte: ::std::option::Option<i8>,
|
10549 + | pub(crate) default_short: ::std::option::Option<i16>,
|
10550 + | pub(crate) default_integer: ::std::option::Option<i32>,
|
10551 + | pub(crate) default_long: ::std::option::Option<i64>,
|
10552 + | pub(crate) default_float: ::std::option::Option<f32>,
|
10553 + | pub(crate) default_double: ::std::option::Option<f64>,
|
10554 + | pub(crate) default_map: ::std::option::Option<
|
10555 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
10556 + | >,
|
10557 + | pub(crate) default_enum: ::std::option::Option<crate::model::TestEnum>,
|
10558 + | pub(crate) default_int_enum: ::std::option::Option<i32>,
|
10559 + | pub(crate) empty_string: ::std::option::Option<::std::string::String>,
|
10560 + | pub(crate) false_boolean: ::std::option::Option<bool>,
|
10561 + | pub(crate) empty_blob: ::std::option::Option<::aws_smithy_http_server_python::types::Blob>,
|
10562 + | pub(crate) zero_byte: ::std::option::Option<i8>,
|
10563 + | pub(crate) zero_short: ::std::option::Option<i16>,
|
10564 + | pub(crate) zero_integer: ::std::option::Option<i32>,
|
10565 + | pub(crate) zero_long: ::std::option::Option<i64>,
|
10566 + | pub(crate) zero_float: ::std::option::Option<f32>,
|
10567 + | pub(crate) zero_double: ::std::option::Option<f64>,
|
9965 10568 | }
|
9966 10569 | impl Builder {
|
9967 10570 | #[allow(missing_docs)] // documentation missing in model
|
9968 - | pub fn member_epoch_seconds(
|
9969 - | mut self,
|
9970 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
9971 - | ) -> Self {
|
9972 - | self.member_epoch_seconds = input;
|
10571 + | pub fn default_string(mut self, input: ::std::string::String) -> Self {
|
10572 + | self.default_string = Some(input);
|
9973 10573 | self
|
9974 10574 | }
|
9975 10575 | #[allow(missing_docs)] // documentation missing in model
|
9976 - | pub fn member_http_date(
|
9977 - | mut self,
|
9978 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
9979 - | ) -> Self {
|
9980 - | self.member_http_date = input;
|
10576 + | pub fn default_boolean(mut self, input: bool) -> Self {
|
10577 + | self.default_boolean = Some(input);
|
9981 10578 | self
|
9982 10579 | }
|
9983 10580 | #[allow(missing_docs)] // documentation missing in model
|
9984 - | pub fn member_date_time(
|
9985 - | mut self,
|
9986 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
9987 - | ) -> Self {
|
9988 - | self.member_date_time = input;
|
10581 + | pub fn default_list(mut self, input: ::std::vec::Vec<::std::string::String>) -> Self {
|
10582 + | self.default_list = Some(input);
|
9989 10583 | self
|
9990 10584 | }
|
9991 10585 | #[allow(missing_docs)] // documentation missing in model
|
9992 - | pub fn default_format(
|
10586 + | pub fn default_document_map(
|
9993 10587 | mut self,
|
9994 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
10588 + | input: ::aws_smithy_http_server_python::types::Document,
|
9995 10589 | ) -> Self {
|
9996 - | self.default_format = input;
|
10590 + | self.default_document_map = Some(input);
|
9997 10591 | self
|
9998 10592 | }
|
9999 10593 | #[allow(missing_docs)] // documentation missing in model
|
10000 - | pub fn target_epoch_seconds(
|
10594 + | pub fn default_document_string(
|
10001 10595 | mut self,
|
10002 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
10596 + | input: ::aws_smithy_http_server_python::types::Document,
|
10003 10597 | ) -> Self {
|
10004 - | self.target_epoch_seconds = input;
|
10598 + | self.default_document_string = Some(input);
|
10005 10599 | self
|
10006 10600 | }
|
10007 10601 | #[allow(missing_docs)] // documentation missing in model
|
10008 - | pub fn target_http_date(
|
10602 + | pub fn default_document_boolean(
|
10009 10603 | mut self,
|
10010 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
10604 + | input: ::aws_smithy_http_server_python::types::Document,
|
10011 10605 | ) -> Self {
|
10012 - | self.target_http_date = input;
|
10606 + | self.default_document_boolean = Some(input);
|
10013 10607 | self
|
10014 10608 | }
|
10015 10609 | #[allow(missing_docs)] // documentation missing in model
|
10016 - | pub fn target_date_time(
|
10610 + | pub fn default_document_list(
|
10017 10611 | mut self,
|
10018 - | input: ::std::option::Option<::aws_smithy_http_server_python::types::DateTime>,
|
10612 + | input: ::aws_smithy_http_server_python::types::Document,
|
10019 10613 | ) -> Self {
|
10020 - | self.target_date_time = input;
|
10021 - | self
|
10022 - | }
|
10023 - | /// Consumes the builder and constructs a [`TimestampFormatHeadersOutput`](crate::output::TimestampFormatHeadersOutput).
|
10024 - | pub fn build(self) -> crate::output::TimestampFormatHeadersOutput {
|
10025 - | self.build_enforcing_required_and_enum_traits()
|
10026 - | }
|
10027 - | fn build_enforcing_required_and_enum_traits(
|
10028 - | self,
|
10029 - | ) -> crate::output::TimestampFormatHeadersOutput {
|
10030 - | crate::output::TimestampFormatHeadersOutput {
|
10031 - | member_epoch_seconds: self.member_epoch_seconds,
|
10032 - | member_http_date: self.member_http_date,
|
10033 - | member_date_time: self.member_date_time,
|
10034 - | default_format: self.default_format,
|
10035 - | target_epoch_seconds: self.target_epoch_seconds,
|
10036 - | target_http_date: self.target_http_date,
|
10037 - | target_date_time: self.target_date_time,
|
10038 - | }
|
10039 - | }
|
10040 - | }
|
10041 - | }
|
10042 - | /// See [`NullAndEmptyHeadersServerOutput`](crate::output::NullAndEmptyHeadersServerOutput).
|
10043 - | pub mod null_and_empty_headers_server_output {
|
10044 - |
|
10045 - | impl ::std::convert::From<Builder> for crate::output::NullAndEmptyHeadersServerOutput {
|
10046 - | fn from(builder: Builder) -> Self {
|
10047 - | builder.build()
|
10048 - | }
|
10049 - | }
|
10050 - | /// A builder for [`NullAndEmptyHeadersServerOutput`](crate::output::NullAndEmptyHeadersServerOutput).
|
10051 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
10052 - | pub struct Builder {
|
10053 - | pub(crate) a: ::std::option::Option<::std::string::String>,
|
10054 - | pub(crate) b: ::std::option::Option<::std::string::String>,
|
10055 - | pub(crate) c: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
10056 - | }
|
10057 - | impl Builder {
|
10058 - | #[allow(missing_docs)] // documentation missing in model
|
10059 - | pub fn a(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10060 - | self.a = input;
|
10614 + | self.default_document_list = Some(input);
|
10061 10615 | self
|
10062 10616 | }
|
10063 10617 | #[allow(missing_docs)] // documentation missing in model
|
10064 - | pub fn b(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10065 - | self.b = input;
|
10618 + | pub fn default_null_document(
|
10619 + | mut self,
|
10620 + | input: ::std::option::Option<::aws_smithy_http_server_python::types::Document>,
|
10621 + | ) -> Self {
|
10622 + | self.default_null_document = input;
|
10066 10623 | self
|
10067 10624 | }
|
10068 10625 | #[allow(missing_docs)] // documentation missing in model
|
10069 - | pub fn c(
|
10626 + | pub fn default_timestamp(
|
10070 10627 | mut self,
|
10071 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
10628 + | input: ::aws_smithy_http_server_python::types::DateTime,
|
10072 10629 | ) -> Self {
|
10073 - | self.c = input;
|
10630 + | self.default_timestamp = Some(input);
|
10074 10631 | self
|
10075 10632 | }
|
10076 - | /// Consumes the builder and constructs a [`NullAndEmptyHeadersServerOutput`](crate::output::NullAndEmptyHeadersServerOutput).
|
10077 - | pub fn build(self) -> crate::output::NullAndEmptyHeadersServerOutput {
|
10078 - | self.build_enforcing_required_and_enum_traits()
|
10079 - | }
|
10080 - | fn build_enforcing_required_and_enum_traits(
|
10081 - | self,
|
10082 - | ) -> crate::output::NullAndEmptyHeadersServerOutput {
|
10083 - | crate::output::NullAndEmptyHeadersServerOutput {
|
10084 - | a: self.a,
|
10085 - | b: self.b,
|
10086 - | c: self.c,
|
10087 - | }
|
10088 - | }
|
10089 - | }
|
10090 - | }
|
10091 - | /// See [`NullAndEmptyHeadersClientOutput`](crate::output::NullAndEmptyHeadersClientOutput).
|
10092 - | pub mod null_and_empty_headers_client_output {
|
10093 - |
|
10094 - | impl ::std::convert::From<Builder> for crate::output::NullAndEmptyHeadersClientOutput {
|
10095 - | fn from(builder: Builder) -> Self {
|
10096 - | builder.build()
|
10633 + | #[allow(missing_docs)] // documentation missing in model
|
10634 + | pub fn default_blob(mut self, input: ::aws_smithy_http_server_python::types::Blob) -> Self {
|
10635 + | self.default_blob = Some(input);
|
10636 + | self
|
10097 10637 | }
|
10098 - | }
|
10099 - | /// A builder for [`NullAndEmptyHeadersClientOutput`](crate::output::NullAndEmptyHeadersClientOutput).
|
10100 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
10101 - | pub struct Builder {
|
10102 - | pub(crate) a: ::std::option::Option<::std::string::String>,
|
10103 - | pub(crate) b: ::std::option::Option<::std::string::String>,
|
10104 - | pub(crate) c: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
10105 - | }
|
10106 - | impl Builder {
|
10107 10638 | #[allow(missing_docs)] // documentation missing in model
|
10108 - | pub fn a(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10109 - | self.a = input;
|
10639 + | pub fn default_byte(mut self, input: i8) -> Self {
|
10640 + | self.default_byte = Some(input);
|
10110 10641 | self
|
10111 10642 | }
|
10112 10643 | #[allow(missing_docs)] // documentation missing in model
|
10113 - | pub fn b(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
10114 - | self.b = input;
|
10644 + | pub fn default_short(mut self, input: i16) -> Self {
|
10645 + | self.default_short = Some(input);
|
10115 10646 | self
|
10116 10647 | }
|
10117 10648 | #[allow(missing_docs)] // documentation missing in model
|
10118 - | pub fn c(
|
10119 - | mut self,
|
10120 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
10121 - | ) -> Self {
|
10122 - | self.c = input;
|
10649 + | pub fn default_integer(mut self, input: i32) -> Self {
|
10650 + | self.default_integer = Some(input);
|
10123 10651 | self
|
10124 10652 | }
|
10125 - | /// Consumes the builder and constructs a [`NullAndEmptyHeadersClientOutput`](crate::output::NullAndEmptyHeadersClientOutput).
|
10126 - | pub fn build(self) -> crate::output::NullAndEmptyHeadersClientOutput {
|
10127 - | self.build_enforcing_required_and_enum_traits()
|
10653 + | #[allow(missing_docs)] // documentation missing in model
|
10654 + | pub fn default_long(mut self, input: i64) -> Self {
|
10655 + | self.default_long = Some(input);
|
10656 + | self
|
10128 10657 | }
|
10129 - | fn build_enforcing_required_and_enum_traits(
|
10130 - | self,
|
10131 - | ) -> crate::output::NullAndEmptyHeadersClientOutput {
|
10132 - | crate::output::NullAndEmptyHeadersClientOutput {
|
10133 - | a: self.a,
|
10134 - | b: self.b,
|
10135 - | c: self.c,
|
10136 - | }
|
10658 + | #[allow(missing_docs)] // documentation missing in model
|
10659 + | pub fn default_float(mut self, input: f32) -> Self {
|
10660 + | self.default_float = Some(input);
|
10661 + | self
|
10137 10662 | }
|
10138 - | }
|
10139 - | }
|
10140 - | /// See [`InputAndOutputWithHeadersOutput`](crate::output::InputAndOutputWithHeadersOutput).
|
10141 - | pub mod input_and_output_with_headers_output {
|
10142 - |
|
10143 - | impl ::std::convert::From<Builder> for crate::output::InputAndOutputWithHeadersOutput {
|
10144 - | fn from(builder: Builder) -> Self {
|
10145 - | builder.build()
|
10663 + | #[allow(missing_docs)] // documentation missing in model
|
10664 + | pub fn default_double(mut self, input: f64) -> Self {
|
10665 + | self.default_double = Some(input);
|
10666 + | self
|
10146 10667 | }
|
10147 - | }
|
10148 - | /// A builder for [`InputAndOutputWithHeadersOutput`](crate::output::InputAndOutputWithHeadersOutput).
|
10149 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
10150 - | pub struct Builder {
|
10151 - | pub(crate) header_string: ::std::option::Option<::std::string::String>,
|
10152 - | pub(crate) header_byte: ::std::option::Option<i8>,
|
10153 - | pub(crate) header_short: ::std::option::Option<i16>,
|
10154 - | pub(crate) header_integer: ::std::option::Option<i32>,
|
10155 - | pub(crate) header_long: ::std::option::Option<i64>,
|
10156 - | pub(crate) header_float: ::std::option::Option<f32>,
|
10157 - | pub(crate) header_double: ::std::option::Option<f64>,
|
10158 - | pub(crate) header_true_bool: ::std::option::Option<bool>,
|
10159 - | pub(crate) header_false_bool: ::std::option::Option<bool>,
|
10160 - | pub(crate) header_string_list:
|
10161 - | ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
10162 - | pub(crate) header_string_set: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
10163 - | pub(crate) header_integer_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
10164 - | pub(crate) header_boolean_list: ::std::option::Option<::std::vec::Vec<bool>>,
|
10165 - | pub(crate) header_timestamp_list: ::std::option::Option<
|
10166 - | ::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>,
|
10167 - | >,
|
10168 - | pub(crate) header_enum: ::std::option::Option<crate::model::FooEnum>,
|
10169 - | pub(crate) header_enum_list: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
10170 - | pub(crate) header_integer_enum: ::std::option::Option<i32>,
|
10171 - | pub(crate) header_integer_enum_list: ::std::option::Option<::std::vec::Vec<i32>>,
|
10172 - | }
|
10173 - | impl Builder {
|
10174 10668 | #[allow(missing_docs)] // documentation missing in model
|
10175 - | pub fn header_string(
|
10669 + | pub fn default_map(
|
10176 10670 | mut self,
|
10177 - | input: ::std::option::Option<::std::string::String>,
|
10671 + | input: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
10178 10672 | ) -> Self {
|
10179 - | self.header_string = input;
|
10673 + | self.default_map = Some(input);
|
10180 10674 | self
|
10181 10675 | }
|
10182 10676 | #[allow(missing_docs)] // documentation missing in model
|
10183 - | pub fn header_byte(mut self, input: ::std::option::Option<i8>) -> Self {
|
10184 - | self.header_byte = input;
|
10677 + | pub fn default_enum(mut self, input: crate::model::TestEnum) -> Self {
|
10678 + | self.default_enum = Some(input);
|
10185 10679 | self
|
10186 10680 | }
|
10187 10681 | #[allow(missing_docs)] // documentation missing in model
|
10188 - | pub fn header_short(mut self, input: ::std::option::Option<i16>) -> Self {
|
10189 - | self.header_short = input;
|
10682 + | pub fn default_int_enum(mut self, input: i32) -> Self {
|
10683 + | self.default_int_enum = Some(input);
|
10190 10684 | self
|
10191 10685 | }
|
10192 10686 | #[allow(missing_docs)] // documentation missing in model
|
10193 - | pub fn header_integer(mut self, input: ::std::option::Option<i32>) -> Self {
|
10194 - | self.header_integer = input;
|
10687 + | pub fn empty_string(mut self, input: ::std::string::String) -> Self {
|
10688 + | self.empty_string = Some(input);
|
10195 10689 | self
|
10196 10690 | }
|
10197 10691 | #[allow(missing_docs)] // documentation missing in model
|
10198 - | pub fn header_long(mut self, input: ::std::option::Option<i64>) -> Self {
|
10199 - | self.header_long = input;
|
10692 + | pub fn false_boolean(mut self, input: bool) -> Self {
|
10693 + | self.false_boolean = Some(input);
|
10200 10694 | self
|
10201 10695 | }
|
10202 10696 | #[allow(missing_docs)] // documentation missing in model
|
10203 - | pub fn header_float(mut self, input: ::std::option::Option<f32>) -> Self {
|
10204 - | self.header_float = input;
|
10697 + | pub fn empty_blob(mut self, input: ::aws_smithy_http_server_python::types::Blob) -> Self {
|
10698 + | self.empty_blob = Some(input);
|
10205 10699 | self
|
10206 10700 | }
|
10207 10701 | #[allow(missing_docs)] // documentation missing in model
|
10208 - | pub fn header_double(mut self, input: ::std::option::Option<f64>) -> Self {
|
10209 - | self.header_double = input;
|
10702 + | pub fn zero_byte(mut self, input: i8) -> Self {
|
10703 + | self.zero_byte = Some(input);
|
10210 10704 | self
|
10211 10705 | }
|
10212 10706 | #[allow(missing_docs)] // documentation missing in model
|
10213 - | pub fn header_true_bool(mut self, input: ::std::option::Option<bool>) -> Self {
|
10214 - | self.header_true_bool = input;
|
10707 + | pub fn zero_short(mut self, input: i16) -> Self {
|
10708 + | self.zero_short = Some(input);
|
10215 10709 | self
|
10216 10710 | }
|
10217 10711 | #[allow(missing_docs)] // documentation missing in model
|
10218 - | pub fn header_false_bool(mut self, input: ::std::option::Option<bool>) -> Self {
|
10219 - | self.header_false_bool = input;
|
10712 + | pub fn zero_integer(mut self, input: i32) -> Self {
|
10713 + | self.zero_integer = Some(input);
|
10220 10714 | self
|
10221 10715 | }
|
10222 10716 | #[allow(missing_docs)] // documentation missing in model
|
10223 - | pub fn header_string_list(
|
10224 - | mut self,
|
10225 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
10226 - | ) -> Self {
|
10227 - | self.header_string_list = input;
|
10717 + | pub fn zero_long(mut self, input: i64) -> Self {
|
10718 + | self.zero_long = Some(input);
|
10228 10719 | self
|
10229 10720 | }
|
10230 10721 | #[allow(missing_docs)] // documentation missing in model
|
10231 - | pub fn header_string_set(
|
10232 - | mut self,
|
10233 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
10234 - | ) -> Self {
|
10235 - | self.header_string_set = input;
|
10722 + | pub fn zero_float(mut self, input: f32) -> Self {
|
10723 + | self.zero_float = Some(input);
|
10236 10724 | self
|
10237 10725 | }
|
10238 10726 | #[allow(missing_docs)] // documentation missing in model
|
10239 - | pub fn header_integer_list(
|
10240 - | mut self,
|
10241 - | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
10242 - | ) -> Self {
|
10243 - | self.header_integer_list = input;
|
10727 + | pub fn zero_double(mut self, input: f64) -> Self {
|
10728 + | self.zero_double = Some(input);
|
10729 + | self
|
10730 + | }
|
10731 + | /// Consumes the builder and constructs a [`OperationWithDefaultsOutput`](crate::output::OperationWithDefaultsOutput).
|
10732 + | pub fn build(self) -> crate::output::OperationWithDefaultsOutput {
|
10733 + | self.build_enforcing_required_and_enum_traits()
|
10734 + | }
|
10735 + | fn build_enforcing_required_and_enum_traits(
|
10736 + | self,
|
10737 + | ) -> crate::output::OperationWithDefaultsOutput {
|
10738 + | crate::output::OperationWithDefaultsOutput {
|
10739 + | default_string: self.default_string.unwrap_or_else(|| String::from("hi")),
|
10740 + | default_boolean: self.default_boolean.unwrap_or(true),
|
10741 + | default_list: self.default_list.unwrap_or_default(),
|
10742 + | default_document_map: self.default_document_map.unwrap_or_else(|| {
|
10743 + | ::aws_smithy_types::Document::Object(::std::collections::HashMap::new()).into()
|
10744 + | }),
|
10745 + | default_document_string: self.default_document_string.unwrap_or_else(|| {
|
10746 + | ::aws_smithy_types::Document::String(::std::string::String::from("hi")).into()
|
10747 + | }),
|
10748 + | default_document_boolean: self
|
10749 + | .default_document_boolean
|
10750 + | .unwrap_or(::aws_smithy_types::Document::Bool(true).into()),
|
10751 + | default_document_list: self.default_document_list.unwrap_or_else(|| {
|
10752 + | ::aws_smithy_types::Document::Array(::std::vec::Vec::new()).into()
|
10753 + | }),
|
10754 + | default_null_document: self.default_null_document,
|
10755 + | default_timestamp: self.default_timestamp.unwrap_or_else(|| {
|
10756 + | ::aws_smithy_types::DateTime::from_fractional_secs(0, 0_f64).into()
|
10757 + | }),
|
10758 + | default_blob: self
|
10759 + | .default_blob
|
10760 + | .unwrap_or_else(|| ::aws_smithy_types::Blob::new("YWJj").into()),
|
10761 + | default_byte: self.default_byte.unwrap_or(1i8),
|
10762 + | default_short: self.default_short.unwrap_or(1i16),
|
10763 + | default_integer: self.default_integer.unwrap_or(10i32),
|
10764 + | default_long: self.default_long.unwrap_or(100i64),
|
10765 + | default_float: self.default_float.unwrap_or(1.0f32),
|
10766 + | default_double: self.default_double.unwrap_or(1.0f64),
|
10767 + | default_map: self.default_map.unwrap_or_default(),
|
10768 + | default_enum: self.default_enum.unwrap_or(
|
10769 + | "FOO"
|
10770 + | .parse::<crate::model::TestEnum>()
|
10771 + | .expect("static value validated to member"),
|
10772 + | ),
|
10773 + | default_int_enum: self.default_int_enum.unwrap_or(1i32),
|
10774 + | empty_string: self.empty_string.unwrap_or_else(|| String::from("")),
|
10775 + | false_boolean: self.false_boolean.unwrap_or(false),
|
10776 + | empty_blob: self
|
10777 + | .empty_blob
|
10778 + | .unwrap_or_else(|| ::aws_smithy_types::Blob::new("").into()),
|
10779 + | zero_byte: self.zero_byte.unwrap_or(0i8),
|
10780 + | zero_short: self.zero_short.unwrap_or(0i16),
|
10781 + | zero_integer: self.zero_integer.unwrap_or(0i32),
|
10782 + | zero_long: self.zero_long.unwrap_or(0i64),
|
10783 + | zero_float: self.zero_float.unwrap_or(0.0f32),
|
10784 + | zero_double: self.zero_double.unwrap_or(0.0f64),
|
10785 + | }
|
10786 + | }
|
10787 + | }
|
10788 + | }
|
10789 + | /// See [`OperationWithNestedStructureOutput`](crate::output::OperationWithNestedStructureOutput).
|
10790 + | pub mod operation_with_nested_structure_output {
|
10791 + |
|
10792 + | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
10793 + | /// Holds one variant for each of the ways the builder can fail.
|
10794 + | #[allow(clippy::enum_variant_names)]
|
10795 + | pub enum ConstraintViolation {
|
10796 + | /// `dialog` was not provided but it is required when building `OperationWithNestedStructureOutput`.
|
10797 + | MissingDialog,
|
10798 + | }
|
10799 + | impl ::std::fmt::Display for ConstraintViolation {
|
10800 + | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
10801 + | match self {
|
10802 + | ConstraintViolation::MissingDialog => write!(f, "`dialog` was not provided but it is required when building `OperationWithNestedStructureOutput`"),
|
10803 + | }
|
10804 + | }
|
10805 + | }
|
10806 + | impl ::std::error::Error for ConstraintViolation {}
|
10807 + | impl ::std::convert::TryFrom<Builder> for crate::output::OperationWithNestedStructureOutput {
|
10808 + | type Error = ConstraintViolation;
|
10809 + |
|
10810 + | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
10811 + | builder.build()
|
10812 + | }
|
10813 + | }
|
10814 + | /// A builder for [`OperationWithNestedStructureOutput`](crate::output::OperationWithNestedStructureOutput).
|
10815 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
10816 + | pub struct Builder {
|
10817 + | pub(crate) dialog: ::std::option::Option<crate::model::Dialog>,
|
10818 + | pub(crate) dialog_list: ::std::option::Option<::std::vec::Vec<crate::model::Dialog>>,
|
10819 + | pub(crate) dialog_map: ::std::option::Option<
|
10820 + | ::std::collections::HashMap<::std::string::String, crate::model::Dialog>,
|
10821 + | >,
|
10822 + | }
|
10823 + | impl Builder {
|
10824 + | #[allow(missing_docs)] // documentation missing in model
|
10825 + | pub fn dialog(mut self, input: crate::model::Dialog) -> Self {
|
10826 + | self.dialog = Some(input);
|
10827 + | self
|
10828 + | }
|
10829 + | #[allow(missing_docs)] // documentation missing in model
|
10830 + | pub fn dialog_list(mut self, input: ::std::vec::Vec<crate::model::Dialog>) -> Self {
|
10831 + | self.dialog_list = Some(input);
|
10244 10832 | self
|
10245 10833 | }
|
10246 10834 | #[allow(missing_docs)] // documentation missing in model
|
10247 - | pub fn header_boolean_list(
|
10835 + | pub fn dialog_map(
|
10248 10836 | mut self,
|
10249 - | input: ::std::option::Option<::std::vec::Vec<bool>>,
|
10837 + | input: ::std::collections::HashMap<::std::string::String, crate::model::Dialog>,
|
10250 10838 | ) -> Self {
|
10251 - | self.header_boolean_list = input;
|
10839 + | self.dialog_map = Some(input);
|
10252 10840 | self
|
10253 10841 | }
|
10254 - | #[allow(missing_docs)] // documentation missing in model
|
10255 - | pub fn header_timestamp_list(
|
10256 - | mut self,
|
10257 - | input: ::std::option::Option<
|
10258 - | ::std::vec::Vec<::aws_smithy_http_server_python::types::DateTime>,
|
10259 - | >,
|
10260 - | ) -> Self {
|
10261 - | self.header_timestamp_list = input;
|
10262 - | self
|
10842 + | /// Consumes the builder and constructs a [`OperationWithNestedStructureOutput`](crate::output::OperationWithNestedStructureOutput).
|
10843 + | ///
|
10844 + | /// The builder fails to construct a [`OperationWithNestedStructureOutput`](crate::output::OperationWithNestedStructureOutput) if you do not provide a value for all non-`Option`al members.
|
10845 + | ///
|
10846 + | pub fn build(
|
10847 + | self,
|
10848 + | ) -> Result<crate::output::OperationWithNestedStructureOutput, ConstraintViolation>
|
10849 + | {
|
10850 + | self.build_enforcing_required_and_enum_traits()
|
10263 10851 | }
|
10264 - | #[allow(missing_docs)] // documentation missing in model
|
10265 - | pub fn header_enum(mut self, input: ::std::option::Option<crate::model::FooEnum>) -> Self {
|
10266 - | self.header_enum = input;
|
10267 - | self
|
10852 + | fn build_enforcing_required_and_enum_traits(
|
10853 + | self,
|
10854 + | ) -> Result<crate::output::OperationWithNestedStructureOutput, ConstraintViolation>
|
10855 + | {
|
10856 + | Ok(crate::output::OperationWithNestedStructureOutput {
|
10857 + | dialog: self.dialog.ok_or(ConstraintViolation::MissingDialog)?,
|
10858 + | dialog_list: self.dialog_list.unwrap_or_default(),
|
10859 + | dialog_map: self.dialog_map.unwrap_or_default(),
|
10860 + | })
|
10861 + | }
|
10862 + | }
|
10863 + | }
|
10864 + | /// See [`InputStreamOutput`](crate::output::InputStreamOutput).
|
10865 + | pub mod input_stream_output {
|
10866 + |
|
10867 + | impl ::std::convert::From<Builder> for crate::output::InputStreamOutput {
|
10868 + | fn from(builder: Builder) -> Self {
|
10869 + | builder.build()
|
10870 + | }
|
10871 + | }
|
10872 + | /// A builder for [`InputStreamOutput`](crate::output::InputStreamOutput).
|
10873 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
10874 + | pub struct Builder {}
|
10875 + | impl Builder {
|
10876 + | /// Consumes the builder and constructs a [`InputStreamOutput`](crate::output::InputStreamOutput).
|
10877 + | pub fn build(self) -> crate::output::InputStreamOutput {
|
10878 + | self.build_enforcing_required_and_enum_traits()
|
10879 + | }
|
10880 + | fn build_enforcing_required_and_enum_traits(self) -> crate::output::InputStreamOutput {
|
10881 + | crate::output::InputStreamOutput {}
|
10882 + | }
|
10883 + | }
|
10884 + | }
|
10885 + | /// See [`OutputStreamOutput`](crate::output::OutputStreamOutput).
|
10886 + | pub mod output_stream_output {
|
10887 + |
|
10888 + | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
10889 + | /// Holds one variant for each of the ways the builder can fail.
|
10890 + | #[allow(clippy::enum_variant_names)]
|
10891 + | pub enum ConstraintViolation {
|
10892 + | /// `stream` was not provided but it is required when building `OutputStreamOutput`.
|
10893 + | MissingStream,
|
10894 + | }
|
10895 + | impl ::std::fmt::Display for ConstraintViolation {
|
10896 + | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
10897 + | match self {
|
10898 + | ConstraintViolation::MissingStream => write!(f, "`stream` was not provided but it is required when building `OutputStreamOutput`"),
|
10899 + | }
|
10900 + | }
|
10901 + | }
|
10902 + | impl ::std::error::Error for ConstraintViolation {}
|
10903 + | impl ::std::convert::TryFrom<Builder> for crate::output::OutputStreamOutput {
|
10904 + | type Error = ConstraintViolation;
|
10905 + |
|
10906 + | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
10907 + | builder.build()
|
10268 10908 | }
|
10909 + | }
|
10910 + | /// A builder for [`OutputStreamOutput`](crate::output::OutputStreamOutput).
|
10911 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
10912 + | pub struct Builder {
|
10913 + | pub(crate) stream: ::std::option::Option<
|
10914 + | crate::python_event_stream::OutputStreamOutputStreamEventStreamSender,
|
10915 + | >,
|
10916 + | }
|
10917 + | impl Builder {
|
10269 10918 | #[allow(missing_docs)] // documentation missing in model
|
10270 - | pub fn header_enum_list(
|
10919 + | pub fn stream(
|
10271 10920 | mut self,
|
10272 - | input: ::std::option::Option<::std::vec::Vec<crate::model::FooEnum>>,
|
10921 + | input: crate::python_event_stream::OutputStreamOutputStreamEventStreamSender,
|
10273 10922 | ) -> Self {
|
10274 - | self.header_enum_list = input;
|
10923 + | self.stream = Some(input);
|
10275 10924 | self
|
10276 10925 | }
|
10277 - | #[allow(missing_docs)] // documentation missing in model
|
10278 - | pub fn header_integer_enum(mut self, input: ::std::option::Option<i32>) -> Self {
|
10279 - | self.header_integer_enum = input;
|
10280 - | self
|
10926 + | /// Consumes the builder and constructs a [`OutputStreamOutput`](crate::output::OutputStreamOutput).
|
10927 + | ///
|
10928 + | /// The builder fails to construct a [`OutputStreamOutput`](crate::output::OutputStreamOutput) if you do not provide a value for all non-`Option`al members.
|
10929 + | ///
|
10930 + | pub fn build(self) -> Result<crate::output::OutputStreamOutput, ConstraintViolation> {
|
10931 + | self.build_enforcing_required_and_enum_traits()
|
10932 + | }
|
10933 + | fn build_enforcing_required_and_enum_traits(
|
10934 + | self,
|
10935 + | ) -> Result<crate::output::OutputStreamOutput, ConstraintViolation> {
|
10936 + | Ok(crate::output::OutputStreamOutput {
|
10937 + | stream: self.stream.ok_or(ConstraintViolation::MissingStream)?,
|
10938 + | })
|
10939 + | }
|
10940 + | }
|
10941 + | }
|
10942 + | /// See [`DuplexStreamOutput`](crate::output::DuplexStreamOutput).
|
10943 + | pub mod duplex_stream_output {
|
10944 + |
|
10945 + | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
10946 + | /// Holds one variant for each of the ways the builder can fail.
|
10947 + | #[allow(clippy::enum_variant_names)]
|
10948 + | pub enum ConstraintViolation {
|
10949 + | /// `stream` was not provided but it is required when building `DuplexStreamOutput`.
|
10950 + | MissingStream,
|
10951 + | }
|
10952 + | impl ::std::fmt::Display for ConstraintViolation {
|
10953 + | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
10954 + | match self {
|
10955 + | ConstraintViolation::MissingStream => write!(f, "`stream` was not provided but it is required when building `DuplexStreamOutput`"),
|
10956 + | }
|
10957 + | }
|
10958 + | }
|
10959 + | impl ::std::error::Error for ConstraintViolation {}
|
10960 + | impl ::std::convert::TryFrom<Builder> for crate::output::DuplexStreamOutput {
|
10961 + | type Error = ConstraintViolation;
|
10962 + |
|
10963 + | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
10964 + | builder.build()
|
10281 10965 | }
|
10966 + | }
|
10967 + | /// A builder for [`DuplexStreamOutput`](crate::output::DuplexStreamOutput).
|
10968 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
10969 + | pub struct Builder {
|
10970 + | pub(crate) stream: ::std::option::Option<
|
10971 + | crate::python_event_stream::DuplexStreamOutputStreamEventStreamSender,
|
10972 + | >,
|
10973 + | }
|
10974 + | impl Builder {
|
10282 10975 | #[allow(missing_docs)] // documentation missing in model
|
10283 - | pub fn header_integer_enum_list(
|
10976 + | pub fn stream(
|
10284 10977 | mut self,
|
10285 - | input: ::std::option::Option<::std::vec::Vec<i32>>,
|
10978 + | input: crate::python_event_stream::DuplexStreamOutputStreamEventStreamSender,
|
10286 10979 | ) -> Self {
|
10287 - | self.header_integer_enum_list = input;
|
10980 + | self.stream = Some(input);
|
10288 10981 | self
|
10289 10982 | }
|
10290 - | /// Consumes the builder and constructs a [`InputAndOutputWithHeadersOutput`](crate::output::InputAndOutputWithHeadersOutput).
|
10291 - | pub fn build(self) -> crate::output::InputAndOutputWithHeadersOutput {
|
10983 + | /// Consumes the builder and constructs a [`DuplexStreamOutput`](crate::output::DuplexStreamOutput).
|
10984 + | ///
|
10985 + | /// The builder fails to construct a [`DuplexStreamOutput`](crate::output::DuplexStreamOutput) if you do not provide a value for all non-`Option`al members.
|
10986 + | ///
|
10987 + | pub fn build(self) -> Result<crate::output::DuplexStreamOutput, ConstraintViolation> {
|
10292 10988 | self.build_enforcing_required_and_enum_traits()
|
10293 10989 | }
|
10294 10990 | fn build_enforcing_required_and_enum_traits(
|
10295 10991 | self,
|
10296 - | ) -> crate::output::InputAndOutputWithHeadersOutput {
|
10297 - | crate::output::InputAndOutputWithHeadersOutput {
|
10298 - | header_string: self.header_string,
|
10299 - | header_byte: self.header_byte,
|
10300 - | header_short: self.header_short,
|
10301 - | header_integer: self.header_integer,
|
10302 - | header_long: self.header_long,
|
10303 - | header_float: self.header_float,
|
10304 - | header_double: self.header_double,
|
10305 - | header_true_bool: self.header_true_bool,
|
10306 - | header_false_bool: self.header_false_bool,
|
10307 - | header_string_list: self.header_string_list,
|
10308 - | header_string_set: self.header_string_set,
|
10309 - | header_integer_list: self.header_integer_list,
|
10310 - | header_boolean_list: self.header_boolean_list,
|
10311 - | header_timestamp_list: self.header_timestamp_list,
|
10312 - | header_enum: self.header_enum,
|
10313 - | header_enum_list: self.header_enum_list,
|
10314 - | header_integer_enum: self.header_integer_enum,
|
10315 - | header_integer_enum_list: self.header_integer_enum_list,
|
10316 - | }
|
10992 + | ) -> Result<crate::output::DuplexStreamOutput, ConstraintViolation> {
|
10993 + | Ok(crate::output::DuplexStreamOutput {
|
10994 + | stream: self.stream.ok_or(ConstraintViolation::MissingStream)?,
|
10995 + | })
|
10317 10996 | }
|
10318 10997 | }
|
10319 10998 | }
|
10320 - | /// See [`UnitInputAndOutputOutput`](crate::output::UnitInputAndOutputOutput).
|
10321 - | pub mod unit_input_and_output_output {
|
10999 + | /// See [`InputStreamWithInitialRequestOutput`](crate::output::InputStreamWithInitialRequestOutput).
|
11000 + | pub mod input_stream_with_initial_request_output {
|
10322 11001 |
|
10323 - | impl ::std::convert::From<Builder> for crate::output::UnitInputAndOutputOutput {
|
11002 + | impl ::std::convert::From<Builder> for crate::output::InputStreamWithInitialRequestOutput {
|
10324 11003 | fn from(builder: Builder) -> Self {
|
10325 11004 | builder.build()
|
10326 11005 | }
|
10327 11006 | }
|
10328 - | /// A builder for [`UnitInputAndOutputOutput`](crate::output::UnitInputAndOutputOutput).
|
11007 + | /// A builder for [`InputStreamWithInitialRequestOutput`](crate::output::InputStreamWithInitialRequestOutput).
|
10329 11008 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
10330 11009 | pub struct Builder {}
|
10331 11010 | impl Builder {
|
10332 - | /// Consumes the builder and constructs a [`UnitInputAndOutputOutput`](crate::output::UnitInputAndOutputOutput).
|
10333 - | pub fn build(self) -> crate::output::UnitInputAndOutputOutput {
|
11011 + | /// Consumes the builder and constructs a [`InputStreamWithInitialRequestOutput`](crate::output::InputStreamWithInitialRequestOutput).
|
11012 + | pub fn build(self) -> crate::output::InputStreamWithInitialRequestOutput {
|
10334 11013 | self.build_enforcing_required_and_enum_traits()
|
10335 11014 | }
|
10336 11015 | fn build_enforcing_required_and_enum_traits(
|
10337 11016 | self,
|
10338 - | ) -> crate::output::UnitInputAndOutputOutput {
|
10339 - | crate::output::UnitInputAndOutputOutput {}
|
11017 + | ) -> crate::output::InputStreamWithInitialRequestOutput {
|
11018 + | crate::output::InputStreamWithInitialRequestOutput {}
|
10340 11019 | }
|
10341 11020 | }
|
10342 11021 | }
|
10343 - | /// See [`EmptyInputAndEmptyOutputOutput`](crate::output::EmptyInputAndEmptyOutputOutput).
|
10344 - | pub mod empty_input_and_empty_output_output {
|
11022 + | /// See [`OutputStreamWithInitialResponseOutput`](crate::output::OutputStreamWithInitialResponseOutput).
|
11023 + | pub mod output_stream_with_initial_response_output {
|
10345 11024 |
|
10346 - | impl ::std::convert::From<Builder> for crate::output::EmptyInputAndEmptyOutputOutput {
|
10347 - | fn from(builder: Builder) -> Self {
|
11025 + | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
11026 + | /// Holds one variant for each of the ways the builder can fail.
|
11027 + | #[allow(clippy::enum_variant_names)]
|
11028 + | pub enum ConstraintViolation {
|
11029 + | /// `initial_response_member` was not provided but it is required when building `OutputStreamWithInitialResponseOutput`.
|
11030 + | MissingInitialResponseMember,
|
11031 + | /// `stream` was not provided but it is required when building `OutputStreamWithInitialResponseOutput`.
|
11032 + | MissingStream,
|
11033 + | }
|
11034 + | impl ::std::fmt::Display for ConstraintViolation {
|
11035 + | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
11036 + | match self {
|
11037 + | ConstraintViolation::MissingInitialResponseMember => write!(f, "`initial_response_member` was not provided but it is required when building `OutputStreamWithInitialResponseOutput`"),
|
11038 + | ConstraintViolation::MissingStream => write!(f, "`stream` was not provided but it is required when building `OutputStreamWithInitialResponseOutput`"),
|
11039 + | }
|
11040 + | }
|
11041 + | }
|
11042 + | impl ::std::error::Error for ConstraintViolation {}
|
11043 + | impl ::std::convert::TryFrom<Builder> for crate::output::OutputStreamWithInitialResponseOutput {
|
11044 + | type Error = ConstraintViolation;
|
11045 + |
|
11046 + | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
10348 11047 | builder.build()
|
10349 11048 | }
|
10350 11049 | }
|
10351 - | /// A builder for [`EmptyInputAndEmptyOutputOutput`](crate::output::EmptyInputAndEmptyOutputOutput).
|
11050 + | /// A builder for [`OutputStreamWithInitialResponseOutput`](crate::output::OutputStreamWithInitialResponseOutput).
|
10352 11051 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
10353 - | pub struct Builder {}
|
11052 + | pub struct Builder {
|
11053 + | pub(crate) initial_response_member: ::std::option::Option<::std::string::String>,
|
11054 + | pub(crate) stream: ::std::option::Option<crate::python_event_stream::OutputStreamWithInitialResponseOutputStreamEventStreamSender>,
|
11055 + | }
|
10354 11056 | impl Builder {
|
10355 - | /// Consumes the builder and constructs a [`EmptyInputAndEmptyOutputOutput`](crate::output::EmptyInputAndEmptyOutputOutput).
|
10356 - | pub fn build(self) -> crate::output::EmptyInputAndEmptyOutputOutput {
|
11057 + | #[allow(missing_docs)] // documentation missing in model
|
11058 + | pub fn initial_response_member(mut self, input: ::std::string::String) -> Self {
|
11059 + | self.initial_response_member = Some(input);
|
11060 + | self
|
11061 + | }
|
11062 + | #[allow(missing_docs)] // documentation missing in model
|
11063 + | pub fn stream(
|
11064 + | mut self,
|
11065 + | input: crate::python_event_stream::OutputStreamWithInitialResponseOutputStreamEventStreamSender,
|
11066 + | ) -> Self {
|
11067 + | self.stream = Some(input);
|
11068 + | self
|
11069 + | }
|
11070 + | /// Consumes the builder and constructs a [`OutputStreamWithInitialResponseOutput`](crate::output::OutputStreamWithInitialResponseOutput).
|
11071 + | ///
|
11072 + | /// The builder fails to construct a [`OutputStreamWithInitialResponseOutput`](crate::output::OutputStreamWithInitialResponseOutput) if you do not provide a value for all non-`Option`al members.
|
11073 + | ///
|
11074 + | pub fn build(
|
11075 + | self,
|
11076 + | ) -> Result<crate::output::OutputStreamWithInitialResponseOutput, ConstraintViolation>
|
11077 + | {
|
10357 11078 | self.build_enforcing_required_and_enum_traits()
|
10358 11079 | }
|
10359 11080 | fn build_enforcing_required_and_enum_traits(
|
10360 11081 | self,
|
10361 - | ) -> crate::output::EmptyInputAndEmptyOutputOutput {
|
10362 - | crate::output::EmptyInputAndEmptyOutputOutput {}
|
11082 + | ) -> Result<crate::output::OutputStreamWithInitialResponseOutput, ConstraintViolation>
|
11083 + | {
|
11084 + | Ok(crate::output::OutputStreamWithInitialResponseOutput {
|
11085 + | initial_response_member: self
|
11086 + | .initial_response_member
|
11087 + | .ok_or(ConstraintViolation::MissingInitialResponseMember)?,
|
11088 + | stream: self.stream.ok_or(ConstraintViolation::MissingStream)?,
|
11089 + | })
|
10363 11090 | }
|
10364 11091 | }
|
10365 11092 | }
|
10366 - | /// See [`NoInputAndOutputOutput`](crate::output::NoInputAndOutputOutput).
|
10367 - | pub mod no_input_and_output_output {
|
11093 + | /// See [`DuplexStreamWithInitialMessagesOutput`](crate::output::DuplexStreamWithInitialMessagesOutput).
|
11094 + | pub mod duplex_stream_with_initial_messages_output {
|
10368 11095 |
|
10369 - | impl ::std::convert::From<Builder> for crate::output::NoInputAndOutputOutput {
|
10370 - | fn from(builder: Builder) -> Self {
|
11096 + | #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
|
11097 + | /// Holds one variant for each of the ways the builder can fail.
|
11098 + | #[allow(clippy::enum_variant_names)]
|
11099 + | pub enum ConstraintViolation {
|
11100 + | /// `initial_response_member` was not provided but it is required when building `DuplexStreamWithInitialMessagesOutput`.
|
11101 + | MissingInitialResponseMember,
|
11102 + | /// `stream` was not provided but it is required when building `DuplexStreamWithInitialMessagesOutput`.
|
11103 + | MissingStream,
|
11104 + | }
|
11105 + | impl ::std::fmt::Display for ConstraintViolation {
|
11106 + | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
11107 + | match self {
|
11108 + | ConstraintViolation::MissingInitialResponseMember => write!(f, "`initial_response_member` was not provided but it is required when building `DuplexStreamWithInitialMessagesOutput`"),
|
11109 + | ConstraintViolation::MissingStream => write!(f, "`stream` was not provided but it is required when building `DuplexStreamWithInitialMessagesOutput`"),
|
11110 + | }
|
11111 + | }
|
11112 + | }
|
11113 + | impl ::std::error::Error for ConstraintViolation {}
|
11114 + | impl ::std::convert::TryFrom<Builder> for crate::output::DuplexStreamWithInitialMessagesOutput {
|
11115 + | type Error = ConstraintViolation;
|
11116 + |
|
11117 + | fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
|
10371 11118 | builder.build()
|
10372 11119 | }
|
10373 11120 | }
|
10374 - | /// A builder for [`NoInputAndOutputOutput`](crate::output::NoInputAndOutputOutput).
|
11121 + | /// A builder for [`DuplexStreamWithInitialMessagesOutput`](crate::output::DuplexStreamWithInitialMessagesOutput).
|
10375 11122 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
10376 - | pub struct Builder {}
|
11123 + | pub struct Builder {
|
11124 + | pub(crate) initial_response_member: ::std::option::Option<::std::string::String>,
|
11125 + | pub(crate) stream: ::std::option::Option<crate::python_event_stream::DuplexStreamWithInitialMessagesOutputStreamEventStreamSender>,
|
11126 + | }
|
10377 11127 | impl Builder {
|
10378 - | /// Consumes the builder and constructs a [`NoInputAndOutputOutput`](crate::output::NoInputAndOutputOutput).
|
10379 - | pub fn build(self) -> crate::output::NoInputAndOutputOutput {
|
11128 + | #[allow(missing_docs)] // documentation missing in model
|
11129 + | pub fn initial_response_member(mut self, input: ::std::string::String) -> Self {
|
11130 + | self.initial_response_member = Some(input);
|
11131 + | self
|
11132 + | }
|
11133 + | #[allow(missing_docs)] // documentation missing in model
|
11134 + | pub fn stream(
|
11135 + | mut self,
|
11136 + | input: crate::python_event_stream::DuplexStreamWithInitialMessagesOutputStreamEventStreamSender,
|
11137 + | ) -> Self {
|
11138 + | self.stream = Some(input);
|
11139 + | self
|
11140 + | }
|
11141 + | /// Consumes the builder and constructs a [`DuplexStreamWithInitialMessagesOutput`](crate::output::DuplexStreamWithInitialMessagesOutput).
|
11142 + | ///
|
11143 + | /// The builder fails to construct a [`DuplexStreamWithInitialMessagesOutput`](crate::output::DuplexStreamWithInitialMessagesOutput) if you do not provide a value for all non-`Option`al members.
|
11144 + | ///
|
11145 + | pub fn build(
|
11146 + | self,
|
11147 + | ) -> Result<crate::output::DuplexStreamWithInitialMessagesOutput, ConstraintViolation>
|
11148 + | {
|
10380 11149 | self.build_enforcing_required_and_enum_traits()
|
10381 11150 | }
|
10382 - | fn build_enforcing_required_and_enum_traits(self) -> crate::output::NoInputAndOutputOutput {
|
10383 - | crate::output::NoInputAndOutputOutput {}
|
11151 + | fn build_enforcing_required_and_enum_traits(
|
11152 + | self,
|
11153 + | ) -> Result<crate::output::DuplexStreamWithInitialMessagesOutput, ConstraintViolation>
|
11154 + | {
|
11155 + | Ok(crate::output::DuplexStreamWithInitialMessagesOutput {
|
11156 + | initial_response_member: self
|
11157 + | .initial_response_member
|
11158 + | .ok_or(ConstraintViolation::MissingInitialResponseMember)?,
|
11159 + | stream: self.stream.ok_or(ConstraintViolation::MissingStream)?,
|
11160 + | })
|
10384 11161 | }
|
10385 11162 | }
|
10386 11163 | }
|
10387 - | /// See [`NoInputAndNoOutputOutput`](crate::output::NoInputAndNoOutputOutput).
|
10388 - | pub mod no_input_and_no_output_output {
|
11164 + | /// See [`DuplexStreamWithDistinctStreamsOutput`](crate::output::DuplexStreamWithDistinctStreamsOutput).
|
11165 + | pub mod duplex_stream_with_distinct_streams_output {
|
10389 11166 |
|
10390 - | impl ::std::convert::From<Builder> for crate::output::NoInputAndNoOutputOutput {
|
11167 + | impl ::std::convert::From<Builder> for crate::output::DuplexStreamWithDistinctStreamsOutput {
|
10391 11168 | fn from(builder: Builder) -> Self {
|
10392 11169 | builder.build()
|
10393 11170 | }
|
10394 11171 | }
|
10395 - | /// A builder for [`NoInputAndNoOutputOutput`](crate::output::NoInputAndNoOutputOutput).
|
11172 + | /// A builder for [`DuplexStreamWithDistinctStreamsOutput`](crate::output::DuplexStreamWithDistinctStreamsOutput).
|
10396 11173 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
10397 - | pub struct Builder {}
|
11174 + | pub struct Builder {
|
11175 + | pub(crate) stream: ::std::option::Option<crate::model::SingletonEventStream>,
|
11176 + | }
|
10398 11177 | impl Builder {
|
10399 - | /// Consumes the builder and constructs a [`NoInputAndNoOutputOutput`](crate::output::NoInputAndNoOutputOutput).
|
10400 - | pub fn build(self) -> crate::output::NoInputAndNoOutputOutput {
|
11178 + | #[allow(missing_docs)] // documentation missing in model
|
11179 + | pub fn stream(
|
11180 + | mut self,
|
11181 + | input: ::std::option::Option<crate::model::SingletonEventStream>,
|
11182 + | ) -> Self {
|
11183 + | self.stream = input;
|
11184 + | self
|
11185 + | }
|
11186 + | /// Consumes the builder and constructs a [`DuplexStreamWithDistinctStreamsOutput`](crate::output::DuplexStreamWithDistinctStreamsOutput).
|
11187 + | pub fn build(self) -> crate::output::DuplexStreamWithDistinctStreamsOutput {
|
10401 11188 | self.build_enforcing_required_and_enum_traits()
|
10402 11189 | }
|
10403 11190 | fn build_enforcing_required_and_enum_traits(
|
10404 11191 | self,
|
10405 - | ) -> crate::output::NoInputAndNoOutputOutput {
|
10406 - | crate::output::NoInputAndNoOutputOutput {}
|
11192 + | ) -> crate::output::DuplexStreamWithDistinctStreamsOutput {
|
11193 + | crate::output::DuplexStreamWithDistinctStreamsOutput {
|
11194 + | stream: self.stream,
|
11195 + | }
|
10407 11196 | }
|
10408 11197 | }
|
10409 11198 | }
|