Class GraphEntity

Direct Known Subclasses:
GraphGroup, GraphUser, SubjectLookup

public class GraphEntity extends SerializableEntity
Graph entity
  • Field Details

    • descriptor

      protected String 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

      protected String 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

      protected String domain
      This represents the name of the container of origin for a graph member.
    • mailAddress

      protected String mailAddress
      The email address of record for a given graph member. This may be different than the principal name.
    • origin

      protected String origin
      The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    • originId

      protected String 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

      protected String 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

      protected String subjectKind
      This field identifies the type of the graph subject (ex: Group, Scope, User).
    • url

      protected String url
      This url is the full route to the source resource of this graph subject.
  • Constructor Details

    • GraphEntity

      public GraphEntity()
  • Method Details

    • get_links

      public GraphReferenceLinks get_links()
    • set_links

      public void set_links(GraphReferenceLinks _links)
    • getDescriptor

      public String getDescriptor()
    • setDescriptor

      public void setDescriptor(String descriptor)
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • getDomain

      public String getDomain()
    • setDomain

      public void setDomain(String domain)
    • getMailAddress

      public String getMailAddress()
    • setMailAddress

      public void setMailAddress(String mailAddress)
    • getOrigin

      public String getOrigin()
    • setOrigin

      public void setOrigin(String origin)
    • getOriginId

      public String getOriginId()
    • setOriginId

      public void setOriginId(String originId)
    • getPrincipalName

      public String getPrincipalName()
    • setPrincipalName

      public void setPrincipalName(String principalName)
    • getSubjectKind

      public String getSubjectKind()
    • setSubjectKind

      public void setSubjectKind(String subjectKind)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)