Module com.github.copilot.sdk.java
Record Class SessionWorkspacesGetWorkspaceResult.SessionWorkspacesGetWorkspaceResultWorkspace
java.lang.Object
java.lang.Record
com.github.copilot.sdk.generated.rpc.SessionWorkspacesGetWorkspaceResult.SessionWorkspacesGetWorkspaceResultWorkspace
- Enclosing class:
- SessionWorkspacesGetWorkspaceResult
public static record SessionWorkspacesGetWorkspaceResult.SessionWorkspacesGetWorkspaceResultWorkspace(UUID id, String cwd, String gitRoot, String repository, SessionWorkspacesGetWorkspaceResult.SessionWorkspacesGetWorkspaceResultWorkspace.SessionWorkspacesGetWorkspaceResultWorkspaceHostType hostType, String branch, String summary, String name, Long summaryCount, OffsetDateTime createdAt, OffsetDateTime updatedAt, Boolean remoteSteerable, String mcTaskId, String mcSessionId, String mcLastEventId, SessionWorkspacesGetWorkspaceResult.SessionWorkspacesGetWorkspaceResultWorkspace.SessionWorkspacesGetWorkspaceResultWorkspaceSessionSyncLevel sessionSyncLevel, Boolean chronicleSyncDismissed)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionSessionWorkspacesGetWorkspaceResultWorkspace(UUID id, String cwd, String gitRoot, String repository, SessionWorkspacesGetWorkspaceResult.SessionWorkspacesGetWorkspaceResultWorkspace.SessionWorkspacesGetWorkspaceResultWorkspaceHostType hostType, String branch, String summary, String name, Long summaryCount, OffsetDateTime createdAt, OffsetDateTime updatedAt, Boolean remoteSteerable, String mcTaskId, String mcSessionId, String mcLastEventId, SessionWorkspacesGetWorkspaceResult.SessionWorkspacesGetWorkspaceResultWorkspace.SessionWorkspacesGetWorkspaceResultWorkspaceSessionSyncLevel sessionSyncLevel, Boolean chronicleSyncDismissed) Creates an instance of aSessionWorkspacesGetWorkspaceResultWorkspacerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbranch()Returns the value of thebranchrecord component.Returns the value of thechronicleSyncDismissedrecord component.Returns the value of thecreatedAtrecord component.cwd()Returns the value of thecwdrecord component.final booleanIndicates whether some other object is "equal to" this one.gitRoot()Returns the value of thegitRootrecord component.final inthashCode()Returns a hash code value for this object.hostType()Returns the value of thehostTyperecord component.id()Returns the value of theidrecord component.Returns the value of themcLastEventIdrecord component.Returns the value of themcSessionIdrecord component.mcTaskId()Returns the value of themcTaskIdrecord component.name()Returns the value of thenamerecord component.Returns the value of theremoteSteerablerecord component.Returns the value of therepositoryrecord component.Returns the value of thesessionSyncLevelrecord component.summary()Returns the value of thesummaryrecord component.Returns the value of thesummaryCountrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdatedAtrecord component.
-
Constructor Details
-
SessionWorkspacesGetWorkspaceResultWorkspace
public SessionWorkspacesGetWorkspaceResultWorkspace(UUID id, String cwd, String gitRoot, String repository, SessionWorkspacesGetWorkspaceResult.SessionWorkspacesGetWorkspaceResultWorkspace.SessionWorkspacesGetWorkspaceResultWorkspaceHostType hostType, String branch, String summary, String name, Long summaryCount, OffsetDateTime createdAt, OffsetDateTime updatedAt, Boolean remoteSteerable, String mcTaskId, String mcSessionId, String mcLastEventId, SessionWorkspacesGetWorkspaceResult.SessionWorkspacesGetWorkspaceResultWorkspace.SessionWorkspacesGetWorkspaceResultWorkspaceSessionSyncLevel sessionSyncLevel, Boolean chronicleSyncDismissed) Creates an instance of aSessionWorkspacesGetWorkspaceResultWorkspacerecord class.- Parameters:
id- the value for theidrecord componentcwd- the value for thecwdrecord componentgitRoot- the value for thegitRootrecord componentrepository- the value for therepositoryrecord componenthostType- the value for thehostTyperecord componentbranch- the value for thebranchrecord componentsummary- the value for thesummaryrecord componentname- the value for thenamerecord componentsummaryCount- the value for thesummaryCountrecord componentcreatedAt- the value for thecreatedAtrecord componentupdatedAt- the value for theupdatedAtrecord componentremoteSteerable- the value for theremoteSteerablerecord componentmcTaskId- the value for themcTaskIdrecord componentmcSessionId- the value for themcSessionIdrecord componentmcLastEventId- the value for themcLastEventIdrecord componentsessionSyncLevel- the value for thesessionSyncLevelrecord componentchronicleSyncDismissed- the value for thechronicleSyncDismissedrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
cwd
Returns the value of thecwdrecord component.- Returns:
- the value of the
cwdrecord component
-
gitRoot
Returns the value of thegitRootrecord component.- Returns:
- the value of the
gitRootrecord component
-
repository
Returns the value of therepositoryrecord component.- Returns:
- the value of the
repositoryrecord component
-
hostType
public SessionWorkspacesGetWorkspaceResult.SessionWorkspacesGetWorkspaceResultWorkspace.SessionWorkspacesGetWorkspaceResultWorkspaceHostType hostType()Returns the value of thehostTyperecord component.- Returns:
- the value of the
hostTyperecord component
-
branch
Returns the value of thebranchrecord component.- Returns:
- the value of the
branchrecord component
-
summary
Returns the value of thesummaryrecord component.- Returns:
- the value of the
summaryrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
summaryCount
Returns the value of thesummaryCountrecord component.- Returns:
- the value of the
summaryCountrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
updatedAt
Returns the value of theupdatedAtrecord component.- Returns:
- the value of the
updatedAtrecord component
-
remoteSteerable
Returns the value of theremoteSteerablerecord component.- Returns:
- the value of the
remoteSteerablerecord component
-
mcTaskId
Returns the value of themcTaskIdrecord component.- Returns:
- the value of the
mcTaskIdrecord component
-
mcSessionId
Returns the value of themcSessionIdrecord component.- Returns:
- the value of the
mcSessionIdrecord component
-
mcLastEventId
Returns the value of themcLastEventIdrecord component.- Returns:
- the value of the
mcLastEventIdrecord component
-
sessionSyncLevel
public SessionWorkspacesGetWorkspaceResult.SessionWorkspacesGetWorkspaceResultWorkspace.SessionWorkspacesGetWorkspaceResultWorkspaceSessionSyncLevel sessionSyncLevel()Returns the value of thesessionSyncLevelrecord component.- Returns:
- the value of the
sessionSyncLevelrecord component
-
chronicleSyncDismissed
Returns the value of thechronicleSyncDismissedrecord component.- Returns:
- the value of the
chronicleSyncDismissedrecord component
-