Package com.w3asel.inventree.model
Class AllauthRecoveryCodesAuthenticator
java.lang.Object
com.w3asel.inventree.model.AllauthRecoveryCodesAuthenticator
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-09-18T21:37:15.178287456Z[Etc/UTC]",
comments="Generator version: 7.15.0")
public class AllauthRecoveryCodesAuthenticator
extends Object
AllauthRecoveryCodesAuthenticator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(BigDecimal createdAt) booleanCreate an instance of AllauthRecoveryCodesAuthenticator given an JSON stringAn epoch based timestamp (trivial to parse using: `new Date(value)*1000`)An epoch based timestamp (trivial to parse using: `new Date(value)*1000`)The total number of recovery codes that initially were available.getType()The authenticator type.The number of recovery codes that are unused.inthashCode()lastUsedAt(BigDecimal lastUsedAt) voidsetCreatedAt(BigDecimal createdAt) voidsetLastUsedAt(BigDecimal lastUsedAt) voidsetTotalCodeCount(Integer totalCodeCount) voidvoidsetUnusedCodeCount(Integer unusedCodeCount) toJson()Convert an instance of AllauthRecoveryCodesAuthenticator to an JSON stringtoString()totalCodeCount(Integer totalCodeCount) unusedCodeCount(Integer unusedCodeCount) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LAST_USED_AT
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_TOTAL_CODE_COUNT
- See Also:
-
SERIALIZED_NAME_UNUSED_CODE_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AllauthRecoveryCodesAuthenticator
public AllauthRecoveryCodesAuthenticator()
-
-
Method Details
-
lastUsedAt
-
getLastUsedAt
An epoch based timestamp (trivial to parse using: `new Date(value)*1000`)- Returns:
- lastUsedAt
-
setLastUsedAt
-
createdAt
-
getCreatedAt
An epoch based timestamp (trivial to parse using: `new Date(value)*1000`)- Returns:
- createdAt
-
setCreatedAt
-
type
-
getType
The authenticator type.- Returns:
- type
-
setType
-
totalCodeCount
-
getTotalCodeCount
The total number of recovery codes that initially were available.- Returns:
- totalCodeCount
-
setTotalCodeCount
-
unusedCodeCount
-
getUnusedCodeCount
The number of recovery codes that are unused.- Returns:
- unusedCodeCount
-
setUnusedCodeCount
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to AllauthRecoveryCodesAuthenticator
-
fromJson
Create an instance of AllauthRecoveryCodesAuthenticator given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AllauthRecoveryCodesAuthenticator
- Throws:
IOException- if the JSON string is invalid with respect to AllauthRecoveryCodesAuthenticator
-
toJson
Convert an instance of AllauthRecoveryCodesAuthenticator to an JSON string- Returns:
- JSON string
-