SignalRServiceUsageList Class

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

Implements

public final class SignalRServiceUsageList
implements JsonSerializable<SignalRServiceUsageList>

Object that includes an array of the resource usages and a possible link for next set.

Constructor Summary

Constructor Description
SignalRServiceUsageList()

Creates an instance of SignalRServiceUsageList class.

Method Summary

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

Reads an instance of SignalRServiceUsageList 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<SignalRServiceUsageInner> value()

Get the value property: List of the resource usages.

SignalRServiceUsageList withNextLink(String nextLink)

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

SignalRServiceUsageList withValue(List<SignalRServiceUsageInner> value)

Set the value property: List of the resource usages.

Methods inherited from java.lang.Object

Constructor Details

SignalRServiceUsageList

public SignalRServiceUsageList()

Creates an instance of SignalRServiceUsageList class.

Method Details

fromJson

public static SignalRServiceUsageList fromJson(JsonReader jsonReader)

Reads an instance of SignalRServiceUsageList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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

Get the value property: List of the resource usages.

Returns:

the value value.

withNextLink

public SignalRServiceUsageList 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 SignalRServiceUsageList object itself.

withValue

public SignalRServiceUsageList withValue(List<SignalRServiceUsageInner> value)

Set the value property: List of the resource usages.

Parameters:

value - the value value to set.

Returns:

the SignalRServiceUsageList object itself.

Applies to