forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 1
/
models.go
395 lines (355 loc) · 15.5 KB
/
models.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
// +build go1.9
// Copyright 2018 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
package mobileengagement
import original "github.com/Azure/azure-sdk-for-go/services/mobileengagement/mgmt/2014-12-01/mobileengagement"
type AppCollectionsClient = original.AppCollectionsClient
type AppsClient = original.AppsClient
type CampaignsClient = original.CampaignsClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type DevicesClient = original.DevicesClient
type ExportTasksClient = original.ExportTasksClient
type ImportTasksClient = original.ImportTasksClient
type AudienceOperators = original.AudienceOperators
const (
EQ AudienceOperators = original.EQ
GE AudienceOperators = original.GE
GT AudienceOperators = original.GT
LE AudienceOperators = original.LE
LT AudienceOperators = original.LT
)
type CampaignFeedbacks = original.CampaignFeedbacks
const (
Actioned CampaignFeedbacks = original.Actioned
Exited CampaignFeedbacks = original.Exited
Pushed CampaignFeedbacks = original.Pushed
Replied CampaignFeedbacks = original.Replied
)
type CampaignKinds = original.CampaignKinds
const (
Announcements CampaignKinds = original.Announcements
DataPushes CampaignKinds = original.DataPushes
NativePushes CampaignKinds = original.NativePushes
Polls CampaignKinds = original.Polls
)
type CampaignStates = original.CampaignStates
const (
Draft CampaignStates = original.Draft
Finished CampaignStates = original.Finished
InProgress CampaignStates = original.InProgress
Queued CampaignStates = original.Queued
Scheduled CampaignStates = original.Scheduled
)
type CampaignType = original.CampaignType
const (
Announcement CampaignType = original.Announcement
DataPush CampaignType = original.DataPush
NativePush CampaignType = original.NativePush
Poll CampaignType = original.Poll
)
type CampaignTypes = original.CampaignTypes
const (
OnlyNotif CampaignTypes = original.OnlyNotif
Textbase64 CampaignTypes = original.Textbase64
Texthtml CampaignTypes = original.Texthtml
Textplain CampaignTypes = original.Textplain
)
type DeliveryTimes = original.DeliveryTimes
const (
Any DeliveryTimes = original.Any
Background DeliveryTimes = original.Background
Session DeliveryTimes = original.Session
)
type ExportFormat = original.ExportFormat
const (
CsvBlob ExportFormat = original.CsvBlob
JSONBlob ExportFormat = original.JSONBlob
)
type ExportState = original.ExportState
const (
ExportStateFailed ExportState = original.ExportStateFailed
ExportStateQueued ExportState = original.ExportStateQueued
ExportStateStarted ExportState = original.ExportStateStarted
ExportStateSucceeded ExportState = original.ExportStateSucceeded
)
type ExportType = original.ExportType
const (
ExportTypeActivity ExportType = original.ExportTypeActivity
ExportTypeCrash ExportType = original.ExportTypeCrash
ExportTypeError ExportType = original.ExportTypeError
ExportTypeEvent ExportType = original.ExportTypeEvent
ExportTypeJob ExportType = original.ExportTypeJob
ExportTypePush ExportType = original.ExportTypePush
ExportTypeSession ExportType = original.ExportTypeSession
ExportTypeTag ExportType = original.ExportTypeTag
ExportTypeToken ExportType = original.ExportTypeToken
)
type JobStates = original.JobStates
const (
JobStatesFailed JobStates = original.JobStatesFailed
JobStatesQueued JobStates = original.JobStatesQueued
JobStatesStarted JobStates = original.JobStatesStarted
JobStatesSucceeded JobStates = original.JobStatesSucceeded
)
type NotificationTypes = original.NotificationTypes
const (
Popup NotificationTypes = original.Popup
System NotificationTypes = original.System
)
type ProvisioningStates = original.ProvisioningStates
const (
Creating ProvisioningStates = original.Creating
Succeeded ProvisioningStates = original.Succeeded
)
type PushModes = original.PushModes
const (
Manual PushModes = original.Manual
OneShot PushModes = original.OneShot
RealTime PushModes = original.RealTime
)
type Type = original.Type
const (
TypeAnnouncementFeedback Type = original.TypeAnnouncementFeedback
TypeApplicationVersion Type = original.TypeApplicationVersion
TypeBooleanTag Type = original.TypeBooleanTag
TypeCarrierCountry Type = original.TypeCarrierCountry
TypeCarrierName Type = original.TypeCarrierName
TypeCriterion Type = original.TypeCriterion
TypeDatapushFeedback Type = original.TypeDatapushFeedback
TypeDateTag Type = original.TypeDateTag
TypeDeviceManufacturer Type = original.TypeDeviceManufacturer
TypeDeviceModel Type = original.TypeDeviceModel
TypeFirmwareVersion Type = original.TypeFirmwareVersion
TypeGeoFencing Type = original.TypeGeoFencing
TypeIntegerTag Type = original.TypeIntegerTag
TypeLanguage Type = original.TypeLanguage
TypeLocation Type = original.TypeLocation
TypeNetworkType Type = original.TypeNetworkType
TypePollAnswerFeedback Type = original.TypePollAnswerFeedback
TypePollFeedback Type = original.TypePollFeedback
TypeScreenSize Type = original.TypeScreenSize
TypeSegment Type = original.TypeSegment
TypeStringTag Type = original.TypeStringTag
)
type TypeBasicFilter = original.TypeBasicFilter
const (
TypeAppInfo TypeBasicFilter = original.TypeAppInfo
TypeEngageActiveUsers TypeBasicFilter = original.TypeEngageActiveUsers
TypeEngageIdleUsers TypeBasicFilter = original.TypeEngageIdleUsers
TypeEngageNewUsers TypeBasicFilter = original.TypeEngageNewUsers
TypeEngageOldUsers TypeBasicFilter = original.TypeEngageOldUsers
TypeEngageSubset TypeBasicFilter = original.TypeEngageSubset
TypeFilter TypeBasicFilter = original.TypeFilter
TypeNativePushEnabled TypeBasicFilter = original.TypeNativePushEnabled
TypePushQuota TypeBasicFilter = original.TypePushQuota
)
type AnnouncementFeedbackCriterion = original.AnnouncementFeedbackCriterion
type APIError = original.APIError
type APIErrorError = original.APIErrorError
type App = original.App
type AppCollection = original.AppCollection
type AppCollectionListResult = original.AppCollectionListResult
type AppCollectionListResultIterator = original.AppCollectionListResultIterator
type AppCollectionListResultPage = original.AppCollectionListResultPage
type AppCollectionNameAvailability = original.AppCollectionNameAvailability
type AppCollectionProperties = original.AppCollectionProperties
type AppInfoFilter = original.AppInfoFilter
type ApplicationVersionCriterion = original.ApplicationVersionCriterion
type AppListResult = original.AppListResult
type AppListResultIterator = original.AppListResultIterator
type AppListResultPage = original.AppListResultPage
type AppProperties = original.AppProperties
type BooleanTagCriterion = original.BooleanTagCriterion
type Campaign = original.Campaign
type CampaignAudience = original.CampaignAudience
type CampaignListResult = original.CampaignListResult
type CampaignLocalization = original.CampaignLocalization
type CampaignPushParameters = original.CampaignPushParameters
type CampaignPushResult = original.CampaignPushResult
type CampaignResult = original.CampaignResult
type CampaignsListResult = original.CampaignsListResult
type CampaignsListResultIterator = original.CampaignsListResultIterator
type CampaignsListResultPage = original.CampaignsListResultPage
type CampaignState = original.CampaignState
type CampaignStateResult = original.CampaignStateResult
type CampaignStatisticsResult = original.CampaignStatisticsResult
type CampaignTestNewParameters = original.CampaignTestNewParameters
type CampaignTestSavedParameters = original.CampaignTestSavedParameters
type CarrierCountryCriterion = original.CarrierCountryCriterion
type CarrierNameCriterion = original.CarrierNameCriterion
type BasicCriterion = original.BasicCriterion
type Criterion = original.Criterion
type DatapushFeedbackCriterion = original.DatapushFeedbackCriterion
type DateRangeExportTaskParameter = original.DateRangeExportTaskParameter
type DateTagCriterion = original.DateTagCriterion
type Device = original.Device
type DeviceInfo = original.DeviceInfo
type DeviceLocation = original.DeviceLocation
type DeviceManufacturerCriterion = original.DeviceManufacturerCriterion
type DeviceMeta = original.DeviceMeta
type DeviceModelCriterion = original.DeviceModelCriterion
type DeviceQueryResult = original.DeviceQueryResult
type DevicesQueryResult = original.DevicesQueryResult
type DevicesQueryResultIterator = original.DevicesQueryResultIterator
type DevicesQueryResultPage = original.DevicesQueryResultPage
type DeviceTagsParameters = original.DeviceTagsParameters
type DeviceTagsResult = original.DeviceTagsResult
type EngageActiveUsersFilter = original.EngageActiveUsersFilter
type EngageIdleUsersFilter = original.EngageIdleUsersFilter
type EngageNewUsersFilter = original.EngageNewUsersFilter
type EngageOldUsersFilter = original.EngageOldUsersFilter
type EngageSubsetFilter = original.EngageSubsetFilter
type ExportOptions = original.ExportOptions
type ExportTaskListResult = original.ExportTaskListResult
type ExportTaskListResultIterator = original.ExportTaskListResultIterator
type ExportTaskListResultPage = original.ExportTaskListResultPage
type ExportTaskParameter = original.ExportTaskParameter
type ExportTaskResult = original.ExportTaskResult
type FeedbackByCampaignParameter = original.FeedbackByCampaignParameter
type FeedbackByDateRangeParameter = original.FeedbackByDateRangeParameter
type BasicFilter = original.BasicFilter
type Filter = original.Filter
type FirmwareVersionCriterion = original.FirmwareVersionCriterion
type GeoFencingCriterion = original.GeoFencingCriterion
type ImportTask = original.ImportTask
type ImportTaskListResult = original.ImportTaskListResult
type ImportTaskListResultIterator = original.ImportTaskListResultIterator
type ImportTaskListResultPage = original.ImportTaskListResultPage
type ImportTaskResult = original.ImportTaskResult
type IntegerTagCriterion = original.IntegerTagCriterion
type LanguageCriterion = original.LanguageCriterion
type LocationCriterion = original.LocationCriterion
type NativePushEnabledFilter = original.NativePushEnabledFilter
type NetworkTypeCriterion = original.NetworkTypeCriterion
type NotificationOptions = original.NotificationOptions
type PollAnswerFeedbackCriterion = original.PollAnswerFeedbackCriterion
type PollFeedbackCriterion = original.PollFeedbackCriterion
type PollQuestion = original.PollQuestion
type PollQuestionChoice = original.PollQuestionChoice
type PollQuestionChoiceLocalization = original.PollQuestionChoiceLocalization
type PollQuestionLocalization = original.PollQuestionLocalization
type PushQuotaFilter = original.PushQuotaFilter
type Resource = original.Resource
type ScreenSizeCriterion = original.ScreenSizeCriterion
type SegmentCriterion = original.SegmentCriterion
type StringTagCriterion = original.StringTagCriterion
type SupportedPlatformsListResult = original.SupportedPlatformsListResult
type SupportedPlatformsClient = original.SupportedPlatformsClient
func NewAppCollectionsClient(subscriptionID string) AppCollectionsClient {
return original.NewAppCollectionsClient(subscriptionID)
}
func NewAppCollectionsClientWithBaseURI(baseURI string, subscriptionID string) AppCollectionsClient {
return original.NewAppCollectionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewAppsClient(subscriptionID string) AppsClient {
return original.NewAppsClient(subscriptionID)
}
func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient {
return original.NewAppsClientWithBaseURI(baseURI, subscriptionID)
}
func NewCampaignsClient(subscriptionID string) CampaignsClient {
return original.NewCampaignsClient(subscriptionID)
}
func NewCampaignsClientWithBaseURI(baseURI string, subscriptionID string) CampaignsClient {
return original.NewCampaignsClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewDevicesClient(subscriptionID string) DevicesClient {
return original.NewDevicesClient(subscriptionID)
}
func NewDevicesClientWithBaseURI(baseURI string, subscriptionID string) DevicesClient {
return original.NewDevicesClientWithBaseURI(baseURI, subscriptionID)
}
func NewExportTasksClient(subscriptionID string) ExportTasksClient {
return original.NewExportTasksClient(subscriptionID)
}
func NewExportTasksClientWithBaseURI(baseURI string, subscriptionID string) ExportTasksClient {
return original.NewExportTasksClientWithBaseURI(baseURI, subscriptionID)
}
func NewImportTasksClient(subscriptionID string) ImportTasksClient {
return original.NewImportTasksClient(subscriptionID)
}
func NewImportTasksClientWithBaseURI(baseURI string, subscriptionID string) ImportTasksClient {
return original.NewImportTasksClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleAudienceOperatorsValues() []AudienceOperators {
return original.PossibleAudienceOperatorsValues()
}
func PossibleCampaignFeedbacksValues() []CampaignFeedbacks {
return original.PossibleCampaignFeedbacksValues()
}
func PossibleCampaignKindsValues() []CampaignKinds {
return original.PossibleCampaignKindsValues()
}
func PossibleCampaignStatesValues() []CampaignStates {
return original.PossibleCampaignStatesValues()
}
func PossibleCampaignTypeValues() []CampaignType {
return original.PossibleCampaignTypeValues()
}
func PossibleCampaignTypesValues() []CampaignTypes {
return original.PossibleCampaignTypesValues()
}
func PossibleDeliveryTimesValues() []DeliveryTimes {
return original.PossibleDeliveryTimesValues()
}
func PossibleExportFormatValues() []ExportFormat {
return original.PossibleExportFormatValues()
}
func PossibleExportStateValues() []ExportState {
return original.PossibleExportStateValues()
}
func PossibleExportTypeValues() []ExportType {
return original.PossibleExportTypeValues()
}
func PossibleJobStatesValues() []JobStates {
return original.PossibleJobStatesValues()
}
func PossibleNotificationTypesValues() []NotificationTypes {
return original.PossibleNotificationTypesValues()
}
func PossibleProvisioningStatesValues() []ProvisioningStates {
return original.PossibleProvisioningStatesValues()
}
func PossiblePushModesValues() []PushModes {
return original.PossiblePushModesValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func PossibleTypeBasicFilterValues() []TypeBasicFilter {
return original.PossibleTypeBasicFilterValues()
}
func NewSupportedPlatformsClient(subscriptionID string) SupportedPlatformsClient {
return original.NewSupportedPlatformsClient(subscriptionID)
}
func NewSupportedPlatformsClientWithBaseURI(baseURI string, subscriptionID string) SupportedPlatformsClient {
return original.NewSupportedPlatformsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}