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 Player
Declaration
[Preserve]
public PlayerConfigurationResponseResultsInner(CurrencyResource actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Currency |
actualInstance | An instance of CurrencyResource. |
PlayerConfigurationResponseResultsInner(InventoryItemResource)
Initializes a new instance of the Player
Declaration
[Preserve]
public PlayerConfigurationResponseResultsInner(InventoryItemResource actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Inventory |
actualInstance | An instance of InventoryItemResource. |
PlayerConfigurationResponseResultsInner(RealMoneyPurchaseResource)
Initializes a new instance of the Player
Declaration
[Preserve]
public PlayerConfigurationResponseResultsInner(RealMoneyPurchaseResource actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Real |
actualInstance | An instance of RealMoneyPurchaseResource. |
PlayerConfigurationResponseResultsInner(VirtualPurchaseResource)
Initializes a new instance of the Player
Declaration
[Preserve]
public PlayerConfigurationResponseResultsInner(VirtualPurchaseResource actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Virtual |
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 |
---|---|---|
Player |
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 |
---|---|
Player |
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 |
---|---|
Currency |
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 |
---|---|
Inventory |
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 |
---|---|
Real |
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 |
---|---|
Virtual |
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 |