# evolution pydantic_v2.BaseModel
  > GET https://evolution.example.com/orders/1?view=brief
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order = Order(id=1, status=<Status.open: 'open'>, note='n', channel=<Channel.web: 'web'>, payment=Card(kind='card', last4='1234'))
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order without its optional members = Order(id=1, status=<Status.closed: 'closed'>, note=None, channel=None, payment=None)
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order with a member added since = Order(id=1, status=<Status.open: 'open'>, note=None, channel=None, payment=None)
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a status added since ! DecodeError: DecodeError(status_code=200, operation_id='getOrder', reason='invalid_value') [operation_id='getOrder', body_bytes=b'{"id":1,"status":"archived"}', truncated=False, cause=1 validation error for Order
status
  Input should be 'open' or 'closed' [type=enum, input_value='archived', input_type=str]
    For further information visit https://errors.pydantic.dev/<version>/v/enum] invalid_value
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a payment kind added since ! DecodeError: DecodeError(status_code=200, operation_id='getOrder', reason='invalid_value') [operation_id='getOrder', body_bytes=b'{"id":1,"status":"open","payment":{"kind":"crypto"}}', truncated=False, cause=1 validation error for Order
payment
  Input tag 'crypto' found using 'kind' does not match any of the expected tags: 'card', 'transfer' [type=union_tag_invalid, input_value={'kind': 'crypto'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/<version>/v/union_tag_invalid] invalid_value
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a card with a transfer's members ! DecodeError: DecodeError(status_code=200, operation_id='getOrder', reason='invalid_value') [operation_id='getOrder', body_bytes=b'{"id":1,"status":"open","payment":{"kind":"card","iban":"X"}}', truncated=False, cause=1 validation error for Order
payment.card.last4
  Field required [type=missing, input_value={'kind': 'card', 'iban': 'X'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/<version>/v/missing] invalid_value
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a status that changed its type ! DecodeError: DecodeError(status_code=200, operation_id='getOrder', reason='invalid_value') [operation_id='getOrder', body_bytes=b'{"id":1,"status":3}', truncated=False, cause=1 validation error for Order
status
  Input should be 'open' or 'closed' [type=enum, input_value=3, input_type=int]
    For further information visit https://errors.pydantic.dev/<version>/v/enum] invalid_value
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a status added since, read raw = {'id': 1, 'status': 'archived'}
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  problem ! ConflictError: Error code: 409 - {"code":7} [operation_id='getOrder', status_code=409, body=Problem(code=7), body_bytes=b'{"code":7}', truncated=False]
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  problem that changed its shape ! ConflictError: Error code: 409 - {"message":"gone"} [operation_id='getOrder', status_code=409, body=b'{"message":"gone"}', body_bytes=b'{"message":"gone"}', truncated=False, cause=1 validation error for Problem
code
  Field required [type=missing, input_value={'message': 'gone'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/<version>/v/missing]
# evolution pydantic_v2.dataclass
  > GET https://evolution.example.com/orders/1?view=brief
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order = Order(id=1, status=<Status.open: 'open'>, note='n', channel=<Channel.web: 'web'>, payment=Card(kind='card', last4='1234'))
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order without its optional members = Order(id=1, status=<Status.closed: 'closed'>, note=MISSING, channel=MISSING, payment=MISSING)
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order with a member added since = Order(id=1, status=<Status.open: 'open'>, note=MISSING, channel=MISSING, payment=MISSING)
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a status added since ! DecodeError: DecodeError(status_code=200, operation_id='getOrder', reason='invalid_value') [operation_id='getOrder', body_bytes=b'{"id":1,"status":"archived"}', truncated=False, cause=1 validation error for Order
status
  Input should be 'open' or 'closed' [type=enum, input_value='archived', input_type=str]
    For further information visit https://errors.pydantic.dev/<version>/v/enum] invalid_value
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a payment kind added since ! DecodeError: DecodeError(status_code=200, operation_id='getOrder', reason='invalid_value') [operation_id='getOrder', body_bytes=b'{"id":1,"status":"open","payment":{"kind":"crypto"}}', truncated=False, cause=1 validation error for Order
payment
  Input tag 'crypto' found using 'kind' does not match any of the expected tags: 'card', 'transfer' [type=union_tag_invalid, input_value={'kind': 'crypto'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/<version>/v/union_tag_invalid] invalid_value
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a card with a transfer's members ! DecodeError: DecodeError(status_code=200, operation_id='getOrder', reason='invalid_value') [operation_id='getOrder', body_bytes=b'{"id":1,"status":"open","payment":{"kind":"card","iban":"X"}}', truncated=False, cause=1 validation error for Order
payment.card.last4
  Field required [type=missing, input_value={'kind': 'card', 'iban': 'X'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/<version>/v/missing] invalid_value
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a status that changed its type ! DecodeError: DecodeError(status_code=200, operation_id='getOrder', reason='invalid_value') [operation_id='getOrder', body_bytes=b'{"id":1,"status":3}', truncated=False, cause=1 validation error for Order
status
  Input should be 'open' or 'closed' [type=enum, input_value=3, input_type=int]
    For further information visit https://errors.pydantic.dev/<version>/v/enum] invalid_value
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a status added since, read raw = {'id': 1, 'status': 'archived'}
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  problem ! ConflictError: Error code: 409 - {"code":7} [operation_id='getOrder', status_code=409, body=Problem(code=7), body_bytes=b'{"code":7}', truncated=False]
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  problem that changed its shape ! ConflictError: Error code: 409 - {"message":"gone"} [operation_id='getOrder', status_code=409, body=b'{"message":"gone"}', body_bytes=b'{"message":"gone"}', truncated=False, cause=1 validation error for Problem
code
  Field required [type=missing, input_value={'message': 'gone'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/<version>/v/missing]
# evolution msgspec.Struct
  > GET https://evolution.example.com/orders/1?view=brief
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order = Order(id=1, status=<Status.open: 'open'>, note='n', channel=<Channel.web: 'web'>, payment=Card(last4='1234'))
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order without its optional members = Order(id=1, status=<Status.closed: 'closed'>, note=UNSET, channel=UNSET, payment=UNSET)
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order with a member added since = Order(id=1, status=<Status.open: 'open'>, note=UNSET, channel=UNSET, payment=UNSET)
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a status added since ! DecodeError: DecodeError(status_code=200, operation_id='getOrder', reason='invalid_value') [operation_id='getOrder', body_bytes=b'{"id":1,"status":"archived"}', truncated=False, cause=ValidationError("Invalid enum value 'archived' - at `$.status`")] invalid_value
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a payment kind added since ! DecodeError: DecodeError(status_code=200, operation_id='getOrder', reason='invalid_value') [operation_id='getOrder', body_bytes=b'{"id":1,"status":"open","payment":{"kind":"crypto"}}', truncated=False, cause=ValidationError("Invalid value 'crypto' - at `$.payment.kind`")] invalid_value
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a card with a transfer's members ! DecodeError: DecodeError(status_code=200, operation_id='getOrder', reason='invalid_value') [operation_id='getOrder', body_bytes=b'{"id":1,"status":"open","payment":{"kind":"card","iban":"X"}}', truncated=False, cause=ValidationError('Object missing required field `last4` - at `$.payment`')] invalid_value
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a status that changed its type ! DecodeError: DecodeError(status_code=200, operation_id='getOrder', reason='invalid_value') [operation_id='getOrder', body_bytes=b'{"id":1,"status":3}', truncated=False, cause=ValidationError('Expected `str`, got `int` - at `$.status`')] invalid_value
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  order of a status added since, read raw = {'id': 1, 'status': 'archived'}
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  problem ! ConflictError: Error code: 409 - {"code":7} [operation_id='getOrder', status_code=409, body=Problem(code=7), body_bytes=b'{"code":7}', truncated=False]
  > GET https://evolution.example.com/orders/1
    [host: evolution.example.com, accept-encoding: gzip, deflate, accept: application/json] b''
  problem that changed its shape ! ConflictError: Error code: 409 - {"message":"gone"} [operation_id='getOrder', status_code=409, body=b'{"message":"gone"}', body_bytes=b'{"message":"gone"}', truncated=False, cause=ValidationError('Object missing required field `code`')]
