次の方法で共有


NamespaceTopicsListResult Class

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

Implements

public final class NamespaceTopicsListResult
implements JsonSerializable<NamespaceTopicsListResult>

Result of the List namespace topics operation.

Constructor Summary

Constructor Description
NamespaceTopicsListResult()

Creates an instance of NamespaceTopicsListResult class.

Method Summary

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

Reads an instance of NamespaceTopicsListResult from the JsonReader.

String nextLink()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<NamespaceTopicInner> value()

Get the value property: A collection of namespace topics.

NamespaceTopicsListResult withNextLink(String nextLink)

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

NamespaceTopicsListResult withValue(List<NamespaceTopicInner> value)

Set the value property: A collection of namespace topics.

Methods inherited from java.lang.Object

Constructor Details

NamespaceTopicsListResult

public NamespaceTopicsListResult()

Creates an instance of NamespaceTopicsListResult class.

Method Details

fromJson

public static NamespaceTopicsListResult fromJson(JsonReader jsonReader)

Reads an instance of NamespaceTopicsListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

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

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<NamespaceTopicInner> value()

Get the value property: A collection of namespace topics.

Returns:

the value value.

withNextLink

public NamespaceTopicsListResult withNextLink(String nextLink)

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

Parameters:

nextLink - the nextLink value to set.

Returns:

the NamespaceTopicsListResult object itself.

withValue

public NamespaceTopicsListResult withValue(List<NamespaceTopicInner> value)

Set the value property: A collection of namespace topics.

Parameters:

value - the value value to set.

Returns:

the NamespaceTopicsListResult object itself.

Applies to