GitPullRequestIteration interface
Provides properties that describe a Git pull request iteration. Iterations are created as a result of creating and pushing updates to a pull request.
Properties
author | Author of the pull request iteration. |
change |
Changes included with the pull request iteration. |
commits | The commits included with the pull request iteration. |
common |
The first common Git commit of the source and target refs. |
created |
The creation date of the pull request iteration. |
description | Description of the pull request iteration. |
has |
Indicates if the Commits property contains a truncated list of commits in this pull request iteration. |
id | ID of the pull request iteration. Iterations are created as a result of creating and pushing updates to a pull request. |
new |
If the iteration reason is Retarget, this is the refName of the new target |
old |
If the iteration reason is Retarget, this is the original target refName |
push | The Git push information associated with this pull request iteration. |
reason | The reason for which the pull request iteration was created. |
source |
The source Git commit of this iteration. |
target |
The target Git commit of this iteration. |
updated |
The updated date of the pull request iteration. |
Property Details
author
changeList
Changes included with the pull request iteration.
changeList: GitPullRequestChange[]
Property Value
commits
The commits included with the pull request iteration.
commits: GitCommitRef[]
Property Value
commonRefCommit
The first common Git commit of the source and target refs.
commonRefCommit: GitCommitRef
Property Value
createdDate
The creation date of the pull request iteration.
createdDate: Date
Property Value
Date
description
Description of the pull request iteration.
description: string
Property Value
string
hasMoreCommits
Indicates if the Commits property contains a truncated list of commits in this pull request iteration.
hasMoreCommits: boolean
Property Value
boolean
id
ID of the pull request iteration. Iterations are created as a result of creating and pushing updates to a pull request.
id: number
Property Value
number
newTargetRefName
If the iteration reason is Retarget, this is the refName of the new target
newTargetRefName: string
Property Value
string
oldTargetRefName
If the iteration reason is Retarget, this is the original target refName
oldTargetRefName: string
Property Value
string
push
The Git push information associated with this pull request iteration.
push: GitPushRef
Property Value
reason
The reason for which the pull request iteration was created.
reason: IterationReason
Property Value
sourceRefCommit
targetRefCommit
updatedDate
The updated date of the pull request iteration.
updatedDate: Date
Property Value
Date