ScriptExecutionsList Class

  • java.lang.Object
    • com.azure.resourcemanager.avs.models.ScriptExecutionsList

Implements

public final class ScriptExecutionsList
implements JsonSerializable<ScriptExecutionsList>

The response of a ScriptExecution list operation.

Constructor Summary

Constructor Description
ScriptExecutionsList()

Creates an instance of ScriptExecutionsList class.

Method Summary

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

Reads an instance of ScriptExecutionsList from the JsonReader.

String nextLink()

Get the nextLink property: The link to the next page of items.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ScriptExecutionInner> value()

Get the value property: The ScriptExecution items on this page.

ScriptExecutionsList withNextLink(String nextLink)

Set the nextLink property: The link to the next page of items.

ScriptExecutionsList withValue(List<ScriptExecutionInner> value)

Set the value property: The ScriptExecution items on this page.

Methods inherited from java.lang.Object

Constructor Details

ScriptExecutionsList

public ScriptExecutionsList()

Creates an instance of ScriptExecutionsList class.

Method Details

fromJson

public static ScriptExecutionsList fromJson(JsonReader jsonReader)

Reads an instance of ScriptExecutionsList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The link to the next page of items.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<ScriptExecutionInner> value()

Get the value property: The ScriptExecution items on this page.

Returns:

the value value.

withNextLink

public ScriptExecutionsList withNextLink(String nextLink)

Set the nextLink property: The link to the next page of items.

Parameters:

nextLink - the nextLink value to set.

Returns:

the ScriptExecutionsList object itself.

withValue

public ScriptExecutionsList withValue(List<ScriptExecutionInner> value)

Set the value property: The ScriptExecution items on this page.

Parameters:

value - the value value to set.

Returns:

the ScriptExecutionsList object itself.

Applies to