Udostępnij za pośrednictwem


SubscriptionsListResult Class

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

Implements

public final class SubscriptionsListResult
implements JsonSerializable<SubscriptionsListResult>

Result of the List event subscriptions operation.

Constructor Summary

Constructor Description
SubscriptionsListResult()

Creates an instance of SubscriptionsListResult class.

Method Summary

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

Reads an instance of SubscriptionsListResult from the JsonReader.

String nextLink()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SubscriptionInner> value()

Get the value property: A collection of Subscriptions.

SubscriptionsListResult withNextLink(String nextLink)

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

SubscriptionsListResult withValue(List<SubscriptionInner> value)

Set the value property: A collection of Subscriptions.

Methods inherited from java.lang.Object

Constructor Details

SubscriptionsListResult

public SubscriptionsListResult()

Creates an instance of SubscriptionsListResult class.

Method Details

fromJson

public static SubscriptionsListResult fromJson(JsonReader jsonReader)

Reads an instance of SubscriptionsListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

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

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<SubscriptionInner> value()

Get the value property: A collection of Subscriptions.

Returns:

the value value.

withNextLink

public SubscriptionsListResult withNextLink(String nextLink)

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

Parameters:

nextLink - the nextLink value to set.

Returns:

the SubscriptionsListResult object itself.

withValue

public SubscriptionsListResult withValue(List<SubscriptionInner> value)

Set the value property: A collection of Subscriptions.

Parameters:

value - the value value to set.

Returns:

the SubscriptionsListResult object itself.

Applies to