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

# Interface CAI1NameMatch

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

All Known Implementing Classes:
  `CAI1NameMatch.CAI1NameMatchAny`, `CAI1NameMatch.CAI1NameMatchExact`, `CAI1NameMatch.CAI1NameMatchSearch`

public sealed interface CAI1NameMatch extends com.io7m.cedarbridge.runtime.api.CBSerializableType permits CAI1NameMatch.CAI1NameMatchAny, CAI1NameMatch.CAI1NameMatchExact, CAI1NameMatch.CAI1NameMatchSearch
An expression against which item names are matched.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static final record`
  `CAI1NameMatch.CAI1NameMatchAny`
  `static final record`
  `CAI1NameMatch.CAI1NameMatchExact`
  `static final record`
  `CAI1NameMatch.CAI1NameMatchSearch`

- ## Method Summary

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

- ## Method Details

  - ### serialize

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

  - ### deserialize

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