GithubIssueTimelineModel constructor
- @JsonSerializable.new(explicitToJson: true)
- int? id,
- String? body,
- String? previousBody,
- String? authorAssociation,
- String? commitId,
- String? sha,
- String? state,
- int? reviewId,
- @Default.new(GithubTimelineEvent.unknown) GithubTimelineEvent event,
- @jsonParam GithubUserModel? user,
- @jsonParam GithubUserModel? from,
- @jsonParam GithubUserModel? to,
- @jsonParam GithubProjectModel? project,
- @jsonParam GithubMilestoneValue? milestone,
- @jsonParam GithubReactionValue? reaction,
- @jsonParam GithubIssueModel? issue,
- @jsonParam GithubPullRequestModel? pullRequest,
- @jsonParam GithubLabelValue? label,
- ModelUri? url,
- ModelUri? commitUrl,
- ModelUri? htmlUrl,
- ModelUri? issueUrl,
- ModelUri? links,
- ModelUri? pullRequestUrl,
- @Default.new(ModelTimestamp.now()) ModelTimestamp createdAt,
- @Default.new(ModelTimestamp.now()) ModelTimestamp updatedAt,
- @Default.new(false) bool fromServer,
Model for managing Github issue timelines.
GithubのIssueのタイムラインを管理するためのモデル。
Implementation
@JsonSerializable(explicitToJson: true)
const factory GithubIssueTimelineModel({
int? id,
String? body,
String? previousBody,
String? authorAssociation,
String? commitId,
String? sha,
String? state,
int? reviewId,
@Default(GithubTimelineEvent.unknown) GithubTimelineEvent event,
@jsonParam GithubUserModel? user,
@jsonParam GithubUserModel? from,
@jsonParam GithubUserModel? to,
@jsonParam GithubProjectModel? project,
@jsonParam GithubMilestoneValue? milestone,
@jsonParam GithubReactionValue? reaction,
@jsonParam GithubIssueModel? issue,
@jsonParam GithubPullRequestModel? pullRequest,
@jsonParam GithubLabelValue? label,
ModelUri? url,
ModelUri? commitUrl,
ModelUri? htmlUrl,
ModelUri? issueUrl,
ModelUri? links,
ModelUri? pullRequestUrl,
@Default(ModelTimestamp.now()) ModelTimestamp createdAt,
@Default(ModelTimestamp.now()) ModelTimestamp updatedAt,
@Default(false) bool fromServer,
}) = _GithubIssueTimelineModel;