Udostępnij za pośrednictwem


TopicsListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.TopicsListResult

Implements

public final class TopicsListResult
implements JsonSerializable<TopicsListResult>

Result of the List Topics operation.

Constructor Summary

Constructor Description
TopicsListResult()

Creates an instance of TopicsListResult class.

Method Summary

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

Reads an instance of TopicsListResult from the JsonReader.

String nextLink()

Get the nextLink property: A link for the next page of topics.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<TopicInner> value()

Get the value property: A collection of Topics.

TopicsListResult withNextLink(String nextLink)

Set the nextLink property: A link for the next page of topics.

TopicsListResult withValue(List<TopicInner> value)

Set the value property: A collection of Topics.

Methods inherited from java.lang.Object

Constructor Details

TopicsListResult

public TopicsListResult()

Creates an instance of TopicsListResult class.

Method Details

fromJson

public static TopicsListResult fromJson(JsonReader jsonReader)

Reads an instance of TopicsListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: A link for the next page of topics.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<TopicInner> value()

Get the value property: A collection of Topics.

Returns:

the value value.

withNextLink

public TopicsListResult withNextLink(String nextLink)

Set the nextLink property: A link for the next page of topics.

Parameters:

nextLink - the nextLink value to set.

Returns:

the TopicsListResult object itself.

withValue

public TopicsListResult withValue(List<TopicInner> value)

Set the value property: A collection of Topics.

Parameters:

value - the value value to set.

Returns:

the TopicsListResult object itself.

Applies to