https://platform.codeclimate.com/schemas/pull-request-comment
A Pull Request Comment is a review comment that's related to a Pull Request.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | PullRequestComment.schema.json |
object
(PullRequestComment)
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
_type | string |
Required | cannot be null | PullRequestComment |
id | string |
Required | cannot be null | PullRequestComment |
self | string |
Required | cannot be null | PullRequestComment |
pullRequest | Merged | Required | cannot be null | PullRequestComment |
pullRequestReview | Merged | Optional | cannot be null | PullRequestComment |
author | Merged | Required | cannot be null | PullRequestComment |
body | string |
Optional | cannot be null | PullRequestComment |
bodyHtml | string |
Optional | cannot be null | PullRequestComment |
bodyText | Unknown Type | Optional | can be null | PullRequestComment |
state | string |
Optional | cannot be null | PullRequestComment |
path | string |
Optional | cannot be null | PullRequestComment |
position | integer |
Optional | cannot be null | PullRequestComment |
outdated | boolean |
Optional | cannot be null | PullRequestComment |
publishedAt | string |
Optional | cannot be null | PullRequestComment |
draftedAt | string |
Optional | cannot be null | PullRequestComment |
createdAt | string |
Optional | cannot be null | PullRequestComment |
updatedAt | string |
Optional | cannot be null | PullRequestComment |
_type
- is required
- Type:
string
- cannot be null
- defined in: PullRequestComment
string
constant: the value of this property must be equal to:
"PullRequestComment"
The unique ID of this pull request comment
id
- is required
- Type:
string
- cannot be null
- defined in: PullRequestComment
string
The canonical URI for this record
self
- is required
- Type:
string
- cannot be null
- defined in: PullRequestComment
string
URI: the string must be a URI, according to RFC 3986
The self
URI of the PullRequest, or a nested PullRequest record.
pullRequest
- is required
- Type: merged type (Details)
- cannot be null
- defined in: PullRequestComment
merged type (Details)
one (and only one) of
The self
URI of the review, or a nested review record.
pullRequestReview
- is optional
- Type: merged type (Details)
- cannot be null
- defined in: PullRequestComment
merged type (Details)
one (and only one) of
The self
URI of the author, or a nested author record.
author
- is required
- Type: merged type (Details)
- cannot be null
- defined in: PullRequestComment
merged type (Details)
one (and only one) of
The body of this pull request comment
body
- is optional
- Type:
string
- cannot be null
- defined in: PullRequestComment
string
The body html of this pull request comment
bodyHtml
- is optional
- Type:
string
- cannot be null
- defined in: PullRequestComment
string
bodyText
- is optional
- Type:
string
- can be null
- defined in: PullRequestComment
string
The state of a pull request comment
state
- is optional
- Type:
string
- cannot be null
- defined in: PullRequestComment
string
The path of this pull request comment
path
- is optional
- Type:
string
- cannot be null
- defined in: PullRequestComment
string
The position of this pull request comment
position
- is optional
- Type:
integer
- cannot be null
- defined in: PullRequestComment
integer
Whether the pull request comment is outdated
outdated
- is optional
- Type:
boolean
- cannot be null
- defined in: PullRequestComment
boolean
The time pull request comment was published
publishedAt
- is optional
- Type:
string
- cannot be null
- defined in: PullRequestComment
string
date time: the string must be a date time string, according to RFC 3339, section 5.6
The time pull request comment was drafted
draftedAt
- is optional
- Type:
string
- cannot be null
- defined in: PullRequestComment
string
date time: the string must be a date time string, according to RFC 3339, section 5.6
The time pull request comment was created
createdAt
- is optional
- Type:
string
- cannot be null
- defined in: PullRequestComment
string
date time: the string must be a date time string, according to RFC 3339, section 5.6
The time pull request comment was updated
updatedAt
- is optional
- Type:
string
- cannot be null
- defined in: PullRequestComment
string
date time: the string must be a date time string, according to RFC 3339, section 5.6