docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AddConfigResourceRequest

    AddConfigResourceRequest

    Inheritance
    object
    AbstractOpenAPISchema
    AddConfigResourceRequest
    Implements
    IEquatable<AddConfigResourceRequest>
    Inherited Members
    AbstractOpenAPISchema.IsNullable
    AbstractOpenAPISchema.SchemaType
    AbstractOpenAPISchema.SerializerSettings
    AbstractOpenAPISchema.AdditionalPropertiesSerializerSettings
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Services.Apis.Admin.Economy
    Assembly: Unity.Services.Apis.dll
    Syntax
    [JsonConverter(typeof(AddConfigResourceRequestJsonConverter))]
    [DataContract(Name = "addConfigResource_request")]
    [Preserve]
    public class AddConfigResourceRequest : AbstractOpenAPISchema, IEquatable<AddConfigResourceRequest>

    Constructors

    AddConfigResourceRequest(CurrencyItemRequest)

    Initializes a new instance of the AddConfigResourceRequest class with the CurrencyItemRequest class

    Declaration
    [Preserve]
    public AddConfigResourceRequest(CurrencyItemRequest actualInstance)
    Parameters
    Type Name Description
    CurrencyItemRequest actualInstance

    An instance of CurrencyItemRequest.

    AddConfigResourceRequest(InventoryItemRequest)

    Initializes a new instance of the AddConfigResourceRequest class with the InventoryItemRequest class

    Declaration
    [Preserve]
    public AddConfigResourceRequest(InventoryItemRequest actualInstance)
    Parameters
    Type Name Description
    InventoryItemRequest actualInstance

    An instance of InventoryItemRequest.

    AddConfigResourceRequest(RealMoneyPurchaseResourceRequest)

    Initializes a new instance of the AddConfigResourceRequest class with the RealMoneyPurchaseResourceRequest class

    Declaration
    [Preserve]
    public AddConfigResourceRequest(RealMoneyPurchaseResourceRequest actualInstance)
    Parameters
    Type Name Description
    RealMoneyPurchaseResourceRequest actualInstance

    An instance of RealMoneyPurchaseResourceRequest.

    AddConfigResourceRequest(VirtualPurchaseResourceRequest)

    Initializes a new instance of the AddConfigResourceRequest class with the VirtualPurchaseResourceRequest class

    Declaration
    [Preserve]
    public AddConfigResourceRequest(VirtualPurchaseResourceRequest actualInstance)
    Parameters
    Type Name Description
    VirtualPurchaseResourceRequest actualInstance

    An instance of VirtualPurchaseResourceRequest.

    Properties

    ActualInstance

    Gets or Sets ActualInstance

    Declaration
    public override object ActualInstance { get; set; }
    Property Value
    Type Description
    object
    Overrides
    AbstractOpenAPISchema.ActualInstance

    Methods

    Equals(object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    object input

    Object to be compared

    Returns
    Type Description
    bool

    Boolean

    Overrides
    object.Equals(object)

    Equals(AddConfigResourceRequest)

    Returns true if AddConfigResourceRequest instances are equal

    Declaration
    public bool Equals(AddConfigResourceRequest input)
    Parameters
    Type Name Description
    AddConfigResourceRequest input

    Instance of AddConfigResourceRequest to be compared

    Returns
    Type Description
    bool

    Boolean

    FromJson(string)

    Converts the JSON string into an instance of AddConfigResourceRequest

    Declaration
    public static AddConfigResourceRequest FromJson(string jsonString)
    Parameters
    Type Name Description
    string jsonString

    JSON string

    Returns
    Type Description
    AddConfigResourceRequest

    An instance of AddConfigResourceRequest

    GetCurrencyItemRequest()

    Get the actual instance of CurrencyItemRequest. If the actual instance is not CurrencyItemRequest, the InvalidClassException will be thrown

    Declaration
    public CurrencyItemRequest GetCurrencyItemRequest()
    Returns
    Type Description
    CurrencyItemRequest

    An instance of CurrencyItemRequest

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code

    Overrides
    object.GetHashCode()

    GetInventoryItemRequest()

    Get the actual instance of InventoryItemRequest. If the actual instance is not InventoryItemRequest, the InvalidClassException will be thrown

    Declaration
    public InventoryItemRequest GetInventoryItemRequest()
    Returns
    Type Description
    InventoryItemRequest

    An instance of InventoryItemRequest

    GetRealMoneyPurchaseResourceRequest()

    Get the actual instance of RealMoneyPurchaseResourceRequest. If the actual instance is not RealMoneyPurchaseResourceRequest, the InvalidClassException will be thrown

    Declaration
    public RealMoneyPurchaseResourceRequest GetRealMoneyPurchaseResourceRequest()
    Returns
    Type Description
    RealMoneyPurchaseResourceRequest

    An instance of RealMoneyPurchaseResourceRequest

    GetVirtualPurchaseResourceRequest()

    Get the actual instance of VirtualPurchaseResourceRequest. If the actual instance is not VirtualPurchaseResourceRequest, the InvalidClassException will be thrown

    Declaration
    public VirtualPurchaseResourceRequest GetVirtualPurchaseResourceRequest()
    Returns
    Type Description
    VirtualPurchaseResourceRequest

    An instance of VirtualPurchaseResourceRequest

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public override string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    Overrides
    AbstractOpenAPISchema.ToJson()

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()

    Implements

    IEquatable<T>
    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)