Condividi tramite


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