From 0fc81e06a7ec5030de8070fe6f4e91afbe04bfe1 Mon Sep 17 00:00:00 2001 From: Ted Chambers Date: Fri, 3 Jan 2020 15:27:28 -0500 Subject: [PATCH] regen after fix for float types in generator for 5.0 and 5.1 apis --- azure-devops/azure/devops/v5_0/cloud_load_test/models.py | 8 ++++---- azure-devops/azure/devops/v5_0/contributions/models.py | 4 ++-- azure-devops/azure/devops/v5_0/gallery/models.py | 8 ++++---- azure-devops/azure/devops/v5_0/work/models.py | 4 ++-- azure-devops/azure/devops/v5_1/cloud_load_test/models.py | 8 ++++---- azure-devops/azure/devops/v5_1/contributions/models.py | 4 ++-- azure-devops/azure/devops/v5_1/gallery/models.py | 8 ++++---- azure-devops/azure/devops/v5_1/work/models.py | 4 ++-- azure-devops/azure/devops/version.py | 2 +- azure-devops/setup.py | 2 +- 10 files changed, 26 insertions(+), 26 deletions(-) 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 bd0f4b6f..0637e497 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 @@ -199,12 +199,12 @@ class BrowserMix(Model): :param browser_name: :type browser_name: str :param browser_percentage: - :type browser_percentage: int + :type browser_percentage: float """ _attribute_map = { 'browser_name': {'key': 'browserName', 'type': 'str'}, - 'browser_percentage': {'key': 'browserPercentage', 'type': 'int'} + 'browser_percentage': {'key': 'browserPercentage', 'type': 'float'} } def __init__(self, browser_name=None, browser_percentage=None): @@ -291,7 +291,7 @@ class CounterSample(Model): :param base_value: :type base_value: long :param computed_value: - :type computed_value: int + :type computed_value: float :param counter_frequency: :type counter_frequency: long :param counter_instance_id: @@ -312,7 +312,7 @@ class CounterSample(Model): _attribute_map = { 'base_value': {'key': 'baseValue', 'type': 'long'}, - 'computed_value': {'key': 'computedValue', 'type': 'int'}, + 'computed_value': {'key': 'computedValue', 'type': 'float'}, 'counter_frequency': {'key': 'counterFrequency', 'type': 'long'}, 'counter_instance_id': {'key': 'counterInstanceId', 'type': 'str'}, 'counter_type': {'key': 'counterType', 'type': 'str'}, diff --git a/azure-devops/azure/devops/v5_0/contributions/models.py b/azure-devops/azure/devops/v5_0/contributions/models.py index 900a75bb..2fedc294 100644 --- a/azure-devops/azure/devops/v5_0/contributions/models.py +++ b/azure-devops/azure/devops/v5_0/contributions/models.py @@ -689,7 +689,7 @@ class ResolvedDataProvider(Model): """ResolvedDataProvider. :param duration: The total time the data provider took to resolve its data (in milliseconds) - :type duration: int + :type duration: float :param error: :type error: str :param id: @@ -697,7 +697,7 @@ class ResolvedDataProvider(Model): """ _attribute_map = { - 'duration': {'key': 'duration', 'type': 'int'}, + 'duration': {'key': 'duration', 'type': 'float'}, 'error': {'key': 'error', 'type': 'str'}, 'id': {'key': 'id', 'type': 'str'} } diff --git a/azure-devops/azure/devops/v5_0/gallery/models.py b/azure-devops/azure/devops/v5_0/gallery/models.py index 76ea5f24..603bcbb3 100644 --- a/azure-devops/azure/devops/v5_0/gallery/models.py +++ b/azure-devops/azure/devops/v5_0/gallery/models.py @@ -213,7 +213,7 @@ class EventCounts(Model): """EventCounts. :param average_rating: Average rating on the day for extension - :type average_rating: int + :type average_rating: float :param buy_count: Number of times the extension was bought in hosted scenario (applies only to VSTS extensions) :type buy_count: int :param connected_buy_count: Number of times the extension was bought in connected scenario (applies only to VSTS extensions) @@ -233,7 +233,7 @@ class EventCounts(Model): """ _attribute_map = { - 'average_rating': {'key': 'averageRating', 'type': 'int'}, + 'average_rating': {'key': 'averageRating', 'type': 'float'}, 'buy_count': {'key': 'buyCount', 'type': 'int'}, 'connected_buy_count': {'key': 'connectedBuyCount', 'type': 'int'}, 'connected_install_count': {'key': 'connectedInstallCount', 'type': 'int'}, @@ -1541,7 +1541,7 @@ class ReviewSummary(Model): """ReviewSummary. :param average_rating: Average Rating - :type average_rating: int + :type average_rating: float :param rating_count: Count of total ratings :type rating_count: long :param rating_split: Split of count accross rating @@ -1549,7 +1549,7 @@ class ReviewSummary(Model): """ _attribute_map = { - 'average_rating': {'key': 'averageRating', 'type': 'int'}, + 'average_rating': {'key': 'averageRating', 'type': 'float'}, 'rating_count': {'key': 'ratingCount', 'type': 'long'}, 'rating_split': {'key': 'ratingSplit', 'type': '[RatingCountPerRating]'} } diff --git a/azure-devops/azure/devops/v5_0/work/models.py b/azure-devops/azure/devops/v5_0/work/models.py index 8984be24..e9ecb034 100644 --- a/azure-devops/azure/devops/v5_0/work/models.py +++ b/azure-devops/azure/devops/v5_0/work/models.py @@ -13,13 +13,13 @@ class Activity(Model): """Activity. :param capacity_per_day: - :type capacity_per_day: int + :type capacity_per_day: float :param name: :type name: str """ _attribute_map = { - 'capacity_per_day': {'key': 'capacityPerDay', 'type': 'int'}, + 'capacity_per_day': {'key': 'capacityPerDay', 'type': 'float'}, 'name': {'key': 'name', 'type': 'str'} } 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 1c6a8850..df523517 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 @@ -193,12 +193,12 @@ class BrowserMix(Model): :param browser_name: :type browser_name: str :param browser_percentage: - :type browser_percentage: int + :type browser_percentage: float """ _attribute_map = { 'browser_name': {'key': 'browserName', 'type': 'str'}, - 'browser_percentage': {'key': 'browserPercentage', 'type': 'int'} + 'browser_percentage': {'key': 'browserPercentage', 'type': 'float'} } def __init__(self, browser_name=None, browser_percentage=None): @@ -281,7 +281,7 @@ class CounterSample(Model): :param base_value: :type base_value: long :param computed_value: - :type computed_value: int + :type computed_value: float :param counter_frequency: :type counter_frequency: long :param counter_instance_id: @@ -302,7 +302,7 @@ class CounterSample(Model): _attribute_map = { 'base_value': {'key': 'baseValue', 'type': 'long'}, - 'computed_value': {'key': 'computedValue', 'type': 'int'}, + 'computed_value': {'key': 'computedValue', 'type': 'float'}, 'counter_frequency': {'key': 'counterFrequency', 'type': 'long'}, 'counter_instance_id': {'key': 'counterInstanceId', 'type': 'str'}, 'counter_type': {'key': 'counterType', 'type': 'str'}, diff --git a/azure-devops/azure/devops/v5_1/contributions/models.py b/azure-devops/azure/devops/v5_1/contributions/models.py index f9d3096d..f34a2362 100644 --- a/azure-devops/azure/devops/v5_1/contributions/models.py +++ b/azure-devops/azure/devops/v5_1/contributions/models.py @@ -706,7 +706,7 @@ class ResolvedDataProvider(Model): Entry for a specific data provider's resulting data :param duration: The total time the data provider took to resolve its data (in milliseconds) - :type duration: int + :type duration: float :param error: :type error: str :param id: @@ -714,7 +714,7 @@ class ResolvedDataProvider(Model): """ _attribute_map = { - 'duration': {'key': 'duration', 'type': 'int'}, + 'duration': {'key': 'duration', 'type': 'float'}, 'error': {'key': 'error', 'type': 'str'}, 'id': {'key': 'id', 'type': 'str'} } diff --git a/azure-devops/azure/devops/v5_1/gallery/models.py b/azure-devops/azure/devops/v5_1/gallery/models.py index 256e07ef..90059b7b 100644 --- a/azure-devops/azure/devops/v5_1/gallery/models.py +++ b/azure-devops/azure/devops/v5_1/gallery/models.py @@ -210,7 +210,7 @@ def __init__(self, lang=None, lcid=None, title=None): class EventCounts(Model): """ :param average_rating: Average rating on the day for extension - :type average_rating: int + :type average_rating: float :param buy_count: Number of times the extension was bought in hosted scenario (applies only to VSTS extensions) :type buy_count: int :param connected_buy_count: Number of times the extension was bought in connected scenario (applies only to VSTS extensions) @@ -230,7 +230,7 @@ class EventCounts(Model): """ _attribute_map = { - 'average_rating': {'key': 'averageRating', 'type': 'int'}, + 'average_rating': {'key': 'averageRating', 'type': 'float'}, 'buy_count': {'key': 'buyCount', 'type': 'int'}, 'connected_buy_count': {'key': 'connectedBuyCount', 'type': 'int'}, 'connected_install_count': {'key': 'connectedInstallCount', 'type': 'int'}, @@ -1715,7 +1715,7 @@ def __init__(self, has_more_reviews=None, reviews=None, total_review_count=None) class ReviewSummary(Model): """ :param average_rating: Average Rating - :type average_rating: int + :type average_rating: float :param rating_count: Count of total ratings :type rating_count: long :param rating_split: Split of count across rating @@ -1723,7 +1723,7 @@ class ReviewSummary(Model): """ _attribute_map = { - 'average_rating': {'key': 'averageRating', 'type': 'int'}, + 'average_rating': {'key': 'averageRating', 'type': 'float'}, 'rating_count': {'key': 'ratingCount', 'type': 'long'}, 'rating_split': {'key': 'ratingSplit', 'type': '[RatingCountPerRating]'} } diff --git a/azure-devops/azure/devops/v5_1/work/models.py b/azure-devops/azure/devops/v5_1/work/models.py index 6184d2af..7ebe168e 100644 --- a/azure-devops/azure/devops/v5_1/work/models.py +++ b/azure-devops/azure/devops/v5_1/work/models.py @@ -12,13 +12,13 @@ class Activity(Model): """ :param capacity_per_day: - :type capacity_per_day: int + :type capacity_per_day: float :param name: :type name: str """ _attribute_map = { - 'capacity_per_day': {'key': 'capacityPerDay', 'type': 'int'}, + 'capacity_per_day': {'key': 'capacityPerDay', 'type': 'float'}, 'name': {'key': 'name', 'type': 'str'} } diff --git a/azure-devops/azure/devops/version.py b/azure-devops/azure/devops/version.py index 72687be2..efd7012e 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.0b6" +VERSION = "5.1.0b7" diff --git a/azure-devops/setup.py b/azure-devops/setup.py index 668c0bf2..f2021f8a 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.0b6" +VERSION = "5.1.0b7" # To install the library, run the following #