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 Get
Declaration
[Preserve]
public GetResourcesResponseResultsInner(CurrencyItemResponse actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Currency |
actualInstance | An instance of CurrencyItemResponse. |
GetResourcesResponseResultsInner(InventoryItemResponse)
Initializes a new instance of the Get
Declaration
[Preserve]
public GetResourcesResponseResultsInner(InventoryItemResponse actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Inventory |
actualInstance | An instance of InventoryItemResponse. |
GetResourcesResponseResultsInner(RealMoneyPurchaseResourceResponse)
Initializes a new instance of the Get
Declaration
[Preserve]
public GetResourcesResponseResultsInner(RealMoneyPurchaseResourceResponse actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Real |
actualInstance | An instance of RealMoneyPurchaseResourceResponse. |
GetResourcesResponseResultsInner(VirtualPurchaseResourceResponse)
Initializes a new instance of the Get
Declaration
[Preserve]
public GetResourcesResponseResultsInner(VirtualPurchaseResourceResponse actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Virtual |
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 |
---|---|---|
Get |
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 |
---|---|
Get |
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 |
---|---|
Currency |
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 |
---|---|
Inventory |
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 |
---|---|
Real |
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 |
---|---|
Virtual |
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 |