Class ErrorResponseConflictInventoryUpdate
An error response sent back upon player inventory item conflict.
Inherited Members
Namespace: Unity.Services.Apis.Economy
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "error-response-conflict-inventory-update")]
[Preserve]
public class ErrorResponseConflictInventoryUpdate
Constructors
ErrorResponseConflictInventoryUpdate(string, string, int, int, string, string, ErrorResponseConflictInventoryUpdateData)
Initializes a new instance of the Error
Declaration
[Preserve]
public ErrorResponseConflictInventoryUpdate(string type = null, string title = null, int status = 0, int code = 0, string detail = null, string instance = null, ErrorResponseConflictInventoryUpdateData data = null)
Parameters
Type | Name | Description |
---|---|---|
string | type | type (required). |
string | title | title (required). |
int | status | e.g 409 (required). |
int | code | For example 10204 (required). |
string | detail | detail (required). |
string | instance | instance. |
Error |
data | data (required). |
Properties
Code
For example 10204
Declaration
[DataMember(Name = "code", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public int Code { get; set; }
Property Value
Type | Description |
---|---|
int | For example 10204 |
Data
Gets or Sets Data
Declaration
[DataMember(Name = "data", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public ErrorResponseConflictInventoryUpdateData Data { get; set; }
Property Value
Type | Description |
---|---|
Error |
Detail
Gets or Sets Detail
Declaration
[DataMember(Name = "detail", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Detail { get; set; }
Property Value
Type | Description |
---|---|
string |
Instance
Gets or Sets Instance
Declaration
[DataMember(Name = "instance", EmitDefaultValue = false)]
[Preserve]
public string Instance { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
e.g 409
Declaration
[DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public int Status { get; set; }
Property Value
Type | Description |
---|---|
int | e.g 409 |
Title
Gets or Sets Title
Declaration
[DataMember(Name = "title", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Gets or Sets Type
Declaration
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string |