PythonPackageCreateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.automation.fluent.models.PythonPackageCreateProperties

Implements

public final class PythonPackageCreateProperties
implements JsonSerializable<PythonPackageCreateProperties>

The parameters supplied to the create or update module properties.

Constructor Summary

Constructor Description
PythonPackageCreateProperties()

Creates an instance of PythonPackageCreateProperties class.

Method Summary

Modifier and Type Method and Description
ContentLink contentLink()

Get the contentLink property: Gets or sets the module content link.

static PythonPackageCreateProperties fromJson(JsonReader jsonReader)

Reads an instance of PythonPackageCreateProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PythonPackageCreateProperties withContentLink(ContentLink contentLink)

Set the contentLink property: Gets or sets the module content link.

Methods inherited from java.lang.Object

Constructor Details

PythonPackageCreateProperties

public PythonPackageCreateProperties()

Creates an instance of PythonPackageCreateProperties class.

Method Details

contentLink

public ContentLink contentLink()

Get the contentLink property: Gets or sets the module content link.

Returns:

the contentLink value.

fromJson

public static PythonPackageCreateProperties fromJson(JsonReader jsonReader)

Reads an instance of PythonPackageCreateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PythonPackageCreateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withContentLink

public PythonPackageCreateProperties withContentLink(ContentLink contentLink)

Set the contentLink property: Gets or sets the module content link.

Parameters:

contentLink - the contentLink value to set.

Returns:

the PythonPackageCreateProperties object itself.

Applies to