Server Test

Server Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943 (ignoring whitespace)

Files changed:

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

@@ -1,1 +1133,2102 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* ServerOperationErrorGenerator.kt:63 */
    2      3   
/// Error type for the `EventStreamsOperation` operation.
           4  +
/* ServerOperationErrorGenerator.kt:64 */
    3      5   
/// Each variant represents an error that can occur for the `EventStreamsOperation` operation.
           6  +
/* RustType.kt:516 */
    4      7   
#[derive(::std::fmt::Debug)]
    5         -
pub enum EventStreamsOperationError {
    6         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
           8  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum EventStreamsOperationError {
           9  +
    /// /* ServerOperationErrorGenerator.kt:68 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
          10  +
    /* ServerOperationErrorGenerator.kt:71 */
    7     11   
    ValidationException(crate::error::ValidationException),
          12  +
    /* ServerOperationErrorGenerator.kt:68 */
    8     13   
    #[allow(missing_docs)] // documentation missing in model
          14  +
    /* ServerOperationErrorGenerator.kt:71 */
    9     15   
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
          16  +
    /* ServerOperationErrorGenerator.kt:66 */
   10     17   
}
          18  +
/* ServerOperationErrorGenerator.kt:75 */
   11     19   
impl ::std::fmt::Display for EventStreamsOperationError {
          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         -
            EventStreamsOperationError::ValidationException(_inner) => _inner.fmt(f),
   15         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
          24  +
            /* ServerOperationErrorGenerator.kt:142 */
          25  +
            EventStreamsOperationError::ValidationException(_inner) =>
          26  +
            /* ServerOperationErrorGenerator.kt:78 */
          27  +
            {
          28  +
                _inner.fmt(f)
          29  +
            }
          30  +
            ,
          31  +
            /* ServerOperationErrorGenerator.kt:142 */
          32  +
            EventStreamsOperationError::EventStreamErrorMessage(_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 EventStreamsOperationError {
          45  +
    /* ServerOperationErrorGenerator.kt:87 */
   20     46   
    /// Returns `true` if the error kind is `EventStreamsOperationError::ValidationException`.
          47  +
    /* ServerOperationErrorGenerator.kt:88 */
   21     48   
    pub fn is_validation_exception(&self) -> bool {
          49  +
        /* ServerOperationErrorGenerator.kt:89 */
   22     50   
        matches!(&self, EventStreamsOperationError::ValidationException(_))
          51  +
        /* ServerOperationErrorGenerator.kt:88 */
   23     52   
    }
          53  +
    /* ServerOperationErrorGenerator.kt:87 */
   24     54   
    /// Returns `true` if the error kind is `EventStreamsOperationError::EventStreamErrorMessage`.
          55  +
    /* ServerOperationErrorGenerator.kt:88 */
   25     56   
    pub fn is_event_stream_error_message(&self) -> bool {
          57  +
        /* ServerOperationErrorGenerator.kt:89 */
   26     58   
        matches!(
   27     59   
            &self,
   28     60   
            EventStreamsOperationError::EventStreamErrorMessage(_)
   29     61   
        )
          62  +
        /* ServerOperationErrorGenerator.kt:88 */
   30     63   
    }
          64  +
    /* ServerOperationErrorGenerator.kt:92 */
   31     65   
    /// Returns the error name string by matching the correct variant.
          66  +
    /* ServerOperationErrorGenerator.kt:93 */
   32     67   
    pub fn name(&self) -> &'static str {
          68  +
        /* ServerOperationErrorGenerator.kt:139 */
   33     69   
        match &self {
   34         -
            EventStreamsOperationError::ValidationException(_inner) => _inner.name(),
   35         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.name(),
          70  +
            /* ServerOperationErrorGenerator.kt:142 */
          71  +
            EventStreamsOperationError::ValidationException(_inner) =>
          72  +
            /* ServerOperationErrorGenerator.kt:95 */
          73  +
            {
          74  +
                _inner.name()
   36     75   
            }
          76  +
            ,
          77  +
            /* ServerOperationErrorGenerator.kt:142 */
          78  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) =>
          79  +
            /* ServerOperationErrorGenerator.kt:95 */
          80  +
            {
          81  +
                _inner.name()
          82  +
            }
          83  +
            /* ServerOperationErrorGenerator.kt:139 */
   37     84   
        }
          85  +
        /* ServerOperationErrorGenerator.kt:93 */
          86  +
    }
          87  +
    /* ServerOperationErrorGenerator.kt:83 */
   38     88   
}
          89  +
/* ServerOperationErrorGenerator.kt:100 */
   39     90   
impl ::std::error::Error for EventStreamsOperationError {
          91  +
    /* ServerOperationErrorGenerator.kt:101 */
   40     92   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
          93  +
        /* ServerOperationErrorGenerator.kt:139 */
   41     94   
        match &self {
   42         -
            EventStreamsOperationError::ValidationException(_inner) => Some(_inner),
   43         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => Some(_inner),
          95  +
            /* ServerOperationErrorGenerator.kt:142 */
          96  +
            EventStreamsOperationError::ValidationException(_inner) =>
          97  +
            /* ServerOperationErrorGenerator.kt:103 */
          98  +
            {
          99  +
                Some(_inner)
         100  +
            }
         101  +
            ,
         102  +
            /* ServerOperationErrorGenerator.kt:142 */
         103  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) =>
         104  +
            /* ServerOperationErrorGenerator.kt:103 */
         105  +
            {
         106  +
                Some(_inner)
         107  +
            }
         108  +
            /* ServerOperationErrorGenerator.kt:139 */
   44    109   
        }
         110  +
        /* ServerOperationErrorGenerator.kt:101 */
   45    111   
    }
         112  +
    /* ServerOperationErrorGenerator.kt:100 */
   46    113   
}
         114  +
/* ServerOperationErrorGenerator.kt:110 */
   47    115   
impl ::std::convert::From<crate::error::ValidationException>
   48    116   
    for crate::error::EventStreamsOperationError
   49    117   
{
         118  +
    /* ServerOperationErrorGenerator.kt:111 */
   50    119   
    fn from(
   51    120   
        variant: crate::error::ValidationException,
   52    121   
    ) -> crate::error::EventStreamsOperationError {
         122  +
        /* ServerOperationErrorGenerator.kt:112 */
   53    123   
        Self::ValidationException(variant)
         124  +
        /* ServerOperationErrorGenerator.kt:111 */
   54    125   
    }
         126  +
    /* ServerOperationErrorGenerator.kt:110 */
   55    127   
}
         128  +
/* ServerOperationErrorGenerator.kt:110 */
   56    129   
impl ::std::convert::From<crate::error::EventStreamErrorMessage>
   57    130   
    for crate::error::EventStreamsOperationError
   58    131   
{
         132  +
    /* ServerOperationErrorGenerator.kt:111 */
   59    133   
    fn from(
   60    134   
        variant: crate::error::EventStreamErrorMessage,
   61    135   
    ) -> crate::error::EventStreamsOperationError {
         136  +
        /* ServerOperationErrorGenerator.kt:112 */
   62    137   
        Self::EventStreamErrorMessage(variant)
         138  +
        /* ServerOperationErrorGenerator.kt:111 */
   63    139   
    }
         140  +
    /* ServerOperationErrorGenerator.kt:110 */
   64    141   
}
   65    142   
         143  +
/* StructureGenerator.kt:197 */
   66    144   
#[allow(missing_docs)] // documentation missing in model
         145  +
/* RustType.kt:516 */
   67    146   
#[derive(
   68    147   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
   69    148   
)]
   70         -
pub struct EventStreamErrorMessage {
         149  +
pub /* StructureGenerator.kt:201 */ struct EventStreamErrorMessage {
         150  +
    /* StructureGenerator.kt:231 */
   71    151   
    #[allow(missing_docs)] // documentation missing in model
   72    152   
    pub message_content: ::std::option::Option<::std::string::String>,
         153  +
    /* StructureGenerator.kt:201 */
   73    154   
}
         155  +
/* StructureGenerator.kt:135 */
   74    156   
impl EventStreamErrorMessage {
         157  +
    /* StructureGenerator.kt:231 */
   75    158   
    #[allow(missing_docs)] // documentation missing in model
         159  +
                           /* StructureGenerator.kt:166 */
   76    160   
    pub fn message_content(&self) -> ::std::option::Option<&str> {
         161  +
        /* StructureGenerator.kt:169 */
   77    162   
        self.message_content.as_deref()
         163  +
        /* StructureGenerator.kt:166 */
   78    164   
    }
         165  +
    /* StructureGenerator.kt:135 */
   79    166   
}
         167  +
/* ErrorImplGenerator.kt:99 */
   80    168   
impl EventStreamErrorMessage {
         169  +
    /* ErrorImplGenerator.kt:141 */
   81    170   
    #[doc(hidden)]
   82    171   
    /// Returns the error name.
   83    172   
    pub fn name(&self) -> &'static str {
   84    173   
        "EventStreamErrorMessage"
   85    174   
    }
         175  +
    /* ErrorImplGenerator.kt:99 */
   86    176   
}
         177  +
/* ErrorImplGenerator.kt:153 */
   87    178   
impl ::std::fmt::Display for EventStreamErrorMessage {
         179  +
    /* ErrorImplGenerator.kt:154 */
   88    180   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         181  +
        /* ErrorImplGenerator.kt:161 */
   89    182   
        ::std::write!(f, "EventStreamErrorMessage")?;
         183  +
        /* ErrorImplGenerator.kt:171 */
   90    184   
        Ok(())
         185  +
        /* ErrorImplGenerator.kt:154 */
   91    186   
    }
         187  +
    /* ErrorImplGenerator.kt:153 */
   92    188   
}
         189  +
/* ErrorImplGenerator.kt:175 */
   93    190   
impl ::std::error::Error for EventStreamErrorMessage {}
         191  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
   94    192   
impl crate::constrained::Constrained for crate::error::EventStreamErrorMessage {
   95    193   
    type Unconstrained = crate::error::event_stream_error_message_internal::Builder;
   96    194   
}
         195  +
/* ServerCodegenVisitor.kt:370 */
   97    196   
impl EventStreamErrorMessage {
   98         -
    /// Creates a new builder-style object to manufacture [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
         197  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
         198  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
   99    199   
    pub fn builder() -> crate::error::event_stream_error_message::Builder {
         200  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
  100    201   
        crate::error::event_stream_error_message::Builder::default()
         202  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  101    203   
    }
         204  +
    /* ServerCodegenVisitor.kt:370 */
  102    205   
}
  103    206   
  104         -
/// 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.
         207  +
/// /* 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.
         208  +
/* RustType.kt:516 */
  105    209   
#[derive(
  106    210   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  107    211   
)]
  108         -
pub struct ValidationException {
  109         -
    /// A summary of the validation failure.
         212  +
pub /* StructureGenerator.kt:201 */ struct ValidationException {
         213  +
    /// /* StructureGenerator.kt:231 */A summary of the validation failure.
  110    214   
    pub message: ::std::string::String,
  111         -
    /// 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.
         215  +
    /// /* 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.
  112    216   
    pub field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
         217  +
    /* StructureGenerator.kt:201 */
  113    218   
}
         219  +
/* StructureGenerator.kt:135 */
  114    220   
impl ValidationException {
  115         -
    /// 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.
         221  +
    /// /* 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.
         222  +
    /* StructureGenerator.kt:166 */
  116    223   
    pub fn field_list(&self) -> ::std::option::Option<&[crate::model::ValidationExceptionField]> {
         224  +
        /* StructureGenerator.kt:169 */
  117    225   
        self.field_list.as_deref()
         226  +
        /* StructureGenerator.kt:166 */
  118    227   
    }
         228  +
    /* StructureGenerator.kt:135 */
  119    229   
}
         230  +
/* ErrorImplGenerator.kt:99 */
  120    231   
impl ValidationException {
         232  +
    /* ErrorImplGenerator.kt:128 */
  121    233   
    /// Returns the error message.
  122    234   
    pub fn message(&self) -> &str {
  123    235   
        &self.message
  124    236   
    }
         237  +
    /* ErrorImplGenerator.kt:141 */
  125    238   
    #[doc(hidden)]
  126    239   
    /// Returns the error name.
  127    240   
    pub fn name(&self) -> &'static str {
  128    241   
        "ValidationException"
  129    242   
    }
         243  +
    /* ErrorImplGenerator.kt:99 */
  130    244   
}
         245  +
/* ErrorImplGenerator.kt:153 */
  131    246   
impl ::std::fmt::Display for ValidationException {
         247  +
    /* ErrorImplGenerator.kt:154 */
  132    248   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         249  +
        /* ErrorImplGenerator.kt:161 */
  133    250   
        ::std::write!(f, "ValidationException")?;
         251  +
        /* ErrorImplGenerator.kt:166 */
  134    252   
        {
         253  +
            /* ErrorImplGenerator.kt:167 */
  135    254   
            ::std::write!(f, ": {}", &self.message)?;
         255  +
            /* ErrorImplGenerator.kt:166 */
  136    256   
        }
         257  +
        /* ErrorImplGenerator.kt:171 */
  137    258   
        Ok(())
         259  +
        /* ErrorImplGenerator.kt:154 */
  138    260   
    }
         261  +
    /* ErrorImplGenerator.kt:153 */
  139    262   
}
         263  +
/* ErrorImplGenerator.kt:175 */
  140    264   
impl ::std::error::Error for ValidationException {}
         265  +
/* ServerCodegenVisitor.kt:370 */
  141    266   
impl ValidationException {
  142         -
    /// Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
         267  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
         268  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  143    269   
    pub fn builder() -> crate::error::validation_exception::Builder {
         270  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
  144    271   
        crate::error::validation_exception::Builder::default()
         272  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
  145    273   
    }
         274  +
    /* ServerCodegenVisitor.kt:370 */
  146    275   
}
  147    276   
         277  +
/* ServerOperationErrorGenerator.kt:63 */
  148    278   
/// Error type for the `Event` operation.
         279  +
/* ServerOperationErrorGenerator.kt:64 */
  149    280   
/// Each variant represents an error that can occur for the `Event` operation.
         281  +
/* RustType.kt:516 */
  150    282   
#[derive(::std::fmt::Debug)]
  151         -
pub enum EventError {
         283  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum EventError {
         284  +
    /* ServerOperationErrorGenerator.kt:68 */
  152    285   
    #[allow(missing_docs)] // documentation missing in model
         286  +
    /* ServerOperationErrorGenerator.kt:71 */
  153    287   
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
         288  +
    /* ServerOperationErrorGenerator.kt:66 */
  154    289   
}
         290  +
/* ServerOperationErrorGenerator.kt:75 */
  155    291   
impl ::std::fmt::Display for EventError {
         292  +
    /* ServerOperationErrorGenerator.kt:76 */
  156    293   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         294  +
        /* ServerOperationErrorGenerator.kt:139 */
  157    295   
        match &self {
  158         -
            EventError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
         296  +
            /* ServerOperationErrorGenerator.kt:142 */
         297  +
            EventError::EventStreamErrorMessage(_inner) =>
         298  +
            /* ServerOperationErrorGenerator.kt:78 */
         299  +
            {
         300  +
                _inner.fmt(f)
         301  +
            }
         302  +
            /* ServerOperationErrorGenerator.kt:139 */
  159    303   
        }
         304  +
        /* ServerOperationErrorGenerator.kt:76 */
  160    305   
    }
         306  +
    /* ServerOperationErrorGenerator.kt:75 */
  161    307   
}
         308  +
/* ServerOperationErrorGenerator.kt:83 */
  162    309   
impl EventError {
         310  +
    /* ServerOperationErrorGenerator.kt:87 */
  163    311   
    /// Returns `true` if the error kind is `EventError::EventStreamErrorMessage`.
         312  +
    /* ServerOperationErrorGenerator.kt:88 */
  164    313   
    pub fn is_event_stream_error_message(&self) -> bool {
         314  +
        /* ServerOperationErrorGenerator.kt:89 */
  165    315   
        matches!(&self, EventError::EventStreamErrorMessage(_))
         316  +
        /* ServerOperationErrorGenerator.kt:88 */
  166    317   
    }
         318  +
    /* ServerOperationErrorGenerator.kt:92 */
  167    319   
    /// Returns the error name string by matching the correct variant.
         320  +
    /* ServerOperationErrorGenerator.kt:93 */
  168    321   
    pub fn name(&self) -> &'static str {
         322  +
        /* ServerOperationErrorGenerator.kt:139 */
  169    323   
        match &self {
  170         -
            EventError::EventStreamErrorMessage(_inner) => _inner.name(),
         324  +
            /* ServerOperationErrorGenerator.kt:142 */
         325  +
            EventError::EventStreamErrorMessage(_inner) =>
         326  +
            /* ServerOperationErrorGenerator.kt:95 */
         327  +
            {
         328  +
                _inner.name()
         329  +
            }
         330  +
            /* ServerOperationErrorGenerator.kt:139 */
  171    331   
        }
         332  +
        /* ServerOperationErrorGenerator.kt:93 */
  172    333   
    }
         334  +
    /* ServerOperationErrorGenerator.kt:83 */
  173    335   
}
         336  +
/* ServerOperationErrorGenerator.kt:100 */
  174    337   
impl ::std::error::Error for EventError {
         338  +
    /* ServerOperationErrorGenerator.kt:101 */
  175    339   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         340  +
        /* ServerOperationErrorGenerator.kt:139 */
  176    341   
        match &self {
  177         -
            EventError::EventStreamErrorMessage(_inner) => Some(_inner),
         342  +
            /* ServerOperationErrorGenerator.kt:142 */
         343  +
            EventError::EventStreamErrorMessage(_inner) =>
         344  +
            /* ServerOperationErrorGenerator.kt:103 */
         345  +
            {
         346  +
                Some(_inner)
  178    347   
            }
         348  +
            /* ServerOperationErrorGenerator.kt:139 */
  179    349   
        }
         350  +
        /* ServerOperationErrorGenerator.kt:101 */
         351  +
    }
         352  +
    /* ServerOperationErrorGenerator.kt:100 */
  180    353   
}
         354  +
/* ServerOperationErrorGenerator.kt:110 */
  181    355   
impl ::std::convert::From<crate::error::EventStreamErrorMessage> for crate::error::EventError {
         356  +
    /* ServerOperationErrorGenerator.kt:111 */
  182    357   
    fn from(variant: crate::error::EventStreamErrorMessage) -> crate::error::EventError {
         358  +
        /* ServerOperationErrorGenerator.kt:112 */
  183    359   
        Self::EventStreamErrorMessage(variant)
         360  +
        /* ServerOperationErrorGenerator.kt:111 */
  184    361   
    }
         362  +
    /* ServerOperationErrorGenerator.kt:110 */
  185    363   
}
  186    364   
         365  +
/* ServerOperationErrorGenerator.kt:63 */
  187    366   
/// Error type for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
         367  +
/* ServerOperationErrorGenerator.kt:64 */
  188    368   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
         369  +
/* RustType.kt:516 */
  189    370   
#[derive(::std::fmt::Debug)]
  190         -
pub enum QueryParamsTargetingMapOfEnumStringOperationError {
  191         -
    /// 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.
         371  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfEnumStringOperationError
         372  +
{
         373  +
    /// /* 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.
         374  +
    /* ServerOperationErrorGenerator.kt:71 */
  192    375   
    ValidationException(crate::error::ValidationException),
         376  +
    /* ServerOperationErrorGenerator.kt:66 */
  193    377   
}
         378  +
/* ServerOperationErrorGenerator.kt:75 */
  194    379   
impl ::std::fmt::Display for QueryParamsTargetingMapOfEnumStringOperationError {
         380  +
    /* ServerOperationErrorGenerator.kt:76 */
  195    381   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         382  +
        /* ServerOperationErrorGenerator.kt:139 */
  196    383   
        match &self {
  197         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         384  +
            /* ServerOperationErrorGenerator.kt:142 */
         385  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) =>
         386  +
            /* ServerOperationErrorGenerator.kt:78 */
         387  +
            {
  198    388   
                _inner.fmt(f)
  199    389   
            }
         390  +
            /* ServerOperationErrorGenerator.kt:139 */
  200    391   
        }
         392  +
        /* ServerOperationErrorGenerator.kt:76 */
  201    393   
    }
         394  +
    /* ServerOperationErrorGenerator.kt:75 */
  202    395   
}
         396  +
/* ServerOperationErrorGenerator.kt:83 */
  203    397   
impl QueryParamsTargetingMapOfEnumStringOperationError {
         398  +
    /* ServerOperationErrorGenerator.kt:87 */
  204    399   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfEnumStringOperationError::ValidationException`.
         400  +
    /* ServerOperationErrorGenerator.kt:88 */
  205    401   
    pub fn is_validation_exception(&self) -> bool {
         402  +
        /* ServerOperationErrorGenerator.kt:89 */
  206    403   
        matches!(
  207    404   
            &self,
  208    405   
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_)
  209    406   
        )
         407  +
        /* ServerOperationErrorGenerator.kt:88 */
  210    408   
    }
         409  +
    /* ServerOperationErrorGenerator.kt:92 */
  211    410   
    /// Returns the error name string by matching the correct variant.
         411  +
    /* ServerOperationErrorGenerator.kt:93 */
  212    412   
    pub fn name(&self) -> &'static str {
         413  +
        /* ServerOperationErrorGenerator.kt:139 */
  213    414   
        match &self {
  214         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         415  +
            /* ServerOperationErrorGenerator.kt:142 */
         416  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) =>
         417  +
            /* ServerOperationErrorGenerator.kt:95 */
         418  +
            {
  215    419   
                _inner.name()
  216    420   
            }
         421  +
            /* ServerOperationErrorGenerator.kt:139 */
  217    422   
        }
         423  +
        /* ServerOperationErrorGenerator.kt:93 */
  218    424   
    }
         425  +
    /* ServerOperationErrorGenerator.kt:83 */
  219    426   
}
         427  +
/* ServerOperationErrorGenerator.kt:100 */
  220    428   
impl ::std::error::Error for QueryParamsTargetingMapOfEnumStringOperationError {
         429  +
    /* ServerOperationErrorGenerator.kt:101 */
  221    430   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         431  +
        /* ServerOperationErrorGenerator.kt:139 */
  222    432   
        match &self {
  223         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         433  +
            /* ServerOperationErrorGenerator.kt:142 */
         434  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) =>
         435  +
            /* ServerOperationErrorGenerator.kt:103 */
         436  +
            {
  224    437   
                Some(_inner)
  225    438   
            }
         439  +
            /* ServerOperationErrorGenerator.kt:139 */
  226    440   
        }
         441  +
        /* ServerOperationErrorGenerator.kt:101 */
  227    442   
    }
         443  +
    /* ServerOperationErrorGenerator.kt:100 */
  228    444   
}
         445  +
/* ServerOperationErrorGenerator.kt:110 */
  229    446   
impl ::std::convert::From<crate::error::ValidationException>
  230    447   
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
  231    448   
{
         449  +
    /* ServerOperationErrorGenerator.kt:111 */
  232    450   
    fn from(
  233    451   
        variant: crate::error::ValidationException,
  234    452   
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
         453  +
        /* ServerOperationErrorGenerator.kt:112 */
  235    454   
        Self::ValidationException(variant)
         455  +
        /* ServerOperationErrorGenerator.kt:111 */
  236    456   
    }
         457  +
    /* ServerOperationErrorGenerator.kt:110 */
  237    458   
}
  238    459   
         460  +
/* ServerOperationErrorGenerator.kt:63 */
  239    461   
/// Error type for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
         462  +
/* ServerOperationErrorGenerator.kt:64 */
  240    463   
/// Each variant represents an error that can occur for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
         464  +
/* RustType.kt:516 */
  241    465   
#[derive(::std::fmt::Debug)]
  242         -
pub enum HttpPrefixHeadersTargetingLengthMapOperationError {
  243         -
    /// 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.
         466  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpPrefixHeadersTargetingLengthMapOperationError
         467  +
{
         468  +
    /// /* 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.
         469  +
    /* ServerOperationErrorGenerator.kt:71 */
  244    470   
    ValidationException(crate::error::ValidationException),
         471  +
    /* ServerOperationErrorGenerator.kt:66 */
  245    472   
}
         473  +
/* ServerOperationErrorGenerator.kt:75 */
  246    474   
impl ::std::fmt::Display for HttpPrefixHeadersTargetingLengthMapOperationError {
         475  +
    /* ServerOperationErrorGenerator.kt:76 */
  247    476   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         477  +
        /* ServerOperationErrorGenerator.kt:139 */
  248    478   
        match &self {
  249         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
         479  +
            /* ServerOperationErrorGenerator.kt:142 */
         480  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) =>
         481  +
            /* ServerOperationErrorGenerator.kt:78 */
         482  +
            {
  250    483   
                _inner.fmt(f)
  251    484   
            }
         485  +
            /* ServerOperationErrorGenerator.kt:139 */
  252    486   
        }
         487  +
        /* ServerOperationErrorGenerator.kt:76 */
  253    488   
    }
         489  +
    /* ServerOperationErrorGenerator.kt:75 */
  254    490   
}
         491  +
/* ServerOperationErrorGenerator.kt:83 */
  255    492   
impl HttpPrefixHeadersTargetingLengthMapOperationError {
         493  +
    /* ServerOperationErrorGenerator.kt:87 */
  256    494   
    /// Returns `true` if the error kind is `HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException`.
         495  +
    /* ServerOperationErrorGenerator.kt:88 */
  257    496   
    pub fn is_validation_exception(&self) -> bool {
         497  +
        /* ServerOperationErrorGenerator.kt:89 */
  258    498   
        matches!(
  259    499   
            &self,
  260    500   
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_)
  261    501   
        )
         502  +
        /* ServerOperationErrorGenerator.kt:88 */
  262    503   
    }
         504  +
    /* ServerOperationErrorGenerator.kt:92 */
  263    505   
    /// Returns the error name string by matching the correct variant.
         506  +
    /* ServerOperationErrorGenerator.kt:93 */
  264    507   
    pub fn name(&self) -> &'static str {
         508  +
        /* ServerOperationErrorGenerator.kt:139 */
  265    509   
        match &self {
  266         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
         510  +
            /* ServerOperationErrorGenerator.kt:142 */
         511  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) =>
         512  +
            /* ServerOperationErrorGenerator.kt:95 */
         513  +
            {
  267    514   
                _inner.name()
  268    515   
            }
         516  +
            /* ServerOperationErrorGenerator.kt:139 */
  269    517   
        }
         518  +
        /* ServerOperationErrorGenerator.kt:93 */
  270    519   
    }
         520  +
    /* ServerOperationErrorGenerator.kt:83 */
  271    521   
}
         522  +
/* ServerOperationErrorGenerator.kt:100 */
  272    523   
impl ::std::error::Error for HttpPrefixHeadersTargetingLengthMapOperationError {
         524  +
    /* ServerOperationErrorGenerator.kt:101 */
  273    525   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         526  +
        /* ServerOperationErrorGenerator.kt:139 */
  274    527   
        match &self {
  275         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
         528  +
            /* ServerOperationErrorGenerator.kt:142 */
         529  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) =>
         530  +
            /* ServerOperationErrorGenerator.kt:103 */
         531  +
            {
  276    532   
                Some(_inner)
  277    533   
            }
         534  +
            /* ServerOperationErrorGenerator.kt:139 */
  278    535   
        }
         536  +
        /* ServerOperationErrorGenerator.kt:101 */
  279    537   
    }
         538  +
    /* ServerOperationErrorGenerator.kt:100 */
  280    539   
}
         540  +
/* ServerOperationErrorGenerator.kt:110 */
  281    541   
impl ::std::convert::From<crate::error::ValidationException>
  282    542   
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
  283    543   
{
         544  +
    /* ServerOperationErrorGenerator.kt:111 */
  284    545   
    fn from(
  285    546   
        variant: crate::error::ValidationException,
  286    547   
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
         548  +
        /* ServerOperationErrorGenerator.kt:112 */
  287    549   
        Self::ValidationException(variant)
         550  +
        /* ServerOperationErrorGenerator.kt:111 */
  288    551   
    }
         552  +
    /* ServerOperationErrorGenerator.kt:110 */
  289    553   
}
  290    554   
         555  +
/* ServerOperationErrorGenerator.kt:63 */
  291    556   
/// Error type for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
         557  +
/* ServerOperationErrorGenerator.kt:64 */
  292    558   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
         559  +
/* RustType.kt:516 */
  293    560   
#[derive(::std::fmt::Debug)]
  294         -
pub enum QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  295         -
    /// 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.
         561  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
         562  +
{
         563  +
    /// /* 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.
         564  +
    /* ServerOperationErrorGenerator.kt:71 */
  296    565   
    ValidationException(crate::error::ValidationException),
         566  +
    /* ServerOperationErrorGenerator.kt:66 */
  297    567   
}
         568  +
/* ServerOperationErrorGenerator.kt:75 */
  298    569   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         570  +
    /* ServerOperationErrorGenerator.kt:76 */
  299    571   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         572  +
        /* ServerOperationErrorGenerator.kt:139 */
  300    573   
        match &self {
  301         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  302         -
            _inner.fmt(f)
         574  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
         575  +
            /* ServerOperationErrorGenerator.kt:78 */_inner.fmt(f)
  303    576   
            ,
         577  +
        /* ServerOperationErrorGenerator.kt:139 */}
         578  +
        /* ServerOperationErrorGenerator.kt:76 */
  304    579   
    }
  305         -
    }
         580  +
    /* ServerOperationErrorGenerator.kt:75 */
  306    581   
}
         582  +
/* ServerOperationErrorGenerator.kt:83 */
  307    583   
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         584  +
    /* ServerOperationErrorGenerator.kt:87 */
  308    585   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException`.
         586  +
    /* ServerOperationErrorGenerator.kt:88 */
  309    587   
    pub fn is_validation_exception(&self) -> bool {
         588  +
        /* ServerOperationErrorGenerator.kt:89 */
  310    589   
        matches!(
  311    590   
            &self,
  312    591   
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(
  313    592   
                _
  314    593   
            )
  315    594   
        )
         595  +
        /* ServerOperationErrorGenerator.kt:88 */
  316    596   
    }
         597  +
    /* ServerOperationErrorGenerator.kt:92 */
  317    598   
    /// Returns the error name string by matching the correct variant.
         599  +
    /* ServerOperationErrorGenerator.kt:93 */
  318    600   
    pub fn name(&self) -> &'static str {
         601  +
        /* ServerOperationErrorGenerator.kt:139 */
  319    602   
        match &self {
  320         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  321         -
            _inner.name()
         603  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
         604  +
            /* ServerOperationErrorGenerator.kt:95 */_inner.name()
  322    605   
            ,
         606  +
        /* ServerOperationErrorGenerator.kt:139 */}
         607  +
        /* ServerOperationErrorGenerator.kt:93 */
  323    608   
    }
  324         -
    }
         609  +
    /* ServerOperationErrorGenerator.kt:83 */
  325    610   
}
         611  +
/* ServerOperationErrorGenerator.kt:100 */
  326    612   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         613  +
    /* ServerOperationErrorGenerator.kt:101 */
  327    614   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         615  +
        /* ServerOperationErrorGenerator.kt:139 */
  328    616   
        match &self {
  329         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  330         -
            Some(_inner)
         617  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
         618  +
            /* ServerOperationErrorGenerator.kt:103 */Some(_inner)
  331    619   
            ,
         620  +
        /* ServerOperationErrorGenerator.kt:139 */}
         621  +
        /* ServerOperationErrorGenerator.kt:101 */
  332    622   
    }
  333         -
    }
         623  +
    /* ServerOperationErrorGenerator.kt:100 */
  334    624   
}
         625  +
/* ServerOperationErrorGenerator.kt:110 */
  335    626   
impl ::std::convert::From<crate::error::ValidationException>
  336    627   
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
  337    628   
{
         629  +
    /* ServerOperationErrorGenerator.kt:111 */
  338    630   
    fn from(
  339    631   
        variant: crate::error::ValidationException,
  340    632   
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         633  +
        /* ServerOperationErrorGenerator.kt:112 */
  341    634   
        Self::ValidationException(variant)
         635  +
        /* ServerOperationErrorGenerator.kt:111 */
  342    636   
    }
         637  +
    /* ServerOperationErrorGenerator.kt:110 */
  343    638   
}
  344    639   
         640  +
/* ServerOperationErrorGenerator.kt:63 */
  345    641   
/// Error type for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
         642  +
/* ServerOperationErrorGenerator.kt:64 */
  346    643   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
         644  +
/* RustType.kt:516 */
  347    645   
#[derive(::std::fmt::Debug)]
  348         -
pub enum QueryParamsTargetingMapOfLengthPatternStringOperationError {
  349         -
    /// 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.
         646  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfLengthPatternStringOperationError
         647  +
{
         648  +
    /// /* 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.
         649  +
    /* ServerOperationErrorGenerator.kt:71 */
  350    650   
    ValidationException(crate::error::ValidationException),
         651  +
    /* ServerOperationErrorGenerator.kt:66 */
  351    652   
}
         653  +
/* ServerOperationErrorGenerator.kt:75 */
  352    654   
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthPatternStringOperationError {
         655  +
    /* ServerOperationErrorGenerator.kt:76 */
  353    656   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         657  +
        /* ServerOperationErrorGenerator.kt:139 */
  354    658   
        match &self {
         659  +
            /* ServerOperationErrorGenerator.kt:142 */
  355    660   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  356    661   
                _inner,
  357         -
            ) => _inner.fmt(f),
         662  +
            ) =>
         663  +
            /* ServerOperationErrorGenerator.kt:78 */
         664  +
            {
         665  +
                _inner.fmt(f)
  358    666   
            }
         667  +
            /* ServerOperationErrorGenerator.kt:139 */
  359    668   
        }
         669  +
        /* ServerOperationErrorGenerator.kt:76 */
         670  +
    }
         671  +
    /* ServerOperationErrorGenerator.kt:75 */
  360    672   
}
         673  +
/* ServerOperationErrorGenerator.kt:83 */
  361    674   
impl QueryParamsTargetingMapOfLengthPatternStringOperationError {
         675  +
    /* ServerOperationErrorGenerator.kt:87 */
  362    676   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException`.
         677  +
    /* ServerOperationErrorGenerator.kt:88 */
  363    678   
    pub fn is_validation_exception(&self) -> bool {
         679  +
        /* ServerOperationErrorGenerator.kt:89 */
  364    680   
        matches!(
  365    681   
            &self,
  366    682   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(_)
  367    683   
        )
         684  +
        /* ServerOperationErrorGenerator.kt:88 */
  368    685   
    }
         686  +
    /* ServerOperationErrorGenerator.kt:92 */
  369    687   
    /// Returns the error name string by matching the correct variant.
         688  +
    /* ServerOperationErrorGenerator.kt:93 */
  370    689   
    pub fn name(&self) -> &'static str {
         690  +
        /* ServerOperationErrorGenerator.kt:139 */
  371    691   
        match &self {
         692  +
            /* ServerOperationErrorGenerator.kt:142 */
  372    693   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  373    694   
                _inner,
  374         -
            ) => _inner.name(),
         695  +
            ) =>
         696  +
            /* ServerOperationErrorGenerator.kt:95 */
         697  +
            {
         698  +
                _inner.name()
  375    699   
            }
         700  +
            /* ServerOperationErrorGenerator.kt:139 */
  376    701   
        }
         702  +
        /* ServerOperationErrorGenerator.kt:93 */
         703  +
    }
         704  +
    /* ServerOperationErrorGenerator.kt:83 */
  377    705   
}
         706  +
/* ServerOperationErrorGenerator.kt:100 */
  378    707   
impl ::std::error::Error for QueryParamsTargetingMapOfLengthPatternStringOperationError {
         708  +
    /* ServerOperationErrorGenerator.kt:101 */
  379    709   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         710  +
        /* ServerOperationErrorGenerator.kt:139 */
  380    711   
        match &self {
         712  +
            /* ServerOperationErrorGenerator.kt:142 */
  381    713   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  382    714   
                _inner,
  383         -
            ) => Some(_inner),
         715  +
            ) =>
         716  +
            /* ServerOperationErrorGenerator.kt:103 */
         717  +
            {
         718  +
                Some(_inner)
         719  +
            }
         720  +
            /* ServerOperationErrorGenerator.kt:139 */
  384    721   
        }
         722  +
        /* ServerOperationErrorGenerator.kt:101 */
  385    723   
    }
         724  +
    /* ServerOperationErrorGenerator.kt:100 */
  386    725   
}
         726  +
/* ServerOperationErrorGenerator.kt:110 */
  387    727   
impl ::std::convert::From<crate::error::ValidationException>
  388    728   
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
  389    729   
{
         730  +
    /* ServerOperationErrorGenerator.kt:111 */
  390    731   
    fn from(
  391    732   
        variant: crate::error::ValidationException,
  392    733   
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
         734  +
        /* ServerOperationErrorGenerator.kt:112 */
  393    735   
        Self::ValidationException(variant)
         736  +
        /* ServerOperationErrorGenerator.kt:111 */
  394    737   
    }
         738  +
    /* ServerOperationErrorGenerator.kt:110 */
  395    739   
}
  396    740   
         741  +
/* ServerOperationErrorGenerator.kt:63 */
  397    742   
/// Error type for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
         743  +
/* ServerOperationErrorGenerator.kt:64 */
  398    744   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
         745  +
/* RustType.kt:516 */
  399    746   
#[derive(::std::fmt::Debug)]
  400         -
pub enum QueryParamsTargetingMapOfListOfPatternStringOperationError {
  401         -
    /// 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.
         747  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfListOfPatternStringOperationError
         748  +
{
         749  +
    /// /* 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.
         750  +
    /* ServerOperationErrorGenerator.kt:71 */
  402    751   
    ValidationException(crate::error::ValidationException),
         752  +
    /* ServerOperationErrorGenerator.kt:66 */
  403    753   
}
         754  +
/* ServerOperationErrorGenerator.kt:75 */
  404    755   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfPatternStringOperationError {
         756  +
    /* ServerOperationErrorGenerator.kt:76 */
  405    757   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         758  +
        /* ServerOperationErrorGenerator.kt:139 */
  406    759   
        match &self {
         760  +
            /* ServerOperationErrorGenerator.kt:142 */
  407    761   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  408    762   
                _inner,
  409         -
            ) => _inner.fmt(f),
         763  +
            ) =>
         764  +
            /* ServerOperationErrorGenerator.kt:78 */
         765  +
            {
         766  +
                _inner.fmt(f)
         767  +
            }
         768  +
            /* ServerOperationErrorGenerator.kt:139 */
  410    769   
        }
         770  +
        /* ServerOperationErrorGenerator.kt:76 */
  411    771   
    }
         772  +
    /* ServerOperationErrorGenerator.kt:75 */
  412    773   
}
         774  +
/* ServerOperationErrorGenerator.kt:83 */
  413    775   
impl QueryParamsTargetingMapOfListOfPatternStringOperationError {
         776  +
    /* ServerOperationErrorGenerator.kt:87 */
  414    777   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException`.
         778  +
    /* ServerOperationErrorGenerator.kt:88 */
  415    779   
    pub fn is_validation_exception(&self) -> bool {
         780  +
        /* ServerOperationErrorGenerator.kt:89 */
  416    781   
        matches!(
  417    782   
            &self,
  418    783   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(_)
  419    784   
        )
         785  +
        /* ServerOperationErrorGenerator.kt:88 */
  420    786   
    }
         787  +
    /* ServerOperationErrorGenerator.kt:92 */
  421    788   
    /// Returns the error name string by matching the correct variant.
         789  +
    /* ServerOperationErrorGenerator.kt:93 */
  422    790   
    pub fn name(&self) -> &'static str {
         791  +
        /* ServerOperationErrorGenerator.kt:139 */
  423    792   
        match &self {
         793  +
            /* ServerOperationErrorGenerator.kt:142 */
  424    794   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  425    795   
                _inner,
  426         -
            ) => _inner.name(),
         796  +
            ) =>
         797  +
            /* ServerOperationErrorGenerator.kt:95 */
         798  +
            {
         799  +
                _inner.name()
         800  +
            }
         801  +
            /* ServerOperationErrorGenerator.kt:139 */
  427    802   
        }
         803  +
        /* ServerOperationErrorGenerator.kt:93 */
  428    804   
    }
         805  +
    /* ServerOperationErrorGenerator.kt:83 */
  429    806   
}
         807  +
/* ServerOperationErrorGenerator.kt:100 */
  430    808   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfPatternStringOperationError {
         809  +
    /* ServerOperationErrorGenerator.kt:101 */
  431    810   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         811  +
        /* ServerOperationErrorGenerator.kt:139 */
  432    812   
        match &self {
         813  +
            /* ServerOperationErrorGenerator.kt:142 */
  433    814   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  434    815   
                _inner,
  435         -
            ) => Some(_inner),
         816  +
            ) =>
         817  +
            /* ServerOperationErrorGenerator.kt:103 */
         818  +
            {
         819  +
                Some(_inner)
  436    820   
            }
         821  +
            /* ServerOperationErrorGenerator.kt:139 */
  437    822   
        }
         823  +
        /* ServerOperationErrorGenerator.kt:101 */
         824  +
    }
         825  +
    /* ServerOperationErrorGenerator.kt:100 */
  438    826   
}
         827  +
/* ServerOperationErrorGenerator.kt:110 */
  439    828   
impl ::std::convert::From<crate::error::ValidationException>
  440    829   
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
  441    830   
{
         831  +
    /* ServerOperationErrorGenerator.kt:111 */
  442    832   
    fn from(
  443    833   
        variant: crate::error::ValidationException,
  444    834   
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
         835  +
        /* ServerOperationErrorGenerator.kt:112 */
  445    836   
        Self::ValidationException(variant)
         837  +
        /* ServerOperationErrorGenerator.kt:111 */
  446    838   
    }
         839  +
    /* ServerOperationErrorGenerator.kt:110 */
  447    840   
}
  448    841   
         842  +
/* ServerOperationErrorGenerator.kt:63 */
  449    843   
/// Error type for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
         844  +
/* ServerOperationErrorGenerator.kt:64 */
  450    845   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
         846  +
/* RustType.kt:516 */
  451    847   
#[derive(::std::fmt::Debug)]
  452         -
pub enum QueryParamsTargetingMapOfPatternStringOperationError {
  453         -
    /// 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.
         848  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfPatternStringOperationError
         849  +
{
         850  +
    /// /* 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.
         851  +
    /* ServerOperationErrorGenerator.kt:71 */
  454    852   
    ValidationException(crate::error::ValidationException),
         853  +
    /* ServerOperationErrorGenerator.kt:66 */
  455    854   
}
         855  +
/* ServerOperationErrorGenerator.kt:75 */
  456    856   
impl ::std::fmt::Display for QueryParamsTargetingMapOfPatternStringOperationError {
         857  +
    /* ServerOperationErrorGenerator.kt:76 */
  457    858   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         859  +
        /* ServerOperationErrorGenerator.kt:139 */
  458    860   
        match &self {
  459         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
         861  +
            /* ServerOperationErrorGenerator.kt:142 */
         862  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) =>
         863  +
            /* ServerOperationErrorGenerator.kt:78 */
         864  +
            {
  460    865   
                _inner.fmt(f)
  461    866   
            }
         867  +
            /* ServerOperationErrorGenerator.kt:139 */
  462    868   
        }
         869  +
        /* ServerOperationErrorGenerator.kt:76 */
  463    870   
    }
         871  +
    /* ServerOperationErrorGenerator.kt:75 */
  464    872   
}
         873  +
/* ServerOperationErrorGenerator.kt:83 */
  465    874   
impl QueryParamsTargetingMapOfPatternStringOperationError {
         875  +
    /* ServerOperationErrorGenerator.kt:87 */
  466    876   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfPatternStringOperationError::ValidationException`.
         877  +
    /* ServerOperationErrorGenerator.kt:88 */
  467    878   
    pub fn is_validation_exception(&self) -> bool {
         879  +
        /* ServerOperationErrorGenerator.kt:89 */
  468    880   
        matches!(
  469    881   
            &self,
  470    882   
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_)
  471    883   
        )
         884  +
        /* ServerOperationErrorGenerator.kt:88 */
  472    885   
    }
         886  +
    /* ServerOperationErrorGenerator.kt:92 */
  473    887   
    /// Returns the error name string by matching the correct variant.
         888  +
    /* ServerOperationErrorGenerator.kt:93 */
  474    889   
    pub fn name(&self) -> &'static str {
         890  +
        /* ServerOperationErrorGenerator.kt:139 */
  475    891   
        match &self {
  476         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
         892  +
            /* ServerOperationErrorGenerator.kt:142 */
         893  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) =>
         894  +
            /* ServerOperationErrorGenerator.kt:95 */
         895  +
            {
  477    896   
                _inner.name()
  478    897   
            }
         898  +
            /* ServerOperationErrorGenerator.kt:139 */
  479    899   
        }
         900  +
        /* ServerOperationErrorGenerator.kt:93 */
  480    901   
    }
         902  +
    /* ServerOperationErrorGenerator.kt:83 */
  481    903   
}
         904  +
/* ServerOperationErrorGenerator.kt:100 */
  482    905   
impl ::std::error::Error for QueryParamsTargetingMapOfPatternStringOperationError {
         906  +
    /* ServerOperationErrorGenerator.kt:101 */
  483    907   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         908  +
        /* ServerOperationErrorGenerator.kt:139 */
  484    909   
        match &self {
  485         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
         910  +
            /* ServerOperationErrorGenerator.kt:142 */
         911  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) =>
         912  +
            /* ServerOperationErrorGenerator.kt:103 */
         913  +
            {
  486    914   
                Some(_inner)
  487    915   
            }
         916  +
            /* ServerOperationErrorGenerator.kt:139 */
  488    917   
        }
         918  +
        /* ServerOperationErrorGenerator.kt:101 */
  489    919   
    }
         920  +
    /* ServerOperationErrorGenerator.kt:100 */
  490    921   
}
         922  +
/* ServerOperationErrorGenerator.kt:110 */
  491    923   
impl ::std::convert::From<crate::error::ValidationException>
  492    924   
    for crate::error::QueryParamsTargetingMapOfPatternStringOperationError
  493    925   
{
         926  +
    /* ServerOperationErrorGenerator.kt:111 */
  494    927   
    fn from(
  495    928   
        variant: crate::error::ValidationException,
  496    929   
    ) -> crate::error::QueryParamsTargetingMapOfPatternStringOperationError {
         930  +
        /* ServerOperationErrorGenerator.kt:112 */
  497    931   
        Self::ValidationException(variant)
         932  +
        /* ServerOperationErrorGenerator.kt:111 */
  498    933   
    }
         934  +
    /* ServerOperationErrorGenerator.kt:110 */
  499    935   
}
  500    936   
         937  +
/* ServerOperationErrorGenerator.kt:63 */
  501    938   
/// Error type for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
         939  +
/* ServerOperationErrorGenerator.kt:64 */
  502    940   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
         941  +
/* RustType.kt:516 */
  503    942   
#[derive(::std::fmt::Debug)]
  504         -
pub enum QueryParamsTargetingMapOfListOfEnumStringOperationError {
  505         -
    /// 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.
         943  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfListOfEnumStringOperationError
         944  +
{
         945  +
    /// /* 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.
         946  +
    /* ServerOperationErrorGenerator.kt:71 */
  506    947   
    ValidationException(crate::error::ValidationException),
         948  +
    /* ServerOperationErrorGenerator.kt:66 */
  507    949   
}
         950  +
/* ServerOperationErrorGenerator.kt:75 */
  508    951   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfEnumStringOperationError {
         952  +
    /* ServerOperationErrorGenerator.kt:76 */
  509    953   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         954  +
        /* ServerOperationErrorGenerator.kt:139 */
  510    955   
        match &self {
         956  +
            /* ServerOperationErrorGenerator.kt:142 */
  511    957   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  512    958   
                _inner,
  513         -
            ) => _inner.fmt(f),
         959  +
            ) =>
         960  +
            /* ServerOperationErrorGenerator.kt:78 */
         961  +
            {
         962  +
                _inner.fmt(f)
         963  +
            }
         964  +
            /* ServerOperationErrorGenerator.kt:139 */
  514    965   
        }
         966  +
        /* ServerOperationErrorGenerator.kt:76 */
  515    967   
    }
         968  +
    /* ServerOperationErrorGenerator.kt:75 */
  516    969   
}
         970  +
/* ServerOperationErrorGenerator.kt:83 */
  517    971   
impl QueryParamsTargetingMapOfListOfEnumStringOperationError {
         972  +
    /* ServerOperationErrorGenerator.kt:87 */
  518    973   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException`.
         974  +
    /* ServerOperationErrorGenerator.kt:88 */
  519    975   
    pub fn is_validation_exception(&self) -> bool {
         976  +
        /* ServerOperationErrorGenerator.kt:89 */
  520    977   
        matches!(
  521    978   
            &self,
  522    979   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(_)
  523    980   
        )
         981  +
        /* ServerOperationErrorGenerator.kt:88 */
  524    982   
    }
         983  +
    /* ServerOperationErrorGenerator.kt:92 */
  525    984   
    /// Returns the error name string by matching the correct variant.
         985  +
    /* ServerOperationErrorGenerator.kt:93 */
  526    986   
    pub fn name(&self) -> &'static str {
         987  +
        /* ServerOperationErrorGenerator.kt:139 */
  527    988   
        match &self {
         989  +
            /* ServerOperationErrorGenerator.kt:142 */
  528    990   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  529    991   
                _inner,
  530         -
            ) => _inner.name(),
         992  +
            ) =>
         993  +
            /* ServerOperationErrorGenerator.kt:95 */
         994  +
            {
         995  +
                _inner.name()
  531    996   
            }
         997  +
            /* ServerOperationErrorGenerator.kt:139 */
  532    998   
        }
         999  +
        /* ServerOperationErrorGenerator.kt:93 */
        1000  +
    }
        1001  +
    /* ServerOperationErrorGenerator.kt:83 */
  533   1002   
}
        1003  +
/* ServerOperationErrorGenerator.kt:100 */
  534   1004   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfEnumStringOperationError {
        1005  +
    /* ServerOperationErrorGenerator.kt:101 */
  535   1006   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1007  +
        /* ServerOperationErrorGenerator.kt:139 */
  536   1008   
        match &self {
        1009  +
            /* ServerOperationErrorGenerator.kt:142 */
  537   1010   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  538   1011   
                _inner,
  539         -
            ) => Some(_inner),
        1012  +
            ) =>
        1013  +
            /* ServerOperationErrorGenerator.kt:103 */
        1014  +
            {
        1015  +
                Some(_inner)
  540   1016   
            }
        1017  +
            /* ServerOperationErrorGenerator.kt:139 */
  541   1018   
        }
        1019  +
        /* ServerOperationErrorGenerator.kt:101 */
        1020  +
    }
        1021  +
    /* ServerOperationErrorGenerator.kt:100 */
  542   1022   
}
        1023  +
/* ServerOperationErrorGenerator.kt:110 */
  543   1024   
impl ::std::convert::From<crate::error::ValidationException>
  544   1025   
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
  545   1026   
{
        1027  +
    /* ServerOperationErrorGenerator.kt:111 */
  546   1028   
    fn from(
  547   1029   
        variant: crate::error::ValidationException,
  548   1030   
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
        1031  +
        /* ServerOperationErrorGenerator.kt:112 */
  549   1032   
        Self::ValidationException(variant)
        1033  +
        /* ServerOperationErrorGenerator.kt:111 */
  550   1034   
    }
        1035  +
    /* ServerOperationErrorGenerator.kt:110 */
  551   1036   
}
  552   1037   
        1038  +
/* ServerOperationErrorGenerator.kt:63 */
  553   1039   
/// Error type for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
        1040  +
/* ServerOperationErrorGenerator.kt:64 */
  554   1041   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
        1042  +
/* RustType.kt:516 */
  555   1043   
#[derive(::std::fmt::Debug)]
  556         -
pub enum QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  557         -
    /// 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.
        1044  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
        1045  +
{
        1046  +
    /// /* 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.
        1047  +
    /* ServerOperationErrorGenerator.kt:71 */
  558   1048   
    ValidationException(crate::error::ValidationException),
        1049  +
    /* ServerOperationErrorGenerator.kt:66 */
  559   1050   
}
        1051  +
/* ServerOperationErrorGenerator.kt:75 */
  560   1052   
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        1053  +
    /* ServerOperationErrorGenerator.kt:76 */
  561   1054   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1055  +
        /* ServerOperationErrorGenerator.kt:139 */
  562   1056   
        match &self {
  563         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
  564         -
            _inner.fmt(f)
        1057  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
        1058  +
            /* ServerOperationErrorGenerator.kt:78 */_inner.fmt(f)
  565   1059   
            ,
        1060  +
        /* ServerOperationErrorGenerator.kt:139 */}
        1061  +
        /* ServerOperationErrorGenerator.kt:76 */
  566   1062   
    }
  567         -
    }
        1063  +
    /* ServerOperationErrorGenerator.kt:75 */
  568   1064   
}
        1065  +
/* ServerOperationErrorGenerator.kt:83 */
  569   1066   
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        1067  +
    /* ServerOperationErrorGenerator.kt:87 */
  570   1068   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException`.
        1069  +
    /* ServerOperationErrorGenerator.kt:88 */
  571   1070   
    pub fn is_validation_exception(&self) -> bool {
        1071  +
        /* ServerOperationErrorGenerator.kt:89 */
  572   1072   
        matches!(
  573   1073   
            &self,
  574   1074   
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(
  575   1075   
                _
  576   1076   
            )
  577   1077   
        )
        1078  +
        /* ServerOperationErrorGenerator.kt:88 */
  578   1079   
    }
        1080  +
    /* ServerOperationErrorGenerator.kt:92 */
  579   1081   
    /// Returns the error name string by matching the correct variant.
        1082  +
    /* ServerOperationErrorGenerator.kt:93 */
  580   1083   
    pub fn name(&self) -> &'static str {
        1084  +
        /* ServerOperationErrorGenerator.kt:139 */
  581   1085   
        match &self {
  582         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
  583         -
            _inner.name()
        1086  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
        1087  +
            /* ServerOperationErrorGenerator.kt:95 */_inner.name()
  584   1088   
            ,
        1089  +
        /* ServerOperationErrorGenerator.kt:139 */}
        1090  +
        /* ServerOperationErrorGenerator.kt:93 */
  585   1091   
    }
  586         -
    }
        1092  +
    /* ServerOperationErrorGenerator.kt:83 */
  587   1093   
}
        1094  +
/* ServerOperationErrorGenerator.kt:100 */
  588   1095   
impl ::std::error::Error for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        1096  +
    /* ServerOperationErrorGenerator.kt:101 */
  589   1097   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1098  +
        /* ServerOperationErrorGenerator.kt:139 */
  590   1099   
        match &self {
  591         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
  592         -
            Some(_inner)
        1100  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
        1101  +
            /* ServerOperationErrorGenerator.kt:103 */Some(_inner)
  593   1102   
            ,
        1103  +
        /* ServerOperationErrorGenerator.kt:139 */}
        1104  +
        /* ServerOperationErrorGenerator.kt:101 */
  594   1105   
    }
  595         -
    }
        1106  +
    /* ServerOperationErrorGenerator.kt:100 */
  596   1107   
}
        1108  +
/* ServerOperationErrorGenerator.kt:110 */
  597   1109   
impl ::std::convert::From<crate::error::ValidationException>
  598   1110   
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
  599   1111   
{
        1112  +
    /* ServerOperationErrorGenerator.kt:111 */
  600   1113   
    fn from(
  601   1114   
        variant: crate::error::ValidationException,
  602   1115   
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        1116  +
        /* ServerOperationErrorGenerator.kt:112 */
  603   1117   
        Self::ValidationException(variant)
        1118  +
        /* ServerOperationErrorGenerator.kt:111 */
  604   1119   
    }
        1120  +
    /* ServerOperationErrorGenerator.kt:110 */
  605   1121   
}
  606   1122   
        1123  +
/* ServerOperationErrorGenerator.kt:63 */
  607   1124   
/// Error type for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
        1125  +
/* ServerOperationErrorGenerator.kt:64 */
  608   1126   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
        1127  +
/* RustType.kt:516 */
  609   1128   
#[derive(::std::fmt::Debug)]
  610         -
pub enum QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  611         -
    /// 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.
        1129  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfSetOfLengthStringOperationError
        1130  +
{
        1131  +
    /// /* 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.
        1132  +
    /* ServerOperationErrorGenerator.kt:71 */
  612   1133   
    ValidationException(crate::error::ValidationException),
        1134  +
    /* ServerOperationErrorGenerator.kt:66 */
  613   1135   
}
        1136  +
/* ServerOperationErrorGenerator.kt:75 */
  614   1137   
impl ::std::fmt::Display for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1138  +
    /* ServerOperationErrorGenerator.kt:76 */
  615   1139   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1140  +
        /* ServerOperationErrorGenerator.kt:139 */
  616   1141   
        match &self {
        1142  +
            /* ServerOperationErrorGenerator.kt:142 */
  617   1143   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
  618   1144   
                _inner,
  619         -
            ) => _inner.fmt(f),
        1145  +
            ) =>
        1146  +
            /* ServerOperationErrorGenerator.kt:78 */
        1147  +
            {
        1148  +
                _inner.fmt(f)
        1149  +
            }
        1150  +
            /* ServerOperationErrorGenerator.kt:139 */
  620   1151   
        }
        1152  +
        /* ServerOperationErrorGenerator.kt:76 */
  621   1153   
    }
        1154  +
    /* ServerOperationErrorGenerator.kt:75 */
  622   1155   
}
        1156  +
/* ServerOperationErrorGenerator.kt:83 */
  623   1157   
impl QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1158  +
    /* ServerOperationErrorGenerator.kt:87 */
  624   1159   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException`.
        1160  +
    /* ServerOperationErrorGenerator.kt:88 */
  625   1161   
    pub fn is_validation_exception(&self) -> bool {
        1162  +
        /* ServerOperationErrorGenerator.kt:89 */
  626   1163   
        matches!(
  627   1164   
            &self,
  628   1165   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(_)
  629   1166   
        )
        1167  +
        /* ServerOperationErrorGenerator.kt:88 */
  630   1168   
    }
        1169  +
    /* ServerOperationErrorGenerator.kt:92 */
  631   1170   
    /// Returns the error name string by matching the correct variant.
        1171  +
    /* ServerOperationErrorGenerator.kt:93 */
  632   1172   
    pub fn name(&self) -> &'static str {
        1173  +
        /* ServerOperationErrorGenerator.kt:139 */
  633   1174   
        match &self {
        1175  +
            /* ServerOperationErrorGenerator.kt:142 */
  634   1176   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
  635   1177   
                _inner,
  636         -
            ) => _inner.name(),
        1178  +
            ) =>
        1179  +
            /* ServerOperationErrorGenerator.kt:95 */
        1180  +
            {
        1181  +
                _inner.name()
  637   1182   
            }
        1183  +
            /* ServerOperationErrorGenerator.kt:139 */
  638   1184   
        }
        1185  +
        /* ServerOperationErrorGenerator.kt:93 */
        1186  +
    }
        1187  +
    /* ServerOperationErrorGenerator.kt:83 */
  639   1188   
}
        1189  +
/* ServerOperationErrorGenerator.kt:100 */
  640   1190   
impl ::std::error::Error for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1191  +
    /* ServerOperationErrorGenerator.kt:101 */
  641   1192   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1193  +
        /* ServerOperationErrorGenerator.kt:139 */
  642   1194   
        match &self {
        1195  +
            /* ServerOperationErrorGenerator.kt:142 */
  643   1196   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
  644   1197   
                _inner,
  645         -
            ) => Some(_inner),
        1198  +
            ) =>
        1199  +
            /* ServerOperationErrorGenerator.kt:103 */
        1200  +
            {
        1201  +
                Some(_inner)
        1202  +
            }
        1203  +
            /* ServerOperationErrorGenerator.kt:139 */
  646   1204   
        }
        1205  +
        /* ServerOperationErrorGenerator.kt:101 */
  647   1206   
    }
        1207  +
    /* ServerOperationErrorGenerator.kt:100 */
  648   1208   
}
        1209  +
/* ServerOperationErrorGenerator.kt:110 */
  649   1210   
impl ::std::convert::From<crate::error::ValidationException>
  650   1211   
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
  651   1212   
{
        1213  +
    /* ServerOperationErrorGenerator.kt:111 */
  652   1214   
    fn from(
  653   1215   
        variant: crate::error::ValidationException,
  654   1216   
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1217  +
        /* ServerOperationErrorGenerator.kt:112 */
  655   1218   
        Self::ValidationException(variant)
        1219  +
        /* ServerOperationErrorGenerator.kt:111 */
  656   1220   
    }
        1221  +
    /* ServerOperationErrorGenerator.kt:110 */
  657   1222   
}
  658   1223   
        1224  +
/* ServerOperationErrorGenerator.kt:63 */
  659   1225   
/// Error type for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
        1226  +
/* ServerOperationErrorGenerator.kt:64 */
  660   1227   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
        1228  +
/* RustType.kt:516 */
  661   1229   
#[derive(::std::fmt::Debug)]
  662         -
pub enum QueryParamsTargetingMapOfListOfLengthStringOperationError {
  663         -
    /// 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.
        1230  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfListOfLengthStringOperationError
        1231  +
{
        1232  +
    /// /* 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.
        1233  +
    /* ServerOperationErrorGenerator.kt:71 */
  664   1234   
    ValidationException(crate::error::ValidationException),
        1235  +
    /* ServerOperationErrorGenerator.kt:66 */
  665   1236   
}
        1237  +
/* ServerOperationErrorGenerator.kt:75 */
  666   1238   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1239  +
    /* ServerOperationErrorGenerator.kt:76 */
  667   1240   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1241  +
        /* ServerOperationErrorGenerator.kt:139 */
  668   1242   
        match &self {
        1243  +
            /* ServerOperationErrorGenerator.kt:142 */
  669   1244   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
  670   1245   
                _inner,
  671         -
            ) => _inner.fmt(f),
        1246  +
            ) =>
        1247  +
            /* ServerOperationErrorGenerator.kt:78 */
        1248  +
            {
        1249  +
                _inner.fmt(f)
  672   1250   
            }
        1251  +
            /* ServerOperationErrorGenerator.kt:139 */
  673   1252   
        }
        1253  +
        /* ServerOperationErrorGenerator.kt:76 */
        1254  +
    }
        1255  +
    /* ServerOperationErrorGenerator.kt:75 */
  674   1256   
}
        1257  +
/* ServerOperationErrorGenerator.kt:83 */
  675   1258   
impl QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1259  +
    /* ServerOperationErrorGenerator.kt:87 */
  676   1260   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException`.
        1261  +
    /* ServerOperationErrorGenerator.kt:88 */
  677   1262   
    pub fn is_validation_exception(&self) -> bool {
        1263  +
        /* ServerOperationErrorGenerator.kt:89 */
  678   1264   
        matches!(
  679   1265   
            &self,
  680   1266   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(_)
  681   1267   
        )
        1268  +
        /* ServerOperationErrorGenerator.kt:88 */
  682   1269   
    }
        1270  +
    /* ServerOperationErrorGenerator.kt:92 */
  683   1271   
    /// Returns the error name string by matching the correct variant.
        1272  +
    /* ServerOperationErrorGenerator.kt:93 */
  684   1273   
    pub fn name(&self) -> &'static str {
        1274  +
        /* ServerOperationErrorGenerator.kt:139 */
  685   1275   
        match &self {
        1276  +
            /* ServerOperationErrorGenerator.kt:142 */
  686   1277   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
  687   1278   
                _inner,
  688         -
            ) => _inner.name(),
        1279  +
            ) =>
        1280  +
            /* ServerOperationErrorGenerator.kt:95 */
        1281  +
            {
        1282  +
                _inner.name()
  689   1283   
            }
        1284  +
            /* ServerOperationErrorGenerator.kt:139 */
  690   1285   
        }
        1286  +
        /* ServerOperationErrorGenerator.kt:93 */
        1287  +
    }
        1288  +
    /* ServerOperationErrorGenerator.kt:83 */
  691   1289   
}
        1290  +
/* ServerOperationErrorGenerator.kt:100 */
  692   1291   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1292  +
    /* ServerOperationErrorGenerator.kt:101 */
  693   1293   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1294  +
        /* ServerOperationErrorGenerator.kt:139 */
  694   1295   
        match &self {
        1296  +
            /* ServerOperationErrorGenerator.kt:142 */
  695   1297   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
  696   1298   
                _inner,
  697         -
            ) => Some(_inner),
        1299  +
            ) =>
        1300  +
            /* ServerOperationErrorGenerator.kt:103 */
        1301  +
            {
        1302  +
                Some(_inner)
        1303  +
            }
        1304  +
            /* ServerOperationErrorGenerator.kt:139 */
  698   1305   
        }
        1306  +
        /* ServerOperationErrorGenerator.kt:101 */
  699   1307   
    }
        1308  +
    /* ServerOperationErrorGenerator.kt:100 */
  700   1309   
}
        1310  +
/* ServerOperationErrorGenerator.kt:110 */
  701   1311   
impl ::std::convert::From<crate::error::ValidationException>
  702   1312   
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
  703   1313   
{
        1314  +
    /* ServerOperationErrorGenerator.kt:111 */
  704   1315   
    fn from(
  705   1316   
        variant: crate::error::ValidationException,
  706   1317   
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1318  +
        /* ServerOperationErrorGenerator.kt:112 */
  707   1319   
        Self::ValidationException(variant)
        1320  +
        /* ServerOperationErrorGenerator.kt:111 */
  708   1321   
    }
        1322  +
    /* ServerOperationErrorGenerator.kt:110 */
  709   1323   
}
  710   1324   
        1325  +
/* ServerOperationErrorGenerator.kt:63 */
  711   1326   
/// Error type for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
        1327  +
/* ServerOperationErrorGenerator.kt:64 */
  712   1328   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
        1329  +
/* RustType.kt:516 */
  713   1330   
#[derive(::std::fmt::Debug)]
  714         -
pub enum QueryParamsTargetingMapOfLengthStringOperationError {
  715         -
    /// 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.
        1331  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfLengthStringOperationError
        1332  +
{
        1333  +
    /// /* 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.
        1334  +
    /* ServerOperationErrorGenerator.kt:71 */
  716   1335   
    ValidationException(crate::error::ValidationException),
        1336  +
    /* ServerOperationErrorGenerator.kt:66 */
  717   1337   
}
        1338  +
/* ServerOperationErrorGenerator.kt:75 */
  718   1339   
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthStringOperationError {
        1340  +
    /* ServerOperationErrorGenerator.kt:76 */
  719   1341   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1342  +
        /* ServerOperationErrorGenerator.kt:139 */
  720   1343   
        match &self {
  721         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
        1344  +
            /* ServerOperationErrorGenerator.kt:142 */
        1345  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) =>
        1346  +
            /* ServerOperationErrorGenerator.kt:78 */
        1347  +
            {
  722   1348   
                _inner.fmt(f)
  723   1349   
            }
        1350  +
            /* ServerOperationErrorGenerator.kt:139 */
  724   1351   
        }
        1352  +
        /* ServerOperationErrorGenerator.kt:76 */
  725   1353   
    }
        1354  +
    /* ServerOperationErrorGenerator.kt:75 */
  726   1355   
}
        1356  +
/* ServerOperationErrorGenerator.kt:83 */
  727   1357   
impl QueryParamsTargetingMapOfLengthStringOperationError {
        1358  +
    /* ServerOperationErrorGenerator.kt:87 */
  728   1359   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthStringOperationError::ValidationException`.
        1360  +
    /* ServerOperationErrorGenerator.kt:88 */
  729   1361   
    pub fn is_validation_exception(&self) -> bool {
        1362  +
        /* ServerOperationErrorGenerator.kt:89 */
  730   1363   
        matches!(
  731   1364   
            &self,
  732   1365   
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_)
  733   1366   
        )
        1367  +
        /* ServerOperationErrorGenerator.kt:88 */
  734   1368   
    }
        1369  +
    /* ServerOperationErrorGenerator.kt:92 */
  735   1370   
    /// Returns the error name string by matching the correct variant.
        1371  +
    /* ServerOperationErrorGenerator.kt:93 */
  736   1372   
    pub fn name(&self) -> &'static str {
        1373  +
        /* ServerOperationErrorGenerator.kt:139 */
  737   1374   
        match &self {
  738         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
        1375  +
            /* ServerOperationErrorGenerator.kt:142 */
        1376  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) =>
        1377  +
            /* ServerOperationErrorGenerator.kt:95 */
        1378  +
            {
  739   1379   
                _inner.name()
  740   1380   
            }
        1381  +
            /* ServerOperationErrorGenerator.kt:139 */
  741   1382   
        }
        1383  +
        /* ServerOperationErrorGenerator.kt:93 */
  742   1384   
    }
        1385  +
    /* ServerOperationErrorGenerator.kt:83 */
  743   1386   
}
        1387  +
/* ServerOperationErrorGenerator.kt:100 */
  744   1388   
impl ::std::error::Error for QueryParamsTargetingMapOfLengthStringOperationError {
        1389  +
    /* ServerOperationErrorGenerator.kt:101 */
  745   1390   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1391  +
        /* ServerOperationErrorGenerator.kt:139 */
  746   1392   
        match &self {
  747         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
        1393  +
            /* ServerOperationErrorGenerator.kt:142 */
        1394  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) =>
        1395  +
            /* ServerOperationErrorGenerator.kt:103 */
        1396  +
            {
  748   1397   
                Some(_inner)
  749   1398   
            }
        1399  +
            /* ServerOperationErrorGenerator.kt:139 */
  750   1400   
        }
        1401  +
        /* ServerOperationErrorGenerator.kt:101 */
  751   1402   
    }
        1403  +
    /* ServerOperationErrorGenerator.kt:100 */
  752   1404   
}
        1405  +
/* ServerOperationErrorGenerator.kt:110 */
  753   1406   
impl ::std::convert::From<crate::error::ValidationException>
  754   1407   
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
  755   1408   
{
        1409  +
    /* ServerOperationErrorGenerator.kt:111 */
  756   1410   
    fn from(
  757   1411   
        variant: crate::error::ValidationException,
  758   1412   
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
        1413  +
        /* ServerOperationErrorGenerator.kt:112 */
  759   1414   
        Self::ValidationException(variant)
        1415  +
        /* ServerOperationErrorGenerator.kt:111 */
  760   1416   
    }
        1417  +
    /* ServerOperationErrorGenerator.kt:110 */
  761   1418   
}
  762   1419   
        1420  +
/* ServerOperationErrorGenerator.kt:63 */
  763   1421   
/// Error type for the `QueryParamsTargetingLengthMapOperation` operation.
        1422  +
/* ServerOperationErrorGenerator.kt:64 */
  764   1423   
/// Each variant represents an error that can occur for the `QueryParamsTargetingLengthMapOperation` operation.
        1424  +
/* RustType.kt:516 */
  765   1425   
#[derive(::std::fmt::Debug)]
  766         -
pub enum QueryParamsTargetingLengthMapOperationError {
  767         -
    /// 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.
        1426  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingLengthMapOperationError {
        1427  +
    /// /* 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.
        1428  +
    /* ServerOperationErrorGenerator.kt:71 */
  768   1429   
    ValidationException(crate::error::ValidationException),
        1430  +
    /* ServerOperationErrorGenerator.kt:66 */
  769   1431   
}
        1432  +
/* ServerOperationErrorGenerator.kt:75 */
  770   1433   
impl ::std::fmt::Display for QueryParamsTargetingLengthMapOperationError {
        1434  +
    /* ServerOperationErrorGenerator.kt:76 */
  771   1435   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1436  +
        /* ServerOperationErrorGenerator.kt:139 */
  772   1437   
        match &self {
  773         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
        1438  +
            /* ServerOperationErrorGenerator.kt:142 */
        1439  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) =>
        1440  +
            /* ServerOperationErrorGenerator.kt:78 */
        1441  +
            {
  774   1442   
                _inner.fmt(f)
  775   1443   
            }
        1444  +
            /* ServerOperationErrorGenerator.kt:139 */
  776   1445   
        }
        1446  +
        /* ServerOperationErrorGenerator.kt:76 */
  777   1447   
    }
        1448  +
    /* ServerOperationErrorGenerator.kt:75 */
  778   1449   
}
        1450  +
/* ServerOperationErrorGenerator.kt:83 */
  779   1451   
impl QueryParamsTargetingLengthMapOperationError {
        1452  +
    /* ServerOperationErrorGenerator.kt:87 */
  780   1453   
    /// Returns `true` if the error kind is `QueryParamsTargetingLengthMapOperationError::ValidationException`.
        1454  +
    /* ServerOperationErrorGenerator.kt:88 */
  781   1455   
    pub fn is_validation_exception(&self) -> bool {
        1456  +
        /* ServerOperationErrorGenerator.kt:89 */
  782   1457   
        matches!(
  783   1458   
            &self,
  784   1459   
            QueryParamsTargetingLengthMapOperationError::ValidationException(_)
  785   1460   
        )
        1461  +
        /* ServerOperationErrorGenerator.kt:88 */
  786   1462   
    }
        1463  +
    /* ServerOperationErrorGenerator.kt:92 */
  787   1464   
    /// Returns the error name string by matching the correct variant.
        1465  +
    /* ServerOperationErrorGenerator.kt:93 */
  788   1466   
    pub fn name(&self) -> &'static str {
        1467  +
        /* ServerOperationErrorGenerator.kt:139 */
  789   1468   
        match &self {
  790         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
        1469  +
            /* ServerOperationErrorGenerator.kt:142 */
        1470  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) =>
        1471  +
            /* ServerOperationErrorGenerator.kt:95 */
        1472  +
            {
  791   1473   
                _inner.name()
  792   1474   
            }
        1475  +
            /* ServerOperationErrorGenerator.kt:139 */
  793   1476   
        }
        1477  +
        /* ServerOperationErrorGenerator.kt:93 */
  794   1478   
    }
        1479  +
    /* ServerOperationErrorGenerator.kt:83 */
  795   1480   
}
        1481  +
/* ServerOperationErrorGenerator.kt:100 */
  796   1482   
impl ::std::error::Error for QueryParamsTargetingLengthMapOperationError {
        1483  +
    /* ServerOperationErrorGenerator.kt:101 */
  797   1484   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1485  +
        /* ServerOperationErrorGenerator.kt:139 */
  798   1486   
        match &self {
  799         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
        1487  +
            /* ServerOperationErrorGenerator.kt:142 */
        1488  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) =>
        1489  +
            /* ServerOperationErrorGenerator.kt:103 */
        1490  +
            {
  800   1491   
                Some(_inner)
  801   1492   
            }
        1493  +
            /* ServerOperationErrorGenerator.kt:139 */
  802   1494   
        }
        1495  +
        /* ServerOperationErrorGenerator.kt:101 */
  803   1496   
    }
        1497  +
    /* ServerOperationErrorGenerator.kt:100 */
  804   1498   
}
        1499  +
/* ServerOperationErrorGenerator.kt:110 */
  805   1500   
impl ::std::convert::From<crate::error::ValidationException>
  806   1501   
    for crate::error::QueryParamsTargetingLengthMapOperationError
  807   1502   
{
        1503  +
    /* ServerOperationErrorGenerator.kt:111 */
  808   1504   
    fn from(
  809   1505   
        variant: crate::error::ValidationException,
  810   1506   
    ) -> crate::error::QueryParamsTargetingLengthMapOperationError {
        1507  +
        /* ServerOperationErrorGenerator.kt:112 */
  811   1508   
        Self::ValidationException(variant)
        1509  +
        /* ServerOperationErrorGenerator.kt:111 */
  812   1510   
    }
        1511  +
    /* ServerOperationErrorGenerator.kt:110 */
  813   1512   
}
  814   1513   
        1514  +
/* ServerOperationErrorGenerator.kt:63 */
  815   1515   
/// Error type for the `ConstrainedRecursiveShapesOperation` operation.
        1516  +
/* ServerOperationErrorGenerator.kt:64 */
  816   1517   
/// Each variant represents an error that can occur for the `ConstrainedRecursiveShapesOperation` operation.
        1518  +
/* RustType.kt:516 */
  817   1519   
#[derive(::std::fmt::Debug)]
  818         -
pub enum ConstrainedRecursiveShapesOperationError {
  819         -
    /// 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.
        1520  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedRecursiveShapesOperationError {
        1521  +
    /// /* 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.
        1522  +
    /* ServerOperationErrorGenerator.kt:71 */
  820   1523   
    ValidationException(crate::error::ValidationException),
        1524  +
    /* ServerOperationErrorGenerator.kt:66 */
  821   1525   
}
        1526  +
/* ServerOperationErrorGenerator.kt:75 */
  822   1527   
impl ::std::fmt::Display for ConstrainedRecursiveShapesOperationError {
        1528  +
    /* ServerOperationErrorGenerator.kt:76 */
  823   1529   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1530  +
        /* ServerOperationErrorGenerator.kt:139 */
  824   1531   
        match &self {
  825         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
        1532  +
            /* ServerOperationErrorGenerator.kt:142 */
        1533  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) =>
        1534  +
            /* ServerOperationErrorGenerator.kt:78 */
        1535  +
            {
        1536  +
                _inner.fmt(f)
        1537  +
            }
        1538  +
            /* ServerOperationErrorGenerator.kt:139 */
  826   1539   
        }
        1540  +
        /* ServerOperationErrorGenerator.kt:76 */
  827   1541   
    }
        1542  +
    /* ServerOperationErrorGenerator.kt:75 */
  828   1543   
}
        1544  +
/* ServerOperationErrorGenerator.kt:83 */
  829   1545   
impl ConstrainedRecursiveShapesOperationError {
        1546  +
    /* ServerOperationErrorGenerator.kt:87 */
  830   1547   
    /// Returns `true` if the error kind is `ConstrainedRecursiveShapesOperationError::ValidationException`.
        1548  +
    /* ServerOperationErrorGenerator.kt:88 */
  831   1549   
    pub fn is_validation_exception(&self) -> bool {
        1550  +
        /* ServerOperationErrorGenerator.kt:89 */
  832   1551   
        matches!(
  833   1552   
            &self,
  834   1553   
            ConstrainedRecursiveShapesOperationError::ValidationException(_)
  835   1554   
        )
        1555  +
        /* ServerOperationErrorGenerator.kt:88 */
  836   1556   
    }
        1557  +
    /* ServerOperationErrorGenerator.kt:92 */
  837   1558   
    /// Returns the error name string by matching the correct variant.
        1559  +
    /* ServerOperationErrorGenerator.kt:93 */
  838   1560   
    pub fn name(&self) -> &'static str {
        1561  +
        /* ServerOperationErrorGenerator.kt:139 */
  839   1562   
        match &self {
  840         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.name(),
        1563  +
            /* ServerOperationErrorGenerator.kt:142 */
        1564  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) =>
        1565  +
            /* ServerOperationErrorGenerator.kt:95 */
        1566  +
            {
        1567  +
                _inner.name()
  841   1568   
            }
        1569  +
            /* ServerOperationErrorGenerator.kt:139 */
  842   1570   
        }
        1571  +
        /* ServerOperationErrorGenerator.kt:93 */
        1572  +
    }
        1573  +
    /* ServerOperationErrorGenerator.kt:83 */
  843   1574   
}
        1575  +
/* ServerOperationErrorGenerator.kt:100 */
  844   1576   
impl ::std::error::Error for ConstrainedRecursiveShapesOperationError {
        1577  +
    /* ServerOperationErrorGenerator.kt:101 */
  845   1578   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1579  +
        /* ServerOperationErrorGenerator.kt:139 */
  846   1580   
        match &self {
  847         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => Some(_inner),
        1581  +
            /* ServerOperationErrorGenerator.kt:142 */
        1582  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) =>
        1583  +
            /* ServerOperationErrorGenerator.kt:103 */
        1584  +
            {
        1585  +
                Some(_inner)
  848   1586   
            }
        1587  +
            /* ServerOperationErrorGenerator.kt:139 */
  849   1588   
        }
        1589  +
        /* ServerOperationErrorGenerator.kt:101 */
        1590  +
    }
        1591  +
    /* ServerOperationErrorGenerator.kt:100 */
  850   1592   
}
        1593  +
/* ServerOperationErrorGenerator.kt:110 */
  851   1594   
impl ::std::convert::From<crate::error::ValidationException>
  852   1595   
    for crate::error::ConstrainedRecursiveShapesOperationError
  853   1596   
{
        1597  +
    /* ServerOperationErrorGenerator.kt:111 */
  854   1598   
    fn from(
  855   1599   
        variant: crate::error::ValidationException,
  856   1600   
    ) -> crate::error::ConstrainedRecursiveShapesOperationError {
        1601  +
        /* ServerOperationErrorGenerator.kt:112 */
  857   1602   
        Self::ValidationException(variant)
        1603  +
        /* ServerOperationErrorGenerator.kt:111 */
  858   1604   
    }
        1605  +
    /* ServerOperationErrorGenerator.kt:110 */
  859   1606   
}
  860   1607   
        1608  +
/* ServerOperationErrorGenerator.kt:63 */
  861   1609   
/// Error type for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
        1610  +
/* ServerOperationErrorGenerator.kt:64 */
  862   1611   
/// Each variant represents an error that can occur for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
        1612  +
/* RustType.kt:516 */
  863   1613   
#[derive(::std::fmt::Debug)]
  864         -
pub enum ConstrainedHttpPayloadBoundShapeOperationError {
  865         -
    /// 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.
        1614  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedHttpPayloadBoundShapeOperationError {
        1615  +
    /// /* 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.
        1616  +
    /* ServerOperationErrorGenerator.kt:71 */
  866   1617   
    ValidationException(crate::error::ValidationException),
        1618  +
    /* ServerOperationErrorGenerator.kt:66 */
  867   1619   
}
        1620  +
/* ServerOperationErrorGenerator.kt:75 */
  868   1621   
impl ::std::fmt::Display for ConstrainedHttpPayloadBoundShapeOperationError {
        1622  +
    /* ServerOperationErrorGenerator.kt:76 */
  869   1623   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1624  +
        /* ServerOperationErrorGenerator.kt:139 */
  870   1625   
        match &self {
  871         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
        1626  +
            /* ServerOperationErrorGenerator.kt:142 */
        1627  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) =>
        1628  +
            /* ServerOperationErrorGenerator.kt:78 */
        1629  +
            {
  872   1630   
                _inner.fmt(f)
  873   1631   
            }
        1632  +
            /* ServerOperationErrorGenerator.kt:139 */
  874   1633   
        }
        1634  +
        /* ServerOperationErrorGenerator.kt:76 */
  875   1635   
    }
        1636  +
    /* ServerOperationErrorGenerator.kt:75 */
  876   1637   
}
        1638  +
/* ServerOperationErrorGenerator.kt:83 */
  877   1639   
impl ConstrainedHttpPayloadBoundShapeOperationError {
        1640  +
    /* ServerOperationErrorGenerator.kt:87 */
  878   1641   
    /// Returns `true` if the error kind is `ConstrainedHttpPayloadBoundShapeOperationError::ValidationException`.
        1642  +
    /* ServerOperationErrorGenerator.kt:88 */
  879   1643   
    pub fn is_validation_exception(&self) -> bool {
        1644  +
        /* ServerOperationErrorGenerator.kt:89 */
  880   1645   
        matches!(
  881   1646   
            &self,
  882   1647   
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_)
  883   1648   
        )
        1649  +
        /* ServerOperationErrorGenerator.kt:88 */
  884   1650   
    }
        1651  +
    /* ServerOperationErrorGenerator.kt:92 */
  885   1652   
    /// Returns the error name string by matching the correct variant.
        1653  +
    /* ServerOperationErrorGenerator.kt:93 */
  886   1654   
    pub fn name(&self) -> &'static str {
        1655  +
        /* ServerOperationErrorGenerator.kt:139 */
  887   1656   
        match &self {
  888         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
        1657  +
            /* ServerOperationErrorGenerator.kt:142 */
        1658  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) =>
        1659  +
            /* ServerOperationErrorGenerator.kt:95 */
        1660  +
            {
  889   1661   
                _inner.name()
  890   1662   
            }
        1663  +
            /* ServerOperationErrorGenerator.kt:139 */
  891   1664   
        }
        1665  +
        /* ServerOperationErrorGenerator.kt:93 */
  892   1666   
    }
        1667  +
    /* ServerOperationErrorGenerator.kt:83 */
  893   1668   
}
        1669  +
/* ServerOperationErrorGenerator.kt:100 */
  894   1670   
impl ::std::error::Error for ConstrainedHttpPayloadBoundShapeOperationError {
        1671  +
    /* ServerOperationErrorGenerator.kt:101 */
  895   1672   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1673  +
        /* ServerOperationErrorGenerator.kt:139 */
  896   1674   
        match &self {
  897         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
        1675  +
            /* ServerOperationErrorGenerator.kt:142 */
        1676  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) =>
        1677  +
            /* ServerOperationErrorGenerator.kt:103 */
        1678  +
            {
  898   1679   
                Some(_inner)
  899   1680   
            }
        1681  +
            /* ServerOperationErrorGenerator.kt:139 */
  900   1682   
        }
        1683  +
        /* ServerOperationErrorGenerator.kt:101 */
  901   1684   
    }
        1685  +
    /* ServerOperationErrorGenerator.kt:100 */
  902   1686   
}
        1687  +
/* ServerOperationErrorGenerator.kt:110 */
  903   1688   
impl ::std::convert::From<crate::error::ValidationException>
  904   1689   
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
  905   1690   
{
        1691  +
    /* ServerOperationErrorGenerator.kt:111 */
  906   1692   
    fn from(
  907   1693   
        variant: crate::error::ValidationException,
  908   1694   
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
        1695  +
        /* ServerOperationErrorGenerator.kt:112 */
  909   1696   
        Self::ValidationException(variant)
        1697  +
        /* ServerOperationErrorGenerator.kt:111 */
  910   1698   
    }
        1699  +
    /* ServerOperationErrorGenerator.kt:110 */
  911   1700   
}
  912   1701   
        1702  +
/* ServerOperationErrorGenerator.kt:63 */
  913   1703   
/// Error type for the `ConstrainedHttpBoundShapesOperation` operation.
        1704  +
/* ServerOperationErrorGenerator.kt:64 */
  914   1705   
/// Each variant represents an error that can occur for the `ConstrainedHttpBoundShapesOperation` operation.
        1706  +
/* RustType.kt:516 */
  915   1707   
#[derive(::std::fmt::Debug)]
  916         -
pub enum ConstrainedHttpBoundShapesOperationError {
  917         -
    /// 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.
        1708  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedHttpBoundShapesOperationError {
        1709  +
    /// /* 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.
        1710  +
    /* ServerOperationErrorGenerator.kt:71 */
  918   1711   
    ValidationException(crate::error::ValidationException),
        1712  +
    /* ServerOperationErrorGenerator.kt:66 */
  919   1713   
}
        1714  +
/* ServerOperationErrorGenerator.kt:75 */
  920   1715   
impl ::std::fmt::Display for ConstrainedHttpBoundShapesOperationError {
        1716  +
    /* ServerOperationErrorGenerator.kt:76 */
  921   1717   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1718  +
        /* ServerOperationErrorGenerator.kt:139 */
  922   1719   
        match &self {
  923         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
        1720  +
            /* ServerOperationErrorGenerator.kt:142 */
        1721  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) =>
        1722  +
            /* ServerOperationErrorGenerator.kt:78 */
        1723  +
            {
        1724  +
                _inner.fmt(f)
        1725  +
            }
        1726  +
            /* ServerOperationErrorGenerator.kt:139 */
  924   1727   
        }
        1728  +
        /* ServerOperationErrorGenerator.kt:76 */
  925   1729   
    }
        1730  +
    /* ServerOperationErrorGenerator.kt:75 */
  926   1731   
}
        1732  +
/* ServerOperationErrorGenerator.kt:83 */
  927   1733   
impl ConstrainedHttpBoundShapesOperationError {
        1734  +
    /* ServerOperationErrorGenerator.kt:87 */
  928   1735   
    /// Returns `true` if the error kind is `ConstrainedHttpBoundShapesOperationError::ValidationException`.
        1736  +
    /* ServerOperationErrorGenerator.kt:88 */
  929   1737   
    pub fn is_validation_exception(&self) -> bool {
        1738  +
        /* ServerOperationErrorGenerator.kt:89 */
  930   1739   
        matches!(
  931   1740   
            &self,
  932   1741   
            ConstrainedHttpBoundShapesOperationError::ValidationException(_)
  933   1742   
        )
        1743  +
        /* ServerOperationErrorGenerator.kt:88 */
  934   1744   
    }
        1745  +
    /* ServerOperationErrorGenerator.kt:92 */
  935   1746   
    /// Returns the error name string by matching the correct variant.
        1747  +
    /* ServerOperationErrorGenerator.kt:93 */
  936   1748   
    pub fn name(&self) -> &'static str {
        1749  +
        /* ServerOperationErrorGenerator.kt:139 */
  937   1750   
        match &self {
  938         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.name(),
        1751  +
            /* ServerOperationErrorGenerator.kt:142 */
        1752  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) =>
        1753  +
            /* ServerOperationErrorGenerator.kt:95 */
        1754  +
            {
        1755  +
                _inner.name()
  939   1756   
            }
        1757  +
            /* ServerOperationErrorGenerator.kt:139 */
  940   1758   
        }
        1759  +
        /* ServerOperationErrorGenerator.kt:93 */
        1760  +
    }
        1761  +
    /* ServerOperationErrorGenerator.kt:83 */
  941   1762   
}
        1763  +
/* ServerOperationErrorGenerator.kt:100 */
  942   1764   
impl ::std::error::Error for ConstrainedHttpBoundShapesOperationError {
        1765  +
    /* ServerOperationErrorGenerator.kt:101 */
  943   1766   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1767  +
        /* ServerOperationErrorGenerator.kt:139 */
  944   1768   
        match &self {
  945         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => Some(_inner),
        1769  +
            /* ServerOperationErrorGenerator.kt:142 */
        1770  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) =>
        1771  +
            /* ServerOperationErrorGenerator.kt:103 */
        1772  +
            {
        1773  +
                Some(_inner)
        1774  +
            }
        1775  +
            /* ServerOperationErrorGenerator.kt:139 */
  946   1776   
        }
        1777  +
        /* ServerOperationErrorGenerator.kt:101 */
  947   1778   
    }
        1779  +
    /* ServerOperationErrorGenerator.kt:100 */
  948   1780   
}
        1781  +
/* ServerOperationErrorGenerator.kt:110 */
  949   1782   
impl ::std::convert::From<crate::error::ValidationException>
  950   1783   
    for crate::error::ConstrainedHttpBoundShapesOperationError
  951   1784   
{
        1785  +
    /* ServerOperationErrorGenerator.kt:111 */
  952   1786   
    fn from(
  953   1787   
        variant: crate::error::ValidationException,
  954   1788   
    ) -> crate::error::ConstrainedHttpBoundShapesOperationError {
        1789  +
        /* ServerOperationErrorGenerator.kt:112 */
  955   1790   
        Self::ValidationException(variant)
        1791  +
        /* ServerOperationErrorGenerator.kt:111 */
  956   1792   
    }
        1793  +
    /* ServerOperationErrorGenerator.kt:110 */
  957   1794   
}
  958   1795   
        1796  +
/* ServerOperationErrorGenerator.kt:63 */
  959   1797   
/// Error type for the `ConstrainedShapesOperation` operation.
        1798  +
/* ServerOperationErrorGenerator.kt:64 */
  960   1799   
/// Each variant represents an error that can occur for the `ConstrainedShapesOperation` operation.
        1800  +
/* RustType.kt:516 */
  961   1801   
#[derive(::std::fmt::Debug)]
  962         -
pub enum ConstrainedShapesOperationError {
  963         -
    /// 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.
        1802  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedShapesOperationError {
        1803  +
    /// /* 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.
        1804  +
    /* ServerOperationErrorGenerator.kt:71 */
  964   1805   
    ValidationException(crate::error::ValidationException),
        1806  +
    /* ServerOperationErrorGenerator.kt:66 */
  965   1807   
}
        1808  +
/* ServerOperationErrorGenerator.kt:75 */
  966   1809   
impl ::std::fmt::Display for ConstrainedShapesOperationError {
        1810  +
    /* ServerOperationErrorGenerator.kt:76 */
  967   1811   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1812  +
        /* ServerOperationErrorGenerator.kt:139 */
  968   1813   
        match &self {
  969         -
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
        1814  +
            /* ServerOperationErrorGenerator.kt:142 */
        1815  +
            ConstrainedShapesOperationError::ValidationException(_inner) =>
        1816  +
            /* ServerOperationErrorGenerator.kt:78 */
        1817  +
            {
        1818  +
                _inner.fmt(f)
        1819  +
            }
        1820  +
            /* ServerOperationErrorGenerator.kt:139 */
  970   1821   
        }
        1822  +
        /* ServerOperationErrorGenerator.kt:76 */
  971   1823   
    }
        1824  +
    /* ServerOperationErrorGenerator.kt:75 */
  972   1825   
}
        1826  +
/* ServerOperationErrorGenerator.kt:83 */
  973   1827   
impl ConstrainedShapesOperationError {
        1828  +
    /* ServerOperationErrorGenerator.kt:87 */
  974   1829   
    /// Returns `true` if the error kind is `ConstrainedShapesOperationError::ValidationException`.
        1830  +
    /* ServerOperationErrorGenerator.kt:88 */
  975   1831   
    pub fn is_validation_exception(&self) -> bool {
        1832  +
        /* ServerOperationErrorGenerator.kt:89 */
  976   1833   
        matches!(
  977   1834   
            &self,
  978   1835   
            ConstrainedShapesOperationError::ValidationException(_)
  979   1836   
        )
        1837  +
        /* ServerOperationErrorGenerator.kt:88 */
  980   1838   
    }
        1839  +
    /* ServerOperationErrorGenerator.kt:92 */
  981   1840   
    /// Returns the error name string by matching the correct variant.
        1841  +
    /* ServerOperationErrorGenerator.kt:93 */
  982   1842   
    pub fn name(&self) -> &'static str {
        1843  +
        /* ServerOperationErrorGenerator.kt:139 */
  983   1844   
        match &self {
  984         -
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.name(),
        1845  +
            /* ServerOperationErrorGenerator.kt:142 */
        1846  +
            ConstrainedShapesOperationError::ValidationException(_inner) =>
        1847  +
            /* ServerOperationErrorGenerator.kt:95 */
        1848  +
            {
        1849  +
                _inner.name()
  985   1850   
            }
        1851  +
            /* ServerOperationErrorGenerator.kt:139 */
  986   1852   
        }
        1853  +
        /* ServerOperationErrorGenerator.kt:93 */
        1854  +
    }
        1855  +
    /* ServerOperationErrorGenerator.kt:83 */
  987   1856   
}
        1857  +
/* ServerOperationErrorGenerator.kt:100 */
  988   1858   
impl ::std::error::Error for ConstrainedShapesOperationError {
        1859  +
    /* ServerOperationErrorGenerator.kt:101 */
  989   1860   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1861  +
        /* ServerOperationErrorGenerator.kt:139 */
  990   1862   
        match &self {
  991         -
            ConstrainedShapesOperationError::ValidationException(_inner) => Some(_inner),
        1863  +
            /* ServerOperationErrorGenerator.kt:142 */
        1864  +
            ConstrainedShapesOperationError::ValidationException(_inner) =>
        1865  +
            /* ServerOperationErrorGenerator.kt:103 */
        1866  +
            {
        1867  +
                Some(_inner)
        1868  +
            }
        1869  +
            /* ServerOperationErrorGenerator.kt:139 */
  992   1870   
        }
        1871  +
        /* ServerOperationErrorGenerator.kt:101 */
  993   1872   
    }
        1873  +
    /* ServerOperationErrorGenerator.kt:100 */
  994   1874   
}
        1875  +
/* ServerOperationErrorGenerator.kt:110 */
  995   1876   
impl ::std::convert::From<crate::error::ValidationException>
  996   1877   
    for crate::error::ConstrainedShapesOperationError
  997   1878   
{
        1879  +
    /* ServerOperationErrorGenerator.kt:111 */
  998   1880   
    fn from(
  999   1881   
        variant: crate::error::ValidationException,
 1000   1882   
    ) -> crate::error::ConstrainedShapesOperationError {
        1883  +
        /* ServerOperationErrorGenerator.kt:112 */
 1001   1884   
        Self::ValidationException(variant)
        1885  +
        /* ServerOperationErrorGenerator.kt:111 */
 1002   1886   
    }
        1887  +
    /* ServerOperationErrorGenerator.kt:110 */
 1003   1888   
}
 1004         -
/// See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1889  +
/// /* ServerBuilderGenerator.kt:171 */See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
 1005   1890   
pub(crate) mod event_stream_error_message_internal {
 1006   1891   
        1892  +
    /* ServerBuilderGenerator.kt:461 */
 1007   1893   
    impl ::std::convert::From<Builder> for crate::error::EventStreamErrorMessage {
 1008   1894   
        fn from(builder: Builder) -> Self {
 1009   1895   
            builder.build()
 1010   1896   
        }
 1011   1897   
    }
 1012         -
    /// A builder for [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1898  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1899  +
    /* RustType.kt:516 */
 1013   1900   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        1901  +
    /* ServerBuilderGenerator.kt:211 */
 1014   1902   
    pub(crate) struct Builder {
        1903  +
        /* ServerBuilderGenerator.kt:308 */
 1015   1904   
        pub(crate) message_content: ::std::option::Option<::std::string::String>,
        1905  +
        /* ServerBuilderGenerator.kt:211 */
 1016   1906   
    }
        1907  +
    /* ServerBuilderGenerator.kt:215 */
 1017   1908   
    impl Builder {
        1909  +
        /* ServerBuilderGenerator.kt:426 */
 1018   1910   
        #[allow(missing_docs)] // documentation missing in model
        1911  +
                               /* ServerBuilderGenerator.kt:428 */
 1019   1912   
        pub(crate) fn set_message_content(
 1020   1913   
            mut self,
 1021   1914   
            input: Option<impl ::std::convert::Into<::std::string::String>>,
 1022   1915   
        ) -> Self {
        1916  +
            /* ServerBuilderGenerator.kt:429 */
 1023   1917   
            self.message_content = input.map(|v| v.into());
 1024   1918   
            self
        1919  +
            /* ServerBuilderGenerator.kt:428 */
 1025   1920   
        }
 1026         -
        /// Consumes the builder and constructs a [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1921  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1922  +
        /* ServerBuilderGenerator.kt:271 */
 1027   1923   
        pub fn build(self) -> crate::error::EventStreamErrorMessage {
 1028   1924   
            self.build_enforcing_all_constraints()
 1029   1925   
        }
        1926  +
        /* ServerBuilderGenerator.kt:283 */
 1030   1927   
        fn build_enforcing_all_constraints(self) -> crate::error::EventStreamErrorMessage {
        1928  +
            /* ServerBuilderGenerator.kt:542 */
 1031   1929   
            crate::error::EventStreamErrorMessage {
        1930  +
                /* ServerBuilderGenerator.kt:546 */
 1032   1931   
                message_content: self.message_content,
        1932  +
                /* ServerBuilderGenerator.kt:542 */
 1033   1933   
            }
        1934  +
            /* ServerBuilderGenerator.kt:283 */
 1034   1935   
        }
        1936  +
        /* ServerBuilderGenerator.kt:215 */
 1035   1937   
    }
        1938  +
        1939  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 1036   1940   
}
 1037         -
/// See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1941  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
 1038   1942   
pub mod event_stream_error_message {
 1039   1943   
        1944  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
 1040   1945   
    impl ::std::convert::From<Builder> for crate::error::EventStreamErrorMessage {
 1041   1946   
        fn from(builder: Builder) -> Self {
 1042   1947   
            builder.build()
 1043   1948   
        }
 1044   1949   
    }
 1045         -
    /// A builder for [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1950  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1951  +
    /* RustType.kt:516 */
 1046   1952   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        1953  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 1047   1954   
    pub struct Builder {
        1955  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 1048   1956   
        pub(crate) message_content: ::std::option::Option<::std::string::String>,
        1957  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 1049   1958   
    }
        1959  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 1050   1960   
    impl Builder {
        1961  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
 1051   1962   
        #[allow(missing_docs)] // documentation missing in model
        1963  +
                               /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 1052   1964   
        pub fn message_content(
 1053   1965   
            mut self,
 1054   1966   
            input: ::std::option::Option<::std::string::String>,
 1055   1967   
        ) -> Self {
 1056         -
            self.message_content = input;
        1968  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
        1969  +
            self.message_content =
        1970  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
        1971  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 1057   1972   
            self
        1973  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 1058   1974   
        }
 1059         -
        /// Consumes the builder and constructs a [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1975  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1976  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 1060   1977   
        pub fn build(self) -> crate::error::EventStreamErrorMessage {
 1061   1978   
            self.build_enforcing_required_and_enum_traits()
 1062   1979   
        }
        1980  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 1063   1981   
        fn build_enforcing_required_and_enum_traits(self) -> crate::error::EventStreamErrorMessage {
        1982  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
 1064   1983   
            crate::error::EventStreamErrorMessage {
        1984  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
 1065   1985   
                message_content: self.message_content,
        1986  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
 1066   1987   
            }
        1988  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 1067   1989   
        }
        1990  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 1068   1991   
    }
        1992  +
        1993  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 1069   1994   
}
 1070         -
/// See [`ValidationException`](crate::error::ValidationException).
        1995  +
/// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`ValidationException`](crate::error::ValidationException).
 1071   1996   
pub mod validation_exception {
 1072   1997   
        1998  +
    /* RustType.kt:516 */
 1073   1999   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1074         -
    /// Holds one variant for each of the ways the builder can fail.
 1075         -
        2000  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        2001  +
    /* ServerBuilderConstraintViolations.kt:75 */
 1076   2002   
    #[allow(clippy::enum_variant_names)]
 1077   2003   
    pub enum ConstraintViolation {
 1078         -
        /// `message` was not provided but it is required when building `ValidationException`.
        2004  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`message` was not provided but it is required when building `ValidationException`.
        2005  +
        /* ServerBuilderConstraintViolations.kt:143 */
 1079   2006   
        MissingMessage,
        2007  +
        /* ServerBuilderConstraintViolations.kt:75 */
 1080   2008   
    }
        2009  +
    /* ServerBuilderConstraintViolations.kt:117 */
 1081   2010   
    impl ::std::fmt::Display for ConstraintViolation {
        2011  +
        /* ServerBuilderConstraintViolations.kt:118 */
 1082   2012   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2013  +
            /* ServerBuilderConstraintViolations.kt:119 */
 1083   2014   
            match self {
 1084         -
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
 1085         -
            }
        2015  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
        2016  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        2017  +
            /* ServerBuilderConstraintViolations.kt:118 */
 1086   2018   
        }
        2019  +
        /* ServerBuilderConstraintViolations.kt:117 */
 1087   2020   
    }
        2021  +
    /* ServerBuilderConstraintViolations.kt:84 */
 1088   2022   
    impl ::std::error::Error for ConstraintViolation {}
        2023  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:254 */
 1089   2024   
    impl ::std::convert::TryFrom<Builder> for crate::error::ValidationException {
 1090   2025   
        type Error = ConstraintViolation;
 1091   2026   
 1092   2027   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1093   2028   
            builder.build()
 1094   2029   
        }
 1095   2030   
    }
 1096         -
    /// A builder for [`ValidationException`](crate::error::ValidationException).
        2031  +
    /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`ValidationException`](crate::error::ValidationException).
        2032  +
    /* RustType.kt:516 */
 1097   2033   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        2034  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 1098   2035   
    pub struct Builder {
        2036  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 1099   2037   
        pub(crate) message: ::std::option::Option<::std::string::String>,
        2038  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
 1100   2039   
        pub(crate) field_list:
 1101   2040   
            ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
        2041  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
 1102   2042   
    }
        2043  +
    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 1103   2044   
    impl Builder {
 1104         -
        /// A summary of the validation failure.
        2045  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */A summary of the validation failure.
        2046  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 1105   2047   
        pub fn message(mut self, input: ::std::string::String) -> Self {
 1106         -
            self.message = Some(input);
        2048  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
        2049  +
            self.message =
        2050  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
        2051  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
        2052  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
        2053  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 1107   2054   
            self
        2055  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 1108   2056   
        }
 1109         -
        /// 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.
        2057  +
        /// /* 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.
        2058  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 1110   2059   
        pub fn field_list(
 1111   2060   
            mut self,
 1112   2061   
            input: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
 1113   2062   
        ) -> Self {
 1114         -
            self.field_list = input;
        2063  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
        2064  +
            self.field_list =
        2065  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
        2066  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
 1115   2067   
            self
        2068  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
 1116   2069   
        }
 1117         -
        /// Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
 1118         -
        ///
        2070  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
        2071  +
        /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:152 */
 1119   2072   
        /// The builder fails to construct a [`ValidationException`](crate::error::ValidationException) if you do not provide a value for all non-`Option`al members.
 1120   2073   
        ///
        2074  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
 1121   2075   
        pub fn build(self) -> Result<crate::error::ValidationException, ConstraintViolation> {
 1122   2076   
            self.build_enforcing_required_and_enum_traits()
 1123   2077   
        }
        2078  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 1124   2079   
        fn build_enforcing_required_and_enum_traits(
 1125   2080   
            self,
 1126   2081   
        ) -> Result<crate::error::ValidationException, ConstraintViolation> {
 1127         -
            Ok(crate::error::ValidationException {
 1128         -
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
        2082  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
        2083  +
            Ok(
        2084  +
                /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
        2085  +
                crate::error::ValidationException {
        2086  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
        2087  +
                    message: self
        2088  +
                        .message
        2089  +
                        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:202 */
        2090  +
                        .ok_or(ConstraintViolation::MissingMessage)?,
        2091  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
 1129   2092   
                    field_list: self.field_list,
 1130         -
            })
        2093  +
                    /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
        2094  +
                }, /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:175 */
        2095  +
            )
        2096  +
            /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
 1131   2097   
        }
        2098  +
        /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
 1132   2099   
    }
        2100  +
        2101  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 1133   2102   
}