Skip to content

Commit c5d09f1

Browse files
Commit via running: make Sources/pulls
1 parent fc272d8 commit c5d09f1

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

Sources/pulls/Types.swift

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5039,6 +5039,17 @@ public enum Components {
50395039
///
50405040
/// - Remark: Generated from `#/components/schemas/review-comment/original_start_line`.
50415041
public var originalStartLine: Swift.Int?
5042+
/// The level at which the comment is targeted, can be a diff line or a file.
5043+
///
5044+
/// - Remark: Generated from `#/components/schemas/review-comment/subject_type`.
5045+
@frozen public enum SubjectTypePayload: String, Codable, Hashable, Sendable, CaseIterable {
5046+
case line = "line"
5047+
case file = "file"
5048+
}
5049+
/// The level at which the comment is targeted, can be a diff line or a file.
5050+
///
5051+
/// - Remark: Generated from `#/components/schemas/review-comment/subject_type`.
5052+
public var subjectType: Components.Schemas.ReviewComment.SubjectTypePayload?
50425053
/// Creates a new `ReviewComment`.
50435054
///
50445055
/// - Parameters:
@@ -5070,6 +5081,7 @@ public enum Components {
50705081
/// - originalLine: The original line of the blob to which the comment applies. The last line of the range for a multi-line comment
50715082
/// - startLine: The first line of the range for a multi-line comment.
50725083
/// - originalStartLine: The original first line of the range for a multi-line comment.
5084+
/// - subjectType: The level at which the comment is targeted, can be a diff line or a file.
50735085
public init(
50745086
url: Swift.String,
50755087
pullRequestReviewId: Swift.Int64? = nil,
@@ -5098,7 +5110,8 @@ public enum Components {
50985110
line: Swift.Int? = nil,
50995111
originalLine: Swift.Int? = nil,
51005112
startLine: Swift.Int? = nil,
5101-
originalStartLine: Swift.Int? = nil
5113+
originalStartLine: Swift.Int? = nil,
5114+
subjectType: Components.Schemas.ReviewComment.SubjectTypePayload? = nil
51025115
) {
51035116
self.url = url
51045117
self.pullRequestReviewId = pullRequestReviewId
@@ -5128,6 +5141,7 @@ public enum Components {
51285141
self.originalLine = originalLine
51295142
self.startLine = startLine
51305143
self.originalStartLine = originalStartLine
5144+
self.subjectType = subjectType
51315145
}
51325146
public enum CodingKeys: String, CodingKey {
51335147
case url
@@ -5158,6 +5172,7 @@ public enum Components {
51585172
case originalLine = "original_line"
51595173
case startLine = "start_line"
51605174
case originalStartLine = "original_start_line"
5175+
case subjectType = "subject_type"
51615176
}
51625177
}
51635178
}

0 commit comments

Comments
 (0)