All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.workos.usermanagement.models.EmailVerification.kt Maven / Gradle / Ivy

Go to download

The WorkOS Kotlin library provides convenient access to the WorkOS API from applications written in JVM compatible languages.

The newest version!
package com.workos.usermanagement.models

import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonProperty

/**
 * An email verification code that allows the recipient to verify their email
 *
 * @param id The unique ID of the email verification code.
 * @param userId The unique ID of the user.
 * @param email The email address of the user.
 * @param expiresAt The timestamp when the email verification code will expire.
 * @param code The email verification code.
 * @param createdAt The timestamp when the email verification code was created.
 * @param updatedAt The timestamp when the email verification code was last updated.
 */
data class EmailVerification @JsonCreator constructor(
  @JsonProperty("id")
  val id: String,

  @JsonProperty("user_id")
  val userId: String,

  @JsonProperty("email")
  val email: String,

  @JsonProperty("expires_at")
  val expiresAt: String,

  @JsonProperty("code")
  val code: String,

  @JsonProperty("created_at")
  val createdAt: String,

  @JsonProperty("updated_at")
  val updatedAt: String
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy