Udostępnij za pośrednictwem


PartnerTopicsListResult Class

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

Implements

public final class PartnerTopicsListResult
implements JsonSerializable<PartnerTopicsListResult>

Result of the List Partner Topics operation.

Constructor Summary

Constructor Description
PartnerTopicsListResult()

Creates an instance of PartnerTopicsListResult class.

Method Summary

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

Reads an instance of PartnerTopicsListResult from the JsonReader.

String nextLink()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<PartnerTopicInner> value()

Get the value property: A collection of partner topics.

PartnerTopicsListResult withNextLink(String nextLink)

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

PartnerTopicsListResult withValue(List<PartnerTopicInner> value)

Set the value property: A collection of partner topics.

Methods inherited from java.lang.Object

Constructor Details

PartnerTopicsListResult

public PartnerTopicsListResult()

Creates an instance of PartnerTopicsListResult class.

Method Details

fromJson

public static PartnerTopicsListResult fromJson(JsonReader jsonReader)

Reads an instance of PartnerTopicsListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

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

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<PartnerTopicInner> value()

Get the value property: A collection of partner topics.

Returns:

the value value.

withNextLink

public PartnerTopicsListResult withNextLink(String nextLink)

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

Parameters:

nextLink - the nextLink value to set.

Returns:

the PartnerTopicsListResult object itself.

withValue

public PartnerTopicsListResult withValue(List<PartnerTopicInner> value)

Set the value property: A collection of partner topics.

Parameters:

value - the value value to set.

Returns:

the PartnerTopicsListResult object itself.

Applies to