Skip to content

Commit bade51e

Browse files
committed
regen after fix for float types in generator for 5.1 apis
1 parent 63f5078 commit bade51e

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

azure-devops/azure/devops/v5_1/cloud_load_test/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------

azure-devops/azure/devops/v5_1/contributions/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,15 +706,15 @@ class ResolvedDataProvider(Model):
706706
Entry for a specific data provider's resulting data
707707
708708
:param duration: The total time the data provider took to resolve its data (in milliseconds)
709-
:type duration: int
709+
:type duration: float
710710
:param error:
711711
:type error: str
712712
:param id:
713713
:type id: str
714714
"""
715715

716716
_attribute_map = {
717-
'duration': {'key': 'duration', 'type': 'int'},
717+
'duration': {'key': 'duration', 'type': 'float'},
718718
'error': {'key': 'error', 'type': 'str'},
719719
'id': {'key': 'id', 'type': 'str'}
720720
}

azure-devops/azure/devops/v5_1/gallery/models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def __init__(self, lang=None, lcid=None, title=None):
210210
class EventCounts(Model):
211211
"""
212212
:param average_rating: Average rating on the day for extension
213-
:type average_rating: int
213+
:type average_rating: float
214214
:param buy_count: Number of times the extension was bought in hosted scenario (applies only to VSTS extensions)
215215
:type buy_count: int
216216
: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):
230230
"""
231231

232232
_attribute_map = {
233-
'average_rating': {'key': 'averageRating', 'type': 'int'},
233+
'average_rating': {'key': 'averageRating', 'type': 'float'},
234234
'buy_count': {'key': 'buyCount', 'type': 'int'},
235235
'connected_buy_count': {'key': 'connectedBuyCount', 'type': 'int'},
236236
'connected_install_count': {'key': 'connectedInstallCount', 'type': 'int'},
@@ -1715,15 +1715,15 @@ def __init__(self, has_more_reviews=None, reviews=None, total_review_count=None)
17151715
class ReviewSummary(Model):
17161716
"""
17171717
:param average_rating: Average Rating
1718-
:type average_rating: int
1718+
:type average_rating: float
17191719
:param rating_count: Count of total ratings
17201720
:type rating_count: long
17211721
:param rating_split: Split of count across rating
17221722
:type rating_split: list of :class:`RatingCountPerRating <azure.devops.v5_1.gallery.models.RatingCountPerRating>`
17231723
"""
17241724

17251725
_attribute_map = {
1726-
'average_rating': {'key': 'averageRating', 'type': 'int'},
1726+
'average_rating': {'key': 'averageRating', 'type': 'float'},
17271727
'rating_count': {'key': 'ratingCount', 'type': 'long'},
17281728
'rating_split': {'key': 'ratingSplit', 'type': '[RatingCountPerRating]'}
17291729
}

azure-devops/azure/devops/v5_1/work/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
class Activity(Model):
1313
"""
1414
:param capacity_per_day:
15-
:type capacity_per_day: int
15+
:type capacity_per_day: float
1616
:param name:
1717
:type name: str
1818
"""
1919

2020
_attribute_map = {
21-
'capacity_per_day': {'key': 'capacityPerDay', 'type': 'int'},
21+
'capacity_per_day': {'key': 'capacityPerDay', 'type': 'float'},
2222
'name': {'key': 'name', 'type': 'str'}
2323
}
2424

0 commit comments

Comments
 (0)