azure-docs-sdk-java/docs-ref-autogen/com.azure.core.http.rest.Pa...

33 строки
2.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.http.rest.Page"
fullName: "com.azure.core.http.rest.Page<T>"
name: "Page<T>"
nameWithType: "Page<T>"
summary: "Represents a paginated REST response from the service."
syntax: "public interface **Page<T>**</br> extends <xref href=\"com.azure.core.util.paging.ContinuablePage?alt=com.azure.core.util.paging.ContinuablePage&text=ContinuablePage\" data-throw-if-not-resolved=\"False\" />&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
methods:
- uid: "com.azure.core.http.rest.Page.getItems()"
fullName: "com.azure.core.http.rest.Page<T>.getItems()"
name: "getItems()"
nameWithType: "Page<T>.getItems()"
summary: "Get list of elements in the page."
deprecatedTag: "use <xref uid=\"com.azure.core.http.rest.Page.getElements*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#getElements()\"></xref>."
modifiers:
- "default"
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public default List<T> getItems()"
desc: "Get list of elements in the page."
hasDeprecatedTag: true
returns:
description: "the page elements"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "interface"
typeParameters:
- description: "Type of items in the page response."
name: "T"
desc: "Represents a paginated REST response from the service."
implements:
- "<xref href=\"com.azure.core.util.paging.ContinuablePage?alt=com.azure.core.util.paging.ContinuablePage&text=ContinuablePage\" data-throw-if-not-resolved=\"False\" />&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.core.http.rest"
artifact: com.azure:azure-core:1.52.0