Package com.independentsoft.graph

# Class DirectoryObject

java.lang.Object
com.independentsoft.graph.DirectoryObject

Direct Known Subclasses:
  `Group`, `User`

public class DirectoryObject extends Object
Represents an Azure Active Directory object in Microsoft Graph.

DirectoryObject is the base type from which directory resources such as `Group` and `User` are derived. It exposes the unique identifier that is common to all directory objects.

Since:
  1.0
See Also:
  directoryObject resource type

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected String`
  `id`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DirectoryObject()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getId()`
  `void`
  `setId​(String id)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### id

    protected String id

- ## Constructor Details

  - ### DirectoryObject

    public DirectoryObject()

- ## Method Details

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### getId

    public String getId()

  - ### setId

    public void setId​(String id)