|
| 1 | +# -------------------------------------------------------------------------------------------- |
| 2 | +# Copyright (c) Microsoft Corporation. All rights reserved. |
| 3 | +# Licensed under the MIT License. See License.txt in the project root for license information. |
| 4 | +# -------------------------------------------------------------------------------------------- |
| 5 | +# Generated file, DO NOT EDIT |
| 6 | +# Changes may cause incorrect behavior and will be lost if the code is regenerated. |
| 7 | +# -------------------------------------------------------------------------------------------- |
| 8 | + |
| 9 | + |
| 10 | +class ClientFactory(object): |
| 11 | + """ClientFactory. |
| 12 | + A factory class to get the 5.0 released clients. |
| 13 | + """ |
| 14 | + |
| 15 | + def __init__(self, connection): |
| 16 | + self._connection = connection |
| 17 | + |
| 18 | + def get_accounts_client(self): |
| 19 | + """get_accounts_client. |
| 20 | + Gets the 5.0 version of the AccountsClient |
| 21 | + :rtype: :class:`<AccountsClient> <azure.devops.released.accounts.accounts_client.AccountsClient>` |
| 22 | + """ |
| 23 | + return self._connection.get_client('azure.devops.released.accounts.accounts_client.AccountsClient') |
| 24 | + |
| 25 | + def get_build_client(self): |
| 26 | + """get_build_client. |
| 27 | + Gets the 5.0 version of the BuildClient |
| 28 | + :rtype: :class:`<BuildClient> <azure.devops.released.build.build_client.BuildClient>` |
| 29 | + """ |
| 30 | + return self._connection.get_client('azure.devops.released.build.build_client.BuildClient') |
| 31 | + |
| 32 | + def get_cloud_load_test_client(self): |
| 33 | + """get_cloud_load_test_client. |
| 34 | + Gets the 5.0 version of the CloudLoadTestClient |
| 35 | + :rtype: :class:`<CloudLoadTestClient> <azure.devops.released.cloud_load_test.cloud_load_test_client.CloudLoadTestClient>` |
| 36 | + """ |
| 37 | + return self._connection.get_client('azure.devops.released.cloud_load_test.cloud_load_test_client.CloudLoadTestClient') |
| 38 | + |
| 39 | + def get_core_client(self): |
| 40 | + """get_core_client. |
| 41 | + Gets the 5.0 version of the CoreClient |
| 42 | + :rtype: :class:`<CoreClient> <azure.devops.released.core.core_client.CoreClient>` |
| 43 | + """ |
| 44 | + return self._connection.get_client('azure.devops.released.core.core_client.CoreClient') |
| 45 | + |
| 46 | + def get_git_client(self): |
| 47 | + """get_git_client. |
| 48 | + Gets the 5.0 version of the GitClient |
| 49 | + :rtype: :class:`<GitClient> <azure.devops.released.git.git_client.GitClient>` |
| 50 | + """ |
| 51 | + return self._connection.get_client('azure.devops.released.git.git_client.GitClient') |
| 52 | + |
| 53 | + def get_identity_client(self): |
| 54 | + """get_identity_client. |
| 55 | + Gets the 5.0 version of the IdentityClient |
| 56 | + :rtype: :class:`<IdentityClient> <azure.devops.released.identity.identity_client.IdentityClient>` |
| 57 | + """ |
| 58 | + return self._connection.get_client('azure.devops.released.identity.identity_client.IdentityClient') |
| 59 | + |
| 60 | + def get_operations_client(self): |
| 61 | + """get_operations_client. |
| 62 | + Gets the 5.0 version of the OperationsClient |
| 63 | + :rtype: :class:`<OperationsClient> <azure.devops.released.operations.operations_client.OperationsClient>` |
| 64 | + """ |
| 65 | + return self._connection.get_client('azure.devops.released.operations.operations_client.OperationsClient') |
| 66 | + |
| 67 | + def get_policy_client(self): |
| 68 | + """get_policy_client. |
| 69 | + Gets the 5.0 version of the PolicyClient |
| 70 | + :rtype: :class:`<PolicyClient> <azure.devops.released.policy.policy_client.PolicyClient>` |
| 71 | + """ |
| 72 | + return self._connection.get_client('azure.devops.released.policy.policy_client.PolicyClient') |
| 73 | + |
| 74 | + def get_profile_client(self): |
| 75 | + """get_profile_client. |
| 76 | + Gets the 5.0 version of the ProfileClient |
| 77 | + :rtype: :class:`<ProfileClient> <azure.devops.released.profile.profile_client.ProfileClient>` |
| 78 | + """ |
| 79 | + return self._connection.get_client('azure.devops.released.profile.profile_client.ProfileClient') |
| 80 | + |
| 81 | + def get_release_client(self): |
| 82 | + """get_release_client. |
| 83 | + Gets the 5.0 version of the ReleaseClient |
| 84 | + :rtype: :class:`<ReleaseClient> <azure.devops.released.release.release_client.ReleaseClient>` |
| 85 | + """ |
| 86 | + return self._connection.get_client('azure.devops.released.release.release_client.ReleaseClient') |
| 87 | + |
| 88 | + def get_security_client(self): |
| 89 | + """get_security_client. |
| 90 | + Gets the 5.0 version of the SecurityClient |
| 91 | + :rtype: :class:`<SecurityClient> <azure.devops.released.security.security_client.SecurityClient>` |
| 92 | + """ |
| 93 | + return self._connection.get_client('azure.devops.released.security.security_client.SecurityClient') |
| 94 | + |
| 95 | + def get_service_hooks_client(self): |
| 96 | + """get_service_hooks_client. |
| 97 | + Gets the 5.0 version of the ServiceHooksClient |
| 98 | + :rtype: :class:`<ServiceHooksClient> <azure.devops.released.service_hooks.service_hooks_client.ServiceHooksClient>` |
| 99 | + """ |
| 100 | + return self._connection.get_client('azure.devops.released.service_hooks.service_hooks_client.ServiceHooksClient') |
| 101 | + |
| 102 | + def get_task_client(self): |
| 103 | + """get_task_client. |
| 104 | + Gets the 5.0 version of the TaskClient |
| 105 | + :rtype: :class:`<TaskClient> <azure.devops.released.task.task_client.TaskClient>` |
| 106 | + """ |
| 107 | + return self._connection.get_client('azure.devops.released.task.task_client.TaskClient') |
| 108 | + |
| 109 | + def get_task_agent_client(self): |
| 110 | + """get_task_agent_client. |
| 111 | + Gets the 5.0 version of the TaskAgentClient |
| 112 | + :rtype: :class:`<TaskAgentClient> <azure.devops.released.task_agent.task_agent_client.TaskAgentClient>` |
| 113 | + """ |
| 114 | + return self._connection.get_client('azure.devops.released.task_agent.task_agent_client.TaskAgentClient') |
| 115 | + |
| 116 | + def get_test_client(self): |
| 117 | + """get_test_client. |
| 118 | + Gets the 5.0 version of the TestClient |
| 119 | + :rtype: :class:`<TestClient> <azure.devops.released.test.test_client.TestClient>` |
| 120 | + """ |
| 121 | + return self._connection.get_client('azure.devops.released.test.test_client.TestClient') |
| 122 | + |
| 123 | + def get_tfvc_client(self): |
| 124 | + """get_tfvc_client. |
| 125 | + Gets the 5.0 version of the TfvcClient |
| 126 | + :rtype: :class:`<TfvcClient> <azure.devops.released.tfvc.tfvc_client.TfvcClient>` |
| 127 | + """ |
| 128 | + return self._connection.get_client('azure.devops.released.tfvc.tfvc_client.TfvcClient') |
| 129 | + |
| 130 | + def get_wiki_client(self): |
| 131 | + """get_wiki_client. |
| 132 | + Gets the 5.0 version of the WikiClient |
| 133 | + :rtype: :class:`<WikiClient> <azure.devops.released.wiki.wiki_client.WikiClient>` |
| 134 | + """ |
| 135 | + return self._connection.get_client('azure.devops.released.wiki.wiki_client.WikiClient') |
| 136 | + |
| 137 | + def get_work_client(self): |
| 138 | + """get_work_client. |
| 139 | + Gets the 5.0 version of the WorkClient |
| 140 | + :rtype: :class:`<WorkClient> <azure.devops.released.work.work_client.WorkClient>` |
| 141 | + """ |
| 142 | + return self._connection.get_client('azure.devops.released.work.work_client.WorkClient') |
| 143 | + |
| 144 | + def get_work_item_tracking_client(self): |
| 145 | + """get_work_item_tracking_client. |
| 146 | + Gets the 5.0 version of the WorkItemTrackingClient |
| 147 | + :rtype: :class:`<WorkItemTrackingClient> <azure.devops.released.work_item_tracking.work_item_tracking_client.WorkItemTrackingClient>` |
| 148 | + """ |
| 149 | + return self._connection.get_client('azure.devops.released.work_item_tracking.work_item_tracking_client.WorkItemTrackingClient') |
| 150 | + |
0 commit comments