PredictionListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.customerinsights.models.PredictionListResult

Implements

public final class PredictionListResult
implements JsonSerializable<PredictionListResult>

The response of list predictions operation.

Constructor Summary

Constructor Description
PredictionListResult()

Creates an instance of PredictionListResult class.

Method Summary

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

Reads an instance of PredictionListResult from the JsonReader.

String nextLink()

Get the nextLink property: Link to the next set of results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<PredictionResourceFormatInner> value()

Get the value property: Results of the list operation.

PredictionListResult withNextLink(String nextLink)

Set the nextLink property: Link to the next set of results.

PredictionListResult withValue(List<PredictionResourceFormatInner> value)

Set the value property: Results of the list operation.

Methods inherited from java.lang.Object

Constructor Details

PredictionListResult

public PredictionListResult()

Creates an instance of PredictionListResult class.

Method Details

fromJson

public static PredictionListResult fromJson(JsonReader jsonReader)

Reads an instance of PredictionListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Link to the next set of results.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: Results of the list operation.

Returns:

the value value.

withNextLink

public PredictionListResult withNextLink(String nextLink)

Set the nextLink property: Link to the next set of results.

Parameters:

nextLink - the nextLink value to set.

Returns:

the PredictionListResult object itself.

withValue

public PredictionListResult withValue(List value)

Set the value property: Results of the list operation.

Parameters:

value - the value value to set.

Returns:

the PredictionListResult object itself.

Applies to

Azure SDK for Java

Preview