Class GetResourcesResponseResultsInner
GetResourcesResponseResultsInner
Implements
Inherited Members
Namespace: Unity.Services.Apis.Admin.Economy
Assembly: Unity.Services.Apis.dll
Syntax
[JsonConverter(typeof(GetResourcesResponseResultsInnerJsonConverter))]
[DataContract(Name = "get_resources_response_results_inner")]
[Preserve]
public class GetResourcesResponseResultsInner : AbstractOpenAPISchema, IEquatable<GetResourcesResponseResultsInner>
Constructors
GetResourcesResponseResultsInner(CurrencyItemResponse)
Initializes a new instance of the GetResourcesResponseResultsInner class with the CurrencyItemResponse class
Declaration
[Preserve]
public GetResourcesResponseResultsInner(CurrencyItemResponse actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| CurrencyItemResponse | actualInstance | An instance of CurrencyItemResponse. |
GetResourcesResponseResultsInner(InventoryItemResponse)
Initializes a new instance of the GetResourcesResponseResultsInner class with the InventoryItemResponse class
Declaration
[Preserve]
public GetResourcesResponseResultsInner(InventoryItemResponse actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| InventoryItemResponse | actualInstance | An instance of InventoryItemResponse. |
GetResourcesResponseResultsInner(RealMoneyPurchaseResourceResponse)
Initializes a new instance of the GetResourcesResponseResultsInner class with the RealMoneyPurchaseResourceResponse class
Declaration
[Preserve]
public GetResourcesResponseResultsInner(RealMoneyPurchaseResourceResponse actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| RealMoneyPurchaseResourceResponse | actualInstance | An instance of RealMoneyPurchaseResourceResponse. |
GetResourcesResponseResultsInner(VirtualPurchaseResourceResponse)
Initializes a new instance of the GetResourcesResponseResultsInner class with the VirtualPurchaseResourceResponse class
Declaration
[Preserve]
public GetResourcesResponseResultsInner(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(GetResourcesResponseResultsInner)
Returns true if GetResourcesResponseResultsInner instances are equal
Declaration
public bool Equals(GetResourcesResponseResultsInner input)
Parameters
| Type | Name | Description |
|---|---|---|
| GetResourcesResponseResultsInner | input | Instance of GetResourcesResponseResultsInner to be compared |
Returns
| Type | Description |
|---|---|
| bool | Boolean |
FromJson(string)
Converts the JSON string into an instance of GetResourcesResponseResultsInner
Declaration
public static GetResourcesResponseResultsInner FromJson(string jsonString)
Parameters
| Type | Name | Description |
|---|---|---|
| string | jsonString | JSON string |
Returns
| Type | Description |
|---|---|
| GetResourcesResponseResultsInner | An instance of GetResourcesResponseResultsInner |
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 |