Class TargetedManagedAppProtection

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
AndroidManagedAppProtection, IosManagedAppProtection

@Generated("com.microsoft.kiota") public class TargetedManagedAppProtection extends ManagedAppProtection implements com.microsoft.kiota.serialization.Parsable
Policy used to configure detailed management settings targeted to specific security groups
  • Constructor Details

    • TargetedManagedAppProtection

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

    • createFromDiscriminatorValue

      @Nonnull public static TargetedManagedAppProtection 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 TargetedManagedAppProtection
    • getAssignments

      @Nullable public List<TargetedManagedAppPolicyAssignment> getAssignments()
      Gets the assignments property value. Navigation property to list of inclusion and exclusion groups to which the policy is deployed.
      Returns:
      a List<TargetedManagedAppPolicyAssignment>
    • 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
      Overrides:
      getFieldDeserializers in class ManagedAppProtection
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsAssigned

      @Nullable public Boolean getIsAssigned()
      Gets the isAssigned property value. Indicates if the policy is deployed to any inclusion groups or not.
      Returns:
      a Boolean
    • 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
      Overrides:
      serialize in class ManagedAppProtection
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAssignments

      public void setAssignments(@Nullable List<TargetedManagedAppPolicyAssignment> value)
      Sets the assignments property value. Navigation property to list of inclusion and exclusion groups to which the policy is deployed.
      Parameters:
      value - Value to set for the assignments property.
    • setIsAssigned

      public void setIsAssigned(@Nullable Boolean value)
      Sets the isAssigned property value. Indicates if the policy is deployed to any inclusion groups or not.
      Parameters:
      value - Value to set for the isAssigned property.