Class AddConfigResource201Response
AddConfigResource201Response
Implements
Inherited Members
Namespace: Unity.Services.Apis.Admin.Economy
Assembly: Unity.Services.Apis.dll
Syntax
[JsonConverter(typeof(AddConfigResource201ResponseJsonConverter))]
[DataContract(Name = "addConfigResource_201_response")]
[Preserve]
public class AddConfigResource201Response : AbstractOpenAPISchema, IEquatable<AddConfigResource201Response>
Constructors
AddConfigResource201Response(CurrencyItemResponse)
Initializes a new instance of the AddConfigResource201Response class with the CurrencyItemResponse class
Declaration
[Preserve]
public AddConfigResource201Response(CurrencyItemResponse actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| CurrencyItemResponse | actualInstance | An instance of CurrencyItemResponse. |
AddConfigResource201Response(InventoryItemResponse)
Initializes a new instance of the AddConfigResource201Response class with the InventoryItemResponse class
Declaration
[Preserve]
public AddConfigResource201Response(InventoryItemResponse actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| InventoryItemResponse | actualInstance | An instance of InventoryItemResponse. |
AddConfigResource201Response(RealMoneyPurchaseResourceResponse)
Initializes a new instance of the AddConfigResource201Response class with the RealMoneyPurchaseResourceResponse class
Declaration
[Preserve]
public AddConfigResource201Response(RealMoneyPurchaseResourceResponse actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| RealMoneyPurchaseResourceResponse | actualInstance | An instance of RealMoneyPurchaseResourceResponse. |
AddConfigResource201Response(VirtualPurchaseResourceResponse)
Initializes a new instance of the AddConfigResource201Response class with the VirtualPurchaseResourceResponse class
Declaration
[Preserve]
public AddConfigResource201Response(VirtualPurchaseResourceResponse actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| VirtualPurchaseResourceResponse | actualInstance | An instance of VirtualPurchaseResourceResponse. |
Properties
ActualInstance
Gets or Sets ActualInstance
Declaration
public override object ActualInstance { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Overrides
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
Equals(AddConfigResource201Response)
Returns true if AddConfigResource201Response instances are equal
Declaration
public bool Equals(AddConfigResource201Response input)
Parameters
| Type | Name | Description |
|---|---|---|
| AddConfigResource201Response | input | Instance of AddConfigResource201Response to be compared |
Returns
| Type | Description |
|---|---|
| bool | Boolean |
FromJson(string)
Converts the JSON string into an instance of AddConfigResource201Response
Declaration
public static AddConfigResource201Response FromJson(string jsonString)
Parameters
| Type | Name | Description |
|---|---|---|
| string | jsonString | JSON string |
Returns
| Type | Description |
|---|---|
| AddConfigResource201Response | An instance of AddConfigResource201Response |
GetCurrencyItemResponse()
Get the actual instance of CurrencyItemResponse. If the actual instance is not CurrencyItemResponse,
the InvalidClassException will be thrown
Declaration
public CurrencyItemResponse GetCurrencyItemResponse()
Returns
| Type | Description |
|---|---|
| CurrencyItemResponse | An instance of CurrencyItemResponse |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | Hash code |
Overrides
GetInventoryItemResponse()
Get the actual instance of InventoryItemResponse. If the actual instance is not InventoryItemResponse,
the InvalidClassException will be thrown
Declaration
public InventoryItemResponse GetInventoryItemResponse()
Returns
| Type | Description |
|---|---|
| InventoryItemResponse | An instance of InventoryItemResponse |
GetRealMoneyPurchaseResourceResponse()
Get the actual instance of RealMoneyPurchaseResourceResponse. If the actual instance is not RealMoneyPurchaseResourceResponse,
the InvalidClassException will be thrown
Declaration
public RealMoneyPurchaseResourceResponse GetRealMoneyPurchaseResourceResponse()
Returns
| Type | Description |
|---|---|
| RealMoneyPurchaseResourceResponse | An instance of RealMoneyPurchaseResourceResponse |
GetVirtualPurchaseResourceResponse()
Get the actual instance of VirtualPurchaseResourceResponse. If the actual instance is not VirtualPurchaseResourceResponse,
the InvalidClassException will be thrown
Declaration
public VirtualPurchaseResourceResponse GetVirtualPurchaseResourceResponse()
Returns
| Type | Description |
|---|---|
| VirtualPurchaseResourceResponse | An instance of VirtualPurchaseResourceResponse |
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
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |