Record Class CAICommandLocationMetadataRemove
java.lang.Object
java.lang.Record
com.io7m.cardant.protocol.inventory.CAICommandLocationMetadataRemove
- Record Components:
location- The location IDmetadataNames- The metadata names
- All Implemented Interfaces:
CAProtocolMessageType, CAICommandType<CAIResponseLocationMetadataRemove>, CAIMessageType, com.io7m.hibiscus.api.HBMessageType
public record CAICommandLocationMetadataRemove(CALocationID location, Set<CATypeRecordFieldIdentifier> metadataNames)
extends Record
implements CAICommandType<CAIResponseLocationMetadataRemove>
Remove metadata values from a location.
-
Constructor Summary
ConstructorsConstructorDescriptionCAICommandLocationMetadataRemove(CALocationID location, Set<CATypeRecordFieldIdentifier> metadataNames) Remove metadata values from a location. -
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.location()Returns the value of thelocationrecord component.Returns the value of themetadataNamesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CAICommandLocationMetadataRemove
public CAICommandLocationMetadataRemove(CALocationID location, Set<CATypeRecordFieldIdentifier> metadataNames) Remove metadata values from a location.
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceCAICommandType<CAIResponseLocationMetadataRemove>- 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). -
location
-
metadataNames
Returns the value of themetadataNamesrecord component.- Returns:
- the value of the
metadataNamesrecord component
-