Interface EmailTemplateContract
public interface EmailTemplateContract
An immutable client-side representation of EmailTemplateContract.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the EmailTemplateContract definition.static interfaceThe EmailTemplateContract definition stages.static interfaceThe template for EmailTemplateContract update.static interfaceThe EmailTemplateContract update stages. -
Method Summary
Modifier and TypeMethodDescriptionbody()Gets the body property: Email Template Body.Gets the description property: Description of the Email Template.id()Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.EmailTemplateContractInner object.Gets the isDefault property: Whether the template is the default template provided by API Management or has been edited.name()Gets the name property: The name of the resource.Gets the parameters property: Email Template Parameter values.refresh()Refreshes the resource to sync with Azure.refresh(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.subject()Gets the subject property: Subject of the Template.title()Gets the title property: Title of the Template.type()Gets the type property: The type of the resource.update()Begins update for the EmailTemplateContract resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
subject
String subject()Gets the subject property: Subject of the Template.- Returns:
- the subject value.
-
body
String body()Gets the body property: Email Template Body. This should be a valid XDocument.- Returns:
- the body value.
-
title
String title()Gets the title property: Title of the Template.- Returns:
- the title value.
-
description
String description()Gets the description property: Description of the Email Template.- Returns:
- the description value.
-
isDefault
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.
-
parameters
List<EmailTemplateParametersContractProperties> parameters()Gets the parameters property: Email Template Parameter values.- Returns:
- the parameters value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
EmailTemplateContractInner innerModel()Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.EmailTemplateContractInner object.- Returns:
- the inner object.
-
update
EmailTemplateContract.Update update()Begins update for the EmailTemplateContract resource.- Returns:
- the stage of resource update.
-
refresh
EmailTemplateContract refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context- The context to associate with this operation.- Returns:
- the refreshed resource.
-