Record Class SessionMetadataGetContextAttributionResult.SessionMetadataGetContextAttributionResultContextAttribution.SessionMetadataGetContextAttributionResultContextAttributionEntriesItem
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionMetadataGetContextAttributionResult.SessionMetadataGetContextAttributionResultContextAttribution.SessionMetadataGetContextAttributionResultContextAttributionEntriesItem
- Enclosing class:
SessionMetadataGetContextAttributionResult.SessionMetadataGetContextAttributionResultContextAttribution
public static record SessionMetadataGetContextAttributionResult.SessionMetadataGetContextAttributionResultContextAttribution.SessionMetadataGetContextAttributionResultContextAttributionEntriesItem(String kind, String id, String label, Long tokens, String parentId, Map<String,String> attributes)
extends Record
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionMetadataGetContextAttributionResultContextAttributionEntriesItem(String kind, String id, String label, Long tokens, String parentId, Map<String, String> attributes) Creates an instance of aSessionMetadataGetContextAttributionResultContextAttributionEntriesItemrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattributesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.kind()Returns the value of thekindrecord component.label()Returns the value of thelabelrecord component.parentId()Returns the value of theparentIdrecord component.tokens()Returns the value of thetokensrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionMetadataGetContextAttributionResultContextAttributionEntriesItem
public SessionMetadataGetContextAttributionResultContextAttributionEntriesItem(String kind, String id, String label, Long tokens, String parentId, Map<String, String> attributes) Creates an instance of aSessionMetadataGetContextAttributionResultContextAttributionEntriesItemrecord class.- Parameters:
kind- the value for thekindrecord componentid- the value for theidrecord componentlabel- the value for thelabelrecord componenttokens- the value for thetokensrecord componentparentId- the value for theparentIdrecord componentattributes- the value for theattributesrecord 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). -
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
tokens
Returns the value of thetokensrecord component.- Returns:
- the value of the
tokensrecord component
-
parentId
Returns the value of theparentIdrecord component.- Returns:
- the value of the
parentIdrecord component
-
attributes
-