Skip to content

Commit 72444c7

Browse files
authored
Merge pull request #67 from Microsoft/users/tedchamb/regen
regenerate after fix for byte array data
2 parents 6d05c07 + 40bf57d commit 72444c7

File tree

24 files changed

+58
-58
lines changed

24 files changed

+58
-58
lines changed

vsts/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from setuptools import setup, find_packages
77

88
NAME = "vsts"
9-
VERSION = "0.1.5"
9+
VERSION = "0.1.6"
1010

1111
# To install the library, run the following
1212
#

vsts/vsts/core/v4_0/models/public_key.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ class PublicKey(Model):
1313
"""PublicKey.
1414
1515
:param exponent: Gets or sets the exponent for the public key.
16-
:type exponent: list of int
16+
:type exponent: str
1717
:param modulus: Gets or sets the modulus for the public key.
18-
:type modulus: list of int
18+
:type modulus: str
1919
"""
2020

2121
_attribute_map = {
22-
'exponent': {'key': 'exponent', 'type': '[int]'},
23-
'modulus': {'key': 'modulus', 'type': '[int]'}
22+
'exponent': {'key': 'exponent', 'type': 'str'},
23+
'modulus': {'key': 'modulus', 'type': 'str'}
2424
}
2525

2626
def __init__(self, exponent=None, modulus=None):

vsts/vsts/core/v4_1/models/public_key.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ class PublicKey(Model):
1313
"""PublicKey.
1414
1515
:param exponent: Gets or sets the exponent for the public key.
16-
:type exponent: list of int
16+
:type exponent: str
1717
:param modulus: Gets or sets the modulus for the public key.
18-
:type modulus: list of int
18+
:type modulus: str
1919
"""
2020

2121
_attribute_map = {
22-
'exponent': {'key': 'exponent', 'type': '[int]'},
23-
'modulus': {'key': 'modulus', 'type': '[int]'}
22+
'exponent': {'key': 'exponent', 'type': 'str'},
23+
'modulus': {'key': 'modulus', 'type': 'str'}
2424
}
2525

2626
def __init__(self, exponent=None, modulus=None):

vsts/vsts/file_container/v4_0/models/file_container_item.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class FileContainerItem(Model):
1515
:param container_id: Container Id.
1616
:type container_id: long
1717
:param content_id:
18-
:type content_id: list of int
18+
:type content_id: str
1919
:param content_location: Download Url for the content of this item.
2020
:type content_location: str
2121
:param created_by: Creator.
@@ -27,7 +27,7 @@ class FileContainerItem(Model):
2727
:param file_encoding: Encoding of the file. Zero if not a file.
2828
:type file_encoding: int
2929
:param file_hash: Hash value of the file. Null if not a file.
30-
:type file_hash: list of int
30+
:type file_hash: str
3131
:param file_id: Id of the file content.
3232
:type file_id: int
3333
:param file_length: Length of the file. Zero if not of a file.
@@ -52,13 +52,13 @@ class FileContainerItem(Model):
5252

5353
_attribute_map = {
5454
'container_id': {'key': 'containerId', 'type': 'long'},
55-
'content_id': {'key': 'contentId', 'type': '[int]'},
55+
'content_id': {'key': 'contentId', 'type': 'str'},
5656
'content_location': {'key': 'contentLocation', 'type': 'str'},
5757
'created_by': {'key': 'createdBy', 'type': 'str'},
5858
'date_created': {'key': 'dateCreated', 'type': 'iso-8601'},
5959
'date_last_modified': {'key': 'dateLastModified', 'type': 'iso-8601'},
6060
'file_encoding': {'key': 'fileEncoding', 'type': 'int'},
61-
'file_hash': {'key': 'fileHash', 'type': '[int]'},
61+
'file_hash': {'key': 'fileHash', 'type': 'str'},
6262
'file_id': {'key': 'fileId', 'type': 'int'},
6363
'file_length': {'key': 'fileLength', 'type': 'long'},
6464
'file_type': {'key': 'fileType', 'type': 'int'},

vsts/vsts/file_container/v4_1/models/file_container_item.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class FileContainerItem(Model):
1515
:param container_id: Container Id.
1616
:type container_id: long
1717
:param content_id:
18-
:type content_id: list of int
18+
:type content_id: str
1919
:param content_location: Download Url for the content of this item.
2020
:type content_location: str
2121
:param created_by: Creator.
@@ -27,7 +27,7 @@ class FileContainerItem(Model):
2727
:param file_encoding: Encoding of the file. Zero if not a file.
2828
:type file_encoding: int
2929
:param file_hash: Hash value of the file. Null if not a file.
30-
:type file_hash: list of int
30+
:type file_hash: str
3131
:param file_id: Id of the file content.
3232
:type file_id: int
3333
:param file_length: Length of the file. Zero if not of a file.
@@ -52,13 +52,13 @@ class FileContainerItem(Model):
5252

5353
_attribute_map = {
5454
'container_id': {'key': 'containerId', 'type': 'long'},
55-
'content_id': {'key': 'contentId', 'type': '[int]'},
55+
'content_id': {'key': 'contentId', 'type': 'str'},
5656
'content_location': {'key': 'contentLocation', 'type': 'str'},
5757
'created_by': {'key': 'createdBy', 'type': 'str'},
5858
'date_created': {'key': 'dateCreated', 'type': 'iso-8601'},
5959
'date_last_modified': {'key': 'dateLastModified', 'type': 'iso-8601'},
6060
'file_encoding': {'key': 'fileEncoding', 'type': 'int'},
61-
'file_hash': {'key': 'fileHash', 'type': '[int]'},
61+
'file_hash': {'key': 'fileHash', 'type': 'str'},
6262
'file_id': {'key': 'fileId', 'type': 'int'},
6363
'file_length': {'key': 'fileLength', 'type': 'long'},
6464
'file_type': {'key': 'fileType', 'type': 'int'},

vsts/vsts/gallery/v4_0/models/rating_count_per_rating.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ class RatingCountPerRating(Model):
1313
"""RatingCountPerRating.
1414
1515
:param rating: Rating value
16-
:type rating: int
16+
:type rating: str
1717
:param rating_count: Count of total ratings
1818
:type rating_count: long
1919
"""
2020

2121
_attribute_map = {
22-
'rating': {'key': 'rating', 'type': 'int'},
22+
'rating': {'key': 'rating', 'type': 'str'},
2323
'rating_count': {'key': 'ratingCount', 'type': 'long'}
2424
}
2525

vsts/vsts/gallery/v4_0/models/review.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Review(Model):
2323
:param product_version: Version of the product for which review was submitted
2424
:type product_version: str
2525
:param rating: Rating procided by the user
26-
:type rating: int
26+
:type rating: str
2727
:param reply: Reply, if any, for this review
2828
:type reply: :class:`ReviewReply <gallery.v4_0.models.ReviewReply>`
2929
:param text: Text description of the review
@@ -44,7 +44,7 @@ class Review(Model):
4444
'is_deleted': {'key': 'isDeleted', 'type': 'bool'},
4545
'is_ignored': {'key': 'isIgnored', 'type': 'bool'},
4646
'product_version': {'key': 'productVersion', 'type': 'str'},
47-
'rating': {'key': 'rating', 'type': 'int'},
47+
'rating': {'key': 'rating', 'type': 'str'},
4848
'reply': {'key': 'reply', 'type': 'ReviewReply'},
4949
'text': {'key': 'text', 'type': 'str'},
5050
'title': {'key': 'title', 'type': 'str'},

vsts/vsts/gallery/v4_1/models/rating_count_per_rating.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ class RatingCountPerRating(Model):
1313
"""RatingCountPerRating.
1414
1515
:param rating: Rating value
16-
:type rating: int
16+
:type rating: str
1717
:param rating_count: Count of total ratings
1818
:type rating_count: long
1919
"""
2020

2121
_attribute_map = {
22-
'rating': {'key': 'rating', 'type': 'int'},
22+
'rating': {'key': 'rating', 'type': 'str'},
2323
'rating_count': {'key': 'ratingCount', 'type': 'long'}
2424
}
2525

vsts/vsts/gallery/v4_1/models/review.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Review(Model):
2323
:param product_version: Version of the product for which review was submitted
2424
:type product_version: str
2525
:param rating: Rating procided by the user
26-
:type rating: int
26+
:type rating: str
2727
:param reply: Reply, if any, for this review
2828
:type reply: :class:`ReviewReply <gallery.v4_1.models.ReviewReply>`
2929
:param text: Text description of the review
@@ -44,7 +44,7 @@ class Review(Model):
4444
'is_deleted': {'key': 'isDeleted', 'type': 'bool'},
4545
'is_ignored': {'key': 'isIgnored', 'type': 'bool'},
4646
'product_version': {'key': 'productVersion', 'type': 'str'},
47-
'rating': {'key': 'rating', 'type': 'int'},
47+
'rating': {'key': 'rating', 'type': 'str'},
4848
'reply': {'key': 'reply', 'type': 'ReviewReply'},
4949
'text': {'key': 'text', 'type': 'str'},
5050
'title': {'key': 'title', 'type': 'str'},

vsts/vsts/licensing/v4_0/models/client_rights_container.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ class ClientRightsContainer(Model):
1313
"""ClientRightsContainer.
1414
1515
:param certificate_bytes:
16-
:type certificate_bytes: list of int
16+
:type certificate_bytes: str
1717
:param token:
1818
:type token: str
1919
"""
2020

2121
_attribute_map = {
22-
'certificate_bytes': {'key': 'certificateBytes', 'type': '[int]'},
22+
'certificate_bytes': {'key': 'certificateBytes', 'type': 'str'},
2323
'token': {'key': 'token', 'type': 'str'}
2424
}
2525

vsts/vsts/licensing/v4_1/models/client_rights_container.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ class ClientRightsContainer(Model):
1313
"""ClientRightsContainer.
1414
1515
:param certificate_bytes:
16-
:type certificate_bytes: list of int
16+
:type certificate_bytes: str
1717
:param token:
1818
:type token: str
1919
"""
2020

2121
_attribute_map = {
22-
'certificate_bytes': {'key': 'certificateBytes', 'type': '[int]'},
22+
'certificate_bytes': {'key': 'certificateBytes', 'type': 'str'},
2323
'token': {'key': 'token', 'type': 'str'}
2424
}
2525

vsts/vsts/notification/v4_0/models/field_input_values.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class FieldInputValues(InputValues):
2727
:param possible_values: Possible values that this input can take
2828
:type possible_values: list of :class:`InputValue <notification.v4_0.models.InputValue>`
2929
:param operators:
30-
:type operators: list of int
30+
:type operators: str
3131
"""
3232

3333
_attribute_map = {
@@ -38,7 +38,7 @@ class FieldInputValues(InputValues):
3838
'is_limited_to_possible_values': {'key': 'isLimitedToPossibleValues', 'type': 'bool'},
3939
'is_read_only': {'key': 'isReadOnly', 'type': 'bool'},
4040
'possible_values': {'key': 'possibleValues', 'type': '[InputValue]'},
41-
'operators': {'key': 'operators', 'type': '[int]'}
41+
'operators': {'key': 'operators', 'type': 'str'}
4242
}
4343

4444
def __init__(self, default_value=None, error=None, input_id=None, is_disabled=None, is_limited_to_possible_values=None, is_read_only=None, possible_values=None, operators=None):

vsts/vsts/notification/v4_1/models/field_input_values.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class FieldInputValues(InputValues):
2727
:param possible_values: Possible values that this input can take
2828
:type possible_values: list of :class:`InputValue <notification.v4_1.models.InputValue>`
2929
:param operators:
30-
:type operators: list of int
30+
:type operators: str
3131
"""
3232

3333
_attribute_map = {
@@ -38,7 +38,7 @@ class FieldInputValues(InputValues):
3838
'is_limited_to_possible_values': {'key': 'isLimitedToPossibleValues', 'type': 'bool'},
3939
'is_read_only': {'key': 'isReadOnly', 'type': 'bool'},
4040
'possible_values': {'key': 'possibleValues', 'type': '[InputValue]'},
41-
'operators': {'key': 'operators', 'type': '[int]'}
41+
'operators': {'key': 'operators', 'type': 'str'}
4242
}
4343

4444
def __init__(self, default_value=None, error=None, input_id=None, is_disabled=None, is_limited_to_possible_values=None, is_read_only=None, possible_values=None, operators=None):

vsts/vsts/service_hooks/v4_0/models/subscription.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Subscription(Model):
3737
:param modified_date:
3838
:type modified_date: datetime
3939
:param probation_retries:
40-
:type probation_retries: int
40+
:type probation_retries: str
4141
:param publisher_id:
4242
:type publisher_id: str
4343
:param publisher_inputs: Publisher input values
@@ -65,7 +65,7 @@ class Subscription(Model):
6565
'id': {'key': 'id', 'type': 'str'},
6666
'modified_by': {'key': 'modifiedBy', 'type': 'IdentityRef'},
6767
'modified_date': {'key': 'modifiedDate', 'type': 'iso-8601'},
68-
'probation_retries': {'key': 'probationRetries', 'type': 'int'},
68+
'probation_retries': {'key': 'probationRetries', 'type': 'str'},
6969
'publisher_id': {'key': 'publisherId', 'type': 'str'},
7070
'publisher_inputs': {'key': 'publisherInputs', 'type': '{str}'},
7171
'resource_version': {'key': 'resourceVersion', 'type': 'str'},

vsts/vsts/service_hooks/v4_1/models/subscription.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Subscription(Model):
3737
:param modified_date:
3838
:type modified_date: datetime
3939
:param probation_retries:
40-
:type probation_retries: int
40+
:type probation_retries: str
4141
:param publisher_id:
4242
:type publisher_id: str
4343
:param publisher_inputs: Publisher input values
@@ -65,7 +65,7 @@ class Subscription(Model):
6565
'id': {'key': 'id', 'type': 'str'},
6666
'modified_by': {'key': 'modifiedBy', 'type': 'IdentityRef'},
6767
'modified_date': {'key': 'modifiedDate', 'type': 'iso-8601'},
68-
'probation_retries': {'key': 'probationRetries', 'type': 'int'},
68+
'probation_retries': {'key': 'probationRetries', 'type': 'str'},
6969
'publisher_id': {'key': 'publisherId', 'type': 'str'},
7070
'publisher_inputs': {'key': 'publisherInputs', 'type': '{str}'},
7171
'resource_version': {'key': 'resourceVersion', 'type': 'str'},

vsts/vsts/task_agent/v4_0/models/task_agent_message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TaskAgentMessage(Model):
1515
:param body: Gets or sets the body of the message. If the <c>IV</c> property is provided the body will need to be decrypted using the <c>TaskAgentSession.EncryptionKey</c> value in addition to the <c>IV</c>.
1616
:type body: str
1717
:param iV: Gets or sets the intialization vector used to encrypt this message.
18-
:type iV: list of int
18+
:type iV: str
1919
:param message_id: Gets or sets the message identifier.
2020
:type message_id: long
2121
:param message_type: Gets or sets the message type, describing the data contract found in <c>TaskAgentMessage.Body</c>.
@@ -24,7 +24,7 @@ class TaskAgentMessage(Model):
2424

2525
_attribute_map = {
2626
'body': {'key': 'body', 'type': 'str'},
27-
'iV': {'key': 'iV', 'type': '[int]'},
27+
'iV': {'key': 'iV', 'type': 'str'},
2828
'message_id': {'key': 'messageId', 'type': 'long'},
2929
'message_type': {'key': 'messageType', 'type': 'str'}
3030
}

vsts/vsts/task_agent/v4_0/models/task_agent_public_key.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ class TaskAgentPublicKey(Model):
1313
"""TaskAgentPublicKey.
1414
1515
:param exponent: Gets or sets the exponent for the public key.
16-
:type exponent: list of int
16+
:type exponent: str
1717
:param modulus: Gets or sets the modulus for the public key.
18-
:type modulus: list of int
18+
:type modulus: str
1919
"""
2020

2121
_attribute_map = {
22-
'exponent': {'key': 'exponent', 'type': '[int]'},
23-
'modulus': {'key': 'modulus', 'type': '[int]'}
22+
'exponent': {'key': 'exponent', 'type': 'str'},
23+
'modulus': {'key': 'modulus', 'type': 'str'}
2424
}
2525

2626
def __init__(self, exponent=None, modulus=None):

vsts/vsts/task_agent/v4_0/models/task_agent_session_key.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ class TaskAgentSessionKey(Model):
1515
:param encrypted: Gets or sets a value indicating whether or not the key value is encrypted. If this value is true, the Value property should be decrypted using the <c>RSA</c> key exchanged with the server during registration.
1616
:type encrypted: bool
1717
:param value: Gets or sets the symmetric key value.
18-
:type value: list of int
18+
:type value: str
1919
"""
2020

2121
_attribute_map = {
2222
'encrypted': {'key': 'encrypted', 'type': 'bool'},
23-
'value': {'key': 'value', 'type': '[int]'}
23+
'value': {'key': 'value', 'type': 'str'}
2424
}
2525

2626
def __init__(self, encrypted=None, value=None):

vsts/vsts/task_agent/v4_1/models/task_agent_message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TaskAgentMessage(Model):
1515
:param body: Gets or sets the body of the message. If the <c>IV</c> property is provided the body will need to be decrypted using the <c>TaskAgentSession.EncryptionKey</c> value in addition to the <c>IV</c>.
1616
:type body: str
1717
:param iV: Gets or sets the intialization vector used to encrypt this message.
18-
:type iV: list of int
18+
:type iV: str
1919
:param message_id: Gets or sets the message identifier.
2020
:type message_id: long
2121
:param message_type: Gets or sets the message type, describing the data contract found in <c>TaskAgentMessage.Body</c>.
@@ -24,7 +24,7 @@ class TaskAgentMessage(Model):
2424

2525
_attribute_map = {
2626
'body': {'key': 'body', 'type': 'str'},
27-
'iV': {'key': 'iV', 'type': '[int]'},
27+
'iV': {'key': 'iV', 'type': 'str'},
2828
'message_id': {'key': 'messageId', 'type': 'long'},
2929
'message_type': {'key': 'messageType', 'type': 'str'}
3030
}

vsts/vsts/task_agent/v4_1/models/task_agent_public_key.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ class TaskAgentPublicKey(Model):
1313
"""TaskAgentPublicKey.
1414
1515
:param exponent: Gets or sets the exponent for the public key.
16-
:type exponent: list of int
16+
:type exponent: str
1717
:param modulus: Gets or sets the modulus for the public key.
18-
:type modulus: list of int
18+
:type modulus: str
1919
"""
2020

2121
_attribute_map = {
22-
'exponent': {'key': 'exponent', 'type': '[int]'},
23-
'modulus': {'key': 'modulus', 'type': '[int]'}
22+
'exponent': {'key': 'exponent', 'type': 'str'},
23+
'modulus': {'key': 'modulus', 'type': 'str'}
2424
}
2525

2626
def __init__(self, exponent=None, modulus=None):

vsts/vsts/task_agent/v4_1/models/task_agent_session_key.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ class TaskAgentSessionKey(Model):
1515
:param encrypted: Gets or sets a value indicating whether or not the key value is encrypted. If this value is true, the Value property should be decrypted using the <c>RSA</c> key exchanged with the server during registration.
1616
:type encrypted: bool
1717
:param value: Gets or sets the symmetric key value.
18-
:type value: list of int
18+
:type value: str
1919
"""
2020

2121
_attribute_map = {
2222
'encrypted': {'key': 'encrypted', 'type': 'bool'},
23-
'value': {'key': 'value', 'type': '[int]'}
23+
'value': {'key': 'value', 'type': 'str'}
2424
}
2525

2626
def __init__(self, encrypted=None, value=None):

0 commit comments

Comments
 (0)