docs.unity3d.com
    Show / Hide Table of Contents

    Class PagedResponse<T>

    This class contains all the information pertaining to a paged response.

    Inheritance
    Object
    PagedResponse<T>
    AssetPage
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Assets
    Syntax
    public abstract class PagedResponse<T> : IPagedResponse<T>
    Type Parameters
    Name Description
    T

    Constructors

    PagedResponse(T[], String, IPagedResponse<T>, Int32)

    Initializes a new instance of the PagedResponse<T> class.

    Declaration
    protected PagedResponse(T[] elements, string nextPageToken, IPagedResponse<T> previousPage = null, int pageEndIndex = -1)
    Parameters
    Type Name Description
    T[] elements
    String nextPageToken
    IPagedResponse<T> previousPage
    Int32 pageEndIndex

    Properties

    Elements

    Implement this property to return a collection of elements.

    Declaration
    public T[] Elements { get; }
    Property Value
    Type Description
    T[]
    Implements
    IPagedResponse<T>.Elements

    NextPageToken

    Implement this property to return the token for retrieving the next .

    Declaration
    public string NextPageToken { get; }
    Property Value
    Type Description
    String
    Implements
    IPagedResponse<T>.NextPageToken

    PageEndIndex

    Implement this property to return the search index of the last result on this page.

    Declaration
    public int PageEndIndex { get; set; }
    Property Value
    Type Description
    Int32
    Implements
    IPagedResponse<T>.PageEndIndex

    Pagination

    Implement this property to return the page format.

    Declaration
    public Pagination Pagination { get; protected set; }
    Property Value
    Type Description
    Pagination
    Implements
    IPagedResponse<T>.Pagination

    PreviousPage

    Implement this property to return the previous .

    Declaration
    public IPagedResponse<T> PreviousPage { get; protected set; }
    Property Value
    Type Description
    IPagedResponse<T>
    Implements
    IPagedResponse<T>.PreviousPage
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023