Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions openapi.public.json
Original file line number Diff line number Diff line change
Expand Up @@ -1906,6 +1906,10 @@
"format": "int64",
"type": "integer"
},
"fix_generation_enabled": {
"description": "Whether fix generation is configured for this deployment and organization.\n Write authorization is checked again when a fix is requested.",
"type": "boolean"
},
"head_commit_sha": {
"description": "The head commit this review is pinned to. For a patch review, the\n revision ID Proofline derives from its base commit and patch digest,\n which is not a commit. Absent when the review recorded none.",
"type": [
Expand Down
11 changes: 11 additions & 0 deletions proofline/_generated/models/customer_review_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ class CustomerReviewDetail:
diff_stats (None | ReviewDiffStats | Unset): Line totals from this run's pinned comparison. Null until recorded,
or
when the provider's changed-file list was incomplete.
fix_generation_enabled (bool | Unset): Whether fix generation is configured for this deployment and
organization.
Write authorization is checked again when a fix is requested.
head_commit_sha (None | str | Unset): The head commit this review is pinned to. For a patch review, the
revision ID Proofline derives from its base commit and patch digest,
which is not a commit. Absent when the review recorded none.
Expand Down Expand Up @@ -209,6 +212,7 @@ class CustomerReviewDetail:
current_head_commit_sha: None | str | Unset = UNSET
deep_review_escalation: DeepReviewEscalation | None | Unset = UNSET
diff_stats: None | ReviewDiffStats | Unset = UNSET
fix_generation_enabled: bool | Unset = UNSET
head_commit_sha: None | str | Unset = UNSET
head_commit_url: None | str | Unset = UNSET
head_ref: None | str | Unset = UNSET
Expand Down Expand Up @@ -385,6 +389,8 @@ def to_dict(self) -> dict[str, Any]:
else:
diff_stats = self.diff_stats

fix_generation_enabled = self.fix_generation_enabled

head_commit_sha: None | str | Unset
if isinstance(self.head_commit_sha, Unset):
head_commit_sha = UNSET
Expand Down Expand Up @@ -645,6 +651,8 @@ def to_dict(self) -> dict[str, Any]:
field_dict["deep_review_escalation"] = deep_review_escalation
if diff_stats is not UNSET:
field_dict["diff_stats"] = diff_stats
if fix_generation_enabled is not UNSET:
field_dict["fix_generation_enabled"] = fix_generation_enabled
if head_commit_sha is not UNSET:
field_dict["head_commit_sha"] = head_commit_sha
if head_commit_url is not UNSET:
Expand Down Expand Up @@ -948,6 +956,8 @@ def _parse_diff_stats(data: object) -> None | ReviewDiffStats | Unset:

diff_stats = _parse_diff_stats(d.pop("diff_stats", UNSET))

fix_generation_enabled = d.pop("fix_generation_enabled", UNSET)

def _parse_head_commit_sha(data: object) -> None | str | Unset:
if data is None:
return data
Expand Down Expand Up @@ -1368,6 +1378,7 @@ def _parse_walkthrough(data: object) -> None | Unset | WalkthroughView:
current_head_commit_sha=current_head_commit_sha,
deep_review_escalation=deep_review_escalation,
diff_stats=diff_stats,
fix_generation_enabled=fix_generation_enabled,
head_commit_sha=head_commit_sha,
head_commit_url=head_commit_url,
head_ref=head_ref,
Expand Down
Loading