Class DefaultUserRolePermissions

java.lang.Object
com.microsoft.graph.models.DefaultUserRolePermissions
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class DefaultUserRolePermissions extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • DefaultUserRolePermissions

      public DefaultUserRolePermissions()
      Instantiates a new DefaultUserRolePermissions and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static DefaultUserRolePermissions createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a DefaultUserRolePermissions
    • getAdditionalData

      @Nonnull public Map<String,Object> getAdditionalData()
      Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getAllowedToCreateApps

      @Nullable public Boolean getAllowedToCreateApps()
      Gets the allowedToCreateApps property value. Indicates whether the default user role can create applications. This setting corresponds to the Users can register applications setting in the User settings menu in the Microsoft Entra admin center.
      Returns:
      a Boolean
    • getAllowedToCreateSecurityGroups

      @Nullable public Boolean getAllowedToCreateSecurityGroups()
      Gets the allowedToCreateSecurityGroups property value. Indicates whether the default user role can create security groups. This setting corresponds to the following menus in the Microsoft Entra admin center: The Users can create security groups in Microsoft Entra admin centers, API or PowerShell setting in the Group settings menu. Users can create security groups setting in the User settings menu.
      Returns:
      a Boolean
    • getAllowedToCreateTenants

      @Nullable public Boolean getAllowedToCreateTenants()
      Gets the allowedToCreateTenants property value. Indicates whether the default user role can create tenants. This setting corresponds to the Restrict non-admin users from creating tenants setting in the User settings menu in the Microsoft Entra admin center. When this setting is false, users assigned the Tenant Creator role can still create tenants.
      Returns:
      a Boolean
    • getAllowedToReadBitlockerKeysForOwnedDevice

      @Nullable public Boolean getAllowedToReadBitlockerKeysForOwnedDevice()
      Gets the allowedToReadBitlockerKeysForOwnedDevice property value. Indicates whether the registered owners of a device can read their own BitLocker recovery keys with default user role.
      Returns:
      a Boolean
    • getAllowedToReadOtherUsers

      @Nullable public Boolean getAllowedToReadOtherUsers()
      Gets the allowedToReadOtherUsers property value. Indicates whether the default user role can read other users. DO NOT SET THIS VALUE TO false.
      Returns:
      a Boolean
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getPermissionGrantPoliciesAssigned

      @Nullable public List<String> getPermissionGrantPoliciesAssigned()
      Gets the permissionGrantPoliciesAssigned property value. Indicates if user consent to apps is allowed, and if it is, which permission to grant consent and which app consent policy (permissionGrantPolicy) govern the permission for users to grant consent. Value should be in the format managePermissionGrantsForSelf.{id}, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled.
      Returns:
      a List<String>
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Parameters:
      value - Value to set for the AdditionalData property.
    • setAllowedToCreateApps

      public void setAllowedToCreateApps(@Nullable Boolean value)
      Sets the allowedToCreateApps property value. Indicates whether the default user role can create applications. This setting corresponds to the Users can register applications setting in the User settings menu in the Microsoft Entra admin center.
      Parameters:
      value - Value to set for the allowedToCreateApps property.
    • setAllowedToCreateSecurityGroups

      public void setAllowedToCreateSecurityGroups(@Nullable Boolean value)
      Sets the allowedToCreateSecurityGroups property value. Indicates whether the default user role can create security groups. This setting corresponds to the following menus in the Microsoft Entra admin center: The Users can create security groups in Microsoft Entra admin centers, API or PowerShell setting in the Group settings menu. Users can create security groups setting in the User settings menu.
      Parameters:
      value - Value to set for the allowedToCreateSecurityGroups property.
    • setAllowedToCreateTenants

      public void setAllowedToCreateTenants(@Nullable Boolean value)
      Sets the allowedToCreateTenants property value. Indicates whether the default user role can create tenants. This setting corresponds to the Restrict non-admin users from creating tenants setting in the User settings menu in the Microsoft Entra admin center. When this setting is false, users assigned the Tenant Creator role can still create tenants.
      Parameters:
      value - Value to set for the allowedToCreateTenants property.
    • setAllowedToReadBitlockerKeysForOwnedDevice

      public void setAllowedToReadBitlockerKeysForOwnedDevice(@Nullable Boolean value)
      Sets the allowedToReadBitlockerKeysForOwnedDevice property value. Indicates whether the registered owners of a device can read their own BitLocker recovery keys with default user role.
      Parameters:
      value - Value to set for the allowedToReadBitlockerKeysForOwnedDevice property.
    • setAllowedToReadOtherUsers

      public void setAllowedToReadOtherUsers(@Nullable Boolean value)
      Sets the allowedToReadOtherUsers property value. Indicates whether the default user role can read other users. DO NOT SET THIS VALUE TO false.
      Parameters:
      value - Value to set for the allowedToReadOtherUsers property.
    • setBackingStore

      public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value)
      Sets the backingStore property value. Stores model information.
      Parameters:
      value - Value to set for the backingStore property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setPermissionGrantPoliciesAssigned

      public void setPermissionGrantPoliciesAssigned(@Nullable List<String> value)
      Sets the permissionGrantPoliciesAssigned property value. Indicates if user consent to apps is allowed, and if it is, which permission to grant consent and which app consent policy (permissionGrantPolicy) govern the permission for users to grant consent. Value should be in the format managePermissionGrantsForSelf.{id}, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled.
      Parameters:
      value - Value to set for the permissionGrantPoliciesAssigned property.