Share via


ScriptPackageProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.avs.fluent.models.ScriptPackageProperties

Implements

public final class ScriptPackageProperties
implements JsonSerializable<ScriptPackageProperties>

Properties of a Script Package subresource.

Constructor Summary

Constructor Description
ScriptPackageProperties()

Creates an instance of ScriptPackageProperties class.

Method Summary

Modifier and Type Method and Description
String company()

Get the company property: Company that created and supports the package.

String description()

Get the description property: User friendly description of the package.

static ScriptPackageProperties fromJson(JsonReader jsonReader)

Reads an instance of ScriptPackageProperties from the JsonReader.

ScriptPackageProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String uri()

Get the uri property: Link to support by the package vendor.

void validate()

Validates the instance.

String version()

Get the version property: Module version.

Methods inherited from java.lang.Object

Constructor Details

ScriptPackageProperties

public ScriptPackageProperties()

Creates an instance of ScriptPackageProperties class.

Method Details

company

public String company()

Get the company property: Company that created and supports the package.

Returns:

the company value.

description

public String description()

Get the description property: User friendly description of the package.

Returns:

the description value.

fromJson

public static ScriptPackageProperties fromJson(JsonReader jsonReader)

Reads an instance of ScriptPackageProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ScriptPackageProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uri

public String uri()

Get the uri property: Link to support by the package vendor.

Returns:

the uri value.

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: Module version.

Returns:

the version value.

Applies to