RelationshipListResult Class

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

Implements

public final class RelationshipListResult
implements JsonSerializable<RelationshipListResult>

The response of list relationship operation.

Constructor Summary

Constructor Description
RelationshipListResult()

Creates an instance of RelationshipListResult class.

Method Summary

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

Reads an instance of RelationshipListResult 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<RelationshipResourceFormatInner> value()

Get the value property: Results of the list operation.

RelationshipListResult withNextLink(String nextLink)

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

RelationshipListResult withValue(List<RelationshipResourceFormatInner> value)

Set the value property: Results of the list operation.

Methods inherited from java.lang.Object

Constructor Details

RelationshipListResult

public RelationshipListResult()

Creates an instance of RelationshipListResult class.

Method Details

fromJson

public static RelationshipListResult fromJson(JsonReader jsonReader)

Reads an instance of RelationshipListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 RelationshipListResult withNextLink(String nextLink)

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

Parameters:

nextLink - the nextLink value to set.

Returns:

the RelationshipListResult object itself.

withValue

public RelationshipListResult withValue(List value)

Set the value property: Results of the list operation.

Parameters:

value - the value value to set.

Returns:

the RelationshipListResult object itself.

Applies to

Azure SDK for Java

Preview