Package com.io7m.cardant.protocol.inventory.cb

# Interface CAI1MetadataNameMatch

All Superinterfaces:
  `com.io7m.cedarbridge.runtime.api.CBSerializableType`

All Known Implementing Classes:
  `CAI1MetadataNameMatch.Anything`, `CAI1MetadataNameMatch.Exact`, `CAI1MetadataNameMatch.Search`

public sealed interface CAI1MetadataNameMatch extends com.io7m.cedarbridge.runtime.api.CBSerializableType permits CAI1MetadataNameMatch.Anything, CAI1MetadataNameMatch.Exact, CAI1MetadataNameMatch.Search
An expression against which item metadata names are matched.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static final record`
  `CAI1MetadataNameMatch.Anything`
  `static final record`
  `CAI1MetadataNameMatch.Exact`
  `static final record`
  `CAI1MetadataNameMatch.Search`

- ## Method Summary

  Static Methods
  Modifier and Type
  Method
  Description
  `static CAI1MetadataNameMatch`
  `deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context)`
  Deserialize a value of type CAI1MetadataNameMatch.
  `static void`
  `serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1MetadataNameMatch $x)`
  Serialize a value of type CAI1MetadataNameMatch.

- ## Method Details

  - ### serialize

    static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1MetadataNameMatch $x) throws IOException
    Serialize a value of type CAI1MetadataNameMatch.
    Parameters:
      `$context` - The serialization context.
      `$x` - The value to be serialized.
    Throws:
      `IOException`

  - ### deserialize

    static CAI1MetadataNameMatch deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException
    Deserialize a value of type CAI1MetadataNameMatch.
    Parameters:
      `$context` - The serialization context.
    Returns:
      A value of type CAI1MetadataNameMatch.
    Throws:
      `IOException`