Record Class SessionMetadataUpdateClientMetadataParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionMetadataUpdateClientMetadataParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionMetadataUpdateClientMetadataParams(String sessionId, Boolean clear, List<String> remove, Map<String,String> set)
extends Record
Atomic patch for client-owned session metadata. Operations apply in clear, remove, then set order. The resulting bag must satisfy the ClientMetadata entry and serialized-size limits. Local storage coordinates concurrent runtime processes; custom SessionFs providers must serialize writers that access the same session from multiple processes.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclear()Returns the value of theclearrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.remove()Returns the value of theremoverecord component.Returns the value of thesessionIdrecord component.set()Returns the value of thesetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionMetadataUpdateClientMetadataParams
public SessionMetadataUpdateClientMetadataParams(String sessionId, Boolean clear, List<String> remove, Map<String, String> set) Creates an instance of aSessionMetadataUpdateClientMetadataParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentclear- the value for theclearrecord componentremove- the value for theremoverecord componentset- the value for thesetrecord component
-
-
Method Details
-
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). -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
clear
Returns the value of theclearrecord component.- Returns:
- the value of the
clearrecord component
-
remove
-
set
-