Class AppManagementPolicy

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

public class AppManagementPolicy extends PolicyBase implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the App Management Policy.
  • Field Details

    • isEnabled

      @SerializedName(value="isEnabled", alternate="IsEnabled") @Expose @Nullable public Boolean isEnabled
      The Is Enabled. Denotes whether the policy is enabled.
    • restrictions

      @SerializedName(value="restrictions", alternate="Restrictions") @Expose @Nullable public AppManagementConfiguration restrictions
      The Restrictions. Restrictions that apply to an application or service principal object.
    • appliesTo

      @Nullable public DirectoryObjectCollectionPage appliesTo
      The Applies To. Collection of applications and service principals to which the policy is applied.
  • Constructor Details

    • AppManagementPolicy

      public AppManagementPolicy()
  • 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 PolicyBase
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to