AccountPatchResource Class

public final class AccountPatchResource
extends TagUpdate

Account patch properties.

Constructor Summary

Constructor Description
AccountPatchResource()

Creates an instance of AccountPatchResource class.

Method Summary

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

Reads an instance of AccountPatchResource from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AccountPatchResource withTags(Map<String,String> tags)

Set the tags property: List of key value pairs that describe the resource.

Methods inherited from TagUpdate

Methods inherited from java.lang.Object

Constructor Details

AccountPatchResource

public AccountPatchResource()

Creates an instance of AccountPatchResource class.

Method Details

fromJson

public static AccountPatchResource fromJson(JsonReader jsonReader)

Reads an instance of AccountPatchResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AccountPatchResource.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

AccountPatchResource.validate()

withTags

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

Set the tags property: List of key value pairs that describe the resource. This will overwrite the existing tags.

Overrides:

AccountPatchResource.withTags(Map<String,String> tags)

Parameters:

tags

Applies to