PythonPackageUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.automation.models.PythonPackageUpdateParameters

Implements

public final class PythonPackageUpdateParameters
implements JsonSerializable<PythonPackageUpdateParameters>

The parameters supplied to the update module operation.

Constructor Summary

Constructor Description
PythonPackageUpdateParameters()

Creates an instance of PythonPackageUpdateParameters class.

Method Summary

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

Reads an instance of PythonPackageUpdateParameters from the JsonReader.

Map<String,String> tags()

Get the tags property: Gets or sets the tags attached to the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PythonPackageUpdateParameters withTags(Map<String,String> tags)

Set the tags property: Gets or sets the tags attached to the resource.

Methods inherited from java.lang.Object

Constructor Details

PythonPackageUpdateParameters

public PythonPackageUpdateParameters()

Creates an instance of PythonPackageUpdateParameters class.

Method Details

fromJson

public static PythonPackageUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of PythonPackageUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: Gets or sets the tags attached to the resource.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTags

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

Set the tags property: Gets or sets the tags attached to the resource.

Parameters:

tags - the tags value to set.

Returns:

the PythonPackageUpdateParameters object itself.

Applies to