Class AdministrativeUnit

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class AdministrativeUnit extends DirectoryObject implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Administrative Unit.
  • Field Details

    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The Description. An optional description for the administrative unit. Supports $filter (eq, ne, in, startsWith), $search.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
    • visibility

      @SerializedName(value="visibility", alternate="Visibility") @Expose @Nullable public String visibility
      The Visibility. Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set (value is null), the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit.
    • members

      @Nullable public DirectoryObjectCollectionPage members
      The Members. Users and groups that are members of this administrative unit. Supports $expand.
    • scopedRoleMembers

      @SerializedName(value="scopedRoleMembers", alternate="ScopedRoleMembers") @Expose @Nullable public ScopedRoleMembershipCollectionPage scopedRoleMembers
      The Scoped Role Members. Scoped-role members of this administrative unit.
    • extensions

      @SerializedName(value="extensions", alternate="Extensions") @Expose @Nullable public ExtensionCollectionPage extensions
      The Extensions. The collection of open extensions defined for this administrative unit. Nullable.
  • Constructor Details

    • AdministrativeUnit

      public AdministrativeUnit()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class DirectoryObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to