Class Item
Response type for a Data Item stored in the Cloud Save service.
Inherited Members
Namespace: Unity.Services.CloudSave
Assembly: Unity.Services.CloudSave.dll
Syntax
public class Item
Constructors
Item(IDeserializable, string)
Response type for a Data Item stored in the Cloud Save service.
Declaration
public Item(IDeserializable value, string writeLock)
Parameters
| Type | Name | Description |
|---|---|---|
| IDeserializable | value | Any JSON serializable structure |
| string | writeLock | Enforces conflict checking when updating an existing data item. This field should be omitted when creating a new data item. When updating an existing item, omitting this field ignores write conflicts. When present, an error response will be returned if the writeLock in the request does not match the stored writeLock. |
Properties
Value
Any JSON serializable structure
Declaration
public IDeserializable Value { get; }
Property Value
| Type | Description |
|---|---|
| IDeserializable |
WriteLock
Enforces conflict checking when updating an existing data item. This field should be omitted when creating a new data item. When updating an existing item, omitting this field ignores write conflicts. When present, an error response will be returned if the writeLock in the request does not match the stored writeLock.
Declaration
public string WriteLock { get; }
Property Value
| Type | Description |
|---|---|
| string |