DigitalTwinsDescriptionListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.digitaltwins.models.DigitalTwinsDescriptionListResult

Implements

public final class DigitalTwinsDescriptionListResult
implements JsonSerializable<DigitalTwinsDescriptionListResult>

A list of DigitalTwins description objects with a next link.

Constructor Summary

Constructor Description
DigitalTwinsDescriptionListResult()

Creates an instance of DigitalTwinsDescriptionListResult class.

Method Summary

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

Reads an instance of DigitalTwinsDescriptionListResult from the JsonReader.

String nextLink()

Get the nextLink property: The link used to get the next page of DigitalTwins description objects.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<DigitalTwinsDescriptionInner> value()

Get the value property: A list of DigitalTwins description objects.

DigitalTwinsDescriptionListResult withNextLink(String nextLink)

Set the nextLink property: The link used to get the next page of DigitalTwins description objects.

DigitalTwinsDescriptionListResult withValue(List<DigitalTwinsDescriptionInner> value)

Set the value property: A list of DigitalTwins description objects.

Methods inherited from java.lang.Object

Constructor Details

DigitalTwinsDescriptionListResult

public DigitalTwinsDescriptionListResult()

Creates an instance of DigitalTwinsDescriptionListResult class.

Method Details

fromJson

public static DigitalTwinsDescriptionListResult fromJson(JsonReader jsonReader)

Reads an instance of DigitalTwinsDescriptionListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The link used to get the next page of DigitalTwins description objects.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<DigitalTwinsDescriptionInner> value()

Get the value property: A list of DigitalTwins description objects.

Returns:

the value value.

withNextLink

public DigitalTwinsDescriptionListResult withNextLink(String nextLink)

Set the nextLink property: The link used to get the next page of DigitalTwins description objects.

Parameters:

nextLink - the nextLink value to set.

Returns:

the DigitalTwinsDescriptionListResult object itself.

withValue

public DigitalTwinsDescriptionListResult withValue(List<DigitalTwinsDescriptionInner> value)

Set the value property: A list of DigitalTwins description objects.

Parameters:

value - the value value to set.

Returns:

the DigitalTwinsDescriptionListResult object itself.

Applies to