Share via


CustomerSubscriptionList Class

  • java.lang.Object
    • com.azure.resourcemanager.azurestack.models.CustomerSubscriptionList

Implements

public final class CustomerSubscriptionList
implements JsonSerializable<CustomerSubscriptionList>

Pageable list of customer subscriptions.

Constructor Summary

Constructor Description
CustomerSubscriptionList()

Creates an instance of CustomerSubscriptionList class.

Method Summary

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

Reads an instance of CustomerSubscriptionList from the JsonReader.

String nextLink()

Get the nextLink property: URI to the next page.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<CustomerSubscriptionInner> value()

Get the value property: List of customer subscriptions.

CustomerSubscriptionList withNextLink(String nextLink)

Set the nextLink property: URI to the next page.

CustomerSubscriptionList withValue(List<CustomerSubscriptionInner> value)

Set the value property: List of customer subscriptions.

Methods inherited from java.lang.Object

Constructor Details

CustomerSubscriptionList

public CustomerSubscriptionList()

Creates an instance of CustomerSubscriptionList class.

Method Details

fromJson

public static CustomerSubscriptionList fromJson(JsonReader jsonReader)

Reads an instance of CustomerSubscriptionList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: URI to the next page.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<CustomerSubscriptionInner> value()

Get the value property: List of customer subscriptions.

Returns:

the value value.

withNextLink

public CustomerSubscriptionList withNextLink(String nextLink)

Set the nextLink property: URI to the next page.

Parameters:

nextLink - the nextLink value to set.

Returns:

the CustomerSubscriptionList object itself.

withValue

public CustomerSubscriptionList withValue(List<CustomerSubscriptionInner> value)

Set the value property: List of customer subscriptions.

Parameters:

value - the value value to set.

Returns:

the CustomerSubscriptionList object itself.

Applies to