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
  • Constructor Details

    • SignInFrequencySessionControl

      public SignInFrequencySessionControl()
      Instantiates a new SignInFrequencySessionControl and 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

      @Nullable public SignInFrequencyAuthenticationType 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class ConditionalAccessSessionControl
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFrequencyInterval

      @Nullable public SignInFrequencyInterval 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

      @Nullable public SigninFrequencyType getType()
      Gets the type property value. Possible values are: days, hours.
      Returns:
      a SigninFrequencyType
    • getValue

      @Nullable public Integer 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class ConditionalAccessSessionControl
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAuthenticationType

      public void setAuthenticationType(@Nullable SignInFrequencyAuthenticationType value)
      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

      public void setFrequencyInterval(@Nullable SignInFrequencyInterval value)
      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

      public void setType(@Nullable SigninFrequencyType value)
      Sets the type property value. Possible values are: days, hours.
      Parameters:
      value - Value to set for the type property.
    • setValue

      public void setValue(@Nullable Integer value)
      Sets the value property value. The number of days or hours.
      Parameters:
      value - Value to set for the value property.