Record Class TaskClientOwner
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.TaskClientOwner
@Generated("copilot-sdk-codegen")
public record TaskClientOwner(String participantId, String joinId, TaskClientOwnerKind kind, String displayName, String source, TaskClientOwnerPresence presence, OffsetDateTime disconnectedAt)
extends Record
Public owner attribution for a client-owned task. Identifiers are opaque and never authorize requests.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionTaskClientOwner(String participantId, String joinId, TaskClientOwnerKind kind, String displayName, String source, TaskClientOwnerPresence presence, OffsetDateTime disconnectedAt) Creates an instance of aTaskClientOwnerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisconnectedAtrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.joinId()Returns the value of thejoinIdrecord component.kind()Returns the value of thekindrecord component.Returns the value of theparticipantIdrecord component.presence()Returns the value of thepresencerecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TaskClientOwner
public TaskClientOwner(String participantId, String joinId, TaskClientOwnerKind kind, String displayName, String source, TaskClientOwnerPresence presence, OffsetDateTime disconnectedAt) Creates an instance of aTaskClientOwnerrecord class.- Parameters:
participantId- the value for theparticipantIdrecord componentjoinId- the value for thejoinIdrecord componentkind- the value for thekindrecord componentdisplayName- the value for thedisplayNamerecord componentsource- the value for thesourcerecord componentpresence- the value for thepresencerecord componentdisconnectedAt- the value for thedisconnectedAtrecord 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). -
participantId
Returns the value of theparticipantIdrecord component.- Returns:
- the value of the
participantIdrecord component
-
joinId
Returns the value of thejoinIdrecord component.- Returns:
- the value of the
joinIdrecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
presence
Returns the value of thepresencerecord component.- Returns:
- the value of the
presencerecord component
-
disconnectedAt
Returns the value of thedisconnectedAtrecord component.- Returns:
- the value of the
disconnectedAtrecord component
-