diff --git a/.gitignore b/.gitignore index 67d6286e..6159faaa 100644 --- a/.gitignore +++ b/.gitignore @@ -300,3 +300,6 @@ vsts/build/bdist.win32/ !azure-devops/azure/devops/released/release !azure-devops/azure/devops/v5_0/release !azure-devops/azure/devops/v5_1/release + +# ignore private folder for testing reported issues +issues/ \ No newline at end of file diff --git a/azure-devops/azure/devops/released/notification/notification_client.py b/azure-devops/azure/devops/released/notification/notification_client.py index 2c833304..12a2656f 100644 --- a/azure-devops/azure/devops/released/notification/notification_client.py +++ b/azure-devops/azure/devops/released/notification/notification_client.py @@ -27,11 +27,11 @@ def __init__(self, base_url=None, creds=None): def list_logs(self, source, entry_id=None, start_time=None, end_time=None): """ListLogs. - List diagnostic logs this service. - :param str source: - :param str entry_id: - :param datetime start_time: - :param datetime end_time: + Get a list of diagnostic logs for this service. + :param str source: ID specifying which type of logs to check diagnostics for. + :param str entry_id: The ID of the specific log to query for. + :param datetime start_time: Start time for the time range to query in. + :param datetime end_time: End time for the time range to query in. :rtype: [INotificationDiagnosticLog] """ route_values = {} @@ -53,7 +53,8 @@ def list_logs(self, source, entry_id=None, start_time=None, end_time=None): def get_subscription_diagnostics(self, subscription_id): """GetSubscriptionDiagnostics. - :param str subscription_id: + Get the diagnostics settings for a subscription. + :param str subscription_id: The id of the notifications subscription. :rtype: :class:` ` """ route_values = {} @@ -67,8 +68,9 @@ def get_subscription_diagnostics(self, subscription_id): def update_subscription_diagnostics(self, update_parameters, subscription_id): """UpdateSubscriptionDiagnostics. + Update the diagnostics settings for a subscription. :param :class:` ` update_parameters: - :param str subscription_id: + :param str subscription_id: The id of the notifications subscription. :rtype: :class:` ` """ route_values = {} @@ -85,7 +87,7 @@ def update_subscription_diagnostics(self, update_parameters, subscription_id): def get_event_type(self, event_type): """GetEventType. Get a specific event type. - :param str event_type: + :param str event_type: The ID of the event type. :rtype: :class:` ` """ route_values = {} @@ -135,7 +137,8 @@ def update_settings(self, update_parameters): def get_subscriber(self, subscriber_id): """GetSubscriber. - :param str subscriber_id: + Get delivery preferences of a notifications subscriber. + :param str subscriber_id: ID of the user or group. :rtype: :class:` ` """ route_values = {} @@ -149,8 +152,9 @@ def get_subscriber(self, subscriber_id): def update_subscriber(self, update_parameters, subscriber_id): """UpdateSubscriber. + Update delivery preferences of a notifications subscriber. :param :class:` ` update_parameters: - :param str subscriber_id: + :param str subscriber_id: ID of the user or group. :rtype: :class:` ` """ route_values = {} diff --git a/azure-devops/azure/devops/v5_0/cloud_load_test/models.py b/azure-devops/azure/devops/v5_0/cloud_load_test/models.py index 0e3018d0..bd0f4b6f 100644 --- a/azure-devops/azure/devops/v5_0/cloud_load_test/models.py +++ b/azure-devops/azure/devops/v5_0/cloud_load_test/models.py @@ -1442,8 +1442,8 @@ class WebApiUserLoadTestMachineInput(WebApiLoadTestMachineInput): :type tenant_id: str :param user_load_agent_resources_uri: :type user_load_agent_resources_uri: str - :param vSTSAccount_uri: - :type vSTSAccount_uri: str + :param vsts_account_uri: + :type vsts_account_uri: str """ _attribute_map = { @@ -1454,15 +1454,15 @@ class WebApiUserLoadTestMachineInput(WebApiLoadTestMachineInput): 'agent_group_name': {'key': 'agentGroupName', 'type': 'str'}, 'tenant_id': {'key': 'tenantId', 'type': 'str'}, 'user_load_agent_resources_uri': {'key': 'userLoadAgentResourcesUri', 'type': 'str'}, - 'vSTSAccount_uri': {'key': 'vSTSAccountUri', 'type': 'str'} + 'vsts_account_uri': {'key': 'vstsAccountUri', 'type': 'str'} } - def __init__(self, machine_group_id=None, machine_type=None, setup_configuration=None, supported_run_types=None, agent_group_name=None, tenant_id=None, user_load_agent_resources_uri=None, vSTSAccount_uri=None): + def __init__(self, machine_group_id=None, machine_type=None, setup_configuration=None, supported_run_types=None, agent_group_name=None, tenant_id=None, user_load_agent_resources_uri=None, vsts_account_uri=None): super(WebApiUserLoadTestMachineInput, self).__init__(machine_group_id=machine_group_id, machine_type=machine_type, setup_configuration=setup_configuration, supported_run_types=supported_run_types) self.agent_group_name = agent_group_name self.tenant_id = tenant_id self.user_load_agent_resources_uri = user_load_agent_resources_uri - self.vSTSAccount_uri = vSTSAccount_uri + self.vsts_account_uri = vsts_account_uri class WebInstanceSummaryData(Model): diff --git a/azure-devops/azure/devops/v5_0/gallery/models.py b/azure-devops/azure/devops/v5_0/gallery/models.py index 16c1b8f9..76ea5f24 100644 --- a/azure-devops/azure/devops/v5_0/gallery/models.py +++ b/azure-devops/azure/devops/v5_0/gallery/models.py @@ -64,21 +64,21 @@ def __init__(self, default_operation=None, item_id=None, operations=None, target class Answers(Model): """Answers. - :param vSMarketplace_extension_name: Gets or sets the vs marketplace extension name - :type vSMarketplace_extension_name: str - :param vSMarketplace_publisher_name: Gets or sets the vs marketplace publsiher name - :type vSMarketplace_publisher_name: str + :param vs_marketplace_extension_name: Gets or sets the vs marketplace extension name + :type vs_marketplace_extension_name: str + :param vs_marketplace_publisher_name: Gets or sets the vs marketplace publsiher name + :type vs_marketplace_publisher_name: str """ _attribute_map = { - 'vSMarketplace_extension_name': {'key': 'vSMarketplaceExtensionName', 'type': 'str'}, - 'vSMarketplace_publisher_name': {'key': 'vSMarketplacePublisherName', 'type': 'str'} + 'vs_marketplace_extension_name': {'key': 'vsMarketplaceExtensionName', 'type': 'str'}, + 'vs_marketplace_publisher_name': {'key': 'vsMarketplacePublisherName', 'type': 'str'} } - def __init__(self, vSMarketplace_extension_name=None, vSMarketplace_publisher_name=None): + def __init__(self, vs_marketplace_extension_name=None, vs_marketplace_publisher_name=None): super(Answers, self).__init__() - self.vSMarketplace_extension_name = vSMarketplace_extension_name - self.vSMarketplace_publisher_name = vSMarketplace_publisher_name + self.vs_marketplace_extension_name = vs_marketplace_extension_name + self.vs_marketplace_publisher_name = vs_marketplace_publisher_name class AssetDetails(Model): diff --git a/azure-devops/azure/devops/v5_0/notification/notification_client.py b/azure-devops/azure/devops/v5_0/notification/notification_client.py index a2b7ac39..948f2b5c 100644 --- a/azure-devops/azure/devops/v5_0/notification/notification_client.py +++ b/azure-devops/azure/devops/v5_0/notification/notification_client.py @@ -244,9 +244,9 @@ def get_subscription(self, subscription_id, query_flags=None): def list_subscriptions(self, target_id=None, ids=None, query_flags=None): """ListSubscriptions. - [Preview API] - :param str target_id: - :param [str] ids: + [Preview API] Get a list of notification subscriptions, either by subscription IDs or by all subscriptions for a given user or group. + :param str target_id: User or Group ID + :param [str] ids: List of subscription IDs :param str query_flags: :rtype: [NotificationSubscription] """ diff --git a/azure-devops/azure/devops/v5_0/profile/models.py b/azure-devops/azure/devops/v5_0/profile/models.py index f7e6dedb..207fa0d5 100644 --- a/azure-devops/azure/devops/v5_0/profile/models.py +++ b/azure-devops/azure/devops/v5_0/profile/models.py @@ -84,8 +84,8 @@ def __init__(self, is_auto_generated=None, size=None, time_stamp=None, value=Non class CreateProfileContext(Model): """CreateProfileContext. - :param cIData: - :type cIData: dict + :param ci_data: + :type ci_data: dict :param contact_with_offers: :type contact_with_offers: bool :param country_name: @@ -105,7 +105,7 @@ class CreateProfileContext(Model): """ _attribute_map = { - 'cIData': {'key': 'cIData', 'type': '{object}'}, + 'ci_data': {'key': 'ciData', 'type': '{object}'}, 'contact_with_offers': {'key': 'contactWithOffers', 'type': 'bool'}, 'country_name': {'key': 'countryName', 'type': 'str'}, 'display_name': {'key': 'displayName', 'type': 'str'}, @@ -116,9 +116,9 @@ class CreateProfileContext(Model): 'profile_state': {'key': 'profileState', 'type': 'object'} } - def __init__(self, cIData=None, contact_with_offers=None, country_name=None, display_name=None, email_address=None, has_account=None, language=None, phone_number=None, profile_state=None): + def __init__(self, ci_data=None, contact_with_offers=None, country_name=None, display_name=None, email_address=None, has_account=None, language=None, phone_number=None, profile_state=None): super(CreateProfileContext, self).__init__() - self.cIData = cIData + self.ci_data = ci_data self.contact_with_offers = contact_with_offers self.country_name = country_name self.display_name = display_name diff --git a/azure-devops/azure/devops/v5_0/release/models.py b/azure-devops/azure/devops/v5_0/release/models.py index 686f1a10..bac173d7 100644 --- a/azure-devops/azure/devops/v5_0/release/models.py +++ b/azure-devops/azure/devops/v5_0/release/models.py @@ -1430,8 +1430,8 @@ class MailMessage(Model): :param body: :type body: str - :param cC: - :type cC: :class:`EmailRecipients ` + :param cc: + :type cc: :class:`EmailRecipients ` :param in_reply_to: :type in_reply_to: str :param message_id: @@ -1452,7 +1452,7 @@ class MailMessage(Model): _attribute_map = { 'body': {'key': 'body', 'type': 'str'}, - 'cC': {'key': 'cC', 'type': 'EmailRecipients'}, + 'cc': {'key': 'cc', 'type': 'EmailRecipients'}, 'in_reply_to': {'key': 'inReplyTo', 'type': 'str'}, 'message_id': {'key': 'messageId', 'type': 'str'}, 'reply_by': {'key': 'replyBy', 'type': 'iso-8601'}, @@ -1463,10 +1463,10 @@ class MailMessage(Model): 'to': {'key': 'to', 'type': 'EmailRecipients'} } - def __init__(self, body=None, cC=None, in_reply_to=None, message_id=None, reply_by=None, reply_to=None, sections=None, sender_type=None, subject=None, to=None): + def __init__(self, body=None, cc=None, in_reply_to=None, message_id=None, reply_by=None, reply_to=None, sections=None, sender_type=None, subject=None, to=None): super(MailMessage, self).__init__() self.body = body - self.cC = cC + self.cc = cc self.in_reply_to = in_reply_to self.message_id = message_id self.reply_by = reply_by diff --git a/azure-devops/azure/devops/v5_0/task_agent/models.py b/azure-devops/azure/devops/v5_0/task_agent/models.py index d1435154..bddceb8b 100644 --- a/azure-devops/azure/devops/v5_0/task_agent/models.py +++ b/azure-devops/azure/devops/v5_0/task_agent/models.py @@ -2142,8 +2142,8 @@ class TaskAgentMessage(Model): :param body: Gets or sets the body of the message. If the IV property is provided the body will need to be decrypted using the TaskAgentSession.EncryptionKey value in addition to the IV. :type body: str - :param iV: Gets or sets the intialization vector used to encrypt this message. - :type iV: str + :param iv: Gets or sets the intialization vector used to encrypt this message. + :type iv: str :param message_id: Gets or sets the message identifier. :type message_id: long :param message_type: Gets or sets the message type, describing the data contract found in TaskAgentMessage.Body. @@ -2152,15 +2152,15 @@ class TaskAgentMessage(Model): _attribute_map = { 'body': {'key': 'body', 'type': 'str'}, - 'iV': {'key': 'iV', 'type': 'str'}, + 'iv': {'key': 'iv', 'type': 'str'}, 'message_id': {'key': 'messageId', 'type': 'long'}, 'message_type': {'key': 'messageType', 'type': 'str'} } - def __init__(self, body=None, iV=None, message_id=None, message_type=None): + def __init__(self, body=None, iv=None, message_id=None, message_type=None): super(TaskAgentMessage, self).__init__() self.body = body - self.iV = iV + self.iv = iv self.message_id = message_id self.message_type = message_type @@ -2466,8 +2466,8 @@ class TaskAgentReference(Model): :type id: int :param name: Gets the name of the agent. :type name: str - :param oSDescription: Gets the OS of the agent. - :type oSDescription: str + :param os_description: Gets the OS of the agent. + :type os_description: str :param provisioning_state: Gets or sets the current provisioning state of this agent :type provisioning_state: str :param status: Gets the current connectivity status of the agent. @@ -2482,20 +2482,20 @@ class TaskAgentReference(Model): 'enabled': {'key': 'enabled', 'type': 'bool'}, 'id': {'key': 'id', 'type': 'int'}, 'name': {'key': 'name', 'type': 'str'}, - 'oSDescription': {'key': 'oSDescription', 'type': 'str'}, + 'os_description': {'key': 'osDescription', 'type': 'str'}, 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, 'status': {'key': 'status', 'type': 'object'}, 'version': {'key': 'version', 'type': 'str'} } - def __init__(self, _links=None, access_point=None, enabled=None, id=None, name=None, oSDescription=None, provisioning_state=None, status=None, version=None): + def __init__(self, _links=None, access_point=None, enabled=None, id=None, name=None, os_description=None, provisioning_state=None, status=None, version=None): super(TaskAgentReference, self).__init__() self._links = _links self.access_point = access_point self.enabled = enabled self.id = id self.name = name - self.oSDescription = oSDescription + self.os_description = os_description self.provisioning_state = provisioning_state self.status = status self.version = version @@ -3897,8 +3897,8 @@ class TaskAgent(TaskAgentReference): :type id: int :param name: Gets the name of the agent. :type name: str - :param oSDescription: Gets the OS of the agent. - :type oSDescription: str + :param os_description: Gets the OS of the agent. + :type os_description: str :param provisioning_state: Gets or sets the current provisioning state of this agent :type provisioning_state: str :param status: Gets the current connectivity status of the agent. @@ -3935,7 +3935,7 @@ class TaskAgent(TaskAgentReference): 'enabled': {'key': 'enabled', 'type': 'bool'}, 'id': {'key': 'id', 'type': 'int'}, 'name': {'key': 'name', 'type': 'str'}, - 'oSDescription': {'key': 'oSDescription', 'type': 'str'}, + 'os_description': {'key': 'osDescription', 'type': 'str'}, 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, 'status': {'key': 'status', 'type': 'object'}, 'version': {'key': 'version', 'type': 'str'}, @@ -3952,8 +3952,8 @@ class TaskAgent(TaskAgentReference): 'user_capabilities': {'key': 'userCapabilities', 'type': '{str}'} } - def __init__(self, _links=None, access_point=None, enabled=None, id=None, name=None, oSDescription=None, provisioning_state=None, status=None, version=None, assigned_agent_cloud_request=None, assigned_request=None, authorization=None, created_on=None, last_completed_request=None, max_parallelism=None, pending_update=None, properties=None, status_changed_on=None, system_capabilities=None, user_capabilities=None): - super(TaskAgent, self).__init__(_links=_links, access_point=access_point, enabled=enabled, id=id, name=name, oSDescription=oSDescription, provisioning_state=provisioning_state, status=status, version=version) + def __init__(self, _links=None, access_point=None, enabled=None, id=None, name=None, os_description=None, provisioning_state=None, status=None, version=None, assigned_agent_cloud_request=None, assigned_request=None, authorization=None, created_on=None, last_completed_request=None, max_parallelism=None, pending_update=None, properties=None, status_changed_on=None, system_capabilities=None, user_capabilities=None): + super(TaskAgent, self).__init__(_links=_links, access_point=access_point, enabled=enabled, id=id, name=name, os_description=os_description, provisioning_state=provisioning_state, status=status, version=version) self.assigned_agent_cloud_request = assigned_agent_cloud_request self.assigned_request = assigned_request self.authorization = authorization diff --git a/azure-devops/azure/devops/v5_0/tfvc/models.py b/azure-devops/azure/devops/v5_0/tfvc/models.py index 6ccc9ded..f7857e79 100644 --- a/azure-devops/azure/devops/v5_0/tfvc/models.py +++ b/azure-devops/azure/devops/v5_0/tfvc/models.py @@ -530,11 +530,11 @@ class TfvcChangesetRef(Model): :param _links: A collection of REST reference links. :type _links: :class:`ReferenceLinks ` - :param author: Alias or display name of user + :param author: Alias or display name of user. :type author: :class:`IdentityRef ` - :param changeset_id: Id of the changeset. + :param changeset_id: Changeset Id. :type changeset_id: int - :param checked_in_by: Alias or display name of user + :param checked_in_by: Alias or display name of user. :type checked_in_by: :class:`IdentityRef ` :param comment: Comment for the changeset. :type comment: str @@ -572,23 +572,23 @@ def __init__(self, _links=None, author=None, changeset_id=None, checked_in_by=No class TfvcChangesetSearchCriteria(Model): """TfvcChangesetSearchCriteria. - :param author: Alias or display name of user who made the changes + :param author: Alias or display name of user who made the changes. :type author: str - :param follow_renames: Whether or not to follow renames for the given item being queried + :param follow_renames: Whether or not to follow renames for the given item being queried. :type follow_renames: bool - :param from_date: If provided, only include changesets created after this date (string) Think of a better name for this. + :param from_date: If provided, only include changesets created after this date (string). :type from_date: str - :param from_id: If provided, only include changesets after this changesetID + :param from_id: If provided, only include changesets after this changesetID. :type from_id: int - :param include_links: Whether to include the _links field on the shallow references + :param include_links: Whether to include the _links field on the shallow references. :type include_links: bool - :param item_path: Path of item to search under + :param item_path: Path of item to search under. :type item_path: str :param mappings: :type mappings: list of :class:`TfvcMappingFilter ` - :param to_date: If provided, only include changesets created before this date (string) Think of a better name for this. + :param to_date: If provided, only include changesets created before this date (string). :type to_date: str - :param to_id: If provided, a version descriptor for the latest change list to include + :param to_id: If provided, a version descriptor for the latest change list to include. :type to_id: int """ @@ -622,7 +622,7 @@ class TfvcChangesetsRequestData(Model): :param changeset_ids: List of changeset Ids. :type changeset_ids: list of int - :param comment_length: Length of the comment. + :param comment_length: Max length of the comment. :type comment_length: int :param include_links: Whether to include the _links field on the shallow references :type include_links: bool @@ -658,21 +658,21 @@ class TfvcItem(ItemModel): :type path: str :param url: :type url: str - :param change_date: + :param change_date: Item changed datetime. :type change_date: datetime - :param deletion_id: + :param deletion_id: Greater than 0 if item is deleted. :type deletion_id: int :param encoding: File encoding from database, -1 represents binary. :type encoding: int :param hash_value: MD5 hash as a base 64 string, applies to files only. :type hash_value: str - :param is_branch: + :param is_branch: True if item is a branch. :type is_branch: bool - :param is_pending_change: + :param is_pending_change: True if there is a change pending. :type is_pending_change: bool :param size: The size of the file, if applicable. :type size: long - :param version: + :param version: Changeset version Id. :type version: int """ @@ -709,15 +709,15 @@ def __init__(self, _links=None, content=None, content_metadata=None, is_folder=N class TfvcItemDescriptor(Model): """TfvcItemDescriptor. - :param path: + :param path: Item path. :type path: str - :param recursion_level: + :param recursion_level: Defaults to OneLevel. :type recursion_level: object - :param version: + :param version: Specify the desired version, can be null or empty string only if VersionType is latest or tip. :type version: str - :param version_option: + :param version_option: Defaults to None. :type version_option: object - :param version_type: + :param version_type: Defaults to Latest. :type version_type: object """ @@ -765,21 +765,21 @@ def __init__(self, include_content_metadata=None, include_links=None, item_descr class TfvcLabelRef(Model): """TfvcLabelRef. - :param _links: + :param _links: Collection of reference links. :type _links: :class:`ReferenceLinks ` - :param description: + :param description: Label description. :type description: str - :param id: + :param id: Label Id. :type id: int - :param label_scope: + :param label_scope: Label scope. :type label_scope: str - :param modified_date: + :param modified_date: Last modified datetime for the label. :type modified_date: datetime - :param name: + :param name: Label name. :type name: str - :param owner: + :param owner: Label owner. :type owner: :class:`IdentityRef ` - :param url: + :param url: Label Url. :type url: str """ @@ -845,9 +845,9 @@ def __init__(self, include_links=None, item_label_filter=None, label_scope=None, class TfvcMappingFilter(Model): """TfvcMappingFilter. - :param exclude: + :param exclude: True if ServerPath should be excluded. :type exclude: bool - :param server_path: + :param server_path: Path to be included or excluded. :type server_path: str """ @@ -867,11 +867,11 @@ class TfvcMergeSource(Model): :param is_rename: Indicates if this a rename source. If false, it is a merge source. :type is_rename: bool - :param server_item: The server item of the merge source + :param server_item: The server item of the merge source. :type server_item: str - :param version_from: Start of the version range + :param version_from: Start of the version range. :type version_from: int - :param version_to: End of the version range + :param version_to: End of the version range. :type version_to: int """ @@ -893,9 +893,9 @@ def __init__(self, is_rename=None, server_item=None, version_from=None, version_ class TfvcPolicyFailureInfo(Model): """TfvcPolicyFailureInfo. - :param message: + :param message: Policy failure message. :type message: str - :param policy_name: + :param policy_name: Name of the policy that failed. :type policy_name: str """ @@ -913,9 +913,9 @@ def __init__(self, message=None, policy_name=None): class TfvcPolicyOverrideInfo(Model): """TfvcPolicyOverrideInfo. - :param comment: + :param comment: Overidden policy comment. :type comment: str - :param policy_failures: + :param policy_failures: Information on the failed policy that was overridden. :type policy_failures: list of :class:`TfvcPolicyFailureInfo ` """ @@ -949,21 +949,21 @@ def __init__(self, path=None): class TfvcShelvesetRef(Model): """TfvcShelvesetRef. - :param _links: + :param _links: List of reference links for the shelveset. :type _links: :class:`ReferenceLinks ` - :param comment: + :param comment: Shelveset comment. :type comment: str - :param comment_truncated: + :param comment_truncated: Shelveset comment truncated as applicable. :type comment_truncated: bool - :param created_date: + :param created_date: Shelveset create date. :type created_date: datetime - :param id: + :param id: Shelveset Id. :type id: str - :param name: + :param name: Shelveset name. :type name: str - :param owner: + :param owner: Shelveset Owner. :type owner: :class:`IdentityRef ` - :param url: + :param url: Shelveset Url. :type url: str """ @@ -1003,7 +1003,7 @@ class TfvcShelvesetRequestData(Model): :type max_change_count: int :param max_comment_length: Max length of comment :type max_comment_length: int - :param name: Shelveset's name + :param name: Shelveset name :type name: str :param owner: Owner's ID. Could be a name or a guid. :type owner: str @@ -1053,7 +1053,7 @@ def __init__(self, changeset_id=None, file_count_total=None): class TfvcVersionDescriptor(Model): """TfvcVersionDescriptor. - :param version: + :param version: Version object. :type version: str :param version_option: :type version_option: object @@ -1135,7 +1135,7 @@ class TfvcBranchRef(TfvcShallowBranchRef): :type _links: :class:`ReferenceLinks ` :param created_date: Creation date of the branch. :type created_date: datetime - :param description: Description of the branch. + :param description: Branch description. :type description: str :param is_deleted: Is the branch deleted? :type is_deleted: bool @@ -1170,11 +1170,11 @@ class TfvcChangeset(TfvcChangesetRef): :param _links: A collection of REST reference links. :type _links: :class:`ReferenceLinks ` - :param author: Alias or display name of user + :param author: Alias or display name of user. :type author: :class:`IdentityRef ` - :param changeset_id: Id of the changeset. + :param changeset_id: Changeset Id. :type changeset_id: int - :param checked_in_by: Alias or display name of user + :param checked_in_by: Alias or display name of user. :type checked_in_by: :class:`IdentityRef ` :param comment: Comment for the changeset. :type comment: str @@ -1184,15 +1184,15 @@ class TfvcChangeset(TfvcChangesetRef): :type created_date: datetime :param url: URL to retrieve the item. :type url: str - :param account_id: Account Id of the changeset. + :param account_id: Changeset Account Id also known as Organization Id. :type account_id: str :param changes: List of associated changes. :type changes: list of :class:`TfvcChange ` - :param checkin_notes: Checkin Notes for the changeset. + :param checkin_notes: List of Checkin Notes for the changeset. :type checkin_notes: list of :class:`CheckinNote ` - :param collection_id: Collection Id of the changeset. + :param collection_id: Changeset collection Id. :type collection_id: str - :param has_more_changes: Are more changes available. + :param has_more_changes: True if more changes are available. :type has_more_changes: bool :param policy_override: Policy Override for the changeset. :type policy_override: :class:`TfvcPolicyOverrideInfo ` @@ -1236,23 +1236,23 @@ def __init__(self, _links=None, author=None, changeset_id=None, checked_in_by=No class TfvcLabel(TfvcLabelRef): """TfvcLabel. - :param _links: + :param _links: Collection of reference links. :type _links: :class:`ReferenceLinks ` - :param description: + :param description: Label description. :type description: str - :param id: + :param id: Label Id. :type id: int - :param label_scope: + :param label_scope: Label scope. :type label_scope: str - :param modified_date: + :param modified_date: Last modified datetime for the label. :type modified_date: datetime - :param name: + :param name: Label name. :type name: str - :param owner: + :param owner: Label owner. :type owner: :class:`IdentityRef ` - :param url: + :param url: Label Url. :type url: str - :param items: + :param items: List of items. :type items: list of :class:`TfvcItem ` """ @@ -1276,29 +1276,29 @@ def __init__(self, _links=None, description=None, id=None, label_scope=None, mod class TfvcShelveset(TfvcShelvesetRef): """TfvcShelveset. - :param _links: + :param _links: List of reference links for the shelveset. :type _links: :class:`ReferenceLinks ` - :param comment: + :param comment: Shelveset comment. :type comment: str - :param comment_truncated: + :param comment_truncated: Shelveset comment truncated as applicable. :type comment_truncated: bool - :param created_date: + :param created_date: Shelveset create date. :type created_date: datetime - :param id: + :param id: Shelveset Id. :type id: str - :param name: + :param name: Shelveset name. :type name: str - :param owner: + :param owner: Shelveset Owner. :type owner: :class:`IdentityRef ` - :param url: + :param url: Shelveset Url. :type url: str - :param changes: + :param changes: List of changes. :type changes: list of :class:`TfvcChange ` - :param notes: + :param notes: List of checkin notes. :type notes: list of :class:`CheckinNote ` - :param policy_override: + :param policy_override: Policy override information if applicable. :type policy_override: :class:`TfvcPolicyOverrideInfo ` - :param work_items: + :param work_items: List of associated workitems. :type work_items: list of :class:`AssociatedWorkItem ` """ @@ -1334,7 +1334,7 @@ class TfvcBranch(TfvcBranchRef): :type _links: :class:`ReferenceLinks ` :param created_date: Creation date of the branch. :type created_date: datetime - :param description: Description of the branch. + :param description: Branch description. :type description: str :param is_deleted: Is the branch deleted? :type is_deleted: bool diff --git a/azure-devops/azure/devops/v5_0/tfvc/tfvc_client.py b/azure-devops/azure/devops/v5_0/tfvc/tfvc_client.py index d8533d89..ca140898 100644 --- a/azure-devops/azure/devops/v5_0/tfvc/tfvc_client.py +++ b/azure-devops/azure/devops/v5_0/tfvc/tfvc_client.py @@ -276,7 +276,7 @@ def get_batched_changesets(self, changesets_request_data): def get_changeset_work_items(self, id=None): """GetChangesetWorkItems. Retrieves the work items associated with a particular changeset. - :param int id: ID of the changeset. Default: null + :param int id: ID of the changeset. :rtype: [AssociatedWorkItem] """ route_values = {} diff --git a/azure-devops/azure/devops/v5_1/audit/models.py b/azure-devops/azure/devops/v5_1/audit/models.py index d22c7070..ade0abcb 100644 --- a/azure-devops/azure/devops/v5_1/audit/models.py +++ b/azure-devops/azure/devops/v5_1/audit/models.py @@ -27,8 +27,8 @@ class AuditLogEntry(Model): :type data: dict :param id: EventId, should be unique :type id: str - :param iPAddress: IP Address where the event was originated - :type iPAddress: str + :param ip_address: IP Address where the event was originated + :type ip_address: str :param scope_id: The org, collection or project Id :type scope_id: str :param scope_type: The type of the scope, Enterprise, Organization or Project @@ -48,14 +48,14 @@ class AuditLogEntry(Model): 'correlation_id': {'key': 'correlationId', 'type': 'str'}, 'data': {'key': 'data', 'type': '{object}'}, 'id': {'key': 'id', 'type': 'str'}, - 'iPAddress': {'key': 'ipAddress', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, 'scope_id': {'key': 'scopeId', 'type': 'str'}, 'scope_type': {'key': 'scopeType', 'type': 'object'}, 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, 'user_agent': {'key': 'userAgent', 'type': 'str'} } - def __init__(self, action_id=None, activity_id=None, actor_cUID=None, actor_user_id=None, authentication_mechanism=None, correlation_id=None, data=None, id=None, iPAddress=None, scope_id=None, scope_type=None, timestamp=None, user_agent=None): + def __init__(self, action_id=None, activity_id=None, actor_cUID=None, actor_user_id=None, authentication_mechanism=None, correlation_id=None, data=None, id=None, ip_address=None, scope_id=None, scope_type=None, timestamp=None, user_agent=None): super(AuditLogEntry, self).__init__() self.action_id = action_id self.activity_id = activity_id @@ -65,7 +65,7 @@ def __init__(self, action_id=None, activity_id=None, actor_cUID=None, actor_user self.correlation_id = correlation_id self.data = data self.id = id - self.iPAddress = iPAddress + self.ip_address = ip_address self.scope_id = scope_id self.scope_type = scope_type self.timestamp = timestamp diff --git a/azure-devops/azure/devops/v5_1/cloud_load_test/models.py b/azure-devops/azure/devops/v5_1/cloud_load_test/models.py index 5f995ee1..1c6a8850 100644 --- a/azure-devops/azure/devops/v5_1/cloud_load_test/models.py +++ b/azure-devops/azure/devops/v5_1/cloud_load_test/models.py @@ -1503,8 +1503,8 @@ class WebApiUserLoadTestMachineInput(WebApiLoadTestMachineInput): :type tenant_id: str :param user_load_agent_resources_uri: :type user_load_agent_resources_uri: str - :param vSTSAccount_uri: - :type vSTSAccount_uri: str + :param vsts_account_uri: + :type vsts_account_uri: str """ _attribute_map = { @@ -1515,15 +1515,15 @@ class WebApiUserLoadTestMachineInput(WebApiLoadTestMachineInput): 'agent_group_name': {'key': 'agentGroupName', 'type': 'str'}, 'tenant_id': {'key': 'tenantId', 'type': 'str'}, 'user_load_agent_resources_uri': {'key': 'userLoadAgentResourcesUri', 'type': 'str'}, - 'vSTSAccount_uri': {'key': 'vstsAccountUri', 'type': 'str'} + 'vsts_account_uri': {'key': 'vstsAccountUri', 'type': 'str'} } - def __init__(self, machine_group_id=None, machine_type=None, setup_configuration=None, supported_run_types=None, agent_group_name=None, tenant_id=None, user_load_agent_resources_uri=None, vSTSAccount_uri=None): + def __init__(self, machine_group_id=None, machine_type=None, setup_configuration=None, supported_run_types=None, agent_group_name=None, tenant_id=None, user_load_agent_resources_uri=None, vsts_account_uri=None): super(WebApiUserLoadTestMachineInput, self).__init__(machine_group_id=machine_group_id, machine_type=machine_type, setup_configuration=setup_configuration, supported_run_types=supported_run_types) self.agent_group_name = agent_group_name self.tenant_id = tenant_id self.user_load_agent_resources_uri = user_load_agent_resources_uri - self.vSTSAccount_uri = vSTSAccount_uri + self.vsts_account_uri = vsts_account_uri class WebInstanceSummaryData(Model): diff --git a/azure-devops/azure/devops/v5_1/gallery/models.py b/azure-devops/azure/devops/v5_1/gallery/models.py index 7838adbd..fc295337 100644 --- a/azure-devops/azure/devops/v5_1/gallery/models.py +++ b/azure-devops/azure/devops/v5_1/gallery/models.py @@ -63,21 +63,21 @@ def __init__(self, default_operation=None, item_id=None, operations=None, target class Answers(Model): """ - :param vSMarketplace_extension_name: Gets or sets the vs marketplace extension name - :type vSMarketplace_extension_name: str - :param vSMarketplace_publisher_name: Gets or sets the vs marketplace publisher name - :type vSMarketplace_publisher_name: str + :param vs_marketplace_extension_name: Gets or sets the vs marketplace extension name + :type vs_marketplace_extension_name: str + :param vs_marketplace_publisher_name: Gets or sets the vs marketplace publisher name + :type vs_marketplace_publisher_name: str """ _attribute_map = { - 'vSMarketplace_extension_name': {'key': 'vsMarketplaceExtensionName', 'type': 'str'}, - 'vSMarketplace_publisher_name': {'key': 'vsMarketplacePublisherName', 'type': 'str'} + 'vs_marketplace_extension_name': {'key': 'vsMarketplaceExtensionName', 'type': 'str'}, + 'vs_marketplace_publisher_name': {'key': 'vsMarketplacePublisherName', 'type': 'str'} } - def __init__(self, vSMarketplace_extension_name=None, vSMarketplace_publisher_name=None): + def __init__(self, vs_marketplace_extension_name=None, vs_marketplace_publisher_name=None): super(Answers, self).__init__() - self.vSMarketplace_extension_name = vSMarketplace_extension_name - self.vSMarketplace_publisher_name = vSMarketplace_publisher_name + self.vs_marketplace_extension_name = vs_marketplace_extension_name + self.vs_marketplace_publisher_name = vs_marketplace_publisher_name class AssetDetails(Model): diff --git a/azure-devops/azure/devops/v5_1/notification/models.py b/azure-devops/azure/devops/v5_1/notification/models.py index 7269fc5b..0ca4a236 100644 --- a/azure-devops/azure/devops/v5_1/notification/models.py +++ b/azure-devops/azure/devops/v5_1/notification/models.py @@ -335,23 +335,23 @@ class INotificationDiagnosticLog(Model): """ Abstraction interface for the diagnostic log. Primarily for deserialization. - :param activity_id: + :param activity_id: Identifier used for correlating to other diagnostics that may have been recorded elsewhere. :type activity_id: str - :param description: + :param description: Description of what subscription or notification job is being logged. :type description: str - :param end_time: + :param end_time: Time the log ended. :type end_time: datetime - :param id: + :param id: Unique instance identifier. :type id: str - :param log_type: + :param log_type: Type of information being logged. :type log_type: str - :param messages: + :param messages: List of log messages. :type messages: list of :class:`NotificationDiagnosticLogMessage ` - :param properties: + :param properties: Dictionary of log properties and settings for the job. :type properties: dict - :param source: + :param source: This identifier depends on the logType. For notification jobs, this will be the job Id. For subscription tracing, this will be a special root Guid with the subscription Id encoded. :type source: str - :param start_time: + :param start_time: Time the log started. :type start_time: datetime """ @@ -1260,11 +1260,13 @@ def __init__(self, address=None, type=None, use_custom_address=None): class SubscriptionDiagnostics(Model): """ - :param delivery_results: + Contains all the diagonstics settings for a subscription. + + :param delivery_results: Diagnostics settings for retaining delivery results. Used for Service Hooks subscriptions. :type delivery_results: :class:`SubscriptionTracing ` - :param delivery_tracing: + :param delivery_tracing: Diagnostics settings for troubleshooting notification delivery. :type delivery_tracing: :class:`SubscriptionTracing ` - :param evaluation_tracing: + :param evaluation_tracing: Diagnostics settings for troubleshooting event matching. :type evaluation_tracing: :class:`SubscriptionTracing ` """ @@ -1459,7 +1461,9 @@ def __init__(self, id=None, name=None, type=None): class SubscriptionTracing(Model): """ - :param enabled: + Data controlling a single diagnostic setting for a subscription. + + :param enabled: Indicates whether the diagnostic tracing is enabled or not. :type enabled: bool :param end_date: Trace until the specified end date. :type end_date: datetime @@ -1507,11 +1511,13 @@ def __init__(self, opted_out=None): class UpdateSubscripitonDiagnosticsParameters(Model): """ - :param delivery_results: + Parameters to update diagnostics settings for a subscription. + + :param delivery_results: Diagnostics settings for retaining delivery results. Used for Service Hooks subscriptions. :type delivery_results: :class:`UpdateSubscripitonTracingParameters ` - :param delivery_tracing: + :param delivery_tracing: Diagnostics settings for troubleshooting notification delivery. :type delivery_tracing: :class:`UpdateSubscripitonTracingParameters ` - :param evaluation_tracing: + :param evaluation_tracing: Diagnostics settings for troubleshooting event matching. :type evaluation_tracing: :class:`UpdateSubscripitonTracingParameters ` """ @@ -1530,7 +1536,9 @@ def __init__(self, delivery_results=None, delivery_tracing=None, evaluation_trac class UpdateSubscripitonTracingParameters(Model): """ - :param enabled: + Parameters to update a specific diagnostic setting. + + :param enabled: Indicates whether to enable to disable the diagnostic tracing. :type enabled: bool """ diff --git a/azure-devops/azure/devops/v5_1/notification/notification_client.py b/azure-devops/azure/devops/v5_1/notification/notification_client.py index 79432865..e36ca701 100644 --- a/azure-devops/azure/devops/v5_1/notification/notification_client.py +++ b/azure-devops/azure/devops/v5_1/notification/notification_client.py @@ -27,11 +27,11 @@ def __init__(self, base_url=None, creds=None): def list_logs(self, source, entry_id=None, start_time=None, end_time=None): """ListLogs. - List diagnostic logs this service. - :param str source: - :param str entry_id: - :param datetime start_time: - :param datetime end_time: + Get a list of diagnostic logs for this service. + :param str source: ID specifying which type of logs to check diagnostics for. + :param str entry_id: The ID of the specific log to query for. + :param datetime start_time: Start time for the time range to query in. + :param datetime end_time: End time for the time range to query in. :rtype: [INotificationDiagnosticLog] """ route_values = {} @@ -53,7 +53,8 @@ def list_logs(self, source, entry_id=None, start_time=None, end_time=None): def get_subscription_diagnostics(self, subscription_id): """GetSubscriptionDiagnostics. - :param str subscription_id: + Get the diagnostics settings for a subscription. + :param str subscription_id: The id of the notifications subscription. :rtype: :class:` ` """ route_values = {} @@ -67,8 +68,9 @@ def get_subscription_diagnostics(self, subscription_id): def update_subscription_diagnostics(self, update_parameters, subscription_id): """UpdateSubscriptionDiagnostics. + Update the diagnostics settings for a subscription. :param :class:` ` update_parameters: - :param str subscription_id: + :param str subscription_id: The id of the notifications subscription. :rtype: :class:` ` """ route_values = {} @@ -85,7 +87,7 @@ def update_subscription_diagnostics(self, update_parameters, subscription_id): def get_event_type(self, event_type): """GetEventType. Get a specific event type. - :param str event_type: + :param str event_type: The ID of the event type. :rtype: :class:` ` """ route_values = {} @@ -135,7 +137,8 @@ def update_settings(self, update_parameters): def get_subscriber(self, subscriber_id): """GetSubscriber. - :param str subscriber_id: + Get delivery preferences of a notifications subscriber. + :param str subscriber_id: ID of the user or group. :rtype: :class:` ` """ route_values = {} @@ -149,8 +152,9 @@ def get_subscriber(self, subscriber_id): def update_subscriber(self, update_parameters, subscriber_id): """UpdateSubscriber. + Update delivery preferences of a notifications subscriber. :param :class:` ` update_parameters: - :param str subscriber_id: + :param str subscriber_id: ID of the user or group. :rtype: :class:` ` """ route_values = {} diff --git a/azure-devops/azure/devops/v5_1/profile/models.py b/azure-devops/azure/devops/v5_1/profile/models.py index ac41a19d..b527f6c5 100644 --- a/azure-devops/azure/devops/v5_1/profile/models.py +++ b/azure-devops/azure/devops/v5_1/profile/models.py @@ -84,8 +84,8 @@ def __init__(self, is_auto_generated=None, size=None, time_stamp=None, value=Non class CreateProfileContext(Model): """ - :param cIData: - :type cIData: dict + :param ci_data: + :type ci_data: dict :param contact_with_offers: :type contact_with_offers: bool :param country_name: @@ -105,7 +105,7 @@ class CreateProfileContext(Model): """ _attribute_map = { - 'cIData': {'key': 'ciData', 'type': '{object}'}, + 'ci_data': {'key': 'ciData', 'type': '{object}'}, 'contact_with_offers': {'key': 'contactWithOffers', 'type': 'bool'}, 'country_name': {'key': 'countryName', 'type': 'str'}, 'display_name': {'key': 'displayName', 'type': 'str'}, @@ -116,9 +116,9 @@ class CreateProfileContext(Model): 'profile_state': {'key': 'profileState', 'type': 'object'} } - def __init__(self, cIData=None, contact_with_offers=None, country_name=None, display_name=None, email_address=None, has_account=None, language=None, phone_number=None, profile_state=None): + def __init__(self, ci_data=None, contact_with_offers=None, country_name=None, display_name=None, email_address=None, has_account=None, language=None, phone_number=None, profile_state=None): super(CreateProfileContext, self).__init__() - self.cIData = cIData + self.ci_data = ci_data self.contact_with_offers = contact_with_offers self.country_name = country_name self.display_name = display_name diff --git a/azure-devops/azure/devops/v5_1/release/models.py b/azure-devops/azure/devops/v5_1/release/models.py index 1453dba7..e462ec36 100644 --- a/azure-devops/azure/devops/v5_1/release/models.py +++ b/azure-devops/azure/devops/v5_1/release/models.py @@ -1431,8 +1431,8 @@ class MailMessage(Model): """ :param body: Body of mail. :type body: str - :param cC: Mail CC recipients. - :type cC: :class:`EmailRecipients ` + :param cc: Mail CC recipients. + :type cc: :class:`EmailRecipients ` :param in_reply_to: Reply to. :type in_reply_to: str :param message_id: Message ID of the mail. @@ -1453,7 +1453,7 @@ class MailMessage(Model): _attribute_map = { 'body': {'key': 'body', 'type': 'str'}, - 'cC': {'key': 'cc', 'type': 'EmailRecipients'}, + 'cc': {'key': 'cc', 'type': 'EmailRecipients'}, 'in_reply_to': {'key': 'inReplyTo', 'type': 'str'}, 'message_id': {'key': 'messageId', 'type': 'str'}, 'reply_by': {'key': 'replyBy', 'type': 'iso-8601'}, @@ -1464,10 +1464,10 @@ class MailMessage(Model): 'to': {'key': 'to', 'type': 'EmailRecipients'} } - def __init__(self, body=None, cC=None, in_reply_to=None, message_id=None, reply_by=None, reply_to=None, sections=None, sender_type=None, subject=None, to=None): + def __init__(self, body=None, cc=None, in_reply_to=None, message_id=None, reply_by=None, reply_to=None, sections=None, sender_type=None, subject=None, to=None): super(MailMessage, self).__init__() self.body = body - self.cC = cC + self.cc = cc self.in_reply_to = in_reply_to self.message_id = message_id self.reply_by = reply_by diff --git a/azure-devops/azure/devops/v5_1/service_hooks/models.py b/azure-devops/azure/devops/v5_1/service_hooks/models.py index 916159c3..1aa72214 100644 --- a/azure-devops/azure/devops/v5_1/service_hooks/models.py +++ b/azure-devops/azure/devops/v5_1/service_hooks/models.py @@ -1121,11 +1121,13 @@ def __init__(self, _links=None, action_description=None, consumer_action_id=None class SubscriptionDiagnostics(Model): """ - :param delivery_results: + Contains all the diagonstics settings for a subscription. + + :param delivery_results: Diagnostics settings for retaining delivery results. Used for Service Hooks subscriptions. :type delivery_results: :class:`SubscriptionTracing ` - :param delivery_tracing: + :param delivery_tracing: Diagnostics settings for troubleshooting notification delivery. :type delivery_tracing: :class:`SubscriptionTracing ` - :param evaluation_tracing: + :param evaluation_tracing: Diagnostics settings for troubleshooting event matching. :type evaluation_tracing: :class:`SubscriptionTracing ` """ @@ -1214,7 +1216,9 @@ def __init__(self, consumer_action_id=None, consumer_id=None, consumer_input_fil class SubscriptionTracing(Model): """ - :param enabled: + Data controlling a single diagnostic setting for a subscription. + + :param enabled: Indicates whether the diagnostic tracing is enabled or not. :type enabled: bool :param end_date: Trace until the specified end date. :type end_date: datetime @@ -1245,11 +1249,13 @@ def __init__(self, enabled=None, end_date=None, max_traced_entries=None, start_d class UpdateSubscripitonDiagnosticsParameters(Model): """ - :param delivery_results: + Parameters to update diagnostics settings for a subscription. + + :param delivery_results: Diagnostics settings for retaining delivery results. Used for Service Hooks subscriptions. :type delivery_results: :class:`UpdateSubscripitonTracingParameters ` - :param delivery_tracing: + :param delivery_tracing: Diagnostics settings for troubleshooting notification delivery. :type delivery_tracing: :class:`UpdateSubscripitonTracingParameters ` - :param evaluation_tracing: + :param evaluation_tracing: Diagnostics settings for troubleshooting event matching. :type evaluation_tracing: :class:`UpdateSubscripitonTracingParameters ` """ @@ -1268,7 +1274,9 @@ def __init__(self, delivery_results=None, delivery_tracing=None, evaluation_trac class UpdateSubscripitonTracingParameters(Model): """ - :param enabled: + Parameters to update a specific diagnostic setting. + + :param enabled: Indicates whether to enable to disable the diagnostic tracing. :type enabled: bool """ diff --git a/azure-devops/azure/devops/v5_1/task_agent/models.py b/azure-devops/azure/devops/v5_1/task_agent/models.py index 4a74e41c..d5c1ca31 100644 --- a/azure-devops/azure/devops/v5_1/task_agent/models.py +++ b/azure-devops/azure/devops/v5_1/task_agent/models.py @@ -2321,8 +2321,8 @@ class TaskAgentMessage(Model): :param body: Gets or sets the body of the message. If the IV property is provided the body will need to be decrypted using the TaskAgentSession.EncryptionKey value in addition to the IV. :type body: str - :param iV: Gets or sets the initialization vector used to encrypt this message. - :type iV: str + :param iv: Gets or sets the initialization vector used to encrypt this message. + :type iv: str :param message_id: Gets or sets the message identifier. :type message_id: long :param message_type: Gets or sets the message type, describing the data contract found in TaskAgentMessage.Body. @@ -2331,15 +2331,15 @@ class TaskAgentMessage(Model): _attribute_map = { 'body': {'key': 'body', 'type': 'str'}, - 'iV': {'key': 'iv', 'type': 'str'}, + 'iv': {'key': 'iv', 'type': 'str'}, 'message_id': {'key': 'messageId', 'type': 'long'}, 'message_type': {'key': 'messageType', 'type': 'str'} } - def __init__(self, body=None, iV=None, message_id=None, message_type=None): + def __init__(self, body=None, iv=None, message_id=None, message_type=None): super(TaskAgentMessage, self).__init__() self.body = body - self.iV = iV + self.iv = iv self.message_id = message_id self.message_type = message_type @@ -2645,8 +2645,8 @@ class TaskAgentReference(Model): :type id: int :param name: Name of the agent. :type name: str - :param oSDescription: Agent OS. - :type oSDescription: str + :param os_description: Agent OS. + :type os_description: str :param provisioning_state: Provisioning state of this agent. :type provisioning_state: str :param status: Whether or not the agent is online. @@ -2661,20 +2661,20 @@ class TaskAgentReference(Model): 'enabled': {'key': 'enabled', 'type': 'bool'}, 'id': {'key': 'id', 'type': 'int'}, 'name': {'key': 'name', 'type': 'str'}, - 'oSDescription': {'key': 'osDescription', 'type': 'str'}, + 'os_description': {'key': 'osDescription', 'type': 'str'}, 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, 'status': {'key': 'status', 'type': 'object'}, 'version': {'key': 'version', 'type': 'str'} } - def __init__(self, _links=None, access_point=None, enabled=None, id=None, name=None, oSDescription=None, provisioning_state=None, status=None, version=None): + def __init__(self, _links=None, access_point=None, enabled=None, id=None, name=None, os_description=None, provisioning_state=None, status=None, version=None): super(TaskAgentReference, self).__init__() self._links = _links self.access_point = access_point self.enabled = enabled self.id = id self.name = name - self.oSDescription = oSDescription + self.os_description = os_description self.provisioning_state = provisioning_state self.status = status self.version = version @@ -4117,8 +4117,8 @@ class TaskAgent(TaskAgentReference): :type id: int :param name: Name of the agent. :type name: str - :param oSDescription: Agent OS. - :type oSDescription: str + :param os_description: Agent OS. + :type os_description: str :param provisioning_state: Provisioning state of this agent. :type provisioning_state: str :param status: Whether or not the agent is online. @@ -4155,7 +4155,7 @@ class TaskAgent(TaskAgentReference): 'enabled': {'key': 'enabled', 'type': 'bool'}, 'id': {'key': 'id', 'type': 'int'}, 'name': {'key': 'name', 'type': 'str'}, - 'oSDescription': {'key': 'osDescription', 'type': 'str'}, + 'os_description': {'key': 'osDescription', 'type': 'str'}, 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, 'status': {'key': 'status', 'type': 'object'}, 'version': {'key': 'version', 'type': 'str'}, @@ -4172,8 +4172,8 @@ class TaskAgent(TaskAgentReference): 'user_capabilities': {'key': 'userCapabilities', 'type': '{str}'} } - def __init__(self, _links=None, access_point=None, enabled=None, id=None, name=None, oSDescription=None, provisioning_state=None, status=None, version=None, assigned_agent_cloud_request=None, assigned_request=None, authorization=None, created_on=None, last_completed_request=None, max_parallelism=None, pending_update=None, properties=None, status_changed_on=None, system_capabilities=None, user_capabilities=None): - super(TaskAgent, self).__init__(_links=_links, access_point=access_point, enabled=enabled, id=id, name=name, oSDescription=oSDescription, provisioning_state=provisioning_state, status=status, version=version) + def __init__(self, _links=None, access_point=None, enabled=None, id=None, name=None, os_description=None, provisioning_state=None, status=None, version=None, assigned_agent_cloud_request=None, assigned_request=None, authorization=None, created_on=None, last_completed_request=None, max_parallelism=None, pending_update=None, properties=None, status_changed_on=None, system_capabilities=None, user_capabilities=None): + super(TaskAgent, self).__init__(_links=_links, access_point=access_point, enabled=enabled, id=id, name=name, os_description=os_description, provisioning_state=provisioning_state, status=status, version=version) self.assigned_agent_cloud_request = assigned_agent_cloud_request self.assigned_request = assigned_request self.authorization = authorization diff --git a/azure-devops/azure/devops/version.py b/azure-devops/azure/devops/version.py index 743eacbd..fe405d71 100644 --- a/azure-devops/azure/devops/version.py +++ b/azure-devops/azure/devops/version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -VERSION = "5.1.0b3" +VERSION = "5.1.0b4" diff --git a/azure-devops/setup.py b/azure-devops/setup.py index 5d38de2e..6034dada 100644 --- a/azure-devops/setup.py +++ b/azure-devops/setup.py @@ -6,7 +6,7 @@ from setuptools import setup, find_packages NAME = "azure-devops" -VERSION = "5.1.0b3" +VERSION = "5.1.0b4" # To install the library, run the following #