Package com.microsoft.graph.models
Class PolicyBase
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DirectoryObject
com.microsoft.graph.models.PolicyBase
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
- Direct Known Subclasses:
AuthorizationPolicy
,IdentitySecurityDefaultsEnforcementPolicy
,PermissionGrantPolicy
,StsPolicy
public class PolicyBase
extends DirectoryObject
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Policy Base.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Description.The Display Name.Fields inherited from class com.microsoft.graph.models.DirectoryObject
deletedDateTime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
description
@SerializedName(value="description", alternate="Description") @Expose @Nullable public String descriptionThe Description. Description for this policy. Required. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. Display name for this policy. Required.
-
-
Constructor Details
-
PolicyBase
public PolicyBase()
-
-
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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classDirectoryObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-