Package org.azd.graph.types
Class GraphEntity
java.lang.Object
org.azd.abstractions.serializer.SerializableEntity
org.azd.graph.types.GraphEntity
- Direct Known Subclasses:
GraphGroup,GraphUser,SubjectLookup
Graph entity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GraphReferenceLinksThis field contains zero or more interesting links about the graph subject.protected StringThe descriptor is the primary way to reference the graph subject while the system is running.protected StringThis is the non-unique display name of the graph subject.protected StringThis represents the name of the container of origin for a graph member.protected StringThe email address of record for a given graph member.protected StringThe type of source provider for the origin identifier (ex:AD, AAD, MSA)protected StringThe unique identifier from the system of origin.protected StringThis is the PrincipalName of this graph member from the source provider.protected StringThis field identifies the type of the graph subject (ex: Group, Scope, User).protected StringThis url is the full route to the source resource of this graph subject. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUrl()voidset_links(GraphReferenceLinks _links) voidsetDescriptor(String descriptor) voidsetDisplayName(String displayName) voidvoidsetMailAddress(String mailAddress) voidvoidsetOriginId(String originId) voidsetPrincipalName(String principalName) voidsetSubjectKind(String subjectKind) voidMethods inherited from class org.azd.abstractions.serializer.SerializableEntity
getResponse, toJsonTree, toString
-
Field Details
-
_links
This field contains zero or more interesting links about the graph subject. These links may be invoked to obtain additional relationships or more detailed information about this graph subject. -
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. -
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. -
domain
This represents the name of the container of origin for a graph member. -
mailAddress
The email address of record for a given graph member. This may be different than the principal name. -
origin
The type of source provider for the origin identifier (ex:AD, AAD, MSA) -
originId
The unique identifier from the system of origin. Typically a sid, object id or Guid. Linking and unlinking operations can cause this value to change for a user because the user is not backed by a different provider and has a different unique id in the new provider. -
principalName
This is the PrincipalName of this graph member from the source provider. The source provider may change this field over time and it is not guaranteed to be immutable for the life of the graph member by VSTS. -
subjectKind
This field identifies the type of the graph subject (ex: Group, Scope, User). -
url
This url is the full route to the source resource of this graph subject.
-
-
Constructor Details
-
GraphEntity
public GraphEntity()
-
-
Method Details
-
get_links
-
set_links
-
getDescriptor
-
setDescriptor
-
getDisplayName
-
setDisplayName
-
getDomain
-
setDomain
-
getMailAddress
-
setMailAddress
-
getOrigin
-
setOrigin
-
getOriginId
-
setOriginId
-
getPrincipalName
-
setPrincipalName
-
getSubjectKind
-
setSubjectKind
-
getUrl
-
setUrl
-