PatchPayload Class

  • java.lang.Object
    • com.azure.resourcemanager.vmwarecloudsimple.models.PatchPayload

Implements

public final class PatchPayload
implements JsonSerializable<PatchPayload>

General patch payload modal.

Constructor Summary

Constructor Description
PatchPayload()

Creates an instance of PatchPayload class.

Method Summary

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

Reads an instance of PatchPayload from the JsonReader.

Map<String,String> tags()

Get the tags property: The tags key:value pairs.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PatchPayload withTags(Map<String,String> tags)

Set the tags property: The tags key:value pairs.

Methods inherited from java.lang.Object

Constructor Details

PatchPayload

public PatchPayload()

Creates an instance of PatchPayload class.

Method Details

fromJson

public static PatchPayload fromJson(JsonReader jsonReader)

Reads an instance of PatchPayload from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: The tags key:value pairs.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTags

public PatchPayload withTags(Map<String,String> tags)

Set the tags property: The tags key:value pairs.

Parameters:

tags - the tags value to set.

Returns:

the PatchPayload object itself.

Applies to