GithubPullRequestTimelineModel constructor
- @JsonSerializable.new(explicitToJson: true)
- int? id,
- String? body,
- String? previousBody,
- String? diffHunk,
- String? path,
- int? position,
- int? originalPosition,
- String? commitId,
- String? originalCommitId,
- 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? pullRequestUrl,
- ModelUri? commitUrl,
- ModelUri? links,
- ModelUri? issueUrl,
- @Default.new(ModelTimestamp.now()) ModelTimestamp createdAt,
- @Default.new(ModelTimestamp.now()) ModelTimestamp updatedAt,
- @Default.new(false) bool fromServer,
Model for managing Github pull request timelines.
GithubのPull Requestのタイムラインを管理するためのモデル。
Implementation
@JsonSerializable(explicitToJson: true)
const factory GithubPullRequestTimelineModel({
int? id,
String? body,
String? previousBody,
String? diffHunk,
String? path,
int? position,
int? originalPosition,
String? commitId,
String? originalCommitId,
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? pullRequestUrl,
ModelUri? commitUrl,
ModelUri? links,
ModelUri? issueUrl,
@Default(ModelTimestamp.now()) ModelTimestamp createdAt,
@Default(ModelTimestamp.now()) ModelTimestamp updatedAt,
@Default(false) bool fromServer,
}) = _GithubPullRequestTimelineModel;