Package com.microsoft.graph.models
Class QrPin
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.QrPin
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class QrPin
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 QrPincreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valuegetCode()Gets the code property value.Gets the createdDateTime property value.The deserialization information for the current modelGets the forceChangePinNextSignIn property value.Gets the updatedDateTime property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the code property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidSets the forceChangePinNextSignIn property value.voidsetUpdatedDateTime(OffsetDateTime value) Sets the updatedDateTime property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
QrPin
public QrPin()Instantiates a newQrPinand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static QrPin 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
QrPin
-
getCode
Gets the code property value. The PIN code value. This property is only returned at the time of creating or resetting the PIN. For GET operations, this property returns null. The PIN must be between 8-20 digits.- Returns:
- a
String
-
getCreatedDateTime
Gets the createdDateTime property value. The date and time when the PIN was created. Read-only.- Returns:
- a
OffsetDateTime
-
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 classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getForceChangePinNextSignIn
Gets the forceChangePinNextSignIn property value. Indicates whether the user must change the PIN on their next sign-in. This is true when an admin creates or resets the PIN, and false after the user changes it.- Returns:
- a
Boolean
-
getUpdatedDateTime
Gets the updatedDateTime property value. The date and time when the PIN was last updated. Read-only.- Returns:
- a
OffsetDateTime
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCode
Sets the code property value. The PIN code value. This property is only returned at the time of creating or resetting the PIN. For GET operations, this property returns null. The PIN must be between 8-20 digits.- Parameters:
value- Value to set for the code property.
-
setCreatedDateTime
Sets the createdDateTime property value. The date and time when the PIN was created. Read-only.- Parameters:
value- Value to set for the createdDateTime property.
-
setForceChangePinNextSignIn
Sets the forceChangePinNextSignIn property value. Indicates whether the user must change the PIN on their next sign-in. This is true when an admin creates or resets the PIN, and false after the user changes it.- Parameters:
value- Value to set for the forceChangePinNextSignIn property.
-
setUpdatedDateTime
Sets the updatedDateTime property value. The date and time when the PIN was last updated. Read-only.- Parameters:
value- Value to set for the updatedDateTime property.
-