-
Notifications
You must be signed in to change notification settings - Fork 0
/
KeyGroup.cs
189 lines (184 loc) · 7.14 KB
/
KeyGroup.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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
// Copyright (c) 2022-2024 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 AccelByte.Sdk.Api.Platform.Model;
using AccelByte.Sdk.Api.Platform.Operation;
using AccelByte.Sdk.Core;
namespace AccelByte.Sdk.Api.Platform.Wrapper
{
public class KeyGroup
{
private readonly AccelByteSDK _sdk;
public KeyGroup(AccelByteSDK sdk)
{
_sdk = sdk;
}
#region Operation Builders
public QueryKeyGroups.QueryKeyGroupsBuilder QueryKeyGroupsOp
{
get { return Operation.QueryKeyGroups.Builder.SetWrapperObject(this); }
}
public CreateKeyGroup.CreateKeyGroupBuilder CreateKeyGroupOp
{
get { return Operation.CreateKeyGroup.Builder.SetWrapperObject(this); }
}
[Obsolete(DiagnosticId = "ab_deprecated_operation_wrapper")]
public GetKeyGroupByBoothName.GetKeyGroupByBoothNameBuilder GetKeyGroupByBoothNameOp
{
get { return Operation.GetKeyGroupByBoothName.Builder.SetWrapperObject(this); }
}
public GetKeyGroup.GetKeyGroupBuilder GetKeyGroupOp
{
get { return Operation.GetKeyGroup.Builder.SetWrapperObject(this); }
}
public UpdateKeyGroup.UpdateKeyGroupBuilder UpdateKeyGroupOp
{
get { return Operation.UpdateKeyGroup.Builder.SetWrapperObject(this); }
}
public GetKeyGroupDynamic.GetKeyGroupDynamicBuilder GetKeyGroupDynamicOp
{
get { return Operation.GetKeyGroupDynamic.Builder.SetWrapperObject(this); }
}
public ListKeys.ListKeysBuilder ListKeysOp
{
get { return Operation.ListKeys.Builder.SetWrapperObject(this); }
}
public UploadKeys.UploadKeysBuilder UploadKeysOp
{
get { return Operation.UploadKeys.Builder.SetWrapperObject(this); }
}
#endregion
public Model.KeyGroupPagingSlicedResult? QueryKeyGroups(QueryKeyGroups input)
{
var response = _sdk.RunRequest(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public async Task<Model.KeyGroupPagingSlicedResult?> QueryKeyGroupsAsync(QueryKeyGroups input)
{
var response = await _sdk.RunRequestAsync(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public Model.KeyGroupInfo? CreateKeyGroup(CreateKeyGroup input)
{
var response = _sdk.RunRequest(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public async Task<Model.KeyGroupInfo?> CreateKeyGroupAsync(CreateKeyGroup input)
{
var response = await _sdk.RunRequestAsync(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
#pragma warning disable ab_deprecated_operation
[Obsolete(DiagnosticId = "ab_deprecated_operation_wrapper")]
public Model.KeyGroupInfo? GetKeyGroupByBoothName(GetKeyGroupByBoothName input)
{
var response = _sdk.RunRequest(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public async Task<Model.KeyGroupInfo?> GetKeyGroupByBoothNameAsync(GetKeyGroupByBoothName input)
{
var response = await _sdk.RunRequestAsync(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
#pragma warning restore ab_deprecated_operation
public Model.KeyGroupInfo? GetKeyGroup(GetKeyGroup input)
{
var response = _sdk.RunRequest(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public async Task<Model.KeyGroupInfo?> GetKeyGroupAsync(GetKeyGroup input)
{
var response = await _sdk.RunRequestAsync(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public Model.KeyGroupInfo? UpdateKeyGroup(UpdateKeyGroup input)
{
var response = _sdk.RunRequest(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public async Task<Model.KeyGroupInfo?> UpdateKeyGroupAsync(UpdateKeyGroup input)
{
var response = await _sdk.RunRequestAsync(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public Model.KeyGroupDynamicInfo? GetKeyGroupDynamic(GetKeyGroupDynamic input)
{
var response = _sdk.RunRequest(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public async Task<Model.KeyGroupDynamicInfo?> GetKeyGroupDynamicAsync(GetKeyGroupDynamic input)
{
var response = await _sdk.RunRequestAsync(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public Model.KeyPagingSliceResult? ListKeys(ListKeys input)
{
var response = _sdk.RunRequest(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public async Task<Model.KeyPagingSliceResult?> ListKeysAsync(ListKeys input)
{
var response = await _sdk.RunRequestAsync(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public Model.BulkOperationResult? UploadKeys(UploadKeys input)
{
var response = _sdk.RunRequest(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
public async Task<Model.BulkOperationResult?> UploadKeysAsync(UploadKeys input)
{
var response = await _sdk.RunRequestAsync(input);
return input.ParseResponse(
response.Code,
response.ContentType,
response.Payload);
}
}
}