Table of Contents

Interface IBuilderForOptional

Namespace
Vonage.VerifyV2.UpdateTemplate
Assembly
Vonage.dll

Builder interface for setting optional properties on an UpdateTemplateRequest.

public interface IBuilderForOptional : IVonageRequestBuilder<UpdateTemplateRequest>
Inherited Members

Methods

SetAsDefaultTemplate()

Marks this template as the default template, used when no template_id is specified in verification requests.

IBuilderForOptional SetAsDefaultTemplate()

Returns

IBuilderForOptional

The builder for method chaining.

Examples

.SetAsDefaultTemplate()

SetAsNonDefaultTemplate()

Marks this template as non-default, so it will not be used unless explicitly specified.

IBuilderForOptional SetAsNonDefaultTemplate()

Returns

IBuilderForOptional

The builder for method chaining.

Examples

.SetAsNonDefaultTemplate()

WithName(string)

Sets the new reference name for the template. Must be unique within the account.

IBuilderForOptional WithName(string value)

Parameters

value string

The new template name (1-64 characters, alphanumeric with underscores and hyphens).

Returns

IBuilderForOptional

The builder for method chaining.

Examples

.WithName("new-template-name")