docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ApiResponse<T>

    API Response

    Inheritance
    object
    ApiResponse
    ApiResponse<T>
    Inherited Members
    ApiResponse.IsSuccessful
    ApiResponse.ErrorText
    ApiResponse.ErrorType
    ApiResponse.StatusCode
    ApiResponse.Headers
    ApiResponse.Content
    ApiResponse.EnsureSuccessful()
    ApiResponse.GetContentAs<T>()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.Shared
    Assembly: solution.dll
    Syntax
    public class ApiResponse<T> : ApiResponse
    Type Parameters
    Name Description
    T

    The model associated to the response

    Constructors

    ApiResponse()

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

    Declaration
    public ApiResponse()

    Properties

    Data

    Gets or sets the data (parsed HTTP body)

    Declaration
    public T Data { get; }
    Property Value
    Type Description
    T

    The data.

    In This Article
    • Constructors
      • ApiResponse()
    • Properties
      • Data
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)