Package com.microsoft.graph.models
Class ConditionalAccessPolicy
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ConditionalAccessPolicy
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ConditionalAccessPolicy
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConditionalAccessPolicy
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the conditions property value.Gets the createdDateTime property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the grantControls property value.Gets the modifiedDateTime property value.Gets the sessionControls property value.getState()
Gets the state property value.Gets the templateId property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the conditions property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the grantControls property value.void
Sets the modifiedDateTime property value.void
Sets the sessionControls property value.void
Sets the state property value.void
setTemplateId
(String value) Sets the templateId property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ConditionalAccessPolicy
public ConditionalAccessPolicy()Instantiates a newConditionalAccessPolicy
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ConditionalAccessPolicy 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
ConditionalAccessPolicy
-
getConditions
Gets the conditions property value. The conditions property- Returns:
- a
ConditionalAccessConditionSet
-
getCreatedDateTime
Gets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. The description property- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. Specifies a display name for the conditionalAccessPolicy object.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getGrantControls
Gets the grantControls property value. Specifies the grant controls that must be fulfilled to pass the policy.- Returns:
- a
ConditionalAccessGrantControls
-
getModifiedDateTime
Gets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly.- Returns:
- a
OffsetDateTime
-
getSessionControls
Gets the sessionControls property value. Specifies the session controls that are enforced after sign-in.- Returns:
- a
ConditionalAccessSessionControls
-
getState
Gets the state property value. The state property- Returns:
- a
ConditionalAccessPolicyState
-
getTemplateId
Gets the templateId property value. The templateId property- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setConditions
Sets the conditions property value. The conditions property- Parameters:
value
- Value to set for the conditions property.
-
setCreatedDateTime
Sets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescription
Sets the description property value. The description property- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. Specifies a display name for the conditionalAccessPolicy object.- Parameters:
value
- Value to set for the displayName property.
-
setGrantControls
Sets the grantControls property value. Specifies the grant controls that must be fulfilled to pass the policy.- Parameters:
value
- Value to set for the grantControls property.
-
setModifiedDateTime
Sets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly.- Parameters:
value
- Value to set for the modifiedDateTime property.
-
setSessionControls
Sets the sessionControls property value. Specifies the session controls that are enforced after sign-in.- Parameters:
value
- Value to set for the sessionControls property.
-
setState
Sets the state property value. The state property- Parameters:
value
- Value to set for the state property.
-
setTemplateId
Sets the templateId property value. The templateId property- Parameters:
value
- Value to set for the templateId property.
-