Skip to content
Closed
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
4 changes: 2 additions & 2 deletions packages/autorest.python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"homepage": "https://github.com/Azure/autorest.python/blob/main/README.md",
"dependencies": {
"@typespec/http-client-python": "~0.6.9",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDUxMTY3My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.6.9.tgz",
"@autorest/system-requirements": "~1.0.2",
"fs-extra": "~11.2.0",
"tsx": "~4.19.1"
Expand All @@ -47,4 +47,4 @@
"requirements.txt",
"generator/"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ class ModelTwo(_serialization.Model):

All required parameters must be populated in order to send to server.

:ivar id: Required.
:vartype id: int
:ivar message:
:vartype message: str
:ivar id: Required.
:vartype id: int
:ivar message:
:vartype message: str
"""

_validation = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,14 @@ class ParameterGroupingPostRequiredParameters(msrest.serialization.Model):

All required parameters must be populated in order to send to server.

:ivar custom_header:
:vartype custom_header: str
:ivar query: Query parameter with default.
:vartype query: int
:ivar path: Path parameter. Required.
:vartype path: str
:ivar body: Required.
:vartype body: int
:ivar custom_header:
:vartype custom_header: str
:ivar query: Query parameter with default.
:vartype query: int
:ivar path: Path parameter. Required.
:vartype path: str
:ivar body: Required.
:vartype body: int
"""

_validation = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class Error(msrest.serialization.Model):

All required parameters must be populated in order to send to server.

:ivar status:
:vartype status: int
:ivar constant_id: Required. Default value is 1.
:vartype constant_id: int
:ivar message:
:vartype message: str
:ivar status:
:vartype status: int
:ivar constant_id: Required. Default value is 1.
:vartype constant_id: int
:ivar message:
:vartype message: str
"""

_validation = {
Expand Down Expand Up @@ -55,8 +55,8 @@ class HeaderCustomNamedRequestIdParamGroupingParameters(msrest.serialization.Mod

All required parameters must be populated in order to send to server.

:ivar foo_client_request_id: The fooRequestId. Required.
:vartype foo_client_request_id: str
:ivar foo_client_request_id: The fooRequestId. Required.
:vartype foo_client_request_id: str
"""

_validation = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ class CustomParameterGroup(_serialization.Model):

All required parameters must be populated in order to send to server.

:ivar api_version: Sets the api version to use. Required.
:vartype api_version: str
:ivar tenant: Sets the tenant to use. Required.
:vartype tenant: str
:ivar api_version: Sets the api version to use. Required.
:vartype api_version: str
:ivar tenant: Sets the tenant to use. Required.
:vartype tenant: str
"""

_validation = {
Expand Down Expand Up @@ -179,13 +179,13 @@ class PagingGetMultiplePagesWithOffsetOptions(_serialization.Model):

All required parameters must be populated in order to send to server.

:ivar maxresults: Sets the maximum number of items to return in the response.
:vartype maxresults: int
:ivar offset: Offset of return value. Required.
:vartype offset: int
:ivar timeout: Sets the maximum time that the server can spend processing the request, in
seconds. The default is 30 seconds.
:vartype timeout: int
:ivar maxresults: Sets the maximum number of items to return in the response.
:vartype maxresults: int
:ivar offset: Offset of return value. Required.
:vartype offset: int
:ivar timeout: Sets the maximum time that the server can spend processing the request, in
seconds. The default is 30 seconds.
:vartype timeout: int
"""

_validation = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,16 @@ class Resource(_serialization.Model):

Variables are only populated by the server, and will be ignored when sending a request.

:ivar id: Resource Id.
:vartype id: str
:ivar type: Resource Type.
:vartype type: str
:ivar tags: Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar location: Resource Location.
:vartype location: str
:ivar name: Resource Name.
:vartype name: str
:ivar id: Resource Id.
:vartype id: str
:ivar type: Resource Type.
:vartype type: str
:ivar tags: Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar location: Resource Location.
:vartype location: str
:ivar name: Resource Name.
:vartype name: str
"""

_validation = {
Expand Down Expand Up @@ -126,21 +126,21 @@ class Product(Resource):

Variables are only populated by the server, and will be ignored when sending a request.

:ivar id: Resource Id.
:vartype id: str
:ivar type: Resource Type.
:vartype type: str
:ivar tags: Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar location: Resource Location.
:vartype location: str
:ivar name: Resource Name.
:vartype name: str
:ivar provisioning_state:
:vartype provisioning_state: str
:ivar provisioning_state_values: Known values are: "Succeeded", "Failed", "canceled",
"Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", and "OK".
:vartype provisioning_state_values: str or ~lro.models.ProductPropertiesProvisioningStateValues
:ivar id: Resource Id.
:vartype id: str
:ivar type: Resource Type.
:vartype type: str
:ivar tags: Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar location: Resource Location.
:vartype location: str
:ivar name: Resource Name.
:vartype name: str
:ivar provisioning_state:
:vartype provisioning_state: str
:ivar provisioning_state_values: Known values are: "Succeeded", "Failed", "canceled",
"Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", and "OK".
:vartype provisioning_state_values: str or ~lro.models.ProductPropertiesProvisioningStateValues
"""

_validation = {
Expand Down Expand Up @@ -218,8 +218,8 @@ class SubResource(_serialization.Model):

Variables are only populated by the server, and will be ignored when sending a request.

:ivar id: Sub Resource Id.
:vartype id: str
:ivar id: Sub Resource Id.
:vartype id: str
"""

_validation = {
Expand All @@ -241,14 +241,14 @@ class SubProduct(SubResource):

Variables are only populated by the server, and will be ignored when sending a request.

:ivar id: Sub Resource Id.
:vartype id: str
:ivar provisioning_state:
:vartype provisioning_state: str
:ivar provisioning_state_values: Known values are: "Succeeded", "Failed", "canceled",
"Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", and "OK".
:vartype provisioning_state_values: str or
~lro.models.SubProductPropertiesProvisioningStateValues
:ivar id: Sub Resource Id.
:vartype id: str
:ivar provisioning_state:
:vartype provisioning_state: str
:ivar provisioning_state_values: Known values are: "Succeeded", "Failed", "canceled",
"Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", and "OK".
:vartype provisioning_state_values: str or
~lro.models.SubProductPropertiesProvisioningStateValues
"""

_validation = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class Error(_serialization.Model):

All required parameters must be populated in order to send to server.

:ivar status:
:vartype status: int
:ivar constant_id: Required. Default value is 1.
:vartype constant_id: int
:ivar message:
:vartype message: str
:ivar status:
:vartype status: int
:ivar constant_id: Required. Default value is 1.
:vartype constant_id: int
:ivar message:
:vartype message: str
"""

_validation = {
Expand Down Expand Up @@ -55,8 +55,8 @@ class HeaderCustomNamedRequestIdParamGroupingParameters(_serialization.Model):

All required parameters must be populated in order to send to server.

:ivar foo_client_request_id: The fooRequestId. Required.
:vartype foo_client_request_id: str
:ivar foo_client_request_id: The fooRequestId. Required.
:vartype foo_client_request_id: str
"""

_validation = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ class CustomParameterGroup(_serialization.Model):

All required parameters must be populated in order to send to server.

:ivar api_version: Sets the api version to use. Required.
:vartype api_version: str
:ivar tenant: Sets the tenant to use. Required.
:vartype tenant: str
:ivar api_version: Sets the api version to use. Required.
:vartype api_version: str
:ivar tenant: Sets the tenant to use. Required.
:vartype tenant: str
"""

_validation = {
Expand Down Expand Up @@ -179,13 +179,13 @@ class PagingGetMultiplePagesWithOffsetOptions(_serialization.Model):

All required parameters must be populated in order to send to server.

:ivar maxresults: Sets the maximum number of items to return in the response.
:vartype maxresults: int
:ivar offset: Offset of return value. Required.
:vartype offset: int
:ivar timeout: Sets the maximum time that the server can spend processing the request, in
seconds. The default is 30 seconds.
:vartype timeout: int
:ivar maxresults: Sets the maximum number of items to return in the response.
:vartype maxresults: int
:ivar offset: Offset of return value. Required.
:vartype offset: int
:ivar timeout: Sets the maximum time that the server can spend processing the request, in
seconds. The default is 30 seconds.
:vartype timeout: int
"""

_validation = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ class CustomParameterGroup(_serialization.Model):

All required parameters must be populated in order to send to server.

:ivar api_version: Sets the api version to use. Required.
:vartype api_version: str
:ivar tenant: Sets the tenant to use. Required.
:vartype tenant: str
:ivar api_version: Sets the api version to use. Required.
:vartype api_version: str
:ivar tenant: Sets the tenant to use. Required.
:vartype tenant: str
"""

_validation = {
Expand Down Expand Up @@ -179,13 +179,13 @@ class PagingGetMultiplePagesWithOffsetOptions(_serialization.Model):

All required parameters must be populated in order to send to server.

:ivar maxresults: Sets the maximum number of items to return in the response.
:vartype maxresults: int
:ivar offset: Offset of return value. Required.
:vartype offset: int
:ivar timeout: Sets the maximum time that the server can spend processing the request, in
seconds. The default is 30 seconds.
:vartype timeout: int
:ivar maxresults: Sets the maximum number of items to return in the response.
:vartype maxresults: int
:ivar offset: Offset of return value. Required.
:vartype offset: int
:ivar timeout: Sets the maximum time that the server can spend processing the request, in
seconds. The default is 30 seconds.
:vartype timeout: int
"""

_validation = {
Expand Down
Loading
Loading