TagProductLinkCollection Class

  • java.lang.Object
    • com.azure.resourcemanager.apimanagement.models.TagProductLinkCollection

Implements

public final class TagProductLinkCollection
implements JsonSerializable<TagProductLinkCollection>

Paged Tag-product link list representation.

Constructor Summary

Constructor Description
TagProductLinkCollection()

Creates an instance of TagProductLinkCollection class.

Method Summary

Modifier and Type Method and Description
Long count()

Get the count property: Total record count number across all pages.

static TagProductLinkCollection fromJson(JsonReader jsonReader)

Reads an instance of TagProductLinkCollection from the JsonReader.

String nextLink()

Get the nextLink property: Next page link if any.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<TagProductLinkContractInner> value()

Get the value property: Page values.

TagProductLinkCollection withCount(Long count)

Set the count property: Total record count number across all pages.

TagProductLinkCollection withNextLink(String nextLink)

Set the nextLink property: Next page link if any.

TagProductLinkCollection withValue(List<TagProductLinkContractInner> value)

Set the value property: Page values.

Methods inherited from java.lang.Object

Constructor Details

TagProductLinkCollection

public TagProductLinkCollection()

Creates an instance of TagProductLinkCollection class.

Method Details

count

public Long count()

Get the count property: Total record count number across all pages.

Returns:

the count value.

fromJson

public static TagProductLinkCollection fromJson(JsonReader jsonReader)

Reads an instance of TagProductLinkCollection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Next page link if any.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<TagProductLinkContractInner> value()

Get the value property: Page values.

Returns:

the value value.

withCount

public TagProductLinkCollection withCount(Long count)

Set the count property: Total record count number across all pages.

Parameters:

count - the count value to set.

Returns:

the TagProductLinkCollection object itself.

withNextLink

public TagProductLinkCollection withNextLink(String nextLink)

Set the nextLink property: Next page link if any.

Parameters:

nextLink - the nextLink value to set.

Returns:

the TagProductLinkCollection object itself.

withValue

public TagProductLinkCollection withValue(List<TagProductLinkContractInner> value)

Set the value property: Page values.

Parameters:

value - the value value to set.

Returns:

the TagProductLinkCollection object itself.

Applies to