Share via


RunListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.models.RunListResult

Implements

public final class RunListResult
implements JsonSerializable<RunListResult>

Collection of runs.

Constructor Summary

Constructor Description
RunListResult()

Creates an instance of RunListResult class.

Method Summary

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

Reads an instance of RunListResult from the JsonReader.

String nextLink()

Get the nextLink property: The URI that can be used to request the next set of paged results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<RunInner> value()

Get the value property: The collection value.

RunListResult withNextLink(String nextLink)

Set the nextLink property: The URI that can be used to request the next set of paged results.

RunListResult withValue(List<RunInner> value)

Set the value property: The collection value.

Methods inherited from java.lang.Object

Constructor Details

RunListResult

public RunListResult()

Creates an instance of RunListResult class.

Method Details

fromJson

public static RunListResult fromJson(JsonReader jsonReader)

Reads an instance of RunListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The URI that can be used to request the next set of paged results.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<RunInner> value()

Get the value property: The collection value.

Returns:

the value value.

withNextLink

public RunListResult withNextLink(String nextLink)

Set the nextLink property: The URI that can be used to request the next set of paged results.

Parameters:

nextLink - the nextLink value to set.

Returns:

the RunListResult object itself.

withValue

public RunListResult withValue(List<RunInner> value)

Set the value property: The collection value.

Parameters:

value - the value value to set.

Returns:

the RunListResult object itself.

Applies to