CodeVersionResourceArmPaginatedResult Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.CodeVersionResourceArmPaginatedResult

Implements

public final class CodeVersionResourceArmPaginatedResult
implements JsonSerializable<CodeVersionResourceArmPaginatedResult>

A paginated list of CodeVersion entities.

Constructor Summary

Constructor Description
CodeVersionResourceArmPaginatedResult()

Creates an instance of CodeVersionResourceArmPaginatedResult class.

Method Summary

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

Reads an instance of CodeVersionResourceArmPaginatedResult from the JsonReader.

String nextLink()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<CodeVersionInner> value()

Get the value property: An array of objects of type CodeVersion.

CodeVersionResourceArmPaginatedResult withNextLink(String nextLink)

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

CodeVersionResourceArmPaginatedResult withValue(List<CodeVersionInner> value)

Set the value property: An array of objects of type CodeVersion.

Methods inherited from java.lang.Object

Constructor Details

CodeVersionResourceArmPaginatedResult

public CodeVersionResourceArmPaginatedResult()

Creates an instance of CodeVersionResourceArmPaginatedResult class.

Method Details

fromJson

public static CodeVersionResourceArmPaginatedResult fromJson(JsonReader jsonReader)

Reads an instance of CodeVersionResourceArmPaginatedResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The link to the next page of CodeVersion objects. If null, there are no additional pages.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<CodeVersionInner> value()

Get the value property: An array of objects of type CodeVersion.

Returns:

the value value.

withNextLink

public CodeVersionResourceArmPaginatedResult withNextLink(String nextLink)

Set the nextLink property: The link to the next page of CodeVersion objects. If null, there are no additional pages.

Parameters:

nextLink - the nextLink value to set.

Returns:

the CodeVersionResourceArmPaginatedResult object itself.

withValue

public CodeVersionResourceArmPaginatedResult withValue(List<CodeVersionInner> value)

Set the value property: An array of objects of type CodeVersion.

Parameters:

value - the value value to set.

Returns:

the CodeVersionResourceArmPaginatedResult object itself.

Applies to