Package com.microsoft.graph.models
Class ConditionalAccessTemplate
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ConditionalAccessTemplate
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ConditionalAccessTemplate
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 ConditionalAccessTemplate
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the description property value.Gets the details property value.The deserialization information for the current modelgetName()
Gets the name property value.Gets the scenarios property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setDescription
(String value) Sets the description property value.void
Sets the details property value.void
Sets the name property value.void
setScenarios
(EnumSet<TemplateScenarios> value) Sets the scenarios property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ConditionalAccessTemplate
public ConditionalAccessTemplate()Instantiates a newConditionalAccessTemplate
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ConditionalAccessTemplate 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
ConditionalAccessTemplate
-
getDescription
Gets the description property value. The user-friendly name of the template.- Returns:
- a
String
-
getDetails
Gets the details property value. The details property- Returns:
- a
ConditionalAccessPolicyDetail
-
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>>
-
getName
Gets the name property value. The user-friendly name of the template.- Returns:
- a
String
-
getScenarios
Gets the scenarios property value. The scenarios property- Returns:
- a
EnumSet<TemplateScenarios>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDescription
Sets the description property value. The user-friendly name of the template.- Parameters:
value
- Value to set for the description property.
-
setDetails
Sets the details property value. The details property- Parameters:
value
- Value to set for the details property.
-
setName
Sets the name property value. The user-friendly name of the template.- Parameters:
value
- Value to set for the name property.
-
setScenarios
Sets the scenarios property value. The scenarios property- Parameters:
value
- Value to set for the scenarios property.
-