Package com.microsoft.graph.models
Class SignInFrequencySessionControl
java.lang.Object
com.microsoft.graph.models.ConditionalAccessSessionControl
com.microsoft.graph.models.SignInFrequencySessionControl
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class SignInFrequencySessionControl
extends ConditionalAccessSessionControl
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.ConditionalAccessSessionControl
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newSignInFrequencySessionControland sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the authenticationType property value.The deserialization information for the current modelGets the frequencyInterval property value.getType()Gets the type property value.getValue()Gets the value property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the authenticationType property value.voidSets the frequencyInterval property value.voidsetType(SigninFrequencyType value) Sets the type property value.voidSets the value property value.Methods inherited from class com.microsoft.graph.models.ConditionalAccessSessionControl
getAdditionalData, getBackingStore, getIsEnabled, getOdataType, setAdditionalData, setBackingStore, setIsEnabled, setOdataType
-
Constructor Details
-
SignInFrequencySessionControl
public SignInFrequencySessionControl()Instantiates a newSignInFrequencySessionControland sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static SignInFrequencySessionControl 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
SignInFrequencySessionControl
-
getAuthenticationType
Gets the authenticationType property value. The possible values are primaryAndSecondaryAuthentication, secondaryAuthentication, unknownFutureValue. This property isn't required when using frequencyInterval with the value of timeBased.- Returns:
- a
SignInFrequencyAuthenticationType
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classConditionalAccessSessionControl- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFrequencyInterval
Gets the frequencyInterval property value. The possible values are timeBased, everyTime, unknownFutureValue. Sign-in frequency of everyTime is available for risky users, risky sign-ins, and Intune device enrollment. For more information, see Require reauthentication every time.- Returns:
- a
SignInFrequencyInterval
-
getType
Gets the type property value. Possible values are: days, hours.- Returns:
- a
SigninFrequencyType
-
getValue
Gets the value property value. The number of days or hours.- Returns:
- a
Integer
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classConditionalAccessSessionControl- Parameters:
writer- Serialization writer to use to serialize this model
-
setAuthenticationType
Sets the authenticationType property value. The possible values are primaryAndSecondaryAuthentication, secondaryAuthentication, unknownFutureValue. This property isn't required when using frequencyInterval with the value of timeBased.- Parameters:
value- Value to set for the authenticationType property.
-
setFrequencyInterval
Sets the frequencyInterval property value. The possible values are timeBased, everyTime, unknownFutureValue. Sign-in frequency of everyTime is available for risky users, risky sign-ins, and Intune device enrollment. For more information, see Require reauthentication every time.- Parameters:
value- Value to set for the frequencyInterval property.
-
setType
Sets the type property value. Possible values are: days, hours.- Parameters:
value- Value to set for the type property.
-
setValue
Sets the value property value. The number of days or hours.- Parameters:
value- Value to set for the value property.
-