EmailTemplateContract Interface

public interface EmailTemplateContract

An immutable client-side representation of EmailTemplateContract.

Method Summary

Modifier and Type Method and Description
abstract String body()

Gets the body property: Email Template Body.

abstract String description()

Gets the description property: Description of the Email Template.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract EmailTemplateContractInner innerModel()

Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.EmailTemplateContractInner object.

abstract Boolean isDefault()

Gets the isDefault property: Whether the template is the default template provided by API Management or has been edited.

abstract String name()

Gets the name property: The name of the resource.

abstract List<EmailTemplateParametersContractProperties> parameters()

Gets the parameters property: Email Template Parameter values.

abstract EmailTemplateContract refresh()

Refreshes the resource to sync with Azure.

abstract EmailTemplateContract refresh(Context context)

Refreshes the resource to sync with Azure.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract String subject()

Gets the subject property: Subject of the Template.

abstract String title()

Gets the title property: Title of the Template.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the EmailTemplateContract resource.

Method Details

body

public abstract String body()

Gets the body property: Email Template Body. This should be a valid XDocument.

Returns:

the body value.

description

public abstract String description()

Gets the description property: Description of the Email Template.

Returns:

the description value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract EmailTemplateContractInner innerModel()

Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.EmailTemplateContractInner object.

Returns:

the inner object.

isDefault

public abstract Boolean isDefault()

Gets the isDefault property: Whether the template is the default template provided by API Management or has been edited.

Returns:

the isDefault value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

parameters

public abstract List parameters()

Gets the parameters property: Email Template Parameter values.

Returns:

the parameters value.

refresh

public abstract EmailTemplateContract refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract EmailTemplateContract refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

subject

public abstract String subject()

Gets the subject property: Subject of the Template.

Returns:

the subject value.

title

public abstract String title()

Gets the title property: Title of the Template.

Returns:

the title value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract EmailTemplateContract.Update update()

Begins update for the EmailTemplateContract resource.

Returns:

the stage of resource update.

Applies to