GithubCopilotSessionModel constructor
const
GithubCopilotSessionModel({
- required String id,
- String? name,
- String? resourceType,
- String? resourceId,
- String? userId,
- String? agentId,
- String? errorMessage,
- String? errorCode,
- int? pullRequestNumber,
- String? pullRequestUrl,
- String? pullRequestId,
- String? pullRequestBaseRef,
- @Default.new(GithubCopilotSessionStatus.none) GithubCopilotSessionStatus status,
- ModelTimestamp? completedAt,
- @Default.new(ModelTimestamp()) ModelTimestamp createdAt,
- @Default.new(ModelTimestamp()) ModelTimestamp updatedAt,
- @Default.new(false) bool fromServer,
Model for managing Copilot sessions.
Copilotのセッションを管理するモデル。
Implementation
const factory GithubCopilotSessionModel({
required String id,
String? name,
String? resourceType,
String? resourceId,
String? userId,
String? agentId,
String? errorMessage,
String? errorCode,
int? pullRequestNumber,
String? pullRequestUrl,
String? pullRequestId,
String? pullRequestBaseRef,
@Default(GithubCopilotSessionStatus.none) GithubCopilotSessionStatus status,
ModelTimestamp? completedAt,
@Default(ModelTimestamp()) ModelTimestamp createdAt,
@Default(ModelTimestamp()) ModelTimestamp updatedAt,
@Default(false) bool fromServer,
}) = _GithubCopilotSessionModel;