Record Class CAICommandItemMetadataRemove
java.lang.Object
java.lang.Record
com.io7m.cardant.protocol.inventory.CAICommandItemMetadataRemove
- Record Components:
item- The item IDmetadataNames- The metadata names
- All Implemented Interfaces:
CAProtocolMessageType, CAICommandType<CAIResponseItemMetadataRemove>, CAIMessageType, com.io7m.hibiscus.api.HBMessageType
public record CAICommandItemMetadataRemove(CAItemID item, Set<CATypeRecordFieldIdentifier> metadataNames)
extends Record
implements CAICommandType<CAIResponseItemMetadataRemove>
Remove metadata values from an item.
-
Constructor Summary
ConstructorsConstructorDescriptionCAICommandItemMetadataRemove(CAItemID item, Set<CATypeRecordFieldIdentifier> metadataNames) Remove metadata values from an item. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.item()Returns the value of theitemrecord component.Returns the value of themetadataNamesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CAICommandItemMetadataRemove
Remove metadata values from an item.
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceCAICommandType<CAIResponseItemMetadataRemove>- Returns:
- The response class associated with this command (excluding the error response)
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
item
-
metadataNames
Returns the value of themetadataNamesrecord component.- Returns:
- the value of the
metadataNamesrecord component
-