Summary
    Class for writing issues to Azure DevOps pull requests.
    
		- Namespace
- Cake.AzureDevOps .Repos .PullRequest 
- Base Types
- 
									- object
 
							graph BT
	Type-->Base0["object"]
	Type["AzureDevOpsPullRequest"]
class Type type-node
						
					Syntax
public sealed class AzureDevOpsPullRequestConstructors
| Name | Summary | 
|---|---|
| Azure | Initializes a new instance of the AzureDevOpsPullRequestclass. | 
Properties
| Name | Value | Summary | 
|---|---|---|
| CodeReviewId | int | 
    Gets the ID of the code review.
    Returns 0 if no pull request could be found and
     ThrowExceptionIfPullRequestCouldNotBeFoundis set tofalse. | 
| CollectionName | string | 
    Gets the name of the Azure DevOps collection.
     | 
| CollectionUrl | Uri | 
    Gets the URL for accessing the web portal of the Azure DevOps collection.
     | 
| HasPullRequestLoaded | bool | 
    Gets a value indicating whether a pull request has been successfully loaded.
     | 
| IsDraft | bool? | 
    Gets if the pull request is in draft mode.
    Returns  NotSetif no pull request could be found andThrowExceptionIfPullRequestCouldNotBeFoundis set tofalse. | 
| LastSourceCommitId | string | 
    Gets the commit at the head of the source branch at the time of the last pull request merge.
    Returns  System.String.Emptyif no pull request could be found andThrowExceptionIfPullRequestCouldNotBeFoundis set tofalse. | 
| LastTargetCommitId | string | 
    Gets the commit at the head of the target branch at the time of the last pull request merge.
    Returns  System.String.Emptyif no pull request could be found andThrowExceptionIfPullRequestCouldNotBeFoundis set tofalse. | 
| ProjectName | string | 
    Gets the name of the Azure DevOps project.
     | 
| PullRequestId | int | 
    Gets the ID of the pull request.
    Returns 0 if no pull request could be found and
     ThrowExceptionIfPullRequestCouldNotBeFoundis set tofalse. | 
| PullRequestStatus | Azure | 
    Gets the status of the pull request.
    Returns  NotSetif no pull request could be found andThrowExceptionIfPullRequestCouldNotBeFoundis set tofalse. | 
| RepositoryId | Guid | 
    Gets the ID of the repository.
    Returns  System.Guid.Emptyif no pull request could be found andThrowExceptionIfPullRequestCouldNotBeFoundis set tofalse. | 
| RepositoryName | string | 
    Gets the name of the Git repository.
     | 
| ServerUrl | Uri | 
    Gets the Url of the Azure DevOps server.
     | 
| SourceRefName | string | 
    Gets the name of the source branch from the pull request.
     | 
| TargetRefName | string | 
    Gets the name of the target branch.
    Returns  System.String.Emptyif no pull request could be found andThrowExceptionIfPullRequestCouldNotBeFoundis set tofalse. | 
Methods
| Name | Value | Summary | 
|---|---|---|
| Activate | void | 
    Sets the pull request comment thread to  CommentThreadStatus.Active. | 
| Create | Azure | 
    Create a pull request.
     static | 
| CreateComment | void | 
    Creates a new comment thread with a single comment in the pull request.
     | 
| CreateCommentThread | void | 
    Creates a new comment thread in the pull request.
     | 
| GetCommentThreads | IEnumerable | 
    Gets the pull request comment threads.
     | 
| GetCommits | IEnumerable | 
    Gets the commits contained in the pull request.
     | 
| GetIterationChanges | IEnumerable | 
    Gets all the pull request changes of the given iteration.
     | 
| GetLatestIterationId | int | 
    Gets the Id of the latest pull request iteration.
     | 
| GetModifiedFiles | IEnumerable | 
    Gets the files modified by the pull request.
     | 
| ResolveCommentThread | void | 
    Sets the pull request comment thread status to  CommentThreadStatus.Fixed. | 
| SetStatus | void | 
    Sets a status on the pull request.
     | 
| Vote | void | 
    Votes for the pullrequest.
     |