-
Notifications
You must be signed in to change notification settings - Fork 0
/
ItemTypeConfigInfo.cs
93 lines (66 loc) · 3.06 KB
/
ItemTypeConfigInfo.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// 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;
using AccelByte.Sdk.Core;
using AccelByte.Sdk.Core.Converters;
namespace AccelByte.Sdk.Api.Platform.Model
{
public class ItemTypeConfigInfo : AccelByte.Sdk.Core.Model
{
[JsonPropertyName("clazz")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Clazz { get; set; }
[JsonPropertyName("createdAt")]
public DateTime? CreatedAt { get; set; }
[JsonPropertyName("dryRun")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? DryRun { get; set; }
[JsonPropertyName("fulfillmentUrl")]
public string? FulfillmentUrl { get; set; }
[JsonPropertyName("id")]
public string? Id { get; set; }
[JsonPropertyName("itemType")]
[JsonStringEnum]
public ItemTypeConfigInfoItemType? ItemType { get; set; }
[JsonPropertyName("purchaseConditionUrl")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? PurchaseConditionUrl { get; set; }
[JsonPropertyName("updatedAt")]
public DateTime? UpdatedAt { get; set; }
}
public class ItemTypeConfigInfoItemType : StringEnum<ItemTypeConfigInfoItemType>
{
public static readonly ItemTypeConfigInfoItemType APP
= new ItemTypeConfigInfoItemType("APP");
public static readonly ItemTypeConfigInfoItemType BUNDLE
= new ItemTypeConfigInfoItemType("BUNDLE");
public static readonly ItemTypeConfigInfoItemType CODE
= new ItemTypeConfigInfoItemType("CODE");
public static readonly ItemTypeConfigInfoItemType COINS
= new ItemTypeConfigInfoItemType("COINS");
public static readonly ItemTypeConfigInfoItemType EXTENSION
= new ItemTypeConfigInfoItemType("EXTENSION");
public static readonly ItemTypeConfigInfoItemType INGAMEITEM
= new ItemTypeConfigInfoItemType("INGAMEITEM");
public static readonly ItemTypeConfigInfoItemType LOOTBOX
= new ItemTypeConfigInfoItemType("LOOTBOX");
public static readonly ItemTypeConfigInfoItemType MEDIA
= new ItemTypeConfigInfoItemType("MEDIA");
public static readonly ItemTypeConfigInfoItemType OPTIONBOX
= new ItemTypeConfigInfoItemType("OPTIONBOX");
public static readonly ItemTypeConfigInfoItemType SEASON
= new ItemTypeConfigInfoItemType("SEASON");
public static readonly ItemTypeConfigInfoItemType SUBSCRIPTION
= new ItemTypeConfigInfoItemType("SUBSCRIPTION");
public static implicit operator ItemTypeConfigInfoItemType(string value)
{
return NewValue(value);
}
public ItemTypeConfigInfoItemType(string enumValue)
: base(enumValue)
{
}
}
}