Server Test Python

Server Test Python

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943

Files changed:

tmp-codegen-diff/codegen-server-test-python/pokemon-service-server-sdk/rust-server-codegen-python/src/types.rs

@@ -1,1 +0,15 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* SmithyTypesPubUseExtra.kt:66 */
    2      3   
pub use ::aws_smithy_types::body::SdkBody;
    3      4   
pub use ::aws_smithy_types::byte_stream::error::Error as ByteStreamError;
    4      5   
pub use ::aws_smithy_types::byte_stream::AggregatedBytes;
    5         -
pub use ::aws_smithy_types::byte_stream::ByteStream;
           6  +
/* SmithyTypesPubUseExtra.kt:86 */ pub use ::aws_smithy_types::byte_stream::ByteStream;
    6      7   
#[cfg(feature = "rt-tokio")]
    7      8   
pub use ::aws_smithy_types::byte_stream::FsBuilder;
    8      9   
#[cfg(feature = "rt-tokio")]
    9     10   
pub use ::aws_smithy_types::byte_stream::Length;
   10     11   
pub use ::aws_smithy_types::date_time::Format as DateTimeFormat;
          12  +
/* ServerRequiredCustomizations.kt:69 */
   11     13   
pub use ::aws_smithy_types::error::display::DisplayErrorContext;
   12     14   
pub use ::aws_smithy_types::Blob;
   13         -
pub use ::aws_smithy_types::DateTime;
          15  +
/* SmithyTypesPubUseExtra.kt:69 */ pub use ::aws_smithy_types::DateTime;

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

@@ -12,12 +64,64 @@
   32     32   
version = "0.3"
   33     33   
[dependencies.nom]
   34     34   
version = "7"
   35     35   
[dependencies.parking_lot]
   36     36   
version = "0.12"
   37     37   
[dependencies.percent-encoding]
   38     38   
version = "2.0.0"
   39     39   
[dependencies.pin-project-lite]
   40     40   
version = "0.2"
   41     41   
[dependencies.pyo3]
   42         -
version = "0.18"
          42  +
version = "0.20"
   43     43   
[dependencies.pyo3-asyncio]
   44         -
version = "0.18"
          44  +
version = "0.20"
   45     45   
features = ["attributes", "tokio-runtime"]
   46     46   
[dependencies.tower]
   47     47   
version = "0.4"
   48     48   
[dependencies.tracing]
   49     49   
version = "0.1"
   50     50   
[dev-dependencies.hyper]
   51     51   
version = "0.14.12"
   52     52   
[dev-dependencies.tokio]
   53     53   
version = "1.23.1"
   54     54   
[features]

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

@@ -1,1 +63,63 @@
    1      1   
import rest_json.model
    2      2   
import typing
    3      3   
    4      4   
class ComplexError(Exception):
    5      5   
    """
    6         -
    This error is thrown when a request is invalid.
           6  +
    /* StructureGenerator.kt:197 */This error is thrown when a request is invalid.
    7      7   
    """
    8      8   
    9      9   
    header: typing.Optional[str]
   10     10   
   11     11   
    nested: typing.Optional[rest_json.model.ComplexNestedErrorData]
   12     12   
   13     13   
    top_level: typing.Optional[str]
   14     14   
   15     15   
    def __init__(self, header: typing.Optional[str] = ..., top_level: typing.Optional[str] = ..., nested: typing.Optional[rest_json.model.ComplexNestedErrorData] = ...) -> None:
   16     16   
        ...
   17     17   
   18     18   
   19     19   
class FooError(Exception):
   20     20   
    """
   21         -
    This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
          21  +
    /* StructureGenerator.kt:197 */This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
   22     22   
    """
   23     23   
   24     24   
    def __init__(self) -> None:
   25     25   
        ...
   26     26   
   27     27   
   28     28   
class InternalServerError(Exception):
   29     29   
    message: str
   30     30   
   31     31   
    def __init__(self, message: str) -> None:
   32     32   
        ...
   33     33   
   34     34   
   35     35   
class InvalidGreeting(Exception):
   36     36   
    """
   37         -
    This error is thrown when an invalid greeting value is provided.
          37  +
    /* StructureGenerator.kt:197 */This error is thrown when an invalid greeting value is provided.
   38     38   
    """
   39     39   
   40     40   
    message: typing.Optional[str]
   41     41   
   42     42   
    def __init__(self, message: typing.Optional[str] = ...) -> None:
   43     43   
        ...
   44     44   
   45     45   
   46     46   
class ValidationException(Exception):
   47     47   
    """
   48         -
    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.
          48  +
    /* 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.
   49     49   
    """
   50     50   
   51     51   
    field_list: typing.Optional[typing.List[rest_json.model.ValidationExceptionField]]
   52     52   
    """
   53         -
    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.
          53  +
    /* 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.
   54     54   
    """
   55     55   
   56     56   
    message: str
   57     57   
    """
   58         -
    A summary of the validation failure.
          58  +
    /* StructureGenerator.kt:231 */A summary of the validation failure.
   59     59   
    """
   60     60   
   61     61   
    def __init__(self, message: str, field_list: typing.Optional[typing.List[rest_json.model.ValidationExceptionField]] = ...) -> None:
   62     62   
        ...
   63     63   

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

@@ -205,205 +282,282 @@
  225    225   
  226    226   
    target_http_date: rest_json.types.DateTime
  227    227   
  228    228   
    def __init__(self, member_epoch_seconds: rest_json.types.DateTime, member_http_date: rest_json.types.DateTime, member_date_time: rest_json.types.DateTime, default_format: rest_json.types.DateTime, target_epoch_seconds: rest_json.types.DateTime, target_http_date: rest_json.types.DateTime, target_date_time: rest_json.types.DateTime) -> None:
  229    229   
        ...
  230    230   
  231    231   
  232    232   
class HttpRequestWithLabelsInput:
  233    233   
    boolean: bool
  234    234   
    """
  235         -
    Serialized in the path as true or false.
         235  +
    /* StructureGenerator.kt:231 */Serialized in the path as true or false.
  236    236   
    """
  237    237   
  238    238   
    double: float
  239    239   
  240    240   
    float: float
  241    241   
  242    242   
    integer: int
  243    243   
  244    244   
    long: int
  245    245   
  246    246   
    short: int
  247    247   
  248    248   
    string: str
  249    249   
  250    250   
    timestamp: rest_json.types.DateTime
  251    251   
    """
  252         -
    Note that this member has no format, so it's serialized as an RFC 3399 date-time.
         252  +
    /* StructureGenerator.kt:231 */Note that this member has no format, so it's serialized as an RFC 3399 date-time.
  253    253   
    """
  254    254   
  255    255   
    def __init__(self, string: str, short: int, integer: int, long: int, float: float, double: float, boolean: bool, timestamp: rest_json.types.DateTime) -> None:
  256    256   
        ...
  257    257   
  258    258   
  259    259   
class HttpRequestWithRegexLiteralInput:
  260    260   
    str: str
  261    261   
  262    262   
    def __init__(self, str: str) -> None:
@@ -346,346 +627,627 @@
  366    366   
    boolean_list: typing.Optional[typing.List[bool]]
  367    367   
  368    368   
    enum_list: typing.Optional[typing.List[rest_json.model.FooEnum]]
  369    369   
  370    370   
    int_enum_list: typing.Optional[typing.List[int]]
  371    371   
  372    372   
    integer_list: typing.Optional[typing.List[int]]
  373    373   
  374    374   
    nested_string_list: typing.Optional[typing.List[typing.List[str]]]
  375    375   
    """
  376         -
    A list of lists of strings.
         376  +
    /* StructureGenerator.kt:231 */A list of lists of strings.
  377    377   
    """
  378    378   
  379    379   
    string_list: typing.Optional[typing.List[str]]
  380    380   
  381    381   
    string_set: typing.Optional[typing.List[str]]
  382    382   
  383    383   
    structure_list: typing.Optional[typing.List[rest_json.model.StructureListMember]]
  384    384   
  385    385   
    timestamp_list: typing.Optional[typing.List[rest_json.types.DateTime]]
  386    386   
  387    387   
    def __init__(self, string_list: typing.Optional[typing.List[str]] = ..., string_set: typing.Optional[typing.List[str]] = ..., integer_list: typing.Optional[typing.List[int]] = ..., boolean_list: typing.Optional[typing.List[bool]] = ..., timestamp_list: typing.Optional[typing.List[rest_json.types.DateTime]] = ..., enum_list: typing.Optional[typing.List[rest_json.model.FooEnum]] = ..., int_enum_list: typing.Optional[typing.List[int]] = ..., nested_string_list: typing.Optional[typing.List[typing.List[str]]] = ..., structure_list: typing.Optional[typing.List[rest_json.model.StructureListMember]] = ...) -> None:
  388    388   
        ...
  389    389   
  390    390   
  391    391   
class JsonMapsInput:
  392    392   
    dense_boolean_map: typing.Optional[typing.Dict[str, bool]]
  393    393   
  394    394   
    dense_number_map: typing.Optional[typing.Dict[str, int]]
  395    395   
  396    396   
    dense_set_map: typing.Optional[typing.Dict[str, typing.List[str]]]
  397    397   
  398    398   
    dense_string_map: typing.Optional[typing.Dict[str, str]]
  399    399   
  400    400   
    dense_struct_map: typing.Optional[typing.Dict[str, rest_json.model.GreetingStruct]]
  401    401   
  402    402   
    def __init__(self, dense_struct_map: typing.Optional[typing.Dict[str, rest_json.model.GreetingStruct]] = ..., dense_number_map: typing.Optional[typing.Dict[str, int]] = ..., dense_boolean_map: typing.Optional[typing.Dict[str, bool]] = ..., dense_string_map: typing.Optional[typing.Dict[str, str]] = ..., dense_set_map: typing.Optional[typing.Dict[str, typing.List[str]]] = ...) -> None:
  403    403   
        ...
  404    404   
  405    405   
  406    406   
class JsonTimestampsInput:
  407    407   
    date_time: typing.Optional[rest_json.types.DateTime]
  408    408   
  409    409   
    date_time_on_target: typing.Optional[rest_json.types.DateTime]
  410    410   
  411    411   
    epoch_seconds: typing.Optional[rest_json.types.DateTime]
  412    412   
  413    413   
    epoch_seconds_on_target: typing.Optional[rest_json.types.DateTime]
  414    414   
  415    415   
    http_date: typing.Optional[rest_json.types.DateTime]
  416    416   
  417    417   
    http_date_on_target: typing.Optional[rest_json.types.DateTime]
  418    418   
  419    419   
    normal: typing.Optional[rest_json.types.DateTime]
  420    420   
  421    421   
    def __init__(self, normal: typing.Optional[rest_json.types.DateTime] = ..., date_time: typing.Optional[rest_json.types.DateTime] = ..., date_time_on_target: typing.Optional[rest_json.types.DateTime] = ..., epoch_seconds: typing.Optional[rest_json.types.DateTime] = ..., epoch_seconds_on_target: typing.Optional[rest_json.types.DateTime] = ..., http_date: typing.Optional[rest_json.types.DateTime] = ..., http_date_on_target: typing.Optional[rest_json.types.DateTime] = ...) -> None:
  422    422   
        ...
  423    423   
  424    424   
  425    425   
class JsonUnionsInput:
  426    426   
    """
  427         -
    A shared structure that contains a single union member.
         427  +
    /* StructureGenerator.kt:197 */A shared structure that contains a single union member.
  428    428   
    """
  429    429   
  430    430   
    contents: typing.Optional[rest_json.model.MyUnion]
  431    431   
    """
  432         -
    A union with a representative set of types for members.
         432  +
    /* StructureGenerator.kt:231 */A union with a representative set of types for members.
  433    433   
    """
  434    434   
  435    435   
    def __init__(self, contents: typing.Optional[rest_json.model.MyUnion] = ...) -> None:
  436    436   
        ...
  437    437   
  438    438   
  439    439   
class MalformedAcceptWithBodyInput:
  440    440   
    def __init__(self) -> None:
  441    441   
        ...
  442    442   
  443    443   
  444    444   
class MalformedAcceptWithGenericStringInput:
  445    445   
    def __init__(self) -> None:
  446    446   
        ...
  447    447   
  448    448   
  449    449   
class MalformedAcceptWithPayloadInput:
  450    450   
    def __init__(self) -> None:
  451    451   
        ...
  452    452   
  453    453   
  454    454   
class MalformedBlobInput:
  455    455   
    blob: typing.Optional[rest_json.types.Blob]
  456    456   
  457    457   
    def __init__(self, blob: typing.Optional[rest_json.types.Blob] = ...) -> None:
  458    458   
        ...
  459    459   
  460    460   
  461    461   
class MalformedBooleanInput:
  462    462   
    boolean_in_body: typing.Optional[bool]
  463    463   
  464    464   
    boolean_in_header: typing.Optional[bool]
  465    465   
  466    466   
    boolean_in_path: bool
  467    467   
  468    468   
    boolean_in_query: typing.Optional[bool]
  469    469   
  470         -
    def __init__(self, boolean_in_body: typing.Optional[bool] = ..., boolean_in_path: bool, boolean_in_query: typing.Optional[bool] = ..., boolean_in_header: typing.Optional[bool] = ...) -> None:
         470  +
    def __init__(self, boolean_in_path: bool, boolean_in_body: typing.Optional[bool] = ..., boolean_in_query: typing.Optional[bool] = ..., boolean_in_header: typing.Optional[bool] = ...) -> None:
  471    471   
        ...
  472    472   
  473    473   
  474    474   
class MalformedByteInput:
  475    475   
    byte_in_body: typing.Optional[int]
  476    476   
  477    477   
    byte_in_header: typing.Optional[int]
  478    478   
  479    479   
    byte_in_path: int
  480    480   
  481    481   
    byte_in_query: typing.Optional[int]
  482    482   
  483         -
    def __init__(self, byte_in_body: typing.Optional[int] = ..., byte_in_path: int, byte_in_query: typing.Optional[int] = ..., byte_in_header: typing.Optional[int] = ...) -> None:
         483  +
    def __init__(self, byte_in_path: int, byte_in_body: typing.Optional[int] = ..., byte_in_query: typing.Optional[int] = ..., byte_in_header: typing.Optional[int] = ...) -> None:
  484    484   
        ...
  485    485   
  486    486   
  487    487   
class MalformedContentTypeWithBodyInput:
  488    488   
    hi: typing.Optional[str]
  489    489   
  490    490   
    def __init__(self, hi: typing.Optional[str] = ...) -> None:
  491    491   
        ...
  492    492   
  493    493   
  494    494   
class MalformedContentTypeWithGenericStringInput:
  495    495   
    payload: typing.Optional[str]
  496    496   
  497    497   
    def __init__(self, payload: typing.Optional[str] = ...) -> None:
  498    498   
        ...
  499    499   
  500    500   
  501    501   
class MalformedContentTypeWithPayloadInput:
  502    502   
    payload: typing.Optional[rest_json.types.Blob]
  503    503   
  504    504   
    def __init__(self, payload: typing.Optional[rest_json.types.Blob] = ...) -> None:
  505    505   
        ...
  506    506   
  507    507   
  508    508   
class MalformedContentTypeWithoutBodyInput:
  509    509   
    def __init__(self) -> None:
  510    510   
        ...
  511    511   
  512    512   
  513    513   
class MalformedDoubleInput:
  514    514   
    double_in_body: typing.Optional[float]
  515    515   
  516    516   
    double_in_header: typing.Optional[float]
  517    517   
  518    518   
    double_in_path: float
  519    519   
  520    520   
    double_in_query: typing.Optional[float]
  521    521   
  522         -
    def __init__(self, double_in_body: typing.Optional[float] = ..., double_in_path: float, double_in_query: typing.Optional[float] = ..., double_in_header: typing.Optional[float] = ...) -> None:
         522  +
    def __init__(self, double_in_path: float, double_in_body: typing.Optional[float] = ..., double_in_query: typing.Optional[float] = ..., double_in_header: typing.Optional[float] = ...) -> None:
  523    523   
        ...
  524    524   
  525    525   
  526    526   
class MalformedFloatInput:
  527    527   
    float_in_body: typing.Optional[float]
  528    528   
  529    529   
    float_in_header: typing.Optional[float]
  530    530   
  531    531   
    float_in_path: float
  532    532   
  533    533   
    float_in_query: typing.Optional[float]
  534    534   
  535         -
    def __init__(self, float_in_body: typing.Optional[float] = ..., float_in_path: float, float_in_query: typing.Optional[float] = ..., float_in_header: typing.Optional[float] = ...) -> None:
         535  +
    def __init__(self, float_in_path: float, float_in_body: typing.Optional[float] = ..., float_in_query: typing.Optional[float] = ..., float_in_header: typing.Optional[float] = ...) -> None:
  536    536   
        ...
  537    537   
  538    538   
  539    539   
class MalformedIntegerInput:
  540    540   
    integer_in_body: typing.Optional[int]
  541    541   
  542    542   
    integer_in_header: typing.Optional[int]
  543    543   
  544    544   
    integer_in_path: int
  545    545   
  546    546   
    integer_in_query: typing.Optional[int]
  547    547   
  548         -
    def __init__(self, integer_in_body: typing.Optional[int] = ..., integer_in_path: int, integer_in_query: typing.Optional[int] = ..., integer_in_header: typing.Optional[int] = ...) -> None:
         548  +
    def __init__(self, integer_in_path: int, integer_in_body: typing.Optional[int] = ..., integer_in_query: typing.Optional[int] = ..., integer_in_header: typing.Optional[int] = ...) -> None:
  549    549   
        ...
  550    550   
  551    551   
  552    552   
class MalformedListInput:
  553    553   
    body_list: typing.Optional[typing.List[str]]
  554    554   
  555    555   
    def __init__(self, body_list: typing.Optional[typing.List[str]] = ...) -> None:
  556    556   
        ...
  557    557   
  558    558   
  559    559   
class MalformedLongInput:
  560    560   
    long_in_body: typing.Optional[int]
  561    561   
  562    562   
    long_in_header: typing.Optional[int]
  563    563   
  564    564   
    long_in_path: int
  565    565   
  566    566   
    long_in_query: typing.Optional[int]
  567    567   
  568         -
    def __init__(self, long_in_body: typing.Optional[int] = ..., long_in_path: int, long_in_query: typing.Optional[int] = ..., long_in_header: typing.Optional[int] = ...) -> None:
         568  +
    def __init__(self, long_in_path: int, long_in_body: typing.Optional[int] = ..., long_in_query: typing.Optional[int] = ..., long_in_header: typing.Optional[int] = ...) -> None:
  569    569   
        ...
  570    570   
  571    571   
  572    572   
class MalformedMapInput:
  573    573   
    body_map: typing.Optional[typing.Dict[str, str]]
  574    574   
  575    575   
    def __init__(self, body_map: typing.Optional[typing.Dict[str, str]] = ...) -> None:
  576    576   
        ...
  577    577   
  578    578   
  579    579   
class MalformedRequestBodyInput:
  580    580   
    float: typing.Optional[float]
  581    581   
  582    582   
    int: typing.Optional[int]
  583    583   
  584    584   
    def __init__(self, int: typing.Optional[int] = ..., float: typing.Optional[float] = ...) -> None:
  585    585   
        ...
  586    586   
  587    587   
  588    588   
class MalformedShortInput:
  589    589   
    short_in_body: typing.Optional[int]
  590    590   
  591    591   
    short_in_header: typing.Optional[int]
  592    592   
  593    593   
    short_in_path: int
  594    594   
  595    595   
    short_in_query: typing.Optional[int]
  596    596   
  597         -
    def __init__(self, short_in_body: typing.Optional[int] = ..., short_in_path: int, short_in_query: typing.Optional[int] = ..., short_in_header: typing.Optional[int] = ...) -> None:
         597  +
    def __init__(self, short_in_path: int, short_in_body: typing.Optional[int] = ..., short_in_query: typing.Optional[int] = ..., short_in_header: typing.Optional[int] = ...) -> None:
  598    598   
        ...
  599    599   
  600    600   
  601    601   
class MalformedStringInput:
  602    602   
    blob: typing.Optional[str]
  603    603   
  604    604   
    def __init__(self, blob: typing.Optional[str] = ...) -> None:
  605    605   
        ...
  606    606   
  607    607   
@@ -745,745 +805,805 @@
  765    765   
  766    766   
class OperationWithDefaultsInput:
  767    767   
    client_optional_defaults: typing.Optional[rest_json.model.ClientOptionalDefaults]
  768    768   
  769    769   
    defaults: typing.Optional[rest_json.model.Defaults]
  770    770   
  771    771   
    other_top_level_default: int
  772    772   
  773    773   
    top_level_default: str
  774    774   
  775         -
    def __init__(self, defaults: typing.Optional[rest_json.model.Defaults] = ..., client_optional_defaults: typing.Optional[rest_json.model.ClientOptionalDefaults] = ..., top_level_default: str, other_top_level_default: int) -> None:
         775  +
    def __init__(self, top_level_default: str, other_top_level_default: int, defaults: typing.Optional[rest_json.model.Defaults] = ..., client_optional_defaults: typing.Optional[rest_json.model.ClientOptionalDefaults] = ...) -> None:
  776    776   
        ...
  777    777   
  778    778   
  779    779   
class OperationWithNestedStructureInput:
  780    780   
    top_level: rest_json.model.TopLevel
  781    781   
  782    782   
    def __init__(self, top_level: rest_json.model.TopLevel) -> None:
  783    783   
        ...
  784    784   
  785    785   
@@ -865,865 +943,943 @@
  885    885   
  886    886   
    def __init__(self, sparse_struct_map: typing.Optional[typing.Dict[str, typing.Optional[rest_json.model.GreetingStruct]]] = ..., sparse_number_map: typing.Optional[typing.Dict[str, typing.Optional[int]]] = ..., sparse_boolean_map: typing.Optional[typing.Dict[str, typing.Optional[bool]]] = ..., sparse_string_map: typing.Optional[typing.Dict[str, typing.Optional[str]]] = ..., sparse_set_map: typing.Optional[typing.Dict[str, typing.Optional[typing.List[str]]]] = ...) -> None:
  887    887   
        ...
  888    888   
  889    889   
  890    890   
class StreamingTraitsInput:
  891    891   
    blob: rest_json.types.ByteStream
  892    892   
  893    893   
    foo: typing.Optional[str]
  894    894   
  895         -
    def __init__(self, foo: typing.Optional[str] = ..., blob: rest_json.types.ByteStream) -> None:
         895  +
    def __init__(self, blob: rest_json.types.ByteStream, foo: typing.Optional[str] = ...) -> None:
  896    896   
        ...
  897    897   
  898    898   
  899    899   
class StreamingTraitsRequireLengthInput:
  900    900   
    blob: rest_json.types.ByteStream
  901    901   
  902    902   
    foo: typing.Optional[str]
  903    903   
  904         -
    def __init__(self, foo: typing.Optional[str] = ..., blob: rest_json.types.ByteStream) -> None:
         904  +
    def __init__(self, blob: rest_json.types.ByteStream, foo: typing.Optional[str] = ...) -> None:
  905    905   
        ...
  906    906   
  907    907   
  908    908   
class StreamingTraitsWithMediaTypeInput:
  909    909   
    blob: rest_json.types.ByteStream
  910    910   
  911    911   
    foo: typing.Optional[str]
  912    912   
  913         -
    def __init__(self, foo: typing.Optional[str] = ..., blob: rest_json.types.ByteStream) -> None:
         913  +
    def __init__(self, blob: rest_json.types.ByteStream, foo: typing.Optional[str] = ...) -> None:
  914    914   
        ...
  915    915   
  916    916   
  917    917   
class TestBodyStructureInput:
  918    918   
    test_config: typing.Optional[rest_json.model.TestConfig]
  919    919   
  920    920   
    test_id: typing.Optional[str]
  921    921   
  922    922   
    def __init__(self, test_id: typing.Optional[str] = ..., test_config: typing.Optional[rest_json.model.TestConfig] = ...) -> None:
  923    923   
        ...

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

@@ -46,46 +117,117 @@
   66     66   
    zero_double: float
   67     67   
   68     68   
    zero_float: float
   69     69   
   70     70   
    zero_integer: int
   71     71   
   72     72   
    zero_long: int
   73     73   
   74     74   
    zero_short: int
   75     75   
   76         -
    def __init__(self, default_string: str, default_boolean: bool, default_list: typing.List[str], default_document_map: rest_json.types.Document, default_document_string: rest_json.types.Document, default_document_boolean: rest_json.types.Document, default_document_list: rest_json.types.Document, default_null_document: typing.Optional[rest_json.types.Document] = ..., default_timestamp: rest_json.types.DateTime, default_blob: rest_json.types.Blob, default_byte: int, default_short: int, default_integer: int, default_long: int, default_float: float, default_double: float, default_map: typing.Dict[str, str], default_enum: rest_json.model.TestEnum, default_int_enum: int, empty_string: str, false_boolean: bool, empty_blob: rest_json.types.Blob, zero_byte: int, zero_short: int, zero_integer: int, zero_long: int, zero_float: float, zero_double: float) -> None:
          76  +
    def __init__(self, default_string: str, default_boolean: bool, default_list: typing.List[str], default_document_map: rest_json.types.Document, default_document_string: rest_json.types.Document, default_document_boolean: rest_json.types.Document, default_document_list: rest_json.types.Document, default_timestamp: rest_json.types.DateTime, default_blob: rest_json.types.Blob, default_byte: int, default_short: int, default_integer: int, default_long: int, default_float: float, default_double: float, default_map: typing.Dict[str, str], default_enum: rest_json.model.TestEnum, default_int_enum: int, empty_string: str, false_boolean: bool, empty_blob: rest_json.types.Blob, zero_byte: int, zero_short: int, zero_integer: int, zero_long: int, zero_float: float, zero_double: float, default_null_document: typing.Optional[rest_json.types.Document] = ...) -> None:
   77     77   
        ...
   78     78   
   79     79   
   80     80   
class Dialog:
   81     81   
    farewell: typing.Optional[rest_json.model.Farewell]
   82     82   
   83     83   
    greeting: str
   84     84   
   85     85   
    language: typing.Optional[str]
   86     86   
   87         -
    def __init__(self, language: typing.Optional[str] = ..., greeting: str, farewell: typing.Optional[rest_json.model.Farewell] = ...) -> None:
          87  +
    def __init__(self, greeting: str, language: typing.Optional[str] = ..., farewell: typing.Optional[rest_json.model.Farewell] = ...) -> None:
   88     88   
        ...
   89     89   
   90     90   
   91     91   
class Farewell:
   92     92   
    phrase: str
   93     93   
   94     94   
    def __init__(self, phrase: str) -> None:
   95     95   
        ...
   96     96   
   97     97   
@@ -555,555 +600,600 @@
  575    575   
        ...
  576    576   
  577    577   
  578    578   
class Unit:
  579    579   
    def __init__(self) -> None:
  580    580   
        ...
  581    581   
  582    582   
  583    583   
class ValidationExceptionField:
  584    584   
    """
  585         -
    Describes one specific validation failure for an input member.
         585  +
    /* StructureGenerator.kt:197 */Describes one specific validation failure for an input member.
  586    586   
    """
  587    587   
  588    588   
    message: str
  589    589   
    """
  590         -
    A detailed description of the validation failure.
         590  +
    /* StructureGenerator.kt:231 */A detailed description of the validation failure.
  591    591   
    """
  592    592   
  593    593   
    path: str
  594    594   
    """
  595         -
    A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
         595  +
    /* StructureGenerator.kt:231 */A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
  596    596   
    """
  597    597   
  598    598   
    def __init__(self, path: str, message: str) -> None:
  599    599   
        ...
  600    600   

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

@@ -260,260 +376,376 @@
  280    280   
    boolean_list: typing.Optional[typing.List[bool]]
  281    281   
  282    282   
    enum_list: typing.Optional[typing.List[rest_json.model.FooEnum]]
  283    283   
  284    284   
    int_enum_list: typing.Optional[typing.List[int]]
  285    285   
  286    286   
    integer_list: typing.Optional[typing.List[int]]
  287    287   
  288    288   
    nested_string_list: typing.Optional[typing.List[typing.List[str]]]
  289    289   
    """
  290         -
    A list of lists of strings.
         290  +
    /* StructureGenerator.kt:231 */A list of lists of strings.
  291    291   
    """
  292    292   
  293    293   
    string_list: typing.Optional[typing.List[str]]
  294    294   
  295    295   
    string_set: typing.Optional[typing.List[str]]
  296    296   
  297    297   
    structure_list: typing.Optional[typing.List[rest_json.model.StructureListMember]]
  298    298   
  299    299   
    timestamp_list: typing.Optional[typing.List[rest_json.types.DateTime]]
  300    300   
  301    301   
    def __init__(self, string_list: typing.Optional[typing.List[str]] = ..., string_set: typing.Optional[typing.List[str]] = ..., integer_list: typing.Optional[typing.List[int]] = ..., boolean_list: typing.Optional[typing.List[bool]] = ..., timestamp_list: typing.Optional[typing.List[rest_json.types.DateTime]] = ..., enum_list: typing.Optional[typing.List[rest_json.model.FooEnum]] = ..., int_enum_list: typing.Optional[typing.List[int]] = ..., nested_string_list: typing.Optional[typing.List[typing.List[str]]] = ..., structure_list: typing.Optional[typing.List[rest_json.model.StructureListMember]] = ...) -> None:
  302    302   
        ...
  303    303   
  304    304   
  305    305   
class JsonMapsOutput:
  306    306   
    dense_boolean_map: typing.Optional[typing.Dict[str, bool]]
  307    307   
  308    308   
    dense_number_map: typing.Optional[typing.Dict[str, int]]
  309    309   
  310    310   
    dense_set_map: typing.Optional[typing.Dict[str, typing.List[str]]]
  311    311   
  312    312   
    dense_string_map: typing.Optional[typing.Dict[str, str]]
  313    313   
  314    314   
    dense_struct_map: typing.Optional[typing.Dict[str, rest_json.model.GreetingStruct]]
  315    315   
  316    316   
    def __init__(self, dense_struct_map: typing.Optional[typing.Dict[str, rest_json.model.GreetingStruct]] = ..., dense_number_map: typing.Optional[typing.Dict[str, int]] = ..., dense_boolean_map: typing.Optional[typing.Dict[str, bool]] = ..., dense_string_map: typing.Optional[typing.Dict[str, str]] = ..., dense_set_map: typing.Optional[typing.Dict[str, typing.List[str]]] = ...) -> None:
  317    317   
        ...
  318    318   
  319    319   
  320    320   
class JsonTimestampsOutput:
  321    321   
    date_time: typing.Optional[rest_json.types.DateTime]
  322    322   
  323    323   
    date_time_on_target: typing.Optional[rest_json.types.DateTime]
  324    324   
  325    325   
    epoch_seconds: typing.Optional[rest_json.types.DateTime]
  326    326   
  327    327   
    epoch_seconds_on_target: typing.Optional[rest_json.types.DateTime]
  328    328   
  329    329   
    http_date: typing.Optional[rest_json.types.DateTime]
  330    330   
  331    331   
    http_date_on_target: typing.Optional[rest_json.types.DateTime]
  332    332   
  333    333   
    normal: typing.Optional[rest_json.types.DateTime]
  334    334   
  335    335   
    def __init__(self, normal: typing.Optional[rest_json.types.DateTime] = ..., date_time: typing.Optional[rest_json.types.DateTime] = ..., date_time_on_target: typing.Optional[rest_json.types.DateTime] = ..., epoch_seconds: typing.Optional[rest_json.types.DateTime] = ..., epoch_seconds_on_target: typing.Optional[rest_json.types.DateTime] = ..., http_date: typing.Optional[rest_json.types.DateTime] = ..., http_date_on_target: typing.Optional[rest_json.types.DateTime] = ...) -> None:
  336    336   
        ...
  337    337   
  338    338   
  339    339   
class JsonUnionsOutput:
  340    340   
    """
  341         -
    A shared structure that contains a single union member.
         341  +
    /* StructureGenerator.kt:197 */A shared structure that contains a single union member.
  342    342   
    """
  343    343   
  344    344   
    contents: typing.Optional[rest_json.model.MyUnion]
  345    345   
    """
  346         -
    A union with a representative set of types for members.
         346  +
    /* StructureGenerator.kt:231 */A union with a representative set of types for members.
  347    347   
    """
  348    348   
  349    349   
    def __init__(self, contents: typing.Optional[rest_json.model.MyUnion] = ...) -> None:
  350    350   
        ...
  351    351   
  352    352   
  353    353   
class MalformedAcceptWithBodyOutput:
  354    354   
    hi: typing.Optional[str]
  355    355   
  356    356   
    def __init__(self, hi: typing.Optional[str] = ...) -> None:
@@ -595,595 +655,655 @@
  615    615   
    zero_double: float
  616    616   
  617    617   
    zero_float: float
  618    618   
  619    619   
    zero_integer: int
  620    620   
  621    621   
    zero_long: int
  622    622   
  623    623   
    zero_short: int
  624    624   
  625         -
    def __init__(self, default_string: str, default_boolean: bool, default_list: typing.List[str], default_document_map: rest_json.types.Document, default_document_string: rest_json.types.Document, default_document_boolean: rest_json.types.Document, default_document_list: rest_json.types.Document, default_null_document: typing.Optional[rest_json.types.Document] = ..., default_timestamp: rest_json.types.DateTime, default_blob: rest_json.types.Blob, default_byte: int, default_short: int, default_integer: int, default_long: int, default_float: float, default_double: float, default_map: typing.Dict[str, str], default_enum: rest_json.model.TestEnum, default_int_enum: int, empty_string: str, false_boolean: bool, empty_blob: rest_json.types.Blob, zero_byte: int, zero_short: int, zero_integer: int, zero_long: int, zero_float: float, zero_double: float) -> None:
         625  +
    def __init__(self, default_string: str, default_boolean: bool, default_list: typing.List[str], default_document_map: rest_json.types.Document, default_document_string: rest_json.types.Document, default_document_boolean: rest_json.types.Document, default_document_list: rest_json.types.Document, default_timestamp: rest_json.types.DateTime, default_blob: rest_json.types.Blob, default_byte: int, default_short: int, default_integer: int, default_long: int, default_float: float, default_double: float, default_map: typing.Dict[str, str], default_enum: rest_json.model.TestEnum, default_int_enum: int, empty_string: str, false_boolean: bool, empty_blob: rest_json.types.Blob, zero_byte: int, zero_short: int, zero_integer: int, zero_long: int, zero_float: float, zero_double: float, default_null_document: typing.Optional[rest_json.types.Document] = ...) -> None:
  626    626   
        ...
  627    627   
  628    628   
  629    629   
class OperationWithNestedStructureOutput:
  630    630   
    dialog: rest_json.model.Dialog
  631    631   
  632    632   
    dialog_list: typing.List[rest_json.model.Dialog]
  633    633   
  634    634   
    dialog_map: typing.Dict[str, rest_json.model.Dialog]
  635    635   
@@ -705,705 +779,779 @@
  725    725   
  726    726   
    def __init__(self, sparse_struct_map: typing.Optional[typing.Dict[str, typing.Optional[rest_json.model.GreetingStruct]]] = ..., sparse_number_map: typing.Optional[typing.Dict[str, typing.Optional[int]]] = ..., sparse_boolean_map: typing.Optional[typing.Dict[str, typing.Optional[bool]]] = ..., sparse_string_map: typing.Optional[typing.Dict[str, typing.Optional[str]]] = ..., sparse_set_map: typing.Optional[typing.Dict[str, typing.Optional[typing.List[str]]]] = ...) -> None:
  727    727   
        ...
  728    728   
  729    729   
  730    730   
class StreamingTraitsOutput:
  731    731   
    blob: rest_json.types.ByteStream
  732    732   
  733    733   
    foo: typing.Optional[str]
  734    734   
  735         -
    def __init__(self, foo: typing.Optional[str] = ..., blob: rest_json.types.ByteStream) -> None:
         735  +
    def __init__(self, blob: rest_json.types.ByteStream, foo: typing.Optional[str] = ...) -> None:
  736    736   
        ...
  737    737   
  738    738   
  739    739   
class StreamingTraitsRequireLengthOutput:
  740    740   
    def __init__(self) -> None:
  741    741   
        ...
  742    742   
  743    743   
  744    744   
class StreamingTraitsWithMediaTypeOutput:
  745    745   
    blob: rest_json.types.ByteStream
  746    746   
  747    747   
    foo: typing.Optional[str]
  748    748   
  749         -
    def __init__(self, foo: typing.Optional[str] = ..., blob: rest_json.types.ByteStream) -> None:
         749  +
    def __init__(self, blob: rest_json.types.ByteStream, foo: typing.Optional[str] = ...) -> None:
  750    750   
        ...
  751    751   
  752    752   
  753    753   
class TestBodyStructureOutput:
  754    754   
    test_config: typing.Optional[rest_json.model.TestConfig]
  755    755   
  756    756   
    test_id: typing.Optional[str]
  757    757   
  758    758   
    def __init__(self, test_id: typing.Optional[str] = ..., test_config: typing.Optional[rest_json.model.TestConfig] = ...) -> None:
  759    759   
        ...

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

@@ -1,1 +109,157 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
    3      3   
pub(crate) mod sparse_set_map_constrained {
    4      4   
           5  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
    5      6   
    #[derive(Debug, Clone)]
    6      7   
    pub(crate) struct SparseSetMapConstrained(
    7      8   
        pub(crate)  std::collections::HashMap<
    8      9   
            ::std::string::String,
    9     10   
            ::std::option::Option<crate::model::StringSet>,
   10     11   
        >,
   11     12   
    );
   12     13   
   13     14   
    impl crate::constrained::Constrained for SparseSetMapConstrained {
   14     15   
        type Unconstrained =
   15     16   
            crate::unconstrained::sparse_set_map_unconstrained::SparseSetMapUnconstrained;
   16     17   
    }
          18  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
   17     19   
    impl ::std::convert::From<SparseSetMapConstrained>
   18     20   
        for ::std::collections::HashMap<
   19     21   
            ::std::string::String,
   20     22   
            ::std::option::Option<::std::vec::Vec<::std::string::String>>,
   21     23   
        >
   22     24   
    {
          25  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
   23     26   
        fn from(v: SparseSetMapConstrained) -> Self {
          27  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
   24     28   
            v.0.into_iter()
   25     29   
                .map(|(k, v)| {
   26         -
                    let v = { v.map(|v| v.into()) };
          30  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
          31  +
                    let v = {
          32  +
                        /* PubCrateConstrainedMapGenerator.kt:136 */
          33  +
                        v.map(|v|
          34  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */v.into()
          35  +
                    /* PubCrateConstrainedMapGenerator.kt:136 */)
          36  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
          37  +
                    };
          38  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
   27     39   
                    (k, v)
          40  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
   28     41   
                })
   29     42   
                .collect()
          43  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
   30     44   
        }
          45  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
   31     46   
    }
          47  +
          48  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
   32     49   
}
   33     50   
pub(crate) mod dense_set_map_constrained {
   34     51   
          52  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
   35     53   
    #[derive(Debug, Clone)]
   36     54   
    pub(crate) struct DenseSetMapConstrained(
   37     55   
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::StringSet>,
   38     56   
    );
   39     57   
   40     58   
    impl crate::constrained::Constrained for DenseSetMapConstrained {
   41     59   
        type Unconstrained =
   42     60   
            crate::unconstrained::dense_set_map_unconstrained::DenseSetMapUnconstrained;
   43     61   
    }
          62  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
   44     63   
    impl ::std::convert::From<DenseSetMapConstrained>
   45     64   
        for ::std::collections::HashMap<
   46     65   
            ::std::string::String,
   47     66   
            ::std::vec::Vec<::std::string::String>,
   48     67   
        >
   49     68   
    {
          69  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
   50     70   
        fn from(v: DenseSetMapConstrained) -> Self {
          71  +
            /* PubCrateConstrainedMapGenerator.kt:130 */
   51     72   
            v.0.into_iter()
   52     73   
                .map(|(k, v)| {
   53         -
                    let v = { v.into() };
          74  +
                    /* PubCrateConstrainedMapGenerator.kt:135 */
          75  +
                    let v = {
          76  +
                        /* PubCrateConstrainedMapGenerator.kt:137 */
          77  +
                        v.into()
          78  +
                        /* PubCrateConstrainedMapGenerator.kt:135 */
          79  +
                    };
          80  +
                    /* PubCrateConstrainedMapGenerator.kt:141 */
   54     81   
                    (k, v)
          82  +
                    /* PubCrateConstrainedMapGenerator.kt:130 */
   55     83   
                })
   56     84   
                .collect()
          85  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
   57     86   
        }
          87  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
   58     88   
    }
          89  +
          90  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
   59     91   
}
   60     92   
pub(crate) mod foo_enum_list_constrained {
   61     93   
          94  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
   62     95   
    #[derive(Debug, Clone)]
   63     96   
    pub(crate) struct FooEnumListConstrained(pub(crate) std::vec::Vec<crate::model::FooEnum>);
   64     97   
   65     98   
    impl crate::constrained::Constrained for FooEnumListConstrained {
   66     99   
        type Unconstrained =
   67    100   
            crate::unconstrained::foo_enum_list_unconstrained::FooEnumListUnconstrained;
   68    101   
    }
         102  +
    /* PubCrateConstrainedCollectionGenerator.kt:140 */
   69    103   
    impl ::std::convert::From<FooEnumListConstrained> for ::std::vec::Vec<crate::model::FooEnum> {
         104  +
        /* PubCrateConstrainedCollectionGenerator.kt:141 */
   70    105   
        fn from(v: FooEnumListConstrained) -> Self {
         106  +
            /* PubCrateConstrainedCollectionGenerator.kt:149 */
   71    107   
            v.0
         108  +
            /* PubCrateConstrainedCollectionGenerator.kt:141 */
   72    109   
        }
         110  +
        /* PubCrateConstrainedCollectionGenerator.kt:140 */
   73    111   
    }
         112  +
         113  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
   74    114   
}
   75    115   
pub(crate) mod foo_enum_map_constrained {
   76    116   
         117  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
   77    118   
    #[derive(Debug, Clone)]
   78    119   
    pub(crate) struct FooEnumMapConstrained(
   79    120   
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::FooEnum>,
   80    121   
    );
   81    122   
   82    123   
    impl crate::constrained::Constrained for FooEnumMapConstrained {
   83    124   
        type Unconstrained =
   84    125   
            crate::unconstrained::foo_enum_map_unconstrained::FooEnumMapUnconstrained;
   85    126   
    }
         127  +
    /* PubCrateConstrainedMapGenerator.kt:127 */
   86    128   
    impl ::std::convert::From<FooEnumMapConstrained>
   87    129   
        for ::std::collections::HashMap<::std::string::String, crate::model::FooEnum>
   88    130   
    {
         131  +
        /* PubCrateConstrainedMapGenerator.kt:128 */
   89    132   
        fn from(v: FooEnumMapConstrained) -> Self {
         133  +
            /* PubCrateConstrainedMapGenerator.kt:144 */
   90    134   
            v.0
         135  +
            /* PubCrateConstrainedMapGenerator.kt:128 */
   91    136   
        }
         137  +
        /* PubCrateConstrainedMapGenerator.kt:127 */
   92    138   
    }
         139  +
         140  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
   93    141   
}
   94    142   
   95    143   
/*
   96    144   
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   97    145   
 * SPDX-License-Identifier: Apache-2.0
   98    146   
 */
   99    147   
  100    148   
pub(crate) trait Constrained {
  101    149   
    type Unconstrained;
  102    150   
}

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

@@ -1,1 +6999,13500 @@
    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 `OperationWithNestedStructure` operation.
           4  +
/* ServerOperationErrorGenerator.kt:64 */
    3      5   
/// Each variant represents an error that can occur for the `OperationWithNestedStructure` operation.
           6  +
/* RustType.kt:516 */
    4      7   
#[derive(::std::fmt::Debug)]
    5         -
pub enum OperationWithNestedStructureError {
    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 OperationWithNestedStructureError {
           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   
    InternalServerError(crate::error::InternalServerError),
          16  +
    /* ServerOperationErrorGenerator.kt:66 */
   10     17   
}
          18  +
/* ServerOperationErrorGenerator.kt:75 */
   11     19   
impl ::std::fmt::Display for OperationWithNestedStructureError {
          20  +
    /* ServerOperationErrorGenerator.kt:76 */
   12     21   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
          22  +
        /* ServerOperationErrorGenerator.kt:139 */
   13     23   
        match &self {
   14         -
            OperationWithNestedStructureError::ValidationException(_inner) => _inner.fmt(f),
   15         -
            OperationWithNestedStructureError::InternalServerError(_inner) => _inner.fmt(f),
          24  +
            /* ServerOperationErrorGenerator.kt:142 */
          25  +
            OperationWithNestedStructureError::ValidationException(_inner) =>
          26  +
            /* ServerOperationErrorGenerator.kt:78 */
          27  +
            {
          28  +
                _inner.fmt(f)
          29  +
            }
          30  +
            ,
          31  +
            /* ServerOperationErrorGenerator.kt:142 */
          32  +
            OperationWithNestedStructureError::InternalServerError(_inner) =>
          33  +
            /* ServerOperationErrorGenerator.kt:78 */
          34  +
            {
          35  +
                _inner.fmt(f)
          36  +
            }
          37  +
            /* ServerOperationErrorGenerator.kt:139 */
   16     38   
        }
          39  +
        /* ServerOperationErrorGenerator.kt:76 */
   17     40   
    }
          41  +
    /* ServerOperationErrorGenerator.kt:75 */
   18     42   
}
          43  +
/* ServerOperationErrorGenerator.kt:83 */
   19     44   
impl OperationWithNestedStructureError {
          45  +
    /* ServerOperationErrorGenerator.kt:87 */
   20     46   
    /// Returns `true` if the error kind is `OperationWithNestedStructureError::ValidationException`.
          47  +
    /* ServerOperationErrorGenerator.kt:88 */
   21     48   
    pub fn is_validation_exception(&self) -> bool {
          49  +
        /* ServerOperationErrorGenerator.kt:89 */
   22     50   
        matches!(
   23     51   
            &self,
   24     52   
            OperationWithNestedStructureError::ValidationException(_)
   25     53   
        )
          54  +
        /* ServerOperationErrorGenerator.kt:88 */
   26     55   
    }
          56  +
    /* ServerOperationErrorGenerator.kt:87 */
   27     57   
    /// Returns `true` if the error kind is `OperationWithNestedStructureError::InternalServerError`.
          58  +
    /* ServerOperationErrorGenerator.kt:88 */
   28     59   
    pub fn is_internal_server_error(&self) -> bool {
          60  +
        /* ServerOperationErrorGenerator.kt:89 */
   29     61   
        matches!(
   30     62   
            &self,
   31     63   
            OperationWithNestedStructureError::InternalServerError(_)
   32     64   
        )
          65  +
        /* ServerOperationErrorGenerator.kt:88 */
   33     66   
    }
          67  +
    /* ServerOperationErrorGenerator.kt:92 */
   34     68   
    /// Returns the error name string by matching the correct variant.
          69  +
    /* ServerOperationErrorGenerator.kt:93 */
   35     70   
    pub fn name(&self) -> &'static str {
          71  +
        /* ServerOperationErrorGenerator.kt:139 */
   36     72   
        match &self {
   37         -
            OperationWithNestedStructureError::ValidationException(_inner) => _inner.name(),
   38         -
            OperationWithNestedStructureError::InternalServerError(_inner) => _inner.name(),
          73  +
            /* ServerOperationErrorGenerator.kt:142 */
          74  +
            OperationWithNestedStructureError::ValidationException(_inner) =>
          75  +
            /* ServerOperationErrorGenerator.kt:95 */
          76  +
            {
          77  +
                _inner.name()
          78  +
            }
          79  +
            ,
          80  +
            /* ServerOperationErrorGenerator.kt:142 */
          81  +
            OperationWithNestedStructureError::InternalServerError(_inner) =>
          82  +
            /* ServerOperationErrorGenerator.kt:95 */
          83  +
            {
          84  +
                _inner.name()
          85  +
            }
          86  +
            /* ServerOperationErrorGenerator.kt:139 */
   39     87   
        }
          88  +
        /* ServerOperationErrorGenerator.kt:93 */
   40     89   
    }
          90  +
    /* ServerOperationErrorGenerator.kt:83 */
   41     91   
}
          92  +
/* ServerOperationErrorGenerator.kt:100 */
   42     93   
impl ::std::error::Error for OperationWithNestedStructureError {
          94  +
    /* ServerOperationErrorGenerator.kt:101 */
   43     95   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
          96  +
        /* ServerOperationErrorGenerator.kt:139 */
   44     97   
        match &self {
   45         -
            OperationWithNestedStructureError::ValidationException(_inner) => Some(_inner),
   46         -
            OperationWithNestedStructureError::InternalServerError(_inner) => Some(_inner),
          98  +
            /* ServerOperationErrorGenerator.kt:142 */
          99  +
            OperationWithNestedStructureError::ValidationException(_inner) =>
         100  +
            /* ServerOperationErrorGenerator.kt:103 */
         101  +
            {
         102  +
                Some(_inner)
         103  +
            }
         104  +
            ,
         105  +
            /* ServerOperationErrorGenerator.kt:142 */
         106  +
            OperationWithNestedStructureError::InternalServerError(_inner) =>
         107  +
            /* ServerOperationErrorGenerator.kt:103 */
         108  +
            {
         109  +
                Some(_inner)
         110  +
            }
         111  +
            /* ServerOperationErrorGenerator.kt:139 */
   47    112   
        }
         113  +
        /* ServerOperationErrorGenerator.kt:101 */
   48    114   
    }
         115  +
    /* ServerOperationErrorGenerator.kt:100 */
   49    116   
}
         117  +
/* ServerOperationErrorGenerator.kt:110 */
   50    118   
impl ::std::convert::From<crate::error::ValidationException>
   51    119   
    for crate::error::OperationWithNestedStructureError
   52    120   
{
         121  +
    /* ServerOperationErrorGenerator.kt:111 */
   53    122   
    fn from(
   54    123   
        variant: crate::error::ValidationException,
   55    124   
    ) -> crate::error::OperationWithNestedStructureError {
         125  +
        /* ServerOperationErrorGenerator.kt:112 */
   56    126   
        Self::ValidationException(variant)
         127  +
        /* ServerOperationErrorGenerator.kt:111 */
   57    128   
    }
         129  +
    /* ServerOperationErrorGenerator.kt:110 */
   58    130   
}
         131  +
/* ServerOperationErrorGenerator.kt:110 */
   59    132   
impl ::std::convert::From<crate::error::InternalServerError>
   60    133   
    for crate::error::OperationWithNestedStructureError
   61    134   
{
         135  +
    /* ServerOperationErrorGenerator.kt:111 */
   62    136   
    fn from(
   63    137   
        variant: crate::error::InternalServerError,
   64    138   
    ) -> crate::error::OperationWithNestedStructureError {
         139  +
        /* ServerOperationErrorGenerator.kt:112 */
   65    140   
        Self::InternalServerError(variant)
         141  +
        /* ServerOperationErrorGenerator.kt:111 */
   66    142   
    }
         143  +
    /* ServerOperationErrorGenerator.kt:110 */
   67    144   
}
   68    145   
         146  +
/* PythonServerOperationErrorGenerator.kt:38 */
   69    147   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::OperationWithNestedStructureError {
   70    148   
    fn from(variant: ::pyo3::PyErr) -> crate::error::OperationWithNestedStructureError {
   71    149   
        ::pyo3::Python::with_gil(|py| {
   72    150   
            let error = variant.value(py);
   73    151   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
   74    152   
                return error.into();
   75    153   
            }
   76    154   
            crate::error::InternalServerError {
   77    155   
                message: error.to_string(),
   78    156   
            }
   79    157   
            .into()
   80    158   
        })
   81    159   
    }
   82    160   
}
   83    161   
         162  +
/* RustType.kt:516 */
   84    163   
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
         164  +
/* PythonServerStructureGenerator.kt:63 */
   85    165   
/// :param message str:
   86    166   
/// :rtype None:
         167  +
/* StructureGenerator.kt:197 */
   87    168   
#[allow(missing_docs)] // documentation missing in model
         169  +
/* RustType.kt:516 */
   88    170   
#[derive(
   89    171   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
   90    172   
)]
   91         -
pub struct InternalServerError {
         173  +
pub /* StructureGenerator.kt:201 */ struct InternalServerError {
         174  +
    /* RustType.kt:516 */
   92    175   
    #[pyo3(get, set)]
         176  +
    /* PythonServerStructureGenerator.kt:80 */
   93    177   
    /// :type str:
         178  +
    /* StructureGenerator.kt:231 */
   94    179   
    #[allow(missing_docs)] // documentation missing in model
   95    180   
    pub message: ::std::string::String,
         181  +
    /* StructureGenerator.kt:201 */
   96    182   
}
         183  +
/* RustType.kt:516 */
   97    184   
#[allow(clippy::new_without_default)]
         185  +
/* RustType.kt:516 */
   98    186   
#[allow(clippy::too_many_arguments)]
         187  +
/* RustType.kt:516 */
   99    188   
#[::pyo3::pymethods]
         189  +
/* PythonServerStructureGenerator.kt:88 */
  100    190   
impl InternalServerError {
  101    191   
    #[new]
  102    192   
    pub fn new(message: ::std::string::String) -> Self {
  103    193   
        Self { message }
  104    194   
    }
  105    195   
    fn __repr__(&self) -> String {
  106    196   
        format!("{self:?}")
  107    197   
    }
  108    198   
    fn __str__(&self) -> String {
  109    199   
        format!("{self:?}")
  110    200   
    }
  111    201   
}
         202  +
/* ErrorImplGenerator.kt:99 */
  112    203   
impl InternalServerError {
         204  +
    /* ErrorImplGenerator.kt:128 */
  113    205   
    /// Returns the error message.
  114    206   
    pub fn message(&self) -> &str {
  115    207   
        &self.message
  116    208   
    }
         209  +
    /* ErrorImplGenerator.kt:141 */
  117    210   
    #[doc(hidden)]
  118    211   
    /// Returns the error name.
  119    212   
    pub fn name(&self) -> &'static str {
  120    213   
        "InternalServerError"
  121    214   
    }
         215  +
    /* ErrorImplGenerator.kt:99 */
  122    216   
}
         217  +
/* ErrorImplGenerator.kt:153 */
  123    218   
impl ::std::fmt::Display for InternalServerError {
         219  +
    /* ErrorImplGenerator.kt:154 */
  124    220   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         221  +
        /* ErrorImplGenerator.kt:161 */
  125    222   
        ::std::write!(f, "InternalServerError")?;
         223  +
        /* ErrorImplGenerator.kt:166 */
  126    224   
        {
         225  +
            /* ErrorImplGenerator.kt:167 */
  127    226   
            ::std::write!(f, ": {}", &self.message)?;
         227  +
            /* ErrorImplGenerator.kt:166 */
  128    228   
        }
         229  +
        /* ErrorImplGenerator.kt:171 */
  129    230   
        Ok(())
         231  +
        /* ErrorImplGenerator.kt:154 */
  130    232   
    }
         233  +
    /* ErrorImplGenerator.kt:153 */
  131    234   
}
         235  +
/* ErrorImplGenerator.kt:175 */
  132    236   
impl ::std::error::Error for InternalServerError {}
         237  +
/* ServerCodegenVisitor.kt:370 */
  133    238   
impl InternalServerError {
  134         -
    /// Creates a new builder-style object to manufacture [`InternalServerError`](crate::error::InternalServerError).
         239  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`InternalServerError`](crate::error::InternalServerError).
         240  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  135    241   
    pub fn builder() -> crate::error::internal_server_error::Builder {
         242  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
  136    243   
        crate::error::internal_server_error::Builder::default()
         244  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  137    245   
    }
         246  +
    /* ServerCodegenVisitor.kt:370 */
  138    247   
}
  139    248   
         249  +
/* RustType.kt:516 */
  140    250   
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
         251  +
/* PythonServerStructureGenerator.kt:63 */
  141    252   
/// :param message str:
  142    253   
/// :param field_list typing.Optional\[typing.List\[rest_json.model.ValidationExceptionField\]\]:
  143    254   
/// :rtype None:
  144         -
/// 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.
         255  +
/// /* 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.
         256  +
/* RustType.kt:516 */
  145    257   
#[derive(
  146    258   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  147    259   
)]
  148         -
pub struct ValidationException {
         260  +
pub /* StructureGenerator.kt:201 */ struct ValidationException {
         261  +
    /* RustType.kt:516 */
  149    262   
    #[pyo3(get, set)]
         263  +
    /* PythonServerStructureGenerator.kt:80 */
  150    264   
    /// :type str:
  151         -
    /// A summary of the validation failure.
         265  +
    /// /* StructureGenerator.kt:231 */A summary of the validation failure.
  152    266   
    pub message: ::std::string::String,
         267  +
    /* RustType.kt:516 */
  153    268   
    #[pyo3(get, set)]
         269  +
    /* PythonServerStructureGenerator.kt:80 */
  154    270   
    /// :type typing.Optional\[typing.List\[rest_json.model.ValidationExceptionField\]\]:
  155         -
    /// 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.
         271  +
    /// /* 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.
  156    272   
    pub field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
         273  +
    /* StructureGenerator.kt:201 */
  157    274   
}
         275  +
/* StructureGenerator.kt:135 */
  158    276   
impl ValidationException {
  159         -
    /// 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.
         277  +
    /// /* 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.
         278  +
    /* StructureGenerator.kt:166 */
  160    279   
    pub fn field_list(&self) -> ::std::option::Option<&[crate::model::ValidationExceptionField]> {
         280  +
        /* StructureGenerator.kt:169 */
  161    281   
        self.field_list.as_deref()
         282  +
        /* StructureGenerator.kt:166 */
  162    283   
    }
         284  +
    /* StructureGenerator.kt:135 */
  163    285   
}
         286  +
/* RustType.kt:516 */
  164    287   
#[allow(clippy::new_without_default)]
         288  +
/* RustType.kt:516 */
  165    289   
#[allow(clippy::too_many_arguments)]
         290  +
/* RustType.kt:516 */
  166    291   
#[::pyo3::pymethods]
         292  +
/* PythonServerStructureGenerator.kt:88 */
  167    293   
impl ValidationException {
  168    294   
    #[new]
  169    295   
    pub fn new(
  170    296   
        message: ::std::string::String,
  171    297   
        field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
  172    298   
    ) -> Self {
  173    299   
        Self {
  174    300   
            message,
  175    301   
            field_list,
  176    302   
        }
  177    303   
    }
  178    304   
    fn __repr__(&self) -> String {
  179    305   
        format!("{self:?}")
  180    306   
    }
  181    307   
    fn __str__(&self) -> String {
  182    308   
        format!("{self:?}")
  183    309   
    }
  184    310   
}
         311  +
/* ErrorImplGenerator.kt:99 */
  185    312   
impl ValidationException {
         313  +
    /* ErrorImplGenerator.kt:128 */
  186    314   
    /// Returns the error message.
  187    315   
    pub fn message(&self) -> &str {
  188    316   
        &self.message
  189    317   
    }
         318  +
    /* ErrorImplGenerator.kt:141 */
  190    319   
    #[doc(hidden)]
  191    320   
    /// Returns the error name.
  192    321   
    pub fn name(&self) -> &'static str {
  193    322   
        "ValidationException"
  194    323   
    }
         324  +
    /* ErrorImplGenerator.kt:99 */
  195    325   
}
         326  +
/* ErrorImplGenerator.kt:153 */
  196    327   
impl ::std::fmt::Display for ValidationException {
         328  +
    /* ErrorImplGenerator.kt:154 */
  197    329   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         330  +
        /* ErrorImplGenerator.kt:161 */
  198    331   
        ::std::write!(f, "ValidationException")?;
         332  +
        /* ErrorImplGenerator.kt:166 */
  199    333   
        {
         334  +
            /* ErrorImplGenerator.kt:167 */
  200    335   
            ::std::write!(f, ": {}", &self.message)?;
         336  +
            /* ErrorImplGenerator.kt:166 */
  201    337   
        }
         338  +
        /* ErrorImplGenerator.kt:171 */
  202    339   
        Ok(())
         340  +
        /* ErrorImplGenerator.kt:154 */
  203    341   
    }
         342  +
    /* ErrorImplGenerator.kt:153 */
  204    343   
}
         344  +
/* ErrorImplGenerator.kt:175 */
  205    345   
impl ::std::error::Error for ValidationException {}
         346  +
/* ServerCodegenVisitor.kt:370 */
  206    347   
impl ValidationException {
  207         -
    /// Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
         348  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
         349  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  208    350   
    pub fn builder() -> crate::error::validation_exception::Builder {
         351  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
  209    352   
        crate::error::validation_exception::Builder::default()
         353  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  210    354   
    }
         355  +
    /* ServerCodegenVisitor.kt:370 */
  211    356   
}
  212    357   
         358  +
/* ServerOperationErrorGenerator.kt:63 */
  213    359   
/// Error type for the `OperationWithDefaults` operation.
         360  +
/* ServerOperationErrorGenerator.kt:64 */
  214    361   
/// Each variant represents an error that can occur for the `OperationWithDefaults` operation.
         362  +
/* RustType.kt:516 */
  215    363   
#[derive(::std::fmt::Debug)]
  216         -
pub enum OperationWithDefaultsError {
  217         -
    /// 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.
         364  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum OperationWithDefaultsError {
         365  +
    /// /* 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.
         366  +
    /* ServerOperationErrorGenerator.kt:71 */
  218    367   
    ValidationException(crate::error::ValidationException),
         368  +
    /* ServerOperationErrorGenerator.kt:68 */
  219    369   
    #[allow(missing_docs)] // documentation missing in model
         370  +
    /* ServerOperationErrorGenerator.kt:71 */
  220    371   
    InternalServerError(crate::error::InternalServerError),
         372  +
    /* ServerOperationErrorGenerator.kt:66 */
  221    373   
}
         374  +
/* ServerOperationErrorGenerator.kt:75 */
  222    375   
impl ::std::fmt::Display for OperationWithDefaultsError {
         376  +
    /* ServerOperationErrorGenerator.kt:76 */
  223    377   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         378  +
        /* ServerOperationErrorGenerator.kt:139 */
  224    379   
        match &self {
  225         -
            OperationWithDefaultsError::ValidationException(_inner) => _inner.fmt(f),
  226         -
            OperationWithDefaultsError::InternalServerError(_inner) => _inner.fmt(f),
         380  +
            /* ServerOperationErrorGenerator.kt:142 */
         381  +
            OperationWithDefaultsError::ValidationException(_inner) =>
         382  +
            /* ServerOperationErrorGenerator.kt:78 */
         383  +
            {
         384  +
                _inner.fmt(f)
         385  +
            }
         386  +
            ,
         387  +
            /* ServerOperationErrorGenerator.kt:142 */
         388  +
            OperationWithDefaultsError::InternalServerError(_inner) =>
         389  +
            /* ServerOperationErrorGenerator.kt:78 */
         390  +
            {
         391  +
                _inner.fmt(f)
         392  +
            }
         393  +
            /* ServerOperationErrorGenerator.kt:139 */
  227    394   
        }
         395  +
        /* ServerOperationErrorGenerator.kt:76 */
  228    396   
    }
         397  +
    /* ServerOperationErrorGenerator.kt:75 */
  229    398   
}
         399  +
/* ServerOperationErrorGenerator.kt:83 */
  230    400   
impl OperationWithDefaultsError {
         401  +
    /* ServerOperationErrorGenerator.kt:87 */
  231    402   
    /// Returns `true` if the error kind is `OperationWithDefaultsError::ValidationException`.
         403  +
    /* ServerOperationErrorGenerator.kt:88 */
  232    404   
    pub fn is_validation_exception(&self) -> bool {
         405  +
        /* ServerOperationErrorGenerator.kt:89 */
  233    406   
        matches!(&self, OperationWithDefaultsError::ValidationException(_))
         407  +
        /* ServerOperationErrorGenerator.kt:88 */
  234    408   
    }
         409  +
    /* ServerOperationErrorGenerator.kt:87 */
  235    410   
    /// Returns `true` if the error kind is `OperationWithDefaultsError::InternalServerError`.
         411  +
    /* ServerOperationErrorGenerator.kt:88 */
  236    412   
    pub fn is_internal_server_error(&self) -> bool {
         413  +
        /* ServerOperationErrorGenerator.kt:89 */
  237    414   
        matches!(&self, OperationWithDefaultsError::InternalServerError(_))
         415  +
        /* ServerOperationErrorGenerator.kt:88 */
  238    416   
    }
         417  +
    /* ServerOperationErrorGenerator.kt:92 */
  239    418   
    /// Returns the error name string by matching the correct variant.
         419  +
    /* ServerOperationErrorGenerator.kt:93 */
  240    420   
    pub fn name(&self) -> &'static str {
         421  +
        /* ServerOperationErrorGenerator.kt:139 */
  241    422   
        match &self {
  242         -
            OperationWithDefaultsError::ValidationException(_inner) => _inner.name(),
  243         -
            OperationWithDefaultsError::InternalServerError(_inner) => _inner.name(),
         423  +
            /* ServerOperationErrorGenerator.kt:142 */
         424  +
            OperationWithDefaultsError::ValidationException(_inner) =>
         425  +
            /* ServerOperationErrorGenerator.kt:95 */
         426  +
            {
         427  +
                _inner.name()
         428  +
            }
         429  +
            ,
         430  +
            /* ServerOperationErrorGenerator.kt:142 */
         431  +
            OperationWithDefaultsError::InternalServerError(_inner) =>
         432  +
            /* ServerOperationErrorGenerator.kt:95 */
         433  +
            {
         434  +
                _inner.name()
         435  +
            }
         436  +
            /* ServerOperationErrorGenerator.kt:139 */
  244    437   
        }
         438  +
        /* ServerOperationErrorGenerator.kt:93 */
  245    439   
    }
         440  +
    /* ServerOperationErrorGenerator.kt:83 */
  246    441   
}
         442  +
/* ServerOperationErrorGenerator.kt:100 */
  247    443   
impl ::std::error::Error for OperationWithDefaultsError {
         444  +
    /* ServerOperationErrorGenerator.kt:101 */
  248    445   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         446  +
        /* ServerOperationErrorGenerator.kt:139 */
  249    447   
        match &self {
  250         -
            OperationWithDefaultsError::ValidationException(_inner) => Some(_inner),
  251         -
            OperationWithDefaultsError::InternalServerError(_inner) => Some(_inner),
         448  +
            /* ServerOperationErrorGenerator.kt:142 */
         449  +
            OperationWithDefaultsError::ValidationException(_inner) =>
         450  +
            /* ServerOperationErrorGenerator.kt:103 */
         451  +
            {
         452  +
                Some(_inner)
         453  +
            }
         454  +
            ,
         455  +
            /* ServerOperationErrorGenerator.kt:142 */
         456  +
            OperationWithDefaultsError::InternalServerError(_inner) =>
         457  +
            /* ServerOperationErrorGenerator.kt:103 */
         458  +
            {
         459  +
                Some(_inner)
         460  +
            }
         461  +
            /* ServerOperationErrorGenerator.kt:139 */
  252    462   
        }
         463  +
        /* ServerOperationErrorGenerator.kt:101 */
  253    464   
    }
         465  +
    /* ServerOperationErrorGenerator.kt:100 */
  254    466   
}
         467  +
/* ServerOperationErrorGenerator.kt:110 */
  255    468   
impl ::std::convert::From<crate::error::ValidationException>
  256    469   
    for crate::error::OperationWithDefaultsError
  257    470   
{
         471  +
    /* ServerOperationErrorGenerator.kt:111 */
  258    472   
    fn from(
  259    473   
        variant: crate::error::ValidationException,
  260    474   
    ) -> crate::error::OperationWithDefaultsError {
         475  +
        /* ServerOperationErrorGenerator.kt:112 */
  261    476   
        Self::ValidationException(variant)
         477  +
        /* ServerOperationErrorGenerator.kt:111 */
  262    478   
    }
         479  +
    /* ServerOperationErrorGenerator.kt:110 */
  263    480   
}
         481  +
/* ServerOperationErrorGenerator.kt:110 */
  264    482   
impl ::std::convert::From<crate::error::InternalServerError>
  265    483   
    for crate::error::OperationWithDefaultsError
  266    484   
{
         485  +
    /* ServerOperationErrorGenerator.kt:111 */
  267    486   
    fn from(
  268    487   
        variant: crate::error::InternalServerError,
  269    488   
    ) -> crate::error::OperationWithDefaultsError {
         489  +
        /* ServerOperationErrorGenerator.kt:112 */
  270    490   
        Self::InternalServerError(variant)
         491  +
        /* ServerOperationErrorGenerator.kt:111 */
  271    492   
    }
         493  +
    /* ServerOperationErrorGenerator.kt:110 */
  272    494   
}
  273    495   
         496  +
/* PythonServerOperationErrorGenerator.kt:38 */
  274    497   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::OperationWithDefaultsError {
  275    498   
    fn from(variant: ::pyo3::PyErr) -> crate::error::OperationWithDefaultsError {
  276    499   
        ::pyo3::Python::with_gil(|py| {
  277    500   
            let error = variant.value(py);
  278    501   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
  279    502   
                return error.into();
  280    503   
            }
  281    504   
            crate::error::InternalServerError {
  282    505   
                message: error.to_string(),
  283    506   
            }
  284    507   
            .into()
  285    508   
        })
  286    509   
    }
  287    510   
}
  288    511   
         512  +
/* ServerOperationErrorGenerator.kt:63 */
  289    513   
/// Error type for the `ContentTypeParameters` operation.
         514  +
/* ServerOperationErrorGenerator.kt:64 */
  290    515   
/// Each variant represents an error that can occur for the `ContentTypeParameters` operation.
         516  +
/* RustType.kt:516 */
  291    517   
#[derive(::std::fmt::Debug)]
  292         -
pub enum ContentTypeParametersError {
         518  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ContentTypeParametersError {
         519  +
    /* ServerOperationErrorGenerator.kt:68 */
  293    520   
    #[allow(missing_docs)] // documentation missing in model
         521  +
    /* ServerOperationErrorGenerator.kt:71 */
  294    522   
    InternalServerError(crate::error::InternalServerError),
         523  +
    /* ServerOperationErrorGenerator.kt:66 */
  295    524   
}
         525  +
/* ServerOperationErrorGenerator.kt:75 */
  296    526   
impl ::std::fmt::Display for ContentTypeParametersError {
         527  +
    /* ServerOperationErrorGenerator.kt:76 */
  297    528   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         529  +
        /* ServerOperationErrorGenerator.kt:139 */
  298    530   
        match &self {
  299         -
            ContentTypeParametersError::InternalServerError(_inner) => _inner.fmt(f),
         531  +
            /* ServerOperationErrorGenerator.kt:142 */
         532  +
            ContentTypeParametersError::InternalServerError(_inner) =>
         533  +
            /* ServerOperationErrorGenerator.kt:78 */
         534  +
            {
         535  +
                _inner.fmt(f)
         536  +
            }
         537  +
            /* ServerOperationErrorGenerator.kt:139 */
  300    538   
        }
         539  +
        /* ServerOperationErrorGenerator.kt:76 */
  301    540   
    }
         541  +
    /* ServerOperationErrorGenerator.kt:75 */
  302    542   
}
         543  +
/* ServerOperationErrorGenerator.kt:83 */
  303    544   
impl ContentTypeParametersError {
         545  +
    /* ServerOperationErrorGenerator.kt:87 */
  304    546   
    /// Returns `true` if the error kind is `ContentTypeParametersError::InternalServerError`.
         547  +
    /* ServerOperationErrorGenerator.kt:88 */
  305    548   
    pub fn is_internal_server_error(&self) -> bool {
         549  +
        /* ServerOperationErrorGenerator.kt:89 */
  306    550   
        matches!(&self, ContentTypeParametersError::InternalServerError(_))
         551  +
        /* ServerOperationErrorGenerator.kt:88 */
  307    552   
    }
         553  +
    /* ServerOperationErrorGenerator.kt:92 */
  308    554   
    /// Returns the error name string by matching the correct variant.
         555  +
    /* ServerOperationErrorGenerator.kt:93 */
  309    556   
    pub fn name(&self) -> &'static str {
         557  +
        /* ServerOperationErrorGenerator.kt:139 */
  310    558   
        match &self {
  311         -
            ContentTypeParametersError::InternalServerError(_inner) => _inner.name(),
         559  +
            /* ServerOperationErrorGenerator.kt:142 */
         560  +
            ContentTypeParametersError::InternalServerError(_inner) =>
         561  +
            /* ServerOperationErrorGenerator.kt:95 */
         562  +
            {
         563  +
                _inner.name()
         564  +
            }
         565  +
            /* ServerOperationErrorGenerator.kt:139 */
  312    566   
        }
         567  +
        /* ServerOperationErrorGenerator.kt:93 */
  313    568   
    }
         569  +
    /* ServerOperationErrorGenerator.kt:83 */
  314    570   
}
         571  +
/* ServerOperationErrorGenerator.kt:100 */
  315    572   
impl ::std::error::Error for ContentTypeParametersError {
         573  +
    /* ServerOperationErrorGenerator.kt:101 */
  316    574   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         575  +
        /* ServerOperationErrorGenerator.kt:139 */
  317    576   
        match &self {
  318         -
            ContentTypeParametersError::InternalServerError(_inner) => Some(_inner),
         577  +
            /* ServerOperationErrorGenerator.kt:142 */
         578  +
            ContentTypeParametersError::InternalServerError(_inner) =>
         579  +
            /* ServerOperationErrorGenerator.kt:103 */
         580  +
            {
         581  +
                Some(_inner)
         582  +
            }
         583  +
            /* ServerOperationErrorGenerator.kt:139 */
  319    584   
        }
         585  +
        /* ServerOperationErrorGenerator.kt:101 */
  320    586   
    }
         587  +
    /* ServerOperationErrorGenerator.kt:100 */
  321    588   
}
         589  +
/* ServerOperationErrorGenerator.kt:110 */
  322    590   
impl ::std::convert::From<crate::error::InternalServerError>
  323    591   
    for crate::error::ContentTypeParametersError
  324    592   
{
         593  +
    /* ServerOperationErrorGenerator.kt:111 */
  325    594   
    fn from(
  326    595   
        variant: crate::error::InternalServerError,
  327    596   
    ) -> crate::error::ContentTypeParametersError {
         597  +
        /* ServerOperationErrorGenerator.kt:112 */
  328    598   
        Self::InternalServerError(variant)
         599  +
        /* ServerOperationErrorGenerator.kt:111 */
  329    600   
    }
         601  +
    /* ServerOperationErrorGenerator.kt:110 */
  330    602   
}
  331    603   
         604  +
/* PythonServerOperationErrorGenerator.kt:38 */
  332    605   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::ContentTypeParametersError {
  333    606   
    fn from(variant: ::pyo3::PyErr) -> crate::error::ContentTypeParametersError {
  334    607   
        ::pyo3::Python::with_gil(|py| {
  335    608   
            let error = variant.value(py);
  336    609   
  337    610   
            crate::error::InternalServerError {
  338    611   
                message: error.to_string(),
  339    612   
            }
  340    613   
            .into()
  341    614   
        })
  342    615   
    }
  343    616   
}
  344    617   
         618  +
/* ServerOperationErrorGenerator.kt:63 */
  345    619   
/// Error type for the `PutWithContentEncoding` operation.
         620  +
/* ServerOperationErrorGenerator.kt:64 */
  346    621   
/// Each variant represents an error that can occur for the `PutWithContentEncoding` operation.
         622  +
/* RustType.kt:516 */
  347    623   
#[derive(::std::fmt::Debug)]
  348         -
pub enum PutWithContentEncodingError {
         624  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum PutWithContentEncodingError {
         625  +
    /* ServerOperationErrorGenerator.kt:68 */
  349    626   
    #[allow(missing_docs)] // documentation missing in model
         627  +
    /* ServerOperationErrorGenerator.kt:71 */
  350    628   
    InternalServerError(crate::error::InternalServerError),
         629  +
    /* ServerOperationErrorGenerator.kt:66 */
  351    630   
}
         631  +
/* ServerOperationErrorGenerator.kt:75 */
  352    632   
impl ::std::fmt::Display for PutWithContentEncodingError {
         633  +
    /* ServerOperationErrorGenerator.kt:76 */
  353    634   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         635  +
        /* ServerOperationErrorGenerator.kt:139 */
  354    636   
        match &self {
  355         -
            PutWithContentEncodingError::InternalServerError(_inner) => _inner.fmt(f),
         637  +
            /* ServerOperationErrorGenerator.kt:142 */
         638  +
            PutWithContentEncodingError::InternalServerError(_inner) =>
         639  +
            /* ServerOperationErrorGenerator.kt:78 */
         640  +
            {
         641  +
                _inner.fmt(f)
         642  +
            }
         643  +
            /* ServerOperationErrorGenerator.kt:139 */
  356    644   
        }
         645  +
        /* ServerOperationErrorGenerator.kt:76 */
  357    646   
    }
         647  +
    /* ServerOperationErrorGenerator.kt:75 */
  358    648   
}
         649  +
/* ServerOperationErrorGenerator.kt:83 */
  359    650   
impl PutWithContentEncodingError {
         651  +
    /* ServerOperationErrorGenerator.kt:87 */
  360    652   
    /// Returns `true` if the error kind is `PutWithContentEncodingError::InternalServerError`.
         653  +
    /* ServerOperationErrorGenerator.kt:88 */
  361    654   
    pub fn is_internal_server_error(&self) -> bool {
         655  +
        /* ServerOperationErrorGenerator.kt:89 */
  362    656   
        matches!(&self, PutWithContentEncodingError::InternalServerError(_))
         657  +
        /* ServerOperationErrorGenerator.kt:88 */
  363    658   
    }
         659  +
    /* ServerOperationErrorGenerator.kt:92 */
  364    660   
    /// Returns the error name string by matching the correct variant.
         661  +
    /* ServerOperationErrorGenerator.kt:93 */
  365    662   
    pub fn name(&self) -> &'static str {
         663  +
        /* ServerOperationErrorGenerator.kt:139 */
  366    664   
        match &self {
  367         -
            PutWithContentEncodingError::InternalServerError(_inner) => _inner.name(),
         665  +
            /* ServerOperationErrorGenerator.kt:142 */
         666  +
            PutWithContentEncodingError::InternalServerError(_inner) =>
         667  +
            /* ServerOperationErrorGenerator.kt:95 */
         668  +
            {
         669  +
                _inner.name()
         670  +
            }
         671  +
            /* ServerOperationErrorGenerator.kt:139 */
  368    672   
        }
         673  +
        /* ServerOperationErrorGenerator.kt:93 */
  369    674   
    }
         675  +
    /* ServerOperationErrorGenerator.kt:83 */
  370    676   
}
         677  +
/* ServerOperationErrorGenerator.kt:100 */
  371    678   
impl ::std::error::Error for PutWithContentEncodingError {
         679  +
    /* ServerOperationErrorGenerator.kt:101 */
  372    680   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         681  +
        /* ServerOperationErrorGenerator.kt:139 */
  373    682   
        match &self {
  374         -
            PutWithContentEncodingError::InternalServerError(_inner) => Some(_inner),
         683  +
            /* ServerOperationErrorGenerator.kt:142 */
         684  +
            PutWithContentEncodingError::InternalServerError(_inner) =>
         685  +
            /* ServerOperationErrorGenerator.kt:103 */
         686  +
            {
         687  +
                Some(_inner)
         688  +
            }
         689  +
            /* ServerOperationErrorGenerator.kt:139 */
  375    690   
        }
         691  +
        /* ServerOperationErrorGenerator.kt:101 */
  376    692   
    }
         693  +
    /* ServerOperationErrorGenerator.kt:100 */
  377    694   
}
         695  +
/* ServerOperationErrorGenerator.kt:110 */
  378    696   
impl ::std::convert::From<crate::error::InternalServerError>
  379    697   
    for crate::error::PutWithContentEncodingError
  380    698   
{
         699  +
    /* ServerOperationErrorGenerator.kt:111 */
  381    700   
    fn from(
  382    701   
        variant: crate::error::InternalServerError,
  383    702   
    ) -> crate::error::PutWithContentEncodingError {
         703  +
        /* ServerOperationErrorGenerator.kt:112 */
  384    704   
        Self::InternalServerError(variant)
         705  +
        /* ServerOperationErrorGenerator.kt:111 */
  385    706   
    }
         707  +
    /* ServerOperationErrorGenerator.kt:110 */
  386    708   
}
  387    709   
         710  +
/* PythonServerOperationErrorGenerator.kt:38 */
  388    711   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::PutWithContentEncodingError {
  389    712   
    fn from(variant: ::pyo3::PyErr) -> crate::error::PutWithContentEncodingError {
  390    713   
        ::pyo3::Python::with_gil(|py| {
  391    714   
            let error = variant.value(py);
  392    715   
  393    716   
            crate::error::InternalServerError {
  394    717   
                message: error.to_string(),
  395    718   
            }
  396    719   
            .into()
  397    720   
        })
  398    721   
    }
  399    722   
}
  400    723   
         724  +
/* ServerOperationErrorGenerator.kt:63 */
  401    725   
/// Error type for the `FractionalSeconds` operation.
         726  +
/* ServerOperationErrorGenerator.kt:64 */
  402    727   
/// Each variant represents an error that can occur for the `FractionalSeconds` operation.
         728  +
/* RustType.kt:516 */
  403    729   
#[derive(::std::fmt::Debug)]
  404         -
pub enum FractionalSecondsError {
         730  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum FractionalSecondsError {
         731  +
    /* ServerOperationErrorGenerator.kt:68 */
  405    732   
    #[allow(missing_docs)] // documentation missing in model
         733  +
    /* ServerOperationErrorGenerator.kt:71 */
  406    734   
    InternalServerError(crate::error::InternalServerError),
         735  +
    /* ServerOperationErrorGenerator.kt:66 */
  407    736   
}
         737  +
/* ServerOperationErrorGenerator.kt:75 */
  408    738   
impl ::std::fmt::Display for FractionalSecondsError {
         739  +
    /* ServerOperationErrorGenerator.kt:76 */
  409    740   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         741  +
        /* ServerOperationErrorGenerator.kt:139 */
  410    742   
        match &self {
  411         -
            FractionalSecondsError::InternalServerError(_inner) => _inner.fmt(f),
         743  +
            /* ServerOperationErrorGenerator.kt:142 */
         744  +
            FractionalSecondsError::InternalServerError(_inner) =>
         745  +
            /* ServerOperationErrorGenerator.kt:78 */
         746  +
            {
         747  +
                _inner.fmt(f)
         748  +
            }
         749  +
            /* ServerOperationErrorGenerator.kt:139 */
  412    750   
        }
         751  +
        /* ServerOperationErrorGenerator.kt:76 */
  413    752   
    }
         753  +
    /* ServerOperationErrorGenerator.kt:75 */
  414    754   
}
         755  +
/* ServerOperationErrorGenerator.kt:83 */
  415    756   
impl FractionalSecondsError {
         757  +
    /* ServerOperationErrorGenerator.kt:87 */
  416    758   
    /// Returns `true` if the error kind is `FractionalSecondsError::InternalServerError`.
         759  +
    /* ServerOperationErrorGenerator.kt:88 */
  417    760   
    pub fn is_internal_server_error(&self) -> bool {
         761  +
        /* ServerOperationErrorGenerator.kt:89 */
  418    762   
        matches!(&self, FractionalSecondsError::InternalServerError(_))
         763  +
        /* ServerOperationErrorGenerator.kt:88 */
  419    764   
    }
         765  +
    /* ServerOperationErrorGenerator.kt:92 */
  420    766   
    /// Returns the error name string by matching the correct variant.
         767  +
    /* ServerOperationErrorGenerator.kt:93 */
  421    768   
    pub fn name(&self) -> &'static str {
         769  +
        /* ServerOperationErrorGenerator.kt:139 */
  422    770   
        match &self {
  423         -
            FractionalSecondsError::InternalServerError(_inner) => _inner.name(),
         771  +
            /* ServerOperationErrorGenerator.kt:142 */
         772  +
            FractionalSecondsError::InternalServerError(_inner) =>
         773  +
            /* ServerOperationErrorGenerator.kt:95 */
         774  +
            {
         775  +
                _inner.name()
         776  +
            }
         777  +
            /* ServerOperationErrorGenerator.kt:139 */
  424    778   
        }
         779  +
        /* ServerOperationErrorGenerator.kt:93 */
  425    780   
    }
         781  +
    /* ServerOperationErrorGenerator.kt:83 */
  426    782   
}
         783  +
/* ServerOperationErrorGenerator.kt:100 */
  427    784   
impl ::std::error::Error for FractionalSecondsError {
         785  +
    /* ServerOperationErrorGenerator.kt:101 */
  428    786   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         787  +
        /* ServerOperationErrorGenerator.kt:139 */
  429    788   
        match &self {
  430         -
            FractionalSecondsError::InternalServerError(_inner) => Some(_inner),
         789  +
            /* ServerOperationErrorGenerator.kt:142 */
         790  +
            FractionalSecondsError::InternalServerError(_inner) =>
         791  +
            /* ServerOperationErrorGenerator.kt:103 */
         792  +
            {
         793  +
                Some(_inner)
         794  +
            }
         795  +
            /* ServerOperationErrorGenerator.kt:139 */
  431    796   
        }
         797  +
        /* ServerOperationErrorGenerator.kt:101 */
  432    798   
    }
         799  +
    /* ServerOperationErrorGenerator.kt:100 */
  433    800   
}
         801  +
/* ServerOperationErrorGenerator.kt:110 */
  434    802   
impl ::std::convert::From<crate::error::InternalServerError>
  435    803   
    for crate::error::FractionalSecondsError
  436    804   
{
         805  +
    /* ServerOperationErrorGenerator.kt:111 */
  437    806   
    fn from(variant: crate::error::InternalServerError) -> crate::error::FractionalSecondsError {
         807  +
        /* ServerOperationErrorGenerator.kt:112 */
  438    808   
        Self::InternalServerError(variant)
         809  +
        /* ServerOperationErrorGenerator.kt:111 */
  439    810   
    }
         811  +
    /* ServerOperationErrorGenerator.kt:110 */
  440    812   
}
  441    813   
         814  +
/* PythonServerOperationErrorGenerator.kt:38 */
  442    815   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::FractionalSecondsError {
  443    816   
    fn from(variant: ::pyo3::PyErr) -> crate::error::FractionalSecondsError {
  444    817   
        ::pyo3::Python::with_gil(|py| {
  445    818   
            let error = variant.value(py);
  446    819   
  447    820   
            crate::error::InternalServerError {
  448    821   
                message: error.to_string(),
  449    822   
            }
  450    823   
            .into()
  451    824   
        })
  452    825   
    }
  453    826   
}
  454    827   
         828  +
/* ServerOperationErrorGenerator.kt:63 */
  455    829   
/// Error type for the `DatetimeOffsets` operation.
         830  +
/* ServerOperationErrorGenerator.kt:64 */
  456    831   
/// Each variant represents an error that can occur for the `DatetimeOffsets` operation.
         832  +
/* RustType.kt:516 */
  457    833   
#[derive(::std::fmt::Debug)]
  458         -
pub enum DatetimeOffsetsError {
         834  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum DatetimeOffsetsError {
         835  +
    /* ServerOperationErrorGenerator.kt:68 */
  459    836   
    #[allow(missing_docs)] // documentation missing in model
         837  +
    /* ServerOperationErrorGenerator.kt:71 */
  460    838   
    InternalServerError(crate::error::InternalServerError),
         839  +
    /* ServerOperationErrorGenerator.kt:66 */
  461    840   
}
         841  +
/* ServerOperationErrorGenerator.kt:75 */
  462    842   
impl ::std::fmt::Display for DatetimeOffsetsError {
         843  +
    /* ServerOperationErrorGenerator.kt:76 */
  463    844   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         845  +
        /* ServerOperationErrorGenerator.kt:139 */
  464    846   
        match &self {
  465         -
            DatetimeOffsetsError::InternalServerError(_inner) => _inner.fmt(f),
         847  +
            /* ServerOperationErrorGenerator.kt:142 */
         848  +
            DatetimeOffsetsError::InternalServerError(_inner) =>
         849  +
            /* ServerOperationErrorGenerator.kt:78 */
         850  +
            {
         851  +
                _inner.fmt(f)
         852  +
            }
         853  +
            /* ServerOperationErrorGenerator.kt:139 */
  466    854   
        }
         855  +
        /* ServerOperationErrorGenerator.kt:76 */
  467    856   
    }
         857  +
    /* ServerOperationErrorGenerator.kt:75 */
  468    858   
}
         859  +
/* ServerOperationErrorGenerator.kt:83 */
  469    860   
impl DatetimeOffsetsError {
         861  +
    /* ServerOperationErrorGenerator.kt:87 */
  470    862   
    /// Returns `true` if the error kind is `DatetimeOffsetsError::InternalServerError`.
         863  +
    /* ServerOperationErrorGenerator.kt:88 */
  471    864   
    pub fn is_internal_server_error(&self) -> bool {
         865  +
        /* ServerOperationErrorGenerator.kt:89 */
  472    866   
        matches!(&self, DatetimeOffsetsError::InternalServerError(_))
         867  +
        /* ServerOperationErrorGenerator.kt:88 */
  473    868   
    }
         869  +
    /* ServerOperationErrorGenerator.kt:92 */
  474    870   
    /// Returns the error name string by matching the correct variant.
         871  +
    /* ServerOperationErrorGenerator.kt:93 */
  475    872   
    pub fn name(&self) -> &'static str {
         873  +
        /* ServerOperationErrorGenerator.kt:139 */
  476    874   
        match &self {
  477         -
            DatetimeOffsetsError::InternalServerError(_inner) => _inner.name(),
         875  +
            /* ServerOperationErrorGenerator.kt:142 */
         876  +
            DatetimeOffsetsError::InternalServerError(_inner) =>
         877  +
            /* ServerOperationErrorGenerator.kt:95 */
         878  +
            {
         879  +
                _inner.name()
         880  +
            }
         881  +
            /* ServerOperationErrorGenerator.kt:139 */
  478    882   
        }
         883  +
        /* ServerOperationErrorGenerator.kt:93 */
  479    884   
    }
         885  +
    /* ServerOperationErrorGenerator.kt:83 */
  480    886   
}
         887  +
/* ServerOperationErrorGenerator.kt:100 */
  481    888   
impl ::std::error::Error for DatetimeOffsetsError {
         889  +
    /* ServerOperationErrorGenerator.kt:101 */
  482    890   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         891  +
        /* ServerOperationErrorGenerator.kt:139 */
  483    892   
        match &self {
  484         -
            DatetimeOffsetsError::InternalServerError(_inner) => Some(_inner),
         893  +
            /* ServerOperationErrorGenerator.kt:142 */
         894  +
            DatetimeOffsetsError::InternalServerError(_inner) =>
         895  +
            /* ServerOperationErrorGenerator.kt:103 */
         896  +
            {
         897  +
                Some(_inner)
         898  +
            }
         899  +
            /* ServerOperationErrorGenerator.kt:139 */
  485    900   
        }
         901  +
        /* ServerOperationErrorGenerator.kt:101 */
  486    902   
    }
         903  +
    /* ServerOperationErrorGenerator.kt:100 */
  487    904   
}
         905  +
/* ServerOperationErrorGenerator.kt:110 */
  488    906   
impl ::std::convert::From<crate::error::InternalServerError>
  489    907   
    for crate::error::DatetimeOffsetsError
  490    908   
{
         909  +
    /* ServerOperationErrorGenerator.kt:111 */
  491    910   
    fn from(variant: crate::error::InternalServerError) -> crate::error::DatetimeOffsetsError {
         911  +
        /* ServerOperationErrorGenerator.kt:112 */
  492    912   
        Self::InternalServerError(variant)
         913  +
        /* ServerOperationErrorGenerator.kt:111 */
  493    914   
    }
         915  +
    /* ServerOperationErrorGenerator.kt:110 */
  494    916   
}
  495    917   
         918  +
/* PythonServerOperationErrorGenerator.kt:38 */
  496    919   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::DatetimeOffsetsError {
  497    920   
    fn from(variant: ::pyo3::PyErr) -> crate::error::DatetimeOffsetsError {
  498    921   
        ::pyo3::Python::with_gil(|py| {
  499    922   
            let error = variant.value(py);
  500    923   
  501    924   
            crate::error::InternalServerError {
  502    925   
                message: error.to_string(),
  503    926   
            }
  504    927   
            .into()
  505    928   
        })
  506    929   
    }
  507    930   
}
  508    931   
         932  +
/* ServerOperationErrorGenerator.kt:63 */
  509    933   
/// Error type for the `TestPostNoInputNoPayload` operation.
         934  +
/* ServerOperationErrorGenerator.kt:64 */
  510    935   
/// Each variant represents an error that can occur for the `TestPostNoInputNoPayload` operation.
         936  +
/* RustType.kt:516 */
  511    937   
#[derive(::std::fmt::Debug)]
  512         -
pub enum TestPostNoInputNoPayloadError {
         938  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum TestPostNoInputNoPayloadError {
         939  +
    /* ServerOperationErrorGenerator.kt:68 */
  513    940   
    #[allow(missing_docs)] // documentation missing in model
         941  +
    /* ServerOperationErrorGenerator.kt:71 */
  514    942   
    InternalServerError(crate::error::InternalServerError),
         943  +
    /* ServerOperationErrorGenerator.kt:66 */
  515    944   
}
         945  +
/* ServerOperationErrorGenerator.kt:75 */
  516    946   
impl ::std::fmt::Display for TestPostNoInputNoPayloadError {
         947  +
    /* ServerOperationErrorGenerator.kt:76 */
  517    948   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         949  +
        /* ServerOperationErrorGenerator.kt:139 */
  518    950   
        match &self {
  519         -
            TestPostNoInputNoPayloadError::InternalServerError(_inner) => _inner.fmt(f),
         951  +
            /* ServerOperationErrorGenerator.kt:142 */
         952  +
            TestPostNoInputNoPayloadError::InternalServerError(_inner) =>
         953  +
            /* ServerOperationErrorGenerator.kt:78 */
         954  +
            {
         955  +
                _inner.fmt(f)
         956  +
            }
         957  +
            /* ServerOperationErrorGenerator.kt:139 */
  520    958   
        }
         959  +
        /* ServerOperationErrorGenerator.kt:76 */
  521    960   
    }
         961  +
    /* ServerOperationErrorGenerator.kt:75 */
  522    962   
}
         963  +
/* ServerOperationErrorGenerator.kt:83 */
  523    964   
impl TestPostNoInputNoPayloadError {
         965  +
    /* ServerOperationErrorGenerator.kt:87 */
  524    966   
    /// Returns `true` if the error kind is `TestPostNoInputNoPayloadError::InternalServerError`.
         967  +
    /* ServerOperationErrorGenerator.kt:88 */
  525    968   
    pub fn is_internal_server_error(&self) -> bool {
         969  +
        /* ServerOperationErrorGenerator.kt:89 */
  526    970   
        matches!(&self, TestPostNoInputNoPayloadError::InternalServerError(_))
         971  +
        /* ServerOperationErrorGenerator.kt:88 */
  527    972   
    }
         973  +
    /* ServerOperationErrorGenerator.kt:92 */
  528    974   
    /// Returns the error name string by matching the correct variant.
         975  +
    /* ServerOperationErrorGenerator.kt:93 */
  529    976   
    pub fn name(&self) -> &'static str {
         977  +
        /* ServerOperationErrorGenerator.kt:139 */
  530    978   
        match &self {
  531         -
            TestPostNoInputNoPayloadError::InternalServerError(_inner) => _inner.name(),
         979  +
            /* ServerOperationErrorGenerator.kt:142 */
         980  +
            TestPostNoInputNoPayloadError::InternalServerError(_inner) =>
         981  +
            /* ServerOperationErrorGenerator.kt:95 */
         982  +
            {
         983  +
                _inner.name()
         984  +
            }
         985  +
            /* ServerOperationErrorGenerator.kt:139 */
  532    986   
        }
         987  +
        /* ServerOperationErrorGenerator.kt:93 */
  533    988   
    }
         989  +
    /* ServerOperationErrorGenerator.kt:83 */
  534    990   
}
         991  +
/* ServerOperationErrorGenerator.kt:100 */
  535    992   
impl ::std::error::Error for TestPostNoInputNoPayloadError {
         993  +
    /* ServerOperationErrorGenerator.kt:101 */
  536    994   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         995  +
        /* ServerOperationErrorGenerator.kt:139 */
  537    996   
        match &self {
  538         -
            TestPostNoInputNoPayloadError::InternalServerError(_inner) => Some(_inner),
         997  +
            /* ServerOperationErrorGenerator.kt:142 */
         998  +
            TestPostNoInputNoPayloadError::InternalServerError(_inner) =>
         999  +
            /* ServerOperationErrorGenerator.kt:103 */
        1000  +
            {
        1001  +
                Some(_inner)
        1002  +
            }
        1003  +
            /* ServerOperationErrorGenerator.kt:139 */
  539   1004   
        }
        1005  +
        /* ServerOperationErrorGenerator.kt:101 */
  540   1006   
    }
        1007  +
    /* ServerOperationErrorGenerator.kt:100 */
  541   1008   
}
        1009  +
/* ServerOperationErrorGenerator.kt:110 */
  542   1010   
impl ::std::convert::From<crate::error::InternalServerError>
  543   1011   
    for crate::error::TestPostNoInputNoPayloadError
  544   1012   
{
        1013  +
    /* ServerOperationErrorGenerator.kt:111 */
  545   1014   
    fn from(
  546   1015   
        variant: crate::error::InternalServerError,
  547   1016   
    ) -> crate::error::TestPostNoInputNoPayloadError {
        1017  +
        /* ServerOperationErrorGenerator.kt:112 */
  548   1018   
        Self::InternalServerError(variant)
        1019  +
        /* ServerOperationErrorGenerator.kt:111 */
  549   1020   
    }
        1021  +
    /* ServerOperationErrorGenerator.kt:110 */
  550   1022   
}
  551   1023   
        1024  +
/* PythonServerOperationErrorGenerator.kt:38 */
  552   1025   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::TestPostNoInputNoPayloadError {
  553   1026   
    fn from(variant: ::pyo3::PyErr) -> crate::error::TestPostNoInputNoPayloadError {
  554   1027   
        ::pyo3::Python::with_gil(|py| {
  555   1028   
            let error = variant.value(py);
  556   1029   
  557   1030   
            crate::error::InternalServerError {
  558   1031   
                message: error.to_string(),
  559   1032   
            }
  560   1033   
            .into()
  561   1034   
        })
  562   1035   
    }
  563   1036   
}
  564   1037   
        1038  +
/* ServerOperationErrorGenerator.kt:63 */
  565   1039   
/// Error type for the `TestGetNoInputNoPayload` operation.
        1040  +
/* ServerOperationErrorGenerator.kt:64 */
  566   1041   
/// Each variant represents an error that can occur for the `TestGetNoInputNoPayload` operation.
        1042  +
/* RustType.kt:516 */
  567   1043   
#[derive(::std::fmt::Debug)]
  568         -
pub enum TestGetNoInputNoPayloadError {
        1044  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum TestGetNoInputNoPayloadError {
        1045  +
    /* ServerOperationErrorGenerator.kt:68 */
  569   1046   
    #[allow(missing_docs)] // documentation missing in model
        1047  +
    /* ServerOperationErrorGenerator.kt:71 */
  570   1048   
    InternalServerError(crate::error::InternalServerError),
        1049  +
    /* ServerOperationErrorGenerator.kt:66 */
  571   1050   
}
        1051  +
/* ServerOperationErrorGenerator.kt:75 */
  572   1052   
impl ::std::fmt::Display for TestGetNoInputNoPayloadError {
        1053  +
    /* ServerOperationErrorGenerator.kt:76 */
  573   1054   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1055  +
        /* ServerOperationErrorGenerator.kt:139 */
  574   1056   
        match &self {
  575         -
            TestGetNoInputNoPayloadError::InternalServerError(_inner) => _inner.fmt(f),
        1057  +
            /* ServerOperationErrorGenerator.kt:142 */
        1058  +
            TestGetNoInputNoPayloadError::InternalServerError(_inner) =>
        1059  +
            /* ServerOperationErrorGenerator.kt:78 */
        1060  +
            {
        1061  +
                _inner.fmt(f)
        1062  +
            }
        1063  +
            /* ServerOperationErrorGenerator.kt:139 */
  576   1064   
        }
        1065  +
        /* ServerOperationErrorGenerator.kt:76 */
  577   1066   
    }
        1067  +
    /* ServerOperationErrorGenerator.kt:75 */
  578   1068   
}
        1069  +
/* ServerOperationErrorGenerator.kt:83 */
  579   1070   
impl TestGetNoInputNoPayloadError {
        1071  +
    /* ServerOperationErrorGenerator.kt:87 */
  580   1072   
    /// Returns `true` if the error kind is `TestGetNoInputNoPayloadError::InternalServerError`.
        1073  +
    /* ServerOperationErrorGenerator.kt:88 */
  581   1074   
    pub fn is_internal_server_error(&self) -> bool {
        1075  +
        /* ServerOperationErrorGenerator.kt:89 */
  582   1076   
        matches!(&self, TestGetNoInputNoPayloadError::InternalServerError(_))
        1077  +
        /* ServerOperationErrorGenerator.kt:88 */
  583   1078   
    }
        1079  +
    /* ServerOperationErrorGenerator.kt:92 */
  584   1080   
    /// Returns the error name string by matching the correct variant.
        1081  +
    /* ServerOperationErrorGenerator.kt:93 */
  585   1082   
    pub fn name(&self) -> &'static str {
        1083  +
        /* ServerOperationErrorGenerator.kt:139 */
  586   1084   
        match &self {
  587         -
            TestGetNoInputNoPayloadError::InternalServerError(_inner) => _inner.name(),
        1085  +
            /* ServerOperationErrorGenerator.kt:142 */
        1086  +
            TestGetNoInputNoPayloadError::InternalServerError(_inner) =>
        1087  +
            /* ServerOperationErrorGenerator.kt:95 */
        1088  +
            {
        1089  +
                _inner.name()
        1090  +
            }
        1091  +
            /* ServerOperationErrorGenerator.kt:139 */
  588   1092   
        }
        1093  +
        /* ServerOperationErrorGenerator.kt:93 */
  589   1094   
    }
        1095  +
    /* ServerOperationErrorGenerator.kt:83 */
  590   1096   
}
        1097  +
/* ServerOperationErrorGenerator.kt:100 */
  591   1098   
impl ::std::error::Error for TestGetNoInputNoPayloadError {
        1099  +
    /* ServerOperationErrorGenerator.kt:101 */
  592   1100   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1101  +
        /* ServerOperationErrorGenerator.kt:139 */
  593   1102   
        match &self {
  594         -
            TestGetNoInputNoPayloadError::InternalServerError(_inner) => Some(_inner),
        1103  +
            /* ServerOperationErrorGenerator.kt:142 */
        1104  +
            TestGetNoInputNoPayloadError::InternalServerError(_inner) =>
        1105  +
            /* ServerOperationErrorGenerator.kt:103 */
        1106  +
            {
        1107  +
                Some(_inner)
        1108  +
            }
        1109  +
            /* ServerOperationErrorGenerator.kt:139 */
  595   1110   
        }
        1111  +
        /* ServerOperationErrorGenerator.kt:101 */
  596   1112   
    }
        1113  +
    /* ServerOperationErrorGenerator.kt:100 */
  597   1114   
}
        1115  +
/* ServerOperationErrorGenerator.kt:110 */
  598   1116   
impl ::std::convert::From<crate::error::InternalServerError>
  599   1117   
    for crate::error::TestGetNoInputNoPayloadError
  600   1118   
{
        1119  +
    /* ServerOperationErrorGenerator.kt:111 */
  601   1120   
    fn from(
  602   1121   
        variant: crate::error::InternalServerError,
  603   1122   
    ) -> crate::error::TestGetNoInputNoPayloadError {
        1123  +
        /* ServerOperationErrorGenerator.kt:112 */
  604   1124   
        Self::InternalServerError(variant)
        1125  +
        /* ServerOperationErrorGenerator.kt:111 */
  605   1126   
    }
        1127  +
    /* ServerOperationErrorGenerator.kt:110 */
  606   1128   
}
  607   1129   
        1130  +
/* PythonServerOperationErrorGenerator.kt:38 */
  608   1131   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::TestGetNoInputNoPayloadError {
  609   1132   
    fn from(variant: ::pyo3::PyErr) -> crate::error::TestGetNoInputNoPayloadError {
  610   1133   
        ::pyo3::Python::with_gil(|py| {
  611   1134   
            let error = variant.value(py);
  612   1135   
  613   1136   
            crate::error::InternalServerError {
  614   1137   
                message: error.to_string(),
  615   1138   
            }
  616   1139   
            .into()
  617   1140   
        })
  618   1141   
    }
  619   1142   
}
  620   1143   
        1144  +
/* ServerOperationErrorGenerator.kt:63 */
  621   1145   
/// Error type for the `TestPostNoPayload` operation.
        1146  +
/* ServerOperationErrorGenerator.kt:64 */
  622   1147   
/// Each variant represents an error that can occur for the `TestPostNoPayload` operation.
        1148  +
/* RustType.kt:516 */
  623   1149   
#[derive(::std::fmt::Debug)]
  624         -
pub enum TestPostNoPayloadError {
        1150  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum TestPostNoPayloadError {
        1151  +
    /* ServerOperationErrorGenerator.kt:68 */
  625   1152   
    #[allow(missing_docs)] // documentation missing in model
        1153  +
    /* ServerOperationErrorGenerator.kt:71 */
  626   1154   
    InternalServerError(crate::error::InternalServerError),
        1155  +
    /* ServerOperationErrorGenerator.kt:66 */
  627   1156   
}
        1157  +
/* ServerOperationErrorGenerator.kt:75 */
  628   1158   
impl ::std::fmt::Display for TestPostNoPayloadError {
        1159  +
    /* ServerOperationErrorGenerator.kt:76 */
  629   1160   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1161  +
        /* ServerOperationErrorGenerator.kt:139 */
  630   1162   
        match &self {
  631         -
            TestPostNoPayloadError::InternalServerError(_inner) => _inner.fmt(f),
        1163  +
            /* ServerOperationErrorGenerator.kt:142 */
        1164  +
            TestPostNoPayloadError::InternalServerError(_inner) =>
        1165  +
            /* ServerOperationErrorGenerator.kt:78 */
        1166  +
            {
        1167  +
                _inner.fmt(f)
        1168  +
            }
        1169  +
            /* ServerOperationErrorGenerator.kt:139 */
  632   1170   
        }
        1171  +
        /* ServerOperationErrorGenerator.kt:76 */
  633   1172   
    }
        1173  +
    /* ServerOperationErrorGenerator.kt:75 */
  634   1174   
}
        1175  +
/* ServerOperationErrorGenerator.kt:83 */
  635   1176   
impl TestPostNoPayloadError {
        1177  +
    /* ServerOperationErrorGenerator.kt:87 */
  636   1178   
    /// Returns `true` if the error kind is `TestPostNoPayloadError::InternalServerError`.
        1179  +
    /* ServerOperationErrorGenerator.kt:88 */
  637   1180   
    pub fn is_internal_server_error(&self) -> bool {
        1181  +
        /* ServerOperationErrorGenerator.kt:89 */
  638   1182   
        matches!(&self, TestPostNoPayloadError::InternalServerError(_))
        1183  +
        /* ServerOperationErrorGenerator.kt:88 */
  639   1184   
    }
        1185  +
    /* ServerOperationErrorGenerator.kt:92 */
  640   1186   
    /// Returns the error name string by matching the correct variant.
        1187  +
    /* ServerOperationErrorGenerator.kt:93 */
  641   1188   
    pub fn name(&self) -> &'static str {
        1189  +
        /* ServerOperationErrorGenerator.kt:139 */
  642   1190   
        match &self {
  643         -
            TestPostNoPayloadError::InternalServerError(_inner) => _inner.name(),
        1191  +
            /* ServerOperationErrorGenerator.kt:142 */
        1192  +
            TestPostNoPayloadError::InternalServerError(_inner) =>
        1193  +
            /* ServerOperationErrorGenerator.kt:95 */
        1194  +
            {
        1195  +
                _inner.name()
        1196  +
            }
        1197  +
            /* ServerOperationErrorGenerator.kt:139 */
  644   1198   
        }
        1199  +
        /* ServerOperationErrorGenerator.kt:93 */
  645   1200   
    }
        1201  +
    /* ServerOperationErrorGenerator.kt:83 */
  646   1202   
}
        1203  +
/* ServerOperationErrorGenerator.kt:100 */
  647   1204   
impl ::std::error::Error for TestPostNoPayloadError {
        1205  +
    /* ServerOperationErrorGenerator.kt:101 */
  648   1206   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1207  +
        /* ServerOperationErrorGenerator.kt:139 */
  649   1208   
        match &self {
  650         -
            TestPostNoPayloadError::InternalServerError(_inner) => Some(_inner),
        1209  +
            /* ServerOperationErrorGenerator.kt:142 */
        1210  +
            TestPostNoPayloadError::InternalServerError(_inner) =>
        1211  +
            /* ServerOperationErrorGenerator.kt:103 */
        1212  +
            {
        1213  +
                Some(_inner)
        1214  +
            }
        1215  +
            /* ServerOperationErrorGenerator.kt:139 */
  651   1216   
        }
        1217  +
        /* ServerOperationErrorGenerator.kt:101 */
  652   1218   
    }
        1219  +
    /* ServerOperationErrorGenerator.kt:100 */
  653   1220   
}
        1221  +
/* ServerOperationErrorGenerator.kt:110 */
  654   1222   
impl ::std::convert::From<crate::error::InternalServerError>
  655   1223   
    for crate::error::TestPostNoPayloadError
  656   1224   
{
        1225  +
    /* ServerOperationErrorGenerator.kt:111 */
  657   1226   
    fn from(variant: crate::error::InternalServerError) -> crate::error::TestPostNoPayloadError {
        1227  +
        /* ServerOperationErrorGenerator.kt:112 */
  658   1228   
        Self::InternalServerError(variant)
        1229  +
        /* ServerOperationErrorGenerator.kt:111 */
  659   1230   
    }
        1231  +
    /* ServerOperationErrorGenerator.kt:110 */
  660   1232   
}
  661   1233   
        1234  +
/* PythonServerOperationErrorGenerator.kt:38 */
  662   1235   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::TestPostNoPayloadError {
  663   1236   
    fn from(variant: ::pyo3::PyErr) -> crate::error::TestPostNoPayloadError {
  664   1237   
        ::pyo3::Python::with_gil(|py| {
  665   1238   
            let error = variant.value(py);
  666   1239   
  667   1240   
            crate::error::InternalServerError {
  668   1241   
                message: error.to_string(),
  669   1242   
            }
  670   1243   
            .into()
  671   1244   
        })
  672   1245   
    }
  673   1246   
}
  674   1247   
        1248  +
/* ServerOperationErrorGenerator.kt:63 */
  675   1249   
/// Error type for the `TestGetNoPayload` operation.
        1250  +
/* ServerOperationErrorGenerator.kt:64 */
  676   1251   
/// Each variant represents an error that can occur for the `TestGetNoPayload` operation.
        1252  +
/* RustType.kt:516 */
  677   1253   
#[derive(::std::fmt::Debug)]
  678         -
pub enum TestGetNoPayloadError {
        1254  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum TestGetNoPayloadError {
        1255  +
    /* ServerOperationErrorGenerator.kt:68 */
  679   1256   
    #[allow(missing_docs)] // documentation missing in model
        1257  +
    /* ServerOperationErrorGenerator.kt:71 */
  680   1258   
    InternalServerError(crate::error::InternalServerError),
        1259  +
    /* ServerOperationErrorGenerator.kt:66 */
  681   1260   
}
        1261  +
/* ServerOperationErrorGenerator.kt:75 */
  682   1262   
impl ::std::fmt::Display for TestGetNoPayloadError {
        1263  +
    /* ServerOperationErrorGenerator.kt:76 */
  683   1264   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1265  +
        /* ServerOperationErrorGenerator.kt:139 */
  684   1266   
        match &self {
  685         -
            TestGetNoPayloadError::InternalServerError(_inner) => _inner.fmt(f),
        1267  +
            /* ServerOperationErrorGenerator.kt:142 */
        1268  +
            TestGetNoPayloadError::InternalServerError(_inner) =>
        1269  +
            /* ServerOperationErrorGenerator.kt:78 */
        1270  +
            {
        1271  +
                _inner.fmt(f)
        1272  +
            }
        1273  +
            /* ServerOperationErrorGenerator.kt:139 */
  686   1274   
        }
        1275  +
        /* ServerOperationErrorGenerator.kt:76 */
  687   1276   
    }
        1277  +
    /* ServerOperationErrorGenerator.kt:75 */
  688   1278   
}
        1279  +
/* ServerOperationErrorGenerator.kt:83 */
  689   1280   
impl TestGetNoPayloadError {
        1281  +
    /* ServerOperationErrorGenerator.kt:87 */
  690   1282   
    /// Returns `true` if the error kind is `TestGetNoPayloadError::InternalServerError`.
        1283  +
    /* ServerOperationErrorGenerator.kt:88 */
  691   1284   
    pub fn is_internal_server_error(&self) -> bool {
        1285  +
        /* ServerOperationErrorGenerator.kt:89 */
  692   1286   
        matches!(&self, TestGetNoPayloadError::InternalServerError(_))
        1287  +
        /* ServerOperationErrorGenerator.kt:88 */
  693   1288   
    }
        1289  +
    /* ServerOperationErrorGenerator.kt:92 */
  694   1290   
    /// Returns the error name string by matching the correct variant.
        1291  +
    /* ServerOperationErrorGenerator.kt:93 */
  695   1292   
    pub fn name(&self) -> &'static str {
        1293  +
        /* ServerOperationErrorGenerator.kt:139 */
  696   1294   
        match &self {
  697         -
            TestGetNoPayloadError::InternalServerError(_inner) => _inner.name(),
        1295  +
            /* ServerOperationErrorGenerator.kt:142 */
        1296  +
            TestGetNoPayloadError::InternalServerError(_inner) =>
        1297  +
            /* ServerOperationErrorGenerator.kt:95 */
        1298  +
            {
        1299  +
                _inner.name()
        1300  +
            }
        1301  +
            /* ServerOperationErrorGenerator.kt:139 */
  698   1302   
        }
        1303  +
        /* ServerOperationErrorGenerator.kt:93 */
  699   1304   
    }
        1305  +
    /* ServerOperationErrorGenerator.kt:83 */
  700   1306   
}
        1307  +
/* ServerOperationErrorGenerator.kt:100 */
  701   1308   
impl ::std::error::Error for TestGetNoPayloadError {
        1309  +
    /* ServerOperationErrorGenerator.kt:101 */
  702   1310   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1311  +
        /* ServerOperationErrorGenerator.kt:139 */
  703   1312   
        match &self {
  704         -
            TestGetNoPayloadError::InternalServerError(_inner) => Some(_inner),
        1313  +
            /* ServerOperationErrorGenerator.kt:142 */
        1314  +
            TestGetNoPayloadError::InternalServerError(_inner) =>
        1315  +
            /* ServerOperationErrorGenerator.kt:103 */
        1316  +
            {
        1317  +
                Some(_inner)
        1318  +
            }
        1319  +
            /* ServerOperationErrorGenerator.kt:139 */
  705   1320   
        }
        1321  +
        /* ServerOperationErrorGenerator.kt:101 */
  706   1322   
    }
        1323  +
    /* ServerOperationErrorGenerator.kt:100 */
  707   1324   
}
        1325  +
/* ServerOperationErrorGenerator.kt:110 */
  708   1326   
impl ::std::convert::From<crate::error::InternalServerError>
  709   1327   
    for crate::error::TestGetNoPayloadError
  710   1328   
{
        1329  +
    /* ServerOperationErrorGenerator.kt:111 */
  711   1330   
    fn from(variant: crate::error::InternalServerError) -> crate::error::TestGetNoPayloadError {
        1331  +
        /* ServerOperationErrorGenerator.kt:112 */
  712   1332   
        Self::InternalServerError(variant)
        1333  +
        /* ServerOperationErrorGenerator.kt:111 */
  713   1334   
    }
        1335  +
    /* ServerOperationErrorGenerator.kt:110 */
  714   1336   
}
  715   1337   
        1338  +
/* PythonServerOperationErrorGenerator.kt:38 */
  716   1339   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::TestGetNoPayloadError {
  717   1340   
    fn from(variant: ::pyo3::PyErr) -> crate::error::TestGetNoPayloadError {
  718   1341   
        ::pyo3::Python::with_gil(|py| {
  719   1342   
            let error = variant.value(py);
  720   1343   
  721   1344   
            crate::error::InternalServerError {
  722   1345   
                message: error.to_string(),
  723   1346   
            }
  724   1347   
            .into()
  725   1348   
        })
  726   1349   
    }
  727   1350   
}
  728   1351   
        1352  +
/* ServerOperationErrorGenerator.kt:63 */
  729   1353   
/// Error type for the `TestPayloadBlob` operation.
        1354  +
/* ServerOperationErrorGenerator.kt:64 */
  730   1355   
/// Each variant represents an error that can occur for the `TestPayloadBlob` operation.
        1356  +
/* RustType.kt:516 */
  731   1357   
#[derive(::std::fmt::Debug)]
  732         -
pub enum TestPayloadBlobError {
        1358  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum TestPayloadBlobError {
        1359  +
    /* ServerOperationErrorGenerator.kt:68 */
  733   1360   
    #[allow(missing_docs)] // documentation missing in model
        1361  +
    /* ServerOperationErrorGenerator.kt:71 */
  734   1362   
    InternalServerError(crate::error::InternalServerError),
        1363  +
    /* ServerOperationErrorGenerator.kt:66 */
  735   1364   
}
        1365  +
/* ServerOperationErrorGenerator.kt:75 */
  736   1366   
impl ::std::fmt::Display for TestPayloadBlobError {
        1367  +
    /* ServerOperationErrorGenerator.kt:76 */
  737   1368   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1369  +
        /* ServerOperationErrorGenerator.kt:139 */
  738   1370   
        match &self {
  739         -
            TestPayloadBlobError::InternalServerError(_inner) => _inner.fmt(f),
        1371  +
            /* ServerOperationErrorGenerator.kt:142 */
        1372  +
            TestPayloadBlobError::InternalServerError(_inner) =>
        1373  +
            /* ServerOperationErrorGenerator.kt:78 */
        1374  +
            {
        1375  +
                _inner.fmt(f)
        1376  +
            }
        1377  +
            /* ServerOperationErrorGenerator.kt:139 */
  740   1378   
        }
        1379  +
        /* ServerOperationErrorGenerator.kt:76 */
  741   1380   
    }
        1381  +
    /* ServerOperationErrorGenerator.kt:75 */
  742   1382   
}
        1383  +
/* ServerOperationErrorGenerator.kt:83 */
  743   1384   
impl TestPayloadBlobError {
        1385  +
    /* ServerOperationErrorGenerator.kt:87 */
  744   1386   
    /// Returns `true` if the error kind is `TestPayloadBlobError::InternalServerError`.
        1387  +
    /* ServerOperationErrorGenerator.kt:88 */
  745   1388   
    pub fn is_internal_server_error(&self) -> bool {
        1389  +
        /* ServerOperationErrorGenerator.kt:89 */
  746   1390   
        matches!(&self, TestPayloadBlobError::InternalServerError(_))
        1391  +
        /* ServerOperationErrorGenerator.kt:88 */
  747   1392   
    }
        1393  +
    /* ServerOperationErrorGenerator.kt:92 */
  748   1394   
    /// Returns the error name string by matching the correct variant.
        1395  +
    /* ServerOperationErrorGenerator.kt:93 */
  749   1396   
    pub fn name(&self) -> &'static str {
        1397  +
        /* ServerOperationErrorGenerator.kt:139 */
  750   1398   
        match &self {
  751         -
            TestPayloadBlobError::InternalServerError(_inner) => _inner.name(),
        1399  +
            /* ServerOperationErrorGenerator.kt:142 */
        1400  +
            TestPayloadBlobError::InternalServerError(_inner) =>
        1401  +
            /* ServerOperationErrorGenerator.kt:95 */
        1402  +
            {
        1403  +
                _inner.name()
        1404  +
            }
        1405  +
            /* ServerOperationErrorGenerator.kt:139 */
  752   1406   
        }
        1407  +
        /* ServerOperationErrorGenerator.kt:93 */
  753   1408   
    }
        1409  +
    /* ServerOperationErrorGenerator.kt:83 */
  754   1410   
}
        1411  +
/* ServerOperationErrorGenerator.kt:100 */
  755   1412   
impl ::std::error::Error for TestPayloadBlobError {
        1413  +
    /* ServerOperationErrorGenerator.kt:101 */
  756   1414   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1415  +
        /* ServerOperationErrorGenerator.kt:139 */
  757   1416   
        match &self {
  758         -
            TestPayloadBlobError::InternalServerError(_inner) => Some(_inner),
        1417  +
            /* ServerOperationErrorGenerator.kt:142 */
        1418  +
            TestPayloadBlobError::InternalServerError(_inner) =>
        1419  +
            /* ServerOperationErrorGenerator.kt:103 */
        1420  +
            {
        1421  +
                Some(_inner)
        1422  +
            }
        1423  +
            /* ServerOperationErrorGenerator.kt:139 */
  759   1424   
        }
        1425  +
        /* ServerOperationErrorGenerator.kt:101 */
  760   1426   
    }
        1427  +
    /* ServerOperationErrorGenerator.kt:100 */
  761   1428   
}
        1429  +
/* ServerOperationErrorGenerator.kt:110 */
  762   1430   
impl ::std::convert::From<crate::error::InternalServerError>
  763   1431   
    for crate::error::TestPayloadBlobError
  764   1432   
{
        1433  +
    /* ServerOperationErrorGenerator.kt:111 */
  765   1434   
    fn from(variant: crate::error::InternalServerError) -> crate::error::TestPayloadBlobError {
        1435  +
        /* ServerOperationErrorGenerator.kt:112 */
  766   1436   
        Self::InternalServerError(variant)
        1437  +
        /* ServerOperationErrorGenerator.kt:111 */
  767   1438   
    }
        1439  +
    /* ServerOperationErrorGenerator.kt:110 */
  768   1440   
}
  769   1441   
        1442  +
/* PythonServerOperationErrorGenerator.kt:38 */
  770   1443   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::TestPayloadBlobError {
  771   1444   
    fn from(variant: ::pyo3::PyErr) -> crate::error::TestPayloadBlobError {
  772   1445   
        ::pyo3::Python::with_gil(|py| {
  773   1446   
            let error = variant.value(py);
  774   1447   
  775   1448   
            crate::error::InternalServerError {
  776   1449   
                message: error.to_string(),
  777   1450   
            }
  778   1451   
            .into()
  779   1452   
        })
  780   1453   
    }
  781   1454   
}
  782   1455   
        1456  +
/* ServerOperationErrorGenerator.kt:63 */
  783   1457   
/// Error type for the `TestPayloadStructure` operation.
        1458  +
/* ServerOperationErrorGenerator.kt:64 */
  784   1459   
/// Each variant represents an error that can occur for the `TestPayloadStructure` operation.
        1460  +
/* RustType.kt:516 */
  785   1461   
#[derive(::std::fmt::Debug)]
  786         -
pub enum TestPayloadStructureError {
        1462  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum TestPayloadStructureError {
        1463  +
    /* ServerOperationErrorGenerator.kt:68 */
  787   1464   
    #[allow(missing_docs)] // documentation missing in model
        1465  +
    /* ServerOperationErrorGenerator.kt:71 */
  788   1466   
    InternalServerError(crate::error::InternalServerError),
        1467  +
    /* ServerOperationErrorGenerator.kt:66 */
  789   1468   
}
        1469  +
/* ServerOperationErrorGenerator.kt:75 */
  790   1470   
impl ::std::fmt::Display for TestPayloadStructureError {
        1471  +
    /* ServerOperationErrorGenerator.kt:76 */
  791   1472   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1473  +
        /* ServerOperationErrorGenerator.kt:139 */
  792   1474   
        match &self {
  793         -
            TestPayloadStructureError::InternalServerError(_inner) => _inner.fmt(f),
        1475  +
            /* ServerOperationErrorGenerator.kt:142 */
        1476  +
            TestPayloadStructureError::InternalServerError(_inner) =>
        1477  +
            /* ServerOperationErrorGenerator.kt:78 */
        1478  +
            {
        1479  +
                _inner.fmt(f)
        1480  +
            }
        1481  +
            /* ServerOperationErrorGenerator.kt:139 */
  794   1482   
        }
        1483  +
        /* ServerOperationErrorGenerator.kt:76 */
  795   1484   
    }
        1485  +
    /* ServerOperationErrorGenerator.kt:75 */
  796   1486   
}
        1487  +
/* ServerOperationErrorGenerator.kt:83 */
  797   1488   
impl TestPayloadStructureError {
        1489  +
    /* ServerOperationErrorGenerator.kt:87 */
  798   1490   
    /// Returns `true` if the error kind is `TestPayloadStructureError::InternalServerError`.
        1491  +
    /* ServerOperationErrorGenerator.kt:88 */
  799   1492   
    pub fn is_internal_server_error(&self) -> bool {
        1493  +
        /* ServerOperationErrorGenerator.kt:89 */
  800   1494   
        matches!(&self, TestPayloadStructureError::InternalServerError(_))
        1495  +
        /* ServerOperationErrorGenerator.kt:88 */
  801   1496   
    }
        1497  +
    /* ServerOperationErrorGenerator.kt:92 */
  802   1498   
    /// Returns the error name string by matching the correct variant.
        1499  +
    /* ServerOperationErrorGenerator.kt:93 */
  803   1500   
    pub fn name(&self) -> &'static str {
        1501  +
        /* ServerOperationErrorGenerator.kt:139 */
  804   1502   
        match &self {
  805         -
            TestPayloadStructureError::InternalServerError(_inner) => _inner.name(),
        1503  +
            /* ServerOperationErrorGenerator.kt:142 */
        1504  +
            TestPayloadStructureError::InternalServerError(_inner) =>
        1505  +
            /* ServerOperationErrorGenerator.kt:95 */
        1506  +
            {
        1507  +
                _inner.name()
        1508  +
            }
        1509  +
            /* ServerOperationErrorGenerator.kt:139 */
  806   1510   
        }
        1511  +
        /* ServerOperationErrorGenerator.kt:93 */
  807   1512   
    }
        1513  +
    /* ServerOperationErrorGenerator.kt:83 */
  808   1514   
}
        1515  +
/* ServerOperationErrorGenerator.kt:100 */
  809   1516   
impl ::std::error::Error for TestPayloadStructureError {
        1517  +
    /* ServerOperationErrorGenerator.kt:101 */
  810   1518   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1519  +
        /* ServerOperationErrorGenerator.kt:139 */
  811   1520   
        match &self {
  812         -
            TestPayloadStructureError::InternalServerError(_inner) => Some(_inner),
        1521  +
            /* ServerOperationErrorGenerator.kt:142 */
        1522  +
            TestPayloadStructureError::InternalServerError(_inner) =>
        1523  +
            /* ServerOperationErrorGenerator.kt:103 */
        1524  +
            {
        1525  +
                Some(_inner)
        1526  +
            }
        1527  +
            /* ServerOperationErrorGenerator.kt:139 */
  813   1528   
        }
        1529  +
        /* ServerOperationErrorGenerator.kt:101 */
  814   1530   
    }
        1531  +
    /* ServerOperationErrorGenerator.kt:100 */
  815   1532   
}
        1533  +
/* ServerOperationErrorGenerator.kt:110 */
  816   1534   
impl ::std::convert::From<crate::error::InternalServerError>
  817   1535   
    for crate::error::TestPayloadStructureError
  818   1536   
{
        1537  +
    /* ServerOperationErrorGenerator.kt:111 */
  819   1538   
    fn from(variant: crate::error::InternalServerError) -> crate::error::TestPayloadStructureError {
        1539  +
        /* ServerOperationErrorGenerator.kt:112 */
  820   1540   
        Self::InternalServerError(variant)
        1541  +
        /* ServerOperationErrorGenerator.kt:111 */
  821   1542   
    }
        1543  +
    /* ServerOperationErrorGenerator.kt:110 */
  822   1544   
}
  823   1545   
        1546  +
/* PythonServerOperationErrorGenerator.kt:38 */
  824   1547   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::TestPayloadStructureError {
  825   1548   
    fn from(variant: ::pyo3::PyErr) -> crate::error::TestPayloadStructureError {
  826   1549   
        ::pyo3::Python::with_gil(|py| {
  827   1550   
            let error = variant.value(py);
  828   1551   
  829   1552   
            crate::error::InternalServerError {
  830   1553   
                message: error.to_string(),
  831   1554   
            }
  832   1555   
            .into()
  833   1556   
        })
  834   1557   
    }
  835   1558   
}
  836   1559   
        1560  +
/* ServerOperationErrorGenerator.kt:63 */
  837   1561   
/// Error type for the `TestBodyStructure` operation.
        1562  +
/* ServerOperationErrorGenerator.kt:64 */
  838   1563   
/// Each variant represents an error that can occur for the `TestBodyStructure` operation.
        1564  +
/* RustType.kt:516 */
  839   1565   
#[derive(::std::fmt::Debug)]
  840         -
pub enum TestBodyStructureError {
        1566  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum TestBodyStructureError {
        1567  +
    /* ServerOperationErrorGenerator.kt:68 */
  841   1568   
    #[allow(missing_docs)] // documentation missing in model
        1569  +
    /* ServerOperationErrorGenerator.kt:71 */
  842   1570   
    InternalServerError(crate::error::InternalServerError),
        1571  +
    /* ServerOperationErrorGenerator.kt:66 */
  843   1572   
}
        1573  +
/* ServerOperationErrorGenerator.kt:75 */
  844   1574   
impl ::std::fmt::Display for TestBodyStructureError {
        1575  +
    /* ServerOperationErrorGenerator.kt:76 */
  845   1576   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1577  +
        /* ServerOperationErrorGenerator.kt:139 */
  846   1578   
        match &self {
  847         -
            TestBodyStructureError::InternalServerError(_inner) => _inner.fmt(f),
        1579  +
            /* ServerOperationErrorGenerator.kt:142 */
        1580  +
            TestBodyStructureError::InternalServerError(_inner) =>
        1581  +
            /* ServerOperationErrorGenerator.kt:78 */
        1582  +
            {
        1583  +
                _inner.fmt(f)
        1584  +
            }
        1585  +
            /* ServerOperationErrorGenerator.kt:139 */
  848   1586   
        }
        1587  +
        /* ServerOperationErrorGenerator.kt:76 */
  849   1588   
    }
        1589  +
    /* ServerOperationErrorGenerator.kt:75 */
  850   1590   
}
        1591  +
/* ServerOperationErrorGenerator.kt:83 */
  851   1592   
impl TestBodyStructureError {
        1593  +
    /* ServerOperationErrorGenerator.kt:87 */
  852   1594   
    /// Returns `true` if the error kind is `TestBodyStructureError::InternalServerError`.
        1595  +
    /* ServerOperationErrorGenerator.kt:88 */
  853   1596   
    pub fn is_internal_server_error(&self) -> bool {
        1597  +
        /* ServerOperationErrorGenerator.kt:89 */
  854   1598   
        matches!(&self, TestBodyStructureError::InternalServerError(_))
        1599  +
        /* ServerOperationErrorGenerator.kt:88 */
  855   1600   
    }
        1601  +
    /* ServerOperationErrorGenerator.kt:92 */
  856   1602   
    /// Returns the error name string by matching the correct variant.
        1603  +
    /* ServerOperationErrorGenerator.kt:93 */
  857   1604   
    pub fn name(&self) -> &'static str {
        1605  +
        /* ServerOperationErrorGenerator.kt:139 */
  858   1606   
        match &self {
  859         -
            TestBodyStructureError::InternalServerError(_inner) => _inner.name(),
        1607  +
            /* ServerOperationErrorGenerator.kt:142 */
        1608  +
            TestBodyStructureError::InternalServerError(_inner) =>
        1609  +
            /* ServerOperationErrorGenerator.kt:95 */
        1610  +
            {
        1611  +
                _inner.name()
        1612  +
            }
        1613  +
            /* ServerOperationErrorGenerator.kt:139 */
  860   1614   
        }
        1615  +
        /* ServerOperationErrorGenerator.kt:93 */
  861   1616   
    }
        1617  +
    /* ServerOperationErrorGenerator.kt:83 */
  862   1618   
}
        1619  +
/* ServerOperationErrorGenerator.kt:100 */
  863   1620   
impl ::std::error::Error for TestBodyStructureError {
        1621  +
    /* ServerOperationErrorGenerator.kt:101 */
  864   1622   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1623  +
        /* ServerOperationErrorGenerator.kt:139 */
  865   1624   
        match &self {
  866         -
            TestBodyStructureError::InternalServerError(_inner) => Some(_inner),
        1625  +
            /* ServerOperationErrorGenerator.kt:142 */
        1626  +
            TestBodyStructureError::InternalServerError(_inner) =>
        1627  +
            /* ServerOperationErrorGenerator.kt:103 */
        1628  +
            {
        1629  +
                Some(_inner)
        1630  +
            }
        1631  +
            /* ServerOperationErrorGenerator.kt:139 */
  867   1632   
        }
        1633  +
        /* ServerOperationErrorGenerator.kt:101 */
  868   1634   
    }
        1635  +
    /* ServerOperationErrorGenerator.kt:100 */
  869   1636   
}
        1637  +
/* ServerOperationErrorGenerator.kt:110 */
  870   1638   
impl ::std::convert::From<crate::error::InternalServerError>
  871   1639   
    for crate::error::TestBodyStructureError
  872   1640   
{
        1641  +
    /* ServerOperationErrorGenerator.kt:111 */
  873   1642   
    fn from(variant: crate::error::InternalServerError) -> crate::error::TestBodyStructureError {
        1643  +
        /* ServerOperationErrorGenerator.kt:112 */
  874   1644   
        Self::InternalServerError(variant)
        1645  +
        /* ServerOperationErrorGenerator.kt:111 */
  875   1646   
    }
        1647  +
    /* ServerOperationErrorGenerator.kt:110 */
  876   1648   
}
  877   1649   
        1650  +
/* PythonServerOperationErrorGenerator.kt:38 */
  878   1651   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::TestBodyStructureError {
  879   1652   
    fn from(variant: ::pyo3::PyErr) -> crate::error::TestBodyStructureError {
  880   1653   
        ::pyo3::Python::with_gil(|py| {
  881   1654   
            let error = variant.value(py);
  882   1655   
  883   1656   
            crate::error::InternalServerError {
  884   1657   
                message: error.to_string(),
  885   1658   
            }
  886   1659   
            .into()
  887   1660   
        })
  888   1661   
    }
  889   1662   
}
  890   1663   
        1664  +
/* ServerOperationErrorGenerator.kt:63 */
  891   1665   
/// Error type for the `MalformedAcceptWithGenericString` operation.
        1666  +
/* ServerOperationErrorGenerator.kt:64 */
  892   1667   
/// Each variant represents an error that can occur for the `MalformedAcceptWithGenericString` operation.
        1668  +
/* RustType.kt:516 */
  893   1669   
#[derive(::std::fmt::Debug)]
  894         -
pub enum MalformedAcceptWithGenericStringError {
        1670  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedAcceptWithGenericStringError {
        1671  +
    /* ServerOperationErrorGenerator.kt:68 */
  895   1672   
    #[allow(missing_docs)] // documentation missing in model
        1673  +
    /* ServerOperationErrorGenerator.kt:71 */
  896   1674   
    InternalServerError(crate::error::InternalServerError),
        1675  +
    /* ServerOperationErrorGenerator.kt:66 */
  897   1676   
}
        1677  +
/* ServerOperationErrorGenerator.kt:75 */
  898   1678   
impl ::std::fmt::Display for MalformedAcceptWithGenericStringError {
        1679  +
    /* ServerOperationErrorGenerator.kt:76 */
  899   1680   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1681  +
        /* ServerOperationErrorGenerator.kt:139 */
  900   1682   
        match &self {
  901         -
            MalformedAcceptWithGenericStringError::InternalServerError(_inner) => _inner.fmt(f),
        1683  +
            /* ServerOperationErrorGenerator.kt:142 */
        1684  +
            MalformedAcceptWithGenericStringError::InternalServerError(_inner) =>
        1685  +
            /* ServerOperationErrorGenerator.kt:78 */
        1686  +
            {
        1687  +
                _inner.fmt(f)
        1688  +
            }
        1689  +
            /* ServerOperationErrorGenerator.kt:139 */
  902   1690   
        }
        1691  +
        /* ServerOperationErrorGenerator.kt:76 */
  903   1692   
    }
        1693  +
    /* ServerOperationErrorGenerator.kt:75 */
  904   1694   
}
        1695  +
/* ServerOperationErrorGenerator.kt:83 */
  905   1696   
impl MalformedAcceptWithGenericStringError {
        1697  +
    /* ServerOperationErrorGenerator.kt:87 */
  906   1698   
    /// Returns `true` if the error kind is `MalformedAcceptWithGenericStringError::InternalServerError`.
        1699  +
    /* ServerOperationErrorGenerator.kt:88 */
  907   1700   
    pub fn is_internal_server_error(&self) -> bool {
        1701  +
        /* ServerOperationErrorGenerator.kt:89 */
  908   1702   
        matches!(
  909   1703   
            &self,
  910   1704   
            MalformedAcceptWithGenericStringError::InternalServerError(_)
  911   1705   
        )
        1706  +
        /* ServerOperationErrorGenerator.kt:88 */
  912   1707   
    }
        1708  +
    /* ServerOperationErrorGenerator.kt:92 */
  913   1709   
    /// Returns the error name string by matching the correct variant.
        1710  +
    /* ServerOperationErrorGenerator.kt:93 */
  914   1711   
    pub fn name(&self) -> &'static str {
        1712  +
        /* ServerOperationErrorGenerator.kt:139 */
  915   1713   
        match &self {
  916         -
            MalformedAcceptWithGenericStringError::InternalServerError(_inner) => _inner.name(),
        1714  +
            /* ServerOperationErrorGenerator.kt:142 */
        1715  +
            MalformedAcceptWithGenericStringError::InternalServerError(_inner) =>
        1716  +
            /* ServerOperationErrorGenerator.kt:95 */
        1717  +
            {
        1718  +
                _inner.name()
        1719  +
            }
        1720  +
            /* ServerOperationErrorGenerator.kt:139 */
  917   1721   
        }
        1722  +
        /* ServerOperationErrorGenerator.kt:93 */
  918   1723   
    }
        1724  +
    /* ServerOperationErrorGenerator.kt:83 */
  919   1725   
}
        1726  +
/* ServerOperationErrorGenerator.kt:100 */
  920   1727   
impl ::std::error::Error for MalformedAcceptWithGenericStringError {
        1728  +
    /* ServerOperationErrorGenerator.kt:101 */
  921   1729   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1730  +
        /* ServerOperationErrorGenerator.kt:139 */
  922   1731   
        match &self {
  923         -
            MalformedAcceptWithGenericStringError::InternalServerError(_inner) => Some(_inner),
        1732  +
            /* ServerOperationErrorGenerator.kt:142 */
        1733  +
            MalformedAcceptWithGenericStringError::InternalServerError(_inner) =>
        1734  +
            /* ServerOperationErrorGenerator.kt:103 */
        1735  +
            {
        1736  +
                Some(_inner)
        1737  +
            }
        1738  +
            /* ServerOperationErrorGenerator.kt:139 */
  924   1739   
        }
        1740  +
        /* ServerOperationErrorGenerator.kt:101 */
  925   1741   
    }
        1742  +
    /* ServerOperationErrorGenerator.kt:100 */
  926   1743   
}
        1744  +
/* ServerOperationErrorGenerator.kt:110 */
  927   1745   
impl ::std::convert::From<crate::error::InternalServerError>
  928   1746   
    for crate::error::MalformedAcceptWithGenericStringError
  929   1747   
{
        1748  +
    /* ServerOperationErrorGenerator.kt:111 */
  930   1749   
    fn from(
  931   1750   
        variant: crate::error::InternalServerError,
  932   1751   
    ) -> crate::error::MalformedAcceptWithGenericStringError {
        1752  +
        /* ServerOperationErrorGenerator.kt:112 */
  933   1753   
        Self::InternalServerError(variant)
        1754  +
        /* ServerOperationErrorGenerator.kt:111 */
  934   1755   
    }
        1756  +
    /* ServerOperationErrorGenerator.kt:110 */
  935   1757   
}
  936   1758   
        1759  +
/* PythonServerOperationErrorGenerator.kt:38 */
  937   1760   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedAcceptWithGenericStringError {
  938   1761   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedAcceptWithGenericStringError {
  939   1762   
        ::pyo3::Python::with_gil(|py| {
  940   1763   
            let error = variant.value(py);
  941   1764   
  942   1765   
            crate::error::InternalServerError {
  943   1766   
                message: error.to_string(),
  944   1767   
            }
  945   1768   
            .into()
  946   1769   
        })
  947   1770   
    }
  948   1771   
}
  949   1772   
        1773  +
/* ServerOperationErrorGenerator.kt:63 */
  950   1774   
/// Error type for the `MalformedAcceptWithPayload` operation.
        1775  +
/* ServerOperationErrorGenerator.kt:64 */
  951   1776   
/// Each variant represents an error that can occur for the `MalformedAcceptWithPayload` operation.
        1777  +
/* RustType.kt:516 */
  952   1778   
#[derive(::std::fmt::Debug)]
  953         -
pub enum MalformedAcceptWithPayloadError {
        1779  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedAcceptWithPayloadError {
        1780  +
    /* ServerOperationErrorGenerator.kt:68 */
  954   1781   
    #[allow(missing_docs)] // documentation missing in model
        1782  +
    /* ServerOperationErrorGenerator.kt:71 */
  955   1783   
    InternalServerError(crate::error::InternalServerError),
        1784  +
    /* ServerOperationErrorGenerator.kt:66 */
  956   1785   
}
        1786  +
/* ServerOperationErrorGenerator.kt:75 */
  957   1787   
impl ::std::fmt::Display for MalformedAcceptWithPayloadError {
        1788  +
    /* ServerOperationErrorGenerator.kt:76 */
  958   1789   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1790  +
        /* ServerOperationErrorGenerator.kt:139 */
  959   1791   
        match &self {
  960         -
            MalformedAcceptWithPayloadError::InternalServerError(_inner) => _inner.fmt(f),
        1792  +
            /* ServerOperationErrorGenerator.kt:142 */
        1793  +
            MalformedAcceptWithPayloadError::InternalServerError(_inner) =>
        1794  +
            /* ServerOperationErrorGenerator.kt:78 */
        1795  +
            {
        1796  +
                _inner.fmt(f)
        1797  +
            }
        1798  +
            /* ServerOperationErrorGenerator.kt:139 */
  961   1799   
        }
        1800  +
        /* ServerOperationErrorGenerator.kt:76 */
  962   1801   
    }
        1802  +
    /* ServerOperationErrorGenerator.kt:75 */
  963   1803   
}
        1804  +
/* ServerOperationErrorGenerator.kt:83 */
  964   1805   
impl MalformedAcceptWithPayloadError {
        1806  +
    /* ServerOperationErrorGenerator.kt:87 */
  965   1807   
    /// Returns `true` if the error kind is `MalformedAcceptWithPayloadError::InternalServerError`.
        1808  +
    /* ServerOperationErrorGenerator.kt:88 */
  966   1809   
    pub fn is_internal_server_error(&self) -> bool {
        1810  +
        /* ServerOperationErrorGenerator.kt:89 */
  967   1811   
        matches!(
  968   1812   
            &self,
  969   1813   
            MalformedAcceptWithPayloadError::InternalServerError(_)
  970   1814   
        )
        1815  +
        /* ServerOperationErrorGenerator.kt:88 */
  971   1816   
    }
        1817  +
    /* ServerOperationErrorGenerator.kt:92 */
  972   1818   
    /// Returns the error name string by matching the correct variant.
        1819  +
    /* ServerOperationErrorGenerator.kt:93 */
  973   1820   
    pub fn name(&self) -> &'static str {
        1821  +
        /* ServerOperationErrorGenerator.kt:139 */
  974   1822   
        match &self {
  975         -
            MalformedAcceptWithPayloadError::InternalServerError(_inner) => _inner.name(),
        1823  +
            /* ServerOperationErrorGenerator.kt:142 */
        1824  +
            MalformedAcceptWithPayloadError::InternalServerError(_inner) =>
        1825  +
            /* ServerOperationErrorGenerator.kt:95 */
        1826  +
            {
        1827  +
                _inner.name()
        1828  +
            }
        1829  +
            /* ServerOperationErrorGenerator.kt:139 */
  976   1830   
        }
        1831  +
        /* ServerOperationErrorGenerator.kt:93 */
  977   1832   
    }
        1833  +
    /* ServerOperationErrorGenerator.kt:83 */
  978   1834   
}
        1835  +
/* ServerOperationErrorGenerator.kt:100 */
  979   1836   
impl ::std::error::Error for MalformedAcceptWithPayloadError {
        1837  +
    /* ServerOperationErrorGenerator.kt:101 */
  980   1838   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1839  +
        /* ServerOperationErrorGenerator.kt:139 */
  981   1840   
        match &self {
  982         -
            MalformedAcceptWithPayloadError::InternalServerError(_inner) => Some(_inner),
        1841  +
            /* ServerOperationErrorGenerator.kt:142 */
        1842  +
            MalformedAcceptWithPayloadError::InternalServerError(_inner) =>
        1843  +
            /* ServerOperationErrorGenerator.kt:103 */
        1844  +
            {
        1845  +
                Some(_inner)
        1846  +
            }
        1847  +
            /* ServerOperationErrorGenerator.kt:139 */
  983   1848   
        }
        1849  +
        /* ServerOperationErrorGenerator.kt:101 */
  984   1850   
    }
        1851  +
    /* ServerOperationErrorGenerator.kt:100 */
  985   1852   
}
        1853  +
/* ServerOperationErrorGenerator.kt:110 */
  986   1854   
impl ::std::convert::From<crate::error::InternalServerError>
  987   1855   
    for crate::error::MalformedAcceptWithPayloadError
  988   1856   
{
        1857  +
    /* ServerOperationErrorGenerator.kt:111 */
  989   1858   
    fn from(
  990   1859   
        variant: crate::error::InternalServerError,
  991   1860   
    ) -> crate::error::MalformedAcceptWithPayloadError {
        1861  +
        /* ServerOperationErrorGenerator.kt:112 */
  992   1862   
        Self::InternalServerError(variant)
        1863  +
        /* ServerOperationErrorGenerator.kt:111 */
  993   1864   
    }
        1865  +
    /* ServerOperationErrorGenerator.kt:110 */
  994   1866   
}
  995   1867   
        1868  +
/* PythonServerOperationErrorGenerator.kt:38 */
  996   1869   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedAcceptWithPayloadError {
  997   1870   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedAcceptWithPayloadError {
  998   1871   
        ::pyo3::Python::with_gil(|py| {
  999   1872   
            let error = variant.value(py);
 1000   1873   
 1001   1874   
            crate::error::InternalServerError {
 1002   1875   
                message: error.to_string(),
 1003   1876   
            }
 1004   1877   
            .into()
 1005   1878   
        })
 1006   1879   
    }
 1007   1880   
}
 1008   1881   
        1882  +
/* ServerOperationErrorGenerator.kt:63 */
 1009   1883   
/// Error type for the `MalformedAcceptWithBody` operation.
        1884  +
/* ServerOperationErrorGenerator.kt:64 */
 1010   1885   
/// Each variant represents an error that can occur for the `MalformedAcceptWithBody` operation.
        1886  +
/* RustType.kt:516 */
 1011   1887   
#[derive(::std::fmt::Debug)]
 1012         -
pub enum MalformedAcceptWithBodyError {
        1888  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedAcceptWithBodyError {
        1889  +
    /* ServerOperationErrorGenerator.kt:68 */
 1013   1890   
    #[allow(missing_docs)] // documentation missing in model
        1891  +
    /* ServerOperationErrorGenerator.kt:71 */
 1014   1892   
    InternalServerError(crate::error::InternalServerError),
        1893  +
    /* ServerOperationErrorGenerator.kt:66 */
 1015   1894   
}
        1895  +
/* ServerOperationErrorGenerator.kt:75 */
 1016   1896   
impl ::std::fmt::Display for MalformedAcceptWithBodyError {
        1897  +
    /* ServerOperationErrorGenerator.kt:76 */
 1017   1898   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1899  +
        /* ServerOperationErrorGenerator.kt:139 */
 1018   1900   
        match &self {
 1019         -
            MalformedAcceptWithBodyError::InternalServerError(_inner) => _inner.fmt(f),
        1901  +
            /* ServerOperationErrorGenerator.kt:142 */
        1902  +
            MalformedAcceptWithBodyError::InternalServerError(_inner) =>
        1903  +
            /* ServerOperationErrorGenerator.kt:78 */
        1904  +
            {
        1905  +
                _inner.fmt(f)
        1906  +
            }
        1907  +
            /* ServerOperationErrorGenerator.kt:139 */
 1020   1908   
        }
        1909  +
        /* ServerOperationErrorGenerator.kt:76 */
 1021   1910   
    }
        1911  +
    /* ServerOperationErrorGenerator.kt:75 */
 1022   1912   
}
        1913  +
/* ServerOperationErrorGenerator.kt:83 */
 1023   1914   
impl MalformedAcceptWithBodyError {
        1915  +
    /* ServerOperationErrorGenerator.kt:87 */
 1024   1916   
    /// Returns `true` if the error kind is `MalformedAcceptWithBodyError::InternalServerError`.
        1917  +
    /* ServerOperationErrorGenerator.kt:88 */
 1025   1918   
    pub fn is_internal_server_error(&self) -> bool {
        1919  +
        /* ServerOperationErrorGenerator.kt:89 */
 1026   1920   
        matches!(&self, MalformedAcceptWithBodyError::InternalServerError(_))
        1921  +
        /* ServerOperationErrorGenerator.kt:88 */
 1027   1922   
    }
        1923  +
    /* ServerOperationErrorGenerator.kt:92 */
 1028   1924   
    /// Returns the error name string by matching the correct variant.
        1925  +
    /* ServerOperationErrorGenerator.kt:93 */
 1029   1926   
    pub fn name(&self) -> &'static str {
        1927  +
        /* ServerOperationErrorGenerator.kt:139 */
 1030   1928   
        match &self {
 1031         -
            MalformedAcceptWithBodyError::InternalServerError(_inner) => _inner.name(),
        1929  +
            /* ServerOperationErrorGenerator.kt:142 */
        1930  +
            MalformedAcceptWithBodyError::InternalServerError(_inner) =>
        1931  +
            /* ServerOperationErrorGenerator.kt:95 */
        1932  +
            {
        1933  +
                _inner.name()
        1934  +
            }
        1935  +
            /* ServerOperationErrorGenerator.kt:139 */
 1032   1936   
        }
        1937  +
        /* ServerOperationErrorGenerator.kt:93 */
 1033   1938   
    }
        1939  +
    /* ServerOperationErrorGenerator.kt:83 */
 1034   1940   
}
        1941  +
/* ServerOperationErrorGenerator.kt:100 */
 1035   1942   
impl ::std::error::Error for MalformedAcceptWithBodyError {
        1943  +
    /* ServerOperationErrorGenerator.kt:101 */
 1036   1944   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1945  +
        /* ServerOperationErrorGenerator.kt:139 */
 1037   1946   
        match &self {
 1038         -
            MalformedAcceptWithBodyError::InternalServerError(_inner) => Some(_inner),
        1947  +
            /* ServerOperationErrorGenerator.kt:142 */
        1948  +
            MalformedAcceptWithBodyError::InternalServerError(_inner) =>
        1949  +
            /* ServerOperationErrorGenerator.kt:103 */
        1950  +
            {
        1951  +
                Some(_inner)
        1952  +
            }
        1953  +
            /* ServerOperationErrorGenerator.kt:139 */
 1039   1954   
        }
        1955  +
        /* ServerOperationErrorGenerator.kt:101 */
 1040   1956   
    }
        1957  +
    /* ServerOperationErrorGenerator.kt:100 */
 1041   1958   
}
        1959  +
/* ServerOperationErrorGenerator.kt:110 */
 1042   1960   
impl ::std::convert::From<crate::error::InternalServerError>
 1043   1961   
    for crate::error::MalformedAcceptWithBodyError
 1044   1962   
{
        1963  +
    /* ServerOperationErrorGenerator.kt:111 */
 1045   1964   
    fn from(
 1046   1965   
        variant: crate::error::InternalServerError,
 1047   1966   
    ) -> crate::error::MalformedAcceptWithBodyError {
        1967  +
        /* ServerOperationErrorGenerator.kt:112 */
 1048   1968   
        Self::InternalServerError(variant)
        1969  +
        /* ServerOperationErrorGenerator.kt:111 */
 1049   1970   
    }
        1971  +
    /* ServerOperationErrorGenerator.kt:110 */
 1050   1972   
}
 1051   1973   
        1974  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1052   1975   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedAcceptWithBodyError {
 1053   1976   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedAcceptWithBodyError {
 1054   1977   
        ::pyo3::Python::with_gil(|py| {
 1055   1978   
            let error = variant.value(py);
 1056   1979   
 1057   1980   
            crate::error::InternalServerError {
 1058   1981   
                message: error.to_string(),
 1059   1982   
            }
 1060   1983   
            .into()
 1061   1984   
        })
 1062   1985   
    }
 1063   1986   
}
 1064   1987   
        1988  +
/* ServerOperationErrorGenerator.kt:63 */
 1065   1989   
/// Error type for the `MalformedContentTypeWithGenericString` operation.
        1990  +
/* ServerOperationErrorGenerator.kt:64 */
 1066   1991   
/// Each variant represents an error that can occur for the `MalformedContentTypeWithGenericString` operation.
        1992  +
/* RustType.kt:516 */
 1067   1993   
#[derive(::std::fmt::Debug)]
 1068         -
pub enum MalformedContentTypeWithGenericStringError {
        1994  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedContentTypeWithGenericStringError {
        1995  +
    /* ServerOperationErrorGenerator.kt:68 */
 1069   1996   
    #[allow(missing_docs)] // documentation missing in model
        1997  +
    /* ServerOperationErrorGenerator.kt:71 */
 1070   1998   
    InternalServerError(crate::error::InternalServerError),
        1999  +
    /* ServerOperationErrorGenerator.kt:66 */
 1071   2000   
}
        2001  +
/* ServerOperationErrorGenerator.kt:75 */
 1072   2002   
impl ::std::fmt::Display for MalformedContentTypeWithGenericStringError {
        2003  +
    /* ServerOperationErrorGenerator.kt:76 */
 1073   2004   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2005  +
        /* ServerOperationErrorGenerator.kt:139 */
 1074   2006   
        match &self {
 1075         -
            MalformedContentTypeWithGenericStringError::InternalServerError(_inner) => {
        2007  +
            /* ServerOperationErrorGenerator.kt:142 */
        2008  +
            MalformedContentTypeWithGenericStringError::InternalServerError(_inner) =>
        2009  +
            /* ServerOperationErrorGenerator.kt:78 */
        2010  +
            {
 1076   2011   
                _inner.fmt(f)
 1077   2012   
            }
        2013  +
            /* ServerOperationErrorGenerator.kt:139 */
 1078   2014   
        }
        2015  +
        /* ServerOperationErrorGenerator.kt:76 */
 1079   2016   
    }
        2017  +
    /* ServerOperationErrorGenerator.kt:75 */
 1080   2018   
}
        2019  +
/* ServerOperationErrorGenerator.kt:83 */
 1081   2020   
impl MalformedContentTypeWithGenericStringError {
        2021  +
    /* ServerOperationErrorGenerator.kt:87 */
 1082   2022   
    /// Returns `true` if the error kind is `MalformedContentTypeWithGenericStringError::InternalServerError`.
        2023  +
    /* ServerOperationErrorGenerator.kt:88 */
 1083   2024   
    pub fn is_internal_server_error(&self) -> bool {
        2025  +
        /* ServerOperationErrorGenerator.kt:89 */
 1084   2026   
        matches!(
 1085   2027   
            &self,
 1086   2028   
            MalformedContentTypeWithGenericStringError::InternalServerError(_)
 1087   2029   
        )
        2030  +
        /* ServerOperationErrorGenerator.kt:88 */
 1088   2031   
    }
        2032  +
    /* ServerOperationErrorGenerator.kt:92 */
 1089   2033   
    /// Returns the error name string by matching the correct variant.
        2034  +
    /* ServerOperationErrorGenerator.kt:93 */
 1090   2035   
    pub fn name(&self) -> &'static str {
        2036  +
        /* ServerOperationErrorGenerator.kt:139 */
 1091   2037   
        match &self {
 1092         -
            MalformedContentTypeWithGenericStringError::InternalServerError(_inner) => {
        2038  +
            /* ServerOperationErrorGenerator.kt:142 */
        2039  +
            MalformedContentTypeWithGenericStringError::InternalServerError(_inner) =>
        2040  +
            /* ServerOperationErrorGenerator.kt:95 */
        2041  +
            {
 1093   2042   
                _inner.name()
 1094   2043   
            }
        2044  +
            /* ServerOperationErrorGenerator.kt:139 */
 1095   2045   
        }
        2046  +
        /* ServerOperationErrorGenerator.kt:93 */
 1096   2047   
    }
        2048  +
    /* ServerOperationErrorGenerator.kt:83 */
 1097   2049   
}
        2050  +
/* ServerOperationErrorGenerator.kt:100 */
 1098   2051   
impl ::std::error::Error for MalformedContentTypeWithGenericStringError {
        2052  +
    /* ServerOperationErrorGenerator.kt:101 */
 1099   2053   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2054  +
        /* ServerOperationErrorGenerator.kt:139 */
 1100   2055   
        match &self {
 1101         -
            MalformedContentTypeWithGenericStringError::InternalServerError(_inner) => Some(_inner),
        2056  +
            /* ServerOperationErrorGenerator.kt:142 */
        2057  +
            MalformedContentTypeWithGenericStringError::InternalServerError(_inner) =>
        2058  +
            /* ServerOperationErrorGenerator.kt:103 */
        2059  +
            {
        2060  +
                Some(_inner)
        2061  +
            }
        2062  +
            /* ServerOperationErrorGenerator.kt:139 */
 1102   2063   
        }
        2064  +
        /* ServerOperationErrorGenerator.kt:101 */
 1103   2065   
    }
        2066  +
    /* ServerOperationErrorGenerator.kt:100 */
 1104   2067   
}
        2068  +
/* ServerOperationErrorGenerator.kt:110 */
 1105   2069   
impl ::std::convert::From<crate::error::InternalServerError>
 1106   2070   
    for crate::error::MalformedContentTypeWithGenericStringError
 1107   2071   
{
        2072  +
    /* ServerOperationErrorGenerator.kt:111 */
 1108   2073   
    fn from(
 1109   2074   
        variant: crate::error::InternalServerError,
 1110   2075   
    ) -> crate::error::MalformedContentTypeWithGenericStringError {
        2076  +
        /* ServerOperationErrorGenerator.kt:112 */
 1111   2077   
        Self::InternalServerError(variant)
        2078  +
        /* ServerOperationErrorGenerator.kt:111 */
 1112   2079   
    }
        2080  +
    /* ServerOperationErrorGenerator.kt:110 */
 1113   2081   
}
 1114   2082   
        2083  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1115   2084   
impl ::std::convert::From<::pyo3::PyErr>
 1116   2085   
    for crate::error::MalformedContentTypeWithGenericStringError
 1117   2086   
{
 1118   2087   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedContentTypeWithGenericStringError {
 1119   2088   
        ::pyo3::Python::with_gil(|py| {
 1120   2089   
            let error = variant.value(py);
 1121   2090   
 1122   2091   
            crate::error::InternalServerError {
 1123   2092   
                message: error.to_string(),
 1124   2093   
            }
 1125   2094   
            .into()
 1126   2095   
        })
 1127   2096   
    }
 1128   2097   
}
 1129   2098   
        2099  +
/* ServerOperationErrorGenerator.kt:63 */
 1130   2100   
/// Error type for the `MalformedContentTypeWithPayload` operation.
        2101  +
/* ServerOperationErrorGenerator.kt:64 */
 1131   2102   
/// Each variant represents an error that can occur for the `MalformedContentTypeWithPayload` operation.
        2103  +
/* RustType.kt:516 */
 1132   2104   
#[derive(::std::fmt::Debug)]
 1133         -
pub enum MalformedContentTypeWithPayloadError {
        2105  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedContentTypeWithPayloadError {
        2106  +
    /* ServerOperationErrorGenerator.kt:68 */
 1134   2107   
    #[allow(missing_docs)] // documentation missing in model
        2108  +
    /* ServerOperationErrorGenerator.kt:71 */
 1135   2109   
    InternalServerError(crate::error::InternalServerError),
        2110  +
    /* ServerOperationErrorGenerator.kt:66 */
 1136   2111   
}
        2112  +
/* ServerOperationErrorGenerator.kt:75 */
 1137   2113   
impl ::std::fmt::Display for MalformedContentTypeWithPayloadError {
        2114  +
    /* ServerOperationErrorGenerator.kt:76 */
 1138   2115   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2116  +
        /* ServerOperationErrorGenerator.kt:139 */
 1139   2117   
        match &self {
 1140         -
            MalformedContentTypeWithPayloadError::InternalServerError(_inner) => _inner.fmt(f),
        2118  +
            /* ServerOperationErrorGenerator.kt:142 */
        2119  +
            MalformedContentTypeWithPayloadError::InternalServerError(_inner) =>
        2120  +
            /* ServerOperationErrorGenerator.kt:78 */
        2121  +
            {
        2122  +
                _inner.fmt(f)
        2123  +
            }
        2124  +
            /* ServerOperationErrorGenerator.kt:139 */
 1141   2125   
        }
        2126  +
        /* ServerOperationErrorGenerator.kt:76 */
 1142   2127   
    }
        2128  +
    /* ServerOperationErrorGenerator.kt:75 */
 1143   2129   
}
        2130  +
/* ServerOperationErrorGenerator.kt:83 */
 1144   2131   
impl MalformedContentTypeWithPayloadError {
        2132  +
    /* ServerOperationErrorGenerator.kt:87 */
 1145   2133   
    /// Returns `true` if the error kind is `MalformedContentTypeWithPayloadError::InternalServerError`.
        2134  +
    /* ServerOperationErrorGenerator.kt:88 */
 1146   2135   
    pub fn is_internal_server_error(&self) -> bool {
        2136  +
        /* ServerOperationErrorGenerator.kt:89 */
 1147   2137   
        matches!(
 1148   2138   
            &self,
 1149   2139   
            MalformedContentTypeWithPayloadError::InternalServerError(_)
 1150   2140   
        )
        2141  +
        /* ServerOperationErrorGenerator.kt:88 */
 1151   2142   
    }
        2143  +
    /* ServerOperationErrorGenerator.kt:92 */
 1152   2144   
    /// Returns the error name string by matching the correct variant.
        2145  +
    /* ServerOperationErrorGenerator.kt:93 */
 1153   2146   
    pub fn name(&self) -> &'static str {
        2147  +
        /* ServerOperationErrorGenerator.kt:139 */
 1154   2148   
        match &self {
 1155         -
            MalformedContentTypeWithPayloadError::InternalServerError(_inner) => _inner.name(),
        2149  +
            /* ServerOperationErrorGenerator.kt:142 */
        2150  +
            MalformedContentTypeWithPayloadError::InternalServerError(_inner) =>
        2151  +
            /* ServerOperationErrorGenerator.kt:95 */
        2152  +
            {
        2153  +
                _inner.name()
        2154  +
            }
        2155  +
            /* ServerOperationErrorGenerator.kt:139 */
 1156   2156   
        }
        2157  +
        /* ServerOperationErrorGenerator.kt:93 */
 1157   2158   
    }
        2159  +
    /* ServerOperationErrorGenerator.kt:83 */
 1158   2160   
}
        2161  +
/* ServerOperationErrorGenerator.kt:100 */
 1159   2162   
impl ::std::error::Error for MalformedContentTypeWithPayloadError {
        2163  +
    /* ServerOperationErrorGenerator.kt:101 */
 1160   2164   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2165  +
        /* ServerOperationErrorGenerator.kt:139 */
 1161   2166   
        match &self {
 1162         -
            MalformedContentTypeWithPayloadError::InternalServerError(_inner) => Some(_inner),
        2167  +
            /* ServerOperationErrorGenerator.kt:142 */
        2168  +
            MalformedContentTypeWithPayloadError::InternalServerError(_inner) =>
        2169  +
            /* ServerOperationErrorGenerator.kt:103 */
        2170  +
            {
        2171  +
                Some(_inner)
        2172  +
            }
        2173  +
            /* ServerOperationErrorGenerator.kt:139 */
 1163   2174   
        }
        2175  +
        /* ServerOperationErrorGenerator.kt:101 */
 1164   2176   
    }
        2177  +
    /* ServerOperationErrorGenerator.kt:100 */
 1165   2178   
}
        2179  +
/* ServerOperationErrorGenerator.kt:110 */
 1166   2180   
impl ::std::convert::From<crate::error::InternalServerError>
 1167   2181   
    for crate::error::MalformedContentTypeWithPayloadError
 1168   2182   
{
        2183  +
    /* ServerOperationErrorGenerator.kt:111 */
 1169   2184   
    fn from(
 1170   2185   
        variant: crate::error::InternalServerError,
 1171   2186   
    ) -> crate::error::MalformedContentTypeWithPayloadError {
        2187  +
        /* ServerOperationErrorGenerator.kt:112 */
 1172   2188   
        Self::InternalServerError(variant)
        2189  +
        /* ServerOperationErrorGenerator.kt:111 */
 1173   2190   
    }
        2191  +
    /* ServerOperationErrorGenerator.kt:110 */
 1174   2192   
}
 1175   2193   
        2194  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1176   2195   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedContentTypeWithPayloadError {
 1177   2196   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedContentTypeWithPayloadError {
 1178   2197   
        ::pyo3::Python::with_gil(|py| {
 1179   2198   
            let error = variant.value(py);
 1180   2199   
 1181   2200   
            crate::error::InternalServerError {
 1182   2201   
                message: error.to_string(),
 1183   2202   
            }
 1184   2203   
            .into()
 1185   2204   
        })
 1186   2205   
    }
 1187   2206   
}
 1188   2207   
        2208  +
/* ServerOperationErrorGenerator.kt:63 */
 1189   2209   
/// Error type for the `MalformedContentTypeWithBody` operation.
        2210  +
/* ServerOperationErrorGenerator.kt:64 */
 1190   2211   
/// Each variant represents an error that can occur for the `MalformedContentTypeWithBody` operation.
        2212  +
/* RustType.kt:516 */
 1191   2213   
#[derive(::std::fmt::Debug)]
 1192         -
pub enum MalformedContentTypeWithBodyError {
        2214  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedContentTypeWithBodyError {
        2215  +
    /* ServerOperationErrorGenerator.kt:68 */
 1193   2216   
    #[allow(missing_docs)] // documentation missing in model
        2217  +
    /* ServerOperationErrorGenerator.kt:71 */
 1194   2218   
    InternalServerError(crate::error::InternalServerError),
        2219  +
    /* ServerOperationErrorGenerator.kt:66 */
 1195   2220   
}
        2221  +
/* ServerOperationErrorGenerator.kt:75 */
 1196   2222   
impl ::std::fmt::Display for MalformedContentTypeWithBodyError {
        2223  +
    /* ServerOperationErrorGenerator.kt:76 */
 1197   2224   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2225  +
        /* ServerOperationErrorGenerator.kt:139 */
 1198   2226   
        match &self {
 1199         -
            MalformedContentTypeWithBodyError::InternalServerError(_inner) => _inner.fmt(f),
        2227  +
            /* ServerOperationErrorGenerator.kt:142 */
        2228  +
            MalformedContentTypeWithBodyError::InternalServerError(_inner) =>
        2229  +
            /* ServerOperationErrorGenerator.kt:78 */
        2230  +
            {
        2231  +
                _inner.fmt(f)
        2232  +
            }
        2233  +
            /* ServerOperationErrorGenerator.kt:139 */
 1200   2234   
        }
        2235  +
        /* ServerOperationErrorGenerator.kt:76 */
 1201   2236   
    }
        2237  +
    /* ServerOperationErrorGenerator.kt:75 */
 1202   2238   
}
        2239  +
/* ServerOperationErrorGenerator.kt:83 */
 1203   2240   
impl MalformedContentTypeWithBodyError {
        2241  +
    /* ServerOperationErrorGenerator.kt:87 */
 1204   2242   
    /// Returns `true` if the error kind is `MalformedContentTypeWithBodyError::InternalServerError`.
        2243  +
    /* ServerOperationErrorGenerator.kt:88 */
 1205   2244   
    pub fn is_internal_server_error(&self) -> bool {
        2245  +
        /* ServerOperationErrorGenerator.kt:89 */
 1206   2246   
        matches!(
 1207   2247   
            &self,
 1208   2248   
            MalformedContentTypeWithBodyError::InternalServerError(_)
 1209   2249   
        )
        2250  +
        /* ServerOperationErrorGenerator.kt:88 */
 1210   2251   
    }
        2252  +
    /* ServerOperationErrorGenerator.kt:92 */
 1211   2253   
    /// Returns the error name string by matching the correct variant.
        2254  +
    /* ServerOperationErrorGenerator.kt:93 */
 1212   2255   
    pub fn name(&self) -> &'static str {
        2256  +
        /* ServerOperationErrorGenerator.kt:139 */
 1213   2257   
        match &self {
 1214         -
            MalformedContentTypeWithBodyError::InternalServerError(_inner) => _inner.name(),
        2258  +
            /* ServerOperationErrorGenerator.kt:142 */
        2259  +
            MalformedContentTypeWithBodyError::InternalServerError(_inner) =>
        2260  +
            /* ServerOperationErrorGenerator.kt:95 */
        2261  +
            {
        2262  +
                _inner.name()
        2263  +
            }
        2264  +
            /* ServerOperationErrorGenerator.kt:139 */
 1215   2265   
        }
        2266  +
        /* ServerOperationErrorGenerator.kt:93 */
 1216   2267   
    }
        2268  +
    /* ServerOperationErrorGenerator.kt:83 */
 1217   2269   
}
        2270  +
/* ServerOperationErrorGenerator.kt:100 */
 1218   2271   
impl ::std::error::Error for MalformedContentTypeWithBodyError {
        2272  +
    /* ServerOperationErrorGenerator.kt:101 */
 1219   2273   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2274  +
        /* ServerOperationErrorGenerator.kt:139 */
 1220   2275   
        match &self {
 1221         -
            MalformedContentTypeWithBodyError::InternalServerError(_inner) => Some(_inner),
        2276  +
            /* ServerOperationErrorGenerator.kt:142 */
        2277  +
            MalformedContentTypeWithBodyError::InternalServerError(_inner) =>
        2278  +
            /* ServerOperationErrorGenerator.kt:103 */
        2279  +
            {
        2280  +
                Some(_inner)
        2281  +
            }
        2282  +
            /* ServerOperationErrorGenerator.kt:139 */
 1222   2283   
        }
        2284  +
        /* ServerOperationErrorGenerator.kt:101 */
 1223   2285   
    }
        2286  +
    /* ServerOperationErrorGenerator.kt:100 */
 1224   2287   
}
        2288  +
/* ServerOperationErrorGenerator.kt:110 */
 1225   2289   
impl ::std::convert::From<crate::error::InternalServerError>
 1226   2290   
    for crate::error::MalformedContentTypeWithBodyError
 1227   2291   
{
        2292  +
    /* ServerOperationErrorGenerator.kt:111 */
 1228   2293   
    fn from(
 1229   2294   
        variant: crate::error::InternalServerError,
 1230   2295   
    ) -> crate::error::MalformedContentTypeWithBodyError {
        2296  +
        /* ServerOperationErrorGenerator.kt:112 */
 1231   2297   
        Self::InternalServerError(variant)
        2298  +
        /* ServerOperationErrorGenerator.kt:111 */
 1232   2299   
    }
        2300  +
    /* ServerOperationErrorGenerator.kt:110 */
 1233   2301   
}
 1234   2302   
        2303  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1235   2304   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedContentTypeWithBodyError {
 1236   2305   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedContentTypeWithBodyError {
 1237   2306   
        ::pyo3::Python::with_gil(|py| {
 1238   2307   
            let error = variant.value(py);
 1239   2308   
 1240   2309   
            crate::error::InternalServerError {
 1241   2310   
                message: error.to_string(),
 1242   2311   
            }
 1243   2312   
            .into()
 1244   2313   
        })
 1245   2314   
    }
 1246   2315   
}
 1247   2316   
        2317  +
/* ServerOperationErrorGenerator.kt:63 */
 1248   2318   
/// Error type for the `MalformedContentTypeWithoutBody` operation.
        2319  +
/* ServerOperationErrorGenerator.kt:64 */
 1249   2320   
/// Each variant represents an error that can occur for the `MalformedContentTypeWithoutBody` operation.
        2321  +
/* RustType.kt:516 */
 1250   2322   
#[derive(::std::fmt::Debug)]
 1251         -
pub enum MalformedContentTypeWithoutBodyError {
        2323  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedContentTypeWithoutBodyError {
        2324  +
    /* ServerOperationErrorGenerator.kt:68 */
 1252   2325   
    #[allow(missing_docs)] // documentation missing in model
        2326  +
    /* ServerOperationErrorGenerator.kt:71 */
 1253   2327   
    InternalServerError(crate::error::InternalServerError),
        2328  +
    /* ServerOperationErrorGenerator.kt:66 */
 1254   2329   
}
        2330  +
/* ServerOperationErrorGenerator.kt:75 */
 1255   2331   
impl ::std::fmt::Display for MalformedContentTypeWithoutBodyError {
        2332  +
    /* ServerOperationErrorGenerator.kt:76 */
 1256   2333   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2334  +
        /* ServerOperationErrorGenerator.kt:139 */
 1257   2335   
        match &self {
 1258         -
            MalformedContentTypeWithoutBodyError::InternalServerError(_inner) => _inner.fmt(f),
        2336  +
            /* ServerOperationErrorGenerator.kt:142 */
        2337  +
            MalformedContentTypeWithoutBodyError::InternalServerError(_inner) =>
        2338  +
            /* ServerOperationErrorGenerator.kt:78 */
        2339  +
            {
        2340  +
                _inner.fmt(f)
        2341  +
            }
        2342  +
            /* ServerOperationErrorGenerator.kt:139 */
 1259   2343   
        }
        2344  +
        /* ServerOperationErrorGenerator.kt:76 */
 1260   2345   
    }
        2346  +
    /* ServerOperationErrorGenerator.kt:75 */
 1261   2347   
}
        2348  +
/* ServerOperationErrorGenerator.kt:83 */
 1262   2349   
impl MalformedContentTypeWithoutBodyError {
        2350  +
    /* ServerOperationErrorGenerator.kt:87 */
 1263   2351   
    /// Returns `true` if the error kind is `MalformedContentTypeWithoutBodyError::InternalServerError`.
        2352  +
    /* ServerOperationErrorGenerator.kt:88 */
 1264   2353   
    pub fn is_internal_server_error(&self) -> bool {
        2354  +
        /* ServerOperationErrorGenerator.kt:89 */
 1265   2355   
        matches!(
 1266   2356   
            &self,
 1267   2357   
            MalformedContentTypeWithoutBodyError::InternalServerError(_)
 1268   2358   
        )
        2359  +
        /* ServerOperationErrorGenerator.kt:88 */
 1269   2360   
    }
        2361  +
    /* ServerOperationErrorGenerator.kt:92 */
 1270   2362   
    /// Returns the error name string by matching the correct variant.
        2363  +
    /* ServerOperationErrorGenerator.kt:93 */
 1271   2364   
    pub fn name(&self) -> &'static str {
        2365  +
        /* ServerOperationErrorGenerator.kt:139 */
 1272   2366   
        match &self {
 1273         -
            MalformedContentTypeWithoutBodyError::InternalServerError(_inner) => _inner.name(),
        2367  +
            /* ServerOperationErrorGenerator.kt:142 */
        2368  +
            MalformedContentTypeWithoutBodyError::InternalServerError(_inner) =>
        2369  +
            /* ServerOperationErrorGenerator.kt:95 */
        2370  +
            {
        2371  +
                _inner.name()
        2372  +
            }
        2373  +
            /* ServerOperationErrorGenerator.kt:139 */
 1274   2374   
        }
        2375  +
        /* ServerOperationErrorGenerator.kt:93 */
 1275   2376   
    }
        2377  +
    /* ServerOperationErrorGenerator.kt:83 */
 1276   2378   
}
        2379  +
/* ServerOperationErrorGenerator.kt:100 */
 1277   2380   
impl ::std::error::Error for MalformedContentTypeWithoutBodyError {
        2381  +
    /* ServerOperationErrorGenerator.kt:101 */
 1278   2382   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2383  +
        /* ServerOperationErrorGenerator.kt:139 */
 1279   2384   
        match &self {
 1280         -
            MalformedContentTypeWithoutBodyError::InternalServerError(_inner) => Some(_inner),
        2385  +
            /* ServerOperationErrorGenerator.kt:142 */
        2386  +
            MalformedContentTypeWithoutBodyError::InternalServerError(_inner) =>
        2387  +
            /* ServerOperationErrorGenerator.kt:103 */
        2388  +
            {
        2389  +
                Some(_inner)
        2390  +
            }
        2391  +
            /* ServerOperationErrorGenerator.kt:139 */
 1281   2392   
        }
        2393  +
        /* ServerOperationErrorGenerator.kt:101 */
 1282   2394   
    }
        2395  +
    /* ServerOperationErrorGenerator.kt:100 */
 1283   2396   
}
        2397  +
/* ServerOperationErrorGenerator.kt:110 */
 1284   2398   
impl ::std::convert::From<crate::error::InternalServerError>
 1285   2399   
    for crate::error::MalformedContentTypeWithoutBodyError
 1286   2400   
{
        2401  +
    /* ServerOperationErrorGenerator.kt:111 */
 1287   2402   
    fn from(
 1288   2403   
        variant: crate::error::InternalServerError,
 1289   2404   
    ) -> crate::error::MalformedContentTypeWithoutBodyError {
        2405  +
        /* ServerOperationErrorGenerator.kt:112 */
 1290   2406   
        Self::InternalServerError(variant)
        2407  +
        /* ServerOperationErrorGenerator.kt:111 */
 1291   2408   
    }
        2409  +
    /* ServerOperationErrorGenerator.kt:110 */
 1292   2410   
}
 1293   2411   
        2412  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1294   2413   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedContentTypeWithoutBodyError {
 1295   2414   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedContentTypeWithoutBodyError {
 1296   2415   
        ::pyo3::Python::with_gil(|py| {
 1297   2416   
            let error = variant.value(py);
 1298   2417   
 1299   2418   
            crate::error::InternalServerError {
 1300   2419   
                message: error.to_string(),
 1301   2420   
            }
 1302   2421   
            .into()
 1303   2422   
        })
 1304   2423   
    }
 1305   2424   
}
 1306   2425   
        2426  +
/* ServerOperationErrorGenerator.kt:63 */
 1307   2427   
/// Error type for the `MalformedTimestampBodyHttpDate` operation.
        2428  +
/* ServerOperationErrorGenerator.kt:64 */
 1308   2429   
/// Each variant represents an error that can occur for the `MalformedTimestampBodyHttpDate` operation.
        2430  +
/* RustType.kt:516 */
 1309   2431   
#[derive(::std::fmt::Debug)]
 1310         -
pub enum MalformedTimestampBodyHttpDateError {
 1311         -
    /// 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.
        2432  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampBodyHttpDateError {
        2433  +
    /// /* 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.
        2434  +
    /* ServerOperationErrorGenerator.kt:71 */
 1312   2435   
    ValidationException(crate::error::ValidationException),
        2436  +
    /* ServerOperationErrorGenerator.kt:68 */
 1313   2437   
    #[allow(missing_docs)] // documentation missing in model
        2438  +
    /* ServerOperationErrorGenerator.kt:71 */
 1314   2439   
    InternalServerError(crate::error::InternalServerError),
        2440  +
    /* ServerOperationErrorGenerator.kt:66 */
 1315   2441   
}
        2442  +
/* ServerOperationErrorGenerator.kt:75 */
 1316   2443   
impl ::std::fmt::Display for MalformedTimestampBodyHttpDateError {
        2444  +
    /* ServerOperationErrorGenerator.kt:76 */
 1317   2445   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2446  +
        /* ServerOperationErrorGenerator.kt:139 */
 1318   2447   
        match &self {
 1319         -
            MalformedTimestampBodyHttpDateError::ValidationException(_inner) => _inner.fmt(f),
 1320         -
            MalformedTimestampBodyHttpDateError::InternalServerError(_inner) => _inner.fmt(f),
        2448  +
            /* ServerOperationErrorGenerator.kt:142 */
        2449  +
            MalformedTimestampBodyHttpDateError::ValidationException(_inner) =>
        2450  +
            /* ServerOperationErrorGenerator.kt:78 */
        2451  +
            {
        2452  +
                _inner.fmt(f)
        2453  +
            }
        2454  +
            ,
        2455  +
            /* ServerOperationErrorGenerator.kt:142 */
        2456  +
            MalformedTimestampBodyHttpDateError::InternalServerError(_inner) =>
        2457  +
            /* ServerOperationErrorGenerator.kt:78 */
        2458  +
            {
        2459  +
                _inner.fmt(f)
        2460  +
            }
        2461  +
            /* ServerOperationErrorGenerator.kt:139 */
 1321   2462   
        }
        2463  +
        /* ServerOperationErrorGenerator.kt:76 */
 1322   2464   
    }
        2465  +
    /* ServerOperationErrorGenerator.kt:75 */
 1323   2466   
}
        2467  +
/* ServerOperationErrorGenerator.kt:83 */
 1324   2468   
impl MalformedTimestampBodyHttpDateError {
        2469  +
    /* ServerOperationErrorGenerator.kt:87 */
 1325   2470   
    /// Returns `true` if the error kind is `MalformedTimestampBodyHttpDateError::ValidationException`.
        2471  +
    /* ServerOperationErrorGenerator.kt:88 */
 1326   2472   
    pub fn is_validation_exception(&self) -> bool {
        2473  +
        /* ServerOperationErrorGenerator.kt:89 */
 1327   2474   
        matches!(
 1328   2475   
            &self,
 1329   2476   
            MalformedTimestampBodyHttpDateError::ValidationException(_)
 1330   2477   
        )
        2478  +
        /* ServerOperationErrorGenerator.kt:88 */
 1331   2479   
    }
        2480  +
    /* ServerOperationErrorGenerator.kt:87 */
 1332   2481   
    /// Returns `true` if the error kind is `MalformedTimestampBodyHttpDateError::InternalServerError`.
        2482  +
    /* ServerOperationErrorGenerator.kt:88 */
 1333   2483   
    pub fn is_internal_server_error(&self) -> bool {
        2484  +
        /* ServerOperationErrorGenerator.kt:89 */
 1334   2485   
        matches!(
 1335   2486   
            &self,
 1336   2487   
            MalformedTimestampBodyHttpDateError::InternalServerError(_)
 1337   2488   
        )
        2489  +
        /* ServerOperationErrorGenerator.kt:88 */
 1338   2490   
    }
        2491  +
    /* ServerOperationErrorGenerator.kt:92 */
 1339   2492   
    /// Returns the error name string by matching the correct variant.
        2493  +
    /* ServerOperationErrorGenerator.kt:93 */
 1340   2494   
    pub fn name(&self) -> &'static str {
        2495  +
        /* ServerOperationErrorGenerator.kt:139 */
 1341   2496   
        match &self {
 1342         -
            MalformedTimestampBodyHttpDateError::ValidationException(_inner) => _inner.name(),
 1343         -
            MalformedTimestampBodyHttpDateError::InternalServerError(_inner) => _inner.name(),
        2497  +
            /* ServerOperationErrorGenerator.kt:142 */
        2498  +
            MalformedTimestampBodyHttpDateError::ValidationException(_inner) =>
        2499  +
            /* ServerOperationErrorGenerator.kt:95 */
        2500  +
            {
        2501  +
                _inner.name()
        2502  +
            }
        2503  +
            ,
        2504  +
            /* ServerOperationErrorGenerator.kt:142 */
        2505  +
            MalformedTimestampBodyHttpDateError::InternalServerError(_inner) =>
        2506  +
            /* ServerOperationErrorGenerator.kt:95 */
        2507  +
            {
        2508  +
                _inner.name()
        2509  +
            }
        2510  +
            /* ServerOperationErrorGenerator.kt:139 */
 1344   2511   
        }
        2512  +
        /* ServerOperationErrorGenerator.kt:93 */
 1345   2513   
    }
        2514  +
    /* ServerOperationErrorGenerator.kt:83 */
 1346   2515   
}
        2516  +
/* ServerOperationErrorGenerator.kt:100 */
 1347   2517   
impl ::std::error::Error for MalformedTimestampBodyHttpDateError {
        2518  +
    /* ServerOperationErrorGenerator.kt:101 */
 1348   2519   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2520  +
        /* ServerOperationErrorGenerator.kt:139 */
 1349   2521   
        match &self {
 1350         -
            MalformedTimestampBodyHttpDateError::ValidationException(_inner) => Some(_inner),
 1351         -
            MalformedTimestampBodyHttpDateError::InternalServerError(_inner) => Some(_inner),
        2522  +
            /* ServerOperationErrorGenerator.kt:142 */
        2523  +
            MalformedTimestampBodyHttpDateError::ValidationException(_inner) =>
        2524  +
            /* ServerOperationErrorGenerator.kt:103 */
        2525  +
            {
        2526  +
                Some(_inner)
        2527  +
            }
        2528  +
            ,
        2529  +
            /* ServerOperationErrorGenerator.kt:142 */
        2530  +
            MalformedTimestampBodyHttpDateError::InternalServerError(_inner) =>
        2531  +
            /* ServerOperationErrorGenerator.kt:103 */
        2532  +
            {
        2533  +
                Some(_inner)
        2534  +
            }
        2535  +
            /* ServerOperationErrorGenerator.kt:139 */
 1352   2536   
        }
        2537  +
        /* ServerOperationErrorGenerator.kt:101 */
 1353   2538   
    }
        2539  +
    /* ServerOperationErrorGenerator.kt:100 */
 1354   2540   
}
        2541  +
/* ServerOperationErrorGenerator.kt:110 */
 1355   2542   
impl ::std::convert::From<crate::error::ValidationException>
 1356   2543   
    for crate::error::MalformedTimestampBodyHttpDateError
 1357   2544   
{
        2545  +
    /* ServerOperationErrorGenerator.kt:111 */
 1358   2546   
    fn from(
 1359   2547   
        variant: crate::error::ValidationException,
 1360   2548   
    ) -> crate::error::MalformedTimestampBodyHttpDateError {
        2549  +
        /* ServerOperationErrorGenerator.kt:112 */
 1361   2550   
        Self::ValidationException(variant)
        2551  +
        /* ServerOperationErrorGenerator.kt:111 */
 1362   2552   
    }
        2553  +
    /* ServerOperationErrorGenerator.kt:110 */
 1363   2554   
}
        2555  +
/* ServerOperationErrorGenerator.kt:110 */
 1364   2556   
impl ::std::convert::From<crate::error::InternalServerError>
 1365   2557   
    for crate::error::MalformedTimestampBodyHttpDateError
 1366   2558   
{
        2559  +
    /* ServerOperationErrorGenerator.kt:111 */
 1367   2560   
    fn from(
 1368   2561   
        variant: crate::error::InternalServerError,
 1369   2562   
    ) -> crate::error::MalformedTimestampBodyHttpDateError {
        2563  +
        /* ServerOperationErrorGenerator.kt:112 */
 1370   2564   
        Self::InternalServerError(variant)
        2565  +
        /* ServerOperationErrorGenerator.kt:111 */
 1371   2566   
    }
        2567  +
    /* ServerOperationErrorGenerator.kt:110 */
 1372   2568   
}
 1373   2569   
        2570  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1374   2571   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedTimestampBodyHttpDateError {
 1375   2572   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedTimestampBodyHttpDateError {
 1376   2573   
        ::pyo3::Python::with_gil(|py| {
 1377   2574   
            let error = variant.value(py);
 1378   2575   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1379   2576   
                return error.into();
 1380   2577   
            }
 1381   2578   
            crate::error::InternalServerError {
 1382   2579   
                message: error.to_string(),
 1383   2580   
            }
 1384   2581   
            .into()
 1385   2582   
        })
 1386   2583   
    }
 1387   2584   
}
 1388   2585   
        2586  +
/* ServerOperationErrorGenerator.kt:63 */
 1389   2587   
/// Error type for the `MalformedTimestampBodyDateTime` operation.
        2588  +
/* ServerOperationErrorGenerator.kt:64 */
 1390   2589   
/// Each variant represents an error that can occur for the `MalformedTimestampBodyDateTime` operation.
        2590  +
/* RustType.kt:516 */
 1391   2591   
#[derive(::std::fmt::Debug)]
 1392         -
pub enum MalformedTimestampBodyDateTimeError {
 1393         -
    /// 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.
        2592  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampBodyDateTimeError {
        2593  +
    /// /* 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.
        2594  +
    /* ServerOperationErrorGenerator.kt:71 */
 1394   2595   
    ValidationException(crate::error::ValidationException),
        2596  +
    /* ServerOperationErrorGenerator.kt:68 */
 1395   2597   
    #[allow(missing_docs)] // documentation missing in model
        2598  +
    /* ServerOperationErrorGenerator.kt:71 */
 1396   2599   
    InternalServerError(crate::error::InternalServerError),
        2600  +
    /* ServerOperationErrorGenerator.kt:66 */
 1397   2601   
}
        2602  +
/* ServerOperationErrorGenerator.kt:75 */
 1398   2603   
impl ::std::fmt::Display for MalformedTimestampBodyDateTimeError {
        2604  +
    /* ServerOperationErrorGenerator.kt:76 */
 1399   2605   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2606  +
        /* ServerOperationErrorGenerator.kt:139 */
 1400   2607   
        match &self {
 1401         -
            MalformedTimestampBodyDateTimeError::ValidationException(_inner) => _inner.fmt(f),
 1402         -
            MalformedTimestampBodyDateTimeError::InternalServerError(_inner) => _inner.fmt(f),
        2608  +
            /* ServerOperationErrorGenerator.kt:142 */
        2609  +
            MalformedTimestampBodyDateTimeError::ValidationException(_inner) =>
        2610  +
            /* ServerOperationErrorGenerator.kt:78 */
        2611  +
            {
        2612  +
                _inner.fmt(f)
        2613  +
            }
        2614  +
            ,
        2615  +
            /* ServerOperationErrorGenerator.kt:142 */
        2616  +
            MalformedTimestampBodyDateTimeError::InternalServerError(_inner) =>
        2617  +
            /* ServerOperationErrorGenerator.kt:78 */
        2618  +
            {
        2619  +
                _inner.fmt(f)
        2620  +
            }
        2621  +
            /* ServerOperationErrorGenerator.kt:139 */
 1403   2622   
        }
        2623  +
        /* ServerOperationErrorGenerator.kt:76 */
 1404   2624   
    }
        2625  +
    /* ServerOperationErrorGenerator.kt:75 */
 1405   2626   
}
        2627  +
/* ServerOperationErrorGenerator.kt:83 */
 1406   2628   
impl MalformedTimestampBodyDateTimeError {
        2629  +
    /* ServerOperationErrorGenerator.kt:87 */
 1407   2630   
    /// Returns `true` if the error kind is `MalformedTimestampBodyDateTimeError::ValidationException`.
        2631  +
    /* ServerOperationErrorGenerator.kt:88 */
 1408   2632   
    pub fn is_validation_exception(&self) -> bool {
        2633  +
        /* ServerOperationErrorGenerator.kt:89 */
 1409   2634   
        matches!(
 1410   2635   
            &self,
 1411   2636   
            MalformedTimestampBodyDateTimeError::ValidationException(_)
 1412   2637   
        )
        2638  +
        /* ServerOperationErrorGenerator.kt:88 */
 1413   2639   
    }
        2640  +
    /* ServerOperationErrorGenerator.kt:87 */
 1414   2641   
    /// Returns `true` if the error kind is `MalformedTimestampBodyDateTimeError::InternalServerError`.
        2642  +
    /* ServerOperationErrorGenerator.kt:88 */
 1415   2643   
    pub fn is_internal_server_error(&self) -> bool {
        2644  +
        /* ServerOperationErrorGenerator.kt:89 */
 1416   2645   
        matches!(
 1417   2646   
            &self,
 1418   2647   
            MalformedTimestampBodyDateTimeError::InternalServerError(_)
 1419   2648   
        )
        2649  +
        /* ServerOperationErrorGenerator.kt:88 */
 1420   2650   
    }
        2651  +
    /* ServerOperationErrorGenerator.kt:92 */
 1421   2652   
    /// Returns the error name string by matching the correct variant.
        2653  +
    /* ServerOperationErrorGenerator.kt:93 */
 1422   2654   
    pub fn name(&self) -> &'static str {
        2655  +
        /* ServerOperationErrorGenerator.kt:139 */
 1423   2656   
        match &self {
 1424         -
            MalformedTimestampBodyDateTimeError::ValidationException(_inner) => _inner.name(),
 1425         -
            MalformedTimestampBodyDateTimeError::InternalServerError(_inner) => _inner.name(),
        2657  +
            /* ServerOperationErrorGenerator.kt:142 */
        2658  +
            MalformedTimestampBodyDateTimeError::ValidationException(_inner) =>
        2659  +
            /* ServerOperationErrorGenerator.kt:95 */
        2660  +
            {
        2661  +
                _inner.name()
        2662  +
            }
        2663  +
            ,
        2664  +
            /* ServerOperationErrorGenerator.kt:142 */
        2665  +
            MalformedTimestampBodyDateTimeError::InternalServerError(_inner) =>
        2666  +
            /* ServerOperationErrorGenerator.kt:95 */
        2667  +
            {
        2668  +
                _inner.name()
        2669  +
            }
        2670  +
            /* ServerOperationErrorGenerator.kt:139 */
 1426   2671   
        }
        2672  +
        /* ServerOperationErrorGenerator.kt:93 */
 1427   2673   
    }
        2674  +
    /* ServerOperationErrorGenerator.kt:83 */
 1428   2675   
}
        2676  +
/* ServerOperationErrorGenerator.kt:100 */
 1429   2677   
impl ::std::error::Error for MalformedTimestampBodyDateTimeError {
        2678  +
    /* ServerOperationErrorGenerator.kt:101 */
 1430   2679   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2680  +
        /* ServerOperationErrorGenerator.kt:139 */
 1431   2681   
        match &self {
 1432         -
            MalformedTimestampBodyDateTimeError::ValidationException(_inner) => Some(_inner),
 1433         -
            MalformedTimestampBodyDateTimeError::InternalServerError(_inner) => Some(_inner),
        2682  +
            /* ServerOperationErrorGenerator.kt:142 */
        2683  +
            MalformedTimestampBodyDateTimeError::ValidationException(_inner) =>
        2684  +
            /* ServerOperationErrorGenerator.kt:103 */
        2685  +
            {
        2686  +
                Some(_inner)
        2687  +
            }
        2688  +
            ,
        2689  +
            /* ServerOperationErrorGenerator.kt:142 */
        2690  +
            MalformedTimestampBodyDateTimeError::InternalServerError(_inner) =>
        2691  +
            /* ServerOperationErrorGenerator.kt:103 */
        2692  +
            {
        2693  +
                Some(_inner)
        2694  +
            }
        2695  +
            /* ServerOperationErrorGenerator.kt:139 */
 1434   2696   
        }
        2697  +
        /* ServerOperationErrorGenerator.kt:101 */
 1435   2698   
    }
        2699  +
    /* ServerOperationErrorGenerator.kt:100 */
 1436   2700   
}
        2701  +
/* ServerOperationErrorGenerator.kt:110 */
 1437   2702   
impl ::std::convert::From<crate::error::ValidationException>
 1438   2703   
    for crate::error::MalformedTimestampBodyDateTimeError
 1439   2704   
{
        2705  +
    /* ServerOperationErrorGenerator.kt:111 */
 1440   2706   
    fn from(
 1441   2707   
        variant: crate::error::ValidationException,
 1442   2708   
    ) -> crate::error::MalformedTimestampBodyDateTimeError {
        2709  +
        /* ServerOperationErrorGenerator.kt:112 */
 1443   2710   
        Self::ValidationException(variant)
        2711  +
        /* ServerOperationErrorGenerator.kt:111 */
 1444   2712   
    }
        2713  +
    /* ServerOperationErrorGenerator.kt:110 */
 1445   2714   
}
        2715  +
/* ServerOperationErrorGenerator.kt:110 */
 1446   2716   
impl ::std::convert::From<crate::error::InternalServerError>
 1447   2717   
    for crate::error::MalformedTimestampBodyDateTimeError
 1448   2718   
{
        2719  +
    /* ServerOperationErrorGenerator.kt:111 */
 1449   2720   
    fn from(
 1450   2721   
        variant: crate::error::InternalServerError,
 1451   2722   
    ) -> crate::error::MalformedTimestampBodyDateTimeError {
        2723  +
        /* ServerOperationErrorGenerator.kt:112 */
 1452   2724   
        Self::InternalServerError(variant)
        2725  +
        /* ServerOperationErrorGenerator.kt:111 */
 1453   2726   
    }
        2727  +
    /* ServerOperationErrorGenerator.kt:110 */
 1454   2728   
}
 1455   2729   
        2730  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1456   2731   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedTimestampBodyDateTimeError {
 1457   2732   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedTimestampBodyDateTimeError {
 1458   2733   
        ::pyo3::Python::with_gil(|py| {
 1459   2734   
            let error = variant.value(py);
 1460   2735   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1461   2736   
                return error.into();
 1462   2737   
            }
 1463   2738   
            crate::error::InternalServerError {
 1464   2739   
                message: error.to_string(),
 1465   2740   
            }
 1466   2741   
            .into()
 1467   2742   
        })
 1468   2743   
    }
 1469   2744   
}
 1470   2745   
        2746  +
/* ServerOperationErrorGenerator.kt:63 */
 1471   2747   
/// Error type for the `MalformedTimestampBodyDefault` operation.
        2748  +
/* ServerOperationErrorGenerator.kt:64 */
 1472   2749   
/// Each variant represents an error that can occur for the `MalformedTimestampBodyDefault` operation.
        2750  +
/* RustType.kt:516 */
 1473   2751   
#[derive(::std::fmt::Debug)]
 1474         -
pub enum MalformedTimestampBodyDefaultError {
 1475         -
    /// 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.
        2752  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampBodyDefaultError {
        2753  +
    /// /* 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.
        2754  +
    /* ServerOperationErrorGenerator.kt:71 */
 1476   2755   
    ValidationException(crate::error::ValidationException),
        2756  +
    /* ServerOperationErrorGenerator.kt:68 */
 1477   2757   
    #[allow(missing_docs)] // documentation missing in model
        2758  +
    /* ServerOperationErrorGenerator.kt:71 */
 1478   2759   
    InternalServerError(crate::error::InternalServerError),
        2760  +
    /* ServerOperationErrorGenerator.kt:66 */
 1479   2761   
}
        2762  +
/* ServerOperationErrorGenerator.kt:75 */
 1480   2763   
impl ::std::fmt::Display for MalformedTimestampBodyDefaultError {
        2764  +
    /* ServerOperationErrorGenerator.kt:76 */
 1481   2765   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2766  +
        /* ServerOperationErrorGenerator.kt:139 */
 1482   2767   
        match &self {
 1483         -
            MalformedTimestampBodyDefaultError::ValidationException(_inner) => _inner.fmt(f),
 1484         -
            MalformedTimestampBodyDefaultError::InternalServerError(_inner) => _inner.fmt(f),
        2768  +
            /* ServerOperationErrorGenerator.kt:142 */
        2769  +
            MalformedTimestampBodyDefaultError::ValidationException(_inner) =>
        2770  +
            /* ServerOperationErrorGenerator.kt:78 */
        2771  +
            {
        2772  +
                _inner.fmt(f)
        2773  +
            }
        2774  +
            ,
        2775  +
            /* ServerOperationErrorGenerator.kt:142 */
        2776  +
            MalformedTimestampBodyDefaultError::InternalServerError(_inner) =>
        2777  +
            /* ServerOperationErrorGenerator.kt:78 */
        2778  +
            {
        2779  +
                _inner.fmt(f)
        2780  +
            }
        2781  +
            /* ServerOperationErrorGenerator.kt:139 */
 1485   2782   
        }
        2783  +
        /* ServerOperationErrorGenerator.kt:76 */
 1486   2784   
    }
        2785  +
    /* ServerOperationErrorGenerator.kt:75 */
 1487   2786   
}
        2787  +
/* ServerOperationErrorGenerator.kt:83 */
 1488   2788   
impl MalformedTimestampBodyDefaultError {
        2789  +
    /* ServerOperationErrorGenerator.kt:87 */
 1489   2790   
    /// Returns `true` if the error kind is `MalformedTimestampBodyDefaultError::ValidationException`.
        2791  +
    /* ServerOperationErrorGenerator.kt:88 */
 1490   2792   
    pub fn is_validation_exception(&self) -> bool {
        2793  +
        /* ServerOperationErrorGenerator.kt:89 */
 1491   2794   
        matches!(
 1492   2795   
            &self,
 1493   2796   
            MalformedTimestampBodyDefaultError::ValidationException(_)
 1494   2797   
        )
        2798  +
        /* ServerOperationErrorGenerator.kt:88 */
 1495   2799   
    }
        2800  +
    /* ServerOperationErrorGenerator.kt:87 */
 1496   2801   
    /// Returns `true` if the error kind is `MalformedTimestampBodyDefaultError::InternalServerError`.
        2802  +
    /* ServerOperationErrorGenerator.kt:88 */
 1497   2803   
    pub fn is_internal_server_error(&self) -> bool {
        2804  +
        /* ServerOperationErrorGenerator.kt:89 */
 1498   2805   
        matches!(
 1499   2806   
            &self,
 1500   2807   
            MalformedTimestampBodyDefaultError::InternalServerError(_)
 1501   2808   
        )
        2809  +
        /* ServerOperationErrorGenerator.kt:88 */
 1502   2810   
    }
        2811  +
    /* ServerOperationErrorGenerator.kt:92 */
 1503   2812   
    /// Returns the error name string by matching the correct variant.
        2813  +
    /* ServerOperationErrorGenerator.kt:93 */
 1504   2814   
    pub fn name(&self) -> &'static str {
        2815  +
        /* ServerOperationErrorGenerator.kt:139 */
 1505   2816   
        match &self {
 1506         -
            MalformedTimestampBodyDefaultError::ValidationException(_inner) => _inner.name(),
 1507         -
            MalformedTimestampBodyDefaultError::InternalServerError(_inner) => _inner.name(),
        2817  +
            /* ServerOperationErrorGenerator.kt:142 */
        2818  +
            MalformedTimestampBodyDefaultError::ValidationException(_inner) =>
        2819  +
            /* ServerOperationErrorGenerator.kt:95 */
        2820  +
            {
        2821  +
                _inner.name()
        2822  +
            }
        2823  +
            ,
        2824  +
            /* ServerOperationErrorGenerator.kt:142 */
        2825  +
            MalformedTimestampBodyDefaultError::InternalServerError(_inner) =>
        2826  +
            /* ServerOperationErrorGenerator.kt:95 */
        2827  +
            {
        2828  +
                _inner.name()
        2829  +
            }
        2830  +
            /* ServerOperationErrorGenerator.kt:139 */
 1508   2831   
        }
        2832  +
        /* ServerOperationErrorGenerator.kt:93 */
 1509   2833   
    }
        2834  +
    /* ServerOperationErrorGenerator.kt:83 */
 1510   2835   
}
        2836  +
/* ServerOperationErrorGenerator.kt:100 */
 1511   2837   
impl ::std::error::Error for MalformedTimestampBodyDefaultError {
        2838  +
    /* ServerOperationErrorGenerator.kt:101 */
 1512   2839   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2840  +
        /* ServerOperationErrorGenerator.kt:139 */
 1513   2841   
        match &self {
 1514         -
            MalformedTimestampBodyDefaultError::ValidationException(_inner) => Some(_inner),
 1515         -
            MalformedTimestampBodyDefaultError::InternalServerError(_inner) => Some(_inner),
        2842  +
            /* ServerOperationErrorGenerator.kt:142 */
        2843  +
            MalformedTimestampBodyDefaultError::ValidationException(_inner) =>
        2844  +
            /* ServerOperationErrorGenerator.kt:103 */
        2845  +
            {
        2846  +
                Some(_inner)
        2847  +
            }
        2848  +
            ,
        2849  +
            /* ServerOperationErrorGenerator.kt:142 */
        2850  +
            MalformedTimestampBodyDefaultError::InternalServerError(_inner) =>
        2851  +
            /* ServerOperationErrorGenerator.kt:103 */
        2852  +
            {
        2853  +
                Some(_inner)
        2854  +
            }
        2855  +
            /* ServerOperationErrorGenerator.kt:139 */
 1516   2856   
        }
        2857  +
        /* ServerOperationErrorGenerator.kt:101 */
 1517   2858   
    }
        2859  +
    /* ServerOperationErrorGenerator.kt:100 */
 1518   2860   
}
        2861  +
/* ServerOperationErrorGenerator.kt:110 */
 1519   2862   
impl ::std::convert::From<crate::error::ValidationException>
 1520   2863   
    for crate::error::MalformedTimestampBodyDefaultError
 1521   2864   
{
        2865  +
    /* ServerOperationErrorGenerator.kt:111 */
 1522   2866   
    fn from(
 1523   2867   
        variant: crate::error::ValidationException,
 1524   2868   
    ) -> crate::error::MalformedTimestampBodyDefaultError {
        2869  +
        /* ServerOperationErrorGenerator.kt:112 */
 1525   2870   
        Self::ValidationException(variant)
        2871  +
        /* ServerOperationErrorGenerator.kt:111 */
 1526   2872   
    }
        2873  +
    /* ServerOperationErrorGenerator.kt:110 */
 1527   2874   
}
        2875  +
/* ServerOperationErrorGenerator.kt:110 */
 1528   2876   
impl ::std::convert::From<crate::error::InternalServerError>
 1529   2877   
    for crate::error::MalformedTimestampBodyDefaultError
 1530   2878   
{
        2879  +
    /* ServerOperationErrorGenerator.kt:111 */
 1531   2880   
    fn from(
 1532   2881   
        variant: crate::error::InternalServerError,
 1533   2882   
    ) -> crate::error::MalformedTimestampBodyDefaultError {
        2883  +
        /* ServerOperationErrorGenerator.kt:112 */
 1534   2884   
        Self::InternalServerError(variant)
        2885  +
        /* ServerOperationErrorGenerator.kt:111 */
 1535   2886   
    }
        2887  +
    /* ServerOperationErrorGenerator.kt:110 */
 1536   2888   
}
 1537   2889   
        2890  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1538   2891   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedTimestampBodyDefaultError {
 1539   2892   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedTimestampBodyDefaultError {
 1540   2893   
        ::pyo3::Python::with_gil(|py| {
 1541   2894   
            let error = variant.value(py);
 1542   2895   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1543   2896   
                return error.into();
 1544   2897   
            }
 1545   2898   
            crate::error::InternalServerError {
 1546   2899   
                message: error.to_string(),
 1547   2900   
            }
 1548   2901   
            .into()
 1549   2902   
        })
 1550   2903   
    }
 1551   2904   
}
 1552   2905   
        2906  +
/* ServerOperationErrorGenerator.kt:63 */
 1553   2907   
/// Error type for the `MalformedTimestampHeaderEpoch` operation.
        2908  +
/* ServerOperationErrorGenerator.kt:64 */
 1554   2909   
/// Each variant represents an error that can occur for the `MalformedTimestampHeaderEpoch` operation.
        2910  +
/* RustType.kt:516 */
 1555   2911   
#[derive(::std::fmt::Debug)]
 1556         -
pub enum MalformedTimestampHeaderEpochError {
 1557         -
    /// 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.
        2912  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampHeaderEpochError {
        2913  +
    /// /* 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.
        2914  +
    /* ServerOperationErrorGenerator.kt:71 */
 1558   2915   
    ValidationException(crate::error::ValidationException),
        2916  +
    /* ServerOperationErrorGenerator.kt:68 */
 1559   2917   
    #[allow(missing_docs)] // documentation missing in model
        2918  +
    /* ServerOperationErrorGenerator.kt:71 */
 1560   2919   
    InternalServerError(crate::error::InternalServerError),
        2920  +
    /* ServerOperationErrorGenerator.kt:66 */
 1561   2921   
}
        2922  +
/* ServerOperationErrorGenerator.kt:75 */
 1562   2923   
impl ::std::fmt::Display for MalformedTimestampHeaderEpochError {
        2924  +
    /* ServerOperationErrorGenerator.kt:76 */
 1563   2925   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2926  +
        /* ServerOperationErrorGenerator.kt:139 */
 1564   2927   
        match &self {
 1565         -
            MalformedTimestampHeaderEpochError::ValidationException(_inner) => _inner.fmt(f),
 1566         -
            MalformedTimestampHeaderEpochError::InternalServerError(_inner) => _inner.fmt(f),
        2928  +
            /* ServerOperationErrorGenerator.kt:142 */
        2929  +
            MalformedTimestampHeaderEpochError::ValidationException(_inner) =>
        2930  +
            /* ServerOperationErrorGenerator.kt:78 */
        2931  +
            {
        2932  +
                _inner.fmt(f)
        2933  +
            }
        2934  +
            ,
        2935  +
            /* ServerOperationErrorGenerator.kt:142 */
        2936  +
            MalformedTimestampHeaderEpochError::InternalServerError(_inner) =>
        2937  +
            /* ServerOperationErrorGenerator.kt:78 */
        2938  +
            {
        2939  +
                _inner.fmt(f)
        2940  +
            }
        2941  +
            /* ServerOperationErrorGenerator.kt:139 */
 1567   2942   
        }
        2943  +
        /* ServerOperationErrorGenerator.kt:76 */
 1568   2944   
    }
        2945  +
    /* ServerOperationErrorGenerator.kt:75 */
 1569   2946   
}
        2947  +
/* ServerOperationErrorGenerator.kt:83 */
 1570   2948   
impl MalformedTimestampHeaderEpochError {
        2949  +
    /* ServerOperationErrorGenerator.kt:87 */
 1571   2950   
    /// Returns `true` if the error kind is `MalformedTimestampHeaderEpochError::ValidationException`.
        2951  +
    /* ServerOperationErrorGenerator.kt:88 */
 1572   2952   
    pub fn is_validation_exception(&self) -> bool {
        2953  +
        /* ServerOperationErrorGenerator.kt:89 */
 1573   2954   
        matches!(
 1574   2955   
            &self,
 1575   2956   
            MalformedTimestampHeaderEpochError::ValidationException(_)
 1576   2957   
        )
        2958  +
        /* ServerOperationErrorGenerator.kt:88 */
 1577   2959   
    }
        2960  +
    /* ServerOperationErrorGenerator.kt:87 */
 1578   2961   
    /// Returns `true` if the error kind is `MalformedTimestampHeaderEpochError::InternalServerError`.
        2962  +
    /* ServerOperationErrorGenerator.kt:88 */
 1579   2963   
    pub fn is_internal_server_error(&self) -> bool {
        2964  +
        /* ServerOperationErrorGenerator.kt:89 */
 1580   2965   
        matches!(
 1581   2966   
            &self,
 1582   2967   
            MalformedTimestampHeaderEpochError::InternalServerError(_)
 1583   2968   
        )
        2969  +
        /* ServerOperationErrorGenerator.kt:88 */
 1584   2970   
    }
        2971  +
    /* ServerOperationErrorGenerator.kt:92 */
 1585   2972   
    /// Returns the error name string by matching the correct variant.
        2973  +
    /* ServerOperationErrorGenerator.kt:93 */
 1586   2974   
    pub fn name(&self) -> &'static str {
        2975  +
        /* ServerOperationErrorGenerator.kt:139 */
 1587   2976   
        match &self {
 1588         -
            MalformedTimestampHeaderEpochError::ValidationException(_inner) => _inner.name(),
 1589         -
            MalformedTimestampHeaderEpochError::InternalServerError(_inner) => _inner.name(),
 1590         -
        }
 1591         -
    }
        2977  +
            /* ServerOperationErrorGenerator.kt:142 */
        2978  +
            MalformedTimestampHeaderEpochError::ValidationException(_inner) =>
        2979  +
            /* ServerOperationErrorGenerator.kt:95 */
        2980  +
            {
        2981  +
                _inner.name()
        2982  +
            }
        2983  +
            ,
        2984  +
            /* ServerOperationErrorGenerator.kt:142 */
        2985  +
            MalformedTimestampHeaderEpochError::InternalServerError(_inner) =>
        2986  +
            /* ServerOperationErrorGenerator.kt:95 */
        2987  +
            {
        2988  +
                _inner.name()
        2989  +
            }
        2990  +
            /* ServerOperationErrorGenerator.kt:139 */
        2991  +
        }
        2992  +
        /* ServerOperationErrorGenerator.kt:93 */
        2993  +
    }
        2994  +
    /* ServerOperationErrorGenerator.kt:83 */
 1592   2995   
}
        2996  +
/* ServerOperationErrorGenerator.kt:100 */
 1593   2997   
impl ::std::error::Error for MalformedTimestampHeaderEpochError {
        2998  +
    /* ServerOperationErrorGenerator.kt:101 */
 1594   2999   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3000  +
        /* ServerOperationErrorGenerator.kt:139 */
 1595   3001   
        match &self {
 1596         -
            MalformedTimestampHeaderEpochError::ValidationException(_inner) => Some(_inner),
 1597         -
            MalformedTimestampHeaderEpochError::InternalServerError(_inner) => Some(_inner),
        3002  +
            /* ServerOperationErrorGenerator.kt:142 */
        3003  +
            MalformedTimestampHeaderEpochError::ValidationException(_inner) =>
        3004  +
            /* ServerOperationErrorGenerator.kt:103 */
        3005  +
            {
        3006  +
                Some(_inner)
        3007  +
            }
        3008  +
            ,
        3009  +
            /* ServerOperationErrorGenerator.kt:142 */
        3010  +
            MalformedTimestampHeaderEpochError::InternalServerError(_inner) =>
        3011  +
            /* ServerOperationErrorGenerator.kt:103 */
        3012  +
            {
        3013  +
                Some(_inner)
        3014  +
            }
        3015  +
            /* ServerOperationErrorGenerator.kt:139 */
 1598   3016   
        }
        3017  +
        /* ServerOperationErrorGenerator.kt:101 */
 1599   3018   
    }
        3019  +
    /* ServerOperationErrorGenerator.kt:100 */
 1600   3020   
}
        3021  +
/* ServerOperationErrorGenerator.kt:110 */
 1601   3022   
impl ::std::convert::From<crate::error::ValidationException>
 1602   3023   
    for crate::error::MalformedTimestampHeaderEpochError
 1603   3024   
{
        3025  +
    /* ServerOperationErrorGenerator.kt:111 */
 1604   3026   
    fn from(
 1605   3027   
        variant: crate::error::ValidationException,
 1606   3028   
    ) -> crate::error::MalformedTimestampHeaderEpochError {
        3029  +
        /* ServerOperationErrorGenerator.kt:112 */
 1607   3030   
        Self::ValidationException(variant)
        3031  +
        /* ServerOperationErrorGenerator.kt:111 */
 1608   3032   
    }
        3033  +
    /* ServerOperationErrorGenerator.kt:110 */
 1609   3034   
}
        3035  +
/* ServerOperationErrorGenerator.kt:110 */
 1610   3036   
impl ::std::convert::From<crate::error::InternalServerError>
 1611   3037   
    for crate::error::MalformedTimestampHeaderEpochError
 1612   3038   
{
        3039  +
    /* ServerOperationErrorGenerator.kt:111 */
 1613   3040   
    fn from(
 1614   3041   
        variant: crate::error::InternalServerError,
 1615   3042   
    ) -> crate::error::MalformedTimestampHeaderEpochError {
        3043  +
        /* ServerOperationErrorGenerator.kt:112 */
 1616   3044   
        Self::InternalServerError(variant)
        3045  +
        /* ServerOperationErrorGenerator.kt:111 */
 1617   3046   
    }
        3047  +
    /* ServerOperationErrorGenerator.kt:110 */
 1618   3048   
}
 1619   3049   
        3050  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1620   3051   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedTimestampHeaderEpochError {
 1621   3052   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedTimestampHeaderEpochError {
 1622   3053   
        ::pyo3::Python::with_gil(|py| {
 1623   3054   
            let error = variant.value(py);
 1624   3055   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1625   3056   
                return error.into();
 1626   3057   
            }
 1627   3058   
            crate::error::InternalServerError {
 1628   3059   
                message: error.to_string(),
 1629   3060   
            }
 1630   3061   
            .into()
 1631   3062   
        })
 1632   3063   
    }
 1633   3064   
}
 1634   3065   
        3066  +
/* ServerOperationErrorGenerator.kt:63 */
 1635   3067   
/// Error type for the `MalformedTimestampHeaderDateTime` operation.
        3068  +
/* ServerOperationErrorGenerator.kt:64 */
 1636   3069   
/// Each variant represents an error that can occur for the `MalformedTimestampHeaderDateTime` operation.
        3070  +
/* RustType.kt:516 */
 1637   3071   
#[derive(::std::fmt::Debug)]
 1638         -
pub enum MalformedTimestampHeaderDateTimeError {
 1639         -
    /// 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.
        3072  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampHeaderDateTimeError {
        3073  +
    /// /* 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.
        3074  +
    /* ServerOperationErrorGenerator.kt:71 */
 1640   3075   
    ValidationException(crate::error::ValidationException),
        3076  +
    /* ServerOperationErrorGenerator.kt:68 */
 1641   3077   
    #[allow(missing_docs)] // documentation missing in model
        3078  +
    /* ServerOperationErrorGenerator.kt:71 */
 1642   3079   
    InternalServerError(crate::error::InternalServerError),
        3080  +
    /* ServerOperationErrorGenerator.kt:66 */
 1643   3081   
}
        3082  +
/* ServerOperationErrorGenerator.kt:75 */
 1644   3083   
impl ::std::fmt::Display for MalformedTimestampHeaderDateTimeError {
        3084  +
    /* ServerOperationErrorGenerator.kt:76 */
 1645   3085   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3086  +
        /* ServerOperationErrorGenerator.kt:139 */
 1646   3087   
        match &self {
 1647         -
            MalformedTimestampHeaderDateTimeError::ValidationException(_inner) => _inner.fmt(f),
 1648         -
            MalformedTimestampHeaderDateTimeError::InternalServerError(_inner) => _inner.fmt(f),
        3088  +
            /* ServerOperationErrorGenerator.kt:142 */
        3089  +
            MalformedTimestampHeaderDateTimeError::ValidationException(_inner) =>
        3090  +
            /* ServerOperationErrorGenerator.kt:78 */
        3091  +
            {
        3092  +
                _inner.fmt(f)
        3093  +
            }
        3094  +
            ,
        3095  +
            /* ServerOperationErrorGenerator.kt:142 */
        3096  +
            MalformedTimestampHeaderDateTimeError::InternalServerError(_inner) =>
        3097  +
            /* ServerOperationErrorGenerator.kt:78 */
        3098  +
            {
        3099  +
                _inner.fmt(f)
        3100  +
            }
        3101  +
            /* ServerOperationErrorGenerator.kt:139 */
 1649   3102   
        }
        3103  +
        /* ServerOperationErrorGenerator.kt:76 */
 1650   3104   
    }
        3105  +
    /* ServerOperationErrorGenerator.kt:75 */
 1651   3106   
}
        3107  +
/* ServerOperationErrorGenerator.kt:83 */
 1652   3108   
impl MalformedTimestampHeaderDateTimeError {
        3109  +
    /* ServerOperationErrorGenerator.kt:87 */
 1653   3110   
    /// Returns `true` if the error kind is `MalformedTimestampHeaderDateTimeError::ValidationException`.
        3111  +
    /* ServerOperationErrorGenerator.kt:88 */
 1654   3112   
    pub fn is_validation_exception(&self) -> bool {
        3113  +
        /* ServerOperationErrorGenerator.kt:89 */
 1655   3114   
        matches!(
 1656   3115   
            &self,
 1657   3116   
            MalformedTimestampHeaderDateTimeError::ValidationException(_)
 1658   3117   
        )
        3118  +
        /* ServerOperationErrorGenerator.kt:88 */
 1659   3119   
    }
        3120  +
    /* ServerOperationErrorGenerator.kt:87 */
 1660   3121   
    /// Returns `true` if the error kind is `MalformedTimestampHeaderDateTimeError::InternalServerError`.
        3122  +
    /* ServerOperationErrorGenerator.kt:88 */
 1661   3123   
    pub fn is_internal_server_error(&self) -> bool {
        3124  +
        /* ServerOperationErrorGenerator.kt:89 */
 1662   3125   
        matches!(
 1663   3126   
            &self,
 1664   3127   
            MalformedTimestampHeaderDateTimeError::InternalServerError(_)
 1665   3128   
        )
        3129  +
        /* ServerOperationErrorGenerator.kt:88 */
 1666   3130   
    }
        3131  +
    /* ServerOperationErrorGenerator.kt:92 */
 1667   3132   
    /// Returns the error name string by matching the correct variant.
        3133  +
    /* ServerOperationErrorGenerator.kt:93 */
 1668   3134   
    pub fn name(&self) -> &'static str {
        3135  +
        /* ServerOperationErrorGenerator.kt:139 */
 1669   3136   
        match &self {
 1670         -
            MalformedTimestampHeaderDateTimeError::ValidationException(_inner) => _inner.name(),
 1671         -
            MalformedTimestampHeaderDateTimeError::InternalServerError(_inner) => _inner.name(),
        3137  +
            /* ServerOperationErrorGenerator.kt:142 */
        3138  +
            MalformedTimestampHeaderDateTimeError::ValidationException(_inner) =>
        3139  +
            /* ServerOperationErrorGenerator.kt:95 */
        3140  +
            {
        3141  +
                _inner.name()
        3142  +
            }
        3143  +
            ,
        3144  +
            /* ServerOperationErrorGenerator.kt:142 */
        3145  +
            MalformedTimestampHeaderDateTimeError::InternalServerError(_inner) =>
        3146  +
            /* ServerOperationErrorGenerator.kt:95 */
        3147  +
            {
        3148  +
                _inner.name()
        3149  +
            }
        3150  +
            /* ServerOperationErrorGenerator.kt:139 */
 1672   3151   
        }
        3152  +
        /* ServerOperationErrorGenerator.kt:93 */
 1673   3153   
    }
        3154  +
    /* ServerOperationErrorGenerator.kt:83 */
 1674   3155   
}
        3156  +
/* ServerOperationErrorGenerator.kt:100 */
 1675   3157   
impl ::std::error::Error for MalformedTimestampHeaderDateTimeError {
        3158  +
    /* ServerOperationErrorGenerator.kt:101 */
 1676   3159   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3160  +
        /* ServerOperationErrorGenerator.kt:139 */
 1677   3161   
        match &self {
 1678         -
            MalformedTimestampHeaderDateTimeError::ValidationException(_inner) => Some(_inner),
 1679         -
            MalformedTimestampHeaderDateTimeError::InternalServerError(_inner) => Some(_inner),
        3162  +
            /* ServerOperationErrorGenerator.kt:142 */
        3163  +
            MalformedTimestampHeaderDateTimeError::ValidationException(_inner) =>
        3164  +
            /* ServerOperationErrorGenerator.kt:103 */
        3165  +
            {
        3166  +
                Some(_inner)
        3167  +
            }
        3168  +
            ,
        3169  +
            /* ServerOperationErrorGenerator.kt:142 */
        3170  +
            MalformedTimestampHeaderDateTimeError::InternalServerError(_inner) =>
        3171  +
            /* ServerOperationErrorGenerator.kt:103 */
        3172  +
            {
        3173  +
                Some(_inner)
        3174  +
            }
        3175  +
            /* ServerOperationErrorGenerator.kt:139 */
 1680   3176   
        }
        3177  +
        /* ServerOperationErrorGenerator.kt:101 */
 1681   3178   
    }
        3179  +
    /* ServerOperationErrorGenerator.kt:100 */
 1682   3180   
}
        3181  +
/* ServerOperationErrorGenerator.kt:110 */
 1683   3182   
impl ::std::convert::From<crate::error::ValidationException>
 1684   3183   
    for crate::error::MalformedTimestampHeaderDateTimeError
 1685   3184   
{
        3185  +
    /* ServerOperationErrorGenerator.kt:111 */
 1686   3186   
    fn from(
 1687   3187   
        variant: crate::error::ValidationException,
 1688   3188   
    ) -> crate::error::MalformedTimestampHeaderDateTimeError {
        3189  +
        /* ServerOperationErrorGenerator.kt:112 */
 1689   3190   
        Self::ValidationException(variant)
        3191  +
        /* ServerOperationErrorGenerator.kt:111 */
 1690   3192   
    }
        3193  +
    /* ServerOperationErrorGenerator.kt:110 */
 1691   3194   
}
        3195  +
/* ServerOperationErrorGenerator.kt:110 */
 1692   3196   
impl ::std::convert::From<crate::error::InternalServerError>
 1693   3197   
    for crate::error::MalformedTimestampHeaderDateTimeError
 1694   3198   
{
        3199  +
    /* ServerOperationErrorGenerator.kt:111 */
 1695   3200   
    fn from(
 1696   3201   
        variant: crate::error::InternalServerError,
 1697   3202   
    ) -> crate::error::MalformedTimestampHeaderDateTimeError {
        3203  +
        /* ServerOperationErrorGenerator.kt:112 */
 1698   3204   
        Self::InternalServerError(variant)
        3205  +
        /* ServerOperationErrorGenerator.kt:111 */
 1699   3206   
    }
        3207  +
    /* ServerOperationErrorGenerator.kt:110 */
 1700   3208   
}
 1701   3209   
        3210  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1702   3211   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedTimestampHeaderDateTimeError {
 1703   3212   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedTimestampHeaderDateTimeError {
 1704   3213   
        ::pyo3::Python::with_gil(|py| {
 1705   3214   
            let error = variant.value(py);
 1706   3215   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1707   3216   
                return error.into();
 1708   3217   
            }
 1709   3218   
            crate::error::InternalServerError {
 1710   3219   
                message: error.to_string(),
 1711   3220   
            }
 1712   3221   
            .into()
 1713   3222   
        })
 1714   3223   
    }
 1715   3224   
}
 1716   3225   
        3226  +
/* ServerOperationErrorGenerator.kt:63 */
 1717   3227   
/// Error type for the `MalformedTimestampHeaderDefault` operation.
        3228  +
/* ServerOperationErrorGenerator.kt:64 */
 1718   3229   
/// Each variant represents an error that can occur for the `MalformedTimestampHeaderDefault` operation.
        3230  +
/* RustType.kt:516 */
 1719   3231   
#[derive(::std::fmt::Debug)]
 1720         -
pub enum MalformedTimestampHeaderDefaultError {
 1721         -
    /// 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.
        3232  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampHeaderDefaultError {
        3233  +
    /// /* 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.
        3234  +
    /* ServerOperationErrorGenerator.kt:71 */
 1722   3235   
    ValidationException(crate::error::ValidationException),
        3236  +
    /* ServerOperationErrorGenerator.kt:68 */
 1723   3237   
    #[allow(missing_docs)] // documentation missing in model
        3238  +
    /* ServerOperationErrorGenerator.kt:71 */
 1724   3239   
    InternalServerError(crate::error::InternalServerError),
        3240  +
    /* ServerOperationErrorGenerator.kt:66 */
 1725   3241   
}
        3242  +
/* ServerOperationErrorGenerator.kt:75 */
 1726   3243   
impl ::std::fmt::Display for MalformedTimestampHeaderDefaultError {
        3244  +
    /* ServerOperationErrorGenerator.kt:76 */
 1727   3245   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3246  +
        /* ServerOperationErrorGenerator.kt:139 */
 1728   3247   
        match &self {
 1729         -
            MalformedTimestampHeaderDefaultError::ValidationException(_inner) => _inner.fmt(f),
 1730         -
            MalformedTimestampHeaderDefaultError::InternalServerError(_inner) => _inner.fmt(f),
        3248  +
            /* ServerOperationErrorGenerator.kt:142 */
        3249  +
            MalformedTimestampHeaderDefaultError::ValidationException(_inner) =>
        3250  +
            /* ServerOperationErrorGenerator.kt:78 */
        3251  +
            {
        3252  +
                _inner.fmt(f)
        3253  +
            }
        3254  +
            ,
        3255  +
            /* ServerOperationErrorGenerator.kt:142 */
        3256  +
            MalformedTimestampHeaderDefaultError::InternalServerError(_inner) =>
        3257  +
            /* ServerOperationErrorGenerator.kt:78 */
        3258  +
            {
        3259  +
                _inner.fmt(f)
        3260  +
            }
        3261  +
            /* ServerOperationErrorGenerator.kt:139 */
 1731   3262   
        }
        3263  +
        /* ServerOperationErrorGenerator.kt:76 */
 1732   3264   
    }
        3265  +
    /* ServerOperationErrorGenerator.kt:75 */
 1733   3266   
}
        3267  +
/* ServerOperationErrorGenerator.kt:83 */
 1734   3268   
impl MalformedTimestampHeaderDefaultError {
        3269  +
    /* ServerOperationErrorGenerator.kt:87 */
 1735   3270   
    /// Returns `true` if the error kind is `MalformedTimestampHeaderDefaultError::ValidationException`.
        3271  +
    /* ServerOperationErrorGenerator.kt:88 */
 1736   3272   
    pub fn is_validation_exception(&self) -> bool {
        3273  +
        /* ServerOperationErrorGenerator.kt:89 */
 1737   3274   
        matches!(
 1738   3275   
            &self,
 1739   3276   
            MalformedTimestampHeaderDefaultError::ValidationException(_)
 1740   3277   
        )
        3278  +
        /* ServerOperationErrorGenerator.kt:88 */
 1741   3279   
    }
        3280  +
    /* ServerOperationErrorGenerator.kt:87 */
 1742   3281   
    /// Returns `true` if the error kind is `MalformedTimestampHeaderDefaultError::InternalServerError`.
        3282  +
    /* ServerOperationErrorGenerator.kt:88 */
 1743   3283   
    pub fn is_internal_server_error(&self) -> bool {
        3284  +
        /* ServerOperationErrorGenerator.kt:89 */
 1744   3285   
        matches!(
 1745   3286   
            &self,
 1746   3287   
            MalformedTimestampHeaderDefaultError::InternalServerError(_)
 1747   3288   
        )
        3289  +
        /* ServerOperationErrorGenerator.kt:88 */
 1748   3290   
    }
        3291  +
    /* ServerOperationErrorGenerator.kt:92 */
 1749   3292   
    /// Returns the error name string by matching the correct variant.
        3293  +
    /* ServerOperationErrorGenerator.kt:93 */
 1750   3294   
    pub fn name(&self) -> &'static str {
        3295  +
        /* ServerOperationErrorGenerator.kt:139 */
 1751   3296   
        match &self {
 1752         -
            MalformedTimestampHeaderDefaultError::ValidationException(_inner) => _inner.name(),
 1753         -
            MalformedTimestampHeaderDefaultError::InternalServerError(_inner) => _inner.name(),
        3297  +
            /* ServerOperationErrorGenerator.kt:142 */
        3298  +
            MalformedTimestampHeaderDefaultError::ValidationException(_inner) =>
        3299  +
            /* ServerOperationErrorGenerator.kt:95 */
        3300  +
            {
        3301  +
                _inner.name()
        3302  +
            }
        3303  +
            ,
        3304  +
            /* ServerOperationErrorGenerator.kt:142 */
        3305  +
            MalformedTimestampHeaderDefaultError::InternalServerError(_inner) =>
        3306  +
            /* ServerOperationErrorGenerator.kt:95 */
        3307  +
            {
        3308  +
                _inner.name()
        3309  +
            }
        3310  +
            /* ServerOperationErrorGenerator.kt:139 */
 1754   3311   
        }
        3312  +
        /* ServerOperationErrorGenerator.kt:93 */
 1755   3313   
    }
        3314  +
    /* ServerOperationErrorGenerator.kt:83 */
 1756   3315   
}
        3316  +
/* ServerOperationErrorGenerator.kt:100 */
 1757   3317   
impl ::std::error::Error for MalformedTimestampHeaderDefaultError {
        3318  +
    /* ServerOperationErrorGenerator.kt:101 */
 1758   3319   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3320  +
        /* ServerOperationErrorGenerator.kt:139 */
 1759   3321   
        match &self {
 1760         -
            MalformedTimestampHeaderDefaultError::ValidationException(_inner) => Some(_inner),
 1761         -
            MalformedTimestampHeaderDefaultError::InternalServerError(_inner) => Some(_inner),
        3322  +
            /* ServerOperationErrorGenerator.kt:142 */
        3323  +
            MalformedTimestampHeaderDefaultError::ValidationException(_inner) =>
        3324  +
            /* ServerOperationErrorGenerator.kt:103 */
        3325  +
            {
        3326  +
                Some(_inner)
        3327  +
            }
        3328  +
            ,
        3329  +
            /* ServerOperationErrorGenerator.kt:142 */
        3330  +
            MalformedTimestampHeaderDefaultError::InternalServerError(_inner) =>
        3331  +
            /* ServerOperationErrorGenerator.kt:103 */
        3332  +
            {
        3333  +
                Some(_inner)
        3334  +
            }
        3335  +
            /* ServerOperationErrorGenerator.kt:139 */
 1762   3336   
        }
        3337  +
        /* ServerOperationErrorGenerator.kt:101 */
 1763   3338   
    }
        3339  +
    /* ServerOperationErrorGenerator.kt:100 */
 1764   3340   
}
        3341  +
/* ServerOperationErrorGenerator.kt:110 */
 1765   3342   
impl ::std::convert::From<crate::error::ValidationException>
 1766   3343   
    for crate::error::MalformedTimestampHeaderDefaultError
 1767   3344   
{
        3345  +
    /* ServerOperationErrorGenerator.kt:111 */
 1768   3346   
    fn from(
 1769   3347   
        variant: crate::error::ValidationException,
 1770   3348   
    ) -> crate::error::MalformedTimestampHeaderDefaultError {
        3349  +
        /* ServerOperationErrorGenerator.kt:112 */
 1771   3350   
        Self::ValidationException(variant)
        3351  +
        /* ServerOperationErrorGenerator.kt:111 */
 1772   3352   
    }
        3353  +
    /* ServerOperationErrorGenerator.kt:110 */
 1773   3354   
}
        3355  +
/* ServerOperationErrorGenerator.kt:110 */
 1774   3356   
impl ::std::convert::From<crate::error::InternalServerError>
 1775   3357   
    for crate::error::MalformedTimestampHeaderDefaultError
 1776   3358   
{
        3359  +
    /* ServerOperationErrorGenerator.kt:111 */
 1777   3360   
    fn from(
 1778   3361   
        variant: crate::error::InternalServerError,
 1779   3362   
    ) -> crate::error::MalformedTimestampHeaderDefaultError {
        3363  +
        /* ServerOperationErrorGenerator.kt:112 */
 1780   3364   
        Self::InternalServerError(variant)
        3365  +
        /* ServerOperationErrorGenerator.kt:111 */
 1781   3366   
    }
        3367  +
    /* ServerOperationErrorGenerator.kt:110 */
 1782   3368   
}
 1783   3369   
        3370  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1784   3371   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedTimestampHeaderDefaultError {
 1785   3372   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedTimestampHeaderDefaultError {
 1786   3373   
        ::pyo3::Python::with_gil(|py| {
 1787   3374   
            let error = variant.value(py);
 1788   3375   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1789   3376   
                return error.into();
 1790   3377   
            }
 1791   3378   
            crate::error::InternalServerError {
 1792   3379   
                message: error.to_string(),
 1793   3380   
            }
 1794   3381   
            .into()
 1795   3382   
        })
 1796   3383   
    }
 1797   3384   
}
 1798   3385   
        3386  +
/* ServerOperationErrorGenerator.kt:63 */
 1799   3387   
/// Error type for the `MalformedTimestampQueryEpoch` operation.
        3388  +
/* ServerOperationErrorGenerator.kt:64 */
 1800   3389   
/// Each variant represents an error that can occur for the `MalformedTimestampQueryEpoch` operation.
        3390  +
/* RustType.kt:516 */
 1801   3391   
#[derive(::std::fmt::Debug)]
 1802         -
pub enum MalformedTimestampQueryEpochError {
 1803         -
    /// 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.
        3392  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampQueryEpochError {
        3393  +
    /// /* 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.
        3394  +
    /* ServerOperationErrorGenerator.kt:71 */
 1804   3395   
    ValidationException(crate::error::ValidationException),
        3396  +
    /* ServerOperationErrorGenerator.kt:68 */
 1805   3397   
    #[allow(missing_docs)] // documentation missing in model
        3398  +
    /* ServerOperationErrorGenerator.kt:71 */
 1806   3399   
    InternalServerError(crate::error::InternalServerError),
        3400  +
    /* ServerOperationErrorGenerator.kt:66 */
 1807   3401   
}
        3402  +
/* ServerOperationErrorGenerator.kt:75 */
 1808   3403   
impl ::std::fmt::Display for MalformedTimestampQueryEpochError {
        3404  +
    /* ServerOperationErrorGenerator.kt:76 */
 1809   3405   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3406  +
        /* ServerOperationErrorGenerator.kt:139 */
 1810   3407   
        match &self {
 1811         -
            MalformedTimestampQueryEpochError::ValidationException(_inner) => _inner.fmt(f),
 1812         -
            MalformedTimestampQueryEpochError::InternalServerError(_inner) => _inner.fmt(f),
        3408  +
            /* ServerOperationErrorGenerator.kt:142 */
        3409  +
            MalformedTimestampQueryEpochError::ValidationException(_inner) =>
        3410  +
            /* ServerOperationErrorGenerator.kt:78 */
        3411  +
            {
        3412  +
                _inner.fmt(f)
        3413  +
            }
        3414  +
            ,
        3415  +
            /* ServerOperationErrorGenerator.kt:142 */
        3416  +
            MalformedTimestampQueryEpochError::InternalServerError(_inner) =>
        3417  +
            /* ServerOperationErrorGenerator.kt:78 */
        3418  +
            {
        3419  +
                _inner.fmt(f)
        3420  +
            }
        3421  +
            /* ServerOperationErrorGenerator.kt:139 */
 1813   3422   
        }
        3423  +
        /* ServerOperationErrorGenerator.kt:76 */
 1814   3424   
    }
        3425  +
    /* ServerOperationErrorGenerator.kt:75 */
 1815   3426   
}
        3427  +
/* ServerOperationErrorGenerator.kt:83 */
 1816   3428   
impl MalformedTimestampQueryEpochError {
        3429  +
    /* ServerOperationErrorGenerator.kt:87 */
 1817   3430   
    /// Returns `true` if the error kind is `MalformedTimestampQueryEpochError::ValidationException`.
        3431  +
    /* ServerOperationErrorGenerator.kt:88 */
 1818   3432   
    pub fn is_validation_exception(&self) -> bool {
        3433  +
        /* ServerOperationErrorGenerator.kt:89 */
 1819   3434   
        matches!(
 1820   3435   
            &self,
 1821   3436   
            MalformedTimestampQueryEpochError::ValidationException(_)
 1822   3437   
        )
        3438  +
        /* ServerOperationErrorGenerator.kt:88 */
 1823   3439   
    }
        3440  +
    /* ServerOperationErrorGenerator.kt:87 */
 1824   3441   
    /// Returns `true` if the error kind is `MalformedTimestampQueryEpochError::InternalServerError`.
        3442  +
    /* ServerOperationErrorGenerator.kt:88 */
 1825   3443   
    pub fn is_internal_server_error(&self) -> bool {
        3444  +
        /* ServerOperationErrorGenerator.kt:89 */
 1826   3445   
        matches!(
 1827   3446   
            &self,
 1828   3447   
            MalformedTimestampQueryEpochError::InternalServerError(_)
 1829   3448   
        )
        3449  +
        /* ServerOperationErrorGenerator.kt:88 */
 1830   3450   
    }
        3451  +
    /* ServerOperationErrorGenerator.kt:92 */
 1831   3452   
    /// Returns the error name string by matching the correct variant.
        3453  +
    /* ServerOperationErrorGenerator.kt:93 */
 1832   3454   
    pub fn name(&self) -> &'static str {
        3455  +
        /* ServerOperationErrorGenerator.kt:139 */
 1833   3456   
        match &self {
 1834         -
            MalformedTimestampQueryEpochError::ValidationException(_inner) => _inner.name(),
 1835         -
            MalformedTimestampQueryEpochError::InternalServerError(_inner) => _inner.name(),
        3457  +
            /* ServerOperationErrorGenerator.kt:142 */
        3458  +
            MalformedTimestampQueryEpochError::ValidationException(_inner) =>
        3459  +
            /* ServerOperationErrorGenerator.kt:95 */
        3460  +
            {
        3461  +
                _inner.name()
        3462  +
            }
        3463  +
            ,
        3464  +
            /* ServerOperationErrorGenerator.kt:142 */
        3465  +
            MalformedTimestampQueryEpochError::InternalServerError(_inner) =>
        3466  +
            /* ServerOperationErrorGenerator.kt:95 */
        3467  +
            {
        3468  +
                _inner.name()
        3469  +
            }
        3470  +
            /* ServerOperationErrorGenerator.kt:139 */
 1836   3471   
        }
        3472  +
        /* ServerOperationErrorGenerator.kt:93 */
 1837   3473   
    }
        3474  +
    /* ServerOperationErrorGenerator.kt:83 */
 1838   3475   
}
        3476  +
/* ServerOperationErrorGenerator.kt:100 */
 1839   3477   
impl ::std::error::Error for MalformedTimestampQueryEpochError {
        3478  +
    /* ServerOperationErrorGenerator.kt:101 */
 1840   3479   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3480  +
        /* ServerOperationErrorGenerator.kt:139 */
 1841   3481   
        match &self {
 1842         -
            MalformedTimestampQueryEpochError::ValidationException(_inner) => Some(_inner),
 1843         -
            MalformedTimestampQueryEpochError::InternalServerError(_inner) => Some(_inner),
        3482  +
            /* ServerOperationErrorGenerator.kt:142 */
        3483  +
            MalformedTimestampQueryEpochError::ValidationException(_inner) =>
        3484  +
            /* ServerOperationErrorGenerator.kt:103 */
        3485  +
            {
        3486  +
                Some(_inner)
        3487  +
            }
        3488  +
            ,
        3489  +
            /* ServerOperationErrorGenerator.kt:142 */
        3490  +
            MalformedTimestampQueryEpochError::InternalServerError(_inner) =>
        3491  +
            /* ServerOperationErrorGenerator.kt:103 */
        3492  +
            {
        3493  +
                Some(_inner)
        3494  +
            }
        3495  +
            /* ServerOperationErrorGenerator.kt:139 */
 1844   3496   
        }
        3497  +
        /* ServerOperationErrorGenerator.kt:101 */
 1845   3498   
    }
        3499  +
    /* ServerOperationErrorGenerator.kt:100 */
 1846   3500   
}
        3501  +
/* ServerOperationErrorGenerator.kt:110 */
 1847   3502   
impl ::std::convert::From<crate::error::ValidationException>
 1848   3503   
    for crate::error::MalformedTimestampQueryEpochError
 1849   3504   
{
        3505  +
    /* ServerOperationErrorGenerator.kt:111 */
 1850   3506   
    fn from(
 1851   3507   
        variant: crate::error::ValidationException,
 1852   3508   
    ) -> crate::error::MalformedTimestampQueryEpochError {
        3509  +
        /* ServerOperationErrorGenerator.kt:112 */
 1853   3510   
        Self::ValidationException(variant)
        3511  +
        /* ServerOperationErrorGenerator.kt:111 */
 1854   3512   
    }
        3513  +
    /* ServerOperationErrorGenerator.kt:110 */
 1855   3514   
}
        3515  +
/* ServerOperationErrorGenerator.kt:110 */
 1856   3516   
impl ::std::convert::From<crate::error::InternalServerError>
 1857   3517   
    for crate::error::MalformedTimestampQueryEpochError
 1858   3518   
{
        3519  +
    /* ServerOperationErrorGenerator.kt:111 */
 1859   3520   
    fn from(
 1860   3521   
        variant: crate::error::InternalServerError,
 1861   3522   
    ) -> crate::error::MalformedTimestampQueryEpochError {
        3523  +
        /* ServerOperationErrorGenerator.kt:112 */
 1862   3524   
        Self::InternalServerError(variant)
        3525  +
        /* ServerOperationErrorGenerator.kt:111 */
 1863   3526   
    }
        3527  +
    /* ServerOperationErrorGenerator.kt:110 */
 1864   3528   
}
 1865   3529   
        3530  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1866   3531   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedTimestampQueryEpochError {
 1867   3532   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedTimestampQueryEpochError {
 1868   3533   
        ::pyo3::Python::with_gil(|py| {
 1869   3534   
            let error = variant.value(py);
 1870   3535   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1871   3536   
                return error.into();
 1872   3537   
            }
 1873   3538   
            crate::error::InternalServerError {
 1874   3539   
                message: error.to_string(),
 1875   3540   
            }
 1876   3541   
            .into()
 1877   3542   
        })
 1878   3543   
    }
 1879   3544   
}
 1880   3545   
        3546  +
/* ServerOperationErrorGenerator.kt:63 */
 1881   3547   
/// Error type for the `MalformedTimestampQueryHttpDate` operation.
        3548  +
/* ServerOperationErrorGenerator.kt:64 */
 1882   3549   
/// Each variant represents an error that can occur for the `MalformedTimestampQueryHttpDate` operation.
        3550  +
/* RustType.kt:516 */
 1883   3551   
#[derive(::std::fmt::Debug)]
 1884         -
pub enum MalformedTimestampQueryHttpDateError {
 1885         -
    /// 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.
        3552  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampQueryHttpDateError {
        3553  +
    /// /* 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.
        3554  +
    /* ServerOperationErrorGenerator.kt:71 */
 1886   3555   
    ValidationException(crate::error::ValidationException),
        3556  +
    /* ServerOperationErrorGenerator.kt:68 */
 1887   3557   
    #[allow(missing_docs)] // documentation missing in model
        3558  +
    /* ServerOperationErrorGenerator.kt:71 */
 1888   3559   
    InternalServerError(crate::error::InternalServerError),
        3560  +
    /* ServerOperationErrorGenerator.kt:66 */
 1889   3561   
}
        3562  +
/* ServerOperationErrorGenerator.kt:75 */
 1890   3563   
impl ::std::fmt::Display for MalformedTimestampQueryHttpDateError {
        3564  +
    /* ServerOperationErrorGenerator.kt:76 */
 1891   3565   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3566  +
        /* ServerOperationErrorGenerator.kt:139 */
 1892   3567   
        match &self {
 1893         -
            MalformedTimestampQueryHttpDateError::ValidationException(_inner) => _inner.fmt(f),
 1894         -
            MalformedTimestampQueryHttpDateError::InternalServerError(_inner) => _inner.fmt(f),
        3568  +
            /* ServerOperationErrorGenerator.kt:142 */
        3569  +
            MalformedTimestampQueryHttpDateError::ValidationException(_inner) =>
        3570  +
            /* ServerOperationErrorGenerator.kt:78 */
        3571  +
            {
        3572  +
                _inner.fmt(f)
        3573  +
            }
        3574  +
            ,
        3575  +
            /* ServerOperationErrorGenerator.kt:142 */
        3576  +
            MalformedTimestampQueryHttpDateError::InternalServerError(_inner) =>
        3577  +
            /* ServerOperationErrorGenerator.kt:78 */
        3578  +
            {
        3579  +
                _inner.fmt(f)
        3580  +
            }
        3581  +
            /* ServerOperationErrorGenerator.kt:139 */
 1895   3582   
        }
        3583  +
        /* ServerOperationErrorGenerator.kt:76 */
 1896   3584   
    }
        3585  +
    /* ServerOperationErrorGenerator.kt:75 */
 1897   3586   
}
        3587  +
/* ServerOperationErrorGenerator.kt:83 */
 1898   3588   
impl MalformedTimestampQueryHttpDateError {
        3589  +
    /* ServerOperationErrorGenerator.kt:87 */
 1899   3590   
    /// Returns `true` if the error kind is `MalformedTimestampQueryHttpDateError::ValidationException`.
        3591  +
    /* ServerOperationErrorGenerator.kt:88 */
 1900   3592   
    pub fn is_validation_exception(&self) -> bool {
        3593  +
        /* ServerOperationErrorGenerator.kt:89 */
 1901   3594   
        matches!(
 1902   3595   
            &self,
 1903   3596   
            MalformedTimestampQueryHttpDateError::ValidationException(_)
 1904   3597   
        )
        3598  +
        /* ServerOperationErrorGenerator.kt:88 */
 1905   3599   
    }
        3600  +
    /* ServerOperationErrorGenerator.kt:87 */
 1906   3601   
    /// Returns `true` if the error kind is `MalformedTimestampQueryHttpDateError::InternalServerError`.
        3602  +
    /* ServerOperationErrorGenerator.kt:88 */
 1907   3603   
    pub fn is_internal_server_error(&self) -> bool {
        3604  +
        /* ServerOperationErrorGenerator.kt:89 */
 1908   3605   
        matches!(
 1909   3606   
            &self,
 1910   3607   
            MalformedTimestampQueryHttpDateError::InternalServerError(_)
 1911   3608   
        )
        3609  +
        /* ServerOperationErrorGenerator.kt:88 */
 1912   3610   
    }
        3611  +
    /* ServerOperationErrorGenerator.kt:92 */
 1913   3612   
    /// Returns the error name string by matching the correct variant.
        3613  +
    /* ServerOperationErrorGenerator.kt:93 */
 1914   3614   
    pub fn name(&self) -> &'static str {
        3615  +
        /* ServerOperationErrorGenerator.kt:139 */
 1915   3616   
        match &self {
 1916         -
            MalformedTimestampQueryHttpDateError::ValidationException(_inner) => _inner.name(),
 1917         -
            MalformedTimestampQueryHttpDateError::InternalServerError(_inner) => _inner.name(),
        3617  +
            /* ServerOperationErrorGenerator.kt:142 */
        3618  +
            MalformedTimestampQueryHttpDateError::ValidationException(_inner) =>
        3619  +
            /* ServerOperationErrorGenerator.kt:95 */
        3620  +
            {
        3621  +
                _inner.name()
        3622  +
            }
        3623  +
            ,
        3624  +
            /* ServerOperationErrorGenerator.kt:142 */
        3625  +
            MalformedTimestampQueryHttpDateError::InternalServerError(_inner) =>
        3626  +
            /* ServerOperationErrorGenerator.kt:95 */
        3627  +
            {
        3628  +
                _inner.name()
        3629  +
            }
        3630  +
            /* ServerOperationErrorGenerator.kt:139 */
 1918   3631   
        }
        3632  +
        /* ServerOperationErrorGenerator.kt:93 */
 1919   3633   
    }
        3634  +
    /* ServerOperationErrorGenerator.kt:83 */
 1920   3635   
}
        3636  +
/* ServerOperationErrorGenerator.kt:100 */
 1921   3637   
impl ::std::error::Error for MalformedTimestampQueryHttpDateError {
        3638  +
    /* ServerOperationErrorGenerator.kt:101 */
 1922   3639   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3640  +
        /* ServerOperationErrorGenerator.kt:139 */
 1923   3641   
        match &self {
 1924         -
            MalformedTimestampQueryHttpDateError::ValidationException(_inner) => Some(_inner),
 1925         -
            MalformedTimestampQueryHttpDateError::InternalServerError(_inner) => Some(_inner),
        3642  +
            /* ServerOperationErrorGenerator.kt:142 */
        3643  +
            MalformedTimestampQueryHttpDateError::ValidationException(_inner) =>
        3644  +
            /* ServerOperationErrorGenerator.kt:103 */
        3645  +
            {
        3646  +
                Some(_inner)
        3647  +
            }
        3648  +
            ,
        3649  +
            /* ServerOperationErrorGenerator.kt:142 */
        3650  +
            MalformedTimestampQueryHttpDateError::InternalServerError(_inner) =>
        3651  +
            /* ServerOperationErrorGenerator.kt:103 */
        3652  +
            {
        3653  +
                Some(_inner)
        3654  +
            }
        3655  +
            /* ServerOperationErrorGenerator.kt:139 */
 1926   3656   
        }
        3657  +
        /* ServerOperationErrorGenerator.kt:101 */
 1927   3658   
    }
        3659  +
    /* ServerOperationErrorGenerator.kt:100 */
 1928   3660   
}
        3661  +
/* ServerOperationErrorGenerator.kt:110 */
 1929   3662   
impl ::std::convert::From<crate::error::ValidationException>
 1930   3663   
    for crate::error::MalformedTimestampQueryHttpDateError
 1931   3664   
{
        3665  +
    /* ServerOperationErrorGenerator.kt:111 */
 1932   3666   
    fn from(
 1933   3667   
        variant: crate::error::ValidationException,
 1934   3668   
    ) -> crate::error::MalformedTimestampQueryHttpDateError {
        3669  +
        /* ServerOperationErrorGenerator.kt:112 */
 1935   3670   
        Self::ValidationException(variant)
        3671  +
        /* ServerOperationErrorGenerator.kt:111 */
 1936   3672   
    }
        3673  +
    /* ServerOperationErrorGenerator.kt:110 */
 1937   3674   
}
        3675  +
/* ServerOperationErrorGenerator.kt:110 */
 1938   3676   
impl ::std::convert::From<crate::error::InternalServerError>
 1939   3677   
    for crate::error::MalformedTimestampQueryHttpDateError
 1940   3678   
{
        3679  +
    /* ServerOperationErrorGenerator.kt:111 */
 1941   3680   
    fn from(
 1942   3681   
        variant: crate::error::InternalServerError,
 1943   3682   
    ) -> crate::error::MalformedTimestampQueryHttpDateError {
        3683  +
        /* ServerOperationErrorGenerator.kt:112 */
 1944   3684   
        Self::InternalServerError(variant)
        3685  +
        /* ServerOperationErrorGenerator.kt:111 */
 1945   3686   
    }
        3687  +
    /* ServerOperationErrorGenerator.kt:110 */
 1946   3688   
}
 1947   3689   
        3690  +
/* PythonServerOperationErrorGenerator.kt:38 */
 1948   3691   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedTimestampQueryHttpDateError {
 1949   3692   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedTimestampQueryHttpDateError {
 1950   3693   
        ::pyo3::Python::with_gil(|py| {
 1951   3694   
            let error = variant.value(py);
 1952   3695   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 1953   3696   
                return error.into();
 1954   3697   
            }
 1955   3698   
            crate::error::InternalServerError {
 1956   3699   
                message: error.to_string(),
 1957   3700   
            }
 1958   3701   
            .into()
 1959   3702   
        })
 1960   3703   
    }
 1961   3704   
}
 1962   3705   
        3706  +
/* ServerOperationErrorGenerator.kt:63 */
 1963   3707   
/// Error type for the `MalformedTimestampQueryDefault` operation.
        3708  +
/* ServerOperationErrorGenerator.kt:64 */
 1964   3709   
/// Each variant represents an error that can occur for the `MalformedTimestampQueryDefault` operation.
        3710  +
/* RustType.kt:516 */
 1965   3711   
#[derive(::std::fmt::Debug)]
 1966         -
pub enum MalformedTimestampQueryDefaultError {
 1967         -
    /// 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.
        3712  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampQueryDefaultError {
        3713  +
    /// /* 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.
        3714  +
    /* ServerOperationErrorGenerator.kt:71 */
 1968   3715   
    ValidationException(crate::error::ValidationException),
        3716  +
    /* ServerOperationErrorGenerator.kt:68 */
 1969   3717   
    #[allow(missing_docs)] // documentation missing in model
        3718  +
    /* ServerOperationErrorGenerator.kt:71 */
 1970   3719   
    InternalServerError(crate::error::InternalServerError),
        3720  +
    /* ServerOperationErrorGenerator.kt:66 */
 1971   3721   
}
        3722  +
/* ServerOperationErrorGenerator.kt:75 */
 1972   3723   
impl ::std::fmt::Display for MalformedTimestampQueryDefaultError {
        3724  +
    /* ServerOperationErrorGenerator.kt:76 */
 1973   3725   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3726  +
        /* ServerOperationErrorGenerator.kt:139 */
 1974   3727   
        match &self {
 1975         -
            MalformedTimestampQueryDefaultError::ValidationException(_inner) => _inner.fmt(f),
 1976         -
            MalformedTimestampQueryDefaultError::InternalServerError(_inner) => _inner.fmt(f),
        3728  +
            /* ServerOperationErrorGenerator.kt:142 */
        3729  +
            MalformedTimestampQueryDefaultError::ValidationException(_inner) =>
        3730  +
            /* ServerOperationErrorGenerator.kt:78 */
        3731  +
            {
        3732  +
                _inner.fmt(f)
        3733  +
            }
        3734  +
            ,
        3735  +
            /* ServerOperationErrorGenerator.kt:142 */
        3736  +
            MalformedTimestampQueryDefaultError::InternalServerError(_inner) =>
        3737  +
            /* ServerOperationErrorGenerator.kt:78 */
        3738  +
            {
        3739  +
                _inner.fmt(f)
        3740  +
            }
        3741  +
            /* ServerOperationErrorGenerator.kt:139 */
 1977   3742   
        }
        3743  +
        /* ServerOperationErrorGenerator.kt:76 */
 1978   3744   
    }
        3745  +
    /* ServerOperationErrorGenerator.kt:75 */
 1979   3746   
}
        3747  +
/* ServerOperationErrorGenerator.kt:83 */
 1980   3748   
impl MalformedTimestampQueryDefaultError {
        3749  +
    /* ServerOperationErrorGenerator.kt:87 */
 1981   3750   
    /// Returns `true` if the error kind is `MalformedTimestampQueryDefaultError::ValidationException`.
        3751  +
    /* ServerOperationErrorGenerator.kt:88 */
 1982   3752   
    pub fn is_validation_exception(&self) -> bool {
        3753  +
        /* ServerOperationErrorGenerator.kt:89 */
 1983   3754   
        matches!(
 1984   3755   
            &self,
 1985   3756   
            MalformedTimestampQueryDefaultError::ValidationException(_)
 1986   3757   
        )
        3758  +
        /* ServerOperationErrorGenerator.kt:88 */
 1987   3759   
    }
        3760  +
    /* ServerOperationErrorGenerator.kt:87 */
 1988   3761   
    /// Returns `true` if the error kind is `MalformedTimestampQueryDefaultError::InternalServerError`.
        3762  +
    /* ServerOperationErrorGenerator.kt:88 */
 1989   3763   
    pub fn is_internal_server_error(&self) -> bool {
        3764  +
        /* ServerOperationErrorGenerator.kt:89 */
 1990   3765   
        matches!(
 1991   3766   
            &self,
 1992   3767   
            MalformedTimestampQueryDefaultError::InternalServerError(_)
 1993   3768   
        )
        3769  +
        /* ServerOperationErrorGenerator.kt:88 */
 1994   3770   
    }
        3771  +
    /* ServerOperationErrorGenerator.kt:92 */
 1995   3772   
    /// Returns the error name string by matching the correct variant.
        3773  +
    /* ServerOperationErrorGenerator.kt:93 */
 1996   3774   
    pub fn name(&self) -> &'static str {
        3775  +
        /* ServerOperationErrorGenerator.kt:139 */
 1997   3776   
        match &self {
 1998         -
            MalformedTimestampQueryDefaultError::ValidationException(_inner) => _inner.name(),
 1999         -
            MalformedTimestampQueryDefaultError::InternalServerError(_inner) => _inner.name(),
        3777  +
            /* ServerOperationErrorGenerator.kt:142 */
        3778  +
            MalformedTimestampQueryDefaultError::ValidationException(_inner) =>
        3779  +
            /* ServerOperationErrorGenerator.kt:95 */
        3780  +
            {
        3781  +
                _inner.name()
        3782  +
            }
        3783  +
            ,
        3784  +
            /* ServerOperationErrorGenerator.kt:142 */
        3785  +
            MalformedTimestampQueryDefaultError::InternalServerError(_inner) =>
        3786  +
            /* ServerOperationErrorGenerator.kt:95 */
        3787  +
            {
        3788  +
                _inner.name()
        3789  +
            }
        3790  +
            /* ServerOperationErrorGenerator.kt:139 */
 2000   3791   
        }
        3792  +
        /* ServerOperationErrorGenerator.kt:93 */
 2001   3793   
    }
        3794  +
    /* ServerOperationErrorGenerator.kt:83 */
 2002   3795   
}
        3796  +
/* ServerOperationErrorGenerator.kt:100 */
 2003   3797   
impl ::std::error::Error for MalformedTimestampQueryDefaultError {
        3798  +
    /* ServerOperationErrorGenerator.kt:101 */
 2004   3799   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3800  +
        /* ServerOperationErrorGenerator.kt:139 */
 2005   3801   
        match &self {
 2006         -
            MalformedTimestampQueryDefaultError::ValidationException(_inner) => Some(_inner),
 2007         -
            MalformedTimestampQueryDefaultError::InternalServerError(_inner) => Some(_inner),
        3802  +
            /* ServerOperationErrorGenerator.kt:142 */
        3803  +
            MalformedTimestampQueryDefaultError::ValidationException(_inner) =>
        3804  +
            /* ServerOperationErrorGenerator.kt:103 */
        3805  +
            {
        3806  +
                Some(_inner)
        3807  +
            }
        3808  +
            ,
        3809  +
            /* ServerOperationErrorGenerator.kt:142 */
        3810  +
            MalformedTimestampQueryDefaultError::InternalServerError(_inner) =>
        3811  +
            /* ServerOperationErrorGenerator.kt:103 */
        3812  +
            {
        3813  +
                Some(_inner)
        3814  +
            }
        3815  +
            /* ServerOperationErrorGenerator.kt:139 */
 2008   3816   
        }
        3817  +
        /* ServerOperationErrorGenerator.kt:101 */
 2009   3818   
    }
        3819  +
    /* ServerOperationErrorGenerator.kt:100 */
 2010   3820   
}
        3821  +
/* ServerOperationErrorGenerator.kt:110 */
 2011   3822   
impl ::std::convert::From<crate::error::ValidationException>
 2012   3823   
    for crate::error::MalformedTimestampQueryDefaultError
 2013   3824   
{
        3825  +
    /* ServerOperationErrorGenerator.kt:111 */
 2014   3826   
    fn from(
 2015   3827   
        variant: crate::error::ValidationException,
 2016   3828   
    ) -> crate::error::MalformedTimestampQueryDefaultError {
        3829  +
        /* ServerOperationErrorGenerator.kt:112 */
 2017   3830   
        Self::ValidationException(variant)
        3831  +
        /* ServerOperationErrorGenerator.kt:111 */
 2018   3832   
    }
        3833  +
    /* ServerOperationErrorGenerator.kt:110 */
 2019   3834   
}
        3835  +
/* ServerOperationErrorGenerator.kt:110 */
 2020   3836   
impl ::std::convert::From<crate::error::InternalServerError>
 2021   3837   
    for crate::error::MalformedTimestampQueryDefaultError
 2022   3838   
{
        3839  +
    /* ServerOperationErrorGenerator.kt:111 */
 2023   3840   
    fn from(
 2024   3841   
        variant: crate::error::InternalServerError,
 2025   3842   
    ) -> crate::error::MalformedTimestampQueryDefaultError {
        3843  +
        /* ServerOperationErrorGenerator.kt:112 */
 2026   3844   
        Self::InternalServerError(variant)
        3845  +
        /* ServerOperationErrorGenerator.kt:111 */
 2027   3846   
    }
        3847  +
    /* ServerOperationErrorGenerator.kt:110 */
 2028   3848   
}
 2029   3849   
        3850  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2030   3851   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedTimestampQueryDefaultError {
 2031   3852   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedTimestampQueryDefaultError {
 2032   3853   
        ::pyo3::Python::with_gil(|py| {
 2033   3854   
            let error = variant.value(py);
 2034   3855   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 2035   3856   
                return error.into();
 2036   3857   
            }
 2037   3858   
            crate::error::InternalServerError {
 2038   3859   
                message: error.to_string(),
 2039   3860   
            }
 2040   3861   
            .into()
 2041   3862   
        })
 2042   3863   
    }
 2043   3864   
}
 2044   3865   
        3866  +
/* ServerOperationErrorGenerator.kt:63 */
 2045   3867   
/// Error type for the `MalformedTimestampPathEpoch` operation.
        3868  +
/* ServerOperationErrorGenerator.kt:64 */
 2046   3869   
/// Each variant represents an error that can occur for the `MalformedTimestampPathEpoch` operation.
        3870  +
/* RustType.kt:516 */
 2047   3871   
#[derive(::std::fmt::Debug)]
 2048         -
pub enum MalformedTimestampPathEpochError {
 2049         -
    /// 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.
        3872  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampPathEpochError {
        3873  +
    /// /* 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.
        3874  +
    /* ServerOperationErrorGenerator.kt:71 */
 2050   3875   
    ValidationException(crate::error::ValidationException),
        3876  +
    /* ServerOperationErrorGenerator.kt:68 */
 2051   3877   
    #[allow(missing_docs)] // documentation missing in model
        3878  +
    /* ServerOperationErrorGenerator.kt:71 */
 2052   3879   
    InternalServerError(crate::error::InternalServerError),
        3880  +
    /* ServerOperationErrorGenerator.kt:66 */
 2053   3881   
}
        3882  +
/* ServerOperationErrorGenerator.kt:75 */
 2054   3883   
impl ::std::fmt::Display for MalformedTimestampPathEpochError {
        3884  +
    /* ServerOperationErrorGenerator.kt:76 */
 2055   3885   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3886  +
        /* ServerOperationErrorGenerator.kt:139 */
 2056   3887   
        match &self {
 2057         -
            MalformedTimestampPathEpochError::ValidationException(_inner) => _inner.fmt(f),
 2058         -
            MalformedTimestampPathEpochError::InternalServerError(_inner) => _inner.fmt(f),
        3888  +
            /* ServerOperationErrorGenerator.kt:142 */
        3889  +
            MalformedTimestampPathEpochError::ValidationException(_inner) =>
        3890  +
            /* ServerOperationErrorGenerator.kt:78 */
        3891  +
            {
        3892  +
                _inner.fmt(f)
        3893  +
            }
        3894  +
            ,
        3895  +
            /* ServerOperationErrorGenerator.kt:142 */
        3896  +
            MalformedTimestampPathEpochError::InternalServerError(_inner) =>
        3897  +
            /* ServerOperationErrorGenerator.kt:78 */
        3898  +
            {
        3899  +
                _inner.fmt(f)
        3900  +
            }
        3901  +
            /* ServerOperationErrorGenerator.kt:139 */
 2059   3902   
        }
        3903  +
        /* ServerOperationErrorGenerator.kt:76 */
 2060   3904   
    }
        3905  +
    /* ServerOperationErrorGenerator.kt:75 */
 2061   3906   
}
        3907  +
/* ServerOperationErrorGenerator.kt:83 */
 2062   3908   
impl MalformedTimestampPathEpochError {
        3909  +
    /* ServerOperationErrorGenerator.kt:87 */
 2063   3910   
    /// Returns `true` if the error kind is `MalformedTimestampPathEpochError::ValidationException`.
        3911  +
    /* ServerOperationErrorGenerator.kt:88 */
 2064   3912   
    pub fn is_validation_exception(&self) -> bool {
        3913  +
        /* ServerOperationErrorGenerator.kt:89 */
 2065   3914   
        matches!(
 2066   3915   
            &self,
 2067   3916   
            MalformedTimestampPathEpochError::ValidationException(_)
 2068   3917   
        )
        3918  +
        /* ServerOperationErrorGenerator.kt:88 */
 2069   3919   
    }
        3920  +
    /* ServerOperationErrorGenerator.kt:87 */
 2070   3921   
    /// Returns `true` if the error kind is `MalformedTimestampPathEpochError::InternalServerError`.
        3922  +
    /* ServerOperationErrorGenerator.kt:88 */
 2071   3923   
    pub fn is_internal_server_error(&self) -> bool {
        3924  +
        /* ServerOperationErrorGenerator.kt:89 */
 2072   3925   
        matches!(
 2073   3926   
            &self,
 2074   3927   
            MalformedTimestampPathEpochError::InternalServerError(_)
 2075   3928   
        )
        3929  +
        /* ServerOperationErrorGenerator.kt:88 */
 2076   3930   
    }
        3931  +
    /* ServerOperationErrorGenerator.kt:92 */
 2077   3932   
    /// Returns the error name string by matching the correct variant.
        3933  +
    /* ServerOperationErrorGenerator.kt:93 */
 2078   3934   
    pub fn name(&self) -> &'static str {
        3935  +
        /* ServerOperationErrorGenerator.kt:139 */
 2079   3936   
        match &self {
 2080         -
            MalformedTimestampPathEpochError::ValidationException(_inner) => _inner.name(),
 2081         -
            MalformedTimestampPathEpochError::InternalServerError(_inner) => _inner.name(),
        3937  +
            /* ServerOperationErrorGenerator.kt:142 */
        3938  +
            MalformedTimestampPathEpochError::ValidationException(_inner) =>
        3939  +
            /* ServerOperationErrorGenerator.kt:95 */
        3940  +
            {
        3941  +
                _inner.name()
        3942  +
            }
        3943  +
            ,
        3944  +
            /* ServerOperationErrorGenerator.kt:142 */
        3945  +
            MalformedTimestampPathEpochError::InternalServerError(_inner) =>
        3946  +
            /* ServerOperationErrorGenerator.kt:95 */
        3947  +
            {
        3948  +
                _inner.name()
        3949  +
            }
        3950  +
            /* ServerOperationErrorGenerator.kt:139 */
 2082   3951   
        }
        3952  +
        /* ServerOperationErrorGenerator.kt:93 */
 2083   3953   
    }
        3954  +
    /* ServerOperationErrorGenerator.kt:83 */
 2084   3955   
}
        3956  +
/* ServerOperationErrorGenerator.kt:100 */
 2085   3957   
impl ::std::error::Error for MalformedTimestampPathEpochError {
        3958  +
    /* ServerOperationErrorGenerator.kt:101 */
 2086   3959   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3960  +
        /* ServerOperationErrorGenerator.kt:139 */
 2087   3961   
        match &self {
 2088         -
            MalformedTimestampPathEpochError::ValidationException(_inner) => Some(_inner),
 2089         -
            MalformedTimestampPathEpochError::InternalServerError(_inner) => Some(_inner),
        3962  +
            /* ServerOperationErrorGenerator.kt:142 */
        3963  +
            MalformedTimestampPathEpochError::ValidationException(_inner) =>
        3964  +
            /* ServerOperationErrorGenerator.kt:103 */
        3965  +
            {
        3966  +
                Some(_inner)
        3967  +
            }
        3968  +
            ,
        3969  +
            /* ServerOperationErrorGenerator.kt:142 */
        3970  +
            MalformedTimestampPathEpochError::InternalServerError(_inner) =>
        3971  +
            /* ServerOperationErrorGenerator.kt:103 */
        3972  +
            {
        3973  +
                Some(_inner)
        3974  +
            }
        3975  +
            /* ServerOperationErrorGenerator.kt:139 */
 2090   3976   
        }
        3977  +
        /* ServerOperationErrorGenerator.kt:101 */
 2091   3978   
    }
        3979  +
    /* ServerOperationErrorGenerator.kt:100 */
 2092   3980   
}
        3981  +
/* ServerOperationErrorGenerator.kt:110 */
 2093   3982   
impl ::std::convert::From<crate::error::ValidationException>
 2094   3983   
    for crate::error::MalformedTimestampPathEpochError
 2095   3984   
{
        3985  +
    /* ServerOperationErrorGenerator.kt:111 */
 2096   3986   
    fn from(
 2097   3987   
        variant: crate::error::ValidationException,
 2098   3988   
    ) -> crate::error::MalformedTimestampPathEpochError {
        3989  +
        /* ServerOperationErrorGenerator.kt:112 */
 2099   3990   
        Self::ValidationException(variant)
        3991  +
        /* ServerOperationErrorGenerator.kt:111 */
 2100   3992   
    }
        3993  +
    /* ServerOperationErrorGenerator.kt:110 */
 2101   3994   
}
        3995  +
/* ServerOperationErrorGenerator.kt:110 */
 2102   3996   
impl ::std::convert::From<crate::error::InternalServerError>
 2103   3997   
    for crate::error::MalformedTimestampPathEpochError
 2104   3998   
{
        3999  +
    /* ServerOperationErrorGenerator.kt:111 */
 2105   4000   
    fn from(
 2106   4001   
        variant: crate::error::InternalServerError,
 2107   4002   
    ) -> crate::error::MalformedTimestampPathEpochError {
        4003  +
        /* ServerOperationErrorGenerator.kt:112 */
 2108   4004   
        Self::InternalServerError(variant)
        4005  +
        /* ServerOperationErrorGenerator.kt:111 */
 2109   4006   
    }
        4007  +
    /* ServerOperationErrorGenerator.kt:110 */
 2110   4008   
}
 2111   4009   
        4010  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2112   4011   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedTimestampPathEpochError {
 2113   4012   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedTimestampPathEpochError {
 2114   4013   
        ::pyo3::Python::with_gil(|py| {
 2115   4014   
            let error = variant.value(py);
 2116   4015   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 2117   4016   
                return error.into();
 2118   4017   
            }
 2119   4018   
            crate::error::InternalServerError {
 2120   4019   
                message: error.to_string(),
 2121   4020   
            }
 2122   4021   
            .into()
 2123   4022   
        })
 2124   4023   
    }
 2125   4024   
}
 2126   4025   
        4026  +
/* ServerOperationErrorGenerator.kt:63 */
 2127   4027   
/// Error type for the `MalformedTimestampPathHttpDate` operation.
        4028  +
/* ServerOperationErrorGenerator.kt:64 */
 2128   4029   
/// Each variant represents an error that can occur for the `MalformedTimestampPathHttpDate` operation.
        4030  +
/* RustType.kt:516 */
 2129   4031   
#[derive(::std::fmt::Debug)]
 2130         -
pub enum MalformedTimestampPathHttpDateError {
 2131         -
    /// 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.
        4032  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampPathHttpDateError {
        4033  +
    /// /* 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.
        4034  +
    /* ServerOperationErrorGenerator.kt:71 */
 2132   4035   
    ValidationException(crate::error::ValidationException),
        4036  +
    /* ServerOperationErrorGenerator.kt:68 */
 2133   4037   
    #[allow(missing_docs)] // documentation missing in model
        4038  +
    /* ServerOperationErrorGenerator.kt:71 */
 2134   4039   
    InternalServerError(crate::error::InternalServerError),
        4040  +
    /* ServerOperationErrorGenerator.kt:66 */
 2135   4041   
}
        4042  +
/* ServerOperationErrorGenerator.kt:75 */
 2136   4043   
impl ::std::fmt::Display for MalformedTimestampPathHttpDateError {
        4044  +
    /* ServerOperationErrorGenerator.kt:76 */
 2137   4045   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        4046  +
        /* ServerOperationErrorGenerator.kt:139 */
 2138   4047   
        match &self {
 2139         -
            MalformedTimestampPathHttpDateError::ValidationException(_inner) => _inner.fmt(f),
 2140         -
            MalformedTimestampPathHttpDateError::InternalServerError(_inner) => _inner.fmt(f),
        4048  +
            /* ServerOperationErrorGenerator.kt:142 */
        4049  +
            MalformedTimestampPathHttpDateError::ValidationException(_inner) =>
        4050  +
            /* ServerOperationErrorGenerator.kt:78 */
        4051  +
            {
        4052  +
                _inner.fmt(f)
        4053  +
            }
        4054  +
            ,
        4055  +
            /* ServerOperationErrorGenerator.kt:142 */
        4056  +
            MalformedTimestampPathHttpDateError::InternalServerError(_inner) =>
        4057  +
            /* ServerOperationErrorGenerator.kt:78 */
        4058  +
            {
        4059  +
                _inner.fmt(f)
        4060  +
            }
        4061  +
            /* ServerOperationErrorGenerator.kt:139 */
 2141   4062   
        }
        4063  +
        /* ServerOperationErrorGenerator.kt:76 */
 2142   4064   
    }
        4065  +
    /* ServerOperationErrorGenerator.kt:75 */
 2143   4066   
}
        4067  +
/* ServerOperationErrorGenerator.kt:83 */
 2144   4068   
impl MalformedTimestampPathHttpDateError {
        4069  +
    /* ServerOperationErrorGenerator.kt:87 */
 2145   4070   
    /// Returns `true` if the error kind is `MalformedTimestampPathHttpDateError::ValidationException`.
        4071  +
    /* ServerOperationErrorGenerator.kt:88 */
 2146   4072   
    pub fn is_validation_exception(&self) -> bool {
        4073  +
        /* ServerOperationErrorGenerator.kt:89 */
 2147   4074   
        matches!(
 2148   4075   
            &self,
 2149   4076   
            MalformedTimestampPathHttpDateError::ValidationException(_)
 2150   4077   
        )
        4078  +
        /* ServerOperationErrorGenerator.kt:88 */
 2151   4079   
    }
        4080  +
    /* ServerOperationErrorGenerator.kt:87 */
 2152   4081   
    /// Returns `true` if the error kind is `MalformedTimestampPathHttpDateError::InternalServerError`.
        4082  +
    /* ServerOperationErrorGenerator.kt:88 */
 2153   4083   
    pub fn is_internal_server_error(&self) -> bool {
        4084  +
        /* ServerOperationErrorGenerator.kt:89 */
 2154   4085   
        matches!(
 2155   4086   
            &self,
 2156   4087   
            MalformedTimestampPathHttpDateError::InternalServerError(_)
 2157   4088   
        )
        4089  +
        /* ServerOperationErrorGenerator.kt:88 */
 2158   4090   
    }
        4091  +
    /* ServerOperationErrorGenerator.kt:92 */
 2159   4092   
    /// Returns the error name string by matching the correct variant.
        4093  +
    /* ServerOperationErrorGenerator.kt:93 */
 2160   4094   
    pub fn name(&self) -> &'static str {
        4095  +
        /* ServerOperationErrorGenerator.kt:139 */
 2161   4096   
        match &self {
 2162         -
            MalformedTimestampPathHttpDateError::ValidationException(_inner) => _inner.name(),
 2163         -
            MalformedTimestampPathHttpDateError::InternalServerError(_inner) => _inner.name(),
        4097  +
            /* ServerOperationErrorGenerator.kt:142 */
        4098  +
            MalformedTimestampPathHttpDateError::ValidationException(_inner) =>
        4099  +
            /* ServerOperationErrorGenerator.kt:95 */
        4100  +
            {
        4101  +
                _inner.name()
        4102  +
            }
        4103  +
            ,
        4104  +
            /* ServerOperationErrorGenerator.kt:142 */
        4105  +
            MalformedTimestampPathHttpDateError::InternalServerError(_inner) =>
        4106  +
            /* ServerOperationErrorGenerator.kt:95 */
        4107  +
            {
        4108  +
                _inner.name()
        4109  +
            }
        4110  +
            /* ServerOperationErrorGenerator.kt:139 */
 2164   4111   
        }
        4112  +
        /* ServerOperationErrorGenerator.kt:93 */
 2165   4113   
    }
        4114  +
    /* ServerOperationErrorGenerator.kt:83 */
 2166   4115   
}
        4116  +
/* ServerOperationErrorGenerator.kt:100 */
 2167   4117   
impl ::std::error::Error for MalformedTimestampPathHttpDateError {
        4118  +
    /* ServerOperationErrorGenerator.kt:101 */
 2168   4119   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        4120  +
        /* ServerOperationErrorGenerator.kt:139 */
 2169   4121   
        match &self {
 2170         -
            MalformedTimestampPathHttpDateError::ValidationException(_inner) => Some(_inner),
 2171         -
            MalformedTimestampPathHttpDateError::InternalServerError(_inner) => Some(_inner),
        4122  +
            /* ServerOperationErrorGenerator.kt:142 */
        4123  +
            MalformedTimestampPathHttpDateError::ValidationException(_inner) =>
        4124  +
            /* ServerOperationErrorGenerator.kt:103 */
        4125  +
            {
        4126  +
                Some(_inner)
        4127  +
            }
        4128  +
            ,
        4129  +
            /* ServerOperationErrorGenerator.kt:142 */
        4130  +
            MalformedTimestampPathHttpDateError::InternalServerError(_inner) =>
        4131  +
            /* ServerOperationErrorGenerator.kt:103 */
        4132  +
            {
        4133  +
                Some(_inner)
        4134  +
            }
        4135  +
            /* ServerOperationErrorGenerator.kt:139 */
 2172   4136   
        }
        4137  +
        /* ServerOperationErrorGenerator.kt:101 */
 2173   4138   
    }
        4139  +
    /* ServerOperationErrorGenerator.kt:100 */
 2174   4140   
}
        4141  +
/* ServerOperationErrorGenerator.kt:110 */
 2175   4142   
impl ::std::convert::From<crate::error::ValidationException>
 2176   4143   
    for crate::error::MalformedTimestampPathHttpDateError
 2177   4144   
{
        4145  +
    /* ServerOperationErrorGenerator.kt:111 */
 2178   4146   
    fn from(
 2179   4147   
        variant: crate::error::ValidationException,
 2180   4148   
    ) -> crate::error::MalformedTimestampPathHttpDateError {
        4149  +
        /* ServerOperationErrorGenerator.kt:112 */
 2181   4150   
        Self::ValidationException(variant)
        4151  +
        /* ServerOperationErrorGenerator.kt:111 */
 2182   4152   
    }
        4153  +
    /* ServerOperationErrorGenerator.kt:110 */
 2183   4154   
}
        4155  +
/* ServerOperationErrorGenerator.kt:110 */
 2184   4156   
impl ::std::convert::From<crate::error::InternalServerError>
 2185   4157   
    for crate::error::MalformedTimestampPathHttpDateError
 2186   4158   
{
        4159  +
    /* ServerOperationErrorGenerator.kt:111 */
 2187   4160   
    fn from(
 2188   4161   
        variant: crate::error::InternalServerError,
 2189   4162   
    ) -> crate::error::MalformedTimestampPathHttpDateError {
        4163  +
        /* ServerOperationErrorGenerator.kt:112 */
 2190   4164   
        Self::InternalServerError(variant)
        4165  +
        /* ServerOperationErrorGenerator.kt:111 */
 2191   4166   
    }
        4167  +
    /* ServerOperationErrorGenerator.kt:110 */
 2192   4168   
}
 2193   4169   
        4170  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2194   4171   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedTimestampPathHttpDateError {
 2195   4172   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedTimestampPathHttpDateError {
 2196   4173   
        ::pyo3::Python::with_gil(|py| {
 2197   4174   
            let error = variant.value(py);
 2198   4175   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 2199   4176   
                return error.into();
 2200   4177   
            }
 2201   4178   
            crate::error::InternalServerError {
 2202   4179   
                message: error.to_string(),
 2203   4180   
            }
 2204   4181   
            .into()
 2205   4182   
        })
 2206   4183   
    }
 2207   4184   
}
 2208   4185   
        4186  +
/* ServerOperationErrorGenerator.kt:63 */
 2209   4187   
/// Error type for the `MalformedTimestampPathDefault` operation.
        4188  +
/* ServerOperationErrorGenerator.kt:64 */
 2210   4189   
/// Each variant represents an error that can occur for the `MalformedTimestampPathDefault` operation.
        4190  +
/* RustType.kt:516 */
 2211   4191   
#[derive(::std::fmt::Debug)]
 2212         -
pub enum MalformedTimestampPathDefaultError {
 2213         -
    /// 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.
        4192  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampPathDefaultError {
        4193  +
    /// /* 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.
        4194  +
    /* ServerOperationErrorGenerator.kt:71 */
 2214   4195   
    ValidationException(crate::error::ValidationException),
        4196  +
    /* ServerOperationErrorGenerator.kt:68 */
 2215   4197   
    #[allow(missing_docs)] // documentation missing in model
        4198  +
    /* ServerOperationErrorGenerator.kt:71 */
 2216   4199   
    InternalServerError(crate::error::InternalServerError),
        4200  +
    /* ServerOperationErrorGenerator.kt:66 */
 2217   4201   
}
        4202  +
/* ServerOperationErrorGenerator.kt:75 */
 2218   4203   
impl ::std::fmt::Display for MalformedTimestampPathDefaultError {
        4204  +
    /* ServerOperationErrorGenerator.kt:76 */
 2219   4205   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        4206  +
        /* ServerOperationErrorGenerator.kt:139 */
 2220   4207   
        match &self {
 2221         -
            MalformedTimestampPathDefaultError::ValidationException(_inner) => _inner.fmt(f),
 2222         -
            MalformedTimestampPathDefaultError::InternalServerError(_inner) => _inner.fmt(f),
        4208  +
            /* ServerOperationErrorGenerator.kt:142 */
        4209  +
            MalformedTimestampPathDefaultError::ValidationException(_inner) =>
        4210  +
            /* ServerOperationErrorGenerator.kt:78 */
        4211  +
            {
        4212  +
                _inner.fmt(f)
        4213  +
            }
        4214  +
            ,
        4215  +
            /* ServerOperationErrorGenerator.kt:142 */
        4216  +
            MalformedTimestampPathDefaultError::InternalServerError(_inner) =>
        4217  +
            /* ServerOperationErrorGenerator.kt:78 */
        4218  +
            {
        4219  +
                _inner.fmt(f)
        4220  +
            }
        4221  +
            /* ServerOperationErrorGenerator.kt:139 */
 2223   4222   
        }
        4223  +
        /* ServerOperationErrorGenerator.kt:76 */
 2224   4224   
    }
        4225  +
    /* ServerOperationErrorGenerator.kt:75 */
 2225   4226   
}
        4227  +
/* ServerOperationErrorGenerator.kt:83 */
 2226   4228   
impl MalformedTimestampPathDefaultError {
        4229  +
    /* ServerOperationErrorGenerator.kt:87 */
 2227   4230   
    /// Returns `true` if the error kind is `MalformedTimestampPathDefaultError::ValidationException`.
        4231  +
    /* ServerOperationErrorGenerator.kt:88 */
 2228   4232   
    pub fn is_validation_exception(&self) -> bool {
        4233  +
        /* ServerOperationErrorGenerator.kt:89 */
 2229   4234   
        matches!(
 2230   4235   
            &self,
 2231   4236   
            MalformedTimestampPathDefaultError::ValidationException(_)
 2232   4237   
        )
        4238  +
        /* ServerOperationErrorGenerator.kt:88 */
 2233   4239   
    }
        4240  +
    /* ServerOperationErrorGenerator.kt:87 */
 2234   4241   
    /// Returns `true` if the error kind is `MalformedTimestampPathDefaultError::InternalServerError`.
        4242  +
    /* ServerOperationErrorGenerator.kt:88 */
 2235   4243   
    pub fn is_internal_server_error(&self) -> bool {
        4244  +
        /* ServerOperationErrorGenerator.kt:89 */
 2236   4245   
        matches!(
 2237   4246   
            &self,
 2238   4247   
            MalformedTimestampPathDefaultError::InternalServerError(_)
 2239   4248   
        )
        4249  +
        /* ServerOperationErrorGenerator.kt:88 */
 2240   4250   
    }
        4251  +
    /* ServerOperationErrorGenerator.kt:92 */
 2241   4252   
    /// Returns the error name string by matching the correct variant.
        4253  +
    /* ServerOperationErrorGenerator.kt:93 */
 2242   4254   
    pub fn name(&self) -> &'static str {
        4255  +
        /* ServerOperationErrorGenerator.kt:139 */
 2243   4256   
        match &self {
 2244         -
            MalformedTimestampPathDefaultError::ValidationException(_inner) => _inner.name(),
 2245         -
            MalformedTimestampPathDefaultError::InternalServerError(_inner) => _inner.name(),
        4257  +
            /* ServerOperationErrorGenerator.kt:142 */
        4258  +
            MalformedTimestampPathDefaultError::ValidationException(_inner) =>
        4259  +
            /* ServerOperationErrorGenerator.kt:95 */
        4260  +
            {
        4261  +
                _inner.name()
        4262  +
            }
        4263  +
            ,
        4264  +
            /* ServerOperationErrorGenerator.kt:142 */
        4265  +
            MalformedTimestampPathDefaultError::InternalServerError(_inner) =>
        4266  +
            /* ServerOperationErrorGenerator.kt:95 */
        4267  +
            {
        4268  +
                _inner.name()
        4269  +
            }
        4270  +
            /* ServerOperationErrorGenerator.kt:139 */
 2246   4271   
        }
        4272  +
        /* ServerOperationErrorGenerator.kt:93 */
 2247   4273   
    }
        4274  +
    /* ServerOperationErrorGenerator.kt:83 */
 2248   4275   
}
        4276  +
/* ServerOperationErrorGenerator.kt:100 */
 2249   4277   
impl ::std::error::Error for MalformedTimestampPathDefaultError {
        4278  +
    /* ServerOperationErrorGenerator.kt:101 */
 2250   4279   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        4280  +
        /* ServerOperationErrorGenerator.kt:139 */
 2251   4281   
        match &self {
 2252         -
            MalformedTimestampPathDefaultError::ValidationException(_inner) => Some(_inner),
 2253         -
            MalformedTimestampPathDefaultError::InternalServerError(_inner) => Some(_inner),
        4282  +
            /* ServerOperationErrorGenerator.kt:142 */
        4283  +
            MalformedTimestampPathDefaultError::ValidationException(_inner) =>
        4284  +
            /* ServerOperationErrorGenerator.kt:103 */
        4285  +
            {
        4286  +
                Some(_inner)
        4287  +
            }
        4288  +
            ,
        4289  +
            /* ServerOperationErrorGenerator.kt:142 */
        4290  +
            MalformedTimestampPathDefaultError::InternalServerError(_inner) =>
        4291  +
            /* ServerOperationErrorGenerator.kt:103 */
        4292  +
            {
        4293  +
                Some(_inner)
        4294  +
            }
        4295  +
            /* ServerOperationErrorGenerator.kt:139 */
 2254   4296   
        }
        4297  +
        /* ServerOperationErrorGenerator.kt:101 */
 2255   4298   
    }
        4299  +
    /* ServerOperationErrorGenerator.kt:100 */
 2256   4300   
}
        4301  +
/* ServerOperationErrorGenerator.kt:110 */
 2257   4302   
impl ::std::convert::From<crate::error::ValidationException>
 2258   4303   
    for crate::error::MalformedTimestampPathDefaultError
 2259   4304   
{
        4305  +
    /* ServerOperationErrorGenerator.kt:111 */
 2260   4306   
    fn from(
 2261   4307   
        variant: crate::error::ValidationException,
 2262   4308   
    ) -> crate::error::MalformedTimestampPathDefaultError {
        4309  +
        /* ServerOperationErrorGenerator.kt:112 */
 2263   4310   
        Self::ValidationException(variant)
        4311  +
        /* ServerOperationErrorGenerator.kt:111 */
 2264   4312   
    }
        4313  +
    /* ServerOperationErrorGenerator.kt:110 */
 2265   4314   
}
        4315  +
/* ServerOperationErrorGenerator.kt:110 */
 2266   4316   
impl ::std::convert::From<crate::error::InternalServerError>
 2267   4317   
    for crate::error::MalformedTimestampPathDefaultError
 2268   4318   
{
        4319  +
    /* ServerOperationErrorGenerator.kt:111 */
 2269   4320   
    fn from(
 2270   4321   
        variant: crate::error::InternalServerError,
 2271   4322   
    ) -> crate::error::MalformedTimestampPathDefaultError {
        4323  +
        /* ServerOperationErrorGenerator.kt:112 */
 2272   4324   
        Self::InternalServerError(variant)
        4325  +
        /* ServerOperationErrorGenerator.kt:111 */
 2273   4326   
    }
        4327  +
    /* ServerOperationErrorGenerator.kt:110 */
 2274   4328   
}
 2275   4329   
        4330  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2276   4331   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedTimestampPathDefaultError {
 2277   4332   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedTimestampPathDefaultError {
 2278   4333   
        ::pyo3::Python::with_gil(|py| {
 2279   4334   
            let error = variant.value(py);
 2280   4335   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 2281   4336   
                return error.into();
 2282   4337   
            }
 2283   4338   
            crate::error::InternalServerError {
 2284   4339   
                message: error.to_string(),
 2285   4340   
            }
 2286   4341   
            .into()
 2287   4342   
        })
 2288   4343   
    }
 2289   4344   
}
 2290   4345   
        4346  +
/* ServerOperationErrorGenerator.kt:63 */
 2291   4347   
/// Error type for the `MalformedString` operation.
        4348  +
/* ServerOperationErrorGenerator.kt:64 */
 2292   4349   
/// Each variant represents an error that can occur for the `MalformedString` operation.
        4350  +
/* RustType.kt:516 */
 2293   4351   
#[derive(::std::fmt::Debug)]
 2294         -
pub enum MalformedStringError {
        4352  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedStringError {
        4353  +
    /* ServerOperationErrorGenerator.kt:68 */
 2295   4354   
    #[allow(missing_docs)] // documentation missing in model
        4355  +
    /* ServerOperationErrorGenerator.kt:71 */
 2296   4356   
    InternalServerError(crate::error::InternalServerError),
        4357  +
    /* ServerOperationErrorGenerator.kt:66 */
 2297   4358   
}
        4359  +
/* ServerOperationErrorGenerator.kt:75 */
 2298   4360   
impl ::std::fmt::Display for MalformedStringError {
        4361  +
    /* ServerOperationErrorGenerator.kt:76 */
 2299   4362   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        4363  +
        /* ServerOperationErrorGenerator.kt:139 */
 2300   4364   
        match &self {
 2301         -
            MalformedStringError::InternalServerError(_inner) => _inner.fmt(f),
        4365  +
            /* ServerOperationErrorGenerator.kt:142 */
        4366  +
            MalformedStringError::InternalServerError(_inner) =>
        4367  +
            /* ServerOperationErrorGenerator.kt:78 */
        4368  +
            {
        4369  +
                _inner.fmt(f)
        4370  +
            }
        4371  +
            /* ServerOperationErrorGenerator.kt:139 */
 2302   4372   
        }
        4373  +
        /* ServerOperationErrorGenerator.kt:76 */
 2303   4374   
    }
        4375  +
    /* ServerOperationErrorGenerator.kt:75 */
 2304   4376   
}
        4377  +
/* ServerOperationErrorGenerator.kt:83 */
 2305   4378   
impl MalformedStringError {
        4379  +
    /* ServerOperationErrorGenerator.kt:87 */
 2306   4380   
    /// Returns `true` if the error kind is `MalformedStringError::InternalServerError`.
        4381  +
    /* ServerOperationErrorGenerator.kt:88 */
 2307   4382   
    pub fn is_internal_server_error(&self) -> bool {
        4383  +
        /* ServerOperationErrorGenerator.kt:89 */
 2308   4384   
        matches!(&self, MalformedStringError::InternalServerError(_))
        4385  +
        /* ServerOperationErrorGenerator.kt:88 */
 2309   4386   
    }
        4387  +
    /* ServerOperationErrorGenerator.kt:92 */
 2310   4388   
    /// Returns the error name string by matching the correct variant.
        4389  +
    /* ServerOperationErrorGenerator.kt:93 */
 2311   4390   
    pub fn name(&self) -> &'static str {
        4391  +
        /* ServerOperationErrorGenerator.kt:139 */
 2312   4392   
        match &self {
 2313         -
            MalformedStringError::InternalServerError(_inner) => _inner.name(),
        4393  +
            /* ServerOperationErrorGenerator.kt:142 */
        4394  +
            MalformedStringError::InternalServerError(_inner) =>
        4395  +
            /* ServerOperationErrorGenerator.kt:95 */
        4396  +
            {
        4397  +
                _inner.name()
        4398  +
            }
        4399  +
            /* ServerOperationErrorGenerator.kt:139 */
 2314   4400   
        }
        4401  +
        /* ServerOperationErrorGenerator.kt:93 */
 2315   4402   
    }
        4403  +
    /* ServerOperationErrorGenerator.kt:83 */
 2316   4404   
}
        4405  +
/* ServerOperationErrorGenerator.kt:100 */
 2317   4406   
impl ::std::error::Error for MalformedStringError {
        4407  +
    /* ServerOperationErrorGenerator.kt:101 */
 2318   4408   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        4409  +
        /* ServerOperationErrorGenerator.kt:139 */
 2319   4410   
        match &self {
 2320         -
            MalformedStringError::InternalServerError(_inner) => Some(_inner),
        4411  +
            /* ServerOperationErrorGenerator.kt:142 */
        4412  +
            MalformedStringError::InternalServerError(_inner) =>
        4413  +
            /* ServerOperationErrorGenerator.kt:103 */
        4414  +
            {
        4415  +
                Some(_inner)
        4416  +
            }
        4417  +
            /* ServerOperationErrorGenerator.kt:139 */
 2321   4418   
        }
        4419  +
        /* ServerOperationErrorGenerator.kt:101 */
 2322   4420   
    }
        4421  +
    /* ServerOperationErrorGenerator.kt:100 */
 2323   4422   
}
        4423  +
/* ServerOperationErrorGenerator.kt:110 */
 2324   4424   
impl ::std::convert::From<crate::error::InternalServerError>
 2325   4425   
    for crate::error::MalformedStringError
 2326   4426   
{
        4427  +
    /* ServerOperationErrorGenerator.kt:111 */
 2327   4428   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedStringError {
        4429  +
        /* ServerOperationErrorGenerator.kt:112 */
 2328   4430   
        Self::InternalServerError(variant)
        4431  +
        /* ServerOperationErrorGenerator.kt:111 */
 2329   4432   
    }
        4433  +
    /* ServerOperationErrorGenerator.kt:110 */
 2330   4434   
}
 2331   4435   
        4436  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2332   4437   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedStringError {
 2333   4438   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedStringError {
 2334   4439   
        ::pyo3::Python::with_gil(|py| {
 2335   4440   
            let error = variant.value(py);
 2336   4441   
 2337   4442   
            crate::error::InternalServerError {
 2338   4443   
                message: error.to_string(),
 2339   4444   
            }
 2340   4445   
            .into()
 2341   4446   
        })
 2342   4447   
    }
 2343   4448   
}
 2344   4449   
        4450  +
/* ServerOperationErrorGenerator.kt:63 */
 2345   4451   
/// Error type for the `MalformedDouble` operation.
        4452  +
/* ServerOperationErrorGenerator.kt:64 */
 2346   4453   
/// Each variant represents an error that can occur for the `MalformedDouble` operation.
        4454  +
/* RustType.kt:516 */
 2347   4455   
#[derive(::std::fmt::Debug)]
 2348         -
pub enum MalformedDoubleError {
 2349         -
    /// 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.
        4456  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedDoubleError {
        4457  +
    /// /* 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.
        4458  +
    /* ServerOperationErrorGenerator.kt:71 */
 2350   4459   
    ValidationException(crate::error::ValidationException),
        4460  +
    /* ServerOperationErrorGenerator.kt:68 */
 2351   4461   
    #[allow(missing_docs)] // documentation missing in model
        4462  +
    /* ServerOperationErrorGenerator.kt:71 */
 2352   4463   
    InternalServerError(crate::error::InternalServerError),
        4464  +
    /* ServerOperationErrorGenerator.kt:66 */
 2353   4465   
}
        4466  +
/* ServerOperationErrorGenerator.kt:75 */
 2354   4467   
impl ::std::fmt::Display for MalformedDoubleError {
        4468  +
    /* ServerOperationErrorGenerator.kt:76 */
 2355   4469   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        4470  +
        /* ServerOperationErrorGenerator.kt:139 */
 2356   4471   
        match &self {
 2357         -
            MalformedDoubleError::ValidationException(_inner) => _inner.fmt(f),
 2358         -
            MalformedDoubleError::InternalServerError(_inner) => _inner.fmt(f),
        4472  +
            /* ServerOperationErrorGenerator.kt:142 */
        4473  +
            MalformedDoubleError::ValidationException(_inner) =>
        4474  +
            /* ServerOperationErrorGenerator.kt:78 */
        4475  +
            {
        4476  +
                _inner.fmt(f)
        4477  +
            }
        4478  +
            ,
        4479  +
            /* ServerOperationErrorGenerator.kt:142 */
        4480  +
            MalformedDoubleError::InternalServerError(_inner) =>
        4481  +
            /* ServerOperationErrorGenerator.kt:78 */
        4482  +
            {
        4483  +
                _inner.fmt(f)
        4484  +
            }
        4485  +
            /* ServerOperationErrorGenerator.kt:139 */
 2359   4486   
        }
        4487  +
        /* ServerOperationErrorGenerator.kt:76 */
 2360   4488   
    }
        4489  +
    /* ServerOperationErrorGenerator.kt:75 */
 2361   4490   
}
        4491  +
/* ServerOperationErrorGenerator.kt:83 */
 2362   4492   
impl MalformedDoubleError {
        4493  +
    /* ServerOperationErrorGenerator.kt:87 */
 2363   4494   
    /// Returns `true` if the error kind is `MalformedDoubleError::ValidationException`.
        4495  +
    /* ServerOperationErrorGenerator.kt:88 */
 2364   4496   
    pub fn is_validation_exception(&self) -> bool {
        4497  +
        /* ServerOperationErrorGenerator.kt:89 */
 2365   4498   
        matches!(&self, MalformedDoubleError::ValidationException(_))
        4499  +
        /* ServerOperationErrorGenerator.kt:88 */
 2366   4500   
    }
        4501  +
    /* ServerOperationErrorGenerator.kt:87 */
 2367   4502   
    /// Returns `true` if the error kind is `MalformedDoubleError::InternalServerError`.
        4503  +
    /* ServerOperationErrorGenerator.kt:88 */
 2368   4504   
    pub fn is_internal_server_error(&self) -> bool {
        4505  +
        /* ServerOperationErrorGenerator.kt:89 */
 2369   4506   
        matches!(&self, MalformedDoubleError::InternalServerError(_))
        4507  +
        /* ServerOperationErrorGenerator.kt:88 */
 2370   4508   
    }
        4509  +
    /* ServerOperationErrorGenerator.kt:92 */
 2371   4510   
    /// Returns the error name string by matching the correct variant.
        4511  +
    /* ServerOperationErrorGenerator.kt:93 */
 2372   4512   
    pub fn name(&self) -> &'static str {
        4513  +
        /* ServerOperationErrorGenerator.kt:139 */
 2373   4514   
        match &self {
 2374         -
            MalformedDoubleError::ValidationException(_inner) => _inner.name(),
 2375         -
            MalformedDoubleError::InternalServerError(_inner) => _inner.name(),
        4515  +
            /* ServerOperationErrorGenerator.kt:142 */
        4516  +
            MalformedDoubleError::ValidationException(_inner) =>
        4517  +
            /* ServerOperationErrorGenerator.kt:95 */
        4518  +
            {
        4519  +
                _inner.name()
        4520  +
            }
        4521  +
            ,
        4522  +
            /* ServerOperationErrorGenerator.kt:142 */
        4523  +
            MalformedDoubleError::InternalServerError(_inner) =>
        4524  +
            /* ServerOperationErrorGenerator.kt:95 */
        4525  +
            {
        4526  +
                _inner.name()
        4527  +
            }
        4528  +
            /* ServerOperationErrorGenerator.kt:139 */
 2376   4529   
        }
        4530  +
        /* ServerOperationErrorGenerator.kt:93 */
 2377   4531   
    }
        4532  +
    /* ServerOperationErrorGenerator.kt:83 */
 2378   4533   
}
        4534  +
/* ServerOperationErrorGenerator.kt:100 */
 2379   4535   
impl ::std::error::Error for MalformedDoubleError {
        4536  +
    /* ServerOperationErrorGenerator.kt:101 */
 2380   4537   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        4538  +
        /* ServerOperationErrorGenerator.kt:139 */
 2381   4539   
        match &self {
 2382         -
            MalformedDoubleError::ValidationException(_inner) => Some(_inner),
 2383         -
            MalformedDoubleError::InternalServerError(_inner) => Some(_inner),
        4540  +
            /* ServerOperationErrorGenerator.kt:142 */
        4541  +
            MalformedDoubleError::ValidationException(_inner) =>
        4542  +
            /* ServerOperationErrorGenerator.kt:103 */
        4543  +
            {
        4544  +
                Some(_inner)
        4545  +
            }
        4546  +
            ,
        4547  +
            /* ServerOperationErrorGenerator.kt:142 */
        4548  +
            MalformedDoubleError::InternalServerError(_inner) =>
        4549  +
            /* ServerOperationErrorGenerator.kt:103 */
        4550  +
            {
        4551  +
                Some(_inner)
        4552  +
            }
        4553  +
            /* ServerOperationErrorGenerator.kt:139 */
 2384   4554   
        }
        4555  +
        /* ServerOperationErrorGenerator.kt:101 */
 2385   4556   
    }
        4557  +
    /* ServerOperationErrorGenerator.kt:100 */
 2386   4558   
}
        4559  +
/* ServerOperationErrorGenerator.kt:110 */
 2387   4560   
impl ::std::convert::From<crate::error::ValidationException>
 2388   4561   
    for crate::error::MalformedDoubleError
 2389   4562   
{
        4563  +
    /* ServerOperationErrorGenerator.kt:111 */
 2390   4564   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedDoubleError {
        4565  +
        /* ServerOperationErrorGenerator.kt:112 */
 2391   4566   
        Self::ValidationException(variant)
        4567  +
        /* ServerOperationErrorGenerator.kt:111 */
 2392   4568   
    }
        4569  +
    /* ServerOperationErrorGenerator.kt:110 */
 2393   4570   
}
        4571  +
/* ServerOperationErrorGenerator.kt:110 */
 2394   4572   
impl ::std::convert::From<crate::error::InternalServerError>
 2395   4573   
    for crate::error::MalformedDoubleError
 2396   4574   
{
        4575  +
    /* ServerOperationErrorGenerator.kt:111 */
 2397   4576   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedDoubleError {
        4577  +
        /* ServerOperationErrorGenerator.kt:112 */
 2398   4578   
        Self::InternalServerError(variant)
        4579  +
        /* ServerOperationErrorGenerator.kt:111 */
 2399   4580   
    }
        4581  +
    /* ServerOperationErrorGenerator.kt:110 */
 2400   4582   
}
 2401   4583   
        4584  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2402   4585   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedDoubleError {
 2403   4586   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedDoubleError {
 2404   4587   
        ::pyo3::Python::with_gil(|py| {
 2405   4588   
            let error = variant.value(py);
 2406   4589   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 2407   4590   
                return error.into();
 2408   4591   
            }
 2409   4592   
            crate::error::InternalServerError {
 2410   4593   
                message: error.to_string(),
 2411   4594   
            }
 2412   4595   
            .into()
 2413   4596   
        })
 2414   4597   
    }
 2415   4598   
}
 2416   4599   
        4600  +
/* ServerOperationErrorGenerator.kt:63 */
 2417   4601   
/// Error type for the `MalformedFloat` operation.
        4602  +
/* ServerOperationErrorGenerator.kt:64 */
 2418   4603   
/// Each variant represents an error that can occur for the `MalformedFloat` operation.
        4604  +
/* RustType.kt:516 */
 2419   4605   
#[derive(::std::fmt::Debug)]
 2420         -
pub enum MalformedFloatError {
 2421         -
    /// 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.
        4606  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedFloatError {
        4607  +
    /// /* 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.
        4608  +
    /* ServerOperationErrorGenerator.kt:71 */
 2422   4609   
    ValidationException(crate::error::ValidationException),
        4610  +
    /* ServerOperationErrorGenerator.kt:68 */
 2423   4611   
    #[allow(missing_docs)] // documentation missing in model
        4612  +
    /* ServerOperationErrorGenerator.kt:71 */
 2424   4613   
    InternalServerError(crate::error::InternalServerError),
        4614  +
    /* ServerOperationErrorGenerator.kt:66 */
 2425   4615   
}
        4616  +
/* ServerOperationErrorGenerator.kt:75 */
 2426   4617   
impl ::std::fmt::Display for MalformedFloatError {
        4618  +
    /* ServerOperationErrorGenerator.kt:76 */
 2427   4619   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        4620  +
        /* ServerOperationErrorGenerator.kt:139 */
 2428   4621   
        match &self {
 2429         -
            MalformedFloatError::ValidationException(_inner) => _inner.fmt(f),
 2430         -
            MalformedFloatError::InternalServerError(_inner) => _inner.fmt(f),
        4622  +
            /* ServerOperationErrorGenerator.kt:142 */
        4623  +
            MalformedFloatError::ValidationException(_inner) =>
        4624  +
            /* ServerOperationErrorGenerator.kt:78 */
        4625  +
            {
        4626  +
                _inner.fmt(f)
        4627  +
            }
        4628  +
            ,
        4629  +
            /* ServerOperationErrorGenerator.kt:142 */
        4630  +
            MalformedFloatError::InternalServerError(_inner) =>
        4631  +
            /* ServerOperationErrorGenerator.kt:78 */
        4632  +
            {
        4633  +
                _inner.fmt(f)
        4634  +
            }
        4635  +
            /* ServerOperationErrorGenerator.kt:139 */
 2431   4636   
        }
        4637  +
        /* ServerOperationErrorGenerator.kt:76 */
 2432   4638   
    }
        4639  +
    /* ServerOperationErrorGenerator.kt:75 */
 2433   4640   
}
        4641  +
/* ServerOperationErrorGenerator.kt:83 */
 2434   4642   
impl MalformedFloatError {
        4643  +
    /* ServerOperationErrorGenerator.kt:87 */
 2435   4644   
    /// Returns `true` if the error kind is `MalformedFloatError::ValidationException`.
        4645  +
    /* ServerOperationErrorGenerator.kt:88 */
 2436   4646   
    pub fn is_validation_exception(&self) -> bool {
        4647  +
        /* ServerOperationErrorGenerator.kt:89 */
 2437   4648   
        matches!(&self, MalformedFloatError::ValidationException(_))
        4649  +
        /* ServerOperationErrorGenerator.kt:88 */
 2438   4650   
    }
        4651  +
    /* ServerOperationErrorGenerator.kt:87 */
 2439   4652   
    /// Returns `true` if the error kind is `MalformedFloatError::InternalServerError`.
        4653  +
    /* ServerOperationErrorGenerator.kt:88 */
 2440   4654   
    pub fn is_internal_server_error(&self) -> bool {
        4655  +
        /* ServerOperationErrorGenerator.kt:89 */
 2441   4656   
        matches!(&self, MalformedFloatError::InternalServerError(_))
        4657  +
        /* ServerOperationErrorGenerator.kt:88 */
 2442   4658   
    }
        4659  +
    /* ServerOperationErrorGenerator.kt:92 */
 2443   4660   
    /// Returns the error name string by matching the correct variant.
        4661  +
    /* ServerOperationErrorGenerator.kt:93 */
 2444   4662   
    pub fn name(&self) -> &'static str {
        4663  +
        /* ServerOperationErrorGenerator.kt:139 */
 2445   4664   
        match &self {
 2446         -
            MalformedFloatError::ValidationException(_inner) => _inner.name(),
 2447         -
            MalformedFloatError::InternalServerError(_inner) => _inner.name(),
        4665  +
            /* ServerOperationErrorGenerator.kt:142 */
        4666  +
            MalformedFloatError::ValidationException(_inner) =>
        4667  +
            /* ServerOperationErrorGenerator.kt:95 */
        4668  +
            {
        4669  +
                _inner.name()
        4670  +
            }
        4671  +
            ,
        4672  +
            /* ServerOperationErrorGenerator.kt:142 */
        4673  +
            MalformedFloatError::InternalServerError(_inner) =>
        4674  +
            /* ServerOperationErrorGenerator.kt:95 */
        4675  +
            {
        4676  +
                _inner.name()
        4677  +
            }
        4678  +
            /* ServerOperationErrorGenerator.kt:139 */
 2448   4679   
        }
        4680  +
        /* ServerOperationErrorGenerator.kt:93 */
 2449   4681   
    }
        4682  +
    /* ServerOperationErrorGenerator.kt:83 */
 2450   4683   
}
        4684  +
/* ServerOperationErrorGenerator.kt:100 */
 2451   4685   
impl ::std::error::Error for MalformedFloatError {
        4686  +
    /* ServerOperationErrorGenerator.kt:101 */
 2452   4687   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        4688  +
        /* ServerOperationErrorGenerator.kt:139 */
 2453   4689   
        match &self {
 2454         -
            MalformedFloatError::ValidationException(_inner) => Some(_inner),
 2455         -
            MalformedFloatError::InternalServerError(_inner) => Some(_inner),
        4690  +
            /* ServerOperationErrorGenerator.kt:142 */
        4691  +
            MalformedFloatError::ValidationException(_inner) =>
        4692  +
            /* ServerOperationErrorGenerator.kt:103 */
        4693  +
            {
        4694  +
                Some(_inner)
        4695  +
            }
        4696  +
            ,
        4697  +
            /* ServerOperationErrorGenerator.kt:142 */
        4698  +
            MalformedFloatError::InternalServerError(_inner) =>
        4699  +
            /* ServerOperationErrorGenerator.kt:103 */
        4700  +
            {
        4701  +
                Some(_inner)
        4702  +
            }
        4703  +
            /* ServerOperationErrorGenerator.kt:139 */
 2456   4704   
        }
        4705  +
        /* ServerOperationErrorGenerator.kt:101 */
 2457   4706   
    }
        4707  +
    /* ServerOperationErrorGenerator.kt:100 */
 2458   4708   
}
        4709  +
/* ServerOperationErrorGenerator.kt:110 */
 2459   4710   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::MalformedFloatError {
        4711  +
    /* ServerOperationErrorGenerator.kt:111 */
 2460   4712   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedFloatError {
        4713  +
        /* ServerOperationErrorGenerator.kt:112 */
 2461   4714   
        Self::ValidationException(variant)
        4715  +
        /* ServerOperationErrorGenerator.kt:111 */
 2462   4716   
    }
        4717  +
    /* ServerOperationErrorGenerator.kt:110 */
 2463   4718   
}
        4719  +
/* ServerOperationErrorGenerator.kt:110 */
 2464   4720   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::MalformedFloatError {
        4721  +
    /* ServerOperationErrorGenerator.kt:111 */
 2465   4722   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedFloatError {
        4723  +
        /* ServerOperationErrorGenerator.kt:112 */
 2466   4724   
        Self::InternalServerError(variant)
        4725  +
        /* ServerOperationErrorGenerator.kt:111 */
 2467   4726   
    }
        4727  +
    /* ServerOperationErrorGenerator.kt:110 */
 2468   4728   
}
 2469   4729   
        4730  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2470   4731   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedFloatError {
 2471   4732   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedFloatError {
 2472   4733   
        ::pyo3::Python::with_gil(|py| {
 2473   4734   
            let error = variant.value(py);
 2474   4735   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 2475   4736   
                return error.into();
 2476   4737   
            }
 2477   4738   
            crate::error::InternalServerError {
 2478   4739   
                message: error.to_string(),
 2479   4740   
            }
 2480   4741   
            .into()
 2481   4742   
        })
 2482   4743   
    }
 2483   4744   
}
 2484   4745   
        4746  +
/* ServerOperationErrorGenerator.kt:63 */
 2485   4747   
/// Error type for the `MalformedLong` operation.
        4748  +
/* ServerOperationErrorGenerator.kt:64 */
 2486   4749   
/// Each variant represents an error that can occur for the `MalformedLong` operation.
        4750  +
/* RustType.kt:516 */
 2487   4751   
#[derive(::std::fmt::Debug)]
 2488         -
pub enum MalformedLongError {
 2489         -
    /// 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.
        4752  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedLongError {
        4753  +
    /// /* 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.
        4754  +
    /* ServerOperationErrorGenerator.kt:71 */
 2490   4755   
    ValidationException(crate::error::ValidationException),
        4756  +
    /* ServerOperationErrorGenerator.kt:68 */
 2491   4757   
    #[allow(missing_docs)] // documentation missing in model
        4758  +
    /* ServerOperationErrorGenerator.kt:71 */
 2492   4759   
    InternalServerError(crate::error::InternalServerError),
        4760  +
    /* ServerOperationErrorGenerator.kt:66 */
 2493   4761   
}
        4762  +
/* ServerOperationErrorGenerator.kt:75 */
 2494   4763   
impl ::std::fmt::Display for MalformedLongError {
        4764  +
    /* ServerOperationErrorGenerator.kt:76 */
 2495   4765   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        4766  +
        /* ServerOperationErrorGenerator.kt:139 */
 2496   4767   
        match &self {
 2497         -
            MalformedLongError::ValidationException(_inner) => _inner.fmt(f),
 2498         -
            MalformedLongError::InternalServerError(_inner) => _inner.fmt(f),
        4768  +
            /* ServerOperationErrorGenerator.kt:142 */
        4769  +
            MalformedLongError::ValidationException(_inner) =>
        4770  +
            /* ServerOperationErrorGenerator.kt:78 */
        4771  +
            {
        4772  +
                _inner.fmt(f)
        4773  +
            }
        4774  +
            ,
        4775  +
            /* ServerOperationErrorGenerator.kt:142 */
        4776  +
            MalformedLongError::InternalServerError(_inner) =>
        4777  +
            /* ServerOperationErrorGenerator.kt:78 */
        4778  +
            {
        4779  +
                _inner.fmt(f)
        4780  +
            }
        4781  +
            /* ServerOperationErrorGenerator.kt:139 */
 2499   4782   
        }
        4783  +
        /* ServerOperationErrorGenerator.kt:76 */
 2500   4784   
    }
        4785  +
    /* ServerOperationErrorGenerator.kt:75 */
 2501   4786   
}
        4787  +
/* ServerOperationErrorGenerator.kt:83 */
 2502   4788   
impl MalformedLongError {
        4789  +
    /* ServerOperationErrorGenerator.kt:87 */
 2503   4790   
    /// Returns `true` if the error kind is `MalformedLongError::ValidationException`.
        4791  +
    /* ServerOperationErrorGenerator.kt:88 */
 2504   4792   
    pub fn is_validation_exception(&self) -> bool {
        4793  +
        /* ServerOperationErrorGenerator.kt:89 */
 2505   4794   
        matches!(&self, MalformedLongError::ValidationException(_))
        4795  +
        /* ServerOperationErrorGenerator.kt:88 */
 2506   4796   
    }
        4797  +
    /* ServerOperationErrorGenerator.kt:87 */
 2507   4798   
    /// Returns `true` if the error kind is `MalformedLongError::InternalServerError`.
        4799  +
    /* ServerOperationErrorGenerator.kt:88 */
 2508   4800   
    pub fn is_internal_server_error(&self) -> bool {
        4801  +
        /* ServerOperationErrorGenerator.kt:89 */
 2509   4802   
        matches!(&self, MalformedLongError::InternalServerError(_))
        4803  +
        /* ServerOperationErrorGenerator.kt:88 */
 2510   4804   
    }
        4805  +
    /* ServerOperationErrorGenerator.kt:92 */
 2511   4806   
    /// Returns the error name string by matching the correct variant.
        4807  +
    /* ServerOperationErrorGenerator.kt:93 */
 2512   4808   
    pub fn name(&self) -> &'static str {
        4809  +
        /* ServerOperationErrorGenerator.kt:139 */
 2513   4810   
        match &self {
 2514         -
            MalformedLongError::ValidationException(_inner) => _inner.name(),
 2515         -
            MalformedLongError::InternalServerError(_inner) => _inner.name(),
        4811  +
            /* ServerOperationErrorGenerator.kt:142 */
        4812  +
            MalformedLongError::ValidationException(_inner) =>
        4813  +
            /* ServerOperationErrorGenerator.kt:95 */
        4814  +
            {
        4815  +
                _inner.name()
        4816  +
            }
        4817  +
            ,
        4818  +
            /* ServerOperationErrorGenerator.kt:142 */
        4819  +
            MalformedLongError::InternalServerError(_inner) =>
        4820  +
            /* ServerOperationErrorGenerator.kt:95 */
        4821  +
            {
        4822  +
                _inner.name()
        4823  +
            }
        4824  +
            /* ServerOperationErrorGenerator.kt:139 */
 2516   4825   
        }
        4826  +
        /* ServerOperationErrorGenerator.kt:93 */
 2517   4827   
    }
        4828  +
    /* ServerOperationErrorGenerator.kt:83 */
 2518   4829   
}
        4830  +
/* ServerOperationErrorGenerator.kt:100 */
 2519   4831   
impl ::std::error::Error for MalformedLongError {
        4832  +
    /* ServerOperationErrorGenerator.kt:101 */
 2520   4833   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        4834  +
        /* ServerOperationErrorGenerator.kt:139 */
 2521   4835   
        match &self {
 2522         -
            MalformedLongError::ValidationException(_inner) => Some(_inner),
 2523         -
            MalformedLongError::InternalServerError(_inner) => Some(_inner),
        4836  +
            /* ServerOperationErrorGenerator.kt:142 */
        4837  +
            MalformedLongError::ValidationException(_inner) =>
        4838  +
            /* ServerOperationErrorGenerator.kt:103 */
        4839  +
            {
        4840  +
                Some(_inner)
        4841  +
            }
        4842  +
            ,
        4843  +
            /* ServerOperationErrorGenerator.kt:142 */
        4844  +
            MalformedLongError::InternalServerError(_inner) =>
        4845  +
            /* ServerOperationErrorGenerator.kt:103 */
        4846  +
            {
        4847  +
                Some(_inner)
        4848  +
            }
        4849  +
            /* ServerOperationErrorGenerator.kt:139 */
 2524   4850   
        }
        4851  +
        /* ServerOperationErrorGenerator.kt:101 */
 2525   4852   
    }
        4853  +
    /* ServerOperationErrorGenerator.kt:100 */
 2526   4854   
}
        4855  +
/* ServerOperationErrorGenerator.kt:110 */
 2527   4856   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::MalformedLongError {
        4857  +
    /* ServerOperationErrorGenerator.kt:111 */
 2528   4858   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedLongError {
        4859  +
        /* ServerOperationErrorGenerator.kt:112 */
 2529   4860   
        Self::ValidationException(variant)
        4861  +
        /* ServerOperationErrorGenerator.kt:111 */
 2530   4862   
    }
        4863  +
    /* ServerOperationErrorGenerator.kt:110 */
 2531   4864   
}
        4865  +
/* ServerOperationErrorGenerator.kt:110 */
 2532   4866   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::MalformedLongError {
        4867  +
    /* ServerOperationErrorGenerator.kt:111 */
 2533   4868   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedLongError {
        4869  +
        /* ServerOperationErrorGenerator.kt:112 */
 2534   4870   
        Self::InternalServerError(variant)
        4871  +
        /* ServerOperationErrorGenerator.kt:111 */
 2535   4872   
    }
        4873  +
    /* ServerOperationErrorGenerator.kt:110 */
 2536   4874   
}
 2537   4875   
        4876  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2538   4877   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedLongError {
 2539   4878   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedLongError {
 2540   4879   
        ::pyo3::Python::with_gil(|py| {
 2541   4880   
            let error = variant.value(py);
 2542   4881   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 2543   4882   
                return error.into();
 2544   4883   
            }
 2545   4884   
            crate::error::InternalServerError {
 2546   4885   
                message: error.to_string(),
 2547   4886   
            }
 2548   4887   
            .into()
 2549   4888   
        })
 2550   4889   
    }
 2551   4890   
}
 2552   4891   
        4892  +
/* ServerOperationErrorGenerator.kt:63 */
 2553   4893   
/// Error type for the `MalformedShort` operation.
        4894  +
/* ServerOperationErrorGenerator.kt:64 */
 2554   4895   
/// Each variant represents an error that can occur for the `MalformedShort` operation.
        4896  +
/* RustType.kt:516 */
 2555   4897   
#[derive(::std::fmt::Debug)]
 2556         -
pub enum MalformedShortError {
 2557         -
    /// 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.
        4898  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedShortError {
        4899  +
    /// /* 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.
        4900  +
    /* ServerOperationErrorGenerator.kt:71 */
 2558   4901   
    ValidationException(crate::error::ValidationException),
        4902  +
    /* ServerOperationErrorGenerator.kt:68 */
 2559   4903   
    #[allow(missing_docs)] // documentation missing in model
        4904  +
    /* ServerOperationErrorGenerator.kt:71 */
 2560   4905   
    InternalServerError(crate::error::InternalServerError),
        4906  +
    /* ServerOperationErrorGenerator.kt:66 */
 2561   4907   
}
        4908  +
/* ServerOperationErrorGenerator.kt:75 */
 2562   4909   
impl ::std::fmt::Display for MalformedShortError {
        4910  +
    /* ServerOperationErrorGenerator.kt:76 */
 2563   4911   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        4912  +
        /* ServerOperationErrorGenerator.kt:139 */
 2564   4913   
        match &self {
 2565         -
            MalformedShortError::ValidationException(_inner) => _inner.fmt(f),
 2566         -
            MalformedShortError::InternalServerError(_inner) => _inner.fmt(f),
        4914  +
            /* ServerOperationErrorGenerator.kt:142 */
        4915  +
            MalformedShortError::ValidationException(_inner) =>
        4916  +
            /* ServerOperationErrorGenerator.kt:78 */
        4917  +
            {
        4918  +
                _inner.fmt(f)
        4919  +
            }
        4920  +
            ,
        4921  +
            /* ServerOperationErrorGenerator.kt:142 */
        4922  +
            MalformedShortError::InternalServerError(_inner) =>
        4923  +
            /* ServerOperationErrorGenerator.kt:78 */
        4924  +
            {
        4925  +
                _inner.fmt(f)
        4926  +
            }
        4927  +
            /* ServerOperationErrorGenerator.kt:139 */
 2567   4928   
        }
        4929  +
        /* ServerOperationErrorGenerator.kt:76 */
 2568   4930   
    }
        4931  +
    /* ServerOperationErrorGenerator.kt:75 */
 2569   4932   
}
        4933  +
/* ServerOperationErrorGenerator.kt:83 */
 2570   4934   
impl MalformedShortError {
        4935  +
    /* ServerOperationErrorGenerator.kt:87 */
 2571   4936   
    /// Returns `true` if the error kind is `MalformedShortError::ValidationException`.
        4937  +
    /* ServerOperationErrorGenerator.kt:88 */
 2572   4938   
    pub fn is_validation_exception(&self) -> bool {
        4939  +
        /* ServerOperationErrorGenerator.kt:89 */
 2573   4940   
        matches!(&self, MalformedShortError::ValidationException(_))
        4941  +
        /* ServerOperationErrorGenerator.kt:88 */
 2574   4942   
    }
        4943  +
    /* ServerOperationErrorGenerator.kt:87 */
 2575   4944   
    /// Returns `true` if the error kind is `MalformedShortError::InternalServerError`.
        4945  +
    /* ServerOperationErrorGenerator.kt:88 */
 2576   4946   
    pub fn is_internal_server_error(&self) -> bool {
        4947  +
        /* ServerOperationErrorGenerator.kt:89 */
 2577   4948   
        matches!(&self, MalformedShortError::InternalServerError(_))
        4949  +
        /* ServerOperationErrorGenerator.kt:88 */
 2578   4950   
    }
        4951  +
    /* ServerOperationErrorGenerator.kt:92 */
 2579   4952   
    /// Returns the error name string by matching the correct variant.
        4953  +
    /* ServerOperationErrorGenerator.kt:93 */
 2580   4954   
    pub fn name(&self) -> &'static str {
        4955  +
        /* ServerOperationErrorGenerator.kt:139 */
 2581   4956   
        match &self {
 2582         -
            MalformedShortError::ValidationException(_inner) => _inner.name(),
 2583         -
            MalformedShortError::InternalServerError(_inner) => _inner.name(),
        4957  +
            /* ServerOperationErrorGenerator.kt:142 */
        4958  +
            MalformedShortError::ValidationException(_inner) =>
        4959  +
            /* ServerOperationErrorGenerator.kt:95 */
        4960  +
            {
        4961  +
                _inner.name()
        4962  +
            }
        4963  +
            ,
        4964  +
            /* ServerOperationErrorGenerator.kt:142 */
        4965  +
            MalformedShortError::InternalServerError(_inner) =>
        4966  +
            /* ServerOperationErrorGenerator.kt:95 */
        4967  +
            {
        4968  +
                _inner.name()
        4969  +
            }
        4970  +
            /* ServerOperationErrorGenerator.kt:139 */
 2584   4971   
        }
        4972  +
        /* ServerOperationErrorGenerator.kt:93 */
 2585   4973   
    }
        4974  +
    /* ServerOperationErrorGenerator.kt:83 */
 2586   4975   
}
        4976  +
/* ServerOperationErrorGenerator.kt:100 */
 2587   4977   
impl ::std::error::Error for MalformedShortError {
        4978  +
    /* ServerOperationErrorGenerator.kt:101 */
 2588   4979   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        4980  +
        /* ServerOperationErrorGenerator.kt:139 */
 2589   4981   
        match &self {
 2590         -
            MalformedShortError::ValidationException(_inner) => Some(_inner),
 2591         -
            MalformedShortError::InternalServerError(_inner) => Some(_inner),
        4982  +
            /* ServerOperationErrorGenerator.kt:142 */
        4983  +
            MalformedShortError::ValidationException(_inner) =>
        4984  +
            /* ServerOperationErrorGenerator.kt:103 */
        4985  +
            {
        4986  +
                Some(_inner)
        4987  +
            }
        4988  +
            ,
        4989  +
            /* ServerOperationErrorGenerator.kt:142 */
        4990  +
            MalformedShortError::InternalServerError(_inner) =>
        4991  +
            /* ServerOperationErrorGenerator.kt:103 */
        4992  +
            {
        4993  +
                Some(_inner)
        4994  +
            }
        4995  +
            /* ServerOperationErrorGenerator.kt:139 */
 2592   4996   
        }
        4997  +
        /* ServerOperationErrorGenerator.kt:101 */
 2593   4998   
    }
        4999  +
    /* ServerOperationErrorGenerator.kt:100 */
 2594   5000   
}
        5001  +
/* ServerOperationErrorGenerator.kt:110 */
 2595   5002   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::MalformedShortError {
        5003  +
    /* ServerOperationErrorGenerator.kt:111 */
 2596   5004   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedShortError {
        5005  +
        /* ServerOperationErrorGenerator.kt:112 */
 2597   5006   
        Self::ValidationException(variant)
        5007  +
        /* ServerOperationErrorGenerator.kt:111 */
 2598   5008   
    }
        5009  +
    /* ServerOperationErrorGenerator.kt:110 */
 2599   5010   
}
        5011  +
/* ServerOperationErrorGenerator.kt:110 */
 2600   5012   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::MalformedShortError {
        5013  +
    /* ServerOperationErrorGenerator.kt:111 */
 2601   5014   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedShortError {
        5015  +
        /* ServerOperationErrorGenerator.kt:112 */
 2602   5016   
        Self::InternalServerError(variant)
        5017  +
        /* ServerOperationErrorGenerator.kt:111 */
 2603   5018   
    }
        5019  +
    /* ServerOperationErrorGenerator.kt:110 */
 2604   5020   
}
 2605   5021   
        5022  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2606   5023   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedShortError {
 2607   5024   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedShortError {
 2608   5025   
        ::pyo3::Python::with_gil(|py| {
 2609   5026   
            let error = variant.value(py);
 2610   5027   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 2611   5028   
                return error.into();
 2612   5029   
            }
 2613   5030   
            crate::error::InternalServerError {
 2614   5031   
                message: error.to_string(),
 2615   5032   
            }
 2616   5033   
            .into()
 2617   5034   
        })
 2618   5035   
    }
 2619   5036   
}
 2620   5037   
        5038  +
/* ServerOperationErrorGenerator.kt:63 */
 2621   5039   
/// Error type for the `MalformedByte` operation.
        5040  +
/* ServerOperationErrorGenerator.kt:64 */
 2622   5041   
/// Each variant represents an error that can occur for the `MalformedByte` operation.
        5042  +
/* RustType.kt:516 */
 2623   5043   
#[derive(::std::fmt::Debug)]
 2624         -
pub enum MalformedByteError {
 2625         -
    /// 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.
        5044  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedByteError {
        5045  +
    /// /* 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.
        5046  +
    /* ServerOperationErrorGenerator.kt:71 */
 2626   5047   
    ValidationException(crate::error::ValidationException),
        5048  +
    /* ServerOperationErrorGenerator.kt:68 */
 2627   5049   
    #[allow(missing_docs)] // documentation missing in model
        5050  +
    /* ServerOperationErrorGenerator.kt:71 */
 2628   5051   
    InternalServerError(crate::error::InternalServerError),
        5052  +
    /* ServerOperationErrorGenerator.kt:66 */
 2629   5053   
}
        5054  +
/* ServerOperationErrorGenerator.kt:75 */
 2630   5055   
impl ::std::fmt::Display for MalformedByteError {
        5056  +
    /* ServerOperationErrorGenerator.kt:76 */
 2631   5057   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        5058  +
        /* ServerOperationErrorGenerator.kt:139 */
 2632   5059   
        match &self {
 2633         -
            MalformedByteError::ValidationException(_inner) => _inner.fmt(f),
 2634         -
            MalformedByteError::InternalServerError(_inner) => _inner.fmt(f),
        5060  +
            /* ServerOperationErrorGenerator.kt:142 */
        5061  +
            MalformedByteError::ValidationException(_inner) =>
        5062  +
            /* ServerOperationErrorGenerator.kt:78 */
        5063  +
            {
        5064  +
                _inner.fmt(f)
        5065  +
            }
        5066  +
            ,
        5067  +
            /* ServerOperationErrorGenerator.kt:142 */
        5068  +
            MalformedByteError::InternalServerError(_inner) =>
        5069  +
            /* ServerOperationErrorGenerator.kt:78 */
        5070  +
            {
        5071  +
                _inner.fmt(f)
        5072  +
            }
        5073  +
            /* ServerOperationErrorGenerator.kt:139 */
 2635   5074   
        }
        5075  +
        /* ServerOperationErrorGenerator.kt:76 */
 2636   5076   
    }
        5077  +
    /* ServerOperationErrorGenerator.kt:75 */
 2637   5078   
}
        5079  +
/* ServerOperationErrorGenerator.kt:83 */
 2638   5080   
impl MalformedByteError {
        5081  +
    /* ServerOperationErrorGenerator.kt:87 */
 2639   5082   
    /// Returns `true` if the error kind is `MalformedByteError::ValidationException`.
        5083  +
    /* ServerOperationErrorGenerator.kt:88 */
 2640   5084   
    pub fn is_validation_exception(&self) -> bool {
        5085  +
        /* ServerOperationErrorGenerator.kt:89 */
 2641   5086   
        matches!(&self, MalformedByteError::ValidationException(_))
        5087  +
        /* ServerOperationErrorGenerator.kt:88 */
 2642   5088   
    }
        5089  +
    /* ServerOperationErrorGenerator.kt:87 */
 2643   5090   
    /// Returns `true` if the error kind is `MalformedByteError::InternalServerError`.
        5091  +
    /* ServerOperationErrorGenerator.kt:88 */
 2644   5092   
    pub fn is_internal_server_error(&self) -> bool {
        5093  +
        /* ServerOperationErrorGenerator.kt:89 */
 2645   5094   
        matches!(&self, MalformedByteError::InternalServerError(_))
        5095  +
        /* ServerOperationErrorGenerator.kt:88 */
 2646   5096   
    }
        5097  +
    /* ServerOperationErrorGenerator.kt:92 */
 2647   5098   
    /// Returns the error name string by matching the correct variant.
        5099  +
    /* ServerOperationErrorGenerator.kt:93 */
 2648   5100   
    pub fn name(&self) -> &'static str {
        5101  +
        /* ServerOperationErrorGenerator.kt:139 */
 2649   5102   
        match &self {
 2650         -
            MalformedByteError::ValidationException(_inner) => _inner.name(),
 2651         -
            MalformedByteError::InternalServerError(_inner) => _inner.name(),
        5103  +
            /* ServerOperationErrorGenerator.kt:142 */
        5104  +
            MalformedByteError::ValidationException(_inner) =>
        5105  +
            /* ServerOperationErrorGenerator.kt:95 */
        5106  +
            {
        5107  +
                _inner.name()
        5108  +
            }
        5109  +
            ,
        5110  +
            /* ServerOperationErrorGenerator.kt:142 */
        5111  +
            MalformedByteError::InternalServerError(_inner) =>
        5112  +
            /* ServerOperationErrorGenerator.kt:95 */
        5113  +
            {
        5114  +
                _inner.name()
        5115  +
            }
        5116  +
            /* ServerOperationErrorGenerator.kt:139 */
 2652   5117   
        }
        5118  +
        /* ServerOperationErrorGenerator.kt:93 */
 2653   5119   
    }
        5120  +
    /* ServerOperationErrorGenerator.kt:83 */
 2654   5121   
}
        5122  +
/* ServerOperationErrorGenerator.kt:100 */
 2655   5123   
impl ::std::error::Error for MalformedByteError {
        5124  +
    /* ServerOperationErrorGenerator.kt:101 */
 2656   5125   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        5126  +
        /* ServerOperationErrorGenerator.kt:139 */
 2657   5127   
        match &self {
 2658         -
            MalformedByteError::ValidationException(_inner) => Some(_inner),
 2659         -
            MalformedByteError::InternalServerError(_inner) => Some(_inner),
        5128  +
            /* ServerOperationErrorGenerator.kt:142 */
        5129  +
            MalformedByteError::ValidationException(_inner) =>
        5130  +
            /* ServerOperationErrorGenerator.kt:103 */
        5131  +
            {
        5132  +
                Some(_inner)
        5133  +
            }
        5134  +
            ,
        5135  +
            /* ServerOperationErrorGenerator.kt:142 */
        5136  +
            MalformedByteError::InternalServerError(_inner) =>
        5137  +
            /* ServerOperationErrorGenerator.kt:103 */
        5138  +
            {
        5139  +
                Some(_inner)
        5140  +
            }
        5141  +
            /* ServerOperationErrorGenerator.kt:139 */
 2660   5142   
        }
        5143  +
        /* ServerOperationErrorGenerator.kt:101 */
 2661   5144   
    }
        5145  +
    /* ServerOperationErrorGenerator.kt:100 */
 2662   5146   
}
        5147  +
/* ServerOperationErrorGenerator.kt:110 */
 2663   5148   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::MalformedByteError {
        5149  +
    /* ServerOperationErrorGenerator.kt:111 */
 2664   5150   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedByteError {
        5151  +
        /* ServerOperationErrorGenerator.kt:112 */
 2665   5152   
        Self::ValidationException(variant)
        5153  +
        /* ServerOperationErrorGenerator.kt:111 */
 2666   5154   
    }
        5155  +
    /* ServerOperationErrorGenerator.kt:110 */
 2667   5156   
}
        5157  +
/* ServerOperationErrorGenerator.kt:110 */
 2668   5158   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::MalformedByteError {
        5159  +
    /* ServerOperationErrorGenerator.kt:111 */
 2669   5160   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedByteError {
        5161  +
        /* ServerOperationErrorGenerator.kt:112 */
 2670   5162   
        Self::InternalServerError(variant)
        5163  +
        /* ServerOperationErrorGenerator.kt:111 */
 2671   5164   
    }
        5165  +
    /* ServerOperationErrorGenerator.kt:110 */
 2672   5166   
}
 2673   5167   
        5168  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2674   5169   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedByteError {
 2675   5170   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedByteError {
 2676   5171   
        ::pyo3::Python::with_gil(|py| {
 2677   5172   
            let error = variant.value(py);
 2678   5173   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 2679   5174   
                return error.into();
 2680   5175   
            }
 2681   5176   
            crate::error::InternalServerError {
 2682   5177   
                message: error.to_string(),
 2683   5178   
            }
 2684   5179   
            .into()
 2685   5180   
        })
 2686   5181   
    }
 2687   5182   
}
 2688   5183   
        5184  +
/* ServerOperationErrorGenerator.kt:63 */
 2689   5185   
/// Error type for the `MalformedBlob` operation.
        5186  +
/* ServerOperationErrorGenerator.kt:64 */
 2690   5187   
/// Each variant represents an error that can occur for the `MalformedBlob` operation.
        5188  +
/* RustType.kt:516 */
 2691   5189   
#[derive(::std::fmt::Debug)]
 2692         -
pub enum MalformedBlobError {
        5190  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedBlobError {
        5191  +
    /* ServerOperationErrorGenerator.kt:68 */
 2693   5192   
    #[allow(missing_docs)] // documentation missing in model
        5193  +
    /* ServerOperationErrorGenerator.kt:71 */
 2694   5194   
    InternalServerError(crate::error::InternalServerError),
        5195  +
    /* ServerOperationErrorGenerator.kt:66 */
 2695   5196   
}
        5197  +
/* ServerOperationErrorGenerator.kt:75 */
 2696   5198   
impl ::std::fmt::Display for MalformedBlobError {
        5199  +
    /* ServerOperationErrorGenerator.kt:76 */
 2697   5200   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        5201  +
        /* ServerOperationErrorGenerator.kt:139 */
 2698   5202   
        match &self {
 2699         -
            MalformedBlobError::InternalServerError(_inner) => _inner.fmt(f),
        5203  +
            /* ServerOperationErrorGenerator.kt:142 */
        5204  +
            MalformedBlobError::InternalServerError(_inner) =>
        5205  +
            /* ServerOperationErrorGenerator.kt:78 */
        5206  +
            {
        5207  +
                _inner.fmt(f)
        5208  +
            }
        5209  +
            /* ServerOperationErrorGenerator.kt:139 */
 2700   5210   
        }
        5211  +
        /* ServerOperationErrorGenerator.kt:76 */
 2701   5212   
    }
        5213  +
    /* ServerOperationErrorGenerator.kt:75 */
 2702   5214   
}
        5215  +
/* ServerOperationErrorGenerator.kt:83 */
 2703   5216   
impl MalformedBlobError {
        5217  +
    /* ServerOperationErrorGenerator.kt:87 */
 2704   5218   
    /// Returns `true` if the error kind is `MalformedBlobError::InternalServerError`.
        5219  +
    /* ServerOperationErrorGenerator.kt:88 */
 2705   5220   
    pub fn is_internal_server_error(&self) -> bool {
        5221  +
        /* ServerOperationErrorGenerator.kt:89 */
 2706   5222   
        matches!(&self, MalformedBlobError::InternalServerError(_))
        5223  +
        /* ServerOperationErrorGenerator.kt:88 */
 2707   5224   
    }
        5225  +
    /* ServerOperationErrorGenerator.kt:92 */
 2708   5226   
    /// Returns the error name string by matching the correct variant.
        5227  +
    /* ServerOperationErrorGenerator.kt:93 */
 2709   5228   
    pub fn name(&self) -> &'static str {
        5229  +
        /* ServerOperationErrorGenerator.kt:139 */
 2710   5230   
        match &self {
 2711         -
            MalformedBlobError::InternalServerError(_inner) => _inner.name(),
        5231  +
            /* ServerOperationErrorGenerator.kt:142 */
        5232  +
            MalformedBlobError::InternalServerError(_inner) =>
        5233  +
            /* ServerOperationErrorGenerator.kt:95 */
        5234  +
            {
        5235  +
                _inner.name()
        5236  +
            }
        5237  +
            /* ServerOperationErrorGenerator.kt:139 */
 2712   5238   
        }
        5239  +
        /* ServerOperationErrorGenerator.kt:93 */
 2713   5240   
    }
        5241  +
    /* ServerOperationErrorGenerator.kt:83 */
 2714   5242   
}
        5243  +
/* ServerOperationErrorGenerator.kt:100 */
 2715   5244   
impl ::std::error::Error for MalformedBlobError {
        5245  +
    /* ServerOperationErrorGenerator.kt:101 */
 2716   5246   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        5247  +
        /* ServerOperationErrorGenerator.kt:139 */
 2717   5248   
        match &self {
 2718         -
            MalformedBlobError::InternalServerError(_inner) => Some(_inner),
        5249  +
            /* ServerOperationErrorGenerator.kt:142 */
        5250  +
            MalformedBlobError::InternalServerError(_inner) =>
        5251  +
            /* ServerOperationErrorGenerator.kt:103 */
        5252  +
            {
        5253  +
                Some(_inner)
        5254  +
            }
        5255  +
            /* ServerOperationErrorGenerator.kt:139 */
 2719   5256   
        }
        5257  +
        /* ServerOperationErrorGenerator.kt:101 */
 2720   5258   
    }
        5259  +
    /* ServerOperationErrorGenerator.kt:100 */
 2721   5260   
}
        5261  +
/* ServerOperationErrorGenerator.kt:110 */
 2722   5262   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::MalformedBlobError {
        5263  +
    /* ServerOperationErrorGenerator.kt:111 */
 2723   5264   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedBlobError {
        5265  +
        /* ServerOperationErrorGenerator.kt:112 */
 2724   5266   
        Self::InternalServerError(variant)
        5267  +
        /* ServerOperationErrorGenerator.kt:111 */
 2725   5268   
    }
        5269  +
    /* ServerOperationErrorGenerator.kt:110 */
 2726   5270   
}
 2727   5271   
        5272  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2728   5273   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedBlobError {
 2729   5274   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedBlobError {
 2730   5275   
        ::pyo3::Python::with_gil(|py| {
 2731   5276   
            let error = variant.value(py);
 2732   5277   
 2733   5278   
            crate::error::InternalServerError {
 2734   5279   
                message: error.to_string(),
 2735   5280   
            }
 2736   5281   
            .into()
 2737   5282   
        })
 2738   5283   
    }
 2739   5284   
}
 2740   5285   
        5286  +
/* ServerOperationErrorGenerator.kt:63 */
 2741   5287   
/// Error type for the `MalformedMap` operation.
        5288  +
/* ServerOperationErrorGenerator.kt:64 */
 2742   5289   
/// Each variant represents an error that can occur for the `MalformedMap` operation.
        5290  +
/* RustType.kt:516 */
 2743   5291   
#[derive(::std::fmt::Debug)]
 2744         -
pub enum MalformedMapError {
        5292  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedMapError {
        5293  +
    /* ServerOperationErrorGenerator.kt:68 */
 2745   5294   
    #[allow(missing_docs)] // documentation missing in model
        5295  +
    /* ServerOperationErrorGenerator.kt:71 */
 2746   5296   
    InternalServerError(crate::error::InternalServerError),
        5297  +
    /* ServerOperationErrorGenerator.kt:66 */
 2747   5298   
}
        5299  +
/* ServerOperationErrorGenerator.kt:75 */
 2748   5300   
impl ::std::fmt::Display for MalformedMapError {
        5301  +
    /* ServerOperationErrorGenerator.kt:76 */
 2749   5302   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        5303  +
        /* ServerOperationErrorGenerator.kt:139 */
 2750   5304   
        match &self {
 2751         -
            MalformedMapError::InternalServerError(_inner) => _inner.fmt(f),
        5305  +
            /* ServerOperationErrorGenerator.kt:142 */
        5306  +
            MalformedMapError::InternalServerError(_inner) =>
        5307  +
            /* ServerOperationErrorGenerator.kt:78 */
        5308  +
            {
        5309  +
                _inner.fmt(f)
        5310  +
            }
        5311  +
            /* ServerOperationErrorGenerator.kt:139 */
 2752   5312   
        }
        5313  +
        /* ServerOperationErrorGenerator.kt:76 */
 2753   5314   
    }
        5315  +
    /* ServerOperationErrorGenerator.kt:75 */
 2754   5316   
}
        5317  +
/* ServerOperationErrorGenerator.kt:83 */
 2755   5318   
impl MalformedMapError {
        5319  +
    /* ServerOperationErrorGenerator.kt:87 */
 2756   5320   
    /// Returns `true` if the error kind is `MalformedMapError::InternalServerError`.
        5321  +
    /* ServerOperationErrorGenerator.kt:88 */
 2757   5322   
    pub fn is_internal_server_error(&self) -> bool {
        5323  +
        /* ServerOperationErrorGenerator.kt:89 */
 2758   5324   
        matches!(&self, MalformedMapError::InternalServerError(_))
        5325  +
        /* ServerOperationErrorGenerator.kt:88 */
 2759   5326   
    }
        5327  +
    /* ServerOperationErrorGenerator.kt:92 */
 2760   5328   
    /// Returns the error name string by matching the correct variant.
        5329  +
    /* ServerOperationErrorGenerator.kt:93 */
 2761   5330   
    pub fn name(&self) -> &'static str {
        5331  +
        /* ServerOperationErrorGenerator.kt:139 */
 2762   5332   
        match &self {
 2763         -
            MalformedMapError::InternalServerError(_inner) => _inner.name(),
        5333  +
            /* ServerOperationErrorGenerator.kt:142 */
        5334  +
            MalformedMapError::InternalServerError(_inner) =>
        5335  +
            /* ServerOperationErrorGenerator.kt:95 */
        5336  +
            {
        5337  +
                _inner.name()
        5338  +
            }
        5339  +
            /* ServerOperationErrorGenerator.kt:139 */
 2764   5340   
        }
        5341  +
        /* ServerOperationErrorGenerator.kt:93 */
 2765   5342   
    }
        5343  +
    /* ServerOperationErrorGenerator.kt:83 */
 2766   5344   
}
        5345  +
/* ServerOperationErrorGenerator.kt:100 */
 2767   5346   
impl ::std::error::Error for MalformedMapError {
        5347  +
    /* ServerOperationErrorGenerator.kt:101 */
 2768   5348   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        5349  +
        /* ServerOperationErrorGenerator.kt:139 */
 2769   5350   
        match &self {
 2770         -
            MalformedMapError::InternalServerError(_inner) => Some(_inner),
        5351  +
            /* ServerOperationErrorGenerator.kt:142 */
        5352  +
            MalformedMapError::InternalServerError(_inner) =>
        5353  +
            /* ServerOperationErrorGenerator.kt:103 */
        5354  +
            {
        5355  +
                Some(_inner)
        5356  +
            }
        5357  +
            /* ServerOperationErrorGenerator.kt:139 */
 2771   5358   
        }
        5359  +
        /* ServerOperationErrorGenerator.kt:101 */
 2772   5360   
    }
        5361  +
    /* ServerOperationErrorGenerator.kt:100 */
 2773   5362   
}
        5363  +
/* ServerOperationErrorGenerator.kt:110 */
 2774   5364   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::MalformedMapError {
        5365  +
    /* ServerOperationErrorGenerator.kt:111 */
 2775   5366   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedMapError {
        5367  +
        /* ServerOperationErrorGenerator.kt:112 */
 2776   5368   
        Self::InternalServerError(variant)
        5369  +
        /* ServerOperationErrorGenerator.kt:111 */
 2777   5370   
    }
        5371  +
    /* ServerOperationErrorGenerator.kt:110 */
 2778   5372   
}
 2779   5373   
        5374  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2780   5375   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedMapError {
 2781   5376   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedMapError {
 2782   5377   
        ::pyo3::Python::with_gil(|py| {
 2783   5378   
            let error = variant.value(py);
 2784   5379   
 2785   5380   
            crate::error::InternalServerError {
 2786   5381   
                message: error.to_string(),
 2787   5382   
            }
 2788   5383   
            .into()
 2789   5384   
        })
 2790   5385   
    }
 2791   5386   
}
 2792   5387   
        5388  +
/* ServerOperationErrorGenerator.kt:63 */
 2793   5389   
/// Error type for the `MalformedList` operation.
        5390  +
/* ServerOperationErrorGenerator.kt:64 */
 2794   5391   
/// Each variant represents an error that can occur for the `MalformedList` operation.
        5392  +
/* RustType.kt:516 */
 2795   5393   
#[derive(::std::fmt::Debug)]
 2796         -
pub enum MalformedListError {
        5394  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedListError {
        5395  +
    /* ServerOperationErrorGenerator.kt:68 */
 2797   5396   
    #[allow(missing_docs)] // documentation missing in model
        5397  +
    /* ServerOperationErrorGenerator.kt:71 */
 2798   5398   
    InternalServerError(crate::error::InternalServerError),
        5399  +
    /* ServerOperationErrorGenerator.kt:66 */
 2799   5400   
}
        5401  +
/* ServerOperationErrorGenerator.kt:75 */
 2800   5402   
impl ::std::fmt::Display for MalformedListError {
        5403  +
    /* ServerOperationErrorGenerator.kt:76 */
 2801   5404   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        5405  +
        /* ServerOperationErrorGenerator.kt:139 */
 2802   5406   
        match &self {
 2803         -
            MalformedListError::InternalServerError(_inner) => _inner.fmt(f),
        5407  +
            /* ServerOperationErrorGenerator.kt:142 */
        5408  +
            MalformedListError::InternalServerError(_inner) =>
        5409  +
            /* ServerOperationErrorGenerator.kt:78 */
        5410  +
            {
        5411  +
                _inner.fmt(f)
        5412  +
            }
        5413  +
            /* ServerOperationErrorGenerator.kt:139 */
 2804   5414   
        }
        5415  +
        /* ServerOperationErrorGenerator.kt:76 */
 2805   5416   
    }
        5417  +
    /* ServerOperationErrorGenerator.kt:75 */
 2806   5418   
}
        5419  +
/* ServerOperationErrorGenerator.kt:83 */
 2807   5420   
impl MalformedListError {
        5421  +
    /* ServerOperationErrorGenerator.kt:87 */
 2808   5422   
    /// Returns `true` if the error kind is `MalformedListError::InternalServerError`.
        5423  +
    /* ServerOperationErrorGenerator.kt:88 */
 2809   5424   
    pub fn is_internal_server_error(&self) -> bool {
        5425  +
        /* ServerOperationErrorGenerator.kt:89 */
 2810   5426   
        matches!(&self, MalformedListError::InternalServerError(_))
        5427  +
        /* ServerOperationErrorGenerator.kt:88 */
 2811   5428   
    }
        5429  +
    /* ServerOperationErrorGenerator.kt:92 */
 2812   5430   
    /// Returns the error name string by matching the correct variant.
        5431  +
    /* ServerOperationErrorGenerator.kt:93 */
 2813   5432   
    pub fn name(&self) -> &'static str {
        5433  +
        /* ServerOperationErrorGenerator.kt:139 */
 2814   5434   
        match &self {
 2815         -
            MalformedListError::InternalServerError(_inner) => _inner.name(),
        5435  +
            /* ServerOperationErrorGenerator.kt:142 */
        5436  +
            MalformedListError::InternalServerError(_inner) =>
        5437  +
            /* ServerOperationErrorGenerator.kt:95 */
        5438  +
            {
        5439  +
                _inner.name()
        5440  +
            }
        5441  +
            /* ServerOperationErrorGenerator.kt:139 */
 2816   5442   
        }
        5443  +
        /* ServerOperationErrorGenerator.kt:93 */
 2817   5444   
    }
        5445  +
    /* ServerOperationErrorGenerator.kt:83 */
 2818   5446   
}
        5447  +
/* ServerOperationErrorGenerator.kt:100 */
 2819   5448   
impl ::std::error::Error for MalformedListError {
        5449  +
    /* ServerOperationErrorGenerator.kt:101 */
 2820   5450   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        5451  +
        /* ServerOperationErrorGenerator.kt:139 */
 2821   5452   
        match &self {
 2822         -
            MalformedListError::InternalServerError(_inner) => Some(_inner),
        5453  +
            /* ServerOperationErrorGenerator.kt:142 */
        5454  +
            MalformedListError::InternalServerError(_inner) =>
        5455  +
            /* ServerOperationErrorGenerator.kt:103 */
        5456  +
            {
        5457  +
                Some(_inner)
        5458  +
            }
        5459  +
            /* ServerOperationErrorGenerator.kt:139 */
 2823   5460   
        }
        5461  +
        /* ServerOperationErrorGenerator.kt:101 */
 2824   5462   
    }
        5463  +
    /* ServerOperationErrorGenerator.kt:100 */
 2825   5464   
}
        5465  +
/* ServerOperationErrorGenerator.kt:110 */
 2826   5466   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::MalformedListError {
        5467  +
    /* ServerOperationErrorGenerator.kt:111 */
 2827   5468   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedListError {
        5469  +
        /* ServerOperationErrorGenerator.kt:112 */
 2828   5470   
        Self::InternalServerError(variant)
        5471  +
        /* ServerOperationErrorGenerator.kt:111 */
 2829   5472   
    }
        5473  +
    /* ServerOperationErrorGenerator.kt:110 */
 2830   5474   
}
 2831   5475   
        5476  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2832   5477   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedListError {
 2833   5478   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedListError {
 2834   5479   
        ::pyo3::Python::with_gil(|py| {
 2835   5480   
            let error = variant.value(py);
 2836   5481   
 2837   5482   
            crate::error::InternalServerError {
 2838   5483   
                message: error.to_string(),
 2839   5484   
            }
 2840   5485   
            .into()
 2841   5486   
        })
 2842   5487   
    }
 2843   5488   
}
 2844   5489   
        5490  +
/* ServerOperationErrorGenerator.kt:63 */
 2845   5491   
/// Error type for the `MalformedBoolean` operation.
        5492  +
/* ServerOperationErrorGenerator.kt:64 */
 2846   5493   
/// Each variant represents an error that can occur for the `MalformedBoolean` operation.
        5494  +
/* RustType.kt:516 */
 2847   5495   
#[derive(::std::fmt::Debug)]
 2848         -
pub enum MalformedBooleanError {
 2849         -
    /// 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.
        5496  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedBooleanError {
        5497  +
    /// /* 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.
        5498  +
    /* ServerOperationErrorGenerator.kt:71 */
 2850   5499   
    ValidationException(crate::error::ValidationException),
        5500  +
    /* ServerOperationErrorGenerator.kt:68 */
 2851   5501   
    #[allow(missing_docs)] // documentation missing in model
        5502  +
    /* ServerOperationErrorGenerator.kt:71 */
 2852   5503   
    InternalServerError(crate::error::InternalServerError),
        5504  +
    /* ServerOperationErrorGenerator.kt:66 */
 2853   5505   
}
        5506  +
/* ServerOperationErrorGenerator.kt:75 */
 2854   5507   
impl ::std::fmt::Display for MalformedBooleanError {
        5508  +
    /* ServerOperationErrorGenerator.kt:76 */
 2855   5509   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        5510  +
        /* ServerOperationErrorGenerator.kt:139 */
 2856   5511   
        match &self {
 2857         -
            MalformedBooleanError::ValidationException(_inner) => _inner.fmt(f),
 2858         -
            MalformedBooleanError::InternalServerError(_inner) => _inner.fmt(f),
        5512  +
            /* ServerOperationErrorGenerator.kt:142 */
        5513  +
            MalformedBooleanError::ValidationException(_inner) =>
        5514  +
            /* ServerOperationErrorGenerator.kt:78 */
        5515  +
            {
        5516  +
                _inner.fmt(f)
        5517  +
            }
        5518  +
            ,
        5519  +
            /* ServerOperationErrorGenerator.kt:142 */
        5520  +
            MalformedBooleanError::InternalServerError(_inner) =>
        5521  +
            /* ServerOperationErrorGenerator.kt:78 */
        5522  +
            {
        5523  +
                _inner.fmt(f)
        5524  +
            }
        5525  +
            /* ServerOperationErrorGenerator.kt:139 */
 2859   5526   
        }
        5527  +
        /* ServerOperationErrorGenerator.kt:76 */
 2860   5528   
    }
        5529  +
    /* ServerOperationErrorGenerator.kt:75 */
 2861   5530   
}
        5531  +
/* ServerOperationErrorGenerator.kt:83 */
 2862   5532   
impl MalformedBooleanError {
        5533  +
    /* ServerOperationErrorGenerator.kt:87 */
 2863   5534   
    /// Returns `true` if the error kind is `MalformedBooleanError::ValidationException`.
        5535  +
    /* ServerOperationErrorGenerator.kt:88 */
 2864   5536   
    pub fn is_validation_exception(&self) -> bool {
        5537  +
        /* ServerOperationErrorGenerator.kt:89 */
 2865   5538   
        matches!(&self, MalformedBooleanError::ValidationException(_))
        5539  +
        /* ServerOperationErrorGenerator.kt:88 */
 2866   5540   
    }
        5541  +
    /* ServerOperationErrorGenerator.kt:87 */
 2867   5542   
    /// Returns `true` if the error kind is `MalformedBooleanError::InternalServerError`.
        5543  +
    /* ServerOperationErrorGenerator.kt:88 */
 2868   5544   
    pub fn is_internal_server_error(&self) -> bool {
        5545  +
        /* ServerOperationErrorGenerator.kt:89 */
 2869   5546   
        matches!(&self, MalformedBooleanError::InternalServerError(_))
        5547  +
        /* ServerOperationErrorGenerator.kt:88 */
 2870   5548   
    }
        5549  +
    /* ServerOperationErrorGenerator.kt:92 */
 2871   5550   
    /// Returns the error name string by matching the correct variant.
        5551  +
    /* ServerOperationErrorGenerator.kt:93 */
 2872   5552   
    pub fn name(&self) -> &'static str {
        5553  +
        /* ServerOperationErrorGenerator.kt:139 */
 2873   5554   
        match &self {
 2874         -
            MalformedBooleanError::ValidationException(_inner) => _inner.name(),
 2875         -
            MalformedBooleanError::InternalServerError(_inner) => _inner.name(),
        5555  +
            /* ServerOperationErrorGenerator.kt:142 */
        5556  +
            MalformedBooleanError::ValidationException(_inner) =>
        5557  +
            /* ServerOperationErrorGenerator.kt:95 */
        5558  +
            {
        5559  +
                _inner.name()
        5560  +
            }
        5561  +
            ,
        5562  +
            /* ServerOperationErrorGenerator.kt:142 */
        5563  +
            MalformedBooleanError::InternalServerError(_inner) =>
        5564  +
            /* ServerOperationErrorGenerator.kt:95 */
        5565  +
            {
        5566  +
                _inner.name()
        5567  +
            }
        5568  +
            /* ServerOperationErrorGenerator.kt:139 */
 2876   5569   
        }
        5570  +
        /* ServerOperationErrorGenerator.kt:93 */
 2877   5571   
    }
        5572  +
    /* ServerOperationErrorGenerator.kt:83 */
 2878   5573   
}
        5574  +
/* ServerOperationErrorGenerator.kt:100 */
 2879   5575   
impl ::std::error::Error for MalformedBooleanError {
        5576  +
    /* ServerOperationErrorGenerator.kt:101 */
 2880   5577   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        5578  +
        /* ServerOperationErrorGenerator.kt:139 */
 2881   5579   
        match &self {
 2882         -
            MalformedBooleanError::ValidationException(_inner) => Some(_inner),
 2883         -
            MalformedBooleanError::InternalServerError(_inner) => Some(_inner),
        5580  +
            /* ServerOperationErrorGenerator.kt:142 */
        5581  +
            MalformedBooleanError::ValidationException(_inner) =>
        5582  +
            /* ServerOperationErrorGenerator.kt:103 */
        5583  +
            {
        5584  +
                Some(_inner)
        5585  +
            }
        5586  +
            ,
        5587  +
            /* ServerOperationErrorGenerator.kt:142 */
        5588  +
            MalformedBooleanError::InternalServerError(_inner) =>
        5589  +
            /* ServerOperationErrorGenerator.kt:103 */
        5590  +
            {
        5591  +
                Some(_inner)
        5592  +
            }
        5593  +
            /* ServerOperationErrorGenerator.kt:139 */
 2884   5594   
        }
        5595  +
        /* ServerOperationErrorGenerator.kt:101 */
 2885   5596   
    }
        5597  +
    /* ServerOperationErrorGenerator.kt:100 */
 2886   5598   
}
        5599  +
/* ServerOperationErrorGenerator.kt:110 */
 2887   5600   
impl ::std::convert::From<crate::error::ValidationException>
 2888   5601   
    for crate::error::MalformedBooleanError
 2889   5602   
{
        5603  +
    /* ServerOperationErrorGenerator.kt:111 */
 2890   5604   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedBooleanError {
        5605  +
        /* ServerOperationErrorGenerator.kt:112 */
 2891   5606   
        Self::ValidationException(variant)
        5607  +
        /* ServerOperationErrorGenerator.kt:111 */
 2892   5608   
    }
        5609  +
    /* ServerOperationErrorGenerator.kt:110 */
 2893   5610   
}
        5611  +
/* ServerOperationErrorGenerator.kt:110 */
 2894   5612   
impl ::std::convert::From<crate::error::InternalServerError>
 2895   5613   
    for crate::error::MalformedBooleanError
 2896   5614   
{
        5615  +
    /* ServerOperationErrorGenerator.kt:111 */
 2897   5616   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedBooleanError {
        5617  +
        /* ServerOperationErrorGenerator.kt:112 */
 2898   5618   
        Self::InternalServerError(variant)
        5619  +
        /* ServerOperationErrorGenerator.kt:111 */
 2899   5620   
    }
        5621  +
    /* ServerOperationErrorGenerator.kt:110 */
 2900   5622   
}
 2901   5623   
        5624  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2902   5625   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedBooleanError {
 2903   5626   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedBooleanError {
 2904   5627   
        ::pyo3::Python::with_gil(|py| {
 2905   5628   
            let error = variant.value(py);
 2906   5629   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 2907   5630   
                return error.into();
 2908   5631   
            }
 2909   5632   
            crate::error::InternalServerError {
 2910   5633   
                message: error.to_string(),
 2911   5634   
            }
 2912   5635   
            .into()
 2913   5636   
        })
 2914   5637   
    }
 2915   5638   
}
 2916   5639   
        5640  +
/* ServerOperationErrorGenerator.kt:63 */
 2917   5641   
/// Error type for the `MalformedUnion` operation.
        5642  +
/* ServerOperationErrorGenerator.kt:64 */
 2918   5643   
/// Each variant represents an error that can occur for the `MalformedUnion` operation.
        5644  +
/* RustType.kt:516 */
 2919   5645   
#[derive(::std::fmt::Debug)]
 2920         -
pub enum MalformedUnionError {
        5646  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedUnionError {
        5647  +
    /* ServerOperationErrorGenerator.kt:68 */
 2921   5648   
    #[allow(missing_docs)] // documentation missing in model
        5649  +
    /* ServerOperationErrorGenerator.kt:71 */
 2922   5650   
    InternalServerError(crate::error::InternalServerError),
        5651  +
    /* ServerOperationErrorGenerator.kt:66 */
 2923   5652   
}
        5653  +
/* ServerOperationErrorGenerator.kt:75 */
 2924   5654   
impl ::std::fmt::Display for MalformedUnionError {
        5655  +
    /* ServerOperationErrorGenerator.kt:76 */
 2925   5656   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        5657  +
        /* ServerOperationErrorGenerator.kt:139 */
 2926   5658   
        match &self {
 2927         -
            MalformedUnionError::InternalServerError(_inner) => _inner.fmt(f),
        5659  +
            /* ServerOperationErrorGenerator.kt:142 */
        5660  +
            MalformedUnionError::InternalServerError(_inner) =>
        5661  +
            /* ServerOperationErrorGenerator.kt:78 */
        5662  +
            {
        5663  +
                _inner.fmt(f)
        5664  +
            }
        5665  +
            /* ServerOperationErrorGenerator.kt:139 */
 2928   5666   
        }
        5667  +
        /* ServerOperationErrorGenerator.kt:76 */
 2929   5668   
    }
        5669  +
    /* ServerOperationErrorGenerator.kt:75 */
 2930   5670   
}
        5671  +
/* ServerOperationErrorGenerator.kt:83 */
 2931   5672   
impl MalformedUnionError {
        5673  +
    /* ServerOperationErrorGenerator.kt:87 */
 2932   5674   
    /// Returns `true` if the error kind is `MalformedUnionError::InternalServerError`.
        5675  +
    /* ServerOperationErrorGenerator.kt:88 */
 2933   5676   
    pub fn is_internal_server_error(&self) -> bool {
        5677  +
        /* ServerOperationErrorGenerator.kt:89 */
 2934   5678   
        matches!(&self, MalformedUnionError::InternalServerError(_))
        5679  +
        /* ServerOperationErrorGenerator.kt:88 */
 2935   5680   
    }
        5681  +
    /* ServerOperationErrorGenerator.kt:92 */
 2936   5682   
    /// Returns the error name string by matching the correct variant.
        5683  +
    /* ServerOperationErrorGenerator.kt:93 */
 2937   5684   
    pub fn name(&self) -> &'static str {
        5685  +
        /* ServerOperationErrorGenerator.kt:139 */
 2938   5686   
        match &self {
 2939         -
            MalformedUnionError::InternalServerError(_inner) => _inner.name(),
        5687  +
            /* ServerOperationErrorGenerator.kt:142 */
        5688  +
            MalformedUnionError::InternalServerError(_inner) =>
        5689  +
            /* ServerOperationErrorGenerator.kt:95 */
        5690  +
            {
        5691  +
                _inner.name()
        5692  +
            }
        5693  +
            /* ServerOperationErrorGenerator.kt:139 */
 2940   5694   
        }
        5695  +
        /* ServerOperationErrorGenerator.kt:93 */
 2941   5696   
    }
        5697  +
    /* ServerOperationErrorGenerator.kt:83 */
 2942   5698   
}
        5699  +
/* ServerOperationErrorGenerator.kt:100 */
 2943   5700   
impl ::std::error::Error for MalformedUnionError {
        5701  +
    /* ServerOperationErrorGenerator.kt:101 */
 2944   5702   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        5703  +
        /* ServerOperationErrorGenerator.kt:139 */
 2945   5704   
        match &self {
 2946         -
            MalformedUnionError::InternalServerError(_inner) => Some(_inner),
        5705  +
            /* ServerOperationErrorGenerator.kt:142 */
        5706  +
            MalformedUnionError::InternalServerError(_inner) =>
        5707  +
            /* ServerOperationErrorGenerator.kt:103 */
        5708  +
            {
        5709  +
                Some(_inner)
        5710  +
            }
        5711  +
            /* ServerOperationErrorGenerator.kt:139 */
 2947   5712   
        }
        5713  +
        /* ServerOperationErrorGenerator.kt:101 */
 2948   5714   
    }
        5715  +
    /* ServerOperationErrorGenerator.kt:100 */
 2949   5716   
}
        5717  +
/* ServerOperationErrorGenerator.kt:110 */
 2950   5718   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::MalformedUnionError {
        5719  +
    /* ServerOperationErrorGenerator.kt:111 */
 2951   5720   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedUnionError {
        5721  +
        /* ServerOperationErrorGenerator.kt:112 */
 2952   5722   
        Self::InternalServerError(variant)
        5723  +
        /* ServerOperationErrorGenerator.kt:111 */
 2953   5724   
    }
        5725  +
    /* ServerOperationErrorGenerator.kt:110 */
 2954   5726   
}
 2955   5727   
        5728  +
/* PythonServerOperationErrorGenerator.kt:38 */
 2956   5729   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedUnionError {
 2957   5730   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedUnionError {
 2958   5731   
        ::pyo3::Python::with_gil(|py| {
 2959   5732   
            let error = variant.value(py);
 2960   5733   
 2961   5734   
            crate::error::InternalServerError {
 2962   5735   
                message: error.to_string(),
 2963   5736   
            }
 2964   5737   
            .into()
 2965   5738   
        })
 2966   5739   
    }
 2967   5740   
}
 2968   5741   
        5742  +
/* ServerOperationErrorGenerator.kt:63 */
 2969   5743   
/// Error type for the `MalformedInteger` operation.
        5744  +
/* ServerOperationErrorGenerator.kt:64 */
 2970   5745   
/// Each variant represents an error that can occur for the `MalformedInteger` operation.
        5746  +
/* RustType.kt:516 */
 2971   5747   
#[derive(::std::fmt::Debug)]
 2972         -
pub enum MalformedIntegerError {
 2973         -
    /// 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.
        5748  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedIntegerError {
        5749  +
    /// /* 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.
        5750  +
    /* ServerOperationErrorGenerator.kt:71 */
 2974   5751   
    ValidationException(crate::error::ValidationException),
        5752  +
    /* ServerOperationErrorGenerator.kt:68 */
 2975   5753   
    #[allow(missing_docs)] // documentation missing in model
        5754  +
    /* ServerOperationErrorGenerator.kt:71 */
 2976   5755   
    InternalServerError(crate::error::InternalServerError),
        5756  +
    /* ServerOperationErrorGenerator.kt:66 */
 2977   5757   
}
        5758  +
/* ServerOperationErrorGenerator.kt:75 */
 2978   5759   
impl ::std::fmt::Display for MalformedIntegerError {
        5760  +
    /* ServerOperationErrorGenerator.kt:76 */
 2979   5761   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        5762  +
        /* ServerOperationErrorGenerator.kt:139 */
 2980   5763   
        match &self {
 2981         -
            MalformedIntegerError::ValidationException(_inner) => _inner.fmt(f),
 2982         -
            MalformedIntegerError::InternalServerError(_inner) => _inner.fmt(f),
        5764  +
            /* ServerOperationErrorGenerator.kt:142 */
        5765  +
            MalformedIntegerError::ValidationException(_inner) =>
        5766  +
            /* ServerOperationErrorGenerator.kt:78 */
        5767  +
            {
        5768  +
                _inner.fmt(f)
        5769  +
            }
        5770  +
            ,
        5771  +
            /* ServerOperationErrorGenerator.kt:142 */
        5772  +
            MalformedIntegerError::InternalServerError(_inner) =>
        5773  +
            /* ServerOperationErrorGenerator.kt:78 */
        5774  +
            {
        5775  +
                _inner.fmt(f)
        5776  +
            }
        5777  +
            /* ServerOperationErrorGenerator.kt:139 */
 2983   5778   
        }
        5779  +
        /* ServerOperationErrorGenerator.kt:76 */
 2984   5780   
    }
        5781  +
    /* ServerOperationErrorGenerator.kt:75 */
 2985   5782   
}
        5783  +
/* ServerOperationErrorGenerator.kt:83 */
 2986   5784   
impl MalformedIntegerError {
        5785  +
    /* ServerOperationErrorGenerator.kt:87 */
 2987   5786   
    /// Returns `true` if the error kind is `MalformedIntegerError::ValidationException`.
        5787  +
    /* ServerOperationErrorGenerator.kt:88 */
 2988   5788   
    pub fn is_validation_exception(&self) -> bool {
        5789  +
        /* ServerOperationErrorGenerator.kt:89 */
 2989   5790   
        matches!(&self, MalformedIntegerError::ValidationException(_))
        5791  +
        /* ServerOperationErrorGenerator.kt:88 */
 2990   5792   
    }
        5793  +
    /* ServerOperationErrorGenerator.kt:87 */
 2991   5794   
    /// Returns `true` if the error kind is `MalformedIntegerError::InternalServerError`.
        5795  +
    /* ServerOperationErrorGenerator.kt:88 */
 2992   5796   
    pub fn is_internal_server_error(&self) -> bool {
        5797  +
        /* ServerOperationErrorGenerator.kt:89 */
 2993   5798   
        matches!(&self, MalformedIntegerError::InternalServerError(_))
        5799  +
        /* ServerOperationErrorGenerator.kt:88 */
 2994   5800   
    }
        5801  +
    /* ServerOperationErrorGenerator.kt:92 */
 2995   5802   
    /// Returns the error name string by matching the correct variant.
        5803  +
    /* ServerOperationErrorGenerator.kt:93 */
 2996   5804   
    pub fn name(&self) -> &'static str {
        5805  +
        /* ServerOperationErrorGenerator.kt:139 */
 2997   5806   
        match &self {
 2998         -
            MalformedIntegerError::ValidationException(_inner) => _inner.name(),
 2999         -
            MalformedIntegerError::InternalServerError(_inner) => _inner.name(),
        5807  +
            /* ServerOperationErrorGenerator.kt:142 */
        5808  +
            MalformedIntegerError::ValidationException(_inner) =>
        5809  +
            /* ServerOperationErrorGenerator.kt:95 */
        5810  +
            {
        5811  +
                _inner.name()
        5812  +
            }
        5813  +
            ,
        5814  +
            /* ServerOperationErrorGenerator.kt:142 */
        5815  +
            MalformedIntegerError::InternalServerError(_inner) =>
        5816  +
            /* ServerOperationErrorGenerator.kt:95 */
        5817  +
            {
        5818  +
                _inner.name()
        5819  +
            }
        5820  +
            /* ServerOperationErrorGenerator.kt:139 */
 3000   5821   
        }
        5822  +
        /* ServerOperationErrorGenerator.kt:93 */
 3001   5823   
    }
        5824  +
    /* ServerOperationErrorGenerator.kt:83 */
 3002   5825   
}
        5826  +
/* ServerOperationErrorGenerator.kt:100 */
 3003   5827   
impl ::std::error::Error for MalformedIntegerError {
        5828  +
    /* ServerOperationErrorGenerator.kt:101 */
 3004   5829   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        5830  +
        /* ServerOperationErrorGenerator.kt:139 */
 3005   5831   
        match &self {
 3006         -
            MalformedIntegerError::ValidationException(_inner) => Some(_inner),
 3007         -
            MalformedIntegerError::InternalServerError(_inner) => Some(_inner),
        5832  +
            /* ServerOperationErrorGenerator.kt:142 */
        5833  +
            MalformedIntegerError::ValidationException(_inner) =>
        5834  +
            /* ServerOperationErrorGenerator.kt:103 */
        5835  +
            {
        5836  +
                Some(_inner)
        5837  +
            }
        5838  +
            ,
        5839  +
            /* ServerOperationErrorGenerator.kt:142 */
        5840  +
            MalformedIntegerError::InternalServerError(_inner) =>
        5841  +
            /* ServerOperationErrorGenerator.kt:103 */
        5842  +
            {
        5843  +
                Some(_inner)
        5844  +
            }
        5845  +
            /* ServerOperationErrorGenerator.kt:139 */
 3008   5846   
        }
        5847  +
        /* ServerOperationErrorGenerator.kt:101 */
 3009   5848   
    }
        5849  +
    /* ServerOperationErrorGenerator.kt:100 */
 3010   5850   
}
        5851  +
/* ServerOperationErrorGenerator.kt:110 */
 3011   5852   
impl ::std::convert::From<crate::error::ValidationException>
 3012   5853   
    for crate::error::MalformedIntegerError
 3013   5854   
{
        5855  +
    /* ServerOperationErrorGenerator.kt:111 */
 3014   5856   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedIntegerError {
        5857  +
        /* ServerOperationErrorGenerator.kt:112 */
 3015   5858   
        Self::ValidationException(variant)
        5859  +
        /* ServerOperationErrorGenerator.kt:111 */
 3016   5860   
    }
        5861  +
    /* ServerOperationErrorGenerator.kt:110 */
 3017   5862   
}
        5863  +
/* ServerOperationErrorGenerator.kt:110 */
 3018   5864   
impl ::std::convert::From<crate::error::InternalServerError>
 3019   5865   
    for crate::error::MalformedIntegerError
 3020   5866   
{
        5867  +
    /* ServerOperationErrorGenerator.kt:111 */
 3021   5868   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedIntegerError {
        5869  +
        /* ServerOperationErrorGenerator.kt:112 */
 3022   5870   
        Self::InternalServerError(variant)
        5871  +
        /* ServerOperationErrorGenerator.kt:111 */
 3023   5872   
    }
        5873  +
    /* ServerOperationErrorGenerator.kt:110 */
 3024   5874   
}
 3025   5875   
        5876  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3026   5877   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedIntegerError {
 3027   5878   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedIntegerError {
 3028   5879   
        ::pyo3::Python::with_gil(|py| {
 3029   5880   
            let error = variant.value(py);
 3030   5881   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 3031   5882   
                return error.into();
 3032   5883   
            }
 3033   5884   
            crate::error::InternalServerError {
 3034   5885   
                message: error.to_string(),
 3035   5886   
            }
 3036   5887   
            .into()
 3037   5888   
        })
 3038   5889   
    }
 3039   5890   
}
 3040   5891   
        5892  +
/* ServerOperationErrorGenerator.kt:63 */
 3041   5893   
/// Error type for the `MalformedRequestBody` operation.
        5894  +
/* ServerOperationErrorGenerator.kt:64 */
 3042   5895   
/// Each variant represents an error that can occur for the `MalformedRequestBody` operation.
        5896  +
/* RustType.kt:516 */
 3043   5897   
#[derive(::std::fmt::Debug)]
 3044         -
pub enum MalformedRequestBodyError {
        5898  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedRequestBodyError {
        5899  +
    /* ServerOperationErrorGenerator.kt:68 */
 3045   5900   
    #[allow(missing_docs)] // documentation missing in model
        5901  +
    /* ServerOperationErrorGenerator.kt:71 */
 3046   5902   
    InternalServerError(crate::error::InternalServerError),
        5903  +
    /* ServerOperationErrorGenerator.kt:66 */
 3047   5904   
}
        5905  +
/* ServerOperationErrorGenerator.kt:75 */
 3048   5906   
impl ::std::fmt::Display for MalformedRequestBodyError {
        5907  +
    /* ServerOperationErrorGenerator.kt:76 */
 3049   5908   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        5909  +
        /* ServerOperationErrorGenerator.kt:139 */
 3050   5910   
        match &self {
 3051         -
            MalformedRequestBodyError::InternalServerError(_inner) => _inner.fmt(f),
        5911  +
            /* ServerOperationErrorGenerator.kt:142 */
        5912  +
            MalformedRequestBodyError::InternalServerError(_inner) =>
        5913  +
            /* ServerOperationErrorGenerator.kt:78 */
        5914  +
            {
        5915  +
                _inner.fmt(f)
        5916  +
            }
        5917  +
            /* ServerOperationErrorGenerator.kt:139 */
 3052   5918   
        }
        5919  +
        /* ServerOperationErrorGenerator.kt:76 */
 3053   5920   
    }
        5921  +
    /* ServerOperationErrorGenerator.kt:75 */
 3054   5922   
}
        5923  +
/* ServerOperationErrorGenerator.kt:83 */
 3055   5924   
impl MalformedRequestBodyError {
        5925  +
    /* ServerOperationErrorGenerator.kt:87 */
 3056   5926   
    /// Returns `true` if the error kind is `MalformedRequestBodyError::InternalServerError`.
        5927  +
    /* ServerOperationErrorGenerator.kt:88 */
 3057   5928   
    pub fn is_internal_server_error(&self) -> bool {
        5929  +
        /* ServerOperationErrorGenerator.kt:89 */
 3058   5930   
        matches!(&self, MalformedRequestBodyError::InternalServerError(_))
        5931  +
        /* ServerOperationErrorGenerator.kt:88 */
 3059   5932   
    }
        5933  +
    /* ServerOperationErrorGenerator.kt:92 */
 3060   5934   
    /// Returns the error name string by matching the correct variant.
        5935  +
    /* ServerOperationErrorGenerator.kt:93 */
 3061   5936   
    pub fn name(&self) -> &'static str {
        5937  +
        /* ServerOperationErrorGenerator.kt:139 */
 3062   5938   
        match &self {
 3063         -
            MalformedRequestBodyError::InternalServerError(_inner) => _inner.name(),
        5939  +
            /* ServerOperationErrorGenerator.kt:142 */
        5940  +
            MalformedRequestBodyError::InternalServerError(_inner) =>
        5941  +
            /* ServerOperationErrorGenerator.kt:95 */
        5942  +
            {
        5943  +
                _inner.name()
        5944  +
            }
        5945  +
            /* ServerOperationErrorGenerator.kt:139 */
 3064   5946   
        }
        5947  +
        /* ServerOperationErrorGenerator.kt:93 */
 3065   5948   
    }
        5949  +
    /* ServerOperationErrorGenerator.kt:83 */
 3066   5950   
}
        5951  +
/* ServerOperationErrorGenerator.kt:100 */
 3067   5952   
impl ::std::error::Error for MalformedRequestBodyError {
        5953  +
    /* ServerOperationErrorGenerator.kt:101 */
 3068   5954   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        5955  +
        /* ServerOperationErrorGenerator.kt:139 */
 3069   5956   
        match &self {
 3070         -
            MalformedRequestBodyError::InternalServerError(_inner) => Some(_inner),
        5957  +
            /* ServerOperationErrorGenerator.kt:142 */
        5958  +
            MalformedRequestBodyError::InternalServerError(_inner) =>
        5959  +
            /* ServerOperationErrorGenerator.kt:103 */
        5960  +
            {
        5961  +
                Some(_inner)
        5962  +
            }
        5963  +
            /* ServerOperationErrorGenerator.kt:139 */
 3071   5964   
        }
        5965  +
        /* ServerOperationErrorGenerator.kt:101 */
 3072   5966   
    }
        5967  +
    /* ServerOperationErrorGenerator.kt:100 */
 3073   5968   
}
        5969  +
/* ServerOperationErrorGenerator.kt:110 */
 3074   5970   
impl ::std::convert::From<crate::error::InternalServerError>
 3075   5971   
    for crate::error::MalformedRequestBodyError
 3076   5972   
{
        5973  +
    /* ServerOperationErrorGenerator.kt:111 */
 3077   5974   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MalformedRequestBodyError {
        5975  +
        /* ServerOperationErrorGenerator.kt:112 */
 3078   5976   
        Self::InternalServerError(variant)
        5977  +
        /* ServerOperationErrorGenerator.kt:111 */
 3079   5978   
    }
        5979  +
    /* ServerOperationErrorGenerator.kt:110 */
 3080   5980   
}
 3081   5981   
        5982  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3082   5983   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MalformedRequestBodyError {
 3083   5984   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MalformedRequestBodyError {
 3084   5985   
        ::pyo3::Python::with_gil(|py| {
 3085   5986   
            let error = variant.value(py);
 3086   5987   
 3087   5988   
            crate::error::InternalServerError {
 3088   5989   
                message: error.to_string(),
 3089   5990   
            }
 3090   5991   
            .into()
 3091   5992   
        })
 3092   5993   
    }
 3093   5994   
}
 3094   5995   
        5996  +
/* ServerOperationErrorGenerator.kt:63 */
 3095   5997   
/// Error type for the `HttpChecksumRequired` operation.
        5998  +
/* ServerOperationErrorGenerator.kt:64 */
 3096   5999   
/// Each variant represents an error that can occur for the `HttpChecksumRequired` operation.
        6000  +
/* RustType.kt:516 */
 3097   6001   
#[derive(::std::fmt::Debug)]
 3098         -
pub enum HttpChecksumRequiredError {
        6002  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpChecksumRequiredError {
        6003  +
    /* ServerOperationErrorGenerator.kt:68 */
 3099   6004   
    #[allow(missing_docs)] // documentation missing in model
        6005  +
    /* ServerOperationErrorGenerator.kt:71 */
 3100   6006   
    InternalServerError(crate::error::InternalServerError),
        6007  +
    /* ServerOperationErrorGenerator.kt:66 */
 3101   6008   
}
        6009  +
/* ServerOperationErrorGenerator.kt:75 */
 3102   6010   
impl ::std::fmt::Display for HttpChecksumRequiredError {
        6011  +
    /* ServerOperationErrorGenerator.kt:76 */
 3103   6012   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6013  +
        /* ServerOperationErrorGenerator.kt:139 */
 3104   6014   
        match &self {
 3105         -
            HttpChecksumRequiredError::InternalServerError(_inner) => _inner.fmt(f),
        6015  +
            /* ServerOperationErrorGenerator.kt:142 */
        6016  +
            HttpChecksumRequiredError::InternalServerError(_inner) =>
        6017  +
            /* ServerOperationErrorGenerator.kt:78 */
        6018  +
            {
        6019  +
                _inner.fmt(f)
        6020  +
            }
        6021  +
            /* ServerOperationErrorGenerator.kt:139 */
 3106   6022   
        }
        6023  +
        /* ServerOperationErrorGenerator.kt:76 */
 3107   6024   
    }
        6025  +
    /* ServerOperationErrorGenerator.kt:75 */
 3108   6026   
}
        6027  +
/* ServerOperationErrorGenerator.kt:83 */
 3109   6028   
impl HttpChecksumRequiredError {
        6029  +
    /* ServerOperationErrorGenerator.kt:87 */
 3110   6030   
    /// Returns `true` if the error kind is `HttpChecksumRequiredError::InternalServerError`.
        6031  +
    /* ServerOperationErrorGenerator.kt:88 */
 3111   6032   
    pub fn is_internal_server_error(&self) -> bool {
        6033  +
        /* ServerOperationErrorGenerator.kt:89 */
 3112   6034   
        matches!(&self, HttpChecksumRequiredError::InternalServerError(_))
        6035  +
        /* ServerOperationErrorGenerator.kt:88 */
 3113   6036   
    }
        6037  +
    /* ServerOperationErrorGenerator.kt:92 */
 3114   6038   
    /// Returns the error name string by matching the correct variant.
        6039  +
    /* ServerOperationErrorGenerator.kt:93 */
 3115   6040   
    pub fn name(&self) -> &'static str {
        6041  +
        /* ServerOperationErrorGenerator.kt:139 */
 3116   6042   
        match &self {
 3117         -
            HttpChecksumRequiredError::InternalServerError(_inner) => _inner.name(),
        6043  +
            /* ServerOperationErrorGenerator.kt:142 */
        6044  +
            HttpChecksumRequiredError::InternalServerError(_inner) =>
        6045  +
            /* ServerOperationErrorGenerator.kt:95 */
        6046  +
            {
        6047  +
                _inner.name()
        6048  +
            }
        6049  +
            /* ServerOperationErrorGenerator.kt:139 */
 3118   6050   
        }
        6051  +
        /* ServerOperationErrorGenerator.kt:93 */
 3119   6052   
    }
        6053  +
    /* ServerOperationErrorGenerator.kt:83 */
 3120   6054   
}
        6055  +
/* ServerOperationErrorGenerator.kt:100 */
 3121   6056   
impl ::std::error::Error for HttpChecksumRequiredError {
        6057  +
    /* ServerOperationErrorGenerator.kt:101 */
 3122   6058   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        6059  +
        /* ServerOperationErrorGenerator.kt:139 */
 3123   6060   
        match &self {
 3124         -
            HttpChecksumRequiredError::InternalServerError(_inner) => Some(_inner),
        6061  +
            /* ServerOperationErrorGenerator.kt:142 */
        6062  +
            HttpChecksumRequiredError::InternalServerError(_inner) =>
        6063  +
            /* ServerOperationErrorGenerator.kt:103 */
        6064  +
            {
        6065  +
                Some(_inner)
        6066  +
            }
        6067  +
            /* ServerOperationErrorGenerator.kt:139 */
 3125   6068   
        }
        6069  +
        /* ServerOperationErrorGenerator.kt:101 */
 3126   6070   
    }
        6071  +
    /* ServerOperationErrorGenerator.kt:100 */
 3127   6072   
}
        6073  +
/* ServerOperationErrorGenerator.kt:110 */
 3128   6074   
impl ::std::convert::From<crate::error::InternalServerError>
 3129   6075   
    for crate::error::HttpChecksumRequiredError
 3130   6076   
{
        6077  +
    /* ServerOperationErrorGenerator.kt:111 */
 3131   6078   
    fn from(variant: crate::error::InternalServerError) -> crate::error::HttpChecksumRequiredError {
        6079  +
        /* ServerOperationErrorGenerator.kt:112 */
 3132   6080   
        Self::InternalServerError(variant)
        6081  +
        /* ServerOperationErrorGenerator.kt:111 */
 3133   6082   
    }
        6083  +
    /* ServerOperationErrorGenerator.kt:110 */
 3134   6084   
}
 3135   6085   
        6086  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3136   6087   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpChecksumRequiredError {
 3137   6088   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpChecksumRequiredError {
 3138   6089   
        ::pyo3::Python::with_gil(|py| {
 3139   6090   
            let error = variant.value(py);
 3140   6091   
 3141   6092   
            crate::error::InternalServerError {
 3142   6093   
                message: error.to_string(),
 3143   6094   
            }
 3144   6095   
            .into()
 3145   6096   
        })
 3146   6097   
    }
 3147   6098   
}
 3148   6099   
        6100  +
/* ServerOperationErrorGenerator.kt:63 */
 3149   6101   
/// Error type for the `HostWithPathOperation` operation.
        6102  +
/* ServerOperationErrorGenerator.kt:64 */
 3150   6103   
/// Each variant represents an error that can occur for the `HostWithPathOperation` operation.
        6104  +
/* RustType.kt:516 */
 3151   6105   
#[derive(::std::fmt::Debug)]
 3152         -
pub enum HostWithPathOperationError {
        6106  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HostWithPathOperationError {
        6107  +
    /* ServerOperationErrorGenerator.kt:68 */
 3153   6108   
    #[allow(missing_docs)] // documentation missing in model
        6109  +
    /* ServerOperationErrorGenerator.kt:71 */
 3154   6110   
    InternalServerError(crate::error::InternalServerError),
        6111  +
    /* ServerOperationErrorGenerator.kt:66 */
 3155   6112   
}
        6113  +
/* ServerOperationErrorGenerator.kt:75 */
 3156   6114   
impl ::std::fmt::Display for HostWithPathOperationError {
        6115  +
    /* ServerOperationErrorGenerator.kt:76 */
 3157   6116   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6117  +
        /* ServerOperationErrorGenerator.kt:139 */
 3158   6118   
        match &self {
 3159         -
            HostWithPathOperationError::InternalServerError(_inner) => _inner.fmt(f),
        6119  +
            /* ServerOperationErrorGenerator.kt:142 */
        6120  +
            HostWithPathOperationError::InternalServerError(_inner) =>
        6121  +
            /* ServerOperationErrorGenerator.kt:78 */
        6122  +
            {
        6123  +
                _inner.fmt(f)
        6124  +
            }
        6125  +
            /* ServerOperationErrorGenerator.kt:139 */
 3160   6126   
        }
        6127  +
        /* ServerOperationErrorGenerator.kt:76 */
 3161   6128   
    }
        6129  +
    /* ServerOperationErrorGenerator.kt:75 */
 3162   6130   
}
        6131  +
/* ServerOperationErrorGenerator.kt:83 */
 3163   6132   
impl HostWithPathOperationError {
        6133  +
    /* ServerOperationErrorGenerator.kt:87 */
 3164   6134   
    /// Returns `true` if the error kind is `HostWithPathOperationError::InternalServerError`.
        6135  +
    /* ServerOperationErrorGenerator.kt:88 */
 3165   6136   
    pub fn is_internal_server_error(&self) -> bool {
        6137  +
        /* ServerOperationErrorGenerator.kt:89 */
 3166   6138   
        matches!(&self, HostWithPathOperationError::InternalServerError(_))
        6139  +
        /* ServerOperationErrorGenerator.kt:88 */
 3167   6140   
    }
        6141  +
    /* ServerOperationErrorGenerator.kt:92 */
 3168   6142   
    /// Returns the error name string by matching the correct variant.
        6143  +
    /* ServerOperationErrorGenerator.kt:93 */
 3169   6144   
    pub fn name(&self) -> &'static str {
        6145  +
        /* ServerOperationErrorGenerator.kt:139 */
 3170   6146   
        match &self {
 3171         -
            HostWithPathOperationError::InternalServerError(_inner) => _inner.name(),
        6147  +
            /* ServerOperationErrorGenerator.kt:142 */
        6148  +
            HostWithPathOperationError::InternalServerError(_inner) =>
        6149  +
            /* ServerOperationErrorGenerator.kt:95 */
        6150  +
            {
        6151  +
                _inner.name()
        6152  +
            }
        6153  +
            /* ServerOperationErrorGenerator.kt:139 */
 3172   6154   
        }
        6155  +
        /* ServerOperationErrorGenerator.kt:93 */
 3173   6156   
    }
        6157  +
    /* ServerOperationErrorGenerator.kt:83 */
 3174   6158   
}
        6159  +
/* ServerOperationErrorGenerator.kt:100 */
 3175   6160   
impl ::std::error::Error for HostWithPathOperationError {
        6161  +
    /* ServerOperationErrorGenerator.kt:101 */
 3176   6162   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        6163  +
        /* ServerOperationErrorGenerator.kt:139 */
 3177   6164   
        match &self {
 3178         -
            HostWithPathOperationError::InternalServerError(_inner) => Some(_inner),
        6165  +
            /* ServerOperationErrorGenerator.kt:142 */
        6166  +
            HostWithPathOperationError::InternalServerError(_inner) =>
        6167  +
            /* ServerOperationErrorGenerator.kt:103 */
        6168  +
            {
        6169  +
                Some(_inner)
        6170  +
            }
        6171  +
            /* ServerOperationErrorGenerator.kt:139 */
 3179   6172   
        }
        6173  +
        /* ServerOperationErrorGenerator.kt:101 */
 3180   6174   
    }
        6175  +
    /* ServerOperationErrorGenerator.kt:100 */
 3181   6176   
}
        6177  +
/* ServerOperationErrorGenerator.kt:110 */
 3182   6178   
impl ::std::convert::From<crate::error::InternalServerError>
 3183   6179   
    for crate::error::HostWithPathOperationError
 3184   6180   
{
        6181  +
    /* ServerOperationErrorGenerator.kt:111 */
 3185   6182   
    fn from(
 3186   6183   
        variant: crate::error::InternalServerError,
 3187   6184   
    ) -> crate::error::HostWithPathOperationError {
        6185  +
        /* ServerOperationErrorGenerator.kt:112 */
 3188   6186   
        Self::InternalServerError(variant)
        6187  +
        /* ServerOperationErrorGenerator.kt:111 */
 3189   6188   
    }
        6189  +
    /* ServerOperationErrorGenerator.kt:110 */
 3190   6190   
}
 3191   6191   
        6192  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3192   6193   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HostWithPathOperationError {
 3193   6194   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HostWithPathOperationError {
 3194   6195   
        ::pyo3::Python::with_gil(|py| {
 3195   6196   
            let error = variant.value(py);
 3196   6197   
 3197   6198   
            crate::error::InternalServerError {
 3198   6199   
                message: error.to_string(),
 3199   6200   
            }
 3200   6201   
            .into()
 3201   6202   
        })
 3202   6203   
    }
 3203   6204   
}
 3204   6205   
        6206  +
/* ServerOperationErrorGenerator.kt:63 */
 3205   6207   
/// Error type for the `EndpointWithHostLabelOperation` operation.
        6208  +
/* ServerOperationErrorGenerator.kt:64 */
 3206   6209   
/// Each variant represents an error that can occur for the `EndpointWithHostLabelOperation` operation.
        6210  +
/* RustType.kt:516 */
 3207   6211   
#[derive(::std::fmt::Debug)]
 3208         -
pub enum EndpointWithHostLabelOperationError {
 3209         -
    /// 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.
        6212  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum EndpointWithHostLabelOperationError {
        6213  +
    /// /* 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.
        6214  +
    /* ServerOperationErrorGenerator.kt:71 */
 3210   6215   
    ValidationException(crate::error::ValidationException),
        6216  +
    /* ServerOperationErrorGenerator.kt:68 */
 3211   6217   
    #[allow(missing_docs)] // documentation missing in model
        6218  +
    /* ServerOperationErrorGenerator.kt:71 */
 3212   6219   
    InternalServerError(crate::error::InternalServerError),
        6220  +
    /* ServerOperationErrorGenerator.kt:66 */
 3213   6221   
}
        6222  +
/* ServerOperationErrorGenerator.kt:75 */
 3214   6223   
impl ::std::fmt::Display for EndpointWithHostLabelOperationError {
        6224  +
    /* ServerOperationErrorGenerator.kt:76 */
 3215   6225   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6226  +
        /* ServerOperationErrorGenerator.kt:139 */
 3216   6227   
        match &self {
 3217         -
            EndpointWithHostLabelOperationError::ValidationException(_inner) => _inner.fmt(f),
 3218         -
            EndpointWithHostLabelOperationError::InternalServerError(_inner) => _inner.fmt(f),
        6228  +
            /* ServerOperationErrorGenerator.kt:142 */
        6229  +
            EndpointWithHostLabelOperationError::ValidationException(_inner) =>
        6230  +
            /* ServerOperationErrorGenerator.kt:78 */
        6231  +
            {
        6232  +
                _inner.fmt(f)
        6233  +
            }
        6234  +
            ,
        6235  +
            /* ServerOperationErrorGenerator.kt:142 */
        6236  +
            EndpointWithHostLabelOperationError::InternalServerError(_inner) =>
        6237  +
            /* ServerOperationErrorGenerator.kt:78 */
        6238  +
            {
        6239  +
                _inner.fmt(f)
        6240  +
            }
        6241  +
            /* ServerOperationErrorGenerator.kt:139 */
 3219   6242   
        }
        6243  +
        /* ServerOperationErrorGenerator.kt:76 */
 3220   6244   
    }
        6245  +
    /* ServerOperationErrorGenerator.kt:75 */
 3221   6246   
}
        6247  +
/* ServerOperationErrorGenerator.kt:83 */
 3222   6248   
impl EndpointWithHostLabelOperationError {
        6249  +
    /* ServerOperationErrorGenerator.kt:87 */
 3223   6250   
    /// Returns `true` if the error kind is `EndpointWithHostLabelOperationError::ValidationException`.
        6251  +
    /* ServerOperationErrorGenerator.kt:88 */
 3224   6252   
    pub fn is_validation_exception(&self) -> bool {
        6253  +
        /* ServerOperationErrorGenerator.kt:89 */
 3225   6254   
        matches!(
 3226   6255   
            &self,
 3227   6256   
            EndpointWithHostLabelOperationError::ValidationException(_)
 3228   6257   
        )
        6258  +
        /* ServerOperationErrorGenerator.kt:88 */
 3229   6259   
    }
        6260  +
    /* ServerOperationErrorGenerator.kt:87 */
 3230   6261   
    /// Returns `true` if the error kind is `EndpointWithHostLabelOperationError::InternalServerError`.
        6262  +
    /* ServerOperationErrorGenerator.kt:88 */
 3231   6263   
    pub fn is_internal_server_error(&self) -> bool {
        6264  +
        /* ServerOperationErrorGenerator.kt:89 */
 3232   6265   
        matches!(
 3233   6266   
            &self,
 3234   6267   
            EndpointWithHostLabelOperationError::InternalServerError(_)
 3235   6268   
        )
        6269  +
        /* ServerOperationErrorGenerator.kt:88 */
 3236   6270   
    }
        6271  +
    /* ServerOperationErrorGenerator.kt:92 */
 3237   6272   
    /// Returns the error name string by matching the correct variant.
        6273  +
    /* ServerOperationErrorGenerator.kt:93 */
 3238   6274   
    pub fn name(&self) -> &'static str {
        6275  +
        /* ServerOperationErrorGenerator.kt:139 */
 3239   6276   
        match &self {
 3240         -
            EndpointWithHostLabelOperationError::ValidationException(_inner) => _inner.name(),
 3241         -
            EndpointWithHostLabelOperationError::InternalServerError(_inner) => _inner.name(),
        6277  +
            /* ServerOperationErrorGenerator.kt:142 */
        6278  +
            EndpointWithHostLabelOperationError::ValidationException(_inner) =>
        6279  +
            /* ServerOperationErrorGenerator.kt:95 */
        6280  +
            {
        6281  +
                _inner.name()
        6282  +
            }
        6283  +
            ,
        6284  +
            /* ServerOperationErrorGenerator.kt:142 */
        6285  +
            EndpointWithHostLabelOperationError::InternalServerError(_inner) =>
        6286  +
            /* ServerOperationErrorGenerator.kt:95 */
        6287  +
            {
        6288  +
                _inner.name()
        6289  +
            }
        6290  +
            /* ServerOperationErrorGenerator.kt:139 */
 3242   6291   
        }
        6292  +
        /* ServerOperationErrorGenerator.kt:93 */
 3243   6293   
    }
        6294  +
    /* ServerOperationErrorGenerator.kt:83 */
 3244   6295   
}
        6296  +
/* ServerOperationErrorGenerator.kt:100 */
 3245   6297   
impl ::std::error::Error for EndpointWithHostLabelOperationError {
        6298  +
    /* ServerOperationErrorGenerator.kt:101 */
 3246   6299   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        6300  +
        /* ServerOperationErrorGenerator.kt:139 */
 3247   6301   
        match &self {
 3248         -
            EndpointWithHostLabelOperationError::ValidationException(_inner) => Some(_inner),
 3249         -
            EndpointWithHostLabelOperationError::InternalServerError(_inner) => Some(_inner),
        6302  +
            /* ServerOperationErrorGenerator.kt:142 */
        6303  +
            EndpointWithHostLabelOperationError::ValidationException(_inner) =>
        6304  +
            /* ServerOperationErrorGenerator.kt:103 */
        6305  +
            {
        6306  +
                Some(_inner)
        6307  +
            }
        6308  +
            ,
        6309  +
            /* ServerOperationErrorGenerator.kt:142 */
        6310  +
            EndpointWithHostLabelOperationError::InternalServerError(_inner) =>
        6311  +
            /* ServerOperationErrorGenerator.kt:103 */
        6312  +
            {
        6313  +
                Some(_inner)
        6314  +
            }
        6315  +
            /* ServerOperationErrorGenerator.kt:139 */
 3250   6316   
        }
        6317  +
        /* ServerOperationErrorGenerator.kt:101 */
 3251   6318   
    }
        6319  +
    /* ServerOperationErrorGenerator.kt:100 */
 3252   6320   
}
        6321  +
/* ServerOperationErrorGenerator.kt:110 */
 3253   6322   
impl ::std::convert::From<crate::error::ValidationException>
 3254   6323   
    for crate::error::EndpointWithHostLabelOperationError
 3255   6324   
{
        6325  +
    /* ServerOperationErrorGenerator.kt:111 */
 3256   6326   
    fn from(
 3257   6327   
        variant: crate::error::ValidationException,
 3258   6328   
    ) -> crate::error::EndpointWithHostLabelOperationError {
        6329  +
        /* ServerOperationErrorGenerator.kt:112 */
 3259   6330   
        Self::ValidationException(variant)
        6331  +
        /* ServerOperationErrorGenerator.kt:111 */
 3260   6332   
    }
        6333  +
    /* ServerOperationErrorGenerator.kt:110 */
 3261   6334   
}
        6335  +
/* ServerOperationErrorGenerator.kt:110 */
 3262   6336   
impl ::std::convert::From<crate::error::InternalServerError>
 3263   6337   
    for crate::error::EndpointWithHostLabelOperationError
 3264   6338   
{
        6339  +
    /* ServerOperationErrorGenerator.kt:111 */
 3265   6340   
    fn from(
 3266   6341   
        variant: crate::error::InternalServerError,
 3267   6342   
    ) -> crate::error::EndpointWithHostLabelOperationError {
        6343  +
        /* ServerOperationErrorGenerator.kt:112 */
 3268   6344   
        Self::InternalServerError(variant)
        6345  +
        /* ServerOperationErrorGenerator.kt:111 */
 3269   6346   
    }
        6347  +
    /* ServerOperationErrorGenerator.kt:110 */
 3270   6348   
}
 3271   6349   
        6350  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3272   6351   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::EndpointWithHostLabelOperationError {
 3273   6352   
    fn from(variant: ::pyo3::PyErr) -> crate::error::EndpointWithHostLabelOperationError {
 3274   6353   
        ::pyo3::Python::with_gil(|py| {
 3275   6354   
            let error = variant.value(py);
 3276   6355   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 3277   6356   
                return error.into();
 3278   6357   
            }
 3279   6358   
            crate::error::InternalServerError {
 3280   6359   
                message: error.to_string(),
 3281   6360   
            }
 3282   6361   
            .into()
 3283   6362   
        })
 3284   6363   
    }
 3285   6364   
}
 3286   6365   
        6366  +
/* ServerOperationErrorGenerator.kt:63 */
 3287   6367   
/// Error type for the `EndpointOperation` operation.
        6368  +
/* ServerOperationErrorGenerator.kt:64 */
 3288   6369   
/// Each variant represents an error that can occur for the `EndpointOperation` operation.
        6370  +
/* RustType.kt:516 */
 3289   6371   
#[derive(::std::fmt::Debug)]
 3290         -
pub enum EndpointOperationError {
        6372  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum EndpointOperationError {
        6373  +
    /* ServerOperationErrorGenerator.kt:68 */
 3291   6374   
    #[allow(missing_docs)] // documentation missing in model
        6375  +
    /* ServerOperationErrorGenerator.kt:71 */
 3292   6376   
    InternalServerError(crate::error::InternalServerError),
        6377  +
    /* ServerOperationErrorGenerator.kt:66 */
 3293   6378   
}
        6379  +
/* ServerOperationErrorGenerator.kt:75 */
 3294   6380   
impl ::std::fmt::Display for EndpointOperationError {
        6381  +
    /* ServerOperationErrorGenerator.kt:76 */
 3295   6382   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6383  +
        /* ServerOperationErrorGenerator.kt:139 */
 3296   6384   
        match &self {
 3297         -
            EndpointOperationError::InternalServerError(_inner) => _inner.fmt(f),
        6385  +
            /* ServerOperationErrorGenerator.kt:142 */
        6386  +
            EndpointOperationError::InternalServerError(_inner) =>
        6387  +
            /* ServerOperationErrorGenerator.kt:78 */
        6388  +
            {
        6389  +
                _inner.fmt(f)
        6390  +
            }
        6391  +
            /* ServerOperationErrorGenerator.kt:139 */
 3298   6392   
        }
        6393  +
        /* ServerOperationErrorGenerator.kt:76 */
 3299   6394   
    }
        6395  +
    /* ServerOperationErrorGenerator.kt:75 */
 3300   6396   
}
        6397  +
/* ServerOperationErrorGenerator.kt:83 */
 3301   6398   
impl EndpointOperationError {
        6399  +
    /* ServerOperationErrorGenerator.kt:87 */
 3302   6400   
    /// Returns `true` if the error kind is `EndpointOperationError::InternalServerError`.
        6401  +
    /* ServerOperationErrorGenerator.kt:88 */
 3303   6402   
    pub fn is_internal_server_error(&self) -> bool {
        6403  +
        /* ServerOperationErrorGenerator.kt:89 */
 3304   6404   
        matches!(&self, EndpointOperationError::InternalServerError(_))
        6405  +
        /* ServerOperationErrorGenerator.kt:88 */
 3305   6406   
    }
        6407  +
    /* ServerOperationErrorGenerator.kt:92 */
 3306   6408   
    /// Returns the error name string by matching the correct variant.
        6409  +
    /* ServerOperationErrorGenerator.kt:93 */
 3307   6410   
    pub fn name(&self) -> &'static str {
        6411  +
        /* ServerOperationErrorGenerator.kt:139 */
 3308   6412   
        match &self {
 3309         -
            EndpointOperationError::InternalServerError(_inner) => _inner.name(),
        6413  +
            /* ServerOperationErrorGenerator.kt:142 */
        6414  +
            EndpointOperationError::InternalServerError(_inner) =>
        6415  +
            /* ServerOperationErrorGenerator.kt:95 */
        6416  +
            {
        6417  +
                _inner.name()
        6418  +
            }
        6419  +
            /* ServerOperationErrorGenerator.kt:139 */
 3310   6420   
        }
        6421  +
        /* ServerOperationErrorGenerator.kt:93 */
 3311   6422   
    }
        6423  +
    /* ServerOperationErrorGenerator.kt:83 */
 3312   6424   
}
        6425  +
/* ServerOperationErrorGenerator.kt:100 */
 3313   6426   
impl ::std::error::Error for EndpointOperationError {
        6427  +
    /* ServerOperationErrorGenerator.kt:101 */
 3314   6428   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        6429  +
        /* ServerOperationErrorGenerator.kt:139 */
 3315   6430   
        match &self {
 3316         -
            EndpointOperationError::InternalServerError(_inner) => Some(_inner),
        6431  +
            /* ServerOperationErrorGenerator.kt:142 */
        6432  +
            EndpointOperationError::InternalServerError(_inner) =>
        6433  +
            /* ServerOperationErrorGenerator.kt:103 */
        6434  +
            {
        6435  +
                Some(_inner)
        6436  +
            }
        6437  +
            /* ServerOperationErrorGenerator.kt:139 */
 3317   6438   
        }
        6439  +
        /* ServerOperationErrorGenerator.kt:101 */
 3318   6440   
    }
        6441  +
    /* ServerOperationErrorGenerator.kt:100 */
 3319   6442   
}
        6443  +
/* ServerOperationErrorGenerator.kt:110 */
 3320   6444   
impl ::std::convert::From<crate::error::InternalServerError>
 3321   6445   
    for crate::error::EndpointOperationError
 3322   6446   
{
        6447  +
    /* ServerOperationErrorGenerator.kt:111 */
 3323   6448   
    fn from(variant: crate::error::InternalServerError) -> crate::error::EndpointOperationError {
        6449  +
        /* ServerOperationErrorGenerator.kt:112 */
 3324   6450   
        Self::InternalServerError(variant)
        6451  +
        /* ServerOperationErrorGenerator.kt:111 */
 3325   6452   
    }
        6453  +
    /* ServerOperationErrorGenerator.kt:110 */
 3326   6454   
}
 3327   6455   
        6456  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3328   6457   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::EndpointOperationError {
 3329   6458   
    fn from(variant: ::pyo3::PyErr) -> crate::error::EndpointOperationError {
 3330   6459   
        ::pyo3::Python::with_gil(|py| {
 3331   6460   
            let error = variant.value(py);
 3332   6461   
 3333   6462   
            crate::error::InternalServerError {
 3334   6463   
                message: error.to_string(),
 3335   6464   
            }
 3336   6465   
            .into()
 3337   6466   
        })
 3338   6467   
    }
 3339   6468   
}
 3340   6469   
        6470  +
/* ServerOperationErrorGenerator.kt:63 */
 3341   6471   
/// Error type for the `PostUnionWithJsonName` operation.
        6472  +
/* ServerOperationErrorGenerator.kt:64 */
 3342   6473   
/// Each variant represents an error that can occur for the `PostUnionWithJsonName` operation.
        6474  +
/* RustType.kt:516 */
 3343   6475   
#[derive(::std::fmt::Debug)]
 3344         -
pub enum PostUnionWithJsonNameError {
        6476  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum PostUnionWithJsonNameError {
        6477  +
    /* ServerOperationErrorGenerator.kt:68 */
 3345   6478   
    #[allow(missing_docs)] // documentation missing in model
        6479  +
    /* ServerOperationErrorGenerator.kt:71 */
 3346   6480   
    InternalServerError(crate::error::InternalServerError),
        6481  +
    /* ServerOperationErrorGenerator.kt:66 */
 3347   6482   
}
        6483  +
/* ServerOperationErrorGenerator.kt:75 */
 3348   6484   
impl ::std::fmt::Display for PostUnionWithJsonNameError {
        6485  +
    /* ServerOperationErrorGenerator.kt:76 */
 3349   6486   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6487  +
        /* ServerOperationErrorGenerator.kt:139 */
 3350   6488   
        match &self {
 3351         -
            PostUnionWithJsonNameError::InternalServerError(_inner) => _inner.fmt(f),
        6489  +
            /* ServerOperationErrorGenerator.kt:142 */
        6490  +
            PostUnionWithJsonNameError::InternalServerError(_inner) =>
        6491  +
            /* ServerOperationErrorGenerator.kt:78 */
        6492  +
            {
        6493  +
                _inner.fmt(f)
        6494  +
            }
        6495  +
            /* ServerOperationErrorGenerator.kt:139 */
 3352   6496   
        }
        6497  +
        /* ServerOperationErrorGenerator.kt:76 */
 3353   6498   
    }
        6499  +
    /* ServerOperationErrorGenerator.kt:75 */
 3354   6500   
}
        6501  +
/* ServerOperationErrorGenerator.kt:83 */
 3355   6502   
impl PostUnionWithJsonNameError {
        6503  +
    /* ServerOperationErrorGenerator.kt:87 */
 3356   6504   
    /// Returns `true` if the error kind is `PostUnionWithJsonNameError::InternalServerError`.
        6505  +
    /* ServerOperationErrorGenerator.kt:88 */
 3357   6506   
    pub fn is_internal_server_error(&self) -> bool {
        6507  +
        /* ServerOperationErrorGenerator.kt:89 */
 3358   6508   
        matches!(&self, PostUnionWithJsonNameError::InternalServerError(_))
        6509  +
        /* ServerOperationErrorGenerator.kt:88 */
 3359   6510   
    }
        6511  +
    /* ServerOperationErrorGenerator.kt:92 */
 3360   6512   
    /// Returns the error name string by matching the correct variant.
        6513  +
    /* ServerOperationErrorGenerator.kt:93 */
 3361   6514   
    pub fn name(&self) -> &'static str {
        6515  +
        /* ServerOperationErrorGenerator.kt:139 */
 3362   6516   
        match &self {
 3363         -
            PostUnionWithJsonNameError::InternalServerError(_inner) => _inner.name(),
        6517  +
            /* ServerOperationErrorGenerator.kt:142 */
        6518  +
            PostUnionWithJsonNameError::InternalServerError(_inner) =>
        6519  +
            /* ServerOperationErrorGenerator.kt:95 */
        6520  +
            {
        6521  +
                _inner.name()
        6522  +
            }
        6523  +
            /* ServerOperationErrorGenerator.kt:139 */
 3364   6524   
        }
        6525  +
        /* ServerOperationErrorGenerator.kt:93 */
 3365   6526   
    }
        6527  +
    /* ServerOperationErrorGenerator.kt:83 */
 3366   6528   
}
        6529  +
/* ServerOperationErrorGenerator.kt:100 */
 3367   6530   
impl ::std::error::Error for PostUnionWithJsonNameError {
        6531  +
    /* ServerOperationErrorGenerator.kt:101 */
 3368   6532   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        6533  +
        /* ServerOperationErrorGenerator.kt:139 */
 3369   6534   
        match &self {
 3370         -
            PostUnionWithJsonNameError::InternalServerError(_inner) => Some(_inner),
        6535  +
            /* ServerOperationErrorGenerator.kt:142 */
        6536  +
            PostUnionWithJsonNameError::InternalServerError(_inner) =>
        6537  +
            /* ServerOperationErrorGenerator.kt:103 */
        6538  +
            {
        6539  +
                Some(_inner)
        6540  +
            }
        6541  +
            /* ServerOperationErrorGenerator.kt:139 */
 3371   6542   
        }
        6543  +
        /* ServerOperationErrorGenerator.kt:101 */
 3372   6544   
    }
        6545  +
    /* ServerOperationErrorGenerator.kt:100 */
 3373   6546   
}
        6547  +
/* ServerOperationErrorGenerator.kt:110 */
 3374   6548   
impl ::std::convert::From<crate::error::InternalServerError>
 3375   6549   
    for crate::error::PostUnionWithJsonNameError
 3376   6550   
{
        6551  +
    /* ServerOperationErrorGenerator.kt:111 */
 3377   6552   
    fn from(
 3378   6553   
        variant: crate::error::InternalServerError,
 3379   6554   
    ) -> crate::error::PostUnionWithJsonNameError {
        6555  +
        /* ServerOperationErrorGenerator.kt:112 */
 3380   6556   
        Self::InternalServerError(variant)
        6557  +
        /* ServerOperationErrorGenerator.kt:111 */
 3381   6558   
    }
        6559  +
    /* ServerOperationErrorGenerator.kt:110 */
 3382   6560   
}
 3383   6561   
        6562  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3384   6563   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::PostUnionWithJsonNameError {
 3385   6564   
    fn from(variant: ::pyo3::PyErr) -> crate::error::PostUnionWithJsonNameError {
 3386   6565   
        ::pyo3::Python::with_gil(|py| {
 3387   6566   
            let error = variant.value(py);
 3388   6567   
 3389   6568   
            crate::error::InternalServerError {
 3390   6569   
                message: error.to_string(),
 3391   6570   
            }
 3392   6571   
            .into()
 3393   6572   
        })
 3394   6573   
    }
 3395   6574   
}
 3396   6575   
        6576  +
/* ServerOperationErrorGenerator.kt:63 */
 3397   6577   
/// Error type for the `PostPlayerAction` operation.
        6578  +
/* ServerOperationErrorGenerator.kt:64 */
 3398   6579   
/// Each variant represents an error that can occur for the `PostPlayerAction` operation.
        6580  +
/* RustType.kt:516 */
 3399   6581   
#[derive(::std::fmt::Debug)]
 3400         -
pub enum PostPlayerActionError {
        6582  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum PostPlayerActionError {
        6583  +
    /* ServerOperationErrorGenerator.kt:68 */
 3401   6584   
    #[allow(missing_docs)] // documentation missing in model
        6585  +
    /* ServerOperationErrorGenerator.kt:71 */
 3402   6586   
    InternalServerError(crate::error::InternalServerError),
        6587  +
    /* ServerOperationErrorGenerator.kt:66 */
 3403   6588   
}
        6589  +
/* ServerOperationErrorGenerator.kt:75 */
 3404   6590   
impl ::std::fmt::Display for PostPlayerActionError {
        6591  +
    /* ServerOperationErrorGenerator.kt:76 */
 3405   6592   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6593  +
        /* ServerOperationErrorGenerator.kt:139 */
 3406   6594   
        match &self {
 3407         -
            PostPlayerActionError::InternalServerError(_inner) => _inner.fmt(f),
        6595  +
            /* ServerOperationErrorGenerator.kt:142 */
        6596  +
            PostPlayerActionError::InternalServerError(_inner) =>
        6597  +
            /* ServerOperationErrorGenerator.kt:78 */
        6598  +
            {
        6599  +
                _inner.fmt(f)
        6600  +
            }
        6601  +
            /* ServerOperationErrorGenerator.kt:139 */
 3408   6602   
        }
        6603  +
        /* ServerOperationErrorGenerator.kt:76 */
 3409   6604   
    }
        6605  +
    /* ServerOperationErrorGenerator.kt:75 */
 3410   6606   
}
        6607  +
/* ServerOperationErrorGenerator.kt:83 */
 3411   6608   
impl PostPlayerActionError {
        6609  +
    /* ServerOperationErrorGenerator.kt:87 */
 3412   6610   
    /// Returns `true` if the error kind is `PostPlayerActionError::InternalServerError`.
        6611  +
    /* ServerOperationErrorGenerator.kt:88 */
 3413   6612   
    pub fn is_internal_server_error(&self) -> bool {
        6613  +
        /* ServerOperationErrorGenerator.kt:89 */
 3414   6614   
        matches!(&self, PostPlayerActionError::InternalServerError(_))
        6615  +
        /* ServerOperationErrorGenerator.kt:88 */
 3415   6616   
    }
        6617  +
    /* ServerOperationErrorGenerator.kt:92 */
 3416   6618   
    /// Returns the error name string by matching the correct variant.
        6619  +
    /* ServerOperationErrorGenerator.kt:93 */
 3417   6620   
    pub fn name(&self) -> &'static str {
        6621  +
        /* ServerOperationErrorGenerator.kt:139 */
 3418   6622   
        match &self {
 3419         -
            PostPlayerActionError::InternalServerError(_inner) => _inner.name(),
        6623  +
            /* ServerOperationErrorGenerator.kt:142 */
        6624  +
            PostPlayerActionError::InternalServerError(_inner) =>
        6625  +
            /* ServerOperationErrorGenerator.kt:95 */
        6626  +
            {
        6627  +
                _inner.name()
        6628  +
            }
        6629  +
            /* ServerOperationErrorGenerator.kt:139 */
 3420   6630   
        }
        6631  +
        /* ServerOperationErrorGenerator.kt:93 */
 3421   6632   
    }
        6633  +
    /* ServerOperationErrorGenerator.kt:83 */
 3422   6634   
}
        6635  +
/* ServerOperationErrorGenerator.kt:100 */
 3423   6636   
impl ::std::error::Error for PostPlayerActionError {
        6637  +
    /* ServerOperationErrorGenerator.kt:101 */
 3424   6638   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        6639  +
        /* ServerOperationErrorGenerator.kt:139 */
 3425   6640   
        match &self {
 3426         -
            PostPlayerActionError::InternalServerError(_inner) => Some(_inner),
        6641  +
            /* ServerOperationErrorGenerator.kt:142 */
        6642  +
            PostPlayerActionError::InternalServerError(_inner) =>
        6643  +
            /* ServerOperationErrorGenerator.kt:103 */
        6644  +
            {
        6645  +
                Some(_inner)
        6646  +
            }
        6647  +
            /* ServerOperationErrorGenerator.kt:139 */
 3427   6648   
        }
        6649  +
        /* ServerOperationErrorGenerator.kt:101 */
 3428   6650   
    }
        6651  +
    /* ServerOperationErrorGenerator.kt:100 */
 3429   6652   
}
        6653  +
/* ServerOperationErrorGenerator.kt:110 */
 3430   6654   
impl ::std::convert::From<crate::error::InternalServerError>
 3431   6655   
    for crate::error::PostPlayerActionError
 3432   6656   
{
        6657  +
    /* ServerOperationErrorGenerator.kt:111 */
 3433   6658   
    fn from(variant: crate::error::InternalServerError) -> crate::error::PostPlayerActionError {
        6659  +
        /* ServerOperationErrorGenerator.kt:112 */
 3434   6660   
        Self::InternalServerError(variant)
        6661  +
        /* ServerOperationErrorGenerator.kt:111 */
 3435   6662   
    }
        6663  +
    /* ServerOperationErrorGenerator.kt:110 */
 3436   6664   
}
 3437   6665   
        6666  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3438   6667   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::PostPlayerActionError {
 3439   6668   
    fn from(variant: ::pyo3::PyErr) -> crate::error::PostPlayerActionError {
 3440   6669   
        ::pyo3::Python::with_gil(|py| {
 3441   6670   
            let error = variant.value(py);
 3442   6671   
 3443   6672   
            crate::error::InternalServerError {
 3444   6673   
                message: error.to_string(),
 3445   6674   
            }
 3446   6675   
            .into()
 3447   6676   
        })
 3448   6677   
    }
 3449   6678   
}
 3450   6679   
        6680  +
/* ServerOperationErrorGenerator.kt:63 */
 3451   6681   
/// Error type for the `JsonUnions` operation.
        6682  +
/* ServerOperationErrorGenerator.kt:64 */
 3452   6683   
/// Each variant represents an error that can occur for the `JsonUnions` operation.
        6684  +
/* RustType.kt:516 */
 3453   6685   
#[derive(::std::fmt::Debug)]
 3454         -
pub enum JsonUnionsError {
 3455         -
    /// 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.
        6686  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum JsonUnionsError {
        6687  +
    /// /* 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.
        6688  +
    /* ServerOperationErrorGenerator.kt:71 */
 3456   6689   
    ValidationException(crate::error::ValidationException),
        6690  +
    /* ServerOperationErrorGenerator.kt:68 */
 3457   6691   
    #[allow(missing_docs)] // documentation missing in model
        6692  +
    /* ServerOperationErrorGenerator.kt:71 */
 3458   6693   
    InternalServerError(crate::error::InternalServerError),
        6694  +
    /* ServerOperationErrorGenerator.kt:66 */
 3459   6695   
}
        6696  +
/* ServerOperationErrorGenerator.kt:75 */
 3460   6697   
impl ::std::fmt::Display for JsonUnionsError {
        6698  +
    /* ServerOperationErrorGenerator.kt:76 */
 3461   6699   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6700  +
        /* ServerOperationErrorGenerator.kt:139 */
 3462   6701   
        match &self {
 3463         -
            JsonUnionsError::ValidationException(_inner) => _inner.fmt(f),
 3464         -
            JsonUnionsError::InternalServerError(_inner) => _inner.fmt(f),
        6702  +
            /* ServerOperationErrorGenerator.kt:142 */
        6703  +
            JsonUnionsError::ValidationException(_inner) =>
        6704  +
            /* ServerOperationErrorGenerator.kt:78 */
        6705  +
            {
        6706  +
                _inner.fmt(f)
        6707  +
            }
        6708  +
            ,
        6709  +
            /* ServerOperationErrorGenerator.kt:142 */
        6710  +
            JsonUnionsError::InternalServerError(_inner) =>
        6711  +
            /* ServerOperationErrorGenerator.kt:78 */
        6712  +
            {
        6713  +
                _inner.fmt(f)
        6714  +
            }
        6715  +
            /* ServerOperationErrorGenerator.kt:139 */
 3465   6716   
        }
        6717  +
        /* ServerOperationErrorGenerator.kt:76 */
 3466   6718   
    }
        6719  +
    /* ServerOperationErrorGenerator.kt:75 */
 3467   6720   
}
        6721  +
/* ServerOperationErrorGenerator.kt:83 */
 3468   6722   
impl JsonUnionsError {
        6723  +
    /* ServerOperationErrorGenerator.kt:87 */
 3469   6724   
    /// Returns `true` if the error kind is `JsonUnionsError::ValidationException`.
        6725  +
    /* ServerOperationErrorGenerator.kt:88 */
 3470   6726   
    pub fn is_validation_exception(&self) -> bool {
        6727  +
        /* ServerOperationErrorGenerator.kt:89 */
 3471   6728   
        matches!(&self, JsonUnionsError::ValidationException(_))
        6729  +
        /* ServerOperationErrorGenerator.kt:88 */
 3472   6730   
    }
        6731  +
    /* ServerOperationErrorGenerator.kt:87 */
 3473   6732   
    /// Returns `true` if the error kind is `JsonUnionsError::InternalServerError`.
        6733  +
    /* ServerOperationErrorGenerator.kt:88 */
 3474   6734   
    pub fn is_internal_server_error(&self) -> bool {
        6735  +
        /* ServerOperationErrorGenerator.kt:89 */
 3475   6736   
        matches!(&self, JsonUnionsError::InternalServerError(_))
        6737  +
        /* ServerOperationErrorGenerator.kt:88 */
 3476   6738   
    }
        6739  +
    /* ServerOperationErrorGenerator.kt:92 */
 3477   6740   
    /// Returns the error name string by matching the correct variant.
        6741  +
    /* ServerOperationErrorGenerator.kt:93 */
 3478   6742   
    pub fn name(&self) -> &'static str {
        6743  +
        /* ServerOperationErrorGenerator.kt:139 */
 3479   6744   
        match &self {
 3480         -
            JsonUnionsError::ValidationException(_inner) => _inner.name(),
 3481         -
            JsonUnionsError::InternalServerError(_inner) => _inner.name(),
        6745  +
            /* ServerOperationErrorGenerator.kt:142 */
        6746  +
            JsonUnionsError::ValidationException(_inner) =>
        6747  +
            /* ServerOperationErrorGenerator.kt:95 */
        6748  +
            {
        6749  +
                _inner.name()
        6750  +
            }
        6751  +
            ,
        6752  +
            /* ServerOperationErrorGenerator.kt:142 */
        6753  +
            JsonUnionsError::InternalServerError(_inner) =>
        6754  +
            /* ServerOperationErrorGenerator.kt:95 */
        6755  +
            {
        6756  +
                _inner.name()
        6757  +
            }
        6758  +
            /* ServerOperationErrorGenerator.kt:139 */
 3482   6759   
        }
        6760  +
        /* ServerOperationErrorGenerator.kt:93 */
 3483   6761   
    }
        6762  +
    /* ServerOperationErrorGenerator.kt:83 */
 3484   6763   
}
        6764  +
/* ServerOperationErrorGenerator.kt:100 */
 3485   6765   
impl ::std::error::Error for JsonUnionsError {
        6766  +
    /* ServerOperationErrorGenerator.kt:101 */
 3486   6767   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        6768  +
        /* ServerOperationErrorGenerator.kt:139 */
 3487   6769   
        match &self {
 3488         -
            JsonUnionsError::ValidationException(_inner) => Some(_inner),
 3489         -
            JsonUnionsError::InternalServerError(_inner) => Some(_inner),
        6770  +
            /* ServerOperationErrorGenerator.kt:142 */
        6771  +
            JsonUnionsError::ValidationException(_inner) =>
        6772  +
            /* ServerOperationErrorGenerator.kt:103 */
        6773  +
            {
        6774  +
                Some(_inner)
        6775  +
            }
        6776  +
            ,
        6777  +
            /* ServerOperationErrorGenerator.kt:142 */
        6778  +
            JsonUnionsError::InternalServerError(_inner) =>
        6779  +
            /* ServerOperationErrorGenerator.kt:103 */
        6780  +
            {
        6781  +
                Some(_inner)
        6782  +
            }
        6783  +
            /* ServerOperationErrorGenerator.kt:139 */
 3490   6784   
        }
        6785  +
        /* ServerOperationErrorGenerator.kt:101 */
 3491   6786   
    }
        6787  +
    /* ServerOperationErrorGenerator.kt:100 */
 3492   6788   
}
        6789  +
/* ServerOperationErrorGenerator.kt:110 */
 3493   6790   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::JsonUnionsError {
        6791  +
    /* ServerOperationErrorGenerator.kt:111 */
 3494   6792   
    fn from(variant: crate::error::ValidationException) -> crate::error::JsonUnionsError {
        6793  +
        /* ServerOperationErrorGenerator.kt:112 */
 3495   6794   
        Self::ValidationException(variant)
        6795  +
        /* ServerOperationErrorGenerator.kt:111 */
 3496   6796   
    }
        6797  +
    /* ServerOperationErrorGenerator.kt:110 */
 3497   6798   
}
        6799  +
/* ServerOperationErrorGenerator.kt:110 */
 3498   6800   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::JsonUnionsError {
        6801  +
    /* ServerOperationErrorGenerator.kt:111 */
 3499   6802   
    fn from(variant: crate::error::InternalServerError) -> crate::error::JsonUnionsError {
        6803  +
        /* ServerOperationErrorGenerator.kt:112 */
 3500   6804   
        Self::InternalServerError(variant)
        6805  +
        /* ServerOperationErrorGenerator.kt:111 */
 3501   6806   
    }
        6807  +
    /* ServerOperationErrorGenerator.kt:110 */
 3502   6808   
}
 3503   6809   
        6810  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3504   6811   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::JsonUnionsError {
 3505   6812   
    fn from(variant: ::pyo3::PyErr) -> crate::error::JsonUnionsError {
 3506   6813   
        ::pyo3::Python::with_gil(|py| {
 3507   6814   
            let error = variant.value(py);
 3508   6815   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 3509   6816   
                return error.into();
 3510   6817   
            }
 3511   6818   
            crate::error::InternalServerError {
 3512   6819   
                message: error.to_string(),
 3513   6820   
            }
 3514   6821   
            .into()
 3515   6822   
        })
 3516   6823   
    }
 3517   6824   
}
 3518   6825   
        6826  +
/* ServerOperationErrorGenerator.kt:63 */
 3519   6827   
/// Error type for the `DocumentTypeAsMapValue` operation.
        6828  +
/* ServerOperationErrorGenerator.kt:64 */
 3520   6829   
/// Each variant represents an error that can occur for the `DocumentTypeAsMapValue` operation.
        6830  +
/* RustType.kt:516 */
 3521   6831   
#[derive(::std::fmt::Debug)]
 3522         -
pub enum DocumentTypeAsMapValueError {
        6832  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum DocumentTypeAsMapValueError {
        6833  +
    /* ServerOperationErrorGenerator.kt:68 */
 3523   6834   
    #[allow(missing_docs)] // documentation missing in model
        6835  +
    /* ServerOperationErrorGenerator.kt:71 */
 3524   6836   
    InternalServerError(crate::error::InternalServerError),
        6837  +
    /* ServerOperationErrorGenerator.kt:66 */
 3525   6838   
}
        6839  +
/* ServerOperationErrorGenerator.kt:75 */
 3526   6840   
impl ::std::fmt::Display for DocumentTypeAsMapValueError {
        6841  +
    /* ServerOperationErrorGenerator.kt:76 */
 3527   6842   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6843  +
        /* ServerOperationErrorGenerator.kt:139 */
 3528   6844   
        match &self {
 3529         -
            DocumentTypeAsMapValueError::InternalServerError(_inner) => _inner.fmt(f),
        6845  +
            /* ServerOperationErrorGenerator.kt:142 */
        6846  +
            DocumentTypeAsMapValueError::InternalServerError(_inner) =>
        6847  +
            /* ServerOperationErrorGenerator.kt:78 */
        6848  +
            {
        6849  +
                _inner.fmt(f)
        6850  +
            }
        6851  +
            /* ServerOperationErrorGenerator.kt:139 */
 3530   6852   
        }
        6853  +
        /* ServerOperationErrorGenerator.kt:76 */
 3531   6854   
    }
        6855  +
    /* ServerOperationErrorGenerator.kt:75 */
 3532   6856   
}
        6857  +
/* ServerOperationErrorGenerator.kt:83 */
 3533   6858   
impl DocumentTypeAsMapValueError {
        6859  +
    /* ServerOperationErrorGenerator.kt:87 */
 3534   6860   
    /// Returns `true` if the error kind is `DocumentTypeAsMapValueError::InternalServerError`.
        6861  +
    /* ServerOperationErrorGenerator.kt:88 */
 3535   6862   
    pub fn is_internal_server_error(&self) -> bool {
        6863  +
        /* ServerOperationErrorGenerator.kt:89 */
 3536   6864   
        matches!(&self, DocumentTypeAsMapValueError::InternalServerError(_))
        6865  +
        /* ServerOperationErrorGenerator.kt:88 */
 3537   6866   
    }
        6867  +
    /* ServerOperationErrorGenerator.kt:92 */
 3538   6868   
    /// Returns the error name string by matching the correct variant.
        6869  +
    /* ServerOperationErrorGenerator.kt:93 */
 3539   6870   
    pub fn name(&self) -> &'static str {
        6871  +
        /* ServerOperationErrorGenerator.kt:139 */
 3540   6872   
        match &self {
 3541         -
            DocumentTypeAsMapValueError::InternalServerError(_inner) => _inner.name(),
        6873  +
            /* ServerOperationErrorGenerator.kt:142 */
        6874  +
            DocumentTypeAsMapValueError::InternalServerError(_inner) =>
        6875  +
            /* ServerOperationErrorGenerator.kt:95 */
        6876  +
            {
        6877  +
                _inner.name()
        6878  +
            }
        6879  +
            /* ServerOperationErrorGenerator.kt:139 */
 3542   6880   
        }
        6881  +
        /* ServerOperationErrorGenerator.kt:93 */
 3543   6882   
    }
        6883  +
    /* ServerOperationErrorGenerator.kt:83 */
 3544   6884   
}
        6885  +
/* ServerOperationErrorGenerator.kt:100 */
 3545   6886   
impl ::std::error::Error for DocumentTypeAsMapValueError {
        6887  +
    /* ServerOperationErrorGenerator.kt:101 */
 3546   6888   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        6889  +
        /* ServerOperationErrorGenerator.kt:139 */
 3547   6890   
        match &self {
 3548         -
            DocumentTypeAsMapValueError::InternalServerError(_inner) => Some(_inner),
        6891  +
            /* ServerOperationErrorGenerator.kt:142 */
        6892  +
            DocumentTypeAsMapValueError::InternalServerError(_inner) =>
        6893  +
            /* ServerOperationErrorGenerator.kt:103 */
        6894  +
            {
        6895  +
                Some(_inner)
        6896  +
            }
        6897  +
            /* ServerOperationErrorGenerator.kt:139 */
 3549   6898   
        }
        6899  +
        /* ServerOperationErrorGenerator.kt:101 */
 3550   6900   
    }
        6901  +
    /* ServerOperationErrorGenerator.kt:100 */
 3551   6902   
}
        6903  +
/* ServerOperationErrorGenerator.kt:110 */
 3552   6904   
impl ::std::convert::From<crate::error::InternalServerError>
 3553   6905   
    for crate::error::DocumentTypeAsMapValueError
 3554   6906   
{
        6907  +
    /* ServerOperationErrorGenerator.kt:111 */
 3555   6908   
    fn from(
 3556   6909   
        variant: crate::error::InternalServerError,
 3557   6910   
    ) -> crate::error::DocumentTypeAsMapValueError {
        6911  +
        /* ServerOperationErrorGenerator.kt:112 */
 3558   6912   
        Self::InternalServerError(variant)
        6913  +
        /* ServerOperationErrorGenerator.kt:111 */
 3559   6914   
    }
        6915  +
    /* ServerOperationErrorGenerator.kt:110 */
 3560   6916   
}
 3561   6917   
        6918  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3562   6919   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::DocumentTypeAsMapValueError {
 3563   6920   
    fn from(variant: ::pyo3::PyErr) -> crate::error::DocumentTypeAsMapValueError {
 3564   6921   
        ::pyo3::Python::with_gil(|py| {
 3565   6922   
            let error = variant.value(py);
 3566   6923   
 3567   6924   
            crate::error::InternalServerError {
 3568   6925   
                message: error.to_string(),
 3569   6926   
            }
 3570   6927   
            .into()
 3571   6928   
        })
 3572   6929   
    }
 3573   6930   
}
 3574   6931   
        6932  +
/* ServerOperationErrorGenerator.kt:63 */
 3575   6933   
/// Error type for the `DocumentTypeAsPayload` operation.
        6934  +
/* ServerOperationErrorGenerator.kt:64 */
 3576   6935   
/// Each variant represents an error that can occur for the `DocumentTypeAsPayload` operation.
        6936  +
/* RustType.kt:516 */
 3577   6937   
#[derive(::std::fmt::Debug)]
 3578         -
pub enum DocumentTypeAsPayloadError {
        6938  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum DocumentTypeAsPayloadError {
        6939  +
    /* ServerOperationErrorGenerator.kt:68 */
 3579   6940   
    #[allow(missing_docs)] // documentation missing in model
        6941  +
    /* ServerOperationErrorGenerator.kt:71 */
 3580   6942   
    InternalServerError(crate::error::InternalServerError),
        6943  +
    /* ServerOperationErrorGenerator.kt:66 */
 3581   6944   
}
        6945  +
/* ServerOperationErrorGenerator.kt:75 */
 3582   6946   
impl ::std::fmt::Display for DocumentTypeAsPayloadError {
        6947  +
    /* ServerOperationErrorGenerator.kt:76 */
 3583   6948   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6949  +
        /* ServerOperationErrorGenerator.kt:139 */
 3584   6950   
        match &self {
 3585         -
            DocumentTypeAsPayloadError::InternalServerError(_inner) => _inner.fmt(f),
        6951  +
            /* ServerOperationErrorGenerator.kt:142 */
        6952  +
            DocumentTypeAsPayloadError::InternalServerError(_inner) =>
        6953  +
            /* ServerOperationErrorGenerator.kt:78 */
        6954  +
            {
        6955  +
                _inner.fmt(f)
        6956  +
            }
        6957  +
            /* ServerOperationErrorGenerator.kt:139 */
 3586   6958   
        }
        6959  +
        /* ServerOperationErrorGenerator.kt:76 */
 3587   6960   
    }
        6961  +
    /* ServerOperationErrorGenerator.kt:75 */
 3588   6962   
}
        6963  +
/* ServerOperationErrorGenerator.kt:83 */
 3589   6964   
impl DocumentTypeAsPayloadError {
        6965  +
    /* ServerOperationErrorGenerator.kt:87 */
 3590   6966   
    /// Returns `true` if the error kind is `DocumentTypeAsPayloadError::InternalServerError`.
        6967  +
    /* ServerOperationErrorGenerator.kt:88 */
 3591   6968   
    pub fn is_internal_server_error(&self) -> bool {
        6969  +
        /* ServerOperationErrorGenerator.kt:89 */
 3592   6970   
        matches!(&self, DocumentTypeAsPayloadError::InternalServerError(_))
        6971  +
        /* ServerOperationErrorGenerator.kt:88 */
 3593   6972   
    }
        6973  +
    /* ServerOperationErrorGenerator.kt:92 */
 3594   6974   
    /// Returns the error name string by matching the correct variant.
        6975  +
    /* ServerOperationErrorGenerator.kt:93 */
 3595   6976   
    pub fn name(&self) -> &'static str {
        6977  +
        /* ServerOperationErrorGenerator.kt:139 */
 3596   6978   
        match &self {
 3597         -
            DocumentTypeAsPayloadError::InternalServerError(_inner) => _inner.name(),
        6979  +
            /* ServerOperationErrorGenerator.kt:142 */
        6980  +
            DocumentTypeAsPayloadError::InternalServerError(_inner) =>
        6981  +
            /* ServerOperationErrorGenerator.kt:95 */
        6982  +
            {
        6983  +
                _inner.name()
        6984  +
            }
        6985  +
            /* ServerOperationErrorGenerator.kt:139 */
 3598   6986   
        }
        6987  +
        /* ServerOperationErrorGenerator.kt:93 */
 3599   6988   
    }
        6989  +
    /* ServerOperationErrorGenerator.kt:83 */
 3600   6990   
}
        6991  +
/* ServerOperationErrorGenerator.kt:100 */
 3601   6992   
impl ::std::error::Error for DocumentTypeAsPayloadError {
        6993  +
    /* ServerOperationErrorGenerator.kt:101 */
 3602   6994   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        6995  +
        /* ServerOperationErrorGenerator.kt:139 */
 3603   6996   
        match &self {
 3604         -
            DocumentTypeAsPayloadError::InternalServerError(_inner) => Some(_inner),
        6997  +
            /* ServerOperationErrorGenerator.kt:142 */
        6998  +
            DocumentTypeAsPayloadError::InternalServerError(_inner) =>
        6999  +
            /* ServerOperationErrorGenerator.kt:103 */
        7000  +
            {
        7001  +
                Some(_inner)
        7002  +
            }
        7003  +
            /* ServerOperationErrorGenerator.kt:139 */
 3605   7004   
        }
        7005  +
        /* ServerOperationErrorGenerator.kt:101 */
 3606   7006   
    }
        7007  +
    /* ServerOperationErrorGenerator.kt:100 */
 3607   7008   
}
        7009  +
/* ServerOperationErrorGenerator.kt:110 */
 3608   7010   
impl ::std::convert::From<crate::error::InternalServerError>
 3609   7011   
    for crate::error::DocumentTypeAsPayloadError
 3610   7012   
{
        7013  +
    /* ServerOperationErrorGenerator.kt:111 */
 3611   7014   
    fn from(
 3612   7015   
        variant: crate::error::InternalServerError,
 3613   7016   
    ) -> crate::error::DocumentTypeAsPayloadError {
        7017  +
        /* ServerOperationErrorGenerator.kt:112 */
 3614   7018   
        Self::InternalServerError(variant)
        7019  +
        /* ServerOperationErrorGenerator.kt:111 */
 3615   7020   
    }
        7021  +
    /* ServerOperationErrorGenerator.kt:110 */
 3616   7022   
}
 3617   7023   
        7024  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3618   7025   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::DocumentTypeAsPayloadError {
 3619   7026   
    fn from(variant: ::pyo3::PyErr) -> crate::error::DocumentTypeAsPayloadError {
 3620   7027   
        ::pyo3::Python::with_gil(|py| {
 3621   7028   
            let error = variant.value(py);
 3622   7029   
 3623   7030   
            crate::error::InternalServerError {
 3624   7031   
                message: error.to_string(),
 3625   7032   
            }
 3626   7033   
            .into()
 3627   7034   
        })
 3628   7035   
    }
 3629   7036   
}
 3630   7037   
        7038  +
/* ServerOperationErrorGenerator.kt:63 */
 3631   7039   
/// Error type for the `DocumentType` operation.
        7040  +
/* ServerOperationErrorGenerator.kt:64 */
 3632   7041   
/// Each variant represents an error that can occur for the `DocumentType` operation.
        7042  +
/* RustType.kt:516 */
 3633   7043   
#[derive(::std::fmt::Debug)]
 3634         -
pub enum DocumentTypeError {
        7044  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum DocumentTypeError {
        7045  +
    /* ServerOperationErrorGenerator.kt:68 */
 3635   7046   
    #[allow(missing_docs)] // documentation missing in model
        7047  +
    /* ServerOperationErrorGenerator.kt:71 */
 3636   7048   
    InternalServerError(crate::error::InternalServerError),
        7049  +
    /* ServerOperationErrorGenerator.kt:66 */
 3637   7050   
}
        7051  +
/* ServerOperationErrorGenerator.kt:75 */
 3638   7052   
impl ::std::fmt::Display for DocumentTypeError {
        7053  +
    /* ServerOperationErrorGenerator.kt:76 */
 3639   7054   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        7055  +
        /* ServerOperationErrorGenerator.kt:139 */
 3640   7056   
        match &self {
 3641         -
            DocumentTypeError::InternalServerError(_inner) => _inner.fmt(f),
        7057  +
            /* ServerOperationErrorGenerator.kt:142 */
        7058  +
            DocumentTypeError::InternalServerError(_inner) =>
        7059  +
            /* ServerOperationErrorGenerator.kt:78 */
        7060  +
            {
        7061  +
                _inner.fmt(f)
        7062  +
            }
        7063  +
            /* ServerOperationErrorGenerator.kt:139 */
 3642   7064   
        }
        7065  +
        /* ServerOperationErrorGenerator.kt:76 */
 3643   7066   
    }
        7067  +
    /* ServerOperationErrorGenerator.kt:75 */
 3644   7068   
}
        7069  +
/* ServerOperationErrorGenerator.kt:83 */
 3645   7070   
impl DocumentTypeError {
        7071  +
    /* ServerOperationErrorGenerator.kt:87 */
 3646   7072   
    /// Returns `true` if the error kind is `DocumentTypeError::InternalServerError`.
        7073  +
    /* ServerOperationErrorGenerator.kt:88 */
 3647   7074   
    pub fn is_internal_server_error(&self) -> bool {
        7075  +
        /* ServerOperationErrorGenerator.kt:89 */
 3648   7076   
        matches!(&self, DocumentTypeError::InternalServerError(_))
        7077  +
        /* ServerOperationErrorGenerator.kt:88 */
 3649   7078   
    }
        7079  +
    /* ServerOperationErrorGenerator.kt:92 */
 3650   7080   
    /// Returns the error name string by matching the correct variant.
        7081  +
    /* ServerOperationErrorGenerator.kt:93 */
 3651   7082   
    pub fn name(&self) -> &'static str {
        7083  +
        /* ServerOperationErrorGenerator.kt:139 */
 3652   7084   
        match &self {
 3653         -
            DocumentTypeError::InternalServerError(_inner) => _inner.name(),
        7085  +
            /* ServerOperationErrorGenerator.kt:142 */
        7086  +
            DocumentTypeError::InternalServerError(_inner) =>
        7087  +
            /* ServerOperationErrorGenerator.kt:95 */
        7088  +
            {
        7089  +
                _inner.name()
        7090  +
            }
        7091  +
            /* ServerOperationErrorGenerator.kt:139 */
 3654   7092   
        }
        7093  +
        /* ServerOperationErrorGenerator.kt:93 */
 3655   7094   
    }
        7095  +
    /* ServerOperationErrorGenerator.kt:83 */
 3656   7096   
}
        7097  +
/* ServerOperationErrorGenerator.kt:100 */
 3657   7098   
impl ::std::error::Error for DocumentTypeError {
        7099  +
    /* ServerOperationErrorGenerator.kt:101 */
 3658   7100   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        7101  +
        /* ServerOperationErrorGenerator.kt:139 */
 3659   7102   
        match &self {
 3660         -
            DocumentTypeError::InternalServerError(_inner) => Some(_inner),
        7103  +
            /* ServerOperationErrorGenerator.kt:142 */
        7104  +
            DocumentTypeError::InternalServerError(_inner) =>
        7105  +
            /* ServerOperationErrorGenerator.kt:103 */
        7106  +
            {
        7107  +
                Some(_inner)
        7108  +
            }
        7109  +
            /* ServerOperationErrorGenerator.kt:139 */
 3661   7110   
        }
        7111  +
        /* ServerOperationErrorGenerator.kt:101 */
 3662   7112   
    }
        7113  +
    /* ServerOperationErrorGenerator.kt:100 */
 3663   7114   
}
        7115  +
/* ServerOperationErrorGenerator.kt:110 */
 3664   7116   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::DocumentTypeError {
        7117  +
    /* ServerOperationErrorGenerator.kt:111 */
 3665   7118   
    fn from(variant: crate::error::InternalServerError) -> crate::error::DocumentTypeError {
        7119  +
        /* ServerOperationErrorGenerator.kt:112 */
 3666   7120   
        Self::InternalServerError(variant)
        7121  +
        /* ServerOperationErrorGenerator.kt:111 */
 3667   7122   
    }
        7123  +
    /* ServerOperationErrorGenerator.kt:110 */
 3668   7124   
}
 3669   7125   
        7126  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3670   7127   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::DocumentTypeError {
 3671   7128   
    fn from(variant: ::pyo3::PyErr) -> crate::error::DocumentTypeError {
 3672   7129   
        ::pyo3::Python::with_gil(|py| {
 3673   7130   
            let error = variant.value(py);
 3674   7131   
 3675   7132   
            crate::error::InternalServerError {
 3676   7133   
                message: error.to_string(),
 3677   7134   
            }
 3678   7135   
            .into()
 3679   7136   
        })
 3680   7137   
    }
 3681   7138   
}
 3682   7139   
        7140  +
/* ServerOperationErrorGenerator.kt:63 */
 3683   7141   
/// Error type for the `JsonBlobs` operation.
        7142  +
/* ServerOperationErrorGenerator.kt:64 */
 3684   7143   
/// Each variant represents an error that can occur for the `JsonBlobs` operation.
        7144  +
/* RustType.kt:516 */
 3685   7145   
#[derive(::std::fmt::Debug)]
 3686         -
pub enum JsonBlobsError {
        7146  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum JsonBlobsError {
        7147  +
    /* ServerOperationErrorGenerator.kt:68 */
 3687   7148   
    #[allow(missing_docs)] // documentation missing in model
        7149  +
    /* ServerOperationErrorGenerator.kt:71 */
 3688   7150   
    InternalServerError(crate::error::InternalServerError),
        7151  +
    /* ServerOperationErrorGenerator.kt:66 */
 3689   7152   
}
        7153  +
/* ServerOperationErrorGenerator.kt:75 */
 3690   7154   
impl ::std::fmt::Display for JsonBlobsError {
        7155  +
    /* ServerOperationErrorGenerator.kt:76 */
 3691   7156   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        7157  +
        /* ServerOperationErrorGenerator.kt:139 */
 3692   7158   
        match &self {
 3693         -
            JsonBlobsError::InternalServerError(_inner) => _inner.fmt(f),
        7159  +
            /* ServerOperationErrorGenerator.kt:142 */
        7160  +
            JsonBlobsError::InternalServerError(_inner) =>
        7161  +
            /* ServerOperationErrorGenerator.kt:78 */
        7162  +
            {
        7163  +
                _inner.fmt(f)
        7164  +
            }
        7165  +
            /* ServerOperationErrorGenerator.kt:139 */
 3694   7166   
        }
        7167  +
        /* ServerOperationErrorGenerator.kt:76 */
 3695   7168   
    }
        7169  +
    /* ServerOperationErrorGenerator.kt:75 */
 3696   7170   
}
        7171  +
/* ServerOperationErrorGenerator.kt:83 */
 3697   7172   
impl JsonBlobsError {
        7173  +
    /* ServerOperationErrorGenerator.kt:87 */
 3698   7174   
    /// Returns `true` if the error kind is `JsonBlobsError::InternalServerError`.
        7175  +
    /* ServerOperationErrorGenerator.kt:88 */
 3699   7176   
    pub fn is_internal_server_error(&self) -> bool {
        7177  +
        /* ServerOperationErrorGenerator.kt:89 */
 3700   7178   
        matches!(&self, JsonBlobsError::InternalServerError(_))
        7179  +
        /* ServerOperationErrorGenerator.kt:88 */
 3701   7180   
    }
        7181  +
    /* ServerOperationErrorGenerator.kt:92 */
 3702   7182   
    /// Returns the error name string by matching the correct variant.
        7183  +
    /* ServerOperationErrorGenerator.kt:93 */
 3703   7184   
    pub fn name(&self) -> &'static str {
        7185  +
        /* ServerOperationErrorGenerator.kt:139 */
 3704   7186   
        match &self {
 3705         -
            JsonBlobsError::InternalServerError(_inner) => _inner.name(),
        7187  +
            /* ServerOperationErrorGenerator.kt:142 */
        7188  +
            JsonBlobsError::InternalServerError(_inner) =>
        7189  +
            /* ServerOperationErrorGenerator.kt:95 */
        7190  +
            {
        7191  +
                _inner.name()
        7192  +
            }
        7193  +
            /* ServerOperationErrorGenerator.kt:139 */
 3706   7194   
        }
        7195  +
        /* ServerOperationErrorGenerator.kt:93 */
 3707   7196   
    }
        7197  +
    /* ServerOperationErrorGenerator.kt:83 */
 3708   7198   
}
        7199  +
/* ServerOperationErrorGenerator.kt:100 */
 3709   7200   
impl ::std::error::Error for JsonBlobsError {
        7201  +
    /* ServerOperationErrorGenerator.kt:101 */
 3710   7202   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        7203  +
        /* ServerOperationErrorGenerator.kt:139 */
 3711   7204   
        match &self {
 3712         -
            JsonBlobsError::InternalServerError(_inner) => Some(_inner),
        7205  +
            /* ServerOperationErrorGenerator.kt:142 */
        7206  +
            JsonBlobsError::InternalServerError(_inner) =>
        7207  +
            /* ServerOperationErrorGenerator.kt:103 */
        7208  +
            {
        7209  +
                Some(_inner)
        7210  +
            }
        7211  +
            /* ServerOperationErrorGenerator.kt:139 */
 3713   7212   
        }
        7213  +
        /* ServerOperationErrorGenerator.kt:101 */
 3714   7214   
    }
        7215  +
    /* ServerOperationErrorGenerator.kt:100 */
 3715   7216   
}
        7217  +
/* ServerOperationErrorGenerator.kt:110 */
 3716   7218   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::JsonBlobsError {
        7219  +
    /* ServerOperationErrorGenerator.kt:111 */
 3717   7220   
    fn from(variant: crate::error::InternalServerError) -> crate::error::JsonBlobsError {
        7221  +
        /* ServerOperationErrorGenerator.kt:112 */
 3718   7222   
        Self::InternalServerError(variant)
        7223  +
        /* ServerOperationErrorGenerator.kt:111 */
 3719   7224   
    }
        7225  +
    /* ServerOperationErrorGenerator.kt:110 */
 3720   7226   
}
 3721   7227   
        7228  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3722   7229   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::JsonBlobsError {
 3723   7230   
    fn from(variant: ::pyo3::PyErr) -> crate::error::JsonBlobsError {
 3724   7231   
        ::pyo3::Python::with_gil(|py| {
 3725   7232   
            let error = variant.value(py);
 3726   7233   
 3727   7234   
            crate::error::InternalServerError {
 3728   7235   
                message: error.to_string(),
 3729   7236   
            }
 3730   7237   
            .into()
 3731   7238   
        })
 3732   7239   
    }
 3733   7240   
}
 3734   7241   
        7242  +
/* ServerOperationErrorGenerator.kt:63 */
 3735   7243   
/// Error type for the `SparseJsonMaps` operation.
        7244  +
/* ServerOperationErrorGenerator.kt:64 */
 3736   7245   
/// Each variant represents an error that can occur for the `SparseJsonMaps` operation.
        7246  +
/* RustType.kt:516 */
 3737   7247   
#[derive(::std::fmt::Debug)]
 3738         -
pub enum SparseJsonMapsError {
 3739         -
    /// 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.
        7248  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum SparseJsonMapsError {
        7249  +
    /// /* 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.
        7250  +
    /* ServerOperationErrorGenerator.kt:71 */
 3740   7251   
    ValidationException(crate::error::ValidationException),
        7252  +
    /* ServerOperationErrorGenerator.kt:68 */
 3741   7253   
    #[allow(missing_docs)] // documentation missing in model
        7254  +
    /* ServerOperationErrorGenerator.kt:71 */
 3742   7255   
    InternalServerError(crate::error::InternalServerError),
        7256  +
    /* ServerOperationErrorGenerator.kt:66 */
 3743   7257   
}
        7258  +
/* ServerOperationErrorGenerator.kt:75 */
 3744   7259   
impl ::std::fmt::Display for SparseJsonMapsError {
        7260  +
    /* ServerOperationErrorGenerator.kt:76 */
 3745   7261   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        7262  +
        /* ServerOperationErrorGenerator.kt:139 */
 3746   7263   
        match &self {
 3747         -
            SparseJsonMapsError::ValidationException(_inner) => _inner.fmt(f),
 3748         -
            SparseJsonMapsError::InternalServerError(_inner) => _inner.fmt(f),
        7264  +
            /* ServerOperationErrorGenerator.kt:142 */
        7265  +
            SparseJsonMapsError::ValidationException(_inner) =>
        7266  +
            /* ServerOperationErrorGenerator.kt:78 */
        7267  +
            {
        7268  +
                _inner.fmt(f)
        7269  +
            }
        7270  +
            ,
        7271  +
            /* ServerOperationErrorGenerator.kt:142 */
        7272  +
            SparseJsonMapsError::InternalServerError(_inner) =>
        7273  +
            /* ServerOperationErrorGenerator.kt:78 */
        7274  +
            {
        7275  +
                _inner.fmt(f)
        7276  +
            }
        7277  +
            /* ServerOperationErrorGenerator.kt:139 */
 3749   7278   
        }
        7279  +
        /* ServerOperationErrorGenerator.kt:76 */
 3750   7280   
    }
        7281  +
    /* ServerOperationErrorGenerator.kt:75 */
 3751   7282   
}
        7283  +
/* ServerOperationErrorGenerator.kt:83 */
 3752   7284   
impl SparseJsonMapsError {
        7285  +
    /* ServerOperationErrorGenerator.kt:87 */
 3753   7286   
    /// Returns `true` if the error kind is `SparseJsonMapsError::ValidationException`.
        7287  +
    /* ServerOperationErrorGenerator.kt:88 */
 3754   7288   
    pub fn is_validation_exception(&self) -> bool {
        7289  +
        /* ServerOperationErrorGenerator.kt:89 */
 3755   7290   
        matches!(&self, SparseJsonMapsError::ValidationException(_))
        7291  +
        /* ServerOperationErrorGenerator.kt:88 */
 3756   7292   
    }
        7293  +
    /* ServerOperationErrorGenerator.kt:87 */
 3757   7294   
    /// Returns `true` if the error kind is `SparseJsonMapsError::InternalServerError`.
        7295  +
    /* ServerOperationErrorGenerator.kt:88 */
 3758   7296   
    pub fn is_internal_server_error(&self) -> bool {
        7297  +
        /* ServerOperationErrorGenerator.kt:89 */
 3759   7298   
        matches!(&self, SparseJsonMapsError::InternalServerError(_))
        7299  +
        /* ServerOperationErrorGenerator.kt:88 */
 3760   7300   
    }
        7301  +
    /* ServerOperationErrorGenerator.kt:92 */
 3761   7302   
    /// Returns the error name string by matching the correct variant.
        7303  +
    /* ServerOperationErrorGenerator.kt:93 */
 3762   7304   
    pub fn name(&self) -> &'static str {
        7305  +
        /* ServerOperationErrorGenerator.kt:139 */
 3763   7306   
        match &self {
 3764         -
            SparseJsonMapsError::ValidationException(_inner) => _inner.name(),
 3765         -
            SparseJsonMapsError::InternalServerError(_inner) => _inner.name(),
        7307  +
            /* ServerOperationErrorGenerator.kt:142 */
        7308  +
            SparseJsonMapsError::ValidationException(_inner) =>
        7309  +
            /* ServerOperationErrorGenerator.kt:95 */
        7310  +
            {
        7311  +
                _inner.name()
        7312  +
            }
        7313  +
            ,
        7314  +
            /* ServerOperationErrorGenerator.kt:142 */
        7315  +
            SparseJsonMapsError::InternalServerError(_inner) =>
        7316  +
            /* ServerOperationErrorGenerator.kt:95 */
        7317  +
            {
        7318  +
                _inner.name()
        7319  +
            }
        7320  +
            /* ServerOperationErrorGenerator.kt:139 */
 3766   7321   
        }
        7322  +
        /* ServerOperationErrorGenerator.kt:93 */
 3767   7323   
    }
        7324  +
    /* ServerOperationErrorGenerator.kt:83 */
 3768   7325   
}
        7326  +
/* ServerOperationErrorGenerator.kt:100 */
 3769   7327   
impl ::std::error::Error for SparseJsonMapsError {
        7328  +
    /* ServerOperationErrorGenerator.kt:101 */
 3770   7329   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        7330  +
        /* ServerOperationErrorGenerator.kt:139 */
 3771   7331   
        match &self {
 3772         -
            SparseJsonMapsError::ValidationException(_inner) => Some(_inner),
 3773         -
            SparseJsonMapsError::InternalServerError(_inner) => Some(_inner),
        7332  +
            /* ServerOperationErrorGenerator.kt:142 */
        7333  +
            SparseJsonMapsError::ValidationException(_inner) =>
        7334  +
            /* ServerOperationErrorGenerator.kt:103 */
        7335  +
            {
        7336  +
                Some(_inner)
        7337  +
            }
        7338  +
            ,
        7339  +
            /* ServerOperationErrorGenerator.kt:142 */
        7340  +
            SparseJsonMapsError::InternalServerError(_inner) =>
        7341  +
            /* ServerOperationErrorGenerator.kt:103 */
        7342  +
            {
        7343  +
                Some(_inner)
        7344  +
            }
        7345  +
            /* ServerOperationErrorGenerator.kt:139 */
 3774   7346   
        }
        7347  +
        /* ServerOperationErrorGenerator.kt:101 */
 3775   7348   
    }
        7349  +
    /* ServerOperationErrorGenerator.kt:100 */
 3776   7350   
}
        7351  +
/* ServerOperationErrorGenerator.kt:110 */
 3777   7352   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::SparseJsonMapsError {
        7353  +
    /* ServerOperationErrorGenerator.kt:111 */
 3778   7354   
    fn from(variant: crate::error::ValidationException) -> crate::error::SparseJsonMapsError {
        7355  +
        /* ServerOperationErrorGenerator.kt:112 */
 3779   7356   
        Self::ValidationException(variant)
        7357  +
        /* ServerOperationErrorGenerator.kt:111 */
 3780   7358   
    }
        7359  +
    /* ServerOperationErrorGenerator.kt:110 */
 3781   7360   
}
        7361  +
/* ServerOperationErrorGenerator.kt:110 */
 3782   7362   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::SparseJsonMapsError {
        7363  +
    /* ServerOperationErrorGenerator.kt:111 */
 3783   7364   
    fn from(variant: crate::error::InternalServerError) -> crate::error::SparseJsonMapsError {
        7365  +
        /* ServerOperationErrorGenerator.kt:112 */
 3784   7366   
        Self::InternalServerError(variant)
        7367  +
        /* ServerOperationErrorGenerator.kt:111 */
 3785   7368   
    }
        7369  +
    /* ServerOperationErrorGenerator.kt:110 */
 3786   7370   
}
 3787   7371   
        7372  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3788   7373   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::SparseJsonMapsError {
 3789   7374   
    fn from(variant: ::pyo3::PyErr) -> crate::error::SparseJsonMapsError {
 3790   7375   
        ::pyo3::Python::with_gil(|py| {
 3791   7376   
            let error = variant.value(py);
 3792   7377   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 3793   7378   
                return error.into();
 3794   7379   
            }
 3795   7380   
            crate::error::InternalServerError {
 3796   7381   
                message: error.to_string(),
 3797   7382   
            }
 3798   7383   
            .into()
 3799   7384   
        })
 3800   7385   
    }
 3801   7386   
}
 3802   7387   
        7388  +
/* ServerOperationErrorGenerator.kt:63 */
 3803   7389   
/// Error type for the `JsonMaps` operation.
        7390  +
/* ServerOperationErrorGenerator.kt:64 */
 3804   7391   
/// Each variant represents an error that can occur for the `JsonMaps` operation.
        7392  +
/* RustType.kt:516 */
 3805   7393   
#[derive(::std::fmt::Debug)]
 3806         -
pub enum JsonMapsError {
 3807         -
    /// 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.
        7394  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum JsonMapsError {
        7395  +
    /// /* 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.
        7396  +
    /* ServerOperationErrorGenerator.kt:71 */
 3808   7397   
    ValidationException(crate::error::ValidationException),
        7398  +
    /* ServerOperationErrorGenerator.kt:68 */
 3809   7399   
    #[allow(missing_docs)] // documentation missing in model
        7400  +
    /* ServerOperationErrorGenerator.kt:71 */
 3810   7401   
    InternalServerError(crate::error::InternalServerError),
        7402  +
    /* ServerOperationErrorGenerator.kt:66 */
 3811   7403   
}
        7404  +
/* ServerOperationErrorGenerator.kt:75 */
 3812   7405   
impl ::std::fmt::Display for JsonMapsError {
        7406  +
    /* ServerOperationErrorGenerator.kt:76 */
 3813   7407   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        7408  +
        /* ServerOperationErrorGenerator.kt:139 */
 3814   7409   
        match &self {
 3815         -
            JsonMapsError::ValidationException(_inner) => _inner.fmt(f),
 3816         -
            JsonMapsError::InternalServerError(_inner) => _inner.fmt(f),
        7410  +
            /* ServerOperationErrorGenerator.kt:142 */
        7411  +
            JsonMapsError::ValidationException(_inner) =>
        7412  +
            /* ServerOperationErrorGenerator.kt:78 */
        7413  +
            {
        7414  +
                _inner.fmt(f)
        7415  +
            }
        7416  +
            ,
        7417  +
            /* ServerOperationErrorGenerator.kt:142 */
        7418  +
            JsonMapsError::InternalServerError(_inner) =>
        7419  +
            /* ServerOperationErrorGenerator.kt:78 */
        7420  +
            {
        7421  +
                _inner.fmt(f)
        7422  +
            }
        7423  +
            /* ServerOperationErrorGenerator.kt:139 */
 3817   7424   
        }
        7425  +
        /* ServerOperationErrorGenerator.kt:76 */
 3818   7426   
    }
        7427  +
    /* ServerOperationErrorGenerator.kt:75 */
 3819   7428   
}
        7429  +
/* ServerOperationErrorGenerator.kt:83 */
 3820   7430   
impl JsonMapsError {
        7431  +
    /* ServerOperationErrorGenerator.kt:87 */
 3821   7432   
    /// Returns `true` if the error kind is `JsonMapsError::ValidationException`.
        7433  +
    /* ServerOperationErrorGenerator.kt:88 */
 3822   7434   
    pub fn is_validation_exception(&self) -> bool {
        7435  +
        /* ServerOperationErrorGenerator.kt:89 */
 3823   7436   
        matches!(&self, JsonMapsError::ValidationException(_))
        7437  +
        /* ServerOperationErrorGenerator.kt:88 */
 3824   7438   
    }
        7439  +
    /* ServerOperationErrorGenerator.kt:87 */
 3825   7440   
    /// Returns `true` if the error kind is `JsonMapsError::InternalServerError`.
        7441  +
    /* ServerOperationErrorGenerator.kt:88 */
 3826   7442   
    pub fn is_internal_server_error(&self) -> bool {
        7443  +
        /* ServerOperationErrorGenerator.kt:89 */
 3827   7444   
        matches!(&self, JsonMapsError::InternalServerError(_))
        7445  +
        /* ServerOperationErrorGenerator.kt:88 */
 3828   7446   
    }
        7447  +
    /* ServerOperationErrorGenerator.kt:92 */
 3829   7448   
    /// Returns the error name string by matching the correct variant.
        7449  +
    /* ServerOperationErrorGenerator.kt:93 */
 3830   7450   
    pub fn name(&self) -> &'static str {
        7451  +
        /* ServerOperationErrorGenerator.kt:139 */
 3831   7452   
        match &self {
 3832         -
            JsonMapsError::ValidationException(_inner) => _inner.name(),
 3833         -
            JsonMapsError::InternalServerError(_inner) => _inner.name(),
        7453  +
            /* ServerOperationErrorGenerator.kt:142 */
        7454  +
            JsonMapsError::ValidationException(_inner) =>
        7455  +
            /* ServerOperationErrorGenerator.kt:95 */
        7456  +
            {
        7457  +
                _inner.name()
        7458  +
            }
        7459  +
            ,
        7460  +
            /* ServerOperationErrorGenerator.kt:142 */
        7461  +
            JsonMapsError::InternalServerError(_inner) =>
        7462  +
            /* ServerOperationErrorGenerator.kt:95 */
        7463  +
            {
        7464  +
                _inner.name()
        7465  +
            }
        7466  +
            /* ServerOperationErrorGenerator.kt:139 */
 3834   7467   
        }
        7468  +
        /* ServerOperationErrorGenerator.kt:93 */
 3835   7469   
    }
        7470  +
    /* ServerOperationErrorGenerator.kt:83 */
 3836   7471   
}
        7472  +
/* ServerOperationErrorGenerator.kt:100 */
 3837   7473   
impl ::std::error::Error for JsonMapsError {
        7474  +
    /* ServerOperationErrorGenerator.kt:101 */
 3838   7475   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        7476  +
        /* ServerOperationErrorGenerator.kt:139 */
 3839   7477   
        match &self {
 3840         -
            JsonMapsError::ValidationException(_inner) => Some(_inner),
 3841         -
            JsonMapsError::InternalServerError(_inner) => Some(_inner),
        7478  +
            /* ServerOperationErrorGenerator.kt:142 */
        7479  +
            JsonMapsError::ValidationException(_inner) =>
        7480  +
            /* ServerOperationErrorGenerator.kt:103 */
        7481  +
            {
        7482  +
                Some(_inner)
        7483  +
            }
        7484  +
            ,
        7485  +
            /* ServerOperationErrorGenerator.kt:142 */
        7486  +
            JsonMapsError::InternalServerError(_inner) =>
        7487  +
            /* ServerOperationErrorGenerator.kt:103 */
        7488  +
            {
        7489  +
                Some(_inner)
        7490  +
            }
        7491  +
            /* ServerOperationErrorGenerator.kt:139 */
 3842   7492   
        }
        7493  +
        /* ServerOperationErrorGenerator.kt:101 */
 3843   7494   
    }
        7495  +
    /* ServerOperationErrorGenerator.kt:100 */
 3844   7496   
}
        7497  +
/* ServerOperationErrorGenerator.kt:110 */
 3845   7498   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::JsonMapsError {
        7499  +
    /* ServerOperationErrorGenerator.kt:111 */
 3846   7500   
    fn from(variant: crate::error::ValidationException) -> crate::error::JsonMapsError {
        7501  +
        /* ServerOperationErrorGenerator.kt:112 */
 3847   7502   
        Self::ValidationException(variant)
        7503  +
        /* ServerOperationErrorGenerator.kt:111 */
 3848   7504   
    }
        7505  +
    /* ServerOperationErrorGenerator.kt:110 */
 3849   7506   
}
        7507  +
/* ServerOperationErrorGenerator.kt:110 */
 3850   7508   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::JsonMapsError {
        7509  +
    /* ServerOperationErrorGenerator.kt:111 */
 3851   7510   
    fn from(variant: crate::error::InternalServerError) -> crate::error::JsonMapsError {
        7511  +
        /* ServerOperationErrorGenerator.kt:112 */
 3852   7512   
        Self::InternalServerError(variant)
        7513  +
        /* ServerOperationErrorGenerator.kt:111 */
 3853   7514   
    }
        7515  +
    /* ServerOperationErrorGenerator.kt:110 */
 3854   7516   
}
 3855   7517   
        7518  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3856   7519   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::JsonMapsError {
 3857   7520   
    fn from(variant: ::pyo3::PyErr) -> crate::error::JsonMapsError {
 3858   7521   
        ::pyo3::Python::with_gil(|py| {
 3859   7522   
            let error = variant.value(py);
 3860   7523   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 3861   7524   
                return error.into();
 3862   7525   
            }
 3863   7526   
            crate::error::InternalServerError {
 3864   7527   
                message: error.to_string(),
 3865   7528   
            }
 3866   7529   
            .into()
 3867   7530   
        })
 3868   7531   
    }
 3869   7532   
}
 3870   7533   
        7534  +
/* ServerOperationErrorGenerator.kt:63 */
 3871   7535   
/// Error type for the `SparseJsonLists` operation.
        7536  +
/* ServerOperationErrorGenerator.kt:64 */
 3872   7537   
/// Each variant represents an error that can occur for the `SparseJsonLists` operation.
        7538  +
/* RustType.kt:516 */
 3873   7539   
#[derive(::std::fmt::Debug)]
 3874         -
pub enum SparseJsonListsError {
        7540  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum SparseJsonListsError {
        7541  +
    /* ServerOperationErrorGenerator.kt:68 */
 3875   7542   
    #[allow(missing_docs)] // documentation missing in model
        7543  +
    /* ServerOperationErrorGenerator.kt:71 */
 3876   7544   
    InternalServerError(crate::error::InternalServerError),
        7545  +
    /* ServerOperationErrorGenerator.kt:66 */
 3877   7546   
}
        7547  +
/* ServerOperationErrorGenerator.kt:75 */
 3878   7548   
impl ::std::fmt::Display for SparseJsonListsError {
        7549  +
    /* ServerOperationErrorGenerator.kt:76 */
 3879   7550   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        7551  +
        /* ServerOperationErrorGenerator.kt:139 */
 3880   7552   
        match &self {
 3881         -
            SparseJsonListsError::InternalServerError(_inner) => _inner.fmt(f),
        7553  +
            /* ServerOperationErrorGenerator.kt:142 */
        7554  +
            SparseJsonListsError::InternalServerError(_inner) =>
        7555  +
            /* ServerOperationErrorGenerator.kt:78 */
        7556  +
            {
        7557  +
                _inner.fmt(f)
        7558  +
            }
        7559  +
            /* ServerOperationErrorGenerator.kt:139 */
 3882   7560   
        }
        7561  +
        /* ServerOperationErrorGenerator.kt:76 */
 3883   7562   
    }
        7563  +
    /* ServerOperationErrorGenerator.kt:75 */
 3884   7564   
}
        7565  +
/* ServerOperationErrorGenerator.kt:83 */
 3885   7566   
impl SparseJsonListsError {
        7567  +
    /* ServerOperationErrorGenerator.kt:87 */
 3886   7568   
    /// Returns `true` if the error kind is `SparseJsonListsError::InternalServerError`.
        7569  +
    /* ServerOperationErrorGenerator.kt:88 */
 3887   7570   
    pub fn is_internal_server_error(&self) -> bool {
        7571  +
        /* ServerOperationErrorGenerator.kt:89 */
 3888   7572   
        matches!(&self, SparseJsonListsError::InternalServerError(_))
        7573  +
        /* ServerOperationErrorGenerator.kt:88 */
 3889   7574   
    }
        7575  +
    /* ServerOperationErrorGenerator.kt:92 */
 3890   7576   
    /// Returns the error name string by matching the correct variant.
        7577  +
    /* ServerOperationErrorGenerator.kt:93 */
 3891   7578   
    pub fn name(&self) -> &'static str {
        7579  +
        /* ServerOperationErrorGenerator.kt:139 */
 3892   7580   
        match &self {
 3893         -
            SparseJsonListsError::InternalServerError(_inner) => _inner.name(),
        7581  +
            /* ServerOperationErrorGenerator.kt:142 */
        7582  +
            SparseJsonListsError::InternalServerError(_inner) =>
        7583  +
            /* ServerOperationErrorGenerator.kt:95 */
        7584  +
            {
        7585  +
                _inner.name()
        7586  +
            }
        7587  +
            /* ServerOperationErrorGenerator.kt:139 */
 3894   7588   
        }
        7589  +
        /* ServerOperationErrorGenerator.kt:93 */
 3895   7590   
    }
        7591  +
    /* ServerOperationErrorGenerator.kt:83 */
 3896   7592   
}
        7593  +
/* ServerOperationErrorGenerator.kt:100 */
 3897   7594   
impl ::std::error::Error for SparseJsonListsError {
        7595  +
    /* ServerOperationErrorGenerator.kt:101 */
 3898   7596   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        7597  +
        /* ServerOperationErrorGenerator.kt:139 */
 3899   7598   
        match &self {
 3900         -
            SparseJsonListsError::InternalServerError(_inner) => Some(_inner),
        7599  +
            /* ServerOperationErrorGenerator.kt:142 */
        7600  +
            SparseJsonListsError::InternalServerError(_inner) =>
        7601  +
            /* ServerOperationErrorGenerator.kt:103 */
        7602  +
            {
        7603  +
                Some(_inner)
        7604  +
            }
        7605  +
            /* ServerOperationErrorGenerator.kt:139 */
 3901   7606   
        }
        7607  +
        /* ServerOperationErrorGenerator.kt:101 */
 3902   7608   
    }
        7609  +
    /* ServerOperationErrorGenerator.kt:100 */
 3903   7610   
}
        7611  +
/* ServerOperationErrorGenerator.kt:110 */
 3904   7612   
impl ::std::convert::From<crate::error::InternalServerError>
 3905   7613   
    for crate::error::SparseJsonListsError
 3906   7614   
{
        7615  +
    /* ServerOperationErrorGenerator.kt:111 */
 3907   7616   
    fn from(variant: crate::error::InternalServerError) -> crate::error::SparseJsonListsError {
        7617  +
        /* ServerOperationErrorGenerator.kt:112 */
 3908   7618   
        Self::InternalServerError(variant)
        7619  +
        /* ServerOperationErrorGenerator.kt:111 */
 3909   7620   
    }
        7621  +
    /* ServerOperationErrorGenerator.kt:110 */
 3910   7622   
}
 3911   7623   
        7624  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3912   7625   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::SparseJsonListsError {
 3913   7626   
    fn from(variant: ::pyo3::PyErr) -> crate::error::SparseJsonListsError {
 3914   7627   
        ::pyo3::Python::with_gil(|py| {
 3915   7628   
            let error = variant.value(py);
 3916   7629   
 3917   7630   
            crate::error::InternalServerError {
 3918   7631   
                message: error.to_string(),
 3919   7632   
            }
 3920   7633   
            .into()
 3921   7634   
        })
 3922   7635   
    }
 3923   7636   
}
 3924   7637   
        7638  +
/* ServerOperationErrorGenerator.kt:63 */
 3925   7639   
/// Error type for the `JsonLists` operation.
        7640  +
/* ServerOperationErrorGenerator.kt:64 */
 3926   7641   
/// Each variant represents an error that can occur for the `JsonLists` operation.
        7642  +
/* RustType.kt:516 */
 3927   7643   
#[derive(::std::fmt::Debug)]
 3928         -
pub enum JsonListsError {
 3929         -
    /// 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.
        7644  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum JsonListsError {
        7645  +
    /// /* 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.
        7646  +
    /* ServerOperationErrorGenerator.kt:71 */
 3930   7647   
    ValidationException(crate::error::ValidationException),
        7648  +
    /* ServerOperationErrorGenerator.kt:68 */
 3931   7649   
    #[allow(missing_docs)] // documentation missing in model
        7650  +
    /* ServerOperationErrorGenerator.kt:71 */
 3932   7651   
    InternalServerError(crate::error::InternalServerError),
        7652  +
    /* ServerOperationErrorGenerator.kt:66 */
 3933   7653   
}
        7654  +
/* ServerOperationErrorGenerator.kt:75 */
 3934   7655   
impl ::std::fmt::Display for JsonListsError {
        7656  +
    /* ServerOperationErrorGenerator.kt:76 */
 3935   7657   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        7658  +
        /* ServerOperationErrorGenerator.kt:139 */
 3936   7659   
        match &self {
 3937         -
            JsonListsError::ValidationException(_inner) => _inner.fmt(f),
 3938         -
            JsonListsError::InternalServerError(_inner) => _inner.fmt(f),
        7660  +
            /* ServerOperationErrorGenerator.kt:142 */
        7661  +
            JsonListsError::ValidationException(_inner) =>
        7662  +
            /* ServerOperationErrorGenerator.kt:78 */
        7663  +
            {
        7664  +
                _inner.fmt(f)
        7665  +
            }
        7666  +
            ,
        7667  +
            /* ServerOperationErrorGenerator.kt:142 */
        7668  +
            JsonListsError::InternalServerError(_inner) =>
        7669  +
            /* ServerOperationErrorGenerator.kt:78 */
        7670  +
            {
        7671  +
                _inner.fmt(f)
        7672  +
            }
        7673  +
            /* ServerOperationErrorGenerator.kt:139 */
 3939   7674   
        }
        7675  +
        /* ServerOperationErrorGenerator.kt:76 */
 3940   7676   
    }
        7677  +
    /* ServerOperationErrorGenerator.kt:75 */
 3941   7678   
}
        7679  +
/* ServerOperationErrorGenerator.kt:83 */
 3942   7680   
impl JsonListsError {
        7681  +
    /* ServerOperationErrorGenerator.kt:87 */
 3943   7682   
    /// Returns `true` if the error kind is `JsonListsError::ValidationException`.
        7683  +
    /* ServerOperationErrorGenerator.kt:88 */
 3944   7684   
    pub fn is_validation_exception(&self) -> bool {
        7685  +
        /* ServerOperationErrorGenerator.kt:89 */
 3945   7686   
        matches!(&self, JsonListsError::ValidationException(_))
        7687  +
        /* ServerOperationErrorGenerator.kt:88 */
 3946   7688   
    }
        7689  +
    /* ServerOperationErrorGenerator.kt:87 */
 3947   7690   
    /// Returns `true` if the error kind is `JsonListsError::InternalServerError`.
        7691  +
    /* ServerOperationErrorGenerator.kt:88 */
 3948   7692   
    pub fn is_internal_server_error(&self) -> bool {
        7693  +
        /* ServerOperationErrorGenerator.kt:89 */
 3949   7694   
        matches!(&self, JsonListsError::InternalServerError(_))
        7695  +
        /* ServerOperationErrorGenerator.kt:88 */
 3950   7696   
    }
        7697  +
    /* ServerOperationErrorGenerator.kt:92 */
 3951   7698   
    /// Returns the error name string by matching the correct variant.
        7699  +
    /* ServerOperationErrorGenerator.kt:93 */
 3952   7700   
    pub fn name(&self) -> &'static str {
        7701  +
        /* ServerOperationErrorGenerator.kt:139 */
 3953   7702   
        match &self {
 3954         -
            JsonListsError::ValidationException(_inner) => _inner.name(),
 3955         -
            JsonListsError::InternalServerError(_inner) => _inner.name(),
        7703  +
            /* ServerOperationErrorGenerator.kt:142 */
        7704  +
            JsonListsError::ValidationException(_inner) =>
        7705  +
            /* ServerOperationErrorGenerator.kt:95 */
        7706  +
            {
        7707  +
                _inner.name()
        7708  +
            }
        7709  +
            ,
        7710  +
            /* ServerOperationErrorGenerator.kt:142 */
        7711  +
            JsonListsError::InternalServerError(_inner) =>
        7712  +
            /* ServerOperationErrorGenerator.kt:95 */
        7713  +
            {
        7714  +
                _inner.name()
        7715  +
            }
        7716  +
            /* ServerOperationErrorGenerator.kt:139 */
 3956   7717   
        }
        7718  +
        /* ServerOperationErrorGenerator.kt:93 */
 3957   7719   
    }
        7720  +
    /* ServerOperationErrorGenerator.kt:83 */
 3958   7721   
}
        7722  +
/* ServerOperationErrorGenerator.kt:100 */
 3959   7723   
impl ::std::error::Error for JsonListsError {
        7724  +
    /* ServerOperationErrorGenerator.kt:101 */
 3960   7725   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        7726  +
        /* ServerOperationErrorGenerator.kt:139 */
 3961   7727   
        match &self {
 3962         -
            JsonListsError::ValidationException(_inner) => Some(_inner),
 3963         -
            JsonListsError::InternalServerError(_inner) => Some(_inner),
        7728  +
            /* ServerOperationErrorGenerator.kt:142 */
        7729  +
            JsonListsError::ValidationException(_inner) =>
        7730  +
            /* ServerOperationErrorGenerator.kt:103 */
        7731  +
            {
        7732  +
                Some(_inner)
        7733  +
            }
        7734  +
            ,
        7735  +
            /* ServerOperationErrorGenerator.kt:142 */
        7736  +
            JsonListsError::InternalServerError(_inner) =>
        7737  +
            /* ServerOperationErrorGenerator.kt:103 */
        7738  +
            {
        7739  +
                Some(_inner)
        7740  +
            }
        7741  +
            /* ServerOperationErrorGenerator.kt:139 */
 3964   7742   
        }
        7743  +
        /* ServerOperationErrorGenerator.kt:101 */
 3965   7744   
    }
        7745  +
    /* ServerOperationErrorGenerator.kt:100 */
 3966   7746   
}
        7747  +
/* ServerOperationErrorGenerator.kt:110 */
 3967   7748   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::JsonListsError {
        7749  +
    /* ServerOperationErrorGenerator.kt:111 */
 3968   7750   
    fn from(variant: crate::error::ValidationException) -> crate::error::JsonListsError {
        7751  +
        /* ServerOperationErrorGenerator.kt:112 */
 3969   7752   
        Self::ValidationException(variant)
        7753  +
        /* ServerOperationErrorGenerator.kt:111 */
 3970   7754   
    }
        7755  +
    /* ServerOperationErrorGenerator.kt:110 */
 3971   7756   
}
        7757  +
/* ServerOperationErrorGenerator.kt:110 */
 3972   7758   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::JsonListsError {
        7759  +
    /* ServerOperationErrorGenerator.kt:111 */
 3973   7760   
    fn from(variant: crate::error::InternalServerError) -> crate::error::JsonListsError {
        7761  +
        /* ServerOperationErrorGenerator.kt:112 */
 3974   7762   
        Self::InternalServerError(variant)
        7763  +
        /* ServerOperationErrorGenerator.kt:111 */
 3975   7764   
    }
        7765  +
    /* ServerOperationErrorGenerator.kt:110 */
 3976   7766   
}
 3977   7767   
        7768  +
/* PythonServerOperationErrorGenerator.kt:38 */
 3978   7769   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::JsonListsError {
 3979   7770   
    fn from(variant: ::pyo3::PyErr) -> crate::error::JsonListsError {
 3980   7771   
        ::pyo3::Python::with_gil(|py| {
 3981   7772   
            let error = variant.value(py);
 3982   7773   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 3983   7774   
                return error.into();
 3984   7775   
            }
 3985   7776   
            crate::error::InternalServerError {
 3986   7777   
                message: error.to_string(),
 3987   7778   
            }
 3988   7779   
            .into()
 3989   7780   
        })
 3990   7781   
    }
 3991   7782   
}
 3992   7783   
        7784  +
/* ServerOperationErrorGenerator.kt:63 */
 3993   7785   
/// Error type for the `RecursiveShapes` operation.
        7786  +
/* ServerOperationErrorGenerator.kt:64 */
 3994   7787   
/// Each variant represents an error that can occur for the `RecursiveShapes` operation.
        7788  +
/* RustType.kt:516 */
 3995   7789   
#[derive(::std::fmt::Debug)]
 3996         -
pub enum RecursiveShapesError {
        7790  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum RecursiveShapesError {
        7791  +
    /* ServerOperationErrorGenerator.kt:68 */
 3997   7792   
    #[allow(missing_docs)] // documentation missing in model
        7793  +
    /* ServerOperationErrorGenerator.kt:71 */
 3998   7794   
    InternalServerError(crate::error::InternalServerError),
        7795  +
    /* ServerOperationErrorGenerator.kt:66 */
 3999   7796   
}
        7797  +
/* ServerOperationErrorGenerator.kt:75 */
 4000   7798   
impl ::std::fmt::Display for RecursiveShapesError {
        7799  +
    /* ServerOperationErrorGenerator.kt:76 */
 4001   7800   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        7801  +
        /* ServerOperationErrorGenerator.kt:139 */
 4002   7802   
        match &self {
 4003         -
            RecursiveShapesError::InternalServerError(_inner) => _inner.fmt(f),
        7803  +
            /* ServerOperationErrorGenerator.kt:142 */
        7804  +
            RecursiveShapesError::InternalServerError(_inner) =>
        7805  +
            /* ServerOperationErrorGenerator.kt:78 */
        7806  +
            {
        7807  +
                _inner.fmt(f)
        7808  +
            }
        7809  +
            /* ServerOperationErrorGenerator.kt:139 */
 4004   7810   
        }
        7811  +
        /* ServerOperationErrorGenerator.kt:76 */
 4005   7812   
    }
        7813  +
    /* ServerOperationErrorGenerator.kt:75 */
 4006   7814   
}
        7815  +
/* ServerOperationErrorGenerator.kt:83 */
 4007   7816   
impl RecursiveShapesError {
        7817  +
    /* ServerOperationErrorGenerator.kt:87 */
 4008   7818   
    /// Returns `true` if the error kind is `RecursiveShapesError::InternalServerError`.
        7819  +
    /* ServerOperationErrorGenerator.kt:88 */
 4009   7820   
    pub fn is_internal_server_error(&self) -> bool {
        7821  +
        /* ServerOperationErrorGenerator.kt:89 */
 4010   7822   
        matches!(&self, RecursiveShapesError::InternalServerError(_))
        7823  +
        /* ServerOperationErrorGenerator.kt:88 */
 4011   7824   
    }
        7825  +
    /* ServerOperationErrorGenerator.kt:92 */
 4012   7826   
    /// Returns the error name string by matching the correct variant.
        7827  +
    /* ServerOperationErrorGenerator.kt:93 */
 4013   7828   
    pub fn name(&self) -> &'static str {
        7829  +
        /* ServerOperationErrorGenerator.kt:139 */
 4014   7830   
        match &self {
 4015         -
            RecursiveShapesError::InternalServerError(_inner) => _inner.name(),
        7831  +
            /* ServerOperationErrorGenerator.kt:142 */
        7832  +
            RecursiveShapesError::InternalServerError(_inner) =>
        7833  +
            /* ServerOperationErrorGenerator.kt:95 */
        7834  +
            {
        7835  +
                _inner.name()
        7836  +
            }
        7837  +
            /* ServerOperationErrorGenerator.kt:139 */
 4016   7838   
        }
        7839  +
        /* ServerOperationErrorGenerator.kt:93 */
 4017   7840   
    }
        7841  +
    /* ServerOperationErrorGenerator.kt:83 */
 4018   7842   
}
        7843  +
/* ServerOperationErrorGenerator.kt:100 */
 4019   7844   
impl ::std::error::Error for RecursiveShapesError {
        7845  +
    /* ServerOperationErrorGenerator.kt:101 */
 4020   7846   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        7847  +
        /* ServerOperationErrorGenerator.kt:139 */
 4021   7848   
        match &self {
 4022         -
            RecursiveShapesError::InternalServerError(_inner) => Some(_inner),
        7849  +
            /* ServerOperationErrorGenerator.kt:142 */
        7850  +
            RecursiveShapesError::InternalServerError(_inner) =>
        7851  +
            /* ServerOperationErrorGenerator.kt:103 */
        7852  +
            {
        7853  +
                Some(_inner)
        7854  +
            }
        7855  +
            /* ServerOperationErrorGenerator.kt:139 */
 4023   7856   
        }
        7857  +
        /* ServerOperationErrorGenerator.kt:101 */
 4024   7858   
    }
        7859  +
    /* ServerOperationErrorGenerator.kt:100 */
 4025   7860   
}
        7861  +
/* ServerOperationErrorGenerator.kt:110 */
 4026   7862   
impl ::std::convert::From<crate::error::InternalServerError>
 4027   7863   
    for crate::error::RecursiveShapesError
 4028   7864   
{
        7865  +
    /* ServerOperationErrorGenerator.kt:111 */
 4029   7866   
    fn from(variant: crate::error::InternalServerError) -> crate::error::RecursiveShapesError {
        7867  +
        /* ServerOperationErrorGenerator.kt:112 */
 4030   7868   
        Self::InternalServerError(variant)
        7869  +
        /* ServerOperationErrorGenerator.kt:111 */
 4031   7870   
    }
        7871  +
    /* ServerOperationErrorGenerator.kt:110 */
 4032   7872   
}
 4033   7873   
        7874  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4034   7875   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::RecursiveShapesError {
 4035   7876   
    fn from(variant: ::pyo3::PyErr) -> crate::error::RecursiveShapesError {
 4036   7877   
        ::pyo3::Python::with_gil(|py| {
 4037   7878   
            let error = variant.value(py);
 4038   7879   
 4039   7880   
            crate::error::InternalServerError {
 4040   7881   
                message: error.to_string(),
 4041   7882   
            }
 4042   7883   
            .into()
 4043   7884   
        })
 4044   7885   
    }
 4045   7886   
}
 4046   7887   
        7888  +
/* ServerOperationErrorGenerator.kt:63 */
 4047   7889   
/// Error type for the `JsonIntEnums` operation.
        7890  +
/* ServerOperationErrorGenerator.kt:64 */
 4048   7891   
/// Each variant represents an error that can occur for the `JsonIntEnums` operation.
        7892  +
/* RustType.kt:516 */
 4049   7893   
#[derive(::std::fmt::Debug)]
 4050         -
pub enum JsonIntEnumsError {
 4051         -
    /// 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.
        7894  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum JsonIntEnumsError {
        7895  +
    /// /* 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.
        7896  +
    /* ServerOperationErrorGenerator.kt:71 */
 4052   7897   
    ValidationException(crate::error::ValidationException),
        7898  +
    /* ServerOperationErrorGenerator.kt:68 */
 4053   7899   
    #[allow(missing_docs)] // documentation missing in model
        7900  +
    /* ServerOperationErrorGenerator.kt:71 */
 4054   7901   
    InternalServerError(crate::error::InternalServerError),
        7902  +
    /* ServerOperationErrorGenerator.kt:66 */
 4055   7903   
}
        7904  +
/* ServerOperationErrorGenerator.kt:75 */
 4056   7905   
impl ::std::fmt::Display for JsonIntEnumsError {
        7906  +
    /* ServerOperationErrorGenerator.kt:76 */
 4057   7907   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        7908  +
        /* ServerOperationErrorGenerator.kt:139 */
 4058   7909   
        match &self {
 4059         -
            JsonIntEnumsError::ValidationException(_inner) => _inner.fmt(f),
 4060         -
            JsonIntEnumsError::InternalServerError(_inner) => _inner.fmt(f),
        7910  +
            /* ServerOperationErrorGenerator.kt:142 */
        7911  +
            JsonIntEnumsError::ValidationException(_inner) =>
        7912  +
            /* ServerOperationErrorGenerator.kt:78 */
        7913  +
            {
        7914  +
                _inner.fmt(f)
        7915  +
            }
        7916  +
            ,
        7917  +
            /* ServerOperationErrorGenerator.kt:142 */
        7918  +
            JsonIntEnumsError::InternalServerError(_inner) =>
        7919  +
            /* ServerOperationErrorGenerator.kt:78 */
        7920  +
            {
        7921  +
                _inner.fmt(f)
        7922  +
            }
        7923  +
            /* ServerOperationErrorGenerator.kt:139 */
 4061   7924   
        }
        7925  +
        /* ServerOperationErrorGenerator.kt:76 */
 4062   7926   
    }
        7927  +
    /* ServerOperationErrorGenerator.kt:75 */
 4063   7928   
}
        7929  +
/* ServerOperationErrorGenerator.kt:83 */
 4064   7930   
impl JsonIntEnumsError {
        7931  +
    /* ServerOperationErrorGenerator.kt:87 */
 4065   7932   
    /// Returns `true` if the error kind is `JsonIntEnumsError::ValidationException`.
        7933  +
    /* ServerOperationErrorGenerator.kt:88 */
 4066   7934   
    pub fn is_validation_exception(&self) -> bool {
        7935  +
        /* ServerOperationErrorGenerator.kt:89 */
 4067   7936   
        matches!(&self, JsonIntEnumsError::ValidationException(_))
        7937  +
        /* ServerOperationErrorGenerator.kt:88 */
 4068   7938   
    }
        7939  +
    /* ServerOperationErrorGenerator.kt:87 */
 4069   7940   
    /// Returns `true` if the error kind is `JsonIntEnumsError::InternalServerError`.
        7941  +
    /* ServerOperationErrorGenerator.kt:88 */
 4070   7942   
    pub fn is_internal_server_error(&self) -> bool {
        7943  +
        /* ServerOperationErrorGenerator.kt:89 */
 4071   7944   
        matches!(&self, JsonIntEnumsError::InternalServerError(_))
        7945  +
        /* ServerOperationErrorGenerator.kt:88 */
 4072   7946   
    }
        7947  +
    /* ServerOperationErrorGenerator.kt:92 */
 4073   7948   
    /// Returns the error name string by matching the correct variant.
        7949  +
    /* ServerOperationErrorGenerator.kt:93 */
 4074   7950   
    pub fn name(&self) -> &'static str {
        7951  +
        /* ServerOperationErrorGenerator.kt:139 */
 4075   7952   
        match &self {
 4076         -
            JsonIntEnumsError::ValidationException(_inner) => _inner.name(),
 4077         -
            JsonIntEnumsError::InternalServerError(_inner) => _inner.name(),
        7953  +
            /* ServerOperationErrorGenerator.kt:142 */
        7954  +
            JsonIntEnumsError::ValidationException(_inner) =>
        7955  +
            /* ServerOperationErrorGenerator.kt:95 */
        7956  +
            {
        7957  +
                _inner.name()
        7958  +
            }
        7959  +
            ,
        7960  +
            /* ServerOperationErrorGenerator.kt:142 */
        7961  +
            JsonIntEnumsError::InternalServerError(_inner) =>
        7962  +
            /* ServerOperationErrorGenerator.kt:95 */
        7963  +
            {
        7964  +
                _inner.name()
        7965  +
            }
        7966  +
            /* ServerOperationErrorGenerator.kt:139 */
 4078   7967   
        }
        7968  +
        /* ServerOperationErrorGenerator.kt:93 */
 4079   7969   
    }
        7970  +
    /* ServerOperationErrorGenerator.kt:83 */
 4080   7971   
}
        7972  +
/* ServerOperationErrorGenerator.kt:100 */
 4081   7973   
impl ::std::error::Error for JsonIntEnumsError {
        7974  +
    /* ServerOperationErrorGenerator.kt:101 */
 4082   7975   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        7976  +
        /* ServerOperationErrorGenerator.kt:139 */
 4083   7977   
        match &self {
 4084         -
            JsonIntEnumsError::ValidationException(_inner) => Some(_inner),
 4085         -
            JsonIntEnumsError::InternalServerError(_inner) => Some(_inner),
        7978  +
            /* ServerOperationErrorGenerator.kt:142 */
        7979  +
            JsonIntEnumsError::ValidationException(_inner) =>
        7980  +
            /* ServerOperationErrorGenerator.kt:103 */
        7981  +
            {
        7982  +
                Some(_inner)
        7983  +
            }
        7984  +
            ,
        7985  +
            /* ServerOperationErrorGenerator.kt:142 */
        7986  +
            JsonIntEnumsError::InternalServerError(_inner) =>
        7987  +
            /* ServerOperationErrorGenerator.kt:103 */
        7988  +
            {
        7989  +
                Some(_inner)
        7990  +
            }
        7991  +
            /* ServerOperationErrorGenerator.kt:139 */
 4086   7992   
        }
        7993  +
        /* ServerOperationErrorGenerator.kt:101 */
 4087   7994   
    }
        7995  +
    /* ServerOperationErrorGenerator.kt:100 */
 4088   7996   
}
        7997  +
/* ServerOperationErrorGenerator.kt:110 */
 4089   7998   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::JsonIntEnumsError {
        7999  +
    /* ServerOperationErrorGenerator.kt:111 */
 4090   8000   
    fn from(variant: crate::error::ValidationException) -> crate::error::JsonIntEnumsError {
        8001  +
        /* ServerOperationErrorGenerator.kt:112 */
 4091   8002   
        Self::ValidationException(variant)
        8003  +
        /* ServerOperationErrorGenerator.kt:111 */
 4092   8004   
    }
        8005  +
    /* ServerOperationErrorGenerator.kt:110 */
 4093   8006   
}
        8007  +
/* ServerOperationErrorGenerator.kt:110 */
 4094   8008   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::JsonIntEnumsError {
        8009  +
    /* ServerOperationErrorGenerator.kt:111 */
 4095   8010   
    fn from(variant: crate::error::InternalServerError) -> crate::error::JsonIntEnumsError {
        8011  +
        /* ServerOperationErrorGenerator.kt:112 */
 4096   8012   
        Self::InternalServerError(variant)
        8013  +
        /* ServerOperationErrorGenerator.kt:111 */
 4097   8014   
    }
        8015  +
    /* ServerOperationErrorGenerator.kt:110 */
 4098   8016   
}
 4099   8017   
        8018  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4100   8019   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::JsonIntEnumsError {
 4101   8020   
    fn from(variant: ::pyo3::PyErr) -> crate::error::JsonIntEnumsError {
 4102   8021   
        ::pyo3::Python::with_gil(|py| {
 4103   8022   
            let error = variant.value(py);
 4104   8023   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 4105   8024   
                return error.into();
 4106   8025   
            }
 4107   8026   
            crate::error::InternalServerError {
 4108   8027   
                message: error.to_string(),
 4109   8028   
            }
 4110   8029   
            .into()
 4111   8030   
        })
 4112   8031   
    }
 4113   8032   
}
 4114   8033   
        8034  +
/* ServerOperationErrorGenerator.kt:63 */
 4115   8035   
/// Error type for the `JsonEnums` operation.
        8036  +
/* ServerOperationErrorGenerator.kt:64 */
 4116   8037   
/// Each variant represents an error that can occur for the `JsonEnums` operation.
        8038  +
/* RustType.kt:516 */
 4117   8039   
#[derive(::std::fmt::Debug)]
 4118         -
pub enum JsonEnumsError {
 4119         -
    /// 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.
        8040  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum JsonEnumsError {
        8041  +
    /// /* 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.
        8042  +
    /* ServerOperationErrorGenerator.kt:71 */
 4120   8043   
    ValidationException(crate::error::ValidationException),
        8044  +
    /* ServerOperationErrorGenerator.kt:68 */
 4121   8045   
    #[allow(missing_docs)] // documentation missing in model
        8046  +
    /* ServerOperationErrorGenerator.kt:71 */
 4122   8047   
    InternalServerError(crate::error::InternalServerError),
        8048  +
    /* ServerOperationErrorGenerator.kt:66 */
 4123   8049   
}
        8050  +
/* ServerOperationErrorGenerator.kt:75 */
 4124   8051   
impl ::std::fmt::Display for JsonEnumsError {
        8052  +
    /* ServerOperationErrorGenerator.kt:76 */
 4125   8053   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8054  +
        /* ServerOperationErrorGenerator.kt:139 */
 4126   8055   
        match &self {
 4127         -
            JsonEnumsError::ValidationException(_inner) => _inner.fmt(f),
 4128         -
            JsonEnumsError::InternalServerError(_inner) => _inner.fmt(f),
        8056  +
            /* ServerOperationErrorGenerator.kt:142 */
        8057  +
            JsonEnumsError::ValidationException(_inner) =>
        8058  +
            /* ServerOperationErrorGenerator.kt:78 */
        8059  +
            {
        8060  +
                _inner.fmt(f)
        8061  +
            }
        8062  +
            ,
        8063  +
            /* ServerOperationErrorGenerator.kt:142 */
        8064  +
            JsonEnumsError::InternalServerError(_inner) =>
        8065  +
            /* ServerOperationErrorGenerator.kt:78 */
        8066  +
            {
        8067  +
                _inner.fmt(f)
        8068  +
            }
        8069  +
            /* ServerOperationErrorGenerator.kt:139 */
 4129   8070   
        }
        8071  +
        /* ServerOperationErrorGenerator.kt:76 */
 4130   8072   
    }
        8073  +
    /* ServerOperationErrorGenerator.kt:75 */
 4131   8074   
}
        8075  +
/* ServerOperationErrorGenerator.kt:83 */
 4132   8076   
impl JsonEnumsError {
        8077  +
    /* ServerOperationErrorGenerator.kt:87 */
 4133   8078   
    /// Returns `true` if the error kind is `JsonEnumsError::ValidationException`.
        8079  +
    /* ServerOperationErrorGenerator.kt:88 */
 4134   8080   
    pub fn is_validation_exception(&self) -> bool {
        8081  +
        /* ServerOperationErrorGenerator.kt:89 */
 4135   8082   
        matches!(&self, JsonEnumsError::ValidationException(_))
        8083  +
        /* ServerOperationErrorGenerator.kt:88 */
 4136   8084   
    }
        8085  +
    /* ServerOperationErrorGenerator.kt:87 */
 4137   8086   
    /// Returns `true` if the error kind is `JsonEnumsError::InternalServerError`.
        8087  +
    /* ServerOperationErrorGenerator.kt:88 */
 4138   8088   
    pub fn is_internal_server_error(&self) -> bool {
        8089  +
        /* ServerOperationErrorGenerator.kt:89 */
 4139   8090   
        matches!(&self, JsonEnumsError::InternalServerError(_))
        8091  +
        /* ServerOperationErrorGenerator.kt:88 */
 4140   8092   
    }
        8093  +
    /* ServerOperationErrorGenerator.kt:92 */
 4141   8094   
    /// Returns the error name string by matching the correct variant.
        8095  +
    /* ServerOperationErrorGenerator.kt:93 */
 4142   8096   
    pub fn name(&self) -> &'static str {
        8097  +
        /* ServerOperationErrorGenerator.kt:139 */
 4143   8098   
        match &self {
 4144         -
            JsonEnumsError::ValidationException(_inner) => _inner.name(),
 4145         -
            JsonEnumsError::InternalServerError(_inner) => _inner.name(),
        8099  +
            /* ServerOperationErrorGenerator.kt:142 */
        8100  +
            JsonEnumsError::ValidationException(_inner) =>
        8101  +
            /* ServerOperationErrorGenerator.kt:95 */
        8102  +
            {
        8103  +
                _inner.name()
        8104  +
            }
        8105  +
            ,
        8106  +
            /* ServerOperationErrorGenerator.kt:142 */
        8107  +
            JsonEnumsError::InternalServerError(_inner) =>
        8108  +
            /* ServerOperationErrorGenerator.kt:95 */
        8109  +
            {
        8110  +
                _inner.name()
        8111  +
            }
        8112  +
            /* ServerOperationErrorGenerator.kt:139 */
 4146   8113   
        }
        8114  +
        /* ServerOperationErrorGenerator.kt:93 */
 4147   8115   
    }
        8116  +
    /* ServerOperationErrorGenerator.kt:83 */
 4148   8117   
}
        8118  +
/* ServerOperationErrorGenerator.kt:100 */
 4149   8119   
impl ::std::error::Error for JsonEnumsError {
        8120  +
    /* ServerOperationErrorGenerator.kt:101 */
 4150   8121   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        8122  +
        /* ServerOperationErrorGenerator.kt:139 */
 4151   8123   
        match &self {
 4152         -
            JsonEnumsError::ValidationException(_inner) => Some(_inner),
 4153         -
            JsonEnumsError::InternalServerError(_inner) => Some(_inner),
        8124  +
            /* ServerOperationErrorGenerator.kt:142 */
        8125  +
            JsonEnumsError::ValidationException(_inner) =>
        8126  +
            /* ServerOperationErrorGenerator.kt:103 */
        8127  +
            {
        8128  +
                Some(_inner)
        8129  +
            }
        8130  +
            ,
        8131  +
            /* ServerOperationErrorGenerator.kt:142 */
        8132  +
            JsonEnumsError::InternalServerError(_inner) =>
        8133  +
            /* ServerOperationErrorGenerator.kt:103 */
        8134  +
            {
        8135  +
                Some(_inner)
        8136  +
            }
        8137  +
            /* ServerOperationErrorGenerator.kt:139 */
 4154   8138   
        }
        8139  +
        /* ServerOperationErrorGenerator.kt:101 */
 4155   8140   
    }
        8141  +
    /* ServerOperationErrorGenerator.kt:100 */
 4156   8142   
}
        8143  +
/* ServerOperationErrorGenerator.kt:110 */
 4157   8144   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::JsonEnumsError {
        8145  +
    /* ServerOperationErrorGenerator.kt:111 */
 4158   8146   
    fn from(variant: crate::error::ValidationException) -> crate::error::JsonEnumsError {
        8147  +
        /* ServerOperationErrorGenerator.kt:112 */
 4159   8148   
        Self::ValidationException(variant)
        8149  +
        /* ServerOperationErrorGenerator.kt:111 */
 4160   8150   
    }
        8151  +
    /* ServerOperationErrorGenerator.kt:110 */
 4161   8152   
}
        8153  +
/* ServerOperationErrorGenerator.kt:110 */
 4162   8154   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::JsonEnumsError {
        8155  +
    /* ServerOperationErrorGenerator.kt:111 */
 4163   8156   
    fn from(variant: crate::error::InternalServerError) -> crate::error::JsonEnumsError {
        8157  +
        /* ServerOperationErrorGenerator.kt:112 */
 4164   8158   
        Self::InternalServerError(variant)
        8159  +
        /* ServerOperationErrorGenerator.kt:111 */
 4165   8160   
    }
        8161  +
    /* ServerOperationErrorGenerator.kt:110 */
 4166   8162   
}
 4167   8163   
        8164  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4168   8165   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::JsonEnumsError {
 4169   8166   
    fn from(variant: ::pyo3::PyErr) -> crate::error::JsonEnumsError {
 4170   8167   
        ::pyo3::Python::with_gil(|py| {
 4171   8168   
            let error = variant.value(py);
 4172   8169   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 4173   8170   
                return error.into();
 4174   8171   
            }
 4175   8172   
            crate::error::InternalServerError {
 4176   8173   
                message: error.to_string(),
 4177   8174   
            }
 4178   8175   
            .into()
 4179   8176   
        })
 4180   8177   
    }
 4181   8178   
}
 4182   8179   
        8180  +
/* ServerOperationErrorGenerator.kt:63 */
 4183   8181   
/// Error type for the `JsonTimestamps` operation.
        8182  +
/* ServerOperationErrorGenerator.kt:64 */
 4184   8183   
/// Each variant represents an error that can occur for the `JsonTimestamps` operation.
        8184  +
/* RustType.kt:516 */
 4185   8185   
#[derive(::std::fmt::Debug)]
 4186         -
pub enum JsonTimestampsError {
        8186  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum JsonTimestampsError {
        8187  +
    /* ServerOperationErrorGenerator.kt:68 */
 4187   8188   
    #[allow(missing_docs)] // documentation missing in model
        8189  +
    /* ServerOperationErrorGenerator.kt:71 */
 4188   8190   
    InternalServerError(crate::error::InternalServerError),
        8191  +
    /* ServerOperationErrorGenerator.kt:66 */
 4189   8192   
}
        8193  +
/* ServerOperationErrorGenerator.kt:75 */
 4190   8194   
impl ::std::fmt::Display for JsonTimestampsError {
        8195  +
    /* ServerOperationErrorGenerator.kt:76 */
 4191   8196   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8197  +
        /* ServerOperationErrorGenerator.kt:139 */
 4192   8198   
        match &self {
 4193         -
            JsonTimestampsError::InternalServerError(_inner) => _inner.fmt(f),
        8199  +
            /* ServerOperationErrorGenerator.kt:142 */
        8200  +
            JsonTimestampsError::InternalServerError(_inner) =>
        8201  +
            /* ServerOperationErrorGenerator.kt:78 */
        8202  +
            {
        8203  +
                _inner.fmt(f)
        8204  +
            }
        8205  +
            /* ServerOperationErrorGenerator.kt:139 */
 4194   8206   
        }
        8207  +
        /* ServerOperationErrorGenerator.kt:76 */
 4195   8208   
    }
        8209  +
    /* ServerOperationErrorGenerator.kt:75 */
 4196   8210   
}
        8211  +
/* ServerOperationErrorGenerator.kt:83 */
 4197   8212   
impl JsonTimestampsError {
        8213  +
    /* ServerOperationErrorGenerator.kt:87 */
 4198   8214   
    /// Returns `true` if the error kind is `JsonTimestampsError::InternalServerError`.
        8215  +
    /* ServerOperationErrorGenerator.kt:88 */
 4199   8216   
    pub fn is_internal_server_error(&self) -> bool {
        8217  +
        /* ServerOperationErrorGenerator.kt:89 */
 4200   8218   
        matches!(&self, JsonTimestampsError::InternalServerError(_))
        8219  +
        /* ServerOperationErrorGenerator.kt:88 */
 4201   8220   
    }
        8221  +
    /* ServerOperationErrorGenerator.kt:92 */
 4202   8222   
    /// Returns the error name string by matching the correct variant.
        8223  +
    /* ServerOperationErrorGenerator.kt:93 */
 4203   8224   
    pub fn name(&self) -> &'static str {
        8225  +
        /* ServerOperationErrorGenerator.kt:139 */
 4204   8226   
        match &self {
 4205         -
            JsonTimestampsError::InternalServerError(_inner) => _inner.name(),
        8227  +
            /* ServerOperationErrorGenerator.kt:142 */
        8228  +
            JsonTimestampsError::InternalServerError(_inner) =>
        8229  +
            /* ServerOperationErrorGenerator.kt:95 */
        8230  +
            {
        8231  +
                _inner.name()
        8232  +
            }
        8233  +
            /* ServerOperationErrorGenerator.kt:139 */
 4206   8234   
        }
        8235  +
        /* ServerOperationErrorGenerator.kt:93 */
 4207   8236   
    }
        8237  +
    /* ServerOperationErrorGenerator.kt:83 */
 4208   8238   
}
        8239  +
/* ServerOperationErrorGenerator.kt:100 */
 4209   8240   
impl ::std::error::Error for JsonTimestampsError {
        8241  +
    /* ServerOperationErrorGenerator.kt:101 */
 4210   8242   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        8243  +
        /* ServerOperationErrorGenerator.kt:139 */
 4211   8244   
        match &self {
 4212         -
            JsonTimestampsError::InternalServerError(_inner) => Some(_inner),
        8245  +
            /* ServerOperationErrorGenerator.kt:142 */
        8246  +
            JsonTimestampsError::InternalServerError(_inner) =>
        8247  +
            /* ServerOperationErrorGenerator.kt:103 */
        8248  +
            {
        8249  +
                Some(_inner)
        8250  +
            }
        8251  +
            /* ServerOperationErrorGenerator.kt:139 */
 4213   8252   
        }
        8253  +
        /* ServerOperationErrorGenerator.kt:101 */
 4214   8254   
    }
        8255  +
    /* ServerOperationErrorGenerator.kt:100 */
 4215   8256   
}
        8257  +
/* ServerOperationErrorGenerator.kt:110 */
 4216   8258   
impl ::std::convert::From<crate::error::InternalServerError> for crate::error::JsonTimestampsError {
        8259  +
    /* ServerOperationErrorGenerator.kt:111 */
 4217   8260   
    fn from(variant: crate::error::InternalServerError) -> crate::error::JsonTimestampsError {
        8261  +
        /* ServerOperationErrorGenerator.kt:112 */
 4218   8262   
        Self::InternalServerError(variant)
        8263  +
        /* ServerOperationErrorGenerator.kt:111 */
 4219   8264   
    }
        8265  +
    /* ServerOperationErrorGenerator.kt:110 */
 4220   8266   
}
 4221   8267   
        8268  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4222   8269   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::JsonTimestampsError {
 4223   8270   
    fn from(variant: ::pyo3::PyErr) -> crate::error::JsonTimestampsError {
 4224   8271   
        ::pyo3::Python::with_gil(|py| {
 4225   8272   
            let error = variant.value(py);
 4226   8273   
 4227   8274   
            crate::error::InternalServerError {
 4228   8275   
                message: error.to_string(),
 4229   8276   
            }
 4230   8277   
            .into()
 4231   8278   
        })
 4232   8279   
    }
 4233   8280   
}
 4234   8281   
        8282  +
/* ServerOperationErrorGenerator.kt:63 */
 4235   8283   
/// Error type for the `SimpleScalarProperties` operation.
        8284  +
/* ServerOperationErrorGenerator.kt:64 */
 4236   8285   
/// Each variant represents an error that can occur for the `SimpleScalarProperties` operation.
        8286  +
/* RustType.kt:516 */
 4237   8287   
#[derive(::std::fmt::Debug)]
 4238         -
pub enum SimpleScalarPropertiesError {
        8288  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum SimpleScalarPropertiesError {
        8289  +
    /* ServerOperationErrorGenerator.kt:68 */
 4239   8290   
    #[allow(missing_docs)] // documentation missing in model
        8291  +
    /* ServerOperationErrorGenerator.kt:71 */
 4240   8292   
    InternalServerError(crate::error::InternalServerError),
        8293  +
    /* ServerOperationErrorGenerator.kt:66 */
 4241   8294   
}
        8295  +
/* ServerOperationErrorGenerator.kt:75 */
 4242   8296   
impl ::std::fmt::Display for SimpleScalarPropertiesError {
        8297  +
    /* ServerOperationErrorGenerator.kt:76 */
 4243   8298   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8299  +
        /* ServerOperationErrorGenerator.kt:139 */
 4244   8300   
        match &self {
 4245         -
            SimpleScalarPropertiesError::InternalServerError(_inner) => _inner.fmt(f),
        8301  +
            /* ServerOperationErrorGenerator.kt:142 */
        8302  +
            SimpleScalarPropertiesError::InternalServerError(_inner) =>
        8303  +
            /* ServerOperationErrorGenerator.kt:78 */
        8304  +
            {
        8305  +
                _inner.fmt(f)
        8306  +
            }
        8307  +
            /* ServerOperationErrorGenerator.kt:139 */
 4246   8308   
        }
        8309  +
        /* ServerOperationErrorGenerator.kt:76 */
 4247   8310   
    }
        8311  +
    /* ServerOperationErrorGenerator.kt:75 */
 4248   8312   
}
        8313  +
/* ServerOperationErrorGenerator.kt:83 */
 4249   8314   
impl SimpleScalarPropertiesError {
        8315  +
    /* ServerOperationErrorGenerator.kt:87 */
 4250   8316   
    /// Returns `true` if the error kind is `SimpleScalarPropertiesError::InternalServerError`.
        8317  +
    /* ServerOperationErrorGenerator.kt:88 */
 4251   8318   
    pub fn is_internal_server_error(&self) -> bool {
        8319  +
        /* ServerOperationErrorGenerator.kt:89 */
 4252   8320   
        matches!(&self, SimpleScalarPropertiesError::InternalServerError(_))
        8321  +
        /* ServerOperationErrorGenerator.kt:88 */
 4253   8322   
    }
        8323  +
    /* ServerOperationErrorGenerator.kt:92 */
 4254   8324   
    /// Returns the error name string by matching the correct variant.
        8325  +
    /* ServerOperationErrorGenerator.kt:93 */
 4255   8326   
    pub fn name(&self) -> &'static str {
        8327  +
        /* ServerOperationErrorGenerator.kt:139 */
 4256   8328   
        match &self {
 4257         -
            SimpleScalarPropertiesError::InternalServerError(_inner) => _inner.name(),
        8329  +
            /* ServerOperationErrorGenerator.kt:142 */
        8330  +
            SimpleScalarPropertiesError::InternalServerError(_inner) =>
        8331  +
            /* ServerOperationErrorGenerator.kt:95 */
        8332  +
            {
        8333  +
                _inner.name()
        8334  +
            }
        8335  +
            /* ServerOperationErrorGenerator.kt:139 */
 4258   8336   
        }
        8337  +
        /* ServerOperationErrorGenerator.kt:93 */
 4259   8338   
    }
        8339  +
    /* ServerOperationErrorGenerator.kt:83 */
 4260   8340   
}
        8341  +
/* ServerOperationErrorGenerator.kt:100 */
 4261   8342   
impl ::std::error::Error for SimpleScalarPropertiesError {
        8343  +
    /* ServerOperationErrorGenerator.kt:101 */
 4262   8344   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        8345  +
        /* ServerOperationErrorGenerator.kt:139 */
 4263   8346   
        match &self {
 4264         -
            SimpleScalarPropertiesError::InternalServerError(_inner) => Some(_inner),
        8347  +
            /* ServerOperationErrorGenerator.kt:142 */
        8348  +
            SimpleScalarPropertiesError::InternalServerError(_inner) =>
        8349  +
            /* ServerOperationErrorGenerator.kt:103 */
        8350  +
            {
        8351  +
                Some(_inner)
        8352  +
            }
        8353  +
            /* ServerOperationErrorGenerator.kt:139 */
 4265   8354   
        }
        8355  +
        /* ServerOperationErrorGenerator.kt:101 */
 4266   8356   
    }
        8357  +
    /* ServerOperationErrorGenerator.kt:100 */
 4267   8358   
}
        8359  +
/* ServerOperationErrorGenerator.kt:110 */
 4268   8360   
impl ::std::convert::From<crate::error::InternalServerError>
 4269   8361   
    for crate::error::SimpleScalarPropertiesError
 4270   8362   
{
        8363  +
    /* ServerOperationErrorGenerator.kt:111 */
 4271   8364   
    fn from(
 4272   8365   
        variant: crate::error::InternalServerError,
 4273   8366   
    ) -> crate::error::SimpleScalarPropertiesError {
        8367  +
        /* ServerOperationErrorGenerator.kt:112 */
 4274   8368   
        Self::InternalServerError(variant)
        8369  +
        /* ServerOperationErrorGenerator.kt:111 */
 4275   8370   
    }
        8371  +
    /* ServerOperationErrorGenerator.kt:110 */
 4276   8372   
}
 4277   8373   
        8374  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4278   8375   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::SimpleScalarPropertiesError {
 4279   8376   
    fn from(variant: ::pyo3::PyErr) -> crate::error::SimpleScalarPropertiesError {
 4280   8377   
        ::pyo3::Python::with_gil(|py| {
 4281   8378   
            let error = variant.value(py);
 4282   8379   
 4283   8380   
            crate::error::InternalServerError {
 4284   8381   
                message: error.to_string(),
 4285   8382   
            }
 4286   8383   
            .into()
 4287   8384   
        })
 4288   8385   
    }
 4289   8386   
}
 4290   8387   
        8388  +
/* ServerOperationErrorGenerator.kt:63 */
 4291   8389   
/// Error type for the `GreetingWithErrors` operation.
        8390  +
/* ServerOperationErrorGenerator.kt:64 */
 4292   8391   
/// Each variant represents an error that can occur for the `GreetingWithErrors` operation.
        8392  +
/* RustType.kt:516 */
 4293   8393   
#[derive(::std::fmt::Debug)]
 4294         -
pub enum GreetingWithErrorsError {
 4295         -
    /// This error is thrown when an invalid greeting value is provided.
        8394  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum GreetingWithErrorsError {
        8395  +
    /// /* ServerOperationErrorGenerator.kt:68 */This error is thrown when an invalid greeting value is provided.
        8396  +
    /* ServerOperationErrorGenerator.kt:71 */
 4296   8397   
    InvalidGreeting(crate::error::InvalidGreeting),
 4297         -
    /// This error is thrown when a request is invalid.
        8398  +
    /// /* ServerOperationErrorGenerator.kt:68 */This error is thrown when a request is invalid.
        8399  +
    /* ServerOperationErrorGenerator.kt:71 */
 4298   8400   
    ComplexError(crate::error::ComplexError),
 4299         -
    /// This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
        8401  +
    /// /* ServerOperationErrorGenerator.kt:68 */This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
        8402  +
    /* ServerOperationErrorGenerator.kt:71 */
 4300   8403   
    FooError(crate::error::FooError),
        8404  +
    /* ServerOperationErrorGenerator.kt:68 */
 4301   8405   
    #[allow(missing_docs)] // documentation missing in model
        8406  +
    /* ServerOperationErrorGenerator.kt:71 */
 4302   8407   
    InternalServerError(crate::error::InternalServerError),
        8408  +
    /* ServerOperationErrorGenerator.kt:66 */
 4303   8409   
}
        8410  +
/* ServerOperationErrorGenerator.kt:75 */
 4304   8411   
impl ::std::fmt::Display for GreetingWithErrorsError {
        8412  +
    /* ServerOperationErrorGenerator.kt:76 */
 4305   8413   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8414  +
        /* ServerOperationErrorGenerator.kt:139 */
 4306   8415   
        match &self {
 4307         -
            GreetingWithErrorsError::InvalidGreeting(_inner) => _inner.fmt(f),
 4308         -
            GreetingWithErrorsError::ComplexError(_inner) => _inner.fmt(f),
 4309         -
            GreetingWithErrorsError::FooError(_inner) => _inner.fmt(f),
 4310         -
            GreetingWithErrorsError::InternalServerError(_inner) => _inner.fmt(f),
        8416  +
            /* ServerOperationErrorGenerator.kt:142 */
        8417  +
            GreetingWithErrorsError::InvalidGreeting(_inner) =>
        8418  +
            /* ServerOperationErrorGenerator.kt:78 */
        8419  +
            {
        8420  +
                _inner.fmt(f)
        8421  +
            }
        8422  +
            ,
        8423  +
            /* ServerOperationErrorGenerator.kt:142 */
        8424  +
            GreetingWithErrorsError::ComplexError(_inner) =>
        8425  +
            /* ServerOperationErrorGenerator.kt:78 */
        8426  +
            {
        8427  +
                _inner.fmt(f)
        8428  +
            }
        8429  +
            ,
        8430  +
            /* ServerOperationErrorGenerator.kt:142 */
        8431  +
            GreetingWithErrorsError::FooError(_inner) =>
        8432  +
            /* ServerOperationErrorGenerator.kt:78 */
        8433  +
            {
        8434  +
                _inner.fmt(f)
        8435  +
            }
        8436  +
            ,
        8437  +
            /* ServerOperationErrorGenerator.kt:142 */
        8438  +
            GreetingWithErrorsError::InternalServerError(_inner) =>
        8439  +
            /* ServerOperationErrorGenerator.kt:78 */
        8440  +
            {
        8441  +
                _inner.fmt(f)
        8442  +
            }
        8443  +
            /* ServerOperationErrorGenerator.kt:139 */
 4311   8444   
        }
        8445  +
        /* ServerOperationErrorGenerator.kt:76 */
 4312   8446   
    }
        8447  +
    /* ServerOperationErrorGenerator.kt:75 */
 4313   8448   
}
        8449  +
/* ServerOperationErrorGenerator.kt:83 */
 4314   8450   
impl GreetingWithErrorsError {
        8451  +
    /* ServerOperationErrorGenerator.kt:87 */
 4315   8452   
    /// Returns `true` if the error kind is `GreetingWithErrorsError::InvalidGreeting`.
        8453  +
    /* ServerOperationErrorGenerator.kt:88 */
 4316   8454   
    pub fn is_invalid_greeting(&self) -> bool {
        8455  +
        /* ServerOperationErrorGenerator.kt:89 */
 4317   8456   
        matches!(&self, GreetingWithErrorsError::InvalidGreeting(_))
        8457  +
        /* ServerOperationErrorGenerator.kt:88 */
 4318   8458   
    }
        8459  +
    /* ServerOperationErrorGenerator.kt:87 */
 4319   8460   
    /// Returns `true` if the error kind is `GreetingWithErrorsError::ComplexError`.
        8461  +
    /* ServerOperationErrorGenerator.kt:88 */
 4320   8462   
    pub fn is_complex_error(&self) -> bool {
        8463  +
        /* ServerOperationErrorGenerator.kt:89 */
 4321   8464   
        matches!(&self, GreetingWithErrorsError::ComplexError(_))
        8465  +
        /* ServerOperationErrorGenerator.kt:88 */
 4322   8466   
    }
        8467  +
    /* ServerOperationErrorGenerator.kt:87 */
 4323   8468   
    /// Returns `true` if the error kind is `GreetingWithErrorsError::FooError`.
        8469  +
    /* ServerOperationErrorGenerator.kt:88 */
 4324   8470   
    pub fn is_foo_error(&self) -> bool {
        8471  +
        /* ServerOperationErrorGenerator.kt:89 */
 4325   8472   
        matches!(&self, GreetingWithErrorsError::FooError(_))
        8473  +
        /* ServerOperationErrorGenerator.kt:88 */
 4326   8474   
    }
        8475  +
    /* ServerOperationErrorGenerator.kt:87 */
 4327   8476   
    /// Returns `true` if the error kind is `GreetingWithErrorsError::InternalServerError`.
        8477  +
    /* ServerOperationErrorGenerator.kt:88 */
 4328   8478   
    pub fn is_internal_server_error(&self) -> bool {
        8479  +
        /* ServerOperationErrorGenerator.kt:89 */
 4329   8480   
        matches!(&self, GreetingWithErrorsError::InternalServerError(_))
        8481  +
        /* ServerOperationErrorGenerator.kt:88 */
 4330   8482   
    }
        8483  +
    /* ServerOperationErrorGenerator.kt:92 */
 4331   8484   
    /// Returns the error name string by matching the correct variant.
        8485  +
    /* ServerOperationErrorGenerator.kt:93 */
 4332   8486   
    pub fn name(&self) -> &'static str {
        8487  +
        /* ServerOperationErrorGenerator.kt:139 */
 4333   8488   
        match &self {
 4334         -
            GreetingWithErrorsError::InvalidGreeting(_inner) => _inner.name(),
 4335         -
            GreetingWithErrorsError::ComplexError(_inner) => _inner.name(),
 4336         -
            GreetingWithErrorsError::FooError(_inner) => _inner.name(),
 4337         -
            GreetingWithErrorsError::InternalServerError(_inner) => _inner.name(),
        8489  +
            /* ServerOperationErrorGenerator.kt:142 */
        8490  +
            GreetingWithErrorsError::InvalidGreeting(_inner) =>
        8491  +
            /* ServerOperationErrorGenerator.kt:95 */
        8492  +
            {
        8493  +
                _inner.name()
        8494  +
            }
        8495  +
            ,
        8496  +
            /* ServerOperationErrorGenerator.kt:142 */
        8497  +
            GreetingWithErrorsError::ComplexError(_inner) =>
        8498  +
            /* ServerOperationErrorGenerator.kt:95 */
        8499  +
            {
        8500  +
                _inner.name()
        8501  +
            }
        8502  +
            ,
        8503  +
            /* ServerOperationErrorGenerator.kt:142 */
        8504  +
            GreetingWithErrorsError::FooError(_inner) =>
        8505  +
            /* ServerOperationErrorGenerator.kt:95 */
        8506  +
            {
        8507  +
                _inner.name()
        8508  +
            }
        8509  +
            ,
        8510  +
            /* ServerOperationErrorGenerator.kt:142 */
        8511  +
            GreetingWithErrorsError::InternalServerError(_inner) =>
        8512  +
            /* ServerOperationErrorGenerator.kt:95 */
        8513  +
            {
        8514  +
                _inner.name()
        8515  +
            }
        8516  +
            /* ServerOperationErrorGenerator.kt:139 */
 4338   8517   
        }
        8518  +
        /* ServerOperationErrorGenerator.kt:93 */
 4339   8519   
    }
        8520  +
    /* ServerOperationErrorGenerator.kt:83 */
 4340   8521   
}
        8522  +
/* ServerOperationErrorGenerator.kt:100 */
 4341   8523   
impl ::std::error::Error for GreetingWithErrorsError {
        8524  +
    /* ServerOperationErrorGenerator.kt:101 */
 4342   8525   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        8526  +
        /* ServerOperationErrorGenerator.kt:139 */
 4343   8527   
        match &self {
 4344         -
            GreetingWithErrorsError::InvalidGreeting(_inner) => Some(_inner),
 4345         -
            GreetingWithErrorsError::ComplexError(_inner) => Some(_inner),
 4346         -
            GreetingWithErrorsError::FooError(_inner) => Some(_inner),
 4347         -
            GreetingWithErrorsError::InternalServerError(_inner) => Some(_inner),
        8528  +
            /* ServerOperationErrorGenerator.kt:142 */
        8529  +
            GreetingWithErrorsError::InvalidGreeting(_inner) =>
        8530  +
            /* ServerOperationErrorGenerator.kt:103 */
        8531  +
            {
        8532  +
                Some(_inner)
        8533  +
            }
        8534  +
            ,
        8535  +
            /* ServerOperationErrorGenerator.kt:142 */
        8536  +
            GreetingWithErrorsError::ComplexError(_inner) =>
        8537  +
            /* ServerOperationErrorGenerator.kt:103 */
        8538  +
            {
        8539  +
                Some(_inner)
        8540  +
            }
        8541  +
            ,
        8542  +
            /* ServerOperationErrorGenerator.kt:142 */
        8543  +
            GreetingWithErrorsError::FooError(_inner) =>
        8544  +
            /* ServerOperationErrorGenerator.kt:103 */
        8545  +
            {
        8546  +
                Some(_inner)
        8547  +
            }
        8548  +
            ,
        8549  +
            /* ServerOperationErrorGenerator.kt:142 */
        8550  +
            GreetingWithErrorsError::InternalServerError(_inner) =>
        8551  +
            /* ServerOperationErrorGenerator.kt:103 */
        8552  +
            {
        8553  +
                Some(_inner)
        8554  +
            }
        8555  +
            /* ServerOperationErrorGenerator.kt:139 */
 4348   8556   
        }
        8557  +
        /* ServerOperationErrorGenerator.kt:101 */
 4349   8558   
    }
        8559  +
    /* ServerOperationErrorGenerator.kt:100 */
 4350   8560   
}
        8561  +
/* ServerOperationErrorGenerator.kt:110 */
 4351   8562   
impl ::std::convert::From<crate::error::InvalidGreeting> for crate::error::GreetingWithErrorsError {
        8563  +
    /* ServerOperationErrorGenerator.kt:111 */
 4352   8564   
    fn from(variant: crate::error::InvalidGreeting) -> crate::error::GreetingWithErrorsError {
        8565  +
        /* ServerOperationErrorGenerator.kt:112 */
 4353   8566   
        Self::InvalidGreeting(variant)
        8567  +
        /* ServerOperationErrorGenerator.kt:111 */
 4354   8568   
    }
        8569  +
    /* ServerOperationErrorGenerator.kt:110 */
 4355   8570   
}
        8571  +
/* ServerOperationErrorGenerator.kt:110 */
 4356   8572   
impl ::std::convert::From<crate::error::ComplexError> for crate::error::GreetingWithErrorsError {
        8573  +
    /* ServerOperationErrorGenerator.kt:111 */
 4357   8574   
    fn from(variant: crate::error::ComplexError) -> crate::error::GreetingWithErrorsError {
        8575  +
        /* ServerOperationErrorGenerator.kt:112 */
 4358   8576   
        Self::ComplexError(variant)
        8577  +
        /* ServerOperationErrorGenerator.kt:111 */
 4359   8578   
    }
        8579  +
    /* ServerOperationErrorGenerator.kt:110 */
 4360   8580   
}
        8581  +
/* ServerOperationErrorGenerator.kt:110 */
 4361   8582   
impl ::std::convert::From<crate::error::FooError> for crate::error::GreetingWithErrorsError {
        8583  +
    /* ServerOperationErrorGenerator.kt:111 */
 4362   8584   
    fn from(variant: crate::error::FooError) -> crate::error::GreetingWithErrorsError {
        8585  +
        /* ServerOperationErrorGenerator.kt:112 */
 4363   8586   
        Self::FooError(variant)
        8587  +
        /* ServerOperationErrorGenerator.kt:111 */
 4364   8588   
    }
        8589  +
    /* ServerOperationErrorGenerator.kt:110 */
 4365   8590   
}
        8591  +
/* ServerOperationErrorGenerator.kt:110 */
 4366   8592   
impl ::std::convert::From<crate::error::InternalServerError>
 4367   8593   
    for crate::error::GreetingWithErrorsError
 4368   8594   
{
        8595  +
    /* ServerOperationErrorGenerator.kt:111 */
 4369   8596   
    fn from(variant: crate::error::InternalServerError) -> crate::error::GreetingWithErrorsError {
        8597  +
        /* ServerOperationErrorGenerator.kt:112 */
 4370   8598   
        Self::InternalServerError(variant)
        8599  +
        /* ServerOperationErrorGenerator.kt:111 */
 4371   8600   
    }
        8601  +
    /* ServerOperationErrorGenerator.kt:110 */
 4372   8602   
}
 4373   8603   
        8604  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4374   8605   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::GreetingWithErrorsError {
 4375   8606   
    fn from(variant: ::pyo3::PyErr) -> crate::error::GreetingWithErrorsError {
 4376   8607   
        ::pyo3::Python::with_gil(|py| {
 4377   8608   
            let error = variant.value(py);
 4378   8609   
            if let Ok(error) = error.extract::<crate::error::InvalidGreeting>() {
 4379   8610   
                return error.into();
 4380   8611   
            }
 4381   8612   
            if let Ok(error) = error.extract::<crate::error::ComplexError>() {
 4382   8613   
                return error.into();
 4383   8614   
            }
 4384   8615   
            if let Ok(error) = error.extract::<crate::error::FooError>() {
 4385   8616   
                return error.into();
 4386   8617   
            }
 4387   8618   
            crate::error::InternalServerError {
 4388   8619   
                message: error.to_string(),
 4389   8620   
            }
 4390   8621   
            .into()
 4391   8622   
        })
 4392   8623   
    }
 4393   8624   
}
 4394   8625   
        8626  +
/* RustType.kt:516 */
 4395   8627   
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
        8628  +
/* PythonServerStructureGenerator.kt:63 */
 4396   8629   
/// :rtype None:
 4397         -
/// This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
        8630  +
/// /* StructureGenerator.kt:197 */This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
        8631  +
/* RustType.kt:516 */
 4398   8632   
#[derive(
 4399   8633   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4400   8634   
)]
 4401         -
pub struct FooError {}
        8635  +
pub /* StructureGenerator.kt:201 */ struct FooError {/* StructureGenerator.kt:201 */}
        8636  +
/* RustType.kt:516 */
 4402   8637   
#[allow(clippy::new_without_default)]
        8638  +
/* RustType.kt:516 */
 4403   8639   
#[allow(clippy::too_many_arguments)]
        8640  +
/* RustType.kt:516 */
 4404   8641   
#[::pyo3::pymethods]
        8642  +
/* PythonServerStructureGenerator.kt:88 */
 4405   8643   
impl FooError {
 4406   8644   
    #[new]
 4407   8645   
    pub fn new() -> Self {
 4408   8646   
        Self {}
 4409   8647   
    }
 4410   8648   
    fn __repr__(&self) -> String {
 4411   8649   
        format!("{self:?}")
 4412   8650   
    }
 4413   8651   
    fn __str__(&self) -> String {
 4414   8652   
        format!("{self:?}")
 4415   8653   
    }
 4416   8654   
}
        8655  +
/* ErrorImplGenerator.kt:99 */
 4417   8656   
impl FooError {
        8657  +
    /* ErrorImplGenerator.kt:141 */
 4418   8658   
    #[doc(hidden)]
 4419   8659   
    /// Returns the error name.
 4420   8660   
    pub fn name(&self) -> &'static str {
 4421   8661   
        "FooError"
 4422   8662   
    }
        8663  +
    /* ErrorImplGenerator.kt:99 */
 4423   8664   
}
        8665  +
/* ErrorImplGenerator.kt:153 */
 4424   8666   
impl ::std::fmt::Display for FooError {
        8667  +
    /* ErrorImplGenerator.kt:154 */
 4425   8668   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8669  +
        /* ErrorImplGenerator.kt:161 */
 4426   8670   
        ::std::write!(f, "FooError")?;
        8671  +
        /* ErrorImplGenerator.kt:171 */
 4427   8672   
        Ok(())
        8673  +
        /* ErrorImplGenerator.kt:154 */
 4428   8674   
    }
        8675  +
    /* ErrorImplGenerator.kt:153 */
 4429   8676   
}
        8677  +
/* ErrorImplGenerator.kt:175 */
 4430   8678   
impl ::std::error::Error for FooError {}
        8679  +
/* ServerCodegenVisitor.kt:370 */
 4431   8680   
impl FooError {
 4432         -
    /// Creates a new builder-style object to manufacture [`FooError`](crate::error::FooError).
        8681  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`FooError`](crate::error::FooError).
        8682  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 4433   8683   
    pub fn builder() -> crate::error::foo_error::Builder {
        8684  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
 4434   8685   
        crate::error::foo_error::Builder::default()
        8686  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 4435   8687   
    }
        8688  +
    /* ServerCodegenVisitor.kt:370 */
 4436   8689   
}
 4437   8690   
        8691  +
/* RustType.kt:516 */
 4438   8692   
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
        8693  +
/* PythonServerStructureGenerator.kt:63 */
 4439   8694   
/// :param header typing.Optional\[str\]:
 4440   8695   
/// :param top_level typing.Optional\[str\]:
 4441   8696   
/// :param nested typing.Optional\[rest_json.model.ComplexNestedErrorData\]:
 4442   8697   
/// :rtype None:
 4443         -
/// This error is thrown when a request is invalid.
        8698  +
/// /* StructureGenerator.kt:197 */This error is thrown when a request is invalid.
        8699  +
/* RustType.kt:516 */
 4444   8700   
#[derive(
 4445   8701   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4446   8702   
)]
 4447         -
pub struct ComplexError {
        8703  +
pub /* StructureGenerator.kt:201 */ struct ComplexError {
        8704  +
    /* RustType.kt:516 */
 4448   8705   
    #[pyo3(get, set)]
        8706  +
    /* PythonServerStructureGenerator.kt:80 */
 4449   8707   
    /// :type typing.Optional\[str\]:
        8708  +
    /* StructureGenerator.kt:231 */
 4450   8709   
    #[allow(missing_docs)] // documentation missing in model
 4451   8710   
    pub header: ::std::option::Option<::std::string::String>,
        8711  +
    /* RustType.kt:516 */
 4452   8712   
    #[pyo3(get, set)]
        8713  +
    /* PythonServerStructureGenerator.kt:80 */
 4453   8714   
    /// :type typing.Optional\[str\]:
        8715  +
    /* StructureGenerator.kt:231 */
 4454   8716   
    #[allow(missing_docs)] // documentation missing in model
 4455   8717   
    pub top_level: ::std::option::Option<::std::string::String>,
        8718  +
    /* RustType.kt:516 */
 4456   8719   
    #[pyo3(get, set)]
        8720  +
    /* PythonServerStructureGenerator.kt:80 */
 4457   8721   
    /// :type typing.Optional\[rest_json.model.ComplexNestedErrorData\]:
        8722  +
    /* StructureGenerator.kt:231 */
 4458   8723   
    #[allow(missing_docs)] // documentation missing in model
 4459   8724   
    pub nested: ::std::option::Option<crate::model::ComplexNestedErrorData>,
        8725  +
    /* StructureGenerator.kt:201 */
 4460   8726   
}
        8727  +
/* StructureGenerator.kt:135 */
 4461   8728   
impl ComplexError {
        8729  +
    /* StructureGenerator.kt:231 */
 4462   8730   
    #[allow(missing_docs)] // documentation missing in model
        8731  +
                           /* StructureGenerator.kt:166 */
 4463   8732   
    pub fn header(&self) -> ::std::option::Option<&str> {
        8733  +
        /* StructureGenerator.kt:169 */
 4464   8734   
        self.header.as_deref()
        8735  +
        /* StructureGenerator.kt:166 */
 4465   8736   
    }
        8737  +
    /* StructureGenerator.kt:231 */
 4466   8738   
    #[allow(missing_docs)] // documentation missing in model
        8739  +
                           /* StructureGenerator.kt:166 */
 4467   8740   
    pub fn top_level(&self) -> ::std::option::Option<&str> {
        8741  +
        /* StructureGenerator.kt:169 */
 4468   8742   
        self.top_level.as_deref()
        8743  +
        /* StructureGenerator.kt:166 */
 4469   8744   
    }
        8745  +
    /* StructureGenerator.kt:231 */
 4470   8746   
    #[allow(missing_docs)] // documentation missing in model
        8747  +
                           /* StructureGenerator.kt:166 */
 4471   8748   
    pub fn nested(&self) -> ::std::option::Option<&crate::model::ComplexNestedErrorData> {
        8749  +
        /* StructureGenerator.kt:170 */
 4472   8750   
        self.nested.as_ref()
        8751  +
        /* StructureGenerator.kt:166 */
 4473   8752   
    }
        8753  +
    /* StructureGenerator.kt:135 */
 4474   8754   
}
        8755  +
/* RustType.kt:516 */
 4475   8756   
#[allow(clippy::new_without_default)]
        8757  +
/* RustType.kt:516 */
 4476   8758   
#[allow(clippy::too_many_arguments)]
        8759  +
/* RustType.kt:516 */
 4477   8760   
#[::pyo3::pymethods]
        8761  +
/* PythonServerStructureGenerator.kt:88 */
 4478   8762   
impl ComplexError {
 4479   8763   
    #[new]
 4480   8764   
    pub fn new(
 4481   8765   
        header: ::std::option::Option<::std::string::String>,
 4482   8766   
        top_level: ::std::option::Option<::std::string::String>,
 4483   8767   
        nested: ::std::option::Option<crate::model::ComplexNestedErrorData>,
 4484   8768   
    ) -> Self {
 4485   8769   
        Self {
 4486   8770   
            header,
 4487   8771   
            top_level,
 4488   8772   
            nested,
 4489   8773   
        }
 4490   8774   
    }
 4491   8775   
    fn __repr__(&self) -> String {
 4492   8776   
        format!("{self:?}")
 4493   8777   
    }
 4494   8778   
    fn __str__(&self) -> String {
 4495   8779   
        format!("{self:?}")
 4496   8780   
    }
 4497   8781   
}
        8782  +
/* ErrorImplGenerator.kt:99 */
 4498   8783   
impl ComplexError {
        8784  +
    /* ErrorImplGenerator.kt:141 */
 4499   8785   
    #[doc(hidden)]
 4500   8786   
    /// Returns the error name.
 4501   8787   
    pub fn name(&self) -> &'static str {
 4502   8788   
        "ComplexError"
 4503   8789   
    }
        8790  +
    /* ErrorImplGenerator.kt:99 */
 4504   8791   
}
        8792  +
/* ErrorImplGenerator.kt:153 */
 4505   8793   
impl ::std::fmt::Display for ComplexError {
        8794  +
    /* ErrorImplGenerator.kt:154 */
 4506   8795   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8796  +
        /* ErrorImplGenerator.kt:161 */
 4507   8797   
        ::std::write!(f, "ComplexError")?;
        8798  +
        /* ErrorImplGenerator.kt:171 */
 4508   8799   
        Ok(())
        8800  +
        /* ErrorImplGenerator.kt:154 */
 4509   8801   
    }
        8802  +
    /* ErrorImplGenerator.kt:153 */
 4510   8803   
}
        8804  +
/* ErrorImplGenerator.kt:175 */
 4511   8805   
impl ::std::error::Error for ComplexError {}
        8806  +
/* ServerCodegenVisitor.kt:370 */
 4512   8807   
impl ComplexError {
 4513         -
    /// Creates a new builder-style object to manufacture [`ComplexError`](crate::error::ComplexError).
        8808  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`ComplexError`](crate::error::ComplexError).
        8809  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 4514   8810   
    pub fn builder() -> crate::error::complex_error::Builder {
        8811  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
 4515   8812   
        crate::error::complex_error::Builder::default()
        8813  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 4516   8814   
    }
        8815  +
    /* ServerCodegenVisitor.kt:370 */
 4517   8816   
}
 4518   8817   
        8818  +
/* RustType.kt:516 */
 4519   8819   
#[::pyo3::pyclass(extends = ::pyo3::exceptions::PyException)]
        8820  +
/* PythonServerStructureGenerator.kt:63 */
 4520   8821   
/// :param message typing.Optional\[str\]:
 4521   8822   
/// :rtype None:
 4522         -
/// This error is thrown when an invalid greeting value is provided.
        8823  +
/// /* StructureGenerator.kt:197 */This error is thrown when an invalid greeting value is provided.
        8824  +
/* RustType.kt:516 */
 4523   8825   
#[derive(
 4524   8826   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 4525   8827   
)]
 4526         -
pub struct InvalidGreeting {
        8828  +
pub /* StructureGenerator.kt:201 */ struct InvalidGreeting {
        8829  +
    /* RustType.kt:516 */
 4527   8830   
    #[pyo3(get, set)]
        8831  +
    /* PythonServerStructureGenerator.kt:80 */
 4528   8832   
    /// :type typing.Optional\[str\]:
        8833  +
    /* StructureGenerator.kt:231 */
 4529   8834   
    #[allow(missing_docs)] // documentation missing in model
 4530   8835   
    pub message: ::std::option::Option<::std::string::String>,
        8836  +
    /* StructureGenerator.kt:201 */
 4531   8837   
}
        8838  +
/* RustType.kt:516 */
 4532   8839   
#[allow(clippy::new_without_default)]
        8840  +
/* RustType.kt:516 */
 4533   8841   
#[allow(clippy::too_many_arguments)]
        8842  +
/* RustType.kt:516 */
 4534   8843   
#[::pyo3::pymethods]
        8844  +
/* PythonServerStructureGenerator.kt:88 */
 4535   8845   
impl InvalidGreeting {
 4536   8846   
    #[new]
 4537   8847   
    pub fn new(message: ::std::option::Option<::std::string::String>) -> Self {
 4538   8848   
        Self { message }
 4539   8849   
    }
 4540   8850   
    fn __repr__(&self) -> String {
 4541   8851   
        format!("{self:?}")
 4542   8852   
    }
 4543   8853   
    fn __str__(&self) -> String {
 4544   8854   
        format!("{self:?}")
 4545   8855   
    }
 4546   8856   
}
        8857  +
/* ErrorImplGenerator.kt:99 */
 4547   8858   
impl InvalidGreeting {
        8859  +
    /* ErrorImplGenerator.kt:128 */
 4548   8860   
    /// Returns the error message.
 4549   8861   
    pub fn message(&self) -> ::std::option::Option<&str> {
 4550   8862   
        self.message.as_deref()
 4551   8863   
    }
        8864  +
    /* ErrorImplGenerator.kt:141 */
 4552   8865   
    #[doc(hidden)]
 4553   8866   
    /// Returns the error name.
 4554   8867   
    pub fn name(&self) -> &'static str {
 4555   8868   
        "InvalidGreeting"
 4556   8869   
    }
        8870  +
    /* ErrorImplGenerator.kt:99 */
 4557   8871   
}
        8872  +
/* ErrorImplGenerator.kt:153 */
 4558   8873   
impl ::std::fmt::Display for InvalidGreeting {
        8874  +
    /* ErrorImplGenerator.kt:154 */
 4559   8875   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8876  +
        /* ErrorImplGenerator.kt:161 */
 4560   8877   
        ::std::write!(f, "InvalidGreeting")?;
        8878  +
        /* ErrorImplGenerator.kt:166 */
 4561   8879   
        if let ::std::option::Option::Some(inner_1) = &self.message {
        8880  +
            /* ErrorImplGenerator.kt:166 */
 4562   8881   
            {
        8882  +
                /* ErrorImplGenerator.kt:167 */
 4563   8883   
                ::std::write!(f, ": {}", inner_1)?;
        8884  +
                /* ErrorImplGenerator.kt:166 */
 4564   8885   
            }
        8886  +
            /* ErrorImplGenerator.kt:166 */
 4565   8887   
        }
        8888  +
        /* ErrorImplGenerator.kt:171 */
 4566   8889   
        Ok(())
        8890  +
        /* ErrorImplGenerator.kt:154 */
 4567   8891   
    }
        8892  +
    /* ErrorImplGenerator.kt:153 */
 4568   8893   
}
        8894  +
/* ErrorImplGenerator.kt:175 */
 4569   8895   
impl ::std::error::Error for InvalidGreeting {}
        8896  +
/* ServerCodegenVisitor.kt:370 */
 4570   8897   
impl InvalidGreeting {
 4571         -
    /// Creates a new builder-style object to manufacture [`InvalidGreeting`](crate::error::InvalidGreeting).
        8898  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`InvalidGreeting`](crate::error::InvalidGreeting).
        8899  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 4572   8900   
    pub fn builder() -> crate::error::invalid_greeting::Builder {
        8901  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
 4573   8902   
        crate::error::invalid_greeting::Builder::default()
        8903  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
 4574   8904   
    }
        8905  +
    /* ServerCodegenVisitor.kt:370 */
 4575   8906   
}
 4576   8907   
        8908  +
/* ServerOperationErrorGenerator.kt:63 */
 4577   8909   
/// Error type for the `StreamingTraitsWithMediaType` operation.
        8910  +
/* ServerOperationErrorGenerator.kt:64 */
 4578   8911   
/// Each variant represents an error that can occur for the `StreamingTraitsWithMediaType` operation.
        8912  +
/* RustType.kt:516 */
 4579   8913   
#[derive(::std::fmt::Debug)]
 4580         -
pub enum StreamingTraitsWithMediaTypeError {
        8914  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum StreamingTraitsWithMediaTypeError {
        8915  +
    /* ServerOperationErrorGenerator.kt:68 */
 4581   8916   
    #[allow(missing_docs)] // documentation missing in model
        8917  +
    /* ServerOperationErrorGenerator.kt:71 */
 4582   8918   
    InternalServerError(crate::error::InternalServerError),
        8919  +
    /* ServerOperationErrorGenerator.kt:66 */
 4583   8920   
}
        8921  +
/* ServerOperationErrorGenerator.kt:75 */
 4584   8922   
impl ::std::fmt::Display for StreamingTraitsWithMediaTypeError {
        8923  +
    /* ServerOperationErrorGenerator.kt:76 */
 4585   8924   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8925  +
        /* ServerOperationErrorGenerator.kt:139 */
 4586   8926   
        match &self {
 4587         -
            StreamingTraitsWithMediaTypeError::InternalServerError(_inner) => _inner.fmt(f),
        8927  +
            /* ServerOperationErrorGenerator.kt:142 */
        8928  +
            StreamingTraitsWithMediaTypeError::InternalServerError(_inner) =>
        8929  +
            /* ServerOperationErrorGenerator.kt:78 */
        8930  +
            {
        8931  +
                _inner.fmt(f)
        8932  +
            }
        8933  +
            /* ServerOperationErrorGenerator.kt:139 */
 4588   8934   
        }
        8935  +
        /* ServerOperationErrorGenerator.kt:76 */
 4589   8936   
    }
        8937  +
    /* ServerOperationErrorGenerator.kt:75 */
 4590   8938   
}
        8939  +
/* ServerOperationErrorGenerator.kt:83 */
 4591   8940   
impl StreamingTraitsWithMediaTypeError {
        8941  +
    /* ServerOperationErrorGenerator.kt:87 */
 4592   8942   
    /// Returns `true` if the error kind is `StreamingTraitsWithMediaTypeError::InternalServerError`.
        8943  +
    /* ServerOperationErrorGenerator.kt:88 */
 4593   8944   
    pub fn is_internal_server_error(&self) -> bool {
        8945  +
        /* ServerOperationErrorGenerator.kt:89 */
 4594   8946   
        matches!(
 4595   8947   
            &self,
 4596   8948   
            StreamingTraitsWithMediaTypeError::InternalServerError(_)
 4597   8949   
        )
        8950  +
        /* ServerOperationErrorGenerator.kt:88 */
 4598   8951   
    }
        8952  +
    /* ServerOperationErrorGenerator.kt:92 */
 4599   8953   
    /// Returns the error name string by matching the correct variant.
        8954  +
    /* ServerOperationErrorGenerator.kt:93 */
 4600   8955   
    pub fn name(&self) -> &'static str {
        8956  +
        /* ServerOperationErrorGenerator.kt:139 */
 4601   8957   
        match &self {
 4602         -
            StreamingTraitsWithMediaTypeError::InternalServerError(_inner) => _inner.name(),
        8958  +
            /* ServerOperationErrorGenerator.kt:142 */
        8959  +
            StreamingTraitsWithMediaTypeError::InternalServerError(_inner) =>
        8960  +
            /* ServerOperationErrorGenerator.kt:95 */
        8961  +
            {
        8962  +
                _inner.name()
        8963  +
            }
        8964  +
            /* ServerOperationErrorGenerator.kt:139 */
 4603   8965   
        }
        8966  +
        /* ServerOperationErrorGenerator.kt:93 */
 4604   8967   
    }
        8968  +
    /* ServerOperationErrorGenerator.kt:83 */
 4605   8969   
}
        8970  +
/* ServerOperationErrorGenerator.kt:100 */
 4606   8971   
impl ::std::error::Error for StreamingTraitsWithMediaTypeError {
        8972  +
    /* ServerOperationErrorGenerator.kt:101 */
 4607   8973   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        8974  +
        /* ServerOperationErrorGenerator.kt:139 */
 4608   8975   
        match &self {
 4609         -
            StreamingTraitsWithMediaTypeError::InternalServerError(_inner) => Some(_inner),
        8976  +
            /* ServerOperationErrorGenerator.kt:142 */
        8977  +
            StreamingTraitsWithMediaTypeError::InternalServerError(_inner) =>
        8978  +
            /* ServerOperationErrorGenerator.kt:103 */
        8979  +
            {
        8980  +
                Some(_inner)
        8981  +
            }
        8982  +
            /* ServerOperationErrorGenerator.kt:139 */
 4610   8983   
        }
        8984  +
        /* ServerOperationErrorGenerator.kt:101 */
 4611   8985   
    }
        8986  +
    /* ServerOperationErrorGenerator.kt:100 */
 4612   8987   
}
        8988  +
/* ServerOperationErrorGenerator.kt:110 */
 4613   8989   
impl ::std::convert::From<crate::error::InternalServerError>
 4614   8990   
    for crate::error::StreamingTraitsWithMediaTypeError
 4615   8991   
{
        8992  +
    /* ServerOperationErrorGenerator.kt:111 */
 4616   8993   
    fn from(
 4617   8994   
        variant: crate::error::InternalServerError,
 4618   8995   
    ) -> crate::error::StreamingTraitsWithMediaTypeError {
        8996  +
        /* ServerOperationErrorGenerator.kt:112 */
 4619   8997   
        Self::InternalServerError(variant)
        8998  +
        /* ServerOperationErrorGenerator.kt:111 */
 4620   8999   
    }
        9000  +
    /* ServerOperationErrorGenerator.kt:110 */
 4621   9001   
}
 4622   9002   
        9003  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4623   9004   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::StreamingTraitsWithMediaTypeError {
 4624   9005   
    fn from(variant: ::pyo3::PyErr) -> crate::error::StreamingTraitsWithMediaTypeError {
 4625   9006   
        ::pyo3::Python::with_gil(|py| {
 4626   9007   
            let error = variant.value(py);
 4627   9008   
 4628   9009   
            crate::error::InternalServerError {
 4629   9010   
                message: error.to_string(),
 4630   9011   
            }
 4631   9012   
            .into()
 4632   9013   
        })
 4633   9014   
    }
 4634   9015   
}
 4635   9016   
        9017  +
/* ServerOperationErrorGenerator.kt:63 */
 4636   9018   
/// Error type for the `StreamingTraitsRequireLength` operation.
        9019  +
/* ServerOperationErrorGenerator.kt:64 */
 4637   9020   
/// Each variant represents an error that can occur for the `StreamingTraitsRequireLength` operation.
        9021  +
/* RustType.kt:516 */
 4638   9022   
#[derive(::std::fmt::Debug)]
 4639         -
pub enum StreamingTraitsRequireLengthError {
        9023  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum StreamingTraitsRequireLengthError {
        9024  +
    /* ServerOperationErrorGenerator.kt:68 */
 4640   9025   
    #[allow(missing_docs)] // documentation missing in model
        9026  +
    /* ServerOperationErrorGenerator.kt:71 */
 4641   9027   
    InternalServerError(crate::error::InternalServerError),
        9028  +
    /* ServerOperationErrorGenerator.kt:66 */
 4642   9029   
}
        9030  +
/* ServerOperationErrorGenerator.kt:75 */
 4643   9031   
impl ::std::fmt::Display for StreamingTraitsRequireLengthError {
        9032  +
    /* ServerOperationErrorGenerator.kt:76 */
 4644   9033   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        9034  +
        /* ServerOperationErrorGenerator.kt:139 */
 4645   9035   
        match &self {
 4646         -
            StreamingTraitsRequireLengthError::InternalServerError(_inner) => _inner.fmt(f),
        9036  +
            /* ServerOperationErrorGenerator.kt:142 */
        9037  +
            StreamingTraitsRequireLengthError::InternalServerError(_inner) =>
        9038  +
            /* ServerOperationErrorGenerator.kt:78 */
        9039  +
            {
        9040  +
                _inner.fmt(f)
        9041  +
            }
        9042  +
            /* ServerOperationErrorGenerator.kt:139 */
 4647   9043   
        }
        9044  +
        /* ServerOperationErrorGenerator.kt:76 */
 4648   9045   
    }
        9046  +
    /* ServerOperationErrorGenerator.kt:75 */
 4649   9047   
}
        9048  +
/* ServerOperationErrorGenerator.kt:83 */
 4650   9049   
impl StreamingTraitsRequireLengthError {
        9050  +
    /* ServerOperationErrorGenerator.kt:87 */
 4651   9051   
    /// Returns `true` if the error kind is `StreamingTraitsRequireLengthError::InternalServerError`.
        9052  +
    /* ServerOperationErrorGenerator.kt:88 */
 4652   9053   
    pub fn is_internal_server_error(&self) -> bool {
        9054  +
        /* ServerOperationErrorGenerator.kt:89 */
 4653   9055   
        matches!(
 4654   9056   
            &self,
 4655   9057   
            StreamingTraitsRequireLengthError::InternalServerError(_)
 4656   9058   
        )
        9059  +
        /* ServerOperationErrorGenerator.kt:88 */
 4657   9060   
    }
        9061  +
    /* ServerOperationErrorGenerator.kt:92 */
 4658   9062   
    /// Returns the error name string by matching the correct variant.
        9063  +
    /* ServerOperationErrorGenerator.kt:93 */
 4659   9064   
    pub fn name(&self) -> &'static str {
        9065  +
        /* ServerOperationErrorGenerator.kt:139 */
 4660   9066   
        match &self {
 4661         -
            StreamingTraitsRequireLengthError::InternalServerError(_inner) => _inner.name(),
        9067  +
            /* ServerOperationErrorGenerator.kt:142 */
        9068  +
            StreamingTraitsRequireLengthError::InternalServerError(_inner) =>
        9069  +
            /* ServerOperationErrorGenerator.kt:95 */
        9070  +
            {
        9071  +
                _inner.name()
        9072  +
            }
        9073  +
            /* ServerOperationErrorGenerator.kt:139 */
 4662   9074   
        }
        9075  +
        /* ServerOperationErrorGenerator.kt:93 */
 4663   9076   
    }
        9077  +
    /* ServerOperationErrorGenerator.kt:83 */
 4664   9078   
}
        9079  +
/* ServerOperationErrorGenerator.kt:100 */
 4665   9080   
impl ::std::error::Error for StreamingTraitsRequireLengthError {
        9081  +
    /* ServerOperationErrorGenerator.kt:101 */
 4666   9082   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        9083  +
        /* ServerOperationErrorGenerator.kt:139 */
 4667   9084   
        match &self {
 4668         -
            StreamingTraitsRequireLengthError::InternalServerError(_inner) => Some(_inner),
        9085  +
            /* ServerOperationErrorGenerator.kt:142 */
        9086  +
            StreamingTraitsRequireLengthError::InternalServerError(_inner) =>
        9087  +
            /* ServerOperationErrorGenerator.kt:103 */
        9088  +
            {
        9089  +
                Some(_inner)
        9090  +
            }
        9091  +
            /* ServerOperationErrorGenerator.kt:139 */
 4669   9092   
        }
        9093  +
        /* ServerOperationErrorGenerator.kt:101 */
 4670   9094   
    }
        9095  +
    /* ServerOperationErrorGenerator.kt:100 */
 4671   9096   
}
        9097  +
/* ServerOperationErrorGenerator.kt:110 */
 4672   9098   
impl ::std::convert::From<crate::error::InternalServerError>
 4673   9099   
    for crate::error::StreamingTraitsRequireLengthError
 4674   9100   
{
        9101  +
    /* ServerOperationErrorGenerator.kt:111 */
 4675   9102   
    fn from(
 4676   9103   
        variant: crate::error::InternalServerError,
 4677   9104   
    ) -> crate::error::StreamingTraitsRequireLengthError {
        9105  +
        /* ServerOperationErrorGenerator.kt:112 */
 4678   9106   
        Self::InternalServerError(variant)
        9107  +
        /* ServerOperationErrorGenerator.kt:111 */
 4679   9108   
    }
        9109  +
    /* ServerOperationErrorGenerator.kt:110 */
 4680   9110   
}
 4681   9111   
        9112  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4682   9113   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::StreamingTraitsRequireLengthError {
 4683   9114   
    fn from(variant: ::pyo3::PyErr) -> crate::error::StreamingTraitsRequireLengthError {
 4684   9115   
        ::pyo3::Python::with_gil(|py| {
 4685   9116   
            let error = variant.value(py);
 4686   9117   
 4687   9118   
            crate::error::InternalServerError {
 4688   9119   
                message: error.to_string(),
 4689   9120   
            }
 4690   9121   
            .into()
 4691   9122   
        })
 4692   9123   
    }
 4693   9124   
}
 4694   9125   
        9126  +
/* ServerOperationErrorGenerator.kt:63 */
 4695   9127   
/// Error type for the `StreamingTraits` operation.
        9128  +
/* ServerOperationErrorGenerator.kt:64 */
 4696   9129   
/// Each variant represents an error that can occur for the `StreamingTraits` operation.
        9130  +
/* RustType.kt:516 */
 4697   9131   
#[derive(::std::fmt::Debug)]
 4698         -
pub enum StreamingTraitsError {
        9132  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum StreamingTraitsError {
        9133  +
    /* ServerOperationErrorGenerator.kt:68 */
 4699   9134   
    #[allow(missing_docs)] // documentation missing in model
        9135  +
    /* ServerOperationErrorGenerator.kt:71 */
 4700   9136   
    InternalServerError(crate::error::InternalServerError),
        9137  +
    /* ServerOperationErrorGenerator.kt:66 */
 4701   9138   
}
        9139  +
/* ServerOperationErrorGenerator.kt:75 */
 4702   9140   
impl ::std::fmt::Display for StreamingTraitsError {
        9141  +
    /* ServerOperationErrorGenerator.kt:76 */
 4703   9142   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        9143  +
        /* ServerOperationErrorGenerator.kt:139 */
 4704   9144   
        match &self {
 4705         -
            StreamingTraitsError::InternalServerError(_inner) => _inner.fmt(f),
        9145  +
            /* ServerOperationErrorGenerator.kt:142 */
        9146  +
            StreamingTraitsError::InternalServerError(_inner) =>
        9147  +
            /* ServerOperationErrorGenerator.kt:78 */
        9148  +
            {
        9149  +
                _inner.fmt(f)
        9150  +
            }
        9151  +
            /* ServerOperationErrorGenerator.kt:139 */
 4706   9152   
        }
        9153  +
        /* ServerOperationErrorGenerator.kt:76 */
 4707   9154   
    }
        9155  +
    /* ServerOperationErrorGenerator.kt:75 */
 4708   9156   
}
        9157  +
/* ServerOperationErrorGenerator.kt:83 */
 4709   9158   
impl StreamingTraitsError {
        9159  +
    /* ServerOperationErrorGenerator.kt:87 */
 4710   9160   
    /// Returns `true` if the error kind is `StreamingTraitsError::InternalServerError`.
        9161  +
    /* ServerOperationErrorGenerator.kt:88 */
 4711   9162   
    pub fn is_internal_server_error(&self) -> bool {
        9163  +
        /* ServerOperationErrorGenerator.kt:89 */
 4712   9164   
        matches!(&self, StreamingTraitsError::InternalServerError(_))
        9165  +
        /* ServerOperationErrorGenerator.kt:88 */
 4713   9166   
    }
        9167  +
    /* ServerOperationErrorGenerator.kt:92 */
 4714   9168   
    /// Returns the error name string by matching the correct variant.
        9169  +
    /* ServerOperationErrorGenerator.kt:93 */
 4715   9170   
    pub fn name(&self) -> &'static str {
        9171  +
        /* ServerOperationErrorGenerator.kt:139 */
 4716   9172   
        match &self {
 4717         -
            StreamingTraitsError::InternalServerError(_inner) => _inner.name(),
        9173  +
            /* ServerOperationErrorGenerator.kt:142 */
        9174  +
            StreamingTraitsError::InternalServerError(_inner) =>
        9175  +
            /* ServerOperationErrorGenerator.kt:95 */
        9176  +
            {
        9177  +
                _inner.name()
        9178  +
            }
        9179  +
            /* ServerOperationErrorGenerator.kt:139 */
 4718   9180   
        }
        9181  +
        /* ServerOperationErrorGenerator.kt:93 */
 4719   9182   
    }
        9183  +
    /* ServerOperationErrorGenerator.kt:83 */
 4720   9184   
}
        9185  +
/* ServerOperationErrorGenerator.kt:100 */
 4721   9186   
impl ::std::error::Error for StreamingTraitsError {
        9187  +
    /* ServerOperationErrorGenerator.kt:101 */
 4722   9188   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        9189  +
        /* ServerOperationErrorGenerator.kt:139 */
 4723   9190   
        match &self {
 4724         -
            StreamingTraitsError::InternalServerError(_inner) => Some(_inner),
        9191  +
            /* ServerOperationErrorGenerator.kt:142 */
        9192  +
            StreamingTraitsError::InternalServerError(_inner) =>
        9193  +
            /* ServerOperationErrorGenerator.kt:103 */
        9194  +
            {
        9195  +
                Some(_inner)
        9196  +
            }
        9197  +
            /* ServerOperationErrorGenerator.kt:139 */
 4725   9198   
        }
        9199  +
        /* ServerOperationErrorGenerator.kt:101 */
 4726   9200   
    }
        9201  +
    /* ServerOperationErrorGenerator.kt:100 */
 4727   9202   
}
        9203  +
/* ServerOperationErrorGenerator.kt:110 */
 4728   9204   
impl ::std::convert::From<crate::error::InternalServerError>
 4729   9205   
    for crate::error::StreamingTraitsError
 4730   9206   
{
        9207  +
    /* ServerOperationErrorGenerator.kt:111 */
 4731   9208   
    fn from(variant: crate::error::InternalServerError) -> crate::error::StreamingTraitsError {
        9209  +
        /* ServerOperationErrorGenerator.kt:112 */
 4732   9210   
        Self::InternalServerError(variant)
        9211  +
        /* ServerOperationErrorGenerator.kt:111 */
 4733   9212   
    }
        9213  +
    /* ServerOperationErrorGenerator.kt:110 */
 4734   9214   
}
 4735   9215   
        9216  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4736   9217   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::StreamingTraitsError {
 4737   9218   
    fn from(variant: ::pyo3::PyErr) -> crate::error::StreamingTraitsError {
 4738   9219   
        ::pyo3::Python::with_gil(|py| {
 4739   9220   
            let error = variant.value(py);
 4740   9221   
 4741   9222   
            crate::error::InternalServerError {
 4742   9223   
                message: error.to_string(),
 4743   9224   
            }
 4744   9225   
            .into()
 4745   9226   
        })
 4746   9227   
    }
 4747   9228   
}
 4748   9229   
        9230  +
/* ServerOperationErrorGenerator.kt:63 */
 4749   9231   
/// Error type for the `HttpResponseCode` operation.
        9232  +
/* ServerOperationErrorGenerator.kt:64 */
 4750   9233   
/// Each variant represents an error that can occur for the `HttpResponseCode` operation.
        9234  +
/* RustType.kt:516 */
 4751   9235   
#[derive(::std::fmt::Debug)]
 4752         -
pub enum HttpResponseCodeError {
        9236  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpResponseCodeError {
        9237  +
    /* ServerOperationErrorGenerator.kt:68 */
 4753   9238   
    #[allow(missing_docs)] // documentation missing in model
        9239  +
    /* ServerOperationErrorGenerator.kt:71 */
 4754   9240   
    InternalServerError(crate::error::InternalServerError),
        9241  +
    /* ServerOperationErrorGenerator.kt:66 */
 4755   9242   
}
        9243  +
/* ServerOperationErrorGenerator.kt:75 */
 4756   9244   
impl ::std::fmt::Display for HttpResponseCodeError {
        9245  +
    /* ServerOperationErrorGenerator.kt:76 */
 4757   9246   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        9247  +
        /* ServerOperationErrorGenerator.kt:139 */
 4758   9248   
        match &self {
 4759         -
            HttpResponseCodeError::InternalServerError(_inner) => _inner.fmt(f),
        9249  +
            /* ServerOperationErrorGenerator.kt:142 */
        9250  +
            HttpResponseCodeError::InternalServerError(_inner) =>
        9251  +
            /* ServerOperationErrorGenerator.kt:78 */
        9252  +
            {
        9253  +
                _inner.fmt(f)
        9254  +
            }
        9255  +
            /* ServerOperationErrorGenerator.kt:139 */
 4760   9256   
        }
        9257  +
        /* ServerOperationErrorGenerator.kt:76 */
 4761   9258   
    }
        9259  +
    /* ServerOperationErrorGenerator.kt:75 */
 4762   9260   
}
        9261  +
/* ServerOperationErrorGenerator.kt:83 */
 4763   9262   
impl HttpResponseCodeError {
        9263  +
    /* ServerOperationErrorGenerator.kt:87 */
 4764   9264   
    /// Returns `true` if the error kind is `HttpResponseCodeError::InternalServerError`.
        9265  +
    /* ServerOperationErrorGenerator.kt:88 */
 4765   9266   
    pub fn is_internal_server_error(&self) -> bool {
        9267  +
        /* ServerOperationErrorGenerator.kt:89 */
 4766   9268   
        matches!(&self, HttpResponseCodeError::InternalServerError(_))
        9269  +
        /* ServerOperationErrorGenerator.kt:88 */
 4767   9270   
    }
        9271  +
    /* ServerOperationErrorGenerator.kt:92 */
 4768   9272   
    /// Returns the error name string by matching the correct variant.
        9273  +
    /* ServerOperationErrorGenerator.kt:93 */
 4769   9274   
    pub fn name(&self) -> &'static str {
        9275  +
        /* ServerOperationErrorGenerator.kt:139 */
 4770   9276   
        match &self {
 4771         -
            HttpResponseCodeError::InternalServerError(_inner) => _inner.name(),
        9277  +
            /* ServerOperationErrorGenerator.kt:142 */
        9278  +
            HttpResponseCodeError::InternalServerError(_inner) =>
        9279  +
            /* ServerOperationErrorGenerator.kt:95 */
        9280  +
            {
        9281  +
                _inner.name()
        9282  +
            }
        9283  +
            /* ServerOperationErrorGenerator.kt:139 */
 4772   9284   
        }
        9285  +
        /* ServerOperationErrorGenerator.kt:93 */
 4773   9286   
    }
        9287  +
    /* ServerOperationErrorGenerator.kt:83 */
 4774   9288   
}
        9289  +
/* ServerOperationErrorGenerator.kt:100 */
 4775   9290   
impl ::std::error::Error for HttpResponseCodeError {
        9291  +
    /* ServerOperationErrorGenerator.kt:101 */
 4776   9292   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        9293  +
        /* ServerOperationErrorGenerator.kt:139 */
 4777   9294   
        match &self {
 4778         -
            HttpResponseCodeError::InternalServerError(_inner) => Some(_inner),
        9295  +
            /* ServerOperationErrorGenerator.kt:142 */
        9296  +
            HttpResponseCodeError::InternalServerError(_inner) =>
        9297  +
            /* ServerOperationErrorGenerator.kt:103 */
        9298  +
            {
        9299  +
                Some(_inner)
        9300  +
            }
        9301  +
            /* ServerOperationErrorGenerator.kt:139 */
 4779   9302   
        }
        9303  +
        /* ServerOperationErrorGenerator.kt:101 */
 4780   9304   
    }
        9305  +
    /* ServerOperationErrorGenerator.kt:100 */
 4781   9306   
}
        9307  +
/* ServerOperationErrorGenerator.kt:110 */
 4782   9308   
impl ::std::convert::From<crate::error::InternalServerError>
 4783   9309   
    for crate::error::HttpResponseCodeError
 4784   9310   
{
        9311  +
    /* ServerOperationErrorGenerator.kt:111 */
 4785   9312   
    fn from(variant: crate::error::InternalServerError) -> crate::error::HttpResponseCodeError {
        9313  +
        /* ServerOperationErrorGenerator.kt:112 */
 4786   9314   
        Self::InternalServerError(variant)
        9315  +
        /* ServerOperationErrorGenerator.kt:111 */
 4787   9316   
    }
        9317  +
    /* ServerOperationErrorGenerator.kt:110 */
 4788   9318   
}
 4789   9319   
        9320  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4790   9321   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpResponseCodeError {
 4791   9322   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpResponseCodeError {
 4792   9323   
        ::pyo3::Python::with_gil(|py| {
 4793   9324   
            let error = variant.value(py);
 4794   9325   
 4795   9326   
            crate::error::InternalServerError {
 4796   9327   
                message: error.to_string(),
 4797   9328   
            }
 4798   9329   
            .into()
 4799   9330   
        })
 4800   9331   
    }
 4801   9332   
}
 4802   9333   
        9334  +
/* ServerOperationErrorGenerator.kt:63 */
 4803   9335   
/// Error type for the `HttpPayloadWithUnion` operation.
        9336  +
/* ServerOperationErrorGenerator.kt:64 */
 4804   9337   
/// Each variant represents an error that can occur for the `HttpPayloadWithUnion` operation.
        9338  +
/* RustType.kt:516 */
 4805   9339   
#[derive(::std::fmt::Debug)]
 4806         -
pub enum HttpPayloadWithUnionError {
        9340  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpPayloadWithUnionError {
        9341  +
    /* ServerOperationErrorGenerator.kt:68 */
 4807   9342   
    #[allow(missing_docs)] // documentation missing in model
        9343  +
    /* ServerOperationErrorGenerator.kt:71 */
 4808   9344   
    InternalServerError(crate::error::InternalServerError),
        9345  +
    /* ServerOperationErrorGenerator.kt:66 */
 4809   9346   
}
        9347  +
/* ServerOperationErrorGenerator.kt:75 */
 4810   9348   
impl ::std::fmt::Display for HttpPayloadWithUnionError {
        9349  +
    /* ServerOperationErrorGenerator.kt:76 */
 4811   9350   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        9351  +
        /* ServerOperationErrorGenerator.kt:139 */
 4812   9352   
        match &self {
 4813         -
            HttpPayloadWithUnionError::InternalServerError(_inner) => _inner.fmt(f),
        9353  +
            /* ServerOperationErrorGenerator.kt:142 */
        9354  +
            HttpPayloadWithUnionError::InternalServerError(_inner) =>
        9355  +
            /* ServerOperationErrorGenerator.kt:78 */
        9356  +
            {
        9357  +
                _inner.fmt(f)
        9358  +
            }
        9359  +
            /* ServerOperationErrorGenerator.kt:139 */
 4814   9360   
        }
        9361  +
        /* ServerOperationErrorGenerator.kt:76 */
 4815   9362   
    }
        9363  +
    /* ServerOperationErrorGenerator.kt:75 */
 4816   9364   
}
        9365  +
/* ServerOperationErrorGenerator.kt:83 */
 4817   9366   
impl HttpPayloadWithUnionError {
        9367  +
    /* ServerOperationErrorGenerator.kt:87 */
 4818   9368   
    /// Returns `true` if the error kind is `HttpPayloadWithUnionError::InternalServerError`.
        9369  +
    /* ServerOperationErrorGenerator.kt:88 */
 4819   9370   
    pub fn is_internal_server_error(&self) -> bool {
        9371  +
        /* ServerOperationErrorGenerator.kt:89 */
 4820   9372   
        matches!(&self, HttpPayloadWithUnionError::InternalServerError(_))
        9373  +
        /* ServerOperationErrorGenerator.kt:88 */
 4821   9374   
    }
        9375  +
    /* ServerOperationErrorGenerator.kt:92 */
 4822   9376   
    /// Returns the error name string by matching the correct variant.
        9377  +
    /* ServerOperationErrorGenerator.kt:93 */
 4823   9378   
    pub fn name(&self) -> &'static str {
        9379  +
        /* ServerOperationErrorGenerator.kt:139 */
 4824   9380   
        match &self {
 4825         -
            HttpPayloadWithUnionError::InternalServerError(_inner) => _inner.name(),
        9381  +
            /* ServerOperationErrorGenerator.kt:142 */
        9382  +
            HttpPayloadWithUnionError::InternalServerError(_inner) =>
        9383  +
            /* ServerOperationErrorGenerator.kt:95 */
        9384  +
            {
        9385  +
                _inner.name()
        9386  +
            }
        9387  +
            /* ServerOperationErrorGenerator.kt:139 */
 4826   9388   
        }
        9389  +
        /* ServerOperationErrorGenerator.kt:93 */
 4827   9390   
    }
        9391  +
    /* ServerOperationErrorGenerator.kt:83 */
 4828   9392   
}
        9393  +
/* ServerOperationErrorGenerator.kt:100 */
 4829   9394   
impl ::std::error::Error for HttpPayloadWithUnionError {
        9395  +
    /* ServerOperationErrorGenerator.kt:101 */
 4830   9396   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        9397  +
        /* ServerOperationErrorGenerator.kt:139 */
 4831   9398   
        match &self {
 4832         -
            HttpPayloadWithUnionError::InternalServerError(_inner) => Some(_inner),
        9399  +
            /* ServerOperationErrorGenerator.kt:142 */
        9400  +
            HttpPayloadWithUnionError::InternalServerError(_inner) =>
        9401  +
            /* ServerOperationErrorGenerator.kt:103 */
        9402  +
            {
        9403  +
                Some(_inner)
        9404  +
            }
        9405  +
            /* ServerOperationErrorGenerator.kt:139 */
 4833   9406   
        }
        9407  +
        /* ServerOperationErrorGenerator.kt:101 */
 4834   9408   
    }
        9409  +
    /* ServerOperationErrorGenerator.kt:100 */
 4835   9410   
}
        9411  +
/* ServerOperationErrorGenerator.kt:110 */
 4836   9412   
impl ::std::convert::From<crate::error::InternalServerError>
 4837   9413   
    for crate::error::HttpPayloadWithUnionError
 4838   9414   
{
        9415  +
    /* ServerOperationErrorGenerator.kt:111 */
 4839   9416   
    fn from(variant: crate::error::InternalServerError) -> crate::error::HttpPayloadWithUnionError {
        9417  +
        /* ServerOperationErrorGenerator.kt:112 */
 4840   9418   
        Self::InternalServerError(variant)
        9419  +
        /* ServerOperationErrorGenerator.kt:111 */
 4841   9420   
    }
        9421  +
    /* ServerOperationErrorGenerator.kt:110 */
 4842   9422   
}
 4843   9423   
        9424  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4844   9425   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpPayloadWithUnionError {
 4845   9426   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpPayloadWithUnionError {
 4846   9427   
        ::pyo3::Python::with_gil(|py| {
 4847   9428   
            let error = variant.value(py);
 4848   9429   
 4849   9430   
            crate::error::InternalServerError {
 4850   9431   
                message: error.to_string(),
 4851   9432   
            }
 4852   9433   
            .into()
 4853   9434   
        })
 4854   9435   
    }
 4855   9436   
}
 4856   9437   
        9438  +
/* ServerOperationErrorGenerator.kt:63 */
 4857   9439   
/// Error type for the `HttpStringPayload` operation.
        9440  +
/* ServerOperationErrorGenerator.kt:64 */
 4858   9441   
/// Each variant represents an error that can occur for the `HttpStringPayload` operation.
        9442  +
/* RustType.kt:516 */
 4859   9443   
#[derive(::std::fmt::Debug)]
 4860         -
pub enum HttpStringPayloadError {
        9444  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpStringPayloadError {
        9445  +
    /* ServerOperationErrorGenerator.kt:68 */
 4861   9446   
    #[allow(missing_docs)] // documentation missing in model
        9447  +
    /* ServerOperationErrorGenerator.kt:71 */
 4862   9448   
    InternalServerError(crate::error::InternalServerError),
        9449  +
    /* ServerOperationErrorGenerator.kt:66 */
 4863   9450   
}
        9451  +
/* ServerOperationErrorGenerator.kt:75 */
 4864   9452   
impl ::std::fmt::Display for HttpStringPayloadError {
        9453  +
    /* ServerOperationErrorGenerator.kt:76 */
 4865   9454   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        9455  +
        /* ServerOperationErrorGenerator.kt:139 */
 4866   9456   
        match &self {
 4867         -
            HttpStringPayloadError::InternalServerError(_inner) => _inner.fmt(f),
        9457  +
            /* ServerOperationErrorGenerator.kt:142 */
        9458  +
            HttpStringPayloadError::InternalServerError(_inner) =>
        9459  +
            /* ServerOperationErrorGenerator.kt:78 */
        9460  +
            {
        9461  +
                _inner.fmt(f)
        9462  +
            }
        9463  +
            /* ServerOperationErrorGenerator.kt:139 */
 4868   9464   
        }
        9465  +
        /* ServerOperationErrorGenerator.kt:76 */
 4869   9466   
    }
        9467  +
    /* ServerOperationErrorGenerator.kt:75 */
 4870   9468   
}
        9469  +
/* ServerOperationErrorGenerator.kt:83 */
 4871   9470   
impl HttpStringPayloadError {
        9471  +
    /* ServerOperationErrorGenerator.kt:87 */
 4872   9472   
    /// Returns `true` if the error kind is `HttpStringPayloadError::InternalServerError`.
        9473  +
    /* ServerOperationErrorGenerator.kt:88 */
 4873   9474   
    pub fn is_internal_server_error(&self) -> bool {
        9475  +
        /* ServerOperationErrorGenerator.kt:89 */
 4874   9476   
        matches!(&self, HttpStringPayloadError::InternalServerError(_))
        9477  +
        /* ServerOperationErrorGenerator.kt:88 */
 4875   9478   
    }
        9479  +
    /* ServerOperationErrorGenerator.kt:92 */
 4876   9480   
    /// Returns the error name string by matching the correct variant.
        9481  +
    /* ServerOperationErrorGenerator.kt:93 */
 4877   9482   
    pub fn name(&self) -> &'static str {
        9483  +
        /* ServerOperationErrorGenerator.kt:139 */
 4878   9484   
        match &self {
 4879         -
            HttpStringPayloadError::InternalServerError(_inner) => _inner.name(),
        9485  +
            /* ServerOperationErrorGenerator.kt:142 */
        9486  +
            HttpStringPayloadError::InternalServerError(_inner) =>
        9487  +
            /* ServerOperationErrorGenerator.kt:95 */
        9488  +
            {
        9489  +
                _inner.name()
        9490  +
            }
        9491  +
            /* ServerOperationErrorGenerator.kt:139 */
 4880   9492   
        }
        9493  +
        /* ServerOperationErrorGenerator.kt:93 */
 4881   9494   
    }
        9495  +
    /* ServerOperationErrorGenerator.kt:83 */
 4882   9496   
}
        9497  +
/* ServerOperationErrorGenerator.kt:100 */
 4883   9498   
impl ::std::error::Error for HttpStringPayloadError {
        9499  +
    /* ServerOperationErrorGenerator.kt:101 */
 4884   9500   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        9501  +
        /* ServerOperationErrorGenerator.kt:139 */
 4885   9502   
        match &self {
 4886         -
            HttpStringPayloadError::InternalServerError(_inner) => Some(_inner),
        9503  +
            /* ServerOperationErrorGenerator.kt:142 */
        9504  +
            HttpStringPayloadError::InternalServerError(_inner) =>
        9505  +
            /* ServerOperationErrorGenerator.kt:103 */
        9506  +
            {
        9507  +
                Some(_inner)
        9508  +
            }
        9509  +
            /* ServerOperationErrorGenerator.kt:139 */
 4887   9510   
        }
        9511  +
        /* ServerOperationErrorGenerator.kt:101 */
 4888   9512   
    }
        9513  +
    /* ServerOperationErrorGenerator.kt:100 */
 4889   9514   
}
        9515  +
/* ServerOperationErrorGenerator.kt:110 */
 4890   9516   
impl ::std::convert::From<crate::error::InternalServerError>
 4891   9517   
    for crate::error::HttpStringPayloadError
 4892   9518   
{
        9519  +
    /* ServerOperationErrorGenerator.kt:111 */
 4893   9520   
    fn from(variant: crate::error::InternalServerError) -> crate::error::HttpStringPayloadError {
        9521  +
        /* ServerOperationErrorGenerator.kt:112 */
 4894   9522   
        Self::InternalServerError(variant)
        9523  +
        /* ServerOperationErrorGenerator.kt:111 */
 4895   9524   
    }
        9525  +
    /* ServerOperationErrorGenerator.kt:110 */
 4896   9526   
}
 4897   9527   
        9528  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4898   9529   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpStringPayloadError {
 4899   9530   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpStringPayloadError {
 4900   9531   
        ::pyo3::Python::with_gil(|py| {
 4901   9532   
            let error = variant.value(py);
 4902   9533   
 4903   9534   
            crate::error::InternalServerError {
 4904   9535   
                message: error.to_string(),
 4905   9536   
            }
 4906   9537   
            .into()
 4907   9538   
        })
 4908   9539   
    }
 4909   9540   
}
 4910   9541   
        9542  +
/* ServerOperationErrorGenerator.kt:63 */
 4911   9543   
/// Error type for the `HttpEnumPayload` operation.
        9544  +
/* ServerOperationErrorGenerator.kt:64 */
 4912   9545   
/// Each variant represents an error that can occur for the `HttpEnumPayload` operation.
        9546  +
/* RustType.kt:516 */
 4913   9547   
#[derive(::std::fmt::Debug)]
 4914         -
pub enum HttpEnumPayloadError {
 4915         -
    /// 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.
        9548  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpEnumPayloadError {
        9549  +
    /// /* 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.
        9550  +
    /* ServerOperationErrorGenerator.kt:71 */
 4916   9551   
    ValidationException(crate::error::ValidationException),
        9552  +
    /* ServerOperationErrorGenerator.kt:68 */
 4917   9553   
    #[allow(missing_docs)] // documentation missing in model
        9554  +
    /* ServerOperationErrorGenerator.kt:71 */
 4918   9555   
    InternalServerError(crate::error::InternalServerError),
        9556  +
    /* ServerOperationErrorGenerator.kt:66 */
 4919   9557   
}
        9558  +
/* ServerOperationErrorGenerator.kt:75 */
 4920   9559   
impl ::std::fmt::Display for HttpEnumPayloadError {
        9560  +
    /* ServerOperationErrorGenerator.kt:76 */
 4921   9561   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        9562  +
        /* ServerOperationErrorGenerator.kt:139 */
 4922   9563   
        match &self {
 4923         -
            HttpEnumPayloadError::ValidationException(_inner) => _inner.fmt(f),
 4924         -
            HttpEnumPayloadError::InternalServerError(_inner) => _inner.fmt(f),
        9564  +
            /* ServerOperationErrorGenerator.kt:142 */
        9565  +
            HttpEnumPayloadError::ValidationException(_inner) =>
        9566  +
            /* ServerOperationErrorGenerator.kt:78 */
        9567  +
            {
        9568  +
                _inner.fmt(f)
        9569  +
            }
        9570  +
            ,
        9571  +
            /* ServerOperationErrorGenerator.kt:142 */
        9572  +
            HttpEnumPayloadError::InternalServerError(_inner) =>
        9573  +
            /* ServerOperationErrorGenerator.kt:78 */
        9574  +
            {
        9575  +
                _inner.fmt(f)
        9576  +
            }
        9577  +
            /* ServerOperationErrorGenerator.kt:139 */
 4925   9578   
        }
        9579  +
        /* ServerOperationErrorGenerator.kt:76 */
 4926   9580   
    }
        9581  +
    /* ServerOperationErrorGenerator.kt:75 */
 4927   9582   
}
        9583  +
/* ServerOperationErrorGenerator.kt:83 */
 4928   9584   
impl HttpEnumPayloadError {
        9585  +
    /* ServerOperationErrorGenerator.kt:87 */
 4929   9586   
    /// Returns `true` if the error kind is `HttpEnumPayloadError::ValidationException`.
        9587  +
    /* ServerOperationErrorGenerator.kt:88 */
 4930   9588   
    pub fn is_validation_exception(&self) -> bool {
        9589  +
        /* ServerOperationErrorGenerator.kt:89 */
 4931   9590   
        matches!(&self, HttpEnumPayloadError::ValidationException(_))
        9591  +
        /* ServerOperationErrorGenerator.kt:88 */
 4932   9592   
    }
        9593  +
    /* ServerOperationErrorGenerator.kt:87 */
 4933   9594   
    /// Returns `true` if the error kind is `HttpEnumPayloadError::InternalServerError`.
        9595  +
    /* ServerOperationErrorGenerator.kt:88 */
 4934   9596   
    pub fn is_internal_server_error(&self) -> bool {
        9597  +
        /* ServerOperationErrorGenerator.kt:89 */
 4935   9598   
        matches!(&self, HttpEnumPayloadError::InternalServerError(_))
        9599  +
        /* ServerOperationErrorGenerator.kt:88 */
 4936   9600   
    }
        9601  +
    /* ServerOperationErrorGenerator.kt:92 */
 4937   9602   
    /// Returns the error name string by matching the correct variant.
        9603  +
    /* ServerOperationErrorGenerator.kt:93 */
 4938   9604   
    pub fn name(&self) -> &'static str {
        9605  +
        /* ServerOperationErrorGenerator.kt:139 */
 4939   9606   
        match &self {
 4940         -
            HttpEnumPayloadError::ValidationException(_inner) => _inner.name(),
 4941         -
            HttpEnumPayloadError::InternalServerError(_inner) => _inner.name(),
        9607  +
            /* ServerOperationErrorGenerator.kt:142 */
        9608  +
            HttpEnumPayloadError::ValidationException(_inner) =>
        9609  +
            /* ServerOperationErrorGenerator.kt:95 */
        9610  +
            {
        9611  +
                _inner.name()
        9612  +
            }
        9613  +
            ,
        9614  +
            /* ServerOperationErrorGenerator.kt:142 */
        9615  +
            HttpEnumPayloadError::InternalServerError(_inner) =>
        9616  +
            /* ServerOperationErrorGenerator.kt:95 */
        9617  +
            {
        9618  +
                _inner.name()
        9619  +
            }
        9620  +
            /* ServerOperationErrorGenerator.kt:139 */
 4942   9621   
        }
        9622  +
        /* ServerOperationErrorGenerator.kt:93 */
 4943   9623   
    }
        9624  +
    /* ServerOperationErrorGenerator.kt:83 */
 4944   9625   
}
        9626  +
/* ServerOperationErrorGenerator.kt:100 */
 4945   9627   
impl ::std::error::Error for HttpEnumPayloadError {
        9628  +
    /* ServerOperationErrorGenerator.kt:101 */
 4946   9629   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        9630  +
        /* ServerOperationErrorGenerator.kt:139 */
 4947   9631   
        match &self {
 4948         -
            HttpEnumPayloadError::ValidationException(_inner) => Some(_inner),
 4949         -
            HttpEnumPayloadError::InternalServerError(_inner) => Some(_inner),
        9632  +
            /* ServerOperationErrorGenerator.kt:142 */
        9633  +
            HttpEnumPayloadError::ValidationException(_inner) =>
        9634  +
            /* ServerOperationErrorGenerator.kt:103 */
        9635  +
            {
        9636  +
                Some(_inner)
        9637  +
            }
        9638  +
            ,
        9639  +
            /* ServerOperationErrorGenerator.kt:142 */
        9640  +
            HttpEnumPayloadError::InternalServerError(_inner) =>
        9641  +
            /* ServerOperationErrorGenerator.kt:103 */
        9642  +
            {
        9643  +
                Some(_inner)
        9644  +
            }
        9645  +
            /* ServerOperationErrorGenerator.kt:139 */
 4950   9646   
        }
        9647  +
        /* ServerOperationErrorGenerator.kt:101 */
 4951   9648   
    }
        9649  +
    /* ServerOperationErrorGenerator.kt:100 */
 4952   9650   
}
        9651  +
/* ServerOperationErrorGenerator.kt:110 */
 4953   9652   
impl ::std::convert::From<crate::error::ValidationException>
 4954   9653   
    for crate::error::HttpEnumPayloadError
 4955   9654   
{
        9655  +
    /* ServerOperationErrorGenerator.kt:111 */
 4956   9656   
    fn from(variant: crate::error::ValidationException) -> crate::error::HttpEnumPayloadError {
        9657  +
        /* ServerOperationErrorGenerator.kt:112 */
 4957   9658   
        Self::ValidationException(variant)
        9659  +
        /* ServerOperationErrorGenerator.kt:111 */
 4958   9660   
    }
        9661  +
    /* ServerOperationErrorGenerator.kt:110 */
 4959   9662   
}
        9663  +
/* ServerOperationErrorGenerator.kt:110 */
 4960   9664   
impl ::std::convert::From<crate::error::InternalServerError>
 4961   9665   
    for crate::error::HttpEnumPayloadError
 4962   9666   
{
        9667  +
    /* ServerOperationErrorGenerator.kt:111 */
 4963   9668   
    fn from(variant: crate::error::InternalServerError) -> crate::error::HttpEnumPayloadError {
        9669  +
        /* ServerOperationErrorGenerator.kt:112 */
 4964   9670   
        Self::InternalServerError(variant)
        9671  +
        /* ServerOperationErrorGenerator.kt:111 */
 4965   9672   
    }
        9673  +
    /* ServerOperationErrorGenerator.kt:110 */
 4966   9674   
}
 4967   9675   
        9676  +
/* PythonServerOperationErrorGenerator.kt:38 */
 4968   9677   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpEnumPayloadError {
 4969   9678   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpEnumPayloadError {
 4970   9679   
        ::pyo3::Python::with_gil(|py| {
 4971   9680   
            let error = variant.value(py);
 4972   9681   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 4973   9682   
                return error.into();
 4974   9683   
            }
 4975   9684   
            crate::error::InternalServerError {
 4976   9685   
                message: error.to_string(),
 4977   9686   
            }
 4978   9687   
            .into()
 4979   9688   
        })
 4980   9689   
    }
 4981   9690   
}
 4982   9691   
        9692  +
/* ServerOperationErrorGenerator.kt:63 */
 4983   9693   
/// Error type for the `HttpPayloadWithStructure` operation.
        9694  +
/* ServerOperationErrorGenerator.kt:64 */
 4984   9695   
/// Each variant represents an error that can occur for the `HttpPayloadWithStructure` operation.
        9696  +
/* RustType.kt:516 */
 4985   9697   
#[derive(::std::fmt::Debug)]
 4986         -
pub enum HttpPayloadWithStructureError {
        9698  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpPayloadWithStructureError {
        9699  +
    /* ServerOperationErrorGenerator.kt:68 */
 4987   9700   
    #[allow(missing_docs)] // documentation missing in model
        9701  +
    /* ServerOperationErrorGenerator.kt:71 */
 4988   9702   
    InternalServerError(crate::error::InternalServerError),
        9703  +
    /* ServerOperationErrorGenerator.kt:66 */
 4989   9704   
}
        9705  +
/* ServerOperationErrorGenerator.kt:75 */
 4990   9706   
impl ::std::fmt::Display for HttpPayloadWithStructureError {
        9707  +
    /* ServerOperationErrorGenerator.kt:76 */
 4991   9708   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        9709  +
        /* ServerOperationErrorGenerator.kt:139 */
 4992   9710   
        match &self {
 4993         -
            HttpPayloadWithStructureError::InternalServerError(_inner) => _inner.fmt(f),
        9711  +
            /* ServerOperationErrorGenerator.kt:142 */
        9712  +
            HttpPayloadWithStructureError::InternalServerError(_inner) =>
        9713  +
            /* ServerOperationErrorGenerator.kt:78 */
        9714  +
            {
        9715  +
                _inner.fmt(f)
        9716  +
            }
        9717  +
            /* ServerOperationErrorGenerator.kt:139 */
 4994   9718   
        }
        9719  +
        /* ServerOperationErrorGenerator.kt:76 */
 4995   9720   
    }
        9721  +
    /* ServerOperationErrorGenerator.kt:75 */
 4996   9722   
}
        9723  +
/* ServerOperationErrorGenerator.kt:83 */
 4997   9724   
impl HttpPayloadWithStructureError {
        9725  +
    /* ServerOperationErrorGenerator.kt:87 */
 4998   9726   
    /// Returns `true` if the error kind is `HttpPayloadWithStructureError::InternalServerError`.
        9727  +
    /* ServerOperationErrorGenerator.kt:88 */
 4999   9728   
    pub fn is_internal_server_error(&self) -> bool {
        9729  +
        /* ServerOperationErrorGenerator.kt:89 */
 5000   9730   
        matches!(&self, HttpPayloadWithStructureError::InternalServerError(_))
        9731  +
        /* ServerOperationErrorGenerator.kt:88 */
 5001   9732   
    }
        9733  +
    /* ServerOperationErrorGenerator.kt:92 */
 5002   9734   
    /// Returns the error name string by matching the correct variant.
        9735  +
    /* ServerOperationErrorGenerator.kt:93 */
 5003   9736   
    pub fn name(&self) -> &'static str {
        9737  +
        /* ServerOperationErrorGenerator.kt:139 */
 5004   9738   
        match &self {
 5005         -
            HttpPayloadWithStructureError::InternalServerError(_inner) => _inner.name(),
        9739  +
            /* ServerOperationErrorGenerator.kt:142 */
        9740  +
            HttpPayloadWithStructureError::InternalServerError(_inner) =>
        9741  +
            /* ServerOperationErrorGenerator.kt:95 */
        9742  +
            {
        9743  +
                _inner.name()
        9744  +
            }
        9745  +
            /* ServerOperationErrorGenerator.kt:139 */
 5006   9746   
        }
        9747  +
        /* ServerOperationErrorGenerator.kt:93 */
 5007   9748   
    }
        9749  +
    /* ServerOperationErrorGenerator.kt:83 */
 5008   9750   
}
        9751  +
/* ServerOperationErrorGenerator.kt:100 */
 5009   9752   
impl ::std::error::Error for HttpPayloadWithStructureError {
        9753  +
    /* ServerOperationErrorGenerator.kt:101 */
 5010   9754   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        9755  +
        /* ServerOperationErrorGenerator.kt:139 */
 5011   9756   
        match &self {
 5012         -
            HttpPayloadWithStructureError::InternalServerError(_inner) => Some(_inner),
        9757  +
            /* ServerOperationErrorGenerator.kt:142 */
        9758  +
            HttpPayloadWithStructureError::InternalServerError(_inner) =>
        9759  +
            /* ServerOperationErrorGenerator.kt:103 */
        9760  +
            {
        9761  +
                Some(_inner)
        9762  +
            }
        9763  +
            /* ServerOperationErrorGenerator.kt:139 */
 5013   9764   
        }
        9765  +
        /* ServerOperationErrorGenerator.kt:101 */
 5014   9766   
    }
        9767  +
    /* ServerOperationErrorGenerator.kt:100 */
 5015   9768   
}
        9769  +
/* ServerOperationErrorGenerator.kt:110 */
 5016   9770   
impl ::std::convert::From<crate::error::InternalServerError>
 5017   9771   
    for crate::error::HttpPayloadWithStructureError
 5018   9772   
{
        9773  +
    /* ServerOperationErrorGenerator.kt:111 */
 5019   9774   
    fn from(
 5020   9775   
        variant: crate::error::InternalServerError,
 5021   9776   
    ) -> crate::error::HttpPayloadWithStructureError {
        9777  +
        /* ServerOperationErrorGenerator.kt:112 */
 5022   9778   
        Self::InternalServerError(variant)
        9779  +
        /* ServerOperationErrorGenerator.kt:111 */
 5023   9780   
    }
        9781  +
    /* ServerOperationErrorGenerator.kt:110 */
 5024   9782   
}
 5025   9783   
        9784  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5026   9785   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpPayloadWithStructureError {
 5027   9786   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpPayloadWithStructureError {
 5028   9787   
        ::pyo3::Python::with_gil(|py| {
 5029   9788   
            let error = variant.value(py);
 5030   9789   
 5031   9790   
            crate::error::InternalServerError {
 5032   9791   
                message: error.to_string(),
 5033   9792   
            }
 5034   9793   
            .into()
 5035   9794   
        })
 5036   9795   
    }
 5037   9796   
}
 5038   9797   
        9798  +
/* ServerOperationErrorGenerator.kt:63 */
 5039   9799   
/// Error type for the `HttpPayloadTraitsWithMediaType` operation.
        9800  +
/* ServerOperationErrorGenerator.kt:64 */
 5040   9801   
/// Each variant represents an error that can occur for the `HttpPayloadTraitsWithMediaType` operation.
        9802  +
/* RustType.kt:516 */
 5041   9803   
#[derive(::std::fmt::Debug)]
 5042         -
pub enum HttpPayloadTraitsWithMediaTypeError {
        9804  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpPayloadTraitsWithMediaTypeError {
        9805  +
    /* ServerOperationErrorGenerator.kt:68 */
 5043   9806   
    #[allow(missing_docs)] // documentation missing in model
        9807  +
    /* ServerOperationErrorGenerator.kt:71 */
 5044   9808   
    InternalServerError(crate::error::InternalServerError),
        9809  +
    /* ServerOperationErrorGenerator.kt:66 */
 5045   9810   
}
        9811  +
/* ServerOperationErrorGenerator.kt:75 */
 5046   9812   
impl ::std::fmt::Display for HttpPayloadTraitsWithMediaTypeError {
        9813  +
    /* ServerOperationErrorGenerator.kt:76 */
 5047   9814   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        9815  +
        /* ServerOperationErrorGenerator.kt:139 */
 5048   9816   
        match &self {
 5049         -
            HttpPayloadTraitsWithMediaTypeError::InternalServerError(_inner) => _inner.fmt(f),
        9817  +
            /* ServerOperationErrorGenerator.kt:142 */
        9818  +
            HttpPayloadTraitsWithMediaTypeError::InternalServerError(_inner) =>
        9819  +
            /* ServerOperationErrorGenerator.kt:78 */
        9820  +
            {
        9821  +
                _inner.fmt(f)
        9822  +
            }
        9823  +
            /* ServerOperationErrorGenerator.kt:139 */
 5050   9824   
        }
        9825  +
        /* ServerOperationErrorGenerator.kt:76 */
 5051   9826   
    }
        9827  +
    /* ServerOperationErrorGenerator.kt:75 */
 5052   9828   
}
        9829  +
/* ServerOperationErrorGenerator.kt:83 */
 5053   9830   
impl HttpPayloadTraitsWithMediaTypeError {
        9831  +
    /* ServerOperationErrorGenerator.kt:87 */
 5054   9832   
    /// Returns `true` if the error kind is `HttpPayloadTraitsWithMediaTypeError::InternalServerError`.
        9833  +
    /* ServerOperationErrorGenerator.kt:88 */
 5055   9834   
    pub fn is_internal_server_error(&self) -> bool {
        9835  +
        /* ServerOperationErrorGenerator.kt:89 */
 5056   9836   
        matches!(
 5057   9837   
            &self,
 5058   9838   
            HttpPayloadTraitsWithMediaTypeError::InternalServerError(_)
 5059   9839   
        )
        9840  +
        /* ServerOperationErrorGenerator.kt:88 */
 5060   9841   
    }
        9842  +
    /* ServerOperationErrorGenerator.kt:92 */
 5061   9843   
    /// Returns the error name string by matching the correct variant.
        9844  +
    /* ServerOperationErrorGenerator.kt:93 */
 5062   9845   
    pub fn name(&self) -> &'static str {
        9846  +
        /* ServerOperationErrorGenerator.kt:139 */
 5063   9847   
        match &self {
 5064         -
            HttpPayloadTraitsWithMediaTypeError::InternalServerError(_inner) => _inner.name(),
        9848  +
            /* ServerOperationErrorGenerator.kt:142 */
        9849  +
            HttpPayloadTraitsWithMediaTypeError::InternalServerError(_inner) =>
        9850  +
            /* ServerOperationErrorGenerator.kt:95 */
        9851  +
            {
        9852  +
                _inner.name()
        9853  +
            }
        9854  +
            /* ServerOperationErrorGenerator.kt:139 */
 5065   9855   
        }
        9856  +
        /* ServerOperationErrorGenerator.kt:93 */
 5066   9857   
    }
        9858  +
    /* ServerOperationErrorGenerator.kt:83 */
 5067   9859   
}
        9860  +
/* ServerOperationErrorGenerator.kt:100 */
 5068   9861   
impl ::std::error::Error for HttpPayloadTraitsWithMediaTypeError {
        9862  +
    /* ServerOperationErrorGenerator.kt:101 */
 5069   9863   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        9864  +
        /* ServerOperationErrorGenerator.kt:139 */
 5070   9865   
        match &self {
 5071         -
            HttpPayloadTraitsWithMediaTypeError::InternalServerError(_inner) => Some(_inner),
        9866  +
            /* ServerOperationErrorGenerator.kt:142 */
        9867  +
            HttpPayloadTraitsWithMediaTypeError::InternalServerError(_inner) =>
        9868  +
            /* ServerOperationErrorGenerator.kt:103 */
        9869  +
            {
        9870  +
                Some(_inner)
        9871  +
            }
        9872  +
            /* ServerOperationErrorGenerator.kt:139 */
 5072   9873   
        }
        9874  +
        /* ServerOperationErrorGenerator.kt:101 */
 5073   9875   
    }
        9876  +
    /* ServerOperationErrorGenerator.kt:100 */
 5074   9877   
}
        9878  +
/* ServerOperationErrorGenerator.kt:110 */
 5075   9879   
impl ::std::convert::From<crate::error::InternalServerError>
 5076   9880   
    for crate::error::HttpPayloadTraitsWithMediaTypeError
 5077   9881   
{
        9882  +
    /* ServerOperationErrorGenerator.kt:111 */
 5078   9883   
    fn from(
 5079   9884   
        variant: crate::error::InternalServerError,
 5080   9885   
    ) -> crate::error::HttpPayloadTraitsWithMediaTypeError {
        9886  +
        /* ServerOperationErrorGenerator.kt:112 */
 5081   9887   
        Self::InternalServerError(variant)
        9888  +
        /* ServerOperationErrorGenerator.kt:111 */
 5082   9889   
    }
        9890  +
    /* ServerOperationErrorGenerator.kt:110 */
 5083   9891   
}
 5084   9892   
        9893  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5085   9894   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpPayloadTraitsWithMediaTypeError {
 5086   9895   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpPayloadTraitsWithMediaTypeError {
 5087   9896   
        ::pyo3::Python::with_gil(|py| {
 5088   9897   
            let error = variant.value(py);
 5089   9898   
 5090   9899   
            crate::error::InternalServerError {
 5091   9900   
                message: error.to_string(),
 5092   9901   
            }
 5093   9902   
            .into()
 5094   9903   
        })
 5095   9904   
    }
 5096   9905   
}
 5097   9906   
        9907  +
/* ServerOperationErrorGenerator.kt:63 */
 5098   9908   
/// Error type for the `HttpPayloadTraits` operation.
        9909  +
/* ServerOperationErrorGenerator.kt:64 */
 5099   9910   
/// Each variant represents an error that can occur for the `HttpPayloadTraits` operation.
        9911  +
/* RustType.kt:516 */
 5100   9912   
#[derive(::std::fmt::Debug)]
 5101         -
pub enum HttpPayloadTraitsError {
        9913  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpPayloadTraitsError {
        9914  +
    /* ServerOperationErrorGenerator.kt:68 */
 5102   9915   
    #[allow(missing_docs)] // documentation missing in model
        9916  +
    /* ServerOperationErrorGenerator.kt:71 */
 5103   9917   
    InternalServerError(crate::error::InternalServerError),
        9918  +
    /* ServerOperationErrorGenerator.kt:66 */
 5104   9919   
}
        9920  +
/* ServerOperationErrorGenerator.kt:75 */
 5105   9921   
impl ::std::fmt::Display for HttpPayloadTraitsError {
        9922  +
    /* ServerOperationErrorGenerator.kt:76 */
 5106   9923   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        9924  +
        /* ServerOperationErrorGenerator.kt:139 */
 5107   9925   
        match &self {
 5108         -
            HttpPayloadTraitsError::InternalServerError(_inner) => _inner.fmt(f),
        9926  +
            /* ServerOperationErrorGenerator.kt:142 */
        9927  +
            HttpPayloadTraitsError::InternalServerError(_inner) =>
        9928  +
            /* ServerOperationErrorGenerator.kt:78 */
        9929  +
            {
        9930  +
                _inner.fmt(f)
        9931  +
            }
        9932  +
            /* ServerOperationErrorGenerator.kt:139 */
 5109   9933   
        }
        9934  +
        /* ServerOperationErrorGenerator.kt:76 */
 5110   9935   
    }
        9936  +
    /* ServerOperationErrorGenerator.kt:75 */
 5111   9937   
}
        9938  +
/* ServerOperationErrorGenerator.kt:83 */
 5112   9939   
impl HttpPayloadTraitsError {
        9940  +
    /* ServerOperationErrorGenerator.kt:87 */
 5113   9941   
    /// Returns `true` if the error kind is `HttpPayloadTraitsError::InternalServerError`.
        9942  +
    /* ServerOperationErrorGenerator.kt:88 */
 5114   9943   
    pub fn is_internal_server_error(&self) -> bool {
        9944  +
        /* ServerOperationErrorGenerator.kt:89 */
 5115   9945   
        matches!(&self, HttpPayloadTraitsError::InternalServerError(_))
        9946  +
        /* ServerOperationErrorGenerator.kt:88 */
 5116   9947   
    }
        9948  +
    /* ServerOperationErrorGenerator.kt:92 */
 5117   9949   
    /// Returns the error name string by matching the correct variant.
        9950  +
    /* ServerOperationErrorGenerator.kt:93 */
 5118   9951   
    pub fn name(&self) -> &'static str {
        9952  +
        /* ServerOperationErrorGenerator.kt:139 */
 5119   9953   
        match &self {
 5120         -
            HttpPayloadTraitsError::InternalServerError(_inner) => _inner.name(),
        9954  +
            /* ServerOperationErrorGenerator.kt:142 */
        9955  +
            HttpPayloadTraitsError::InternalServerError(_inner) =>
        9956  +
            /* ServerOperationErrorGenerator.kt:95 */
        9957  +
            {
        9958  +
                _inner.name()
        9959  +
            }
        9960  +
            /* ServerOperationErrorGenerator.kt:139 */
 5121   9961   
        }
        9962  +
        /* ServerOperationErrorGenerator.kt:93 */
 5122   9963   
    }
        9964  +
    /* ServerOperationErrorGenerator.kt:83 */
 5123   9965   
}
        9966  +
/* ServerOperationErrorGenerator.kt:100 */
 5124   9967   
impl ::std::error::Error for HttpPayloadTraitsError {
        9968  +
    /* ServerOperationErrorGenerator.kt:101 */
 5125   9969   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        9970  +
        /* ServerOperationErrorGenerator.kt:139 */
 5126   9971   
        match &self {
 5127         -
            HttpPayloadTraitsError::InternalServerError(_inner) => Some(_inner),
        9972  +
            /* ServerOperationErrorGenerator.kt:142 */
        9973  +
            HttpPayloadTraitsError::InternalServerError(_inner) =>
        9974  +
            /* ServerOperationErrorGenerator.kt:103 */
        9975  +
            {
        9976  +
                Some(_inner)
        9977  +
            }
        9978  +
            /* ServerOperationErrorGenerator.kt:139 */
 5128   9979   
        }
        9980  +
        /* ServerOperationErrorGenerator.kt:101 */
 5129   9981   
    }
        9982  +
    /* ServerOperationErrorGenerator.kt:100 */
 5130   9983   
}
        9984  +
/* ServerOperationErrorGenerator.kt:110 */
 5131   9985   
impl ::std::convert::From<crate::error::InternalServerError>
 5132   9986   
    for crate::error::HttpPayloadTraitsError
 5133   9987   
{
        9988  +
    /* ServerOperationErrorGenerator.kt:111 */
 5134   9989   
    fn from(variant: crate::error::InternalServerError) -> crate::error::HttpPayloadTraitsError {
        9990  +
        /* ServerOperationErrorGenerator.kt:112 */
 5135   9991   
        Self::InternalServerError(variant)
        9992  +
        /* ServerOperationErrorGenerator.kt:111 */
 5136   9993   
    }
        9994  +
    /* ServerOperationErrorGenerator.kt:110 */
 5137   9995   
}
 5138   9996   
        9997  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5139   9998   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpPayloadTraitsError {
 5140   9999   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpPayloadTraitsError {
 5141  10000   
        ::pyo3::Python::with_gil(|py| {
 5142  10001   
            let error = variant.value(py);
 5143  10002   
 5144  10003   
            crate::error::InternalServerError {
 5145  10004   
                message: error.to_string(),
 5146  10005   
            }
 5147  10006   
            .into()
 5148  10007   
        })
 5149  10008   
    }
 5150  10009   
}
 5151  10010   
       10011  +
/* ServerOperationErrorGenerator.kt:63 */
 5152  10012   
/// Error type for the `HttpPrefixHeadersInResponse` operation.
       10013  +
/* ServerOperationErrorGenerator.kt:64 */
 5153  10014   
/// Each variant represents an error that can occur for the `HttpPrefixHeadersInResponse` operation.
       10015  +
/* RustType.kt:516 */
 5154  10016   
#[derive(::std::fmt::Debug)]
 5155         -
pub enum HttpPrefixHeadersInResponseError {
       10017  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpPrefixHeadersInResponseError {
       10018  +
    /* ServerOperationErrorGenerator.kt:68 */
 5156  10019   
    #[allow(missing_docs)] // documentation missing in model
       10020  +
    /* ServerOperationErrorGenerator.kt:71 */
 5157  10021   
    InternalServerError(crate::error::InternalServerError),
       10022  +
    /* ServerOperationErrorGenerator.kt:66 */
 5158  10023   
}
       10024  +
/* ServerOperationErrorGenerator.kt:75 */
 5159  10025   
impl ::std::fmt::Display for HttpPrefixHeadersInResponseError {
       10026  +
    /* ServerOperationErrorGenerator.kt:76 */
 5160  10027   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       10028  +
        /* ServerOperationErrorGenerator.kt:139 */
 5161  10029   
        match &self {
 5162         -
            HttpPrefixHeadersInResponseError::InternalServerError(_inner) => _inner.fmt(f),
       10030  +
            /* ServerOperationErrorGenerator.kt:142 */
       10031  +
            HttpPrefixHeadersInResponseError::InternalServerError(_inner) =>
       10032  +
            /* ServerOperationErrorGenerator.kt:78 */
       10033  +
            {
       10034  +
                _inner.fmt(f)
       10035  +
            }
       10036  +
            /* ServerOperationErrorGenerator.kt:139 */
 5163  10037   
        }
       10038  +
        /* ServerOperationErrorGenerator.kt:76 */
 5164  10039   
    }
       10040  +
    /* ServerOperationErrorGenerator.kt:75 */
 5165  10041   
}
       10042  +
/* ServerOperationErrorGenerator.kt:83 */
 5166  10043   
impl HttpPrefixHeadersInResponseError {
       10044  +
    /* ServerOperationErrorGenerator.kt:87 */
 5167  10045   
    /// Returns `true` if the error kind is `HttpPrefixHeadersInResponseError::InternalServerError`.
       10046  +
    /* ServerOperationErrorGenerator.kt:88 */
 5168  10047   
    pub fn is_internal_server_error(&self) -> bool {
       10048  +
        /* ServerOperationErrorGenerator.kt:89 */
 5169  10049   
        matches!(
 5170  10050   
            &self,
 5171  10051   
            HttpPrefixHeadersInResponseError::InternalServerError(_)
 5172  10052   
        )
       10053  +
        /* ServerOperationErrorGenerator.kt:88 */
 5173  10054   
    }
       10055  +
    /* ServerOperationErrorGenerator.kt:92 */
 5174  10056   
    /// Returns the error name string by matching the correct variant.
       10057  +
    /* ServerOperationErrorGenerator.kt:93 */
 5175  10058   
    pub fn name(&self) -> &'static str {
       10059  +
        /* ServerOperationErrorGenerator.kt:139 */
 5176  10060   
        match &self {
 5177         -
            HttpPrefixHeadersInResponseError::InternalServerError(_inner) => _inner.name(),
       10061  +
            /* ServerOperationErrorGenerator.kt:142 */
       10062  +
            HttpPrefixHeadersInResponseError::InternalServerError(_inner) =>
       10063  +
            /* ServerOperationErrorGenerator.kt:95 */
       10064  +
            {
       10065  +
                _inner.name()
       10066  +
            }
       10067  +
            /* ServerOperationErrorGenerator.kt:139 */
 5178  10068   
        }
       10069  +
        /* ServerOperationErrorGenerator.kt:93 */
 5179  10070   
    }
       10071  +
    /* ServerOperationErrorGenerator.kt:83 */
 5180  10072   
}
       10073  +
/* ServerOperationErrorGenerator.kt:100 */
 5181  10074   
impl ::std::error::Error for HttpPrefixHeadersInResponseError {
       10075  +
    /* ServerOperationErrorGenerator.kt:101 */
 5182  10076   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       10077  +
        /* ServerOperationErrorGenerator.kt:139 */
 5183  10078   
        match &self {
 5184         -
            HttpPrefixHeadersInResponseError::InternalServerError(_inner) => Some(_inner),
       10079  +
            /* ServerOperationErrorGenerator.kt:142 */
       10080  +
            HttpPrefixHeadersInResponseError::InternalServerError(_inner) =>
       10081  +
            /* ServerOperationErrorGenerator.kt:103 */
       10082  +
            {
       10083  +
                Some(_inner)
       10084  +
            }
       10085  +
            /* ServerOperationErrorGenerator.kt:139 */
 5185  10086   
        }
       10087  +
        /* ServerOperationErrorGenerator.kt:101 */
 5186  10088   
    }
       10089  +
    /* ServerOperationErrorGenerator.kt:100 */
 5187  10090   
}
       10091  +
/* ServerOperationErrorGenerator.kt:110 */
 5188  10092   
impl ::std::convert::From<crate::error::InternalServerError>
 5189  10093   
    for crate::error::HttpPrefixHeadersInResponseError
 5190  10094   
{
       10095  +
    /* ServerOperationErrorGenerator.kt:111 */
 5191  10096   
    fn from(
 5192  10097   
        variant: crate::error::InternalServerError,
 5193  10098   
    ) -> crate::error::HttpPrefixHeadersInResponseError {
       10099  +
        /* ServerOperationErrorGenerator.kt:112 */
 5194  10100   
        Self::InternalServerError(variant)
       10101  +
        /* ServerOperationErrorGenerator.kt:111 */
 5195  10102   
    }
       10103  +
    /* ServerOperationErrorGenerator.kt:110 */
 5196  10104   
}
 5197  10105   
       10106  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5198  10107   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpPrefixHeadersInResponseError {
 5199  10108   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpPrefixHeadersInResponseError {
 5200  10109   
        ::pyo3::Python::with_gil(|py| {
 5201  10110   
            let error = variant.value(py);
 5202  10111   
 5203  10112   
            crate::error::InternalServerError {
 5204  10113   
                message: error.to_string(),
 5205  10114   
            }
 5206  10115   
            .into()
 5207  10116   
        })
 5208  10117   
    }
 5209  10118   
}
 5210  10119   
       10120  +
/* ServerOperationErrorGenerator.kt:63 */
 5211  10121   
/// Error type for the `HttpPrefixHeaders` operation.
       10122  +
/* ServerOperationErrorGenerator.kt:64 */
 5212  10123   
/// Each variant represents an error that can occur for the `HttpPrefixHeaders` operation.
       10124  +
/* RustType.kt:516 */
 5213  10125   
#[derive(::std::fmt::Debug)]
 5214         -
pub enum HttpPrefixHeadersError {
       10126  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpPrefixHeadersError {
       10127  +
    /* ServerOperationErrorGenerator.kt:68 */
 5215  10128   
    #[allow(missing_docs)] // documentation missing in model
       10129  +
    /* ServerOperationErrorGenerator.kt:71 */
 5216  10130   
    InternalServerError(crate::error::InternalServerError),
       10131  +
    /* ServerOperationErrorGenerator.kt:66 */
 5217  10132   
}
       10133  +
/* ServerOperationErrorGenerator.kt:75 */
 5218  10134   
impl ::std::fmt::Display for HttpPrefixHeadersError {
       10135  +
    /* ServerOperationErrorGenerator.kt:76 */
 5219  10136   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       10137  +
        /* ServerOperationErrorGenerator.kt:139 */
 5220  10138   
        match &self {
 5221         -
            HttpPrefixHeadersError::InternalServerError(_inner) => _inner.fmt(f),
       10139  +
            /* ServerOperationErrorGenerator.kt:142 */
       10140  +
            HttpPrefixHeadersError::InternalServerError(_inner) =>
       10141  +
            /* ServerOperationErrorGenerator.kt:78 */
       10142  +
            {
       10143  +
                _inner.fmt(f)
       10144  +
            }
       10145  +
            /* ServerOperationErrorGenerator.kt:139 */
 5222  10146   
        }
       10147  +
        /* ServerOperationErrorGenerator.kt:76 */
 5223  10148   
    }
       10149  +
    /* ServerOperationErrorGenerator.kt:75 */
 5224  10150   
}
       10151  +
/* ServerOperationErrorGenerator.kt:83 */
 5225  10152   
impl HttpPrefixHeadersError {
       10153  +
    /* ServerOperationErrorGenerator.kt:87 */
 5226  10154   
    /// Returns `true` if the error kind is `HttpPrefixHeadersError::InternalServerError`.
       10155  +
    /* ServerOperationErrorGenerator.kt:88 */
 5227  10156   
    pub fn is_internal_server_error(&self) -> bool {
       10157  +
        /* ServerOperationErrorGenerator.kt:89 */
 5228  10158   
        matches!(&self, HttpPrefixHeadersError::InternalServerError(_))
       10159  +
        /* ServerOperationErrorGenerator.kt:88 */
 5229  10160   
    }
       10161  +
    /* ServerOperationErrorGenerator.kt:92 */
 5230  10162   
    /// Returns the error name string by matching the correct variant.
       10163  +
    /* ServerOperationErrorGenerator.kt:93 */
 5231  10164   
    pub fn name(&self) -> &'static str {
       10165  +
        /* ServerOperationErrorGenerator.kt:139 */
 5232  10166   
        match &self {
 5233         -
            HttpPrefixHeadersError::InternalServerError(_inner) => _inner.name(),
       10167  +
            /* ServerOperationErrorGenerator.kt:142 */
       10168  +
            HttpPrefixHeadersError::InternalServerError(_inner) =>
       10169  +
            /* ServerOperationErrorGenerator.kt:95 */
       10170  +
            {
       10171  +
                _inner.name()
       10172  +
            }
       10173  +
            /* ServerOperationErrorGenerator.kt:139 */
 5234  10174   
        }
       10175  +
        /* ServerOperationErrorGenerator.kt:93 */
 5235  10176   
    }
       10177  +
    /* ServerOperationErrorGenerator.kt:83 */
 5236  10178   
}
       10179  +
/* ServerOperationErrorGenerator.kt:100 */
 5237  10180   
impl ::std::error::Error for HttpPrefixHeadersError {
       10181  +
    /* ServerOperationErrorGenerator.kt:101 */
 5238  10182   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       10183  +
        /* ServerOperationErrorGenerator.kt:139 */
 5239  10184   
        match &self {
 5240         -
            HttpPrefixHeadersError::InternalServerError(_inner) => Some(_inner),
       10185  +
            /* ServerOperationErrorGenerator.kt:142 */
       10186  +
            HttpPrefixHeadersError::InternalServerError(_inner) =>
       10187  +
            /* ServerOperationErrorGenerator.kt:103 */
       10188  +
            {
       10189  +
                Some(_inner)
       10190  +
            }
       10191  +
            /* ServerOperationErrorGenerator.kt:139 */
 5241  10192   
        }
       10193  +
        /* ServerOperationErrorGenerator.kt:101 */
 5242  10194   
    }
       10195  +
    /* ServerOperationErrorGenerator.kt:100 */
 5243  10196   
}
       10197  +
/* ServerOperationErrorGenerator.kt:110 */
 5244  10198   
impl ::std::convert::From<crate::error::InternalServerError>
 5245  10199   
    for crate::error::HttpPrefixHeadersError
 5246  10200   
{
       10201  +
    /* ServerOperationErrorGenerator.kt:111 */
 5247  10202   
    fn from(variant: crate::error::InternalServerError) -> crate::error::HttpPrefixHeadersError {
       10203  +
        /* ServerOperationErrorGenerator.kt:112 */
 5248  10204   
        Self::InternalServerError(variant)
       10205  +
        /* ServerOperationErrorGenerator.kt:111 */
 5249  10206   
    }
       10207  +
    /* ServerOperationErrorGenerator.kt:110 */
 5250  10208   
}
 5251  10209   
       10210  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5252  10211   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpPrefixHeadersError {
 5253  10212   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpPrefixHeadersError {
 5254  10213   
        ::pyo3::Python::with_gil(|py| {
 5255  10214   
            let error = variant.value(py);
 5256  10215   
 5257  10216   
            crate::error::InternalServerError {
 5258  10217   
                message: error.to_string(),
 5259  10218   
            }
 5260  10219   
            .into()
 5261  10220   
        })
 5262  10221   
    }
 5263  10222   
}
 5264  10223   
       10224  +
/* ServerOperationErrorGenerator.kt:63 */
 5265  10225   
/// Error type for the `QueryParamsAsStringListMap` operation.
       10226  +
/* ServerOperationErrorGenerator.kt:64 */
 5266  10227   
/// Each variant represents an error that can occur for the `QueryParamsAsStringListMap` operation.
       10228  +
/* RustType.kt:516 */
 5267  10229   
#[derive(::std::fmt::Debug)]
 5268         -
pub enum QueryParamsAsStringListMapError {
       10230  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsAsStringListMapError {
       10231  +
    /* ServerOperationErrorGenerator.kt:68 */
 5269  10232   
    #[allow(missing_docs)] // documentation missing in model
       10233  +
    /* ServerOperationErrorGenerator.kt:71 */
 5270  10234   
    InternalServerError(crate::error::InternalServerError),
       10235  +
    /* ServerOperationErrorGenerator.kt:66 */
 5271  10236   
}
       10237  +
/* ServerOperationErrorGenerator.kt:75 */
 5272  10238   
impl ::std::fmt::Display for QueryParamsAsStringListMapError {
       10239  +
    /* ServerOperationErrorGenerator.kt:76 */
 5273  10240   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       10241  +
        /* ServerOperationErrorGenerator.kt:139 */
 5274  10242   
        match &self {
 5275         -
            QueryParamsAsStringListMapError::InternalServerError(_inner) => _inner.fmt(f),
       10243  +
            /* ServerOperationErrorGenerator.kt:142 */
       10244  +
            QueryParamsAsStringListMapError::InternalServerError(_inner) =>
       10245  +
            /* ServerOperationErrorGenerator.kt:78 */
       10246  +
            {
       10247  +
                _inner.fmt(f)
       10248  +
            }
       10249  +
            /* ServerOperationErrorGenerator.kt:139 */
 5276  10250   
        }
       10251  +
        /* ServerOperationErrorGenerator.kt:76 */
 5277  10252   
    }
       10253  +
    /* ServerOperationErrorGenerator.kt:75 */
 5278  10254   
}
       10255  +
/* ServerOperationErrorGenerator.kt:83 */
 5279  10256   
impl QueryParamsAsStringListMapError {
       10257  +
    /* ServerOperationErrorGenerator.kt:87 */
 5280  10258   
    /// Returns `true` if the error kind is `QueryParamsAsStringListMapError::InternalServerError`.
       10259  +
    /* ServerOperationErrorGenerator.kt:88 */
 5281  10260   
    pub fn is_internal_server_error(&self) -> bool {
       10261  +
        /* ServerOperationErrorGenerator.kt:89 */
 5282  10262   
        matches!(
 5283  10263   
            &self,
 5284  10264   
            QueryParamsAsStringListMapError::InternalServerError(_)
 5285  10265   
        )
       10266  +
        /* ServerOperationErrorGenerator.kt:88 */
 5286  10267   
    }
       10268  +
    /* ServerOperationErrorGenerator.kt:92 */
 5287  10269   
    /// Returns the error name string by matching the correct variant.
       10270  +
    /* ServerOperationErrorGenerator.kt:93 */
 5288  10271   
    pub fn name(&self) -> &'static str {
       10272  +
        /* ServerOperationErrorGenerator.kt:139 */
 5289  10273   
        match &self {
 5290         -
            QueryParamsAsStringListMapError::InternalServerError(_inner) => _inner.name(),
       10274  +
            /* ServerOperationErrorGenerator.kt:142 */
       10275  +
            QueryParamsAsStringListMapError::InternalServerError(_inner) =>
       10276  +
            /* ServerOperationErrorGenerator.kt:95 */
       10277  +
            {
       10278  +
                _inner.name()
       10279  +
            }
       10280  +
            /* ServerOperationErrorGenerator.kt:139 */
 5291  10281   
        }
       10282  +
        /* ServerOperationErrorGenerator.kt:93 */
 5292  10283   
    }
       10284  +
    /* ServerOperationErrorGenerator.kt:83 */
 5293  10285   
}
       10286  +
/* ServerOperationErrorGenerator.kt:100 */
 5294  10287   
impl ::std::error::Error for QueryParamsAsStringListMapError {
       10288  +
    /* ServerOperationErrorGenerator.kt:101 */
 5295  10289   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       10290  +
        /* ServerOperationErrorGenerator.kt:139 */
 5296  10291   
        match &self {
 5297         -
            QueryParamsAsStringListMapError::InternalServerError(_inner) => Some(_inner),
       10292  +
            /* ServerOperationErrorGenerator.kt:142 */
       10293  +
            QueryParamsAsStringListMapError::InternalServerError(_inner) =>
       10294  +
            /* ServerOperationErrorGenerator.kt:103 */
       10295  +
            {
       10296  +
                Some(_inner)
       10297  +
            }
       10298  +
            /* ServerOperationErrorGenerator.kt:139 */
 5298  10299   
        }
       10300  +
        /* ServerOperationErrorGenerator.kt:101 */
 5299  10301   
    }
       10302  +
    /* ServerOperationErrorGenerator.kt:100 */
 5300  10303   
}
       10304  +
/* ServerOperationErrorGenerator.kt:110 */
 5301  10305   
impl ::std::convert::From<crate::error::InternalServerError>
 5302  10306   
    for crate::error::QueryParamsAsStringListMapError
 5303  10307   
{
       10308  +
    /* ServerOperationErrorGenerator.kt:111 */
 5304  10309   
    fn from(
 5305  10310   
        variant: crate::error::InternalServerError,
 5306  10311   
    ) -> crate::error::QueryParamsAsStringListMapError {
       10312  +
        /* ServerOperationErrorGenerator.kt:112 */
 5307  10313   
        Self::InternalServerError(variant)
       10314  +
        /* ServerOperationErrorGenerator.kt:111 */
 5308  10315   
    }
       10316  +
    /* ServerOperationErrorGenerator.kt:110 */
 5309  10317   
}
 5310  10318   
       10319  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5311  10320   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::QueryParamsAsStringListMapError {
 5312  10321   
    fn from(variant: ::pyo3::PyErr) -> crate::error::QueryParamsAsStringListMapError {
 5313  10322   
        ::pyo3::Python::with_gil(|py| {
 5314  10323   
            let error = variant.value(py);
 5315  10324   
 5316  10325   
            crate::error::InternalServerError {
 5317  10326   
                message: error.to_string(),
 5318  10327   
            }
 5319  10328   
            .into()
 5320  10329   
        })
 5321  10330   
    }
 5322  10331   
}
 5323  10332   
       10333  +
/* ServerOperationErrorGenerator.kt:63 */
 5324  10334   
/// Error type for the `QueryPrecedence` operation.
       10335  +
/* ServerOperationErrorGenerator.kt:64 */
 5325  10336   
/// Each variant represents an error that can occur for the `QueryPrecedence` operation.
       10337  +
/* RustType.kt:516 */
 5326  10338   
#[derive(::std::fmt::Debug)]
 5327         -
pub enum QueryPrecedenceError {
       10339  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryPrecedenceError {
       10340  +
    /* ServerOperationErrorGenerator.kt:68 */
 5328  10341   
    #[allow(missing_docs)] // documentation missing in model
       10342  +
    /* ServerOperationErrorGenerator.kt:71 */
 5329  10343   
    InternalServerError(crate::error::InternalServerError),
       10344  +
    /* ServerOperationErrorGenerator.kt:66 */
 5330  10345   
}
       10346  +
/* ServerOperationErrorGenerator.kt:75 */
 5331  10347   
impl ::std::fmt::Display for QueryPrecedenceError {
       10348  +
    /* ServerOperationErrorGenerator.kt:76 */
 5332  10349   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       10350  +
        /* ServerOperationErrorGenerator.kt:139 */
 5333  10351   
        match &self {
 5334         -
            QueryPrecedenceError::InternalServerError(_inner) => _inner.fmt(f),
       10352  +
            /* ServerOperationErrorGenerator.kt:142 */
       10353  +
            QueryPrecedenceError::InternalServerError(_inner) =>
       10354  +
            /* ServerOperationErrorGenerator.kt:78 */
       10355  +
            {
       10356  +
                _inner.fmt(f)
       10357  +
            }
       10358  +
            /* ServerOperationErrorGenerator.kt:139 */
 5335  10359   
        }
       10360  +
        /* ServerOperationErrorGenerator.kt:76 */
 5336  10361   
    }
       10362  +
    /* ServerOperationErrorGenerator.kt:75 */
 5337  10363   
}
       10364  +
/* ServerOperationErrorGenerator.kt:83 */
 5338  10365   
impl QueryPrecedenceError {
       10366  +
    /* ServerOperationErrorGenerator.kt:87 */
 5339  10367   
    /// Returns `true` if the error kind is `QueryPrecedenceError::InternalServerError`.
       10368  +
    /* ServerOperationErrorGenerator.kt:88 */
 5340  10369   
    pub fn is_internal_server_error(&self) -> bool {
       10370  +
        /* ServerOperationErrorGenerator.kt:89 */
 5341  10371   
        matches!(&self, QueryPrecedenceError::InternalServerError(_))
       10372  +
        /* ServerOperationErrorGenerator.kt:88 */
 5342  10373   
    }
       10374  +
    /* ServerOperationErrorGenerator.kt:92 */
 5343  10375   
    /// Returns the error name string by matching the correct variant.
       10376  +
    /* ServerOperationErrorGenerator.kt:93 */
 5344  10377   
    pub fn name(&self) -> &'static str {
       10378  +
        /* ServerOperationErrorGenerator.kt:139 */
 5345  10379   
        match &self {
 5346         -
            QueryPrecedenceError::InternalServerError(_inner) => _inner.name(),
       10380  +
            /* ServerOperationErrorGenerator.kt:142 */
       10381  +
            QueryPrecedenceError::InternalServerError(_inner) =>
       10382  +
            /* ServerOperationErrorGenerator.kt:95 */
       10383  +
            {
       10384  +
                _inner.name()
       10385  +
            }
       10386  +
            /* ServerOperationErrorGenerator.kt:139 */
 5347  10387   
        }
       10388  +
        /* ServerOperationErrorGenerator.kt:93 */
 5348  10389   
    }
       10390  +
    /* ServerOperationErrorGenerator.kt:83 */
 5349  10391   
}
       10392  +
/* ServerOperationErrorGenerator.kt:100 */
 5350  10393   
impl ::std::error::Error for QueryPrecedenceError {
       10394  +
    /* ServerOperationErrorGenerator.kt:101 */
 5351  10395   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       10396  +
        /* ServerOperationErrorGenerator.kt:139 */
 5352  10397   
        match &self {
 5353         -
            QueryPrecedenceError::InternalServerError(_inner) => Some(_inner),
       10398  +
            /* ServerOperationErrorGenerator.kt:142 */
       10399  +
            QueryPrecedenceError::InternalServerError(_inner) =>
       10400  +
            /* ServerOperationErrorGenerator.kt:103 */
       10401  +
            {
       10402  +
                Some(_inner)
       10403  +
            }
       10404  +
            /* ServerOperationErrorGenerator.kt:139 */
 5354  10405   
        }
       10406  +
        /* ServerOperationErrorGenerator.kt:101 */
 5355  10407   
    }
       10408  +
    /* ServerOperationErrorGenerator.kt:100 */
 5356  10409   
}
       10410  +
/* ServerOperationErrorGenerator.kt:110 */
 5357  10411   
impl ::std::convert::From<crate::error::InternalServerError>
 5358  10412   
    for crate::error::QueryPrecedenceError
 5359  10413   
{
       10414  +
    /* ServerOperationErrorGenerator.kt:111 */
 5360  10415   
    fn from(variant: crate::error::InternalServerError) -> crate::error::QueryPrecedenceError {
       10416  +
        /* ServerOperationErrorGenerator.kt:112 */
 5361  10417   
        Self::InternalServerError(variant)
       10418  +
        /* ServerOperationErrorGenerator.kt:111 */
 5362  10419   
    }
       10420  +
    /* ServerOperationErrorGenerator.kt:110 */
 5363  10421   
}
 5364  10422   
       10423  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5365  10424   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::QueryPrecedenceError {
 5366  10425   
    fn from(variant: ::pyo3::PyErr) -> crate::error::QueryPrecedenceError {
 5367  10426   
        ::pyo3::Python::with_gil(|py| {
 5368  10427   
            let error = variant.value(py);
 5369  10428   
 5370  10429   
            crate::error::InternalServerError {
 5371  10430   
                message: error.to_string(),
 5372  10431   
            }
 5373  10432   
            .into()
 5374  10433   
        })
 5375  10434   
    }
 5376  10435   
}
 5377  10436   
       10437  +
/* ServerOperationErrorGenerator.kt:63 */
 5378  10438   
/// Error type for the `QueryIdempotencyTokenAutoFill` operation.
       10439  +
/* ServerOperationErrorGenerator.kt:64 */
 5379  10440   
/// Each variant represents an error that can occur for the `QueryIdempotencyTokenAutoFill` operation.
       10441  +
/* RustType.kt:516 */
 5380  10442   
#[derive(::std::fmt::Debug)]
 5381         -
pub enum QueryIdempotencyTokenAutoFillError {
       10443  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryIdempotencyTokenAutoFillError {
       10444  +
    /* ServerOperationErrorGenerator.kt:68 */
 5382  10445   
    #[allow(missing_docs)] // documentation missing in model
       10446  +
    /* ServerOperationErrorGenerator.kt:71 */
 5383  10447   
    InternalServerError(crate::error::InternalServerError),
       10448  +
    /* ServerOperationErrorGenerator.kt:66 */
 5384  10449   
}
       10450  +
/* ServerOperationErrorGenerator.kt:75 */
 5385  10451   
impl ::std::fmt::Display for QueryIdempotencyTokenAutoFillError {
       10452  +
    /* ServerOperationErrorGenerator.kt:76 */
 5386  10453   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       10454  +
        /* ServerOperationErrorGenerator.kt:139 */
 5387  10455   
        match &self {
 5388         -
            QueryIdempotencyTokenAutoFillError::InternalServerError(_inner) => _inner.fmt(f),
       10456  +
            /* ServerOperationErrorGenerator.kt:142 */
       10457  +
            QueryIdempotencyTokenAutoFillError::InternalServerError(_inner) =>
       10458  +
            /* ServerOperationErrorGenerator.kt:78 */
       10459  +
            {
       10460  +
                _inner.fmt(f)
       10461  +
            }
       10462  +
            /* ServerOperationErrorGenerator.kt:139 */
 5389  10463   
        }
       10464  +
        /* ServerOperationErrorGenerator.kt:76 */
 5390  10465   
    }
       10466  +
    /* ServerOperationErrorGenerator.kt:75 */
 5391  10467   
}
       10468  +
/* ServerOperationErrorGenerator.kt:83 */
 5392  10469   
impl QueryIdempotencyTokenAutoFillError {
       10470  +
    /* ServerOperationErrorGenerator.kt:87 */
 5393  10471   
    /// Returns `true` if the error kind is `QueryIdempotencyTokenAutoFillError::InternalServerError`.
       10472  +
    /* ServerOperationErrorGenerator.kt:88 */
 5394  10473   
    pub fn is_internal_server_error(&self) -> bool {
       10474  +
        /* ServerOperationErrorGenerator.kt:89 */
 5395  10475   
        matches!(
 5396  10476   
            &self,
 5397  10477   
            QueryIdempotencyTokenAutoFillError::InternalServerError(_)
 5398  10478   
        )
       10479  +
        /* ServerOperationErrorGenerator.kt:88 */
 5399  10480   
    }
       10481  +
    /* ServerOperationErrorGenerator.kt:92 */
 5400  10482   
    /// Returns the error name string by matching the correct variant.
       10483  +
    /* ServerOperationErrorGenerator.kt:93 */
 5401  10484   
    pub fn name(&self) -> &'static str {
       10485  +
        /* ServerOperationErrorGenerator.kt:139 */
 5402  10486   
        match &self {
 5403         -
            QueryIdempotencyTokenAutoFillError::InternalServerError(_inner) => _inner.name(),
       10487  +
            /* ServerOperationErrorGenerator.kt:142 */
       10488  +
            QueryIdempotencyTokenAutoFillError::InternalServerError(_inner) =>
       10489  +
            /* ServerOperationErrorGenerator.kt:95 */
       10490  +
            {
       10491  +
                _inner.name()
       10492  +
            }
       10493  +
            /* ServerOperationErrorGenerator.kt:139 */
 5404  10494   
        }
       10495  +
        /* ServerOperationErrorGenerator.kt:93 */
 5405  10496   
    }
       10497  +
    /* ServerOperationErrorGenerator.kt:83 */
 5406  10498   
}
       10499  +
/* ServerOperationErrorGenerator.kt:100 */
 5407  10500   
impl ::std::error::Error for QueryIdempotencyTokenAutoFillError {
       10501  +
    /* ServerOperationErrorGenerator.kt:101 */
 5408  10502   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       10503  +
        /* ServerOperationErrorGenerator.kt:139 */
 5409  10504   
        match &self {
 5410         -
            QueryIdempotencyTokenAutoFillError::InternalServerError(_inner) => Some(_inner),
       10505  +
            /* ServerOperationErrorGenerator.kt:142 */
       10506  +
            QueryIdempotencyTokenAutoFillError::InternalServerError(_inner) =>
       10507  +
            /* ServerOperationErrorGenerator.kt:103 */
       10508  +
            {
       10509  +
                Some(_inner)
       10510  +
            }
       10511  +
            /* ServerOperationErrorGenerator.kt:139 */
 5411  10512   
        }
       10513  +
        /* ServerOperationErrorGenerator.kt:101 */
 5412  10514   
    }
       10515  +
    /* ServerOperationErrorGenerator.kt:100 */
 5413  10516   
}
       10517  +
/* ServerOperationErrorGenerator.kt:110 */
 5414  10518   
impl ::std::convert::From<crate::error::InternalServerError>
 5415  10519   
    for crate::error::QueryIdempotencyTokenAutoFillError
 5416  10520   
{
       10521  +
    /* ServerOperationErrorGenerator.kt:111 */
 5417  10522   
    fn from(
 5418  10523   
        variant: crate::error::InternalServerError,
 5419  10524   
    ) -> crate::error::QueryIdempotencyTokenAutoFillError {
       10525  +
        /* ServerOperationErrorGenerator.kt:112 */
 5420  10526   
        Self::InternalServerError(variant)
       10527  +
        /* ServerOperationErrorGenerator.kt:111 */
 5421  10528   
    }
       10529  +
    /* ServerOperationErrorGenerator.kt:110 */
 5422  10530   
}
 5423  10531   
       10532  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5424  10533   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::QueryIdempotencyTokenAutoFillError {
 5425  10534   
    fn from(variant: ::pyo3::PyErr) -> crate::error::QueryIdempotencyTokenAutoFillError {
 5426  10535   
        ::pyo3::Python::with_gil(|py| {
 5427  10536   
            let error = variant.value(py);
 5428  10537   
 5429  10538   
            crate::error::InternalServerError {
 5430  10539   
                message: error.to_string(),
 5431  10540   
            }
 5432  10541   
            .into()
 5433  10542   
        })
 5434  10543   
    }
 5435  10544   
}
 5436  10545   
       10546  +
/* ServerOperationErrorGenerator.kt:63 */
 5437  10547   
/// Error type for the `OmitsSerializingEmptyLists` operation.
       10548  +
/* ServerOperationErrorGenerator.kt:64 */
 5438  10549   
/// Each variant represents an error that can occur for the `OmitsSerializingEmptyLists` operation.
       10550  +
/* RustType.kt:516 */
 5439  10551   
#[derive(::std::fmt::Debug)]
 5440         -
pub enum OmitsSerializingEmptyListsError {
 5441         -
    /// 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.
       10552  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum OmitsSerializingEmptyListsError {
       10553  +
    /// /* 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.
       10554  +
    /* ServerOperationErrorGenerator.kt:71 */
 5442  10555   
    ValidationException(crate::error::ValidationException),
       10556  +
    /* ServerOperationErrorGenerator.kt:68 */
 5443  10557   
    #[allow(missing_docs)] // documentation missing in model
       10558  +
    /* ServerOperationErrorGenerator.kt:71 */
 5444  10559   
    InternalServerError(crate::error::InternalServerError),
       10560  +
    /* ServerOperationErrorGenerator.kt:66 */
 5445  10561   
}
       10562  +
/* ServerOperationErrorGenerator.kt:75 */
 5446  10563   
impl ::std::fmt::Display for OmitsSerializingEmptyListsError {
       10564  +
    /* ServerOperationErrorGenerator.kt:76 */
 5447  10565   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       10566  +
        /* ServerOperationErrorGenerator.kt:139 */
 5448  10567   
        match &self {
 5449         -
            OmitsSerializingEmptyListsError::ValidationException(_inner) => _inner.fmt(f),
 5450         -
            OmitsSerializingEmptyListsError::InternalServerError(_inner) => _inner.fmt(f),
       10568  +
            /* ServerOperationErrorGenerator.kt:142 */
       10569  +
            OmitsSerializingEmptyListsError::ValidationException(_inner) =>
       10570  +
            /* ServerOperationErrorGenerator.kt:78 */
       10571  +
            {
       10572  +
                _inner.fmt(f)
       10573  +
            }
       10574  +
            ,
       10575  +
            /* ServerOperationErrorGenerator.kt:142 */
       10576  +
            OmitsSerializingEmptyListsError::InternalServerError(_inner) =>
       10577  +
            /* ServerOperationErrorGenerator.kt:78 */
       10578  +
            {
       10579  +
                _inner.fmt(f)
       10580  +
            }
       10581  +
            /* ServerOperationErrorGenerator.kt:139 */
 5451  10582   
        }
       10583  +
        /* ServerOperationErrorGenerator.kt:76 */
 5452  10584   
    }
       10585  +
    /* ServerOperationErrorGenerator.kt:75 */
 5453  10586   
}
       10587  +
/* ServerOperationErrorGenerator.kt:83 */
 5454  10588   
impl OmitsSerializingEmptyListsError {
       10589  +
    /* ServerOperationErrorGenerator.kt:87 */
 5455  10590   
    /// Returns `true` if the error kind is `OmitsSerializingEmptyListsError::ValidationException`.
       10591  +
    /* ServerOperationErrorGenerator.kt:88 */
 5456  10592   
    pub fn is_validation_exception(&self) -> bool {
       10593  +
        /* ServerOperationErrorGenerator.kt:89 */
 5457  10594   
        matches!(
 5458  10595   
            &self,
 5459  10596   
            OmitsSerializingEmptyListsError::ValidationException(_)
 5460  10597   
        )
       10598  +
        /* ServerOperationErrorGenerator.kt:88 */
 5461  10599   
    }
       10600  +
    /* ServerOperationErrorGenerator.kt:87 */
 5462  10601   
    /// Returns `true` if the error kind is `OmitsSerializingEmptyListsError::InternalServerError`.
       10602  +
    /* ServerOperationErrorGenerator.kt:88 */
 5463  10603   
    pub fn is_internal_server_error(&self) -> bool {
       10604  +
        /* ServerOperationErrorGenerator.kt:89 */
 5464  10605   
        matches!(
 5465  10606   
            &self,
 5466  10607   
            OmitsSerializingEmptyListsError::InternalServerError(_)
 5467  10608   
        )
       10609  +
        /* ServerOperationErrorGenerator.kt:88 */
 5468  10610   
    }
       10611  +
    /* ServerOperationErrorGenerator.kt:92 */
 5469  10612   
    /// Returns the error name string by matching the correct variant.
       10613  +
    /* ServerOperationErrorGenerator.kt:93 */
 5470  10614   
    pub fn name(&self) -> &'static str {
       10615  +
        /* ServerOperationErrorGenerator.kt:139 */
 5471  10616   
        match &self {
 5472         -
            OmitsSerializingEmptyListsError::ValidationException(_inner) => _inner.name(),
 5473         -
            OmitsSerializingEmptyListsError::InternalServerError(_inner) => _inner.name(),
       10617  +
            /* ServerOperationErrorGenerator.kt:142 */
       10618  +
            OmitsSerializingEmptyListsError::ValidationException(_inner) =>
       10619  +
            /* ServerOperationErrorGenerator.kt:95 */
       10620  +
            {
       10621  +
                _inner.name()
       10622  +
            }
       10623  +
            ,
       10624  +
            /* ServerOperationErrorGenerator.kt:142 */
       10625  +
            OmitsSerializingEmptyListsError::InternalServerError(_inner) =>
       10626  +
            /* ServerOperationErrorGenerator.kt:95 */
       10627  +
            {
       10628  +
                _inner.name()
       10629  +
            }
       10630  +
            /* ServerOperationErrorGenerator.kt:139 */
 5474  10631   
        }
       10632  +
        /* ServerOperationErrorGenerator.kt:93 */
 5475  10633   
    }
       10634  +
    /* ServerOperationErrorGenerator.kt:83 */
 5476  10635   
}
       10636  +
/* ServerOperationErrorGenerator.kt:100 */
 5477  10637   
impl ::std::error::Error for OmitsSerializingEmptyListsError {
       10638  +
    /* ServerOperationErrorGenerator.kt:101 */
 5478  10639   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       10640  +
        /* ServerOperationErrorGenerator.kt:139 */
 5479  10641   
        match &self {
 5480         -
            OmitsSerializingEmptyListsError::ValidationException(_inner) => Some(_inner),
 5481         -
            OmitsSerializingEmptyListsError::InternalServerError(_inner) => Some(_inner),
       10642  +
            /* ServerOperationErrorGenerator.kt:142 */
       10643  +
            OmitsSerializingEmptyListsError::ValidationException(_inner) =>
       10644  +
            /* ServerOperationErrorGenerator.kt:103 */
       10645  +
            {
       10646  +
                Some(_inner)
       10647  +
            }
       10648  +
            ,
       10649  +
            /* ServerOperationErrorGenerator.kt:142 */
       10650  +
            OmitsSerializingEmptyListsError::InternalServerError(_inner) =>
       10651  +
            /* ServerOperationErrorGenerator.kt:103 */
       10652  +
            {
       10653  +
                Some(_inner)
       10654  +
            }
       10655  +
            /* ServerOperationErrorGenerator.kt:139 */
 5482  10656   
        }
       10657  +
        /* ServerOperationErrorGenerator.kt:101 */
 5483  10658   
    }
       10659  +
    /* ServerOperationErrorGenerator.kt:100 */
 5484  10660   
}
       10661  +
/* ServerOperationErrorGenerator.kt:110 */
 5485  10662   
impl ::std::convert::From<crate::error::ValidationException>
 5486  10663   
    for crate::error::OmitsSerializingEmptyListsError
 5487  10664   
{
       10665  +
    /* ServerOperationErrorGenerator.kt:111 */
 5488  10666   
    fn from(
 5489  10667   
        variant: crate::error::ValidationException,
 5490  10668   
    ) -> crate::error::OmitsSerializingEmptyListsError {
       10669  +
        /* ServerOperationErrorGenerator.kt:112 */
 5491  10670   
        Self::ValidationException(variant)
       10671  +
        /* ServerOperationErrorGenerator.kt:111 */
 5492  10672   
    }
       10673  +
    /* ServerOperationErrorGenerator.kt:110 */
 5493  10674   
}
       10675  +
/* ServerOperationErrorGenerator.kt:110 */
 5494  10676   
impl ::std::convert::From<crate::error::InternalServerError>
 5495  10677   
    for crate::error::OmitsSerializingEmptyListsError
 5496  10678   
{
       10679  +
    /* ServerOperationErrorGenerator.kt:111 */
 5497  10680   
    fn from(
 5498  10681   
        variant: crate::error::InternalServerError,
 5499  10682   
    ) -> crate::error::OmitsSerializingEmptyListsError {
       10683  +
        /* ServerOperationErrorGenerator.kt:112 */
 5500  10684   
        Self::InternalServerError(variant)
       10685  +
        /* ServerOperationErrorGenerator.kt:111 */
 5501  10686   
    }
       10687  +
    /* ServerOperationErrorGenerator.kt:110 */
 5502  10688   
}
 5503  10689   
       10690  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5504  10691   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::OmitsSerializingEmptyListsError {
 5505  10692   
    fn from(variant: ::pyo3::PyErr) -> crate::error::OmitsSerializingEmptyListsError {
 5506  10693   
        ::pyo3::Python::with_gil(|py| {
 5507  10694   
            let error = variant.value(py);
 5508  10695   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 5509  10696   
                return error.into();
 5510  10697   
            }
 5511  10698   
            crate::error::InternalServerError {
 5512  10699   
                message: error.to_string(),
 5513  10700   
            }
 5514  10701   
            .into()
 5515  10702   
        })
 5516  10703   
    }
 5517  10704   
}
 5518  10705   
       10706  +
/* ServerOperationErrorGenerator.kt:63 */
 5519  10707   
/// Error type for the `OmitsNullSerializesEmptyString` operation.
       10708  +
/* ServerOperationErrorGenerator.kt:64 */
 5520  10709   
/// Each variant represents an error that can occur for the `OmitsNullSerializesEmptyString` operation.
       10710  +
/* RustType.kt:516 */
 5521  10711   
#[derive(::std::fmt::Debug)]
 5522         -
pub enum OmitsNullSerializesEmptyStringError {
       10712  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum OmitsNullSerializesEmptyStringError {
       10713  +
    /* ServerOperationErrorGenerator.kt:68 */
 5523  10714   
    #[allow(missing_docs)] // documentation missing in model
       10715  +
    /* ServerOperationErrorGenerator.kt:71 */
 5524  10716   
    InternalServerError(crate::error::InternalServerError),
       10717  +
    /* ServerOperationErrorGenerator.kt:66 */
 5525  10718   
}
       10719  +
/* ServerOperationErrorGenerator.kt:75 */
 5526  10720   
impl ::std::fmt::Display for OmitsNullSerializesEmptyStringError {
       10721  +
    /* ServerOperationErrorGenerator.kt:76 */
 5527  10722   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       10723  +
        /* ServerOperationErrorGenerator.kt:139 */
 5528  10724   
        match &self {
 5529         -
            OmitsNullSerializesEmptyStringError::InternalServerError(_inner) => _inner.fmt(f),
       10725  +
            /* ServerOperationErrorGenerator.kt:142 */
       10726  +
            OmitsNullSerializesEmptyStringError::InternalServerError(_inner) =>
       10727  +
            /* ServerOperationErrorGenerator.kt:78 */
       10728  +
            {
       10729  +
                _inner.fmt(f)
       10730  +
            }
       10731  +
            /* ServerOperationErrorGenerator.kt:139 */
 5530  10732   
        }
       10733  +
        /* ServerOperationErrorGenerator.kt:76 */
 5531  10734   
    }
       10735  +
    /* ServerOperationErrorGenerator.kt:75 */
 5532  10736   
}
       10737  +
/* ServerOperationErrorGenerator.kt:83 */
 5533  10738   
impl OmitsNullSerializesEmptyStringError {
       10739  +
    /* ServerOperationErrorGenerator.kt:87 */
 5534  10740   
    /// Returns `true` if the error kind is `OmitsNullSerializesEmptyStringError::InternalServerError`.
       10741  +
    /* ServerOperationErrorGenerator.kt:88 */
 5535  10742   
    pub fn is_internal_server_error(&self) -> bool {
       10743  +
        /* ServerOperationErrorGenerator.kt:89 */
 5536  10744   
        matches!(
 5537  10745   
            &self,
 5538  10746   
            OmitsNullSerializesEmptyStringError::InternalServerError(_)
 5539  10747   
        )
       10748  +
        /* ServerOperationErrorGenerator.kt:88 */
 5540  10749   
    }
       10750  +
    /* ServerOperationErrorGenerator.kt:92 */
 5541  10751   
    /// Returns the error name string by matching the correct variant.
       10752  +
    /* ServerOperationErrorGenerator.kt:93 */
 5542  10753   
    pub fn name(&self) -> &'static str {
       10754  +
        /* ServerOperationErrorGenerator.kt:139 */
 5543  10755   
        match &self {
 5544         -
            OmitsNullSerializesEmptyStringError::InternalServerError(_inner) => _inner.name(),
       10756  +
            /* ServerOperationErrorGenerator.kt:142 */
       10757  +
            OmitsNullSerializesEmptyStringError::InternalServerError(_inner) =>
       10758  +
            /* ServerOperationErrorGenerator.kt:95 */
       10759  +
            {
       10760  +
                _inner.name()
       10761  +
            }
       10762  +
            /* ServerOperationErrorGenerator.kt:139 */
 5545  10763   
        }
       10764  +
        /* ServerOperationErrorGenerator.kt:93 */
 5546  10765   
    }
       10766  +
    /* ServerOperationErrorGenerator.kt:83 */
 5547  10767   
}
       10768  +
/* ServerOperationErrorGenerator.kt:100 */
 5548  10769   
impl ::std::error::Error for OmitsNullSerializesEmptyStringError {
       10770  +
    /* ServerOperationErrorGenerator.kt:101 */
 5549  10771   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       10772  +
        /* ServerOperationErrorGenerator.kt:139 */
 5550  10773   
        match &self {
 5551         -
            OmitsNullSerializesEmptyStringError::InternalServerError(_inner) => Some(_inner),
       10774  +
            /* ServerOperationErrorGenerator.kt:142 */
       10775  +
            OmitsNullSerializesEmptyStringError::InternalServerError(_inner) =>
       10776  +
            /* ServerOperationErrorGenerator.kt:103 */
       10777  +
            {
       10778  +
                Some(_inner)
       10779  +
            }
       10780  +
            /* ServerOperationErrorGenerator.kt:139 */
 5552  10781   
        }
       10782  +
        /* ServerOperationErrorGenerator.kt:101 */
 5553  10783   
    }
       10784  +
    /* ServerOperationErrorGenerator.kt:100 */
 5554  10785   
}
       10786  +
/* ServerOperationErrorGenerator.kt:110 */
 5555  10787   
impl ::std::convert::From<crate::error::InternalServerError>
 5556  10788   
    for crate::error::OmitsNullSerializesEmptyStringError
 5557  10789   
{
       10790  +
    /* ServerOperationErrorGenerator.kt:111 */
 5558  10791   
    fn from(
 5559  10792   
        variant: crate::error::InternalServerError,
 5560  10793   
    ) -> crate::error::OmitsNullSerializesEmptyStringError {
       10794  +
        /* ServerOperationErrorGenerator.kt:112 */
 5561  10795   
        Self::InternalServerError(variant)
       10796  +
        /* ServerOperationErrorGenerator.kt:111 */
 5562  10797   
    }
       10798  +
    /* ServerOperationErrorGenerator.kt:110 */
 5563  10799   
}
 5564  10800   
       10801  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5565  10802   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::OmitsNullSerializesEmptyStringError {
 5566  10803   
    fn from(variant: ::pyo3::PyErr) -> crate::error::OmitsNullSerializesEmptyStringError {
 5567  10804   
        ::pyo3::Python::with_gil(|py| {
 5568  10805   
            let error = variant.value(py);
 5569  10806   
 5570  10807   
            crate::error::InternalServerError {
 5571  10808   
                message: error.to_string(),
 5572  10809   
            }
 5573  10810   
            .into()
 5574  10811   
        })
 5575  10812   
    }
 5576  10813   
}
 5577  10814   
       10815  +
/* ServerOperationErrorGenerator.kt:63 */
 5578  10816   
/// Error type for the `IgnoreQueryParamsInResponse` operation.
       10817  +
/* ServerOperationErrorGenerator.kt:64 */
 5579  10818   
/// Each variant represents an error that can occur for the `IgnoreQueryParamsInResponse` operation.
       10819  +
/* RustType.kt:516 */
 5580  10820   
#[derive(::std::fmt::Debug)]
 5581         -
pub enum IgnoreQueryParamsInResponseError {
       10821  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum IgnoreQueryParamsInResponseError {
       10822  +
    /* ServerOperationErrorGenerator.kt:68 */
 5582  10823   
    #[allow(missing_docs)] // documentation missing in model
       10824  +
    /* ServerOperationErrorGenerator.kt:71 */
 5583  10825   
    InternalServerError(crate::error::InternalServerError),
       10826  +
    /* ServerOperationErrorGenerator.kt:66 */
 5584  10827   
}
       10828  +
/* ServerOperationErrorGenerator.kt:75 */
 5585  10829   
impl ::std::fmt::Display for IgnoreQueryParamsInResponseError {
       10830  +
    /* ServerOperationErrorGenerator.kt:76 */
 5586  10831   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       10832  +
        /* ServerOperationErrorGenerator.kt:139 */
 5587  10833   
        match &self {
 5588         -
            IgnoreQueryParamsInResponseError::InternalServerError(_inner) => _inner.fmt(f),
       10834  +
            /* ServerOperationErrorGenerator.kt:142 */
       10835  +
            IgnoreQueryParamsInResponseError::InternalServerError(_inner) =>
       10836  +
            /* ServerOperationErrorGenerator.kt:78 */
       10837  +
            {
       10838  +
                _inner.fmt(f)
       10839  +
            }
       10840  +
            /* ServerOperationErrorGenerator.kt:139 */
 5589  10841   
        }
       10842  +
        /* ServerOperationErrorGenerator.kt:76 */
 5590  10843   
    }
       10844  +
    /* ServerOperationErrorGenerator.kt:75 */
 5591  10845   
}
       10846  +
/* ServerOperationErrorGenerator.kt:83 */
 5592  10847   
impl IgnoreQueryParamsInResponseError {
       10848  +
    /* ServerOperationErrorGenerator.kt:87 */
 5593  10849   
    /// Returns `true` if the error kind is `IgnoreQueryParamsInResponseError::InternalServerError`.
       10850  +
    /* ServerOperationErrorGenerator.kt:88 */
 5594  10851   
    pub fn is_internal_server_error(&self) -> bool {
       10852  +
        /* ServerOperationErrorGenerator.kt:89 */
 5595  10853   
        matches!(
 5596  10854   
            &self,
 5597  10855   
            IgnoreQueryParamsInResponseError::InternalServerError(_)
 5598  10856   
        )
       10857  +
        /* ServerOperationErrorGenerator.kt:88 */
 5599  10858   
    }
       10859  +
    /* ServerOperationErrorGenerator.kt:92 */
 5600  10860   
    /// Returns the error name string by matching the correct variant.
       10861  +
    /* ServerOperationErrorGenerator.kt:93 */
 5601  10862   
    pub fn name(&self) -> &'static str {
       10863  +
        /* ServerOperationErrorGenerator.kt:139 */
 5602  10864   
        match &self {
 5603         -
            IgnoreQueryParamsInResponseError::InternalServerError(_inner) => _inner.name(),
       10865  +
            /* ServerOperationErrorGenerator.kt:142 */
       10866  +
            IgnoreQueryParamsInResponseError::InternalServerError(_inner) =>
       10867  +
            /* ServerOperationErrorGenerator.kt:95 */
       10868  +
            {
       10869  +
                _inner.name()
       10870  +
            }
       10871  +
            /* ServerOperationErrorGenerator.kt:139 */
 5604  10872   
        }
       10873  +
        /* ServerOperationErrorGenerator.kt:93 */
 5605  10874   
    }
       10875  +
    /* ServerOperationErrorGenerator.kt:83 */
 5606  10876   
}
       10877  +
/* ServerOperationErrorGenerator.kt:100 */
 5607  10878   
impl ::std::error::Error for IgnoreQueryParamsInResponseError {
       10879  +
    /* ServerOperationErrorGenerator.kt:101 */
 5608  10880   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       10881  +
        /* ServerOperationErrorGenerator.kt:139 */
 5609  10882   
        match &self {
 5610         -
            IgnoreQueryParamsInResponseError::InternalServerError(_inner) => Some(_inner),
       10883  +
            /* ServerOperationErrorGenerator.kt:142 */
       10884  +
            IgnoreQueryParamsInResponseError::InternalServerError(_inner) =>
       10885  +
            /* ServerOperationErrorGenerator.kt:103 */
       10886  +
            {
       10887  +
                Some(_inner)
       10888  +
            }
       10889  +
            /* ServerOperationErrorGenerator.kt:139 */
 5611  10890   
        }
       10891  +
        /* ServerOperationErrorGenerator.kt:101 */
 5612  10892   
    }
       10893  +
    /* ServerOperationErrorGenerator.kt:100 */
 5613  10894   
}
       10895  +
/* ServerOperationErrorGenerator.kt:110 */
 5614  10896   
impl ::std::convert::From<crate::error::InternalServerError>
 5615  10897   
    for crate::error::IgnoreQueryParamsInResponseError
 5616  10898   
{
       10899  +
    /* ServerOperationErrorGenerator.kt:111 */
 5617  10900   
    fn from(
 5618  10901   
        variant: crate::error::InternalServerError,
 5619  10902   
    ) -> crate::error::IgnoreQueryParamsInResponseError {
       10903  +
        /* ServerOperationErrorGenerator.kt:112 */
 5620  10904   
        Self::InternalServerError(variant)
       10905  +
        /* ServerOperationErrorGenerator.kt:111 */
 5621  10906   
    }
       10907  +
    /* ServerOperationErrorGenerator.kt:110 */
 5622  10908   
}
 5623  10909   
       10910  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5624  10911   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::IgnoreQueryParamsInResponseError {
 5625  10912   
    fn from(variant: ::pyo3::PyErr) -> crate::error::IgnoreQueryParamsInResponseError {
 5626  10913   
        ::pyo3::Python::with_gil(|py| {
 5627  10914   
            let error = variant.value(py);
 5628  10915   
 5629  10916   
            crate::error::InternalServerError {
 5630  10917   
                message: error.to_string(),
 5631  10918   
            }
 5632  10919   
            .into()
 5633  10920   
        })
 5634  10921   
    }
 5635  10922   
}
 5636  10923   
       10924  +
/* ServerOperationErrorGenerator.kt:63 */
 5637  10925   
/// Error type for the `ConstantAndVariableQueryString` operation.
       10926  +
/* ServerOperationErrorGenerator.kt:64 */
 5638  10927   
/// Each variant represents an error that can occur for the `ConstantAndVariableQueryString` operation.
       10928  +
/* RustType.kt:516 */
 5639  10929   
#[derive(::std::fmt::Debug)]
 5640         -
pub enum ConstantAndVariableQueryStringError {
       10930  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstantAndVariableQueryStringError {
       10931  +
    /* ServerOperationErrorGenerator.kt:68 */
 5641  10932   
    #[allow(missing_docs)] // documentation missing in model
       10933  +
    /* ServerOperationErrorGenerator.kt:71 */
 5642  10934   
    InternalServerError(crate::error::InternalServerError),
       10935  +
    /* ServerOperationErrorGenerator.kt:66 */
 5643  10936   
}
       10937  +
/* ServerOperationErrorGenerator.kt:75 */
 5644  10938   
impl ::std::fmt::Display for ConstantAndVariableQueryStringError {
       10939  +
    /* ServerOperationErrorGenerator.kt:76 */
 5645  10940   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       10941  +
        /* ServerOperationErrorGenerator.kt:139 */
 5646  10942   
        match &self {
 5647         -
            ConstantAndVariableQueryStringError::InternalServerError(_inner) => _inner.fmt(f),
       10943  +
            /* ServerOperationErrorGenerator.kt:142 */
       10944  +
            ConstantAndVariableQueryStringError::InternalServerError(_inner) =>
       10945  +
            /* ServerOperationErrorGenerator.kt:78 */
       10946  +
            {
       10947  +
                _inner.fmt(f)
       10948  +
            }
       10949  +
            /* ServerOperationErrorGenerator.kt:139 */
 5648  10950   
        }
       10951  +
        /* ServerOperationErrorGenerator.kt:76 */
 5649  10952   
    }
       10953  +
    /* ServerOperationErrorGenerator.kt:75 */
 5650  10954   
}
       10955  +
/* ServerOperationErrorGenerator.kt:83 */
 5651  10956   
impl ConstantAndVariableQueryStringError {
       10957  +
    /* ServerOperationErrorGenerator.kt:87 */
 5652  10958   
    /// Returns `true` if the error kind is `ConstantAndVariableQueryStringError::InternalServerError`.
       10959  +
    /* ServerOperationErrorGenerator.kt:88 */
 5653  10960   
    pub fn is_internal_server_error(&self) -> bool {
       10961  +
        /* ServerOperationErrorGenerator.kt:89 */
 5654  10962   
        matches!(
 5655  10963   
            &self,
 5656  10964   
            ConstantAndVariableQueryStringError::InternalServerError(_)
 5657  10965   
        )
       10966  +
        /* ServerOperationErrorGenerator.kt:88 */
 5658  10967   
    }
       10968  +
    /* ServerOperationErrorGenerator.kt:92 */
 5659  10969   
    /// Returns the error name string by matching the correct variant.
       10970  +
    /* ServerOperationErrorGenerator.kt:93 */
 5660  10971   
    pub fn name(&self) -> &'static str {
       10972  +
        /* ServerOperationErrorGenerator.kt:139 */
 5661  10973   
        match &self {
 5662         -
            ConstantAndVariableQueryStringError::InternalServerError(_inner) => _inner.name(),
       10974  +
            /* ServerOperationErrorGenerator.kt:142 */
       10975  +
            ConstantAndVariableQueryStringError::InternalServerError(_inner) =>
       10976  +
            /* ServerOperationErrorGenerator.kt:95 */
       10977  +
            {
       10978  +
                _inner.name()
       10979  +
            }
       10980  +
            /* ServerOperationErrorGenerator.kt:139 */
 5663  10981   
        }
       10982  +
        /* ServerOperationErrorGenerator.kt:93 */
 5664  10983   
    }
       10984  +
    /* ServerOperationErrorGenerator.kt:83 */
 5665  10985   
}
       10986  +
/* ServerOperationErrorGenerator.kt:100 */
 5666  10987   
impl ::std::error::Error for ConstantAndVariableQueryStringError {
       10988  +
    /* ServerOperationErrorGenerator.kt:101 */
 5667  10989   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       10990  +
        /* ServerOperationErrorGenerator.kt:139 */
 5668  10991   
        match &self {
 5669         -
            ConstantAndVariableQueryStringError::InternalServerError(_inner) => Some(_inner),
       10992  +
            /* ServerOperationErrorGenerator.kt:142 */
       10993  +
            ConstantAndVariableQueryStringError::InternalServerError(_inner) =>
       10994  +
            /* ServerOperationErrorGenerator.kt:103 */
       10995  +
            {
       10996  +
                Some(_inner)
       10997  +
            }
       10998  +
            /* ServerOperationErrorGenerator.kt:139 */
 5670  10999   
        }
       11000  +
        /* ServerOperationErrorGenerator.kt:101 */
 5671  11001   
    }
       11002  +
    /* ServerOperationErrorGenerator.kt:100 */
 5672  11003   
}
       11004  +
/* ServerOperationErrorGenerator.kt:110 */
 5673  11005   
impl ::std::convert::From<crate::error::InternalServerError>
 5674  11006   
    for crate::error::ConstantAndVariableQueryStringError
 5675  11007   
{
       11008  +
    /* ServerOperationErrorGenerator.kt:111 */
 5676  11009   
    fn from(
 5677  11010   
        variant: crate::error::InternalServerError,
 5678  11011   
    ) -> crate::error::ConstantAndVariableQueryStringError {
       11012  +
        /* ServerOperationErrorGenerator.kt:112 */
 5679  11013   
        Self::InternalServerError(variant)
       11014  +
        /* ServerOperationErrorGenerator.kt:111 */
 5680  11015   
    }
       11016  +
    /* ServerOperationErrorGenerator.kt:110 */
 5681  11017   
}
 5682  11018   
       11019  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5683  11020   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::ConstantAndVariableQueryStringError {
 5684  11021   
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstantAndVariableQueryStringError {
 5685  11022   
        ::pyo3::Python::with_gil(|py| {
 5686  11023   
            let error = variant.value(py);
 5687  11024   
 5688  11025   
            crate::error::InternalServerError {
 5689  11026   
                message: error.to_string(),
 5690  11027   
            }
 5691  11028   
            .into()
 5692  11029   
        })
 5693  11030   
    }
 5694  11031   
}
 5695  11032   
       11033  +
/* ServerOperationErrorGenerator.kt:63 */
 5696  11034   
/// Error type for the `ConstantQueryString` operation.
       11035  +
/* ServerOperationErrorGenerator.kt:64 */
 5697  11036   
/// Each variant represents an error that can occur for the `ConstantQueryString` operation.
       11037  +
/* RustType.kt:516 */
 5698  11038   
#[derive(::std::fmt::Debug)]
 5699         -
pub enum ConstantQueryStringError {
 5700         -
    /// 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.
       11039  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstantQueryStringError {
       11040  +
    /// /* 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.
       11041  +
    /* ServerOperationErrorGenerator.kt:71 */
 5701  11042   
    ValidationException(crate::error::ValidationException),
       11043  +
    /* ServerOperationErrorGenerator.kt:68 */
 5702  11044   
    #[allow(missing_docs)] // documentation missing in model
       11045  +
    /* ServerOperationErrorGenerator.kt:71 */
 5703  11046   
    InternalServerError(crate::error::InternalServerError),
       11047  +
    /* ServerOperationErrorGenerator.kt:66 */
 5704  11048   
}
       11049  +
/* ServerOperationErrorGenerator.kt:75 */
 5705  11050   
impl ::std::fmt::Display for ConstantQueryStringError {
       11051  +
    /* ServerOperationErrorGenerator.kt:76 */
 5706  11052   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       11053  +
        /* ServerOperationErrorGenerator.kt:139 */
 5707  11054   
        match &self {
 5708         -
            ConstantQueryStringError::ValidationException(_inner) => _inner.fmt(f),
 5709         -
            ConstantQueryStringError::InternalServerError(_inner) => _inner.fmt(f),
       11055  +
            /* ServerOperationErrorGenerator.kt:142 */
       11056  +
            ConstantQueryStringError::ValidationException(_inner) =>
       11057  +
            /* ServerOperationErrorGenerator.kt:78 */
       11058  +
            {
       11059  +
                _inner.fmt(f)
       11060  +
            }
       11061  +
            ,
       11062  +
            /* ServerOperationErrorGenerator.kt:142 */
       11063  +
            ConstantQueryStringError::InternalServerError(_inner) =>
       11064  +
            /* ServerOperationErrorGenerator.kt:78 */
       11065  +
            {
       11066  +
                _inner.fmt(f)
       11067  +
            }
       11068  +
            /* ServerOperationErrorGenerator.kt:139 */
 5710  11069   
        }
       11070  +
        /* ServerOperationErrorGenerator.kt:76 */
 5711  11071   
    }
       11072  +
    /* ServerOperationErrorGenerator.kt:75 */
 5712  11073   
}
       11074  +
/* ServerOperationErrorGenerator.kt:83 */
 5713  11075   
impl ConstantQueryStringError {
       11076  +
    /* ServerOperationErrorGenerator.kt:87 */
 5714  11077   
    /// Returns `true` if the error kind is `ConstantQueryStringError::ValidationException`.
       11078  +
    /* ServerOperationErrorGenerator.kt:88 */
 5715  11079   
    pub fn is_validation_exception(&self) -> bool {
       11080  +
        /* ServerOperationErrorGenerator.kt:89 */
 5716  11081   
        matches!(&self, ConstantQueryStringError::ValidationException(_))
       11082  +
        /* ServerOperationErrorGenerator.kt:88 */
 5717  11083   
    }
       11084  +
    /* ServerOperationErrorGenerator.kt:87 */
 5718  11085   
    /// Returns `true` if the error kind is `ConstantQueryStringError::InternalServerError`.
       11086  +
    /* ServerOperationErrorGenerator.kt:88 */
 5719  11087   
    pub fn is_internal_server_error(&self) -> bool {
       11088  +
        /* ServerOperationErrorGenerator.kt:89 */
 5720  11089   
        matches!(&self, ConstantQueryStringError::InternalServerError(_))
       11090  +
        /* ServerOperationErrorGenerator.kt:88 */
 5721  11091   
    }
       11092  +
    /* ServerOperationErrorGenerator.kt:92 */
 5722  11093   
    /// Returns the error name string by matching the correct variant.
       11094  +
    /* ServerOperationErrorGenerator.kt:93 */
 5723  11095   
    pub fn name(&self) -> &'static str {
       11096  +
        /* ServerOperationErrorGenerator.kt:139 */
 5724  11097   
        match &self {
 5725         -
            ConstantQueryStringError::ValidationException(_inner) => _inner.name(),
 5726         -
            ConstantQueryStringError::InternalServerError(_inner) => _inner.name(),
       11098  +
            /* ServerOperationErrorGenerator.kt:142 */
       11099  +
            ConstantQueryStringError::ValidationException(_inner) =>
       11100  +
            /* ServerOperationErrorGenerator.kt:95 */
       11101  +
            {
       11102  +
                _inner.name()
       11103  +
            }
       11104  +
            ,
       11105  +
            /* ServerOperationErrorGenerator.kt:142 */
       11106  +
            ConstantQueryStringError::InternalServerError(_inner) =>
       11107  +
            /* ServerOperationErrorGenerator.kt:95 */
       11108  +
            {
       11109  +
                _inner.name()
       11110  +
            }
       11111  +
            /* ServerOperationErrorGenerator.kt:139 */
 5727  11112   
        }
       11113  +
        /* ServerOperationErrorGenerator.kt:93 */
 5728  11114   
    }
       11115  +
    /* ServerOperationErrorGenerator.kt:83 */
 5729  11116   
}
       11117  +
/* ServerOperationErrorGenerator.kt:100 */
 5730  11118   
impl ::std::error::Error for ConstantQueryStringError {
       11119  +
    /* ServerOperationErrorGenerator.kt:101 */
 5731  11120   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       11121  +
        /* ServerOperationErrorGenerator.kt:139 */
 5732  11122   
        match &self {
 5733         -
            ConstantQueryStringError::ValidationException(_inner) => Some(_inner),
 5734         -
            ConstantQueryStringError::InternalServerError(_inner) => Some(_inner),
       11123  +
            /* ServerOperationErrorGenerator.kt:142 */
       11124  +
            ConstantQueryStringError::ValidationException(_inner) =>
       11125  +
            /* ServerOperationErrorGenerator.kt:103 */
       11126  +
            {
       11127  +
                Some(_inner)
       11128  +
            }
       11129  +
            ,
       11130  +
            /* ServerOperationErrorGenerator.kt:142 */
       11131  +
            ConstantQueryStringError::InternalServerError(_inner) =>
       11132  +
            /* ServerOperationErrorGenerator.kt:103 */
       11133  +
            {
       11134  +
                Some(_inner)
       11135  +
            }
       11136  +
            /* ServerOperationErrorGenerator.kt:139 */
 5735  11137   
        }
       11138  +
        /* ServerOperationErrorGenerator.kt:101 */
 5736  11139   
    }
       11140  +
    /* ServerOperationErrorGenerator.kt:100 */
 5737  11141   
}
       11142  +
/* ServerOperationErrorGenerator.kt:110 */
 5738  11143   
impl ::std::convert::From<crate::error::ValidationException>
 5739  11144   
    for crate::error::ConstantQueryStringError
 5740  11145   
{
       11146  +
    /* ServerOperationErrorGenerator.kt:111 */
 5741  11147   
    fn from(variant: crate::error::ValidationException) -> crate::error::ConstantQueryStringError {
       11148  +
        /* ServerOperationErrorGenerator.kt:112 */
 5742  11149   
        Self::ValidationException(variant)
       11150  +
        /* ServerOperationErrorGenerator.kt:111 */
 5743  11151   
    }
       11152  +
    /* ServerOperationErrorGenerator.kt:110 */
 5744  11153   
}
       11154  +
/* ServerOperationErrorGenerator.kt:110 */
 5745  11155   
impl ::std::convert::From<crate::error::InternalServerError>
 5746  11156   
    for crate::error::ConstantQueryStringError
 5747  11157   
{
       11158  +
    /* ServerOperationErrorGenerator.kt:111 */
 5748  11159   
    fn from(variant: crate::error::InternalServerError) -> crate::error::ConstantQueryStringError {
       11160  +
        /* ServerOperationErrorGenerator.kt:112 */
 5749  11161   
        Self::InternalServerError(variant)
       11162  +
        /* ServerOperationErrorGenerator.kt:111 */
 5750  11163   
    }
       11164  +
    /* ServerOperationErrorGenerator.kt:110 */
 5751  11165   
}
 5752  11166   
       11167  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5753  11168   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::ConstantQueryStringError {
 5754  11169   
    fn from(variant: ::pyo3::PyErr) -> crate::error::ConstantQueryStringError {
 5755  11170   
        ::pyo3::Python::with_gil(|py| {
 5756  11171   
            let error = variant.value(py);
 5757  11172   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 5758  11173   
                return error.into();
 5759  11174   
            }
 5760  11175   
            crate::error::InternalServerError {
 5761  11176   
                message: error.to_string(),
 5762  11177   
            }
 5763  11178   
            .into()
 5764  11179   
        })
 5765  11180   
    }
 5766  11181   
}
 5767  11182   
       11183  +
/* ServerOperationErrorGenerator.kt:63 */
 5768  11184   
/// Error type for the `AllQueryStringTypes` operation.
       11185  +
/* ServerOperationErrorGenerator.kt:64 */
 5769  11186   
/// Each variant represents an error that can occur for the `AllQueryStringTypes` operation.
       11187  +
/* RustType.kt:516 */
 5770  11188   
#[derive(::std::fmt::Debug)]
 5771         -
pub enum AllQueryStringTypesError {
 5772         -
    /// 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.
       11189  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum AllQueryStringTypesError {
       11190  +
    /// /* 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.
       11191  +
    /* ServerOperationErrorGenerator.kt:71 */
 5773  11192   
    ValidationException(crate::error::ValidationException),
       11193  +
    /* ServerOperationErrorGenerator.kt:68 */
 5774  11194   
    #[allow(missing_docs)] // documentation missing in model
       11195  +
    /* ServerOperationErrorGenerator.kt:71 */
 5775  11196   
    InternalServerError(crate::error::InternalServerError),
       11197  +
    /* ServerOperationErrorGenerator.kt:66 */
 5776  11198   
}
       11199  +
/* ServerOperationErrorGenerator.kt:75 */
 5777  11200   
impl ::std::fmt::Display for AllQueryStringTypesError {
       11201  +
    /* ServerOperationErrorGenerator.kt:76 */
 5778  11202   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       11203  +
        /* ServerOperationErrorGenerator.kt:139 */
 5779  11204   
        match &self {
 5780         -
            AllQueryStringTypesError::ValidationException(_inner) => _inner.fmt(f),
 5781         -
            AllQueryStringTypesError::InternalServerError(_inner) => _inner.fmt(f),
       11205  +
            /* ServerOperationErrorGenerator.kt:142 */
       11206  +
            AllQueryStringTypesError::ValidationException(_inner) =>
       11207  +
            /* ServerOperationErrorGenerator.kt:78 */
       11208  +
            {
       11209  +
                _inner.fmt(f)
       11210  +
            }
       11211  +
            ,
       11212  +
            /* ServerOperationErrorGenerator.kt:142 */
       11213  +
            AllQueryStringTypesError::InternalServerError(_inner) =>
       11214  +
            /* ServerOperationErrorGenerator.kt:78 */
       11215  +
            {
       11216  +
                _inner.fmt(f)
       11217  +
            }
       11218  +
            /* ServerOperationErrorGenerator.kt:139 */
 5782  11219   
        }
       11220  +
        /* ServerOperationErrorGenerator.kt:76 */
 5783  11221   
    }
       11222  +
    /* ServerOperationErrorGenerator.kt:75 */
 5784  11223   
}
       11224  +
/* ServerOperationErrorGenerator.kt:83 */
 5785  11225   
impl AllQueryStringTypesError {
       11226  +
    /* ServerOperationErrorGenerator.kt:87 */
 5786  11227   
    /// Returns `true` if the error kind is `AllQueryStringTypesError::ValidationException`.
       11228  +
    /* ServerOperationErrorGenerator.kt:88 */
 5787  11229   
    pub fn is_validation_exception(&self) -> bool {
       11230  +
        /* ServerOperationErrorGenerator.kt:89 */
 5788  11231   
        matches!(&self, AllQueryStringTypesError::ValidationException(_))
       11232  +
        /* ServerOperationErrorGenerator.kt:88 */
 5789  11233   
    }
       11234  +
    /* ServerOperationErrorGenerator.kt:87 */
 5790  11235   
    /// Returns `true` if the error kind is `AllQueryStringTypesError::InternalServerError`.
       11236  +
    /* ServerOperationErrorGenerator.kt:88 */
 5791  11237   
    pub fn is_internal_server_error(&self) -> bool {
       11238  +
        /* ServerOperationErrorGenerator.kt:89 */
 5792  11239   
        matches!(&self, AllQueryStringTypesError::InternalServerError(_))
       11240  +
        /* ServerOperationErrorGenerator.kt:88 */
 5793  11241   
    }
       11242  +
    /* ServerOperationErrorGenerator.kt:92 */
 5794  11243   
    /// Returns the error name string by matching the correct variant.
       11244  +
    /* ServerOperationErrorGenerator.kt:93 */
 5795  11245   
    pub fn name(&self) -> &'static str {
       11246  +
        /* ServerOperationErrorGenerator.kt:139 */
 5796  11247   
        match &self {
 5797         -
            AllQueryStringTypesError::ValidationException(_inner) => _inner.name(),
 5798         -
            AllQueryStringTypesError::InternalServerError(_inner) => _inner.name(),
       11248  +
            /* ServerOperationErrorGenerator.kt:142 */
       11249  +
            AllQueryStringTypesError::ValidationException(_inner) =>
       11250  +
            /* ServerOperationErrorGenerator.kt:95 */
       11251  +
            {
       11252  +
                _inner.name()
       11253  +
            }
       11254  +
            ,
       11255  +
            /* ServerOperationErrorGenerator.kt:142 */
       11256  +
            AllQueryStringTypesError::InternalServerError(_inner) =>
       11257  +
            /* ServerOperationErrorGenerator.kt:95 */
       11258  +
            {
       11259  +
                _inner.name()
       11260  +
            }
       11261  +
            /* ServerOperationErrorGenerator.kt:139 */
 5799  11262   
        }
       11263  +
        /* ServerOperationErrorGenerator.kt:93 */
 5800  11264   
    }
       11265  +
    /* ServerOperationErrorGenerator.kt:83 */
 5801  11266   
}
       11267  +
/* ServerOperationErrorGenerator.kt:100 */
 5802  11268   
impl ::std::error::Error for AllQueryStringTypesError {
       11269  +
    /* ServerOperationErrorGenerator.kt:101 */
 5803  11270   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       11271  +
        /* ServerOperationErrorGenerator.kt:139 */
 5804  11272   
        match &self {
 5805         -
            AllQueryStringTypesError::ValidationException(_inner) => Some(_inner),
 5806         -
            AllQueryStringTypesError::InternalServerError(_inner) => Some(_inner),
       11273  +
            /* ServerOperationErrorGenerator.kt:142 */
       11274  +
            AllQueryStringTypesError::ValidationException(_inner) =>
       11275  +
            /* ServerOperationErrorGenerator.kt:103 */
       11276  +
            {
       11277  +
                Some(_inner)
       11278  +
            }
       11279  +
            ,
       11280  +
            /* ServerOperationErrorGenerator.kt:142 */
       11281  +
            AllQueryStringTypesError::InternalServerError(_inner) =>
       11282  +
            /* ServerOperationErrorGenerator.kt:103 */
       11283  +
            {
       11284  +
                Some(_inner)
       11285  +
            }
       11286  +
            /* ServerOperationErrorGenerator.kt:139 */
 5807  11287   
        }
       11288  +
        /* ServerOperationErrorGenerator.kt:101 */
 5808  11289   
    }
       11290  +
    /* ServerOperationErrorGenerator.kt:100 */
 5809  11291   
}
       11292  +
/* ServerOperationErrorGenerator.kt:110 */
 5810  11293   
impl ::std::convert::From<crate::error::ValidationException>
 5811  11294   
    for crate::error::AllQueryStringTypesError
 5812  11295   
{
       11296  +
    /* ServerOperationErrorGenerator.kt:111 */
 5813  11297   
    fn from(variant: crate::error::ValidationException) -> crate::error::AllQueryStringTypesError {
       11298  +
        /* ServerOperationErrorGenerator.kt:112 */
 5814  11299   
        Self::ValidationException(variant)
       11300  +
        /* ServerOperationErrorGenerator.kt:111 */
 5815  11301   
    }
       11302  +
    /* ServerOperationErrorGenerator.kt:110 */
 5816  11303   
}
       11304  +
/* ServerOperationErrorGenerator.kt:110 */
 5817  11305   
impl ::std::convert::From<crate::error::InternalServerError>
 5818  11306   
    for crate::error::AllQueryStringTypesError
 5819  11307   
{
       11308  +
    /* ServerOperationErrorGenerator.kt:111 */
 5820  11309   
    fn from(variant: crate::error::InternalServerError) -> crate::error::AllQueryStringTypesError {
       11310  +
        /* ServerOperationErrorGenerator.kt:112 */
 5821  11311   
        Self::InternalServerError(variant)
       11312  +
        /* ServerOperationErrorGenerator.kt:111 */
 5822  11313   
    }
       11314  +
    /* ServerOperationErrorGenerator.kt:110 */
 5823  11315   
}
 5824  11316   
       11317  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5825  11318   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::AllQueryStringTypesError {
 5826  11319   
    fn from(variant: ::pyo3::PyErr) -> crate::error::AllQueryStringTypesError {
 5827  11320   
        ::pyo3::Python::with_gil(|py| {
 5828  11321   
            let error = variant.value(py);
 5829  11322   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 5830  11323   
                return error.into();
 5831  11324   
            }
 5832  11325   
            crate::error::InternalServerError {
 5833  11326   
                message: error.to_string(),
 5834  11327   
            }
 5835  11328   
            .into()
 5836  11329   
        })
 5837  11330   
    }
 5838  11331   
}
 5839  11332   
       11333  +
/* ServerOperationErrorGenerator.kt:63 */
 5840  11334   
/// Error type for the `HttpRequestWithRegexLiteral` operation.
       11335  +
/* ServerOperationErrorGenerator.kt:64 */
 5841  11336   
/// Each variant represents an error that can occur for the `HttpRequestWithRegexLiteral` operation.
       11337  +
/* RustType.kt:516 */
 5842  11338   
#[derive(::std::fmt::Debug)]
 5843         -
pub enum HttpRequestWithRegexLiteralError {
 5844         -
    /// 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.
       11339  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpRequestWithRegexLiteralError {
       11340  +
    /// /* 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.
       11341  +
    /* ServerOperationErrorGenerator.kt:71 */
 5845  11342   
    ValidationException(crate::error::ValidationException),
       11343  +
    /* ServerOperationErrorGenerator.kt:68 */
 5846  11344   
    #[allow(missing_docs)] // documentation missing in model
       11345  +
    /* ServerOperationErrorGenerator.kt:71 */
 5847  11346   
    InternalServerError(crate::error::InternalServerError),
       11347  +
    /* ServerOperationErrorGenerator.kt:66 */
 5848  11348   
}
       11349  +
/* ServerOperationErrorGenerator.kt:75 */
 5849  11350   
impl ::std::fmt::Display for HttpRequestWithRegexLiteralError {
       11351  +
    /* ServerOperationErrorGenerator.kt:76 */
 5850  11352   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       11353  +
        /* ServerOperationErrorGenerator.kt:139 */
 5851  11354   
        match &self {
 5852         -
            HttpRequestWithRegexLiteralError::ValidationException(_inner) => _inner.fmt(f),
 5853         -
            HttpRequestWithRegexLiteralError::InternalServerError(_inner) => _inner.fmt(f),
       11355  +
            /* ServerOperationErrorGenerator.kt:142 */
       11356  +
            HttpRequestWithRegexLiteralError::ValidationException(_inner) =>
       11357  +
            /* ServerOperationErrorGenerator.kt:78 */
       11358  +
            {
       11359  +
                _inner.fmt(f)
       11360  +
            }
       11361  +
            ,
       11362  +
            /* ServerOperationErrorGenerator.kt:142 */
       11363  +
            HttpRequestWithRegexLiteralError::InternalServerError(_inner) =>
       11364  +
            /* ServerOperationErrorGenerator.kt:78 */
       11365  +
            {
       11366  +
                _inner.fmt(f)
       11367  +
            }
       11368  +
            /* ServerOperationErrorGenerator.kt:139 */
 5854  11369   
        }
       11370  +
        /* ServerOperationErrorGenerator.kt:76 */
 5855  11371   
    }
       11372  +
    /* ServerOperationErrorGenerator.kt:75 */
 5856  11373   
}
       11374  +
/* ServerOperationErrorGenerator.kt:83 */
 5857  11375   
impl HttpRequestWithRegexLiteralError {
       11376  +
    /* ServerOperationErrorGenerator.kt:87 */
 5858  11377   
    /// Returns `true` if the error kind is `HttpRequestWithRegexLiteralError::ValidationException`.
       11378  +
    /* ServerOperationErrorGenerator.kt:88 */
 5859  11379   
    pub fn is_validation_exception(&self) -> bool {
       11380  +
        /* ServerOperationErrorGenerator.kt:89 */
 5860  11381   
        matches!(
 5861  11382   
            &self,
 5862  11383   
            HttpRequestWithRegexLiteralError::ValidationException(_)
 5863  11384   
        )
       11385  +
        /* ServerOperationErrorGenerator.kt:88 */
 5864  11386   
    }
       11387  +
    /* ServerOperationErrorGenerator.kt:87 */
 5865  11388   
    /// Returns `true` if the error kind is `HttpRequestWithRegexLiteralError::InternalServerError`.
       11389  +
    /* ServerOperationErrorGenerator.kt:88 */
 5866  11390   
    pub fn is_internal_server_error(&self) -> bool {
       11391  +
        /* ServerOperationErrorGenerator.kt:89 */
 5867  11392   
        matches!(
 5868  11393   
            &self,
 5869  11394   
            HttpRequestWithRegexLiteralError::InternalServerError(_)
 5870  11395   
        )
       11396  +
        /* ServerOperationErrorGenerator.kt:88 */
 5871  11397   
    }
       11398  +
    /* ServerOperationErrorGenerator.kt:92 */
 5872  11399   
    /// Returns the error name string by matching the correct variant.
       11400  +
    /* ServerOperationErrorGenerator.kt:93 */
 5873  11401   
    pub fn name(&self) -> &'static str {
       11402  +
        /* ServerOperationErrorGenerator.kt:139 */
 5874  11403   
        match &self {
 5875         -
            HttpRequestWithRegexLiteralError::ValidationException(_inner) => _inner.name(),
 5876         -
            HttpRequestWithRegexLiteralError::InternalServerError(_inner) => _inner.name(),
       11404  +
            /* ServerOperationErrorGenerator.kt:142 */
       11405  +
            HttpRequestWithRegexLiteralError::ValidationException(_inner) =>
       11406  +
            /* ServerOperationErrorGenerator.kt:95 */
       11407  +
            {
       11408  +
                _inner.name()
       11409  +
            }
       11410  +
            ,
       11411  +
            /* ServerOperationErrorGenerator.kt:142 */
       11412  +
            HttpRequestWithRegexLiteralError::InternalServerError(_inner) =>
       11413  +
            /* ServerOperationErrorGenerator.kt:95 */
       11414  +
            {
       11415  +
                _inner.name()
       11416  +
            }
       11417  +
            /* ServerOperationErrorGenerator.kt:139 */
 5877  11418   
        }
       11419  +
        /* ServerOperationErrorGenerator.kt:93 */
 5878  11420   
    }
       11421  +
    /* ServerOperationErrorGenerator.kt:83 */
 5879  11422   
}
       11423  +
/* ServerOperationErrorGenerator.kt:100 */
 5880  11424   
impl ::std::error::Error for HttpRequestWithRegexLiteralError {
       11425  +
    /* ServerOperationErrorGenerator.kt:101 */
 5881  11426   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       11427  +
        /* ServerOperationErrorGenerator.kt:139 */
 5882  11428   
        match &self {
 5883         -
            HttpRequestWithRegexLiteralError::ValidationException(_inner) => Some(_inner),
 5884         -
            HttpRequestWithRegexLiteralError::InternalServerError(_inner) => Some(_inner),
       11429  +
            /* ServerOperationErrorGenerator.kt:142 */
       11430  +
            HttpRequestWithRegexLiteralError::ValidationException(_inner) =>
       11431  +
            /* ServerOperationErrorGenerator.kt:103 */
       11432  +
            {
       11433  +
                Some(_inner)
       11434  +
            }
       11435  +
            ,
       11436  +
            /* ServerOperationErrorGenerator.kt:142 */
       11437  +
            HttpRequestWithRegexLiteralError::InternalServerError(_inner) =>
       11438  +
            /* ServerOperationErrorGenerator.kt:103 */
       11439  +
            {
       11440  +
                Some(_inner)
       11441  +
            }
       11442  +
            /* ServerOperationErrorGenerator.kt:139 */
 5885  11443   
        }
       11444  +
        /* ServerOperationErrorGenerator.kt:101 */
 5886  11445   
    }
       11446  +
    /* ServerOperationErrorGenerator.kt:100 */
 5887  11447   
}
       11448  +
/* ServerOperationErrorGenerator.kt:110 */
 5888  11449   
impl ::std::convert::From<crate::error::ValidationException>
 5889  11450   
    for crate::error::HttpRequestWithRegexLiteralError
 5890  11451   
{
       11452  +
    /* ServerOperationErrorGenerator.kt:111 */
 5891  11453   
    fn from(
 5892  11454   
        variant: crate::error::ValidationException,
 5893  11455   
    ) -> crate::error::HttpRequestWithRegexLiteralError {
       11456  +
        /* ServerOperationErrorGenerator.kt:112 */
 5894  11457   
        Self::ValidationException(variant)
       11458  +
        /* ServerOperationErrorGenerator.kt:111 */
 5895  11459   
    }
       11460  +
    /* ServerOperationErrorGenerator.kt:110 */
 5896  11461   
}
       11462  +
/* ServerOperationErrorGenerator.kt:110 */
 5897  11463   
impl ::std::convert::From<crate::error::InternalServerError>
 5898  11464   
    for crate::error::HttpRequestWithRegexLiteralError
 5899  11465   
{
       11466  +
    /* ServerOperationErrorGenerator.kt:111 */
 5900  11467   
    fn from(
 5901  11468   
        variant: crate::error::InternalServerError,
 5902  11469   
    ) -> crate::error::HttpRequestWithRegexLiteralError {
       11470  +
        /* ServerOperationErrorGenerator.kt:112 */
 5903  11471   
        Self::InternalServerError(variant)
       11472  +
        /* ServerOperationErrorGenerator.kt:111 */
 5904  11473   
    }
       11474  +
    /* ServerOperationErrorGenerator.kt:110 */
 5905  11475   
}
 5906  11476   
       11477  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5907  11478   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpRequestWithRegexLiteralError {
 5908  11479   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpRequestWithRegexLiteralError {
 5909  11480   
        ::pyo3::Python::with_gil(|py| {
 5910  11481   
            let error = variant.value(py);
 5911  11482   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 5912  11483   
                return error.into();
 5913  11484   
            }
 5914  11485   
            crate::error::InternalServerError {
 5915  11486   
                message: error.to_string(),
 5916  11487   
            }
 5917  11488   
            .into()
 5918  11489   
        })
 5919  11490   
    }
 5920  11491   
}
 5921  11492   
       11493  +
/* ServerOperationErrorGenerator.kt:63 */
 5922  11494   
/// Error type for the `HttpRequestWithFloatLabels` operation.
       11495  +
/* ServerOperationErrorGenerator.kt:64 */
 5923  11496   
/// Each variant represents an error that can occur for the `HttpRequestWithFloatLabels` operation.
       11497  +
/* RustType.kt:516 */
 5924  11498   
#[derive(::std::fmt::Debug)]
 5925         -
pub enum HttpRequestWithFloatLabelsError {
 5926         -
    /// 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.
       11499  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpRequestWithFloatLabelsError {
       11500  +
    /// /* 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.
       11501  +
    /* ServerOperationErrorGenerator.kt:71 */
 5927  11502   
    ValidationException(crate::error::ValidationException),
       11503  +
    /* ServerOperationErrorGenerator.kt:68 */
 5928  11504   
    #[allow(missing_docs)] // documentation missing in model
       11505  +
    /* ServerOperationErrorGenerator.kt:71 */
 5929  11506   
    InternalServerError(crate::error::InternalServerError),
       11507  +
    /* ServerOperationErrorGenerator.kt:66 */
 5930  11508   
}
       11509  +
/* ServerOperationErrorGenerator.kt:75 */
 5931  11510   
impl ::std::fmt::Display for HttpRequestWithFloatLabelsError {
       11511  +
    /* ServerOperationErrorGenerator.kt:76 */
 5932  11512   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       11513  +
        /* ServerOperationErrorGenerator.kt:139 */
 5933  11514   
        match &self {
 5934         -
            HttpRequestWithFloatLabelsError::ValidationException(_inner) => _inner.fmt(f),
 5935         -
            HttpRequestWithFloatLabelsError::InternalServerError(_inner) => _inner.fmt(f),
       11515  +
            /* ServerOperationErrorGenerator.kt:142 */
       11516  +
            HttpRequestWithFloatLabelsError::ValidationException(_inner) =>
       11517  +
            /* ServerOperationErrorGenerator.kt:78 */
       11518  +
            {
       11519  +
                _inner.fmt(f)
       11520  +
            }
       11521  +
            ,
       11522  +
            /* ServerOperationErrorGenerator.kt:142 */
       11523  +
            HttpRequestWithFloatLabelsError::InternalServerError(_inner) =>
       11524  +
            /* ServerOperationErrorGenerator.kt:78 */
       11525  +
            {
       11526  +
                _inner.fmt(f)
       11527  +
            }
       11528  +
            /* ServerOperationErrorGenerator.kt:139 */
 5936  11529   
        }
       11530  +
        /* ServerOperationErrorGenerator.kt:76 */
 5937  11531   
    }
       11532  +
    /* ServerOperationErrorGenerator.kt:75 */
 5938  11533   
}
       11534  +
/* ServerOperationErrorGenerator.kt:83 */
 5939  11535   
impl HttpRequestWithFloatLabelsError {
       11536  +
    /* ServerOperationErrorGenerator.kt:87 */
 5940  11537   
    /// Returns `true` if the error kind is `HttpRequestWithFloatLabelsError::ValidationException`.
       11538  +
    /* ServerOperationErrorGenerator.kt:88 */
 5941  11539   
    pub fn is_validation_exception(&self) -> bool {
       11540  +
        /* ServerOperationErrorGenerator.kt:89 */
 5942  11541   
        matches!(
 5943  11542   
            &self,
 5944  11543   
            HttpRequestWithFloatLabelsError::ValidationException(_)
 5945  11544   
        )
       11545  +
        /* ServerOperationErrorGenerator.kt:88 */
 5946  11546   
    }
       11547  +
    /* ServerOperationErrorGenerator.kt:87 */
 5947  11548   
    /// Returns `true` if the error kind is `HttpRequestWithFloatLabelsError::InternalServerError`.
       11549  +
    /* ServerOperationErrorGenerator.kt:88 */
 5948  11550   
    pub fn is_internal_server_error(&self) -> bool {
       11551  +
        /* ServerOperationErrorGenerator.kt:89 */
 5949  11552   
        matches!(
 5950  11553   
            &self,
 5951  11554   
            HttpRequestWithFloatLabelsError::InternalServerError(_)
 5952  11555   
        )
       11556  +
        /* ServerOperationErrorGenerator.kt:88 */
 5953  11557   
    }
       11558  +
    /* ServerOperationErrorGenerator.kt:92 */
 5954  11559   
    /// Returns the error name string by matching the correct variant.
       11560  +
    /* ServerOperationErrorGenerator.kt:93 */
 5955  11561   
    pub fn name(&self) -> &'static str {
       11562  +
        /* ServerOperationErrorGenerator.kt:139 */
 5956  11563   
        match &self {
 5957         -
            HttpRequestWithFloatLabelsError::ValidationException(_inner) => _inner.name(),
 5958         -
            HttpRequestWithFloatLabelsError::InternalServerError(_inner) => _inner.name(),
       11564  +
            /* ServerOperationErrorGenerator.kt:142 */
       11565  +
            HttpRequestWithFloatLabelsError::ValidationException(_inner) =>
       11566  +
            /* ServerOperationErrorGenerator.kt:95 */
       11567  +
            {
       11568  +
                _inner.name()
       11569  +
            }
       11570  +
            ,
       11571  +
            /* ServerOperationErrorGenerator.kt:142 */
       11572  +
            HttpRequestWithFloatLabelsError::InternalServerError(_inner) =>
       11573  +
            /* ServerOperationErrorGenerator.kt:95 */
       11574  +
            {
       11575  +
                _inner.name()
       11576  +
            }
       11577  +
            /* ServerOperationErrorGenerator.kt:139 */
 5959  11578   
        }
       11579  +
        /* ServerOperationErrorGenerator.kt:93 */
 5960  11580   
    }
       11581  +
    /* ServerOperationErrorGenerator.kt:83 */
 5961  11582   
}
       11583  +
/* ServerOperationErrorGenerator.kt:100 */
 5962  11584   
impl ::std::error::Error for HttpRequestWithFloatLabelsError {
       11585  +
    /* ServerOperationErrorGenerator.kt:101 */
 5963  11586   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       11587  +
        /* ServerOperationErrorGenerator.kt:139 */
 5964  11588   
        match &self {
 5965         -
            HttpRequestWithFloatLabelsError::ValidationException(_inner) => Some(_inner),
 5966         -
            HttpRequestWithFloatLabelsError::InternalServerError(_inner) => Some(_inner),
       11589  +
            /* ServerOperationErrorGenerator.kt:142 */
       11590  +
            HttpRequestWithFloatLabelsError::ValidationException(_inner) =>
       11591  +
            /* ServerOperationErrorGenerator.kt:103 */
       11592  +
            {
       11593  +
                Some(_inner)
       11594  +
            }
       11595  +
            ,
       11596  +
            /* ServerOperationErrorGenerator.kt:142 */
       11597  +
            HttpRequestWithFloatLabelsError::InternalServerError(_inner) =>
       11598  +
            /* ServerOperationErrorGenerator.kt:103 */
       11599  +
            {
       11600  +
                Some(_inner)
       11601  +
            }
       11602  +
            /* ServerOperationErrorGenerator.kt:139 */
 5967  11603   
        }
       11604  +
        /* ServerOperationErrorGenerator.kt:101 */
 5968  11605   
    }
       11606  +
    /* ServerOperationErrorGenerator.kt:100 */
 5969  11607   
}
       11608  +
/* ServerOperationErrorGenerator.kt:110 */
 5970  11609   
impl ::std::convert::From<crate::error::ValidationException>
 5971  11610   
    for crate::error::HttpRequestWithFloatLabelsError
 5972  11611   
{
       11612  +
    /* ServerOperationErrorGenerator.kt:111 */
 5973  11613   
    fn from(
 5974  11614   
        variant: crate::error::ValidationException,
 5975  11615   
    ) -> crate::error::HttpRequestWithFloatLabelsError {
       11616  +
        /* ServerOperationErrorGenerator.kt:112 */
 5976  11617   
        Self::ValidationException(variant)
       11618  +
        /* ServerOperationErrorGenerator.kt:111 */
 5977  11619   
    }
       11620  +
    /* ServerOperationErrorGenerator.kt:110 */
 5978  11621   
}
       11622  +
/* ServerOperationErrorGenerator.kt:110 */
 5979  11623   
impl ::std::convert::From<crate::error::InternalServerError>
 5980  11624   
    for crate::error::HttpRequestWithFloatLabelsError
 5981  11625   
{
       11626  +
    /* ServerOperationErrorGenerator.kt:111 */
 5982  11627   
    fn from(
 5983  11628   
        variant: crate::error::InternalServerError,
 5984  11629   
    ) -> crate::error::HttpRequestWithFloatLabelsError {
       11630  +
        /* ServerOperationErrorGenerator.kt:112 */
 5985  11631   
        Self::InternalServerError(variant)
       11632  +
        /* ServerOperationErrorGenerator.kt:111 */
 5986  11633   
    }
       11634  +
    /* ServerOperationErrorGenerator.kt:110 */
 5987  11635   
}
 5988  11636   
       11637  +
/* PythonServerOperationErrorGenerator.kt:38 */
 5989  11638   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpRequestWithFloatLabelsError {
 5990  11639   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpRequestWithFloatLabelsError {
 5991  11640   
        ::pyo3::Python::with_gil(|py| {
 5992  11641   
            let error = variant.value(py);
 5993  11642   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 5994  11643   
                return error.into();
 5995  11644   
            }
 5996  11645   
            crate::error::InternalServerError {
 5997  11646   
                message: error.to_string(),
 5998  11647   
            }
 5999  11648   
            .into()
 6000  11649   
        })
 6001  11650   
    }
 6002  11651   
}
 6003  11652   
       11653  +
/* ServerOperationErrorGenerator.kt:63 */
 6004  11654   
/// Error type for the `HttpRequestWithGreedyLabelInPath` operation.
       11655  +
/* ServerOperationErrorGenerator.kt:64 */
 6005  11656   
/// Each variant represents an error that can occur for the `HttpRequestWithGreedyLabelInPath` operation.
       11657  +
/* RustType.kt:516 */
 6006  11658   
#[derive(::std::fmt::Debug)]
 6007         -
pub enum HttpRequestWithGreedyLabelInPathError {
 6008         -
    /// 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.
       11659  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpRequestWithGreedyLabelInPathError {
       11660  +
    /// /* 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.
       11661  +
    /* ServerOperationErrorGenerator.kt:71 */
 6009  11662   
    ValidationException(crate::error::ValidationException),
       11663  +
    /* ServerOperationErrorGenerator.kt:68 */
 6010  11664   
    #[allow(missing_docs)] // documentation missing in model
       11665  +
    /* ServerOperationErrorGenerator.kt:71 */
 6011  11666   
    InternalServerError(crate::error::InternalServerError),
       11667  +
    /* ServerOperationErrorGenerator.kt:66 */
 6012  11668   
}
       11669  +
/* ServerOperationErrorGenerator.kt:75 */
 6013  11670   
impl ::std::fmt::Display for HttpRequestWithGreedyLabelInPathError {
       11671  +
    /* ServerOperationErrorGenerator.kt:76 */
 6014  11672   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       11673  +
        /* ServerOperationErrorGenerator.kt:139 */
 6015  11674   
        match &self {
 6016         -
            HttpRequestWithGreedyLabelInPathError::ValidationException(_inner) => _inner.fmt(f),
 6017         -
            HttpRequestWithGreedyLabelInPathError::InternalServerError(_inner) => _inner.fmt(f),
       11675  +
            /* ServerOperationErrorGenerator.kt:142 */
       11676  +
            HttpRequestWithGreedyLabelInPathError::ValidationException(_inner) =>
       11677  +
            /* ServerOperationErrorGenerator.kt:78 */
       11678  +
            {
       11679  +
                _inner.fmt(f)
       11680  +
            }
       11681  +
            ,
       11682  +
            /* ServerOperationErrorGenerator.kt:142 */
       11683  +
            HttpRequestWithGreedyLabelInPathError::InternalServerError(_inner) =>
       11684  +
            /* ServerOperationErrorGenerator.kt:78 */
       11685  +
            {
       11686  +
                _inner.fmt(f)
       11687  +
            }
       11688  +
            /* ServerOperationErrorGenerator.kt:139 */
 6018  11689   
        }
       11690  +
        /* ServerOperationErrorGenerator.kt:76 */
 6019  11691   
    }
       11692  +
    /* ServerOperationErrorGenerator.kt:75 */
 6020  11693   
}
       11694  +
/* ServerOperationErrorGenerator.kt:83 */
 6021  11695   
impl HttpRequestWithGreedyLabelInPathError {
       11696  +
    /* ServerOperationErrorGenerator.kt:87 */
 6022  11697   
    /// Returns `true` if the error kind is `HttpRequestWithGreedyLabelInPathError::ValidationException`.
       11698  +
    /* ServerOperationErrorGenerator.kt:88 */
 6023  11699   
    pub fn is_validation_exception(&self) -> bool {
       11700  +
        /* ServerOperationErrorGenerator.kt:89 */
 6024  11701   
        matches!(
 6025  11702   
            &self,
 6026  11703   
            HttpRequestWithGreedyLabelInPathError::ValidationException(_)
 6027  11704   
        )
       11705  +
        /* ServerOperationErrorGenerator.kt:88 */
 6028  11706   
    }
       11707  +
    /* ServerOperationErrorGenerator.kt:87 */
 6029  11708   
    /// Returns `true` if the error kind is `HttpRequestWithGreedyLabelInPathError::InternalServerError`.
       11709  +
    /* ServerOperationErrorGenerator.kt:88 */
 6030  11710   
    pub fn is_internal_server_error(&self) -> bool {
       11711  +
        /* ServerOperationErrorGenerator.kt:89 */
 6031  11712   
        matches!(
 6032  11713   
            &self,
 6033  11714   
            HttpRequestWithGreedyLabelInPathError::InternalServerError(_)
 6034  11715   
        )
       11716  +
        /* ServerOperationErrorGenerator.kt:88 */
 6035  11717   
    }
       11718  +
    /* ServerOperationErrorGenerator.kt:92 */
 6036  11719   
    /// Returns the error name string by matching the correct variant.
       11720  +
    /* ServerOperationErrorGenerator.kt:93 */
 6037  11721   
    pub fn name(&self) -> &'static str {
       11722  +
        /* ServerOperationErrorGenerator.kt:139 */
 6038  11723   
        match &self {
 6039         -
            HttpRequestWithGreedyLabelInPathError::ValidationException(_inner) => _inner.name(),
 6040         -
            HttpRequestWithGreedyLabelInPathError::InternalServerError(_inner) => _inner.name(),
       11724  +
            /* ServerOperationErrorGenerator.kt:142 */
       11725  +
            HttpRequestWithGreedyLabelInPathError::ValidationException(_inner) =>
       11726  +
            /* ServerOperationErrorGenerator.kt:95 */
       11727  +
            {
       11728  +
                _inner.name()
       11729  +
            }
       11730  +
            ,
       11731  +
            /* ServerOperationErrorGenerator.kt:142 */
       11732  +
            HttpRequestWithGreedyLabelInPathError::InternalServerError(_inner) =>
       11733  +
            /* ServerOperationErrorGenerator.kt:95 */
       11734  +
            {
       11735  +
                _inner.name()
       11736  +
            }
       11737  +
            /* ServerOperationErrorGenerator.kt:139 */
 6041  11738   
        }
       11739  +
        /* ServerOperationErrorGenerator.kt:93 */
 6042  11740   
    }
       11741  +
    /* ServerOperationErrorGenerator.kt:83 */
 6043  11742   
}
       11743  +
/* ServerOperationErrorGenerator.kt:100 */
 6044  11744   
impl ::std::error::Error for HttpRequestWithGreedyLabelInPathError {
       11745  +
    /* ServerOperationErrorGenerator.kt:101 */
 6045  11746   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       11747  +
        /* ServerOperationErrorGenerator.kt:139 */
 6046  11748   
        match &self {
 6047         -
            HttpRequestWithGreedyLabelInPathError::ValidationException(_inner) => Some(_inner),
 6048         -
            HttpRequestWithGreedyLabelInPathError::InternalServerError(_inner) => Some(_inner),
       11749  +
            /* ServerOperationErrorGenerator.kt:142 */
       11750  +
            HttpRequestWithGreedyLabelInPathError::ValidationException(_inner) =>
       11751  +
            /* ServerOperationErrorGenerator.kt:103 */
       11752  +
            {
       11753  +
                Some(_inner)
       11754  +
            }
       11755  +
            ,
       11756  +
            /* ServerOperationErrorGenerator.kt:142 */
       11757  +
            HttpRequestWithGreedyLabelInPathError::InternalServerError(_inner) =>
       11758  +
            /* ServerOperationErrorGenerator.kt:103 */
       11759  +
            {
       11760  +
                Some(_inner)
       11761  +
            }
       11762  +
            /* ServerOperationErrorGenerator.kt:139 */
 6049  11763   
        }
       11764  +
        /* ServerOperationErrorGenerator.kt:101 */
 6050  11765   
    }
       11766  +
    /* ServerOperationErrorGenerator.kt:100 */
 6051  11767   
}
       11768  +
/* ServerOperationErrorGenerator.kt:110 */
 6052  11769   
impl ::std::convert::From<crate::error::ValidationException>
 6053  11770   
    for crate::error::HttpRequestWithGreedyLabelInPathError
 6054  11771   
{
       11772  +
    /* ServerOperationErrorGenerator.kt:111 */
 6055  11773   
    fn from(
 6056  11774   
        variant: crate::error::ValidationException,
 6057  11775   
    ) -> crate::error::HttpRequestWithGreedyLabelInPathError {
       11776  +
        /* ServerOperationErrorGenerator.kt:112 */
 6058  11777   
        Self::ValidationException(variant)
       11778  +
        /* ServerOperationErrorGenerator.kt:111 */
 6059  11779   
    }
       11780  +
    /* ServerOperationErrorGenerator.kt:110 */
 6060  11781   
}
       11782  +
/* ServerOperationErrorGenerator.kt:110 */
 6061  11783   
impl ::std::convert::From<crate::error::InternalServerError>
 6062  11784   
    for crate::error::HttpRequestWithGreedyLabelInPathError
 6063  11785   
{
       11786  +
    /* ServerOperationErrorGenerator.kt:111 */
 6064  11787   
    fn from(
 6065  11788   
        variant: crate::error::InternalServerError,
 6066  11789   
    ) -> crate::error::HttpRequestWithGreedyLabelInPathError {
       11790  +
        /* ServerOperationErrorGenerator.kt:112 */
 6067  11791   
        Self::InternalServerError(variant)
       11792  +
        /* ServerOperationErrorGenerator.kt:111 */
 6068  11793   
    }
       11794  +
    /* ServerOperationErrorGenerator.kt:110 */
 6069  11795   
}
 6070  11796   
       11797  +
/* PythonServerOperationErrorGenerator.kt:38 */
 6071  11798   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpRequestWithGreedyLabelInPathError {
 6072  11799   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpRequestWithGreedyLabelInPathError {
 6073  11800   
        ::pyo3::Python::with_gil(|py| {
 6074  11801   
            let error = variant.value(py);
 6075  11802   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 6076  11803   
                return error.into();
 6077  11804   
            }
 6078  11805   
            crate::error::InternalServerError {
 6079  11806   
                message: error.to_string(),
 6080  11807   
            }
 6081  11808   
            .into()
 6082  11809   
        })
 6083  11810   
    }
 6084  11811   
}
 6085  11812   
       11813  +
/* ServerOperationErrorGenerator.kt:63 */
 6086  11814   
/// Error type for the `HttpRequestWithLabelsAndTimestampFormat` operation.
       11815  +
/* ServerOperationErrorGenerator.kt:64 */
 6087  11816   
/// Each variant represents an error that can occur for the `HttpRequestWithLabelsAndTimestampFormat` operation.
       11817  +
/* RustType.kt:516 */
 6088  11818   
#[derive(::std::fmt::Debug)]
 6089         -
pub enum HttpRequestWithLabelsAndTimestampFormatError {
 6090         -
    /// 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.
       11819  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpRequestWithLabelsAndTimestampFormatError {
       11820  +
    /// /* 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.
       11821  +
    /* ServerOperationErrorGenerator.kt:71 */
 6091  11822   
    ValidationException(crate::error::ValidationException),
       11823  +
    /* ServerOperationErrorGenerator.kt:68 */
 6092  11824   
    #[allow(missing_docs)] // documentation missing in model
       11825  +
    /* ServerOperationErrorGenerator.kt:71 */
 6093  11826   
    InternalServerError(crate::error::InternalServerError),
       11827  +
    /* ServerOperationErrorGenerator.kt:66 */
 6094  11828   
}
       11829  +
/* ServerOperationErrorGenerator.kt:75 */
 6095  11830   
impl ::std::fmt::Display for HttpRequestWithLabelsAndTimestampFormatError {
       11831  +
    /* ServerOperationErrorGenerator.kt:76 */
 6096  11832   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       11833  +
        /* ServerOperationErrorGenerator.kt:139 */
 6097  11834   
        match &self {
 6098         -
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_inner) => {
       11835  +
            /* ServerOperationErrorGenerator.kt:142 */
       11836  +
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_inner) =>
       11837  +
            /* ServerOperationErrorGenerator.kt:78 */
       11838  +
            {
 6099  11839   
                _inner.fmt(f)
 6100  11840   
            }
 6101         -
            HttpRequestWithLabelsAndTimestampFormatError::InternalServerError(_inner) => {
       11841  +
            ,
       11842  +
            /* ServerOperationErrorGenerator.kt:142 */
       11843  +
            HttpRequestWithLabelsAndTimestampFormatError::InternalServerError(_inner) =>
       11844  +
            /* ServerOperationErrorGenerator.kt:78 */
       11845  +
            {
 6102  11846   
                _inner.fmt(f)
 6103  11847   
            }
       11848  +
            /* ServerOperationErrorGenerator.kt:139 */
 6104  11849   
        }
       11850  +
        /* ServerOperationErrorGenerator.kt:76 */
 6105  11851   
    }
       11852  +
    /* ServerOperationErrorGenerator.kt:75 */
 6106  11853   
}
       11854  +
/* ServerOperationErrorGenerator.kt:83 */
 6107  11855   
impl HttpRequestWithLabelsAndTimestampFormatError {
       11856  +
    /* ServerOperationErrorGenerator.kt:87 */
 6108  11857   
    /// Returns `true` if the error kind is `HttpRequestWithLabelsAndTimestampFormatError::ValidationException`.
       11858  +
    /* ServerOperationErrorGenerator.kt:88 */
 6109  11859   
    pub fn is_validation_exception(&self) -> bool {
       11860  +
        /* ServerOperationErrorGenerator.kt:89 */
 6110  11861   
        matches!(
 6111  11862   
            &self,
 6112  11863   
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_)
 6113  11864   
        )
       11865  +
        /* ServerOperationErrorGenerator.kt:88 */
 6114  11866   
    }
       11867  +
    /* ServerOperationErrorGenerator.kt:87 */
 6115  11868   
    /// Returns `true` if the error kind is `HttpRequestWithLabelsAndTimestampFormatError::InternalServerError`.
       11869  +
    /* ServerOperationErrorGenerator.kt:88 */
 6116  11870   
    pub fn is_internal_server_error(&self) -> bool {
       11871  +
        /* ServerOperationErrorGenerator.kt:89 */
 6117  11872   
        matches!(
 6118  11873   
            &self,
 6119  11874   
            HttpRequestWithLabelsAndTimestampFormatError::InternalServerError(_)
 6120  11875   
        )
       11876  +
        /* ServerOperationErrorGenerator.kt:88 */
 6121  11877   
    }
       11878  +
    /* ServerOperationErrorGenerator.kt:92 */
 6122  11879   
    /// Returns the error name string by matching the correct variant.
       11880  +
    /* ServerOperationErrorGenerator.kt:93 */
 6123  11881   
    pub fn name(&self) -> &'static str {
       11882  +
        /* ServerOperationErrorGenerator.kt:139 */
 6124  11883   
        match &self {
 6125         -
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_inner) => {
       11884  +
            /* ServerOperationErrorGenerator.kt:142 */
       11885  +
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_inner) =>
       11886  +
            /* ServerOperationErrorGenerator.kt:95 */
       11887  +
            {
 6126  11888   
                _inner.name()
 6127  11889   
            }
 6128         -
            HttpRequestWithLabelsAndTimestampFormatError::InternalServerError(_inner) => {
       11890  +
            ,
       11891  +
            /* ServerOperationErrorGenerator.kt:142 */
       11892  +
            HttpRequestWithLabelsAndTimestampFormatError::InternalServerError(_inner) =>
       11893  +
            /* ServerOperationErrorGenerator.kt:95 */
       11894  +
            {
 6129  11895   
                _inner.name()
 6130  11896   
            }
       11897  +
            /* ServerOperationErrorGenerator.kt:139 */
 6131  11898   
        }
       11899  +
        /* ServerOperationErrorGenerator.kt:93 */
 6132  11900   
    }
       11901  +
    /* ServerOperationErrorGenerator.kt:83 */
 6133  11902   
}
       11903  +
/* ServerOperationErrorGenerator.kt:100 */
 6134  11904   
impl ::std::error::Error for HttpRequestWithLabelsAndTimestampFormatError {
       11905  +
    /* ServerOperationErrorGenerator.kt:101 */
 6135  11906   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       11907  +
        /* ServerOperationErrorGenerator.kt:139 */
 6136  11908   
        match &self {
 6137         -
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_inner) => {
       11909  +
            /* ServerOperationErrorGenerator.kt:142 */
       11910  +
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_inner) =>
       11911  +
            /* ServerOperationErrorGenerator.kt:103 */
       11912  +
            {
 6138  11913   
                Some(_inner)
 6139  11914   
            }
 6140         -
            HttpRequestWithLabelsAndTimestampFormatError::InternalServerError(_inner) => {
       11915  +
            ,
       11916  +
            /* ServerOperationErrorGenerator.kt:142 */
       11917  +
            HttpRequestWithLabelsAndTimestampFormatError::InternalServerError(_inner) =>
       11918  +
            /* ServerOperationErrorGenerator.kt:103 */
       11919  +
            {
 6141  11920   
                Some(_inner)
 6142  11921   
            }
       11922  +
            /* ServerOperationErrorGenerator.kt:139 */
 6143  11923   
        }
       11924  +
        /* ServerOperationErrorGenerator.kt:101 */
 6144  11925   
    }
       11926  +
    /* ServerOperationErrorGenerator.kt:100 */
 6145  11927   
}
       11928  +
/* ServerOperationErrorGenerator.kt:110 */
 6146  11929   
impl ::std::convert::From<crate::error::ValidationException>
 6147  11930   
    for crate::error::HttpRequestWithLabelsAndTimestampFormatError
 6148  11931   
{
       11932  +
    /* ServerOperationErrorGenerator.kt:111 */
 6149  11933   
    fn from(
 6150  11934   
        variant: crate::error::ValidationException,
 6151  11935   
    ) -> crate::error::HttpRequestWithLabelsAndTimestampFormatError {
       11936  +
        /* ServerOperationErrorGenerator.kt:112 */
 6152  11937   
        Self::ValidationException(variant)
       11938  +
        /* ServerOperationErrorGenerator.kt:111 */
 6153  11939   
    }
       11940  +
    /* ServerOperationErrorGenerator.kt:110 */
 6154  11941   
}
       11942  +
/* ServerOperationErrorGenerator.kt:110 */
 6155  11943   
impl ::std::convert::From<crate::error::InternalServerError>
 6156  11944   
    for crate::error::HttpRequestWithLabelsAndTimestampFormatError
 6157  11945   
{
       11946  +
    /* ServerOperationErrorGenerator.kt:111 */
 6158  11947   
    fn from(
 6159  11948   
        variant: crate::error::InternalServerError,
 6160  11949   
    ) -> crate::error::HttpRequestWithLabelsAndTimestampFormatError {
       11950  +
        /* ServerOperationErrorGenerator.kt:112 */
 6161  11951   
        Self::InternalServerError(variant)
       11952  +
        /* ServerOperationErrorGenerator.kt:111 */
 6162  11953   
    }
       11954  +
    /* ServerOperationErrorGenerator.kt:110 */
 6163  11955   
}
 6164  11956   
       11957  +
/* PythonServerOperationErrorGenerator.kt:38 */
 6165  11958   
impl ::std::convert::From<::pyo3::PyErr>
 6166  11959   
    for crate::error::HttpRequestWithLabelsAndTimestampFormatError
 6167  11960   
{
 6168  11961   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpRequestWithLabelsAndTimestampFormatError {
 6169  11962   
        ::pyo3::Python::with_gil(|py| {
 6170  11963   
            let error = variant.value(py);
 6171  11964   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 6172  11965   
                return error.into();
 6173  11966   
            }
 6174  11967   
            crate::error::InternalServerError {
 6175  11968   
                message: error.to_string(),
 6176  11969   
            }
 6177  11970   
            .into()
 6178  11971   
        })
 6179  11972   
    }
 6180  11973   
}
 6181  11974   
       11975  +
/* ServerOperationErrorGenerator.kt:63 */
 6182  11976   
/// Error type for the `HttpRequestWithLabels` operation.
       11977  +
/* ServerOperationErrorGenerator.kt:64 */
 6183  11978   
/// Each variant represents an error that can occur for the `HttpRequestWithLabels` operation.
       11979  +
/* RustType.kt:516 */
 6184  11980   
#[derive(::std::fmt::Debug)]
 6185         -
pub enum HttpRequestWithLabelsError {
 6186         -
    /// 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.
       11981  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpRequestWithLabelsError {
       11982  +
    /// /* 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.
       11983  +
    /* ServerOperationErrorGenerator.kt:71 */
 6187  11984   
    ValidationException(crate::error::ValidationException),
       11985  +
    /* ServerOperationErrorGenerator.kt:68 */
 6188  11986   
    #[allow(missing_docs)] // documentation missing in model
       11987  +
    /* ServerOperationErrorGenerator.kt:71 */
 6189  11988   
    InternalServerError(crate::error::InternalServerError),
       11989  +
    /* ServerOperationErrorGenerator.kt:66 */
 6190  11990   
}
       11991  +
/* ServerOperationErrorGenerator.kt:75 */
 6191  11992   
impl ::std::fmt::Display for HttpRequestWithLabelsError {
       11993  +
    /* ServerOperationErrorGenerator.kt:76 */
 6192  11994   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       11995  +
        /* ServerOperationErrorGenerator.kt:139 */
 6193  11996   
        match &self {
 6194         -
            HttpRequestWithLabelsError::ValidationException(_inner) => _inner.fmt(f),
 6195         -
            HttpRequestWithLabelsError::InternalServerError(_inner) => _inner.fmt(f),
       11997  +
            /* ServerOperationErrorGenerator.kt:142 */
       11998  +
            HttpRequestWithLabelsError::ValidationException(_inner) =>
       11999  +
            /* ServerOperationErrorGenerator.kt:78 */
       12000  +
            {
       12001  +
                _inner.fmt(f)
       12002  +
            }
       12003  +
            ,
       12004  +
            /* ServerOperationErrorGenerator.kt:142 */
       12005  +
            HttpRequestWithLabelsError::InternalServerError(_inner) =>
       12006  +
            /* ServerOperationErrorGenerator.kt:78 */
       12007  +
            {
       12008  +
                _inner.fmt(f)
       12009  +
            }
       12010  +
            /* ServerOperationErrorGenerator.kt:139 */
 6196  12011   
        }
       12012  +
        /* ServerOperationErrorGenerator.kt:76 */
 6197  12013   
    }
       12014  +
    /* ServerOperationErrorGenerator.kt:75 */
 6198  12015   
}
       12016  +
/* ServerOperationErrorGenerator.kt:83 */
 6199  12017   
impl HttpRequestWithLabelsError {
       12018  +
    /* ServerOperationErrorGenerator.kt:87 */
 6200  12019   
    /// Returns `true` if the error kind is `HttpRequestWithLabelsError::ValidationException`.
       12020  +
    /* ServerOperationErrorGenerator.kt:88 */
 6201  12021   
    pub fn is_validation_exception(&self) -> bool {
       12022  +
        /* ServerOperationErrorGenerator.kt:89 */
 6202  12023   
        matches!(&self, HttpRequestWithLabelsError::ValidationException(_))
       12024  +
        /* ServerOperationErrorGenerator.kt:88 */
 6203  12025   
    }
       12026  +
    /* ServerOperationErrorGenerator.kt:87 */
 6204  12027   
    /// Returns `true` if the error kind is `HttpRequestWithLabelsError::InternalServerError`.
       12028  +
    /* ServerOperationErrorGenerator.kt:88 */
 6205  12029   
    pub fn is_internal_server_error(&self) -> bool {
       12030  +
        /* ServerOperationErrorGenerator.kt:89 */
 6206  12031   
        matches!(&self, HttpRequestWithLabelsError::InternalServerError(_))
       12032  +
        /* ServerOperationErrorGenerator.kt:88 */
 6207  12033   
    }
       12034  +
    /* ServerOperationErrorGenerator.kt:92 */
 6208  12035   
    /// Returns the error name string by matching the correct variant.
       12036  +
    /* ServerOperationErrorGenerator.kt:93 */
 6209  12037   
    pub fn name(&self) -> &'static str {
       12038  +
        /* ServerOperationErrorGenerator.kt:139 */
 6210  12039   
        match &self {
 6211         -
            HttpRequestWithLabelsError::ValidationException(_inner) => _inner.name(),
 6212         -
            HttpRequestWithLabelsError::InternalServerError(_inner) => _inner.name(),
       12040  +
            /* ServerOperationErrorGenerator.kt:142 */
       12041  +
            HttpRequestWithLabelsError::ValidationException(_inner) =>
       12042  +
            /* ServerOperationErrorGenerator.kt:95 */
       12043  +
            {
       12044  +
                _inner.name()
       12045  +
            }
       12046  +
            ,
       12047  +
            /* ServerOperationErrorGenerator.kt:142 */
       12048  +
            HttpRequestWithLabelsError::InternalServerError(_inner) =>
       12049  +
            /* ServerOperationErrorGenerator.kt:95 */
       12050  +
            {
       12051  +
                _inner.name()
       12052  +
            }
       12053  +
            /* ServerOperationErrorGenerator.kt:139 */
 6213  12054   
        }
       12055  +
        /* ServerOperationErrorGenerator.kt:93 */
 6214  12056   
    }
       12057  +
    /* ServerOperationErrorGenerator.kt:83 */
 6215  12058   
}
       12059  +
/* ServerOperationErrorGenerator.kt:100 */
 6216  12060   
impl ::std::error::Error for HttpRequestWithLabelsError {
       12061  +
    /* ServerOperationErrorGenerator.kt:101 */
 6217  12062   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       12063  +
        /* ServerOperationErrorGenerator.kt:139 */
 6218  12064   
        match &self {
 6219         -
            HttpRequestWithLabelsError::ValidationException(_inner) => Some(_inner),
 6220         -
            HttpRequestWithLabelsError::InternalServerError(_inner) => Some(_inner),
       12065  +
            /* ServerOperationErrorGenerator.kt:142 */
       12066  +
            HttpRequestWithLabelsError::ValidationException(_inner) =>
       12067  +
            /* ServerOperationErrorGenerator.kt:103 */
       12068  +
            {
       12069  +
                Some(_inner)
       12070  +
            }
       12071  +
            ,
       12072  +
            /* ServerOperationErrorGenerator.kt:142 */
       12073  +
            HttpRequestWithLabelsError::InternalServerError(_inner) =>
       12074  +
            /* ServerOperationErrorGenerator.kt:103 */
       12075  +
            {
       12076  +
                Some(_inner)
       12077  +
            }
       12078  +
            /* ServerOperationErrorGenerator.kt:139 */
 6221  12079   
        }
       12080  +
        /* ServerOperationErrorGenerator.kt:101 */
 6222  12081   
    }
       12082  +
    /* ServerOperationErrorGenerator.kt:100 */
 6223  12083   
}
       12084  +
/* ServerOperationErrorGenerator.kt:110 */
 6224  12085   
impl ::std::convert::From<crate::error::ValidationException>
 6225  12086   
    for crate::error::HttpRequestWithLabelsError
 6226  12087   
{
       12088  +
    /* ServerOperationErrorGenerator.kt:111 */
 6227  12089   
    fn from(
 6228  12090   
        variant: crate::error::ValidationException,
 6229  12091   
    ) -> crate::error::HttpRequestWithLabelsError {
       12092  +
        /* ServerOperationErrorGenerator.kt:112 */
 6230  12093   
        Self::ValidationException(variant)
       12094  +
        /* ServerOperationErrorGenerator.kt:111 */
 6231  12095   
    }
       12096  +
    /* ServerOperationErrorGenerator.kt:110 */
 6232  12097   
}
       12098  +
/* ServerOperationErrorGenerator.kt:110 */
 6233  12099   
impl ::std::convert::From<crate::error::InternalServerError>
 6234  12100   
    for crate::error::HttpRequestWithLabelsError
 6235  12101   
{
       12102  +
    /* ServerOperationErrorGenerator.kt:111 */
 6236  12103   
    fn from(
 6237  12104   
        variant: crate::error::InternalServerError,
 6238  12105   
    ) -> crate::error::HttpRequestWithLabelsError {
       12106  +
        /* ServerOperationErrorGenerator.kt:112 */
 6239  12107   
        Self::InternalServerError(variant)
       12108  +
        /* ServerOperationErrorGenerator.kt:111 */
 6240  12109   
    }
       12110  +
    /* ServerOperationErrorGenerator.kt:110 */
 6241  12111   
}
 6242  12112   
       12113  +
/* PythonServerOperationErrorGenerator.kt:38 */
 6243  12114   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::HttpRequestWithLabelsError {
 6244  12115   
    fn from(variant: ::pyo3::PyErr) -> crate::error::HttpRequestWithLabelsError {
 6245  12116   
        ::pyo3::Python::with_gil(|py| {
 6246  12117   
            let error = variant.value(py);
 6247  12118   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 6248  12119   
                return error.into();
 6249  12120   
            }
 6250  12121   
            crate::error::InternalServerError {
 6251  12122   
                message: error.to_string(),
 6252  12123   
            }
 6253  12124   
            .into()
 6254  12125   
        })
 6255  12126   
    }
 6256  12127   
}
 6257  12128   
       12129  +
/* ServerOperationErrorGenerator.kt:63 */
 6258  12130   
/// Error type for the `MediaTypeHeader` operation.
       12131  +
/* ServerOperationErrorGenerator.kt:64 */
 6259  12132   
/// Each variant represents an error that can occur for the `MediaTypeHeader` operation.
       12133  +
/* RustType.kt:516 */
 6260  12134   
#[derive(::std::fmt::Debug)]
 6261         -
pub enum MediaTypeHeaderError {
       12135  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MediaTypeHeaderError {
       12136  +
    /* ServerOperationErrorGenerator.kt:68 */
 6262  12137   
    #[allow(missing_docs)] // documentation missing in model
       12138  +
    /* ServerOperationErrorGenerator.kt:71 */
 6263  12139   
    InternalServerError(crate::error::InternalServerError),
       12140  +
    /* ServerOperationErrorGenerator.kt:66 */
 6264  12141   
}
       12142  +
/* ServerOperationErrorGenerator.kt:75 */
 6265  12143   
impl ::std::fmt::Display for MediaTypeHeaderError {
       12144  +
    /* ServerOperationErrorGenerator.kt:76 */
 6266  12145   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       12146  +
        /* ServerOperationErrorGenerator.kt:139 */
 6267  12147   
        match &self {
 6268         -
            MediaTypeHeaderError::InternalServerError(_inner) => _inner.fmt(f),
       12148  +
            /* ServerOperationErrorGenerator.kt:142 */
       12149  +
            MediaTypeHeaderError::InternalServerError(_inner) =>
       12150  +
            /* ServerOperationErrorGenerator.kt:78 */
       12151  +
            {
       12152  +
                _inner.fmt(f)
       12153  +
            }
       12154  +
            /* ServerOperationErrorGenerator.kt:139 */
 6269  12155   
        }
       12156  +
        /* ServerOperationErrorGenerator.kt:76 */
 6270  12157   
    }
       12158  +
    /* ServerOperationErrorGenerator.kt:75 */
 6271  12159   
}
       12160  +
/* ServerOperationErrorGenerator.kt:83 */
 6272  12161   
impl MediaTypeHeaderError {
       12162  +
    /* ServerOperationErrorGenerator.kt:87 */
 6273  12163   
    /// Returns `true` if the error kind is `MediaTypeHeaderError::InternalServerError`.
       12164  +
    /* ServerOperationErrorGenerator.kt:88 */
 6274  12165   
    pub fn is_internal_server_error(&self) -> bool {
       12166  +
        /* ServerOperationErrorGenerator.kt:89 */
 6275  12167   
        matches!(&self, MediaTypeHeaderError::InternalServerError(_))
       12168  +
        /* ServerOperationErrorGenerator.kt:88 */
 6276  12169   
    }
       12170  +
    /* ServerOperationErrorGenerator.kt:92 */
 6277  12171   
    /// Returns the error name string by matching the correct variant.
       12172  +
    /* ServerOperationErrorGenerator.kt:93 */
 6278  12173   
    pub fn name(&self) -> &'static str {
       12174  +
        /* ServerOperationErrorGenerator.kt:139 */
 6279  12175   
        match &self {
 6280         -
            MediaTypeHeaderError::InternalServerError(_inner) => _inner.name(),
       12176  +
            /* ServerOperationErrorGenerator.kt:142 */
       12177  +
            MediaTypeHeaderError::InternalServerError(_inner) =>
       12178  +
            /* ServerOperationErrorGenerator.kt:95 */
       12179  +
            {
       12180  +
                _inner.name()
       12181  +
            }
       12182  +
            /* ServerOperationErrorGenerator.kt:139 */
 6281  12183   
        }
       12184  +
        /* ServerOperationErrorGenerator.kt:93 */
 6282  12185   
    }
       12186  +
    /* ServerOperationErrorGenerator.kt:83 */
 6283  12187   
}
       12188  +
/* ServerOperationErrorGenerator.kt:100 */
 6284  12189   
impl ::std::error::Error for MediaTypeHeaderError {
       12190  +
    /* ServerOperationErrorGenerator.kt:101 */
 6285  12191   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       12192  +
        /* ServerOperationErrorGenerator.kt:139 */
 6286  12193   
        match &self {
 6287         -
            MediaTypeHeaderError::InternalServerError(_inner) => Some(_inner),
       12194  +
            /* ServerOperationErrorGenerator.kt:142 */
       12195  +
            MediaTypeHeaderError::InternalServerError(_inner) =>
       12196  +
            /* ServerOperationErrorGenerator.kt:103 */
       12197  +
            {
       12198  +
                Some(_inner)
       12199  +
            }
       12200  +
            /* ServerOperationErrorGenerator.kt:139 */
 6288  12201   
        }
       12202  +
        /* ServerOperationErrorGenerator.kt:101 */
 6289  12203   
    }
       12204  +
    /* ServerOperationErrorGenerator.kt:100 */
 6290  12205   
}
       12206  +
/* ServerOperationErrorGenerator.kt:110 */
 6291  12207   
impl ::std::convert::From<crate::error::InternalServerError>
 6292  12208   
    for crate::error::MediaTypeHeaderError
 6293  12209   
{
       12210  +
    /* ServerOperationErrorGenerator.kt:111 */
 6294  12211   
    fn from(variant: crate::error::InternalServerError) -> crate::error::MediaTypeHeaderError {
       12212  +
        /* ServerOperationErrorGenerator.kt:112 */
 6295  12213   
        Self::InternalServerError(variant)
       12214  +
        /* ServerOperationErrorGenerator.kt:111 */
 6296  12215   
    }
       12216  +
    /* ServerOperationErrorGenerator.kt:110 */
 6297  12217   
}
 6298  12218   
       12219  +
/* PythonServerOperationErrorGenerator.kt:38 */
 6299  12220   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::MediaTypeHeaderError {
 6300  12221   
    fn from(variant: ::pyo3::PyErr) -> crate::error::MediaTypeHeaderError {
 6301  12222   
        ::pyo3::Python::with_gil(|py| {
 6302  12223   
            let error = variant.value(py);
 6303  12224   
 6304  12225   
            crate::error::InternalServerError {
 6305  12226   
                message: error.to_string(),
 6306  12227   
            }
 6307  12228   
            .into()
 6308  12229   
        })
 6309  12230   
    }
 6310  12231   
}
 6311  12232   
       12233  +
/* ServerOperationErrorGenerator.kt:63 */
 6312  12234   
/// Error type for the `TimestampFormatHeaders` operation.
       12235  +
/* ServerOperationErrorGenerator.kt:64 */
 6313  12236   
/// Each variant represents an error that can occur for the `TimestampFormatHeaders` operation.
       12237  +
/* RustType.kt:516 */
 6314  12238   
#[derive(::std::fmt::Debug)]
 6315         -
pub enum TimestampFormatHeadersError {
       12239  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum TimestampFormatHeadersError {
       12240  +
    /* ServerOperationErrorGenerator.kt:68 */
 6316  12241   
    #[allow(missing_docs)] // documentation missing in model
       12242  +
    /* ServerOperationErrorGenerator.kt:71 */
 6317  12243   
    InternalServerError(crate::error::InternalServerError),
       12244  +
    /* ServerOperationErrorGenerator.kt:66 */
 6318  12245   
}
       12246  +
/* ServerOperationErrorGenerator.kt:75 */
 6319  12247   
impl ::std::fmt::Display for TimestampFormatHeadersError {
       12248  +
    /* ServerOperationErrorGenerator.kt:76 */
 6320  12249   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       12250  +
        /* ServerOperationErrorGenerator.kt:139 */
 6321  12251   
        match &self {
 6322         -
            TimestampFormatHeadersError::InternalServerError(_inner) => _inner.fmt(f),
       12252  +
            /* ServerOperationErrorGenerator.kt:142 */
       12253  +
            TimestampFormatHeadersError::InternalServerError(_inner) =>
       12254  +
            /* ServerOperationErrorGenerator.kt:78 */
       12255  +
            {
       12256  +
                _inner.fmt(f)
       12257  +
            }
       12258  +
            /* ServerOperationErrorGenerator.kt:139 */
 6323  12259   
        }
       12260  +
        /* ServerOperationErrorGenerator.kt:76 */
 6324  12261   
    }
       12262  +
    /* ServerOperationErrorGenerator.kt:75 */
 6325  12263   
}
       12264  +
/* ServerOperationErrorGenerator.kt:83 */
 6326  12265   
impl TimestampFormatHeadersError {
       12266  +
    /* ServerOperationErrorGenerator.kt:87 */
 6327  12267   
    /// Returns `true` if the error kind is `TimestampFormatHeadersError::InternalServerError`.
       12268  +
    /* ServerOperationErrorGenerator.kt:88 */
 6328  12269   
    pub fn is_internal_server_error(&self) -> bool {
       12270  +
        /* ServerOperationErrorGenerator.kt:89 */
 6329  12271   
        matches!(&self, TimestampFormatHeadersError::InternalServerError(_))
       12272  +
        /* ServerOperationErrorGenerator.kt:88 */
 6330  12273   
    }
       12274  +
    /* ServerOperationErrorGenerator.kt:92 */
 6331  12275   
    /// Returns the error name string by matching the correct variant.
       12276  +
    /* ServerOperationErrorGenerator.kt:93 */
 6332  12277   
    pub fn name(&self) -> &'static str {
       12278  +
        /* ServerOperationErrorGenerator.kt:139 */
 6333  12279   
        match &self {
 6334         -
            TimestampFormatHeadersError::InternalServerError(_inner) => _inner.name(),
       12280  +
            /* ServerOperationErrorGenerator.kt:142 */
       12281  +
            TimestampFormatHeadersError::InternalServerError(_inner) =>
       12282  +
            /* ServerOperationErrorGenerator.kt:95 */
       12283  +
            {
       12284  +
                _inner.name()
       12285  +
            }
       12286  +
            /* ServerOperationErrorGenerator.kt:139 */
 6335  12287   
        }
       12288  +
        /* ServerOperationErrorGenerator.kt:93 */
 6336  12289   
    }
       12290  +
    /* ServerOperationErrorGenerator.kt:83 */
 6337  12291   
}
       12292  +
/* ServerOperationErrorGenerator.kt:100 */
 6338  12293   
impl ::std::error::Error for TimestampFormatHeadersError {
       12294  +
    /* ServerOperationErrorGenerator.kt:101 */
 6339  12295   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       12296  +
        /* ServerOperationErrorGenerator.kt:139 */
 6340  12297   
        match &self {
 6341         -
            TimestampFormatHeadersError::InternalServerError(_inner) => Some(_inner),
       12298  +
            /* ServerOperationErrorGenerator.kt:142 */
       12299  +
            TimestampFormatHeadersError::InternalServerError(_inner) =>
       12300  +
            /* ServerOperationErrorGenerator.kt:103 */
       12301  +
            {
       12302  +
                Some(_inner)
       12303  +
            }
       12304  +
            /* ServerOperationErrorGenerator.kt:139 */
 6342  12305   
        }
       12306  +
        /* ServerOperationErrorGenerator.kt:101 */
 6343  12307   
    }
       12308  +
    /* ServerOperationErrorGenerator.kt:100 */
 6344  12309   
}
       12310  +
/* ServerOperationErrorGenerator.kt:110 */
 6345  12311   
impl ::std::convert::From<crate::error::InternalServerError>
 6346  12312   
    for crate::error::TimestampFormatHeadersError
 6347  12313   
{
       12314  +
    /* ServerOperationErrorGenerator.kt:111 */
 6348  12315   
    fn from(
 6349  12316   
        variant: crate::error::InternalServerError,
 6350  12317   
    ) -> crate::error::TimestampFormatHeadersError {
       12318  +
        /* ServerOperationErrorGenerator.kt:112 */
 6351  12319   
        Self::InternalServerError(variant)
       12320  +
        /* ServerOperationErrorGenerator.kt:111 */
 6352  12321   
    }
       12322  +
    /* ServerOperationErrorGenerator.kt:110 */
 6353  12323   
}
 6354  12324   
       12325  +
/* PythonServerOperationErrorGenerator.kt:38 */
 6355  12326   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::TimestampFormatHeadersError {
 6356  12327   
    fn from(variant: ::pyo3::PyErr) -> crate::error::TimestampFormatHeadersError {
 6357  12328   
        ::pyo3::Python::with_gil(|py| {
 6358  12329   
            let error = variant.value(py);
 6359  12330   
 6360  12331   
            crate::error::InternalServerError {
 6361  12332   
                message: error.to_string(),
 6362  12333   
            }
 6363  12334   
            .into()
 6364  12335   
        })
 6365  12336   
    }
 6366  12337   
}
 6367  12338   
       12339  +
/* ServerOperationErrorGenerator.kt:63 */
 6368  12340   
/// Error type for the `NullAndEmptyHeadersServer` operation.
       12341  +
/* ServerOperationErrorGenerator.kt:64 */
 6369  12342   
/// Each variant represents an error that can occur for the `NullAndEmptyHeadersServer` operation.
       12343  +
/* RustType.kt:516 */
 6370  12344   
#[derive(::std::fmt::Debug)]
 6371         -
pub enum NullAndEmptyHeadersServerError {
       12345  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum NullAndEmptyHeadersServerError {
       12346  +
    /* ServerOperationErrorGenerator.kt:68 */
 6372  12347   
    #[allow(missing_docs)] // documentation missing in model
       12348  +
    /* ServerOperationErrorGenerator.kt:71 */
 6373  12349   
    InternalServerError(crate::error::InternalServerError),
       12350  +
    /* ServerOperationErrorGenerator.kt:66 */
 6374  12351   
}
       12352  +
/* ServerOperationErrorGenerator.kt:75 */
 6375  12353   
impl ::std::fmt::Display for NullAndEmptyHeadersServerError {
       12354  +
    /* ServerOperationErrorGenerator.kt:76 */
 6376  12355   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       12356  +
        /* ServerOperationErrorGenerator.kt:139 */
 6377  12357   
        match &self {
 6378         -
            NullAndEmptyHeadersServerError::InternalServerError(_inner) => _inner.fmt(f),
       12358  +
            /* ServerOperationErrorGenerator.kt:142 */
       12359  +
            NullAndEmptyHeadersServerError::InternalServerError(_inner) =>
       12360  +
            /* ServerOperationErrorGenerator.kt:78 */
       12361  +
            {
       12362  +
                _inner.fmt(f)
       12363  +
            }
       12364  +
            /* ServerOperationErrorGenerator.kt:139 */
 6379  12365   
        }
       12366  +
        /* ServerOperationErrorGenerator.kt:76 */
 6380  12367   
    }
       12368  +
    /* ServerOperationErrorGenerator.kt:75 */
 6381  12369   
}
       12370  +
/* ServerOperationErrorGenerator.kt:83 */
 6382  12371   
impl NullAndEmptyHeadersServerError {
       12372  +
    /* ServerOperationErrorGenerator.kt:87 */
 6383  12373   
    /// Returns `true` if the error kind is `NullAndEmptyHeadersServerError::InternalServerError`.
       12374  +
    /* ServerOperationErrorGenerator.kt:88 */
 6384  12375   
    pub fn is_internal_server_error(&self) -> bool {
       12376  +
        /* ServerOperationErrorGenerator.kt:89 */
 6385  12377   
        matches!(
 6386  12378   
            &self,
 6387  12379   
            NullAndEmptyHeadersServerError::InternalServerError(_)
 6388  12380   
        )
       12381  +
        /* ServerOperationErrorGenerator.kt:88 */
 6389  12382   
    }
       12383  +
    /* ServerOperationErrorGenerator.kt:92 */
 6390  12384   
    /// Returns the error name string by matching the correct variant.
       12385  +
    /* ServerOperationErrorGenerator.kt:93 */
 6391  12386   
    pub fn name(&self) -> &'static str {
       12387  +
        /* ServerOperationErrorGenerator.kt:139 */
 6392  12388   
        match &self {
 6393         -
            NullAndEmptyHeadersServerError::InternalServerError(_inner) => _inner.name(),
       12389  +
            /* ServerOperationErrorGenerator.kt:142 */
       12390  +
            NullAndEmptyHeadersServerError::InternalServerError(_inner) =>
       12391  +
            /* ServerOperationErrorGenerator.kt:95 */
       12392  +
            {
       12393  +
                _inner.name()
       12394  +
            }
       12395  +
            /* ServerOperationErrorGenerator.kt:139 */
 6394  12396   
        }
       12397  +
        /* ServerOperationErrorGenerator.kt:93 */
 6395  12398   
    }
       12399  +
    /* ServerOperationErrorGenerator.kt:83 */
 6396  12400   
}
       12401  +
/* ServerOperationErrorGenerator.kt:100 */
 6397  12402   
impl ::std::error::Error for NullAndEmptyHeadersServerError {
       12403  +
    /* ServerOperationErrorGenerator.kt:101 */
 6398  12404   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       12405  +
        /* ServerOperationErrorGenerator.kt:139 */
 6399  12406   
        match &self {
 6400         -
            NullAndEmptyHeadersServerError::InternalServerError(_inner) => Some(_inner),
       12407  +
            /* ServerOperationErrorGenerator.kt:142 */
       12408  +
            NullAndEmptyHeadersServerError::InternalServerError(_inner) =>
       12409  +
            /* ServerOperationErrorGenerator.kt:103 */
       12410  +
            {
       12411  +
                Some(_inner)
       12412  +
            }
       12413  +
            /* ServerOperationErrorGenerator.kt:139 */
 6401  12414   
        }
       12415  +
        /* ServerOperationErrorGenerator.kt:101 */
 6402  12416   
    }
       12417  +
    /* ServerOperationErrorGenerator.kt:100 */
 6403  12418   
}
       12419  +
/* ServerOperationErrorGenerator.kt:110 */
 6404  12420   
impl ::std::convert::From<crate::error::InternalServerError>
 6405  12421   
    for crate::error::NullAndEmptyHeadersServerError
 6406  12422   
{
       12423  +
    /* ServerOperationErrorGenerator.kt:111 */
 6407  12424   
    fn from(
 6408  12425   
        variant: crate::error::InternalServerError,
 6409  12426   
    ) -> crate::error::NullAndEmptyHeadersServerError {
       12427  +
        /* ServerOperationErrorGenerator.kt:112 */
 6410  12428   
        Self::InternalServerError(variant)
       12429  +
        /* ServerOperationErrorGenerator.kt:111 */
 6411  12430   
    }
       12431  +
    /* ServerOperationErrorGenerator.kt:110 */
 6412  12432   
}
 6413  12433   
       12434  +
/* PythonServerOperationErrorGenerator.kt:38 */
 6414  12435   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::NullAndEmptyHeadersServerError {
 6415  12436   
    fn from(variant: ::pyo3::PyErr) -> crate::error::NullAndEmptyHeadersServerError {
 6416  12437   
        ::pyo3::Python::with_gil(|py| {
 6417  12438   
            let error = variant.value(py);
 6418  12439   
 6419  12440   
            crate::error::InternalServerError {
 6420  12441   
                message: error.to_string(),
 6421  12442   
            }
 6422  12443   
            .into()
 6423  12444   
        })
 6424  12445   
    }
 6425  12446   
}
 6426  12447   
       12448  +
/* ServerOperationErrorGenerator.kt:63 */
 6427  12449   
/// Error type for the `NullAndEmptyHeadersClient` operation.
       12450  +
/* ServerOperationErrorGenerator.kt:64 */
 6428  12451   
/// Each variant represents an error that can occur for the `NullAndEmptyHeadersClient` operation.
       12452  +
/* RustType.kt:516 */
 6429  12453   
#[derive(::std::fmt::Debug)]
 6430         -
pub enum NullAndEmptyHeadersClientError {
       12454  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum NullAndEmptyHeadersClientError {
       12455  +
    /* ServerOperationErrorGenerator.kt:68 */
 6431  12456   
    #[allow(missing_docs)] // documentation missing in model
       12457  +
    /* ServerOperationErrorGenerator.kt:71 */
 6432  12458   
    InternalServerError(crate::error::InternalServerError),
       12459  +
    /* ServerOperationErrorGenerator.kt:66 */
 6433  12460   
}
       12461  +
/* ServerOperationErrorGenerator.kt:75 */
 6434  12462   
impl ::std::fmt::Display for NullAndEmptyHeadersClientError {
       12463  +
    /* ServerOperationErrorGenerator.kt:76 */
 6435  12464   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       12465  +
        /* ServerOperationErrorGenerator.kt:139 */
 6436  12466   
        match &self {
 6437         -
            NullAndEmptyHeadersClientError::InternalServerError(_inner) => _inner.fmt(f),
       12467  +
            /* ServerOperationErrorGenerator.kt:142 */
       12468  +
            NullAndEmptyHeadersClientError::InternalServerError(_inner) =>
       12469  +
            /* ServerOperationErrorGenerator.kt:78 */
       12470  +
            {
       12471  +
                _inner.fmt(f)
       12472  +
            }
       12473  +
            /* ServerOperationErrorGenerator.kt:139 */
 6438  12474   
        }
       12475  +
        /* ServerOperationErrorGenerator.kt:76 */
 6439  12476   
    }
       12477  +
    /* ServerOperationErrorGenerator.kt:75 */
 6440  12478   
}
       12479  +
/* ServerOperationErrorGenerator.kt:83 */
 6441  12480   
impl NullAndEmptyHeadersClientError {
       12481  +
    /* ServerOperationErrorGenerator.kt:87 */
 6442  12482   
    /// Returns `true` if the error kind is `NullAndEmptyHeadersClientError::InternalServerError`.
       12483  +
    /* ServerOperationErrorGenerator.kt:88 */
 6443  12484   
    pub fn is_internal_server_error(&self) -> bool {
       12485  +
        /* ServerOperationErrorGenerator.kt:89 */
 6444  12486   
        matches!(
 6445  12487   
            &self,
 6446  12488   
            NullAndEmptyHeadersClientError::InternalServerError(_)
 6447  12489   
        )
       12490  +
        /* ServerOperationErrorGenerator.kt:88 */
 6448  12491   
    }
       12492  +
    /* ServerOperationErrorGenerator.kt:92 */
 6449  12493   
    /// Returns the error name string by matching the correct variant.
       12494  +
    /* ServerOperationErrorGenerator.kt:93 */
 6450  12495   
    pub fn name(&self) -> &'static str {
       12496  +
        /* ServerOperationErrorGenerator.kt:139 */
 6451  12497   
        match &self {
 6452         -
            NullAndEmptyHeadersClientError::InternalServerError(_inner) => _inner.name(),
       12498  +
            /* ServerOperationErrorGenerator.kt:142 */
       12499  +
            NullAndEmptyHeadersClientError::InternalServerError(_inner) =>
       12500  +
            /* ServerOperationErrorGenerator.kt:95 */
       12501  +
            {
       12502  +
                _inner.name()
       12503  +
            }
       12504  +
            /* ServerOperationErrorGenerator.kt:139 */
 6453  12505   
        }
       12506  +
        /* ServerOperationErrorGenerator.kt:93 */
 6454  12507   
    }
       12508  +
    /* ServerOperationErrorGenerator.kt:83 */
 6455  12509   
}
       12510  +
/* ServerOperationErrorGenerator.kt:100 */
 6456  12511   
impl ::std::error::Error for NullAndEmptyHeadersClientError {
       12512  +
    /* ServerOperationErrorGenerator.kt:101 */
 6457  12513   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       12514  +
        /* ServerOperationErrorGenerator.kt:139 */
 6458  12515   
        match &self {
 6459         -
            NullAndEmptyHeadersClientError::InternalServerError(_inner) => Some(_inner),
       12516  +
            /* ServerOperationErrorGenerator.kt:142 */
       12517  +
            NullAndEmptyHeadersClientError::InternalServerError(_inner) =>
       12518  +
            /* ServerOperationErrorGenerator.kt:103 */
       12519  +
            {
       12520  +
                Some(_inner)
       12521  +
            }
       12522  +
            /* ServerOperationErrorGenerator.kt:139 */
 6460  12523   
        }
       12524  +
        /* ServerOperationErrorGenerator.kt:101 */
 6461  12525   
    }
       12526  +
    /* ServerOperationErrorGenerator.kt:100 */
 6462  12527   
}
       12528  +
/* ServerOperationErrorGenerator.kt:110 */
 6463  12529   
impl ::std::convert::From<crate::error::InternalServerError>
 6464  12530   
    for crate::error::NullAndEmptyHeadersClientError
 6465  12531   
{
       12532  +
    /* ServerOperationErrorGenerator.kt:111 */
 6466  12533   
    fn from(
 6467  12534   
        variant: crate::error::InternalServerError,
 6468  12535   
    ) -> crate::error::NullAndEmptyHeadersClientError {
       12536  +
        /* ServerOperationErrorGenerator.kt:112 */
 6469  12537   
        Self::InternalServerError(variant)
       12538  +
        /* ServerOperationErrorGenerator.kt:111 */
 6470  12539   
    }
       12540  +
    /* ServerOperationErrorGenerator.kt:110 */
 6471  12541   
}
 6472  12542   
       12543  +
/* PythonServerOperationErrorGenerator.kt:38 */
 6473  12544   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::NullAndEmptyHeadersClientError {
 6474  12545   
    fn from(variant: ::pyo3::PyErr) -> crate::error::NullAndEmptyHeadersClientError {
 6475  12546   
        ::pyo3::Python::with_gil(|py| {
 6476  12547   
            let error = variant.value(py);
 6477  12548   
 6478  12549   
            crate::error::InternalServerError {
 6479  12550   
                message: error.to_string(),
 6480  12551   
            }
 6481  12552   
            .into()
 6482  12553   
        })
 6483  12554   
    }
 6484  12555   
}
 6485  12556   
       12557  +
/* ServerOperationErrorGenerator.kt:63 */
 6486  12558   
/// Error type for the `InputAndOutputWithHeaders` operation.
       12559  +
/* ServerOperationErrorGenerator.kt:64 */
 6487  12560   
/// Each variant represents an error that can occur for the `InputAndOutputWithHeaders` operation.
       12561  +
/* RustType.kt:516 */
 6488  12562   
#[derive(::std::fmt::Debug)]
 6489         -
pub enum InputAndOutputWithHeadersError {
 6490         -
    /// 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.
       12563  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum InputAndOutputWithHeadersError {
       12564  +
    /// /* 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.
       12565  +
    /* ServerOperationErrorGenerator.kt:71 */
 6491  12566   
    ValidationException(crate::error::ValidationException),
       12567  +
    /* ServerOperationErrorGenerator.kt:68 */
 6492  12568   
    #[allow(missing_docs)] // documentation missing in model
       12569  +
    /* ServerOperationErrorGenerator.kt:71 */
 6493  12570   
    InternalServerError(crate::error::InternalServerError),
       12571  +
    /* ServerOperationErrorGenerator.kt:66 */
 6494  12572   
}
       12573  +
/* ServerOperationErrorGenerator.kt:75 */
 6495  12574   
impl ::std::fmt::Display for InputAndOutputWithHeadersError {
       12575  +
    /* ServerOperationErrorGenerator.kt:76 */
 6496  12576   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       12577  +
        /* ServerOperationErrorGenerator.kt:139 */
 6497  12578   
        match &self {
 6498         -
            InputAndOutputWithHeadersError::ValidationException(_inner) => _inner.fmt(f),
 6499         -
            InputAndOutputWithHeadersError::InternalServerError(_inner) => _inner.fmt(f),
       12579  +
            /* ServerOperationErrorGenerator.kt:142 */
       12580  +
            InputAndOutputWithHeadersError::ValidationException(_inner) =>
       12581  +
            /* ServerOperationErrorGenerator.kt:78 */
       12582  +
            {
       12583  +
                _inner.fmt(f)
       12584  +
            }
       12585  +
            ,
       12586  +
            /* ServerOperationErrorGenerator.kt:142 */
       12587  +
            InputAndOutputWithHeadersError::InternalServerError(_inner) =>
       12588  +
            /* ServerOperationErrorGenerator.kt:78 */
       12589  +
            {
       12590  +
                _inner.fmt(f)
       12591  +
            }
       12592  +
            /* ServerOperationErrorGenerator.kt:139 */
 6500  12593   
        }
       12594  +
        /* ServerOperationErrorGenerator.kt:76 */
 6501  12595   
    }
       12596  +
    /* ServerOperationErrorGenerator.kt:75 */
 6502  12597   
}
       12598  +
/* ServerOperationErrorGenerator.kt:83 */
 6503  12599   
impl InputAndOutputWithHeadersError {
       12600  +
    /* ServerOperationErrorGenerator.kt:87 */
 6504  12601   
    /// Returns `true` if the error kind is `InputAndOutputWithHeadersError::ValidationException`.
       12602  +
    /* ServerOperationErrorGenerator.kt:88 */
 6505  12603   
    pub fn is_validation_exception(&self) -> bool {
       12604  +
        /* ServerOperationErrorGenerator.kt:89 */
 6506  12605   
        matches!(
 6507  12606   
            &self,
 6508  12607   
            InputAndOutputWithHeadersError::ValidationException(_)
 6509  12608   
        )
       12609  +
        /* ServerOperationErrorGenerator.kt:88 */
 6510  12610   
    }
       12611  +
    /* ServerOperationErrorGenerator.kt:87 */
 6511  12612   
    /// Returns `true` if the error kind is `InputAndOutputWithHeadersError::InternalServerError`.
       12613  +
    /* ServerOperationErrorGenerator.kt:88 */
 6512  12614   
    pub fn is_internal_server_error(&self) -> bool {
       12615  +
        /* ServerOperationErrorGenerator.kt:89 */
 6513  12616   
        matches!(
 6514  12617   
            &self,
 6515  12618   
            InputAndOutputWithHeadersError::InternalServerError(_)
 6516  12619   
        )
       12620  +
        /* ServerOperationErrorGenerator.kt:88 */
 6517  12621   
    }
       12622  +
    /* ServerOperationErrorGenerator.kt:92 */
 6518  12623   
    /// Returns the error name string by matching the correct variant.
       12624  +
    /* ServerOperationErrorGenerator.kt:93 */
 6519  12625   
    pub fn name(&self) -> &'static str {
       12626  +
        /* ServerOperationErrorGenerator.kt:139 */
 6520  12627   
        match &self {
 6521         -
            InputAndOutputWithHeadersError::ValidationException(_inner) => _inner.name(),
 6522         -
            InputAndOutputWithHeadersError::InternalServerError(_inner) => _inner.name(),
       12628  +
            /* ServerOperationErrorGenerator.kt:142 */
       12629  +
            InputAndOutputWithHeadersError::ValidationException(_inner) =>
       12630  +
            /* ServerOperationErrorGenerator.kt:95 */
       12631  +
            {
       12632  +
                _inner.name()
       12633  +
            }
       12634  +
            ,
       12635  +
            /* ServerOperationErrorGenerator.kt:142 */
       12636  +
            InputAndOutputWithHeadersError::InternalServerError(_inner) =>
       12637  +
            /* ServerOperationErrorGenerator.kt:95 */
       12638  +
            {
       12639  +
                _inner.name()
       12640  +
            }
       12641  +
            /* ServerOperationErrorGenerator.kt:139 */
 6523  12642   
        }
       12643  +
        /* ServerOperationErrorGenerator.kt:93 */
 6524  12644   
    }
       12645  +
    /* ServerOperationErrorGenerator.kt:83 */
 6525  12646   
}
       12647  +
/* ServerOperationErrorGenerator.kt:100 */
 6526  12648   
impl ::std::error::Error for InputAndOutputWithHeadersError {
       12649  +
    /* ServerOperationErrorGenerator.kt:101 */
 6527  12650   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       12651  +
        /* ServerOperationErrorGenerator.kt:139 */
 6528  12652   
        match &self {
 6529         -
            InputAndOutputWithHeadersError::ValidationException(_inner) => Some(_inner),
 6530         -
            InputAndOutputWithHeadersError::InternalServerError(_inner) => Some(_inner),
       12653  +
            /* ServerOperationErrorGenerator.kt:142 */
       12654  +
            InputAndOutputWithHeadersError::ValidationException(_inner) =>
       12655  +
            /* ServerOperationErrorGenerator.kt:103 */
       12656  +
            {
       12657  +
                Some(_inner)
       12658  +
            }
       12659  +
            ,
       12660  +
            /* ServerOperationErrorGenerator.kt:142 */
       12661  +
            InputAndOutputWithHeadersError::InternalServerError(_inner) =>
       12662  +
            /* ServerOperationErrorGenerator.kt:103 */
       12663  +
            {
       12664  +
                Some(_inner)
       12665  +
            }
       12666  +
            /* ServerOperationErrorGenerator.kt:139 */
 6531  12667   
        }
       12668  +
        /* ServerOperationErrorGenerator.kt:101 */
 6532  12669   
    }
       12670  +
    /* ServerOperationErrorGenerator.kt:100 */
 6533  12671   
}
       12672  +
/* ServerOperationErrorGenerator.kt:110 */
 6534  12673   
impl ::std::convert::From<crate::error::ValidationException>
 6535  12674   
    for crate::error::InputAndOutputWithHeadersError
 6536  12675   
{
       12676  +
    /* ServerOperationErrorGenerator.kt:111 */
 6537  12677   
    fn from(
 6538  12678   
        variant: crate::error::ValidationException,
 6539  12679   
    ) -> crate::error::InputAndOutputWithHeadersError {
       12680  +
        /* ServerOperationErrorGenerator.kt:112 */
 6540  12681   
        Self::ValidationException(variant)
       12682  +
        /* ServerOperationErrorGenerator.kt:111 */
 6541  12683   
    }
       12684  +
    /* ServerOperationErrorGenerator.kt:110 */
 6542  12685   
}
       12686  +
/* ServerOperationErrorGenerator.kt:110 */
 6543  12687   
impl ::std::convert::From<crate::error::InternalServerError>
 6544  12688   
    for crate::error::InputAndOutputWithHeadersError
 6545  12689   
{
       12690  +
    /* ServerOperationErrorGenerator.kt:111 */
 6546  12691   
    fn from(
 6547  12692   
        variant: crate::error::InternalServerError,
 6548  12693   
    ) -> crate::error::InputAndOutputWithHeadersError {
       12694  +
        /* ServerOperationErrorGenerator.kt:112 */
 6549  12695   
        Self::InternalServerError(variant)
       12696  +
        /* ServerOperationErrorGenerator.kt:111 */
 6550  12697   
    }
       12698  +
    /* ServerOperationErrorGenerator.kt:110 */
 6551  12699   
}
 6552  12700   
       12701  +
/* PythonServerOperationErrorGenerator.kt:38 */
 6553  12702   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::InputAndOutputWithHeadersError {
 6554  12703   
    fn from(variant: ::pyo3::PyErr) -> crate::error::InputAndOutputWithHeadersError {
 6555  12704   
        ::pyo3::Python::with_gil(|py| {
 6556  12705   
            let error = variant.value(py);
 6557  12706   
            if let Ok(error) = error.extract::<crate::error::ValidationException>() {
 6558  12707   
                return error.into();
 6559  12708   
            }
 6560  12709   
            crate::error::InternalServerError {
 6561  12710   
                message: error.to_string(),
 6562  12711   
            }
 6563  12712   
            .into()
 6564  12713   
        })
 6565  12714   
    }
 6566  12715   
}
 6567  12716   
       12717  +
/* ServerOperationErrorGenerator.kt:63 */
 6568  12718   
/// Error type for the `UnitInputAndOutput` operation.
       12719  +
/* ServerOperationErrorGenerator.kt:64 */
 6569  12720   
/// Each variant represents an error that can occur for the `UnitInputAndOutput` operation.
       12721  +
/* RustType.kt:516 */
 6570  12722   
#[derive(::std::fmt::Debug)]
 6571         -
pub enum UnitInputAndOutputError {
       12723  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum UnitInputAndOutputError {
       12724  +
    /* ServerOperationErrorGenerator.kt:68 */
 6572  12725   
    #[allow(missing_docs)] // documentation missing in model
       12726  +
    /* ServerOperationErrorGenerator.kt:71 */
 6573  12727   
    InternalServerError(crate::error::InternalServerError),
       12728  +
    /* ServerOperationErrorGenerator.kt:66 */
 6574  12729   
}
       12730  +
/* ServerOperationErrorGenerator.kt:75 */
 6575  12731   
impl ::std::fmt::Display for UnitInputAndOutputError {
       12732  +
    /* ServerOperationErrorGenerator.kt:76 */
 6576  12733   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       12734  +
        /* ServerOperationErrorGenerator.kt:139 */
 6577  12735   
        match &self {
 6578         -
            UnitInputAndOutputError::InternalServerError(_inner) => _inner.fmt(f),
       12736  +
            /* ServerOperationErrorGenerator.kt:142 */
       12737  +
            UnitInputAndOutputError::InternalServerError(_inner) =>
       12738  +
            /* ServerOperationErrorGenerator.kt:78 */
       12739  +
            {
       12740  +
                _inner.fmt(f)
       12741  +
            }
       12742  +
            /* ServerOperationErrorGenerator.kt:139 */
 6579  12743   
        }
       12744  +
        /* ServerOperationErrorGenerator.kt:76 */
 6580  12745   
    }
       12746  +
    /* ServerOperationErrorGenerator.kt:75 */
 6581  12747   
}
       12748  +
/* ServerOperationErrorGenerator.kt:83 */
 6582  12749   
impl UnitInputAndOutputError {
       12750  +
    /* ServerOperationErrorGenerator.kt:87 */
 6583  12751   
    /// Returns `true` if the error kind is `UnitInputAndOutputError::InternalServerError`.
       12752  +
    /* ServerOperationErrorGenerator.kt:88 */
 6584  12753   
    pub fn is_internal_server_error(&self) -> bool {
       12754  +
        /* ServerOperationErrorGenerator.kt:89 */
 6585  12755   
        matches!(&self, UnitInputAndOutputError::InternalServerError(_))
       12756  +
        /* ServerOperationErrorGenerator.kt:88 */
 6586  12757   
    }
       12758  +
    /* ServerOperationErrorGenerator.kt:92 */
 6587  12759   
    /// Returns the error name string by matching the correct variant.
       12760  +
    /* ServerOperationErrorGenerator.kt:93 */
 6588  12761   
    pub fn name(&self) -> &'static str {
       12762  +
        /* ServerOperationErrorGenerator.kt:139 */
 6589  12763   
        match &self {
 6590         -
            UnitInputAndOutputError::InternalServerError(_inner) => _inner.name(),
       12764  +
            /* ServerOperationErrorGenerator.kt:142 */
       12765  +
            UnitInputAndOutputError::InternalServerError(_inner) =>
       12766  +
            /* ServerOperationErrorGenerator.kt:95 */
       12767  +
            {
       12768  +
                _inner.name()
       12769  +
            }
       12770  +
            /* ServerOperationErrorGenerator.kt:139 */
 6591  12771   
        }
       12772  +
        /* ServerOperationErrorGenerator.kt:93 */
 6592  12773   
    }
       12774  +
    /* ServerOperationErrorGenerator.kt:83 */
 6593  12775   
}
       12776  +
/* ServerOperationErrorGenerator.kt:100 */
 6594  12777   
impl ::std::error::Error for UnitInputAndOutputError {
       12778  +
    /* ServerOperationErrorGenerator.kt:101 */
 6595  12779   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       12780  +
        /* ServerOperationErrorGenerator.kt:139 */
 6596  12781   
        match &self {
 6597         -
            UnitInputAndOutputError::InternalServerError(_inner) => Some(_inner),
       12782  +
            /* ServerOperationErrorGenerator.kt:142 */
       12783  +
            UnitInputAndOutputError::InternalServerError(_inner) =>
       12784  +
            /* ServerOperationErrorGenerator.kt:103 */
       12785  +
            {
       12786  +
                Some(_inner)
       12787  +
            }
       12788  +
            /* ServerOperationErrorGenerator.kt:139 */
 6598  12789   
        }
       12790  +
        /* ServerOperationErrorGenerator.kt:101 */
 6599  12791   
    }
       12792  +
    /* ServerOperationErrorGenerator.kt:100 */
 6600  12793   
}
       12794  +
/* ServerOperationErrorGenerator.kt:110 */
 6601  12795   
impl ::std::convert::From<crate::error::InternalServerError>
 6602  12796   
    for crate::error::UnitInputAndOutputError
 6603  12797   
{
       12798  +
    /* ServerOperationErrorGenerator.kt:111 */
 6604  12799   
    fn from(variant: crate::error::InternalServerError) -> crate::error::UnitInputAndOutputError {
       12800  +
        /* ServerOperationErrorGenerator.kt:112 */
 6605  12801   
        Self::InternalServerError(variant)
       12802  +
        /* ServerOperationErrorGenerator.kt:111 */
 6606  12803   
    }
       12804  +
    /* ServerOperationErrorGenerator.kt:110 */
 6607  12805   
}
 6608  12806   
       12807  +
/* PythonServerOperationErrorGenerator.kt:38 */
 6609  12808   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::UnitInputAndOutputError {
 6610  12809   
    fn from(variant: ::pyo3::PyErr) -> crate::error::UnitInputAndOutputError {
 6611  12810   
        ::pyo3::Python::with_gil(|py| {
 6612  12811   
            let error = variant.value(py);
 6613  12812   
 6614  12813   
            crate::error::InternalServerError {
 6615  12814   
                message: error.to_string(),
 6616  12815   
            }
 6617  12816   
            .into()
 6618  12817   
        })
 6619  12818   
    }
 6620  12819   
}
 6621  12820   
       12821  +
/* ServerOperationErrorGenerator.kt:63 */
 6622  12822   
/// Error type for the `EmptyInputAndEmptyOutput` operation.
       12823  +
/* ServerOperationErrorGenerator.kt:64 */
 6623  12824   
/// Each variant represents an error that can occur for the `EmptyInputAndEmptyOutput` operation.
       12825  +
/* RustType.kt:516 */
 6624  12826   
#[derive(::std::fmt::Debug)]
 6625         -
pub enum EmptyInputAndEmptyOutputError {
       12827  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum EmptyInputAndEmptyOutputError {
       12828  +
    /* ServerOperationErrorGenerator.kt:68 */
 6626  12829   
    #[allow(missing_docs)] // documentation missing in model
       12830  +
    /* ServerOperationErrorGenerator.kt:71 */
 6627  12831   
    InternalServerError(crate::error::InternalServerError),
       12832  +
    /* ServerOperationErrorGenerator.kt:66 */
 6628  12833   
}
       12834  +
/* ServerOperationErrorGenerator.kt:75 */
 6629  12835   
impl ::std::fmt::Display for EmptyInputAndEmptyOutputError {
       12836  +
    /* ServerOperationErrorGenerator.kt:76 */
 6630  12837   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       12838  +
        /* ServerOperationErrorGenerator.kt:139 */
 6631  12839   
        match &self {
 6632         -
            EmptyInputAndEmptyOutputError::InternalServerError(_inner) => _inner.fmt(f),
       12840  +
            /* ServerOperationErrorGenerator.kt:142 */
       12841  +
            EmptyInputAndEmptyOutputError::InternalServerError(_inner) =>
       12842  +
            /* ServerOperationErrorGenerator.kt:78 */
       12843  +
            {
       12844  +
                _inner.fmt(f)
       12845  +
            }
       12846  +
            /* ServerOperationErrorGenerator.kt:139 */
 6633  12847   
        }
       12848  +
        /* ServerOperationErrorGenerator.kt:76 */
 6634  12849   
    }
       12850  +
    /* ServerOperationErrorGenerator.kt:75 */
 6635  12851   
}
       12852  +
/* ServerOperationErrorGenerator.kt:83 */
 6636  12853   
impl EmptyInputAndEmptyOutputError {
       12854  +
    /* ServerOperationErrorGenerator.kt:87 */
 6637  12855   
    /// Returns `true` if the error kind is `EmptyInputAndEmptyOutputError::InternalServerError`.
       12856  +
    /* ServerOperationErrorGenerator.kt:88 */
 6638  12857   
    pub fn is_internal_server_error(&self) -> bool {
       12858  +
        /* ServerOperationErrorGenerator.kt:89 */
 6639  12859   
        matches!(&self, EmptyInputAndEmptyOutputError::InternalServerError(_))
       12860  +
        /* ServerOperationErrorGenerator.kt:88 */
 6640  12861   
    }
       12862  +
    /* ServerOperationErrorGenerator.kt:92 */
 6641  12863   
    /// Returns the error name string by matching the correct variant.
       12864  +
    /* ServerOperationErrorGenerator.kt:93 */
 6642  12865   
    pub fn name(&self) -> &'static str {
       12866  +
        /* ServerOperationErrorGenerator.kt:139 */
 6643  12867   
        match &self {
 6644         -
            EmptyInputAndEmptyOutputError::InternalServerError(_inner) => _inner.name(),
       12868  +
            /* ServerOperationErrorGenerator.kt:142 */
       12869  +
            EmptyInputAndEmptyOutputError::InternalServerError(_inner) =>
       12870  +
            /* ServerOperationErrorGenerator.kt:95 */
       12871  +
            {
       12872  +
                _inner.name()
       12873  +
            }
       12874  +
            /* ServerOperationErrorGenerator.kt:139 */
 6645  12875   
        }
       12876  +
        /* ServerOperationErrorGenerator.kt:93 */
 6646  12877   
    }
       12878  +
    /* ServerOperationErrorGenerator.kt:83 */
 6647  12879   
}
       12880  +
/* ServerOperationErrorGenerator.kt:100 */
 6648  12881   
impl ::std::error::Error for EmptyInputAndEmptyOutputError {
       12882  +
    /* ServerOperationErrorGenerator.kt:101 */
 6649  12883   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       12884  +
        /* ServerOperationErrorGenerator.kt:139 */
 6650  12885   
        match &self {
 6651         -
            EmptyInputAndEmptyOutputError::InternalServerError(_inner) => Some(_inner),
       12886  +
            /* ServerOperationErrorGenerator.kt:142 */
       12887  +
            EmptyInputAndEmptyOutputError::InternalServerError(_inner) =>
       12888  +
            /* ServerOperationErrorGenerator.kt:103 */
       12889  +
            {
       12890  +
                Some(_inner)
       12891  +
            }
       12892  +
            /* ServerOperationErrorGenerator.kt:139 */
 6652  12893   
        }
       12894  +
        /* ServerOperationErrorGenerator.kt:101 */
 6653  12895   
    }
       12896  +
    /* ServerOperationErrorGenerator.kt:100 */
 6654  12897   
}
       12898  +
/* ServerOperationErrorGenerator.kt:110 */
 6655  12899   
impl ::std::convert::From<crate::error::InternalServerError>
 6656  12900   
    for crate::error::EmptyInputAndEmptyOutputError
 6657  12901   
{
       12902  +
    /* ServerOperationErrorGenerator.kt:111 */
 6658  12903   
    fn from(
 6659  12904   
        variant: crate::error::InternalServerError,
 6660  12905   
    ) -> crate::error::EmptyInputAndEmptyOutputError {
       12906  +
        /* ServerOperationErrorGenerator.kt:112 */
 6661  12907   
        Self::InternalServerError(variant)
       12908  +
        /* ServerOperationErrorGenerator.kt:111 */
 6662  12909   
    }
       12910  +
    /* ServerOperationErrorGenerator.kt:110 */
 6663  12911   
}
 6664  12912   
       12913  +
/* PythonServerOperationErrorGenerator.kt:38 */
 6665  12914   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::EmptyInputAndEmptyOutputError {
 6666  12915   
    fn from(variant: ::pyo3::PyErr) -> crate::error::EmptyInputAndEmptyOutputError {
 6667  12916   
        ::pyo3::Python::with_gil(|py| {
 6668  12917   
            let error = variant.value(py);
 6669  12918   
 6670  12919   
            crate::error::InternalServerError {
 6671  12920   
                message: error.to_string(),
 6672  12921   
            }
 6673  12922   
            .into()
 6674  12923   
        })
 6675  12924   
    }
 6676  12925   
}
 6677  12926   
       12927  +
/* ServerOperationErrorGenerator.kt:63 */
 6678  12928   
/// Error type for the `NoInputAndOutput` operation.
       12929  +
/* ServerOperationErrorGenerator.kt:64 */
 6679  12930   
/// Each variant represents an error that can occur for the `NoInputAndOutput` operation.
       12931  +
/* RustType.kt:516 */
 6680  12932   
#[derive(::std::fmt::Debug)]
 6681         -
pub enum NoInputAndOutputError {
       12933  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum NoInputAndOutputError {
       12934  +
    /* ServerOperationErrorGenerator.kt:68 */
 6682  12935   
    #[allow(missing_docs)] // documentation missing in model
       12936  +
    /* ServerOperationErrorGenerator.kt:71 */
 6683  12937   
    InternalServerError(crate::error::InternalServerError),
       12938  +
    /* ServerOperationErrorGenerator.kt:66 */
 6684  12939   
}
       12940  +
/* ServerOperationErrorGenerator.kt:75 */
 6685  12941   
impl ::std::fmt::Display for NoInputAndOutputError {
       12942  +
    /* ServerOperationErrorGenerator.kt:76 */
 6686  12943   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       12944  +
        /* ServerOperationErrorGenerator.kt:139 */
 6687  12945   
        match &self {
 6688         -
            NoInputAndOutputError::InternalServerError(_inner) => _inner.fmt(f),
       12946  +
            /* ServerOperationErrorGenerator.kt:142 */
       12947  +
            NoInputAndOutputError::InternalServerError(_inner) =>
       12948  +
            /* ServerOperationErrorGenerator.kt:78 */
       12949  +
            {
       12950  +
                _inner.fmt(f)
       12951  +
            }
       12952  +
            /* ServerOperationErrorGenerator.kt:139 */
 6689  12953   
        }
       12954  +
        /* ServerOperationErrorGenerator.kt:76 */
 6690  12955   
    }
       12956  +
    /* ServerOperationErrorGenerator.kt:75 */
 6691  12957   
}
       12958  +
/* ServerOperationErrorGenerator.kt:83 */
 6692  12959   
impl NoInputAndOutputError {
       12960  +
    /* ServerOperationErrorGenerator.kt:87 */
 6693  12961   
    /// Returns `true` if the error kind is `NoInputAndOutputError::InternalServerError`.
       12962  +
    /* ServerOperationErrorGenerator.kt:88 */
 6694  12963   
    pub fn is_internal_server_error(&self) -> bool {
       12964  +
        /* ServerOperationErrorGenerator.kt:89 */
 6695  12965   
        matches!(&self, NoInputAndOutputError::InternalServerError(_))
       12966  +
        /* ServerOperationErrorGenerator.kt:88 */
 6696  12967   
    }
       12968  +
    /* ServerOperationErrorGenerator.kt:92 */
 6697  12969   
    /// Returns the error name string by matching the correct variant.
       12970  +
    /* ServerOperationErrorGenerator.kt:93 */
 6698  12971   
    pub fn name(&self) -> &'static str {
       12972  +
        /* ServerOperationErrorGenerator.kt:139 */
 6699  12973   
        match &self {
 6700         -
            NoInputAndOutputError::InternalServerError(_inner) => _inner.name(),
       12974  +
            /* ServerOperationErrorGenerator.kt:142 */
       12975  +
            NoInputAndOutputError::InternalServerError(_inner) =>
       12976  +
            /* ServerOperationErrorGenerator.kt:95 */
       12977  +
            {
       12978  +
                _inner.name()
       12979  +
            }
       12980  +
            /* ServerOperationErrorGenerator.kt:139 */
 6701  12981   
        }
       12982  +
        /* ServerOperationErrorGenerator.kt:93 */
 6702  12983   
    }
       12984  +
    /* ServerOperationErrorGenerator.kt:83 */
 6703  12985   
}
       12986  +
/* ServerOperationErrorGenerator.kt:100 */
 6704  12987   
impl ::std::error::Error for NoInputAndOutputError {
       12988  +
    /* ServerOperationErrorGenerator.kt:101 */
 6705  12989   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       12990  +
        /* ServerOperationErrorGenerator.kt:139 */
 6706  12991   
        match &self {
 6707         -
            NoInputAndOutputError::InternalServerError(_inner) => Some(_inner),
       12992  +
            /* ServerOperationErrorGenerator.kt:142 */
       12993  +
            NoInputAndOutputError::InternalServerError(_inner) =>
       12994  +
            /* ServerOperationErrorGenerator.kt:103 */
       12995  +
            {
       12996  +
                Some(_inner)
       12997  +
            }
       12998  +
            /* ServerOperationErrorGenerator.kt:139 */
 6708  12999   
        }
       13000  +
        /* ServerOperationErrorGenerator.kt:101 */
 6709  13001   
    }
       13002  +
    /* ServerOperationErrorGenerator.kt:100 */
 6710  13003   
}
       13004  +
/* ServerOperationErrorGenerator.kt:110 */
 6711  13005   
impl ::std::convert::From<crate::error::InternalServerError>
 6712  13006   
    for crate::error::NoInputAndOutputError
 6713  13007   
{
       13008  +
    /* ServerOperationErrorGenerator.kt:111 */
 6714  13009   
    fn from(variant: crate::error::InternalServerError) -> crate::error::NoInputAndOutputError {
       13010  +
        /* ServerOperationErrorGenerator.kt:112 */
 6715  13011   
        Self::InternalServerError(variant)
       13012  +
        /* ServerOperationErrorGenerator.kt:111 */
 6716  13013   
    }
       13014  +
    /* ServerOperationErrorGenerator.kt:110 */
 6717  13015   
}
 6718  13016   
       13017  +
/* PythonServerOperationErrorGenerator.kt:38 */
 6719  13018   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::NoInputAndOutputError {
 6720  13019   
    fn from(variant: ::pyo3::PyErr) -> crate::error::NoInputAndOutputError {
 6721  13020   
        ::pyo3::Python::with_gil(|py| {
 6722  13021   
            let error = variant.value(py);
 6723  13022   
 6724  13023   
            crate::error::InternalServerError {
 6725  13024   
                message: error.to_string(),
 6726  13025   
            }
 6727  13026   
            .into()
 6728  13027   
        })
 6729  13028   
    }
 6730  13029   
}
 6731  13030   
       13031  +
/* ServerOperationErrorGenerator.kt:63 */
 6732  13032   
/// Error type for the `NoInputAndNoOutput` operation.
       13033  +
/* ServerOperationErrorGenerator.kt:64 */
 6733  13034   
/// Each variant represents an error that can occur for the `NoInputAndNoOutput` operation.
       13035  +
/* RustType.kt:516 */
 6734  13036   
#[derive(::std::fmt::Debug)]
 6735         -
pub enum NoInputAndNoOutputError {
       13037  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum NoInputAndNoOutputError {
       13038  +
    /* ServerOperationErrorGenerator.kt:68 */
 6736  13039   
    #[allow(missing_docs)] // documentation missing in model
       13040  +
    /* ServerOperationErrorGenerator.kt:71 */
 6737  13041   
    InternalServerError(crate::error::InternalServerError),
       13042  +
    /* ServerOperationErrorGenerator.kt:66 */
 6738  13043   
}
       13044  +
/* ServerOperationErrorGenerator.kt:75 */
 6739  13045   
impl ::std::fmt::Display for NoInputAndNoOutputError {
       13046  +
    /* ServerOperationErrorGenerator.kt:76 */
 6740  13047   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       13048  +
        /* ServerOperationErrorGenerator.kt:139 */
 6741  13049   
        match &self {
 6742         -
            NoInputAndNoOutputError::InternalServerError(_inner) => _inner.fmt(f),
       13050  +
            /* ServerOperationErrorGenerator.kt:142 */
       13051  +
            NoInputAndNoOutputError::InternalServerError(_inner) =>
       13052  +
            /* ServerOperationErrorGenerator.kt:78 */
       13053  +
            {
       13054  +
                _inner.fmt(f)
       13055  +
            }
       13056  +
            /* ServerOperationErrorGenerator.kt:139 */
 6743  13057   
        }
       13058  +
        /* ServerOperationErrorGenerator.kt:76 */
 6744  13059   
    }
       13060  +
    /* ServerOperationErrorGenerator.kt:75 */
 6745  13061   
}
       13062  +
/* ServerOperationErrorGenerator.kt:83 */
 6746  13063   
impl NoInputAndNoOutputError {
       13064  +
    /* ServerOperationErrorGenerator.kt:87 */
 6747  13065   
    /// Returns `true` if the error kind is `NoInputAndNoOutputError::InternalServerError`.
       13066  +
    /* ServerOperationErrorGenerator.kt:88 */
 6748  13067   
    pub fn is_internal_server_error(&self) -> bool {
       13068  +
        /* ServerOperationErrorGenerator.kt:89 */
 6749  13069   
        matches!(&self, NoInputAndNoOutputError::InternalServerError(_))
       13070  +
        /* ServerOperationErrorGenerator.kt:88 */
 6750  13071   
    }
       13072  +
    /* ServerOperationErrorGenerator.kt:92 */
 6751  13073   
    /// Returns the error name string by matching the correct variant.
       13074  +
    /* ServerOperationErrorGenerator.kt:93 */
 6752  13075   
    pub fn name(&self) -> &'static str {
       13076  +
        /* ServerOperationErrorGenerator.kt:139 */
 6753  13077   
        match &self {
 6754         -
            NoInputAndNoOutputError::InternalServerError(_inner) => _inner.name(),
       13078  +
            /* ServerOperationErrorGenerator.kt:142 */
       13079  +
            NoInputAndNoOutputError::InternalServerError(_inner) =>
       13080  +
            /* ServerOperationErrorGenerator.kt:95 */
       13081  +
            {
       13082  +
                _inner.name()
       13083  +
            }
       13084  +
            /* ServerOperationErrorGenerator.kt:139 */
 6755  13085   
        }
       13086  +
        /* ServerOperationErrorGenerator.kt:93 */
 6756  13087   
    }
       13088  +
    /* ServerOperationErrorGenerator.kt:83 */
 6757  13089   
}
       13090  +
/* ServerOperationErrorGenerator.kt:100 */
 6758  13091   
impl ::std::error::Error for NoInputAndNoOutputError {
       13092  +
    /* ServerOperationErrorGenerator.kt:101 */
 6759  13093   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
       13094  +
        /* ServerOperationErrorGenerator.kt:139 */
 6760  13095   
        match &self {
 6761         -
            NoInputAndNoOutputError::InternalServerError(_inner) => Some(_inner),
       13096  +
            /* ServerOperationErrorGenerator.kt:142 */
       13097  +
            NoInputAndNoOutputError::InternalServerError(_inner) =>
       13098  +
            /* ServerOperationErrorGenerator.kt:103 */
       13099  +
            {
       13100  +
                Some(_inner)
       13101  +
            }
       13102  +
            /* ServerOperationErrorGenerator.kt:139 */
 6762  13103   
        }
       13104  +
        /* ServerOperationErrorGenerator.kt:101 */
 6763  13105   
    }
       13106  +
    /* ServerOperationErrorGenerator.kt:100 */
 6764  13107   
}
       13108  +
/* ServerOperationErrorGenerator.kt:110 */
 6765  13109   
impl ::std::convert::From<crate::error::InternalServerError>
 6766  13110   
    for crate::error::NoInputAndNoOutputError
 6767  13111   
{
       13112  +
    /* ServerOperationErrorGenerator.kt:111 */
 6768  13113   
    fn from(variant: crate::error::InternalServerError) -> crate::error::NoInputAndNoOutputError {
       13114  +
        /* ServerOperationErrorGenerator.kt:112 */
 6769  13115   
        Self::InternalServerError(variant)
       13116  +
        /* ServerOperationErrorGenerator.kt:111 */
 6770  13117   
    }
       13118  +
    /* ServerOperationErrorGenerator.kt:110 */
 6771  13119   
}
 6772  13120   
       13121  +
/* PythonServerOperationErrorGenerator.kt:38 */
 6773  13122   
impl ::std::convert::From<::pyo3::PyErr> for crate::error::NoInputAndNoOutputError {
 6774  13123   
    fn from(variant: ::pyo3::PyErr) -> crate::error::NoInputAndNoOutputError {
 6775  13124   
        ::pyo3::Python::with_gil(|py| {
 6776  13125   
            let error = variant.value(py);
 6777  13126   
 6778  13127   
            crate::error::InternalServerError {
 6779  13128   
                message: error.to_string(),
 6780  13129   
            }
 6781  13130   
            .into()
 6782  13131   
        })
 6783  13132   
    }
 6784  13133   
}
 6785         -
/// See [`InternalServerError`](crate::error::InternalServerError).
       13134  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`InternalServerError`](crate::error::InternalServerError).
 6786  13135   
pub mod internal_server_error {
 6787  13136   
       13137  +
    /* RustType.kt:516 */
 6788  13138   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 6789         -
    /// Holds one variant for each of the ways the builder can fail.
 6790         -
       13139  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
       13140  +
    /* ServerBuilderConstraintViolations.kt:75 */
 6791  13141   
    #[allow(clippy::enum_variant_names)]
 6792  13142   
    pub enum ConstraintViolation {
 6793         -
        /// `message` was not provided but it is required when building `InternalServerError`.
       13143  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`message` was not provided but it is required when building `InternalServerError`.
       13144  +
        /* ServerBuilderConstraintViolations.kt:143 */
 6794  13145   
        MissingMessage,
       13146  +
        /* ServerBuilderConstraintViolations.kt:75 */
 6795  13147   
    }
       13148  +
    /* ServerBuilderConstraintViolations.kt:117 */
 6796  13149   
    impl ::std::fmt::Display for ConstraintViolation {
       13150  +
        /* ServerBuilderConstraintViolations.kt:118 */
 6797  13151   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       13152  +
            /* ServerBuilderConstraintViolations.kt:119 */
 6798  13153   
            match self {
 6799         -
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `InternalServerError`"),
 6800         -
            }
       13154  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `InternalServerError`"),
       13155  +
            /* ServerBuilderConstraintViolations.kt:119 */}
       13156  +
            /* ServerBuilderConstraintViolations.kt:118 */
 6801  13157   
        }
       13158  +
        /* ServerBuilderConstraintViolations.kt:117 */
 6802  13159   
    }
       13160  +
    /* ServerBuilderConstraintViolations.kt:84 */
 6803  13161   
    impl ::std::error::Error for ConstraintViolation {}
       13162  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:254 */
 6804  13163   
    impl ::std::convert::TryFrom<Builder> for crate::error::InternalServerError {
 6805  13164   
        type Error = ConstraintViolation;
 6806  13165   
 6807  13166   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 6808  13167   
            builder.build()
 6809  13168   
        }
 6810  13169   
    }
 6811         -
    /// A builder for [`InternalServerError`](crate::error::InternalServerError).
       13170  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`InternalServerError`](crate::error::InternalServerError).
       13171  +
    /* RustType.kt:516 */
 6812  13172   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
       13173  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 6813  13174   
    pub struct Builder {
       13175  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 6814  13176   
        pub(crate) message: ::std::option::Option<::std::string::String>,
       13177  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 6815  13178   
    }
       13179  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 6816  13180   
    impl Builder {
       13181  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 6817  13182   
        #[allow(missing_docs)] // documentation missing in model
       13183  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6818  13184   
        pub fn message(mut self, input: ::std::string::String) -> Self {
 6819         -
            self.message = Some(input);
       13185  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       13186  +
            self.message =
       13187  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       13188  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       13189  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       13190  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 6820  13191   
            self
       13192  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6821  13193   
        }
 6822         -
        /// Consumes the builder and constructs a [`InternalServerError`](crate::error::InternalServerError).
 6823         -
        ///
       13194  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`InternalServerError`](crate::error::InternalServerError).
       13195  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:152 */
 6824  13196   
        /// The builder fails to construct a [`InternalServerError`](crate::error::InternalServerError) if you do not provide a value for all non-`Option`al members.
 6825  13197   
        ///
       13198  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 6826  13199   
        pub fn build(self) -> Result<crate::error::InternalServerError, ConstraintViolation> {
 6827  13200   
            self.build_enforcing_required_and_enum_traits()
 6828  13201   
        }
       13202  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 6829  13203   
        fn build_enforcing_required_and_enum_traits(
 6830  13204   
            self,
 6831  13205   
        ) -> Result<crate::error::InternalServerError, ConstraintViolation> {
 6832         -
            Ok(crate::error::InternalServerError {
 6833         -
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
 6834         -
            })
 6835         -
        }
 6836         -
    }
 6837         -
}
 6838         -
/// See [`ValidationException`](crate::error::ValidationException).
       13206  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
       13207  +
            Ok(
       13208  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
       13209  +
                crate::error::InternalServerError {
       13210  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       13211  +
                    message: self
       13212  +
                        .message
       13213  +
                        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:202 */
       13214  +
                        .ok_or(ConstraintViolation::MissingMessage)?,
       13215  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
       13216  +
                }, /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
       13217  +
            )
       13218  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
       13219  +
        }
       13220  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
       13221  +
    }
       13222  +
       13223  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
       13224  +
}
       13225  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`ValidationException`](crate::error::ValidationException).
 6839  13226   
pub mod validation_exception {
 6840  13227   
       13228  +
    /* RustType.kt:516 */
 6841  13229   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 6842         -
    /// Holds one variant for each of the ways the builder can fail.
 6843         -
       13230  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
       13231  +
    /* ServerBuilderConstraintViolations.kt:75 */
 6844  13232   
    #[allow(clippy::enum_variant_names)]
 6845  13233   
    pub enum ConstraintViolation {
 6846         -
        /// `message` was not provided but it is required when building `ValidationException`.
       13234  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`message` was not provided but it is required when building `ValidationException`.
       13235  +
        /* ServerBuilderConstraintViolations.kt:143 */
 6847  13236   
        MissingMessage,
       13237  +
        /* ServerBuilderConstraintViolations.kt:75 */
 6848  13238   
    }
       13239  +
    /* ServerBuilderConstraintViolations.kt:117 */
 6849  13240   
    impl ::std::fmt::Display for ConstraintViolation {
       13241  +
        /* ServerBuilderConstraintViolations.kt:118 */
 6850  13242   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
       13243  +
            /* ServerBuilderConstraintViolations.kt:119 */
 6851  13244   
            match self {
 6852         -
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
 6853         -
            }
       13245  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
       13246  +
            /* ServerBuilderConstraintViolations.kt:119 */}
       13247  +
            /* ServerBuilderConstraintViolations.kt:118 */
 6854  13248   
        }
       13249  +
        /* ServerBuilderConstraintViolations.kt:117 */
 6855  13250   
    }
       13251  +
    /* ServerBuilderConstraintViolations.kt:84 */
 6856  13252   
    impl ::std::error::Error for ConstraintViolation {}
       13253  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:254 */
 6857  13254   
    impl ::std::convert::TryFrom<Builder> for crate::error::ValidationException {
 6858  13255   
        type Error = ConstraintViolation;
 6859  13256   
 6860  13257   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 6861  13258   
            builder.build()
 6862  13259   
        }
 6863  13260   
    }
 6864         -
    /// A builder for [`ValidationException`](crate::error::ValidationException).
       13261  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`ValidationException`](crate::error::ValidationException).
       13262  +
    /* RustType.kt:516 */
 6865  13263   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
       13264  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 6866  13265   
    pub struct Builder {
       13266  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 6867  13267   
        pub(crate) message: ::std::option::Option<::std::string::String>,
       13268  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 6868  13269   
        pub(crate) field_list:
 6869  13270   
            ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
       13271  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 6870  13272   
    }
       13273  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 6871  13274   
    impl Builder {
 6872         -
        /// A summary of the validation failure.
       13275  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */A summary of the validation failure.
       13276  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6873  13277   
        pub fn message(mut self, input: ::std::string::String) -> Self {
 6874         -
            self.message = Some(input);
       13278  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       13279  +
            self.message =
       13280  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
       13281  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       13282  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
       13283  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 6875  13284   
            self
       13285  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6876  13286   
        }
 6877         -
        /// 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.
       13287  +
        /// /* 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.
       13288  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6878  13289   
        pub fn field_list(
 6879  13290   
            mut self,
 6880  13291   
            input: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
 6881  13292   
        ) -> Self {
 6882         -
            self.field_list = input;
       13293  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       13294  +
            self.field_list =
       13295  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       13296  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 6883  13297   
            self
       13298  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6884  13299   
        }
 6885         -
        /// Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
 6886         -
        ///
       13300  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
       13301  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:152 */
 6887  13302   
        /// The builder fails to construct a [`ValidationException`](crate::error::ValidationException) if you do not provide a value for all non-`Option`al members.
 6888  13303   
        ///
       13304  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 6889  13305   
        pub fn build(self) -> Result<crate::error::ValidationException, ConstraintViolation> {
 6890  13306   
            self.build_enforcing_required_and_enum_traits()
 6891  13307   
        }
       13308  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 6892  13309   
        fn build_enforcing_required_and_enum_traits(
 6893  13310   
            self,
 6894  13311   
        ) -> Result<crate::error::ValidationException, ConstraintViolation> {
 6895         -
            Ok(crate::error::ValidationException {
 6896         -
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
 6897         -
                field_list: self.field_list,
 6898         -
            })
 6899         -
        }
 6900         -
    }
 6901         -
}
 6902         -
/// See [`FooError`](crate::error::FooError).
       13312  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
       13313  +
            Ok(
       13314  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
       13315  +
                crate::error::ValidationException {
       13316  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       13317  +
                    message: self
       13318  +
                        .message
       13319  +
                        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:202 */
       13320  +
                        .ok_or(ConstraintViolation::MissingMessage)?,
       13321  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
       13322  +
                    field_list: self.field_list,
       13323  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
       13324  +
                }, /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
       13325  +
            )
       13326  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
       13327  +
        }
       13328  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
       13329  +
    }
       13330  +
       13331  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
       13332  +
}
       13333  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`FooError`](crate::error::FooError).
 6903  13334   
pub mod foo_error {
 6904  13335   
       13336  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
 6905  13337   
    impl ::std::convert::From<Builder> for crate::error::FooError {
 6906  13338   
        fn from(builder: Builder) -> Self {
 6907  13339   
            builder.build()
 6908  13340   
        }
 6909  13341   
    }
 6910         -
    /// A builder for [`FooError`](crate::error::FooError).
       13342  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`FooError`](crate::error::FooError).
       13343  +
    /* RustType.kt:516 */
 6911  13344   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 6912         -
    pub struct Builder {}
       13345  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
       13346  +
    pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
       13347  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 6913  13348   
    impl Builder {
 6914         -
        /// Consumes the builder and constructs a [`FooError`](crate::error::FooError).
       13349  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`FooError`](crate::error::FooError).
       13350  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 6915  13351   
        pub fn build(self) -> crate::error::FooError {
 6916  13352   
            self.build_enforcing_required_and_enum_traits()
 6917  13353   
        }
       13354  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 6918  13355   
        fn build_enforcing_required_and_enum_traits(self) -> crate::error::FooError {
 6919         -
            crate::error::FooError {}
       13356  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
       13357  +
            crate::error::FooError {
       13358  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
       13359  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 6920  13360   
        }
       13361  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 6921  13362   
    }
       13363  +
       13364  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6922  13365   
}
 6923         -
/// See [`ComplexError`](crate::error::ComplexError).
       13366  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`ComplexError`](crate::error::ComplexError).
 6924  13367   
pub mod complex_error {
 6925  13368   
       13369  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
 6926  13370   
    impl ::std::convert::From<Builder> for crate::error::ComplexError {
 6927  13371   
        fn from(builder: Builder) -> Self {
 6928  13372   
            builder.build()
 6929  13373   
        }
 6930  13374   
    }
 6931         -
    /// A builder for [`ComplexError`](crate::error::ComplexError).
       13375  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`ComplexError`](crate::error::ComplexError).
       13376  +
    /* RustType.kt:516 */
 6932  13377   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
       13378  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 6933  13379   
    pub struct Builder {
       13380  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 6934  13381   
        pub(crate) header: ::std::option::Option<::std::string::String>,
       13382  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 6935  13383   
        pub(crate) top_level: ::std::option::Option<::std::string::String>,
       13384  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 6936  13385   
        pub(crate) nested: ::std::option::Option<crate::model::ComplexNestedErrorData>,
       13386  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 6937  13387   
    }
       13388  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 6938  13389   
    impl Builder {
       13390  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 6939  13391   
        #[allow(missing_docs)] // documentation missing in model
       13392  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6940  13393   
        pub fn header(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
 6941         -
            self.header = input;
       13394  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       13395  +
            self.header =
       13396  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       13397  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 6942  13398   
            self
       13399  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6943  13400   
        }
       13401  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 6944  13402   
        #[allow(missing_docs)] // documentation missing in model
       13403  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6945  13404   
        pub fn top_level(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
 6946         -
            self.top_level = input;
       13405  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       13406  +
            self.top_level =
       13407  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       13408  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 6947  13409   
            self
       13410  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6948  13411   
        }
       13412  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 6949  13413   
        #[allow(missing_docs)] // documentation missing in model
       13414  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6950  13415   
        pub fn nested(
 6951  13416   
            mut self,
 6952  13417   
            input: ::std::option::Option<crate::model::ComplexNestedErrorData>,
 6953  13418   
        ) -> Self {
 6954         -
            self.nested = input;
       13419  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       13420  +
            self.nested =
       13421  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       13422  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 6955  13423   
            self
       13424  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6956  13425   
        }
 6957         -
        /// Consumes the builder and constructs a [`ComplexError`](crate::error::ComplexError).
       13426  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`ComplexError`](crate::error::ComplexError).
       13427  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 6958  13428   
        pub fn build(self) -> crate::error::ComplexError {
 6959  13429   
            self.build_enforcing_required_and_enum_traits()
 6960  13430   
        }
       13431  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 6961  13432   
        fn build_enforcing_required_and_enum_traits(self) -> crate::error::ComplexError {
       13433  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
 6962  13434   
            crate::error::ComplexError {
       13435  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
 6963  13436   
                header: self.header,
       13437  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
 6964  13438   
                top_level: self.top_level,
       13439  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
 6965  13440   
                nested: self.nested,
       13441  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
 6966  13442   
            }
       13443  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 6967  13444   
        }
       13445  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 6968  13446   
    }
       13447  +
       13448  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6969  13449   
}
 6970         -
/// See [`InvalidGreeting`](crate::error::InvalidGreeting).
       13450  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`InvalidGreeting`](crate::error::InvalidGreeting).
 6971  13451   
pub mod invalid_greeting {
 6972  13452   
       13453  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
 6973  13454   
    impl ::std::convert::From<Builder> for crate::error::InvalidGreeting {
 6974  13455   
        fn from(builder: Builder) -> Self {
 6975  13456   
            builder.build()
 6976  13457   
        }
 6977  13458   
    }
 6978         -
    /// A builder for [`InvalidGreeting`](crate::error::InvalidGreeting).
       13459  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`InvalidGreeting`](crate::error::InvalidGreeting).
       13460  +
    /* RustType.kt:516 */
 6979  13461   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
       13462  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 6980  13463   
    pub struct Builder {
       13464  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 6981  13465   
        pub(crate) message: ::std::option::Option<::std::string::String>,
       13466  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 6982  13467   
    }
       13468  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 6983  13469   
    impl Builder {
       13470  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 6984  13471   
        #[allow(missing_docs)] // documentation missing in model
       13472  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6985  13473   
        pub fn message(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
 6986         -
            self.message = input;
       13474  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
       13475  +
            self.message =
       13476  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
       13477  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 6987  13478   
            self
       13479  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 6988  13480   
        }
 6989         -
        /// Consumes the builder and constructs a [`InvalidGreeting`](crate::error::InvalidGreeting).
       13481  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`InvalidGreeting`](crate::error::InvalidGreeting).
       13482  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 6990  13483   
        pub fn build(self) -> crate::error::InvalidGreeting {
 6991  13484   
            self.build_enforcing_required_and_enum_traits()
 6992  13485   
        }
       13486  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 6993  13487   
        fn build_enforcing_required_and_enum_traits(self) -> crate::error::InvalidGreeting {
       13488  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
 6994  13489   
            crate::error::InvalidGreeting {
       13490  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
 6995  13491   
                message: self.message,
       13492  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
 6996  13493   
            }
       13494  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 6997  13495   
        }
       13496  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 6998  13497   
    }
       13498  +
       13499  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6999  13500   
}