Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.65 KB

File metadata and controls

33 lines (25 loc) · 1.65 KB

TwoFaTemplateResource

Properties

Name Type Description Notes
template_id int Unique, automatically generated by a system identifier of the template within the TwoFA service. [optional]
name str Name of the template. A string of 3 to 50 characters. [optional]
text str The text of the template message. [optional]
countries List[str] Two-letter country code(s) for which the template must apply. Sending messages with the OTP code will only be possible if the recipient’s number belongs to the country you specify for the template. [optional]
status OtpTemplateStatus [optional]
updated_at datetime Date and time of the last change of the template in ISO 8601 format. [optional]

Example

from bsg_api.models.two_fa_template_resource import TwoFaTemplateResource

# TODO update the JSON string below
json = "{}"
# create an instance of TwoFaTemplateResource from a JSON string
two_fa_template_resource_instance = TwoFaTemplateResource.from_json(json)
# print the JSON string representation of the object
print(TwoFaTemplateResource.to_json())

# convert the object into a dict
two_fa_template_resource_dict = two_fa_template_resource_instance.to_dict()
# create an instance of TwoFaTemplateResource from a dict
two_fa_template_resource_from_dict = TwoFaTemplateResource.from_dict(two_fa_template_resource_dict)

[Back to Model list] [Back to API list] [Back to README]