WebPubSubResourceList Class

  • java.lang.Object
    • com.azure.resourcemanager.webpubsub.models.WebPubSubResourceList

Implements

public final class WebPubSubResourceList
implements JsonSerializable<WebPubSubResourceList>

Object that includes an array of resources and a possible link for next set.

Constructor Summary

Constructor Description
WebPubSubResourceList()

Creates an instance of WebPubSubResourceList class.

Method Summary

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

Reads an instance of WebPubSubResourceList from the JsonReader.

String nextLink()

Get the nextLink property: The URL the client should use to fetch the next page (per server side paging).

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<WebPubSubResourceInner> value()

Get the value property: List of the resources.

WebPubSubResourceList withNextLink(String nextLink)

Set the nextLink property: The URL the client should use to fetch the next page (per server side paging).

WebPubSubResourceList withValue(List<WebPubSubResourceInner> value)

Set the value property: List of the resources.

Methods inherited from java.lang.Object

Constructor Details

WebPubSubResourceList

public WebPubSubResourceList()

Creates an instance of WebPubSubResourceList class.

Method Details

fromJson

public static WebPubSubResourceList fromJson(JsonReader jsonReader)

Reads an instance of WebPubSubResourceList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The URL the client should use to fetch the next page (per server side paging). It's null for now, added for future use.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<WebPubSubResourceInner> value()

Get the value property: List of the resources.

Returns:

the value value.

withNextLink

public WebPubSubResourceList withNextLink(String nextLink)

Set the nextLink property: The URL the client should use to fetch the next page (per server side paging). It's null for now, added for future use.

Parameters:

nextLink - the nextLink value to set.

Returns:

the WebPubSubResourceList object itself.

withValue

public WebPubSubResourceList withValue(List<WebPubSubResourceInner> value)

Set the value property: List of the resources.

Parameters:

value - the value value to set.

Returns:

the WebPubSubResourceList object itself.

Applies to