TemplateHashResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. resources. fluent. models. TemplateHashResultInner
- com.
Implements
public final class TemplateHashResultInner
implements JsonSerializable<TemplateHashResultInner>
Result of the request to calculate template hash. It contains a string of minified template and its hash.
Constructor Summary
Constructor | Description |
---|---|
TemplateHashResultInner() |
Creates an instance of Template |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Template |
fromJson(JsonReader jsonReader)
Reads an instance of Template |
String |
minifiedTemplate()
Get the minified |
String |
templateHash()
Get the template |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Template |
withMinifiedTemplate(String minifiedTemplate)
Set the minified |
Template |
withTemplateHash(String templateHash)
Set the template |
Methods inherited from java.lang.Object
Constructor Details
TemplateHashResultInner
public TemplateHashResultInner()
Creates an instance of TemplateHashResultInner class.
Method Details
fromJson
public static TemplateHashResultInner fromJson(JsonReader jsonReader)
Reads an instance of TemplateHashResultInner from the JsonReader.
Parameters:
Returns:
Throws:
minifiedTemplate
public String minifiedTemplate()
Get the minifiedTemplate property: The minified template string.
Returns:
templateHash
public String templateHash()
Get the templateHash property: The template hash.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMinifiedTemplate
public TemplateHashResultInner withMinifiedTemplate(String minifiedTemplate)
Set the minifiedTemplate property: The minified template string.
Parameters:
Returns:
withTemplateHash
public TemplateHashResultInner withTemplateHash(String templateHash)
Set the templateHash property: The template hash.
Parameters:
Returns:
Applies to
Azure SDK for Java