Class MicrosoftGraphAdministrativeUnitInner


  • public final class MicrosoftGraphAdministrativeUnitInner
    extends MicrosoftGraphDirectoryObjectInner
    Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
    • Constructor Detail

      • MicrosoftGraphAdministrativeUnitInner

        public MicrosoftGraphAdministrativeUnitInner()
    • Method Detail

      • description

        public String description()
        Get the description property: An optional description for the administrative unit.
        Returns:
        the description value.
      • withDescription

        public MicrosoftGraphAdministrativeUnitInner withDescription​(String description)
        Set the description property: An optional description for the administrative unit.
        Parameters:
        description - the description value to set.
        Returns:
        the MicrosoftGraphAdministrativeUnitInner object itself.
      • displayName

        public String displayName()
        Get the displayName property: Display name for the administrative unit.
        Returns:
        the displayName value.
      • withDisplayName

        public MicrosoftGraphAdministrativeUnitInner withDisplayName​(String displayName)
        Set the displayName property: Display name for the administrative unit.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the MicrosoftGraphAdministrativeUnitInner object itself.
      • visibility

        public String visibility()
        Get the visibility property: Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the adminstrative unit.
        Returns:
        the visibility value.
      • withVisibility

        public MicrosoftGraphAdministrativeUnitInner withVisibility​(String visibility)
        Set the visibility property: Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the adminstrative unit.
        Parameters:
        visibility - the visibility value to set.
        Returns:
        the MicrosoftGraphAdministrativeUnitInner object itself.
      • members

        public List<MicrosoftGraphDirectoryObjectInner> members()
        Get the members property: Users and groups that are members of this Adminsitrative Unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members).
        Returns:
        the members value.
      • withMembers

        public MicrosoftGraphAdministrativeUnitInner withMembers​(List<MicrosoftGraphDirectoryObjectInner> members)
        Set the members property: Users and groups that are members of this Adminsitrative Unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members).
        Parameters:
        members - the members value to set.
        Returns:
        the MicrosoftGraphAdministrativeUnitInner object itself.
      • scopedRoleMembers

        public List<MicrosoftGraphScopedRoleMembershipInner> scopedRoleMembers()
        Get the scopedRoleMembers property: Scoped-role members of this Administrative Unit. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership).
        Returns:
        the scopedRoleMembers value.
      • withScopedRoleMembers

        public MicrosoftGraphAdministrativeUnitInner withScopedRoleMembers​(List<MicrosoftGraphScopedRoleMembershipInner> scopedRoleMembers)
        Set the scopedRoleMembers property: Scoped-role members of this Administrative Unit. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership).
        Parameters:
        scopedRoleMembers - the scopedRoleMembers value to set.
        Returns:
        the MicrosoftGraphAdministrativeUnitInner object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
        Overrides:
        additionalProperties in class MicrosoftGraphDirectoryObjectInner
        Returns:
        the additionalProperties value.