-
Notifications
You must be signed in to change notification settings - Fork 0
/
IAPConsumeHistoryInfo.cs
170 lines (126 loc) · 6.1 KB
/
IAPConsumeHistoryInfo.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
// 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 IAPConsumeHistoryInfo : AccelByte.Sdk.Core.Model
{
[JsonPropertyName("clientRequestParameter")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ClientRequestParameter? ClientRequestParameter { get; set; }
[JsonPropertyName("consumeItems")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<ConsumeItem>? ConsumeItems { get; set; }
[JsonPropertyName("iapType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonStringEnum]
public IAPConsumeHistoryInfoIapType? IapType { get; set; }
[JsonPropertyName("id")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Id { get; set; }
[JsonPropertyName("namespace")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Namespace { get; set; }
[JsonPropertyName("requestBody")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Dictionary<string, object>? RequestBody { get; set; }
[JsonPropertyName("requestHistories")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<RequestHistory>? RequestHistories { get; set; }
[JsonPropertyName("requestUrl")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? RequestUrl { get; set; }
[JsonPropertyName("status")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonStringEnum]
public IAPConsumeHistoryInfoStatus? Status { get; set; }
[JsonPropertyName("userId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? UserId { get; set; }
}
public class IAPConsumeHistoryInfo<T1> : AccelByte.Sdk.Core.Model
{
[JsonPropertyName("clientRequestParameter")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ClientRequestParameter? ClientRequestParameter { get; set; }
[JsonPropertyName("consumeItems")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<ConsumeItem>? ConsumeItems { get; set; }
[JsonPropertyName("iapType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonStringEnum]
public IAPConsumeHistoryInfoIapType? IapType { get; set; }
[JsonPropertyName("id")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Id { get; set; }
[JsonPropertyName("namespace")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Namespace { get; set; }
[JsonPropertyName("requestBody")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public T1? RequestBody { get; set; }
[JsonPropertyName("requestHistories")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<RequestHistory>? RequestHistories { get; set; }
[JsonPropertyName("requestUrl")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? RequestUrl { get; set; }
[JsonPropertyName("status")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonStringEnum]
public IAPConsumeHistoryInfoStatus? Status { get; set; }
[JsonPropertyName("userId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? UserId { get; set; }
}
public class IAPConsumeHistoryInfoIapType : StringEnum<IAPConsumeHistoryInfoIapType>
{
public static readonly IAPConsumeHistoryInfoIapType APPLE
= new IAPConsumeHistoryInfoIapType("APPLE");
public static readonly IAPConsumeHistoryInfoIapType EPICGAMES
= new IAPConsumeHistoryInfoIapType("EPICGAMES");
public static readonly IAPConsumeHistoryInfoIapType GOOGLE
= new IAPConsumeHistoryInfoIapType("GOOGLE");
public static readonly IAPConsumeHistoryInfoIapType OCULUS
= new IAPConsumeHistoryInfoIapType("OCULUS");
public static readonly IAPConsumeHistoryInfoIapType PLAYSTATION
= new IAPConsumeHistoryInfoIapType("PLAYSTATION");
public static readonly IAPConsumeHistoryInfoIapType STADIA
= new IAPConsumeHistoryInfoIapType("STADIA");
public static readonly IAPConsumeHistoryInfoIapType STEAM
= new IAPConsumeHistoryInfoIapType("STEAM");
public static readonly IAPConsumeHistoryInfoIapType TWITCH
= new IAPConsumeHistoryInfoIapType("TWITCH");
public static readonly IAPConsumeHistoryInfoIapType XBOX
= new IAPConsumeHistoryInfoIapType("XBOX");
public static implicit operator IAPConsumeHistoryInfoIapType(string value)
{
return NewValue(value);
}
public IAPConsumeHistoryInfoIapType(string enumValue)
: base(enumValue)
{
}
}
public class IAPConsumeHistoryInfoStatus : StringEnum<IAPConsumeHistoryInfoStatus>
{
public static readonly IAPConsumeHistoryInfoStatus FAIL
= new IAPConsumeHistoryInfoStatus("FAIL");
public static readonly IAPConsumeHistoryInfoStatus PENDING
= new IAPConsumeHistoryInfoStatus("PENDING");
public static readonly IAPConsumeHistoryInfoStatus SUCCESS
= new IAPConsumeHistoryInfoStatus("SUCCESS");
public static implicit operator IAPConsumeHistoryInfoStatus(string value)
{
return NewValue(value);
}
public IAPConsumeHistoryInfoStatus(string enumValue)
: base(enumValue)
{
}
}
}