Merge pull request #169 from Microsoft/dev

0.1.25 - Fix for enum references within collections causing deserialization issues
This commit is contained in:
Ted Chambers 2019-01-15 10:34:21 -05:00 коммит произвёл GitHub
Родитель cdd6d6f63e 8ee75b3963
Коммит ed4f2ec845
13 изменённых файлов: 18 добавлений и 18 удалений

Просмотреть файл

@ -6,7 +6,7 @@
from setuptools import setup, find_packages
NAME = "vsts"
VERSION = "0.1.24"
VERSION = "0.1.25"
# To install the library, run the following
#

Просмотреть файл

@ -1,4 +1,4 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
@ -22,7 +22,7 @@ class RepositoryWebhook(Model):
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'types': {'key': 'types', 'type': '[DefinitionTriggerType]'},
'types': {'key': 'types', 'type': '[object]'},
'url': {'key': 'url', 'type': 'str'}
}

Просмотреть файл

@ -1,4 +1,4 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
@ -25,7 +25,7 @@ class SupportedTrigger(Model):
_attribute_map = {
'default_polling_interval': {'key': 'defaultPollingInterval', 'type': 'int'},
'notification_type': {'key': 'notificationType', 'type': 'str'},
'supported_capabilities': {'key': 'supportedCapabilities', 'type': '{SupportLevel}'},
'supported_capabilities': {'key': 'supportedCapabilities', 'type': '{object}'},
'type': {'key': 'type', 'type': 'object'}
}

Просмотреть файл

@ -1,4 +1,4 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
@ -26,7 +26,7 @@ class WebApiLoadTestMachineInput(Model):
'machine_group_id': {'key': 'machineGroupId', 'type': 'str'},
'machine_type': {'key': 'machineType', 'type': 'object'},
'setup_configuration': {'key': 'setupConfiguration', 'type': 'WebApiSetupParamaters'},
'supported_run_types': {'key': 'supportedRunTypes', 'type': '[TestRunType]'}
'supported_run_types': {'key': 'supportedRunTypes', 'type': '[object]'}
}
def __init__(self, machine_group_id=None, machine_type=None, setup_configuration=None, supported_run_types=None):

Просмотреть файл

@ -75,7 +75,7 @@ class WidgetMetadata(Model):
'loading_image_url': {'key': 'loadingImageUrl', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'publisher_name': {'key': 'publisherName', 'type': 'str'},
'supported_scopes': {'key': 'supportedScopes', 'type': '[WidgetScope]'},
'supported_scopes': {'key': 'supportedScopes', 'type': '[object]'},
'targets': {'key': 'targets', 'type': '[str]'},
'type_id': {'key': 'typeId', 'type': 'str'}
}

Просмотреть файл

@ -1,4 +1,4 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
@ -75,7 +75,7 @@ class WidgetMetadata(Model):
'loading_image_url': {'key': 'loadingImageUrl', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'publisher_name': {'key': 'publisherName', 'type': 'str'},
'supported_scopes': {'key': 'supportedScopes', 'type': '[WidgetScope]'},
'supported_scopes': {'key': 'supportedScopes', 'type': '[object]'},
'targets': {'key': 'targets', 'type': '[str]'},
'type_id': {'key': 'typeId', 'type': 'str'}
}

Просмотреть файл

@ -41,7 +41,7 @@ class MailMessage(Model):
'message_id': {'key': 'messageId', 'type': 'str'},
'reply_by': {'key': 'replyBy', 'type': 'iso-8601'},
'reply_to': {'key': 'replyTo', 'type': 'EmailRecipients'},
'sections': {'key': 'sections', 'type': '[MailSectionType]'},
'sections': {'key': 'sections', 'type': '[object]'},
'sender_type': {'key': 'senderType', 'type': 'object'},
'subject': {'key': 'subject', 'type': 'str'},
'to': {'key': 'to', 'type': 'EmailRecipients'}

Просмотреть файл

@ -1,4 +1,4 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
@ -41,7 +41,7 @@ class MailMessage(Model):
'message_id': {'key': 'messageId', 'type': 'str'},
'reply_by': {'key': 'replyBy', 'type': 'iso-8601'},
'reply_to': {'key': 'replyTo', 'type': 'EmailRecipients'},
'sections': {'key': 'sections', 'type': '[MailSectionType]'},
'sections': {'key': 'sections', 'type': '[object]'},
'sender_type': {'key': 'senderType', 'type': 'object'},
'subject': {'key': 'subject', 'type': 'str'},
'to': {'key': 'to', 'type': 'EmailRecipients'}

Просмотреть файл

@ -3,4 +3,4 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
VERSION = "0.1.24"
VERSION = "0.1.25"

Просмотреть файл

@ -38,7 +38,7 @@ class TeamSetting(TeamSettingsDataContractBase):
'bugs_behavior': {'key': 'bugsBehavior', 'type': 'object'},
'default_iteration': {'key': 'defaultIteration', 'type': 'TeamSettingsIteration'},
'default_iteration_macro': {'key': 'defaultIterationMacro', 'type': 'str'},
'working_days': {'key': 'workingDays', 'type': '[str]'}
'working_days': {'key': 'workingDays', 'type': '[object]'}
}
def __init__(self, _links=None, url=None, backlog_iteration=None, backlog_visibilities=None, bugs_behavior=None, default_iteration=None, default_iteration_macro=None, working_days=None):

Просмотреть файл

@ -32,7 +32,7 @@ class TeamSettingsPatch(Model):
'bugs_behavior': {'key': 'bugsBehavior', 'type': 'object'},
'default_iteration': {'key': 'defaultIteration', 'type': 'str'},
'default_iteration_macro': {'key': 'defaultIterationMacro', 'type': 'str'},
'working_days': {'key': 'workingDays', 'type': '[str]'}
'working_days': {'key': 'workingDays', 'type': '[object]'}
}
def __init__(self, backlog_iteration=None, backlog_visibilities=None, bugs_behavior=None, default_iteration=None, default_iteration_macro=None, working_days=None):

Просмотреть файл

@ -38,7 +38,7 @@ class TeamSetting(TeamSettingsDataContractBase):
'bugs_behavior': {'key': 'bugsBehavior', 'type': 'object'},
'default_iteration': {'key': 'defaultIteration', 'type': 'TeamSettingsIteration'},
'default_iteration_macro': {'key': 'defaultIterationMacro', 'type': 'str'},
'working_days': {'key': 'workingDays', 'type': '[str]'}
'working_days': {'key': 'workingDays', 'type': '[object]'}
}
def __init__(self, _links=None, url=None, backlog_iteration=None, backlog_visibilities=None, bugs_behavior=None, default_iteration=None, default_iteration_macro=None, working_days=None):

Просмотреть файл

@ -32,7 +32,7 @@ class TeamSettingsPatch(Model):
'bugs_behavior': {'key': 'bugsBehavior', 'type': 'object'},
'default_iteration': {'key': 'defaultIteration', 'type': 'str'},
'default_iteration_macro': {'key': 'defaultIterationMacro', 'type': 'str'},
'working_days': {'key': 'workingDays', 'type': '[str]'}
'working_days': {'key': 'workingDays', 'type': '[object]'}
}
def __init__(self, backlog_iteration=None, backlog_visibilities=None, bugs_behavior=None, default_iteration=None, default_iteration_macro=None, working_days=None):