-
Notifications
You must be signed in to change notification settings - Fork 0
/
InventoryConfig.cs
42 lines (32 loc) · 1.48 KB
/
InventoryConfig.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using System.Text.Json.Serialization;
namespace AccelByte.Sdk.Api.Platform.Model
{
public class InventoryConfig : AccelByte.Sdk.Core.Model
{
[JsonPropertyName("customAttributes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Dictionary<string, object>? CustomAttributes { get; set; }
[JsonPropertyName("serverCustomAttributes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Dictionary<string, object>? ServerCustomAttributes { get; set; }
[JsonPropertyName("slotUsed")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? SlotUsed { get; set; }
}
public class InventoryConfig<T1, T2> : AccelByte.Sdk.Core.Model
{
[JsonPropertyName("customAttributes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public T1? CustomAttributes { get; set; }
[JsonPropertyName("serverCustomAttributes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public T2? ServerCustomAttributes { get; set; }
[JsonPropertyName("slotUsed")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? SlotUsed { get; set; }
}
}