Edit

IdentityRefWithVote Class

Definition

Identity information including a vote on a pull request.

[Newtonsoft.Json.JsonObject(MemberSerialization=Newtonsoft.Json.MemberSerialization.OptIn)]
public class IdentityRefWithVote : Microsoft.VisualStudio.Services.WebApi.IdentityRef
type IdentityRefWithVote = class
    inherit IdentityRef
Public Class IdentityRefWithVote
Inherits IdentityRef
Inheritance
Microsoft.VisualStudio.Services.WebApi.IdentityRef
IdentityRefWithVote
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

IdentityRefWithVote()
IdentityRefWithVote(IdentityRef)

Properties

IsRequired

Indicates if this is a required reviewer for this pull request.
Branches can have policies that require particular reviewers are required for pull requests.

ReviewerUrl

URL to retrieve information about this identity

Vote

Vote on a pull request:
10 - approved 5 - approved with suggestions 0 - no vote -5 - waiting for author -10 - rejected

VotedFor

Groups or teams that that this reviewer contributed to.
Groups and teams can be reviewers on pull requests but can not vote directly. When a member of the group or team votes, that vote is rolled up into the group or team vote. VotedFor is a list of such votes.

Applies to