Interface EmailTemplateContract
-
public interface EmailTemplateContract
An immutable client-side representation of EmailTemplateContract.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
EmailTemplateContract.Definition
The entirety of the EmailTemplateContract definition.static interface
EmailTemplateContract.DefinitionStages
The EmailTemplateContract definition stages.static interface
EmailTemplateContract.Update
The template for EmailTemplateContract update.static interface
EmailTemplateContract.UpdateStages
The EmailTemplateContract update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
body()
Gets the body property: Email Template Body.String
description()
Gets the description property: Description of the Email Template.String
id()
Gets the id property: Fully qualified resource Id for the resource.EmailTemplateContractInner
innerModel()
Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.EmailTemplateContractInner object.Boolean
isDefault()
Gets the isDefault property: Whether the template is the default template provided by API Management or has been edited.String
name()
Gets the name property: The name of the resource.List<EmailTemplateParametersContractProperties>
parameters()
Gets the parameters property: Email Template Parameter values.EmailTemplateContract
refresh()
Refreshes the resource to sync with Azure.EmailTemplateContract
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.String
subject()
Gets the subject property: Subject of the Template.String
title()
Gets the title property: Title of the Template.String
type()
Gets the type property: The type of the resource.EmailTemplateContract.Update
update()
Begins update for the EmailTemplateContract resource.
-
-
-
Method Detail
-
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.
-
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
EmailTemplateContract refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-