Name | Type | Description | Notes |
---|---|---|---|
identifier | CreateAndSendVerificationCodeRequestIdentifier | ||
interaction_event | str | The interaction event for which the verification code will be used. Supported values are `SignIn`, `Register`, and `ForgotPassword`. This determines the template for the verification code. |
from py_logto.models.create_and_send_verification_code_request import CreateAndSendVerificationCodeRequest
# TODO update the JSON string below
json = "{}"
# create an instance of CreateAndSendVerificationCodeRequest from a JSON string
create_and_send_verification_code_request_instance = CreateAndSendVerificationCodeRequest.from_json(json)
# print the JSON string representation of the object
print(CreateAndSendVerificationCodeRequest.to_json())
# convert the object into a dict
create_and_send_verification_code_request_dict = create_and_send_verification_code_request_instance.to_dict()
# create an instance of CreateAndSendVerificationCodeRequest from a dict
create_and_send_verification_code_request_from_dict = CreateAndSendVerificationCodeRequest.from_dict(create_and_send_verification_code_request_dict)