diff --git a/ChangeLog.md b/ChangeLog.md index 102a27f83dc..99827e867e2 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -20,6 +20,7 @@ **Bug Fixes** - Correctly pad operation groups with reserved names with `Operations` #1005 +- Fix the generated docstrings for input kwargs of models #1026 ### 2021-07-13 - 5.8.4 diff --git a/autorest/codegen/serializers/model_base_serializer.py b/autorest/codegen/serializers/model_base_serializer.py index 19663bc74e8..e532b910a71 100644 --- a/autorest/codegen/serializers/model_base_serializer.py +++ b/autorest/codegen/serializers/model_base_serializer.py @@ -56,7 +56,7 @@ def prop_documentation_string(prop: Property) -> str: if prop.constant or prop.readonly: param_doc_string = f":ivar {prop.name}:" else: - param_doc_string = f":param {prop.name}:" + param_doc_string = f":keyword {prop.name}:" description = prop.description if prop.name == "tags": description = "A set of tags. " + description @@ -90,7 +90,7 @@ def prop_type_documentation_string(prop: Property) -> str: if prop.constant or prop.readonly: type_doc_string = f":vartype {prop.name}: " else: - type_doc_string = f":type {prop.name}: " + type_doc_string = f":paramtype {prop.name}: " type_doc_string += prop.schema.docstring_type return type_doc_string diff --git a/docs/samples/specification/directives/generated/azure/directives/sample/models/_models.py b/docs/samples/specification/directives/generated/azure/directives/sample/models/_models.py index cfbd53c9c4d..3008424790d 100644 --- a/docs/samples/specification/directives/generated/azure/directives/sample/models/_models.py +++ b/docs/samples/specification/directives/generated/azure/directives/sample/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,8 +36,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param properties: - :type properties: ~azure.directives.sample.models.ProductProperties + :keyword properties: + :paramtype properties: ~azure.directives.sample.models.ProductProperties """ _attribute_map = { @@ -55,10 +55,10 @@ def __init__( class ProductProperties(msrest.serialization.Model): """ProductProperties. - :param id: - :type id: int - :param name: - :type name: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str """ _attribute_map = { @@ -78,10 +78,10 @@ def __init__( class ProductResult(msrest.serialization.Model): """ProductResult. - :param value: - :type value: list[~azure.directives.sample.models.Product] - :param next_link: - :type next_link: str + :keyword value: + :paramtype value: list[~azure.directives.sample.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { diff --git a/docs/samples/specification/directives/generated/azure/directives/sample/models/_models_py3.py b/docs/samples/specification/directives/generated/azure/directives/sample/models/_models_py3.py index 5f7fb807c1a..c6f58b885d7 100644 --- a/docs/samples/specification/directives/generated/azure/directives/sample/models/_models_py3.py +++ b/docs/samples/specification/directives/generated/azure/directives/sample/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,8 +41,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param properties: - :type properties: ~azure.directives.sample.models.ProductProperties + :keyword properties: + :paramtype properties: ~azure.directives.sample.models.ProductProperties """ _attribute_map = { @@ -62,10 +62,10 @@ def __init__( class ProductProperties(msrest.serialization.Model): """ProductProperties. - :param id: - :type id: int - :param name: - :type name: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str """ _attribute_map = { @@ -88,10 +88,10 @@ def __init__( class ProductResult(msrest.serialization.Model): """ProductResult. - :param value: - :type value: list[~azure.directives.sample.models.Product] - :param next_link: - :type next_link: str + :keyword value: + :paramtype value: list[~azure.directives.sample.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/models/_models.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/models/_models.py index 150947ea2db..c91673d3e7e 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/models/_models.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,10 +36,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~azure.multiapi.sample.v1.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~azure.multiapi.sample.v1.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -59,8 +59,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -78,11 +78,11 @@ def __init__( class TestLroAndPagingOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/models/_models_py3.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/models/_models_py3.py index f346e10469c..1a52a8fe8b2 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/models/_models_py3.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v1/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,10 +41,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~azure.multiapi.sample.v1.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~azure.multiapi.sample.v1.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -67,8 +67,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -88,11 +88,11 @@ def __init__( class TestLroAndPagingOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/models/_models.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/models/_models.py index 98abe2ea2ea..8c605907067 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/models/_models.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -38,10 +38,10 @@ class ModelTwo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param message: - :type message: str + :keyword id: Required. + :paramtype id: int + :keyword message: + :paramtype message: str """ _validation = { diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/models/_models_py3.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/models/_models_py3.py index 706ae4654aa..3bf6df9c125 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/models/_models_py3.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v2/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -43,10 +43,10 @@ class ModelTwo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param message: - :type message: str + :keyword id: Required. + :paramtype id: int + :keyword message: + :paramtype message: str """ _validation = { diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/models/_models.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/models/_models.py index da83c54250c..dc30f8a550c 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/models/_models.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,8 +36,8 @@ def __init__( class ModelThree(msrest.serialization.Model): """Only exists in api version 3.0.0. - :param optional_property: - :type optional_property: str + :keyword optional_property: + :paramtype optional_property: str """ _attribute_map = { @@ -55,10 +55,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~azure.multiapi.sample.v3.models.ModelThree] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~azure.multiapi.sample.v3.models.ModelThree] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -78,8 +78,8 @@ def __init__( class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/models/_models_py3.py b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/models/_models_py3.py index 4e1d7b7bec1..1f4e8055b4c 100644 --- a/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/models/_models_py3.py +++ b/docs/samples/specification/multiapi/generated/azure/multiapi/sample/v3/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,8 +41,8 @@ def __init__( class ModelThree(msrest.serialization.Model): """Only exists in api version 3.0.0. - :param optional_property: - :type optional_property: str + :keyword optional_property: + :paramtype optional_property: str """ _attribute_map = { @@ -62,10 +62,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~azure.multiapi.sample.v3.models.ModelThree] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~azure.multiapi.sample.v3.models.ModelThree] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -88,8 +88,8 @@ def __init__( class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/_models.py b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/_models.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/_models_py3.py b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/_models_py3.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/_models.py b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/_models.py index 2eefe40396f..e76aa346c4d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/_models.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -33,10 +33,10 @@ def __init__(self, **kwargs): class FirstParameterGroup(msrest.serialization.Model): """Parameter group. - :param header_one: - :type header_one: str - :param query_one: Query parameter with default. - :type query_one: int + :keyword header_one: + :paramtype header_one: str + :keyword query_one: Query parameter with default. + :paramtype query_one: int """ _attribute_map = { @@ -53,10 +53,10 @@ def __init__(self, **kwargs): class ParameterGroupingPostMultiParamGroupsSecondParamGroup(msrest.serialization.Model): """Parameter group. - :param header_two: - :type header_two: str - :param query_two: Query parameter with default. - :type query_two: int + :keyword header_two: + :paramtype header_two: str + :keyword query_two: Query parameter with default. + :paramtype query_two: int """ _attribute_map = { @@ -73,10 +73,10 @@ def __init__(self, **kwargs): class ParameterGroupingPostOptionalParameters(msrest.serialization.Model): """Parameter group. - :param custom_header: - :type custom_header: str - :param query: Query parameter with default. - :type query: int + :keyword custom_header: + :paramtype custom_header: str + :keyword query: Query parameter with default. + :paramtype query: int """ _attribute_map = { @@ -95,14 +95,14 @@ class ParameterGroupingPostRequiredParameters(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param custom_header: - :type custom_header: str - :param query: Query parameter with default. - :type query: int - :param path: Required. Path parameter. - :type path: str - :param body: Required. - :type body: int + :keyword custom_header: + :paramtype custom_header: str + :keyword query: Query parameter with default. + :paramtype query: int + :keyword path: Required. Path parameter. + :paramtype path: str + :keyword body: Required. + :paramtype body: int """ _validation = { @@ -128,10 +128,10 @@ def __init__(self, **kwargs): class ParameterGroupingPostReservedWordsParameters(msrest.serialization.Model): """Parameter group. - :param from_property: 'from' is a reserved word. Pass in 'bob' to pass. - :type from_property: str - :param accept: 'accept' is a reserved word. Pass in 'yes' to pass. - :type accept: str + :keyword from_property: 'from' is a reserved word. Pass in 'bob' to pass. + :paramtype from_property: str + :keyword accept: 'accept' is a reserved word. Pass in 'yes' to pass. + :paramtype accept: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/_models_py3.py b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/_models_py3.py index b7fde76a427..c678349cc08 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/_models_py3.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -35,10 +35,10 @@ def __init__(self, *, status: Optional[int] = None, message: Optional[str] = Non class FirstParameterGroup(msrest.serialization.Model): """Parameter group. - :param header_one: - :type header_one: str - :param query_one: Query parameter with default. - :type query_one: int + :keyword header_one: + :paramtype header_one: str + :keyword query_one: Query parameter with default. + :paramtype query_one: int """ _attribute_map = { @@ -55,10 +55,10 @@ def __init__(self, *, header_one: Optional[str] = None, query_one: Optional[int] class ParameterGroupingPostMultiParamGroupsSecondParamGroup(msrest.serialization.Model): """Parameter group. - :param header_two: - :type header_two: str - :param query_two: Query parameter with default. - :type query_two: int + :keyword header_two: + :paramtype header_two: str + :keyword query_two: Query parameter with default. + :paramtype query_two: int """ _attribute_map = { @@ -75,10 +75,10 @@ def __init__(self, *, header_two: Optional[str] = None, query_two: Optional[int] class ParameterGroupingPostOptionalParameters(msrest.serialization.Model): """Parameter group. - :param custom_header: - :type custom_header: str - :param query: Query parameter with default. - :type query: int + :keyword custom_header: + :paramtype custom_header: str + :keyword query: Query parameter with default. + :paramtype query: int """ _attribute_map = { @@ -97,14 +97,14 @@ class ParameterGroupingPostRequiredParameters(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param custom_header: - :type custom_header: str - :param query: Query parameter with default. - :type query: int - :param path: Required. Path parameter. - :type path: str - :param body: Required. - :type body: int + :keyword custom_header: + :paramtype custom_header: str + :keyword query: Query parameter with default. + :paramtype query: int + :keyword path: Required. Path parameter. + :paramtype path: str + :keyword body: Required. + :paramtype body: int """ _validation = { @@ -132,10 +132,10 @@ def __init__( class ParameterGroupingPostReservedWordsParameters(msrest.serialization.Model): """Parameter group. - :param from_property: 'from' is a reserved word. Pass in 'bob' to pass. - :type from_property: str - :param accept: 'accept' is a reserved word. Pass in 'yes' to pass. - :type accept: str + :keyword from_property: 'from' is a reserved word. Pass in 'bob' to pass. + :paramtype from_property: str + :keyword accept: 'accept' is a reserved word. Pass in 'yes' to pass. + :paramtype accept: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/_models.py b/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/_models.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/_models_py3.py b/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/_models_py3.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/_models.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/_models.py index 7aaa9669255..caa1ddbfcfc 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/_models.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/_models.py @@ -17,12 +17,12 @@ class Error(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param status: - :type status: int + :keyword status: + :paramtype status: int :ivar constant_id: Has constant value: 1. :vartype constant_id: int - :param message: - :type message: str + :keyword message: + :paramtype message: str """ _validation = { @@ -48,8 +48,8 @@ class HeaderCustomNamedRequestIdParamGroupingParameters(msrest.serialization.Mod All required parameters must be populated in order to send to Azure. - :param foo_client_request_id: Required. The fooRequestId. - :type foo_client_request_id: str + :keyword foo_client_request_id: Required. The fooRequestId. + :paramtype foo_client_request_id: str """ _validation = { @@ -68,10 +68,10 @@ def __init__(self, **kwargs): class OdataFilter(msrest.serialization.Model): """OdataFilter. - :param id: - :type id: int - :param name: - :type name: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/_models_py3.py b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/_models_py3.py index 806724b999b..1e8eb039317 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/_models_py3.py +++ b/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/_models_py3.py @@ -19,12 +19,12 @@ class Error(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param status: - :type status: int + :keyword status: + :paramtype status: int :ivar constant_id: Has constant value: 1. :vartype constant_id: int - :param message: - :type message: str + :keyword message: + :paramtype message: str """ _validation = { @@ -50,8 +50,8 @@ class HeaderCustomNamedRequestIdParamGroupingParameters(msrest.serialization.Mod All required parameters must be populated in order to send to Azure. - :param foo_client_request_id: Required. The fooRequestId. - :type foo_client_request_id: str + :keyword foo_client_request_id: Required. The fooRequestId. + :paramtype foo_client_request_id: str """ _validation = { @@ -70,10 +70,10 @@ def __init__(self, *, foo_client_request_id: str, **kwargs): class OdataFilter(msrest.serialization.Model): """OdataFilter. - :param id: - :type id: int - :param name: - :type name: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models.py b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models_py3.py b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models_py3.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/models/_models.py b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/models/_models.py index 331c7951f01..5544dc45967 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/models/_models.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/models/_models.py @@ -14,10 +14,10 @@ class CustomParameterGroup(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param api_version: Required. Sets the api version to use. - :type api_version: str - :param tenant: Required. Sets the tenant to use. - :type tenant: str + :keyword api_version: Required. Sets the api version to use. + :paramtype api_version: str + :keyword tenant: Required. Sets the tenant to use. + :paramtype tenant: str """ _validation = { @@ -42,10 +42,10 @@ def __init__( class OdataProductResult(msrest.serialization.Model): """OdataProductResult. - :param values: - :type values: list[~custompollerpager.models.Product] - :param odata_next_link: - :type odata_next_link: str + :keyword values: + :paramtype values: list[~custompollerpager.models.Product] + :keyword odata_next_link: + :paramtype odata_next_link: str """ _attribute_map = { @@ -65,10 +65,10 @@ def __init__( class OperationResult(msrest.serialization.Model): """OperationResult. - :param status: The status of the request. Possible values include: "Succeeded", "Failed", + :keyword status: The status of the request. Possible values include: "Succeeded", "Failed", "canceled", "Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "OK". - :type status: str or ~custompollerpager.models.OperationResultStatus + :paramtype status: str or ~custompollerpager.models.OperationResultStatus """ _attribute_map = { @@ -86,11 +86,11 @@ def __init__( class PagingGetMultiplePagesLroOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { @@ -110,11 +110,11 @@ def __init__( class PagingGetMultiplePagesOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { @@ -136,13 +136,13 @@ class PagingGetMultiplePagesWithOffsetOptions(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param offset: Required. Offset of return value. - :type offset: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword offset: Required. Offset of return value. + :paramtype offset: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _validation = { @@ -168,11 +168,11 @@ def __init__( class PagingGetOdataMultiplePagesOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { @@ -192,8 +192,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param properties: - :type properties: ~custompollerpager.models.ProductProperties + :keyword properties: + :paramtype properties: ~custompollerpager.models.ProductProperties """ _attribute_map = { @@ -211,10 +211,10 @@ def __init__( class ProductProperties(msrest.serialization.Model): """ProductProperties. - :param id: - :type id: int - :param name: - :type name: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str """ _attribute_map = { @@ -234,10 +234,10 @@ def __init__( class ProductResult(msrest.serialization.Model): """ProductResult. - :param values: - :type values: list[~custompollerpager.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~custompollerpager.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -257,10 +257,10 @@ def __init__( class ProductResultValue(msrest.serialization.Model): """ProductResultValue. - :param value: - :type value: list[~custompollerpager.models.Product] - :param next_link: - :type next_link: str + :keyword value: + :paramtype value: list[~custompollerpager.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -280,10 +280,10 @@ def __init__( class ProductResultValueWithXMSClientName(msrest.serialization.Model): """ProductResultValueWithXMSClientName. - :param indexes: - :type indexes: list[~custompollerpager.models.Product] - :param next_link: - :type next_link: str + :keyword indexes: + :paramtype indexes: list[~custompollerpager.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/models/_models_py3.py b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/models/_models_py3.py index a179fdea4ac..cd5afb856c6 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/models/_models_py3.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/models/_models_py3.py @@ -18,10 +18,10 @@ class CustomParameterGroup(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param api_version: Required. Sets the api version to use. - :type api_version: str - :param tenant: Required. Sets the tenant to use. - :type tenant: str + :keyword api_version: Required. Sets the api version to use. + :paramtype api_version: str + :keyword tenant: Required. Sets the tenant to use. + :paramtype tenant: str """ _validation = { @@ -49,10 +49,10 @@ def __init__( class OdataProductResult(msrest.serialization.Model): """OdataProductResult. - :param values: - :type values: list[~custompollerpager.models.Product] - :param odata_next_link: - :type odata_next_link: str + :keyword values: + :paramtype values: list[~custompollerpager.models.Product] + :keyword odata_next_link: + :paramtype odata_next_link: str """ _attribute_map = { @@ -75,10 +75,10 @@ def __init__( class OperationResult(msrest.serialization.Model): """OperationResult. - :param status: The status of the request. Possible values include: "Succeeded", "Failed", + :keyword status: The status of the request. Possible values include: "Succeeded", "Failed", "canceled", "Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "OK". - :type status: str or ~custompollerpager.models.OperationResultStatus + :paramtype status: str or ~custompollerpager.models.OperationResultStatus """ _attribute_map = { @@ -98,11 +98,11 @@ def __init__( class PagingGetMultiplePagesLroOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { @@ -125,11 +125,11 @@ def __init__( class PagingGetMultiplePagesOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { @@ -154,13 +154,13 @@ class PagingGetMultiplePagesWithOffsetOptions(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param offset: Required. Offset of return value. - :type offset: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword offset: Required. Offset of return value. + :paramtype offset: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _validation = { @@ -190,11 +190,11 @@ def __init__( class PagingGetOdataMultiplePagesOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { @@ -217,8 +217,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param properties: - :type properties: ~custompollerpager.models.ProductProperties + :keyword properties: + :paramtype properties: ~custompollerpager.models.ProductProperties """ _attribute_map = { @@ -238,10 +238,10 @@ def __init__( class ProductProperties(msrest.serialization.Model): """ProductProperties. - :param id: - :type id: int - :param name: - :type name: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str """ _attribute_map = { @@ -264,10 +264,10 @@ def __init__( class ProductResult(msrest.serialization.Model): """ProductResult. - :param values: - :type values: list[~custompollerpager.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~custompollerpager.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -290,10 +290,10 @@ def __init__( class ProductResultValue(msrest.serialization.Model): """ProductResultValue. - :param value: - :type value: list[~custompollerpager.models.Product] - :param next_link: - :type next_link: str + :keyword value: + :paramtype value: list[~custompollerpager.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -316,10 +316,10 @@ def __init__( class ProductResultValueWithXMSClientName(msrest.serialization.Model): """ProductResultValueWithXMSClientName. - :param indexes: - :type indexes: list[~custompollerpager.models.Product] - :param next_link: - :type next_link: str + :keyword indexes: + :paramtype indexes: list[~custompollerpager.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/_models.py b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/_models.py index e4dd5d53eeb..4a56db017ba 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/_models.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/_models.py @@ -12,10 +12,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -32,8 +32,8 @@ def __init__(self, **kwargs): class Product(msrest.serialization.Model): """Product. - :param properties: - :type properties: ~custombaseurlpaging.models.ProductProperties + :keyword properties: + :paramtype properties: ~custombaseurlpaging.models.ProductProperties """ _attribute_map = { @@ -48,10 +48,10 @@ def __init__(self, **kwargs): class ProductProperties(msrest.serialization.Model): """ProductProperties. - :param id: - :type id: int - :param name: - :type name: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str """ _attribute_map = { @@ -68,10 +68,10 @@ def __init__(self, **kwargs): class ProductResult(msrest.serialization.Model): """ProductResult. - :param values: - :type values: list[~custombaseurlpaging.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~custombaseurlpaging.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/_models_py3.py b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/_models_py3.py index 58e203e23fe..cd2d7f3f9b2 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/_models_py3.py +++ b/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/_models_py3.py @@ -14,10 +14,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -34,8 +34,8 @@ def __init__(self, *, status: Optional[int] = None, message: Optional[str] = Non class Product(msrest.serialization.Model): """Product. - :param properties: - :type properties: ~custombaseurlpaging.models.ProductProperties + :keyword properties: + :paramtype properties: ~custombaseurlpaging.models.ProductProperties """ _attribute_map = { @@ -50,10 +50,10 @@ def __init__(self, *, properties: Optional["ProductProperties"] = None, **kwargs class ProductProperties(msrest.serialization.Model): """ProductProperties. - :param id: - :type id: int - :param name: - :type name: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str """ _attribute_map = { @@ -70,10 +70,10 @@ def __init__(self, *, id: Optional[int] = None, name: Optional[str] = None, **kw class ProductResult(msrest.serialization.Model): """ProductResult. - :param values: - :type values: list[~custombaseurlpaging.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~custombaseurlpaging.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/models/_models.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/models/_models.py index d1483d466ab..4be9dbc011d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/models/_models.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/models/_models.py @@ -12,12 +12,12 @@ class OperationResult(msrest.serialization.Model): """OperationResult. - :param status: The status of the request. Possible values include: "Succeeded", "Failed", + :keyword status: The status of the request. Possible values include: "Succeeded", "Failed", "canceled", "Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "OK". - :type status: str or ~lro.models.OperationResultStatus - :param error: - :type error: ~lro.models.OperationResultError + :paramtype status: str or ~lro.models.OperationResultStatus + :keyword error: + :paramtype error: ~lro.models.OperationResultError """ _attribute_map = { @@ -34,10 +34,10 @@ def __init__(self, **kwargs): class OperationResultError(msrest.serialization.Model): """OperationResultError. - :param code: The error code for an operation failure. - :type code: int - :param message: The detailed arror message. - :type message: str + :keyword code: The error code for an operation failure. + :paramtype code: int + :keyword message: The detailed arror message. + :paramtype message: str """ _attribute_map = { @@ -60,10 +60,10 @@ class Resource(msrest.serialization.Model): :vartype id: str :ivar type: Resource Type. :vartype type: str - :param tags: A set of tags. Dictionary of :code:``. - :type tags: dict[str, str] - :param location: Resource Location. - :type location: str + :keyword tags: A set of tags. Dictionary of :code:``. + :paramtype tags: dict[str, str] + :keyword location: Resource Location. + :paramtype location: str :ivar name: Resource Name. :vartype name: str """ @@ -100,14 +100,14 @@ class Product(Resource): :vartype id: str :ivar type: Resource Type. :vartype type: str - :param tags: A set of tags. Dictionary of :code:``. - :type tags: dict[str, str] - :param location: Resource Location. - :type location: str + :keyword tags: A set of tags. Dictionary of :code:``. + :paramtype tags: dict[str, str] + :keyword location: Resource Location. + :paramtype location: str :ivar name: Resource Name. :vartype name: str - :param provisioning_state: - :type provisioning_state: str + :keyword provisioning_state: + :paramtype provisioning_state: str :ivar provisioning_state_values: Possible values include: "Succeeded", "Failed", "canceled", "Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "OK". :vartype provisioning_state_values: str or ~lro.models.ProductPropertiesProvisioningStateValues @@ -139,10 +139,10 @@ def __init__(self, **kwargs): class Sku(msrest.serialization.Model): """Sku. - :param name: - :type name: str - :param id: - :type id: str + :keyword name: + :paramtype name: str + :keyword id: + :paramtype id: str """ _attribute_map = { @@ -185,8 +185,8 @@ class SubProduct(SubResource): :ivar id: Sub Resource Id. :vartype id: str - :param provisioning_state: - :type provisioning_state: str + :keyword provisioning_state: + :paramtype provisioning_state: str :ivar provisioning_state_values: Possible values include: "Succeeded", "Failed", "canceled", "Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "OK". :vartype provisioning_state_values: str or diff --git a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/models/_models_py3.py b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/models/_models_py3.py index ac468ad212f..bce56c674c3 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/models/_models_py3.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/models/_models_py3.py @@ -16,12 +16,12 @@ class OperationResult(msrest.serialization.Model): """OperationResult. - :param status: The status of the request. Possible values include: "Succeeded", "Failed", + :keyword status: The status of the request. Possible values include: "Succeeded", "Failed", "canceled", "Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "OK". - :type status: str or ~lro.models.OperationResultStatus - :param error: - :type error: ~lro.models.OperationResultError + :paramtype status: str or ~lro.models.OperationResultStatus + :keyword error: + :paramtype error: ~lro.models.OperationResultError """ _attribute_map = { @@ -44,10 +44,10 @@ def __init__( class OperationResultError(msrest.serialization.Model): """OperationResultError. - :param code: The error code for an operation failure. - :type code: int - :param message: The detailed arror message. - :type message: str + :keyword code: The error code for an operation failure. + :paramtype code: int + :keyword message: The detailed arror message. + :paramtype message: str """ _attribute_map = { @@ -70,10 +70,10 @@ class Resource(msrest.serialization.Model): :vartype id: str :ivar type: Resource Type. :vartype type: str - :param tags: A set of tags. Dictionary of :code:``. - :type tags: dict[str, str] - :param location: Resource Location. - :type location: str + :keyword tags: A set of tags. Dictionary of :code:``. + :paramtype tags: dict[str, str] + :keyword location: Resource Location. + :paramtype location: str :ivar name: Resource Name. :vartype name: str """ @@ -110,14 +110,14 @@ class Product(Resource): :vartype id: str :ivar type: Resource Type. :vartype type: str - :param tags: A set of tags. Dictionary of :code:``. - :type tags: dict[str, str] - :param location: Resource Location. - :type location: str + :keyword tags: A set of tags. Dictionary of :code:``. + :paramtype tags: dict[str, str] + :keyword location: Resource Location. + :paramtype location: str :ivar name: Resource Name. :vartype name: str - :param provisioning_state: - :type provisioning_state: str + :keyword provisioning_state: + :paramtype provisioning_state: str :ivar provisioning_state_values: Possible values include: "Succeeded", "Failed", "canceled", "Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "OK". :vartype provisioning_state_values: str or ~lro.models.ProductPropertiesProvisioningStateValues @@ -156,10 +156,10 @@ def __init__( class Sku(msrest.serialization.Model): """Sku. - :param name: - :type name: str - :param id: - :type id: str + :keyword name: + :paramtype name: str + :keyword id: + :paramtype id: str """ _attribute_map = { @@ -202,8 +202,8 @@ class SubProduct(SubResource): :ivar id: Sub Resource Id. :vartype id: str - :param provisioning_state: - :type provisioning_state: str + :keyword provisioning_state: + :paramtype provisioning_state: str :ivar provisioning_state_values: Possible values include: "Succeeded", "Failed", "canceled", "Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "OK". :vartype provisioning_state_values: str or diff --git a/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/_models.py b/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/_models.py +++ b/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/_models_py3.py b/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/_models_py3.py +++ b/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/models/_models.py b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/models/_models.py index 7c94d595309..adc829c3531 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/models/_models.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/models/_models.py @@ -14,10 +14,10 @@ class CustomParameterGroup(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param api_version: Required. Sets the api version to use. - :type api_version: str - :param tenant: Required. Sets the tenant to use. - :type tenant: str + :keyword api_version: Required. Sets the api version to use. + :paramtype api_version: str + :keyword tenant: Required. Sets the tenant to use. + :paramtype tenant: str """ _validation = { @@ -39,10 +39,10 @@ def __init__(self, **kwargs): class OdataProductResult(msrest.serialization.Model): """OdataProductResult. - :param values: - :type values: list[~paging.models.Product] - :param odata_next_link: - :type odata_next_link: str + :keyword values: + :paramtype values: list[~paging.models.Product] + :keyword odata_next_link: + :paramtype odata_next_link: str """ _attribute_map = { @@ -59,10 +59,10 @@ def __init__(self, **kwargs): class OperationResult(msrest.serialization.Model): """OperationResult. - :param status: The status of the request. Possible values include: "Succeeded", "Failed", + :keyword status: The status of the request. Possible values include: "Succeeded", "Failed", "canceled", "Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "OK". - :type status: str or ~paging.models.OperationResultStatus + :paramtype status: str or ~paging.models.OperationResultStatus """ _attribute_map = { @@ -77,11 +77,11 @@ def __init__(self, **kwargs): class PagingGetMultiplePagesLroOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { @@ -98,11 +98,11 @@ def __init__(self, **kwargs): class PagingGetMultiplePagesOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { @@ -121,13 +121,13 @@ class PagingGetMultiplePagesWithOffsetOptions(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param offset: Required. Offset of return value. - :type offset: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword offset: Required. Offset of return value. + :paramtype offset: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _validation = { @@ -150,11 +150,11 @@ def __init__(self, **kwargs): class PagingGetOdataMultiplePagesOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { @@ -171,8 +171,8 @@ def __init__(self, **kwargs): class Product(msrest.serialization.Model): """Product. - :param properties: - :type properties: ~paging.models.ProductProperties + :keyword properties: + :paramtype properties: ~paging.models.ProductProperties """ _attribute_map = { @@ -187,10 +187,10 @@ def __init__(self, **kwargs): class ProductProperties(msrest.serialization.Model): """ProductProperties. - :param id: - :type id: int - :param name: - :type name: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str """ _attribute_map = { @@ -207,10 +207,10 @@ def __init__(self, **kwargs): class ProductResult(msrest.serialization.Model): """ProductResult. - :param values: - :type values: list[~paging.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~paging.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -227,10 +227,10 @@ def __init__(self, **kwargs): class ProductResultValue(msrest.serialization.Model): """ProductResultValue. - :param value: - :type value: list[~paging.models.Product] - :param next_link: - :type next_link: str + :keyword value: + :paramtype value: list[~paging.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -247,10 +247,10 @@ def __init__(self, **kwargs): class ProductResultValueWithXMSClientName(msrest.serialization.Model): """ProductResultValueWithXMSClientName. - :param indexes: - :type indexes: list[~paging.models.Product] - :param next_link: - :type next_link: str + :keyword indexes: + :paramtype indexes: list[~paging.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/models/_models_py3.py b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/models/_models_py3.py index df245b6d588..60681ef46c5 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/models/_models_py3.py +++ b/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/models/_models_py3.py @@ -18,10 +18,10 @@ class CustomParameterGroup(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param api_version: Required. Sets the api version to use. - :type api_version: str - :param tenant: Required. Sets the tenant to use. - :type tenant: str + :keyword api_version: Required. Sets the api version to use. + :paramtype api_version: str + :keyword tenant: Required. Sets the tenant to use. + :paramtype tenant: str """ _validation = { @@ -43,10 +43,10 @@ def __init__(self, *, api_version: str, tenant: str, **kwargs): class OdataProductResult(msrest.serialization.Model): """OdataProductResult. - :param values: - :type values: list[~paging.models.Product] - :param odata_next_link: - :type odata_next_link: str + :keyword values: + :paramtype values: list[~paging.models.Product] + :keyword odata_next_link: + :paramtype odata_next_link: str """ _attribute_map = { @@ -63,10 +63,10 @@ def __init__(self, *, values: Optional[List["Product"]] = None, odata_next_link: class OperationResult(msrest.serialization.Model): """OperationResult. - :param status: The status of the request. Possible values include: "Succeeded", "Failed", + :keyword status: The status of the request. Possible values include: "Succeeded", "Failed", "canceled", "Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "OK". - :type status: str or ~paging.models.OperationResultStatus + :paramtype status: str or ~paging.models.OperationResultStatus """ _attribute_map = { @@ -81,11 +81,11 @@ def __init__(self, *, status: Optional[Union[str, "OperationResultStatus"]] = No class PagingGetMultiplePagesLroOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { @@ -102,11 +102,11 @@ def __init__(self, *, maxresults: Optional[int] = None, timeout: Optional[int] = class PagingGetMultiplePagesOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { @@ -125,13 +125,13 @@ class PagingGetMultiplePagesWithOffsetOptions(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param offset: Required. Offset of return value. - :type offset: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword offset: Required. Offset of return value. + :paramtype offset: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _validation = { @@ -154,11 +154,11 @@ def __init__(self, *, offset: int, maxresults: Optional[int] = None, timeout: Op class PagingGetOdataMultiplePagesOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { @@ -175,8 +175,8 @@ def __init__(self, *, maxresults: Optional[int] = None, timeout: Optional[int] = class Product(msrest.serialization.Model): """Product. - :param properties: - :type properties: ~paging.models.ProductProperties + :keyword properties: + :paramtype properties: ~paging.models.ProductProperties """ _attribute_map = { @@ -191,10 +191,10 @@ def __init__(self, *, properties: Optional["ProductProperties"] = None, **kwargs class ProductProperties(msrest.serialization.Model): """ProductProperties. - :param id: - :type id: int - :param name: - :type name: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str """ _attribute_map = { @@ -211,10 +211,10 @@ def __init__(self, *, id: Optional[int] = None, name: Optional[str] = None, **kw class ProductResult(msrest.serialization.Model): """ProductResult. - :param values: - :type values: list[~paging.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~paging.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -231,10 +231,10 @@ def __init__(self, *, values: Optional[List["Product"]] = None, next_link: Optio class ProductResultValue(msrest.serialization.Model): """ProductResultValue. - :param value: - :type value: list[~paging.models.Product] - :param next_link: - :type next_link: str + :keyword value: + :paramtype value: list[~paging.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -251,10 +251,10 @@ def __init__(self, *, value: Optional[List["Product"]] = None, next_link: Option class ProductResultValueWithXMSClientName(msrest.serialization.Model): """ProductResultValueWithXMSClientName. - :param indexes: - :type indexes: list[~paging.models.Product] - :param next_link: - :type next_link: str + :keyword indexes: + :paramtype indexes: list[~paging.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/models/_models.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/models/_models.py index 8afde69a4c4..c2e32667398 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/models/_models.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/models/_models.py @@ -12,8 +12,8 @@ class Bar(msrest.serialization.Model): """The URIs that are used to perform a retrieval of a public blob, queue or table object. - :param recursive_point: Recursive Endpoints. - :type recursive_point: ~storage.models.Endpoints + :keyword recursive_point: Recursive Endpoints. + :paramtype recursive_point: ~storage.models.Endpoints """ _attribute_map = { @@ -28,16 +28,16 @@ def __init__(self, **kwargs): class CheckNameAvailabilityResult(msrest.serialization.Model): """The CheckNameAvailability operation response. - :param name_available: Gets a boolean value that indicates whether the name is available for + :keyword name_available: Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used. - :type name_available: bool - :param reason: Gets the reason that a storage account name could not be used. The Reason + :paramtype name_available: bool + :keyword reason: Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. Possible values include: "AccountNameInvalid", "AlreadyExists". - :type reason: str or ~storage.models.Reason - :param message: Gets an error message explaining the Reason value in more detail. - :type message: str + :paramtype reason: str or ~storage.models.Reason + :keyword message: Gets an error message explaining the Reason value in more detail. + :paramtype message: str """ _attribute_map = { @@ -56,11 +56,11 @@ def __init__(self, **kwargs): class CustomDomain(msrest.serialization.Model): """The custom domain assigned to this storage account. This can be set via Update. - :param name: Gets or sets the custom domain name. Name is the CNAME source. - :type name: str - :param use_sub_domain: Indicates whether indirect CName validation is enabled. Default value is - false. This should only be set on updates. - :type use_sub_domain: bool + :keyword name: Gets or sets the custom domain name. Name is the CNAME source. + :paramtype name: str + :keyword use_sub_domain: Indicates whether indirect CName validation is enabled. Default value + is false. This should only be set on updates. + :paramtype use_sub_domain: bool """ _attribute_map = { @@ -77,16 +77,16 @@ def __init__(self, **kwargs): class Endpoints(msrest.serialization.Model): """The URIs that are used to perform a retrieval of a public blob, queue or table object. - :param blob: Gets the blob endpoint. - :type blob: str - :param queue: Gets the queue endpoint. - :type queue: str - :param table: Gets the table endpoint. - :type table: str - :param dummy_end_point: Dummy EndPoint. - :type dummy_end_point: ~storage.models.Endpoints - :param foo_point: Foo point. - :type foo_point: ~storage.models.Foo + :keyword blob: Gets the blob endpoint. + :paramtype blob: str + :keyword queue: Gets the queue endpoint. + :paramtype queue: str + :keyword table: Gets the table endpoint. + :paramtype table: str + :keyword dummy_end_point: Dummy EndPoint. + :paramtype dummy_end_point: ~storage.models.Endpoints + :keyword foo_point: Foo point. + :paramtype foo_point: ~storage.models.Foo """ _attribute_map = { @@ -109,8 +109,8 @@ def __init__(self, **kwargs): class Foo(msrest.serialization.Model): """The URIs that are used to perform a retrieval of a public blob, queue or table object. - :param bar_point: Bar point. - :type bar_point: ~storage.models.Bar + :keyword bar_point: Bar point. + :paramtype bar_point: ~storage.models.Bar """ _attribute_map = { @@ -135,10 +135,10 @@ class Resource(msrest.serialization.Model): :vartype name: str :ivar type: Resource type. :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] + :keyword location: Required. Resource location. + :paramtype location: str + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] """ _validation = { @@ -178,46 +178,46 @@ class StorageAccount(Resource): :vartype name: str :ivar type: Resource type. :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param provisioning_state: Gets the status of the storage account at the time the operation was - called. Possible values include: "Creating", "ResolvingDNS", "Succeeded". - :type provisioning_state: str or ~storage.models.ProvisioningState - :param account_type: Gets the type of the storage account. Possible values include: + :keyword location: Required. Resource location. + :paramtype location: str + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword provisioning_state: Gets the status of the storage account at the time the operation + was called. Possible values include: "Creating", "ResolvingDNS", "Succeeded". + :paramtype provisioning_state: str or ~storage.models.ProvisioningState + :keyword account_type: Gets the type of the storage account. Possible values include: "Standard_LRS", "Standard_ZRS", "Standard_GRS", "Standard_RAGRS", "Premium_LRS". - :type account_type: str or ~storage.models.AccountType - :param primary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob, - queue or table object.Note that StandardZRS and PremiumLRS accounts only return the blob + :paramtype account_type: str or ~storage.models.AccountType + :keyword primary_endpoints: Gets the URLs that are used to perform a retrieval of a public + blob, queue or table object.Note that StandardZRS and PremiumLRS accounts only return the blob endpoint. - :type primary_endpoints: ~storage.models.Endpoints - :param primary_location: Gets the location of the primary for the storage account. - :type primary_location: str - :param status_of_primary: Gets the status indicating whether the primary location of the + :paramtype primary_endpoints: ~storage.models.Endpoints + :keyword primary_location: Gets the location of the primary for the storage account. + :paramtype primary_location: str + :keyword status_of_primary: Gets the status indicating whether the primary location of the storage account is available or unavailable. Possible values include: "Available", "Unavailable". - :type status_of_primary: str or ~storage.models.AccountStatus - :param last_geo_failover_time: Gets the timestamp of the most recent instance of a failover to - the secondary location. Only the most recent timestamp is retained. This element is not + :paramtype status_of_primary: str or ~storage.models.AccountStatus + :keyword last_geo_failover_time: Gets the timestamp of the most recent instance of a failover + to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is StandardGRS or StandardRAGRS. - :type last_geo_failover_time: ~datetime.datetime - :param secondary_location: Gets the location of the geo replicated secondary for the storage + :paramtype last_geo_failover_time: ~datetime.datetime + :keyword secondary_location: Gets the location of the geo replicated secondary for the storage account. Only available if the accountType is StandardGRS or StandardRAGRS. - :type secondary_location: str - :param status_of_secondary: Gets the status indicating whether the secondary location of the + :paramtype secondary_location: str + :keyword status_of_secondary: Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the accountType is StandardGRS or StandardRAGRS. Possible values include: "Available", "Unavailable". - :type status_of_secondary: str or ~storage.models.AccountStatus - :param creation_time: Gets the creation date and time of the storage account in UTC. - :type creation_time: ~datetime.datetime - :param custom_domain: Gets the user assigned custom domain assigned to this storage account. - :type custom_domain: ~storage.models.CustomDomain - :param secondary_endpoints: Gets the URLs that are used to perform a retrieval of a public + :paramtype status_of_secondary: str or ~storage.models.AccountStatus + :keyword creation_time: Gets the creation date and time of the storage account in UTC. + :paramtype creation_time: ~datetime.datetime + :keyword custom_domain: Gets the user assigned custom domain assigned to this storage account. + :paramtype custom_domain: ~storage.models.CustomDomain + :keyword secondary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob, queue or table object from the secondary location of the storage account. Only available if the accountType is StandardRAGRS. - :type secondary_endpoints: ~storage.models.Endpoints + :paramtype secondary_endpoints: ~storage.models.Endpoints """ _validation = { @@ -266,10 +266,10 @@ class StorageAccountCheckNameAvailabilityParameters(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: Required. - :type name: str - :param type: - :type type: str + :keyword name: Required. + :paramtype name: str + :keyword type: + :paramtype type: str """ _validation = { @@ -300,13 +300,13 @@ class StorageAccountCreateParameters(Resource): :vartype name: str :ivar type: Resource type. :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param account_type: Gets or sets the account type. Possible values include: "Standard_LRS", + :keyword location: Required. Resource location. + :paramtype location: str + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword account_type: Gets or sets the account type. Possible values include: "Standard_LRS", "Standard_ZRS", "Standard_GRS", "Standard_RAGRS", "Premium_LRS". - :type account_type: str or ~storage.models.AccountType + :paramtype account_type: str or ~storage.models.AccountType """ _validation = { @@ -333,10 +333,10 @@ def __init__(self, **kwargs): class StorageAccountKeys(msrest.serialization.Model): """The access keys for the storage account. - :param key1: Gets the value of key 1. - :type key1: str - :param key2: Gets the value of key 2. - :type key2: str + :keyword key1: Gets the value of key 1. + :paramtype key1: str + :keyword key2: Gets the value of key 2. + :paramtype key2: str """ _attribute_map = { @@ -353,11 +353,11 @@ def __init__(self, **kwargs): class StorageAccountListResult(msrest.serialization.Model): """The list storage accounts operation response. - :param value: Gets the list of storage accounts and their properties. - :type value: list[~storage.models.StorageAccount] - :param next_link: Gets the link to the next set of results. Currently this will always be empty - as the API does not support pagination. - :type next_link: str + :keyword value: Gets the list of storage accounts and their properties. + :paramtype value: list[~storage.models.StorageAccount] + :keyword next_link: Gets the link to the next set of results. Currently this will always be + empty as the API does not support pagination. + :paramtype next_link: str """ _attribute_map = { @@ -374,8 +374,8 @@ def __init__(self, **kwargs): class StorageAccountRegenerateKeyParameters(msrest.serialization.Model): """StorageAccountRegenerateKeyParameters. - :param key_name: Possible values include: "key1", "key2". - :type key_name: str or ~storage.models.KeyName + :keyword key_name: Possible values include: "key1", "key2". + :paramtype key_name: str or ~storage.models.KeyName """ _attribute_map = { @@ -400,19 +400,19 @@ class StorageAccountUpdateParameters(Resource): :vartype name: str :ivar type: Resource type. :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param account_type: Gets or sets the account type. Note that StandardZRS and PremiumLRS + :keyword location: Required. Resource location. + :paramtype location: str + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword account_type: Gets or sets the account type. Note that StandardZRS and PremiumLRS accounts cannot be changed to other account types, and other account types cannot be changed to StandardZRS or PremiumLRS. Possible values include: "Standard_LRS", "Standard_ZRS", "Standard_GRS", "Standard_RAGRS", "Premium_LRS". - :type account_type: str or ~storage.models.AccountType - :param custom_domain: User domain assigned to the storage account. Name is the CNAME source. + :paramtype account_type: str or ~storage.models.AccountType + :keyword custom_domain: User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. - :type custom_domain: ~storage.models.CustomDomain + :paramtype custom_domain: ~storage.models.CustomDomain """ _validation = { @@ -441,8 +441,8 @@ def __init__(self, **kwargs): class SubResource(msrest.serialization.Model): """SubResource. - :param id: Resource Id. - :type id: str + :keyword id: Resource Id. + :paramtype id: str """ _attribute_map = { @@ -457,16 +457,16 @@ def __init__(self, **kwargs): class Usage(msrest.serialization.Model): """Describes Storage Resource Usage. - :param unit: Gets the unit of measurement. Possible values include: "Count", "Bytes", + :keyword unit: Gets the unit of measurement. Possible values include: "Count", "Bytes", "Seconds", "Percent", "CountsPerSecond", "BytesPerSecond". - :type unit: str or ~storage.models.UsageUnit - :param current_value: Gets the current count of the allocated resources in the subscription. - :type current_value: int - :param limit: Gets the maximum count of the resources that can be allocated in the + :paramtype unit: str or ~storage.models.UsageUnit + :keyword current_value: Gets the current count of the allocated resources in the subscription. + :paramtype current_value: int + :keyword limit: Gets the maximum count of the resources that can be allocated in the subscription. - :type limit: int - :param name: Gets the name of the type of usage. - :type name: ~storage.models.UsageName + :paramtype limit: int + :keyword name: Gets the name of the type of usage. + :paramtype name: ~storage.models.UsageName """ _attribute_map = { @@ -487,8 +487,8 @@ def __init__(self, **kwargs): class UsageListResult(msrest.serialization.Model): """The List Usages operation response. - :param value: Gets or sets the list Storage Resource Usages. - :type value: list[~storage.models.Usage] + :keyword value: Gets or sets the list Storage Resource Usages. + :paramtype value: list[~storage.models.Usage] """ _attribute_map = { @@ -503,10 +503,10 @@ def __init__(self, **kwargs): class UsageName(msrest.serialization.Model): """The Usage Names. - :param value: Gets a string describing the resource name. - :type value: str - :param localized_value: Gets a localized string describing the resource name. - :type localized_value: str + :keyword value: Gets a string describing the resource name. + :paramtype value: str + :keyword localized_value: Gets a localized string describing the resource name. + :paramtype localized_value: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/models/_models_py3.py b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/models/_models_py3.py index 9c356d8e3eb..b6ffe4831b4 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/models/_models_py3.py +++ b/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/models/_models_py3.py @@ -17,8 +17,8 @@ class Bar(msrest.serialization.Model): """The URIs that are used to perform a retrieval of a public blob, queue or table object. - :param recursive_point: Recursive Endpoints. - :type recursive_point: ~storage.models.Endpoints + :keyword recursive_point: Recursive Endpoints. + :paramtype recursive_point: ~storage.models.Endpoints """ _attribute_map = { @@ -33,16 +33,16 @@ def __init__(self, *, recursive_point: Optional["Endpoints"] = None, **kwargs): class CheckNameAvailabilityResult(msrest.serialization.Model): """The CheckNameAvailability operation response. - :param name_available: Gets a boolean value that indicates whether the name is available for + :keyword name_available: Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used. - :type name_available: bool - :param reason: Gets the reason that a storage account name could not be used. The Reason + :paramtype name_available: bool + :keyword reason: Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. Possible values include: "AccountNameInvalid", "AlreadyExists". - :type reason: str or ~storage.models.Reason - :param message: Gets an error message explaining the Reason value in more detail. - :type message: str + :paramtype reason: str or ~storage.models.Reason + :keyword message: Gets an error message explaining the Reason value in more detail. + :paramtype message: str """ _attribute_map = { @@ -68,11 +68,11 @@ def __init__( class CustomDomain(msrest.serialization.Model): """The custom domain assigned to this storage account. This can be set via Update. - :param name: Gets or sets the custom domain name. Name is the CNAME source. - :type name: str - :param use_sub_domain: Indicates whether indirect CName validation is enabled. Default value is - false. This should only be set on updates. - :type use_sub_domain: bool + :keyword name: Gets or sets the custom domain name. Name is the CNAME source. + :paramtype name: str + :keyword use_sub_domain: Indicates whether indirect CName validation is enabled. Default value + is false. This should only be set on updates. + :paramtype use_sub_domain: bool """ _attribute_map = { @@ -89,16 +89,16 @@ def __init__(self, *, name: Optional[str] = None, use_sub_domain: Optional[bool] class Endpoints(msrest.serialization.Model): """The URIs that are used to perform a retrieval of a public blob, queue or table object. - :param blob: Gets the blob endpoint. - :type blob: str - :param queue: Gets the queue endpoint. - :type queue: str - :param table: Gets the table endpoint. - :type table: str - :param dummy_end_point: Dummy EndPoint. - :type dummy_end_point: ~storage.models.Endpoints - :param foo_point: Foo point. - :type foo_point: ~storage.models.Foo + :keyword blob: Gets the blob endpoint. + :paramtype blob: str + :keyword queue: Gets the queue endpoint. + :paramtype queue: str + :keyword table: Gets the table endpoint. + :paramtype table: str + :keyword dummy_end_point: Dummy EndPoint. + :paramtype dummy_end_point: ~storage.models.Endpoints + :keyword foo_point: Foo point. + :paramtype foo_point: ~storage.models.Foo """ _attribute_map = { @@ -130,8 +130,8 @@ def __init__( class Foo(msrest.serialization.Model): """The URIs that are used to perform a retrieval of a public blob, queue or table object. - :param bar_point: Bar point. - :type bar_point: ~storage.models.Bar + :keyword bar_point: Bar point. + :paramtype bar_point: ~storage.models.Bar """ _attribute_map = { @@ -156,10 +156,10 @@ class Resource(msrest.serialization.Model): :vartype name: str :ivar type: Resource type. :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] + :keyword location: Required. Resource location. + :paramtype location: str + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] """ _validation = { @@ -199,46 +199,46 @@ class StorageAccount(Resource): :vartype name: str :ivar type: Resource type. :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param provisioning_state: Gets the status of the storage account at the time the operation was - called. Possible values include: "Creating", "ResolvingDNS", "Succeeded". - :type provisioning_state: str or ~storage.models.ProvisioningState - :param account_type: Gets the type of the storage account. Possible values include: + :keyword location: Required. Resource location. + :paramtype location: str + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword provisioning_state: Gets the status of the storage account at the time the operation + was called. Possible values include: "Creating", "ResolvingDNS", "Succeeded". + :paramtype provisioning_state: str or ~storage.models.ProvisioningState + :keyword account_type: Gets the type of the storage account. Possible values include: "Standard_LRS", "Standard_ZRS", "Standard_GRS", "Standard_RAGRS", "Premium_LRS". - :type account_type: str or ~storage.models.AccountType - :param primary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob, - queue or table object.Note that StandardZRS and PremiumLRS accounts only return the blob + :paramtype account_type: str or ~storage.models.AccountType + :keyword primary_endpoints: Gets the URLs that are used to perform a retrieval of a public + blob, queue or table object.Note that StandardZRS and PremiumLRS accounts only return the blob endpoint. - :type primary_endpoints: ~storage.models.Endpoints - :param primary_location: Gets the location of the primary for the storage account. - :type primary_location: str - :param status_of_primary: Gets the status indicating whether the primary location of the + :paramtype primary_endpoints: ~storage.models.Endpoints + :keyword primary_location: Gets the location of the primary for the storage account. + :paramtype primary_location: str + :keyword status_of_primary: Gets the status indicating whether the primary location of the storage account is available or unavailable. Possible values include: "Available", "Unavailable". - :type status_of_primary: str or ~storage.models.AccountStatus - :param last_geo_failover_time: Gets the timestamp of the most recent instance of a failover to - the secondary location. Only the most recent timestamp is retained. This element is not + :paramtype status_of_primary: str or ~storage.models.AccountStatus + :keyword last_geo_failover_time: Gets the timestamp of the most recent instance of a failover + to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is StandardGRS or StandardRAGRS. - :type last_geo_failover_time: ~datetime.datetime - :param secondary_location: Gets the location of the geo replicated secondary for the storage + :paramtype last_geo_failover_time: ~datetime.datetime + :keyword secondary_location: Gets the location of the geo replicated secondary for the storage account. Only available if the accountType is StandardGRS or StandardRAGRS. - :type secondary_location: str - :param status_of_secondary: Gets the status indicating whether the secondary location of the + :paramtype secondary_location: str + :keyword status_of_secondary: Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the accountType is StandardGRS or StandardRAGRS. Possible values include: "Available", "Unavailable". - :type status_of_secondary: str or ~storage.models.AccountStatus - :param creation_time: Gets the creation date and time of the storage account in UTC. - :type creation_time: ~datetime.datetime - :param custom_domain: Gets the user assigned custom domain assigned to this storage account. - :type custom_domain: ~storage.models.CustomDomain - :param secondary_endpoints: Gets the URLs that are used to perform a retrieval of a public + :paramtype status_of_secondary: str or ~storage.models.AccountStatus + :keyword creation_time: Gets the creation date and time of the storage account in UTC. + :paramtype creation_time: ~datetime.datetime + :keyword custom_domain: Gets the user assigned custom domain assigned to this storage account. + :paramtype custom_domain: ~storage.models.CustomDomain + :keyword secondary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob, queue or table object from the secondary location of the storage account. Only available if the accountType is StandardRAGRS. - :type secondary_endpoints: ~storage.models.Endpoints + :paramtype secondary_endpoints: ~storage.models.Endpoints """ _validation = { @@ -304,10 +304,10 @@ class StorageAccountCheckNameAvailabilityParameters(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: Required. - :type name: str - :param type: - :type type: str + :keyword name: Required. + :paramtype name: str + :keyword type: + :paramtype type: str """ _validation = { @@ -338,13 +338,13 @@ class StorageAccountCreateParameters(Resource): :vartype name: str :ivar type: Resource type. :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param account_type: Gets or sets the account type. Possible values include: "Standard_LRS", + :keyword location: Required. Resource location. + :paramtype location: str + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword account_type: Gets or sets the account type. Possible values include: "Standard_LRS", "Standard_ZRS", "Standard_GRS", "Standard_RAGRS", "Premium_LRS". - :type account_type: str or ~storage.models.AccountType + :paramtype account_type: str or ~storage.models.AccountType """ _validation = { @@ -378,10 +378,10 @@ def __init__( class StorageAccountKeys(msrest.serialization.Model): """The access keys for the storage account. - :param key1: Gets the value of key 1. - :type key1: str - :param key2: Gets the value of key 2. - :type key2: str + :keyword key1: Gets the value of key 1. + :paramtype key1: str + :keyword key2: Gets the value of key 2. + :paramtype key2: str """ _attribute_map = { @@ -398,11 +398,11 @@ def __init__(self, *, key1: Optional[str] = None, key2: Optional[str] = None, ** class StorageAccountListResult(msrest.serialization.Model): """The list storage accounts operation response. - :param value: Gets the list of storage accounts and their properties. - :type value: list[~storage.models.StorageAccount] - :param next_link: Gets the link to the next set of results. Currently this will always be empty - as the API does not support pagination. - :type next_link: str + :keyword value: Gets the list of storage accounts and their properties. + :paramtype value: list[~storage.models.StorageAccount] + :keyword next_link: Gets the link to the next set of results. Currently this will always be + empty as the API does not support pagination. + :paramtype next_link: str """ _attribute_map = { @@ -419,8 +419,8 @@ def __init__(self, *, value: Optional[List["StorageAccount"]] = None, next_link: class StorageAccountRegenerateKeyParameters(msrest.serialization.Model): """StorageAccountRegenerateKeyParameters. - :param key_name: Possible values include: "key1", "key2". - :type key_name: str or ~storage.models.KeyName + :keyword key_name: Possible values include: "key1", "key2". + :paramtype key_name: str or ~storage.models.KeyName """ _attribute_map = { @@ -445,19 +445,19 @@ class StorageAccountUpdateParameters(Resource): :vartype name: str :ivar type: Resource type. :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param account_type: Gets or sets the account type. Note that StandardZRS and PremiumLRS + :keyword location: Required. Resource location. + :paramtype location: str + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword account_type: Gets or sets the account type. Note that StandardZRS and PremiumLRS accounts cannot be changed to other account types, and other account types cannot be changed to StandardZRS or PremiumLRS. Possible values include: "Standard_LRS", "Standard_ZRS", "Standard_GRS", "Standard_RAGRS", "Premium_LRS". - :type account_type: str or ~storage.models.AccountType - :param custom_domain: User domain assigned to the storage account. Name is the CNAME source. + :paramtype account_type: str or ~storage.models.AccountType + :keyword custom_domain: User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. - :type custom_domain: ~storage.models.CustomDomain + :paramtype custom_domain: ~storage.models.CustomDomain """ _validation = { @@ -494,8 +494,8 @@ def __init__( class SubResource(msrest.serialization.Model): """SubResource. - :param id: Resource Id. - :type id: str + :keyword id: Resource Id. + :paramtype id: str """ _attribute_map = { @@ -510,16 +510,16 @@ def __init__(self, *, id: Optional[str] = None, **kwargs): class Usage(msrest.serialization.Model): """Describes Storage Resource Usage. - :param unit: Gets the unit of measurement. Possible values include: "Count", "Bytes", + :keyword unit: Gets the unit of measurement. Possible values include: "Count", "Bytes", "Seconds", "Percent", "CountsPerSecond", "BytesPerSecond". - :type unit: str or ~storage.models.UsageUnit - :param current_value: Gets the current count of the allocated resources in the subscription. - :type current_value: int - :param limit: Gets the maximum count of the resources that can be allocated in the + :paramtype unit: str or ~storage.models.UsageUnit + :keyword current_value: Gets the current count of the allocated resources in the subscription. + :paramtype current_value: int + :keyword limit: Gets the maximum count of the resources that can be allocated in the subscription. - :type limit: int - :param name: Gets the name of the type of usage. - :type name: ~storage.models.UsageName + :paramtype limit: int + :keyword name: Gets the name of the type of usage. + :paramtype name: ~storage.models.UsageName """ _attribute_map = { @@ -548,8 +548,8 @@ def __init__( class UsageListResult(msrest.serialization.Model): """The List Usages operation response. - :param value: Gets or sets the list Storage Resource Usages. - :type value: list[~storage.models.Usage] + :keyword value: Gets or sets the list Storage Resource Usages. + :paramtype value: list[~storage.models.Usage] """ _attribute_map = { @@ -564,10 +564,10 @@ def __init__(self, *, value: Optional[List["Usage"]] = None, **kwargs): class UsageName(msrest.serialization.Model): """The Usage Names. - :param value: Gets a string describing the resource name. - :type value: str - :param localized_value: Gets a localized string describing the resource name. - :type localized_value: str + :keyword value: Gets a string describing the resource name. + :paramtype value: str + :keyword localized_value: Gets a localized string describing the resource name. + :paramtype localized_value: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/_models.py b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/_models.py index f85076492cc..6ad0bfa4f65 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/_models.py +++ b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param code: - :type code: int - :param message: - :type message: str + :keyword code: + :paramtype code: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -33,10 +33,10 @@ def __init__(self, **kwargs): class SampleResourceGroup(msrest.serialization.Model): """SampleResourceGroup. - :param name: resource group name 'testgroup101'. - :type name: str - :param location: resource group location 'West US'. - :type location: str + :keyword name: resource group name 'testgroup101'. + :paramtype name: str + :keyword location: resource group location 'West US'. + :paramtype location: str """ _attribute_map = { diff --git a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/_models_py3.py b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/_models_py3.py index 0a11344e013..5f0240f2c35 100644 --- a/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/_models_py3.py +++ b/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param code: - :type code: int - :param message: - :type message: str + :keyword code: + :paramtype code: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -35,10 +35,10 @@ def __init__(self, *, code: Optional[int] = None, message: Optional[str] = None, class SampleResourceGroup(msrest.serialization.Model): """SampleResourceGroup. - :param name: resource group name 'testgroup101'. - :type name: str - :param location: resource group location 'West US'. - :type location: str + :keyword name: resource group name 'testgroup101'. + :paramtype name: str + :keyword location: resource group location 'West US'. + :paramtype location: str """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/models/_models.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/models/_models.py index e2686fe70a6..79f0bb0c979 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,10 +36,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapi.v0.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapi.v0.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -59,8 +59,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/models/_models_py3.py index 4b8beb7f70b..ec646baf9d6 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v0/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,10 +41,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapi.v0.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapi.v0.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -67,8 +67,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/models/_models.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/models/_models.py index a305ce8e24b..bbff92eec75 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,10 +36,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapi.v1.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapi.v1.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -59,8 +59,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -78,11 +78,11 @@ def __init__( class TestLroAndPagingOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/models/_models_py3.py index 8471e3aa0e5..c2a8f5e36f9 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v1/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,10 +41,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapi.v1.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapi.v1.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -67,8 +67,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -88,11 +88,11 @@ def __init__( class TestLroAndPagingOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/models/_models.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/models/_models.py index 98abe2ea2ea..8c605907067 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -38,10 +38,10 @@ class ModelTwo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param message: - :type message: str + :keyword id: Required. + :paramtype id: int + :keyword message: + :paramtype message: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/models/_models_py3.py index 706ae4654aa..3bf6df9c125 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v2/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -43,10 +43,10 @@ class ModelTwo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param message: - :type message: str + :keyword id: Required. + :paramtype id: int + :keyword message: + :paramtype message: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/models/_models.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/models/_models.py index d7ccd6b9890..043a1ab1ad7 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,8 +36,8 @@ def __init__( class ModelThree(msrest.serialization.Model): """Only exists in api version 3.0.0. - :param optional_property: - :type optional_property: str + :keyword optional_property: + :paramtype optional_property: str """ _attribute_map = { @@ -55,10 +55,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapi.v3.models.ModelThree] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapi.v3.models.ModelThree] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -78,8 +78,8 @@ def __init__( class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/models/_models_py3.py index e4a96bd8d2f..ff80e4a3153 100644 --- a/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/v3/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,8 +41,8 @@ def __init__( class ModelThree(msrest.serialization.Model): """Only exists in api version 3.0.0. - :param optional_property: - :type optional_property: str + :keyword optional_property: + :paramtype optional_property: str """ _attribute_map = { @@ -62,10 +62,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapi.v3.models.ModelThree] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapi.v3.models.ModelThree] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -88,8 +88,8 @@ def __init__( class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/models/_models.py index 140f130ef19..54a823d469f 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,10 +36,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapicredentialdefaultpolicy.v1.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapicredentialdefaultpolicy.v1.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -59,8 +59,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -78,11 +78,11 @@ def __init__( class TestLroAndPagingOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/models/_models_py3.py index 9bcbbe5cce2..22b3e093081 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v1/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,10 +41,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapicredentialdefaultpolicy.v1.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapicredentialdefaultpolicy.v1.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -67,8 +67,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -88,11 +88,11 @@ def __init__( class TestLroAndPagingOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/models/_models.py index 98abe2ea2ea..8c605907067 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -38,10 +38,10 @@ class ModelTwo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param message: - :type message: str + :keyword id: Required. + :paramtype id: int + :keyword message: + :paramtype message: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/models/_models_py3.py index 706ae4654aa..3bf6df9c125 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v2/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -43,10 +43,10 @@ class ModelTwo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param message: - :type message: str + :keyword id: Required. + :paramtype id: int + :keyword message: + :paramtype message: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/models/_models.py index 1dc8113523c..54c55051d1f 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,8 +36,8 @@ def __init__( class ModelThree(msrest.serialization.Model): """Only exists in api version 3.0.0. - :param optional_property: - :type optional_property: str + :keyword optional_property: + :paramtype optional_property: str """ _attribute_map = { @@ -55,10 +55,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapicredentialdefaultpolicy.v3.models.ModelThree] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapicredentialdefaultpolicy.v3.models.ModelThree] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -78,8 +78,8 @@ def __init__( class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/models/_models_py3.py index 2f5c4870d38..57748413d81 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/v3/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,8 +41,8 @@ def __init__( class ModelThree(msrest.serialization.Model): """Only exists in api version 3.0.0. - :param optional_property: - :type optional_property: str + :keyword optional_property: + :paramtype optional_property: str """ _attribute_map = { @@ -62,10 +62,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapicredentialdefaultpolicy.v3.models.ModelThree] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapicredentialdefaultpolicy.v3.models.ModelThree] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -88,8 +88,8 @@ def __init__( class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v1/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v1/models/_models.py index ae542355b88..8df195642c3 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v1/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v1/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v1/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v1/models/_models_py3.py index 443ed73ab7e..5c82f7bfdf7 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v1/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v1/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v2/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v2/models/_models.py index ae542355b88..8df195642c3 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v2/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v2/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v2/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v2/models/_models_py3.py index 443ed73ab7e..5c82f7bfdf7 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v2/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/v2/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/models/_models.py index b31144a578e..ea044307735 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,10 +36,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapidataplane.v1.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapidataplane.v1.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -59,8 +59,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -78,11 +78,11 @@ def __init__( class TestLroAndPagingOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/models/_models_py3.py index 33440f628e2..132751f0a6b 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v1/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,10 +41,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapidataplane.v1.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapidataplane.v1.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -67,8 +67,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -88,11 +88,11 @@ def __init__( class TestLroAndPagingOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/models/_models.py index 98abe2ea2ea..8c605907067 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -38,10 +38,10 @@ class ModelTwo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param message: - :type message: str + :keyword id: Required. + :paramtype id: int + :keyword message: + :paramtype message: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/models/_models_py3.py index 706ae4654aa..3bf6df9c125 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v2/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -43,10 +43,10 @@ class ModelTwo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param message: - :type message: str + :keyword id: Required. + :paramtype id: int + :keyword message: + :paramtype message: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/models/_models.py index fb6436a6b5c..4161aee3052 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,8 +36,8 @@ def __init__( class ModelThree(msrest.serialization.Model): """Only exists in api version 3.0.0. - :param optional_property: - :type optional_property: str + :keyword optional_property: + :paramtype optional_property: str """ _attribute_map = { @@ -55,10 +55,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapidataplane.v3.models.ModelThree] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapidataplane.v3.models.ModelThree] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -78,8 +78,8 @@ def __init__( class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/models/_models_py3.py index 8d471356e3c..eb2587c2371 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/v3/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,8 +41,8 @@ def __init__( class ModelThree(msrest.serialization.Model): """Only exists in api version 3.0.0. - :param optional_property: - :type optional_property: str + :keyword optional_property: + :paramtype optional_property: str """ _attribute_map = { @@ -62,10 +62,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapidataplane.v3.models.ModelThree] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapidataplane.v3.models.ModelThree] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -88,8 +88,8 @@ def __init__( class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/models/_models.py index 904d3eb3a08..5c73de1c661 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,10 +36,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapinoasync.v1.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapinoasync.v1.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -59,8 +59,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -78,11 +78,11 @@ def __init__( class TestLroAndPagingOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/models/_models_py3.py index 8a9ae2edb2a..db0a77c82e9 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v1/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,10 +41,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapinoasync.v1.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapinoasync.v1.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -67,8 +67,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -88,11 +88,11 @@ def __init__( class TestLroAndPagingOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/models/_models.py index 98abe2ea2ea..8c605907067 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -38,10 +38,10 @@ class ModelTwo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param message: - :type message: str + :keyword id: Required. + :paramtype id: int + :keyword message: + :paramtype message: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/models/_models_py3.py index 706ae4654aa..3bf6df9c125 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v2/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -43,10 +43,10 @@ class ModelTwo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param message: - :type message: str + :keyword id: Required. + :paramtype id: int + :keyword message: + :paramtype message: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/models/_models.py index 3251074e93a..ed92f580437 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,8 +36,8 @@ def __init__( class ModelThree(msrest.serialization.Model): """Only exists in api version 3.0.0. - :param optional_property: - :type optional_property: str + :keyword optional_property: + :paramtype optional_property: str """ _attribute_map = { @@ -55,10 +55,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapinoasync.v3.models.ModelThree] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapinoasync.v3.models.ModelThree] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -78,8 +78,8 @@ def __init__( class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/models/_models_py3.py index 8ab52891fcd..a6a27fb1d65 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/v3/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,8 +41,8 @@ def __init__( class ModelThree(msrest.serialization.Model): """Only exists in api version 3.0.0. - :param optional_property: - :type optional_property: str + :keyword optional_property: + :paramtype optional_property: str """ _attribute_map = { @@ -62,10 +62,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapinoasync.v3.models.ModelThree] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapinoasync.v3.models.ModelThree] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -88,8 +88,8 @@ def __init__( class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/models/_models.py index 4ae70117b8c..a34dd18aff7 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,10 +36,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapiwithsubmodule.submodule.v1.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapiwithsubmodule.submodule.v1.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -59,8 +59,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -78,11 +78,11 @@ def __init__( class TestLroAndPagingOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/models/_models_py3.py index cf0a3dc034a..4775f7c93ee 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v1/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,10 +41,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapiwithsubmodule.submodule.v1.models.Product] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapiwithsubmodule.submodule.v1.models.Product] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -67,8 +67,8 @@ def __init__( class Product(msrest.serialization.Model): """Product. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -88,11 +88,11 @@ def __init__( class TestLroAndPagingOptions(msrest.serialization.Model): """Parameter group. - :param maxresults: Sets the maximum number of items to return in the response. - :type maxresults: int - :param timeout: Sets the maximum time that the server can spend processing the request, in + :keyword maxresults: Sets the maximum number of items to return in the response. + :paramtype maxresults: int + :keyword timeout: Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. - :type timeout: int + :paramtype timeout: int """ _attribute_map = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/models/_models.py index 98abe2ea2ea..8c605907067 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -38,10 +38,10 @@ class ModelTwo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param message: - :type message: str + :keyword id: Required. + :paramtype id: int + :keyword message: + :paramtype message: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/models/_models_py3.py index 706ae4654aa..3bf6df9c125 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v2/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -43,10 +43,10 @@ class ModelTwo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param message: - :type message: str + :keyword id: Required. + :paramtype id: int + :keyword message: + :paramtype message: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/models/_models.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/models/_models.py index cc777ebb82e..35c4a037ca8 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/models/_models.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -36,8 +36,8 @@ def __init__( class ModelThree(msrest.serialization.Model): """Only exists in api version 3.0.0. - :param optional_property: - :type optional_property: str + :keyword optional_property: + :paramtype optional_property: str """ _attribute_map = { @@ -55,10 +55,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapiwithsubmodule.submodule.v3.models.ModelThree] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapiwithsubmodule.submodule.v3.models.ModelThree] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -78,8 +78,8 @@ def __init__( class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/models/_models_py3.py b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/models/_models_py3.py index 280e18748e1..e00d78f408b 100644 --- a/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/models/_models_py3.py +++ b/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/v3/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,8 +41,8 @@ def __init__( class ModelThree(msrest.serialization.Model): """Only exists in api version 3.0.0. - :param optional_property: - :type optional_property: str + :keyword optional_property: + :paramtype optional_property: str """ _attribute_map = { @@ -62,10 +62,10 @@ def __init__( class PagingResult(msrest.serialization.Model): """PagingResult. - :param values: - :type values: list[~multiapiwithsubmodule.submodule.v3.models.ModelThree] - :param next_link: - :type next_link: str + :keyword values: + :paramtype values: list[~multiapiwithsubmodule.submodule.v3.models.ModelThree] + :keyword next_link: + :paramtype next_link: str """ _attribute_map = { @@ -88,8 +88,8 @@ def __init__( class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/_models.py index b30059636f7..1749eb5d2e9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/_models.py @@ -17,13 +17,13 @@ class PetAPTrue(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param additional_properties: Unmatched properties from the message are deserialized to this + :keyword additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, any] - :param id: Required. - :type id: int - :param name: - :type name: str + :paramtype additional_properties: dict[str, any] + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str :ivar status: :vartype status: bool """ @@ -55,17 +55,17 @@ class CatAPTrue(PetAPTrue): All required parameters must be populated in order to send to Azure. - :param additional_properties: Unmatched properties from the message are deserialized to this + :keyword additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, any] - :param id: Required. - :type id: int - :param name: - :type name: str + :paramtype additional_properties: dict[str, any] + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str :ivar status: :vartype status: bool - :param friendly: - :type friendly: bool + :keyword friendly: + :paramtype friendly: bool """ _validation = { @@ -89,10 +89,10 @@ def __init__(self, **kwargs): class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -113,14 +113,14 @@ class PetAPInProperties(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param name: - :type name: str + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str :ivar status: :vartype status: bool - :param additional_properties: Dictionary of :code:``. - :type additional_properties: dict[str, float] + :keyword additional_properties: Dictionary of :code:``. + :paramtype additional_properties: dict[str, float] """ _validation = { @@ -150,19 +150,19 @@ class PetAPInPropertiesWithAPString(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param additional_properties: Unmatched properties from the message are deserialized to this + :keyword additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, str] - :param id: Required. - :type id: int - :param name: - :type name: str + :paramtype additional_properties: dict[str, str] + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str :ivar status: :vartype status: bool - :param odata_location: Required. - :type odata_location: str - :param additional_properties1: Dictionary of :code:``. - :type additional_properties1: dict[str, float] + :keyword odata_location: Required. + :paramtype odata_location: str + :keyword additional_properties1: Dictionary of :code:``. + :paramtype additional_properties1: dict[str, float] """ _validation = { @@ -197,13 +197,13 @@ class PetAPObject(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param additional_properties: Unmatched properties from the message are deserialized to this + :keyword additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, any] - :param id: Required. - :type id: int - :param name: - :type name: str + :paramtype additional_properties: dict[str, any] + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str :ivar status: :vartype status: bool """ @@ -235,13 +235,13 @@ class PetAPString(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param additional_properties: Unmatched properties from the message are deserialized to this + :keyword additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, str] - :param id: Required. - :type id: int - :param name: - :type name: str + :paramtype additional_properties: dict[str, str] + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str :ivar status: :vartype status: bool """ diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/_models_py3.py index b5e3beda5c3..bb6e824e588 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/_models_py3.py @@ -19,13 +19,13 @@ class PetAPTrue(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param additional_properties: Unmatched properties from the message are deserialized to this + :keyword additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, any] - :param id: Required. - :type id: int - :param name: - :type name: str + :paramtype additional_properties: dict[str, any] + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str :ivar status: :vartype status: bool """ @@ -59,17 +59,17 @@ class CatAPTrue(PetAPTrue): All required parameters must be populated in order to send to Azure. - :param additional_properties: Unmatched properties from the message are deserialized to this + :keyword additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, any] - :param id: Required. - :type id: int - :param name: - :type name: str + :paramtype additional_properties: dict[str, any] + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str :ivar status: :vartype status: bool - :param friendly: - :type friendly: bool + :keyword friendly: + :paramtype friendly: bool """ _validation = { @@ -101,10 +101,10 @@ def __init__( class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -125,14 +125,14 @@ class PetAPInProperties(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param name: - :type name: str + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str :ivar status: :vartype status: bool - :param additional_properties: Dictionary of :code:``. - :type additional_properties: dict[str, float] + :keyword additional_properties: Dictionary of :code:``. + :paramtype additional_properties: dict[str, float] """ _validation = { @@ -164,19 +164,19 @@ class PetAPInPropertiesWithAPString(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param additional_properties: Unmatched properties from the message are deserialized to this + :keyword additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, str] - :param id: Required. - :type id: int - :param name: - :type name: str + :paramtype additional_properties: dict[str, str] + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str :ivar status: :vartype status: bool - :param odata_location: Required. - :type odata_location: str - :param additional_properties1: Dictionary of :code:``. - :type additional_properties1: dict[str, float] + :keyword odata_location: Required. + :paramtype odata_location: str + :keyword additional_properties1: Dictionary of :code:``. + :paramtype additional_properties1: dict[str, float] """ _validation = { @@ -220,13 +220,13 @@ class PetAPObject(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param additional_properties: Unmatched properties from the message are deserialized to this + :keyword additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, any] - :param id: Required. - :type id: int - :param name: - :type name: str + :paramtype additional_properties: dict[str, any] + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str :ivar status: :vartype status: bool """ @@ -260,13 +260,13 @@ class PetAPString(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param additional_properties: Unmatched properties from the message are deserialized to this + :keyword additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, str] - :param id: Required. - :type id: int - :param name: - :type name: str + :paramtype additional_properties: dict[str, str] + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str :ivar status: :vartype status: bool """ diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/models/_models.py index 4cec8f89f26..8f3965aa2f9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -33,10 +33,10 @@ def __init__(self, **kwargs): class Product(msrest.serialization.Model): """Product. - :param integer: - :type integer: int - :param string: - :type string: str + :keyword integer: + :paramtype integer: int + :keyword string: + :paramtype string: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/models/_models_py3.py index 5aaa9cb714e..2c6d8467d1b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -35,10 +35,10 @@ def __init__(self, *, status: Optional[int] = None, message: Optional[str] = Non class Product(msrest.serialization.Model): """Product. - :param integer: - :type integer: int - :param string: - :type string: str + :keyword integer: + :paramtype integer: int + :keyword string: + :paramtype string: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/models/_models.py index 4cec8f89f26..8f3965aa2f9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -33,10 +33,10 @@ def __init__(self, **kwargs): class Product(msrest.serialization.Model): """Product. - :param integer: - :type integer: int - :param string: - :type string: str + :keyword integer: + :paramtype integer: int + :keyword string: + :paramtype string: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/models/_models_py3.py index 5aaa9cb714e..2c6d8467d1b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -35,10 +35,10 @@ def __init__(self, *, status: Optional[int] = None, message: Optional[str] = Non class Product(msrest.serialization.Model): """Product. - :param integer: - :type integer: int - :param string: - :type string: str + :keyword integer: + :paramtype integer: int + :keyword string: + :paramtype string: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/models/_models.py index 4cec8f89f26..8f3965aa2f9 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -33,10 +33,10 @@ def __init__(self, **kwargs): class Product(msrest.serialization.Model): """Product. - :param integer: - :type integer: int - :param string: - :type string: str + :keyword integer: + :paramtype integer: int + :keyword string: + :paramtype string: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/models/_models_py3.py index 5aaa9cb714e..2c6d8467d1b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithPythonThreeOperationFiles/bodyarraywithpythonthreeoperationfiles/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -35,10 +35,10 @@ def __init__(self, *, status: Optional[int] = None, message: Optional[str] = Non class Product(msrest.serialization.Model): """Product. - :param integer: - :type integer: int - :param string: - :type string: str + :keyword integer: + :paramtype integer: int + :keyword string: + :paramtype string: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/models/_models.py index ebf6ff74a6a..0ce2a1bc53c 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/models/_models.py @@ -13,8 +13,8 @@ class ArrayWrapper(msrest.serialization.Model): """ArrayWrapper. - :param array: - :type array: list[str] + :keyword array: + :paramtype array: list[str] """ _attribute_map = { @@ -29,13 +29,13 @@ def __init__(self, **kwargs): class Basic(msrest.serialization.Model): """Basic. - :param id: Basic Id. - :type id: int - :param name: Name property with a very long description that does not fit on a single line and - a line break. - :type name: str - :param color: Possible values include: "cyan", "Magenta", "YELLOW", "blacK". - :type color: str or ~bodycomplex.models.CMYKColors + :keyword id: Basic Id. + :paramtype id: int + :keyword name: Name property with a very long description that does not fit on a single line + and a line break. + :paramtype name: str + :keyword color: Possible values include: "cyan", "Magenta", "YELLOW", "blacK". + :paramtype color: str or ~bodycomplex.models.CMYKColors """ _attribute_map = { @@ -54,10 +54,10 @@ def __init__(self, **kwargs): class BooleanWrapper(msrest.serialization.Model): """BooleanWrapper. - :param field_true: - :type field_true: bool - :param field_false: - :type field_false: bool + :keyword field_true: + :paramtype field_true: bool + :keyword field_false: + :paramtype field_false: bool """ _attribute_map = { @@ -74,8 +74,8 @@ def __init__(self, **kwargs): class ByteWrapper(msrest.serialization.Model): """ByteWrapper. - :param field: - :type field: bytearray + :keyword field: + :paramtype field: bytearray """ _attribute_map = { @@ -90,10 +90,10 @@ def __init__(self, **kwargs): class Pet(msrest.serialization.Model): """Pet. - :param id: - :type id: int - :param name: - :type name: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str """ _attribute_map = { @@ -110,14 +110,14 @@ def __init__(self, **kwargs): class Cat(Pet): """Cat. - :param id: - :type id: int - :param name: - :type name: str - :param color: - :type color: str - :param hates: - :type hates: list[~bodycomplex.models.Dog] + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str + :keyword color: + :paramtype color: str + :keyword hates: + :paramtype hates: list[~bodycomplex.models.Dog] """ _attribute_map = { @@ -141,14 +141,14 @@ class Fish(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] """ _validation = { @@ -181,18 +181,18 @@ class Shark(Fish): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] - :param age: - :type age: int - :param birthday: Required. - :type birthday: ~datetime.datetime + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] + :keyword age: + :paramtype age: int + :keyword birthday: Required. + :paramtype birthday: ~datetime.datetime """ _validation = { @@ -226,18 +226,18 @@ class Cookiecuttershark(Shark): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] - :param age: - :type age: int - :param birthday: Required. - :type birthday: ~datetime.datetime + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] + :keyword age: + :paramtype age: int + :keyword birthday: Required. + :paramtype birthday: ~datetime.datetime """ _validation = { @@ -263,10 +263,10 @@ def __init__(self, **kwargs): class Datetimerfc1123Wrapper(msrest.serialization.Model): """Datetimerfc1123Wrapper. - :param field: - :type field: ~datetime.datetime - :param now: - :type now: ~datetime.datetime + :keyword field: + :paramtype field: ~datetime.datetime + :keyword now: + :paramtype now: ~datetime.datetime """ _attribute_map = { @@ -283,10 +283,10 @@ def __init__(self, **kwargs): class DatetimeWrapper(msrest.serialization.Model): """DatetimeWrapper. - :param field: - :type field: ~datetime.datetime - :param now: - :type now: ~datetime.datetime + :keyword field: + :paramtype field: ~datetime.datetime + :keyword now: + :paramtype now: ~datetime.datetime """ _attribute_map = { @@ -303,10 +303,10 @@ def __init__(self, **kwargs): class DateWrapper(msrest.serialization.Model): """DateWrapper. - :param field: - :type field: ~datetime.date - :param leap: - :type leap: ~datetime.date + :keyword field: + :paramtype field: ~datetime.date + :keyword leap: + :paramtype leap: ~datetime.date """ _attribute_map = { @@ -323,8 +323,8 @@ def __init__(self, **kwargs): class DictionaryWrapper(msrest.serialization.Model): """DictionaryWrapper. - :param default_program: Dictionary of :code:``. - :type default_program: dict[str, str] + :keyword default_program: Dictionary of :code:``. + :paramtype default_program: dict[str, str] """ _attribute_map = { @@ -339,12 +339,12 @@ def __init__(self, **kwargs): class Dog(Pet): """Dog. - :param id: - :type id: int - :param name: - :type name: str - :param food: - :type food: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str + :keyword food: + :paramtype food: str """ _attribute_map = { @@ -366,10 +366,10 @@ class DotFish(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param fish_type: Required. Constant filled by server. - :type fish_type: str - :param species: - :type species: str + :keyword fish_type: Required. Constant filled by server. + :paramtype fish_type: str + :keyword species: + :paramtype species: str """ _validation = { @@ -392,14 +392,14 @@ def __init__(self, **kwargs): class DotFishMarket(msrest.serialization.Model): """DotFishMarket. - :param sample_salmon: - :type sample_salmon: ~bodycomplex.models.DotSalmon - :param salmons: - :type salmons: list[~bodycomplex.models.DotSalmon] - :param sample_fish: - :type sample_fish: ~bodycomplex.models.DotFish - :param fishes: - :type fishes: list[~bodycomplex.models.DotFish] + :keyword sample_salmon: + :paramtype sample_salmon: ~bodycomplex.models.DotSalmon + :keyword salmons: + :paramtype salmons: list[~bodycomplex.models.DotSalmon] + :keyword sample_fish: + :paramtype sample_fish: ~bodycomplex.models.DotFish + :keyword fishes: + :paramtype fishes: list[~bodycomplex.models.DotFish] """ _attribute_map = { @@ -422,14 +422,14 @@ class DotSalmon(DotFish): All required parameters must be populated in order to send to Azure. - :param fish_type: Required. Constant filled by server. - :type fish_type: str - :param species: - :type species: str - :param location: - :type location: str - :param iswild: - :type iswild: bool + :keyword fish_type: Required. Constant filled by server. + :paramtype fish_type: str + :keyword species: + :paramtype species: str + :keyword location: + :paramtype location: str + :keyword iswild: + :paramtype iswild: bool """ _validation = { @@ -453,11 +453,11 @@ def __init__(self, **kwargs): class DoubleWrapper(msrest.serialization.Model): """DoubleWrapper. - :param field1: - :type field1: float - :param + :keyword field1: + :paramtype field1: float + :keyword field56_zeros_after_the_dot_and_negative_zero_before_dot_and_this_is_a_long_field_name_on_purpose: - :type + :paramtype field56_zeros_after_the_dot_and_negative_zero_before_dot_and_this_is_a_long_field_name_on_purpose: float """ @@ -484,8 +484,8 @@ def __init__(self, **kwargs): class DurationWrapper(msrest.serialization.Model): """DurationWrapper. - :param field: - :type field: ~datetime.timedelta + :keyword field: + :paramtype field: ~datetime.timedelta """ _attribute_map = { @@ -500,10 +500,10 @@ def __init__(self, **kwargs): class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -520,10 +520,10 @@ def __init__(self, **kwargs): class FloatWrapper(msrest.serialization.Model): """FloatWrapper. - :param field1: - :type field1: float - :param field2: - :type field2: float + :keyword field1: + :paramtype field1: float + :keyword field2: + :paramtype field2: float """ _attribute_map = { @@ -542,23 +542,23 @@ class Goblinshark(Shark): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] - :param age: - :type age: int - :param birthday: Required. - :type birthday: ~datetime.datetime - :param jawsize: - :type jawsize: int - :param color: Colors possible. Possible values include: "pink", "gray", "brown", "RED", "red". - Default value: "gray". - :type color: str or ~bodycomplex.models.GoblinSharkColor + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] + :keyword age: + :paramtype age: int + :keyword birthday: Required. + :paramtype birthday: ~datetime.datetime + :keyword jawsize: + :paramtype jawsize: int + :keyword color: Colors possible. Possible values include: "pink", "gray", "brown", "RED", + "red". Default value: "gray". + :paramtype color: str or ~bodycomplex.models.GoblinSharkColor """ _validation = { @@ -588,10 +588,10 @@ def __init__(self, **kwargs): class IntWrapper(msrest.serialization.Model): """IntWrapper. - :param field1: - :type field1: int - :param field2: - :type field2: int + :keyword field1: + :paramtype field1: int + :keyword field2: + :paramtype field2: int """ _attribute_map = { @@ -608,10 +608,10 @@ def __init__(self, **kwargs): class LongWrapper(msrest.serialization.Model): """LongWrapper. - :param field1: - :type field1: long - :param field2: - :type field2: long + :keyword field1: + :paramtype field1: long + :keyword field2: + :paramtype field2: long """ _attribute_map = { @@ -633,12 +633,12 @@ class MyBaseType(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param kind: Required. Constant filled by server. Possible values include: "Kind1". - :type kind: str or ~bodycomplex.models.MyKind - :param prop_b1: - :type prop_b1: str - :param prop_bh1: - :type prop_bh1: str + :keyword kind: Required. Constant filled by server. Possible values include: "Kind1". + :paramtype kind: str or ~bodycomplex.models.MyKind + :keyword prop_b1: + :paramtype prop_b1: str + :keyword prop_bh1: + :paramtype prop_bh1: str """ _validation = { @@ -665,14 +665,14 @@ class MyDerivedType(MyBaseType): All required parameters must be populated in order to send to Azure. - :param kind: Required. Constant filled by server. Possible values include: "Kind1". - :type kind: str or ~bodycomplex.models.MyKind - :param prop_b1: - :type prop_b1: str - :param prop_bh1: - :type prop_bh1: str - :param prop_d1: - :type prop_d1: str + :keyword kind: Required. Constant filled by server. Possible values include: "Kind1". + :paramtype kind: str or ~bodycomplex.models.MyKind + :keyword prop_b1: + :paramtype prop_b1: str + :keyword prop_bh1: + :paramtype prop_bh1: str + :keyword prop_d1: + :paramtype prop_d1: str """ _validation = { @@ -699,8 +699,8 @@ class ReadonlyObj(msrest.serialization.Model): :ivar id: :vartype id: str - :param size: - :type size: int + :keyword size: + :paramtype size: int """ _validation = { @@ -726,18 +726,18 @@ class Salmon(Fish): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] - :param location: - :type location: str - :param iswild: - :type iswild: bool + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] + :keyword location: + :paramtype location: str + :keyword iswild: + :paramtype iswild: bool """ _validation = { @@ -768,20 +768,20 @@ class Sawshark(Shark): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] - :param age: - :type age: int - :param birthday: Required. - :type birthday: ~datetime.datetime - :param picture: - :type picture: bytearray + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] + :keyword age: + :paramtype age: int + :keyword birthday: Required. + :paramtype birthday: ~datetime.datetime + :keyword picture: + :paramtype picture: bytearray """ _validation = { @@ -809,16 +809,16 @@ def __init__(self, **kwargs): class Siamese(Cat): """Siamese. - :param id: - :type id: int - :param name: - :type name: str - :param color: - :type color: str - :param hates: - :type hates: list[~bodycomplex.models.Dog] - :param breed: - :type breed: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str + :keyword color: + :paramtype color: str + :keyword hates: + :paramtype hates: list[~bodycomplex.models.Dog] + :keyword breed: + :paramtype breed: str """ _attribute_map = { @@ -839,23 +839,23 @@ class SmartSalmon(Salmon): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] - :param location: - :type location: str - :param iswild: - :type iswild: bool - :param additional_properties: Unmatched properties from the message are deserialized to this + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] + :keyword location: + :paramtype location: str + :keyword iswild: + :paramtype iswild: bool + :keyword additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, any] - :param college_degree: - :type college_degree: str + :paramtype additional_properties: dict[str, any] + :keyword college_degree: + :paramtype college_degree: str """ _validation = { @@ -884,12 +884,12 @@ def __init__(self, **kwargs): class StringWrapper(msrest.serialization.Model): """StringWrapper. - :param field: - :type field: str - :param empty: - :type empty: str - :param null: - :type null: str + :keyword field: + :paramtype field: str + :keyword empty: + :paramtype empty: str + :keyword null: + :paramtype null: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/models/_models_py3.py index 8d72cee77d9..73dfd4e4457 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/models/_models_py3.py @@ -18,8 +18,8 @@ class ArrayWrapper(msrest.serialization.Model): """ArrayWrapper. - :param array: - :type array: list[str] + :keyword array: + :paramtype array: list[str] """ _attribute_map = { @@ -34,13 +34,13 @@ def __init__(self, *, array: Optional[List[str]] = None, **kwargs): class Basic(msrest.serialization.Model): """Basic. - :param id: Basic Id. - :type id: int - :param name: Name property with a very long description that does not fit on a single line and - a line break. - :type name: str - :param color: Possible values include: "cyan", "Magenta", "YELLOW", "blacK". - :type color: str or ~bodycomplex.models.CMYKColors + :keyword id: Basic Id. + :paramtype id: int + :keyword name: Name property with a very long description that does not fit on a single line + and a line break. + :paramtype name: str + :keyword color: Possible values include: "cyan", "Magenta", "YELLOW", "blacK". + :paramtype color: str or ~bodycomplex.models.CMYKColors """ _attribute_map = { @@ -66,10 +66,10 @@ def __init__( class BooleanWrapper(msrest.serialization.Model): """BooleanWrapper. - :param field_true: - :type field_true: bool - :param field_false: - :type field_false: bool + :keyword field_true: + :paramtype field_true: bool + :keyword field_false: + :paramtype field_false: bool """ _attribute_map = { @@ -86,8 +86,8 @@ def __init__(self, *, field_true: Optional[bool] = None, field_false: Optional[b class ByteWrapper(msrest.serialization.Model): """ByteWrapper. - :param field: - :type field: bytearray + :keyword field: + :paramtype field: bytearray """ _attribute_map = { @@ -102,10 +102,10 @@ def __init__(self, *, field: Optional[bytearray] = None, **kwargs): class Pet(msrest.serialization.Model): """Pet. - :param id: - :type id: int - :param name: - :type name: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str """ _attribute_map = { @@ -122,14 +122,14 @@ def __init__(self, *, id: Optional[int] = None, name: Optional[str] = None, **kw class Cat(Pet): """Cat. - :param id: - :type id: int - :param name: - :type name: str - :param color: - :type color: str - :param hates: - :type hates: list[~bodycomplex.models.Dog] + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str + :keyword color: + :paramtype color: str + :keyword hates: + :paramtype hates: list[~bodycomplex.models.Dog] """ _attribute_map = { @@ -161,14 +161,14 @@ class Fish(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] """ _validation = { @@ -203,18 +203,18 @@ class Shark(Fish): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] - :param age: - :type age: int - :param birthday: Required. - :type birthday: ~datetime.datetime + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] + :keyword age: + :paramtype age: int + :keyword birthday: Required. + :paramtype birthday: ~datetime.datetime """ _validation = { @@ -257,18 +257,18 @@ class Cookiecuttershark(Shark): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] - :param age: - :type age: int - :param birthday: Required. - :type birthday: ~datetime.datetime + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] + :keyword age: + :paramtype age: int + :keyword birthday: Required. + :paramtype birthday: ~datetime.datetime """ _validation = { @@ -305,10 +305,10 @@ def __init__( class Datetimerfc1123Wrapper(msrest.serialization.Model): """Datetimerfc1123Wrapper. - :param field: - :type field: ~datetime.datetime - :param now: - :type now: ~datetime.datetime + :keyword field: + :paramtype field: ~datetime.datetime + :keyword now: + :paramtype now: ~datetime.datetime """ _attribute_map = { @@ -325,10 +325,10 @@ def __init__(self, *, field: Optional[datetime.datetime] = None, now: Optional[d class DatetimeWrapper(msrest.serialization.Model): """DatetimeWrapper. - :param field: - :type field: ~datetime.datetime - :param now: - :type now: ~datetime.datetime + :keyword field: + :paramtype field: ~datetime.datetime + :keyword now: + :paramtype now: ~datetime.datetime """ _attribute_map = { @@ -345,10 +345,10 @@ def __init__(self, *, field: Optional[datetime.datetime] = None, now: Optional[d class DateWrapper(msrest.serialization.Model): """DateWrapper. - :param field: - :type field: ~datetime.date - :param leap: - :type leap: ~datetime.date + :keyword field: + :paramtype field: ~datetime.date + :keyword leap: + :paramtype leap: ~datetime.date """ _attribute_map = { @@ -365,8 +365,8 @@ def __init__(self, *, field: Optional[datetime.date] = None, leap: Optional[date class DictionaryWrapper(msrest.serialization.Model): """DictionaryWrapper. - :param default_program: Dictionary of :code:``. - :type default_program: dict[str, str] + :keyword default_program: Dictionary of :code:``. + :paramtype default_program: dict[str, str] """ _attribute_map = { @@ -381,12 +381,12 @@ def __init__(self, *, default_program: Optional[Dict[str, str]] = None, **kwargs class Dog(Pet): """Dog. - :param id: - :type id: int - :param name: - :type name: str - :param food: - :type food: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str + :keyword food: + :paramtype food: str """ _attribute_map = { @@ -408,10 +408,10 @@ class DotFish(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param fish_type: Required. Constant filled by server. - :type fish_type: str - :param species: - :type species: str + :keyword fish_type: Required. Constant filled by server. + :paramtype fish_type: str + :keyword species: + :paramtype species: str """ _validation = { @@ -434,14 +434,14 @@ def __init__(self, *, species: Optional[str] = None, **kwargs): class DotFishMarket(msrest.serialization.Model): """DotFishMarket. - :param sample_salmon: - :type sample_salmon: ~bodycomplex.models.DotSalmon - :param salmons: - :type salmons: list[~bodycomplex.models.DotSalmon] - :param sample_fish: - :type sample_fish: ~bodycomplex.models.DotFish - :param fishes: - :type fishes: list[~bodycomplex.models.DotFish] + :keyword sample_salmon: + :paramtype sample_salmon: ~bodycomplex.models.DotSalmon + :keyword salmons: + :paramtype salmons: list[~bodycomplex.models.DotSalmon] + :keyword sample_fish: + :paramtype sample_fish: ~bodycomplex.models.DotFish + :keyword fishes: + :paramtype fishes: list[~bodycomplex.models.DotFish] """ _attribute_map = { @@ -472,14 +472,14 @@ class DotSalmon(DotFish): All required parameters must be populated in order to send to Azure. - :param fish_type: Required. Constant filled by server. - :type fish_type: str - :param species: - :type species: str - :param location: - :type location: str - :param iswild: - :type iswild: bool + :keyword fish_type: Required. Constant filled by server. + :paramtype fish_type: str + :keyword species: + :paramtype species: str + :keyword location: + :paramtype location: str + :keyword iswild: + :paramtype iswild: bool """ _validation = { @@ -505,11 +505,11 @@ def __init__( class DoubleWrapper(msrest.serialization.Model): """DoubleWrapper. - :param field1: - :type field1: float - :param + :keyword field1: + :paramtype field1: float + :keyword field56_zeros_after_the_dot_and_negative_zero_before_dot_and_this_is_a_long_field_name_on_purpose: - :type + :paramtype field56_zeros_after_the_dot_and_negative_zero_before_dot_and_this_is_a_long_field_name_on_purpose: float """ @@ -541,8 +541,8 @@ def __init__( class DurationWrapper(msrest.serialization.Model): """DurationWrapper. - :param field: - :type field: ~datetime.timedelta + :keyword field: + :paramtype field: ~datetime.timedelta """ _attribute_map = { @@ -557,10 +557,10 @@ def __init__(self, *, field: Optional[datetime.timedelta] = None, **kwargs): class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -577,10 +577,10 @@ def __init__(self, *, status: Optional[int] = None, message: Optional[str] = Non class FloatWrapper(msrest.serialization.Model): """FloatWrapper. - :param field1: - :type field1: float - :param field2: - :type field2: float + :keyword field1: + :paramtype field1: float + :keyword field2: + :paramtype field2: float """ _attribute_map = { @@ -599,23 +599,23 @@ class Goblinshark(Shark): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] - :param age: - :type age: int - :param birthday: Required. - :type birthday: ~datetime.datetime - :param jawsize: - :type jawsize: int - :param color: Colors possible. Possible values include: "pink", "gray", "brown", "RED", "red". - Default value: "gray". - :type color: str or ~bodycomplex.models.GoblinSharkColor + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] + :keyword age: + :paramtype age: int + :keyword birthday: Required. + :paramtype birthday: ~datetime.datetime + :keyword jawsize: + :paramtype jawsize: int + :keyword color: Colors possible. Possible values include: "pink", "gray", "brown", "RED", + "red". Default value: "gray". + :paramtype color: str or ~bodycomplex.models.GoblinSharkColor """ _validation = { @@ -658,10 +658,10 @@ def __init__( class IntWrapper(msrest.serialization.Model): """IntWrapper. - :param field1: - :type field1: int - :param field2: - :type field2: int + :keyword field1: + :paramtype field1: int + :keyword field2: + :paramtype field2: int """ _attribute_map = { @@ -678,10 +678,10 @@ def __init__(self, *, field1: Optional[int] = None, field2: Optional[int] = None class LongWrapper(msrest.serialization.Model): """LongWrapper. - :param field1: - :type field1: long - :param field2: - :type field2: long + :keyword field1: + :paramtype field1: long + :keyword field2: + :paramtype field2: long """ _attribute_map = { @@ -703,12 +703,12 @@ class MyBaseType(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param kind: Required. Constant filled by server. Possible values include: "Kind1". - :type kind: str or ~bodycomplex.models.MyKind - :param prop_b1: - :type prop_b1: str - :param prop_bh1: - :type prop_bh1: str + :keyword kind: Required. Constant filled by server. Possible values include: "Kind1". + :paramtype kind: str or ~bodycomplex.models.MyKind + :keyword prop_b1: + :paramtype prop_b1: str + :keyword prop_bh1: + :paramtype prop_bh1: str """ _validation = { @@ -735,14 +735,14 @@ class MyDerivedType(MyBaseType): All required parameters must be populated in order to send to Azure. - :param kind: Required. Constant filled by server. Possible values include: "Kind1". - :type kind: str or ~bodycomplex.models.MyKind - :param prop_b1: - :type prop_b1: str - :param prop_bh1: - :type prop_bh1: str - :param prop_d1: - :type prop_d1: str + :keyword kind: Required. Constant filled by server. Possible values include: "Kind1". + :paramtype kind: str or ~bodycomplex.models.MyKind + :keyword prop_b1: + :paramtype prop_b1: str + :keyword prop_bh1: + :paramtype prop_bh1: str + :keyword prop_d1: + :paramtype prop_d1: str """ _validation = { @@ -771,8 +771,8 @@ class ReadonlyObj(msrest.serialization.Model): :ivar id: :vartype id: str - :param size: - :type size: int + :keyword size: + :paramtype size: int """ _validation = { @@ -798,18 +798,18 @@ class Salmon(Fish): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] - :param location: - :type location: str - :param iswild: - :type iswild: bool + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] + :keyword location: + :paramtype location: str + :keyword iswild: + :paramtype iswild: bool """ _validation = { @@ -849,20 +849,20 @@ class Sawshark(Shark): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] - :param age: - :type age: int - :param birthday: Required. - :type birthday: ~datetime.datetime - :param picture: - :type picture: bytearray + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] + :keyword age: + :paramtype age: int + :keyword birthday: Required. + :paramtype birthday: ~datetime.datetime + :keyword picture: + :paramtype picture: bytearray """ _validation = { @@ -902,16 +902,16 @@ def __init__( class Siamese(Cat): """Siamese. - :param id: - :type id: int - :param name: - :type name: str - :param color: - :type color: str - :param hates: - :type hates: list[~bodycomplex.models.Dog] - :param breed: - :type breed: str + :keyword id: + :paramtype id: int + :keyword name: + :paramtype name: str + :keyword color: + :paramtype color: str + :keyword hates: + :paramtype hates: list[~bodycomplex.models.Dog] + :keyword breed: + :paramtype breed: str """ _attribute_map = { @@ -941,23 +941,23 @@ class SmartSalmon(Salmon): All required parameters must be populated in order to send to Azure. - :param fishtype: Required. Constant filled by server. - :type fishtype: str - :param species: - :type species: str - :param length: Required. - :type length: float - :param siblings: - :type siblings: list[~bodycomplex.models.Fish] - :param location: - :type location: str - :param iswild: - :type iswild: bool - :param additional_properties: Unmatched properties from the message are deserialized to this + :keyword fishtype: Required. Constant filled by server. + :paramtype fishtype: str + :keyword species: + :paramtype species: str + :keyword length: Required. + :paramtype length: float + :keyword siblings: + :paramtype siblings: list[~bodycomplex.models.Fish] + :keyword location: + :paramtype location: str + :keyword iswild: + :paramtype iswild: bool + :keyword additional_properties: Unmatched properties from the message are deserialized to this collection. - :type additional_properties: dict[str, any] - :param college_degree: - :type college_degree: str + :paramtype additional_properties: dict[str, any] + :keyword college_degree: + :paramtype college_degree: str """ _validation = { @@ -999,12 +999,12 @@ def __init__( class StringWrapper(msrest.serialization.Model): """StringWrapper. - :param field: - :type field: str - :param empty: - :type empty: str - :param null: - :type null: str + :keyword field: + :paramtype field: str + :keyword empty: + :paramtype empty: str + :keyword null: + :paramtype null: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/_models.py index 5f96ac5be76..2e407490510 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -33,10 +33,10 @@ def __init__(self, **kwargs): class Widget(msrest.serialization.Model): """Widget. - :param integer: - :type integer: int - :param string: - :type string: str + :keyword integer: + :paramtype integer: int + :keyword string: + :paramtype string: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/_models_py3.py index 2be3dd99194..f0acc0fd4f6 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -35,10 +35,10 @@ def __init__(self, *, status: Optional[int] = None, message: Optional[str] = Non class Widget(msrest.serialization.Model): """Widget. - :param integer: - :type integer: int - :param string: - :type string: str + :keyword integer: + :paramtype integer: int + :keyword string: + :paramtype string: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/_models.py index d71ebd9620d..18c71326bc7 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -35,11 +35,11 @@ class Paths1MqqetpFormdataStreamUploadfilePostRequestbodyContentMultipartFormDat All required parameters must be populated in order to send to Azure. - :param file_content: Required. File to upload. - :type file_content: IO - :param file_name: Required. File name to upload. Name has to be spelled exactly as written + :keyword file_content: Required. File to upload. + :paramtype file_content: IO + :keyword file_name: Required. File name to upload. Name has to be spelled exactly as written here. - :type file_name: str + :paramtype file_name: str """ _validation = { @@ -65,8 +65,8 @@ class Paths1P3Stk3FormdataStreamUploadfilesPostRequestbodyContentMultipartFormDa All required parameters must be populated in order to send to Azure. - :param file_content: Required. Files to upload. - :type file_content: list[IO] + :keyword file_content: Required. Files to upload. + :paramtype file_content: list[IO] """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/_models_py3.py index dff7ae8fec2..4bb3fed9104 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -37,11 +37,11 @@ class Paths1MqqetpFormdataStreamUploadfilePostRequestbodyContentMultipartFormDat All required parameters must be populated in order to send to Azure. - :param file_content: Required. File to upload. - :type file_content: IO - :param file_name: Required. File name to upload. Name has to be spelled exactly as written + :keyword file_content: Required. File to upload. + :paramtype file_content: IO + :keyword file_name: Required. File name to upload. Name has to be spelled exactly as written here. - :type file_name: str + :paramtype file_name: str """ _validation = { @@ -67,8 +67,8 @@ class Paths1P3Stk3FormdataStreamUploadfilesPostRequestbodyContentMultipartFormDa All required parameters must be populated in order to send to Azure. - :param file_content: Required. Files to upload. - :type file_content: list[IO] + :keyword file_content: Required. Files to upload. + :paramtype file_content: list[IO] """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/models/_models.py index 50bae4d73a0..86987e5fee8 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -39,8 +39,8 @@ class RefColorConstant(msrest.serialization.Model): :ivar color_constant: Referenced Color Constant Description. Has constant value: "green-color". :vartype color_constant: str - :param field1: Sample string. - :type field1: str + :keyword field1: Sample string. + :paramtype field1: str """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/models/_models_py3.py index 236df42ec85..dc783eb2c2e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -41,8 +41,8 @@ class RefColorConstant(msrest.serialization.Model): :ivar color_constant: Referenced Color Constant Description. Has constant value: "green-color". :vartype color_constant: str - :param field1: Sample string. - :type field1: str + :keyword field1: Sample string. + :paramtype field1: str """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/models/_models.py index 2c36e865ba5..c3128f65588 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/models/_models.py @@ -12,8 +12,8 @@ class ModelAsStringNoRequiredOneValueDefault(msrest.serialization.Model): """ModelAsStringNoRequiredOneValueDefault. - :param parameter: Possible values include: "value1". - :type parameter: str or ~constants.models.ModelAsStringNoRequiredOneValueDefaultEnum + :keyword parameter: Possible values include: "value1". + :paramtype parameter: str or ~constants.models.ModelAsStringNoRequiredOneValueDefaultEnum """ _attribute_map = { @@ -28,8 +28,8 @@ def __init__(self, **kwargs): class ModelAsStringNoRequiredOneValueNoDefault(msrest.serialization.Model): """ModelAsStringNoRequiredOneValueNoDefault. - :param parameter: Possible values include: "value1". - :type parameter: str or ~constants.models.ModelAsStringNoRequiredOneValueNoDefaultEnum + :keyword parameter: Possible values include: "value1". + :paramtype parameter: str or ~constants.models.ModelAsStringNoRequiredOneValueNoDefaultEnum """ _attribute_map = { @@ -44,8 +44,8 @@ def __init__(self, **kwargs): class ModelAsStringNoRequiredTwoValueDefault(msrest.serialization.Model): """ModelAsStringNoRequiredTwoValueDefault. - :param parameter: Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.ModelAsStringNoRequiredTwoValueDefaultEnum + :keyword parameter: Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.ModelAsStringNoRequiredTwoValueDefaultEnum """ _attribute_map = { @@ -60,8 +60,8 @@ def __init__(self, **kwargs): class ModelAsStringNoRequiredTwoValueNoDefault(msrest.serialization.Model): """ModelAsStringNoRequiredTwoValueNoDefault. - :param parameter: Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.ModelAsStringNoRequiredTwoValueNoDefaultEnum + :keyword parameter: Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.ModelAsStringNoRequiredTwoValueNoDefaultEnum """ _attribute_map = { @@ -78,8 +78,8 @@ class ModelAsStringRequiredOneValueDefault(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param parameter: Required. Possible values include: "value1". - :type parameter: str or ~constants.models.ModelAsStringRequiredOneValueDefaultEnum + :keyword parameter: Required. Possible values include: "value1". + :paramtype parameter: str or ~constants.models.ModelAsStringRequiredOneValueDefaultEnum """ _validation = { @@ -100,8 +100,8 @@ class ModelAsStringRequiredOneValueNoDefault(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param parameter: Required. Possible values include: "value1". - :type parameter: str or ~constants.models.ModelAsStringRequiredOneValueNoDefaultEnum + :keyword parameter: Required. Possible values include: "value1". + :paramtype parameter: str or ~constants.models.ModelAsStringRequiredOneValueNoDefaultEnum """ _validation = { @@ -122,8 +122,8 @@ class ModelAsStringRequiredTwoValueDefault(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param parameter: Required. Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.ModelAsStringRequiredTwoValueDefaultEnum + :keyword parameter: Required. Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.ModelAsStringRequiredTwoValueDefaultEnum """ _validation = { @@ -144,8 +144,8 @@ class ModelAsStringRequiredTwoValueNoDefault(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param parameter: Required. Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.ModelAsStringRequiredTwoValueNoDefaultEnum + :keyword parameter: Required. Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.ModelAsStringRequiredTwoValueNoDefaultEnum """ _validation = { @@ -164,9 +164,9 @@ def __init__(self, **kwargs): class NoModelAsStringNoRequiredOneValueDefault(msrest.serialization.Model): """NoModelAsStringNoRequiredOneValueDefault. - :param parameter: The only acceptable values to pass in are None and "value1". The default + :keyword parameter: The only acceptable values to pass in are None and "value1". The default value is "value1". - :type parameter: str + :paramtype parameter: str """ _attribute_map = { @@ -181,9 +181,9 @@ def __init__(self, **kwargs): class NoModelAsStringNoRequiredOneValueNoDefault(msrest.serialization.Model): """NoModelAsStringNoRequiredOneValueNoDefault. - :param parameter: The only acceptable values to pass in are None and "value1". The default + :keyword parameter: The only acceptable values to pass in are None and "value1". The default value is None. - :type parameter: str + :paramtype parameter: str """ _attribute_map = { @@ -198,8 +198,8 @@ def __init__(self, **kwargs): class NoModelAsStringNoRequiredTwoValueDefault(msrest.serialization.Model): """NoModelAsStringNoRequiredTwoValueDefault. - :param parameter: Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.NoModelAsStringNoRequiredTwoValueDefaultEnum + :keyword parameter: Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.NoModelAsStringNoRequiredTwoValueDefaultEnum """ _attribute_map = { @@ -214,8 +214,8 @@ def __init__(self, **kwargs): class NoModelAsStringNoRequiredTwoValueNoDefault(msrest.serialization.Model): """NoModelAsStringNoRequiredTwoValueNoDefault. - :param parameter: Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.NoModelAsStringNoRequiredTwoValueNoDefaultEnum + :keyword parameter: Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.NoModelAsStringNoRequiredTwoValueNoDefaultEnum """ _attribute_map = { @@ -282,8 +282,8 @@ class NoModelAsStringRequiredTwoValueDefault(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param parameter: Required. Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.NoModelAsStringRequiredTwoValueDefaultEnum + :keyword parameter: Required. Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.NoModelAsStringRequiredTwoValueDefaultEnum """ _validation = { @@ -304,8 +304,8 @@ class NoModelAsStringRequiredTwoValueNoDefault(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param parameter: Required. Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.NoModelAsStringRequiredTwoValueNoDefaultEnum + :keyword parameter: Required. Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.NoModelAsStringRequiredTwoValueNoDefaultEnum """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/models/_models_py3.py index c62571056ea..b636eb2fa9b 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/models/_models_py3.py @@ -16,8 +16,8 @@ class ModelAsStringNoRequiredOneValueDefault(msrest.serialization.Model): """ModelAsStringNoRequiredOneValueDefault. - :param parameter: Possible values include: "value1". - :type parameter: str or ~constants.models.ModelAsStringNoRequiredOneValueDefaultEnum + :keyword parameter: Possible values include: "value1". + :paramtype parameter: str or ~constants.models.ModelAsStringNoRequiredOneValueDefaultEnum """ _attribute_map = { @@ -34,8 +34,8 @@ def __init__( class ModelAsStringNoRequiredOneValueNoDefault(msrest.serialization.Model): """ModelAsStringNoRequiredOneValueNoDefault. - :param parameter: Possible values include: "value1". - :type parameter: str or ~constants.models.ModelAsStringNoRequiredOneValueNoDefaultEnum + :keyword parameter: Possible values include: "value1". + :paramtype parameter: str or ~constants.models.ModelAsStringNoRequiredOneValueNoDefaultEnum """ _attribute_map = { @@ -52,8 +52,8 @@ def __init__( class ModelAsStringNoRequiredTwoValueDefault(msrest.serialization.Model): """ModelAsStringNoRequiredTwoValueDefault. - :param parameter: Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.ModelAsStringNoRequiredTwoValueDefaultEnum + :keyword parameter: Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.ModelAsStringNoRequiredTwoValueDefaultEnum """ _attribute_map = { @@ -70,8 +70,8 @@ def __init__( class ModelAsStringNoRequiredTwoValueNoDefault(msrest.serialization.Model): """ModelAsStringNoRequiredTwoValueNoDefault. - :param parameter: Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.ModelAsStringNoRequiredTwoValueNoDefaultEnum + :keyword parameter: Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.ModelAsStringNoRequiredTwoValueNoDefaultEnum """ _attribute_map = { @@ -90,8 +90,8 @@ class ModelAsStringRequiredOneValueDefault(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param parameter: Required. Possible values include: "value1". - :type parameter: str or ~constants.models.ModelAsStringRequiredOneValueDefaultEnum + :keyword parameter: Required. Possible values include: "value1". + :paramtype parameter: str or ~constants.models.ModelAsStringRequiredOneValueDefaultEnum """ _validation = { @@ -112,8 +112,8 @@ class ModelAsStringRequiredOneValueNoDefault(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param parameter: Required. Possible values include: "value1". - :type parameter: str or ~constants.models.ModelAsStringRequiredOneValueNoDefaultEnum + :keyword parameter: Required. Possible values include: "value1". + :paramtype parameter: str or ~constants.models.ModelAsStringRequiredOneValueNoDefaultEnum """ _validation = { @@ -134,8 +134,8 @@ class ModelAsStringRequiredTwoValueDefault(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param parameter: Required. Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.ModelAsStringRequiredTwoValueDefaultEnum + :keyword parameter: Required. Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.ModelAsStringRequiredTwoValueDefaultEnum """ _validation = { @@ -156,8 +156,8 @@ class ModelAsStringRequiredTwoValueNoDefault(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param parameter: Required. Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.ModelAsStringRequiredTwoValueNoDefaultEnum + :keyword parameter: Required. Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.ModelAsStringRequiredTwoValueNoDefaultEnum """ _validation = { @@ -176,9 +176,9 @@ def __init__(self, *, parameter: Union[str, "ModelAsStringRequiredTwoValueNoDefa class NoModelAsStringNoRequiredOneValueDefault(msrest.serialization.Model): """NoModelAsStringNoRequiredOneValueDefault. - :param parameter: The only acceptable values to pass in are None and "value1". The default + :keyword parameter: The only acceptable values to pass in are None and "value1". The default value is "value1". - :type parameter: str + :paramtype parameter: str """ _attribute_map = { @@ -193,9 +193,9 @@ def __init__(self, *, parameter: Optional[str] = "value1", **kwargs): class NoModelAsStringNoRequiredOneValueNoDefault(msrest.serialization.Model): """NoModelAsStringNoRequiredOneValueNoDefault. - :param parameter: The only acceptable values to pass in are None and "value1". The default + :keyword parameter: The only acceptable values to pass in are None and "value1". The default value is None. - :type parameter: str + :paramtype parameter: str """ _attribute_map = { @@ -210,8 +210,8 @@ def __init__(self, *, parameter: Optional[str] = None, **kwargs): class NoModelAsStringNoRequiredTwoValueDefault(msrest.serialization.Model): """NoModelAsStringNoRequiredTwoValueDefault. - :param parameter: Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.NoModelAsStringNoRequiredTwoValueDefaultEnum + :keyword parameter: Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.NoModelAsStringNoRequiredTwoValueDefaultEnum """ _attribute_map = { @@ -228,8 +228,8 @@ def __init__( class NoModelAsStringNoRequiredTwoValueNoDefault(msrest.serialization.Model): """NoModelAsStringNoRequiredTwoValueNoDefault. - :param parameter: Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.NoModelAsStringNoRequiredTwoValueNoDefaultEnum + :keyword parameter: Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.NoModelAsStringNoRequiredTwoValueNoDefaultEnum """ _attribute_map = { @@ -298,8 +298,8 @@ class NoModelAsStringRequiredTwoValueDefault(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param parameter: Required. Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.NoModelAsStringRequiredTwoValueDefaultEnum + :keyword parameter: Required. Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.NoModelAsStringRequiredTwoValueDefaultEnum """ _validation = { @@ -320,8 +320,8 @@ class NoModelAsStringRequiredTwoValueNoDefault(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param parameter: Required. Possible values include: "value1", "value2". - :type parameter: str or ~constants.models.NoModelAsStringRequiredTwoValueNoDefaultEnum + :keyword parameter: Required. Possible values include: "value1", "value2". + :paramtype parameter: str or ~constants.models.NoModelAsStringRequiredTwoValueNoDefaultEnum """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/models/_models.py index 6783a77ad25..c3a8fd3b3cb 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/models/_models.py @@ -14,13 +14,13 @@ class Pet(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: name. - :type name: str - :param days_of_week: Type of Pet. Possible values include: "Monday", "Tuesday", "Wednesday", + :keyword name: name. + :paramtype name: str + :keyword days_of_week: Type of Pet. Possible values include: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday". Default value: "Friday". - :type days_of_week: str or ~extensibleenumsswagger.models.DaysOfWeekExtensibleEnum - :param int_enum: Required. Possible values include: "1", "2", "3". - :type int_enum: str or ~extensibleenumsswagger.models.IntEnum + :paramtype days_of_week: str or ~extensibleenumsswagger.models.DaysOfWeekExtensibleEnum + :keyword int_enum: Required. Possible values include: "1", "2", "3". + :paramtype int_enum: str or ~extensibleenumsswagger.models.IntEnum """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/models/_models_py3.py index be2905c6876..8332d105069 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/models/_models_py3.py @@ -18,13 +18,13 @@ class Pet(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: name. - :type name: str - :param days_of_week: Type of Pet. Possible values include: "Monday", "Tuesday", "Wednesday", + :keyword name: name. + :paramtype name: str + :keyword days_of_week: Type of Pet. Possible values include: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday". Default value: "Friday". - :type days_of_week: str or ~extensibleenumsswagger.models.DaysOfWeekExtensibleEnum - :param int_enum: Required. Possible values include: "1", "2", "3". - :type int_enum: str or ~extensibleenumsswagger.models.IntEnum + :paramtype days_of_week: str or ~extensibleenumsswagger.models.DaysOfWeekExtensibleEnum + :keyword int_enum: Required. Possible values include: "1", "2", "3". + :paramtype int_enum: str or ~extensibleenumsswagger.models.IntEnum """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/_models.py index 335afa0228f..921a283cbe2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/_models.py @@ -13,8 +13,8 @@ class MyException(msrest.serialization.Model): """MyException. - :param status_code: - :type status_code: str + :keyword status_code: + :paramtype status_code: str """ _attribute_map = { @@ -29,10 +29,10 @@ def __init__(self, **kwargs): class B(MyException): """B. - :param status_code: - :type status_code: str - :param text_status_code: - :type text_status_code: str + :keyword status_code: + :paramtype status_code: str + :keyword text_status_code: + :paramtype text_status_code: str """ _attribute_map = { @@ -48,8 +48,8 @@ def __init__(self, **kwargs): class C(msrest.serialization.Model): """C. - :param http_code: - :type http_code: str + :keyword http_code: + :paramtype http_code: str """ _attribute_map = { @@ -64,8 +64,8 @@ def __init__(self, **kwargs): class D(msrest.serialization.Model): """D. - :param http_status_code: - :type http_status_code: str + :keyword http_status_code: + :paramtype http_status_code: str """ _attribute_map = { @@ -80,10 +80,10 @@ def __init__(self, **kwargs): class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/_models_py3.py index 91bec241bc6..0a8a73cf7ae 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/_models_py3.py @@ -15,8 +15,8 @@ class MyException(msrest.serialization.Model): """MyException. - :param status_code: - :type status_code: str + :keyword status_code: + :paramtype status_code: str """ _attribute_map = { @@ -31,10 +31,10 @@ def __init__(self, *, status_code: Optional[str] = None, **kwargs): class B(MyException): """B. - :param status_code: - :type status_code: str - :param text_status_code: - :type text_status_code: str + :keyword status_code: + :paramtype status_code: str + :keyword text_status_code: + :paramtype text_status_code: str """ _attribute_map = { @@ -50,8 +50,8 @@ def __init__(self, *, status_code: Optional[str] = None, text_status_code: Optio class C(msrest.serialization.Model): """C. - :param http_code: - :type http_code: str + :keyword http_code: + :paramtype http_code: str """ _attribute_map = { @@ -66,8 +66,8 @@ def __init__(self, *, http_code: Optional[str] = None, **kwargs): class D(msrest.serialization.Model): """D. - :param http_status_code: - :type http_status_code: str + :keyword http_status_code: + :paramtype http_status_code: str """ _attribute_map = { @@ -82,10 +82,10 @@ def __init__(self, *, http_status_code: Optional[str] = None, **kwargs): class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/_models.py index e225c73d497..0c4a6671ec6 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/_models.py @@ -12,10 +12,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/_models_py3.py index b18834bff48..f1a75c4cf4e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/_models_py3.py @@ -14,10 +14,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/MediaTypes/mediatypes/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/MediaTypes/mediatypes/models/_models.py index 67339fc628e..38b5a94ac88 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/MediaTypes/mediatypes/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/MediaTypes/mediatypes/models/_models.py @@ -12,8 +12,8 @@ class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/MediaTypes/mediatypes/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/MediaTypes/mediatypes/models/_models_py3.py index 8b78b31b124..8c5421735fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/MediaTypes/mediatypes/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/MediaTypes/mediatypes/models/_models_py3.py @@ -14,8 +14,8 @@ class SourcePath(msrest.serialization.Model): """Uri or local path to source data. - :param source: File source path. - :type source: str + :keyword source: File source path. + :paramtype source: str """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ModelFlattening/modelflattening/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/ModelFlattening/modelflattening/models/_models.py index 1db7dc4c8bf..045ebec5795 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ModelFlattening/modelflattening/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ModelFlattening/modelflattening/models/_models.py @@ -15,12 +15,12 @@ class BaseProduct(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param product_id: Required. Unique identifier representing a specific product for a given + :keyword product_id: Required. Unique identifier representing a specific product for a given latitude & longitude. For example, uberX in San Francisco will have a different product_id than uberX in Los Angeles. - :type product_id: str - :param description: Description of product. - :type description: str + :paramtype product_id: str + :keyword description: Description of product. + :paramtype description: str """ _validation = { @@ -41,12 +41,12 @@ def __init__(self, **kwargs): class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str - :param parent_error: - :type parent_error: ~modelflattening.models.Error + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str + :keyword parent_error: + :paramtype parent_error: ~modelflattening.models.Error """ _attribute_map = { @@ -71,10 +71,10 @@ class Resource(msrest.serialization.Model): :vartype id: str :ivar type: Resource Type. :vartype type: str - :param tags: A set of tags. Dictionary of :code:``. - :type tags: dict[str, str] - :param location: Resource Location. - :type location: str + :keyword tags: A set of tags. Dictionary of :code:``. + :paramtype tags: dict[str, str] + :keyword location: Resource Location. + :paramtype location: str :ivar name: Resource Name. :vartype name: str """ @@ -111,22 +111,22 @@ class FlattenedProduct(Resource): :vartype id: str :ivar type: Resource Type. :vartype type: str - :param tags: A set of tags. Dictionary of :code:``. - :type tags: dict[str, str] - :param location: Resource Location. - :type location: str + :keyword tags: A set of tags. Dictionary of :code:``. + :paramtype tags: dict[str, str] + :keyword location: Resource Location. + :paramtype location: str :ivar name: Resource Name. :vartype name: str - :param p_name: - :type p_name: str - :param type_properties_type: - :type type_properties_type: str + :keyword p_name: + :paramtype p_name: str + :keyword type_properties_type: + :paramtype type_properties_type: str :ivar provisioning_state_values: Possible values include: "Succeeded", "Failed", "canceled", "Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "OK". :vartype provisioning_state_values: str or ~modelflattening.models.FlattenedProductPropertiesProvisioningStateValues - :param provisioning_state: - :type provisioning_state: str + :keyword provisioning_state: + :paramtype provisioning_state: str """ _validation = { @@ -161,25 +161,25 @@ class FlattenParameterGroup(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: Required. Product name with value 'groupproduct'. - :type name: str - :param simple_body_product: Simple body product to put. - :type simple_body_product: ~modelflattening.models.SimpleProduct - :param product_id: Required. Unique identifier representing a specific product for a given + :keyword name: Required. Product name with value 'groupproduct'. + :paramtype name: str + :keyword simple_body_product: Simple body product to put. + :paramtype simple_body_product: ~modelflattening.models.SimpleProduct + :keyword product_id: Required. Unique identifier representing a specific product for a given latitude & longitude. For example, uberX in San Francisco will have a different product_id than uberX in Los Angeles. - :type product_id: str - :param description: Description of product. - :type description: str - :param max_product_display_name: Display name of product. - :type max_product_display_name: str - :param capacity: Capacity of product. For example, 4 people. The only acceptable values to pass - in are None and "Large". The default value is None. - :type capacity: str - :param generic_value: Generic URL value. - :type generic_value: str - :param odata_value: URL value. - :type odata_value: str + :paramtype product_id: str + :keyword description: Description of product. + :paramtype description: str + :keyword max_product_display_name: Display name of product. + :paramtype max_product_display_name: str + :keyword capacity: Capacity of product. For example, 4 people. The only acceptable values to + pass in are None and "Large". The default value is None. + :paramtype capacity: str + :keyword generic_value: Generic URL value. + :paramtype generic_value: str + :keyword odata_value: URL value. + :paramtype odata_value: str """ _validation = { @@ -213,8 +213,8 @@ def __init__(self, **kwargs): class GenericUrl(msrest.serialization.Model): """The Generic URL. - :param generic_value: Generic URL value. - :type generic_value: str + :keyword generic_value: Generic URL value. + :paramtype generic_value: str """ _attribute_map = { @@ -229,10 +229,10 @@ def __init__(self, **kwargs): class ProductUrl(GenericUrl): """The product URL. - :param generic_value: Generic URL value. - :type generic_value: str - :param odata_value: URL value. - :type odata_value: str + :keyword generic_value: Generic URL value. + :paramtype generic_value: str + :keyword odata_value: URL value. + :paramtype odata_value: str """ _attribute_map = { @@ -248,8 +248,8 @@ def __init__(self, **kwargs): class ProductWrapper(msrest.serialization.Model): """The wrapped produc. - :param value: the product value. - :type value: str + :keyword value: the product value. + :paramtype value: str """ _attribute_map = { @@ -264,12 +264,12 @@ def __init__(self, **kwargs): class ResourceCollection(msrest.serialization.Model): """ResourceCollection. - :param productresource: Flattened product. - :type productresource: ~modelflattening.models.FlattenedProduct - :param arrayofresources: - :type arrayofresources: list[~modelflattening.models.FlattenedProduct] - :param dictionaryofresources: Dictionary of :code:``. - :type dictionaryofresources: dict[str, ~modelflattening.models.FlattenedProduct] + :keyword productresource: Flattened product. + :paramtype productresource: ~modelflattening.models.FlattenedProduct + :keyword arrayofresources: + :paramtype arrayofresources: list[~modelflattening.models.FlattenedProduct] + :keyword dictionaryofresources: Dictionary of :code:``. + :paramtype dictionaryofresources: dict[str, ~modelflattening.models.FlattenedProduct] """ _attribute_map = { @@ -290,21 +290,21 @@ class SimpleProduct(BaseProduct): All required parameters must be populated in order to send to Azure. - :param product_id: Required. Unique identifier representing a specific product for a given + :keyword product_id: Required. Unique identifier representing a specific product for a given latitude & longitude. For example, uberX in San Francisco will have a different product_id than uberX in Los Angeles. - :type product_id: str - :param description: Description of product. - :type description: str - :param max_product_display_name: Display name of product. - :type max_product_display_name: str - :param capacity: Capacity of product. For example, 4 people. The only acceptable values to pass - in are None and "Large". The default value is None. - :type capacity: str - :param generic_value: Generic URL value. - :type generic_value: str - :param odata_value: URL value. - :type odata_value: str + :paramtype product_id: str + :keyword description: Description of product. + :paramtype description: str + :keyword max_product_display_name: Display name of product. + :paramtype max_product_display_name: str + :keyword capacity: Capacity of product. For example, 4 people. The only acceptable values to + pass in are None and "Large". The default value is None. + :paramtype capacity: str + :keyword generic_value: Generic URL value. + :paramtype generic_value: str + :keyword odata_value: URL value. + :paramtype odata_value: str """ _validation = { @@ -331,8 +331,8 @@ def __init__(self, **kwargs): class WrappedProduct(msrest.serialization.Model): """The wrapped produc. - :param value: the product value. - :type value: str + :keyword value: the product value. + :paramtype value: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ModelFlattening/modelflattening/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/ModelFlattening/modelflattening/models/_models_py3.py index 356b1ea37bf..f3d72ebf038 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ModelFlattening/modelflattening/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ModelFlattening/modelflattening/models/_models_py3.py @@ -17,12 +17,12 @@ class BaseProduct(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param product_id: Required. Unique identifier representing a specific product for a given + :keyword product_id: Required. Unique identifier representing a specific product for a given latitude & longitude. For example, uberX in San Francisco will have a different product_id than uberX in Los Angeles. - :type product_id: str - :param description: Description of product. - :type description: str + :paramtype product_id: str + :keyword description: Description of product. + :paramtype description: str """ _validation = { @@ -43,12 +43,12 @@ def __init__(self, *, product_id: str, description: Optional[str] = None, **kwar class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str - :param parent_error: - :type parent_error: ~modelflattening.models.Error + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str + :keyword parent_error: + :paramtype parent_error: ~modelflattening.models.Error """ _attribute_map = { @@ -80,10 +80,10 @@ class Resource(msrest.serialization.Model): :vartype id: str :ivar type: Resource Type. :vartype type: str - :param tags: A set of tags. Dictionary of :code:``. - :type tags: dict[str, str] - :param location: Resource Location. - :type location: str + :keyword tags: A set of tags. Dictionary of :code:``. + :paramtype tags: dict[str, str] + :keyword location: Resource Location. + :paramtype location: str :ivar name: Resource Name. :vartype name: str """ @@ -120,22 +120,22 @@ class FlattenedProduct(Resource): :vartype id: str :ivar type: Resource Type. :vartype type: str - :param tags: A set of tags. Dictionary of :code:``. - :type tags: dict[str, str] - :param location: Resource Location. - :type location: str + :keyword tags: A set of tags. Dictionary of :code:``. + :paramtype tags: dict[str, str] + :keyword location: Resource Location. + :paramtype location: str :ivar name: Resource Name. :vartype name: str - :param p_name: - :type p_name: str - :param type_properties_type: - :type type_properties_type: str + :keyword p_name: + :paramtype p_name: str + :keyword type_properties_type: + :paramtype type_properties_type: str :ivar provisioning_state_values: Possible values include: "Succeeded", "Failed", "canceled", "Accepted", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "OK". :vartype provisioning_state_values: str or ~modelflattening.models.FlattenedProductPropertiesProvisioningStateValues - :param provisioning_state: - :type provisioning_state: str + :keyword provisioning_state: + :paramtype provisioning_state: str """ _validation = { @@ -179,25 +179,25 @@ class FlattenParameterGroup(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: Required. Product name with value 'groupproduct'. - :type name: str - :param simple_body_product: Simple body product to put. - :type simple_body_product: ~modelflattening.models.SimpleProduct - :param product_id: Required. Unique identifier representing a specific product for a given + :keyword name: Required. Product name with value 'groupproduct'. + :paramtype name: str + :keyword simple_body_product: Simple body product to put. + :paramtype simple_body_product: ~modelflattening.models.SimpleProduct + :keyword product_id: Required. Unique identifier representing a specific product for a given latitude & longitude. For example, uberX in San Francisco will have a different product_id than uberX in Los Angeles. - :type product_id: str - :param description: Description of product. - :type description: str - :param max_product_display_name: Display name of product. - :type max_product_display_name: str - :param capacity: Capacity of product. For example, 4 people. The only acceptable values to pass - in are None and "Large". The default value is None. - :type capacity: str - :param generic_value: Generic URL value. - :type generic_value: str - :param odata_value: URL value. - :type odata_value: str + :paramtype product_id: str + :keyword description: Description of product. + :paramtype description: str + :keyword max_product_display_name: Display name of product. + :paramtype max_product_display_name: str + :keyword capacity: Capacity of product. For example, 4 people. The only acceptable values to + pass in are None and "Large". The default value is None. + :paramtype capacity: str + :keyword generic_value: Generic URL value. + :paramtype generic_value: str + :keyword odata_value: URL value. + :paramtype odata_value: str """ _validation = { @@ -243,8 +243,8 @@ def __init__( class GenericUrl(msrest.serialization.Model): """The Generic URL. - :param generic_value: Generic URL value. - :type generic_value: str + :keyword generic_value: Generic URL value. + :paramtype generic_value: str """ _attribute_map = { @@ -259,10 +259,10 @@ def __init__(self, *, generic_value: Optional[str] = None, **kwargs): class ProductUrl(GenericUrl): """The product URL. - :param generic_value: Generic URL value. - :type generic_value: str - :param odata_value: URL value. - :type odata_value: str + :keyword generic_value: Generic URL value. + :paramtype generic_value: str + :keyword odata_value: URL value. + :paramtype odata_value: str """ _attribute_map = { @@ -278,8 +278,8 @@ def __init__(self, *, generic_value: Optional[str] = None, odata_value: Optional class ProductWrapper(msrest.serialization.Model): """The wrapped produc. - :param value: the product value. - :type value: str + :keyword value: the product value. + :paramtype value: str """ _attribute_map = { @@ -294,12 +294,12 @@ def __init__(self, *, value: Optional[str] = None, **kwargs): class ResourceCollection(msrest.serialization.Model): """ResourceCollection. - :param productresource: Flattened product. - :type productresource: ~modelflattening.models.FlattenedProduct - :param arrayofresources: - :type arrayofresources: list[~modelflattening.models.FlattenedProduct] - :param dictionaryofresources: Dictionary of :code:``. - :type dictionaryofresources: dict[str, ~modelflattening.models.FlattenedProduct] + :keyword productresource: Flattened product. + :paramtype productresource: ~modelflattening.models.FlattenedProduct + :keyword arrayofresources: + :paramtype arrayofresources: list[~modelflattening.models.FlattenedProduct] + :keyword dictionaryofresources: Dictionary of :code:``. + :paramtype dictionaryofresources: dict[str, ~modelflattening.models.FlattenedProduct] """ _attribute_map = { @@ -327,21 +327,21 @@ class SimpleProduct(BaseProduct): All required parameters must be populated in order to send to Azure. - :param product_id: Required. Unique identifier representing a specific product for a given + :keyword product_id: Required. Unique identifier representing a specific product for a given latitude & longitude. For example, uberX in San Francisco will have a different product_id than uberX in Los Angeles. - :type product_id: str - :param description: Description of product. - :type description: str - :param max_product_display_name: Display name of product. - :type max_product_display_name: str - :param capacity: Capacity of product. For example, 4 people. The only acceptable values to pass - in are None and "Large". The default value is None. - :type capacity: str - :param generic_value: Generic URL value. - :type generic_value: str - :param odata_value: URL value. - :type odata_value: str + :paramtype product_id: str + :keyword description: Description of product. + :paramtype description: str + :keyword max_product_display_name: Display name of product. + :paramtype max_product_display_name: str + :keyword capacity: Capacity of product. For example, 4 people. The only acceptable values to + pass in are None and "Large". The default value is None. + :paramtype capacity: str + :keyword generic_value: Generic URL value. + :paramtype generic_value: str + :keyword odata_value: URL value. + :paramtype odata_value: str """ _validation = { @@ -378,8 +378,8 @@ def __init__( class WrappedProduct(msrest.serialization.Model): """The wrapped produc. - :param value: the product value. - :type value: str + :keyword value: the product value. + :paramtype value: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/_models.py index c6d6d555526..eae399bddaf 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/_models.py @@ -13,10 +13,10 @@ class Feline(msrest.serialization.Model): """Feline. - :param meows: - :type meows: bool - :param hisses: - :type hisses: bool + :keyword meows: + :paramtype meows: bool + :keyword hisses: + :paramtype hisses: bool """ _attribute_map = { @@ -35,8 +35,8 @@ class Pet(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: Required. - :type name: str + :keyword name: Required. + :paramtype name: str """ _validation = { @@ -57,14 +57,14 @@ class Cat(Pet, Feline): All required parameters must be populated in order to send to Azure. - :param meows: - :type meows: bool - :param hisses: - :type hisses: bool - :param name: Required. - :type name: str - :param likes_milk: - :type likes_milk: bool + :keyword meows: + :paramtype meows: bool + :keyword hisses: + :paramtype hisses: bool + :keyword name: Required. + :paramtype name: str + :keyword likes_milk: + :paramtype likes_milk: bool """ _validation = { @@ -90,10 +90,10 @@ def __init__(self, **kwargs): class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -112,10 +112,10 @@ class Horse(Pet): All required parameters must be populated in order to send to Azure. - :param name: Required. - :type name: str - :param is_a_show_horse: - :type is_a_show_horse: bool + :keyword name: Required. + :paramtype name: str + :keyword is_a_show_horse: + :paramtype is_a_show_horse: bool """ _validation = { @@ -137,16 +137,16 @@ class Kitten(Cat): All required parameters must be populated in order to send to Azure. - :param meows: - :type meows: bool - :param hisses: - :type hisses: bool - :param name: Required. - :type name: str - :param likes_milk: - :type likes_milk: bool - :param eats_mice_yet: - :type eats_mice_yet: bool + :keyword meows: + :paramtype meows: bool + :keyword hisses: + :paramtype hisses: bool + :keyword name: Required. + :paramtype name: str + :keyword likes_milk: + :paramtype likes_milk: bool + :keyword eats_mice_yet: + :paramtype eats_mice_yet: bool """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/_models_py3.py index 1011bf5d0ec..8bdc704bb28 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/_models_py3.py @@ -15,10 +15,10 @@ class Feline(msrest.serialization.Model): """Feline. - :param meows: - :type meows: bool - :param hisses: - :type hisses: bool + :keyword meows: + :paramtype meows: bool + :keyword hisses: + :paramtype hisses: bool """ _attribute_map = { @@ -37,8 +37,8 @@ class Pet(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: Required. - :type name: str + :keyword name: Required. + :paramtype name: str """ _validation = { @@ -59,14 +59,14 @@ class Cat(Pet, Feline): All required parameters must be populated in order to send to Azure. - :param meows: - :type meows: bool - :param hisses: - :type hisses: bool - :param name: Required. - :type name: str - :param likes_milk: - :type likes_milk: bool + :keyword meows: + :paramtype meows: bool + :keyword hisses: + :paramtype hisses: bool + :keyword name: Required. + :paramtype name: str + :keyword likes_milk: + :paramtype likes_milk: bool """ _validation = { @@ -100,10 +100,10 @@ def __init__( class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -122,10 +122,10 @@ class Horse(Pet): All required parameters must be populated in order to send to Azure. - :param name: Required. - :type name: str - :param is_a_show_horse: - :type is_a_show_horse: bool + :keyword name: Required. + :paramtype name: str + :keyword is_a_show_horse: + :paramtype is_a_show_horse: bool """ _validation = { @@ -147,16 +147,16 @@ class Kitten(Cat): All required parameters must be populated in order to send to Azure. - :param meows: - :type meows: bool - :param hisses: - :type hisses: bool - :param name: Required. - :type name: str - :param likes_milk: - :type likes_milk: bool - :param eats_mice_yet: - :type eats_mice_yet: bool + :keyword meows: + :paramtype meows: bool + :keyword hisses: + :paramtype hisses: bool + :keyword name: Required. + :paramtype name: str + :keyword likes_milk: + :paramtype likes_milk: bool + :keyword eats_mice_yet: + :paramtype eats_mice_yet: bool """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/_models.py index e225c73d497..0c4a6671ec6 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/_models.py @@ -12,10 +12,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/_models_py3.py index b18834bff48..f1a75c4cf4e 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/_models_py3.py @@ -14,10 +14,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/_models.py index fffd55da0f5..df3d1dc5e95 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/_models.py @@ -14,8 +14,8 @@ class AvailabilitySetUpdateParameters(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param tags: Required. A set of tags. A description about the set of tags. - :type tags: dict[str, str] + :keyword tags: Required. A set of tags. A description about the set of tags. + :paramtype tags: dict[str, str] """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/_models_py3.py index 6a02295660f..635b986e3aa 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/_models_py3.py @@ -16,8 +16,8 @@ class AvailabilitySetUpdateParameters(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param tags: Required. A set of tags. A description about the set of tags. - :type tags: dict[str, str] + :keyword tags: Required. A set of tags. A description about the set of tags. + :paramtype tags: dict[str, str] """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/_models.py index 6abb3afafb6..2365c18b365 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/_models.py @@ -13,8 +13,8 @@ class ArrayOptionalWrapper(msrest.serialization.Model): """ArrayOptionalWrapper. - :param value: - :type value: list[str] + :keyword value: + :paramtype value: list[str] """ _attribute_map = { @@ -31,8 +31,8 @@ class ArrayWrapper(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. - :type value: list[str] + :keyword value: Required. + :paramtype value: list[str] """ _validation = { @@ -51,8 +51,8 @@ def __init__(self, **kwargs): class ClassOptionalWrapper(msrest.serialization.Model): """ClassOptionalWrapper. - :param value: - :type value: ~requiredoptional.models.Product + :keyword value: + :paramtype value: ~requiredoptional.models.Product """ _attribute_map = { @@ -69,8 +69,8 @@ class ClassWrapper(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. - :type value: ~requiredoptional.models.Product + :keyword value: Required. + :paramtype value: ~requiredoptional.models.Product """ _validation = { @@ -89,10 +89,10 @@ def __init__(self, **kwargs): class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -109,8 +109,8 @@ def __init__(self, **kwargs): class IntOptionalWrapper(msrest.serialization.Model): """IntOptionalWrapper. - :param value: - :type value: int + :keyword value: + :paramtype value: int """ _attribute_map = { @@ -127,8 +127,8 @@ class IntWrapper(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. - :type value: int + :keyword value: Required. + :paramtype value: int """ _validation = { @@ -149,10 +149,10 @@ class Product(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param name: - :type name: str + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str """ _validation = { @@ -173,8 +173,8 @@ def __init__(self, **kwargs): class StringOptionalWrapper(msrest.serialization.Model): """StringOptionalWrapper. - :param value: - :type value: str + :keyword value: + :paramtype value: str """ _attribute_map = { @@ -191,8 +191,8 @@ class StringWrapper(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. - :type value: str + :keyword value: Required. + :paramtype value: str """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/_models_py3.py index e7689ba5513..2232ed89a31 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/_models_py3.py @@ -15,8 +15,8 @@ class ArrayOptionalWrapper(msrest.serialization.Model): """ArrayOptionalWrapper. - :param value: - :type value: list[str] + :keyword value: + :paramtype value: list[str] """ _attribute_map = { @@ -33,8 +33,8 @@ class ArrayWrapper(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. - :type value: list[str] + :keyword value: Required. + :paramtype value: list[str] """ _validation = { @@ -53,8 +53,8 @@ def __init__(self, *, value: List[str], **kwargs): class ClassOptionalWrapper(msrest.serialization.Model): """ClassOptionalWrapper. - :param value: - :type value: ~requiredoptional.models.Product + :keyword value: + :paramtype value: ~requiredoptional.models.Product """ _attribute_map = { @@ -71,8 +71,8 @@ class ClassWrapper(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. - :type value: ~requiredoptional.models.Product + :keyword value: Required. + :paramtype value: ~requiredoptional.models.Product """ _validation = { @@ -91,10 +91,10 @@ def __init__(self, *, value: "Product", **kwargs): class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -111,8 +111,8 @@ def __init__(self, *, status: Optional[int] = None, message: Optional[str] = Non class IntOptionalWrapper(msrest.serialization.Model): """IntOptionalWrapper. - :param value: - :type value: int + :keyword value: + :paramtype value: int """ _attribute_map = { @@ -129,8 +129,8 @@ class IntWrapper(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. - :type value: int + :keyword value: Required. + :paramtype value: int """ _validation = { @@ -151,10 +151,10 @@ class Product(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. - :type id: int - :param name: - :type name: str + :keyword id: Required. + :paramtype id: int + :keyword name: + :paramtype name: str """ _validation = { @@ -175,8 +175,8 @@ def __init__(self, *, id: int, name: Optional[str] = None, **kwargs): class StringOptionalWrapper(msrest.serialization.Model): """StringOptionalWrapper. - :param value: - :type value: str + :keyword value: + :paramtype value: str """ _attribute_map = { @@ -193,8 +193,8 @@ class StringWrapper(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. - :type value: str + :keyword value: Required. + :paramtype value: str """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Url/url/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/_models.py index 829e38e7107..23723725b2d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/_models.py @@ -13,10 +13,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/_models_py3.py index 3a090b5ae15..2352534c0fc 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/_models_py3.py @@ -15,10 +15,10 @@ class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/_models.py index b517ba12c17..0a2f88e9769 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/_models.py @@ -19,8 +19,8 @@ class ChildProduct(msrest.serialization.Model): :ivar const_property: Constant string. Has constant value: "constant". :vartype const_property: str - :param count: Count. - :type count: int + :keyword count: Count. + :paramtype count: int """ _validation = { @@ -72,12 +72,12 @@ def __init__(self, **kwargs): class Error(msrest.serialization.Model): """Error. - :param code: - :type code: int - :param message: - :type message: str - :param fields: - :type fields: str + :keyword code: + :paramtype code: int + :keyword message: + :paramtype message: str + :keyword fields: + :paramtype fields: str """ _attribute_map = { @@ -100,23 +100,23 @@ class Product(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param display_names: Non required array of unique items from 0 to 6 elements. - :type display_names: list[str] - :param capacity: Non required int betwen 0 and 100 exclusive. - :type capacity: int - :param image: Image URL representing the product. - :type image: str - :param child: Required. The product documentation. - :type child: ~validation.models.ChildProduct - :param const_child: Required. The product documentation. - :type const_child: ~validation.models.ConstantProduct + :keyword display_names: Non required array of unique items from 0 to 6 elements. + :paramtype display_names: list[str] + :keyword capacity: Non required int betwen 0 and 100 exclusive. + :paramtype capacity: int + :keyword image: Image URL representing the product. + :paramtype image: str + :keyword child: Required. The product documentation. + :paramtype child: ~validation.models.ChildProduct + :keyword const_child: Required. The product documentation. + :paramtype const_child: ~validation.models.ConstantProduct :ivar const_int: Constant int. Has constant value: 0. :vartype const_int: int :ivar const_string: Constant string. Has constant value: "constant". :vartype const_string: str - :param const_string_as_enum: Constant string as Enum. The only acceptable values to pass in are - None and "constant_string_as_enum". The default value is None. - :type const_string_as_enum: str + :keyword const_string_as_enum: Constant string as Enum. The only acceptable values to pass in + are None and "constant_string_as_enum". The default value is None. + :paramtype const_string_as_enum: str """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/_models_py3.py index 0e77bb9c137..778e5a91fa2 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/_models_py3.py @@ -21,8 +21,8 @@ class ChildProduct(msrest.serialization.Model): :ivar const_property: Constant string. Has constant value: "constant". :vartype const_property: str - :param count: Count. - :type count: int + :keyword count: Count. + :paramtype count: int """ _validation = { @@ -74,12 +74,12 @@ def __init__(self, **kwargs): class Error(msrest.serialization.Model): """Error. - :param code: - :type code: int - :param message: - :type message: str - :param fields: - :type fields: str + :keyword code: + :paramtype code: int + :keyword message: + :paramtype message: str + :keyword fields: + :paramtype fields: str """ _attribute_map = { @@ -104,23 +104,23 @@ class Product(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param display_names: Non required array of unique items from 0 to 6 elements. - :type display_names: list[str] - :param capacity: Non required int betwen 0 and 100 exclusive. - :type capacity: int - :param image: Image URL representing the product. - :type image: str - :param child: Required. The product documentation. - :type child: ~validation.models.ChildProduct - :param const_child: Required. The product documentation. - :type const_child: ~validation.models.ConstantProduct + :keyword display_names: Non required array of unique items from 0 to 6 elements. + :paramtype display_names: list[str] + :keyword capacity: Non required int betwen 0 and 100 exclusive. + :paramtype capacity: int + :keyword image: Image URL representing the product. + :paramtype image: str + :keyword child: Required. The product documentation. + :paramtype child: ~validation.models.ChildProduct + :keyword const_child: Required. The product documentation. + :paramtype const_child: ~validation.models.ConstantProduct :ivar const_int: Constant int. Has constant value: 0. :vartype const_int: int :ivar const_string: Constant string. Has constant value: "constant". :vartype const_string: str - :param const_string_as_enum: Constant string as Enum. The only acceptable values to pass in are - None and "constant_string_as_enum". The default value is None. - :type const_string_as_enum: str + :keyword const_string_as_enum: Constant string as Enum. The only acceptable values to pass in + are None and "constant_string_as_enum". The default value is None. + :paramtype const_string_as_enum: str """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/models/_models.py index 795c3a2625f..d0c11f6dbc3 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/models/_models.py @@ -15,12 +15,12 @@ class AccessPolicy(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param start: Required. the date-time the policy is active. - :type start: ~datetime.datetime - :param expiry: Required. the date-time the policy expires. - :type expiry: ~datetime.datetime - :param permission: Required. the permissions for the acl policy. - :type permission: str + :keyword start: Required. the date-time the policy is active. + :paramtype start: ~datetime.datetime + :keyword expiry: Required. the date-time the policy expires. + :paramtype expiry: ~datetime.datetime + :keyword permission: Required. the permissions for the acl policy. + :paramtype permission: str """ _validation = { @@ -45,10 +45,10 @@ def __init__(self, **kwargs): class AppleBarrel(msrest.serialization.Model): """A barrel of apples. - :param good_apples: - :type good_apples: list[str] - :param bad_apples: - :type bad_apples: list[str] + :keyword good_apples: + :paramtype good_apples: list[str] + :keyword bad_apples: + :paramtype bad_apples: list[str] """ _attribute_map = { @@ -65,12 +65,12 @@ def __init__(self, **kwargs): class Banana(msrest.serialization.Model): """A banana. - :param name: - :type name: str - :param flavor: - :type flavor: str - :param expiration: The time at which you should reconsider eating this banana. - :type expiration: ~datetime.datetime + :keyword name: + :paramtype name: str + :keyword flavor: + :paramtype flavor: str + :keyword expiration: The time at which you should reconsider eating this banana. + :paramtype expiration: ~datetime.datetime """ _attribute_map = { @@ -92,16 +92,16 @@ class Blob(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: Required. - :type name: str - :param deleted: Required. - :type deleted: bool - :param snapshot: Required. - :type snapshot: str - :param properties: Required. Properties of a blob. - :type properties: ~xmlservice.models.BlobProperties - :param metadata: Dictionary of :code:``. - :type metadata: dict[str, str] + :keyword name: Required. + :paramtype name: str + :keyword deleted: Required. + :paramtype deleted: bool + :keyword snapshot: Required. + :paramtype snapshot: str + :keyword properties: Required. Properties of a blob. + :paramtype properties: ~xmlservice.models.BlobProperties + :keyword metadata: Dictionary of :code:``. + :paramtype metadata: dict[str, str] """ _validation = { @@ -134,8 +134,8 @@ class BlobPrefix(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: Required. - :type name: str + :keyword name: Required. + :paramtype name: str """ _validation = { @@ -156,65 +156,65 @@ class BlobProperties(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param last_modified: Required. - :type last_modified: ~datetime.datetime - :param etag: Required. - :type etag: str - :param content_length: Size in bytes. - :type content_length: long - :param content_type: - :type content_type: str - :param content_encoding: - :type content_encoding: str - :param content_language: - :type content_language: str - :param content_md5: - :type content_md5: str - :param content_disposition: - :type content_disposition: str - :param cache_control: - :type cache_control: str - :param blob_sequence_number: - :type blob_sequence_number: int - :param blob_type: Possible values include: "BlockBlob", "PageBlob", "AppendBlob". - :type blob_type: str or ~xmlservice.models.BlobType - :param lease_status: Possible values include: "locked", "unlocked". - :type lease_status: str or ~xmlservice.models.LeaseStatusType - :param lease_state: Possible values include: "available", "leased", "expired", "breaking", + :keyword last_modified: Required. + :paramtype last_modified: ~datetime.datetime + :keyword etag: Required. + :paramtype etag: str + :keyword content_length: Size in bytes. + :paramtype content_length: long + :keyword content_type: + :paramtype content_type: str + :keyword content_encoding: + :paramtype content_encoding: str + :keyword content_language: + :paramtype content_language: str + :keyword content_md5: + :paramtype content_md5: str + :keyword content_disposition: + :paramtype content_disposition: str + :keyword cache_control: + :paramtype cache_control: str + :keyword blob_sequence_number: + :paramtype blob_sequence_number: int + :keyword blob_type: Possible values include: "BlockBlob", "PageBlob", "AppendBlob". + :paramtype blob_type: str or ~xmlservice.models.BlobType + :keyword lease_status: Possible values include: "locked", "unlocked". + :paramtype lease_status: str or ~xmlservice.models.LeaseStatusType + :keyword lease_state: Possible values include: "available", "leased", "expired", "breaking", "broken". - :type lease_state: str or ~xmlservice.models.LeaseStateType - :param lease_duration: Possible values include: "infinite", "fixed". - :type lease_duration: str or ~xmlservice.models.LeaseDurationType - :param copy_id: - :type copy_id: str - :param copy_status: Possible values include: "pending", "success", "aborted", "failed". - :type copy_status: str or ~xmlservice.models.CopyStatusType - :param copy_source: - :type copy_source: str - :param copy_progress: - :type copy_progress: str - :param copy_completion_time: - :type copy_completion_time: ~datetime.datetime - :param copy_status_description: - :type copy_status_description: str - :param server_encrypted: - :type server_encrypted: bool - :param incremental_copy: - :type incremental_copy: bool - :param destination_snapshot: - :type destination_snapshot: str - :param deleted_time: - :type deleted_time: ~datetime.datetime - :param remaining_retention_days: - :type remaining_retention_days: int - :param access_tier: Possible values include: "P4", "P6", "P10", "P20", "P30", "P40", "P50", + :paramtype lease_state: str or ~xmlservice.models.LeaseStateType + :keyword lease_duration: Possible values include: "infinite", "fixed". + :paramtype lease_duration: str or ~xmlservice.models.LeaseDurationType + :keyword copy_id: + :paramtype copy_id: str + :keyword copy_status: Possible values include: "pending", "success", "aborted", "failed". + :paramtype copy_status: str or ~xmlservice.models.CopyStatusType + :keyword copy_source: + :paramtype copy_source: str + :keyword copy_progress: + :paramtype copy_progress: str + :keyword copy_completion_time: + :paramtype copy_completion_time: ~datetime.datetime + :keyword copy_status_description: + :paramtype copy_status_description: str + :keyword server_encrypted: + :paramtype server_encrypted: bool + :keyword incremental_copy: + :paramtype incremental_copy: bool + :keyword destination_snapshot: + :paramtype destination_snapshot: str + :keyword deleted_time: + :paramtype deleted_time: ~datetime.datetime + :keyword remaining_retention_days: + :paramtype remaining_retention_days: int + :keyword access_tier: Possible values include: "P4", "P6", "P10", "P20", "P30", "P40", "P50", "Hot", "Cool", "Archive". - :type access_tier: str or ~xmlservice.models.AccessTier - :param access_tier_inferred: - :type access_tier_inferred: bool - :param archive_status: Possible values include: "rehydrate-pending-to-hot", + :paramtype access_tier: str or ~xmlservice.models.AccessTier + :keyword access_tier_inferred: + :paramtype access_tier_inferred: bool + :keyword archive_status: Possible values include: "rehydrate-pending-to-hot", "rehydrate-pending-to-cool". - :type archive_status: str or ~xmlservice.models.ArchiveStatus + :paramtype archive_status: str or ~xmlservice.models.ArchiveStatus """ _validation = { @@ -288,10 +288,10 @@ def __init__(self, **kwargs): class Blobs(msrest.serialization.Model): """Blobs. - :param blob_prefix: - :type blob_prefix: list[~xmlservice.models.BlobPrefix] - :param blob: - :type blob: list[~xmlservice.models.Blob] + :keyword blob_prefix: + :paramtype blob_prefix: list[~xmlservice.models.BlobPrefix] + :keyword blob: + :paramtype blob: list[~xmlservice.models.Blob] """ _attribute_map = { @@ -308,8 +308,8 @@ def __init__(self, **kwargs): class ComplexTypeNoMeta(msrest.serialization.Model): """I am a complex type with no XML node. - :param id: The id of the res. - :type id: str + :keyword id: The id of the res. + :paramtype id: str """ _attribute_map = { @@ -324,8 +324,8 @@ def __init__(self, **kwargs): class ComplexTypeWithMeta(msrest.serialization.Model): """I am a complex type with XML node. - :param id: The id of the res. - :type id: str + :keyword id: The id of the res. + :paramtype id: str """ _attribute_map = { @@ -343,12 +343,12 @@ class Container(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: Required. - :type name: str - :param properties: Required. Properties of a container. - :type properties: ~xmlservice.models.ContainerProperties - :param metadata: Dictionary of :code:``. - :type metadata: dict[str, str] + :keyword name: Required. + :paramtype name: str + :keyword properties: Required. Properties of a container. + :paramtype properties: ~xmlservice.models.ContainerProperties + :keyword metadata: Dictionary of :code:``. + :paramtype metadata: dict[str, str] """ _validation = { @@ -374,19 +374,19 @@ class ContainerProperties(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param last_modified: Required. - :type last_modified: ~datetime.datetime - :param etag: Required. - :type etag: str - :param lease_status: Possible values include: "locked", "unlocked". - :type lease_status: str or ~xmlservice.models.LeaseStatusType - :param lease_state: Possible values include: "available", "leased", "expired", "breaking", + :keyword last_modified: Required. + :paramtype last_modified: ~datetime.datetime + :keyword etag: Required. + :paramtype etag: str + :keyword lease_status: Possible values include: "locked", "unlocked". + :paramtype lease_status: str or ~xmlservice.models.LeaseStatusType + :keyword lease_state: Possible values include: "available", "leased", "expired", "breaking", "broken". - :type lease_state: str or ~xmlservice.models.LeaseStateType - :param lease_duration: Possible values include: "infinite", "fixed". - :type lease_duration: str or ~xmlservice.models.LeaseDurationType - :param public_access: Possible values include: "container", "blob". - :type public_access: str or ~xmlservice.models.PublicAccessType + :paramtype lease_state: str or ~xmlservice.models.LeaseStateType + :keyword lease_duration: Possible values include: "infinite", "fixed". + :paramtype lease_duration: str or ~xmlservice.models.LeaseDurationType + :keyword public_access: Possible values include: "container", "blob". + :paramtype public_access: str or ~xmlservice.models.PublicAccessType """ _validation = { @@ -418,24 +418,24 @@ class CorsRule(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param allowed_origins: Required. The origin domains that are permitted to make a request + :keyword allowed_origins: Required. The origin domains that are permitted to make a request against the storage service via CORS. The origin domain is the domain from which the request originates. Note that the origin must be an exact case-sensitive match with the origin that the user age sends to the service. You can also use the wildcard character '*' to allow all origin domains to make requests via CORS. - :type allowed_origins: str - :param allowed_methods: Required. The methods (HTTP request verbs) that the origin domain may + :paramtype allowed_origins: str + :keyword allowed_methods: Required. The methods (HTTP request verbs) that the origin domain may use for a CORS request. (comma separated). - :type allowed_methods: str - :param allowed_headers: Required. the request headers that the origin domain may specify on the - CORS request. - :type allowed_headers: str - :param exposed_headers: Required. The response headers that may be sent in the response to the - CORS request and exposed by the browser to the request issuer. - :type exposed_headers: str - :param max_age_in_seconds: Required. The maximum amount time that a browser should cache the + :paramtype allowed_methods: str + :keyword allowed_headers: Required. the request headers that the origin domain may specify on + the CORS request. + :paramtype allowed_headers: str + :keyword exposed_headers: Required. The response headers that may be sent in the response to + the CORS request and exposed by the browser to the request issuer. + :paramtype exposed_headers: str + :keyword max_age_in_seconds: Required. The maximum amount time that a browser should cache the preflight OPTIONS request. - :type max_age_in_seconds: int + :paramtype max_age_in_seconds: int """ _validation = { @@ -467,10 +467,10 @@ def __init__(self, **kwargs): class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -487,8 +487,8 @@ def __init__(self, **kwargs): class JSONInput(msrest.serialization.Model): """JSONInput. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -503,8 +503,8 @@ def __init__(self, **kwargs): class JSONOutput(msrest.serialization.Model): """JSONOutput. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -521,22 +521,22 @@ class ListBlobsResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param service_endpoint: - :type service_endpoint: str - :param container_name: Required. - :type container_name: str - :param prefix: Required. - :type prefix: str - :param marker: Required. - :type marker: str - :param max_results: Required. - :type max_results: int - :param delimiter: Required. - :type delimiter: str - :param blobs: Required. - :type blobs: ~xmlservice.models.Blobs - :param next_marker: Required. - :type next_marker: str + :keyword service_endpoint: + :paramtype service_endpoint: str + :keyword container_name: Required. + :paramtype container_name: str + :keyword prefix: Required. + :paramtype prefix: str + :keyword marker: Required. + :paramtype marker: str + :keyword max_results: Required. + :paramtype max_results: int + :keyword delimiter: Required. + :paramtype delimiter: str + :keyword blobs: Required. + :paramtype blobs: ~xmlservice.models.Blobs + :keyword next_marker: Required. + :paramtype next_marker: str """ _validation = { @@ -578,18 +578,18 @@ class ListContainersResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param service_endpoint: Required. - :type service_endpoint: str - :param prefix: Required. - :type prefix: str - :param marker: - :type marker: str - :param max_results: Required. - :type max_results: int - :param containers: - :type containers: list[~xmlservice.models.Container] - :param next_marker: Required. - :type next_marker: str + :keyword service_endpoint: Required. + :paramtype service_endpoint: str + :keyword prefix: Required. + :paramtype prefix: str + :keyword marker: + :paramtype marker: str + :keyword max_results: Required. + :paramtype max_results: int + :keyword containers: + :paramtype containers: list[~xmlservice.models.Container] + :keyword next_marker: Required. + :paramtype next_marker: str """ _validation = { @@ -624,16 +624,16 @@ class Logging(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param version: Required. The version of Storage Analytics to configure. - :type version: str - :param delete: Required. Indicates whether all delete requests should be logged. - :type delete: bool - :param read: Required. Indicates whether all read requests should be logged. - :type read: bool - :param write: Required. Indicates whether all write requests should be logged. - :type write: bool - :param retention_policy: Required. the retention policy. - :type retention_policy: ~xmlservice.models.RetentionPolicy + :keyword version: Required. The version of Storage Analytics to configure. + :paramtype version: str + :keyword delete: Required. Indicates whether all delete requests should be logged. + :paramtype delete: bool + :keyword read: Required. Indicates whether all read requests should be logged. + :paramtype read: bool + :keyword write: Required. Indicates whether all write requests should be logged. + :paramtype write: bool + :keyword retention_policy: Required. the retention policy. + :paramtype retention_policy: ~xmlservice.models.RetentionPolicy """ _validation = { @@ -666,15 +666,15 @@ class Metrics(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param version: The version of Storage Analytics to configure. - :type version: str - :param enabled: Required. Indicates whether metrics are enabled for the Blob service. - :type enabled: bool - :param include_apis: Indicates whether metrics should generate summary statistics for called + :keyword version: The version of Storage Analytics to configure. + :paramtype version: str + :keyword enabled: Required. Indicates whether metrics are enabled for the Blob service. + :paramtype enabled: bool + :keyword include_apis: Indicates whether metrics should generate summary statistics for called API operations. - :type include_apis: bool - :param retention_policy: the retention policy. - :type retention_policy: ~xmlservice.models.RetentionPolicy + :paramtype include_apis: bool + :keyword retention_policy: the retention policy. + :paramtype retention_policy: ~xmlservice.models.RetentionPolicy """ _validation = { @@ -699,8 +699,8 @@ def __init__(self, **kwargs): class ModelWithByteProperty(msrest.serialization.Model): """ModelWithByteProperty. - :param bytes: - :type bytes: bytearray + :keyword bytes: + :paramtype bytes: bytearray """ _attribute_map = { @@ -715,8 +715,8 @@ def __init__(self, **kwargs): class ModelWithUrlProperty(msrest.serialization.Model): """ModelWithUrlProperty. - :param url: - :type url: str + :keyword url: + :paramtype url: str """ _attribute_map = { @@ -731,10 +731,10 @@ def __init__(self, **kwargs): class ObjectWithXMsTextProperty(msrest.serialization.Model): """Contans property. - :param language: Returned value should be 'english'. - :type language: str - :param content: Returned value should be 'I am text'. - :type content: str + :keyword language: Returned value should be 'english'. + :paramtype language: str + :keyword content: Returned value should be 'I am text'. + :paramtype content: str """ _attribute_map = { @@ -754,12 +754,12 @@ class RetentionPolicy(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param enabled: Required. Indicates whether a retention policy is enabled for the storage + :keyword enabled: Required. Indicates whether a retention policy is enabled for the storage service. - :type enabled: bool - :param days: Indicates the number of days that metrics or logging or soft-deleted data should + :paramtype enabled: bool + :keyword days: Indicates the number of days that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted. - :type days: int + :paramtype days: int """ _validation = { @@ -781,10 +781,10 @@ def __init__(self, **kwargs): class RootWithRefAndMeta(msrest.serialization.Model): """I am root, and I ref a model WITH meta. - :param ref_to_model: XML will use XMLComplexTypeWithMeta. - :type ref_to_model: ~xmlservice.models.ComplexTypeWithMeta - :param something: Something else (just to avoid flattening). - :type something: str + :keyword ref_to_model: XML will use XMLComplexTypeWithMeta. + :paramtype ref_to_model: ~xmlservice.models.ComplexTypeWithMeta + :keyword something: Something else (just to avoid flattening). + :paramtype something: str """ _attribute_map = { @@ -801,10 +801,10 @@ def __init__(self, **kwargs): class RootWithRefAndNoMeta(msrest.serialization.Model): """I am root, and I ref a model with no meta. - :param ref_to_model: XML will use RefToModel. - :type ref_to_model: ~xmlservice.models.ComplexTypeNoMeta - :param something: Something else (just to avoid flattening). - :type something: str + :keyword ref_to_model: XML will use RefToModel. + :paramtype ref_to_model: ~xmlservice.models.ComplexTypeNoMeta + :keyword something: Something else (just to avoid flattening). + :paramtype something: str """ _attribute_map = { @@ -823,10 +823,10 @@ class SignedIdentifier(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. a unique id. - :type id: str - :param access_policy: Required. The access policy. - :type access_policy: ~xmlservice.models.AccessPolicy + :keyword id: Required. a unique id. + :paramtype id: str + :keyword access_policy: Required. The access policy. + :paramtype access_policy: ~xmlservice.models.AccessPolicy """ _validation = { @@ -849,12 +849,12 @@ def __init__(self, **kwargs): class Slide(msrest.serialization.Model): """A slide in a slideshow. - :param type: - :type type: str - :param title: - :type title: str - :param items: - :type items: list[str] + :keyword type: + :paramtype type: str + :keyword title: + :paramtype title: str + :keyword items: + :paramtype items: list[str] """ _attribute_map = { @@ -874,14 +874,14 @@ def __init__(self, **kwargs): class Slideshow(msrest.serialization.Model): """Data about a slideshow. - :param title: - :type title: str - :param date: - :type date: str - :param author: - :type author: str - :param slides: - :type slides: list[~xmlservice.models.Slide] + :keyword title: + :paramtype title: str + :keyword date: + :paramtype date: str + :keyword author: + :paramtype author: str + :keyword slides: + :paramtype slides: list[~xmlservice.models.Slide] """ _attribute_map = { @@ -903,22 +903,22 @@ def __init__(self, **kwargs): class StorageServiceProperties(msrest.serialization.Model): """Storage Service Properties. - :param logging: Azure Analytics Logging settings. - :type logging: ~xmlservice.models.Logging - :param hour_metrics: A summary of request statistics grouped by API in hourly aggregates for + :keyword logging: Azure Analytics Logging settings. + :paramtype logging: ~xmlservice.models.Logging + :keyword hour_metrics: A summary of request statistics grouped by API in hourly aggregates for blobs. - :type hour_metrics: ~xmlservice.models.Metrics - :param minute_metrics: a summary of request statistics grouped by API in minute aggregates for - blobs. - :type minute_metrics: ~xmlservice.models.Metrics - :param cors: The set of CORS rules. - :type cors: list[~xmlservice.models.CorsRule] - :param default_service_version: The default version to use for requests to the Blob service if - an incoming request's version is not specified. Possible values include version 2008-10-27 and - all more recent versions. - :type default_service_version: str - :param delete_retention_policy: The Delete Retention Policy for the service. - :type delete_retention_policy: ~xmlservice.models.RetentionPolicy + :paramtype hour_metrics: ~xmlservice.models.Metrics + :keyword minute_metrics: a summary of request statistics grouped by API in minute aggregates + for blobs. + :paramtype minute_metrics: ~xmlservice.models.Metrics + :keyword cors: The set of CORS rules. + :paramtype cors: list[~xmlservice.models.CorsRule] + :keyword default_service_version: The default version to use for requests to the Blob service + if an incoming request's version is not specified. Possible values include version 2008-10-27 + and all more recent versions. + :paramtype default_service_version: str + :keyword delete_retention_policy: The Delete Retention Policy for the service. + :paramtype delete_retention_policy: ~xmlservice.models.RetentionPolicy """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/models/_models_py3.py index 39ec8540f62..1bb82e305cb 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/models/_models_py3.py @@ -20,12 +20,12 @@ class AccessPolicy(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param start: Required. the date-time the policy is active. - :type start: ~datetime.datetime - :param expiry: Required. the date-time the policy expires. - :type expiry: ~datetime.datetime - :param permission: Required. the permissions for the acl policy. - :type permission: str + :keyword start: Required. the date-time the policy is active. + :paramtype start: ~datetime.datetime + :keyword expiry: Required. the date-time the policy expires. + :paramtype expiry: ~datetime.datetime + :keyword permission: Required. the permissions for the acl policy. + :paramtype permission: str """ _validation = { @@ -50,10 +50,10 @@ def __init__(self, *, start: datetime.datetime, expiry: datetime.datetime, permi class AppleBarrel(msrest.serialization.Model): """A barrel of apples. - :param good_apples: - :type good_apples: list[str] - :param bad_apples: - :type bad_apples: list[str] + :keyword good_apples: + :paramtype good_apples: list[str] + :keyword bad_apples: + :paramtype bad_apples: list[str] """ _attribute_map = { @@ -70,12 +70,12 @@ def __init__(self, *, good_apples: Optional[List[str]] = None, bad_apples: Optio class Banana(msrest.serialization.Model): """A banana. - :param name: - :type name: str - :param flavor: - :type flavor: str - :param expiration: The time at which you should reconsider eating this banana. - :type expiration: ~datetime.datetime + :keyword name: + :paramtype name: str + :keyword flavor: + :paramtype flavor: str + :keyword expiration: The time at which you should reconsider eating this banana. + :paramtype expiration: ~datetime.datetime """ _attribute_map = { @@ -104,16 +104,16 @@ class Blob(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: Required. - :type name: str - :param deleted: Required. - :type deleted: bool - :param snapshot: Required. - :type snapshot: str - :param properties: Required. Properties of a blob. - :type properties: ~xmlservice.models.BlobProperties - :param metadata: Dictionary of :code:``. - :type metadata: dict[str, str] + :keyword name: Required. + :paramtype name: str + :keyword deleted: Required. + :paramtype deleted: bool + :keyword snapshot: Required. + :paramtype snapshot: str + :keyword properties: Required. Properties of a blob. + :paramtype properties: ~xmlservice.models.BlobProperties + :keyword metadata: Dictionary of :code:``. + :paramtype metadata: dict[str, str] """ _validation = { @@ -155,8 +155,8 @@ class BlobPrefix(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: Required. - :type name: str + :keyword name: Required. + :paramtype name: str """ _validation = { @@ -177,65 +177,65 @@ class BlobProperties(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param last_modified: Required. - :type last_modified: ~datetime.datetime - :param etag: Required. - :type etag: str - :param content_length: Size in bytes. - :type content_length: long - :param content_type: - :type content_type: str - :param content_encoding: - :type content_encoding: str - :param content_language: - :type content_language: str - :param content_md5: - :type content_md5: str - :param content_disposition: - :type content_disposition: str - :param cache_control: - :type cache_control: str - :param blob_sequence_number: - :type blob_sequence_number: int - :param blob_type: Possible values include: "BlockBlob", "PageBlob", "AppendBlob". - :type blob_type: str or ~xmlservice.models.BlobType - :param lease_status: Possible values include: "locked", "unlocked". - :type lease_status: str or ~xmlservice.models.LeaseStatusType - :param lease_state: Possible values include: "available", "leased", "expired", "breaking", + :keyword last_modified: Required. + :paramtype last_modified: ~datetime.datetime + :keyword etag: Required. + :paramtype etag: str + :keyword content_length: Size in bytes. + :paramtype content_length: long + :keyword content_type: + :paramtype content_type: str + :keyword content_encoding: + :paramtype content_encoding: str + :keyword content_language: + :paramtype content_language: str + :keyword content_md5: + :paramtype content_md5: str + :keyword content_disposition: + :paramtype content_disposition: str + :keyword cache_control: + :paramtype cache_control: str + :keyword blob_sequence_number: + :paramtype blob_sequence_number: int + :keyword blob_type: Possible values include: "BlockBlob", "PageBlob", "AppendBlob". + :paramtype blob_type: str or ~xmlservice.models.BlobType + :keyword lease_status: Possible values include: "locked", "unlocked". + :paramtype lease_status: str or ~xmlservice.models.LeaseStatusType + :keyword lease_state: Possible values include: "available", "leased", "expired", "breaking", "broken". - :type lease_state: str or ~xmlservice.models.LeaseStateType - :param lease_duration: Possible values include: "infinite", "fixed". - :type lease_duration: str or ~xmlservice.models.LeaseDurationType - :param copy_id: - :type copy_id: str - :param copy_status: Possible values include: "pending", "success", "aborted", "failed". - :type copy_status: str or ~xmlservice.models.CopyStatusType - :param copy_source: - :type copy_source: str - :param copy_progress: - :type copy_progress: str - :param copy_completion_time: - :type copy_completion_time: ~datetime.datetime - :param copy_status_description: - :type copy_status_description: str - :param server_encrypted: - :type server_encrypted: bool - :param incremental_copy: - :type incremental_copy: bool - :param destination_snapshot: - :type destination_snapshot: str - :param deleted_time: - :type deleted_time: ~datetime.datetime - :param remaining_retention_days: - :type remaining_retention_days: int - :param access_tier: Possible values include: "P4", "P6", "P10", "P20", "P30", "P40", "P50", + :paramtype lease_state: str or ~xmlservice.models.LeaseStateType + :keyword lease_duration: Possible values include: "infinite", "fixed". + :paramtype lease_duration: str or ~xmlservice.models.LeaseDurationType + :keyword copy_id: + :paramtype copy_id: str + :keyword copy_status: Possible values include: "pending", "success", "aborted", "failed". + :paramtype copy_status: str or ~xmlservice.models.CopyStatusType + :keyword copy_source: + :paramtype copy_source: str + :keyword copy_progress: + :paramtype copy_progress: str + :keyword copy_completion_time: + :paramtype copy_completion_time: ~datetime.datetime + :keyword copy_status_description: + :paramtype copy_status_description: str + :keyword server_encrypted: + :paramtype server_encrypted: bool + :keyword incremental_copy: + :paramtype incremental_copy: bool + :keyword destination_snapshot: + :paramtype destination_snapshot: str + :keyword deleted_time: + :paramtype deleted_time: ~datetime.datetime + :keyword remaining_retention_days: + :paramtype remaining_retention_days: int + :keyword access_tier: Possible values include: "P4", "P6", "P10", "P20", "P30", "P40", "P50", "Hot", "Cool", "Archive". - :type access_tier: str or ~xmlservice.models.AccessTier - :param access_tier_inferred: - :type access_tier_inferred: bool - :param archive_status: Possible values include: "rehydrate-pending-to-hot", + :paramtype access_tier: str or ~xmlservice.models.AccessTier + :keyword access_tier_inferred: + :paramtype access_tier_inferred: bool + :keyword archive_status: Possible values include: "rehydrate-pending-to-hot", "rehydrate-pending-to-cool". - :type archive_status: str or ~xmlservice.models.ArchiveStatus + :paramtype archive_status: str or ~xmlservice.models.ArchiveStatus """ _validation = { @@ -341,10 +341,10 @@ def __init__( class Blobs(msrest.serialization.Model): """Blobs. - :param blob_prefix: - :type blob_prefix: list[~xmlservice.models.BlobPrefix] - :param blob: - :type blob: list[~xmlservice.models.Blob] + :keyword blob_prefix: + :paramtype blob_prefix: list[~xmlservice.models.BlobPrefix] + :keyword blob: + :paramtype blob: list[~xmlservice.models.Blob] """ _attribute_map = { @@ -363,8 +363,8 @@ def __init__( class ComplexTypeNoMeta(msrest.serialization.Model): """I am a complex type with no XML node. - :param id: The id of the res. - :type id: str + :keyword id: The id of the res. + :paramtype id: str """ _attribute_map = { @@ -379,8 +379,8 @@ def __init__(self, *, id: Optional[str] = None, **kwargs): class ComplexTypeWithMeta(msrest.serialization.Model): """I am a complex type with XML node. - :param id: The id of the res. - :type id: str + :keyword id: The id of the res. + :paramtype id: str """ _attribute_map = { @@ -398,12 +398,12 @@ class Container(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param name: Required. - :type name: str - :param properties: Required. Properties of a container. - :type properties: ~xmlservice.models.ContainerProperties - :param metadata: Dictionary of :code:``. - :type metadata: dict[str, str] + :keyword name: Required. + :paramtype name: str + :keyword properties: Required. Properties of a container. + :paramtype properties: ~xmlservice.models.ContainerProperties + :keyword metadata: Dictionary of :code:``. + :paramtype metadata: dict[str, str] """ _validation = { @@ -431,19 +431,19 @@ class ContainerProperties(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param last_modified: Required. - :type last_modified: ~datetime.datetime - :param etag: Required. - :type etag: str - :param lease_status: Possible values include: "locked", "unlocked". - :type lease_status: str or ~xmlservice.models.LeaseStatusType - :param lease_state: Possible values include: "available", "leased", "expired", "breaking", + :keyword last_modified: Required. + :paramtype last_modified: ~datetime.datetime + :keyword etag: Required. + :paramtype etag: str + :keyword lease_status: Possible values include: "locked", "unlocked". + :paramtype lease_status: str or ~xmlservice.models.LeaseStatusType + :keyword lease_state: Possible values include: "available", "leased", "expired", "breaking", "broken". - :type lease_state: str or ~xmlservice.models.LeaseStateType - :param lease_duration: Possible values include: "infinite", "fixed". - :type lease_duration: str or ~xmlservice.models.LeaseDurationType - :param public_access: Possible values include: "container", "blob". - :type public_access: str or ~xmlservice.models.PublicAccessType + :paramtype lease_state: str or ~xmlservice.models.LeaseStateType + :keyword lease_duration: Possible values include: "infinite", "fixed". + :paramtype lease_duration: str or ~xmlservice.models.LeaseDurationType + :keyword public_access: Possible values include: "container", "blob". + :paramtype public_access: str or ~xmlservice.models.PublicAccessType """ _validation = { @@ -485,24 +485,24 @@ class CorsRule(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param allowed_origins: Required. The origin domains that are permitted to make a request + :keyword allowed_origins: Required. The origin domains that are permitted to make a request against the storage service via CORS. The origin domain is the domain from which the request originates. Note that the origin must be an exact case-sensitive match with the origin that the user age sends to the service. You can also use the wildcard character '*' to allow all origin domains to make requests via CORS. - :type allowed_origins: str - :param allowed_methods: Required. The methods (HTTP request verbs) that the origin domain may + :paramtype allowed_origins: str + :keyword allowed_methods: Required. The methods (HTTP request verbs) that the origin domain may use for a CORS request. (comma separated). - :type allowed_methods: str - :param allowed_headers: Required. the request headers that the origin domain may specify on the - CORS request. - :type allowed_headers: str - :param exposed_headers: Required. The response headers that may be sent in the response to the - CORS request and exposed by the browser to the request issuer. - :type exposed_headers: str - :param max_age_in_seconds: Required. The maximum amount time that a browser should cache the + :paramtype allowed_methods: str + :keyword allowed_headers: Required. the request headers that the origin domain may specify on + the CORS request. + :paramtype allowed_headers: str + :keyword exposed_headers: Required. The response headers that may be sent in the response to + the CORS request and exposed by the browser to the request issuer. + :paramtype exposed_headers: str + :keyword max_age_in_seconds: Required. The maximum amount time that a browser should cache the preflight OPTIONS request. - :type max_age_in_seconds: int + :paramtype max_age_in_seconds: int """ _validation = { @@ -543,10 +543,10 @@ def __init__( class Error(msrest.serialization.Model): """Error. - :param status: - :type status: int - :param message: - :type message: str + :keyword status: + :paramtype status: int + :keyword message: + :paramtype message: str """ _attribute_map = { @@ -563,8 +563,8 @@ def __init__(self, *, status: Optional[int] = None, message: Optional[str] = Non class JSONInput(msrest.serialization.Model): """JSONInput. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -579,8 +579,8 @@ def __init__(self, *, id: Optional[int] = None, **kwargs): class JSONOutput(msrest.serialization.Model): """JSONOutput. - :param id: - :type id: int + :keyword id: + :paramtype id: int """ _attribute_map = { @@ -597,22 +597,22 @@ class ListBlobsResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param service_endpoint: - :type service_endpoint: str - :param container_name: Required. - :type container_name: str - :param prefix: Required. - :type prefix: str - :param marker: Required. - :type marker: str - :param max_results: Required. - :type max_results: int - :param delimiter: Required. - :type delimiter: str - :param blobs: Required. - :type blobs: ~xmlservice.models.Blobs - :param next_marker: Required. - :type next_marker: str + :keyword service_endpoint: + :paramtype service_endpoint: str + :keyword container_name: Required. + :paramtype container_name: str + :keyword prefix: Required. + :paramtype prefix: str + :keyword marker: Required. + :paramtype marker: str + :keyword max_results: Required. + :paramtype max_results: int + :keyword delimiter: Required. + :paramtype delimiter: str + :keyword blobs: Required. + :paramtype blobs: ~xmlservice.models.Blobs + :keyword next_marker: Required. + :paramtype next_marker: str """ _validation = { @@ -666,18 +666,18 @@ class ListContainersResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param service_endpoint: Required. - :type service_endpoint: str - :param prefix: Required. - :type prefix: str - :param marker: - :type marker: str - :param max_results: Required. - :type max_results: int - :param containers: - :type containers: list[~xmlservice.models.Container] - :param next_marker: Required. - :type next_marker: str + :keyword service_endpoint: Required. + :paramtype service_endpoint: str + :keyword prefix: Required. + :paramtype prefix: str + :keyword marker: + :paramtype marker: str + :keyword max_results: Required. + :paramtype max_results: int + :keyword containers: + :paramtype containers: list[~xmlservice.models.Container] + :keyword next_marker: Required. + :paramtype next_marker: str """ _validation = { @@ -722,16 +722,16 @@ class Logging(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param version: Required. The version of Storage Analytics to configure. - :type version: str - :param delete: Required. Indicates whether all delete requests should be logged. - :type delete: bool - :param read: Required. Indicates whether all read requests should be logged. - :type read: bool - :param write: Required. Indicates whether all write requests should be logged. - :type write: bool - :param retention_policy: Required. the retention policy. - :type retention_policy: ~xmlservice.models.RetentionPolicy + :keyword version: Required. The version of Storage Analytics to configure. + :paramtype version: str + :keyword delete: Required. Indicates whether all delete requests should be logged. + :paramtype delete: bool + :keyword read: Required. Indicates whether all read requests should be logged. + :paramtype read: bool + :keyword write: Required. Indicates whether all write requests should be logged. + :paramtype write: bool + :keyword retention_policy: Required. the retention policy. + :paramtype retention_policy: ~xmlservice.models.RetentionPolicy """ _validation = { @@ -766,15 +766,15 @@ class Metrics(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param version: The version of Storage Analytics to configure. - :type version: str - :param enabled: Required. Indicates whether metrics are enabled for the Blob service. - :type enabled: bool - :param include_apis: Indicates whether metrics should generate summary statistics for called + :keyword version: The version of Storage Analytics to configure. + :paramtype version: str + :keyword enabled: Required. Indicates whether metrics are enabled for the Blob service. + :paramtype enabled: bool + :keyword include_apis: Indicates whether metrics should generate summary statistics for called API operations. - :type include_apis: bool - :param retention_policy: the retention policy. - :type retention_policy: ~xmlservice.models.RetentionPolicy + :paramtype include_apis: bool + :keyword retention_policy: the retention policy. + :paramtype retention_policy: ~xmlservice.models.RetentionPolicy """ _validation = { @@ -807,8 +807,8 @@ def __init__( class ModelWithByteProperty(msrest.serialization.Model): """ModelWithByteProperty. - :param bytes: - :type bytes: bytearray + :keyword bytes: + :paramtype bytes: bytearray """ _attribute_map = { @@ -823,8 +823,8 @@ def __init__(self, *, bytes: Optional[bytearray] = None, **kwargs): class ModelWithUrlProperty(msrest.serialization.Model): """ModelWithUrlProperty. - :param url: - :type url: str + :keyword url: + :paramtype url: str """ _attribute_map = { @@ -839,10 +839,10 @@ def __init__(self, *, url: Optional[str] = None, **kwargs): class ObjectWithXMsTextProperty(msrest.serialization.Model): """Contans property. - :param language: Returned value should be 'english'. - :type language: str - :param content: Returned value should be 'I am text'. - :type content: str + :keyword language: Returned value should be 'english'. + :paramtype language: str + :keyword content: Returned value should be 'I am text'. + :paramtype content: str """ _attribute_map = { @@ -862,12 +862,12 @@ class RetentionPolicy(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param enabled: Required. Indicates whether a retention policy is enabled for the storage + :keyword enabled: Required. Indicates whether a retention policy is enabled for the storage service. - :type enabled: bool - :param days: Indicates the number of days that metrics or logging or soft-deleted data should + :paramtype enabled: bool + :keyword days: Indicates the number of days that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted. - :type days: int + :paramtype days: int """ _validation = { @@ -889,10 +889,10 @@ def __init__(self, *, enabled: bool, days: Optional[int] = None, **kwargs): class RootWithRefAndMeta(msrest.serialization.Model): """I am root, and I ref a model WITH meta. - :param ref_to_model: XML will use XMLComplexTypeWithMeta. - :type ref_to_model: ~xmlservice.models.ComplexTypeWithMeta - :param something: Something else (just to avoid flattening). - :type something: str + :keyword ref_to_model: XML will use XMLComplexTypeWithMeta. + :paramtype ref_to_model: ~xmlservice.models.ComplexTypeWithMeta + :keyword something: Something else (just to avoid flattening). + :paramtype something: str """ _attribute_map = { @@ -911,10 +911,10 @@ def __init__( class RootWithRefAndNoMeta(msrest.serialization.Model): """I am root, and I ref a model with no meta. - :param ref_to_model: XML will use RefToModel. - :type ref_to_model: ~xmlservice.models.ComplexTypeNoMeta - :param something: Something else (just to avoid flattening). - :type something: str + :keyword ref_to_model: XML will use RefToModel. + :paramtype ref_to_model: ~xmlservice.models.ComplexTypeNoMeta + :keyword something: Something else (just to avoid flattening). + :paramtype something: str """ _attribute_map = { @@ -935,10 +935,10 @@ class SignedIdentifier(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param id: Required. a unique id. - :type id: str - :param access_policy: Required. The access policy. - :type access_policy: ~xmlservice.models.AccessPolicy + :keyword id: Required. a unique id. + :paramtype id: str + :keyword access_policy: Required. The access policy. + :paramtype access_policy: ~xmlservice.models.AccessPolicy """ _validation = { @@ -961,12 +961,12 @@ def __init__(self, *, id: str, access_policy: "AccessPolicy", **kwargs): class Slide(msrest.serialization.Model): """A slide in a slideshow. - :param type: - :type type: str - :param title: - :type title: str - :param items: - :type items: list[str] + :keyword type: + :paramtype type: str + :keyword title: + :paramtype title: str + :keyword items: + :paramtype items: list[str] """ _attribute_map = { @@ -988,14 +988,14 @@ def __init__( class Slideshow(msrest.serialization.Model): """Data about a slideshow. - :param title: - :type title: str - :param date: - :type date: str - :param author: - :type author: str - :param slides: - :type slides: list[~xmlservice.models.Slide] + :keyword title: + :paramtype title: str + :keyword date: + :paramtype date: str + :keyword author: + :paramtype author: str + :keyword slides: + :paramtype slides: list[~xmlservice.models.Slide] """ _attribute_map = { @@ -1025,22 +1025,22 @@ def __init__( class StorageServiceProperties(msrest.serialization.Model): """Storage Service Properties. - :param logging: Azure Analytics Logging settings. - :type logging: ~xmlservice.models.Logging - :param hour_metrics: A summary of request statistics grouped by API in hourly aggregates for + :keyword logging: Azure Analytics Logging settings. + :paramtype logging: ~xmlservice.models.Logging + :keyword hour_metrics: A summary of request statistics grouped by API in hourly aggregates for blobs. - :type hour_metrics: ~xmlservice.models.Metrics - :param minute_metrics: a summary of request statistics grouped by API in minute aggregates for - blobs. - :type minute_metrics: ~xmlservice.models.Metrics - :param cors: The set of CORS rules. - :type cors: list[~xmlservice.models.CorsRule] - :param default_service_version: The default version to use for requests to the Blob service if - an incoming request's version is not specified. Possible values include version 2008-10-27 and - all more recent versions. - :type default_service_version: str - :param delete_retention_policy: The Delete Retention Policy for the service. - :type delete_retention_policy: ~xmlservice.models.RetentionPolicy + :paramtype hour_metrics: ~xmlservice.models.Metrics + :keyword minute_metrics: a summary of request statistics grouped by API in minute aggregates + for blobs. + :paramtype minute_metrics: ~xmlservice.models.Metrics + :keyword cors: The set of CORS rules. + :paramtype cors: list[~xmlservice.models.CorsRule] + :keyword default_service_version: The default version to use for requests to the Blob service + if an incoming request's version is not specified. Possible values include version 2008-10-27 + and all more recent versions. + :paramtype default_service_version: str + :keyword delete_retention_policy: The Delete Retention Policy for the service. + :paramtype delete_retention_policy: ~xmlservice.models.RetentionPolicy """ _attribute_map = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/_models.py b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/_models.py index a8dea1c1b49..8ead04e2a3a 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/_models.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/_models.py @@ -13,8 +13,8 @@ class Animal(msrest.serialization.Model): """Animal. - :param ani_type: - :type ani_type: str + :keyword ani_type: + :paramtype ani_type: str """ _attribute_map = { @@ -29,8 +29,8 @@ def __init__(self, **kwargs): class BaseError(msrest.serialization.Model): """BaseError. - :param some_base_prop: - :type some_base_prop: str + :keyword some_base_prop: + :paramtype some_base_prop: str """ _attribute_map = { @@ -50,12 +50,12 @@ class NotFoundErrorBase(BaseError): All required parameters must be populated in order to send to Azure. - :param some_base_prop: - :type some_base_prop: str - :param reason: - :type reason: str - :param what_not_found: Required. Constant filled by server. - :type what_not_found: str + :keyword some_base_prop: + :paramtype some_base_prop: str + :keyword reason: + :paramtype reason: str + :keyword what_not_found: Required. Constant filled by server. + :paramtype what_not_found: str """ _validation = { @@ -81,14 +81,14 @@ class AnimalNotFound(NotFoundErrorBase): All required parameters must be populated in order to send to Azure. - :param some_base_prop: - :type some_base_prop: str - :param reason: - :type reason: str - :param what_not_found: Required. Constant filled by server. - :type what_not_found: str - :param name: - :type name: str + :keyword some_base_prop: + :paramtype some_base_prop: str + :keyword reason: + :paramtype reason: str + :keyword what_not_found: Required. Constant filled by server. + :paramtype what_not_found: str + :keyword name: + :paramtype name: str """ _validation = { @@ -113,14 +113,14 @@ class LinkNotFound(NotFoundErrorBase): All required parameters must be populated in order to send to Azure. - :param some_base_prop: - :type some_base_prop: str - :param reason: - :type reason: str - :param what_not_found: Required. Constant filled by server. - :type what_not_found: str - :param what_sub_address: - :type what_sub_address: str + :keyword some_base_prop: + :paramtype some_base_prop: str + :keyword reason: + :paramtype reason: str + :keyword what_not_found: Required. Constant filled by server. + :paramtype what_not_found: str + :keyword what_sub_address: + :paramtype what_sub_address: str """ _validation = { @@ -145,8 +145,8 @@ class Pet(Animal): Variables are only populated by the server, and will be ignored when sending a request. - :param ani_type: - :type ani_type: str + :keyword ani_type: + :paramtype ani_type: str :ivar name: Gets the Pet by id. :vartype name: str """ @@ -168,8 +168,8 @@ def __init__(self, **kwargs): class PetAction(msrest.serialization.Model): """PetAction. - :param action_response: action feedback. - :type action_response: str + :keyword action_response: action feedback. + :paramtype action_response: str """ _attribute_map = { @@ -189,12 +189,12 @@ class PetActionError(PetAction): All required parameters must be populated in order to send to Azure. - :param action_response: action feedback. - :type action_response: str - :param error_type: Required. Constant filled by server. - :type error_type: str - :param error_message: the error message. - :type error_message: str + :keyword action_response: action feedback. + :paramtype action_response: str + :keyword error_type: Required. Constant filled by server. + :paramtype error_type: str + :keyword error_message: the error message. + :paramtype error_message: str """ _validation = { @@ -223,14 +223,14 @@ class PetSadError(PetActionError): All required parameters must be populated in order to send to Azure. - :param action_response: action feedback. - :type action_response: str - :param error_type: Required. Constant filled by server. - :type error_type: str - :param error_message: the error message. - :type error_message: str - :param reason: why is the pet sad. - :type reason: str + :keyword action_response: action feedback. + :paramtype action_response: str + :keyword error_type: Required. Constant filled by server. + :paramtype error_type: str + :keyword error_message: the error message. + :paramtype error_message: str + :keyword reason: why is the pet sad. + :paramtype reason: str """ _validation = { @@ -257,16 +257,16 @@ class PetHungryOrThirstyError(PetSadError): All required parameters must be populated in order to send to Azure. - :param action_response: action feedback. - :type action_response: str - :param error_type: Required. Constant filled by server. - :type error_type: str - :param error_message: the error message. - :type error_message: str - :param reason: why is the pet sad. - :type reason: str - :param hungry_or_thirsty: is the pet hungry or thirsty or both. - :type hungry_or_thirsty: str + :keyword action_response: action feedback. + :paramtype action_response: str + :keyword error_type: Required. Constant filled by server. + :paramtype error_type: str + :keyword error_message: the error message. + :paramtype error_message: str + :keyword reason: why is the pet sad. + :paramtype reason: str + :keyword hungry_or_thirsty: is the pet hungry or thirsty or both. + :paramtype hungry_or_thirsty: str """ _validation = { diff --git a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/_models_py3.py b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/_models_py3.py index 837ca0a64b9..21dd44e1e3d 100644 --- a/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/_models_py3.py +++ b/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/_models_py3.py @@ -15,8 +15,8 @@ class Animal(msrest.serialization.Model): """Animal. - :param ani_type: - :type ani_type: str + :keyword ani_type: + :paramtype ani_type: str """ _attribute_map = { @@ -31,8 +31,8 @@ def __init__(self, *, ani_type: Optional[str] = None, **kwargs): class BaseError(msrest.serialization.Model): """BaseError. - :param some_base_prop: - :type some_base_prop: str + :keyword some_base_prop: + :paramtype some_base_prop: str """ _attribute_map = { @@ -52,12 +52,12 @@ class NotFoundErrorBase(BaseError): All required parameters must be populated in order to send to Azure. - :param some_base_prop: - :type some_base_prop: str - :param reason: - :type reason: str - :param what_not_found: Required. Constant filled by server. - :type what_not_found: str + :keyword some_base_prop: + :paramtype some_base_prop: str + :keyword reason: + :paramtype reason: str + :keyword what_not_found: Required. Constant filled by server. + :paramtype what_not_found: str """ _validation = { @@ -83,14 +83,14 @@ class AnimalNotFound(NotFoundErrorBase): All required parameters must be populated in order to send to Azure. - :param some_base_prop: - :type some_base_prop: str - :param reason: - :type reason: str - :param what_not_found: Required. Constant filled by server. - :type what_not_found: str - :param name: - :type name: str + :keyword some_base_prop: + :paramtype some_base_prop: str + :keyword reason: + :paramtype reason: str + :keyword what_not_found: Required. Constant filled by server. + :paramtype what_not_found: str + :keyword name: + :paramtype name: str """ _validation = { @@ -122,14 +122,14 @@ class LinkNotFound(NotFoundErrorBase): All required parameters must be populated in order to send to Azure. - :param some_base_prop: - :type some_base_prop: str - :param reason: - :type reason: str - :param what_not_found: Required. Constant filled by server. - :type what_not_found: str - :param what_sub_address: - :type what_sub_address: str + :keyword some_base_prop: + :paramtype some_base_prop: str + :keyword reason: + :paramtype reason: str + :keyword what_not_found: Required. Constant filled by server. + :paramtype what_not_found: str + :keyword what_sub_address: + :paramtype what_sub_address: str """ _validation = { @@ -161,8 +161,8 @@ class Pet(Animal): Variables are only populated by the server, and will be ignored when sending a request. - :param ani_type: - :type ani_type: str + :keyword ani_type: + :paramtype ani_type: str :ivar name: Gets the Pet by id. :vartype name: str """ @@ -184,8 +184,8 @@ def __init__(self, *, ani_type: Optional[str] = None, **kwargs): class PetAction(msrest.serialization.Model): """PetAction. - :param action_response: action feedback. - :type action_response: str + :keyword action_response: action feedback. + :paramtype action_response: str """ _attribute_map = { @@ -205,12 +205,12 @@ class PetActionError(PetAction): All required parameters must be populated in order to send to Azure. - :param action_response: action feedback. - :type action_response: str - :param error_type: Required. Constant filled by server. - :type error_type: str - :param error_message: the error message. - :type error_message: str + :keyword action_response: action feedback. + :paramtype action_response: str + :keyword error_type: Required. Constant filled by server. + :paramtype error_type: str + :keyword error_message: the error message. + :paramtype error_message: str """ _validation = { @@ -239,14 +239,14 @@ class PetSadError(PetActionError): All required parameters must be populated in order to send to Azure. - :param action_response: action feedback. - :type action_response: str - :param error_type: Required. Constant filled by server. - :type error_type: str - :param error_message: the error message. - :type error_message: str - :param reason: why is the pet sad. - :type reason: str + :keyword action_response: action feedback. + :paramtype action_response: str + :keyword error_type: Required. Constant filled by server. + :paramtype error_type: str + :keyword error_message: the error message. + :paramtype error_message: str + :keyword reason: why is the pet sad. + :paramtype reason: str """ _validation = { @@ -280,16 +280,16 @@ class PetHungryOrThirstyError(PetSadError): All required parameters must be populated in order to send to Azure. - :param action_response: action feedback. - :type action_response: str - :param error_type: Required. Constant filled by server. - :type error_type: str - :param error_message: the error message. - :type error_message: str - :param reason: why is the pet sad. - :type reason: str - :param hungry_or_thirsty: is the pet hungry or thirsty or both. - :type hungry_or_thirsty: str + :keyword action_response: action feedback. + :paramtype action_response: str + :keyword error_type: Required. Constant filled by server. + :paramtype error_type: str + :keyword error_message: the error message. + :paramtype error_message: str + :keyword reason: why is the pet sad. + :paramtype reason: str + :keyword hungry_or_thirsty: is the pet hungry or thirsty or both. + :paramtype hungry_or_thirsty: str """ _validation = {