Class PlayerConfigurationResponseResultsInner
PlayerConfigurationResponseResultsInner
Implements
Inherited Members
Namespace: Unity.Services.Apis.Economy
Assembly: Unity.Services.Apis.dll
Syntax
[JsonConverter(typeof(PlayerConfigurationResponseResultsInnerJsonConverter))]
[DataContract(Name = "player_configuration_response_results_inner")]
[Preserve]
public class PlayerConfigurationResponseResultsInner : AbstractOpenAPISchema, IEquatable<PlayerConfigurationResponseResultsInner>
Constructors
PlayerConfigurationResponseResultsInner(CurrencyResource)
Initializes a new instance of the PlayerConfigurationResponseResultsInner class with the CurrencyResource class
Declaration
[Preserve]
public PlayerConfigurationResponseResultsInner(CurrencyResource actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| CurrencyResource | actualInstance | An instance of CurrencyResource. |
PlayerConfigurationResponseResultsInner(InventoryItemResource)
Initializes a new instance of the PlayerConfigurationResponseResultsInner class with the InventoryItemResource class
Declaration
[Preserve]
public PlayerConfigurationResponseResultsInner(InventoryItemResource actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| InventoryItemResource | actualInstance | An instance of InventoryItemResource. |
PlayerConfigurationResponseResultsInner(RealMoneyPurchaseResource)
Initializes a new instance of the PlayerConfigurationResponseResultsInner class with the RealMoneyPurchaseResource class
Declaration
[Preserve]
public PlayerConfigurationResponseResultsInner(RealMoneyPurchaseResource actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| RealMoneyPurchaseResource | actualInstance | An instance of RealMoneyPurchaseResource. |
PlayerConfigurationResponseResultsInner(VirtualPurchaseResource)
Initializes a new instance of the PlayerConfigurationResponseResultsInner class with the VirtualPurchaseResource class
Declaration
[Preserve]
public PlayerConfigurationResponseResultsInner(VirtualPurchaseResource actualInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| VirtualPurchaseResource | actualInstance | An instance of VirtualPurchaseResource. |
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(PlayerConfigurationResponseResultsInner)
Returns true if PlayerConfigurationResponseResultsInner instances are equal
Declaration
public bool Equals(PlayerConfigurationResponseResultsInner input)
Parameters
| Type | Name | Description |
|---|---|---|
| PlayerConfigurationResponseResultsInner | input | Instance of PlayerConfigurationResponseResultsInner to be compared |
Returns
| Type | Description |
|---|---|
| bool | Boolean |
FromJson(string)
Converts the JSON string into an instance of PlayerConfigurationResponseResultsInner
Declaration
public static PlayerConfigurationResponseResultsInner FromJson(string jsonString)
Parameters
| Type | Name | Description |
|---|---|---|
| string | jsonString | JSON string |
Returns
| Type | Description |
|---|---|
| PlayerConfigurationResponseResultsInner | An instance of PlayerConfigurationResponseResultsInner |
GetCurrencyResource()
Get the actual instance of CurrencyResource. If the actual instance is not CurrencyResource,
the InvalidClassException will be thrown
Declaration
public CurrencyResource GetCurrencyResource()
Returns
| Type | Description |
|---|---|
| CurrencyResource | An instance of CurrencyResource |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | Hash code |
Overrides
GetInventoryItemResource()
Get the actual instance of InventoryItemResource. If the actual instance is not InventoryItemResource,
the InvalidClassException will be thrown
Declaration
public InventoryItemResource GetInventoryItemResource()
Returns
| Type | Description |
|---|---|
| InventoryItemResource | An instance of InventoryItemResource |
GetRealMoneyPurchaseResource()
Get the actual instance of RealMoneyPurchaseResource. If the actual instance is not RealMoneyPurchaseResource,
the InvalidClassException will be thrown
Declaration
public RealMoneyPurchaseResource GetRealMoneyPurchaseResource()
Returns
| Type | Description |
|---|---|
| RealMoneyPurchaseResource | An instance of RealMoneyPurchaseResource |
GetVirtualPurchaseResource()
Get the actual instance of VirtualPurchaseResource. If the actual instance is not VirtualPurchaseResource,
the InvalidClassException will be thrown
Declaration
public VirtualPurchaseResource GetVirtualPurchaseResource()
Returns
| Type | Description |
|---|---|
| VirtualPurchaseResource | An instance of VirtualPurchaseResource |
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 |