WebPubSubHubList Class

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

Implements

public final class WebPubSubHubList
implements JsonSerializable<WebPubSubHubList>

Hub setting list.

Constructor Summary

Constructor Description
WebPubSubHubList()

Creates an instance of WebPubSubHubList class.

Method Summary

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

Reads an instance of WebPubSubHubList 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<WebPubSubHubInner> value()

Get the value property: List of hub settings to this resource.

WebPubSubHubList withValue(List<WebPubSubHubInner> value)

Set the value property: List of hub settings to this resource.

Methods inherited from java.lang.Object

Constructor Details

WebPubSubHubList

public WebPubSubHubList()

Creates an instance of WebPubSubHubList class.

Method Details

fromJson

public static WebPubSubHubList fromJson(JsonReader jsonReader)

Reads an instance of WebPubSubHubList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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<WebPubSubHubInner> value()

Get the value property: List of hub settings to this resource.

Returns:

the value value.

withValue

public WebPubSubHubList withValue(List<WebPubSubHubInner> value)

Set the value property: List of hub settings to this resource.

Parameters:

value - the value value to set.

Returns:

the WebPubSubHubList object itself.

Applies to