次の方法で共有


ChannelsListResult Class

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

Implements

public final class ChannelsListResult
implements JsonSerializable<ChannelsListResult>

Result of the List Channels operation.

Constructor Summary

Constructor Description
ChannelsListResult()

Creates an instance of ChannelsListResult class.

Method Summary

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

Reads an instance of ChannelsListResult from the JsonReader.

String nextLink()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ChannelInner> value()

Get the value property: A collection of Channels.

ChannelsListResult withNextLink(String nextLink)

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

ChannelsListResult withValue(List<ChannelInner> value)

Set the value property: A collection of Channels.

Methods inherited from java.lang.Object

Constructor Details

ChannelsListResult

public ChannelsListResult()

Creates an instance of ChannelsListResult class.

Method Details

fromJson

public static ChannelsListResult fromJson(JsonReader jsonReader)

Reads an instance of ChannelsListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

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

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<ChannelInner> value()

Get the value property: A collection of Channels.

Returns:

the value value.

withNextLink

public ChannelsListResult withNextLink(String nextLink)

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

Parameters:

nextLink - the nextLink value to set.

Returns:

the ChannelsListResult object itself.

withValue

public ChannelsListResult withValue(List<ChannelInner> value)

Set the value property: A collection of Channels.

Parameters:

value - the value value to set.

Returns:

the ChannelsListResult object itself.

Applies to