GithubIssueModel constructor
- @JsonSerializable.new(explicitToJson: true)
- int? id,
- int? number,
- String? title,
- String? body,
- String? bodyHtml,
- String? bodyText,
- String? state,
- String? stateReason,
- String? activeLockReason,
- String? authorAssociation,
- String? nodeId,
- @Default.new(false) bool draft,
- @Default.new(false) bool locked,
- @Default.new(0) int commentsCount,
- @refParam GithubRepositoryModelRef? repository,
- @jsonParam GithubUserModel? user,
- @jsonParam GithubUserModel? assignee,
- @Default.new([]) @jsonParam List<
GithubUserModel> assignees, - @jsonParam GithubUserModel? closedBy,
- @jsonParam @Default.new(<GithubLabelValue>[]) List<
GithubLabelValue> labels, - ModelUri? url,
- ModelUri? htmlUrl,
- ModelUri? commentsUrl,
- ModelUri? eventsUrl,
- ModelUri? labelsUrl,
- ModelUri? repositoryUrl,
- ModelUri? timelineUrl,
- @jsonParam GithubReactionValue? reactions,
- ModelTimestamp? closedAt,
- @Default.new(ModelTimestamp.now()) ModelTimestamp createdAt,
- @Default.new(ModelTimestamp.now()) ModelTimestamp updatedAt,
- @Default.new(false) bool fromServer,
Model for managing Github issues.
GithubのIssueを管理するためのモデル。
Implementation
// ignore: invalid_annotation_target
@JsonSerializable(explicitToJson: true)
const factory GithubIssueModel({
int? id,
int? number,
String? title,
String? body,
String? bodyHtml,
String? bodyText,
String? state,
String? stateReason,
String? activeLockReason,
String? authorAssociation,
String? nodeId,
@Default(false) bool draft,
@Default(false) bool locked,
@Default(0) int commentsCount,
@refParam GithubRepositoryModelRef? repository,
@jsonParam GithubUserModel? user,
@jsonParam GithubUserModel? assignee,
@Default([]) @jsonParam List<GithubUserModel> assignees,
@jsonParam GithubUserModel? closedBy,
@jsonParam @Default(<GithubLabelValue>[]) List<GithubLabelValue> labels,
ModelUri? url,
ModelUri? htmlUrl,
ModelUri? commentsUrl,
ModelUri? eventsUrl,
ModelUri? labelsUrl,
ModelUri? repositoryUrl,
ModelUri? timelineUrl,
@jsonParam GithubReactionValue? reactions,
ModelTimestamp? closedAt,
@Default(ModelTimestamp.now()) ModelTimestamp createdAt,
@Default(ModelTimestamp.now()) ModelTimestamp updatedAt,
@Default(false) bool fromServer,
}) = _GithubIssueModel;