Class StsPolicy

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
Direct Known Subclasses:
ActivityBasedTimeoutPolicy, ClaimsMappingPolicy, HomeRealmDiscoveryPolicy, TokenIssuancePolicy, TokenLifetimePolicy

public class StsPolicy extends PolicyBase implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Sts Policy.
  • Field Details

    • definition

      @SerializedName(value="definition", alternate="Definition") @Expose @Nullable public List<String> definition
      The Definition. A string collection containing a JSON string that defines the rules and settings for a policy. The syntax for the definition differs for each derived policy type. Required.
    • isOrganizationDefault

      @SerializedName(value="isOrganizationDefault", alternate="IsOrganizationDefault") @Expose @Nullable public Boolean isOrganizationDefault
      The Is Organization Default. If set to true, activates this policy. There can be many policies for the same policy type, but only one can be activated as the organization default. Optional, default value is false.
    • appliesTo

      @Nullable public DirectoryObjectCollectionPage appliesTo
      The Applies To.
  • Constructor Details

    • StsPolicy

      public StsPolicy()
  • 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