Table of Contents

Class CreateEmailTemplateResponseContent

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
[Serializable]
public record CreateEmailTemplateResponseContent : IJsonOnDeserialized, IEquatable<CreateEmailTemplateResponseContent>
Inheritance
CreateEmailTemplateResponseContent
Implements
Inherited Members
Extension Methods

Properties

AdditionalProperties

[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }

Property Value

ReadOnlyAdditionalProperties

Body

Body of the email template.

[JsonPropertyName("body")]
public Optional<string?> Body { get; set; }

Property Value

Optional<string>

Enabled

Whether the template is enabled (true) or disabled (false).

[JsonPropertyName("enabled")]
public Optional<bool?> Enabled { get; set; }

Property Value

Optional<bool?>

From

Senders from email address.

[JsonPropertyName("from")]
public Optional<string?> From { get; set; }

Property Value

Optional<string>

IncludeEmailInRedirect

Whether the reset_email and verify_email templates should include the user's email address as the email parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true.

[JsonPropertyName("includeEmailInRedirect")]
public bool? IncludeEmailInRedirect { get; set; }

Property Value

bool?

ResultUrl

URL to redirect the user to after a successful action.

[JsonPropertyName("resultUrl")]
public Optional<string?> ResultUrl { get; set; }

Property Value

Optional<string>

Subject

Subject line of the email.

[JsonPropertyName("subject")]
public Optional<string?> Subject { get; set; }

Property Value

Optional<string>

Syntax

Syntax of the template body.

[JsonPropertyName("syntax")]
public Optional<string?> Syntax { get; set; }

Property Value

Optional<string>

Template

[JsonPropertyName("template")]
public required EmailTemplateNameEnum Template { get; set; }

Property Value

EmailTemplateNameEnum

UrlLifetimeInSeconds

Lifetime in seconds that the link within the email will be valid for.

[JsonPropertyName("urlLifetimeInSeconds")]
public Optional<double?> UrlLifetimeInSeconds { get; set; }

Property Value

Optional<double?>

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.