IdentityRefWithVote interface

Identity information including a vote on a pull request.

Extends

Properties

hasDeclined

Indicates if this reviewer has declined to review this pull request.

isFlagged

Indicates if this reviewer is flagged for attention on this pull request.

isReapprove

Indicates if this approve vote should still be handled even though vote didn't change.

isRequired

Indicates if this is a required reviewer for this pull request. <br /> 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:<br /> 10 - approved 5 - approved with suggestions 0 - no vote -5 - waiting for author -10 - rejected

votedFor

Groups or teams that this reviewer contributed to. <br /> 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.

Inherited Properties

descriptor

The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the same graph subject across both Accounts and Organizations.

directoryAlias

Deprecated - Can be retrieved by querying the Graph user referenced in the "self" entry of the IdentityRef "_links" dictionary

displayName

This is the non-unique display name of the graph subject. To change this field, you must alter its value in the source provider.

id
imageUrl

Deprecated - Available in the "avatar" entry of the IdentityRef "_links" dictionary

inactive

Deprecated - Can be retrieved by querying the Graph membership state referenced in the "membershipState" entry of the GraphUser "_links" dictionary

isAadIdentity

Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsAadUserType/Descriptor.IsAadGroupType)

isContainer

Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsGroupType)

isDeletedInOrigin
profileUrl

Deprecated - not in use in most preexisting implementations of ToIdentityRef

uniqueName

Deprecated - use Domain+PrincipalName instead

url

This url is the full route to the source resource of this graph subject.

Property Details

hasDeclined

Indicates if this reviewer has declined to review this pull request.

hasDeclined: boolean

Property Value

boolean

isFlagged

Indicates if this reviewer is flagged for attention on this pull request.

isFlagged: boolean

Property Value

boolean

isReapprove

Indicates if this approve vote should still be handled even though vote didn't change.

isReapprove: boolean

Property Value

boolean

isRequired

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

isRequired: boolean

Property Value

boolean

reviewerUrl

URL to retrieve information about this identity

reviewerUrl: string

Property Value

string

vote

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

vote: number

Property Value

number

votedFor

Groups or teams that this reviewer contributed to. <br /> 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.

votedFor: IdentityRefWithVote[]

Property Value

Inherited Property Details

descriptor

The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the same graph subject across both Accounts and Organizations.

descriptor: string

Property Value

string

Inherited From IdentityRef.descriptor

directoryAlias

Deprecated - Can be retrieved by querying the Graph user referenced in the "self" entry of the IdentityRef "_links" dictionary

directoryAlias: string

Property Value

string

Inherited From IdentityRef.directoryAlias

displayName

This is the non-unique display name of the graph subject. To change this field, you must alter its value in the source provider.

displayName: string

Property Value

string

Inherited From IdentityRef.displayName

id

id: string

Property Value

string

Inherited From IdentityRef.id

imageUrl

Deprecated - Available in the "avatar" entry of the IdentityRef "_links" dictionary

imageUrl: string

Property Value

string

Inherited From IdentityRef.imageUrl

inactive

Deprecated - Can be retrieved by querying the Graph membership state referenced in the "membershipState" entry of the GraphUser "_links" dictionary

inactive: boolean

Property Value

boolean

Inherited From IdentityRef.inactive

isAadIdentity

Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsAadUserType/Descriptor.IsAadGroupType)

isAadIdentity: boolean

Property Value

boolean

Inherited From IdentityRef.isAadIdentity

isContainer

Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsGroupType)

isContainer: boolean

Property Value

boolean

Inherited From IdentityRef.isContainer

isDeletedInOrigin

isDeletedInOrigin: boolean

Property Value

boolean

Inherited From IdentityRef.isDeletedInOrigin

profileUrl

Deprecated - not in use in most preexisting implementations of ToIdentityRef

profileUrl: string

Property Value

string

Inherited From IdentityRef.profileUrl

uniqueName

Deprecated - use Domain+PrincipalName instead

uniqueName: string

Property Value

string

Inherited From IdentityRef.uniqueName

url

This url is the full route to the source resource of this graph subject.

url: string

Property Value

string

Inherited From IdentityRef.url