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

ContentHash Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.ContentHash

Implements

public final class ContentHash
implements JsonSerializable<ContentHash>

The content hash.

Method Summary

Modifier and Type Method and Description
String algorithm()

Get the algorithm property: The algorithm of the content hash.

static ContentHash fromJson(JsonReader jsonReader)

Reads an instance of ContentHash from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: The value of the content hash.

Methods inherited from java.lang.Object

Method Details

algorithm

public String algorithm()

Get the algorithm property: The algorithm of the content hash.

Returns:

the algorithm value.

fromJson

public static ContentHash fromJson(JsonReader jsonReader)

Reads an instance of ContentHash from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ContentHash 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 ContentHash.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The value of the content hash.

Returns:

the value value.

Applies to