diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/Basic.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/Basic.cs index a3f115e527736..68ce5a64a315d 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/Basic.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/Basic.cs @@ -26,6 +26,7 @@ public partial class Basic /// /// Initializes a new instance of the Basic class. /// + /// Possible values include: 'cyan', 'Magenta', 'YELLOW', 'blacK' public Basic(int? id = default(int?), string name = default(string), string color = default(string)) { Id = id; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogArray.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogArray.cs index 7d380e403bc71..f700b3c541857 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogArray.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogArray.cs @@ -26,6 +26,7 @@ public partial class CatalogArray /// /// Initializes a new instance of the CatalogArray class. /// + /// Array of products public CatalogArray(IList productArray = default(IList)) { ProductArray = productArray; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogArrayOfDictionary.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogArrayOfDictionary.cs index 5f64fd7d8be66..b0c9ba7cab78c 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogArrayOfDictionary.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogArrayOfDictionary.cs @@ -26,6 +26,7 @@ public partial class CatalogArrayOfDictionary /// /// Initializes a new instance of the CatalogArrayOfDictionary class. /// + /// Array of dictionary of products public CatalogArrayOfDictionary(IList> productArrayOfDictionary = default(IList>)) { ProductArrayOfDictionary = productArrayOfDictionary; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogDictionary.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogDictionary.cs index f3b008a02d974..b211a9737dba7 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogDictionary.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogDictionary.cs @@ -26,6 +26,7 @@ public partial class CatalogDictionary /// /// Initializes a new instance of the CatalogDictionary class. /// + /// Dictionary of products public CatalogDictionary(IDictionary productDictionary = default(IDictionary)) { ProductDictionary = productDictionary; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogDictionaryOfArray.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogDictionaryOfArray.cs index 1ce6d5bda5059..0f29d2c0fd138 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogDictionaryOfArray.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/CatalogDictionaryOfArray.cs @@ -26,6 +26,7 @@ public partial class CatalogDictionaryOfArray /// /// Initializes a new instance of the CatalogDictionaryOfArray class. /// + /// Dictionary of Array of product public CatalogDictionaryOfArray(IDictionary> productDictionaryOfArray = default(IDictionary>)) { ProductDictionaryOfArray = productDictionaryOfArray; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/Product.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/Product.cs index 6490bfe15f7b7..3d6c18f03645a 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/Product.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/Models/Product.cs @@ -29,6 +29,11 @@ public partial class Product /// /// Initializes a new instance of the Product class. /// + /// 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. + /// Description of product. + /// Display name of product. + /// Capacity of product. For example, 4 people. + /// Image URL representing the product. public Product(string productId = default(string), string description = default(string), string displayName = default(string), string capacity = default(string), string image = default(string)) { ProductId = productId; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/FirstParameterGroup.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/FirstParameterGroup.cs index 4e2fe34867c21..e13a58d6574f6 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/FirstParameterGroup.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/FirstParameterGroup.cs @@ -31,6 +31,7 @@ public partial class FirstParameterGroup /// /// Initializes a new instance of the FirstParameterGroup class. /// + /// Query parameter with default public FirstParameterGroup(string headerOne = default(string), int? queryOne = default(int?)) { HeaderOne = headerOne; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/ParameterGroupingPostMultiParamGroupsSecondParamGroup.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/ParameterGroupingPostMultiParamGroupsSecondParamGroup.cs index 6d81fef18781c..c268703f8e265 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/ParameterGroupingPostMultiParamGroupsSecondParamGroup.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/ParameterGroupingPostMultiParamGroupsSecondParamGroup.cs @@ -32,6 +32,7 @@ public partial class ParameterGroupingPostMultiParamGroupsSecondParamGroup /// Initializes a new instance of the /// ParameterGroupingPostMultiParamGroupsSecondParamGroup class. /// + /// Query parameter with default public ParameterGroupingPostMultiParamGroupsSecondParamGroup(string headerTwo = default(string), int? queryTwo = default(int?)) { HeaderTwo = headerTwo; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/ParameterGroupingPostOptionalParameters.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/ParameterGroupingPostOptionalParameters.cs index 3a3dcc12562a8..11f3f9e44585b 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/ParameterGroupingPostOptionalParameters.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/ParameterGroupingPostOptionalParameters.cs @@ -31,6 +31,7 @@ public partial class ParameterGroupingPostOptionalParameters /// Initializes a new instance of the /// ParameterGroupingPostOptionalParameters class. /// + /// Query parameter with default public ParameterGroupingPostOptionalParameters(string customHeader = default(string), int? query = default(int?)) { CustomHeader = customHeader; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/ParameterGroupingPostRequiredParameters.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/ParameterGroupingPostRequiredParameters.cs index 784598b2cba0a..507f1d69e4f2b 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/ParameterGroupingPostRequiredParameters.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureParameterGrouping/Models/ParameterGroupingPostRequiredParameters.cs @@ -31,6 +31,8 @@ public partial class ParameterGroupingPostRequiredParameters /// Initializes a new instance of the /// ParameterGroupingPostRequiredParameters class. /// + /// Path parameter + /// Query parameter with default public ParameterGroupingPostRequiredParameters(int body, string path, string customHeader = default(string), int? query = default(int?)) { Body = body; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureResource/Models/FlattenedProduct.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureResource/Models/FlattenedProduct.cs index 8309b612446fd..477752e7fe4f1 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureResource/Models/FlattenedProduct.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureResource/Models/FlattenedProduct.cs @@ -27,6 +27,10 @@ public partial class FlattenedProduct : Resource /// /// Initializes a new instance of the FlattenedProduct class. /// + /// Resource Id + /// Resource Type + /// Resource Location + /// Resource Name public FlattenedProduct(string id = default(string), string type = default(string), IDictionary tags = default(IDictionary), string location = default(string), string name = default(string), string pname = default(string), int? lsize = default(int?), string provisioningState = default(string)) : base(id, type, tags, location, name) { diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureResource/Models/Resource.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureResource/Models/Resource.cs index f90ce951988eb..72dba6690b9a8 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureResource/Models/Resource.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureResource/Models/Resource.cs @@ -30,6 +30,10 @@ public partial class Resource : IResource /// /// Initializes a new instance of the Resource class. /// + /// Resource Id + /// Resource Type + /// Resource Location + /// Resource Name public Resource(string id = default(string), string type = default(string), IDictionary tags = default(IDictionary), string location = default(string), string name = default(string)) { Id = id; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdHeaders.cs index 4328e58dfa0ed..72111ec242963 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdHeaders.cs @@ -31,6 +31,7 @@ public partial class HeaderCustomNamedRequestIdHeaders /// Initializes a new instance of the /// HeaderCustomNamedRequestIdHeaders class. /// + /// Gets the foo-request-id. public HeaderCustomNamedRequestIdHeaders(string fooRequestId = default(string)) { FooRequestId = fooRequestId; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdParamGroupingHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdParamGroupingHeaders.cs index edacca9832d0b..187e76f91c07b 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdParamGroupingHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdParamGroupingHeaders.cs @@ -31,6 +31,7 @@ public partial class HeaderCustomNamedRequestIdParamGroupingHeaders /// Initializes a new instance of the /// HeaderCustomNamedRequestIdParamGroupingHeaders class. /// + /// Gets the foo-request-id. public HeaderCustomNamedRequestIdParamGroupingHeaders(string fooRequestId = default(string)) { FooRequestId = fooRequestId; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdParamGroupingParameters.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdParamGroupingParameters.cs index 2952b0300dfd0..33af439bdc8ea 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdParamGroupingParameters.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdParamGroupingParameters.cs @@ -32,6 +32,7 @@ public partial class HeaderCustomNamedRequestIdParamGroupingParameters /// Initializes a new instance of the /// HeaderCustomNamedRequestIdParamGroupingParameters class. /// + /// The fooRequestId public HeaderCustomNamedRequestIdParamGroupingParameters(string fooClientRequestId) { FooClientRequestId = fooClientRequestId; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysDelete202Retry200Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysDelete202Retry200Headers.cs index 48c5638bc1344..b049b3c818e23 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysDelete202Retry200Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysDelete202Retry200Headers.cs @@ -31,6 +31,8 @@ public partial class LRORetrysDelete202Retry200Headers /// Initializes a new instance of the /// LRORetrysDelete202Retry200Headers class. /// + /// Location to poll for result status: will be set to /lro/retryerror/delete/202/retry/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LRORetrysDelete202Retry200Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysDeleteAsyncRelativeRetrySucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysDeleteAsyncRelativeRetrySucceededHeaders.cs index 095ed23b916b1..50f3b3b04b6da 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysDeleteAsyncRelativeRetrySucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysDeleteAsyncRelativeRetrySucceededHeaders.cs @@ -31,6 +31,9 @@ public partial class LRORetrysDeleteAsyncRelativeRetrySucceededHeaders /// Initializes a new instance of the /// LRORetrysDeleteAsyncRelativeRetrySucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/retryerror/deleteasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/retryerror/deleteasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LRORetrysDeleteAsyncRelativeRetrySucceededHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysDeleteProvisioning202Accepted200SucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysDeleteProvisioning202Accepted200SucceededHeaders.cs index 3c239e13c5061..247524ab20a31 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysDeleteProvisioning202Accepted200SucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysDeleteProvisioning202Accepted200SucceededHeaders.cs @@ -32,6 +32,8 @@ public partial class LRORetrysDeleteProvisioning202Accepted200SucceededHeaders /// Initializes a new instance of the /// LRORetrysDeleteProvisioning202Accepted200SucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/retryerror/delete/provisioning/202/accepted/200/succeeded + /// Number of milliseconds until the next poll should be sent, will be set to zero public LRORetrysDeleteProvisioning202Accepted200SucceededHeaders(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysPost202Retry200Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysPost202Retry200Headers.cs index be801531b1e35..585f55ef827f7 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysPost202Retry200Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysPost202Retry200Headers.cs @@ -31,6 +31,8 @@ public partial class LRORetrysPost202Retry200Headers /// Initializes a new instance of the LRORetrysPost202Retry200Headers /// class. /// + /// Location to poll for result status: will be set to /lro/retryerror/post/202/retry/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LRORetrysPost202Retry200Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysPostAsyncRelativeRetrySucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysPostAsyncRelativeRetrySucceededHeaders.cs index 694c6f60c6043..277bf3c0e98d0 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysPostAsyncRelativeRetrySucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysPostAsyncRelativeRetrySucceededHeaders.cs @@ -31,6 +31,9 @@ public partial class LRORetrysPostAsyncRelativeRetrySucceededHeaders /// Initializes a new instance of the /// LRORetrysPostAsyncRelativeRetrySucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/retryerror/putasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/retryerror/putasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LRORetrysPostAsyncRelativeRetrySucceededHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysPutAsyncRelativeRetrySucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysPutAsyncRelativeRetrySucceededHeaders.cs index 02693514b3115..4e4176b7190cb 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysPutAsyncRelativeRetrySucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LRORetrysPutAsyncRelativeRetrySucceededHeaders.cs @@ -31,6 +31,9 @@ public partial class LRORetrysPutAsyncRelativeRetrySucceededHeaders /// Initializes a new instance of the /// LRORetrysPutAsyncRelativeRetrySucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/retryerror/putasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/retryerror/putasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LRORetrysPutAsyncRelativeRetrySucceededHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDelete202NonRetry400Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDelete202NonRetry400Headers.cs index 116d6a7e5db40..c3a833d22d13e 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDelete202NonRetry400Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDelete202NonRetry400Headers.cs @@ -31,6 +31,8 @@ public partial class LROSADsDelete202NonRetry400Headers /// Initializes a new instance of the /// LROSADsDelete202NonRetry400Headers class. /// + /// Location to poll for result status: will be set to /lro/retryerror/delete/202/retry/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsDelete202NonRetry400Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDelete202RetryInvalidHeaderHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDelete202RetryInvalidHeaderHeaders.cs index 727b01276234f..aadc5d32d2ea1 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDelete202RetryInvalidHeaderHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDelete202RetryInvalidHeaderHeaders.cs @@ -31,6 +31,8 @@ public partial class LROSADsDelete202RetryInvalidHeaderHeaders /// Initializes a new instance of the /// LROSADsDelete202RetryInvalidHeaderHeaders class. /// + /// Location to poll for result status: will be set to /foo + /// Number of milliseconds until the next poll should be sent, will be set to /bar public LROSADsDelete202RetryInvalidHeaderHeaders(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetry400Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetry400Headers.cs index 4c1ac5d129b81..f58dd7b2dd850 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetry400Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetry400Headers.cs @@ -31,6 +31,9 @@ public partial class LROSADsDeleteAsyncRelativeRetry400Headers /// Initializes a new instance of the /// LROSADsDeleteAsyncRelativeRetry400Headers class. /// + /// Location to poll for result status: will be set to /lro/nonretryerror/deleteasync/retry/operationResults/400 + /// Location to poll for result status: will be set to /lro/nonretryerror/deleteasync/retry/operationResults/400 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsDeleteAsyncRelativeRetry400Headers(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetryInvalidHeaderHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetryInvalidHeaderHeaders.cs index bcb53a47e9945..cbeeaf3a94feb 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetryInvalidHeaderHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetryInvalidHeaderHeaders.cs @@ -31,6 +31,9 @@ public partial class LROSADsDeleteAsyncRelativeRetryInvalidHeaderHeaders /// Initializes a new instance of the /// LROSADsDeleteAsyncRelativeRetryInvalidHeaderHeaders class. /// + /// Location to poll for result status: will be set to /foo + /// Location to poll for result status: will be set to /foo + /// Number of milliseconds until the next poll should be sent, will be set to /bar public LROSADsDeleteAsyncRelativeRetryInvalidHeaderHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetryInvalidJsonPollingHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetryInvalidJsonPollingHeaders.cs index 8c30a0a4f97c9..7138b3624dfcd 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetryInvalidJsonPollingHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetryInvalidJsonPollingHeaders.cs @@ -32,6 +32,9 @@ public partial class LROSADsDeleteAsyncRelativeRetryInvalidJsonPollingHeaders /// Initializes a new instance of the /// LROSADsDeleteAsyncRelativeRetryInvalidJsonPollingHeaders class. /// + /// Location to poll for result status: will be set to /lro/error/deleteasync/retry/failed/operationResults/invalidjsonpolling + /// Location to poll for result status: will be set to /lro/error/deleteasync/retry/failed/operationResults/invalidjsonpolling + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsDeleteAsyncRelativeRetryInvalidJsonPollingHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetryNoStatusHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetryNoStatusHeaders.cs index 1a6afea5086b7..e41590c76d819 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetryNoStatusHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteAsyncRelativeRetryNoStatusHeaders.cs @@ -31,6 +31,9 @@ public partial class LROSADsDeleteAsyncRelativeRetryNoStatusHeaders /// Initializes a new instance of the /// LROSADsDeleteAsyncRelativeRetryNoStatusHeaders class. /// + /// Location to poll for result status: will be set to /lro/deleteasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/deleteasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsDeleteAsyncRelativeRetryNoStatusHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteNonRetry400Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteNonRetry400Headers.cs index 202e5b5d8b720..dfda8a43cdadc 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteNonRetry400Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsDeleteNonRetry400Headers.cs @@ -31,6 +31,8 @@ public partial class LROSADsDeleteNonRetry400Headers /// Initializes a new instance of the LROSADsDeleteNonRetry400Headers /// class. /// + /// Location to poll for result status: will be set to /lro/retryerror/delete/202/retry/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsDeleteNonRetry400Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPost202NoLocationHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPost202NoLocationHeaders.cs index 275c476a53236..81c7d08a5ce63 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPost202NoLocationHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPost202NoLocationHeaders.cs @@ -31,6 +31,8 @@ public partial class LROSADsPost202NoLocationHeaders /// Initializes a new instance of the LROSADsPost202NoLocationHeaders /// class. /// + /// Location to poll for result status: will not be set + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsPost202NoLocationHeaders(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPost202NonRetry400Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPost202NonRetry400Headers.cs index 448c6f2ed5db5..a35945d2eb443 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPost202NonRetry400Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPost202NonRetry400Headers.cs @@ -31,6 +31,8 @@ public partial class LROSADsPost202NonRetry400Headers /// Initializes a new instance of the LROSADsPost202NonRetry400Headers /// class. /// + /// Location to poll for result status: will be set to /lro/retryerror/post/202/retry/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsPost202NonRetry400Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPost202RetryInvalidHeaderHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPost202RetryInvalidHeaderHeaders.cs index 31373a1d5bc26..fb83907630820 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPost202RetryInvalidHeaderHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPost202RetryInvalidHeaderHeaders.cs @@ -31,6 +31,8 @@ public partial class LROSADsPost202RetryInvalidHeaderHeaders /// Initializes a new instance of the /// LROSADsPost202RetryInvalidHeaderHeaders class. /// + /// Location to poll for result status: will be set to /foo + /// Number of milliseconds until the next poll should be sent, will be set to /bar public LROSADsPost202RetryInvalidHeaderHeaders(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetry400Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetry400Headers.cs index 0c8e775eb0b59..7925cc38bf789 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetry400Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetry400Headers.cs @@ -31,6 +31,9 @@ public partial class LROSADsPostAsyncRelativeRetry400Headers /// Initializes a new instance of the /// LROSADsPostAsyncRelativeRetry400Headers class. /// + /// Location to poll for result status: will be set to /lro/nonretryerror/putasync/retry/operationResults/400 + /// Location to poll for result status: will be set to /lro/nonretryerror/putasync/retry/operationResults/400 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsPostAsyncRelativeRetry400Headers(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetryInvalidHeaderHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetryInvalidHeaderHeaders.cs index 8b4a8487a6840..9a75c2d067e83 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetryInvalidHeaderHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetryInvalidHeaderHeaders.cs @@ -31,6 +31,9 @@ public partial class LROSADsPostAsyncRelativeRetryInvalidHeaderHeaders /// Initializes a new instance of the /// LROSADsPostAsyncRelativeRetryInvalidHeaderHeaders class. /// + /// Location to poll for result status: will be set to foo + /// Location to poll for result status: will be set to foo + /// Number of milliseconds until the next poll should be sent, will be set to /bar public LROSADsPostAsyncRelativeRetryInvalidHeaderHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetryInvalidJsonPollingHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetryInvalidJsonPollingHeaders.cs index 55f40ad33f05d..e848a5d39fafb 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetryInvalidJsonPollingHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetryInvalidJsonPollingHeaders.cs @@ -31,6 +31,9 @@ public partial class LROSADsPostAsyncRelativeRetryInvalidJsonPollingHeaders /// Initializes a new instance of the /// LROSADsPostAsyncRelativeRetryInvalidJsonPollingHeaders class. /// + /// Location to poll for result status: will be set to /lro/error/postasync/retry/failed/operationResults/invalidjsonpolling + /// Location to poll for result status: will be set to /lro/error/postasync/retry/failed/operationResults/invalidjsonpolling + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsPostAsyncRelativeRetryInvalidJsonPollingHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetryNoPayloadHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetryNoPayloadHeaders.cs index c5a6c9a6a4b88..a9e11f2fafa41 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetryNoPayloadHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostAsyncRelativeRetryNoPayloadHeaders.cs @@ -31,6 +31,9 @@ public partial class LROSADsPostAsyncRelativeRetryNoPayloadHeaders /// Initializes a new instance of the /// LROSADsPostAsyncRelativeRetryNoPayloadHeaders class. /// + /// Location to poll for result status: will be set to /lro/error/putasync/retry/failed/operationResults/nopayload + /// Location to poll for result status: will be set to /lro/error/putasync/retry/failed/operationResults/nopayload + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsPostAsyncRelativeRetryNoPayloadHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostNonRetry400Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostNonRetry400Headers.cs index a063b6ed3c2b3..1b5dbbb651a60 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostNonRetry400Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPostNonRetry400Headers.cs @@ -31,6 +31,8 @@ public partial class LROSADsPostNonRetry400Headers /// Initializes a new instance of the LROSADsPostNonRetry400Headers /// class. /// + /// Location to poll for result status: will be set to /lro/retryerror/post/202/retry/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsPostNonRetry400Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetry400Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetry400Headers.cs index a8fdaaf7b9fdf..48c1912f97153 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetry400Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetry400Headers.cs @@ -31,6 +31,9 @@ public partial class LROSADsPutAsyncRelativeRetry400Headers /// Initializes a new instance of the /// LROSADsPutAsyncRelativeRetry400Headers class. /// + /// Location to poll for result status: will be set to /lro/nonretryerror/putasync/retry/operationResults/400 + /// Location to poll for result status: will be set to /lro/nonretryerror/putasync/retry/operationResults/400 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsPutAsyncRelativeRetry400Headers(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryInvalidHeaderHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryInvalidHeaderHeaders.cs index 730e2a89f794b..2c24ddd80251d 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryInvalidHeaderHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryInvalidHeaderHeaders.cs @@ -31,6 +31,9 @@ public partial class LROSADsPutAsyncRelativeRetryInvalidHeaderHeaders /// Initializes a new instance of the /// LROSADsPutAsyncRelativeRetryInvalidHeaderHeaders class. /// + /// Location to poll for result status: will be set to /lro/putasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/putasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsPutAsyncRelativeRetryInvalidHeaderHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryInvalidJsonPollingHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryInvalidJsonPollingHeaders.cs index 0854ea59e12cd..93909ae4de918 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryInvalidJsonPollingHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryInvalidJsonPollingHeaders.cs @@ -31,6 +31,9 @@ public partial class LROSADsPutAsyncRelativeRetryInvalidJsonPollingHeaders /// Initializes a new instance of the /// LROSADsPutAsyncRelativeRetryInvalidJsonPollingHeaders class. /// + /// Location to poll for result status: will be set to /lro/putasync/retry/failed/operationResults/200 + /// Location to poll for result status: will be set to /lro/putasync/retry/failed/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsPutAsyncRelativeRetryInvalidJsonPollingHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryNoStatusHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryNoStatusHeaders.cs index 2d63d0682d5d4..0feec651c2654 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryNoStatusHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryNoStatusHeaders.cs @@ -31,6 +31,9 @@ public partial class LROSADsPutAsyncRelativeRetryNoStatusHeaders /// Initializes a new instance of the /// LROSADsPutAsyncRelativeRetryNoStatusHeaders class. /// + /// Location to poll for result status: will be set to /lro/putasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/putasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsPutAsyncRelativeRetryNoStatusHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryNoStatusPayloadHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryNoStatusPayloadHeaders.cs index 5c75b72ec2e31..b4343f06925e4 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryNoStatusPayloadHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROSADsPutAsyncRelativeRetryNoStatusPayloadHeaders.cs @@ -31,6 +31,9 @@ public partial class LROSADsPutAsyncRelativeRetryNoStatusPayloadHeaders /// Initializes a new instance of the /// LROSADsPutAsyncRelativeRetryNoStatusPayloadHeaders class. /// + /// Location to poll for result status: will be set to /lro/putasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/putasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROSADsPutAsyncRelativeRetryNoStatusPayloadHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsCustomHeaderPost202Retry200Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsCustomHeaderPost202Retry200Headers.cs index ab928a160295a..b2a3dfce8149f 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsCustomHeaderPost202Retry200Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsCustomHeaderPost202Retry200Headers.cs @@ -31,6 +31,8 @@ public partial class LROsCustomHeaderPost202Retry200Headers /// Initializes a new instance of the /// LROsCustomHeaderPost202Retry200Headers class. /// + /// Location to poll for result status: will be set to /lro/customheader/post/202/retry/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsCustomHeaderPost202Retry200Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsCustomHeaderPostAsyncRetrySucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsCustomHeaderPostAsyncRetrySucceededHeaders.cs index 10a93dfb18dd5..9678dca47b561 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsCustomHeaderPostAsyncRetrySucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsCustomHeaderPostAsyncRetrySucceededHeaders.cs @@ -31,6 +31,9 @@ public partial class LROsCustomHeaderPostAsyncRetrySucceededHeaders /// Initializes a new instance of the /// LROsCustomHeaderPostAsyncRetrySucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/customheader/putasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/customheader/putasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsCustomHeaderPostAsyncRetrySucceededHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsCustomHeaderPutAsyncRetrySucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsCustomHeaderPutAsyncRetrySucceededHeaders.cs index 66cb66baec84a..d8c10e7446258 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsCustomHeaderPutAsyncRetrySucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsCustomHeaderPutAsyncRetrySucceededHeaders.cs @@ -31,6 +31,9 @@ public partial class LROsCustomHeaderPutAsyncRetrySucceededHeaders /// Initializes a new instance of the /// LROsCustomHeaderPutAsyncRetrySucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/customheader/putasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/customheader/putasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsCustomHeaderPutAsyncRetrySucceededHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDelete202NoRetry204Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDelete202NoRetry204Headers.cs index 9c1043c99e9c2..042b83c537c5d 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDelete202NoRetry204Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDelete202NoRetry204Headers.cs @@ -31,6 +31,8 @@ public partial class LROsDelete202NoRetry204Headers /// Initializes a new instance of the LROsDelete202NoRetry204Headers /// class. /// + /// Location to poll for result status: will be set to /lro/delete/202/noretry/204 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsDelete202NoRetry204Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDelete202Retry200Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDelete202Retry200Headers.cs index 53c58b72c187b..44c11f6aa169c 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDelete202Retry200Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDelete202Retry200Headers.cs @@ -31,6 +31,8 @@ public partial class LROsDelete202Retry200Headers /// Initializes a new instance of the LROsDelete202Retry200Headers /// class. /// + /// Location to poll for result status: will be set to /lro/delete/202/retry/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsDelete202Retry200Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncNoHeaderInRetryHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncNoHeaderInRetryHeaders.cs index 71283acb56866..03ea9001488fa 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncNoHeaderInRetryHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncNoHeaderInRetryHeaders.cs @@ -31,6 +31,7 @@ public partial class LROsDeleteAsyncNoHeaderInRetryHeaders /// Initializes a new instance of the /// LROsDeleteAsyncNoHeaderInRetryHeaders class. /// + /// Location to poll for result status: will be set to /lro/put/noheader/202/204/operationresults public LROsDeleteAsyncNoHeaderInRetryHeaders(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncNoRetrySucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncNoRetrySucceededHeaders.cs index 177d0dbd34861..111834356b9fe 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncNoRetrySucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncNoRetrySucceededHeaders.cs @@ -31,6 +31,9 @@ public partial class LROsDeleteAsyncNoRetrySucceededHeaders /// Initializes a new instance of the /// LROsDeleteAsyncNoRetrySucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/deleteasync/noretry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/deleteasync/noretry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsDeleteAsyncNoRetrySucceededHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncRetryFailedHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncRetryFailedHeaders.cs index 8f3aebdc781a2..0477b0cd025da 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncRetryFailedHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncRetryFailedHeaders.cs @@ -31,6 +31,9 @@ public partial class LROsDeleteAsyncRetryFailedHeaders /// Initializes a new instance of the /// LROsDeleteAsyncRetryFailedHeaders class. /// + /// Location to poll for result status: will be set to /lro/deleteasync/retry/failed/operationResults/200 + /// Location to poll for result status: will be set to /lro/deleteasync/retry/failed/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsDeleteAsyncRetryFailedHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncRetrySucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncRetrySucceededHeaders.cs index acfd07ed5a1cd..5036c25f64959 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncRetrySucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncRetrySucceededHeaders.cs @@ -31,6 +31,9 @@ public partial class LROsDeleteAsyncRetrySucceededHeaders /// Initializes a new instance of the /// LROsDeleteAsyncRetrySucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/deleteasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/deleteasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsDeleteAsyncRetrySucceededHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncRetrycanceledHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncRetrycanceledHeaders.cs index a5d86a7f1b956..b210aa347f700 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncRetrycanceledHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteAsyncRetrycanceledHeaders.cs @@ -31,6 +31,9 @@ public partial class LROsDeleteAsyncRetrycanceledHeaders /// Initializes a new instance of the /// LROsDeleteAsyncRetrycanceledHeaders class. /// + /// Location to poll for result status: will be set to /lro/deleteasync/retry/canceled/operationResults/200 + /// Location to poll for result status: will be set to /lro/deleteasync/retry/canceled/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsDeleteAsyncRetrycanceledHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteNoHeaderInRetryHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteNoHeaderInRetryHeaders.cs index 7dc3e9b001a7b..7ca88ea8744b9 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteNoHeaderInRetryHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteNoHeaderInRetryHeaders.cs @@ -31,6 +31,7 @@ public partial class LROsDeleteNoHeaderInRetryHeaders /// Initializes a new instance of the LROsDeleteNoHeaderInRetryHeaders /// class. /// + /// Location to poll for result status: will be set to /lro/put/noheader/202/204/operationresults public LROsDeleteNoHeaderInRetryHeaders(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteProvisioning202Accepted200SucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteProvisioning202Accepted200SucceededHeaders.cs index 9902e42b88cd1..f40bd8be1208c 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteProvisioning202Accepted200SucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteProvisioning202Accepted200SucceededHeaders.cs @@ -32,6 +32,8 @@ public partial class LROsDeleteProvisioning202Accepted200SucceededHeaders /// Initializes a new instance of the /// LROsDeleteProvisioning202Accepted200SucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/delete/provisioning/202/accepted/200/succeeded + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsDeleteProvisioning202Accepted200SucceededHeaders(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteProvisioning202DeletingFailed200Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteProvisioning202DeletingFailed200Headers.cs index aacc2cc6d51f1..6cc15fce47c05 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteProvisioning202DeletingFailed200Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteProvisioning202DeletingFailed200Headers.cs @@ -31,6 +31,8 @@ public partial class LROsDeleteProvisioning202DeletingFailed200Headers /// Initializes a new instance of the /// LROsDeleteProvisioning202DeletingFailed200Headers class. /// + /// Location to poll for result status: will be set to /lro/delete/provisioning/202/deleting/200/failed + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsDeleteProvisioning202DeletingFailed200Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteProvisioning202Deletingcanceled200Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteProvisioning202Deletingcanceled200Headers.cs index 929ce769234e2..e9e6f59a328ac 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteProvisioning202Deletingcanceled200Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsDeleteProvisioning202Deletingcanceled200Headers.cs @@ -31,6 +31,8 @@ public partial class LROsDeleteProvisioning202Deletingcanceled200Headers /// Initializes a new instance of the /// LROsDeleteProvisioning202Deletingcanceled200Headers class. /// + /// Location to poll for result status: will be set to /lro/delete/provisioning/202/deleting/200/canceled + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsDeleteProvisioning202Deletingcanceled200Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPost202NoRetry204Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPost202NoRetry204Headers.cs index 2b1b350499ac7..fb7b4f5570b53 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPost202NoRetry204Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPost202NoRetry204Headers.cs @@ -31,6 +31,8 @@ public partial class LROsPost202NoRetry204Headers /// Initializes a new instance of the LROsPost202NoRetry204Headers /// class. /// + /// Location to poll for result status: will be set to /lro/post/202/noretry/204 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsPost202NoRetry204Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPost202Retry200Headers.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPost202Retry200Headers.cs index ac65636a94e0d..7cde8cff4b741 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPost202Retry200Headers.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPost202Retry200Headers.cs @@ -29,6 +29,8 @@ public partial class LROsPost202Retry200Headers /// /// Initializes a new instance of the LROsPost202Retry200Headers class. /// + /// Location to poll for result status: will be set to /lro/post/202/retry/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsPost202Retry200Headers(string location = default(string), int? retryAfter = default(int?)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncNoRetrySucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncNoRetrySucceededHeaders.cs index ecfca7fc20346..a289ae09e0341 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncNoRetrySucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncNoRetrySucceededHeaders.cs @@ -31,6 +31,9 @@ public partial class LROsPostAsyncNoRetrySucceededHeaders /// Initializes a new instance of the /// LROsPostAsyncNoRetrySucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/putasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/putasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsPostAsyncNoRetrySucceededHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncRetryFailedHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncRetryFailedHeaders.cs index 075c922deed85..b9b8406d2930f 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncRetryFailedHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncRetryFailedHeaders.cs @@ -31,6 +31,9 @@ public partial class LROsPostAsyncRetryFailedHeaders /// Initializes a new instance of the LROsPostAsyncRetryFailedHeaders /// class. /// + /// Location to poll for result status: will be set to /lro/putasync/retry/failed/operationResults/200 + /// Location to poll for result status: will be set to /lro/putasync/retry/failed/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsPostAsyncRetryFailedHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncRetrySucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncRetrySucceededHeaders.cs index c5130f0ffe7d6..9e49dd7e98fab 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncRetrySucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncRetrySucceededHeaders.cs @@ -31,6 +31,9 @@ public partial class LROsPostAsyncRetrySucceededHeaders /// Initializes a new instance of the /// LROsPostAsyncRetrySucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/putasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/putasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsPostAsyncRetrySucceededHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncRetrycanceledHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncRetrycanceledHeaders.cs index a55f69e4730e4..7d30599946653 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncRetrycanceledHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPostAsyncRetrycanceledHeaders.cs @@ -31,6 +31,9 @@ public partial class LROsPostAsyncRetrycanceledHeaders /// Initializes a new instance of the /// LROsPostAsyncRetrycanceledHeaders class. /// + /// Location to poll for result status: will be set to /lro/putasync/retry/canceled/operationResults/200 + /// Location to poll for result status: will be set to /lro/putasync/retry/canceled/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsPostAsyncRetrycanceledHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncNoRetrySucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncNoRetrySucceededHeaders.cs index b33f4f7df5d1f..552781378e7b6 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncNoRetrySucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncNoRetrySucceededHeaders.cs @@ -31,6 +31,8 @@ public partial class LROsPutAsyncNoRetrySucceededHeaders /// Initializes a new instance of the /// LROsPutAsyncNoRetrySucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/putasync/noretry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/putasync/noretry/succeeded/operationResults/200 public LROsPutAsyncNoRetrySucceededHeaders(string azureAsyncOperation = default(string), string location = default(string)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncNoRetrycanceledHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncNoRetrycanceledHeaders.cs index 4c8bd617507b3..8809b7fa92f31 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncNoRetrycanceledHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncNoRetrycanceledHeaders.cs @@ -31,6 +31,8 @@ public partial class LROsPutAsyncNoRetrycanceledHeaders /// Initializes a new instance of the /// LROsPutAsyncNoRetrycanceledHeaders class. /// + /// Location to poll for result status: will be set to /lro/putasync/noretry/canceled/operationResults/200 + /// Location to poll for result status: will be set to /lro/putasync/noretry/canceled/operationResults/200 public LROsPutAsyncNoRetrycanceledHeaders(string azureAsyncOperation = default(string), string location = default(string)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncRetryFailedHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncRetryFailedHeaders.cs index c840b00f06da1..72b07b8b8b49f 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncRetryFailedHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncRetryFailedHeaders.cs @@ -31,6 +31,9 @@ public partial class LROsPutAsyncRetryFailedHeaders /// Initializes a new instance of the LROsPutAsyncRetryFailedHeaders /// class. /// + /// Location to poll for result status: will be set to /lro/putasync/retry/failed/operationResults/200 + /// Location to poll for result status: will be set to /lro/putasync/retry/failed/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsPutAsyncRetryFailedHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncRetrySucceededHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncRetrySucceededHeaders.cs index b6b88a22380cd..aeac40b7cdeae 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncRetrySucceededHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutAsyncRetrySucceededHeaders.cs @@ -31,6 +31,9 @@ public partial class LROsPutAsyncRetrySucceededHeaders /// Initializes a new instance of the /// LROsPutAsyncRetrySucceededHeaders class. /// + /// Location to poll for result status: will be set to /lro/putasync/retry/succeeded/operationResults/200 + /// Location to poll for result status: will be set to /lro/putasync/retry/succeeded/operationResults/200 + /// Number of milliseconds until the next poll should be sent, will be set to zero public LROsPutAsyncRetrySucceededHeaders(string azureAsyncOperation = default(string), string location = default(string), int? retryAfter = default(int?)) { AzureAsyncOperation = azureAsyncOperation; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutNoHeaderInRetryHeaders.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutNoHeaderInRetryHeaders.cs index e0bbd41f30034..5916afdd61ba6 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutNoHeaderInRetryHeaders.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/LROsPutNoHeaderInRetryHeaders.cs @@ -31,6 +31,7 @@ public partial class LROsPutNoHeaderInRetryHeaders /// Initializes a new instance of the LROsPutNoHeaderInRetryHeaders /// class. /// + /// Location to poll for result status: will be set to /lro/putasync/noheader/202/200/operationResults public LROsPutNoHeaderInRetryHeaders(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/OperationResult.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/OperationResult.cs index ac96c786203b9..2346c5c7759bf 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/OperationResult.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/OperationResult.cs @@ -26,6 +26,7 @@ public partial class OperationResult /// /// Initializes a new instance of the OperationResult class. /// + /// The status of the request. Possible values include: 'Succeeded', 'Failed', 'canceled', 'Accepted', 'Creating', 'Created', 'Updating', 'Updated', 'Deleting', 'Deleted', 'OK' public OperationResult(string status = default(string), OperationResultError error = default(OperationResultError)) { Status = status; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/OperationResultError.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/OperationResultError.cs index 879bd79f188ef..ba85e187616c6 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/OperationResultError.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/OperationResultError.cs @@ -26,6 +26,8 @@ public partial class OperationResultError /// /// Initializes a new instance of the OperationResultError class. /// + /// The error code for an operation failure + /// The detailed arror message public OperationResultError(int? code = default(int?), string message = default(string)) { Code = code; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/Product.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/Product.cs index aa45a2ce75f42..18159b604af7c 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/Product.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/Product.cs @@ -27,6 +27,11 @@ public partial class Product : Resource /// /// Initializes a new instance of the Product class. /// + /// Resource Id + /// Resource Type + /// Resource Location + /// Resource Name + /// Possible values include: 'Succeeded', 'Failed', 'canceled', 'Accepted', 'Creating', 'Created', 'Updating', 'Updated', 'Deleting', 'Deleted', 'OK' public Product(string id = default(string), string type = default(string), IDictionary tags = default(IDictionary), string location = default(string), string name = default(string), string provisioningState = default(string), string provisioningStateValues = default(string)) : base(id, type, tags, location, name) { diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/Resource.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/Resource.cs index ccedfcfae70c4..392064d43cf61 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/Resource.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/Resource.cs @@ -26,6 +26,10 @@ public partial class Resource : IResource /// /// Initializes a new instance of the Resource class. /// + /// Resource Id + /// Resource Type + /// Resource Location + /// Resource Name public Resource(string id = default(string), string type = default(string), IDictionary tags = default(IDictionary), string location = default(string), string name = default(string)) { Id = id; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/SubProduct.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/SubProduct.cs index 838d1be2a237a..7899604d00d4e 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/SubProduct.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/SubProduct.cs @@ -27,6 +27,8 @@ public partial class SubProduct : SubResource /// /// Initializes a new instance of the SubProduct class. /// + /// Sub Resource Id + /// Possible values include: 'Succeeded', 'Failed', 'canceled', 'Accepted', 'Creating', 'Created', 'Updating', 'Updated', 'Deleting', 'Deleted', 'OK' public SubProduct(string id = default(string), string provisioningState = default(string), string provisioningStateValues = default(string)) : base(id) { diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/SubResource.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/SubResource.cs index 55a46212dfea1..2eb32ab594965 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/SubResource.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Lro/Models/SubResource.cs @@ -26,6 +26,7 @@ public partial class SubResource : IResource /// /// Initializes a new instance of the SubResource class. /// + /// Sub Resource Id public SubResource(string id = default(string)) { Id = id; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/OperationResult.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/OperationResult.cs index 69a3704652479..3d6c17f77dc6f 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/OperationResult.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/OperationResult.cs @@ -26,6 +26,7 @@ public partial class OperationResult /// /// Initializes a new instance of the OperationResult class. /// + /// The status of the request. Possible values include: 'Succeeded', 'Failed', 'canceled', 'Accepted', 'Creating', 'Created', 'Updating', 'Updated', 'Deleting', 'Deleted', 'OK' public OperationResult(string status = default(string)) { Status = status; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetMultiplePagesOptions.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetMultiplePagesOptions.cs index 2c900f171ed91..38e9f659ebc9c 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetMultiplePagesOptions.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetMultiplePagesOptions.cs @@ -31,6 +31,8 @@ public partial class PagingGetMultiplePagesOptions /// Initializes a new instance of the PagingGetMultiplePagesOptions /// class. /// + /// Sets the maximum number of items to return in the response. + /// Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. public PagingGetMultiplePagesOptions(int? maxresults = default(int?), int? timeout = default(int?)) { Maxresults = maxresults; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetMultiplePagesWithOffsetNextOptions.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetMultiplePagesWithOffsetNextOptions.cs index 13885d8129848..5ddf8f84ea24c 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetMultiplePagesWithOffsetNextOptions.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetMultiplePagesWithOffsetNextOptions.cs @@ -31,6 +31,8 @@ public partial class PagingGetMultiplePagesWithOffsetNextOptions /// Initializes a new instance of the /// PagingGetMultiplePagesWithOffsetNextOptions class. /// + /// Sets the maximum number of items to return in the response. + /// Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. public PagingGetMultiplePagesWithOffsetNextOptions(int? maxresults = default(int?), int? timeout = default(int?)) { Maxresults = maxresults; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetMultiplePagesWithOffsetOptions.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetMultiplePagesWithOffsetOptions.cs index 5b2b41f863ef2..cdd95d3a84b29 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetMultiplePagesWithOffsetOptions.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetMultiplePagesWithOffsetOptions.cs @@ -32,6 +32,9 @@ public partial class PagingGetMultiplePagesWithOffsetOptions /// Initializes a new instance of the /// PagingGetMultiplePagesWithOffsetOptions class. /// + /// Offset of return value + /// Sets the maximum number of items to return in the response. + /// Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. public PagingGetMultiplePagesWithOffsetOptions(int offset, int? maxresults = default(int?), int? timeout = default(int?)) { Maxresults = maxresults; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetOdataMultiplePagesOptions.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetOdataMultiplePagesOptions.cs index 3231c36550e61..be732fbccf7e7 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetOdataMultiplePagesOptions.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/Paging/Models/PagingGetOdataMultiplePagesOptions.cs @@ -31,6 +31,8 @@ public partial class PagingGetOdataMultiplePagesOptions /// Initializes a new instance of the /// PagingGetOdataMultiplePagesOptions class. /// + /// Sets the maximum number of items to return in the response. + /// Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. public PagingGetOdataMultiplePagesOptions(int? maxresults = default(int?), int? timeout = default(int?)) { Maxresults = maxresults; diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/Models/SampleResourceGroup.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/Models/SampleResourceGroup.cs index 6ce67ca345a8b..48920f5a243ba 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/Models/SampleResourceGroup.cs +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/Models/SampleResourceGroup.cs @@ -26,6 +26,8 @@ public partial class SampleResourceGroup /// /// Initializes a new instance of the SampleResourceGroup class. /// + /// resource group name 'testgroup101' + /// resource group location 'West US' public SampleResourceGroup(string name = default(string), string location = default(string)) { Name = name; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/BodyComplex/Models/Basic.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/BodyComplex/Models/Basic.cs index be0b4041263e4..edd7cefd7a9a3 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/BodyComplex/Models/Basic.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/BodyComplex/Models/Basic.cs @@ -25,6 +25,7 @@ public partial class Basic /// /// Initializes a new instance of the Basic class. /// + /// Possible values include: 'cyan', 'Magenta', 'YELLOW', 'blacK' public Basic(int? id = default(int?), string name = default(string), string color = default(string)) { Id = id; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseBoolHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseBoolHeaders.cs index 3461139acef89..ac665667f58b1 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseBoolHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseBoolHeaders.cs @@ -28,6 +28,7 @@ public partial class HeaderResponseBoolHeaders /// /// Initializes a new instance of the HeaderResponseBoolHeaders class. /// + /// response with header value "value": true or false public HeaderResponseBoolHeaders(bool? value = default(bool?)) { Value = value; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseByteHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseByteHeaders.cs index 742bece92143d..d9c29e096f994 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseByteHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseByteHeaders.cs @@ -28,6 +28,7 @@ public partial class HeaderResponseByteHeaders /// /// Initializes a new instance of the HeaderResponseByteHeaders class. /// + /// response with header values "啊齄丂狛狜隣郎隣兀﨩" public HeaderResponseByteHeaders(byte[] value = default(byte[])) { Value = value; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDateHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDateHeaders.cs index e00cbc09557f9..63d6ec99d1d60 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDateHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDateHeaders.cs @@ -28,6 +28,7 @@ public partial class HeaderResponseDateHeaders /// /// Initializes a new instance of the HeaderResponseDateHeaders class. /// + /// response with header values "2010-01-01" or "0001-01-01" public HeaderResponseDateHeaders(DateTime? value = default(DateTime?)) { Value = value; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDatetimeHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDatetimeHeaders.cs index cffbd3421661b..75de4fe027a88 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDatetimeHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDatetimeHeaders.cs @@ -30,6 +30,7 @@ public partial class HeaderResponseDatetimeHeaders /// Initializes a new instance of the HeaderResponseDatetimeHeaders /// class. /// + /// response with header values "2010-01-01T12:34:56Z" or "0001-01-01T00:00:00Z" public HeaderResponseDatetimeHeaders(DateTime? value = default(DateTime?)) { Value = value; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDatetimeRfc1123Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDatetimeRfc1123Headers.cs index f188e986ab6b5..74533a881e148 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDatetimeRfc1123Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDatetimeRfc1123Headers.cs @@ -30,6 +30,7 @@ public partial class HeaderResponseDatetimeRfc1123Headers /// Initializes a new instance of the /// HeaderResponseDatetimeRfc1123Headers class. /// + /// response with header values "Wed, 01 Jan 2010 12:34:56 GMT" or "Mon, 01 Jan 0001 00:00:00 GMT" public HeaderResponseDatetimeRfc1123Headers(DateTime? value = default(DateTime?)) { Value = value; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDoubleHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDoubleHeaders.cs index e34f3b911d504..0220ef1fed01f 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDoubleHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDoubleHeaders.cs @@ -30,6 +30,7 @@ public partial class HeaderResponseDoubleHeaders /// Initializes a new instance of the HeaderResponseDoubleHeaders /// class. /// + /// response with header value "value": 7e120 or -3.0 public HeaderResponseDoubleHeaders(double? value = default(double?)) { Value = value; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDurationHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDurationHeaders.cs index 2795657f73e3f..a115e2efbbf56 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDurationHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseDurationHeaders.cs @@ -30,6 +30,7 @@ public partial class HeaderResponseDurationHeaders /// Initializes a new instance of the HeaderResponseDurationHeaders /// class. /// + /// response with header values "P123DT22H14M12.011S" public HeaderResponseDurationHeaders(TimeSpan? value = default(TimeSpan?)) { Value = value; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseEnumHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseEnumHeaders.cs index f955fca276f99..32d299f381949 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseEnumHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseEnumHeaders.cs @@ -28,6 +28,7 @@ public partial class HeaderResponseEnumHeaders /// /// Initializes a new instance of the HeaderResponseEnumHeaders class. /// + /// response with header values "GREY" or null public HeaderResponseEnumHeaders(GreyscaleColors? value = default(GreyscaleColors?)) { Value = value; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseExistingKeyHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseExistingKeyHeaders.cs index 42a5c1aeda709..2c277f0923433 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseExistingKeyHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseExistingKeyHeaders.cs @@ -30,6 +30,7 @@ public partial class HeaderResponseExistingKeyHeaders /// Initializes a new instance of the HeaderResponseExistingKeyHeaders /// class. /// + /// response with header value "User-Agent": "overwrite" public HeaderResponseExistingKeyHeaders(string userAgent = default(string)) { UserAgent = userAgent; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseFloatHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseFloatHeaders.cs index 6e5353a3fcaeb..606f62607f3a9 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseFloatHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseFloatHeaders.cs @@ -28,6 +28,7 @@ public partial class HeaderResponseFloatHeaders /// /// Initializes a new instance of the HeaderResponseFloatHeaders class. /// + /// response with header value "value": 0.07 or -3.0 public HeaderResponseFloatHeaders(double? value = default(double?)) { Value = value; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseIntegerHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseIntegerHeaders.cs index 3ce8bd066a79f..2bc0ba3716628 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseIntegerHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseIntegerHeaders.cs @@ -30,6 +30,7 @@ public partial class HeaderResponseIntegerHeaders /// Initializes a new instance of the HeaderResponseIntegerHeaders /// class. /// + /// response with header value "value": 1 or -2 public HeaderResponseIntegerHeaders(int? value = default(int?)) { Value = value; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseLongHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseLongHeaders.cs index 6e15f2eecc4a1..b16ecca57df36 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseLongHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseLongHeaders.cs @@ -28,6 +28,7 @@ public partial class HeaderResponseLongHeaders /// /// Initializes a new instance of the HeaderResponseLongHeaders class. /// + /// response with header value "value": 105 or -2 public HeaderResponseLongHeaders(long? value = default(long?)) { Value = value; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseProtectedKeyHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseProtectedKeyHeaders.cs index 7adbdf29bebfa..3c0a5057a1bc0 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseProtectedKeyHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseProtectedKeyHeaders.cs @@ -30,6 +30,7 @@ public partial class HeaderResponseProtectedKeyHeaders /// Initializes a new instance of the /// HeaderResponseProtectedKeyHeaders class. /// + /// response with header value "Content-Type": "text/html" public HeaderResponseProtectedKeyHeaders(string contentType = default(string)) { ContentType = contentType; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseStringHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseStringHeaders.cs index 0744f2115b545..642f51a5ae5d7 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseStringHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Header/Models/HeaderResponseStringHeaders.cs @@ -30,6 +30,7 @@ public partial class HeaderResponseStringHeaders /// Initializes a new instance of the HeaderResponseStringHeaders /// class. /// + /// response with header values "The quick brown fox jumps over the lazy dog" or null or "" public HeaderResponseStringHeaders(string value = default(string)) { Value = value; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsDelete307Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsDelete307Headers.cs index 999dd9f164742..7839a58fac170 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsDelete307Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsDelete307Headers.cs @@ -30,6 +30,7 @@ public partial class HttpRedirectsDelete307Headers /// Initializes a new instance of the HttpRedirectsDelete307Headers /// class. /// + /// The redirect location for this request public HttpRedirectsDelete307Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet300Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet300Headers.cs index ad0dacb9d1aaa..ba52b04ad7156 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet300Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet300Headers.cs @@ -28,6 +28,7 @@ public partial class HttpRedirectsGet300Headers /// /// Initializes a new instance of the HttpRedirectsGet300Headers class. /// + /// The redirect location for this request public HttpRedirectsGet300Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet301Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet301Headers.cs index 2a543db3975b1..f983c73e1de2b 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet301Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet301Headers.cs @@ -28,6 +28,7 @@ public partial class HttpRedirectsGet301Headers /// /// Initializes a new instance of the HttpRedirectsGet301Headers class. /// + /// The redirect location for this request public HttpRedirectsGet301Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet302Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet302Headers.cs index 59b857904134b..e45006363380b 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet302Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet302Headers.cs @@ -28,6 +28,7 @@ public partial class HttpRedirectsGet302Headers /// /// Initializes a new instance of the HttpRedirectsGet302Headers class. /// + /// The redirect location for this request public HttpRedirectsGet302Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet307Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet307Headers.cs index 73111e08f2591..1b5c291a4b61a 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet307Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsGet307Headers.cs @@ -28,6 +28,7 @@ public partial class HttpRedirectsGet307Headers /// /// Initializes a new instance of the HttpRedirectsGet307Headers class. /// + /// The redirect location for this request public HttpRedirectsGet307Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead300Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead300Headers.cs index 3970436db87b0..472433afd4d06 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead300Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead300Headers.cs @@ -30,6 +30,7 @@ public partial class HttpRedirectsHead300Headers /// Initializes a new instance of the HttpRedirectsHead300Headers /// class. /// + /// The redirect location for this request public HttpRedirectsHead300Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead301Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead301Headers.cs index aed6cb6c515d5..65ee3544c11d3 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead301Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead301Headers.cs @@ -30,6 +30,7 @@ public partial class HttpRedirectsHead301Headers /// Initializes a new instance of the HttpRedirectsHead301Headers /// class. /// + /// The redirect location for this request public HttpRedirectsHead301Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead302Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead302Headers.cs index 797193619a8de..86fbae8d1fcfa 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead302Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead302Headers.cs @@ -30,6 +30,7 @@ public partial class HttpRedirectsHead302Headers /// Initializes a new instance of the HttpRedirectsHead302Headers /// class. /// + /// The redirect location for this request public HttpRedirectsHead302Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead307Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead307Headers.cs index dd01aa2366771..4121032b05000 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead307Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsHead307Headers.cs @@ -30,6 +30,7 @@ public partial class HttpRedirectsHead307Headers /// Initializes a new instance of the HttpRedirectsHead307Headers /// class. /// + /// The redirect location for this request public HttpRedirectsHead307Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPatch302Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPatch302Headers.cs index 8178b6f377ec0..c4e97704d8a56 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPatch302Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPatch302Headers.cs @@ -30,6 +30,7 @@ public partial class HttpRedirectsPatch302Headers /// Initializes a new instance of the HttpRedirectsPatch302Headers /// class. /// + /// The redirect location for this request public HttpRedirectsPatch302Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPatch307Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPatch307Headers.cs index d94f9c8ac7785..6a74fe70dc17f 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPatch307Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPatch307Headers.cs @@ -30,6 +30,7 @@ public partial class HttpRedirectsPatch307Headers /// Initializes a new instance of the HttpRedirectsPatch307Headers /// class. /// + /// The redirect location for this request public HttpRedirectsPatch307Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPost303Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPost303Headers.cs index 9f6ac7869584a..bd1e349817294 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPost303Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPost303Headers.cs @@ -30,6 +30,7 @@ public partial class HttpRedirectsPost303Headers /// Initializes a new instance of the HttpRedirectsPost303Headers /// class. /// + /// The redirect location for this request public HttpRedirectsPost303Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPost307Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPost307Headers.cs index 3f6ee41fd2e46..5c019c5ec4a45 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPost307Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPost307Headers.cs @@ -30,6 +30,7 @@ public partial class HttpRedirectsPost307Headers /// Initializes a new instance of the HttpRedirectsPost307Headers /// class. /// + /// The redirect location for this request public HttpRedirectsPost307Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPut301Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPut301Headers.cs index 3eb3f2fe37f13..3dcc911831a33 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPut301Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPut301Headers.cs @@ -28,6 +28,7 @@ public partial class HttpRedirectsPut301Headers /// /// Initializes a new instance of the HttpRedirectsPut301Headers class. /// + /// The redirect location for this request public HttpRedirectsPut301Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPut307Headers.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPut307Headers.cs index a4cbbc843f10c..12d5658420fb7 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPut307Headers.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Http/Models/HttpRedirectsPut307Headers.cs @@ -28,6 +28,7 @@ public partial class HttpRedirectsPut307Headers /// /// Initializes a new instance of the HttpRedirectsPut307Headers class. /// + /// The redirect location for this request public HttpRedirectsPut307Headers(string location = default(string)) { Location = location; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/BaseProduct.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/BaseProduct.cs index 9d1e0f232978c..5ab17666351c9 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/BaseProduct.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/BaseProduct.cs @@ -28,6 +28,8 @@ public partial class BaseProduct /// /// Initializes a new instance of the BaseProduct class. /// + /// 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. + /// Description of product. public BaseProduct(string productId, string description = default(string)) { ProductId = productId; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/FlattenParameterGroup.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/FlattenParameterGroup.cs index 71332d3897631..745a1e9947537 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/FlattenParameterGroup.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/FlattenParameterGroup.cs @@ -29,6 +29,12 @@ public partial class FlattenParameterGroup /// /// Initializes a new instance of the FlattenParameterGroup class. /// + /// Product name with value 'groupproduct' + /// 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. + /// Display name of product. + /// Description of product. + /// Generic URL value. + /// URL value. public FlattenParameterGroup(string name, string productId, string maxProductDisplayName, string description = default(string), string genericValue = default(string), string odatavalue = default(string)) { Name = name; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/FlattenedProduct.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/FlattenedProduct.cs index 0bd59ed9097d6..73649940c1711 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/FlattenedProduct.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/FlattenedProduct.cs @@ -30,6 +30,11 @@ public partial class FlattenedProduct : Resource /// /// Initializes a new instance of the FlattenedProduct class. /// + /// Resource Id + /// Resource Type + /// Resource Location + /// Resource Name + /// Possible values include: 'Succeeded', 'Failed', 'canceled', 'Accepted', 'Creating', 'Created', 'Updating', 'Updated', 'Deleting', 'Deleted', 'OK' public FlattenedProduct(string id = default(string), string type = default(string), IDictionary tags = default(IDictionary), string location = default(string), string name = default(string), string pname = default(string), string flattenedProductType = default(string), string provisioningStateValues = default(string), string provisioningState = default(string)) : base(id, type, tags, location, name) { diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/GenericUrl.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/GenericUrl.cs index 2022f0d0a073c..2e130bcfc4b78 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/GenericUrl.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/GenericUrl.cs @@ -28,6 +28,7 @@ public partial class GenericUrl /// /// Initializes a new instance of the GenericUrl class. /// + /// Generic URL value. public GenericUrl(string genericValue = default(string)) { GenericValue = genericValue; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/Resource.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/Resource.cs index 5679632fe9533..201c7ae4a0b65 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/Resource.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/Resource.cs @@ -25,6 +25,10 @@ public partial class Resource /// /// Initializes a new instance of the Resource class. /// + /// Resource Id + /// Resource Type + /// Resource Location + /// Resource Name public Resource(string id = default(string), string type = default(string), IDictionary tags = default(IDictionary), string location = default(string), string name = default(string)) { Id = id; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/SimpleProduct.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/SimpleProduct.cs index eaf945c137c19..46d6c7478b1f0 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/SimpleProduct.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/ModelFlattening/Models/SimpleProduct.cs @@ -29,6 +29,11 @@ public partial class SimpleProduct : BaseProduct /// /// Initializes a new instance of the SimpleProduct class. /// + /// 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. + /// Display name of product. + /// Description of product. + /// Generic URL value. + /// URL value. public SimpleProduct(string productId, string maxProductDisplayName, string description = default(string), string genericValue = default(string), string odatavalue = default(string)) : base(productId, description) { diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Validation/Models/ChildProduct.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Validation/Models/ChildProduct.cs index be6803337118d..306f135e029a4 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Validation/Models/ChildProduct.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Validation/Models/ChildProduct.cs @@ -28,6 +28,7 @@ public partial class ChildProduct /// /// Initializes a new instance of the ChildProduct class. /// + /// Count public ChildProduct(int? count = default(int?)) { Count = count; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Validation/Models/Product.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Validation/Models/Product.cs index 89a58824b738c..c22b148732a0c 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Validation/Models/Product.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/AcceptanceTests/Validation/Models/Product.cs @@ -31,6 +31,10 @@ public Product() /// /// Initializes a new instance of the Product class. /// + /// Non required array of unique items from 0 to 6 elements. + /// Non required int betwen 0 and 100 exclusive. + /// Image URL representing the product. + /// Constant string as Enum. Possible values include: 'constant_string_as_enum' public Product(ChildProduct child, IList displayNames = default(IList), int? capacity = default(int?), string image = default(string), EnumConst? constStringAsEnum = default(EnumConst?)) { Child = new ChildProduct(); diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/Pet.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/Pet.cs index b6fded6e63f23..b729e9c022dc1 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/Pet.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/Pet.cs @@ -25,6 +25,7 @@ public partial class Pet /// /// Initializes a new instance of the Pet class. /// + /// Unmatched properties from the message are deserialized this collection public Pet(IDictionary additionalProperties = default(IDictionary), string name = default(string), int? birthday = default(int?), WithStringDictionary wsd = default(WithStringDictionary), WithUntypedDictionary wud = default(WithUntypedDictionary), WithTypedDictionary wtd = default(WithTypedDictionary)) { AdditionalProperties = additionalProperties; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/WithStringDictionary.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/WithStringDictionary.cs index 114575124bda8..9ef02889eed6b 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/WithStringDictionary.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/WithStringDictionary.cs @@ -25,6 +25,7 @@ public partial class WithStringDictionary /// /// Initializes a new instance of the WithStringDictionary class. /// + /// Unmatched properties from the message are deserialized this collection public WithStringDictionary(IDictionary additionalProperties = default(IDictionary), string abc = default(string)) { AdditionalProperties = additionalProperties; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/WithTypedDictionary.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/WithTypedDictionary.cs index 91be0e718f83d..8fb5efd770f30 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/WithTypedDictionary.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/WithTypedDictionary.cs @@ -25,6 +25,7 @@ public partial class WithTypedDictionary /// /// Initializes a new instance of the WithTypedDictionary class. /// + /// Unmatched properties from the message are deserialized this collection public WithTypedDictionary(IDictionary additionalProperties = default(IDictionary), string abc = default(string)) { AdditionalProperties = additionalProperties; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/WithUntypedDictionary.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/WithUntypedDictionary.cs index d6cd540ef251b..a7f174879138c 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/WithUntypedDictionary.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Additional.Properties/Models/WithUntypedDictionary.cs @@ -25,6 +25,7 @@ public partial class WithUntypedDictionary /// /// Initializes a new instance of the WithUntypedDictionary class. /// + /// Unmatched properties from the message are deserialized this collection public WithUntypedDictionary(IDictionary additionalProperties = default(IDictionary), string abc = default(string)) { AdditionalProperties = additionalProperties; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/Animal.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/Animal.cs index ff20c9b53490f..ced5a086ed4e7 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/Animal.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/Animal.cs @@ -25,6 +25,8 @@ public partial class Animal /// /// Initializes a new instance of the Animal class. /// + /// Id. + /// Description of a Animal. public Animal(string id = default(string), string description = default(string)) { Id = id; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/BaseCat.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/BaseCat.cs index 1504a551144a8..537315c56a278 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/BaseCat.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/BaseCat.cs @@ -25,6 +25,9 @@ public partial class BaseCat : Animal /// /// Initializes a new instance of the BaseCat class. /// + /// Id. + /// Description of a Animal. + /// cat color public BaseCat(string id = default(string), string description = default(string), string color = default(string)) : base(id, description) { diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/BurmeseCat.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/BurmeseCat.cs index b815f2c67c76e..b25011889f24b 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/BurmeseCat.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/BurmeseCat.cs @@ -25,6 +25,11 @@ public partial class BurmeseCat : SiameseCat /// /// Initializes a new instance of the BurmeseCat class. /// + /// Id. + /// Description of a Animal. + /// cat color + /// cat length + /// cat nick name public BurmeseCat(string id = default(string), string description = default(string), string color = default(string), int? length = default(int?), int? nickName = default(int?)) : base(id, description, color, length) { diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/Doggy.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/Doggy.cs index 0572ac24c447f..72f7296fbadb0 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/Doggy.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/Doggy.cs @@ -25,6 +25,9 @@ public partial class Doggy : Animal /// /// Initializes a new instance of the Doggy class. /// + /// Id. + /// Description of a Animal. + /// dog name public Doggy(string id = default(string), string description = default(string), string name = default(string)) : base(id, description) { diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/HimalayanCat.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/HimalayanCat.cs index 5d175e80804a1..09c8bec97b7a0 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/HimalayanCat.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/HimalayanCat.cs @@ -25,6 +25,11 @@ public partial class HimalayanCat : SiameseCat /// /// Initializes a new instance of the HimalayanCat class. /// + /// Id. + /// Description of a Animal. + /// cat color + /// cat length + /// cat hair length public HimalayanCat(string id = default(string), string description = default(string), string color = default(string), int? length = default(int?), int? hairLength = default(int?)) : base(id, description, color, length) { diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/Horsey.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/Horsey.cs index 144bf308611f6..44c87071da47e 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/Horsey.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/Horsey.cs @@ -25,6 +25,9 @@ public partial class Horsey : Animal /// /// Initializes a new instance of the Horsey class. /// + /// Id. + /// Description of a Animal. + /// horse breed public Horsey(string id = default(string), string description = default(string), string breed = default(string)) : base(id, description) { diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/PersianCat.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/PersianCat.cs index 26ff193a73afc..55f3043724f43 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/PersianCat.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/PersianCat.cs @@ -25,6 +25,10 @@ public partial class PersianCat : BaseCat /// /// Initializes a new instance of the PersianCat class. /// + /// Id. + /// Description of a Animal. + /// cat color + /// cat size public PersianCat(string id = default(string), string description = default(string), string color = default(string), int? size = default(int?)) : base(id, description, color) { diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/SiameseCat.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/SiameseCat.cs index fbaf9b7ecdaef..06b7f7263f7dd 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/SiameseCat.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/Models/SiameseCat.cs @@ -25,6 +25,10 @@ public partial class SiameseCat : BaseCat /// /// Initializes a new instance of the SiameseCat class. /// + /// Id. + /// Description of a Animal. + /// cat color + /// cat length public SiameseCat(string id = default(string), string description = default(string), string color = default(string), int? length = default(int?)) : base(id, description, color) { diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Primitives/Models/Product.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Primitives/Models/Product.cs index fcb542d7165ed..8ffcde77b5416 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Primitives/Models/Product.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Primitives/Models/Product.cs @@ -25,6 +25,7 @@ public partial class Product /// /// Initializes a new instance of the Product class. /// + /// Possible values include: 'red', 'blue', 'green' public Product(int? integer = default(int?), int? intProperty = default(int?), long? longProperty = default(long?), double? number = default(double?), double? floatProperty = default(double?), double? doubleProperty = default(double?), byte[] byteProperty = default(byte[]), string stringProperty = default(string), byte[] base64url = default(byte[]), Guid? uuid = default(Guid?), string enumProperty = default(string), bool? boolean = default(bool?), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), IList integerArray = default(IList), IList intArray = default(IList), IList longArray = default(IList), IList numberArray = default(IList), IList floatArray = default(IList), IList doubleArray = default(IList), IList byteArray = default(IList), IList booleanArray = default(IList), IList stringArray = default(IList), IList base64urlArray = default(IList), IList dateArray = default(IList), IList dateTimeArray = default(IList), IList uuidArray = default(IList)) { Integer = integer; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/Models/Product.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/Models/Product.cs index 5752acc51ef91..2a1af85eaeae2 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/Models/Product.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/Models/Product.cs @@ -25,6 +25,7 @@ public partial class Product /// /// Initializes a new instance of the Product class. /// + /// 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. public Product(string productId = default(string), Product parentProduct = default(Product), IList innerProducts = default(IList)) { ProductId = productId; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/LoginUserHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/LoginUserHeaders.cs index 295f1137f2e98..ecdaa376b9a58 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/LoginUserHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/LoginUserHeaders.cs @@ -28,6 +28,8 @@ public partial class LoginUserHeaders /// /// Initializes a new instance of the LoginUserHeaders class. /// + /// calls per hour allowed by the user + /// date in UTC when toekn expires public LoginUserHeaders(int? xRateLimit = default(int?), DateTime? xExpiresAfter = default(DateTime?)) { XRateLimit = xRateLimit; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/Order.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/Order.cs index fab6f61cc6cc3..60e61de98e0cc 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/Order.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/Order.cs @@ -25,6 +25,7 @@ public partial class Order /// /// Initializes a new instance of the Order class. /// + /// Order Status. Possible values include: 'placed', 'approved', 'delivered' public Order(long? id = default(long?), long? petId = default(long?), int? quantity = default(int?), DateTime? shipDate = default(DateTime?), string status = default(string), bool? complete = default(bool?)) { Id = id; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/Pet.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/Pet.cs index 4635bbfbb5451..9fd1cfb1fd029 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/Pet.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/Pet.cs @@ -25,6 +25,7 @@ public partial class Pet /// /// Initializes a new instance of the Pet class. /// + /// pet status in the store. Possible values include: 'available', 'pending', 'sold' public Pet(string name, IList photoUrls, long? id = default(long?), Category category = default(Category), IList tags = default(IList), byte[] sByteProperty = default(byte[]), DateTime? birthday = default(DateTime?), IDictionary dictionary = default(IDictionary), string status = default(string)) { Id = id; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/User.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/User.cs index 26aa7a291ee10..c8c15d57ace5a 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/User.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/User.cs @@ -25,6 +25,7 @@ public partial class User /// /// Initializes a new instance of the User class. /// + /// User Status public User(long? id = default(long?), string username = default(string), string firstName = default(string), string lastName = default(string), string email = default(string), string password = default(string), string phone = default(string), int? userStatus = default(int?)) { Id = id; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/LoginUserHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/LoginUserHeaders.cs index adb1cbec27fd2..df767fd49cd80 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/LoginUserHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/LoginUserHeaders.cs @@ -28,6 +28,8 @@ public partial class LoginUserHeaders /// /// Initializes a new instance of the LoginUserHeaders class. /// + /// calls per hour allowed by the user + /// date in UTC when toekn expires public LoginUserHeaders(int? xRateLimit = default(int?), DateTime? xExpiresAfter = default(DateTime?)) { XRateLimit = xRateLimit; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/Order.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/Order.cs index 301590aa5c816..6d0f202572c29 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/Order.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/Order.cs @@ -25,6 +25,7 @@ public partial class Order /// /// Initializes a new instance of the Order class. /// + /// Order Status. Possible values include: 'placed', 'approved', 'delivered' public Order(long? id = default(long?), long? petId = default(long?), int? quantity = default(int?), DateTime? shipDate = default(DateTime?), string status = default(string), bool? complete = default(bool?)) { Id = id; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/Pet.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/Pet.cs index b60f2e5bb1e15..b14a280191df1 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/Pet.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/Pet.cs @@ -25,6 +25,7 @@ public partial class Pet /// /// Initializes a new instance of the Pet class. /// + /// pet status in the store. Possible values include: 'available', 'pending', 'sold' public Pet(string name, IList photoUrls, long? id = default(long?), Category category = default(Category), IList tags = default(IList), byte[] sByteProperty = default(byte[]), DateTime? birthday = default(DateTime?), IDictionary dictionary = default(IDictionary), string status = default(string)) { Id = id; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/User.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/User.cs index 215ab2c2f6ca1..d8ab8aaf5ee64 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/User.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/Models/User.cs @@ -25,6 +25,7 @@ public partial class User /// /// Initializes a new instance of the User class. /// + /// User Status public User(long? id = default(long?), string username = default(string), string firstName = default(string), string lastName = default(string), string email = default(string), string password = default(string), string phone = default(string), int? userStatus = default(int?)) { Id = id; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/LoginUserHeaders.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/LoginUserHeaders.cs index f39e029d64a6d..020a023a814f1 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/LoginUserHeaders.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/LoginUserHeaders.cs @@ -28,6 +28,8 @@ public partial class LoginUserHeaders /// /// Initializes a new instance of the LoginUserHeaders class. /// + /// calls per hour allowed by the user + /// date in UTC when toekn expires public LoginUserHeaders(int? xRateLimit = default(int?), DateTime? xExpiresAfter = default(DateTime?)) { XRateLimit = xRateLimit; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/Order.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/Order.cs index 417f442a64652..b3429c44d00b5 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/Order.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/Order.cs @@ -25,6 +25,7 @@ public partial class Order /// /// Initializes a new instance of the Order class. /// + /// Order Status. Possible values include: 'placed', 'approved', 'delivered' public Order(long? id = default(long?), long? petId = default(long?), int? quantity = default(int?), DateTime? shipDate = default(DateTime?), string status = default(string), bool? complete = default(bool?)) { Id = id; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/Pet.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/Pet.cs index 104eef1ad8983..20051048bab55 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/Pet.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/Pet.cs @@ -25,6 +25,7 @@ public partial class Pet /// /// Initializes a new instance of the Pet class. /// + /// pet status in the store. Possible values include: 'available', 'pending', 'sold' public Pet(string name, IList photoUrls, long? id = default(long?), Category category = default(Category), IList tags = default(IList), byte[] sByteProperty = default(byte[]), DateTime? birthday = default(DateTime?), IDictionary dictionary = default(IDictionary), string status = default(string)) { Id = id; diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/User.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/User.cs index 293823aaf39d8..aea1b2c9c34ad 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/User.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/Models/User.cs @@ -25,6 +25,7 @@ public partial class User /// /// Initializes a new instance of the User class. /// + /// User Status public User(long? id = default(long?), string username = default(string), string firstName = default(string), string lastName = default(string), string email = default(string), string password = default(string), string phone = default(string), int? userStatus = default(int?)) { Id = id; diff --git a/AutoRest/Generators/CSharp/CSharp/TemplateModels/ModelTemplateModel.cs b/AutoRest/Generators/CSharp/CSharp/TemplateModels/ModelTemplateModel.cs index 25668c2ac0042..bfecf1a835426 100644 --- a/AutoRest/Generators/CSharp/CSharp/TemplateModels/ModelTemplateModel.cs +++ b/AutoRest/Generators/CSharp/CSharp/TemplateModels/ModelTemplateModel.cs @@ -65,6 +65,14 @@ public string ConstructorParameters } } + public IEnumerable ConstructorParametersDocumentation + { + get + { + return this._constructorModel.SignatureDocumentation; + } + } + public string BaseConstructorCall { get @@ -165,11 +173,14 @@ public ConstructorModel(ModelTemplateModel model) Parameters = allProperties.Select(p => new ConstructorParameterModel(p.Property)); Signature = CreateSignature(Parameters); + SignatureDocumentation = CreateSignatureDocumentation(Parameters); BaseCall = CreateBaseCall(model); } public IEnumerable Parameters { get; private set; } + public IEnumerable SignatureDocumentation { get; private set; } + public string Signature { get; private set; } public string BaseCall { get; private set; } @@ -187,6 +198,31 @@ private static string CreateSignature(IEnumerable par return string.Join(", ", declarations); } + private static IEnumerable CreateSignatureDocumentation(IEnumerable parameters) + { + var declarations = new List(); + + IEnumerable parametersWithDocumentation = + parameters.Where(p => !(string.IsNullOrEmpty(p.UnderlyingProperty.Summary) && + string.IsNullOrEmpty(p.UnderlyingProperty.Documentation)) && + !p.UnderlyingProperty.IsConstant).Select(p => p.UnderlyingProperty); + + foreach (var property in parametersWithDocumentation) + { + var documentationInnerText = property.Summary ?? property.Documentation; + + var documentation = string.Format( + CultureInfo.InvariantCulture, + "{1}", + char.ToLower(property.Name[0], CultureInfo.InvariantCulture) + property.Name.Substring(1), + documentationInnerText); + + declarations.Add(documentation); + } + + return declarations; + } + private static string CreateBaseCall(ModelTemplateModel model) { if (model._baseModel != null) diff --git a/AutoRest/Generators/CSharp/CSharp/Templates/ModelTemplate.cshtml b/AutoRest/Generators/CSharp/CSharp/Templates/ModelTemplate.cshtml index 6f98af38b9163..ec4deb28e4431 100644 --- a/AutoRest/Generators/CSharp/CSharp/Templates/ModelTemplate.cshtml +++ b/AutoRest/Generators/CSharp/CSharp/Templates/ModelTemplate.cshtml @@ -78,6 +78,10 @@ namespace @(Settings.Namespace).Models @:/// @:@WrapComment("/// ", ("Initializes a new instance of the " + Model.Name + " class.").EscapeXmlComment()) @:/// + foreach (var parameter in Model.ConstructorParametersDocumentation) + { + @:/// @(parameter) + } @:public @(Model.Name)(@Model.ConstructorParameters) if (!string.IsNullOrEmpty(Model.BaseConstructorCall)) { diff --git a/Samples/azure-storage/Azure.CSharp/Models/CheckNameAvailabilityResult.cs b/Samples/azure-storage/Azure.CSharp/Models/CheckNameAvailabilityResult.cs index 086e8b5169ec2..3314c73b429a5 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/CheckNameAvailabilityResult.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/CheckNameAvailabilityResult.cs @@ -24,6 +24,9 @@ public partial class CheckNameAvailabilityResult /// Initializes a new instance of the CheckNameAvailabilityResult /// class. /// + /// 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. + /// 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' + /// Gets an error message explaining the Reason value in more detail. public CheckNameAvailabilityResult(bool? nameAvailable = default(bool?), Reason? reason = default(Reason?), string message = default(string)) { NameAvailable = nameAvailable; diff --git a/Samples/azure-storage/Azure.CSharp/Models/CustomDomain.cs b/Samples/azure-storage/Azure.CSharp/Models/CustomDomain.cs index 230a851bc8085..780666fbf8397 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/CustomDomain.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/CustomDomain.cs @@ -23,6 +23,8 @@ public partial class CustomDomain /// /// Initializes a new instance of the CustomDomain class. /// + /// Gets or sets the custom domain name. Name is the CNAME source. + /// Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates public CustomDomain(string name, bool? useSubDomain = default(bool?)) { Name = name; diff --git a/Samples/azure-storage/Azure.CSharp/Models/Endpoints.cs b/Samples/azure-storage/Azure.CSharp/Models/Endpoints.cs index f9b8d67d127d3..07da02a859814 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/Endpoints.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/Endpoints.cs @@ -23,6 +23,10 @@ public partial class Endpoints /// /// Initializes a new instance of the Endpoints class. /// + /// Gets the blob endpoint. + /// Gets the queue endpoint. + /// Gets the table endpoint. + /// Gets the file endpoint. public Endpoints(string blob = default(string), string queue = default(string), string table = default(string), string file = default(string)) { Blob = blob; diff --git a/Samples/azure-storage/Azure.CSharp/Models/Resource.cs b/Samples/azure-storage/Azure.CSharp/Models/Resource.cs index fbf994880b942..4b59343c53e92 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/Resource.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/Resource.cs @@ -19,6 +19,11 @@ public partial class Resource : IResource /// /// Initializes a new instance of the Resource class. /// + /// Resource Id + /// Resource name + /// Resource type + /// Resource location + /// Resource tags public Resource(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary)) { Id = id; diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccount.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccount.cs index dedd17fb0a309..65bf844fa18b1 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccount.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccount.cs @@ -22,6 +22,11 @@ public partial class StorageAccount : Resource /// /// Initializes a new instance of the StorageAccount class. /// + /// Resource Id + /// Resource name + /// Resource type + /// Resource location + /// Resource tags public StorageAccount(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), StorageAccountProperties properties = default(StorageAccountProperties)) : base(id, name, type, location, tags) { diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountCreateParameters.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountCreateParameters.cs index 182a1be67f7ae..c45249670e36f 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountCreateParameters.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountCreateParameters.cs @@ -24,6 +24,8 @@ public partial class StorageAccountCreateParameters : IResource /// Initializes a new instance of the StorageAccountCreateParameters /// class. /// + /// Resource location + /// Resource tags public StorageAccountCreateParameters(string location, IDictionary tags = default(IDictionary), StorageAccountPropertiesCreateParameters properties = default(StorageAccountPropertiesCreateParameters)) { Location = location; diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountKeys.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountKeys.cs index 823fee32250f7..17fc974d70b0a 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountKeys.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountKeys.cs @@ -22,6 +22,8 @@ public partial class StorageAccountKeys /// /// Initializes a new instance of the StorageAccountKeys class. /// + /// Gets the value of key 1. + /// Gets the value of key 2. public StorageAccountKeys(string key1 = default(string), string key2 = default(string)) { Key1 = key1; diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountProperties.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountProperties.cs index 004cc5f93329d..fc6600913fb86 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountProperties.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountProperties.cs @@ -19,6 +19,17 @@ public partial class StorageAccountProperties /// /// Initializes a new instance of the StorageAccountProperties class. /// + /// Gets the status of the storage account at the time the operation was called. Possible values include: 'Creating', 'ResolvingDNS', 'Succeeded' + /// Gets the type of the storage account. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS', 'Standard_RAGRS', 'Premium_LRS' + /// 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. + /// Gets the location of the primary for the storage account. + /// Gets the status indicating whether the primary location of the storage account is available or unavailable. Possible values include: 'Available', 'Unavailable' + /// 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. + /// Gets the location of the geo replicated secondary for the storage account. Only available if the accountType is StandardGRS or StandardRAGRS. + /// 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' + /// Gets the creation date and time of the storage account in UTC. + /// Gets the user assigned custom domain assigned to this storage account. + /// 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. public StorageAccountProperties(ProvisioningState? provisioningState = default(ProvisioningState?), AccountType? accountType = default(AccountType?), Endpoints primaryEndpoints = default(Endpoints), string primaryLocation = default(string), AccountStatus? statusOfPrimary = default(AccountStatus?), DateTime? lastGeoFailoverTime = default(DateTime?), string secondaryLocation = default(string), AccountStatus? statusOfSecondary = default(AccountStatus?), DateTime? creationTime = default(DateTime?), CustomDomain customDomain = default(CustomDomain), Endpoints secondaryEndpoints = default(Endpoints)) { ProvisioningState = provisioningState; diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesCreateParameters.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesCreateParameters.cs index 8cf587ba02d78..15c2ee2251e39 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesCreateParameters.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesCreateParameters.cs @@ -21,6 +21,7 @@ public partial class StorageAccountPropertiesCreateParameters /// Initializes a new instance of the /// StorageAccountPropertiesCreateParameters class. /// + /// Gets or sets the account type. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS', 'Standard_RAGRS', 'Premium_LRS' public StorageAccountPropertiesCreateParameters(AccountType accountType) { AccountType = accountType; diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesUpdateParameters.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesUpdateParameters.cs index 0540c6697ce03..13be2a2b7c05d 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesUpdateParameters.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesUpdateParameters.cs @@ -21,6 +21,8 @@ public partial class StorageAccountPropertiesUpdateParameters /// Initializes a new instance of the /// StorageAccountPropertiesUpdateParameters class. /// + /// 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' + /// 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. public StorageAccountPropertiesUpdateParameters(AccountType? accountType = default(AccountType?), CustomDomain customDomain = default(CustomDomain)) { AccountType = accountType; diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountUpdateParameters.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountUpdateParameters.cs index 6bb6e245a6323..deef862fafc0e 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountUpdateParameters.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountUpdateParameters.cs @@ -24,6 +24,7 @@ public partial class StorageAccountUpdateParameters : IResource /// Initializes a new instance of the StorageAccountUpdateParameters /// class. /// + /// Resource tags public StorageAccountUpdateParameters(IDictionary tags = default(IDictionary), StorageAccountPropertiesUpdateParameters properties = default(StorageAccountPropertiesUpdateParameters)) { Tags = tags; diff --git a/Samples/azure-storage/Azure.CSharp/Models/Usage.cs b/Samples/azure-storage/Azure.CSharp/Models/Usage.cs index eed68680d72f4..55e8efea0849a 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/Usage.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/Usage.cs @@ -22,6 +22,10 @@ public partial class Usage /// /// Initializes a new instance of the Usage class. /// + /// Gets the unit of measurement. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond', 'BytesPerSecond' + /// Gets the current count of the allocated resources in the subscription. + /// Gets the maximum count of the resources that can be allocated in the subscription. + /// Gets the name of the type of usage. public Usage(UsageUnit unit, int currentValue, int limit, UsageName name) { Unit = unit; diff --git a/Samples/azure-storage/Azure.CSharp/Models/UsageName.cs b/Samples/azure-storage/Azure.CSharp/Models/UsageName.cs index 9acc8b5e30d4e..358acbc355e45 100644 --- a/Samples/azure-storage/Azure.CSharp/Models/UsageName.cs +++ b/Samples/azure-storage/Azure.CSharp/Models/UsageName.cs @@ -22,6 +22,8 @@ public partial class UsageName /// /// Initializes a new instance of the UsageName class. /// + /// Gets a string describing the resource name. + /// Gets a localized string describing the resource name. public UsageName(string value = default(string), string localizedValue = default(string)) { Value = value; diff --git a/Samples/petstore/CSharp/Models/Order.cs b/Samples/petstore/CSharp/Models/Order.cs index 23e3155fa2f51..e9dfb1f035a39 100644 --- a/Samples/petstore/CSharp/Models/Order.cs +++ b/Samples/petstore/CSharp/Models/Order.cs @@ -18,6 +18,7 @@ public partial class Order /// /// Initializes a new instance of the Order class. /// + /// Order Status. Possible values include: 'placed', 'approved', 'delivered' public Order(long? id = default(long?), long? petId = default(long?), int? quantity = default(int?), DateTime? shipDate = default(DateTime?), string status = default(string), bool? complete = default(bool?)) { Id = id; diff --git a/Samples/petstore/CSharp/Models/Pet.cs b/Samples/petstore/CSharp/Models/Pet.cs index 4e60116925bdd..8c67d7f82edf7 100644 --- a/Samples/petstore/CSharp/Models/Pet.cs +++ b/Samples/petstore/CSharp/Models/Pet.cs @@ -24,6 +24,8 @@ public partial class Pet /// /// Initializes a new instance of the Pet class. /// + /// The id of the pet. + /// pet status in the store. Possible values include: 'available', 'pending', 'sold' public Pet(string name, IList photoUrls, long? id = default(long?), Category category = default(Category), IList tags = default(IList), string status = default(string)) { Id = id; diff --git a/Samples/petstore/CSharp/Models/User.cs b/Samples/petstore/CSharp/Models/User.cs index acdc7b1824011..9b00fd87ef6a9 100644 --- a/Samples/petstore/CSharp/Models/User.cs +++ b/Samples/petstore/CSharp/Models/User.cs @@ -18,6 +18,7 @@ public partial class User /// /// Initializes a new instance of the User class. /// + /// User Status public User(long? id = default(long?), string username = default(string), string firstName = default(string), string lastName = default(string), string email = default(string), string password = default(string), string phone = default(string), int? userStatus = default(int?)) { Id = id;