Skip to content

regenerate after fix for byte array data #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vsts/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from setuptools import setup, find_packages

NAME = "vsts"
VERSION = "0.1.5"
VERSION = "0.1.6"

# To install the library, run the following
#
Expand Down
8 changes: 4 additions & 4 deletions vsts/vsts/core/v4_0/models/public_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ class PublicKey(Model):
"""PublicKey.

:param exponent: Gets or sets the exponent for the public key.
:type exponent: list of int
:type exponent: str
:param modulus: Gets or sets the modulus for the public key.
:type modulus: list of int
:type modulus: str
"""

_attribute_map = {
'exponent': {'key': 'exponent', 'type': '[int]'},
'modulus': {'key': 'modulus', 'type': '[int]'}
'exponent': {'key': 'exponent', 'type': 'str'},
'modulus': {'key': 'modulus', 'type': 'str'}
}

def __init__(self, exponent=None, modulus=None):
Expand Down
8 changes: 4 additions & 4 deletions vsts/vsts/core/v4_1/models/public_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ class PublicKey(Model):
"""PublicKey.

:param exponent: Gets or sets the exponent for the public key.
:type exponent: list of int
:type exponent: str
:param modulus: Gets or sets the modulus for the public key.
:type modulus: list of int
:type modulus: str
"""

_attribute_map = {
'exponent': {'key': 'exponent', 'type': '[int]'},
'modulus': {'key': 'modulus', 'type': '[int]'}
'exponent': {'key': 'exponent', 'type': 'str'},
'modulus': {'key': 'modulus', 'type': 'str'}
}

def __init__(self, exponent=None, modulus=None):
Expand Down
8 changes: 4 additions & 4 deletions vsts/vsts/file_container/v4_0/models/file_container_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class FileContainerItem(Model):
:param container_id: Container Id.
:type container_id: long
:param content_id:
:type content_id: list of int
:type content_id: str
:param content_location: Download Url for the content of this item.
:type content_location: str
:param created_by: Creator.
Expand All @@ -27,7 +27,7 @@ class FileContainerItem(Model):
:param file_encoding: Encoding of the file. Zero if not a file.
:type file_encoding: int
:param file_hash: Hash value of the file. Null if not a file.
:type file_hash: list of int
:type file_hash: str
:param file_id: Id of the file content.
:type file_id: int
:param file_length: Length of the file. Zero if not of a file.
Expand All @@ -52,13 +52,13 @@ class FileContainerItem(Model):

_attribute_map = {
'container_id': {'key': 'containerId', 'type': 'long'},
'content_id': {'key': 'contentId', 'type': '[int]'},
'content_id': {'key': 'contentId', 'type': 'str'},
'content_location': {'key': 'contentLocation', 'type': 'str'},
'created_by': {'key': 'createdBy', 'type': 'str'},
'date_created': {'key': 'dateCreated', 'type': 'iso-8601'},
'date_last_modified': {'key': 'dateLastModified', 'type': 'iso-8601'},
'file_encoding': {'key': 'fileEncoding', 'type': 'int'},
'file_hash': {'key': 'fileHash', 'type': '[int]'},
'file_hash': {'key': 'fileHash', 'type': 'str'},
'file_id': {'key': 'fileId', 'type': 'int'},
'file_length': {'key': 'fileLength', 'type': 'long'},
'file_type': {'key': 'fileType', 'type': 'int'},
Expand Down
8 changes: 4 additions & 4 deletions vsts/vsts/file_container/v4_1/models/file_container_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class FileContainerItem(Model):
:param container_id: Container Id.
:type container_id: long
:param content_id:
:type content_id: list of int
:type content_id: str
:param content_location: Download Url for the content of this item.
:type content_location: str
:param created_by: Creator.
Expand All @@ -27,7 +27,7 @@ class FileContainerItem(Model):
:param file_encoding: Encoding of the file. Zero if not a file.
:type file_encoding: int
:param file_hash: Hash value of the file. Null if not a file.
:type file_hash: list of int
:type file_hash: str
:param file_id: Id of the file content.
:type file_id: int
:param file_length: Length of the file. Zero if not of a file.
Expand All @@ -52,13 +52,13 @@ class FileContainerItem(Model):

_attribute_map = {
'container_id': {'key': 'containerId', 'type': 'long'},
'content_id': {'key': 'contentId', 'type': '[int]'},
'content_id': {'key': 'contentId', 'type': 'str'},
'content_location': {'key': 'contentLocation', 'type': 'str'},
'created_by': {'key': 'createdBy', 'type': 'str'},
'date_created': {'key': 'dateCreated', 'type': 'iso-8601'},
'date_last_modified': {'key': 'dateLastModified', 'type': 'iso-8601'},
'file_encoding': {'key': 'fileEncoding', 'type': 'int'},
'file_hash': {'key': 'fileHash', 'type': '[int]'},
'file_hash': {'key': 'fileHash', 'type': 'str'},
'file_id': {'key': 'fileId', 'type': 'int'},
'file_length': {'key': 'fileLength', 'type': 'long'},
'file_type': {'key': 'fileType', 'type': 'int'},
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/gallery/v4_0/models/rating_count_per_rating.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ class RatingCountPerRating(Model):
"""RatingCountPerRating.

:param rating: Rating value
:type rating: int
:type rating: str
:param rating_count: Count of total ratings
:type rating_count: long
"""

_attribute_map = {
'rating': {'key': 'rating', 'type': 'int'},
'rating': {'key': 'rating', 'type': 'str'},
'rating_count': {'key': 'ratingCount', 'type': 'long'}
}

Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/gallery/v4_0/models/review.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Review(Model):
:param product_version: Version of the product for which review was submitted
:type product_version: str
:param rating: Rating procided by the user
:type rating: int
:type rating: str
:param reply: Reply, if any, for this review
:type reply: :class:`ReviewReply <gallery.v4_0.models.ReviewReply>`
:param text: Text description of the review
Expand All @@ -44,7 +44,7 @@ class Review(Model):
'is_deleted': {'key': 'isDeleted', 'type': 'bool'},
'is_ignored': {'key': 'isIgnored', 'type': 'bool'},
'product_version': {'key': 'productVersion', 'type': 'str'},
'rating': {'key': 'rating', 'type': 'int'},
'rating': {'key': 'rating', 'type': 'str'},
'reply': {'key': 'reply', 'type': 'ReviewReply'},
'text': {'key': 'text', 'type': 'str'},
'title': {'key': 'title', 'type': 'str'},
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/gallery/v4_1/models/rating_count_per_rating.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ class RatingCountPerRating(Model):
"""RatingCountPerRating.

:param rating: Rating value
:type rating: int
:type rating: str
:param rating_count: Count of total ratings
:type rating_count: long
"""

_attribute_map = {
'rating': {'key': 'rating', 'type': 'int'},
'rating': {'key': 'rating', 'type': 'str'},
'rating_count': {'key': 'ratingCount', 'type': 'long'}
}

Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/gallery/v4_1/models/review.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Review(Model):
:param product_version: Version of the product for which review was submitted
:type product_version: str
:param rating: Rating procided by the user
:type rating: int
:type rating: str
:param reply: Reply, if any, for this review
:type reply: :class:`ReviewReply <gallery.v4_1.models.ReviewReply>`
:param text: Text description of the review
Expand All @@ -44,7 +44,7 @@ class Review(Model):
'is_deleted': {'key': 'isDeleted', 'type': 'bool'},
'is_ignored': {'key': 'isIgnored', 'type': 'bool'},
'product_version': {'key': 'productVersion', 'type': 'str'},
'rating': {'key': 'rating', 'type': 'int'},
'rating': {'key': 'rating', 'type': 'str'},
'reply': {'key': 'reply', 'type': 'ReviewReply'},
'text': {'key': 'text', 'type': 'str'},
'title': {'key': 'title', 'type': 'str'},
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/licensing/v4_0/models/client_rights_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ class ClientRightsContainer(Model):
"""ClientRightsContainer.

:param certificate_bytes:
:type certificate_bytes: list of int
:type certificate_bytes: str
:param token:
:type token: str
"""

_attribute_map = {
'certificate_bytes': {'key': 'certificateBytes', 'type': '[int]'},
'certificate_bytes': {'key': 'certificateBytes', 'type': 'str'},
'token': {'key': 'token', 'type': 'str'}
}

Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/licensing/v4_1/models/client_rights_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ class ClientRightsContainer(Model):
"""ClientRightsContainer.

:param certificate_bytes:
:type certificate_bytes: list of int
:type certificate_bytes: str
:param token:
:type token: str
"""

_attribute_map = {
'certificate_bytes': {'key': 'certificateBytes', 'type': '[int]'},
'certificate_bytes': {'key': 'certificateBytes', 'type': 'str'},
'token': {'key': 'token', 'type': 'str'}
}

Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/notification/v4_0/models/field_input_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class FieldInputValues(InputValues):
:param possible_values: Possible values that this input can take
:type possible_values: list of :class:`InputValue <notification.v4_0.models.InputValue>`
:param operators:
:type operators: list of int
:type operators: str
"""

_attribute_map = {
Expand All @@ -38,7 +38,7 @@ class FieldInputValues(InputValues):
'is_limited_to_possible_values': {'key': 'isLimitedToPossibleValues', 'type': 'bool'},
'is_read_only': {'key': 'isReadOnly', 'type': 'bool'},
'possible_values': {'key': 'possibleValues', 'type': '[InputValue]'},
'operators': {'key': 'operators', 'type': '[int]'}
'operators': {'key': 'operators', 'type': 'str'}
}

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):
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/notification/v4_1/models/field_input_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class FieldInputValues(InputValues):
:param possible_values: Possible values that this input can take
:type possible_values: list of :class:`InputValue <notification.v4_1.models.InputValue>`
:param operators:
:type operators: list of int
:type operators: str
"""

_attribute_map = {
Expand All @@ -38,7 +38,7 @@ class FieldInputValues(InputValues):
'is_limited_to_possible_values': {'key': 'isLimitedToPossibleValues', 'type': 'bool'},
'is_read_only': {'key': 'isReadOnly', 'type': 'bool'},
'possible_values': {'key': 'possibleValues', 'type': '[InputValue]'},
'operators': {'key': 'operators', 'type': '[int]'}
'operators': {'key': 'operators', 'type': 'str'}
}

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):
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/service_hooks/v4_0/models/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Subscription(Model):
:param modified_date:
:type modified_date: datetime
:param probation_retries:
:type probation_retries: int
:type probation_retries: str
:param publisher_id:
:type publisher_id: str
:param publisher_inputs: Publisher input values
Expand Down Expand Up @@ -65,7 +65,7 @@ class Subscription(Model):
'id': {'key': 'id', 'type': 'str'},
'modified_by': {'key': 'modifiedBy', 'type': 'IdentityRef'},
'modified_date': {'key': 'modifiedDate', 'type': 'iso-8601'},
'probation_retries': {'key': 'probationRetries', 'type': 'int'},
'probation_retries': {'key': 'probationRetries', 'type': 'str'},
'publisher_id': {'key': 'publisherId', 'type': 'str'},
'publisher_inputs': {'key': 'publisherInputs', 'type': '{str}'},
'resource_version': {'key': 'resourceVersion', 'type': 'str'},
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/service_hooks/v4_1/models/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Subscription(Model):
:param modified_date:
:type modified_date: datetime
:param probation_retries:
:type probation_retries: int
:type probation_retries: str
:param publisher_id:
:type publisher_id: str
:param publisher_inputs: Publisher input values
Expand Down Expand Up @@ -65,7 +65,7 @@ class Subscription(Model):
'id': {'key': 'id', 'type': 'str'},
'modified_by': {'key': 'modifiedBy', 'type': 'IdentityRef'},
'modified_date': {'key': 'modifiedDate', 'type': 'iso-8601'},
'probation_retries': {'key': 'probationRetries', 'type': 'int'},
'probation_retries': {'key': 'probationRetries', 'type': 'str'},
'publisher_id': {'key': 'publisherId', 'type': 'str'},
'publisher_inputs': {'key': 'publisherInputs', 'type': '{str}'},
'resource_version': {'key': 'resourceVersion', 'type': 'str'},
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/task_agent/v4_0/models/task_agent_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class TaskAgentMessage(Model):
: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>.
:type body: str
:param iV: Gets or sets the intialization vector used to encrypt this message.
:type iV: list of int
: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 <c>TaskAgentMessage.Body</c>.
Expand All @@ -24,7 +24,7 @@ class TaskAgentMessage(Model):

_attribute_map = {
'body': {'key': 'body', 'type': 'str'},
'iV': {'key': 'iV', 'type': '[int]'},
'iV': {'key': 'iV', 'type': 'str'},
'message_id': {'key': 'messageId', 'type': 'long'},
'message_type': {'key': 'messageType', 'type': 'str'}
}
Expand Down
8 changes: 4 additions & 4 deletions vsts/vsts/task_agent/v4_0/models/task_agent_public_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ class TaskAgentPublicKey(Model):
"""TaskAgentPublicKey.

:param exponent: Gets or sets the exponent for the public key.
:type exponent: list of int
:type exponent: str
:param modulus: Gets or sets the modulus for the public key.
:type modulus: list of int
:type modulus: str
"""

_attribute_map = {
'exponent': {'key': 'exponent', 'type': '[int]'},
'modulus': {'key': 'modulus', 'type': '[int]'}
'exponent': {'key': 'exponent', 'type': 'str'},
'modulus': {'key': 'modulus', 'type': 'str'}
}

def __init__(self, exponent=None, modulus=None):
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/task_agent/v4_0/models/task_agent_session_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ class TaskAgentSessionKey(Model):
: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.
:type encrypted: bool
:param value: Gets or sets the symmetric key value.
:type value: list of int
:type value: str
"""

_attribute_map = {
'encrypted': {'key': 'encrypted', 'type': 'bool'},
'value': {'key': 'value', 'type': '[int]'}
'value': {'key': 'value', 'type': 'str'}
}

def __init__(self, encrypted=None, value=None):
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/task_agent/v4_1/models/task_agent_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class TaskAgentMessage(Model):
: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>.
:type body: str
:param iV: Gets or sets the intialization vector used to encrypt this message.
:type iV: list of int
: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 <c>TaskAgentMessage.Body</c>.
Expand All @@ -24,7 +24,7 @@ class TaskAgentMessage(Model):

_attribute_map = {
'body': {'key': 'body', 'type': 'str'},
'iV': {'key': 'iV', 'type': '[int]'},
'iV': {'key': 'iV', 'type': 'str'},
'message_id': {'key': 'messageId', 'type': 'long'},
'message_type': {'key': 'messageType', 'type': 'str'}
}
Expand Down
8 changes: 4 additions & 4 deletions vsts/vsts/task_agent/v4_1/models/task_agent_public_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ class TaskAgentPublicKey(Model):
"""TaskAgentPublicKey.

:param exponent: Gets or sets the exponent for the public key.
:type exponent: list of int
:type exponent: str
:param modulus: Gets or sets the modulus for the public key.
:type modulus: list of int
:type modulus: str
"""

_attribute_map = {
'exponent': {'key': 'exponent', 'type': '[int]'},
'modulus': {'key': 'modulus', 'type': '[int]'}
'exponent': {'key': 'exponent', 'type': 'str'},
'modulus': {'key': 'modulus', 'type': 'str'}
}

def __init__(self, exponent=None, modulus=None):
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/task_agent/v4_1/models/task_agent_session_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ class TaskAgentSessionKey(Model):
: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.
:type encrypted: bool
:param value: Gets or sets the symmetric key value.
:type value: list of int
:type value: str
"""

_attribute_map = {
'encrypted': {'key': 'encrypted', 'type': 'bool'},
'value': {'key': 'value', 'type': '[int]'}
'value': {'key': 'value', 'type': 'str'}
}

def __init__(self, encrypted=None, value=None):
Expand Down
Loading