你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

TemplateHashResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluent.models.TemplateHashResultInner

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.

Method Summary

Modifier and Type Method and Description
static TemplateHashResultInner fromJson(JsonReader jsonReader)

Reads an instance of TemplateHashResultInner from the JsonReader.

String minifiedTemplate()

Get the minifiedTemplate property: The minified template string.

String templateHash()

Get the templateHash property: The template hash.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static TemplateHashResultInner fromJson(JsonReader jsonReader)

Reads an instance of TemplateHashResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TemplateHashResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TemplateHashResultInner.

minifiedTemplate

public String minifiedTemplate()

Get the minifiedTemplate property: The minified template string.

Returns:

the minifiedTemplate value.

templateHash

public String templateHash()

Get the templateHash property: The template hash.

Returns:

the templateHash value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to