File: client_factory.py

package info (click to toggle)
azure-devops-cli-extension 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,384 kB
  • sloc: python: 160,782; xml: 198; makefile: 56; sh: 51
file content (381 lines) | stat: -rw-r--r-- 19,580 bytes parent folder | download | duplicates (4)
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
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------


class ClientFactoryV5_0(object):
    """ClientFactoryV5_0.
    A factory class to get the 5.0 clients.
    """

    def __init__(self, connection):
        self._connection = connection

    def get_accounts_client(self):
        """get_accounts_client.
        Gets the 5.0 version of the AccountsClient
        :rtype: :class:`<AccountsClient> <azure.devops.v5_0.accounts.accounts_client.AccountsClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.accounts.accounts_client.AccountsClient')

    def get_boards_client(self):
        """get_boards_client.
        Gets the 5.0 version of the BoardsClient
        :rtype: :class:`<BoardsClient> <azure.devops.v5_0.boards.boards_client.BoardsClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.boards.boards_client.BoardsClient')

    def get_build_client(self):
        """get_build_client.
        Gets the 5.0 version of the BuildClient
        :rtype: :class:`<BuildClient> <azure.devops.v5_0.build.build_client.BuildClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.build.build_client.BuildClient')

    def get_client_trace_client(self):
        """get_client_trace_client.
        Gets the 5.0 version of the ClientTraceClient
        :rtype: :class:`<ClientTraceClient> <azure.devops.v5_0.client_trace.client_trace_client.ClientTraceClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.client_trace.client_trace_client.ClientTraceClient')

    def get_cloud_load_test_client(self):
        """get_cloud_load_test_client.
        Gets the 5.0 version of the CloudLoadTestClient
        :rtype: :class:`<CloudLoadTestClient> <azure.devops.v5_0.cloud_load_test.cloud_load_test_client.CloudLoadTestClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.cloud_load_test.cloud_load_test_client.CloudLoadTestClient')

    def get_contributions_client(self):
        """get_contributions_client.
        Gets the 5.0 version of the ContributionsClient
        :rtype: :class:`<ContributionsClient> <azure.devops.v5_0.contributions.contributions_client.ContributionsClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.contributions.contributions_client.ContributionsClient')

    def get_core_client(self):
        """get_core_client.
        Gets the 5.0 version of the CoreClient
        :rtype: :class:`<CoreClient> <azure.devops.v5_0.core.core_client.CoreClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.core.core_client.CoreClient')

    def get_customer_intelligence_client(self):
        """get_customer_intelligence_client.
        Gets the 5.0 version of the CustomerIntelligenceClient
        :rtype: :class:`<CustomerIntelligenceClient> <azure.devops.v5_0.customer_intelligence.customer_intelligence_client.CustomerIntelligenceClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.customer_intelligence.customer_intelligence_client.CustomerIntelligenceClient')

    def get_dashboard_client(self):
        """get_dashboard_client.
        Gets the 5.0 version of the DashboardClient
        :rtype: :class:`<DashboardClient> <azure.devops.v5_0.dashboard.dashboard_client.DashboardClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.dashboard.dashboard_client.DashboardClient')

    def get_extension_management_client(self):
        """get_extension_management_client.
        Gets the 5.0 version of the ExtensionManagementClient
        :rtype: :class:`<ExtensionManagementClient> <azure.devops.v5_0.extension_management.extension_management_client.ExtensionManagementClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.extension_management.extension_management_client.ExtensionManagementClient')

    def get_feature_availability_client(self):
        """get_feature_availability_client.
        Gets the 5.0 version of the FeatureAvailabilityClient
        :rtype: :class:`<FeatureAvailabilityClient> <azure.devops.v5_0.feature_availability.feature_availability_client.FeatureAvailabilityClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.feature_availability.feature_availability_client.FeatureAvailabilityClient')

    def get_feature_management_client(self):
        """get_feature_management_client.
        Gets the 5.0 version of the FeatureManagementClient
        :rtype: :class:`<FeatureManagementClient> <azure.devops.v5_0.feature_management.feature_management_client.FeatureManagementClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.feature_management.feature_management_client.FeatureManagementClient')

    def get_feed_client(self):
        """get_feed_client.
        Gets the 5.0 version of the FeedClient
        :rtype: :class:`<FeedClient> <azure.devops.v5_0.feed.feed_client.FeedClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.feed.feed_client.FeedClient')

    def get_feed_token_client(self):
        """get_feed_token_client.
        Gets the 5.0 version of the FeedTokenClient
        :rtype: :class:`<FeedTokenClient> <azure.devops.v5_0.feed_token.feed_token_client.FeedTokenClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.feed_token.feed_token_client.FeedTokenClient')

    def get_file_container_client(self):
        """get_file_container_client.
        Gets the 5.0 version of the FileContainerClient
        :rtype: :class:`<FileContainerClient> <azure.devops.v5_0.file_container.file_container_client.FileContainerClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.file_container.file_container_client.FileContainerClient')

    def get_gallery_client(self):
        """get_gallery_client.
        Gets the 5.0 version of the GalleryClient
        :rtype: :class:`<GalleryClient> <azure.devops.v5_0.gallery.gallery_client.GalleryClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.gallery.gallery_client.GalleryClient')

    def get_git_client(self):
        """get_git_client.
        Gets the 5.0 version of the GitClient
        :rtype: :class:`<GitClient> <azure.devops.v5_0.git.git_client.GitClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.git.git_client.GitClient')

    def get_graph_client(self):
        """get_graph_client.
        Gets the 5.0 version of the GraphClient
        :rtype: :class:`<GraphClient> <azure.devops.v5_0.graph.graph_client.GraphClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.graph.graph_client.GraphClient')

    def get_identity_client(self):
        """get_identity_client.
        Gets the 5.0 version of the IdentityClient
        :rtype: :class:`<IdentityClient> <azure.devops.v5_0.identity.identity_client.IdentityClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.identity.identity_client.IdentityClient')

    def get_licensing_client(self):
        """get_licensing_client.
        Gets the 5.0 version of the LicensingClient
        :rtype: :class:`<LicensingClient> <azure.devops.v5_0.licensing.licensing_client.LicensingClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.licensing.licensing_client.LicensingClient')

    def get_location_client(self):
        """get_location_client.
        Gets the 5.0 version of the LocationClient
        :rtype: :class:`<LocationClient> <azure.devops.v5_0.location.location_client.LocationClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.location.location_client.LocationClient')

    def get_maven_client(self):
        """get_maven_client.
        Gets the 5.0 version of the MavenClient
        :rtype: :class:`<MavenClient> <azure.devops.v5_0.maven.maven_client.MavenClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.maven.maven_client.MavenClient')

    def get_member_entitlement_management_client(self):
        """get_member_entitlement_management_client.
        Gets the 5.0 version of the MemberEntitlementManagementClient
        :rtype: :class:`<MemberEntitlementManagementClient> <azure.devops.v5_0.member_entitlement_management.member_entitlement_management_client.MemberEntitlementManagementClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.member_entitlement_management.member_entitlement_management_client.MemberEntitlementManagementClient')

    def get_notification_client(self):
        """get_notification_client.
        Gets the 5.0 version of the NotificationClient
        :rtype: :class:`<NotificationClient> <azure.devops.v5_0.notification.notification_client.NotificationClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.notification.notification_client.NotificationClient')

    def get_npm_client(self):
        """get_npm_client.
        Gets the 5.0 version of the NpmClient
        :rtype: :class:`<NpmClient> <azure.devops.v5_0.npm.npm_client.NpmClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.npm.npm_client.NpmClient')

    def get_nuget_client(self):
        """get_nuget_client.
        Gets the 5.0 version of the NuGetClient
        :rtype: :class:`<NuGetClient> <azure.devops.v5_0.nuget.nuget_client.NuGetClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.nuget.nuget_client.NuGetClient')

    def get_operations_client(self):
        """get_operations_client.
        Gets the 5.0 version of the OperationsClient
        :rtype: :class:`<OperationsClient> <azure.devops.v5_0.operations.operations_client.OperationsClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.operations.operations_client.OperationsClient')

    def get_policy_client(self):
        """get_policy_client.
        Gets the 5.0 version of the PolicyClient
        :rtype: :class:`<PolicyClient> <azure.devops.v5_0.policy.policy_client.PolicyClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.policy.policy_client.PolicyClient')

    def get_profile_client(self):
        """get_profile_client.
        Gets the 5.0 version of the ProfileClient
        :rtype: :class:`<ProfileClient> <azure.devops.v5_0.profile.profile_client.ProfileClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.profile.profile_client.ProfileClient')

    def get_project_analysis_client(self):
        """get_project_analysis_client.
        Gets the 5.0 version of the ProjectAnalysisClient
        :rtype: :class:`<ProjectAnalysisClient> <azure.devops.v5_0.project_analysis.project_analysis_client.ProjectAnalysisClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.project_analysis.project_analysis_client.ProjectAnalysisClient')

    def get_provenance_client(self):
        """get_provenance_client.
        Gets the 5.0 version of the ProvenanceClient
        :rtype: :class:`<ProvenanceClient> <azure.devops.v5_0.provenance.provenance_client.ProvenanceClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.provenance.provenance_client.ProvenanceClient')

    def get_py_pi_api_client(self):
        """get_py_pi_api_client.
        Gets the 5.0 version of the PyPiApiClient
        :rtype: :class:`<PyPiApiClient> <azure.devops.v5_0.py_pi_api.py_pi_api_client.PyPiApiClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.py_pi_api.py_pi_api_client.PyPiApiClient')

    def get_release_client(self):
        """get_release_client.
        Gets the 5.0 version of the ReleaseClient
        :rtype: :class:`<ReleaseClient> <azure.devops.v5_0.release.release_client.ReleaseClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.release.release_client.ReleaseClient')

    def get_search_client(self):
        """get_search_client.
        Gets the 5.0 version of the SearchClient
        :rtype: :class:`<SearchClient> <azure.devops.v5_0.search.search_client.SearchClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.search.search_client.SearchClient')

    def get_security_client(self):
        """get_security_client.
        Gets the 5.0 version of the SecurityClient
        :rtype: :class:`<SecurityClient> <azure.devops.v5_0.security.security_client.SecurityClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.security.security_client.SecurityClient')

    def get_service_endpoint_client(self):
        """get_service_endpoint_client.
        Gets the 5.0 version of the ServiceEndpointClient
        :rtype: :class:`<ServiceEndpointClient> <azure.devops.v5_0.service_endpoint.service_endpoint_client.ServiceEndpointClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.service_endpoint.service_endpoint_client.ServiceEndpointClient')

    def get_service_hooks_client(self):
        """get_service_hooks_client.
        Gets the 5.0 version of the ServiceHooksClient
        :rtype: :class:`<ServiceHooksClient> <azure.devops.v5_0.service_hooks.service_hooks_client.ServiceHooksClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.service_hooks.service_hooks_client.ServiceHooksClient')

    def get_settings_client(self):
        """get_settings_client.
        Gets the 5.0 version of the SettingsClient
        :rtype: :class:`<SettingsClient> <azure.devops.v5_0.settings.settings_client.SettingsClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.settings.settings_client.SettingsClient')

    def get_symbol_client(self):
        """get_symbol_client.
        Gets the 5.0 version of the SymbolClient
        :rtype: :class:`<SymbolClient> <azure.devops.v5_0.symbol.symbol_client.SymbolClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.symbol.symbol_client.SymbolClient')

    def get_task_client(self):
        """get_task_client.
        Gets the 5.0 version of the TaskClient
        :rtype: :class:`<TaskClient> <azure.devops.v5_0.task.task_client.TaskClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.task.task_client.TaskClient')

    def get_task_agent_client(self):
        """get_task_agent_client.
        Gets the 5.0 version of the TaskAgentClient
        :rtype: :class:`<TaskAgentClient> <azure.devops.v5_0.task_agent.task_agent_client.TaskAgentClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.task_agent.task_agent_client.TaskAgentClient')

    def get_test_client(self):
        """get_test_client.
        Gets the 5.0 version of the TestClient
        :rtype: :class:`<TestClient> <azure.devops.v5_0.test.test_client.TestClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.test.test_client.TestClient')

    def get_tfvc_client(self):
        """get_tfvc_client.
        Gets the 5.0 version of the TfvcClient
        :rtype: :class:`<TfvcClient> <azure.devops.v5_0.tfvc.tfvc_client.TfvcClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.tfvc.tfvc_client.TfvcClient')

    def get_token_admin_client(self):
        """get_token_admin_client.
        Gets the 5.0 version of the TokenAdminClient
        :rtype: :class:`<TokenAdminClient> <azure.devops.v5_0.token_admin.token_admin_client.TokenAdminClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.token_admin.token_admin_client.TokenAdminClient')

    def get_token_administration_client(self):
        """get_token_administration_client.
        Gets the 5.0 version of the TokenAdministrationClient
        :rtype: :class:`<TokenAdministrationClient> <azure.devops.v5_0.token_administration.token_administration_client.TokenAdministrationClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.token_administration.token_administration_client.TokenAdministrationClient')

    def get_upack_api_client(self):
        """get_upack_api_client.
        Gets the 5.0 version of the UPackApiClient
        :rtype: :class:`<UPackApiClient> <azure.devops.v5_0.upack_api.upack_api_client.UPackApiClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.upack_api.upack_api_client.UPackApiClient')

    def get_upack_packaging_client(self):
        """get_upack_packaging_client.
        Gets the 5.0 version of the UPackPackagingClient
        :rtype: :class:`<UPackPackagingClient> <azure.devops.v5_0.upack_packaging.upack_packaging_client.UPackPackagingClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.upack_packaging.upack_packaging_client.UPackPackagingClient')

    def get_wiki_client(self):
        """get_wiki_client.
        Gets the 5.0 version of the WikiClient
        :rtype: :class:`<WikiClient> <azure.devops.v5_0.wiki.wiki_client.WikiClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.wiki.wiki_client.WikiClient')

    def get_work_client(self):
        """get_work_client.
        Gets the 5.0 version of the WorkClient
        :rtype: :class:`<WorkClient> <azure.devops.v5_0.work.work_client.WorkClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.work.work_client.WorkClient')

    def get_work_item_tracking_client(self):
        """get_work_item_tracking_client.
        Gets the 5.0 version of the WorkItemTrackingClient
        :rtype: :class:`<WorkItemTrackingClient> <azure.devops.v5_0.work_item_tracking.work_item_tracking_client.WorkItemTrackingClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.work_item_tracking.work_item_tracking_client.WorkItemTrackingClient')

    def get_work_item_tracking_process_client(self):
        """get_work_item_tracking_process_client.
        Gets the 5.0 version of the WorkItemTrackingProcessClient
        :rtype: :class:`<WorkItemTrackingProcessClient> <azure.devops.v5_0.work_item_tracking_process.work_item_tracking_process_client.WorkItemTrackingProcessClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.work_item_tracking_process.work_item_tracking_process_client.WorkItemTrackingProcessClient')

    def get_work_item_tracking_process_template_client(self):
        """get_work_item_tracking_process_template_client.
        Gets the 5.0 version of the WorkItemTrackingProcessTemplateClient
        :rtype: :class:`<WorkItemTrackingProcessTemplateClient> <azure.devops.v5_0.work_item_tracking_process_template.work_item_tracking_process_template_client.WorkItemTrackingProcessTemplateClient>`
        """
        return self._connection.get_client('azure.devops.v5_0.work_item_tracking_process_template.work_item_tracking_process_template_client.WorkItemTrackingProcessTemplateClient')