Server Test Python

Server Test Python

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943

Files changed:

tmp-codegen-diff/codegen-server-test-python/Cargo.lock

@@ -114,114 +174,174 @@
  134    134   
 "thiserror",
  135    135   
 "tokio",
  136    136   
 "tower",
  137    137   
 "tower-http",
  138    138   
 "tracing",
  139    139   
 "uuid",
  140    140   
]
  141    141   
  142    142   
[[package]]
  143    143   
name = "aws-smithy-http-server-python"
  144         -
version = "0.65.0"
         144  +
version = "0.66.0"
  145    145   
dependencies = [
  146    146   
 "aws-smithy-http",
  147    147   
 "aws-smithy-http-server",
  148    148   
 "aws-smithy-json",
  149    149   
 "aws-smithy-types",
  150    150   
 "aws-smithy-xml",
  151    151   
 "bytes",
  152    152   
 "futures",
  153    153   
 "http 0.2.12",
  154    154   
 "hyper",
@@ -633,633 +692,698 @@
  653    653   
 "cfg-if",
  654    654   
 "crunchy",
  655    655   
]
  656    656   
  657    657   
[[package]]
  658    658   
name = "hashbrown"
  659    659   
version = "0.15.3"
  660    660   
source = "registry+https://github.com/rust-lang/crates.io-index"
  661    661   
checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3"
  662    662   
         663  +
[[package]]
         664  +
name = "heck"
         665  +
version = "0.4.1"
         666  +
source = "registry+https://github.com/rust-lang/crates.io-index"
         667  +
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
         668  +
  663    669   
[[package]]
  664    670   
name = "hermit-abi"
  665    671   
version = "0.3.9"
  666    672   
source = "registry+https://github.com/rust-lang/crates.io-index"
  667    673   
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
  668    674   
  669    675   
[[package]]
  670    676   
name = "http"
  671    677   
version = "0.2.12"
  672    678   
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -843,849 +905,911 @@
  863    869   
version = "2.9.0"
  864    870   
source = "registry+https://github.com/rust-lang/crates.io-index"
  865    871   
checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e"
  866    872   
dependencies = [
  867    873   
 "equivalent",
  868    874   
 "hashbrown",
  869    875   
]
  870    876   
  871    877   
[[package]]
  872    878   
name = "indoc"
  873         -
version = "1.0.9"
         879  +
version = "2.0.6"
  874    880   
source = "registry+https://github.com/rust-lang/crates.io-index"
  875         -
checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306"
         881  +
checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
  876    882   
  877    883   
[[package]]
  878    884   
name = "itoa"
  879    885   
version = "1.0.15"
  880    886   
source = "registry+https://github.com/rust-lang/crates.io-index"
  881    887   
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
  882    888   
  883    889   
[[package]]
  884    890   
name = "json_rpc10"
  885    891   
version = "0.0.1"
@@ -1010,1016 +1072,1078 @@
 1030   1036   
]
 1031   1037   
 1032   1038   
[[package]]
 1033   1039   
name = "memchr"
 1034   1040   
version = "2.7.4"
 1035   1041   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1036   1042   
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
 1037   1043   
 1038   1044   
[[package]]
 1039   1045   
name = "memoffset"
 1040         -
version = "0.8.0"
        1046  +
version = "0.9.1"
 1041   1047   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1042         -
checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
        1048  +
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
 1043   1049   
dependencies = [
 1044   1050   
 "autocfg",
 1045   1051   
]
 1046   1052   
 1047   1053   
[[package]]
 1048   1054   
name = "mime"
 1049   1055   
version = "0.3.17"
 1050   1056   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1051   1057   
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
 1052   1058   
@@ -1331,1337 +1507,1522 @@
 1351   1357   
 "percent-encoding",
 1352   1358   
 "pin-project-lite",
 1353   1359   
 "pyo3",
 1354   1360   
 "pyo3-asyncio",
 1355   1361   
 "tokio",
 1356   1362   
 "tokio-stream",
 1357   1363   
 "tower",
 1358   1364   
 "tracing",
 1359   1365   
]
 1360   1366   
        1367  +
[[package]]
        1368  +
name = "portable-atomic"
        1369  +
version = "1.11.0"
        1370  +
source = "registry+https://github.com/rust-lang/crates.io-index"
        1371  +
checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
        1372  +
 1361   1373   
[[package]]
 1362   1374   
name = "potential_utf"
 1363   1375   
version = "0.1.2"
 1364   1376   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1365   1377   
checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585"
 1366   1378   
dependencies = [
 1367   1379   
 "zerovec",
 1368   1380   
]
 1369   1381   
 1370   1382   
[[package]]
 1371   1383   
name = "powerfmt"
 1372   1384   
version = "0.2.0"
 1373   1385   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1374   1386   
checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
 1375   1387   
 1376   1388   
[[package]]
 1377   1389   
name = "ppv-lite86"
 1378   1390   
version = "0.2.21"
 1379   1391   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1380   1392   
checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
 1381   1393   
dependencies = [
 1382   1394   
 "zerocopy",
 1383   1395   
]
 1384   1396   
 1385   1397   
[[package]]
 1386   1398   
name = "proc-macro2"
 1387   1399   
version = "1.0.95"
 1388   1400   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1389   1401   
checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
 1390   1402   
dependencies = [
 1391   1403   
 "unicode-ident",
 1392   1404   
]
 1393   1405   
 1394   1406   
[[package]]
 1395   1407   
name = "pyo3"
 1396         -
version = "0.18.3"
        1408  +
version = "0.20.3"
 1397   1409   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1398         -
checksum = "e3b1ac5b3731ba34fdaa9785f8d74d17448cd18f30cf19e0c7e7b1fdb5272109"
        1410  +
checksum = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
 1399   1411   
dependencies = [
 1400   1412   
 "cfg-if",
 1401   1413   
 "indoc",
 1402   1414   
 "libc",
 1403   1415   
 "memoffset",
 1404   1416   
 "parking_lot",
        1417  +
 "portable-atomic",
 1405   1418   
 "pyo3-build-config",
 1406   1419   
 "pyo3-ffi",
 1407   1420   
 "pyo3-macros",
 1408   1421   
 "unindent",
 1409   1422   
]
 1410   1423   
 1411   1424   
[[package]]
 1412   1425   
name = "pyo3-asyncio"
 1413         -
version = "0.18.0"
        1426  +
version = "0.20.0"
 1414   1427   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1415         -
checksum = "d3564762e37035cfc486228e10b0528460fa026d681b5763873c693aa0d5c260"
        1428  +
checksum = "6ea6b68e93db3622f3bb3bf363246cf948ed5375afe7abff98ccbdd50b184995"
 1416   1429   
dependencies = [
 1417   1430   
 "async-channel",
 1418   1431   
 "futures",
 1419   1432   
 "once_cell",
 1420   1433   
 "pin-project-lite",
 1421   1434   
 "pyo3",
 1422   1435   
 "pyo3-asyncio-macros",
 1423   1436   
 "tokio",
 1424   1437   
]
 1425   1438   
 1426   1439   
[[package]]
 1427   1440   
name = "pyo3-asyncio-macros"
 1428         -
version = "0.18.0"
        1441  +
version = "0.20.0"
 1429   1442   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1430         -
checksum = "be72d4cd43a27530306bd0d20d3932182fbdd072c6b98d3638bc37efb9d559dd"
        1443  +
checksum = "56c467178e1da6252c95c29ecf898b133f742e9181dca5def15dc24e19d45a39"
 1431   1444   
dependencies = [
 1432   1445   
 "proc-macro2",
 1433   1446   
 "quote",
 1434   1447   
 "syn 1.0.109",
 1435   1448   
]
 1436   1449   
 1437   1450   
[[package]]
 1438   1451   
name = "pyo3-build-config"
 1439         -
version = "0.18.3"
        1452  +
version = "0.20.3"
 1440   1453   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1441         -
checksum = "9cb946f5ac61bb61a5014924910d936ebd2b23b705f7a4a3c40b05c720b079a3"
        1454  +
checksum = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
 1442   1455   
dependencies = [
 1443   1456   
 "once_cell",
 1444   1457   
 "target-lexicon",
 1445   1458   
]
 1446   1459   
 1447   1460   
[[package]]
 1448   1461   
name = "pyo3-ffi"
 1449         -
version = "0.18.3"
        1462  +
version = "0.20.3"
 1450   1463   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1451         -
checksum = "fd4d7c5337821916ea2a1d21d1092e8443cf34879e53a0ac653fbb98f44ff65c"
        1464  +
checksum = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
 1452   1465   
dependencies = [
 1453   1466   
 "libc",
 1454   1467   
 "pyo3-build-config",
 1455   1468   
]
 1456   1469   
 1457   1470   
[[package]]
 1458   1471   
name = "pyo3-macros"
 1459         -
version = "0.18.3"
        1472  +
version = "0.20.3"
 1460   1473   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1461         -
checksum = "a9d39c55dab3fc5a4b25bbd1ac10a2da452c4aca13bb450f22818a002e29648d"
        1474  +
checksum = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
 1462   1475   
dependencies = [
 1463   1476   
 "proc-macro2",
 1464   1477   
 "pyo3-macros-backend",
 1465   1478   
 "quote",
 1466         -
 "syn 1.0.109",
        1479  +
 "syn 2.0.101",
 1467   1480   
]
 1468   1481   
 1469   1482   
[[package]]
 1470   1483   
name = "pyo3-macros-backend"
 1471         -
version = "0.18.3"
        1484  +
version = "0.20.3"
 1472   1485   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1473         -
checksum = "97daff08a4c48320587b5224cc98d609e3c27b6d437315bd40b605c98eeb5918"
        1486  +
checksum = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
 1474   1487   
dependencies = [
        1488  +
 "heck",
 1475   1489   
 "proc-macro2",
        1490  +
 "pyo3-build-config",
 1476   1491   
 "quote",
 1477         -
 "syn 1.0.109",
        1492  +
 "syn 2.0.101",
 1478   1493   
]
 1479   1494   
 1480   1495   
[[package]]
 1481   1496   
name = "query_map"
 1482   1497   
version = "0.7.0"
 1483   1498   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1484   1499   
checksum = "5eab6b8b1074ef3359a863758dae650c7c0c6027927a085b7af911c8e0bf3a15"
 1485   1500   
dependencies = [
 1486   1501   
 "form_urlencoded",
 1487   1502   
 "serde",
@@ -2160,2175 +2222,2237 @@
 2180   2195   
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
 2181   2196   
 2182   2197   
[[package]]
 2183   2198   
name = "unicode-ident"
 2184   2199   
version = "1.0.18"
 2185   2200   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2186   2201   
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
 2187   2202   
 2188   2203   
[[package]]
 2189   2204   
name = "unindent"
 2190         -
version = "0.1.11"
        2205  +
version = "0.2.4"
 2191   2206   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2192         -
checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c"
        2207  +
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
 2193   2208   
 2194   2209   
[[package]]
 2195   2210   
name = "unique_items"
 2196   2211   
version = "0.0.1"
 2197   2212   
dependencies = [
 2198   2213   
 "aws-smithy-http",
 2199   2214   
 "aws-smithy-http-server",
 2200   2215   
 "aws-smithy-http-server-python",
 2201   2216   
 "aws-smithy-json",
 2202   2217   
 "aws-smithy-runtime-api",

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/Cargo.toml

@@ -16,16 +75,75 @@
   36     36   
version = "0.3"
   37     37   
[dependencies.nom]
   38     38   
version = "7"
   39     39   
[dependencies.parking_lot]
   40     40   
version = "0.12"
   41     41   
[dependencies.percent-encoding]
   42     42   
version = "2.0.0"
   43     43   
[dependencies.pin-project-lite]
   44     44   
version = "0.2"
   45     45   
[dependencies.pyo3]
   46         -
version = "0.18"
          46  +
version = "0.20"
   47     47   
[dependencies.pyo3-asyncio]
   48         -
version = "0.18"
          48  +
version = "0.20"
   49     49   
features = ["attributes", "tokio-runtime", "unstable-streams"]
   50     50   
[dependencies.regex]
   51     51   
version = "1.5.5"
   52     52   
[dependencies.tokio]
   53     53   
version = "1.20.1"
   54     54   
features = ["full"]
   55     55   
[dependencies.tokio-stream]
   56     56   
version = "0.1.12"
   57     57   
[dependencies.tower]
   58     58   
version = "0.4"

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/python/constraints/error/__init__.pyi

@@ -1,1 +35,35 @@
   10     10   
   11     11   
class InternalServerError(Exception):
   12     12   
    message: str
   13     13   
   14     14   
    def __init__(self, message: str) -> None:
   15     15   
        ...
   16     16   
   17     17   
   18     18   
class ValidationException(Exception):
   19     19   
    """
   20         -
    A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
          20  +
    /* StructureGenerator.kt:197 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
   21     21   
    """
   22     22   
   23     23   
    field_list: typing.Optional[typing.List[constraints.model.ValidationExceptionField]]
   24     24   
    """
   25         -
    A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
          25  +
    /* StructureGenerator.kt:231 */A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
   26     26   
    """
   27     27   
   28     28   
    message: str
   29     29   
    """
   30         -
    A summary of the validation failure.
          30  +
    /* StructureGenerator.kt:231 */A summary of the validation failure.
   31     31   
    """
   32     32   
   33     33   
    def __init__(self, message: str, field_list: typing.Optional[typing.List[constraints.model.ValidationExceptionField]] = ...) -> None:
   34     34   
        ...
   35     35   

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/python/constraints/input/__init__.pyi

@@ -60,60 +136,136 @@
   80     80   
    range_short_list_header: typing.Optional[typing.List[int]]
   81     81   
   82     82   
    range_short_list_query: typing.Optional[typing.List[int]]
   83     83   
   84     84   
    range_short_query: int
   85     85   
   86     86   
    range_short_set_header: typing.Optional[typing.List[int]]
   87     87   
   88     88   
    range_short_set_query: typing.Optional[typing.List[int]]
   89     89   
   90         -
    def __init__(self, length_string_label: str, range_integer_label: int, range_short_label: int, range_long_label: int, range_byte_label: int, enum_string_label: constraints.model.EnumString, length_string_header_map: typing.Dict[str, str], length_string_header: typing.Optional[str] = ..., range_integer_header: int, range_short_header: int, range_long_header: int, range_byte_header: int, length_string_set_header: typing.Optional[typing.Set[str]] = ..., list_length_string_header: typing.Optional[typing.List[str]] = ..., length_list_pattern_string_header: typing.Optional[typing.List[str]] = ..., length_set_pattern_string_header: typing.Optional[typing.Set[str]] = ..., range_byte_set_header: typing.Optional[typing.List[int]] = ..., range_short_set_header: typing.Optional[typing.List[int]] = ..., range_integer_set_header: typing.Optional[typing.List[int]] = ..., range_long_set_header: typing.Optional[typing.List[int]] = ..., range_byte_list_header: typing.Optional[typing.List[int]] = ..., range_short_list_header: typing.Optional[typing.List[int]] = ..., range_integer_list_header: typing.Optional[typing.List[int]] = ..., range_long_list_header: typing.Optional[typing.List[int]] = ..., length_string_query: typing.Optional[str] = ..., range_byte_query: int, range_short_query: int, range_integer_query: int, range_long_query: int, enum_string_query: typing.Optional[constraints.model.EnumString] = ..., length_string_list_query: typing.Optional[typing.List[str]] = ..., length_list_pattern_string_query: typing.Optional[typing.List[str]] = ..., length_string_set_query: typing.Optional[typing.Set[str]] = ..., range_byte_list_query: typing.Optional[typing.List[int]] = ..., range_short_list_query: typing.Optional[typing.List[int]] = ..., range_integer_list_query: typing.Optional[typing.List[int]] = ..., range_long_list_query: typing.Optional[typing.List[int]] = ..., range_byte_set_query: typing.Optional[typing.List[int]] = ..., range_short_set_query: typing.Optional[typing.List[int]] = ..., range_integer_set_query: typing.Optional[typing.List[int]] = ..., range_long_set_query: typing.Optional[typing.List[int]] = ..., enum_string_list_query: typing.Optional[typing.List[constraints.model.EnumString]] = ...) -> None:
          90  +
    def __init__(self, length_string_label: str, range_integer_label: int, range_short_label: int, range_long_label: int, range_byte_label: int, enum_string_label: constraints.model.EnumString, length_string_header_map: typing.Dict[str, str], range_integer_header: int, range_short_header: int, range_long_header: int, range_byte_header: int, range_byte_query: int, range_short_query: int, range_integer_query: int, range_long_query: int, length_string_header: typing.Optional[str] = ..., length_string_set_header: typing.Optional[typing.Set[str]] = ..., list_length_string_header: typing.Optional[typing.List[str]] = ..., length_list_pattern_string_header: typing.Optional[typing.List[str]] = ..., length_set_pattern_string_header: typing.Optional[typing.Set[str]] = ..., range_byte_set_header: typing.Optional[typing.List[int]] = ..., range_short_set_header: typing.Optional[typing.List[int]] = ..., range_integer_set_header: typing.Optional[typing.List[int]] = ..., range_long_set_header: typing.Optional[typing.List[int]] = ..., range_byte_list_header: typing.Optional[typing.List[int]] = ..., range_short_list_header: typing.Optional[typing.List[int]] = ..., range_integer_list_header: typing.Optional[typing.List[int]] = ..., range_long_list_header: typing.Optional[typing.List[int]] = ..., length_string_query: typing.Optional[str] = ..., enum_string_query: typing.Optional[constraints.model.EnumString] = ..., length_string_list_query: typing.Optional[typing.List[str]] = ..., length_list_pattern_string_query: typing.Optional[typing.List[str]] = ..., length_string_set_query: typing.Optional[typing.Set[str]] = ..., range_byte_list_query: typing.Optional[typing.List[int]] = ..., range_short_list_query: typing.Optional[typing.List[int]] = ..., range_integer_list_query: typing.Optional[typing.List[int]] = ..., range_long_list_query: typing.Optional[typing.List[int]] = ..., range_byte_set_query: typing.Optional[typing.List[int]] = ..., range_short_set_query: typing.Optional[typing.List[int]] = ..., range_integer_set_query: typing.Optional[typing.List[int]] = ..., range_long_set_query: typing.Optional[typing.List[int]] = ..., enum_string_list_query: typing.Optional[typing.List[constraints.model.EnumString]] = ...) -> None:
   91     91   
        ...
   92     92   
   93     93   
   94     94   
class ConstrainedHttpPayloadBoundShapeOperationInput:
   95     95   
    http_payload_bound_constrained_shape: constraints.model.ConA
   96     96   
   97     97   
    def __init__(self, http_payload_bound_constrained_shape: constraints.model.ConA) -> None:
   98     98   
        ...
   99     99   
  100    100   
  101    101   
class ConstrainedRecursiveShapesOperationInput:
  102    102   
    nested: typing.Optional[constraints.model.RecursiveShapesInputOutputNested1]
  103    103   
  104    104   
    recursive_list: typing.List[constraints.model.RecursiveShapesInputOutputNested1]
  105    105   
  106         -
    def __init__(self, nested: typing.Optional[constraints.model.RecursiveShapesInputOutputNested1] = ..., recursive_list: typing.List[constraints.model.RecursiveShapesInputOutputNested1]) -> None:
         106  +
    def __init__(self, recursive_list: typing.List[constraints.model.RecursiveShapesInputOutputNested1], nested: typing.Optional[constraints.model.RecursiveShapesInputOutputNested1] = ...) -> None:
  107    107   
        ...
  108    108   
  109    109   
  110    110   
class ConstrainedShapesOnlyInOutputOperationInput:
  111    111   
    def __init__(self) -> None:
  112    112   
        ...
  113    113   
  114    114   
  115    115   
class ConstrainedShapesOperationInput:
  116    116   
    con_a: constraints.model.ConA

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/python/constraints/model/__init__.pyi

@@ -1,1 +46,46 @@
    6      6   
    con_b: constraints.model.ConB
    7      7   
    8      8   
    con_b_list: typing.Optional[typing.List[typing.List[constraints.model.ConB]]]
    9      9   
   10     10   
    con_b_map: typing.Optional[typing.Dict[str, str]]
   11     11   
   12     12   
    con_b_set: typing.Optional[typing.List[typing.Set[str]]]
   13     13   
   14     14   
    constrained_union: typing.Optional[constraints.model.ConstrainedUnion]
   15     15   
    """
   16         -
    A union with constrained members.
          16  +
    /* StructureGenerator.kt:231 */A union with constrained members.
   17     17   
    """
   18     18   
   19     19   
    enum_string: typing.Optional[constraints.model.EnumString]
   20     20   
   21     21   
    fixed_length_blob: typing.Optional[constraints.types.Blob]
   22     22   
   23     23   
    fixed_length_string: typing.Optional[str]
   24     24   
   25     25   
    fixed_value_byte: int
   26     26   
@@ -113,113 +173,173 @@
  133    133   
    set_of_range_short: typing.Optional[typing.List[int]]
  134    134   
  135    135   
    sparse_length_list: typing.Optional[typing.List[typing.Optional[str]]]
  136    136   
  137    137   
    sparse_length_map: typing.Optional[typing.Dict[str, typing.Optional[str]]]
  138    138   
  139    139   
    sparse_list: typing.Optional[typing.List[typing.Optional[str]]]
  140    140   
  141    141   
    sparse_map: typing.Optional[typing.Dict[str, typing.Optional[typing.List[str]]]]
  142    142   
  143         -
    def __init__(self, con_b: constraints.model.ConB, opt_con_b: typing.Optional[constraints.model.ConB] = ..., length_string: typing.Optional[str] = ..., min_length_string: typing.Optional[str] = ..., max_length_string: typing.Optional[str] = ..., fixed_length_string: typing.Optional[str] = ..., length_blob: typing.Optional[constraints.types.Blob] = ..., min_length_blob: typing.Optional[constraints.types.Blob] = ..., max_length_blob: typing.Optional[constraints.types.Blob] = ..., fixed_length_blob: typing.Optional[constraints.types.Blob] = ..., range_integer: int, min_range_integer: int, max_range_integer: int, fixed_value_integer: int, range_short: int, min_range_short: int, max_range_short: int, fixed_value_short: int, range_long: int, min_range_long: int, max_range_long: int, fixed_value_long: int, range_byte: int, min_range_byte: int, max_range_byte: int, fixed_value_byte: int, con_b_list: typing.Optional[typing.List[typing.List[constraints.model.ConB]]] = ..., length_list: typing.Optional[typing.List[str]] = ..., sensitive_length_list: typing.Optional[typing.List[constraints.model.SensitiveStructure]] = ..., con_b_set: typing.Optional[typing.List[typing.Set[str]]] = ..., con_b_map: typing.Optional[typing.Dict[str, str]] = ..., length_map: typing.Optional[typing.Dict[str, str]] = ..., map_of_map_of_list_of_list_of_con_b: typing.Optional[typing.Dict[str, typing.Dict[str, typing.List[typing.List[constraints.model.ConB]]]]] = ..., sparse_map: typing.Optional[typing.Dict[str, typing.Optional[typing.List[str]]]] = ..., sparse_list: typing.Optional[typing.List[typing.Optional[str]]] = ..., sparse_length_map: typing.Optional[typing.Dict[str, typing.Optional[str]]] = ..., sparse_length_list: typing.Optional[typing.List[typing.Optional[str]]] = ..., constrained_union: typing.Optional[constraints.model.ConstrainedUnion] = ..., enum_string: typing.Optional[constraints.model.EnumString] = ..., list_of_length_string: typing.Optional[typing.List[str]] = ..., set_of_length_string: typing.Optional[typing.Set[str]] = ..., map_of_length_string: typing.Optional[typing.Dict[str, str]] = ..., list_of_length_blob: typing.Optional[typing.List[constraints.types.Blob]] = ..., map_of_length_blob: typing.Optional[typing.Dict[str, constraints.types.Blob]] = ..., list_of_range_integer: typing.Optional[typing.List[int]] = ..., set_of_range_integer: typing.Optional[typing.List[int]] = ..., map_of_range_integer: typing.Optional[typing.Dict[str, int]] = ..., list_of_range_short: typing.Optional[typing.List[int]] = ..., set_of_range_short: typing.Optional[typing.List[int]] = ..., map_of_range_short: typing.Optional[typing.Dict[str, int]] = ..., list_of_range_long: typing.Optional[typing.List[int]] = ..., set_of_range_long: typing.Optional[typing.List[int]] = ..., map_of_range_long: typing.Optional[typing.Dict[str, int]] = ..., list_of_range_byte: typing.Optional[typing.List[int]] = ..., set_of_range_byte: typing.Optional[typing.List[int]] = ..., map_of_range_byte: typing.Optional[typing.Dict[str, int]] = ..., non_streaming_blob: typing.Optional[constraints.types.Blob] = ..., pattern_string: typing.Optional[str] = ..., map_of_pattern_string: typing.Optional[typing.Dict[str, str]] = ..., list_of_pattern_string: typing.Optional[typing.List[str]] = ..., set_of_pattern_string: typing.Optional[typing.Set[str]] = ..., length_length_pattern_string: typing.Optional[str] = ..., map_of_length_pattern_string: typing.Optional[typing.Dict[str, str]] = ..., list_of_length_pattern_string: typing.Optional[typing.List[str]] = ..., set_of_length_pattern_string: typing.Optional[typing.Set[str]] = ..., length_list_of_pattern_string: typing.Optional[typing.List[str]] = ..., length_set_of_pattern_string: typing.Optional[typing.Set[str]] = ...) -> None:
         143  +
    def __init__(self, con_b: constraints.model.ConB, range_integer: int, min_range_integer: int, max_range_integer: int, fixed_value_integer: int, range_short: int, min_range_short: int, max_range_short: int, fixed_value_short: int, range_long: int, min_range_long: int, max_range_long: int, fixed_value_long: int, range_byte: int, min_range_byte: int, max_range_byte: int, fixed_value_byte: int, opt_con_b: typing.Optional[constraints.model.ConB] = ..., length_string: typing.Optional[str] = ..., min_length_string: typing.Optional[str] = ..., max_length_string: typing.Optional[str] = ..., fixed_length_string: typing.Optional[str] = ..., length_blob: typing.Optional[constraints.types.Blob] = ..., min_length_blob: typing.Optional[constraints.types.Blob] = ..., max_length_blob: typing.Optional[constraints.types.Blob] = ..., fixed_length_blob: typing.Optional[constraints.types.Blob] = ..., con_b_list: typing.Optional[typing.List[typing.List[constraints.model.ConB]]] = ..., length_list: typing.Optional[typing.List[str]] = ..., sensitive_length_list: typing.Optional[typing.List[constraints.model.SensitiveStructure]] = ..., con_b_set: typing.Optional[typing.List[typing.Set[str]]] = ..., con_b_map: typing.Optional[typing.Dict[str, str]] = ..., length_map: typing.Optional[typing.Dict[str, str]] = ..., map_of_map_of_list_of_list_of_con_b: typing.Optional[typing.Dict[str, typing.Dict[str, typing.List[typing.List[constraints.model.ConB]]]]] = ..., sparse_map: typing.Optional[typing.Dict[str, typing.Optional[typing.List[str]]]] = ..., sparse_list: typing.Optional[typing.List[typing.Optional[str]]] = ..., sparse_length_map: typing.Optional[typing.Dict[str, typing.Optional[str]]] = ..., sparse_length_list: typing.Optional[typing.List[typing.Optional[str]]] = ..., constrained_union: typing.Optional[constraints.model.ConstrainedUnion] = ..., enum_string: typing.Optional[constraints.model.EnumString] = ..., list_of_length_string: typing.Optional[typing.List[str]] = ..., set_of_length_string: typing.Optional[typing.Set[str]] = ..., map_of_length_string: typing.Optional[typing.Dict[str, str]] = ..., list_of_length_blob: typing.Optional[typing.List[constraints.types.Blob]] = ..., map_of_length_blob: typing.Optional[typing.Dict[str, constraints.types.Blob]] = ..., list_of_range_integer: typing.Optional[typing.List[int]] = ..., set_of_range_integer: typing.Optional[typing.List[int]] = ..., map_of_range_integer: typing.Optional[typing.Dict[str, int]] = ..., list_of_range_short: typing.Optional[typing.List[int]] = ..., set_of_range_short: typing.Optional[typing.List[int]] = ..., map_of_range_short: typing.Optional[typing.Dict[str, int]] = ..., list_of_range_long: typing.Optional[typing.List[int]] = ..., set_of_range_long: typing.Optional[typing.List[int]] = ..., map_of_range_long: typing.Optional[typing.Dict[str, int]] = ..., list_of_range_byte: typing.Optional[typing.List[int]] = ..., set_of_range_byte: typing.Optional[typing.List[int]] = ..., map_of_range_byte: typing.Optional[typing.Dict[str, int]] = ..., non_streaming_blob: typing.Optional[constraints.types.Blob] = ..., pattern_string: typing.Optional[str] = ..., map_of_pattern_string: typing.Optional[typing.Dict[str, str]] = ..., list_of_pattern_string: typing.Optional[typing.List[str]] = ..., set_of_pattern_string: typing.Optional[typing.Set[str]] = ..., length_length_pattern_string: typing.Optional[str] = ..., map_of_length_pattern_string: typing.Optional[typing.Dict[str, str]] = ..., list_of_length_pattern_string: typing.Optional[typing.List[str]] = ..., set_of_length_pattern_string: typing.Optional[typing.Set[str]] = ..., length_list_of_pattern_string: typing.Optional[typing.List[str]] = ..., length_set_of_pattern_string: typing.Optional[typing.Set[str]] = ...) -> None:
  144    144   
        ...
  145    145   
  146    146   
  147    147   
class ConB:
  148    148   
    int: int
  149    149   
  150    150   
    nice: str
  151    151   
  152    152   
    opt_int: typing.Optional[int]
  153    153   
@@ -355,355 +400,400 @@
  375    375   
  376    376   
class TransitivelyConstrainedStructureInOutput:
  377    377   
    length_string: typing.Optional[str]
  378    378   
  379    379   
    def __init__(self, length_string: typing.Optional[str] = ...) -> None:
  380    380   
        ...
  381    381   
  382    382   
  383    383   
class ValidationExceptionField:
  384    384   
    """
  385         -
    Describes one specific validation failure for an input member.
         385  +
    /* StructureGenerator.kt:197 */Describes one specific validation failure for an input member.
  386    386   
    """
  387    387   
  388    388   
    message: str
  389    389   
    """
  390         -
    A detailed description of the validation failure.
         390  +
    /* StructureGenerator.kt:231 */A detailed description of the validation failure.
  391    391   
    """
  392    392   
  393    393   
    path: str
  394    394   
    """
  395         -
    A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
         395  +
    /* StructureGenerator.kt:231 */A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
  396    396   
    """
  397    397   
  398    398   
    def __init__(self, path: str, message: str) -> None:
  399    399   
        ...
  400    400   

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/python/constraints/output/__init__.pyi

@@ -60,60 +136,136 @@
   80     80   
    range_short_list_header: typing.Optional[typing.List[int]]
   81     81   
   82     82   
    range_short_list_query: typing.Optional[typing.List[int]]
   83     83   
   84     84   
    range_short_query: int
   85     85   
   86     86   
    range_short_set_header: typing.Optional[typing.List[int]]
   87     87   
   88     88   
    range_short_set_query: typing.Optional[typing.List[int]]
   89     89   
   90         -
    def __init__(self, length_string_label: str, range_integer_label: int, range_short_label: int, range_long_label: int, range_byte_label: int, enum_string_label: constraints.model.EnumString, length_string_header_map: typing.Dict[str, str], length_string_header: typing.Optional[str] = ..., range_integer_header: int, range_short_header: int, range_long_header: int, range_byte_header: int, length_string_set_header: typing.Optional[typing.Set[str]] = ..., list_length_string_header: typing.Optional[typing.List[str]] = ..., length_list_pattern_string_header: typing.Optional[typing.List[str]] = ..., length_set_pattern_string_header: typing.Optional[typing.Set[str]] = ..., range_byte_set_header: typing.Optional[typing.List[int]] = ..., range_short_set_header: typing.Optional[typing.List[int]] = ..., range_integer_set_header: typing.Optional[typing.List[int]] = ..., range_long_set_header: typing.Optional[typing.List[int]] = ..., range_byte_list_header: typing.Optional[typing.List[int]] = ..., range_short_list_header: typing.Optional[typing.List[int]] = ..., range_integer_list_header: typing.Optional[typing.List[int]] = ..., range_long_list_header: typing.Optional[typing.List[int]] = ..., length_string_query: typing.Optional[str] = ..., range_byte_query: int, range_short_query: int, range_integer_query: int, range_long_query: int, enum_string_query: typing.Optional[constraints.model.EnumString] = ..., length_string_list_query: typing.Optional[typing.List[str]] = ..., length_list_pattern_string_query: typing.Optional[typing.List[str]] = ..., length_string_set_query: typing.Optional[typing.Set[str]] = ..., range_byte_list_query: typing.Optional[typing.List[int]] = ..., range_short_list_query: typing.Optional[typing.List[int]] = ..., range_integer_list_query: typing.Optional[typing.List[int]] = ..., range_long_list_query: typing.Optional[typing.List[int]] = ..., range_byte_set_query: typing.Optional[typing.List[int]] = ..., range_short_set_query: typing.Optional[typing.List[int]] = ..., range_integer_set_query: typing.Optional[typing.List[int]] = ..., range_long_set_query: typing.Optional[typing.List[int]] = ..., enum_string_list_query: typing.Optional[typing.List[constraints.model.EnumString]] = ...) -> None:
          90  +
    def __init__(self, length_string_label: str, range_integer_label: int, range_short_label: int, range_long_label: int, range_byte_label: int, enum_string_label: constraints.model.EnumString, length_string_header_map: typing.Dict[str, str], range_integer_header: int, range_short_header: int, range_long_header: int, range_byte_header: int, range_byte_query: int, range_short_query: int, range_integer_query: int, range_long_query: int, length_string_header: typing.Optional[str] = ..., length_string_set_header: typing.Optional[typing.Set[str]] = ..., list_length_string_header: typing.Optional[typing.List[str]] = ..., length_list_pattern_string_header: typing.Optional[typing.List[str]] = ..., length_set_pattern_string_header: typing.Optional[typing.Set[str]] = ..., range_byte_set_header: typing.Optional[typing.List[int]] = ..., range_short_set_header: typing.Optional[typing.List[int]] = ..., range_integer_set_header: typing.Optional[typing.List[int]] = ..., range_long_set_header: typing.Optional[typing.List[int]] = ..., range_byte_list_header: typing.Optional[typing.List[int]] = ..., range_short_list_header: typing.Optional[typing.List[int]] = ..., range_integer_list_header: typing.Optional[typing.List[int]] = ..., range_long_list_header: typing.Optional[typing.List[int]] = ..., length_string_query: typing.Optional[str] = ..., enum_string_query: typing.Optional[constraints.model.EnumString] = ..., length_string_list_query: typing.Optional[typing.List[str]] = ..., length_list_pattern_string_query: typing.Optional[typing.List[str]] = ..., length_string_set_query: typing.Optional[typing.Set[str]] = ..., range_byte_list_query: typing.Optional[typing.List[int]] = ..., range_short_list_query: typing.Optional[typing.List[int]] = ..., range_integer_list_query: typing.Optional[typing.List[int]] = ..., range_long_list_query: typing.Optional[typing.List[int]] = ..., range_byte_set_query: typing.Optional[typing.List[int]] = ..., range_short_set_query: typing.Optional[typing.List[int]] = ..., range_integer_set_query: typing.Optional[typing.List[int]] = ..., range_long_set_query: typing.Optional[typing.List[int]] = ..., enum_string_list_query: typing.Optional[typing.List[constraints.model.EnumString]] = ...) -> None:
   91     91   
        ...
   92     92   
   93     93   
   94     94   
class ConstrainedHttpPayloadBoundShapeOperationOutput:
   95     95   
    http_payload_bound_constrained_shape: constraints.model.ConA
   96     96   
   97     97   
    def __init__(self, http_payload_bound_constrained_shape: constraints.model.ConA) -> None:
   98     98   
        ...
   99     99   
  100    100   
  101    101   
class ConstrainedRecursiveShapesOperationOutput:
  102    102   
    nested: typing.Optional[constraints.model.RecursiveShapesInputOutputNested1]
  103    103   
  104    104   
    recursive_list: typing.List[constraints.model.RecursiveShapesInputOutputNested1]
  105    105   
  106         -
    def __init__(self, nested: typing.Optional[constraints.model.RecursiveShapesInputOutputNested1] = ..., recursive_list: typing.List[constraints.model.RecursiveShapesInputOutputNested1]) -> None:
         106  +
    def __init__(self, recursive_list: typing.List[constraints.model.RecursiveShapesInputOutputNested1], nested: typing.Optional[constraints.model.RecursiveShapesInputOutputNested1] = ...) -> None:
  107    107   
        ...
  108    108   
  109    109   
  110    110   
class ConstrainedShapesOnlyInOutputOperationOutput:
  111    111   
    list: typing.Optional[typing.List[constraints.model.ConstrainedUnionInOutput]]
  112    112   
  113    113   
    map: typing.Optional[typing.Dict[str, constraints.model.TransitivelyConstrainedStructureInOutput]]
  114    114   
  115    115   
    union: typing.Optional[constraints.model.ConstrainedUnionInOutput]
  116    116   

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/src/constrained.rs

@@ -1,1 +722,1119 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
    3      3   
pub(crate) mod map_of_enum_string_constrained {
    4      4   
           5  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
    5      6   
    #[derive(Debug, Clone)]
    6      7   
    pub(crate) struct MapOfEnumStringConstrained(
    7      8   
        pub(crate) std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
    8      9   
    );
    9     10   
   10     11   
    impl crate::constrained::Constrained for MapOfEnumStringConstrained {
   11     12   
        type Unconstrained =
   12     13   
            crate::unconstrained::map_of_enum_string_unconstrained::MapOfEnumStringUnconstrained;
   13     14   
    }
          15  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
   14     16   
    impl ::std::convert::From<MapOfEnumStringConstrained>
   15     17   
        for ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>
   16     18   
    {
          19  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
   17     20   
        fn from(v: MapOfEnumStringConstrained) -> Self {
          21  +
            /* PubCrateConstrainedMapGenerator.kt:144 */
   18     22   
            v.0
          23  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
   19     24   
        }
          25  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
   20     26   
    }
          27  +
          28  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
   21     29   
}
   22     30   
pub(crate) mod map_of_list_of_length_pattern_string_constrained {
   23     31   
          32  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
   24     33   
    #[derive(Debug, Clone)]
   25     34   
    pub(crate) struct MapOfListOfLengthPatternStringConstrained(pub(crate) std::collections::HashMap<crate::model::LengthPatternString, crate::constrained::list_of_length_pattern_string_constrained::ListOfLengthPatternStringConstrained>);
   26     35   
   27     36   
    impl crate::constrained::Constrained for MapOfListOfLengthPatternStringConstrained {
   28     37   
        type Unconstrained = crate::unconstrained::map_of_list_of_length_pattern_string_unconstrained::MapOfListOfLengthPatternStringUnconstrained;
   29     38   
    }
          39  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
   30     40   
    impl ::std::convert::From<MapOfListOfLengthPatternStringConstrained>
   31     41   
        for ::std::collections::HashMap<
   32     42   
            ::std::string::String,
   33     43   
            ::std::vec::Vec<::std::string::String>,
   34     44   
        >
   35     45   
    {
          46  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
   36     47   
        fn from(v: MapOfListOfLengthPatternStringConstrained) -> Self {
          48  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
   37     49   
            v.0.into_iter()
   38     50   
                .map(|(k, v)| {
          51  +
                    /* PubCrateConstrainedMapGenerator.kt:132 */
   39     52   
                    let k = k.into();
   40         -
                    let v = { v.into() };
          53  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
          54  +
                    let v = {
          55  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
          56  +
                        v.into()
          57  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
          58  +
                    };
          59  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
   41     60   
                    (k, v)
          61  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
   42     62   
                })
   43     63   
                .collect()
          64  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
   44     65   
        }
          66  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
   45     67   
    }
          68  +
          69  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
   46     70   
}
   47     71   
pub(crate) mod list_of_length_pattern_string_constrained {
   48     72   
          73  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
   49     74   
    #[derive(Debug, Clone)]
   50     75   
    pub(crate) struct ListOfLengthPatternStringConstrained(
   51     76   
        pub(crate) std::vec::Vec<crate::model::LengthPatternString>,
   52     77   
    );
   53     78   
   54     79   
    impl crate::constrained::Constrained for ListOfLengthPatternStringConstrained {
   55     80   
        type Unconstrained = crate::unconstrained::list_of_length_pattern_string_unconstrained::ListOfLengthPatternStringUnconstrained;
   56     81   
    }
          82  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
   57     83   
    impl ::std::convert::From<ListOfLengthPatternStringConstrained>
   58     84   
        for ::std::vec::Vec<::std::string::String>
   59     85   
    {
          86  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
   60     87   
        fn from(v: ListOfLengthPatternStringConstrained) -> Self {
   61         -
            v.0.into_iter().map(|item| item.into()).collect()
          88  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */
          89  +
            v.0.into_iter().map(|item|
          90  +
                /* PubCrateConstrainedCollectionGenerator.kt:145 */item.into()
          91  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */).collect()
          92  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
   62     93   
        }
          94  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
   63     95   
    }
          96  +
          97  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
   64     98   
}
   65     99   
pub(crate) mod map_of_length_pattern_string_constrained {
   66    100   
         101  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
   67    102   
    #[derive(Debug, Clone)]
   68    103   
    pub(crate) struct MapOfLengthPatternStringConstrained(
   69    104   
        pub(crate)  std::collections::HashMap<
   70    105   
            crate::model::LengthPatternString,
   71    106   
            crate::model::LengthPatternString,
   72    107   
        >,
   73    108   
    );
   74    109   
   75    110   
    impl crate::constrained::Constrained for MapOfLengthPatternStringConstrained {
   76    111   
        type Unconstrained = crate::unconstrained::map_of_length_pattern_string_unconstrained::MapOfLengthPatternStringUnconstrained;
   77    112   
    }
         113  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
   78    114   
    impl ::std::convert::From<MapOfLengthPatternStringConstrained>
   79    115   
        for ::std::collections::HashMap<::std::string::String, ::std::string::String>
   80    116   
    {
         117  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
   81    118   
        fn from(v: MapOfLengthPatternStringConstrained) -> Self {
         119  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
   82    120   
            v.0.into_iter()
   83    121   
                .map(|(k, v)| {
         122  +
                    /* PubCrateConstrainedMapGenerator.kt:132 */
   84    123   
                    let k = k.into();
   85         -
                    let v = { v.into() };
         124  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         125  +
                    let v = {
         126  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         127  +
                        v.into()
         128  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         129  +
                    };
         130  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
   86    131   
                    (k, v)
         132  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
   87    133   
                })
   88    134   
                .collect()
         135  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
   89    136   
        }
         137  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
   90    138   
    }
         139  +
         140  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
   91    141   
}
   92    142   
pub(crate) mod map_of_list_of_pattern_string_constrained {
   93    143   
         144  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
   94    145   
    #[derive(Debug, Clone)]
   95    146   
    pub(crate) struct MapOfListOfPatternStringConstrained(
   96    147   
        pub(crate)  std::collections::HashMap<
   97    148   
            crate::model::PatternString,
   98    149   
            crate::constrained::list_of_pattern_string_constrained::ListOfPatternStringConstrained,
   99    150   
        >,
  100    151   
    );
  101    152   
  102    153   
    impl crate::constrained::Constrained for MapOfListOfPatternStringConstrained {
  103    154   
        type Unconstrained = crate::unconstrained::map_of_list_of_pattern_string_unconstrained::MapOfListOfPatternStringUnconstrained;
  104    155   
    }
         156  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  105    157   
    impl ::std::convert::From<MapOfListOfPatternStringConstrained>
  106    158   
        for ::std::collections::HashMap<
  107    159   
            ::std::string::String,
  108    160   
            ::std::vec::Vec<::std::string::String>,
  109    161   
        >
  110    162   
    {
         163  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  111    164   
        fn from(v: MapOfListOfPatternStringConstrained) -> Self {
         165  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  112    166   
            v.0.into_iter()
  113    167   
                .map(|(k, v)| {
         168  +
                    /* PubCrateConstrainedMapGenerator.kt:132 */
  114    169   
                    let k = k.into();
  115         -
                    let v = { v.into() };
         170  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         171  +
                    let v = {
         172  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         173  +
                        v.into()
         174  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         175  +
                    };
         176  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  116    177   
                    (k, v)
         178  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  117    179   
                })
  118    180   
                .collect()
         181  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  119    182   
        }
         183  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  120    184   
    }
         185  +
         186  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  121    187   
}
  122    188   
pub(crate) mod list_of_pattern_string_constrained {
  123    189   
         190  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  124    191   
    #[derive(Debug, Clone)]
  125    192   
    pub(crate) struct ListOfPatternStringConstrained(
  126    193   
        pub(crate) std::vec::Vec<crate::model::PatternString>,
  127    194   
    );
  128    195   
  129    196   
    impl crate::constrained::Constrained for ListOfPatternStringConstrained {
  130    197   
        type Unconstrained = crate::unconstrained::list_of_pattern_string_unconstrained::ListOfPatternStringUnconstrained;
  131    198   
    }
         199  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
  132    200   
    impl ::std::convert::From<ListOfPatternStringConstrained>
  133    201   
        for ::std::vec::Vec<::std::string::String>
  134    202   
    {
         203  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
  135    204   
        fn from(v: ListOfPatternStringConstrained) -> Self {
  136         -
            v.0.into_iter().map(|item| item.into()).collect()
         205  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */
         206  +
            v.0.into_iter().map(|item|
         207  +
                /* PubCrateConstrainedCollectionGenerator.kt:145 */item.into()
         208  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */).collect()
         209  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
  137    210   
        }
         211  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
  138    212   
    }
         213  +
         214  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  139    215   
}
  140    216   
pub(crate) mod map_of_pattern_string_constrained {
  141    217   
         218  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  142    219   
    #[derive(Debug, Clone)]
  143    220   
    pub(crate) struct MapOfPatternStringConstrained(
  144    221   
        pub(crate) 
  145    222   
            std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
  146    223   
    );
  147    224   
  148    225   
    impl crate::constrained::Constrained for MapOfPatternStringConstrained {
  149    226   
        type Unconstrained = crate::unconstrained::map_of_pattern_string_unconstrained::MapOfPatternStringUnconstrained;
  150    227   
    }
         228  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  151    229   
    impl ::std::convert::From<MapOfPatternStringConstrained>
  152    230   
        for ::std::collections::HashMap<::std::string::String, ::std::string::String>
  153    231   
    {
         232  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  154    233   
        fn from(v: MapOfPatternStringConstrained) -> Self {
         234  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  155    235   
            v.0.into_iter()
  156    236   
                .map(|(k, v)| {
         237  +
                    /* PubCrateConstrainedMapGenerator.kt:132 */
  157    238   
                    let k = k.into();
  158         -
                    let v = { v.into() };
         239  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         240  +
                    let v = {
         241  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         242  +
                        v.into()
         243  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         244  +
                    };
         245  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  159    246   
                    (k, v)
         247  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  160    248   
                })
  161    249   
                .collect()
         250  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  162    251   
        }
         252  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  163    253   
    }
         254  +
         255  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  164    256   
}
  165    257   
pub(crate) mod map_of_list_of_enum_string_constrained {
  166    258   
         259  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  167    260   
    #[derive(Debug, Clone)]
  168    261   
    pub(crate) struct MapOfListOfEnumStringConstrained(
  169    262   
        pub(crate)  std::collections::HashMap<
  170    263   
            crate::model::EnumString,
  171    264   
            crate::constrained::list_of_enum_string_constrained::ListOfEnumStringConstrained,
  172    265   
        >,
  173    266   
    );
  174    267   
  175    268   
    impl crate::constrained::Constrained for MapOfListOfEnumStringConstrained {
  176    269   
        type Unconstrained = crate::unconstrained::map_of_list_of_enum_string_unconstrained::MapOfListOfEnumStringUnconstrained;
  177    270   
    }
         271  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  178    272   
    impl ::std::convert::From<MapOfListOfEnumStringConstrained>
  179    273   
        for ::std::collections::HashMap<
  180    274   
            crate::model::EnumString,
  181    275   
            ::std::vec::Vec<crate::model::EnumString>,
  182    276   
        >
  183    277   
    {
         278  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  184    279   
        fn from(v: MapOfListOfEnumStringConstrained) -> Self {
         280  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  185    281   
            v.0.into_iter()
  186    282   
                .map(|(k, v)| {
  187         -
                    let v = { v.into() };
         283  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         284  +
                    let v = {
         285  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         286  +
                        v.into()
         287  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         288  +
                    };
         289  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  188    290   
                    (k, v)
         291  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  189    292   
                })
  190    293   
                .collect()
         294  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  191    295   
        }
         296  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  192    297   
    }
         298  +
         299  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  193    300   
}
  194    301   
pub(crate) mod list_of_enum_string_constrained {
  195    302   
         303  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  196    304   
    #[derive(Debug, Clone)]
  197    305   
    pub(crate) struct ListOfEnumStringConstrained(
  198    306   
        pub(crate) std::vec::Vec<crate::model::EnumString>,
  199    307   
    );
  200    308   
  201    309   
    impl crate::constrained::Constrained for ListOfEnumStringConstrained {
  202    310   
        type Unconstrained =
  203    311   
            crate::unconstrained::list_of_enum_string_unconstrained::ListOfEnumStringUnconstrained;
  204    312   
    }
         313  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
  205    314   
    impl ::std::convert::From<ListOfEnumStringConstrained>
  206    315   
        for ::std::vec::Vec<crate::model::EnumString>
  207    316   
    {
         317  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
  208    318   
        fn from(v: ListOfEnumStringConstrained) -> Self {
         319  +
            /* PubCrateConstrainedCollectionGenerator.kt:149 */
  209    320   
            v.0
         321  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
  210    322   
        }
         323  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
  211    324   
    }
         325  +
         326  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  212    327   
}
  213    328   
pub(crate) mod map_of_length_list_of_pattern_string_constrained {
  214    329   
         330  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  215    331   
    #[derive(Debug, Clone)]
  216    332   
    pub(crate) struct MapOfLengthListOfPatternStringConstrained(
  217    333   
        pub(crate)  std::collections::HashMap<
  218    334   
            crate::model::PatternString,
  219    335   
            crate::model::LengthListOfPatternString,
  220    336   
        >,
  221    337   
    );
  222    338   
  223    339   
    impl crate::constrained::Constrained for MapOfLengthListOfPatternStringConstrained {
  224    340   
        type Unconstrained = crate::unconstrained::map_of_length_list_of_pattern_string_unconstrained::MapOfLengthListOfPatternStringUnconstrained;
  225    341   
    }
         342  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  226    343   
    impl ::std::convert::From<MapOfLengthListOfPatternStringConstrained>
  227    344   
        for ::std::collections::HashMap<
  228    345   
            ::std::string::String,
  229    346   
            ::std::vec::Vec<::std::string::String>,
  230    347   
        >
  231    348   
    {
         349  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  232    350   
        fn from(v: MapOfLengthListOfPatternStringConstrained) -> Self {
         351  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  233    352   
            v.0.into_iter()
  234    353   
                .map(|(k, v)| {
         354  +
                    /* PubCrateConstrainedMapGenerator.kt:132 */
  235    355   
                    let k = k.into();
  236         -
                    let v = { v.into() };
         356  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         357  +
                    let v = {
         358  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         359  +
                        v.into()
         360  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         361  +
                    };
         362  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  237    363   
                    (k, v)
         364  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  238    365   
                })
  239    366   
                .collect()
         367  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  240    368   
        }
         369  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  241    370   
    }
         371  +
         372  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  242    373   
}
  243    374   
pub(crate) mod map_of_set_of_length_string_constrained {
  244    375   
         376  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  245    377   
    #[derive(Debug, Clone)]
  246    378   
    pub(crate) struct MapOfSetOfLengthStringConstrained(
  247    379   
        pub(crate) 
  248    380   
            std::collections::HashMap<crate::model::LengthString, crate::model::SetOfLengthString>,
  249    381   
    );
  250    382   
  251    383   
    impl crate::constrained::Constrained for MapOfSetOfLengthStringConstrained {
  252    384   
        type Unconstrained = crate::unconstrained::map_of_set_of_length_string_unconstrained::MapOfSetOfLengthStringUnconstrained;
  253    385   
    }
         386  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  254    387   
    impl ::std::convert::From<MapOfSetOfLengthStringConstrained>
  255    388   
        for ::std::collections::HashMap<
  256    389   
            ::std::string::String,
  257    390   
            ::std::vec::Vec<::std::string::String>,
  258    391   
        >
  259    392   
    {
         393  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  260    394   
        fn from(v: MapOfSetOfLengthStringConstrained) -> Self {
         395  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  261    396   
            v.0.into_iter()
  262    397   
                .map(|(k, v)| {
         398  +
                    /* PubCrateConstrainedMapGenerator.kt:132 */
  263    399   
                    let k = k.into();
  264         -
                    let v = { v.into() };
         400  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         401  +
                    let v = {
         402  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         403  +
                        v.into()
         404  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         405  +
                    };
         406  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  265    407   
                    (k, v)
         408  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  266    409   
                })
  267    410   
                .collect()
         411  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  268    412   
        }
         413  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  269    414   
    }
         415  +
         416  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  270    417   
}
  271    418   
pub(crate) mod map_of_list_of_length_string_constrained {
  272    419   
         420  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  273    421   
    #[derive(Debug, Clone)]
  274    422   
    pub(crate) struct MapOfListOfLengthStringConstrained(
  275    423   
        pub(crate)  std::collections::HashMap<
  276    424   
            crate::model::LengthString,
  277    425   
            crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained,
  278    426   
        >,
  279    427   
    );
  280    428   
  281    429   
    impl crate::constrained::Constrained for MapOfListOfLengthStringConstrained {
  282    430   
        type Unconstrained = crate::unconstrained::map_of_list_of_length_string_unconstrained::MapOfListOfLengthStringUnconstrained;
  283    431   
    }
         432  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  284    433   
    impl ::std::convert::From<MapOfListOfLengthStringConstrained>
  285    434   
        for ::std::collections::HashMap<
  286    435   
            ::std::string::String,
  287    436   
            ::std::vec::Vec<::std::string::String>,
  288    437   
        >
  289    438   
    {
         439  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  290    440   
        fn from(v: MapOfListOfLengthStringConstrained) -> Self {
         441  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  291    442   
            v.0.into_iter()
  292    443   
                .map(|(k, v)| {
         444  +
                    /* PubCrateConstrainedMapGenerator.kt:132 */
  293    445   
                    let k = k.into();
  294         -
                    let v = { v.into() };
         446  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         447  +
                    let v = {
         448  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         449  +
                        v.into()
         450  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         451  +
                    };
         452  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  295    453   
                    (k, v)
         454  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  296    455   
                })
  297    456   
                .collect()
         457  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  298    458   
        }
         459  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  299    460   
    }
         461  +
         462  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  300    463   
}
  301    464   
pub(crate) mod list_of_length_string_constrained {
  302    465   
         466  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  303    467   
    #[derive(Debug, Clone)]
  304    468   
    pub(crate) struct ListOfLengthStringConstrained(
  305    469   
        pub(crate) std::vec::Vec<crate::model::LengthString>,
  306    470   
    );
  307    471   
  308    472   
    impl crate::constrained::Constrained for ListOfLengthStringConstrained {
  309    473   
        type Unconstrained = crate::unconstrained::list_of_length_string_unconstrained::ListOfLengthStringUnconstrained;
  310    474   
    }
         475  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
  311    476   
    impl ::std::convert::From<ListOfLengthStringConstrained>
  312    477   
        for ::std::vec::Vec<::std::string::String>
  313    478   
    {
         479  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
  314    480   
        fn from(v: ListOfLengthStringConstrained) -> Self {
  315         -
            v.0.into_iter().map(|item| item.into()).collect()
         481  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */
         482  +
            v.0.into_iter().map(|item|
         483  +
                /* PubCrateConstrainedCollectionGenerator.kt:145 */item.into()
         484  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */).collect()
         485  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
  316    486   
        }
         487  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
  317    488   
    }
         489  +
         490  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  318    491   
}
  319    492   
pub(crate) mod map_of_length_string_constrained {
  320    493   
         494  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  321    495   
    #[derive(Debug, Clone)]
  322    496   
    pub(crate) struct MapOfLengthStringConstrained(
  323    497   
        pub(crate) std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
  324    498   
    );
  325    499   
  326    500   
    impl crate::constrained::Constrained for MapOfLengthStringConstrained {
  327    501   
        type Unconstrained = crate::unconstrained::map_of_length_string_unconstrained::MapOfLengthStringUnconstrained;
  328    502   
    }
         503  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  329    504   
    impl ::std::convert::From<MapOfLengthStringConstrained>
  330    505   
        for ::std::collections::HashMap<::std::string::String, ::std::string::String>
  331    506   
    {
         507  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  332    508   
        fn from(v: MapOfLengthStringConstrained) -> Self {
         509  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  333    510   
            v.0.into_iter()
  334    511   
                .map(|(k, v)| {
         512  +
                    /* PubCrateConstrainedMapGenerator.kt:132 */
  335    513   
                    let k = k.into();
  336         -
                    let v = { v.into() };
         514  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         515  +
                    let v = {
         516  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         517  +
                        v.into()
         518  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         519  +
                    };
         520  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  337    521   
                    (k, v)
         522  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  338    523   
                })
  339    524   
                .collect()
         525  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  340    526   
        }
         527  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  341    528   
    }
         529  +
         530  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  342    531   
}
  343    532   
pub(crate) mod recursive_list_constrained {
  344    533   
         534  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  345    535   
    #[derive(Debug, Clone)]
  346    536   
    pub(crate) struct RecursiveListConstrained(
  347    537   
        pub(crate) std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
  348    538   
    );
  349    539   
  350    540   
    impl crate::constrained::Constrained for RecursiveListConstrained {
  351    541   
        type Unconstrained =
  352    542   
            crate::unconstrained::recursive_list_unconstrained::RecursiveListUnconstrained;
  353    543   
    }
         544  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
  354    545   
    impl ::std::convert::From<RecursiveListConstrained>
  355    546   
        for ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>
  356    547   
    {
         548  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
  357    549   
        fn from(v: RecursiveListConstrained) -> Self {
         550  +
            /* PubCrateConstrainedCollectionGenerator.kt:149 */
  358    551   
            v.0
         552  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
  359    553   
        }
         554  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
  360    555   
    }
         556  +
         557  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  361    558   
}
  362    559   
pub(crate) mod map_of_range_byte_constrained {
  363    560   
         561  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  364    562   
    #[derive(Debug, Clone)]
  365    563   
    pub(crate) struct MapOfRangeByteConstrained(
  366    564   
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
  367    565   
    );
  368    566   
  369    567   
    impl crate::constrained::Constrained for MapOfRangeByteConstrained {
  370    568   
        type Unconstrained =
  371    569   
            crate::unconstrained::map_of_range_byte_unconstrained::MapOfRangeByteUnconstrained;
  372    570   
    }
         571  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  373    572   
    impl ::std::convert::From<MapOfRangeByteConstrained>
  374    573   
        for ::std::collections::HashMap<::std::string::String, i8>
  375    574   
    {
         575  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  376    576   
        fn from(v: MapOfRangeByteConstrained) -> Self {
         577  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  377    578   
            v.0.into_iter()
  378    579   
                .map(|(k, v)| {
  379         -
                    let v = { v.into() };
         580  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         581  +
                    let v = {
         582  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         583  +
                        v.into()
         584  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         585  +
                    };
         586  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  380    587   
                    (k, v)
         588  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  381    589   
                })
  382    590   
                .collect()
         591  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  383    592   
        }
         593  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  384    594   
    }
         595  +
         596  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  385    597   
}
  386    598   
pub(crate) mod list_of_range_byte_constrained {
  387    599   
         600  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  388    601   
    #[derive(Debug, Clone)]
  389    602   
    pub(crate) struct ListOfRangeByteConstrained(pub(crate) std::vec::Vec<crate::model::RangeByte>);
  390    603   
  391    604   
    impl crate::constrained::Constrained for ListOfRangeByteConstrained {
  392    605   
        type Unconstrained =
  393    606   
            crate::unconstrained::list_of_range_byte_unconstrained::ListOfRangeByteUnconstrained;
  394    607   
    }
         608  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
  395    609   
    impl ::std::convert::From<ListOfRangeByteConstrained> for ::std::vec::Vec<i8> {
         610  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
  396    611   
        fn from(v: ListOfRangeByteConstrained) -> Self {
  397         -
            v.0.into_iter().map(|item| item.into()).collect()
         612  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */
         613  +
            v.0.into_iter().map(|item|
         614  +
                /* PubCrateConstrainedCollectionGenerator.kt:145 */item.into()
         615  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */).collect()
         616  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
  398    617   
        }
         618  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
  399    619   
    }
         620  +
         621  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  400    622   
}
  401    623   
pub(crate) mod map_of_range_long_constrained {
  402    624   
         625  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  403    626   
    #[derive(Debug, Clone)]
  404    627   
    pub(crate) struct MapOfRangeLongConstrained(
  405    628   
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
  406    629   
    );
  407    630   
  408    631   
    impl crate::constrained::Constrained for MapOfRangeLongConstrained {
  409    632   
        type Unconstrained =
  410    633   
            crate::unconstrained::map_of_range_long_unconstrained::MapOfRangeLongUnconstrained;
  411    634   
    }
         635  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  412    636   
    impl ::std::convert::From<MapOfRangeLongConstrained>
  413    637   
        for ::std::collections::HashMap<::std::string::String, i64>
  414    638   
    {
         639  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  415    640   
        fn from(v: MapOfRangeLongConstrained) -> Self {
         641  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  416    642   
            v.0.into_iter()
  417    643   
                .map(|(k, v)| {
  418         -
                    let v = { v.into() };
         644  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         645  +
                    let v = {
         646  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         647  +
                        v.into()
         648  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         649  +
                    };
         650  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  419    651   
                    (k, v)
         652  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  420    653   
                })
  421    654   
                .collect()
         655  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  422    656   
        }
         657  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  423    658   
    }
         659  +
         660  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  424    661   
}
  425    662   
pub(crate) mod list_of_range_long_constrained {
  426    663   
         664  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  427    665   
    #[derive(Debug, Clone)]
  428    666   
    pub(crate) struct ListOfRangeLongConstrained(pub(crate) std::vec::Vec<crate::model::RangeLong>);
  429    667   
  430    668   
    impl crate::constrained::Constrained for ListOfRangeLongConstrained {
  431    669   
        type Unconstrained =
  432    670   
            crate::unconstrained::list_of_range_long_unconstrained::ListOfRangeLongUnconstrained;
  433    671   
    }
         672  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
  434    673   
    impl ::std::convert::From<ListOfRangeLongConstrained> for ::std::vec::Vec<i64> {
         674  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
  435    675   
        fn from(v: ListOfRangeLongConstrained) -> Self {
  436         -
            v.0.into_iter().map(|item| item.into()).collect()
         676  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */
         677  +
            v.0.into_iter().map(|item|
         678  +
                /* PubCrateConstrainedCollectionGenerator.kt:145 */item.into()
         679  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */).collect()
         680  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
  437    681   
        }
         682  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
  438    683   
    }
         684  +
         685  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  439    686   
}
  440    687   
pub(crate) mod map_of_range_short_constrained {
  441    688   
         689  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  442    690   
    #[derive(Debug, Clone)]
  443    691   
    pub(crate) struct MapOfRangeShortConstrained(
  444    692   
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
  445    693   
    );
  446    694   
  447    695   
    impl crate::constrained::Constrained for MapOfRangeShortConstrained {
  448    696   
        type Unconstrained =
  449    697   
            crate::unconstrained::map_of_range_short_unconstrained::MapOfRangeShortUnconstrained;
  450    698   
    }
         699  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  451    700   
    impl ::std::convert::From<MapOfRangeShortConstrained>
  452    701   
        for ::std::collections::HashMap<::std::string::String, i16>
  453    702   
    {
         703  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  454    704   
        fn from(v: MapOfRangeShortConstrained) -> Self {
         705  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  455    706   
            v.0.into_iter()
  456    707   
                .map(|(k, v)| {
  457         -
                    let v = { v.into() };
         708  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         709  +
                    let v = {
         710  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         711  +
                        v.into()
         712  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         713  +
                    };
         714  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  458    715   
                    (k, v)
         716  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  459    717   
                })
  460    718   
                .collect()
         719  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  461    720   
        }
         721  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  462    722   
    }
         723  +
         724  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  463    725   
}
  464    726   
pub(crate) mod list_of_range_short_constrained {
  465    727   
         728  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  466    729   
    #[derive(Debug, Clone)]
  467    730   
    pub(crate) struct ListOfRangeShortConstrained(
  468    731   
        pub(crate) std::vec::Vec<crate::model::RangeShort>,
  469    732   
    );
  470    733   
  471    734   
    impl crate::constrained::Constrained for ListOfRangeShortConstrained {
  472    735   
        type Unconstrained =
  473    736   
            crate::unconstrained::list_of_range_short_unconstrained::ListOfRangeShortUnconstrained;
  474    737   
    }
         738  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
  475    739   
    impl ::std::convert::From<ListOfRangeShortConstrained> for ::std::vec::Vec<i16> {
         740  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
  476    741   
        fn from(v: ListOfRangeShortConstrained) -> Self {
  477         -
            v.0.into_iter().map(|item| item.into()).collect()
         742  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */
         743  +
            v.0.into_iter().map(|item|
         744  +
                /* PubCrateConstrainedCollectionGenerator.kt:145 */item.into()
         745  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */).collect()
         746  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
  478    747   
        }
         748  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
  479    749   
    }
         750  +
         751  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  480    752   
}
  481    753   
pub(crate) mod map_of_range_integer_constrained {
  482    754   
         755  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  483    756   
    #[derive(Debug, Clone)]
  484    757   
    pub(crate) struct MapOfRangeIntegerConstrained(
  485    758   
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeInteger>,
  486    759   
    );
  487    760   
  488    761   
    impl crate::constrained::Constrained for MapOfRangeIntegerConstrained {
  489    762   
        type Unconstrained = crate::unconstrained::map_of_range_integer_unconstrained::MapOfRangeIntegerUnconstrained;
  490    763   
    }
         764  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  491    765   
    impl ::std::convert::From<MapOfRangeIntegerConstrained>
  492    766   
        for ::std::collections::HashMap<::std::string::String, i32>
  493    767   
    {
         768  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  494    769   
        fn from(v: MapOfRangeIntegerConstrained) -> Self {
         770  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  495    771   
            v.0.into_iter()
  496    772   
                .map(|(k, v)| {
  497         -
                    let v = { v.into() };
         773  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         774  +
                    let v = {
         775  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         776  +
                        v.into()
         777  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         778  +
                    };
         779  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  498    780   
                    (k, v)
         781  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  499    782   
                })
  500    783   
                .collect()
         784  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  501    785   
        }
         786  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  502    787   
    }
         788  +
         789  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  503    790   
}
  504    791   
pub(crate) mod list_of_range_integer_constrained {
  505    792   
         793  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  506    794   
    #[derive(Debug, Clone)]
  507    795   
    pub(crate) struct ListOfRangeIntegerConstrained(
  508    796   
        pub(crate) std::vec::Vec<crate::model::RangeInteger>,
  509    797   
    );
  510    798   
  511    799   
    impl crate::constrained::Constrained for ListOfRangeIntegerConstrained {
  512    800   
        type Unconstrained = crate::unconstrained::list_of_range_integer_unconstrained::ListOfRangeIntegerUnconstrained;
  513    801   
    }
         802  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
  514    803   
    impl ::std::convert::From<ListOfRangeIntegerConstrained> for ::std::vec::Vec<i32> {
         804  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
  515    805   
        fn from(v: ListOfRangeIntegerConstrained) -> Self {
  516         -
            v.0.into_iter().map(|item| item.into()).collect()
         806  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */
         807  +
            v.0.into_iter().map(|item|
         808  +
                /* PubCrateConstrainedCollectionGenerator.kt:145 */item.into()
         809  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */).collect()
         810  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
  517    811   
        }
         812  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
  518    813   
    }
         814  +
         815  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  519    816   
}
  520    817   
pub(crate) mod map_of_length_blob_constrained {
  521    818   
         819  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  522    820   
    #[derive(Debug, Clone)]
  523    821   
    pub(crate) struct MapOfLengthBlobConstrained(
  524    822   
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::LengthBlob>,
  525    823   
    );
  526    824   
  527    825   
    impl crate::constrained::Constrained for MapOfLengthBlobConstrained {
  528    826   
        type Unconstrained =
  529    827   
            crate::unconstrained::map_of_length_blob_unconstrained::MapOfLengthBlobUnconstrained;
  530    828   
    }
         829  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  531    830   
    impl ::std::convert::From<MapOfLengthBlobConstrained>
  532    831   
        for ::std::collections::HashMap<
  533    832   
            ::std::string::String,
  534    833   
            ::aws_smithy_http_server_python::types::Blob,
  535    834   
        >
  536    835   
    {
         836  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  537    837   
        fn from(v: MapOfLengthBlobConstrained) -> Self {
         838  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  538    839   
            v.0.into_iter()
  539    840   
                .map(|(k, v)| {
  540         -
                    let v = { v.into() };
         841  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         842  +
                    let v = {
         843  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
         844  +
                        v.into()
         845  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
         846  +
                    };
         847  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  541    848   
                    (k, v)
         849  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  542    850   
                })
  543    851   
                .collect()
         852  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  544    853   
        }
         854  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  545    855   
    }
         856  +
         857  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  546    858   
}
  547    859   
pub(crate) mod list_of_length_blob_constrained {
  548    860   
         861  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  549    862   
    #[derive(Debug, Clone)]
  550    863   
    pub(crate) struct ListOfLengthBlobConstrained(
  551    864   
        pub(crate) std::vec::Vec<crate::model::LengthBlob>,
  552    865   
    );
  553    866   
  554    867   
    impl crate::constrained::Constrained for ListOfLengthBlobConstrained {
  555    868   
        type Unconstrained =
  556    869   
            crate::unconstrained::list_of_length_blob_unconstrained::ListOfLengthBlobUnconstrained;
  557    870   
    }
         871  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
  558    872   
    impl ::std::convert::From<ListOfLengthBlobConstrained>
  559    873   
        for ::std::vec::Vec<::aws_smithy_http_server_python::types::Blob>
  560    874   
    {
         875  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
  561    876   
        fn from(v: ListOfLengthBlobConstrained) -> Self {
  562         -
            v.0.into_iter().map(|item| item.into()).collect()
         877  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */
         878  +
            v.0.into_iter().map(|item|
         879  +
                /* PubCrateConstrainedCollectionGenerator.kt:145 */item.into()
         880  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */).collect()
         881  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
  563    882   
        }
         883  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
  564    884   
    }
         885  +
         886  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  565    887   
}
  566    888   
pub(crate) mod con_b_list_constrained {
  567    889   
         890  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  568    891   
    #[derive(Debug, Clone)]
  569    892   
    pub(crate) struct ConBListConstrained(
  570    893   
        pub(crate)  std::vec::Vec<
  571    894   
            crate::constrained::con_b_list_inner_constrained::ConBListInnerConstrained,
  572    895   
        >,
  573    896   
    );
  574    897   
  575    898   
    impl crate::constrained::Constrained for ConBListConstrained {
  576    899   
        type Unconstrained = crate::unconstrained::con_b_list_unconstrained::ConBListUnconstrained;
  577    900   
    }
         901  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
  578    902   
    impl ::std::convert::From<ConBListConstrained>
  579    903   
        for ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>
  580    904   
    {
         905  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
  581    906   
        fn from(v: ConBListConstrained) -> Self {
  582         -
            v.0.into_iter().map(|item| item.into()).collect()
         907  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */
         908  +
            v.0.into_iter().map(|item|
         909  +
                /* PubCrateConstrainedCollectionGenerator.kt:145 */item.into()
         910  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */).collect()
         911  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
  583    912   
        }
         913  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
  584    914   
    }
         915  +
         916  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  585    917   
}
  586    918   
pub(crate) mod con_b_list_inner_constrained {
  587    919   
         920  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  588    921   
    #[derive(Debug, Clone)]
  589    922   
    pub(crate) struct ConBListInnerConstrained(pub(crate) std::vec::Vec<crate::model::ConB>);
  590    923   
  591    924   
    impl crate::constrained::Constrained for ConBListInnerConstrained {
  592    925   
        type Unconstrained =
  593    926   
            crate::unconstrained::con_b_list_inner_unconstrained::ConBListInnerUnconstrained;
  594    927   
    }
         928  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
  595    929   
    impl ::std::convert::From<ConBListInnerConstrained> for ::std::vec::Vec<crate::model::ConB> {
         930  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
  596    931   
        fn from(v: ConBListInnerConstrained) -> Self {
         932  +
            /* PubCrateConstrainedCollectionGenerator.kt:149 */
  597    933   
            v.0
         934  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
  598    935   
        }
         936  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
  599    937   
    }
         938  +
         939  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  600    940   
}
  601    941   
pub(crate) mod sparse_list_constrained {
  602    942   
         943  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  603    944   
    #[derive(Debug, Clone)]
  604    945   
    pub(crate) struct SparseListConstrained(
  605    946   
        pub(crate) std::vec::Vec<::std::option::Option<crate::model::LengthString>>,
  606    947   
    );
  607    948   
  608    949   
    impl crate::constrained::Constrained for SparseListConstrained {
  609    950   
        type Unconstrained =
  610    951   
            crate::unconstrained::sparse_list_unconstrained::SparseListUnconstrained;
  611    952   
    }
         953  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
  612    954   
    impl ::std::convert::From<SparseListConstrained>
  613    955   
        for ::std::vec::Vec<::std::option::Option<::std::string::String>>
  614    956   
    {
         957  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
  615    958   
        fn from(v: SparseListConstrained) -> Self {
  616         -
            v.0.into_iter()
  617         -
                .map(|item| item.map(|item| item.into()))
  618         -
                .collect()
         959  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */
         960  +
            v.0.into_iter().map(|item|
         961  +
                /* PubCrateConstrainedCollectionGenerator.kt:144 */item.map(|item|
         962  +
                    /* PubCrateConstrainedCollectionGenerator.kt:145 */item.into()
         963  +
                /* PubCrateConstrainedCollectionGenerator.kt:144 */)
         964  +
            /* PubCrateConstrainedCollectionGenerator.kt:143 */).collect()
         965  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
  619    966   
        }
         967  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
  620    968   
    }
         969  +
         970  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  621    971   
}
  622    972   
pub(crate) mod sparse_map_constrained {
  623    973   
         974  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  624    975   
    #[derive(Debug, Clone)]
  625    976   
    pub(crate) struct SparseMapConstrained(
  626    977   
        pub(crate)  std::collections::HashMap<
  627    978   
            ::std::string::String,
  628    979   
            ::std::option::Option<crate::model::UniqueItemsList>,
  629    980   
        >,
  630    981   
    );
  631    982   
  632    983   
    impl crate::constrained::Constrained for SparseMapConstrained {
  633    984   
        type Unconstrained = crate::unconstrained::sparse_map_unconstrained::SparseMapUnconstrained;
  634    985   
    }
         986  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  635    987   
    impl ::std::convert::From<SparseMapConstrained>
  636    988   
        for ::std::collections::HashMap<
  637    989   
            ::std::string::String,
  638    990   
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
  639    991   
        >
  640    992   
    {
         993  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  641    994   
        fn from(v: SparseMapConstrained) -> Self {
         995  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  642    996   
            v.0.into_iter()
  643    997   
                .map(|(k, v)| {
  644         -
                    let v = { v.map(|v| v.into()) };
         998  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
         999  +
                    let v = {
        1000  +
                        /* PubCrateConstrainedMapGenerator.kt:136 */
        1001  +
                        v.map(|v|
        1002  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */v.into()
        1003  +
                    /* PubCrateConstrainedMapGenerator.kt:136 */)
        1004  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
        1005  +
                    };
        1006  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  645   1007   
                    (k, v)
        1008  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  646   1009   
                })
  647   1010   
                .collect()
        1011  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  648   1012   
        }
        1013  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  649   1014   
    }
        1015  +
        1016  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  650   1017   
}
  651   1018   
pub(crate) mod map_of_map_of_list_of_list_of_con_b_constrained {
  652   1019   
        1020  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  653   1021   
    #[derive(Debug, Clone)]
  654   1022   
    pub(crate) struct MapOfMapOfListOfListOfConBConstrained(pub(crate) std::collections::HashMap<::std::string::String, crate::constrained::map_of_list_of_list_of_con_b_constrained::MapOfListOfListOfConBConstrained>);
  655   1023   
  656   1024   
    impl crate::constrained::Constrained for MapOfMapOfListOfListOfConBConstrained {
  657   1025   
        type Unconstrained = crate::unconstrained::map_of_map_of_list_of_list_of_con_b_unconstrained::MapOfMapOfListOfListOfConBUnconstrained;
  658   1026   
    }
        1027  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  659   1028   
    impl ::std::convert::From<MapOfMapOfListOfListOfConBConstrained>
  660   1029   
        for ::std::collections::HashMap<
  661   1030   
            ::std::string::String,
  662   1031   
            ::std::collections::HashMap<
  663   1032   
                ::std::string::String,
  664   1033   
                ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
  665   1034   
            >,
  666   1035   
        >
  667   1036   
    {
        1037  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  668   1038   
        fn from(v: MapOfMapOfListOfListOfConBConstrained) -> Self {
        1039  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  669   1040   
            v.0.into_iter()
  670   1041   
                .map(|(k, v)| {
  671         -
                    let v = { v.into() };
        1042  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
        1043  +
                    let v = {
        1044  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
        1045  +
                        v.into()
        1046  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
        1047  +
                    };
        1048  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  672   1049   
                    (k, v)
        1050  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  673   1051   
                })
  674   1052   
                .collect()
        1053  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  675   1054   
        }
        1055  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  676   1056   
    }
        1057  +
        1058  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  677   1059   
}
  678   1060   
pub(crate) mod map_of_list_of_list_of_con_b_constrained {
  679   1061   
        1062  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  680   1063   
    #[derive(Debug, Clone)]
  681   1064   
    pub(crate) struct MapOfListOfListOfConBConstrained(
  682   1065   
        pub(crate)  std::collections::HashMap<
  683   1066   
            ::std::string::String,
  684   1067   
            crate::constrained::con_b_list_constrained::ConBListConstrained,
  685   1068   
        >,
  686   1069   
    );
  687   1070   
  688   1071   
    impl crate::constrained::Constrained for MapOfListOfListOfConBConstrained {
  689   1072   
        type Unconstrained = crate::unconstrained::map_of_list_of_list_of_con_b_unconstrained::MapOfListOfListOfConBUnconstrained;
  690   1073   
    }
        1074  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
  691   1075   
    impl ::std::convert::From<MapOfListOfListOfConBConstrained>
  692   1076   
        for ::std::collections::HashMap<
  693   1077   
            ::std::string::String,
  694   1078   
            ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
  695   1079   
        >
  696   1080   
    {
        1081  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
  697   1082   
        fn from(v: MapOfListOfListOfConBConstrained) -> Self {
        1083  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
  698   1084   
            v.0.into_iter()
  699   1085   
                .map(|(k, v)| {
  700         -
                    let v = { v.into() };
        1086  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
        1087  +
                    let v = {
        1088  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
        1089  +
                        v.into()
        1090  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
        1091  +
                    };
        1092  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
  701   1093   
                    (k, v)
        1094  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
  702   1095   
                })
  703   1096   
                .collect()
        1097  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
  704   1098   
        }
        1099  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
  705   1100   
    }
        1101  +
        1102  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  706   1103   
}
  707   1104   
  708   1105   
/*
  709   1106   
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
  710   1107   
 * SPDX-License-Identifier: Apache-2.0
  711   1108   
 */
  712   1109   
  713   1110   
pub(crate) trait Constrained {
  714   1111   
    type Unconstrained;
  715   1112   
}

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/src/error.rs

@@ -1,1 +2250,3905 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* ServerOperationErrorGenerator.kt:63 */
    2      3   
/// Error type for the `EventStreamsOperation` operation.
           4  +
/* ServerOperationErrorGenerator.kt:64 */
    3      5   
/// Each variant represents an error that can occur for the `EventStreamsOperation` operation.
           6  +
/* RustType.kt:516 */
    4      7   
#[derive(::std::fmt::Debug)]
    5         -
pub enum EventStreamsOperationError {
    6         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
           8  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum EventStreamsOperationError {
           9  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
          10  +
    /* ServerOperationErrorGenerator.kt:71 */
    7     11   
    ValidationException(crate::error::ValidationException),
          12  +
    /* ServerOperationErrorGenerator.kt:68 */
    8     13   
    #[allow(missing_docs)] // documentation missing in model
          14  +
    /* ServerOperationErrorGenerator.kt:71 */
    9     15   
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
          16  +
    /* ServerOperationErrorGenerator.kt:68 */
   10     17   
    #[allow(missing_docs)] // documentation missing in model
          18  +
    /* ServerOperationErrorGenerator.kt:71 */
   11     19   
    InternalServerError(crate::error::InternalServerError),
          20  +
    /* ServerOperationErrorGenerator.kt:66 */
   12     21   
}
          22  +
/* ServerOperationErrorGenerator.kt:75 */
   13     23   
impl ::std::fmt::Display for EventStreamsOperationError {
          24  +
    /* ServerOperationErrorGenerator.kt:76 */
   14     25   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
          26  +
        /* ServerOperationErrorGenerator.kt:139 */
   15     27   
        match &self {
   16         -
            EventStreamsOperationError::ValidationException(_inner) => _inner.fmt(f),
   17         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
   18         -
            EventStreamsOperationError::InternalServerError(_inner) => _inner.fmt(f),
          28  +
            /* ServerOperationErrorGenerator.kt:142 */
          29  +
            EventStreamsOperationError::ValidationException(_inner) =>
          30  +
            /* ServerOperationErrorGenerator.kt:78 */
          31  +
            {
          32  +
                _inner.fmt(f)
          33  +
            }
          34  +
            ,
          35  +
            /* ServerOperationErrorGenerator.kt:142 */
          36  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) =>
          37  +
            /* ServerOperationErrorGenerator.kt:78 */
          38  +
            {
          39  +
                _inner.fmt(f)
          40  +
            }
          41  +
            ,
          42  +
            /* ServerOperationErrorGenerator.kt:142 */
          43  +
            EventStreamsOperationError::InternalServerError(_inner) =>
          44  +
            /* ServerOperationErrorGenerator.kt:78 */
          45  +
            {
          46  +
                _inner.fmt(f)
          47  +
            }
          48  +
            /* ServerOperationErrorGenerator.kt:139 */
   19     49   
        }
          50  +
        /* ServerOperationErrorGenerator.kt:76 */
   20     51   
    }
          52  +
    /* ServerOperationErrorGenerator.kt:75 */
   21     53   
}
          54  +
/* ServerOperationErrorGenerator.kt:83 */
   22     55   
impl EventStreamsOperationError {
          56  +
    /* ServerOperationErrorGenerator.kt:87 */
   23     57   
    /// Returns `true` if the error kind is `EventStreamsOperationError::ValidationException`.
          58  +
    /* ServerOperationErrorGenerator.kt:88 */
   24     59   
    pub fn is_validation_exception(&self) -> bool {
          60  +
        /* ServerOperationErrorGenerator.kt:89 */
   25     61   
        matches!(&self, EventStreamsOperationError::ValidationException(_))
          62  +
        /* ServerOperationErrorGenerator.kt:88 */
   26     63   
    }
          64  +
    /* ServerOperationErrorGenerator.kt:87 */
   27     65   
    /// Returns `true` if the error kind is `EventStreamsOperationError::EventStreamErrorMessage`.
          66  +
    /* ServerOperationErrorGenerator.kt:88 */
   28     67   
    pub fn is_event_stream_error_message(&self) -> bool {
          68  +
        /* ServerOperationErrorGenerator.kt:89 */
   29     69   
        matches!(
   30     70   
            &self,
   31     71   
            EventStreamsOperationError::EventStreamErrorMessage(_)
   32     72   
        )
          73  +
        /* ServerOperationErrorGenerator.kt:88 */
   33     74   
    }
          75  +
    /* ServerOperationErrorGenerator.kt:87 */
   34     76   
    /// Returns `true` if the error kind is `EventStreamsOperationError::InternalServerError`.
          77  +
    /* ServerOperationErrorGenerator.kt:88 */
   35     78   
    pub fn is_internal_server_error(&self) -> bool {
          79  +
        /* ServerOperationErrorGenerator.kt:89 */
   36     80   
        matches!(&self, EventStreamsOperationError::InternalServerError(_))
          81  +
        /* ServerOperationErrorGenerator.kt:88 */
   37     82   
    }
          83  +
    /* ServerOperationErrorGenerator.kt:92 */
   38     84   
    /// Returns the error name string by matching the correct variant.
          85  +
    /* ServerOperationErrorGenerator.kt:93 */
   39     86   
    pub fn name(&self) -> &'static str {
          87  +
        /* ServerOperationErrorGenerator.kt:139 */
   40     88   
        match &self {
   41         -
            EventStreamsOperationError::ValidationException(_inner) => _inner.name(),
   42         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.name(),
   43         -
            EventStreamsOperationError::InternalServerError(_inner) => _inner.name(),
          89  +
            /* ServerOperationErrorGenerator.kt:142 */
          90  +
            EventStreamsOperationError::ValidationException(_inner) =>
          91  +
            /* ServerOperationErrorGenerator.kt:95 */
          92  +
            {
          93  +
                _inner.name()
          94  +
            }
          95  +
            ,
          96  +
            /* ServerOperationErrorGenerator.kt:142 */
          97  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) =>
          98  +
            /* ServerOperationErrorGenerator.kt:95 */
          99  +
            {
         100  +
                _inner.name()
         101  +
            }
         102  +
            ,
         103  +
            /* ServerOperationErrorGenerator.kt:142 */
         104  +
            EventStreamsOperationError::InternalServerError(_inner) =>
         105  +
            /* ServerOperationErrorGenerator.kt:95 */
         106  +
            {
         107  +
                _inner.name()
         108  +
            }
         109  +
            /* ServerOperationErrorGenerator.kt:139 */
   44    110   
        }
         111  +
        /* ServerOperationErrorGenerator.kt:93 */
   45    112   
    }
         113  +
    /* ServerOperationErrorGenerator.kt:83 */
   46    114   
}
         115  +
/* ServerOperationErrorGenerator.kt:100 */
   47    116   
impl ::std::error::Error for EventStreamsOperationError {
         117  +
    /* ServerOperationErrorGenerator.kt:101 */
   48    118   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         119  +
        /* ServerOperationErrorGenerator.kt:139 */
   49    120   
        match &self {
   50         -
            EventStreamsOperationError::ValidationException(_inner) => Some(_inner),
   51         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => Some(_inner),
   52         -
            EventStreamsOperationError::InternalServerError(_inner) => Some(_inner),
         121  +
            /* ServerOperationErrorGenerator.kt:142 */
         122  +
            EventStreamsOperationError::ValidationException(_inner) =>
         123  +
            /* ServerOperationErrorGenerator.kt:103 */
         124  +
            {
         125  +
                Some(_inner)
         126  +
            }
         127  +
            ,
         128  +
            /* ServerOperationErrorGenerator.kt:142 */
         129  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) =>
         130  +
            /* ServerOperationErrorGenerator.kt:103 */
         131  +
            {
         132  +
                Some(_inner)
         133  +
            }
         134  +
            ,
         135  +
            /* ServerOperationErrorGenerator.kt:142 */
         136  +
            EventStreamsOperationError::InternalServerError(_inner) =>
         137  +
            /* ServerOperationErrorGenerator.kt:103 */
         138  +
            {
         139  +
                Some(_inner)
         140  +
            }
         141  +
            /* ServerOperationErrorGenerator.kt:139 */
   53    142   
        }
         143  +
        /* ServerOperationErrorGenerator.kt:101 */
   54    144   
    }
         145  +
    /* ServerOperationErrorGenerator.kt:100 */
   55    146   
}
         147  +
/* ServerOperationErrorGenerator.kt:110 */
   56    148   
impl ::std::convert::From<crate::error::ValidationException>
   57    149   
    for crate::error::EventStreamsOperationError
   58    150   
{
         151  +
    /* ServerOperationErrorGenerator.kt:111 */
   59    152   
    fn from(
   60    153   
        variant: crate::error::ValidationException,
   61    154   
    ) -> crate::error::EventStreamsOperationError {
         155  +
        /* ServerOperationErrorGenerator.kt:112 */
   62    156   
        Self::ValidationException(variant)
         157  +
        /* ServerOperationErrorGenerator.kt:111 */
   63    158   
    }
         159  +
    /* ServerOperationErrorGenerator.kt:110 */
   64    160   
}
         161  +
/* ServerOperationErrorGenerator.kt:110 */
   65    162   
impl ::std::convert::From<crate::error::EventStreamErrorMessage>
   66    163   
    for crate::error::EventStreamsOperationError
   67    164   
{
         165  +
    /* ServerOperationErrorGenerator.kt:111 */
   68    166   
    fn from(
   69    167   
        variant: crate::error::EventStreamErrorMessage,
   70    168   
    ) -> crate::error::EventStreamsOperationError {
         169  +
        /* ServerOperationErrorGenerator.kt:112 */
   71    170   
        Self::EventStreamErrorMessage(variant)
         171  +
        /* ServerOperationErrorGenerator.kt:111 */
   72    172   
    }
         173  +
    /* ServerOperationErrorGenerator.kt:110 */
   73    174   
}
         175  +
/* ServerOperationErrorGenerator.kt:110 */
   74    176   
impl ::std::convert::From<crate::error::InternalServerError>
   75    177   
    for crate::error::EventStreamsOperationError
   76    178   
{
         179  +
    /* ServerOperationErrorGenerator.kt:111 */
   77    180   
    fn from(
   78    181   
        variant: crate::error::InternalServerError,
   79    182   
    ) -> crate::error::EventStreamsOperationError {
         183  +
        /* ServerOperationErrorGenerator.kt:112 */
   80    184   
        Self::InternalServerError(variant)
         185  +
        /* ServerOperationErrorGenerator.kt:111 */
   81    186   
    }
         187  +
    /* ServerOperationErrorGenerator.kt:110 */
   82    188   
}
   83    189   
         190  +
/* PythonServerOperationErrorGenerator.kt:38 */
   84    191   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::EventStreamsOperationError {
   85    192   
    fn from(variant: ::pyo3::PyErr) -> crate::error::EventStreamsOperationError {
   86    193   
        ::pyo3::Python::with_gil(|py| {
   87    194   
            let error = variant.value(py);
   88    195   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
   89    196   
                return error.into();
   90    197   
            }
   91    198   
            if let Ok(error) = error.extract::<crate::error::EventStreamErrorMessage>() {
   92    199   
                return error.into();
   93    200   
            }
   94    201   
            crate::error::InternalServerError {
   95    202   
                message: error.to_string(),
   96    203   
            }
   97    204   
            .into()
   98    205   
        })
   99    206   
    }
  100    207   
}
  101    208   
         209  +
/* RustType.kt:516 */
  102    210   
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
         211  +
/* PythonServerStructureGenerator.kt:63 */
  103    212   
/// :param message str:
  104    213   
/// :rtype None:
         214  +
/* StructureGenerator.kt:197 */
  105    215   
#[allow(missing_docs)] // documentation missing in model
         216  +
/* RustType.kt:516 */
  106    217   
#[derive(
  107    218   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  108    219   
)]
  109         -
pub struct InternalServerError {
         220  +
pub /* StructureGenerator.kt:201 */ struct InternalServerError {
         221  +
    /* RustType.kt:516 */
  110    222   
    #[pyo3(get, set)]
         223  +
    /* PythonServerStructureGenerator.kt:80 */
  111    224   
    /// :type str:
         225  +
    /* StructureGenerator.kt:231 */
  112    226   
    #[allow(missing_docs)] // documentation missing in model
  113    227   
    pub message: ::std::string::String,
         228  +
    /* StructureGenerator.kt:201 */
  114    229   
}
         230  +
/* RustType.kt:516 */
  115    231   
#[allow(clippy::new_without_default)]
         232  +
/* RustType.kt:516 */
  116    233   
#[allow(clippy::too_many_arguments)]
         234  +
/* RustType.kt:516 */
  117    235   
#[::pyo3::pymethods]
         236  +
/* PythonServerStructureGenerator.kt:88 */
  118    237   
impl InternalServerError {
  119    238   
    #[new]
  120    239   
    pub fn new(message: ::std::string::String) -> Self {
  121    240   
        Self { message }
  122    241   
    }
  123    242   
    fn __repr__(&self) -> String {
  124    243   
        format!("{self:?}")
  125    244   
    }
  126    245   
    fn __str__(&self) -> String {
  127    246   
        format!("{self:?}")
  128    247   
    }
  129    248   
}
         249  +
/* ErrorImplGenerator.kt:99 */
  130    250   
impl InternalServerError {
         251  +
    /* ErrorImplGenerator.kt:128 */
  131    252   
    /// Returns the error message.
  132    253   
    pub fn message(&self) -> &str {
  133    254   
        &self.message
  134    255   
    }
         256  +
    /* ErrorImplGenerator.kt:141 */
  135    257   
    #[doc(hidden)]
  136    258   
    /// Returns the error name.
  137    259   
    pub fn name(&self) -> &'static str {
  138    260   
        "InternalServerError"
  139    261   
    }
         262  +
    /* ErrorImplGenerator.kt:99 */
  140    263   
}
         264  +
/* ErrorImplGenerator.kt:153 */
  141    265   
impl ::std::fmt::Display for InternalServerError {
         266  +
    /* ErrorImplGenerator.kt:154 */
  142    267   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         268  +
        /* ErrorImplGenerator.kt:161 */
  143    269   
        ::std::write!(f, "InternalServerError")?;
         270  +
        /* ErrorImplGenerator.kt:166 */
  144    271   
        {
         272  +
            /* ErrorImplGenerator.kt:167 */
  145    273   
            ::std::write!(f, ": {}", &self.message)?;
         274  +
            /* ErrorImplGenerator.kt:166 */
  146    275   
        }
         276  +
        /* ErrorImplGenerator.kt:171 */
  147    277   
        Ok(())
         278  +
        /* ErrorImplGenerator.kt:154 */
  148    279   
    }
         280  +
    /* ErrorImplGenerator.kt:153 */
  149    281   
}
         282  +
/* ErrorImplGenerator.kt:175 */
  150    283   
impl ::std::error::Error for InternalServerError {}
         284  +
/* ServerCodegenVisitor.kt:370 */
  151    285   
impl InternalServerError {
  152         -
    /// Creates a new builder-style object to manufacture [`InternalServerError`](crate::error::InternalServerError).
         286  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`InternalServerError`](crate::error::InternalServerError).
         287  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  153    288   
    pub fn builder() -> crate::error::internal_server_error::Builder {
         289  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
  154    290   
        crate::error::internal_server_error::Builder::default()
         291  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  155    292   
    }
         293  +
    /* ServerCodegenVisitor.kt:370 */
  156    294   
}
  157    295   
         296  +
/* RustType.kt:516 */
  158    297   
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
         298  +
/* PythonServerStructureGenerator.kt:63 */
  159    299   
/// :param message_content typing.Optional\[str\]:
  160    300   
/// :rtype None:
         301  +
/* StructureGenerator.kt:197 */
  161    302   
#[allow(missing_docs)] // documentation missing in model
         303  +
/* RustType.kt:516 */
  162    304   
#[derive(
  163    305   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  164    306   
)]
  165         -
pub struct EventStreamErrorMessage {
         307  +
pub /* StructureGenerator.kt:201 */ struct EventStreamErrorMessage {
         308  +
    /* RustType.kt:516 */
  166    309   
    #[pyo3(get, set)]
         310  +
    /* PythonServerStructureGenerator.kt:80 */
  167    311   
    /// :type typing.Optional\[str\]:
         312  +
    /* StructureGenerator.kt:231 */
  168    313   
    #[allow(missing_docs)] // documentation missing in model
  169    314   
    pub message_content: ::std::option::Option<::std::string::String>,
         315  +
    /* StructureGenerator.kt:201 */
  170    316   
}
         317  +
/* StructureGenerator.kt:135 */
  171    318   
impl EventStreamErrorMessage {
         319  +
    /* StructureGenerator.kt:231 */
  172    320   
    #[allow(missing_docs)] // documentation missing in model
         321  +
                           /* StructureGenerator.kt:166 */
  173    322   
    pub fn message_content(&self) -> ::std::option::Option<&str> {
         323  +
        /* StructureGenerator.kt:169 */
  174    324   
        self.message_content.as_deref()
         325  +
        /* StructureGenerator.kt:166 */
  175    326   
    }
         327  +
    /* StructureGenerator.kt:135 */
  176    328   
}
         329  +
/* RustType.kt:516 */
  177    330   
#[allow(clippy::new_without_default)]
         331  +
/* RustType.kt:516 */
  178    332   
#[allow(clippy::too_many_arguments)]
         333  +
/* RustType.kt:516 */
  179    334   
#[::pyo3::pymethods]
         335  +
/* PythonServerStructureGenerator.kt:88 */
  180    336   
impl EventStreamErrorMessage {
  181    337   
    #[new]
  182    338   
    pub fn new(message_content: ::std::option::Option<::std::string::String>) -> Self {
  183    339   
        Self { message_content }
  184    340   
    }
  185    341   
    fn __repr__(&self) -> String {
  186    342   
        format!("{self:?}")
  187    343   
    }
  188    344   
    fn __str__(&self) -> String {
  189    345   
        format!("{self:?}")
  190    346   
    }
  191    347   
}
         348  +
/* ErrorImplGenerator.kt:99 */
  192    349   
impl EventStreamErrorMessage {
         350  +
    /* ErrorImplGenerator.kt:141 */
  193    351   
    #[doc(hidden)]
  194    352   
    /// Returns the error name.
  195    353   
    pub fn name(&self) -> &'static str {
  196    354   
        "EventStreamErrorMessage"
  197    355   
    }
         356  +
    /* ErrorImplGenerator.kt:99 */
  198    357   
}
         358  +
/* ErrorImplGenerator.kt:153 */
  199    359   
impl ::std::fmt::Display for EventStreamErrorMessage {
         360  +
    /* ErrorImplGenerator.kt:154 */
  200    361   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         362  +
        /* ErrorImplGenerator.kt:161 */
  201    363   
        ::std::write!(f, "EventStreamErrorMessage")?;
         364  +
        /* ErrorImplGenerator.kt:171 */
  202    365   
        Ok(())
         366  +
        /* ErrorImplGenerator.kt:154 */
  203    367   
    }
         368  +
    /* ErrorImplGenerator.kt:153 */
  204    369   
}
         370  +
/* ErrorImplGenerator.kt:175 */
  205    371   
impl ::std::error::Error for EventStreamErrorMessage {}
         372  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  206    373   
impl crate::constrained::Constrained for crate::error::EventStreamErrorMessage {
  207    374   
    type Unconstrained = crate::error::event_stream_error_message_internal::Builder;
  208    375   
}
         376  +
/* ServerCodegenVisitor.kt:370 */
  209    377   
impl EventStreamErrorMessage {
  210         -
    /// Creates a new builder-style object to manufacture [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
         378  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
         379  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  211    380   
    pub fn builder() -> crate::error::event_stream_error_message::Builder {
         381  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
  212    382   
        crate::error::event_stream_error_message::Builder::default()
         383  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  213    384   
    }
         385  +
    /* ServerCodegenVisitor.kt:370 */
  214    386   
}
  215    387   
         388  +
/* RustType.kt:516 */
  216    389   
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
         390  +
/* PythonServerStructureGenerator.kt:63 */
  217    391   
/// :param message str:
  218    392   
/// :param field_list typing.Optional\[typing.List\[constraints.model.ValidationExceptionField\]\]:
  219    393   
/// :rtype None:
  220         -
/// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
         394  +
/// /* StructureGenerator.kt:197 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
         395  +
/* RustType.kt:516 */
  221    396   
#[derive(
  222    397   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  223    398   
)]
  224         -
pub struct ValidationException {
         399  +
pub /* StructureGenerator.kt:201 */ struct ValidationException {
         400  +
    /* RustType.kt:516 */
  225    401   
    #[pyo3(get, set)]
         402  +
    /* PythonServerStructureGenerator.kt:80 */
  226    403   
    /// :type str:
  227         -
    /// A summary of the validation failure.
         404  +
    /// /* StructureGenerator.kt:231 */A summary of the validation failure.
  228    405   
    pub message: ::std::string::String,
         406  +
    /* RustType.kt:516 */
  229    407   
    #[pyo3(get, set)]
         408  +
    /* PythonServerStructureGenerator.kt:80 */
  230    409   
    /// :type typing.Optional\[typing.List\[constraints.model.ValidationExceptionField\]\]:
  231         -
    /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
         410  +
    /// /* StructureGenerator.kt:231 */A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
  232    411   
    pub field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
         412  +
    /* StructureGenerator.kt:201 */
  233    413   
}
         414  +
/* StructureGenerator.kt:135 */
  234    415   
impl ValidationException {
  235         -
    /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
         416  +
    /// /* StructureGenerator.kt:231 */A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
         417  +
    /* StructureGenerator.kt:166 */
  236    418   
    pub fn field_list(&self) -> ::std::option::Option<&[crate::model::ValidationExceptionField]> {
         419  +
        /* StructureGenerator.kt:169 */
  237    420   
        self.field_list.as_deref()
         421  +
        /* StructureGenerator.kt:166 */
  238    422   
    }
         423  +
    /* StructureGenerator.kt:135 */
  239    424   
}
         425  +
/* RustType.kt:516 */
  240    426   
#[allow(clippy::new_without_default)]
         427  +
/* RustType.kt:516 */
  241    428   
#[allow(clippy::too_many_arguments)]
         429  +
/* RustType.kt:516 */
  242    430   
#[::pyo3::pymethods]
         431  +
/* PythonServerStructureGenerator.kt:88 */
  243    432   
impl ValidationException {
  244    433   
    #[new]
  245    434   
    pub fn new(
  246    435   
        message: ::std::string::String,
  247    436   
        field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
  248    437   
    ) -> Self {
  249    438   
        Self {
  250    439   
            message,
  251    440   
            field_list,
  252    441   
        }
  253    442   
    }
  254    443   
    fn __repr__(&self) -> String {
  255    444   
        format!("{self:?}")
  256    445   
    }
  257    446   
    fn __str__(&self) -> String {
  258    447   
        format!("{self:?}")
  259    448   
    }
  260    449   
}
         450  +
/* ErrorImplGenerator.kt:99 */
  261    451   
impl ValidationException {
         452  +
    /* ErrorImplGenerator.kt:128 */
  262    453   
    /// Returns the error message.
  263    454   
    pub fn message(&self) -> &str {
  264    455   
        &self.message
  265    456   
    }
         457  +
    /* ErrorImplGenerator.kt:141 */
  266    458   
    #[doc(hidden)]
  267    459   
    /// Returns the error name.
  268    460   
    pub fn name(&self) -> &'static str {
  269    461   
        "ValidationException"
  270    462   
    }
         463  +
    /* ErrorImplGenerator.kt:99 */
  271    464   
}
         465  +
/* ErrorImplGenerator.kt:153 */
  272    466   
impl ::std::fmt::Display for ValidationException {
         467  +
    /* ErrorImplGenerator.kt:154 */
  273    468   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         469  +
        /* ErrorImplGenerator.kt:161 */
  274    470   
        ::std::write!(f, "ValidationException")?;
         471  +
        /* ErrorImplGenerator.kt:166 */
  275    472   
        {
         473  +
            /* ErrorImplGenerator.kt:167 */
  276    474   
            ::std::write!(f, ": {}", &self.message)?;
         475  +
            /* ErrorImplGenerator.kt:166 */
  277    476   
        }
         477  +
        /* ErrorImplGenerator.kt:171 */
  278    478   
        Ok(())
         479  +
        /* ErrorImplGenerator.kt:154 */
  279    480   
    }
         481  +
    /* ErrorImplGenerator.kt:153 */
  280    482   
}
         483  +
/* ErrorImplGenerator.kt:175 */
  281    484   
impl ::std::error::Error for ValidationException {}
         485  +
/* ServerCodegenVisitor.kt:370 */
  282    486   
impl ValidationException {
  283         -
    /// Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
         487  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
         488  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  284    489   
    pub fn builder() -> crate::error::validation_exception::Builder {
         490  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
  285    491   
        crate::error::validation_exception::Builder::default()
         492  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  286    493   
    }
         494  +
    /* ServerCodegenVisitor.kt:370 */
  287    495   
}
  288    496   
         497  +
/* ServerOperationErrorGenerator.kt:63 */
  289    498   
/// Error type for the `Event` operation.
         499  +
/* ServerOperationErrorGenerator.kt:64 */
  290    500   
/// Each variant represents an error that can occur for the `Event` operation.
         501  +
/* RustType.kt:516 */
  291    502   
#[derive(::std::fmt::Debug)]
  292         -
pub enum EventError {
         503  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum EventError {
         504  +
    /* ServerOperationErrorGenerator.kt:68 */
  293    505   
    #[allow(missing_docs)] // documentation missing in model
         506  +
    /* ServerOperationErrorGenerator.kt:71 */
  294    507   
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
         508  +
    /* ServerOperationErrorGenerator.kt:66 */
  295    509   
}
         510  +
/* ServerOperationErrorGenerator.kt:75 */
  296    511   
impl ::std::fmt::Display for EventError {
         512  +
    /* ServerOperationErrorGenerator.kt:76 */
  297    513   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         514  +
        /* ServerOperationErrorGenerator.kt:139 */
  298    515   
        match &self {
  299         -
            EventError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
         516  +
            /* ServerOperationErrorGenerator.kt:142 */
         517  +
            EventError::EventStreamErrorMessage(_inner) =>
         518  +
            /* ServerOperationErrorGenerator.kt:78 */
         519  +
            {
         520  +
                _inner.fmt(f)
         521  +
            }
         522  +
            /* ServerOperationErrorGenerator.kt:139 */
  300    523   
        }
         524  +
        /* ServerOperationErrorGenerator.kt:76 */
  301    525   
    }
         526  +
    /* ServerOperationErrorGenerator.kt:75 */
  302    527   
}
         528  +
/* ServerOperationErrorGenerator.kt:83 */
  303    529   
impl EventError {
         530  +
    /* ServerOperationErrorGenerator.kt:87 */
  304    531   
    /// Returns `true` if the error kind is `EventError::EventStreamErrorMessage`.
         532  +
    /* ServerOperationErrorGenerator.kt:88 */
  305    533   
    pub fn is_event_stream_error_message(&self) -> bool {
         534  +
        /* ServerOperationErrorGenerator.kt:89 */
  306    535   
        matches!(&self, EventError::EventStreamErrorMessage(_))
         536  +
        /* ServerOperationErrorGenerator.kt:88 */
  307    537   
    }
         538  +
    /* ServerOperationErrorGenerator.kt:92 */
  308    539   
    /// Returns the error name string by matching the correct variant.
         540  +
    /* ServerOperationErrorGenerator.kt:93 */
  309    541   
    pub fn name(&self) -> &'static str {
         542  +
        /* ServerOperationErrorGenerator.kt:139 */
  310    543   
        match &self {
  311         -
            EventError::EventStreamErrorMessage(_inner) => _inner.name(),
         544  +
            /* ServerOperationErrorGenerator.kt:142 */
         545  +
            EventError::EventStreamErrorMessage(_inner) =>
         546  +
            /* ServerOperationErrorGenerator.kt:95 */
         547  +
            {
         548  +
                _inner.name()
         549  +
            }
         550  +
            /* ServerOperationErrorGenerator.kt:139 */
  312    551   
        }
         552  +
        /* ServerOperationErrorGenerator.kt:93 */
  313    553   
    }
         554  +
    /* ServerOperationErrorGenerator.kt:83 */
  314    555   
}
         556  +
/* ServerOperationErrorGenerator.kt:100 */
  315    557   
impl ::std::error::Error for EventError {
         558  +
    /* ServerOperationErrorGenerator.kt:101 */
  316    559   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         560  +
        /* ServerOperationErrorGenerator.kt:139 */
  317    561   
        match &self {
  318         -
            EventError::EventStreamErrorMessage(_inner) => Some(_inner),
         562  +
            /* ServerOperationErrorGenerator.kt:142 */
         563  +
            EventError::EventStreamErrorMessage(_inner) =>
         564  +
            /* ServerOperationErrorGenerator.kt:103 */
         565  +
            {
         566  +
                Some(_inner)
         567  +
            }
         568  +
            /* ServerOperationErrorGenerator.kt:139 */
  319    569   
        }
         570  +
        /* ServerOperationErrorGenerator.kt:101 */
  320    571   
    }
         572  +
    /* ServerOperationErrorGenerator.kt:100 */
  321    573   
}
         574  +
/* ServerOperationErrorGenerator.kt:110 */
  322    575   
impl ::std::convert::From<crate::error::EventStreamErrorMessage> for crate::error::EventError {
         576  +
    /* ServerOperationErrorGenerator.kt:111 */
  323    577   
    fn from(variant: crate::error::EventStreamErrorMessage) -> crate::error::EventError {
         578  +
        /* ServerOperationErrorGenerator.kt:112 */
  324    579   
        Self::EventStreamErrorMessage(variant)
         580  +
        /* ServerOperationErrorGenerator.kt:111 */
  325    581   
    }
         582  +
    /* ServerOperationErrorGenerator.kt:110 */
  326    583   
}
         584  +
/* PythonServerEventStreamErrorGenerator.kt:57 */
  327    585   
impl<'source> ::pyo3::FromPyObject<'source> for EventError {
         586  +
    /* PythonServerEventStreamErrorGenerator.kt:58 */
  328    587   
    fn extract(obj: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
         588  +
        /* PythonServerEventStreamErrorGenerator.kt:61 */
  329    589   
        if let Ok(it) = obj.extract::<crate::error::EventStreamErrorMessage>() {
  330    590   
            return Ok(Self::EventStreamErrorMessage(it));
  331    591   
        }
         592  +
        /* PythonServerEventStreamErrorGenerator.kt:70 */
  332    593   
        Err(::pyo3::exceptions::PyTypeError::new_err(format!(
  333    594   
            "failed to extract 'EventError' from '{}'",
  334    595   
            obj
  335    596   
        )))
         597  +
        /* PythonServerEventStreamErrorGenerator.kt:58 */
  336    598   
    }
         599  +
    /* PythonServerEventStreamErrorGenerator.kt:57 */
  337    600   
}
         601  +
/* PythonServerEventStreamErrorGenerator.kt:86 */
  338    602   
impl ::pyo3::IntoPy<::pyo3::PyObject> for EventError {
         603  +
    /* PythonServerEventStreamErrorGenerator.kt:87 */
  339    604   
    fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
         605  +
        /* PythonServerEventStreamErrorGenerator.kt:88 */
  340    606   
        match self {
         607  +
            /* PythonServerEventStreamErrorGenerator.kt:91 */
  341    608   
            Self::EventStreamErrorMessage(it) => match ::pyo3::Py::new(py, it) {
  342    609   
                Ok(it) => it.into_py(py),
  343    610   
                Err(err) => err.into_py(py),
  344         -
            },
         611  +
            }, /* PythonServerEventStreamErrorGenerator.kt:88 */
  345    612   
        }
         613  +
        /* PythonServerEventStreamErrorGenerator.kt:87 */
  346    614   
    }
         615  +
    /* PythonServerEventStreamErrorGenerator.kt:86 */
  347    616   
}
         617  +
/* PythonServerEventStreamErrorGenerator.kt:107 */
  348    618   
impl ::std::convert::From<EventError> for ::pyo3::PyErr {
         619  +
    /* PythonServerEventStreamErrorGenerator.kt:108 */
  349    620   
    fn from(err: EventError) -> ::pyo3::PyErr {
         621  +
        /* PythonServerEventStreamErrorGenerator.kt:109 */
  350    622   
        ::pyo3::Python::with_gil(|py| {
  351    623   
            let py_err = ::pyo3::IntoPy::into_py(err, py);
  352    624   
            ::pyo3::PyErr::from_value(py_err.as_ref(py))
  353    625   
        })
         626  +
        /* PythonServerEventStreamErrorGenerator.kt:108 */
  354    627   
    }
         628  +
    /* PythonServerEventStreamErrorGenerator.kt:107 */
  355    629   
}
  356    630   
         631  +
/* ServerOperationErrorGenerator.kt:63 */
  357    632   
/// Error type for the `StreamingBlobOperation` operation.
         633  +
/* ServerOperationErrorGenerator.kt:64 */
  358    634   
/// Each variant represents an error that can occur for the `StreamingBlobOperation` operation.
         635  +
/* RustType.kt:516 */
  359    636   
#[derive(::std::fmt::Debug)]
  360         -
pub enum StreamingBlobOperationError {
         637  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum StreamingBlobOperationError {
         638  +
    /* ServerOperationErrorGenerator.kt:68 */
  361    639   
    #[allow(missing_docs)] // documentation missing in model
         640  +
    /* ServerOperationErrorGenerator.kt:71 */
  362    641   
    InternalServerError(crate::error::InternalServerError),
         642  +
    /* ServerOperationErrorGenerator.kt:66 */
  363    643   
}
         644  +
/* ServerOperationErrorGenerator.kt:75 */
  364    645   
impl ::std::fmt::Display for StreamingBlobOperationError {
         646  +
    /* ServerOperationErrorGenerator.kt:76 */
  365    647   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         648  +
        /* ServerOperationErrorGenerator.kt:139 */
  366    649   
        match &self {
  367         -
            StreamingBlobOperationError::InternalServerError(_inner) => _inner.fmt(f),
         650  +
            /* ServerOperationErrorGenerator.kt:142 */
         651  +
            StreamingBlobOperationError::InternalServerError(_inner) =>
         652  +
            /* ServerOperationErrorGenerator.kt:78 */
         653  +
            {
         654  +
                _inner.fmt(f)
         655  +
            }
         656  +
            /* ServerOperationErrorGenerator.kt:139 */
  368    657   
        }
         658  +
        /* ServerOperationErrorGenerator.kt:76 */
  369    659   
    }
         660  +
    /* ServerOperationErrorGenerator.kt:75 */
  370    661   
}
         662  +
/* ServerOperationErrorGenerator.kt:83 */
  371    663   
impl StreamingBlobOperationError {
         664  +
    /* ServerOperationErrorGenerator.kt:87 */
  372    665   
    /// Returns `true` if the error kind is `StreamingBlobOperationError::InternalServerError`.
         666  +
    /* ServerOperationErrorGenerator.kt:88 */
  373    667   
    pub fn is_internal_server_error(&self) -> bool {
         668  +
        /* ServerOperationErrorGenerator.kt:89 */
  374    669   
        matches!(&self, StreamingBlobOperationError::InternalServerError(_))
         670  +
        /* ServerOperationErrorGenerator.kt:88 */
  375    671   
    }
         672  +
    /* ServerOperationErrorGenerator.kt:92 */
  376    673   
    /// Returns the error name string by matching the correct variant.
         674  +
    /* ServerOperationErrorGenerator.kt:93 */
  377    675   
    pub fn name(&self) -> &'static str {
         676  +
        /* ServerOperationErrorGenerator.kt:139 */
  378    677   
        match &self {
  379         -
            StreamingBlobOperationError::InternalServerError(_inner) => _inner.name(),
         678  +
            /* ServerOperationErrorGenerator.kt:142 */
         679  +
            StreamingBlobOperationError::InternalServerError(_inner) =>
         680  +
            /* ServerOperationErrorGenerator.kt:95 */
         681  +
            {
         682  +
                _inner.name()
         683  +
            }
         684  +
            /* ServerOperationErrorGenerator.kt:139 */
  380    685   
        }
         686  +
        /* ServerOperationErrorGenerator.kt:93 */
  381    687   
    }
         688  +
    /* ServerOperationErrorGenerator.kt:83 */
  382    689   
}
         690  +
/* ServerOperationErrorGenerator.kt:100 */
  383    691   
impl ::std::error::Error for StreamingBlobOperationError {
         692  +
    /* ServerOperationErrorGenerator.kt:101 */
  384    693   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         694  +
        /* ServerOperationErrorGenerator.kt:139 */
  385    695   
        match &self {
  386         -
            StreamingBlobOperationError::InternalServerError(_inner) => Some(_inner),
         696  +
            /* ServerOperationErrorGenerator.kt:142 */
         697  +
            StreamingBlobOperationError::InternalServerError(_inner) =>
         698  +
            /* ServerOperationErrorGenerator.kt:103 */
         699  +
            {
         700  +
                Some(_inner)
         701  +
            }
         702  +
            /* ServerOperationErrorGenerator.kt:139 */
  387    703   
        }
         704  +
        /* ServerOperationErrorGenerator.kt:101 */
  388    705   
    }
         706  +
    /* ServerOperationErrorGenerator.kt:100 */
  389    707   
}
         708  +
/* ServerOperationErrorGenerator.kt:110 */
  390    709   
impl ::std::convert::From<crate::error::InternalServerError>
  391    710   
    for crate::error::StreamingBlobOperationError
  392    711   
{
         712  +
    /* ServerOperationErrorGenerator.kt:111 */
  393    713   
    fn from(
  394    714   
        variant: crate::error::InternalServerError,
  395    715   
    ) -> crate::error::StreamingBlobOperationError {
         716  +
        /* ServerOperationErrorGenerator.kt:112 */
  396    717   
        Self::InternalServerError(variant)
         718  +
        /* ServerOperationErrorGenerator.kt:111 */
  397    719   
    }
         720  +
    /* ServerOperationErrorGenerator.kt:110 */
  398    721   
}
  399    722   
         723  +
/* PythonServerOperationErrorGenerator.kt:38 */
  400    724   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::StreamingBlobOperationError {
  401    725   
    fn from(variant: ::pyo3::PyErr) -> crate::error::StreamingBlobOperationError {
  402    726   
        ::pyo3::Python::with_gil(|py| {
  403    727   
            let error = variant.value(py);
  404    728   
  405    729   
            crate::error::InternalServerError {
  406    730   
                message: error.to_string(),
  407    731   
            }
  408    732   
            .into()
  409    733   
        })
  410    734   
    }
  411    735   
}
  412    736   
         737  +
/* ServerOperationErrorGenerator.kt:63 */
  413    738   
/// Error type for the `NonStreamingBlobOperation` operation.
         739  +
/* ServerOperationErrorGenerator.kt:64 */
  414    740   
/// Each variant represents an error that can occur for the `NonStreamingBlobOperation` operation.
         741  +
/* RustType.kt:516 */
  415    742   
#[derive(::std::fmt::Debug)]
  416         -
pub enum NonStreamingBlobOperationError {
         743  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum NonStreamingBlobOperationError {
         744  +
    /* ServerOperationErrorGenerator.kt:68 */
  417    745   
    #[allow(missing_docs)] // documentation missing in model
         746  +
    /* ServerOperationErrorGenerator.kt:71 */
  418    747   
    InternalServerError(crate::error::InternalServerError),
         748  +
    /* ServerOperationErrorGenerator.kt:66 */
  419    749   
}
         750  +
/* ServerOperationErrorGenerator.kt:75 */
  420    751   
impl ::std::fmt::Display for NonStreamingBlobOperationError {
         752  +
    /* ServerOperationErrorGenerator.kt:76 */
  421    753   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         754  +
        /* ServerOperationErrorGenerator.kt:139 */
  422    755   
        match &self {
  423         -
            NonStreamingBlobOperationError::InternalServerError(_inner) => _inner.fmt(f),
         756  +
            /* ServerOperationErrorGenerator.kt:142 */
         757  +
            NonStreamingBlobOperationError::InternalServerError(_inner) =>
         758  +
            /* ServerOperationErrorGenerator.kt:78 */
         759  +
            {
         760  +
                _inner.fmt(f)
         761  +
            }
         762  +
            /* ServerOperationErrorGenerator.kt:139 */
  424    763   
        }
         764  +
        /* ServerOperationErrorGenerator.kt:76 */
  425    765   
    }
         766  +
    /* ServerOperationErrorGenerator.kt:75 */
  426    767   
}
         768  +
/* ServerOperationErrorGenerator.kt:83 */
  427    769   
impl NonStreamingBlobOperationError {
         770  +
    /* ServerOperationErrorGenerator.kt:87 */
  428    771   
    /// Returns `true` if the error kind is `NonStreamingBlobOperationError::InternalServerError`.
         772  +
    /* ServerOperationErrorGenerator.kt:88 */
  429    773   
    pub fn is_internal_server_error(&self) -> bool {
         774  +
        /* ServerOperationErrorGenerator.kt:89 */
  430    775   
        matches!(
  431    776   
            &self,
  432    777   
            NonStreamingBlobOperationError::InternalServerError(_)
  433    778   
        )
         779  +
        /* ServerOperationErrorGenerator.kt:88 */
  434    780   
    }
         781  +
    /* ServerOperationErrorGenerator.kt:92 */
  435    782   
    /// Returns the error name string by matching the correct variant.
         783  +
    /* ServerOperationErrorGenerator.kt:93 */
  436    784   
    pub fn name(&self) -> &'static str {
         785  +
        /* ServerOperationErrorGenerator.kt:139 */
  437    786   
        match &self {
  438         -
            NonStreamingBlobOperationError::InternalServerError(_inner) => _inner.name(),
         787  +
            /* ServerOperationErrorGenerator.kt:142 */
         788  +
            NonStreamingBlobOperationError::InternalServerError(_inner) =>
         789  +
            /* ServerOperationErrorGenerator.kt:95 */
         790  +
            {
         791  +
                _inner.name()
         792  +
            }
         793  +
            /* ServerOperationErrorGenerator.kt:139 */
  439    794   
        }
         795  +
        /* ServerOperationErrorGenerator.kt:93 */
  440    796   
    }
         797  +
    /* ServerOperationErrorGenerator.kt:83 */
  441    798   
}
         799  +
/* ServerOperationErrorGenerator.kt:100 */
  442    800   
impl ::std::error::Error for NonStreamingBlobOperationError {
         801  +
    /* ServerOperationErrorGenerator.kt:101 */
  443    802   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         803  +
        /* ServerOperationErrorGenerator.kt:139 */
  444    804   
        match &self {
  445         -
            NonStreamingBlobOperationError::InternalServerError(_inner) => Some(_inner),
         805  +
            /* ServerOperationErrorGenerator.kt:142 */
         806  +
            NonStreamingBlobOperationError::InternalServerError(_inner) =>
         807  +
            /* ServerOperationErrorGenerator.kt:103 */
         808  +
            {
         809  +
                Some(_inner)
         810  +
            }
         811  +
            /* ServerOperationErrorGenerator.kt:139 */
  446    812   
        }
         813  +
        /* ServerOperationErrorGenerator.kt:101 */
  447    814   
    }
         815  +
    /* ServerOperationErrorGenerator.kt:100 */
  448    816   
}
         817  +
/* ServerOperationErrorGenerator.kt:110 */
  449    818   
impl ::std::convert::From<crate::error::InternalServerError>
  450    819   
    for crate::error::NonStreamingBlobOperationError
  451    820   
{
         821  +
    /* ServerOperationErrorGenerator.kt:111 */
  452    822   
    fn from(
  453    823   
        variant: crate::error::InternalServerError,
  454    824   
    ) -> crate::error::NonStreamingBlobOperationError {
         825  +
        /* ServerOperationErrorGenerator.kt:112 */
  455    826   
        Self::InternalServerError(variant)
         827  +
        /* ServerOperationErrorGenerator.kt:111 */
  456    828   
    }
         829  +
    /* ServerOperationErrorGenerator.kt:110 */
  457    830   
}
  458    831   
         832  +
/* PythonServerOperationErrorGenerator.kt:38 */
  459    833   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::NonStreamingBlobOperationError {
  460    834   
    fn from(variant: ::pyo3::PyErr) -> crate::error::NonStreamingBlobOperationError {
  461    835   
        ::pyo3::Python::with_gil(|py| {
  462    836   
            let error = variant.value(py);
  463    837   
  464    838   
            crate::error::InternalServerError {
  465    839   
                message: error.to_string(),
  466    840   
            }
  467    841   
            .into()
  468    842   
        })
  469    843   
    }
  470    844   
}
  471    845   
         846  +
/* ServerOperationErrorGenerator.kt:63 */
  472    847   
/// Error type for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
         848  +
/* ServerOperationErrorGenerator.kt:64 */
  473    849   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
         850  +
/* RustType.kt:516 */
  474    851   
#[derive(::std::fmt::Debug)]
  475         -
pub enum QueryParamsTargetingMapOfEnumStringOperationError {
  476         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
         852  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfEnumStringOperationError
         853  +
{
         854  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
         855  +
    /* ServerOperationErrorGenerator.kt:71 */
  477    856   
    ValidationException(crate::error::ValidationException),
         857  +
    /* ServerOperationErrorGenerator.kt:68 */
  478    858   
    #[allow(missing_docs)] // documentation missing in model
         859  +
    /* ServerOperationErrorGenerator.kt:71 */
  479    860   
    InternalServerError(crate::error::InternalServerError),
         861  +
    /* ServerOperationErrorGenerator.kt:66 */
  480    862   
}
         863  +
/* ServerOperationErrorGenerator.kt:75 */
  481    864   
impl ::std::fmt::Display for QueryParamsTargetingMapOfEnumStringOperationError {
         865  +
    /* ServerOperationErrorGenerator.kt:76 */
  482    866   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         867  +
        /* ServerOperationErrorGenerator.kt:139 */
  483    868   
        match &self {
  484         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         869  +
            /* ServerOperationErrorGenerator.kt:142 */
         870  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) =>
         871  +
            /* ServerOperationErrorGenerator.kt:78 */
         872  +
            {
  485    873   
                _inner.fmt(f)
  486    874   
            }
  487         -
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_inner) => {
         875  +
            ,
         876  +
            /* ServerOperationErrorGenerator.kt:142 */
         877  +
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_inner) =>
         878  +
            /* ServerOperationErrorGenerator.kt:78 */
         879  +
            {
  488    880   
                _inner.fmt(f)
  489    881   
            }
         882  +
            /* ServerOperationErrorGenerator.kt:139 */
  490    883   
        }
         884  +
        /* ServerOperationErrorGenerator.kt:76 */
  491    885   
    }
         886  +
    /* ServerOperationErrorGenerator.kt:75 */
  492    887   
}
         888  +
/* ServerOperationErrorGenerator.kt:83 */
  493    889   
impl QueryParamsTargetingMapOfEnumStringOperationError {
         890  +
    /* ServerOperationErrorGenerator.kt:87 */
  494    891   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfEnumStringOperationError::ValidationException`.
         892  +
    /* ServerOperationErrorGenerator.kt:88 */
  495    893   
    pub fn is_validation_exception(&self) -> bool {
         894  +
        /* ServerOperationErrorGenerator.kt:89 */
  496    895   
        matches!(
  497    896   
            &self,
  498    897   
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_)
  499    898   
        )
         899  +
        /* ServerOperationErrorGenerator.kt:88 */
  500    900   
    }
         901  +
    /* ServerOperationErrorGenerator.kt:87 */
  501    902   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError`.
         903  +
    /* ServerOperationErrorGenerator.kt:88 */
  502    904   
    pub fn is_internal_server_error(&self) -> bool {
         905  +
        /* ServerOperationErrorGenerator.kt:89 */
  503    906   
        matches!(
  504    907   
            &self,
  505    908   
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_)
  506    909   
        )
         910  +
        /* ServerOperationErrorGenerator.kt:88 */
  507    911   
    }
         912  +
    /* ServerOperationErrorGenerator.kt:92 */
  508    913   
    /// Returns the error name string by matching the correct variant.
         914  +
    /* ServerOperationErrorGenerator.kt:93 */
  509    915   
    pub fn name(&self) -> &'static str {
         916  +
        /* ServerOperationErrorGenerator.kt:139 */
  510    917   
        match &self {
  511         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         918  +
            /* ServerOperationErrorGenerator.kt:142 */
         919  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) =>
         920  +
            /* ServerOperationErrorGenerator.kt:95 */
         921  +
            {
  512    922   
                _inner.name()
  513    923   
            }
  514         -
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_inner) => {
         924  +
            ,
         925  +
            /* ServerOperationErrorGenerator.kt:142 */
         926  +
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_inner) =>
         927  +
            /* ServerOperationErrorGenerator.kt:95 */
         928  +
            {
  515    929   
                _inner.name()
  516    930   
            }
         931  +
            /* ServerOperationErrorGenerator.kt:139 */
  517    932   
        }
         933  +
        /* ServerOperationErrorGenerator.kt:93 */
  518    934   
    }
         935  +
    /* ServerOperationErrorGenerator.kt:83 */
  519    936   
}
         937  +
/* ServerOperationErrorGenerator.kt:100 */
  520    938   
impl ::std::error::Error for QueryParamsTargetingMapOfEnumStringOperationError {
         939  +
    /* ServerOperationErrorGenerator.kt:101 */
  521    940   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         941  +
        /* ServerOperationErrorGenerator.kt:139 */
  522    942   
        match &self {
  523         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         943  +
            /* ServerOperationErrorGenerator.kt:142 */
         944  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) =>
         945  +
            /* ServerOperationErrorGenerator.kt:103 */
         946  +
            {
  524    947   
                Some(_inner)
  525    948   
            }
  526         -
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_inner) => {
         949  +
            ,
         950  +
            /* ServerOperationErrorGenerator.kt:142 */
         951  +
            QueryParamsTargetingMapOfEnumStringOperationError::InternalServerError(_inner) =>
         952  +
            /* ServerOperationErrorGenerator.kt:103 */
         953  +
            {
  527    954   
                Some(_inner)
  528    955   
            }
         956  +
            /* ServerOperationErrorGenerator.kt:139 */
  529    957   
        }
         958  +
        /* ServerOperationErrorGenerator.kt:101 */
  530    959   
    }
         960  +
    /* ServerOperationErrorGenerator.kt:100 */
  531    961   
}
         962  +
/* ServerOperationErrorGenerator.kt:110 */
  532    963   
impl ::std::convert::From<crate::error::ValidationException>
  533    964   
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
  534    965   
{
         966  +
    /* ServerOperationErrorGenerator.kt:111 */
  535    967   
    fn from(
  536    968   
        variant: crate::error::ValidationException,
  537    969   
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
         970  +
        /* ServerOperationErrorGenerator.kt:112 */
  538    971   
        Self::ValidationException(variant)
         972  +
        /* ServerOperationErrorGenerator.kt:111 */
  539    973   
    }
         974  +
    /* ServerOperationErrorGenerator.kt:110 */
  540    975   
}
         976  +
/* ServerOperationErrorGenerator.kt:110 */
  541    977   
impl ::std::convert::From<crate::error::InternalServerError>
  542    978   
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
  543    979   
{
         980  +
    /* ServerOperationErrorGenerator.kt:111 */
  544    981   
    fn from(
  545    982   
        variant: crate::error::InternalServerError,
  546    983   
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
         984  +
        /* ServerOperationErrorGenerator.kt:112 */
  547    985   
        Self::InternalServerError(variant)
         986  +
        /* ServerOperationErrorGenerator.kt:111 */
  548    987   
    }
         988  +
    /* ServerOperationErrorGenerator.kt:110 */
  549    989   
}
  550    990   
         991  +
/* PythonServerOperationErrorGenerator.kt:38 */
  551    992   
impl ::std::convert::From<::pyo3::PyErr>
  552    993   
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
  553    994   
{
  554    995   
    fn from(
  555    996   
        variant: ::pyo3::PyErr,
  556    997   
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
  557    998   
        ::pyo3::Python::with_gil(|py| {
  558    999   
            let error = variant.value(py);
  559   1000   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
  560   1001   
                return error.into();
  561   1002   
            }
  562   1003   
            crate::error::InternalServerError {
  563   1004   
                message: error.to_string(),
  564   1005   
            }
  565   1006   
            .into()
  566   1007   
        })
  567   1008   
    }
  568   1009   
}
  569   1010   
        1011  +
/* ServerOperationErrorGenerator.kt:63 */
  570   1012   
/// Error type for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
        1013  +
/* ServerOperationErrorGenerator.kt:64 */
  571   1014   
/// Each variant represents an error that can occur for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
        1015  +
/* RustType.kt:516 */
  572   1016   
#[derive(::std::fmt::Debug)]
  573         -
pub enum HttpPrefixHeadersTargetingLengthMapOperationError {
  574         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        1017  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpPrefixHeadersTargetingLengthMapOperationError
        1018  +
{
        1019  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        1020  +
    /* ServerOperationErrorGenerator.kt:71 */
  575   1021   
    ValidationException(crate::error::ValidationException),
        1022  +
    /* ServerOperationErrorGenerator.kt:68 */
  576   1023   
    #[allow(missing_docs)] // documentation missing in model
        1024  +
    /* ServerOperationErrorGenerator.kt:71 */
  577   1025   
    InternalServerError(crate::error::InternalServerError),
        1026  +
    /* ServerOperationErrorGenerator.kt:66 */
  578   1027   
}
        1028  +
/* ServerOperationErrorGenerator.kt:75 */
  579   1029   
impl ::std::fmt::Display for HttpPrefixHeadersTargetingLengthMapOperationError {
        1030  +
    /* ServerOperationErrorGenerator.kt:76 */
  580   1031   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1032  +
        /* ServerOperationErrorGenerator.kt:139 */
  581   1033   
        match &self {
  582         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
        1034  +
            /* ServerOperationErrorGenerator.kt:142 */
        1035  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) =>
        1036  +
            /* ServerOperationErrorGenerator.kt:78 */
        1037  +
            {
  583   1038   
                _inner.fmt(f)
  584   1039   
            }
  585         -
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_inner) => {
        1040  +
            ,
        1041  +
            /* ServerOperationErrorGenerator.kt:142 */
        1042  +
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_inner) =>
        1043  +
            /* ServerOperationErrorGenerator.kt:78 */
        1044  +
            {
  586   1045   
                _inner.fmt(f)
  587   1046   
            }
        1047  +
            /* ServerOperationErrorGenerator.kt:139 */
  588   1048   
        }
        1049  +
        /* ServerOperationErrorGenerator.kt:76 */
  589   1050   
    }
        1051  +
    /* ServerOperationErrorGenerator.kt:75 */
  590   1052   
}
        1053  +
/* ServerOperationErrorGenerator.kt:83 */
  591   1054   
impl HttpPrefixHeadersTargetingLengthMapOperationError {
        1055  +
    /* ServerOperationErrorGenerator.kt:87 */
  592   1056   
    /// Returns `true` if the error kind is `HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException`.
        1057  +
    /* ServerOperationErrorGenerator.kt:88 */
  593   1058   
    pub fn is_validation_exception(&self) -> bool {
        1059  +
        /* ServerOperationErrorGenerator.kt:89 */
  594   1060   
        matches!(
  595   1061   
            &self,
  596   1062   
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_)
  597   1063   
        )
        1064  +
        /* ServerOperationErrorGenerator.kt:88 */
  598   1065   
    }
        1066  +
    /* ServerOperationErrorGenerator.kt:87 */
  599   1067   
    /// Returns `true` if the error kind is `HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError`.
        1068  +
    /* ServerOperationErrorGenerator.kt:88 */
  600   1069   
    pub fn is_internal_server_error(&self) -> bool {
        1070  +
        /* ServerOperationErrorGenerator.kt:89 */
  601   1071   
        matches!(
  602   1072   
            &self,
  603   1073   
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_)
  604   1074   
        )
        1075  +
        /* ServerOperationErrorGenerator.kt:88 */
  605   1076   
    }
        1077  +
    /* ServerOperationErrorGenerator.kt:92 */
  606   1078   
    /// Returns the error name string by matching the correct variant.
        1079  +
    /* ServerOperationErrorGenerator.kt:93 */
  607   1080   
    pub fn name(&self) -> &'static str {
        1081  +
        /* ServerOperationErrorGenerator.kt:139 */
  608   1082   
        match &self {
  609         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
        1083  +
            /* ServerOperationErrorGenerator.kt:142 */
        1084  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) =>
        1085  +
            /* ServerOperationErrorGenerator.kt:95 */
        1086  +
            {
  610   1087   
                _inner.name()
  611   1088   
            }
  612         -
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_inner) => {
        1089  +
            ,
        1090  +
            /* ServerOperationErrorGenerator.kt:142 */
        1091  +
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_inner) =>
        1092  +
            /* ServerOperationErrorGenerator.kt:95 */
        1093  +
            {
  613   1094   
                _inner.name()
  614   1095   
            }
        1096  +
            /* ServerOperationErrorGenerator.kt:139 */
  615   1097   
        }
        1098  +
        /* ServerOperationErrorGenerator.kt:93 */
  616   1099   
    }
        1100  +
    /* ServerOperationErrorGenerator.kt:83 */
  617   1101   
}
        1102  +
/* ServerOperationErrorGenerator.kt:100 */
  618   1103   
impl ::std::error::Error for HttpPrefixHeadersTargetingLengthMapOperationError {
        1104  +
    /* ServerOperationErrorGenerator.kt:101 */
  619   1105   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1106  +
        /* ServerOperationErrorGenerator.kt:139 */
  620   1107   
        match &self {
  621         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
        1108  +
            /* ServerOperationErrorGenerator.kt:142 */
        1109  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) =>
        1110  +
            /* ServerOperationErrorGenerator.kt:103 */
        1111  +
            {
  622   1112   
                Some(_inner)
  623   1113   
            }
  624         -
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_inner) => {
        1114  +
            ,
        1115  +
            /* ServerOperationErrorGenerator.kt:142 */
        1116  +
            HttpPrefixHeadersTargetingLengthMapOperationError::InternalServerError(_inner) =>
        1117  +
            /* ServerOperationErrorGenerator.kt:103 */
        1118  +
            {
  625   1119   
                Some(_inner)
  626   1120   
            }
        1121  +
            /* ServerOperationErrorGenerator.kt:139 */
  627   1122   
        }
        1123  +
        /* ServerOperationErrorGenerator.kt:101 */
  628   1124   
    }
        1125  +
    /* ServerOperationErrorGenerator.kt:100 */
  629   1126   
}
        1127  +
/* ServerOperationErrorGenerator.kt:110 */
  630   1128   
impl ::std::convert::From<crate::error::ValidationException>
  631   1129   
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
  632   1130   
{
        1131  +
    /* ServerOperationErrorGenerator.kt:111 */
  633   1132   
    fn from(
  634   1133   
        variant: crate::error::ValidationException,
  635   1134   
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
        1135  +
        /* ServerOperationErrorGenerator.kt:112 */
  636   1136   
        Self::ValidationException(variant)
        1137  +
        /* ServerOperationErrorGenerator.kt:111 */
  637   1138   
    }
        1139  +
    /* ServerOperationErrorGenerator.kt:110 */
  638   1140   
}
        1141  +
/* ServerOperationErrorGenerator.kt:110 */
  639   1142   
impl ::std::convert::From<crate::error::InternalServerError>
  640   1143   
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
  641   1144   
{
        1145  +
    /* ServerOperationErrorGenerator.kt:111 */
  642   1146   
    fn from(
  643   1147   
        variant: crate::error::InternalServerError,
  644   1148   
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
        1149  +
        /* ServerOperationErrorGenerator.kt:112 */
  645   1150   
        Self::InternalServerError(variant)
        1151  +
        /* ServerOperationErrorGenerator.kt:111 */
  646   1152   
    }
        1153  +
    /* ServerOperationErrorGenerator.kt:110 */
  647   1154   
}
  648   1155   
        1156  +
/* PythonServerOperationErrorGenerator.kt:38 */
  649   1157   
impl ::std::convert::From<::pyo3::PyErr>
  650   1158   
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
  651   1159   
{
  652   1160   
    fn from(
  653   1161   
        variant: ::pyo3::PyErr,
  654   1162   
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
  655   1163   
        ::pyo3::Python::with_gil(|py| {
  656   1164   
            let error = variant.value(py);
  657   1165   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
  658   1166   
                return error.into();
  659   1167   
            }
  660   1168   
            crate::error::InternalServerError {
  661   1169   
                message: error.to_string(),
  662   1170   
            }
  663   1171   
            .into()
  664   1172   
        })
  665   1173   
    }
  666   1174   
}
  667   1175   
        1176  +
/* ServerOperationErrorGenerator.kt:63 */
  668   1177   
/// Error type for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
        1178  +
/* ServerOperationErrorGenerator.kt:64 */
  669   1179   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
        1180  +
/* RustType.kt:516 */
  670   1181   
#[derive(::std::fmt::Debug)]
  671         -
pub enum QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  672         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        1182  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
        1183  +
{
        1184  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        1185  +
    /* ServerOperationErrorGenerator.kt:71 */
  673   1186   
    ValidationException(crate::error::ValidationException),
        1187  +
    /* ServerOperationErrorGenerator.kt:68 */
  674   1188   
    #[allow(missing_docs)] // documentation missing in model
        1189  +
    /* ServerOperationErrorGenerator.kt:71 */
  675   1190   
    InternalServerError(crate::error::InternalServerError),
        1191  +
    /* ServerOperationErrorGenerator.kt:66 */
  676   1192   
}
        1193  +
/* ServerOperationErrorGenerator.kt:75 */
  677   1194   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
        1195  +
    /* ServerOperationErrorGenerator.kt:76 */
  678   1196   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1197  +
        /* ServerOperationErrorGenerator.kt:139 */
  679   1198   
        match &self {
  680         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  681         -
            _inner.fmt(f)
        1199  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
        1200  +
            /* ServerOperationErrorGenerator.kt:78 */_inner.fmt(f)
  682   1201   
            ,
  683         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(_inner) =>
  684         -
            _inner.fmt(f)
        1202  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(_inner) =>
        1203  +
            /* ServerOperationErrorGenerator.kt:78 */_inner.fmt(f)
  685   1204   
            ,
  686         -
        }
        1205  +
        /* ServerOperationErrorGenerator.kt:139 */}
        1206  +
        /* ServerOperationErrorGenerator.kt:76 */
  687   1207   
    }
        1208  +
    /* ServerOperationErrorGenerator.kt:75 */
  688   1209   
}
        1210  +
/* ServerOperationErrorGenerator.kt:83 */
  689   1211   
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
        1212  +
    /* ServerOperationErrorGenerator.kt:87 */
  690   1213   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException`.
        1214  +
    /* ServerOperationErrorGenerator.kt:88 */
  691   1215   
    pub fn is_validation_exception(&self) -> bool {
        1216  +
        /* ServerOperationErrorGenerator.kt:89 */
  692   1217   
        matches!(
  693   1218   
            &self,
  694   1219   
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(
  695   1220   
                _
  696   1221   
            )
  697   1222   
        )
        1223  +
        /* ServerOperationErrorGenerator.kt:88 */
  698   1224   
    }
        1225  +
    /* ServerOperationErrorGenerator.kt:87 */
  699   1226   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError`.
        1227  +
    /* ServerOperationErrorGenerator.kt:88 */
  700   1228   
    pub fn is_internal_server_error(&self) -> bool {
        1229  +
        /* ServerOperationErrorGenerator.kt:89 */
  701   1230   
        matches!(
  702   1231   
            &self,
  703   1232   
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(
  704   1233   
                _
  705   1234   
            )
  706   1235   
        )
        1236  +
        /* ServerOperationErrorGenerator.kt:88 */
  707   1237   
    }
        1238  +
    /* ServerOperationErrorGenerator.kt:92 */
  708   1239   
    /// Returns the error name string by matching the correct variant.
        1240  +
    /* ServerOperationErrorGenerator.kt:93 */
  709   1241   
    pub fn name(&self) -> &'static str {
        1242  +
        /* ServerOperationErrorGenerator.kt:139 */
  710   1243   
        match &self {
  711         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  712         -
            _inner.name()
        1244  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
        1245  +
            /* ServerOperationErrorGenerator.kt:95 */_inner.name()
  713   1246   
            ,
  714         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(_inner) =>
  715         -
            _inner.name()
        1247  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(_inner) =>
        1248  +
            /* ServerOperationErrorGenerator.kt:95 */_inner.name()
  716   1249   
            ,
  717         -
        }
        1250  +
        /* ServerOperationErrorGenerator.kt:139 */}
        1251  +
        /* ServerOperationErrorGenerator.kt:93 */
  718   1252   
    }
        1253  +
    /* ServerOperationErrorGenerator.kt:83 */
  719   1254   
}
        1255  +
/* ServerOperationErrorGenerator.kt:100 */
  720   1256   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
        1257  +
    /* ServerOperationErrorGenerator.kt:101 */
  721   1258   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1259  +
        /* ServerOperationErrorGenerator.kt:139 */
  722   1260   
        match &self {
  723         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  724         -
            Some(_inner)
        1261  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
        1262  +
            /* ServerOperationErrorGenerator.kt:103 */Some(_inner)
  725   1263   
            ,
  726         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(_inner) =>
  727         -
            Some(_inner)
        1264  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::InternalServerError(_inner) =>
        1265  +
            /* ServerOperationErrorGenerator.kt:103 */Some(_inner)
  728   1266   
            ,
  729         -
        }
        1267  +
        /* ServerOperationErrorGenerator.kt:139 */}
        1268  +
        /* ServerOperationErrorGenerator.kt:101 */
  730   1269   
    }
        1270  +
    /* ServerOperationErrorGenerator.kt:100 */
  731   1271   
}
        1272  +
/* ServerOperationErrorGenerator.kt:110 */
  732   1273   
impl ::std::convert::From<crate::error::ValidationException>
  733   1274   
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
  734   1275   
{
        1276  +
    /* ServerOperationErrorGenerator.kt:111 */
  735   1277   
    fn from(
  736   1278   
        variant: crate::error::ValidationException,
  737   1279   
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
        1280  +
        /* ServerOperationErrorGenerator.kt:112 */
  738   1281   
        Self::ValidationException(variant)
        1282  +
        /* ServerOperationErrorGenerator.kt:111 */
  739   1283   
    }
        1284  +
    /* ServerOperationErrorGenerator.kt:110 */
  740   1285   
}
        1286  +
/* ServerOperationErrorGenerator.kt:110 */
  741   1287   
impl ::std::convert::From<crate::error::InternalServerError>
  742   1288   
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
  743   1289   
{
        1290  +
    /* ServerOperationErrorGenerator.kt:111 */
  744   1291   
    fn from(
  745   1292   
        variant: crate::error::InternalServerError,
  746   1293   
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
        1294  +
        /* ServerOperationErrorGenerator.kt:112 */
  747   1295   
        Self::InternalServerError(variant)
        1296  +
        /* ServerOperationErrorGenerator.kt:111 */
  748   1297   
    }
        1298  +
    /* ServerOperationErrorGenerator.kt:110 */
  749   1299   
}
  750   1300   
        1301  +
/* PythonServerOperationErrorGenerator.kt:38 */
  751   1302   
impl ::std::convert::From<::pyo3::PyErr>
  752   1303   
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
  753   1304   
{
  754   1305   
    fn from(
  755   1306   
        variant: ::pyo3::PyErr,
  756   1307   
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  757   1308   
        ::pyo3::Python::with_gil(|py| {
  758   1309   
            let error = variant.value(py);
  759   1310   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
  760   1311   
                return error.into();
  761   1312   
            }
  762   1313   
            crate::error::InternalServerError {
  763   1314   
                message: error.to_string(),
  764   1315   
            }
  765   1316   
            .into()
  766   1317   
        })
  767   1318   
    }
  768   1319   
}
  769   1320   
        1321  +
/* ServerOperationErrorGenerator.kt:63 */
  770   1322   
/// Error type for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
        1323  +
/* ServerOperationErrorGenerator.kt:64 */
  771   1324   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
        1325  +
/* RustType.kt:516 */
  772   1326   
#[derive(::std::fmt::Debug)]
  773         -
pub enum QueryParamsTargetingMapOfLengthPatternStringOperationError {
  774         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        1327  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfLengthPatternStringOperationError
        1328  +
{
        1329  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        1330  +
    /* ServerOperationErrorGenerator.kt:71 */
  775   1331   
    ValidationException(crate::error::ValidationException),
        1332  +
    /* ServerOperationErrorGenerator.kt:68 */
  776   1333   
    #[allow(missing_docs)] // documentation missing in model
        1334  +
    /* ServerOperationErrorGenerator.kt:71 */
  777   1335   
    InternalServerError(crate::error::InternalServerError),
        1336  +
    /* ServerOperationErrorGenerator.kt:66 */
  778   1337   
}
        1338  +
/* ServerOperationErrorGenerator.kt:75 */
  779   1339   
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthPatternStringOperationError {
        1340  +
    /* ServerOperationErrorGenerator.kt:76 */
  780   1341   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1342  +
        /* ServerOperationErrorGenerator.kt:139 */
  781   1343   
        match &self {
        1344  +
            /* ServerOperationErrorGenerator.kt:142 */
  782   1345   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  783   1346   
                _inner,
  784         -
            ) => _inner.fmt(f),
        1347  +
            ) =>
        1348  +
            /* ServerOperationErrorGenerator.kt:78 */
        1349  +
            {
        1350  +
                _inner.fmt(f)
        1351  +
            }
        1352  +
            ,
        1353  +
            /* ServerOperationErrorGenerator.kt:142 */
  785   1354   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError(
  786   1355   
                _inner,
  787         -
            ) => _inner.fmt(f),
        1356  +
            ) =>
        1357  +
            /* ServerOperationErrorGenerator.kt:78 */
        1358  +
            {
        1359  +
                _inner.fmt(f)
        1360  +
            }
        1361  +
            /* ServerOperationErrorGenerator.kt:139 */
  788   1362   
        }
        1363  +
        /* ServerOperationErrorGenerator.kt:76 */
  789   1364   
    }
        1365  +
    /* ServerOperationErrorGenerator.kt:75 */
  790   1366   
}
        1367  +
/* ServerOperationErrorGenerator.kt:83 */
  791   1368   
impl QueryParamsTargetingMapOfLengthPatternStringOperationError {
        1369  +
    /* ServerOperationErrorGenerator.kt:87 */
  792   1370   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException`.
        1371  +
    /* ServerOperationErrorGenerator.kt:88 */
  793   1372   
    pub fn is_validation_exception(&self) -> bool {
        1373  +
        /* ServerOperationErrorGenerator.kt:89 */
  794   1374   
        matches!(
  795   1375   
            &self,
  796   1376   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(_)
  797   1377   
        )
        1378  +
        /* ServerOperationErrorGenerator.kt:88 */
  798   1379   
    }
        1380  +
    /* ServerOperationErrorGenerator.kt:87 */
  799   1381   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError`.
        1382  +
    /* ServerOperationErrorGenerator.kt:88 */
  800   1383   
    pub fn is_internal_server_error(&self) -> bool {
        1384  +
        /* ServerOperationErrorGenerator.kt:89 */
  801   1385   
        matches!(
  802   1386   
            &self,
  803   1387   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError(_)
  804   1388   
        )
        1389  +
        /* ServerOperationErrorGenerator.kt:88 */
  805   1390   
    }
        1391  +
    /* ServerOperationErrorGenerator.kt:92 */
  806   1392   
    /// Returns the error name string by matching the correct variant.
        1393  +
    /* ServerOperationErrorGenerator.kt:93 */
  807   1394   
    pub fn name(&self) -> &'static str {
        1395  +
        /* ServerOperationErrorGenerator.kt:139 */
  808   1396   
        match &self {
        1397  +
            /* ServerOperationErrorGenerator.kt:142 */
  809   1398   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  810   1399   
                _inner,
  811         -
            ) => _inner.name(),
        1400  +
            ) =>
        1401  +
            /* ServerOperationErrorGenerator.kt:95 */
        1402  +
            {
        1403  +
                _inner.name()
        1404  +
            }
        1405  +
            ,
        1406  +
            /* ServerOperationErrorGenerator.kt:142 */
  812   1407   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError(
  813   1408   
                _inner,
  814         -
            ) => _inner.name(),
        1409  +
            ) =>
        1410  +
            /* ServerOperationErrorGenerator.kt:95 */
        1411  +
            {
        1412  +
                _inner.name()
        1413  +
            }
        1414  +
            /* ServerOperationErrorGenerator.kt:139 */
  815   1415   
        }
        1416  +
        /* ServerOperationErrorGenerator.kt:93 */
  816   1417   
    }
        1418  +
    /* ServerOperationErrorGenerator.kt:83 */
  817   1419   
}
        1420  +
/* ServerOperationErrorGenerator.kt:100 */
  818   1421   
impl ::std::error::Error for QueryParamsTargetingMapOfLengthPatternStringOperationError {
        1422  +
    /* ServerOperationErrorGenerator.kt:101 */
  819   1423   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1424  +
        /* ServerOperationErrorGenerator.kt:139 */
  820   1425   
        match &self {
        1426  +
            /* ServerOperationErrorGenerator.kt:142 */
  821   1427   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  822   1428   
                _inner,
  823         -
            ) => Some(_inner),
        1429  +
            ) =>
        1430  +
            /* ServerOperationErrorGenerator.kt:103 */
        1431  +
            {
        1432  +
                Some(_inner)
        1433  +
            }
        1434  +
            ,
        1435  +
            /* ServerOperationErrorGenerator.kt:142 */
  824   1436   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::InternalServerError(
  825   1437   
                _inner,
  826         -
            ) => Some(_inner),
        1438  +
            ) =>
        1439  +
            /* ServerOperationErrorGenerator.kt:103 */
        1440  +
            {
        1441  +
                Some(_inner)
        1442  +
            }
        1443  +
            /* ServerOperationErrorGenerator.kt:139 */
  827   1444   
        }
        1445  +
        /* ServerOperationErrorGenerator.kt:101 */
  828   1446   
    }
        1447  +
    /* ServerOperationErrorGenerator.kt:100 */
  829   1448   
}
        1449  +
/* ServerOperationErrorGenerator.kt:110 */
  830   1450   
impl ::std::convert::From<crate::error::ValidationException>
  831   1451   
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
  832   1452   
{
        1453  +
    /* ServerOperationErrorGenerator.kt:111 */
  833   1454   
    fn from(
  834   1455   
        variant: crate::error::ValidationException,
  835   1456   
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
        1457  +
        /* ServerOperationErrorGenerator.kt:112 */
  836   1458   
        Self::ValidationException(variant)
        1459  +
        /* ServerOperationErrorGenerator.kt:111 */
  837   1460   
    }
        1461  +
    /* ServerOperationErrorGenerator.kt:110 */
  838   1462   
}
        1463  +
/* ServerOperationErrorGenerator.kt:110 */
  839   1464   
impl ::std::convert::From<crate::error::InternalServerError>
  840   1465   
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
  841   1466   
{
        1467  +
    /* ServerOperationErrorGenerator.kt:111 */
  842   1468   
    fn from(
  843   1469   
        variant: crate::error::InternalServerError,
  844   1470   
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
        1471  +
        /* ServerOperationErrorGenerator.kt:112 */
  845   1472   
        Self::InternalServerError(variant)
        1473  +
        /* ServerOperationErrorGenerator.kt:111 */
  846   1474   
    }
        1475  +
    /* ServerOperationErrorGenerator.kt:110 */
  847   1476   
}
  848   1477   
        1478  +
/* PythonServerOperationErrorGenerator.kt:38 */
  849   1479   
impl ::std::convert::From<::pyo3::PyErr>
  850   1480   
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
  851   1481   
{
  852   1482   
    fn from(
  853   1483   
        variant: ::pyo3::PyErr,
  854   1484   
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
  855   1485   
        ::pyo3::Python::with_gil(|py| {
  856   1486   
            let error = variant.value(py);
  857   1487   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
  858   1488   
                return error.into();
  859   1489   
            }
  860   1490   
            crate::error::InternalServerError {
  861   1491   
                message: error.to_string(),
  862   1492   
            }
  863   1493   
            .into()
  864   1494   
        })
  865   1495   
    }
  866   1496   
}
  867   1497   
        1498  +
/* ServerOperationErrorGenerator.kt:63 */
  868   1499   
/// Error type for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
        1500  +
/* ServerOperationErrorGenerator.kt:64 */
  869   1501   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
        1502  +
/* RustType.kt:516 */
  870   1503   
#[derive(::std::fmt::Debug)]
  871         -
pub enum QueryParamsTargetingMapOfListOfPatternStringOperationError {
  872         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        1504  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfListOfPatternStringOperationError
        1505  +
{
        1506  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        1507  +
    /* ServerOperationErrorGenerator.kt:71 */
  873   1508   
    ValidationException(crate::error::ValidationException),
        1509  +
    /* ServerOperationErrorGenerator.kt:68 */
  874   1510   
    #[allow(missing_docs)] // documentation missing in model
        1511  +
    /* ServerOperationErrorGenerator.kt:71 */
  875   1512   
    InternalServerError(crate::error::InternalServerError),
        1513  +
    /* ServerOperationErrorGenerator.kt:66 */
  876   1514   
}
        1515  +
/* ServerOperationErrorGenerator.kt:75 */
  877   1516   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfPatternStringOperationError {
        1517  +
    /* ServerOperationErrorGenerator.kt:76 */
  878   1518   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1519  +
        /* ServerOperationErrorGenerator.kt:139 */
  879   1520   
        match &self {
        1521  +
            /* ServerOperationErrorGenerator.kt:142 */
  880   1522   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  881   1523   
                _inner,
  882         -
            ) => _inner.fmt(f),
        1524  +
            ) =>
        1525  +
            /* ServerOperationErrorGenerator.kt:78 */
        1526  +
            {
        1527  +
                _inner.fmt(f)
        1528  +
            }
        1529  +
            ,
        1530  +
            /* ServerOperationErrorGenerator.kt:142 */
  883   1531   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError(
  884   1532   
                _inner,
  885         -
            ) => _inner.fmt(f),
        1533  +
            ) =>
        1534  +
            /* ServerOperationErrorGenerator.kt:78 */
        1535  +
            {
        1536  +
                _inner.fmt(f)
        1537  +
            }
        1538  +
            /* ServerOperationErrorGenerator.kt:139 */
  886   1539   
        }
        1540  +
        /* ServerOperationErrorGenerator.kt:76 */
  887   1541   
    }
        1542  +
    /* ServerOperationErrorGenerator.kt:75 */
  888   1543   
}
        1544  +
/* ServerOperationErrorGenerator.kt:83 */
  889   1545   
impl QueryParamsTargetingMapOfListOfPatternStringOperationError {
        1546  +
    /* ServerOperationErrorGenerator.kt:87 */
  890   1547   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException`.
        1548  +
    /* ServerOperationErrorGenerator.kt:88 */
  891   1549   
    pub fn is_validation_exception(&self) -> bool {
        1550  +
        /* ServerOperationErrorGenerator.kt:89 */
  892   1551   
        matches!(
  893   1552   
            &self,
  894   1553   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(_)
  895   1554   
        )
        1555  +
        /* ServerOperationErrorGenerator.kt:88 */
  896   1556   
    }
        1557  +
    /* ServerOperationErrorGenerator.kt:87 */
  897   1558   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError`.
        1559  +
    /* ServerOperationErrorGenerator.kt:88 */
  898   1560   
    pub fn is_internal_server_error(&self) -> bool {
        1561  +
        /* ServerOperationErrorGenerator.kt:89 */
  899   1562   
        matches!(
  900   1563   
            &self,
  901   1564   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError(_)
  902   1565   
        )
        1566  +
        /* ServerOperationErrorGenerator.kt:88 */
  903   1567   
    }
        1568  +
    /* ServerOperationErrorGenerator.kt:92 */
  904   1569   
    /// Returns the error name string by matching the correct variant.
        1570  +
    /* ServerOperationErrorGenerator.kt:93 */
  905   1571   
    pub fn name(&self) -> &'static str {
        1572  +
        /* ServerOperationErrorGenerator.kt:139 */
  906   1573   
        match &self {
        1574  +
            /* ServerOperationErrorGenerator.kt:142 */
  907   1575   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  908   1576   
                _inner,
  909         -
            ) => _inner.name(),
        1577  +
            ) =>
        1578  +
            /* ServerOperationErrorGenerator.kt:95 */
        1579  +
            {
        1580  +
                _inner.name()
        1581  +
            }
        1582  +
            ,
        1583  +
            /* ServerOperationErrorGenerator.kt:142 */
  910   1584   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError(
  911   1585   
                _inner,
  912         -
            ) => _inner.name(),
        1586  +
            ) =>
        1587  +
            /* ServerOperationErrorGenerator.kt:95 */
        1588  +
            {
        1589  +
                _inner.name()
        1590  +
            }
        1591  +
            /* ServerOperationErrorGenerator.kt:139 */
  913   1592   
        }
        1593  +
        /* ServerOperationErrorGenerator.kt:93 */
  914   1594   
    }
        1595  +
    /* ServerOperationErrorGenerator.kt:83 */
  915   1596   
}
        1597  +
/* ServerOperationErrorGenerator.kt:100 */
  916   1598   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfPatternStringOperationError {
        1599  +
    /* ServerOperationErrorGenerator.kt:101 */
  917   1600   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1601  +
        /* ServerOperationErrorGenerator.kt:139 */
  918   1602   
        match &self {
        1603  +
            /* ServerOperationErrorGenerator.kt:142 */
  919   1604   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  920   1605   
                _inner,
  921         -
            ) => Some(_inner),
        1606  +
            ) =>
        1607  +
            /* ServerOperationErrorGenerator.kt:103 */
        1608  +
            {
        1609  +
                Some(_inner)
        1610  +
            }
        1611  +
            ,
        1612  +
            /* ServerOperationErrorGenerator.kt:142 */
  922   1613   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::InternalServerError(
  923   1614   
                _inner,
  924         -
            ) => Some(_inner),
        1615  +
            ) =>
        1616  +
            /* ServerOperationErrorGenerator.kt:103 */
        1617  +
            {
        1618  +
                Some(_inner)
        1619  +
            }
        1620  +
            /* ServerOperationErrorGenerator.kt:139 */
  925   1621   
        }
        1622  +
        /* ServerOperationErrorGenerator.kt:101 */
  926   1623   
    }
        1624  +
    /* ServerOperationErrorGenerator.kt:100 */
  927   1625   
}
        1626  +
/* ServerOperationErrorGenerator.kt:110 */
  928   1627   
impl ::std::convert::From<crate::error::ValidationException>
  929   1628   
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
  930   1629   
{
        1630  +
    /* ServerOperationErrorGenerator.kt:111 */
  931   1631   
    fn from(
  932   1632   
        variant: crate::error::ValidationException,
  933   1633   
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
        1634  +
        /* ServerOperationErrorGenerator.kt:112 */
  934   1635   
        Self::ValidationException(variant)
        1636  +
        /* ServerOperationErrorGenerator.kt:111 */
  935   1637   
    }
        1638  +
    /* ServerOperationErrorGenerator.kt:110 */
  936   1639   
}
        1640  +
/* ServerOperationErrorGenerator.kt:110 */
  937   1641   
impl ::std::convert::From<crate::error::InternalServerError>
  938   1642   
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
  939   1643   
{
        1644  +
    /* ServerOperationErrorGenerator.kt:111 */
  940   1645   
    fn from(
  941   1646   
        variant: crate::error::InternalServerError,
  942   1647   
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
        1648  +
        /* ServerOperationErrorGenerator.kt:112 */
  943   1649   
        Self::InternalServerError(variant)
        1650  +
        /* ServerOperationErrorGenerator.kt:111 */
  944   1651   
    }
        1652  +
    /* ServerOperationErrorGenerator.kt:110 */
  945   1653   
}
  946   1654   
        1655  +
/* PythonServerOperationErrorGenerator.kt:38 */
  947   1656   
impl ::std::convert::From<::pyo3::PyErr>
  948   1657   
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
  949   1658   
{
  950   1659   
    fn from(
  951   1660   
        variant: ::pyo3::PyErr,
  952   1661   
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
  953   1662   
        ::pyo3::Python::with_gil(|py| {
  954   1663   
            let error = variant.value(py);
  955   1664   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
  956   1665   
                return error.into();
  957   1666   
            }
  958   1667   
            crate::error::InternalServerError {
  959   1668   
                message: error.to_string(),
  960   1669   
            }
  961   1670   
            .into()
  962   1671   
        })
  963   1672   
    }
  964   1673   
}
  965   1674   
        1675  +
/* ServerOperationErrorGenerator.kt:63 */
  966   1676   
/// Error type for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
        1677  +
/* ServerOperationErrorGenerator.kt:64 */
  967   1678   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
        1679  +
/* RustType.kt:516 */
  968   1680   
#[derive(::std::fmt::Debug)]
  969         -
pub enum QueryParamsTargetingMapOfPatternStringOperationError {
  970         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        1681  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfPatternStringOperationError
        1682  +
{
        1683  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        1684  +
    /* ServerOperationErrorGenerator.kt:71 */
  971   1685   
    ValidationException(crate::error::ValidationException),
        1686  +
    /* ServerOperationErrorGenerator.kt:68 */
  972   1687   
    #[allow(missing_docs)] // documentation missing in model
        1688  +
    /* ServerOperationErrorGenerator.kt:71 */
  973   1689   
    InternalServerError(crate::error::InternalServerError),
        1690  +
    /* ServerOperationErrorGenerator.kt:66 */
  974   1691   
}
        1692  +
/* ServerOperationErrorGenerator.kt:75 */
  975   1693   
impl ::std::fmt::Display for QueryParamsTargetingMapOfPatternStringOperationError {
        1694  +
    /* ServerOperationErrorGenerator.kt:76 */
  976   1695   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1696  +
        /* ServerOperationErrorGenerator.kt:139 */
  977   1697   
        match &self {
  978         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
        1698  +
            /* ServerOperationErrorGenerator.kt:142 */
        1699  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) =>
        1700  +
            /* ServerOperationErrorGenerator.kt:78 */
        1701  +
            {
  979   1702   
                _inner.fmt(f)
  980   1703   
            }
  981         -
            QueryParamsTargetingMapOfPatternStringOperationError::InternalServerError(_inner) => {
        1704  +
            ,
        1705  +
            /* ServerOperationErrorGenerator.kt:142 */
        1706  +
            QueryParamsTargetingMapOfPatternStringOperationError::InternalServerError(_inner) =>
        1707  +
            /* ServerOperationErrorGenerator.kt:78 */
        1708  +
            {
  982   1709   
                _inner.fmt(f)
  983   1710   
            }
        1711  +
            /* ServerOperationErrorGenerator.kt:139 */
  984   1712   
        }
        1713  +
        /* ServerOperationErrorGenerator.kt:76 */
  985   1714   
    }
        1715  +
    /* ServerOperationErrorGenerator.kt:75 */
  986   1716   
}
        1717  +
/* ServerOperationErrorGenerator.kt:83 */
  987   1718   
impl QueryParamsTargetingMapOfPatternStringOperationError {
        1719  +
    /* ServerOperationErrorGenerator.kt:87 */
  988   1720   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfPatternStringOperationError::ValidationException`.
        1721  +
    /* ServerOperationErrorGenerator.kt:88 */
  989   1722   
    pub fn is_validation_exception(&self) -> bool {
        1723  +
        /* ServerOperationErrorGenerator.kt:89 */
  990   1724   
        matches!(
  991   1725   
            &self,
  992   1726   
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_)
  993   1727   
        )
        1728  +
        /* ServerOperationErrorGenerator.kt:88 */
  994   1729   
    }
        1730  +
    /* ServerOperationErrorGenerator.kt:87 */
  995   1731   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfPatternStringOperationError::InternalServerError`.
        1732  +
    /* ServerOperationErrorGenerator.kt:88 */
  996   1733   
    pub fn is_internal_server_error(&self) -> bool {
        1734  +
        /* ServerOperationErrorGenerator.kt:89 */
  997   1735   
        matches!(
  998   1736   
            &self,
  999   1737   
            QueryParamsTargetingMapOfPatternStringOperationError::InternalServerError(_)
 1000   1738   
        )
        1739  +
        /* ServerOperationErrorGenerator.kt:88 */
 1001   1740   
    }
        1741  +
    /* ServerOperationErrorGenerator.kt:92 */
 1002   1742   
    /// Returns the error name string by matching the correct variant.
        1743  +
    /* ServerOperationErrorGenerator.kt:93 */
 1003   1744   
    pub fn name(&self) -> &'static str {
        1745  +
        /* ServerOperationErrorGenerator.kt:139 */
 1004   1746   
        match &self {
 1005         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
        1747  +
            /* ServerOperationErrorGenerator.kt:142 */
        1748  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) =>
        1749  +
            /* ServerOperationErrorGenerator.kt:95 */
        1750  +
            {
 1006   1751   
                _inner.name()
 1007   1752   
            }
 1008         -
            QueryParamsTargetingMapOfPatternStringOperationError::InternalServerError(_inner) => {
        1753  +
            ,
        1754  +
            /* ServerOperationErrorGenerator.kt:142 */
        1755  +
            QueryParamsTargetingMapOfPatternStringOperationError::InternalServerError(_inner) =>
        1756  +
            /* ServerOperationErrorGenerator.kt:95 */
        1757  +
            {
 1009   1758   
                _inner.name()
 1010   1759   
            }
        1760  +
            /* ServerOperationErrorGenerator.kt:139 */
 1011   1761   
        }
        1762  +
        /* ServerOperationErrorGenerator.kt:93 */
 1012   1763   
    }
        1764  +
    /* ServerOperationErrorGenerator.kt:83 */
 1013   1765   
}
        1766  +
/* ServerOperationErrorGenerator.kt:100 */
 1014   1767   
impl ::std::error::Error for QueryParamsTargetingMapOfPatternStringOperationError {
        1768  +
    /* ServerOperationErrorGenerator.kt:101 */
 1015   1769   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1770  +
        /* ServerOperationErrorGenerator.kt:139 */
 1016   1771   
        match &self {
 1017         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
        1772  +
            /* ServerOperationErrorGenerator.kt:142 */
        1773  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) =>
        1774  +
            /* ServerOperationErrorGenerator.kt:103 */
        1775  +
            {
 1018   1776   
                Some(_inner)
 1019   1777   
            }
 1020         -
            QueryParamsTargetingMapOfPatternStringOperationError::InternalServerError(_inner) => {
        1778  +
            ,
        1779  +
            /* ServerOperationErrorGenerator.kt:142 */
        1780  +
            QueryParamsTargetingMapOfPatternStringOperationError::InternalServerError(_inner) =>
        1781  +
            /* ServerOperationErrorGenerator.kt:103 */
        1782  +
            {
 1021   1783   
                Some(_inner)
 1022   1784   
            }
        1785  +
            /* ServerOperationErrorGenerator.kt:139 */
 1023   1786   
        }
        1787  +
        /* ServerOperationErrorGenerator.kt:101 */
 1024   1788   
    }
        1789  +
    /* ServerOperationErrorGenerator.kt:100 */
 1025   1790   
}
        1791  +
/* ServerOperationErrorGenerator.kt:110 */
 1026   1792   
impl ::std::convert::From<crate::error::ValidationException>
 1027   1793   
    for crate::error::QueryParamsTargetingMapOfPatternStringOperationError
 1028   1794   
{
        1795  +
    /* ServerOperationErrorGenerator.kt:111 */
 1029   1796   
    fn from(
 1030   1797   
        variant: crate::error::ValidationException,
 1031   1798   
    ) -> crate::error::QueryParamsTargetingMapOfPatternStringOperationError {
        1799  +
        /* ServerOperationErrorGenerator.kt:112 */
 1032   1800   
        Self::ValidationException(variant)
        1801  +
        /* ServerOperationErrorGenerator.kt:111 */
 1033   1802   
    }
        1803  +
    /* ServerOperationErrorGenerator.kt:110 */
 1034   1804   
}
        1805  +
/* ServerOperationErrorGenerator.kt:110 */
 1035   1806   
impl ::std::convert::From<crate::error::InternalServerError>
 1036   1807   
    for crate::error::QueryParamsTargetingMapOfPatternStringOperationError
 1037   1808   
{
        1809  +
    /* ServerOperationErrorGenerator.kt:111 */
 1038   1810   
    fn from(
 1039   1811   
        variant: crate::error::InternalServerError,
 1040   1812   
    ) -> crate::error::QueryParamsTargetingMapOfPatternStringOperationError {
        1813  +
        /* ServerOperationErrorGenerator.kt:112 */
 1041   1814   
        Self::InternalServerError(variant)
        1815  +
        /* ServerOperationErrorGenerator.kt:111 */
 1042   1816   
    }
        1817  +
    /* ServerOperationErrorGenerator.kt:110 */
 1043   1818   
}
 1044   1819   
        1820  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1045   1821   
impl ::std::convert::From<::pyo3::PyErr>
 1046   1822   
    for crate::error::QueryParamsTargetingMapOfPatternStringOperationError
 1047   1823   
{
 1048   1824   
    fn from(
 1049   1825   
        variant: ::pyo3::PyErr,
 1050   1826   
    ) -> crate::error::QueryParamsTargetingMapOfPatternStringOperationError {
 1051   1827   
        ::pyo3::Python::with_gil(|py| {
 1052   1828   
            let error = variant.value(py);
 1053   1829   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1054   1830   
                return error.into();
 1055   1831   
            }
 1056   1832   
            crate::error::InternalServerError {
 1057   1833   
                message: error.to_string(),
 1058   1834   
            }
 1059   1835   
            .into()
 1060   1836   
        })
 1061   1837   
    }
 1062   1838   
}
 1063   1839   
        1840  +
/* ServerOperationErrorGenerator.kt:63 */
 1064   1841   
/// Error type for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
        1842  +
/* ServerOperationErrorGenerator.kt:64 */
 1065   1843   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
        1844  +
/* RustType.kt:516 */
 1066   1845   
#[derive(::std::fmt::Debug)]
 1067         -
pub enum QueryParamsTargetingMapOfListOfEnumStringOperationError {
 1068         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        1846  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfListOfEnumStringOperationError
        1847  +
{
        1848  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        1849  +
    /* ServerOperationErrorGenerator.kt:71 */
 1069   1850   
    ValidationException(crate::error::ValidationException),
        1851  +
    /* ServerOperationErrorGenerator.kt:68 */
 1070   1852   
    #[allow(missing_docs)] // documentation missing in model
        1853  +
    /* ServerOperationErrorGenerator.kt:71 */
 1071   1854   
    InternalServerError(crate::error::InternalServerError),
        1855  +
    /* ServerOperationErrorGenerator.kt:66 */
 1072   1856   
}
        1857  +
/* ServerOperationErrorGenerator.kt:75 */
 1073   1858   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfEnumStringOperationError {
        1859  +
    /* ServerOperationErrorGenerator.kt:76 */
 1074   1860   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1861  +
        /* ServerOperationErrorGenerator.kt:139 */
 1075   1862   
        match &self {
        1863  +
            /* ServerOperationErrorGenerator.kt:142 */
 1076   1864   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
 1077   1865   
                _inner,
 1078         -
            ) => _inner.fmt(f),
        1866  +
            ) =>
        1867  +
            /* ServerOperationErrorGenerator.kt:78 */
        1868  +
            {
        1869  +
                _inner.fmt(f)
        1870  +
            }
        1871  +
            ,
        1872  +
            /* ServerOperationErrorGenerator.kt:142 */
 1079   1873   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError(
 1080   1874   
                _inner,
 1081         -
            ) => _inner.fmt(f),
        1875  +
            ) =>
        1876  +
            /* ServerOperationErrorGenerator.kt:78 */
        1877  +
            {
        1878  +
                _inner.fmt(f)
        1879  +
            }
        1880  +
            /* ServerOperationErrorGenerator.kt:139 */
 1082   1881   
        }
        1882  +
        /* ServerOperationErrorGenerator.kt:76 */
 1083   1883   
    }
        1884  +
    /* ServerOperationErrorGenerator.kt:75 */
 1084   1885   
}
        1886  +
/* ServerOperationErrorGenerator.kt:83 */
 1085   1887   
impl QueryParamsTargetingMapOfListOfEnumStringOperationError {
        1888  +
    /* ServerOperationErrorGenerator.kt:87 */
 1086   1889   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException`.
        1890  +
    /* ServerOperationErrorGenerator.kt:88 */
 1087   1891   
    pub fn is_validation_exception(&self) -> bool {
        1892  +
        /* ServerOperationErrorGenerator.kt:89 */
 1088   1893   
        matches!(
 1089   1894   
            &self,
 1090   1895   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(_)
 1091   1896   
        )
        1897  +
        /* ServerOperationErrorGenerator.kt:88 */
 1092   1898   
    }
        1899  +
    /* ServerOperationErrorGenerator.kt:87 */
 1093   1900   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError`.
        1901  +
    /* ServerOperationErrorGenerator.kt:88 */
 1094   1902   
    pub fn is_internal_server_error(&self) -> bool {
        1903  +
        /* ServerOperationErrorGenerator.kt:89 */
 1095   1904   
        matches!(
 1096   1905   
            &self,
 1097   1906   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError(_)
 1098   1907   
        )
        1908  +
        /* ServerOperationErrorGenerator.kt:88 */
 1099   1909   
    }
        1910  +
    /* ServerOperationErrorGenerator.kt:92 */
 1100   1911   
    /// Returns the error name string by matching the correct variant.
        1912  +
    /* ServerOperationErrorGenerator.kt:93 */
 1101   1913   
    pub fn name(&self) -> &'static str {
        1914  +
        /* ServerOperationErrorGenerator.kt:139 */
 1102   1915   
        match &self {
        1916  +
            /* ServerOperationErrorGenerator.kt:142 */
 1103   1917   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
 1104   1918   
                _inner,
 1105         -
            ) => _inner.name(),
        1919  +
            ) =>
        1920  +
            /* ServerOperationErrorGenerator.kt:95 */
        1921  +
            {
        1922  +
                _inner.name()
        1923  +
            }
        1924  +
            ,
        1925  +
            /* ServerOperationErrorGenerator.kt:142 */
 1106   1926   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError(
 1107   1927   
                _inner,
 1108         -
            ) => _inner.name(),
        1928  +
            ) =>
        1929  +
            /* ServerOperationErrorGenerator.kt:95 */
        1930  +
            {
        1931  +
                _inner.name()
        1932  +
            }
        1933  +
            /* ServerOperationErrorGenerator.kt:139 */
 1109   1934   
        }
        1935  +
        /* ServerOperationErrorGenerator.kt:93 */
 1110   1936   
    }
        1937  +
    /* ServerOperationErrorGenerator.kt:83 */
 1111   1938   
}
        1939  +
/* ServerOperationErrorGenerator.kt:100 */
 1112   1940   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfEnumStringOperationError {
        1941  +
    /* ServerOperationErrorGenerator.kt:101 */
 1113   1942   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1943  +
        /* ServerOperationErrorGenerator.kt:139 */
 1114   1944   
        match &self {
        1945  +
            /* ServerOperationErrorGenerator.kt:142 */
 1115   1946   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
 1116   1947   
                _inner,
 1117         -
            ) => Some(_inner),
        1948  +
            ) =>
        1949  +
            /* ServerOperationErrorGenerator.kt:103 */
        1950  +
            {
        1951  +
                Some(_inner)
        1952  +
            }
        1953  +
            ,
        1954  +
            /* ServerOperationErrorGenerator.kt:142 */
 1118   1955   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::InternalServerError(
 1119   1956   
                _inner,
 1120         -
            ) => Some(_inner),
        1957  +
            ) =>
        1958  +
            /* ServerOperationErrorGenerator.kt:103 */
        1959  +
            {
        1960  +
                Some(_inner)
        1961  +
            }
        1962  +
            /* ServerOperationErrorGenerator.kt:139 */
 1121   1963   
        }
        1964  +
        /* ServerOperationErrorGenerator.kt:101 */
 1122   1965   
    }
        1966  +
    /* ServerOperationErrorGenerator.kt:100 */
 1123   1967   
}
        1968  +
/* ServerOperationErrorGenerator.kt:110 */
 1124   1969   
impl ::std::convert::From<crate::error::ValidationException>
 1125   1970   
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
 1126   1971   
{
        1972  +
    /* ServerOperationErrorGenerator.kt:111 */
 1127   1973   
    fn from(
 1128   1974   
        variant: crate::error::ValidationException,
 1129   1975   
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
        1976  +
        /* ServerOperationErrorGenerator.kt:112 */
 1130   1977   
        Self::ValidationException(variant)
        1978  +
        /* ServerOperationErrorGenerator.kt:111 */
 1131   1979   
    }
        1980  +
    /* ServerOperationErrorGenerator.kt:110 */
 1132   1981   
}
        1982  +
/* ServerOperationErrorGenerator.kt:110 */
 1133   1983   
impl ::std::convert::From<crate::error::InternalServerError>
 1134   1984   
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
 1135   1985   
{
        1986  +
    /* ServerOperationErrorGenerator.kt:111 */
 1136   1987   
    fn from(
 1137   1988   
        variant: crate::error::InternalServerError,
 1138   1989   
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
        1990  +
        /* ServerOperationErrorGenerator.kt:112 */
 1139   1991   
        Self::InternalServerError(variant)
        1992  +
        /* ServerOperationErrorGenerator.kt:111 */
 1140   1993   
    }
        1994  +
    /* ServerOperationErrorGenerator.kt:110 */
 1141   1995   
}
 1142   1996   
        1997  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1143   1998   
impl ::std::convert::From<::pyo3::PyErr>
 1144   1999   
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
 1145   2000   
{
 1146   2001   
    fn from(
 1147   2002   
        variant: ::pyo3::PyErr,
 1148   2003   
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
 1149   2004   
        ::pyo3::Python::with_gil(|py| {
 1150   2005   
            let error = variant.value(py);
 1151   2006   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1152   2007   
                return error.into();
 1153   2008   
            }
 1154   2009   
            crate::error::InternalServerError {
 1155   2010   
                message: error.to_string(),
 1156   2011   
            }
 1157   2012   
            .into()
 1158   2013   
        })
 1159   2014   
    }
 1160   2015   
}
 1161   2016   
        2017  +
/* ServerOperationErrorGenerator.kt:63 */
 1162   2018   
/// Error type for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
        2019  +
/* ServerOperationErrorGenerator.kt:64 */
 1163   2020   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
        2021  +
/* RustType.kt:516 */
 1164   2022   
#[derive(::std::fmt::Debug)]
 1165         -
pub enum QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
 1166         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        2023  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
        2024  +
{
        2025  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        2026  +
    /* ServerOperationErrorGenerator.kt:71 */
 1167   2027   
    ValidationException(crate::error::ValidationException),
        2028  +
    /* ServerOperationErrorGenerator.kt:68 */
 1168   2029   
    #[allow(missing_docs)] // documentation missing in model
        2030  +
    /* ServerOperationErrorGenerator.kt:71 */
 1169   2031   
    InternalServerError(crate::error::InternalServerError),
        2032  +
    /* ServerOperationErrorGenerator.kt:66 */
 1170   2033   
}
        2034  +
/* ServerOperationErrorGenerator.kt:75 */
 1171   2035   
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        2036  +
    /* ServerOperationErrorGenerator.kt:76 */
 1172   2037   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2038  +
        /* ServerOperationErrorGenerator.kt:139 */
 1173   2039   
        match &self {
 1174         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
 1175         -
            _inner.fmt(f)
        2040  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
        2041  +
            /* ServerOperationErrorGenerator.kt:78 */_inner.fmt(f)
 1176   2042   
            ,
 1177         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(_inner) =>
 1178         -
            _inner.fmt(f)
        2043  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(_inner) =>
        2044  +
            /* ServerOperationErrorGenerator.kt:78 */_inner.fmt(f)
 1179   2045   
            ,
 1180         -
        }
        2046  +
        /* ServerOperationErrorGenerator.kt:139 */}
        2047  +
        /* ServerOperationErrorGenerator.kt:76 */
 1181   2048   
    }
        2049  +
    /* ServerOperationErrorGenerator.kt:75 */
 1182   2050   
}
        2051  +
/* ServerOperationErrorGenerator.kt:83 */
 1183   2052   
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        2053  +
    /* ServerOperationErrorGenerator.kt:87 */
 1184   2054   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException`.
        2055  +
    /* ServerOperationErrorGenerator.kt:88 */
 1185   2056   
    pub fn is_validation_exception(&self) -> bool {
        2057  +
        /* ServerOperationErrorGenerator.kt:89 */
 1186   2058   
        matches!(
 1187   2059   
            &self,
 1188   2060   
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(
 1189   2061   
                _
 1190   2062   
            )
 1191   2063   
        )
        2064  +
        /* ServerOperationErrorGenerator.kt:88 */
 1192   2065   
    }
        2066  +
    /* ServerOperationErrorGenerator.kt:87 */
 1193   2067   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError`.
        2068  +
    /* ServerOperationErrorGenerator.kt:88 */
 1194   2069   
    pub fn is_internal_server_error(&self) -> bool {
        2070  +
        /* ServerOperationErrorGenerator.kt:89 */
 1195   2071   
        matches!(
 1196   2072   
            &self,
 1197   2073   
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(
 1198   2074   
                _
 1199   2075   
            )
 1200   2076   
        )
        2077  +
        /* ServerOperationErrorGenerator.kt:88 */
 1201   2078   
    }
        2079  +
    /* ServerOperationErrorGenerator.kt:92 */
 1202   2080   
    /// Returns the error name string by matching the correct variant.
        2081  +
    /* ServerOperationErrorGenerator.kt:93 */
 1203   2082   
    pub fn name(&self) -> &'static str {
        2083  +
        /* ServerOperationErrorGenerator.kt:139 */
 1204   2084   
        match &self {
 1205         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
 1206         -
            _inner.name()
        2085  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
        2086  +
            /* ServerOperationErrorGenerator.kt:95 */_inner.name()
 1207   2087   
            ,
 1208         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(_inner) =>
 1209         -
            _inner.name()
        2088  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(_inner) =>
        2089  +
            /* ServerOperationErrorGenerator.kt:95 */_inner.name()
 1210   2090   
            ,
 1211         -
        }
        2091  +
        /* ServerOperationErrorGenerator.kt:139 */}
        2092  +
        /* ServerOperationErrorGenerator.kt:93 */
 1212   2093   
    }
        2094  +
    /* ServerOperationErrorGenerator.kt:83 */
 1213   2095   
}
        2096  +
/* ServerOperationErrorGenerator.kt:100 */
 1214   2097   
impl ::std::error::Error for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        2098  +
    /* ServerOperationErrorGenerator.kt:101 */
 1215   2099   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2100  +
        /* ServerOperationErrorGenerator.kt:139 */
 1216   2101   
        match &self {
 1217         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
 1218         -
            Some(_inner)
        2102  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
        2103  +
            /* ServerOperationErrorGenerator.kt:103 */Some(_inner)
 1219   2104   
            ,
 1220         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(_inner) =>
 1221         -
            Some(_inner)
        2105  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::InternalServerError(_inner) =>
        2106  +
            /* ServerOperationErrorGenerator.kt:103 */Some(_inner)
 1222   2107   
            ,
 1223         -
        }
        2108  +
        /* ServerOperationErrorGenerator.kt:139 */}
        2109  +
        /* ServerOperationErrorGenerator.kt:101 */
 1224   2110   
    }
        2111  +
    /* ServerOperationErrorGenerator.kt:100 */
 1225   2112   
}
        2113  +
/* ServerOperationErrorGenerator.kt:110 */
 1226   2114   
impl ::std::convert::From<crate::error::ValidationException>
 1227   2115   
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
 1228   2116   
{
        2117  +
    /* ServerOperationErrorGenerator.kt:111 */
 1229   2118   
    fn from(
 1230   2119   
        variant: crate::error::ValidationException,
 1231   2120   
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        2121  +
        /* ServerOperationErrorGenerator.kt:112 */
 1232   2122   
        Self::ValidationException(variant)
        2123  +
        /* ServerOperationErrorGenerator.kt:111 */
 1233   2124   
    }
        2125  +
    /* ServerOperationErrorGenerator.kt:110 */
 1234   2126   
}
        2127  +
/* ServerOperationErrorGenerator.kt:110 */
 1235   2128   
impl ::std::convert::From<crate::error::InternalServerError>
 1236   2129   
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
 1237   2130   
{
        2131  +
    /* ServerOperationErrorGenerator.kt:111 */
 1238   2132   
    fn from(
 1239   2133   
        variant: crate::error::InternalServerError,
 1240   2134   
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        2135  +
        /* ServerOperationErrorGenerator.kt:112 */
 1241   2136   
        Self::InternalServerError(variant)
        2137  +
        /* ServerOperationErrorGenerator.kt:111 */
 1242   2138   
    }
        2139  +
    /* ServerOperationErrorGenerator.kt:110 */
 1243   2140   
}
 1244   2141   
        2142  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1245   2143   
impl ::std::convert::From<::pyo3::PyErr>
 1246   2144   
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
 1247   2145   
{
 1248   2146   
    fn from(
 1249   2147   
        variant: ::pyo3::PyErr,
 1250   2148   
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
 1251   2149   
        ::pyo3::Python::with_gil(|py| {
 1252   2150   
            let error = variant.value(py);
 1253   2151   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1254   2152   
                return error.into();
 1255   2153   
            }
 1256   2154   
            crate::error::InternalServerError {
 1257   2155   
                message: error.to_string(),
 1258   2156   
            }
 1259   2157   
            .into()
 1260   2158   
        })
 1261   2159   
    }
 1262   2160   
}
 1263   2161   
        2162  +
/* ServerOperationErrorGenerator.kt:63 */
 1264   2163   
/// Error type for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
        2164  +
/* ServerOperationErrorGenerator.kt:64 */
 1265   2165   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
        2166  +
/* RustType.kt:516 */
 1266   2167   
#[derive(::std::fmt::Debug)]
 1267         -
pub enum QueryParamsTargetingMapOfSetOfLengthStringOperationError {
 1268         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        2168  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfSetOfLengthStringOperationError
        2169  +
{
        2170  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        2171  +
    /* ServerOperationErrorGenerator.kt:71 */
 1269   2172   
    ValidationException(crate::error::ValidationException),
        2173  +
    /* ServerOperationErrorGenerator.kt:68 */
 1270   2174   
    #[allow(missing_docs)] // documentation missing in model
        2175  +
    /* ServerOperationErrorGenerator.kt:71 */
 1271   2176   
    InternalServerError(crate::error::InternalServerError),
        2177  +
    /* ServerOperationErrorGenerator.kt:66 */
 1272   2178   
}
        2179  +
/* ServerOperationErrorGenerator.kt:75 */
 1273   2180   
impl ::std::fmt::Display for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        2181  +
    /* ServerOperationErrorGenerator.kt:76 */
 1274   2182   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2183  +
        /* ServerOperationErrorGenerator.kt:139 */
 1275   2184   
        match &self {
        2185  +
            /* ServerOperationErrorGenerator.kt:142 */
 1276   2186   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
 1277   2187   
                _inner,
 1278         -
            ) => _inner.fmt(f),
        2188  +
            ) =>
        2189  +
            /* ServerOperationErrorGenerator.kt:78 */
        2190  +
            {
        2191  +
                _inner.fmt(f)
        2192  +
            }
        2193  +
            ,
        2194  +
            /* ServerOperationErrorGenerator.kt:142 */
 1279   2195   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError(
 1280   2196   
                _inner,
 1281         -
            ) => _inner.fmt(f),
        2197  +
            ) =>
        2198  +
            /* ServerOperationErrorGenerator.kt:78 */
        2199  +
            {
        2200  +
                _inner.fmt(f)
        2201  +
            }
        2202  +
            /* ServerOperationErrorGenerator.kt:139 */
 1282   2203   
        }
        2204  +
        /* ServerOperationErrorGenerator.kt:76 */
 1283   2205   
    }
        2206  +
    /* ServerOperationErrorGenerator.kt:75 */
 1284   2207   
}
        2208  +
/* ServerOperationErrorGenerator.kt:83 */
 1285   2209   
impl QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        2210  +
    /* ServerOperationErrorGenerator.kt:87 */
 1286   2211   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException`.
        2212  +
    /* ServerOperationErrorGenerator.kt:88 */
 1287   2213   
    pub fn is_validation_exception(&self) -> bool {
        2214  +
        /* ServerOperationErrorGenerator.kt:89 */
 1288   2215   
        matches!(
 1289   2216   
            &self,
 1290   2217   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(_)
 1291   2218   
        )
        2219  +
        /* ServerOperationErrorGenerator.kt:88 */
 1292   2220   
    }
        2221  +
    /* ServerOperationErrorGenerator.kt:87 */
 1293   2222   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError`.
        2223  +
    /* ServerOperationErrorGenerator.kt:88 */
 1294   2224   
    pub fn is_internal_server_error(&self) -> bool {
        2225  +
        /* ServerOperationErrorGenerator.kt:89 */
 1295   2226   
        matches!(
 1296   2227   
            &self,
 1297   2228   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError(_)
 1298   2229   
        )
        2230  +
        /* ServerOperationErrorGenerator.kt:88 */
 1299   2231   
    }
        2232  +
    /* ServerOperationErrorGenerator.kt:92 */
 1300   2233   
    /// Returns the error name string by matching the correct variant.
        2234  +
    /* ServerOperationErrorGenerator.kt:93 */
 1301   2235   
    pub fn name(&self) -> &'static str {
        2236  +
        /* ServerOperationErrorGenerator.kt:139 */
 1302   2237   
        match &self {
        2238  +
            /* ServerOperationErrorGenerator.kt:142 */
 1303   2239   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
 1304   2240   
                _inner,
 1305         -
            ) => _inner.name(),
        2241  +
            ) =>
        2242  +
            /* ServerOperationErrorGenerator.kt:95 */
        2243  +
            {
        2244  +
                _inner.name()
        2245  +
            }
        2246  +
            ,
        2247  +
            /* ServerOperationErrorGenerator.kt:142 */
 1306   2248   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError(
 1307   2249   
                _inner,
 1308         -
            ) => _inner.name(),
        2250  +
            ) =>
        2251  +
            /* ServerOperationErrorGenerator.kt:95 */
        2252  +
            {
        2253  +
                _inner.name()
        2254  +
            }
        2255  +
            /* ServerOperationErrorGenerator.kt:139 */
 1309   2256   
        }
        2257  +
        /* ServerOperationErrorGenerator.kt:93 */
 1310   2258   
    }
        2259  +
    /* ServerOperationErrorGenerator.kt:83 */
 1311   2260   
}
        2261  +
/* ServerOperationErrorGenerator.kt:100 */
 1312   2262   
impl ::std::error::Error for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        2263  +
    /* ServerOperationErrorGenerator.kt:101 */
 1313   2264   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2265  +
        /* ServerOperationErrorGenerator.kt:139 */
 1314   2266   
        match &self {
        2267  +
            /* ServerOperationErrorGenerator.kt:142 */
 1315   2268   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
 1316   2269   
                _inner,
 1317         -
            ) => Some(_inner),
        2270  +
            ) =>
        2271  +
            /* ServerOperationErrorGenerator.kt:103 */
        2272  +
            {
        2273  +
                Some(_inner)
        2274  +
            }
        2275  +
            ,
        2276  +
            /* ServerOperationErrorGenerator.kt:142 */
 1318   2277   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::InternalServerError(
 1319   2278   
                _inner,
 1320         -
            ) => Some(_inner),
        2279  +
            ) =>
        2280  +
            /* ServerOperationErrorGenerator.kt:103 */
        2281  +
            {
        2282  +
                Some(_inner)
        2283  +
            }
        2284  +
            /* ServerOperationErrorGenerator.kt:139 */
 1321   2285   
        }
        2286  +
        /* ServerOperationErrorGenerator.kt:101 */
 1322   2287   
    }
        2288  +
    /* ServerOperationErrorGenerator.kt:100 */
 1323   2289   
}
        2290  +
/* ServerOperationErrorGenerator.kt:110 */
 1324   2291   
impl ::std::convert::From<crate::error::ValidationException>
 1325   2292   
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
 1326   2293   
{
        2294  +
    /* ServerOperationErrorGenerator.kt:111 */
 1327   2295   
    fn from(
 1328   2296   
        variant: crate::error::ValidationException,
 1329   2297   
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        2298  +
        /* ServerOperationErrorGenerator.kt:112 */
 1330   2299   
        Self::ValidationException(variant)
        2300  +
        /* ServerOperationErrorGenerator.kt:111 */
 1331   2301   
    }
        2302  +
    /* ServerOperationErrorGenerator.kt:110 */
 1332   2303   
}
        2304  +
/* ServerOperationErrorGenerator.kt:110 */
 1333   2305   
impl ::std::convert::From<crate::error::InternalServerError>
 1334   2306   
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
 1335   2307   
{
        2308  +
    /* ServerOperationErrorGenerator.kt:111 */
 1336   2309   
    fn from(
 1337   2310   
        variant: crate::error::InternalServerError,
 1338   2311   
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        2312  +
        /* ServerOperationErrorGenerator.kt:112 */
 1339   2313   
        Self::InternalServerError(variant)
        2314  +
        /* ServerOperationErrorGenerator.kt:111 */
 1340   2315   
    }
        2316  +
    /* ServerOperationErrorGenerator.kt:110 */
 1341   2317   
}
 1342   2318   
        2319  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1343   2320   
impl ::std::convert::From<::pyo3::PyErr>
 1344   2321   
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
 1345   2322   
{
 1346   2323   
    fn from(
 1347   2324   
        variant: ::pyo3::PyErr,
 1348   2325   
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
 1349   2326   
        ::pyo3::Python::with_gil(|py| {
 1350   2327   
            let error = variant.value(py);
 1351   2328   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1352   2329   
                return error.into();
 1353   2330   
            }
 1354   2331   
            crate::error::InternalServerError {
 1355   2332   
                message: error.to_string(),
 1356   2333   
            }
 1357   2334   
            .into()
 1358   2335   
        })
 1359   2336   
    }
 1360   2337   
}
 1361   2338   
        2339  +
/* ServerOperationErrorGenerator.kt:63 */
 1362   2340   
/// Error type for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
        2341  +
/* ServerOperationErrorGenerator.kt:64 */
 1363   2342   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
        2343  +
/* RustType.kt:516 */
 1364   2344   
#[derive(::std::fmt::Debug)]
 1365         -
pub enum QueryParamsTargetingMapOfListOfLengthStringOperationError {
 1366         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        2345  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfListOfLengthStringOperationError
        2346  +
{
        2347  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        2348  +
    /* ServerOperationErrorGenerator.kt:71 */
 1367   2349   
    ValidationException(crate::error::ValidationException),
        2350  +
    /* ServerOperationErrorGenerator.kt:68 */
 1368   2351   
    #[allow(missing_docs)] // documentation missing in model
        2352  +
    /* ServerOperationErrorGenerator.kt:71 */
 1369   2353   
    InternalServerError(crate::error::InternalServerError),
        2354  +
    /* ServerOperationErrorGenerator.kt:66 */
 1370   2355   
}
        2356  +
/* ServerOperationErrorGenerator.kt:75 */
 1371   2357   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthStringOperationError {
        2358  +
    /* ServerOperationErrorGenerator.kt:76 */
 1372   2359   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2360  +
        /* ServerOperationErrorGenerator.kt:139 */
 1373   2361   
        match &self {
        2362  +
            /* ServerOperationErrorGenerator.kt:142 */
 1374   2363   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
 1375   2364   
                _inner,
 1376         -
            ) => _inner.fmt(f),
        2365  +
            ) =>
        2366  +
            /* ServerOperationErrorGenerator.kt:78 */
        2367  +
            {
        2368  +
                _inner.fmt(f)
        2369  +
            }
        2370  +
            ,
        2371  +
            /* ServerOperationErrorGenerator.kt:142 */
 1377   2372   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError(
 1378   2373   
                _inner,
 1379         -
            ) => _inner.fmt(f),
        2374  +
            ) =>
        2375  +
            /* ServerOperationErrorGenerator.kt:78 */
        2376  +
            {
        2377  +
                _inner.fmt(f)
        2378  +
            }
        2379  +
            /* ServerOperationErrorGenerator.kt:139 */
 1380   2380   
        }
        2381  +
        /* ServerOperationErrorGenerator.kt:76 */
 1381   2382   
    }
        2383  +
    /* ServerOperationErrorGenerator.kt:75 */
 1382   2384   
}
        2385  +
/* ServerOperationErrorGenerator.kt:83 */
 1383   2386   
impl QueryParamsTargetingMapOfListOfLengthStringOperationError {
        2387  +
    /* ServerOperationErrorGenerator.kt:87 */
 1384   2388   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException`.
        2389  +
    /* ServerOperationErrorGenerator.kt:88 */
 1385   2390   
    pub fn is_validation_exception(&self) -> bool {
        2391  +
        /* ServerOperationErrorGenerator.kt:89 */
 1386   2392   
        matches!(
 1387   2393   
            &self,
 1388   2394   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(_)
 1389   2395   
        )
        2396  +
        /* ServerOperationErrorGenerator.kt:88 */
 1390   2397   
    }
        2398  +
    /* ServerOperationErrorGenerator.kt:87 */
 1391   2399   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError`.
        2400  +
    /* ServerOperationErrorGenerator.kt:88 */
 1392   2401   
    pub fn is_internal_server_error(&self) -> bool {
        2402  +
        /* ServerOperationErrorGenerator.kt:89 */
 1393   2403   
        matches!(
 1394   2404   
            &self,
 1395   2405   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError(_)
 1396   2406   
        )
        2407  +
        /* ServerOperationErrorGenerator.kt:88 */
 1397   2408   
    }
        2409  +
    /* ServerOperationErrorGenerator.kt:92 */
 1398   2410   
    /// Returns the error name string by matching the correct variant.
        2411  +
    /* ServerOperationErrorGenerator.kt:93 */
 1399   2412   
    pub fn name(&self) -> &'static str {
        2413  +
        /* ServerOperationErrorGenerator.kt:139 */
 1400   2414   
        match &self {
        2415  +
            /* ServerOperationErrorGenerator.kt:142 */
 1401   2416   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
 1402   2417   
                _inner,
 1403         -
            ) => _inner.name(),
        2418  +
            ) =>
        2419  +
            /* ServerOperationErrorGenerator.kt:95 */
        2420  +
            {
        2421  +
                _inner.name()
        2422  +
            }
        2423  +
            ,
        2424  +
            /* ServerOperationErrorGenerator.kt:142 */
 1404   2425   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError(
 1405   2426   
                _inner,
 1406         -
            ) => _inner.name(),
        2427  +
            ) =>
        2428  +
            /* ServerOperationErrorGenerator.kt:95 */
        2429  +
            {
        2430  +
                _inner.name()
        2431  +
            }
        2432  +
            /* ServerOperationErrorGenerator.kt:139 */
 1407   2433   
        }
        2434  +
        /* ServerOperationErrorGenerator.kt:93 */
 1408   2435   
    }
        2436  +
    /* ServerOperationErrorGenerator.kt:83 */
 1409   2437   
}
        2438  +
/* ServerOperationErrorGenerator.kt:100 */
 1410   2439   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthStringOperationError {
        2440  +
    /* ServerOperationErrorGenerator.kt:101 */
 1411   2441   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2442  +
        /* ServerOperationErrorGenerator.kt:139 */
 1412   2443   
        match &self {
        2444  +
            /* ServerOperationErrorGenerator.kt:142 */
 1413   2445   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
 1414   2446   
                _inner,
 1415         -
            ) => Some(_inner),
        2447  +
            ) =>
        2448  +
            /* ServerOperationErrorGenerator.kt:103 */
        2449  +
            {
        2450  +
                Some(_inner)
        2451  +
            }
        2452  +
            ,
        2453  +
            /* ServerOperationErrorGenerator.kt:142 */
 1416   2454   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::InternalServerError(
 1417   2455   
                _inner,
 1418         -
            ) => Some(_inner),
        2456  +
            ) =>
        2457  +
            /* ServerOperationErrorGenerator.kt:103 */
        2458  +
            {
        2459  +
                Some(_inner)
        2460  +
            }
        2461  +
            /* ServerOperationErrorGenerator.kt:139 */
 1419   2462   
        }
        2463  +
        /* ServerOperationErrorGenerator.kt:101 */
 1420   2464   
    }
        2465  +
    /* ServerOperationErrorGenerator.kt:100 */
 1421   2466   
}
        2467  +
/* ServerOperationErrorGenerator.kt:110 */
 1422   2468   
impl ::std::convert::From<crate::error::ValidationException>
 1423   2469   
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
 1424   2470   
{
        2471  +
    /* ServerOperationErrorGenerator.kt:111 */
 1425   2472   
    fn from(
 1426   2473   
        variant: crate::error::ValidationException,
 1427   2474   
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
        2475  +
        /* ServerOperationErrorGenerator.kt:112 */
 1428   2476   
        Self::ValidationException(variant)
        2477  +
        /* ServerOperationErrorGenerator.kt:111 */
 1429   2478   
    }
        2479  +
    /* ServerOperationErrorGenerator.kt:110 */
 1430   2480   
}
        2481  +
/* ServerOperationErrorGenerator.kt:110 */
 1431   2482   
impl ::std::convert::From<crate::error::InternalServerError>
 1432   2483   
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
 1433   2484   
{
        2485  +
    /* ServerOperationErrorGenerator.kt:111 */
 1434   2486   
    fn from(
 1435   2487   
        variant: crate::error::InternalServerError,
 1436   2488   
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
        2489  +
        /* ServerOperationErrorGenerator.kt:112 */
 1437   2490   
        Self::InternalServerError(variant)
        2491  +
        /* ServerOperationErrorGenerator.kt:111 */
 1438   2492   
    }
        2493  +
    /* ServerOperationErrorGenerator.kt:110 */
 1439   2494   
}
 1440   2495   
        2496  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1441   2497   
impl ::std::convert::From<::pyo3::PyErr>
 1442   2498   
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
 1443   2499   
{
 1444   2500   
    fn from(
 1445   2501   
        variant: ::pyo3::PyErr,
 1446   2502   
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
 1447   2503   
        ::pyo3::Python::with_gil(|py| {
 1448   2504   
            let error = variant.value(py);
 1449   2505   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1450   2506   
                return error.into();
 1451   2507   
            }
 1452   2508   
            crate::error::InternalServerError {
 1453   2509   
                message: error.to_string(),
 1454   2510   
            }
 1455   2511   
            .into()
 1456   2512   
        })
 1457   2513   
    }
 1458   2514   
}
 1459   2515   
        2516  +
/* ServerOperationErrorGenerator.kt:63 */
 1460   2517   
/// Error type for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
        2518  +
/* ServerOperationErrorGenerator.kt:64 */
 1461   2519   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
        2520  +
/* RustType.kt:516 */
 1462   2521   
#[derive(::std::fmt::Debug)]
 1463         -
pub enum QueryParamsTargetingMapOfLengthStringOperationError {
 1464         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        2522  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfLengthStringOperationError
        2523  +
{
        2524  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        2525  +
    /* ServerOperationErrorGenerator.kt:71 */
 1465   2526   
    ValidationException(crate::error::ValidationException),
        2527  +
    /* ServerOperationErrorGenerator.kt:68 */
 1466   2528   
    #[allow(missing_docs)] // documentation missing in model
        2529  +
    /* ServerOperationErrorGenerator.kt:71 */
 1467   2530   
    InternalServerError(crate::error::InternalServerError),
        2531  +
    /* ServerOperationErrorGenerator.kt:66 */
 1468   2532   
}
        2533  +
/* ServerOperationErrorGenerator.kt:75 */
 1469   2534   
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthStringOperationError {
        2535  +
    /* ServerOperationErrorGenerator.kt:76 */
 1470   2536   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2537  +
        /* ServerOperationErrorGenerator.kt:139 */
 1471   2538   
        match &self {
 1472         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
        2539  +
            /* ServerOperationErrorGenerator.kt:142 */
        2540  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) =>
        2541  +
            /* ServerOperationErrorGenerator.kt:78 */
        2542  +
            {
 1473   2543   
                _inner.fmt(f)
 1474   2544   
            }
 1475         -
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_inner) => {
        2545  +
            ,
        2546  +
            /* ServerOperationErrorGenerator.kt:142 */
        2547  +
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_inner) =>
        2548  +
            /* ServerOperationErrorGenerator.kt:78 */
        2549  +
            {
 1476   2550   
                _inner.fmt(f)
 1477   2551   
            }
        2552  +
            /* ServerOperationErrorGenerator.kt:139 */
 1478   2553   
        }
        2554  +
        /* ServerOperationErrorGenerator.kt:76 */
 1479   2555   
    }
        2556  +
    /* ServerOperationErrorGenerator.kt:75 */
 1480   2557   
}
        2558  +
/* ServerOperationErrorGenerator.kt:83 */
 1481   2559   
impl QueryParamsTargetingMapOfLengthStringOperationError {
        2560  +
    /* ServerOperationErrorGenerator.kt:87 */
 1482   2561   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthStringOperationError::ValidationException`.
        2562  +
    /* ServerOperationErrorGenerator.kt:88 */
 1483   2563   
    pub fn is_validation_exception(&self) -> bool {
        2564  +
        /* ServerOperationErrorGenerator.kt:89 */
 1484   2565   
        matches!(
 1485   2566   
            &self,
 1486   2567   
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_)
 1487   2568   
        )
        2569  +
        /* ServerOperationErrorGenerator.kt:88 */
 1488   2570   
    }
        2571  +
    /* ServerOperationErrorGenerator.kt:87 */
 1489   2572   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError`.
        2573  +
    /* ServerOperationErrorGenerator.kt:88 */
 1490   2574   
    pub fn is_internal_server_error(&self) -> bool {
        2575  +
        /* ServerOperationErrorGenerator.kt:89 */
 1491   2576   
        matches!(
 1492   2577   
            &self,
 1493   2578   
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_)
 1494   2579   
        )
        2580  +
        /* ServerOperationErrorGenerator.kt:88 */
 1495   2581   
    }
        2582  +
    /* ServerOperationErrorGenerator.kt:92 */
 1496   2583   
    /// Returns the error name string by matching the correct variant.
        2584  +
    /* ServerOperationErrorGenerator.kt:93 */
 1497   2585   
    pub fn name(&self) -> &'static str {
        2586  +
        /* ServerOperationErrorGenerator.kt:139 */
 1498   2587   
        match &self {
 1499         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
        2588  +
            /* ServerOperationErrorGenerator.kt:142 */
        2589  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) =>
        2590  +
            /* ServerOperationErrorGenerator.kt:95 */
        2591  +
            {
 1500   2592   
                _inner.name()
 1501   2593   
            }
 1502         -
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_inner) => {
        2594  +
            ,
        2595  +
            /* ServerOperationErrorGenerator.kt:142 */
        2596  +
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_inner) =>
        2597  +
            /* ServerOperationErrorGenerator.kt:95 */
        2598  +
            {
 1503   2599   
                _inner.name()
 1504   2600   
            }
        2601  +
            /* ServerOperationErrorGenerator.kt:139 */
 1505   2602   
        }
        2603  +
        /* ServerOperationErrorGenerator.kt:93 */
 1506   2604   
    }
        2605  +
    /* ServerOperationErrorGenerator.kt:83 */
 1507   2606   
}
        2607  +
/* ServerOperationErrorGenerator.kt:100 */
 1508   2608   
impl ::std::error::Error for QueryParamsTargetingMapOfLengthStringOperationError {
        2609  +
    /* ServerOperationErrorGenerator.kt:101 */
 1509   2610   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2611  +
        /* ServerOperationErrorGenerator.kt:139 */
 1510   2612   
        match &self {
 1511         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
        2613  +
            /* ServerOperationErrorGenerator.kt:142 */
        2614  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) =>
        2615  +
            /* ServerOperationErrorGenerator.kt:103 */
        2616  +
            {
 1512   2617   
                Some(_inner)
 1513   2618   
            }
 1514         -
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_inner) => {
        2619  +
            ,
        2620  +
            /* ServerOperationErrorGenerator.kt:142 */
        2621  +
            QueryParamsTargetingMapOfLengthStringOperationError::InternalServerError(_inner) =>
        2622  +
            /* ServerOperationErrorGenerator.kt:103 */
        2623  +
            {
 1515   2624   
                Some(_inner)
 1516   2625   
            }
        2626  +
            /* ServerOperationErrorGenerator.kt:139 */
 1517   2627   
        }
        2628  +
        /* ServerOperationErrorGenerator.kt:101 */
 1518   2629   
    }
        2630  +
    /* ServerOperationErrorGenerator.kt:100 */
 1519   2631   
}
        2632  +
/* ServerOperationErrorGenerator.kt:110 */
 1520   2633   
impl ::std::convert::From<crate::error::ValidationException>
 1521   2634   
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
 1522   2635   
{
        2636  +
    /* ServerOperationErrorGenerator.kt:111 */
 1523   2637   
    fn from(
 1524   2638   
        variant: crate::error::ValidationException,
 1525   2639   
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
        2640  +
        /* ServerOperationErrorGenerator.kt:112 */
 1526   2641   
        Self::ValidationException(variant)
        2642  +
        /* ServerOperationErrorGenerator.kt:111 */
 1527   2643   
    }
        2644  +
    /* ServerOperationErrorGenerator.kt:110 */
 1528   2645   
}
        2646  +
/* ServerOperationErrorGenerator.kt:110 */
 1529   2647   
impl ::std::convert::From<crate::error::InternalServerError>
 1530   2648   
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
 1531   2649   
{
        2650  +
    /* ServerOperationErrorGenerator.kt:111 */
 1532   2651   
    fn from(
 1533   2652   
        variant: crate::error::InternalServerError,
 1534   2653   
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
        2654  +
        /* ServerOperationErrorGenerator.kt:112 */
 1535   2655   
        Self::InternalServerError(variant)
        2656  +
        /* ServerOperationErrorGenerator.kt:111 */
 1536   2657   
    }
        2658  +
    /* ServerOperationErrorGenerator.kt:110 */
 1537   2659   
}
 1538   2660   
        2661  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1539   2662   
impl ::std::convert::From<::pyo3::PyErr>
 1540   2663   
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
 1541   2664   
{
 1542   2665   
    fn from(
 1543   2666   
        variant: ::pyo3::PyErr,
 1544   2667   
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
 1545   2668   
        ::pyo3::Python::with_gil(|py| {
 1546   2669   
            let error = variant.value(py);
 1547   2670   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1548   2671   
                return error.into();
 1549   2672   
            }
 1550   2673   
            crate::error::InternalServerError {
 1551   2674   
                message: error.to_string(),
 1552   2675   
            }
 1553   2676   
            .into()
 1554   2677   
        })
 1555   2678   
    }
 1556   2679   
}
 1557   2680   
        2681  +
/* ServerOperationErrorGenerator.kt:63 */
 1558   2682   
/// Error type for the `QueryParamsTargetingLengthMapOperation` operation.
        2683  +
/* ServerOperationErrorGenerator.kt:64 */
 1559   2684   
/// Each variant represents an error that can occur for the `QueryParamsTargetingLengthMapOperation` operation.
        2685  +
/* RustType.kt:516 */
 1560   2686   
#[derive(::std::fmt::Debug)]
 1561         -
pub enum QueryParamsTargetingLengthMapOperationError {
 1562         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        2687  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingLengthMapOperationError {
        2688  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        2689  +
    /* ServerOperationErrorGenerator.kt:71 */
 1563   2690   
    ValidationException(crate::error::ValidationException),
        2691  +
    /* ServerOperationErrorGenerator.kt:68 */
 1564   2692   
    #[allow(missing_docs)] // documentation missing in model
        2693  +
    /* ServerOperationErrorGenerator.kt:71 */
 1565   2694   
    InternalServerError(crate::error::InternalServerError),
        2695  +
    /* ServerOperationErrorGenerator.kt:66 */
 1566   2696   
}
        2697  +
/* ServerOperationErrorGenerator.kt:75 */
 1567   2698   
impl ::std::fmt::Display for QueryParamsTargetingLengthMapOperationError {
        2699  +
    /* ServerOperationErrorGenerator.kt:76 */
 1568   2700   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2701  +
        /* ServerOperationErrorGenerator.kt:139 */
 1569   2702   
        match &self {
 1570         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
        2703  +
            /* ServerOperationErrorGenerator.kt:142 */
        2704  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) =>
        2705  +
            /* ServerOperationErrorGenerator.kt:78 */
        2706  +
            {
 1571   2707   
                _inner.fmt(f)
 1572   2708   
            }
 1573         -
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_inner) => {
        2709  +
            ,
        2710  +
            /* ServerOperationErrorGenerator.kt:142 */
        2711  +
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_inner) =>
        2712  +
            /* ServerOperationErrorGenerator.kt:78 */
        2713  +
            {
 1574   2714   
                _inner.fmt(f)
 1575   2715   
            }
        2716  +
            /* ServerOperationErrorGenerator.kt:139 */
 1576   2717   
        }
        2718  +
        /* ServerOperationErrorGenerator.kt:76 */
 1577   2719   
    }
        2720  +
    /* ServerOperationErrorGenerator.kt:75 */
 1578   2721   
}
        2722  +
/* ServerOperationErrorGenerator.kt:83 */
 1579   2723   
impl QueryParamsTargetingLengthMapOperationError {
        2724  +
    /* ServerOperationErrorGenerator.kt:87 */
 1580   2725   
    /// Returns `true` if the error kind is `QueryParamsTargetingLengthMapOperationError::ValidationException`.
        2726  +
    /* ServerOperationErrorGenerator.kt:88 */
 1581   2727   
    pub fn is_validation_exception(&self) -> bool {
        2728  +
        /* ServerOperationErrorGenerator.kt:89 */
 1582   2729   
        matches!(
 1583   2730   
            &self,
 1584   2731   
            QueryParamsTargetingLengthMapOperationError::ValidationException(_)
 1585   2732   
        )
        2733  +
        /* ServerOperationErrorGenerator.kt:88 */
 1586   2734   
    }
        2735  +
    /* ServerOperationErrorGenerator.kt:87 */
 1587   2736   
    /// Returns `true` if the error kind is `QueryParamsTargetingLengthMapOperationError::InternalServerError`.
        2737  +
    /* ServerOperationErrorGenerator.kt:88 */
 1588   2738   
    pub fn is_internal_server_error(&self) -> bool {
        2739  +
        /* ServerOperationErrorGenerator.kt:89 */
 1589   2740   
        matches!(
 1590   2741   
            &self,
 1591   2742   
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_)
 1592   2743   
        )
        2744  +
        /* ServerOperationErrorGenerator.kt:88 */
 1593   2745   
    }
        2746  +
    /* ServerOperationErrorGenerator.kt:92 */
 1594   2747   
    /// Returns the error name string by matching the correct variant.
        2748  +
    /* ServerOperationErrorGenerator.kt:93 */
 1595   2749   
    pub fn name(&self) -> &'static str {
        2750  +
        /* ServerOperationErrorGenerator.kt:139 */
 1596   2751   
        match &self {
 1597         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
        2752  +
            /* ServerOperationErrorGenerator.kt:142 */
        2753  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) =>
        2754  +
            /* ServerOperationErrorGenerator.kt:95 */
        2755  +
            {
 1598   2756   
                _inner.name()
 1599   2757   
            }
 1600         -
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_inner) => {
        2758  +
            ,
        2759  +
            /* ServerOperationErrorGenerator.kt:142 */
        2760  +
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_inner) =>
        2761  +
            /* ServerOperationErrorGenerator.kt:95 */
        2762  +
            {
 1601   2763   
                _inner.name()
 1602   2764   
            }
        2765  +
            /* ServerOperationErrorGenerator.kt:139 */
 1603   2766   
        }
        2767  +
        /* ServerOperationErrorGenerator.kt:93 */
 1604   2768   
    }
        2769  +
    /* ServerOperationErrorGenerator.kt:83 */
 1605   2770   
}
        2771  +
/* ServerOperationErrorGenerator.kt:100 */
 1606   2772   
impl ::std::error::Error for QueryParamsTargetingLengthMapOperationError {
        2773  +
    /* ServerOperationErrorGenerator.kt:101 */
 1607   2774   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2775  +
        /* ServerOperationErrorGenerator.kt:139 */
 1608   2776   
        match &self {
 1609         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
        2777  +
            /* ServerOperationErrorGenerator.kt:142 */
        2778  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) =>
        2779  +
            /* ServerOperationErrorGenerator.kt:103 */
        2780  +
            {
 1610   2781   
                Some(_inner)
 1611   2782   
            }
 1612         -
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_inner) => {
        2783  +
            ,
        2784  +
            /* ServerOperationErrorGenerator.kt:142 */
        2785  +
            QueryParamsTargetingLengthMapOperationError::InternalServerError(_inner) =>
        2786  +
            /* ServerOperationErrorGenerator.kt:103 */
        2787  +
            {
 1613   2788   
                Some(_inner)
 1614   2789   
            }
        2790  +
            /* ServerOperationErrorGenerator.kt:139 */
 1615   2791   
        }
        2792  +
        /* ServerOperationErrorGenerator.kt:101 */
 1616   2793   
    }
        2794  +
    /* ServerOperationErrorGenerator.kt:100 */
 1617   2795   
}
        2796  +
/* ServerOperationErrorGenerator.kt:110 */
 1618   2797   
impl ::std::convert::From<crate::error::ValidationException>
 1619   2798   
    for crate::error::QueryParamsTargetingLengthMapOperationError
 1620   2799   
{
        2800  +
    /* ServerOperationErrorGenerator.kt:111 */
 1621   2801   
    fn from(
 1622   2802   
        variant: crate::error::ValidationException,
 1623   2803   
    ) -> crate::error::QueryParamsTargetingLengthMapOperationError {
        2804  +
        /* ServerOperationErrorGenerator.kt:112 */
 1624   2805   
        Self::ValidationException(variant)
        2806  +
        /* ServerOperationErrorGenerator.kt:111 */
 1625   2807   
    }
        2808  +
    /* ServerOperationErrorGenerator.kt:110 */
 1626   2809   
}
        2810  +
/* ServerOperationErrorGenerator.kt:110 */
 1627   2811   
impl ::std::convert::From<crate::error::InternalServerError>
 1628   2812   
    for crate::error::QueryParamsTargetingLengthMapOperationError
 1629   2813   
{
        2814  +
    /* ServerOperationErrorGenerator.kt:111 */
 1630   2815   
    fn from(
 1631   2816   
        variant: crate::error::InternalServerError,
 1632   2817   
    ) -> crate::error::QueryParamsTargetingLengthMapOperationError {
        2818  +
        /* ServerOperationErrorGenerator.kt:112 */
 1633   2819   
        Self::InternalServerError(variant)
        2820  +
        /* ServerOperationErrorGenerator.kt:111 */
 1634   2821   
    }
        2822  +
    /* ServerOperationErrorGenerator.kt:110 */
 1635   2823   
}
 1636   2824   
        2825  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1637   2826   
impl ::std::convert::From<::pyo3::PyErr>
 1638   2827   
    for crate::error::QueryParamsTargetingLengthMapOperationError
 1639   2828   
{
 1640   2829   
    fn from(variant: ::pyo3::PyErr) -> crate::error::QueryParamsTargetingLengthMapOperationError {
 1641   2830   
        ::pyo3::Python::with_gil(|py| {
 1642   2831   
            let error = variant.value(py);
 1643   2832   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1644   2833   
                return error.into();
 1645   2834   
            }
 1646   2835   
            crate::error::InternalServerError {
 1647   2836   
                message: error.to_string(),
 1648   2837   
            }
 1649   2838   
            .into()
 1650   2839   
        })
 1651   2840   
    }
 1652   2841   
}
 1653   2842   
        2843  +
/* ServerOperationErrorGenerator.kt:63 */
 1654   2844   
/// Error type for the `ConstrainedRecursiveShapesOperation` operation.
        2845  +
/* ServerOperationErrorGenerator.kt:64 */
 1655   2846   
/// Each variant represents an error that can occur for the `ConstrainedRecursiveShapesOperation` operation.
        2847  +
/* RustType.kt:516 */
 1656   2848   
#[derive(::std::fmt::Debug)]
 1657         -
pub enum ConstrainedRecursiveShapesOperationError {
 1658         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        2849  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedRecursiveShapesOperationError {
        2850  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        2851  +
    /* ServerOperationErrorGenerator.kt:71 */
 1659   2852   
    ValidationException(crate::error::ValidationException),
        2853  +
    /* ServerOperationErrorGenerator.kt:68 */
 1660   2854   
    #[allow(missing_docs)] // documentation missing in model
        2855  +
    /* ServerOperationErrorGenerator.kt:71 */
 1661   2856   
    InternalServerError(crate::error::InternalServerError),
        2857  +
    /* ServerOperationErrorGenerator.kt:66 */
 1662   2858   
}
        2859  +
/* ServerOperationErrorGenerator.kt:75 */
 1663   2860   
impl ::std::fmt::Display for ConstrainedRecursiveShapesOperationError {
        2861  +
    /* ServerOperationErrorGenerator.kt:76 */
 1664   2862   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2863  +
        /* ServerOperationErrorGenerator.kt:139 */
 1665   2864   
        match &self {
 1666         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
 1667         -
            ConstrainedRecursiveShapesOperationError::InternalServerError(_inner) => _inner.fmt(f),
        2865  +
            /* ServerOperationErrorGenerator.kt:142 */
        2866  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) =>
        2867  +
            /* ServerOperationErrorGenerator.kt:78 */
        2868  +
            {
        2869  +
                _inner.fmt(f)
        2870  +
            }
        2871  +
            ,
        2872  +
            /* ServerOperationErrorGenerator.kt:142 */
        2873  +
            ConstrainedRecursiveShapesOperationError::InternalServerError(_inner) =>
        2874  +
            /* ServerOperationErrorGenerator.kt:78 */
        2875  +
            {
        2876  +
                _inner.fmt(f)
        2877  +
            }
        2878  +
            /* ServerOperationErrorGenerator.kt:139 */
 1668   2879   
        }
        2880  +
        /* ServerOperationErrorGenerator.kt:76 */
 1669   2881   
    }
        2882  +
    /* ServerOperationErrorGenerator.kt:75 */
 1670   2883   
}
        2884  +
/* ServerOperationErrorGenerator.kt:83 */
 1671   2885   
impl ConstrainedRecursiveShapesOperationError {
        2886  +
    /* ServerOperationErrorGenerator.kt:87 */
 1672   2887   
    /// Returns `true` if the error kind is `ConstrainedRecursiveShapesOperationError::ValidationException`.
        2888  +
    /* ServerOperationErrorGenerator.kt:88 */
 1673   2889   
    pub fn is_validation_exception(&self) -> bool {
        2890  +
        /* ServerOperationErrorGenerator.kt:89 */
 1674   2891   
        matches!(
 1675   2892   
            &self,
 1676   2893   
            ConstrainedRecursiveShapesOperationError::ValidationException(_)
 1677   2894   
        )
        2895  +
        /* ServerOperationErrorGenerator.kt:88 */
 1678   2896   
    }
        2897  +
    /* ServerOperationErrorGenerator.kt:87 */
 1679   2898   
    /// Returns `true` if the error kind is `ConstrainedRecursiveShapesOperationError::InternalServerError`.
        2899  +
    /* ServerOperationErrorGenerator.kt:88 */
 1680   2900   
    pub fn is_internal_server_error(&self) -> bool {
        2901  +
        /* ServerOperationErrorGenerator.kt:89 */
 1681   2902   
        matches!(
 1682   2903   
            &self,
 1683   2904   
            ConstrainedRecursiveShapesOperationError::InternalServerError(_)
 1684   2905   
        )
        2906  +
        /* ServerOperationErrorGenerator.kt:88 */
 1685   2907   
    }
        2908  +
    /* ServerOperationErrorGenerator.kt:92 */
 1686   2909   
    /// Returns the error name string by matching the correct variant.
        2910  +
    /* ServerOperationErrorGenerator.kt:93 */
 1687   2911   
    pub fn name(&self) -> &'static str {
        2912  +
        /* ServerOperationErrorGenerator.kt:139 */
 1688   2913   
        match &self {
 1689         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.name(),
 1690         -
            ConstrainedRecursiveShapesOperationError::InternalServerError(_inner) => _inner.name(),
        2914  +
            /* ServerOperationErrorGenerator.kt:142 */
        2915  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) =>
        2916  +
            /* ServerOperationErrorGenerator.kt:95 */
        2917  +
            {
        2918  +
                _inner.name()
        2919  +
            }
        2920  +
            ,
        2921  +
            /* ServerOperationErrorGenerator.kt:142 */
        2922  +
            ConstrainedRecursiveShapesOperationError::InternalServerError(_inner) =>
        2923  +
            /* ServerOperationErrorGenerator.kt:95 */
        2924  +
            {
        2925  +
                _inner.name()
        2926  +
            }
        2927  +
            /* ServerOperationErrorGenerator.kt:139 */
 1691   2928   
        }
        2929  +
        /* ServerOperationErrorGenerator.kt:93 */
 1692   2930   
    }
        2931  +
    /* ServerOperationErrorGenerator.kt:83 */
 1693   2932   
}
        2933  +
/* ServerOperationErrorGenerator.kt:100 */
 1694   2934   
impl ::std::error::Error for ConstrainedRecursiveShapesOperationError {
        2935  +
    /* ServerOperationErrorGenerator.kt:101 */
 1695   2936   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2937  +
        /* ServerOperationErrorGenerator.kt:139 */
 1696   2938   
        match &self {
 1697         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => Some(_inner),
 1698         -
            ConstrainedRecursiveShapesOperationError::InternalServerError(_inner) => Some(_inner),
        2939  +
            /* ServerOperationErrorGenerator.kt:142 */
        2940  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) =>
        2941  +
            /* ServerOperationErrorGenerator.kt:103 */
        2942  +
            {
        2943  +
                Some(_inner)
        2944  +
            }
        2945  +
            ,
        2946  +
            /* ServerOperationErrorGenerator.kt:142 */
        2947  +
            ConstrainedRecursiveShapesOperationError::InternalServerError(_inner) =>
        2948  +
            /* ServerOperationErrorGenerator.kt:103 */
        2949  +
            {
        2950  +
                Some(_inner)
        2951  +
            }
        2952  +
            /* ServerOperationErrorGenerator.kt:139 */
 1699   2953   
        }
        2954  +
        /* ServerOperationErrorGenerator.kt:101 */
 1700   2955   
    }
        2956  +
    /* ServerOperationErrorGenerator.kt:100 */
 1701   2957   
}
        2958  +
/* ServerOperationErrorGenerator.kt:110 */
 1702   2959   
impl ::std::convert::From<crate::error::ValidationException>
 1703   2960   
    for crate::error::ConstrainedRecursiveShapesOperationError
 1704   2961   
{
        2962  +
    /* ServerOperationErrorGenerator.kt:111 */
 1705   2963   
    fn from(
 1706   2964   
        variant: crate::error::ValidationException,
 1707   2965   
    ) -> crate::error::ConstrainedRecursiveShapesOperationError {
        2966  +
        /* ServerOperationErrorGenerator.kt:112 */
 1708   2967   
        Self::ValidationException(variant)
        2968  +
        /* ServerOperationErrorGenerator.kt:111 */
 1709   2969   
    }
        2970  +
    /* ServerOperationErrorGenerator.kt:110 */
 1710   2971   
}
        2972  +
/* ServerOperationErrorGenerator.kt:110 */
 1711   2973   
impl ::std::convert::From<crate::error::InternalServerError>
 1712   2974   
    for crate::error::ConstrainedRecursiveShapesOperationError
 1713   2975   
{
        2976  +
    /* ServerOperationErrorGenerator.kt:111 */
 1714   2977   
    fn from(
 1715   2978   
        variant: crate::error::InternalServerError,
 1716   2979   
    ) -> crate::error::ConstrainedRecursiveShapesOperationError {
        2980  +
        /* ServerOperationErrorGenerator.kt:112 */
 1717   2981   
        Self::InternalServerError(variant)
        2982  +
        /* ServerOperationErrorGenerator.kt:111 */
 1718   2983   
    }
        2984  +
    /* ServerOperationErrorGenerator.kt:110 */
 1719   2985   
}
 1720   2986   
        2987  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1721   2988   
impl ::std::convert::From<::pyo3::PyErr>
 1722   2989   
    for crate::error::ConstrainedRecursiveShapesOperationError
 1723   2990   
{
 1724   2991   
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstrainedRecursiveShapesOperationError {
 1725   2992   
        ::pyo3::Python::with_gil(|py| {
 1726   2993   
            let error = variant.value(py);
 1727   2994   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1728   2995   
                return error.into();
 1729   2996   
            }
 1730   2997   
            crate::error::InternalServerError {
 1731   2998   
                message: error.to_string(),
 1732   2999   
            }
 1733   3000   
            .into()
 1734   3001   
        })
 1735   3002   
    }
 1736   3003   
}
 1737   3004   
        3005  +
/* ServerOperationErrorGenerator.kt:63 */
 1738   3006   
/// Error type for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
        3007  +
/* ServerOperationErrorGenerator.kt:64 */
 1739   3008   
/// Each variant represents an error that can occur for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
        3009  +
/* RustType.kt:516 */
 1740   3010   
#[derive(::std::fmt::Debug)]
 1741         -
pub enum ConstrainedHttpPayloadBoundShapeOperationError {
 1742         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        3011  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedHttpPayloadBoundShapeOperationError {
        3012  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        3013  +
    /* ServerOperationErrorGenerator.kt:71 */
 1743   3014   
    ValidationException(crate::error::ValidationException),
        3015  +
    /* ServerOperationErrorGenerator.kt:68 */
 1744   3016   
    #[allow(missing_docs)] // documentation missing in model
        3017  +
    /* ServerOperationErrorGenerator.kt:71 */
 1745   3018   
    InternalServerError(crate::error::InternalServerError),
        3019  +
    /* ServerOperationErrorGenerator.kt:66 */
 1746   3020   
}
        3021  +
/* ServerOperationErrorGenerator.kt:75 */
 1747   3022   
impl ::std::fmt::Display for ConstrainedHttpPayloadBoundShapeOperationError {
        3023  +
    /* ServerOperationErrorGenerator.kt:76 */
 1748   3024   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3025  +
        /* ServerOperationErrorGenerator.kt:139 */
 1749   3026   
        match &self {
 1750         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
        3027  +
            /* ServerOperationErrorGenerator.kt:142 */
        3028  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) =>
        3029  +
            /* ServerOperationErrorGenerator.kt:78 */
        3030  +
            {
 1751   3031   
                _inner.fmt(f)
 1752   3032   
            }
 1753         -
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_inner) => {
        3033  +
            ,
        3034  +
            /* ServerOperationErrorGenerator.kt:142 */
        3035  +
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_inner) =>
        3036  +
            /* ServerOperationErrorGenerator.kt:78 */
        3037  +
            {
 1754   3038   
                _inner.fmt(f)
 1755   3039   
            }
        3040  +
            /* ServerOperationErrorGenerator.kt:139 */
 1756   3041   
        }
        3042  +
        /* ServerOperationErrorGenerator.kt:76 */
 1757   3043   
    }
        3044  +
    /* ServerOperationErrorGenerator.kt:75 */
 1758   3045   
}
        3046  +
/* ServerOperationErrorGenerator.kt:83 */
 1759   3047   
impl ConstrainedHttpPayloadBoundShapeOperationError {
        3048  +
    /* ServerOperationErrorGenerator.kt:87 */
 1760   3049   
    /// Returns `true` if the error kind is `ConstrainedHttpPayloadBoundShapeOperationError::ValidationException`.
        3050  +
    /* ServerOperationErrorGenerator.kt:88 */
 1761   3051   
    pub fn is_validation_exception(&self) -> bool {
        3052  +
        /* ServerOperationErrorGenerator.kt:89 */
 1762   3053   
        matches!(
 1763   3054   
            &self,
 1764   3055   
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_)
 1765   3056   
        )
        3057  +
        /* ServerOperationErrorGenerator.kt:88 */
 1766   3058   
    }
        3059  +
    /* ServerOperationErrorGenerator.kt:87 */
 1767   3060   
    /// Returns `true` if the error kind is `ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError`.
        3061  +
    /* ServerOperationErrorGenerator.kt:88 */
 1768   3062   
    pub fn is_internal_server_error(&self) -> bool {
        3063  +
        /* ServerOperationErrorGenerator.kt:89 */
 1769   3064   
        matches!(
 1770   3065   
            &self,
 1771   3066   
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_)
 1772   3067   
        )
        3068  +
        /* ServerOperationErrorGenerator.kt:88 */
 1773   3069   
    }
        3070  +
    /* ServerOperationErrorGenerator.kt:92 */
 1774   3071   
    /// Returns the error name string by matching the correct variant.
        3072  +
    /* ServerOperationErrorGenerator.kt:93 */
 1775   3073   
    pub fn name(&self) -> &'static str {
        3074  +
        /* ServerOperationErrorGenerator.kt:139 */
 1776   3075   
        match &self {
 1777         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
        3076  +
            /* ServerOperationErrorGenerator.kt:142 */
        3077  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) =>
        3078  +
            /* ServerOperationErrorGenerator.kt:95 */
        3079  +
            {
 1778   3080   
                _inner.name()
 1779   3081   
            }
 1780         -
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_inner) => {
        3082  +
            ,
        3083  +
            /* ServerOperationErrorGenerator.kt:142 */
        3084  +
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_inner) =>
        3085  +
            /* ServerOperationErrorGenerator.kt:95 */
        3086  +
            {
 1781   3087   
                _inner.name()
 1782   3088   
            }
        3089  +
            /* ServerOperationErrorGenerator.kt:139 */
 1783   3090   
        }
        3091  +
        /* ServerOperationErrorGenerator.kt:93 */
 1784   3092   
    }
        3093  +
    /* ServerOperationErrorGenerator.kt:83 */
 1785   3094   
}
        3095  +
/* ServerOperationErrorGenerator.kt:100 */
 1786   3096   
impl ::std::error::Error for ConstrainedHttpPayloadBoundShapeOperationError {
        3097  +
    /* ServerOperationErrorGenerator.kt:101 */
 1787   3098   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3099  +
        /* ServerOperationErrorGenerator.kt:139 */
 1788   3100   
        match &self {
 1789         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
        3101  +
            /* ServerOperationErrorGenerator.kt:142 */
        3102  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) =>
        3103  +
            /* ServerOperationErrorGenerator.kt:103 */
        3104  +
            {
 1790   3105   
                Some(_inner)
 1791   3106   
            }
 1792         -
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_inner) => {
        3107  +
            ,
        3108  +
            /* ServerOperationErrorGenerator.kt:142 */
        3109  +
            ConstrainedHttpPayloadBoundShapeOperationError::InternalServerError(_inner) =>
        3110  +
            /* ServerOperationErrorGenerator.kt:103 */
        3111  +
            {
 1793   3112   
                Some(_inner)
 1794   3113   
            }
        3114  +
            /* ServerOperationErrorGenerator.kt:139 */
 1795   3115   
        }
        3116  +
        /* ServerOperationErrorGenerator.kt:101 */
 1796   3117   
    }
        3118  +
    /* ServerOperationErrorGenerator.kt:100 */
 1797   3119   
}
        3120  +
/* ServerOperationErrorGenerator.kt:110 */
 1798   3121   
impl ::std::convert::From<crate::error::ValidationException>
 1799   3122   
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
 1800   3123   
{
        3124  +
    /* ServerOperationErrorGenerator.kt:111 */
 1801   3125   
    fn from(
 1802   3126   
        variant: crate::error::ValidationException,
 1803   3127   
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
        3128  +
        /* ServerOperationErrorGenerator.kt:112 */
 1804   3129   
        Self::ValidationException(variant)
        3130  +
        /* ServerOperationErrorGenerator.kt:111 */
 1805   3131   
    }
        3132  +
    /* ServerOperationErrorGenerator.kt:110 */
 1806   3133   
}
        3134  +
/* ServerOperationErrorGenerator.kt:110 */
 1807   3135   
impl ::std::convert::From<crate::error::InternalServerError>
 1808   3136   
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
 1809   3137   
{
        3138  +
    /* ServerOperationErrorGenerator.kt:111 */
 1810   3139   
    fn from(
 1811   3140   
        variant: crate::error::InternalServerError,
 1812   3141   
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
        3142  +
        /* ServerOperationErrorGenerator.kt:112 */
 1813   3143   
        Self::InternalServerError(variant)
        3144  +
        /* ServerOperationErrorGenerator.kt:111 */
 1814   3145   
    }
        3146  +
    /* ServerOperationErrorGenerator.kt:110 */
 1815   3147   
}
 1816   3148   
        3149  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1817   3150   
impl ::std::convert::From<::pyo3::PyErr>
 1818   3151   
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
 1819   3152   
{
 1820   3153   
    fn from(
 1821   3154   
        variant: ::pyo3::PyErr,
 1822   3155   
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
 1823   3156   
        ::pyo3::Python::with_gil(|py| {
 1824   3157   
            let error = variant.value(py);
 1825   3158   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1826   3159   
                return error.into();
 1827   3160   
            }
 1828   3161   
            crate::error::InternalServerError {
 1829   3162   
                message: error.to_string(),
 1830   3163   
            }
 1831   3164   
            .into()
 1832   3165   
        })
 1833   3166   
    }
 1834   3167   
}
 1835   3168   
        3169  +
/* ServerOperationErrorGenerator.kt:63 */
 1836   3170   
/// Error type for the `ConstrainedHttpBoundShapesOperation` operation.
        3171  +
/* ServerOperationErrorGenerator.kt:64 */
 1837   3172   
/// Each variant represents an error that can occur for the `ConstrainedHttpBoundShapesOperation` operation.
        3173  +
/* RustType.kt:516 */
 1838   3174   
#[derive(::std::fmt::Debug)]
 1839         -
pub enum ConstrainedHttpBoundShapesOperationError {
 1840         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        3175  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedHttpBoundShapesOperationError {
        3176  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        3177  +
    /* ServerOperationErrorGenerator.kt:71 */
 1841   3178   
    ValidationException(crate::error::ValidationException),
        3179  +
    /* ServerOperationErrorGenerator.kt:68 */
 1842   3180   
    #[allow(missing_docs)] // documentation missing in model
        3181  +
    /* ServerOperationErrorGenerator.kt:71 */
 1843   3182   
    InternalServerError(crate::error::InternalServerError),
        3183  +
    /* ServerOperationErrorGenerator.kt:66 */
 1844   3184   
}
        3185  +
/* ServerOperationErrorGenerator.kt:75 */
 1845   3186   
impl ::std::fmt::Display for ConstrainedHttpBoundShapesOperationError {
        3187  +
    /* ServerOperationErrorGenerator.kt:76 */
 1846   3188   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3189  +
        /* ServerOperationErrorGenerator.kt:139 */
 1847   3190   
        match &self {
 1848         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
 1849         -
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_inner) => _inner.fmt(f),
        3191  +
            /* ServerOperationErrorGenerator.kt:142 */
        3192  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) =>
        3193  +
            /* ServerOperationErrorGenerator.kt:78 */
        3194  +
            {
        3195  +
                _inner.fmt(f)
        3196  +
            }
        3197  +
            ,
        3198  +
            /* ServerOperationErrorGenerator.kt:142 */
        3199  +
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_inner) =>
        3200  +
            /* ServerOperationErrorGenerator.kt:78 */
        3201  +
            {
        3202  +
                _inner.fmt(f)
        3203  +
            }
        3204  +
            /* ServerOperationErrorGenerator.kt:139 */
 1850   3205   
        }
        3206  +
        /* ServerOperationErrorGenerator.kt:76 */
 1851   3207   
    }
        3208  +
    /* ServerOperationErrorGenerator.kt:75 */
 1852   3209   
}
        3210  +
/* ServerOperationErrorGenerator.kt:83 */
 1853   3211   
impl ConstrainedHttpBoundShapesOperationError {
        3212  +
    /* ServerOperationErrorGenerator.kt:87 */
 1854   3213   
    /// Returns `true` if the error kind is `ConstrainedHttpBoundShapesOperationError::ValidationException`.
        3214  +
    /* ServerOperationErrorGenerator.kt:88 */
 1855   3215   
    pub fn is_validation_exception(&self) -> bool {
        3216  +
        /* ServerOperationErrorGenerator.kt:89 */
 1856   3217   
        matches!(
 1857   3218   
            &self,
 1858   3219   
            ConstrainedHttpBoundShapesOperationError::ValidationException(_)
 1859   3220   
        )
        3221  +
        /* ServerOperationErrorGenerator.kt:88 */
 1860   3222   
    }
        3223  +
    /* ServerOperationErrorGenerator.kt:87 */
 1861   3224   
    /// Returns `true` if the error kind is `ConstrainedHttpBoundShapesOperationError::InternalServerError`.
        3225  +
    /* ServerOperationErrorGenerator.kt:88 */
 1862   3226   
    pub fn is_internal_server_error(&self) -> bool {
        3227  +
        /* ServerOperationErrorGenerator.kt:89 */
 1863   3228   
        matches!(
 1864   3229   
            &self,
 1865   3230   
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_)
 1866   3231   
        )
        3232  +
        /* ServerOperationErrorGenerator.kt:88 */
 1867   3233   
    }
        3234  +
    /* ServerOperationErrorGenerator.kt:92 */
 1868   3235   
    /// Returns the error name string by matching the correct variant.
        3236  +
    /* ServerOperationErrorGenerator.kt:93 */
 1869   3237   
    pub fn name(&self) -> &'static str {
        3238  +
        /* ServerOperationErrorGenerator.kt:139 */
 1870   3239   
        match &self {
 1871         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.name(),
 1872         -
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_inner) => _inner.name(),
        3240  +
            /* ServerOperationErrorGenerator.kt:142 */
        3241  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) =>
        3242  +
            /* ServerOperationErrorGenerator.kt:95 */
        3243  +
            {
        3244  +
                _inner.name()
        3245  +
            }
        3246  +
            ,
        3247  +
            /* ServerOperationErrorGenerator.kt:142 */
        3248  +
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_inner) =>
        3249  +
            /* ServerOperationErrorGenerator.kt:95 */
        3250  +
            {
        3251  +
                _inner.name()
        3252  +
            }
        3253  +
            /* ServerOperationErrorGenerator.kt:139 */
 1873   3254   
        }
        3255  +
        /* ServerOperationErrorGenerator.kt:93 */
 1874   3256   
    }
        3257  +
    /* ServerOperationErrorGenerator.kt:83 */
 1875   3258   
}
        3259  +
/* ServerOperationErrorGenerator.kt:100 */
 1876   3260   
impl ::std::error::Error for ConstrainedHttpBoundShapesOperationError {
        3261  +
    /* ServerOperationErrorGenerator.kt:101 */
 1877   3262   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3263  +
        /* ServerOperationErrorGenerator.kt:139 */
 1878   3264   
        match &self {
 1879         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => Some(_inner),
 1880         -
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_inner) => Some(_inner),
        3265  +
            /* ServerOperationErrorGenerator.kt:142 */
        3266  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) =>
        3267  +
            /* ServerOperationErrorGenerator.kt:103 */
        3268  +
            {
        3269  +
                Some(_inner)
        3270  +
            }
        3271  +
            ,
        3272  +
            /* ServerOperationErrorGenerator.kt:142 */
        3273  +
            ConstrainedHttpBoundShapesOperationError::InternalServerError(_inner) =>
        3274  +
            /* ServerOperationErrorGenerator.kt:103 */
        3275  +
            {
        3276  +
                Some(_inner)
        3277  +
            }
        3278  +
            /* ServerOperationErrorGenerator.kt:139 */
 1881   3279   
        }
        3280  +
        /* ServerOperationErrorGenerator.kt:101 */
 1882   3281   
    }
        3282  +
    /* ServerOperationErrorGenerator.kt:100 */
 1883   3283   
}
        3284  +
/* ServerOperationErrorGenerator.kt:110 */
 1884   3285   
impl ::std::convert::From<crate::error::ValidationException>
 1885   3286   
    for crate::error::ConstrainedHttpBoundShapesOperationError
 1886   3287   
{
        3288  +
    /* ServerOperationErrorGenerator.kt:111 */
 1887   3289   
    fn from(
 1888   3290   
        variant: crate::error::ValidationException,
 1889   3291   
    ) -> crate::error::ConstrainedHttpBoundShapesOperationError {
        3292  +
        /* ServerOperationErrorGenerator.kt:112 */
 1890   3293   
        Self::ValidationException(variant)
        3294  +
        /* ServerOperationErrorGenerator.kt:111 */
 1891   3295   
    }
        3296  +
    /* ServerOperationErrorGenerator.kt:110 */
 1892   3297   
}
        3298  +
/* ServerOperationErrorGenerator.kt:110 */
 1893   3299   
impl ::std::convert::From<crate::error::InternalServerError>
 1894   3300   
    for crate::error::ConstrainedHttpBoundShapesOperationError
 1895   3301   
{
        3302  +
    /* ServerOperationErrorGenerator.kt:111 */
 1896   3303   
    fn from(
 1897   3304   
        variant: crate::error::InternalServerError,
 1898   3305   
    ) -> crate::error::ConstrainedHttpBoundShapesOperationError {
        3306  +
        /* ServerOperationErrorGenerator.kt:112 */
 1899   3307   
        Self::InternalServerError(variant)
        3308  +
        /* ServerOperationErrorGenerator.kt:111 */
 1900   3309   
    }
        3310  +
    /* ServerOperationErrorGenerator.kt:110 */
 1901   3311   
}
 1902   3312   
        3313  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1903   3314   
impl ::std::convert::From<::pyo3::PyErr>
 1904   3315   
    for crate::error::ConstrainedHttpBoundShapesOperationError
 1905   3316   
{
 1906   3317   
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstrainedHttpBoundShapesOperationError {
 1907   3318   
        ::pyo3::Python::with_gil(|py| {
 1908   3319   
            let error = variant.value(py);
 1909   3320   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1910   3321   
                return error.into();
 1911   3322   
            }
 1912   3323   
            crate::error::InternalServerError {
 1913   3324   
                message: error.to_string(),
 1914   3325   
            }
 1915   3326   
            .into()
 1916   3327   
        })
 1917   3328   
    }
 1918   3329   
}
 1919   3330   
        3331  +
/* ServerOperationErrorGenerator.kt:63 */
 1920   3332   
/// Error type for the `ConstrainedShapesOnlyInOutputOperation` operation.
        3333  +
/* ServerOperationErrorGenerator.kt:64 */
 1921   3334   
/// Each variant represents an error that can occur for the `ConstrainedShapesOnlyInOutputOperation` operation.
        3335  +
/* RustType.kt:516 */
 1922   3336   
#[derive(::std::fmt::Debug)]
 1923         -
pub enum ConstrainedShapesOnlyInOutputOperationError {
        3337  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedShapesOnlyInOutputOperationError {
        3338  +
    /* ServerOperationErrorGenerator.kt:68 */
 1924   3339   
    #[allow(missing_docs)] // documentation missing in model
        3340  +
    /* ServerOperationErrorGenerator.kt:71 */
 1925   3341   
    InternalServerError(crate::error::InternalServerError),
        3342  +
    /* ServerOperationErrorGenerator.kt:66 */
 1926   3343   
}
        3344  +
/* ServerOperationErrorGenerator.kt:75 */
 1927   3345   
impl ::std::fmt::Display for ConstrainedShapesOnlyInOutputOperationError {
        3346  +
    /* ServerOperationErrorGenerator.kt:76 */
 1928   3347   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3348  +
        /* ServerOperationErrorGenerator.kt:139 */
 1929   3349   
        match &self {
 1930         -
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_inner) => {
        3350  +
            /* ServerOperationErrorGenerator.kt:142 */
        3351  +
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_inner) =>
        3352  +
            /* ServerOperationErrorGenerator.kt:78 */
        3353  +
            {
 1931   3354   
                _inner.fmt(f)
 1932   3355   
            }
        3356  +
            /* ServerOperationErrorGenerator.kt:139 */
 1933   3357   
        }
        3358  +
        /* ServerOperationErrorGenerator.kt:76 */
 1934   3359   
    }
        3360  +
    /* ServerOperationErrorGenerator.kt:75 */
 1935   3361   
}
        3362  +
/* ServerOperationErrorGenerator.kt:83 */
 1936   3363   
impl ConstrainedShapesOnlyInOutputOperationError {
        3364  +
    /* ServerOperationErrorGenerator.kt:87 */
 1937   3365   
    /// Returns `true` if the error kind is `ConstrainedShapesOnlyInOutputOperationError::InternalServerError`.
        3366  +
    /* ServerOperationErrorGenerator.kt:88 */
 1938   3367   
    pub fn is_internal_server_error(&self) -> bool {
        3368  +
        /* ServerOperationErrorGenerator.kt:89 */
 1939   3369   
        matches!(
 1940   3370   
            &self,
 1941   3371   
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_)
 1942   3372   
        )
        3373  +
        /* ServerOperationErrorGenerator.kt:88 */
 1943   3374   
    }
        3375  +
    /* ServerOperationErrorGenerator.kt:92 */
 1944   3376   
    /// Returns the error name string by matching the correct variant.
        3377  +
    /* ServerOperationErrorGenerator.kt:93 */
 1945   3378   
    pub fn name(&self) -> &'static str {
        3379  +
        /* ServerOperationErrorGenerator.kt:139 */
 1946   3380   
        match &self {
 1947         -
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_inner) => {
        3381  +
            /* ServerOperationErrorGenerator.kt:142 */
        3382  +
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_inner) =>
        3383  +
            /* ServerOperationErrorGenerator.kt:95 */
        3384  +
            {
 1948   3385   
                _inner.name()
 1949   3386   
            }
        3387  +
            /* ServerOperationErrorGenerator.kt:139 */
 1950   3388   
        }
        3389  +
        /* ServerOperationErrorGenerator.kt:93 */
 1951   3390   
    }
        3391  +
    /* ServerOperationErrorGenerator.kt:83 */
 1952   3392   
}
        3393  +
/* ServerOperationErrorGenerator.kt:100 */
 1953   3394   
impl ::std::error::Error for ConstrainedShapesOnlyInOutputOperationError {
        3395  +
    /* ServerOperationErrorGenerator.kt:101 */
 1954   3396   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3397  +
        /* ServerOperationErrorGenerator.kt:139 */
 1955   3398   
        match &self {
 1956         -
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_inner) => {
        3399  +
            /* ServerOperationErrorGenerator.kt:142 */
        3400  +
            ConstrainedShapesOnlyInOutputOperationError::InternalServerError(_inner) =>
        3401  +
            /* ServerOperationErrorGenerator.kt:103 */
        3402  +
            {
 1957   3403   
                Some(_inner)
 1958   3404   
            }
        3405  +
            /* ServerOperationErrorGenerator.kt:139 */
 1959   3406   
        }
        3407  +
        /* ServerOperationErrorGenerator.kt:101 */
 1960   3408   
    }
        3409  +
    /* ServerOperationErrorGenerator.kt:100 */
 1961   3410   
}
        3411  +
/* ServerOperationErrorGenerator.kt:110 */
 1962   3412   
impl ::std::convert::From<crate::error::InternalServerError>
 1963   3413   
    for crate::error::ConstrainedShapesOnlyInOutputOperationError
 1964   3414   
{
        3415  +
    /* ServerOperationErrorGenerator.kt:111 */
 1965   3416   
    fn from(
 1966   3417   
        variant: crate::error::InternalServerError,
 1967   3418   
    ) -> crate::error::ConstrainedShapesOnlyInOutputOperationError {
        3419  +
        /* ServerOperationErrorGenerator.kt:112 */
 1968   3420   
        Self::InternalServerError(variant)
        3421  +
        /* ServerOperationErrorGenerator.kt:111 */
 1969   3422   
    }
        3423  +
    /* ServerOperationErrorGenerator.kt:110 */
 1970   3424   
}
 1971   3425   
        3426  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1972   3427   
impl ::std::convert::From<::pyo3::PyErr>
 1973   3428   
    for crate::error::ConstrainedShapesOnlyInOutputOperationError
 1974   3429   
{
 1975   3430   
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstrainedShapesOnlyInOutputOperationError {
 1976   3431   
        ::pyo3::Python::with_gil(|py| {
 1977   3432   
            let error = variant.value(py);
 1978   3433   
 1979   3434   
            crate::error::InternalServerError {
 1980   3435   
                message: error.to_string(),
 1981   3436   
            }
 1982   3437   
            .into()
 1983   3438   
        })
 1984   3439   
    }
 1985   3440   
}
 1986   3441   
        3442  +
/* ServerOperationErrorGenerator.kt:63 */
 1987   3443   
/// Error type for the `ConstrainedShapesOperation` operation.
        3444  +
/* ServerOperationErrorGenerator.kt:64 */
 1988   3445   
/// Each variant represents an error that can occur for the `ConstrainedShapesOperation` operation.
        3446  +
/* RustType.kt:516 */
 1989   3447   
#[derive(::std::fmt::Debug)]
 1990         -
pub enum ConstrainedShapesOperationError {
 1991         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        3448  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedShapesOperationError {
        3449  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
        3450  +
    /* ServerOperationErrorGenerator.kt:71 */
 1992   3451   
    ValidationException(crate::error::ValidationException),
        3452  +
    /* ServerOperationErrorGenerator.kt:68 */
 1993   3453   
    #[allow(missing_docs)] // documentation missing in model
        3454  +
    /* ServerOperationErrorGenerator.kt:71 */
 1994   3455   
    InternalServerError(crate::error::InternalServerError),
        3456  +
    /* ServerOperationErrorGenerator.kt:66 */
 1995   3457   
}
        3458  +
/* ServerOperationErrorGenerator.kt:75 */
 1996   3459   
impl ::std::fmt::Display for ConstrainedShapesOperationError {
        3460  +
    /* ServerOperationErrorGenerator.kt:76 */
 1997   3461   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3462  +
        /* ServerOperationErrorGenerator.kt:139 */
 1998   3463   
        match &self {
 1999         -
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
 2000         -
            ConstrainedShapesOperationError::InternalServerError(_inner) => _inner.fmt(f),
        3464  +
            /* ServerOperationErrorGenerator.kt:142 */
        3465  +
            ConstrainedShapesOperationError::ValidationException(_inner) =>
        3466  +
            /* ServerOperationErrorGenerator.kt:78 */
        3467  +
            {
        3468  +
                _inner.fmt(f)
        3469  +
            }
        3470  +
            ,
        3471  +
            /* ServerOperationErrorGenerator.kt:142 */
        3472  +
            ConstrainedShapesOperationError::InternalServerError(_inner) =>
        3473  +
            /* ServerOperationErrorGenerator.kt:78 */
        3474  +
            {
        3475  +
                _inner.fmt(f)
        3476  +
            }
        3477  +
            /* ServerOperationErrorGenerator.kt:139 */
 2001   3478   
        }
        3479  +
        /* ServerOperationErrorGenerator.kt:76 */
 2002   3480   
    }
        3481  +
    /* ServerOperationErrorGenerator.kt:75 */
 2003   3482   
}
        3483  +
/* ServerOperationErrorGenerator.kt:83 */
 2004   3484   
impl ConstrainedShapesOperationError {
        3485  +
    /* ServerOperationErrorGenerator.kt:87 */
 2005   3486   
    /// Returns `true` if the error kind is `ConstrainedShapesOperationError::ValidationException`.
        3487  +
    /* ServerOperationErrorGenerator.kt:88 */
 2006   3488   
    pub fn is_validation_exception(&self) -> bool {
        3489  +
        /* ServerOperationErrorGenerator.kt:89 */
 2007   3490   
        matches!(
 2008   3491   
            &self,
 2009   3492   
            ConstrainedShapesOperationError::ValidationException(_)
 2010   3493   
        )
        3494  +
        /* ServerOperationErrorGenerator.kt:88 */
 2011   3495   
    }
        3496  +
    /* ServerOperationErrorGenerator.kt:87 */
 2012   3497   
    /// Returns `true` if the error kind is `ConstrainedShapesOperationError::InternalServerError`.
        3498  +
    /* ServerOperationErrorGenerator.kt:88 */
 2013   3499   
    pub fn is_internal_server_error(&self) -> bool {
        3500  +
        /* ServerOperationErrorGenerator.kt:89 */
 2014   3501   
        matches!(
 2015   3502   
            &self,
 2016   3503   
            ConstrainedShapesOperationError::InternalServerError(_)
 2017   3504   
        )
        3505  +
        /* ServerOperationErrorGenerator.kt:88 */
 2018   3506   
    }
        3507  +
    /* ServerOperationErrorGenerator.kt:92 */
 2019   3508   
    /// Returns the error name string by matching the correct variant.
        3509  +
    /* ServerOperationErrorGenerator.kt:93 */
 2020   3510   
    pub fn name(&self) -> &'static str {
        3511  +
        /* ServerOperationErrorGenerator.kt:139 */
 2021   3512   
        match &self {
 2022         -
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.name(),
 2023         -
            ConstrainedShapesOperationError::InternalServerError(_inner) => _inner.name(),
        3513  +
            /* ServerOperationErrorGenerator.kt:142 */
        3514  +
            ConstrainedShapesOperationError::ValidationException(_inner) =>
        3515  +
            /* ServerOperationErrorGenerator.kt:95 */
        3516  +
            {
        3517  +
                _inner.name()
        3518  +
            }
        3519  +
            ,
        3520  +
            /* ServerOperationErrorGenerator.kt:142 */
        3521  +
            ConstrainedShapesOperationError::InternalServerError(_inner) =>
        3522  +
            /* ServerOperationErrorGenerator.kt:95 */
        3523  +
            {
        3524  +
                _inner.name()
        3525  +
            }
        3526  +
            /* ServerOperationErrorGenerator.kt:139 */
 2024   3527   
        }
        3528  +
        /* ServerOperationErrorGenerator.kt:93 */
 2025   3529   
    }
        3530  +
    /* ServerOperationErrorGenerator.kt:83 */
 2026   3531   
}
        3532  +
/* ServerOperationErrorGenerator.kt:100 */
 2027   3533   
impl ::std::error::Error for ConstrainedShapesOperationError {
        3534  +
    /* ServerOperationErrorGenerator.kt:101 */
 2028   3535   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3536  +
        /* ServerOperationErrorGenerator.kt:139 */
 2029   3537   
        match &self {
 2030         -
            ConstrainedShapesOperationError::ValidationException(_inner) => Some(_inner),
 2031         -
            ConstrainedShapesOperationError::InternalServerError(_inner) => Some(_inner),
        3538  +
            /* ServerOperationErrorGenerator.kt:142 */
        3539  +
            ConstrainedShapesOperationError::ValidationException(_inner) =>
        3540  +
            /* ServerOperationErrorGenerator.kt:103 */
        3541  +
            {
        3542  +
                Some(_inner)
        3543  +
            }
        3544  +
            ,
        3545  +
            /* ServerOperationErrorGenerator.kt:142 */
        3546  +
            ConstrainedShapesOperationError::InternalServerError(_inner) =>
        3547  +
            /* ServerOperationErrorGenerator.kt:103 */
        3548  +
            {
        3549  +
                Some(_inner)
        3550  +
            }
        3551  +
            /* ServerOperationErrorGenerator.kt:139 */
 2032   3552   
        }
        3553  +
        /* ServerOperationErrorGenerator.kt:101 */
 2033   3554   
    }
        3555  +
    /* ServerOperationErrorGenerator.kt:100 */
 2034   3556   
}
        3557  +
/* ServerOperationErrorGenerator.kt:110 */
 2035   3558   
impl ::std::convert::From<crate::error::ValidationException>
 2036   3559   
    for crate::error::ConstrainedShapesOperationError
 2037   3560   
{
        3561  +
    /* ServerOperationErrorGenerator.kt:111 */
 2038   3562   
    fn from(
 2039   3563   
        variant: crate::error::ValidationException,
 2040   3564   
    ) -> crate::error::ConstrainedShapesOperationError {
        3565  +
        /* ServerOperationErrorGenerator.kt:112 */
 2041   3566   
        Self::ValidationException(variant)
        3567  +
        /* ServerOperationErrorGenerator.kt:111 */
 2042   3568   
    }
        3569  +
    /* ServerOperationErrorGenerator.kt:110 */
 2043   3570   
}
        3571  +
/* ServerOperationErrorGenerator.kt:110 */
 2044   3572   
impl ::std::convert::From<crate::error::InternalServerError>
 2045   3573   
    for crate::error::ConstrainedShapesOperationError
 2046   3574   
{
        3575  +
    /* ServerOperationErrorGenerator.kt:111 */
 2047   3576   
    fn from(
 2048   3577   
        variant: crate::error::InternalServerError,
 2049   3578   
    ) -> crate::error::ConstrainedShapesOperationError {
        3579  +
        /* ServerOperationErrorGenerator.kt:112 */
 2050   3580   
        Self::InternalServerError(variant)
        3581  +
        /* ServerOperationErrorGenerator.kt:111 */
 2051   3582   
    }
        3583  +
    /* ServerOperationErrorGenerator.kt:110 */
 2052   3584   
}
 2053   3585   
        3586  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2054   3587   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::ConstrainedShapesOperationError {
 2055   3588   
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstrainedShapesOperationError {
 2056   3589   
        ::pyo3::Python::with_gil(|py| {
 2057   3590   
            let error = variant.value(py);
 2058   3591   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 2059   3592   
                return error.into();
 2060   3593   
            }
 2061   3594   
            crate::error::InternalServerError {
 2062   3595   
                message: error.to_string(),
 2063   3596   
            }
 2064   3597   
            .into()
 2065   3598   
        })
 2066   3599   
    }
 2067   3600   
}
 2068         -
/// See [`InternalServerError`](crate::error::InternalServerError).
        3601  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`InternalServerError`](crate::error::InternalServerError).
 2069   3602   
pub mod internal_server_error {
 2070   3603   
        3604  +
    /* RustType.kt:516 */
 2071   3605   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 2072         -
    /// Holds one variant for each of the ways the builder can fail.
 2073         -
        3606  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        3607  +
    /* ServerBuilderConstraintViolations.kt:75 */
 2074   3608   
    #[allow(clippy::enum_variant_names)]
 2075   3609   
    pub enum ConstraintViolation {
 2076         -
        /// `message` was not provided but it is required when building `InternalServerError`.
        3610  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`message` was not provided but it is required when building `InternalServerError`.
        3611  +
        /* ServerBuilderConstraintViolations.kt:143 */
 2077   3612   
        MissingMessage,
        3613  +
        /* ServerBuilderConstraintViolations.kt:75 */
 2078   3614   
    }
        3615  +
    /* ServerBuilderConstraintViolations.kt:117 */
 2079   3616   
    impl ::std::fmt::Display for ConstraintViolation {
        3617  +
        /* ServerBuilderConstraintViolations.kt:118 */
 2080   3618   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3619  +
            /* ServerBuilderConstraintViolations.kt:119 */
 2081   3620   
            match self {
 2082         -
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `InternalServerError`"),
 2083         -
            }
        3621  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `InternalServerError`"),
        3622  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        3623  +
            /* ServerBuilderConstraintViolations.kt:118 */
 2084   3624   
        }
        3625  +
        /* ServerBuilderConstraintViolations.kt:117 */
 2085   3626   
    }
        3627  +
    /* ServerBuilderConstraintViolations.kt:84 */
 2086   3628   
    impl ::std::error::Error for ConstraintViolation {}
        3629  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:254 */
 2087   3630   
    impl ::std::convert::TryFrom<Builder> for crate::error::InternalServerError {
 2088   3631   
        type Error = ConstraintViolation;
 2089   3632   
 2090   3633   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 2091   3634   
            builder.build()
 2092   3635   
        }
 2093   3636   
    }
 2094         -
    /// A builder for [`InternalServerError`](crate::error::InternalServerError).
        3637  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`InternalServerError`](crate::error::InternalServerError).
        3638  +
    /* RustType.kt:516 */
 2095   3639   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3640  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 2096   3641   
    pub struct Builder {
        3642  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 2097   3643   
        pub(crate) message: ::std::option::Option<::std::string::String>,
        3644  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 2098   3645   
    }
        3646  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 2099   3647   
    impl Builder {
        3648  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 2100   3649   
        #[allow(missing_docs)] // documentation missing in model
        3650  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 2101   3651   
        pub fn message(mut self, input: ::std::string::String) -> Self {
 2102         -
            self.message = Some(input);
        3652  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
        3653  +
            self.message =
        3654  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
        3655  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
        3656  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
        3657  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 2103   3658   
            self
        3659  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 2104   3660   
        }
 2105         -
        /// Consumes the builder and constructs a [`InternalServerError`](crate::error::InternalServerError).
 2106         -
        ///
        3661  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`InternalServerError`](crate::error::InternalServerError).
        3662  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:152 */
 2107   3663   
        /// The builder fails to construct a [`InternalServerError`](crate::error::InternalServerError) if you do not provide a value for all non-`Option`al members.
 2108   3664   
        ///
        3665  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 2109   3666   
        pub fn build(self) -> Result<crate::error::InternalServerError, ConstraintViolation> {
 2110   3667   
            self.build_enforcing_required_and_enum_traits()
 2111   3668   
        }
        3669  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 2112   3670   
        fn build_enforcing_required_and_enum_traits(
 2113   3671   
            self,
 2114   3672   
        ) -> Result<crate::error::InternalServerError, ConstraintViolation> {
 2115         -
            Ok(crate::error::InternalServerError {
 2116         -
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
 2117         -
            })
        3673  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
        3674  +
            Ok(
        3675  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
        3676  +
                crate::error::InternalServerError {
        3677  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
        3678  +
                    message: self
        3679  +
                        .message
        3680  +
                        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:202 */
        3681  +
                        .ok_or(ConstraintViolation::MissingMessage)?,
        3682  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
        3683  +
                }, /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
        3684  +
            )
        3685  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 2118   3686   
        }
        3687  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 2119   3688   
    }
        3689  +
        3690  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 2120   3691   
}
 2121         -
/// See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        3692  +
/// /* ServerBuilderGenerator.kt:171 */See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
 2122   3693   
pub(crate) mod event_stream_error_message_internal {
 2123   3694   
        3695  +
    /* ServerBuilderGenerator.kt:461 */
 2124   3696   
    impl ::std::convert::From<Builder> for crate::error::EventStreamErrorMessage {
 2125   3697   
        fn from(builder: Builder) -> Self {
 2126   3698   
            builder.build()
 2127   3699   
        }
 2128   3700   
    }
 2129         -
    /// A builder for [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        3701  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        3702  +
    /* RustType.kt:516 */
 2130   3703   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3704  +
    /* ServerBuilderGenerator.kt:211 */
 2131   3705   
    pub(crate) struct Builder {
        3706  +
        /* ServerBuilderGenerator.kt:308 */
 2132   3707   
        pub(crate) message_content: ::std::option::Option<::std::string::String>,
        3708  +
        /* ServerBuilderGenerator.kt:211 */
 2133   3709   
    }
        3710  +
    /* ServerBuilderGenerator.kt:215 */
 2134   3711   
    impl Builder {
        3712  +
        /* ServerBuilderGenerator.kt:426 */
 2135   3713   
        #[allow(missing_docs)] // documentation missing in model
        3714  +
                               /* ServerBuilderGenerator.kt:428 */
 2136   3715   
        pub(crate) fn set_message_content(
 2137   3716   
            mut self,
 2138   3717   
            input: Option<impl ::std::convert::Into<::std::string::String>>,
 2139   3718   
        ) -> Self {
        3719  +
            /* ServerBuilderGenerator.kt:429 */
 2140   3720   
            self.message_content = input.map(|v| v.into());
 2141   3721   
            self
        3722  +
            /* ServerBuilderGenerator.kt:428 */
 2142   3723   
        }
 2143         -
        /// Consumes the builder and constructs a [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        3724  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        3725  +
        /* ServerBuilderGenerator.kt:271 */
 2144   3726   
        pub fn build(self) -> crate::error::EventStreamErrorMessage {
 2145   3727   
            self.build_enforcing_all_constraints()
 2146   3728   
        }
        3729  +
        /* ServerBuilderGenerator.kt:283 */
 2147   3730   
        fn build_enforcing_all_constraints(self) -> crate::error::EventStreamErrorMessage {
        3731  +
            /* ServerBuilderGenerator.kt:542 */
 2148   3732   
            crate::error::EventStreamErrorMessage {
        3733  +
                /* ServerBuilderGenerator.kt:546 */
 2149   3734   
                message_content: self.message_content,
        3735  +
                /* ServerBuilderGenerator.kt:542 */
 2150   3736   
            }
        3737  +
            /* ServerBuilderGenerator.kt:283 */
 2151   3738   
        }
        3739  +
        /* ServerBuilderGenerator.kt:215 */
 2152   3740   
    }
        3741  +
        3742  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 2153   3743   
}
 2154         -
/// See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        3744  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
 2155   3745   
pub mod event_stream_error_message {
 2156   3746   
        3747  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
 2157   3748   
    impl ::std::convert::From<Builder> for crate::error::EventStreamErrorMessage {
 2158   3749   
        fn from(builder: Builder) -> Self {
 2159   3750   
            builder.build()
 2160   3751   
        }
 2161   3752   
    }
 2162         -
    /// A builder for [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        3753  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        3754  +
    /* RustType.kt:516 */
 2163   3755   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3756  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 2164   3757   
    pub struct Builder {
        3758  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 2165   3759   
        pub(crate) message_content: ::std::option::Option<::std::string::String>,
        3760  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 2166   3761   
    }
        3762  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 2167   3763   
    impl Builder {
        3764  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 2168   3765   
        #[allow(missing_docs)] // documentation missing in model
        3766  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 2169   3767   
        pub fn message_content(
 2170   3768   
            mut self,
 2171   3769   
            input: ::std::option::Option<::std::string::String>,
 2172   3770   
        ) -> Self {
 2173         -
            self.message_content = input;
        3771  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
        3772  +
            self.message_content =
        3773  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
        3774  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 2174   3775   
            self
        3776  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 2175   3777   
        }
 2176         -
        /// Consumes the builder and constructs a [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        3778  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        3779  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 2177   3780   
        pub fn build(self) -> crate::error::EventStreamErrorMessage {
 2178   3781   
            self.build_enforcing_required_and_enum_traits()
 2179   3782   
        }
        3783  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 2180   3784   
        fn build_enforcing_required_and_enum_traits(self) -> crate::error::EventStreamErrorMessage {
        3785  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
 2181   3786   
            crate::error::EventStreamErrorMessage {
        3787  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
 2182   3788   
                message_content: self.message_content,
        3789  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
 2183   3790   
            }
        3791  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 2184   3792   
        }
        3793  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 2185   3794   
    }
        3795  +
        3796  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 2186   3797   
}
 2187         -
/// See [`ValidationException`](crate::error::ValidationException).
        3798  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`ValidationException`](crate::error::ValidationException).
 2188   3799   
pub mod validation_exception {
 2189   3800   
        3801  +
    /* RustType.kt:516 */
 2190   3802   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 2191         -
    /// Holds one variant for each of the ways the builder can fail.
 2192         -
        3803  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        3804  +
    /* ServerBuilderConstraintViolations.kt:75 */
 2193   3805   
    #[allow(clippy::enum_variant_names)]
 2194   3806   
    pub enum ConstraintViolation {
 2195         -
        /// `message` was not provided but it is required when building `ValidationException`.
        3807  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`message` was not provided but it is required when building `ValidationException`.
        3808  +
        /* ServerBuilderConstraintViolations.kt:143 */
 2196   3809   
        MissingMessage,
        3810  +
        /* ServerBuilderConstraintViolations.kt:75 */
 2197   3811   
    }
        3812  +
    /* ServerBuilderConstraintViolations.kt:117 */
 2198   3813   
    impl ::std::fmt::Display for ConstraintViolation {
        3814  +
        /* ServerBuilderConstraintViolations.kt:118 */
 2199   3815   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3816  +
            /* ServerBuilderConstraintViolations.kt:119 */
 2200   3817   
            match self {
 2201         -
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
 2202         -
            }
        3818  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
        3819  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        3820  +
            /* ServerBuilderConstraintViolations.kt:118 */
 2203   3821   
        }
        3822  +
        /* ServerBuilderConstraintViolations.kt:117 */
 2204   3823   
    }
        3824  +
    /* ServerBuilderConstraintViolations.kt:84 */
 2205   3825   
    impl ::std::error::Error for ConstraintViolation {}
        3826  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:254 */
 2206   3827   
    impl ::std::convert::TryFrom<Builder> for crate::error::ValidationException {
 2207   3828   
        type Error = ConstraintViolation;
 2208   3829   
 2209   3830   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 2210   3831   
            builder.build()
 2211   3832   
        }
 2212   3833   
    }
 2213         -
    /// A builder for [`ValidationException`](crate::error::ValidationException).
        3834  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`ValidationException`](crate::error::ValidationException).
        3835  +
    /* RustType.kt:516 */
 2214   3836   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3837  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 2215   3838   
    pub struct Builder {
        3839  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 2216   3840   
        pub(crate) message: ::std::option::Option<::std::string::String>,
        3841  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 2217   3842   
        pub(crate) field_list:
 2218   3843   
            ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
        3844  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 2219   3845   
    }
        3846  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 2220   3847   
    impl Builder {
 2221         -
        /// A summary of the validation failure.
        3848  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */A summary of the validation failure.
        3849  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 2222   3850   
        pub fn message(mut self, input: ::std::string::String) -> Self {
 2223         -
            self.message = Some(input);
        3851  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
        3852  +
            self.message =
        3853  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
        3854  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
        3855  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
        3856  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 2224   3857   
            self
        3858  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 2225   3859   
        }
 2226         -
        /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
        3860  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
        3861  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 2227   3862   
        pub fn field_list(
 2228   3863   
            mut self,
 2229   3864   
            input: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
 2230   3865   
        ) -> Self {
 2231         -
            self.field_list = input;
        3866  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
        3867  +
            self.field_list =
        3868  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
        3869  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 2232   3870   
            self
        3871  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 2233   3872   
        }
 2234         -
        /// Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
 2235         -
        ///
        3873  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
        3874  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:152 */
 2236   3875   
        /// The builder fails to construct a [`ValidationException`](crate::error::ValidationException) if you do not provide a value for all non-`Option`al members.
 2237   3876   
        ///
        3877  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 2238   3878   
        pub fn build(self) -> Result<crate::error::ValidationException, ConstraintViolation> {
 2239   3879   
            self.build_enforcing_required_and_enum_traits()
 2240   3880   
        }
        3881  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 2241   3882   
        fn build_enforcing_required_and_enum_traits(
 2242   3883   
            self,
 2243   3884   
        ) -> Result<crate::error::ValidationException, ConstraintViolation> {
 2244         -
            Ok(crate::error::ValidationException {
 2245         -
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
 2246         -
                field_list: self.field_list,
 2247         -
            })
        3885  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
        3886  +
            Ok(
        3887  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
        3888  +
                crate::error::ValidationException {
        3889  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
        3890  +
                    message: self
        3891  +
                        .message
        3892  +
                        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:202 */
        3893  +
                        .ok_or(ConstraintViolation::MissingMessage)?,
        3894  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
        3895  +
                    field_list: self.field_list,
        3896  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
        3897  +
                }, /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
        3898  +
            )
        3899  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 2248   3900   
        }
        3901  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 2249   3902   
    }
        3903  +
        3904  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 2250   3905   
}