IdentityRefWithVote interface
Identity information including a vote on a pull request.
- Extends
has |
Indicates if this reviewer has declined to review this pull request. |
is |
Indicates if this reviewer is flagged for attention on this pull request. |
is |
Indicates if this approve vote should still be handled even though vote didn't change. |
is |
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. |
reviewer |
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 |
voted |
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. |
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. |
directory |
Deprecated - Can be retrieved by querying the Graph user referenced in the "self" entry of the IdentityRef "_links" dictionary |
display |
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 | |
image |
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 |
is |
Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsAadUserType/Descriptor.IsAadGroupType) |
is |
Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsGroupType) |
is |
|
profile |
Deprecated - not in use in most preexisting implementations of ToIdentityRef |
unique |
Deprecated - use Domain+PrincipalName instead |
url | This url is the full route to the source resource of this graph subject. |
Indicates if this reviewer has declined to review this pull request.
hasDeclined: boolean
Property Value
boolean
Indicates if this reviewer is flagged for attention on this pull request.
isFlagged: boolean
Property Value
boolean
Indicates if this approve vote should still be handled even though vote didn't change.
isReapprove: boolean
Property Value
boolean
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
URL to retrieve information about this identity
reviewerUrl: string
Property Value
string
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
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
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
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
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
Deprecated - Available in the "avatar" entry of the IdentityRef "_links" dictionary
imageUrl: string
Property Value
string
Inherited From IdentityRef.imageUrl
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
Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsAadUserType/Descriptor.IsAadGroupType)
isAadIdentity: boolean
Property Value
boolean
Inherited From IdentityRef.isAadIdentity
Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsGroupType)
isContainer: boolean
Property Value
boolean
Inherited From IdentityRef.isContainer
Deprecated - not in use in most preexisting implementations of ToIdentityRef
profileUrl: string
Property Value
string
Inherited From IdentityRef.profileUrl
Deprecated - use Domain+PrincipalName instead
uniqueName: string
Property Value
string
Inherited From IdentityRef.uniqueName
This url is the full route to the source resource of this graph subject.
url: string
Property Value
string
Inherited From IdentityRef.url