-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConsumableEntitlementRevocationConfig.cs
47 lines (35 loc) · 1.57 KB
/
ConsumableEntitlementRevocationConfig.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
// 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 ConsumableEntitlementRevocationConfig : AccelByte.Sdk.Core.Model
{
[JsonPropertyName("enabled")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? Enabled { get; set; }
[JsonPropertyName("strategy")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonStringEnum]
public ConsumableEntitlementRevocationConfigStrategy? Strategy { get; set; }
}
public class ConsumableEntitlementRevocationConfigStrategy : StringEnum<ConsumableEntitlementRevocationConfigStrategy>
{
public static readonly ConsumableEntitlementRevocationConfigStrategy CUSTOM
= new ConsumableEntitlementRevocationConfigStrategy("CUSTOM");
public static readonly ConsumableEntitlementRevocationConfigStrategy REVOKEORREPORT
= new ConsumableEntitlementRevocationConfigStrategy("REVOKE_OR_REPORT");
public static implicit operator ConsumableEntitlementRevocationConfigStrategy(string value)
{
return NewValue(value);
}
public ConsumableEntitlementRevocationConfigStrategy(string enumValue)
: base(enumValue)
{
}
}
}