KubernetesVersionPatchParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.KubernetesVersionPatchParameters

Implements

public final class KubernetesVersionPatchParameters
implements JsonSerializable<KubernetesVersionPatchParameters>

KubernetesVersionPatchParameters represents the body of the request to patch Kubernetes version tags.

Constructor Summary

Constructor Description
KubernetesVersionPatchParameters()

Creates an instance of KubernetesVersionPatchParameters class.

Method Summary

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

Reads an instance of KubernetesVersionPatchParameters from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
KubernetesVersionPatchParameters withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

KubernetesVersionPatchParameters

public KubernetesVersionPatchParameters()

Creates an instance of KubernetesVersionPatchParameters class.

Method Details

fromJson

public static KubernetesVersionPatchParameters fromJson(JsonReader jsonReader)

Reads an instance of KubernetesVersionPatchParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withTags

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

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the KubernetesVersionPatchParameters object itself.

Applies to