/
response_types.go
411 lines (346 loc) · 15.3 KB
/
response_types.go
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
//go:build go1.18
// +build go1.18
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
package armdatashare
import "encoding/json"
// AccountsClientCreateResponse contains the response from method AccountsClient.BeginCreate.
type AccountsClientCreateResponse struct {
// An account data transfer object.
Account
}
// AccountsClientDeleteResponse contains the response from method AccountsClient.BeginDelete.
type AccountsClientDeleteResponse struct {
// Response for long running operation
OperationResponse
}
// AccountsClientGetResponse contains the response from method AccountsClient.Get.
type AccountsClientGetResponse struct {
// An account data transfer object.
Account
}
// AccountsClientListByResourceGroupResponse contains the response from method AccountsClient.NewListByResourceGroupPager.
type AccountsClientListByResourceGroupResponse struct {
// List response for get Accounts.
AccountList
}
// AccountsClientListBySubscriptionResponse contains the response from method AccountsClient.NewListBySubscriptionPager.
type AccountsClientListBySubscriptionResponse struct {
// List response for get Accounts.
AccountList
}
// AccountsClientUpdateResponse contains the response from method AccountsClient.Update.
type AccountsClientUpdateResponse struct {
// An account data transfer object.
Account
}
// ConsumerInvitationsClientGetResponse contains the response from method ConsumerInvitationsClient.Get.
type ConsumerInvitationsClientGetResponse struct {
// A consumer Invitation data transfer object.
ConsumerInvitation
}
// ConsumerInvitationsClientListInvitationsResponse contains the response from method ConsumerInvitationsClient.NewListInvitationsPager.
type ConsumerInvitationsClientListInvitationsResponse struct {
// List response for get InvitationList
ConsumerInvitationList
}
// ConsumerInvitationsClientRejectInvitationResponse contains the response from method ConsumerInvitationsClient.RejectInvitation.
type ConsumerInvitationsClientRejectInvitationResponse struct {
// A consumer Invitation data transfer object.
ConsumerInvitation
}
// ConsumerSourceDataSetsClientListByShareSubscriptionResponse contains the response from method ConsumerSourceDataSetsClient.NewListByShareSubscriptionPager.
type ConsumerSourceDataSetsClientListByShareSubscriptionResponse struct {
// A consumer side list of source dataSets
ConsumerSourceDataSetList
}
// DataSetMappingsClientCreateResponse contains the response from method DataSetMappingsClient.Create.
type DataSetMappingsClientCreateResponse struct {
// A data set mapping data transfer object.
DataSetMappingClassification
}
// UnmarshalJSON implements the json.Unmarshaller interface for type DataSetMappingsClientCreateResponse.
func (d *DataSetMappingsClientCreateResponse) UnmarshalJSON(data []byte) error {
res, err := unmarshalDataSetMappingClassification(data)
if err != nil {
return err
}
d.DataSetMappingClassification = res
return nil
}
// DataSetMappingsClientDeleteResponse contains the response from method DataSetMappingsClient.Delete.
type DataSetMappingsClientDeleteResponse struct {
// placeholder for future response values
}
// DataSetMappingsClientGetResponse contains the response from method DataSetMappingsClient.Get.
type DataSetMappingsClientGetResponse struct {
// A data set mapping data transfer object.
DataSetMappingClassification
}
// UnmarshalJSON implements the json.Unmarshaller interface for type DataSetMappingsClientGetResponse.
func (d *DataSetMappingsClientGetResponse) UnmarshalJSON(data []byte) error {
res, err := unmarshalDataSetMappingClassification(data)
if err != nil {
return err
}
d.DataSetMappingClassification = res
return nil
}
// DataSetMappingsClientListByShareSubscriptionResponse contains the response from method DataSetMappingsClient.NewListByShareSubscriptionPager.
type DataSetMappingsClientListByShareSubscriptionResponse struct {
// List response for get DataSetMappings
DataSetMappingList
}
// DataSetsClientCreateResponse contains the response from method DataSetsClient.Create.
type DataSetsClientCreateResponse struct {
// A DataSet data transfer object.
DataSetClassification
}
// UnmarshalJSON implements the json.Unmarshaller interface for type DataSetsClientCreateResponse.
func (d *DataSetsClientCreateResponse) UnmarshalJSON(data []byte) error {
res, err := unmarshalDataSetClassification(data)
if err != nil {
return err
}
d.DataSetClassification = res
return nil
}
// DataSetsClientDeleteResponse contains the response from method DataSetsClient.BeginDelete.
type DataSetsClientDeleteResponse struct {
// placeholder for future response values
}
// DataSetsClientGetResponse contains the response from method DataSetsClient.Get.
type DataSetsClientGetResponse struct {
// A DataSet data transfer object.
DataSetClassification
}
// UnmarshalJSON implements the json.Unmarshaller interface for type DataSetsClientGetResponse.
func (d *DataSetsClientGetResponse) UnmarshalJSON(data []byte) error {
res, err := unmarshalDataSetClassification(data)
if err != nil {
return err
}
d.DataSetClassification = res
return nil
}
// DataSetsClientListByShareResponse contains the response from method DataSetsClient.NewListBySharePager.
type DataSetsClientListByShareResponse struct {
// List response for get DataSets
DataSetList
}
// EmailRegistrationsClientActivateEmailResponse contains the response from method EmailRegistrationsClient.ActivateEmail.
type EmailRegistrationsClientActivateEmailResponse struct {
// Dto for tenant domain registration
EmailRegistration
}
// EmailRegistrationsClientRegisterEmailResponse contains the response from method EmailRegistrationsClient.RegisterEmail.
type EmailRegistrationsClientRegisterEmailResponse struct {
// Dto for tenant domain registration
EmailRegistration
}
// InvitationsClientCreateResponse contains the response from method InvitationsClient.Create.
type InvitationsClientCreateResponse struct {
// A Invitation data transfer object.
Invitation
}
// InvitationsClientDeleteResponse contains the response from method InvitationsClient.Delete.
type InvitationsClientDeleteResponse struct {
// placeholder for future response values
}
// InvitationsClientGetResponse contains the response from method InvitationsClient.Get.
type InvitationsClientGetResponse struct {
// A Invitation data transfer object.
Invitation
}
// InvitationsClientListByShareResponse contains the response from method InvitationsClient.NewListBySharePager.
type InvitationsClientListByShareResponse struct {
// List response for get InvitationList
InvitationList
}
// OperationsClientListResponse contains the response from method OperationsClient.NewListPager.
type OperationsClientListResponse struct {
// List response for get operations.
OperationList
}
// ProviderShareSubscriptionsClientAdjustResponse contains the response from method ProviderShareSubscriptionsClient.Adjust.
type ProviderShareSubscriptionsClientAdjustResponse struct {
// A provider side share subscription data transfer object.
ProviderShareSubscription
}
// ProviderShareSubscriptionsClientGetByShareResponse contains the response from method ProviderShareSubscriptionsClient.GetByShare.
type ProviderShareSubscriptionsClientGetByShareResponse struct {
// A provider side share subscription data transfer object.
ProviderShareSubscription
}
// ProviderShareSubscriptionsClientListByShareResponse contains the response from method ProviderShareSubscriptionsClient.NewListBySharePager.
type ProviderShareSubscriptionsClientListByShareResponse struct {
// List response for get ShareSubscription.
ProviderShareSubscriptionList
}
// ProviderShareSubscriptionsClientReinstateResponse contains the response from method ProviderShareSubscriptionsClient.Reinstate.
type ProviderShareSubscriptionsClientReinstateResponse struct {
// A provider side share subscription data transfer object.
ProviderShareSubscription
}
// ProviderShareSubscriptionsClientRevokeResponse contains the response from method ProviderShareSubscriptionsClient.BeginRevoke.
type ProviderShareSubscriptionsClientRevokeResponse struct {
// A provider side share subscription data transfer object.
ProviderShareSubscription
}
// ShareSubscriptionsClientCancelSynchronizationResponse contains the response from method ShareSubscriptionsClient.BeginCancelSynchronization.
type ShareSubscriptionsClientCancelSynchronizationResponse struct {
// A ShareSubscriptionSynchronization data transfer object.
ShareSubscriptionSynchronization
}
// ShareSubscriptionsClientCreateResponse contains the response from method ShareSubscriptionsClient.Create.
type ShareSubscriptionsClientCreateResponse struct {
// A share subscription data transfer object.
ShareSubscription
}
// ShareSubscriptionsClientDeleteResponse contains the response from method ShareSubscriptionsClient.BeginDelete.
type ShareSubscriptionsClientDeleteResponse struct {
// Response for long running operation
OperationResponse
}
// ShareSubscriptionsClientGetResponse contains the response from method ShareSubscriptionsClient.Get.
type ShareSubscriptionsClientGetResponse struct {
// A share subscription data transfer object.
ShareSubscription
}
// ShareSubscriptionsClientListByAccountResponse contains the response from method ShareSubscriptionsClient.NewListByAccountPager.
type ShareSubscriptionsClientListByAccountResponse struct {
// List response for get ShareSubscription.
ShareSubscriptionList
}
// ShareSubscriptionsClientListSourceShareSynchronizationSettingsResponse contains the response from method ShareSubscriptionsClient.NewListSourceShareSynchronizationSettingsPager.
type ShareSubscriptionsClientListSourceShareSynchronizationSettingsResponse struct {
// List response for get source share Synchronization settings
SourceShareSynchronizationSettingList
}
// ShareSubscriptionsClientListSynchronizationDetailsResponse contains the response from method ShareSubscriptionsClient.NewListSynchronizationDetailsPager.
type ShareSubscriptionsClientListSynchronizationDetailsResponse struct {
// details of synchronization
SynchronizationDetailsList
}
// ShareSubscriptionsClientListSynchronizationsResponse contains the response from method ShareSubscriptionsClient.NewListSynchronizationsPager.
type ShareSubscriptionsClientListSynchronizationsResponse struct {
// A consumer side list of share subscription synchronizations
ShareSubscriptionSynchronizationList
}
// ShareSubscriptionsClientSynchronizeResponse contains the response from method ShareSubscriptionsClient.BeginSynchronize.
type ShareSubscriptionsClientSynchronizeResponse struct {
// A ShareSubscriptionSynchronization data transfer object.
ShareSubscriptionSynchronization
}
// SharesClientCreateResponse contains the response from method SharesClient.Create.
type SharesClientCreateResponse struct {
// A share data transfer object.
Share
}
// SharesClientDeleteResponse contains the response from method SharesClient.BeginDelete.
type SharesClientDeleteResponse struct {
// Response for long running operation
OperationResponse
}
// SharesClientGetResponse contains the response from method SharesClient.Get.
type SharesClientGetResponse struct {
// A share data transfer object.
Share
}
// SharesClientListByAccountResponse contains the response from method SharesClient.NewListByAccountPager.
type SharesClientListByAccountResponse struct {
// List response for get Shares.
ShareList
}
// SharesClientListSynchronizationDetailsResponse contains the response from method SharesClient.NewListSynchronizationDetailsPager.
type SharesClientListSynchronizationDetailsResponse struct {
// details of synchronization
SynchronizationDetailsList
}
// SharesClientListSynchronizationsResponse contains the response from method SharesClient.NewListSynchronizationsPager.
type SharesClientListSynchronizationsResponse struct {
// List response for get ShareSynchronization.
ShareSynchronizationList
}
// SynchronizationSettingsClientCreateResponse contains the response from method SynchronizationSettingsClient.Create.
type SynchronizationSettingsClientCreateResponse struct {
// A Synchronization Setting data transfer object.
SynchronizationSettingClassification
}
// UnmarshalJSON implements the json.Unmarshaller interface for type SynchronizationSettingsClientCreateResponse.
func (s *SynchronizationSettingsClientCreateResponse) UnmarshalJSON(data []byte) error {
res, err := unmarshalSynchronizationSettingClassification(data)
if err != nil {
return err
}
s.SynchronizationSettingClassification = res
return nil
}
// SynchronizationSettingsClientDeleteResponse contains the response from method SynchronizationSettingsClient.BeginDelete.
type SynchronizationSettingsClientDeleteResponse struct {
// Response for long running operation
OperationResponse
}
// SynchronizationSettingsClientGetResponse contains the response from method SynchronizationSettingsClient.Get.
type SynchronizationSettingsClientGetResponse struct {
// A Synchronization Setting data transfer object.
SynchronizationSettingClassification
}
// UnmarshalJSON implements the json.Unmarshaller interface for type SynchronizationSettingsClientGetResponse.
func (s *SynchronizationSettingsClientGetResponse) UnmarshalJSON(data []byte) error {
res, err := unmarshalSynchronizationSettingClassification(data)
if err != nil {
return err
}
s.SynchronizationSettingClassification = res
return nil
}
// SynchronizationSettingsClientListByShareResponse contains the response from method SynchronizationSettingsClient.NewListBySharePager.
type SynchronizationSettingsClientListByShareResponse struct {
// List response for get Synchronization settings
SynchronizationSettingList
}
// TriggersClientCreateResponse contains the response from method TriggersClient.BeginCreate.
type TriggersClientCreateResponse struct {
// A Trigger data transfer object.
TriggerClassification
}
// MarshalJSON implements the json.Marshaller interface for type TriggersClientCreateResponse.
func (t TriggersClientCreateResponse) MarshalJSON() ([]byte, error) {
return json.Marshal(t.TriggerClassification)
}
// UnmarshalJSON implements the json.Unmarshaller interface for type TriggersClientCreateResponse.
func (t *TriggersClientCreateResponse) UnmarshalJSON(data []byte) error {
res, err := unmarshalTriggerClassification(data)
if err != nil {
return err
}
t.TriggerClassification = res
return nil
}
// TriggersClientDeleteResponse contains the response from method TriggersClient.BeginDelete.
type TriggersClientDeleteResponse struct {
// Response for long running operation
OperationResponse
}
// TriggersClientGetResponse contains the response from method TriggersClient.Get.
type TriggersClientGetResponse struct {
// A Trigger data transfer object.
TriggerClassification
}
// UnmarshalJSON implements the json.Unmarshaller interface for type TriggersClientGetResponse.
func (t *TriggersClientGetResponse) UnmarshalJSON(data []byte) error {
res, err := unmarshalTriggerClassification(data)
if err != nil {
return err
}
t.TriggerClassification = res
return nil
}
// TriggersClientListByShareSubscriptionResponse contains the response from method TriggersClient.NewListByShareSubscriptionPager.
type TriggersClientListByShareSubscriptionResponse struct {
// List response for get triggers
TriggerList
}