docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AbstractOpenAPISchema

    Abstract base class for oneOf, anyOf schemas in the OpenAPI specification

    Inheritance
    object
    AbstractOpenAPISchema
    SubmitEventRequest
    RunModule422Response
    RunScript400Response
    GetItems400Response
    SetItemBatch400Response
    PlayerConfigurationResponseResultsInner
    RedeemAppleAppStorePurchase422Response
    RedeemGooglePlayPurchase422Response
    SetPlayerCurrencyBalance400Response
    GetLeaderboardScores400Response
    TicketStatusResponse
    Inherited Members
    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 abstract class AbstractOpenAPISchema

    Fields

    AdditionalPropertiesSerializerSettings

    Custom JSON serializer for objects with additional properties

    Declaration
    public static readonly JsonSerializerSettings AdditionalPropertiesSerializerSettings
    Field Value
    Type Description
    JsonSerializerSettings

    SerializerSettings

    Custom JSON serializer

    Declaration
    public static readonly JsonSerializerSettings SerializerSettings
    Field Value
    Type Description
    JsonSerializerSettings

    Properties

    ActualInstance

    Gets or Sets the actual instance

    Declaration
    public abstract object ActualInstance { get; set; }
    Property Value
    Type Description
    object

    IsNullable

    Gets or Sets IsNullable to indicate whether the instance is nullable

    Declaration
    public bool IsNullable { get; protected set; }
    Property Value
    Type Description
    bool

    SchemaType

    Gets or Sets the schema type, which can be either oneOf or anyOf

    Declaration
    public string SchemaType { get; protected set; }
    Property Value
    Type Description
    string

    Methods

    ToJson()

    Converts the instance into JSON string.

    Declaration
    public abstract string ToJson()
    Returns
    Type Description
    string

    The json string value

    In This Article
    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)