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 e30aad4613..a3f115e527 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
@@ -44,7 +44,8 @@ public Basic() { }
public string Name { get; set; }
///
- /// Possible values include: 'cyan', 'Magenta', 'YELLOW', 'blacK'
+ /// Gets or sets possible values include: 'cyan', 'Magenta', 'YELLOW',
+ /// 'blacK'
///
[JsonProperty(PropertyName = "color")]
public string Color { get; set; }
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 66c81ff69d..7d380e403b 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
@@ -32,7 +32,7 @@ public CatalogArray() { }
}
///
- /// Array of products
+ /// Gets or sets array of products
///
[JsonProperty(PropertyName = "productArray")]
public IList ProductArray { get; set; }
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 893eaa5620..5f64fd7d8b 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
@@ -32,7 +32,7 @@ public CatalogArrayOfDictionary() { }
}
///
- /// Array of dictionary of products
+ /// Gets or sets array of dictionary of products
///
[JsonProperty(PropertyName = "productArrayOfDictionary")]
public IList> ProductArrayOfDictionary { get; set; }
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 fc5886801b..f3b008a02d 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
@@ -32,7 +32,7 @@ public CatalogDictionary() { }
}
///
- /// Dictionary of products
+ /// Gets or sets dictionary of products
///
[JsonProperty(PropertyName = "productDictionary")]
public IDictionary ProductDictionary { get; set; }
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 08422bdccb..1ce6d5bda5 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
@@ -32,7 +32,7 @@ public CatalogDictionaryOfArray() { }
}
///
- /// Dictionary of Array of product
+ /// Gets or sets dictionary of Array of product
///
[JsonProperty(PropertyName = "productDictionaryOfArray")]
public IDictionary> ProductDictionaryOfArray { get; set; }
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 f09206d457..6490bfe15f 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
@@ -39,33 +39,34 @@ public Product() { }
}
///
- /// 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.
+ /// Gets or sets 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.
///
[JsonProperty(PropertyName = "product_id")]
public string ProductId { get; set; }
///
- /// Description of product.
+ /// Gets or sets description of product.
///
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
///
- /// Display name of product.
+ /// Gets or sets display name of product.
///
[JsonProperty(PropertyName = "display_name")]
public string DisplayName { get; set; }
///
- /// Capacity of product. For example, 4 people.
+ /// Gets or sets capacity of product. For example, 4 people.
///
[JsonProperty(PropertyName = "capacity")]
public string Capacity { get; set; }
///
- /// Image URL representing the product.
+ /// Gets or sets image URL representing the product.
///
[JsonProperty(PropertyName = "image")]
public string Image { get; set; }
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 0b05e6b452..64544e0994 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
@@ -17,7 +17,7 @@ namespace Fixtures.Azure.AcceptanceTestsAzureParameterGrouping.Models
using Microsoft.Rest.Azure;
///
- /// Additional parameters for the postMultiParamGroups operation.
+ /// Additional parameters for one or more operations
///
public partial class FirstParameterGroup
{
@@ -41,7 +41,7 @@ public FirstParameterGroup() { }
public string HeaderOne { get; set; }
///
- /// Query parameter with default
+ /// Gets or sets query parameter with default
///
[JsonProperty(PropertyName = "")]
public int? QueryOne { get; set; }
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 b62aab87f7..874e8e1d79 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
@@ -17,7 +17,7 @@ namespace Fixtures.Azure.AcceptanceTestsAzureParameterGrouping.Models
using Microsoft.Rest.Azure;
///
- /// Additional parameters for the postMultiParamGroups operation.
+ /// Additional parameters for one or more operations
///
public partial class ParameterGroupingPostMultiParamGroupsSecondParamGroup
{
@@ -43,7 +43,7 @@ public ParameterGroupingPostMultiParamGroupsSecondParamGroup() { }
public string HeaderTwo { get; set; }
///
- /// Query parameter with default
+ /// Gets or sets query parameter with default
///
[JsonProperty(PropertyName = "")]
public int? QueryTwo { get; set; }
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 ad34300acc..7dce24800e 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
@@ -17,7 +17,7 @@ namespace Fixtures.Azure.AcceptanceTestsAzureParameterGrouping.Models
using Microsoft.Rest.Azure;
///
- /// Additional parameters for the postOptional operation.
+ /// Additional parameters for one or more operations
///
public partial class ParameterGroupingPostOptionalParameters
{
@@ -43,7 +43,7 @@ public ParameterGroupingPostOptionalParameters() { }
public string CustomHeader { get; set; }
///
- /// Query parameter with default
+ /// Gets or sets query parameter with default
///
[JsonProperty(PropertyName = "")]
public int? Query { get; set; }
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 65b9f51198..7f1bd8dfc2 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
@@ -17,7 +17,7 @@ namespace Fixtures.Azure.AcceptanceTestsAzureParameterGrouping.Models
using Microsoft.Rest.Azure;
///
- /// Additional parameters for the postRequired operation.
+ /// Additional parameters for one or more operations
///
public partial class ParameterGroupingPostRequiredParameters
{
@@ -50,13 +50,13 @@ public ParameterGroupingPostRequiredParameters() { }
public string CustomHeader { get; set; }
///
- /// Query parameter with default
+ /// Gets or sets query parameter with default
///
[JsonProperty(PropertyName = "")]
public int? Query { get; set; }
///
- /// Path parameter
+ /// Gets or sets path parameter
///
[JsonProperty(PropertyName = "")]
public string Path { get; set; }
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 8e0914cc4e..61d81a2722 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
@@ -36,13 +36,13 @@ public Resource() { }
}
///
- /// Resource Id
+ /// Gets resource Id
///
[JsonProperty(PropertyName = "id")]
public string Id { get; private set; }
///
- /// Resource Type
+ /// Gets resource Type
///
[JsonProperty(PropertyName = "type")]
public string Type { get; private set; }
@@ -53,13 +53,13 @@ public Resource() { }
public IDictionary Tags { get; set; }
///
- /// Resource Location
+ /// Gets or sets resource Location
///
[JsonProperty(PropertyName = "location")]
public string Location { get; set; }
///
- /// Resource Name
+ /// Gets resource Name
///
[JsonProperty(PropertyName = "name")]
public string Name { get; private set; }
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 d00b60f839..4328e58dfa 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
@@ -37,7 +37,7 @@ public HeaderCustomNamedRequestIdHeaders() { }
}
///
- /// Gets the foo-request-id.
+ /// Gets or sets gets the foo-request-id.
///
[JsonProperty(PropertyName = "foo-request-id")]
public string FooRequestId { get; set; }
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 5a86816dc6..48c5638bc1 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
@@ -38,15 +38,15 @@ public LRORetrysDelete202Retry200Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/delete/202/retry/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 e368937f0d..095ed23b91 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
@@ -39,22 +39,22 @@ public LRORetrysDeleteAsyncRelativeRetrySucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/deleteasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/deleteasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 6bf24c3d9a..3c239e13c5 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
@@ -39,15 +39,15 @@ public LRORetrysDeleteProvisioning202Accepted200SucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/delete/provisioning/202/accepted/200/succeeded
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 d8e377089a..be801531b1 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
@@ -38,15 +38,15 @@ public LRORetrysPost202Retry200Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/post/202/retry/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 0cf65de610..694c6f60c6 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
@@ -39,22 +39,22 @@ public LRORetrysPostAsyncRelativeRetrySucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 eeb61fc755..02693514b3 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
@@ -39,22 +39,22 @@ public LRORetrysPutAsyncRelativeRetrySucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 5178d27baa..116d6a7e5d 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
@@ -38,15 +38,15 @@ public LROSADsDelete202NonRetry400Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/delete/202/retry/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 74944259a2..727b012762 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
@@ -38,14 +38,15 @@ public LROSADsDelete202RetryInvalidHeaderHeaders() { }
}
///
- /// Location to poll for result status: will be set to /foo
+ /// Gets or sets location to poll for result status: will be set to
+ /// /foo
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to /bar
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to /bar
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 fc54f97d80..4c1ac5d129 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
@@ -39,22 +39,22 @@ public LROSADsDeleteAsyncRelativeRetry400Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/nonretryerror/deleteasync/retry/operationResults/400
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/nonretryerror/deleteasync/retry/operationResults/400
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 1c1262eb4b..bcb53a47e9 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
@@ -39,20 +39,22 @@ public LROSADsDeleteAsyncRelativeRetryInvalidHeaderHeaders() { }
}
///
- /// Location to poll for result status: will be set to /foo
+ /// Gets or sets location to poll for result status: will be set to
+ /// /foo
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to /foo
+ /// Gets or sets location to poll for result status: will be set to
+ /// /foo
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to /bar
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to /bar
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 2ccbcaf1f6..8c30a0a4f9 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
@@ -40,22 +40,22 @@ public LROSADsDeleteAsyncRelativeRetryInvalidJsonPollingHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/error/deleteasync/retry/failed/operationResults/invalidjsonpolling
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/error/deleteasync/retry/failed/operationResults/invalidjsonpolling
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 a3b082bc44..1a6afea508 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
@@ -39,22 +39,22 @@ public LROSADsDeleteAsyncRelativeRetryNoStatusHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/deleteasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/deleteasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 8388c132db..202e5b5d8b 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
@@ -38,15 +38,15 @@ public LROSADsDeleteNonRetry400Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/delete/202/retry/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 d0ff72b048..275c476a53 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
@@ -38,14 +38,14 @@ public LROSADsPost202NoLocationHeaders() { }
}
///
- /// Location to poll for result status: will not be set
+ /// Gets or sets location to poll for result status: will not be set
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 4a631690e2..448c6f2ed5 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
@@ -38,15 +38,15 @@ public LROSADsPost202NonRetry400Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/post/202/retry/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 8d258cf724..31373a1d5b 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
@@ -38,14 +38,15 @@ public LROSADsPost202RetryInvalidHeaderHeaders() { }
}
///
- /// Location to poll for result status: will be set to /foo
+ /// Gets or sets location to poll for result status: will be set to
+ /// /foo
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to /bar
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to /bar
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 8b4d91544b..0c8e775eb0 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
@@ -39,22 +39,22 @@ public LROSADsPostAsyncRelativeRetry400Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/nonretryerror/putasync/retry/operationResults/400
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/nonretryerror/putasync/retry/operationResults/400
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 ff5102bac8..8b4a8487a6 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
@@ -39,20 +39,20 @@ public LROSADsPostAsyncRelativeRetryInvalidHeaderHeaders() { }
}
///
- /// Location to poll for result status: will be set to foo
+ /// Gets or sets location to poll for result status: will be set to foo
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to foo
+ /// Gets or sets location to poll for result status: will be set to foo
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to /bar
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to /bar
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 6b33dddde0..55f40ad33f 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
@@ -39,22 +39,22 @@ public LROSADsPostAsyncRelativeRetryInvalidJsonPollingHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/error/postasync/retry/failed/operationResults/invalidjsonpolling
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/error/postasync/retry/failed/operationResults/invalidjsonpolling
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 6b879e10ce..c5a6c9a6a4 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
@@ -39,22 +39,22 @@ public LROSADsPostAsyncRelativeRetryNoPayloadHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/error/putasync/retry/failed/operationResults/nopayload
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/error/putasync/retry/failed/operationResults/nopayload
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 b84f0a4ab2..a063b6ed3c 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
@@ -38,15 +38,15 @@ public LROSADsPostNonRetry400Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/retryerror/post/202/retry/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 4517f177b7..a8fdaaf7b9 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
@@ -39,22 +39,22 @@ public LROSADsPutAsyncRelativeRetry400Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/nonretryerror/putasync/retry/operationResults/400
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/nonretryerror/putasync/retry/operationResults/400
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 31f90b28d9..730e2a89f7 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
@@ -39,22 +39,22 @@ public LROSADsPutAsyncRelativeRetryInvalidHeaderHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 cca85263d8..0854ea59e1 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
@@ -39,22 +39,22 @@ public LROSADsPutAsyncRelativeRetryInvalidJsonPollingHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/failed/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/failed/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 5a4aeef323..2d63d0682d 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
@@ -39,22 +39,22 @@ public LROSADsPutAsyncRelativeRetryNoStatusHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 d027036126..5c75b72ec2 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
@@ -39,22 +39,22 @@ public LROSADsPutAsyncRelativeRetryNoStatusPayloadHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 462144eb41..ab928a1602 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
@@ -38,15 +38,15 @@ public LROsCustomHeaderPost202Retry200Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/customheader/post/202/retry/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 5a4c1cc900..10a93dfb18 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
@@ -39,22 +39,22 @@ public LROsCustomHeaderPostAsyncRetrySucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/customheader/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/customheader/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 40a58b6675..66cb66baec 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
@@ -39,22 +39,22 @@ public LROsCustomHeaderPutAsyncRetrySucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/customheader/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/customheader/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 74f325ecf8..9c1043c99e 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
@@ -38,15 +38,15 @@ public LROsDelete202NoRetry204Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/delete/202/noretry/204
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 73fec76b06..53c58b72c1 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
@@ -38,15 +38,15 @@ public LROsDelete202Retry200Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/delete/202/retry/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 2be5bc4d04..71283acb56 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
@@ -37,7 +37,7 @@ public LROsDeleteAsyncNoHeaderInRetryHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/put/noheader/202/204/operationresults
///
[JsonProperty(PropertyName = "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 edbb8bacea..177d0dbd34 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
@@ -39,22 +39,22 @@ public LROsDeleteAsyncNoRetrySucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/deleteasync/noretry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/deleteasync/noretry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 f23c19fe68..8f3aebdc78 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
@@ -39,22 +39,22 @@ public LROsDeleteAsyncRetryFailedHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/deleteasync/retry/failed/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/deleteasync/retry/failed/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 be0fa3a4ea..acfd07ed5a 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
@@ -39,22 +39,22 @@ public LROsDeleteAsyncRetrySucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/deleteasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/deleteasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 ce2675bf5c..a5d86a7f1b 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
@@ -39,22 +39,22 @@ public LROsDeleteAsyncRetrycanceledHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/deleteasync/retry/canceled/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/deleteasync/retry/canceled/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 039a86d9a9..7dc3e9b001 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
@@ -37,7 +37,7 @@ public LROsDeleteNoHeaderInRetryHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/put/noheader/202/204/operationresults
///
[JsonProperty(PropertyName = "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 af5c4ef25c..9902e42b88 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
@@ -39,15 +39,15 @@ public LROsDeleteProvisioning202Accepted200SucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/delete/provisioning/202/accepted/200/succeeded
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 c7cd89096d..aacc2cc6d5 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
@@ -38,15 +38,15 @@ public LROsDeleteProvisioning202DeletingFailed200Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/delete/provisioning/202/deleting/200/failed
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 0ded45ed51..929ce76923 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
@@ -38,15 +38,15 @@ public LROsDeleteProvisioning202Deletingcanceled200Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/delete/provisioning/202/deleting/200/canceled
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 5ee71af14e..2b1b350499 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
@@ -38,15 +38,15 @@ public LROsPost202NoRetry204Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/post/202/noretry/204
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 15ec656304..ac65636a94 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
@@ -36,15 +36,15 @@ public LROsPost202Retry200Headers() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/post/202/retry/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 b42d705c25..ecfca7fc20 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
@@ -39,22 +39,22 @@ public LROsPostAsyncNoRetrySucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 c917433f20..075c922dee 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
@@ -39,22 +39,22 @@ public LROsPostAsyncRetryFailedHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/failed/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/failed/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 54b3e15d51..c5130f0ffe 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
@@ -39,22 +39,22 @@ public LROsPostAsyncRetrySucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 0b4068d4ec..a55f69e473 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
@@ -39,22 +39,22 @@ public LROsPostAsyncRetrycanceledHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/canceled/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/canceled/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 517418b91e..b33f4f7df5 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
@@ -38,14 +38,14 @@ public LROsPutAsyncNoRetrySucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/noretry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/noretry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
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 d2d6debcc6..4c8bd61750 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
@@ -38,14 +38,14 @@ public LROsPutAsyncNoRetrycanceledHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/noretry/canceled/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/noretry/canceled/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
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 d4d12deaca..c840b00f06 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
@@ -39,22 +39,22 @@ public LROsPutAsyncRetryFailedHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/failed/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/failed/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 3b09b57d0c..b6b88a2238 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
@@ -39,22 +39,22 @@ public LROsPutAsyncRetrySucceededHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Azure-AsyncOperation")]
public string AzureAsyncOperation { get; set; }
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/retry/succeeded/operationResults/200
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
///
- /// Number of milliseconds until the next poll should be sent, will be
- /// set to zero
+ /// Gets or sets number of milliseconds until the next poll should be
+ /// sent, will be set to zero
///
[JsonProperty(PropertyName = "Retry-After")]
public int? RetryAfter { get; set; }
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 66cec59294..e0bbd41f30 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
@@ -37,7 +37,7 @@ public LROsPutNoHeaderInRetryHeaders() { }
}
///
- /// Location to poll for result status: will be set to
+ /// Gets or sets location to poll for result status: will be set to
/// /lro/putasync/noheader/202/200/operationResults
///
[JsonProperty(PropertyName = "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 644400aec8..ac96c78620 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
@@ -33,9 +33,9 @@ public OperationResult() { }
}
///
- /// The status of the request. Possible values include: 'Succeeded',
- /// 'Failed', 'canceled', 'Accepted', 'Creating', 'Created',
- /// 'Updating', 'Updated', 'Deleting', 'Deleted', 'OK'
+ /// Gets or sets the status of the request. Possible values include:
+ /// 'Succeeded', 'Failed', 'canceled', 'Accepted', 'Creating',
+ /// 'Created', 'Updating', 'Updated', 'Deleting', 'Deleted', 'OK'
///
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
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 e215156e34..879bd79f18 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
@@ -33,13 +33,13 @@ public OperationResultError() { }
}
///
- /// The error code for an operation failure
+ /// Gets or sets the error code for an operation failure
///
[JsonProperty(PropertyName = "code")]
public int? Code { get; set; }
///
- /// The detailed arror message
+ /// Gets or sets the detailed arror message
///
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
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 989a0ca86d..aa45a2ce75 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
@@ -40,7 +40,7 @@ public Product() { }
public string ProvisioningState { get; set; }
///
- /// Possible values include: 'Succeeded', 'Failed', 'canceled',
+ /// Gets possible values include: 'Succeeded', 'Failed', 'canceled',
/// 'Accepted', 'Creating', 'Created', 'Updating', 'Updated',
/// 'Deleting', 'Deleted', 'OK'
///
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 f723039e2e..ccedfcfae7 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
@@ -36,13 +36,13 @@ public Resource() { }
}
///
- /// Resource Id
+ /// Gets resource Id
///
[JsonProperty(PropertyName = "id")]
public string Id { get; private set; }
///
- /// Resource Type
+ /// Gets resource Type
///
[JsonProperty(PropertyName = "type")]
public string Type { get; private set; }
@@ -53,13 +53,13 @@ public Resource() { }
public IDictionary Tags { get; set; }
///
- /// Resource Location
+ /// Gets or sets resource Location
///
[JsonProperty(PropertyName = "location")]
public string Location { get; set; }
///
- /// Resource Name
+ /// Gets resource Name
///
[JsonProperty(PropertyName = "name")]
public string Name { get; private set; }
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 3e2dfb9136..838d1be2a2 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
@@ -40,7 +40,7 @@ public SubProduct() { }
public string ProvisioningState { get; set; }
///
- /// Possible values include: 'Succeeded', 'Failed', 'canceled',
+ /// Gets possible values include: 'Succeeded', 'Failed', 'canceled',
/// 'Accepted', 'Creating', 'Created', 'Updating', 'Updated',
/// 'Deleting', 'Deleted', 'OK'
///
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 a41dc0dd84..55a46212df 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
@@ -32,7 +32,7 @@ public SubResource() { }
}
///
- /// Sub Resource Id
+ /// Gets sub Resource Id
///
[JsonProperty(PropertyName = "id")]
public string Id { get; private set; }
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 584dc52c77..69a3704652 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
@@ -32,9 +32,9 @@ public OperationResult() { }
}
///
- /// The status of the request. Possible values include: 'Succeeded',
- /// 'Failed', 'canceled', 'Accepted', 'Creating', 'Created',
- /// 'Updating', 'Updated', 'Deleting', 'Deleted', 'OK'
+ /// Gets or sets the status of the request. Possible values include:
+ /// 'Succeeded', 'Failed', 'canceled', 'Accepted', 'Creating',
+ /// 'Created', 'Updating', 'Updated', 'Deleting', 'Deleted', 'OK'
///
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
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 3b1227cd3b..cd420389a9 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
@@ -17,7 +17,7 @@ namespace Fixtures.Azure.AcceptanceTestsPaging.Models
using Microsoft.Rest.Azure;
///
- /// Additional parameters for the getMultiplePages operation.
+ /// Additional parameters for one or more operations
///
public partial class PagingGetMultiplePagesOptions
{
@@ -38,14 +38,15 @@ public PagingGetMultiplePagesOptions() { }
}
///
- /// Sets the maximum number of items to return in the response.
+ /// Gets or sets sets the maximum number of items to return in the
+ /// response.
///
[JsonProperty(PropertyName = "")]
public int? Maxresults { get; set; }
///
- /// Sets the maximum time that the server can spend processing the
- /// request, in seconds. The default is 30 seconds.
+ /// Gets or sets sets the maximum time that the server can spend
+ /// processing the request, in seconds. The default is 30 seconds.
///
[JsonProperty(PropertyName = "")]
public int? Timeout { get; set; }
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 78992ebfb8..13885d8129 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
@@ -38,14 +38,15 @@ public PagingGetMultiplePagesWithOffsetNextOptions() { }
}
///
- /// Sets the maximum number of items to return in the response.
+ /// Gets or sets sets the maximum number of items to return in the
+ /// response.
///
[JsonProperty(PropertyName = "")]
public int? Maxresults { get; set; }
///
- /// Sets the maximum time that the server can spend processing the
- /// request, in seconds. The default is 30 seconds.
+ /// Gets or sets sets the maximum time that the server can spend
+ /// processing the request, in seconds. The default is 30 seconds.
///
[JsonProperty(PropertyName = "")]
public int? Timeout { get; set; }
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 e4c74a8e57..91c7ecd834 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
@@ -17,7 +17,7 @@ namespace Fixtures.Azure.AcceptanceTestsPaging.Models
using Microsoft.Rest.Azure;
///
- /// Additional parameters for the getMultiplePagesWithOffset operation.
+ /// Additional parameters for one or more operations
///
public partial class PagingGetMultiplePagesWithOffsetOptions
{
@@ -39,20 +39,21 @@ public PagingGetMultiplePagesWithOffsetOptions() { }
}
///
- /// Sets the maximum number of items to return in the response.
+ /// Gets or sets sets the maximum number of items to return in the
+ /// response.
///
[JsonProperty(PropertyName = "")]
public int? Maxresults { get; set; }
///
- /// Offset of return value
+ /// Gets or sets offset of return value
///
[JsonProperty(PropertyName = "")]
public int Offset { get; set; }
///
- /// Sets the maximum time that the server can spend processing the
- /// request, in seconds. The default is 30 seconds.
+ /// Gets or sets sets the maximum time that the server can spend
+ /// processing the request, in seconds. The default is 30 seconds.
///
[JsonProperty(PropertyName = "")]
public int? Timeout { get; set; }
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 4b1187cae8..6ce67ca345 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
@@ -33,13 +33,13 @@ public SampleResourceGroup() { }
}
///
- /// resource group name 'testgroup101'
+ /// Gets or sets resource group name 'testgroup101'
///
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
///
- /// resource group location 'West US'
+ /// Gets or sets resource group location 'West US'
///
[JsonProperty(PropertyName = "location")]
public string Location { get; set; }
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 37a8fff6fc..be0b404126 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
@@ -43,7 +43,8 @@ public Basic() { }
public string Name { get; set; }
///
- /// Possible values include: 'cyan', 'Magenta', 'YELLOW', 'blacK'
+ /// Gets or sets possible values include: 'cyan', 'Magenta', 'YELLOW',
+ /// 'blacK'
///
[JsonProperty(PropertyName = "color")]
public string Color { get; set; }
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 54bb390e7c..3461139ace 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
@@ -34,7 +34,7 @@ public HeaderResponseBoolHeaders() { }
}
///
- /// response with header value "value": true or false
+ /// Gets or sets response with header value "value": true or false
///
[JsonProperty(PropertyName = "value")]
public bool? Value { get; set; }
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 1119ed4d03..742bece921 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
@@ -34,7 +34,7 @@ public HeaderResponseByteHeaders() { }
}
///
- /// response with header values "啊齄丂狛狜隣郎隣兀﨩"
+ /// Gets or sets response with header values "啊齄丂狛狜隣郎隣兀﨩"
///
[JsonProperty(PropertyName = "value")]
public byte[] Value { get; set; }
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 0cb1bd745f..e00cbc0955 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
@@ -34,7 +34,8 @@ public HeaderResponseDateHeaders() { }
}
///
- /// response with header values "2010-01-01" or "0001-01-01"
+ /// Gets or sets response with header values "2010-01-01" or
+ /// "0001-01-01"
///
[JsonConverter(typeof(DateJsonConverter))]
[JsonProperty(PropertyName = "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 8215b0ae1c..cffbd34216 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
@@ -36,7 +36,7 @@ public HeaderResponseDatetimeHeaders() { }
}
///
- /// response with header values "2010-01-01T12:34:56Z" or
+ /// Gets or sets response with header values "2010-01-01T12:34:56Z" or
/// "0001-01-01T00:00:00Z"
///
[JsonProperty(PropertyName = "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 124f599f9b..f188e986ab 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
@@ -36,8 +36,8 @@ public HeaderResponseDatetimeRfc1123Headers() { }
}
///
- /// response with header values "Wed, 01 Jan 2010 12:34:56 GMT" or
- /// "Mon, 01 Jan 0001 00:00:00 GMT"
+ /// Gets or sets response with header values "Wed, 01 Jan 2010
+ /// 12:34:56 GMT" or "Mon, 01 Jan 0001 00:00:00 GMT"
///
[JsonConverter(typeof(DateTimeRfc1123JsonConverter))]
[JsonProperty(PropertyName = "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 104620a950..e34f3b911d 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
@@ -36,7 +36,7 @@ public HeaderResponseDoubleHeaders() { }
}
///
- /// response with header value "value": 7e120 or -3.0
+ /// Gets or sets response with header value "value": 7e120 or -3.0
///
[JsonProperty(PropertyName = "value")]
public double? Value { get; set; }
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 71f279990a..2795657f73 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
@@ -36,7 +36,7 @@ public HeaderResponseDurationHeaders() { }
}
///
- /// response with header values "P123DT22H14M12.011S"
+ /// Gets or sets response with header values "P123DT22H14M12.011S"
///
[JsonProperty(PropertyName = "value")]
public TimeSpan? Value { get; set; }
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 06092074d5..f955fca276 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
@@ -34,7 +34,7 @@ public HeaderResponseEnumHeaders() { }
}
///
- /// response with header values "GREY" or null
+ /// Gets or sets response with header values "GREY" or null
///
[JsonProperty(PropertyName = "value")]
public GreyscaleColors? Value { get; set; }
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 344136218e..42a5c1aeda 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
@@ -36,7 +36,7 @@ public HeaderResponseExistingKeyHeaders() { }
}
///
- /// response with header value "User-Agent": "overwrite"
+ /// Gets or sets response with header value "User-Agent": "overwrite"
///
[JsonProperty(PropertyName = "User-Agent")]
public string UserAgent { get; set; }
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 987718bad9..6e5353a3fc 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
@@ -34,7 +34,7 @@ public HeaderResponseFloatHeaders() { }
}
///
- /// response with header value "value": 0.07 or -3.0
+ /// Gets or sets response with header value "value": 0.07 or -3.0
///
[JsonProperty(PropertyName = "value")]
public double? Value { get; set; }
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 28d60394d0..3ce8bd066a 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
@@ -36,7 +36,7 @@ public HeaderResponseIntegerHeaders() { }
}
///
- /// response with header value "value": 1 or -2
+ /// Gets or sets response with header value "value": 1 or -2
///
[JsonProperty(PropertyName = "value")]
public int? Value { get; set; }
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 cf9efd1fe8..6e15f2eecc 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
@@ -34,7 +34,7 @@ public HeaderResponseLongHeaders() { }
}
///
- /// response with header value "value": 105 or -2
+ /// Gets or sets response with header value "value": 105 or -2
///
[JsonProperty(PropertyName = "value")]
public long? Value { get; set; }
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 abb1464ad4..7adbdf29be 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
@@ -36,7 +36,7 @@ public HeaderResponseProtectedKeyHeaders() { }
}
///
- /// response with header value "Content-Type": "text/html"
+ /// Gets or sets response with header value "Content-Type": "text/html"
///
[JsonProperty(PropertyName = "Content-Type")]
public string ContentType { get; set; }
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 7184a38f5c..0744f2115b 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
@@ -36,8 +36,8 @@ public HeaderResponseStringHeaders() { }
}
///
- /// response with header values "The quick brown fox jumps over the
- /// lazy dog" or null or ""
+ /// Gets or sets response with header values "The quick brown fox
+ /// jumps over the lazy dog" or null or ""
///
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
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 cbf7865f27..999dd9f164 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
@@ -36,7 +36,7 @@ public HttpRedirectsDelete307Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 d14c5fc870..ad0dacb9d1 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
@@ -34,7 +34,7 @@ public HttpRedirectsGet300Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 70432eae09..2a543db397 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
@@ -34,7 +34,7 @@ public HttpRedirectsGet301Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 22bc242974..59b8579041 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
@@ -34,7 +34,7 @@ public HttpRedirectsGet302Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 7eb98fab6b..73111e08f2 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
@@ -34,7 +34,7 @@ public HttpRedirectsGet307Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 5f32659b21..3970436db8 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
@@ -36,7 +36,7 @@ public HttpRedirectsHead300Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 af9b0310e5..aed6cb6c51 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
@@ -36,7 +36,7 @@ public HttpRedirectsHead301Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 2f1ed670c4..797193619a 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
@@ -36,7 +36,7 @@ public HttpRedirectsHead302Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 b1ad99069c..dd01aa2366 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
@@ -36,7 +36,7 @@ public HttpRedirectsHead307Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 5dfe6e3e52..8178b6f377 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
@@ -36,7 +36,7 @@ public HttpRedirectsPatch302Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 19973f88ef..d94f9c8ac7 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
@@ -36,7 +36,7 @@ public HttpRedirectsPatch307Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 8036c76d97..9f6ac78695 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
@@ -36,7 +36,7 @@ public HttpRedirectsPost303Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 59c68c116b..3f6ee41fd2 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
@@ -36,7 +36,7 @@ public HttpRedirectsPost307Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 e48732af63..3eb3f2fe37 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
@@ -34,7 +34,7 @@ public HttpRedirectsPut301Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 f3148bff9a..a4cbbc843f 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
@@ -34,7 +34,7 @@ public HttpRedirectsPut307Headers() { }
}
///
- /// The redirect location for this request
+ /// Gets or sets the redirect location for this request
///
[JsonProperty(PropertyName = "Location")]
public string Location { get; set; }
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 40511ce7b4..3615d58922 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
@@ -35,15 +35,16 @@ public BaseProduct() { }
}
///
- /// 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.
+ /// Gets or sets 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.
///
[JsonProperty(PropertyName = "base_product_id")]
public string ProductId { get; set; }
///
- /// Description of product.
+ /// Gets or sets description of product.
///
[JsonProperty(PropertyName = "base_product_description")]
public string Description { get; set; }
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 db9785813c..b80bf2fa62 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
@@ -16,7 +16,7 @@ namespace Fixtures.AcceptanceTestsModelFlattening.Models
using Microsoft.Rest.Serialization;
///
- /// Additional parameters for the putSimpleProductWithGrouping operation.
+ /// Additional parameters for one or more operations
///
[JsonTransformation]
public partial class FlattenParameterGroup
@@ -40,39 +40,40 @@ public FlattenParameterGroup() { }
}
///
- /// Product name with value 'groupproduct'
+ /// Gets or sets product name with value 'groupproduct'
///
[JsonProperty(PropertyName = "")]
public string Name { get; set; }
///
- /// 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.
+ /// Gets or sets 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.
///
[JsonProperty(PropertyName = "")]
public string ProductId { get; set; }
///
- /// Description of product.
+ /// Gets or sets description of product.
///
[JsonProperty(PropertyName = "")]
public string Description { get; set; }
///
- /// Display name of product.
+ /// Gets or sets display name of product.
///
[JsonProperty(PropertyName = "")]
public string MaxProductDisplayName { get; set; }
///
- /// Generic URL value.
+ /// Gets or sets generic URL value.
///
[JsonProperty(PropertyName = "")]
public string GenericValue { get; set; }
///
- /// URL value.
+ /// Gets or sets URL value.
///
[JsonProperty(PropertyName = "")]
public string Odatavalue { get; set; }
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 9c7cb37c74..415f53a6e3 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
@@ -46,7 +46,7 @@ public FlattenedProduct() { }
public string FlattenedProductType { get; set; }
///
- /// Possible values include: 'Succeeded', 'Failed', 'canceled',
+ /// Gets possible values include: 'Succeeded', 'Failed', 'canceled',
/// 'Accepted', 'Creating', 'Created', 'Updating', 'Updated',
/// 'Deleting', 'Deleted', 'OK'
///
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 309028eb12..2022f0d0a0 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
@@ -34,7 +34,7 @@ public GenericUrl() { }
}
///
- /// Generic URL value.
+ /// Gets or sets generic URL value.
///
[JsonProperty(PropertyName = "generic_value")]
public string GenericValue { get; set; }
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 a43c4e5d5a..5679632fe9 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
@@ -35,13 +35,13 @@ public Resource() { }
}
///
- /// Resource Id
+ /// Gets resource Id
///
[JsonProperty(PropertyName = "id")]
public string Id { get; private set; }
///
- /// Resource Type
+ /// Gets resource Type
///
[JsonProperty(PropertyName = "type")]
public string Type { get; private set; }
@@ -52,13 +52,13 @@ public Resource() { }
public IDictionary Tags { get; set; }
///
- /// Resource Location
+ /// Gets or sets resource Location
///
[JsonProperty(PropertyName = "location")]
public string Location { get; set; }
///
- /// Resource Name
+ /// Gets resource Name
///
[JsonProperty(PropertyName = "name")]
public string Name { get; private set; }
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 5ee2fa897a..4ae8f66017 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
@@ -45,19 +45,19 @@ static SimpleProduct()
}
///
- /// Display name of product.
+ /// Gets or sets display name of product.
///
[JsonProperty(PropertyName = "details.max_product_display_name")]
public string MaxProductDisplayName { get; set; }
///
- /// Generic URL value.
+ /// Gets or sets generic URL value.
///
[JsonProperty(PropertyName = "details.max_product_image.generic_value")]
public string GenericValue { get; set; }
///
- /// URL value.
+ /// Gets or sets URL value.
///
[JsonProperty(PropertyName = "details.max_product_image.@odata\\.value")]
public string Odatavalue { get; set; }
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 07e06b7a22..be68033371 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
@@ -41,7 +41,7 @@ static ChildProduct()
}
///
- /// Count
+ /// Gets or sets count
///
[JsonProperty(PropertyName = "count")]
public int? Count { get; set; }
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 09addd8369..e434110c5d 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
@@ -51,19 +51,20 @@ static Product()
}
///
- /// Non required array of unique items from 0 to 6 elements.
+ /// Gets or sets non required array of unique items from 0 to 6
+ /// elements.
///
[JsonProperty(PropertyName = "display_names")]
public IList DisplayNames { get; set; }
///
- /// Non required int betwen 0 and 100 exclusive.
+ /// Gets or sets non required int betwen 0 and 100 exclusive.
///
[JsonProperty(PropertyName = "capacity")]
public int? Capacity { get; set; }
///
- /// Image URL representing the product.
+ /// Gets or sets image URL representing the product.
///
[JsonProperty(PropertyName = "image")]
public string Image { get; set; }
@@ -74,7 +75,7 @@ static Product()
public ChildProduct Child { get; set; }
///
- /// Constant string as Enum. Possible values include:
+ /// Gets or sets constant string as Enum. Possible values include:
/// 'constant_string_as_enum'
///
[JsonProperty(PropertyName = "constStringAsEnum")]
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 f473ba11c0..ff20c9b534 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
@@ -32,13 +32,13 @@ public Animal() { }
}
///
- /// Id.
+ /// Gets or sets id.
///
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
///
- /// Description of a Animal.
+ /// Gets or sets description of a Animal.
///
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
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 d789e963ce..1504a55114 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
@@ -32,7 +32,7 @@ public BaseCat() { }
}
///
- /// cat color
+ /// Gets or sets cat color
///
[JsonProperty(PropertyName = "color")]
public string Color { get; set; }
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 9afcdd57e4..b815f2c67c 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
@@ -32,7 +32,7 @@ public BurmeseCat() { }
}
///
- /// cat nick name
+ /// Gets or sets cat nick name
///
[JsonProperty(PropertyName = "nickName")]
public int? NickName { get; set; }
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 ef0ad5d1d7..0572ac24c4 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
@@ -32,7 +32,7 @@ public Doggy() { }
}
///
- /// dog name
+ /// Gets or sets dog name
///
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
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 d8f3b45767..5d175e8080 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
@@ -32,7 +32,7 @@ public HimalayanCat() { }
}
///
- /// cat hair length
+ /// Gets or sets cat hair length
///
[JsonProperty(PropertyName = "hairLength")]
public int? HairLength { get; set; }
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 7bfdbd5770..144bf30861 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
@@ -32,7 +32,7 @@ public Horsey() { }
}
///
- /// horse breed
+ /// Gets or sets horse breed
///
[JsonProperty(PropertyName = "breed")]
public string Breed { get; set; }
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 fc5c99d0ee..26ff193a73 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
@@ -32,7 +32,7 @@ public PersianCat() { }
}
///
- /// cat size
+ /// Gets or sets cat size
///
[JsonProperty(PropertyName = "size")]
public int? Size { get; set; }
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 17ba85a178..fbaf9b7ecd 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
@@ -32,7 +32,7 @@ public SiameseCat() { }
}
///
- /// cat length
+ /// Gets or sets cat length
///
[JsonProperty(PropertyName = "length")]
public int? Length { get; set; }
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 d2ea149e26..fcb542d716 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
@@ -108,7 +108,7 @@ public Product() { }
public Guid? Uuid { get; set; }
///
- /// Possible values include: 'red', 'blue', 'green'
+ /// Gets or sets possible values include: 'red', 'blue', 'green'
///
[JsonProperty(PropertyName = "enum")]
public string EnumProperty { get; set; }
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 3757ada79d..5752acc51e 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
@@ -33,9 +33,10 @@ public Product() { }
}
///
- /// 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.
+ /// Gets or sets 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.
///
[JsonProperty(PropertyName = "product_id")]
public string ProductId { get; set; }
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 1402f6a440..295f1137f2 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/LoginUserHeaders.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/LoginUserHeaders.cs
@@ -35,13 +35,13 @@ public LoginUserHeaders() { }
}
///
- /// calls per hour allowed by the user
+ /// Gets or sets calls per hour allowed by the user
///
[JsonProperty(PropertyName = "X-Rate-Limit")]
public int? XRateLimit { get; set; }
///
- /// date in UTC when toekn expires
+ /// Gets or sets date in UTC when toekn expires
///
[JsonProperty(PropertyName = "X-Expires-After")]
public DateTime? XExpiresAfter { get; set; }
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 c4823360b9..fab6f61cc6 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/Order.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/Order.cs
@@ -56,8 +56,8 @@ public Order() { }
public DateTime? ShipDate { get; set; }
///
- /// Order Status. Possible values include: 'placed', 'approved',
- /// 'delivered'
+ /// Gets or sets order Status. Possible values include: 'placed',
+ /// 'approved', 'delivered'
///
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
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 5cf3bf8267..176ac348f7 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/Pet.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/Pet.cs
@@ -79,8 +79,8 @@ public Pet() { }
public IDictionary Dictionary { get; set; }
///
- /// pet status in the store. Possible values include: 'available',
- /// 'pending', 'sold'
+ /// Gets or sets pet status in the store. Possible values include:
+ /// 'available', 'pending', 'sold'
///
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
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 9e770d05cc..26aa7a291e 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/User.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/Models/User.cs
@@ -73,7 +73,7 @@ public User() { }
public string Phone { get; set; }
///
- /// User Status
+ /// Gets or sets user Status
///
[JsonProperty(PropertyName = "userStatus")]
public int? UserStatus { get; set; }
diff --git a/AutoRest/Generators/CSharp/CSharp/ClientModelExtensions.cs b/AutoRest/Generators/CSharp/CSharp/ClientModelExtensions.cs
index ae4d9f1115..028322670e 100644
--- a/AutoRest/Generators/CSharp/CSharp/ClientModelExtensions.cs
+++ b/AutoRest/Generators/CSharp/CSharp/ClientModelExtensions.cs
@@ -131,6 +131,41 @@ private static bool ShouldValidate(this IType model)
return false;
}
+ ///
+ /// Format the documentation of a property properly with the correct getters and setters. Note that this validation will
+ /// checks for special cases such as acronyms and article words.
+ ///
+ /// The given property documentation to format
+ /// A reference to the property documentation
+ public static string GetFormattedPropertyDocumentation(this Property property)
+ {
+ if (property == null)
+ {
+ throw new ArgumentNullException("property");
+ }
+
+ if (string.IsNullOrEmpty(property.Documentation))
+ {
+ return property.Documentation.EscapeXmlComment();
+ }
+
+ string documentation = property.IsReadOnly ? "Gets " : "Gets or sets ";
+
+ string firstWord = property.Documentation.TrimStart().Split(' ').First();
+ if (firstWord.Length <= 1)
+ {
+ documentation += char.ToLower(property.Documentation[0], CultureInfo.InvariantCulture) + property.Documentation.Substring(1);
+ }
+ else
+ {
+ documentation += firstWord.ToUpper(CultureInfo.InvariantCulture) == firstWord
+ ? property.Documentation
+ : char.ToLower(property.Documentation[0], CultureInfo.InvariantCulture) + property.Documentation.Substring(1);
+ }
+
+ return documentation.EscapeXmlComment();
+ }
+
///
/// Format the value of a sequence given the modeled element format. Note that only sequences of strings are supported
///
diff --git a/AutoRest/Generators/CSharp/CSharp/Templates/ModelTemplate.cshtml b/AutoRest/Generators/CSharp/CSharp/Templates/ModelTemplate.cshtml
index 942e67ef80..aeb27d92a4 100644
--- a/AutoRest/Generators/CSharp/CSharp/Templates/ModelTemplate.cshtml
+++ b/AutoRest/Generators/CSharp/CSharp/Templates/ModelTemplate.cshtml
@@ -109,7 +109,7 @@ namespace @(Settings.Namespace).Models
@foreach (var property in Model.PropertyTemplateModels.Where(p => !p.IsConstant))
{
@:///
- @:@WrapComment("/// ", property.Documentation.EscapeXmlComment())
+ @:@WrapComment("/// ", property.GetFormattedPropertyDocumentation())
@:///
if (property.Type.IsPrimaryType(KnownPrimaryType.Date))
{
diff --git a/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/FirstParameterGroup.java b/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/FirstParameterGroup.java
index 714247eeb7..11a3b19314 100644
--- a/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/FirstParameterGroup.java
+++ b/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/FirstParameterGroup.java
@@ -13,7 +13,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
/**
- * Additional parameters for the postMultiParamGroups operation.
+ * Additional parameters for one or more operations.
*/
public class FirstParameterGroup {
/**
diff --git a/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/ParameterGroupingPostMultiParamGroupsSecondParamGroup.java b/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/ParameterGroupingPostMultiParamGroupsSecondParamGroup.java
index c44445601a..62b198e181 100644
--- a/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/ParameterGroupingPostMultiParamGroupsSecondParamGroup.java
+++ b/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/ParameterGroupingPostMultiParamGroupsSecondParamGroup.java
@@ -13,7 +13,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
/**
- * Additional parameters for the postMultiParamGroups operation.
+ * Additional parameters for one or more operations.
*/
public class ParameterGroupingPostMultiParamGroupsSecondParamGroup {
/**
diff --git a/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/ParameterGroupingPostOptionalParameters.java b/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/ParameterGroupingPostOptionalParameters.java
index 641ac92c6a..ca1acfaa80 100644
--- a/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/ParameterGroupingPostOptionalParameters.java
+++ b/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/ParameterGroupingPostOptionalParameters.java
@@ -13,7 +13,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
/**
- * Additional parameters for the postOptional operation.
+ * Additional parameters for one or more operations.
*/
public class ParameterGroupingPostOptionalParameters {
/**
diff --git a/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/ParameterGroupingPostRequiredParameters.java b/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/ParameterGroupingPostRequiredParameters.java
index c038b22f59..729b020e4d 100644
--- a/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/ParameterGroupingPostRequiredParameters.java
+++ b/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/ParameterGroupingPostRequiredParameters.java
@@ -13,7 +13,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
/**
- * Additional parameters for the postRequired operation.
+ * Additional parameters for one or more operations.
*/
public class ParameterGroupingPostRequiredParameters {
/**
diff --git a/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/paging/models/PagingGetMultiplePagesOptions.java b/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/paging/models/PagingGetMultiplePagesOptions.java
index 6f61d486bb..c00d7b13f0 100644
--- a/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/paging/models/PagingGetMultiplePagesOptions.java
+++ b/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/paging/models/PagingGetMultiplePagesOptions.java
@@ -13,7 +13,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
/**
- * Additional parameters for the getMultiplePages operation.
+ * Additional parameters for one or more operations.
*/
public class PagingGetMultiplePagesOptions {
/**
diff --git a/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/paging/models/PagingGetMultiplePagesWithOffsetOptions.java b/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/paging/models/PagingGetMultiplePagesWithOffsetOptions.java
index 5827dbdd2d..d2c8350978 100644
--- a/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/paging/models/PagingGetMultiplePagesWithOffsetOptions.java
+++ b/AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/paging/models/PagingGetMultiplePagesWithOffsetOptions.java
@@ -13,7 +13,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
/**
- * Additional parameters for the getMultiplePagesWithOffset operation.
+ * Additional parameters for one or more operations.
*/
public class PagingGetMultiplePagesWithOffsetOptions {
/**
diff --git a/AutoRest/Generators/Java/Java.Tests/src/main/java/fixtures/modelflattening/models/FlattenParameterGroup.java b/AutoRest/Generators/Java/Java.Tests/src/main/java/fixtures/modelflattening/models/FlattenParameterGroup.java
index 342b622a71..557060fba5 100644
--- a/AutoRest/Generators/Java/Java.Tests/src/main/java/fixtures/modelflattening/models/FlattenParameterGroup.java
+++ b/AutoRest/Generators/Java/Java.Tests/src/main/java/fixtures/modelflattening/models/FlattenParameterGroup.java
@@ -14,7 +14,7 @@
import com.microsoft.rest.serializer.JsonFlatten;
/**
- * Additional parameters for the putSimpleProductWithGrouping operation.
+ * Additional parameters for one or more operations.
*/
@JsonFlatten
public class FlattenParameterGroup {
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/firstParameterGroup.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/firstParameterGroup.js
index 0ee0d72686..ba3b0d7727 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/firstParameterGroup.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/firstParameterGroup.js
@@ -14,7 +14,7 @@
* @class
* Initializes a new instance of the FirstParameterGroup class.
* @constructor
- * Additional parameters for the postMultiParamGroups operation.
+ * Additional parameters for one or more operations
* @member {string} [headerOne]
*
* @member {number} [queryOne] Query parameter with default. Default value: 30
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/index.d.ts b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/index.d.ts
index b2155667f0..9456f4830b 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/index.d.ts
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/index.d.ts
@@ -28,7 +28,7 @@ export interface ErrorModel {
* @class
* Initializes a new instance of the ParameterGroupingPostRequiredParameters class.
* @constructor
- * Additional parameters for the postRequired operation.
+ * Additional parameters for one or more operations
* @member {number} body
*
* @member {string} [customHeader]
@@ -49,7 +49,7 @@ export interface ParameterGroupingPostRequiredParameters {
* @class
* Initializes a new instance of the ParameterGroupingPostOptionalParameters class.
* @constructor
- * Additional parameters for the postOptional operation.
+ * Additional parameters for one or more operations
* @member {string} [customHeader]
*
* @member {number} [query] Query parameter with default
@@ -64,7 +64,7 @@ export interface ParameterGroupingPostOptionalParameters {
* @class
* Initializes a new instance of the FirstParameterGroup class.
* @constructor
- * Additional parameters for the postMultiParamGroups operation.
+ * Additional parameters for one or more operations
* @member {string} [headerOne]
*
* @member {number} [queryOne] Query parameter with default
@@ -79,7 +79,7 @@ export interface FirstParameterGroup {
* @class
* Initializes a new instance of the ParameterGroupingPostMultiParamGroupsSecondParamGroup class.
* @constructor
- * Additional parameters for the postMultiParamGroups operation.
+ * Additional parameters for one or more operations
* @member {string} [headerTwo]
*
* @member {number} [queryTwo] Query parameter with default
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostMultiParamGroupsSecondParamGroup.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostMultiParamGroupsSecondParamGroup.js
index aa82d43c29..372e9841d5 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostMultiParamGroupsSecondParamGroup.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostMultiParamGroupsSecondParamGroup.js
@@ -14,7 +14,7 @@
* @class
* Initializes a new instance of the ParameterGroupingPostMultiParamGroupsSecondParamGroup class.
* @constructor
- * Additional parameters for the postMultiParamGroups operation.
+ * Additional parameters for one or more operations
* @member {string} [headerTwo]
*
* @member {number} [queryTwo] Query parameter with default. Default value: 30
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostOptionalParameters.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostOptionalParameters.js
index 825d2f6436..c0f6f1b663 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostOptionalParameters.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostOptionalParameters.js
@@ -14,7 +14,7 @@
* @class
* Initializes a new instance of the ParameterGroupingPostOptionalParameters class.
* @constructor
- * Additional parameters for the postOptional operation.
+ * Additional parameters for one or more operations
* @member {string} [customHeader]
*
* @member {number} [query] Query parameter with default. Default value: 30 .
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostRequiredParameters.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostRequiredParameters.js
index 561fa05da6..ca7054de32 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostRequiredParameters.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostRequiredParameters.js
@@ -14,7 +14,7 @@
* @class
* Initializes a new instance of the ParameterGroupingPostRequiredParameters class.
* @constructor
- * Additional parameters for the postRequired operation.
+ * Additional parameters for one or more operations
* @member {number} body
*
* @member {string} [customHeader]
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lRORetrys.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lRORetrys.js
index 91416004b9..bacca9fd61 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lRORetrys.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lRORetrys.js
@@ -81,7 +81,7 @@ LRORetrys.prototype.put201CreatingSucceeded200 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -334,7 +334,7 @@ LRORetrys.prototype.putAsyncRelativeRetrySucceeded = function (options, callback
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -562,7 +562,7 @@ LRORetrys.prototype.deleteProvisioning202Accepted200Succeeded = function (option
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -782,7 +782,7 @@ LRORetrys.prototype.delete202Retry200 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -952,7 +952,7 @@ LRORetrys.prototype.deleteAsyncRelativeRetrySucceeded = function (options, callb
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1130,7 +1130,7 @@ LRORetrys.prototype.post202Retry200 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1332,7 +1332,7 @@ LRORetrys.prototype.postAsyncRelativeRetrySucceeded = function (options, callbac
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1485,4 +1485,4 @@ LRORetrys.prototype.beginPostAsyncRelativeRetrySucceeded = function (options, ca
};
-module.exports = LRORetrys;
\ No newline at end of file
+module.exports = LRORetrys;
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lROSADs.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lROSADs.js
index b82dd78f09..240dd4e45f 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lROSADs.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lROSADs.js
@@ -78,7 +78,7 @@ LROSADs.prototype.putNonRetry400 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -326,7 +326,7 @@ LROSADs.prototype.putNonRetry201Creating400 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -575,7 +575,7 @@ LROSADs.prototype.putNonRetry201Creating400InvalidJson = function (options, call
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -825,7 +825,7 @@ LROSADs.prototype.putAsyncRelativeRetry400 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1048,7 +1048,7 @@ LROSADs.prototype.deleteNonRetry400 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1214,7 +1214,7 @@ LROSADs.prototype.delete202NonRetry400 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1382,7 +1382,7 @@ LROSADs.prototype.deleteAsyncRelativeRetry400 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1558,7 +1558,7 @@ LROSADs.prototype.postNonRetry400 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1755,7 +1755,7 @@ LROSADs.prototype.post202NonRetry400 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1954,7 +1954,7 @@ LROSADs.prototype.postAsyncRelativeRetry400 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -2155,7 +2155,7 @@ LROSADs.prototype.putError201NoProvisioningStatePayload = function (options, cal
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -2405,7 +2405,7 @@ LROSADs.prototype.putAsyncRelativeRetryNoStatus = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -2639,7 +2639,7 @@ LROSADs.prototype.putAsyncRelativeRetryNoStatusPayload = function (options, call
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -2863,7 +2863,7 @@ LROSADs.prototype.delete204Succeeded = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -3032,7 +3032,7 @@ LROSADs.prototype.deleteAsyncRelativeRetryNoStatus = function (options, callback
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -3209,7 +3209,7 @@ LROSADs.prototype.post202NoLocation = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -3409,7 +3409,7 @@ LROSADs.prototype.postAsyncRelativeRetryNoPayload = function (options, callback)
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -3610,7 +3610,7 @@ LROSADs.prototype.put200InvalidJson = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -3843,7 +3843,7 @@ LROSADs.prototype.putAsyncRelativeRetryInvalidHeader = function (options, callba
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -4077,7 +4077,7 @@ LROSADs.prototype.putAsyncRelativeRetryInvalidJsonPolling = function (options, c
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -4301,7 +4301,7 @@ LROSADs.prototype.delete202RetryInvalidHeader = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -4469,7 +4469,7 @@ LROSADs.prototype.deleteAsyncRelativeRetryInvalidHeader = function (options, cal
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -4638,7 +4638,7 @@ LROSADs.prototype.deleteAsyncRelativeRetryInvalidJsonPolling = function (options
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -4815,7 +4815,7 @@ LROSADs.prototype.post202RetryInvalidHeader = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -5015,7 +5015,7 @@ LROSADs.prototype.postAsyncRelativeRetryInvalidHeader = function (options, callb
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -5216,7 +5216,7 @@ LROSADs.prototype.postAsyncRelativeRetryInvalidJsonPolling = function (options,
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lROs.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lROs.js
index 7655fc4191..f403121e6d 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lROs.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lROs.js
@@ -79,7 +79,7 @@ LROs.prototype.put200Succeeded = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -311,7 +311,7 @@ LROs.prototype.put200SucceededNoState = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -544,7 +544,7 @@ LROs.prototype.put202Retry200 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -779,7 +779,7 @@ LROs.prototype.put201CreatingSucceeded200 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1032,7 +1032,7 @@ LROs.prototype.put200UpdatingSucceeded204 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1268,7 +1268,7 @@ LROs.prototype.put201CreatingFailed200 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1521,7 +1521,7 @@ LROs.prototype.put200Acceptedcanceled200 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1756,7 +1756,7 @@ LROs.prototype.putNoHeaderInRetry = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -1990,7 +1990,7 @@ LROs.prototype.putAsyncRetrySucceeded = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -2224,7 +2224,7 @@ LROs.prototype.putAsyncNoRetrySucceeded = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -2458,7 +2458,7 @@ LROs.prototype.putAsyncRetryFailed = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -2692,7 +2692,7 @@ LROs.prototype.putAsyncNoRetrycanceled = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -2926,7 +2926,7 @@ LROs.prototype.putAsyncNoHeaderInRetry = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -3156,7 +3156,7 @@ LROs.prototype.putNonResource = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -3382,7 +3382,7 @@ LROs.prototype.putAsyncNonResource = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -3606,7 +3606,7 @@ LROs.prototype.putSubResource = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -3828,7 +3828,7 @@ LROs.prototype.putAsyncSubResource = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -4049,7 +4049,7 @@ LROs.prototype.deleteProvisioning202Accepted200Succeeded = function (options, ca
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -4271,7 +4271,7 @@ LROs.prototype.deleteProvisioning202DeletingFailed200 = function (options, callb
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -4493,7 +4493,7 @@ LROs.prototype.deleteProvisioning202Deletingcanceled200 = function (options, cal
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -4711,7 +4711,7 @@ LROs.prototype.delete204Succeeded = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -4880,7 +4880,7 @@ LROs.prototype.delete202Retry200 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -5083,7 +5083,7 @@ LROs.prototype.delete202NoRetry204 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -5285,7 +5285,7 @@ LROs.prototype.deleteNoHeaderInRetry = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -5455,7 +5455,7 @@ LROs.prototype.deleteAsyncNoHeaderInRetry = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -5625,7 +5625,7 @@ LROs.prototype.deleteAsyncRetrySucceeded = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -5795,7 +5795,7 @@ LROs.prototype.deleteAsyncNoRetrySucceeded = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -5965,7 +5965,7 @@ LROs.prototype.deleteAsyncRetryFailed = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -6135,7 +6135,7 @@ LROs.prototype.deleteAsyncRetrycanceled = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -6306,7 +6306,7 @@ LROs.prototype.post200WithPayload = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -6533,7 +6533,7 @@ LROs.prototype.post202Retry200 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -6734,7 +6734,7 @@ LROs.prototype.post202NoRetry204 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -6967,7 +6967,7 @@ LROs.prototype.postAsyncRetrySucceeded = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -7201,7 +7201,7 @@ LROs.prototype.postAsyncNoRetrySucceeded = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -7434,7 +7434,7 @@ LROs.prototype.postAsyncRetryFailed = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -7635,7 +7635,7 @@ LROs.prototype.postAsyncRetrycanceled = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -7787,4 +7787,4 @@ LROs.prototype.beginPostAsyncRetrycanceled = function (options, callback) {
};
-module.exports = LROs;
\ No newline at end of file
+module.exports = LROs;
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lROsCustomHeader.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lROsCustomHeader.js
index 0c25e2df3b..3d4d296e68 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lROsCustomHeader.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Lro/operations/lROsCustomHeader.js
@@ -82,7 +82,7 @@ LROsCustomHeader.prototype.putAsyncRetrySucceeded = function (options, callback)
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -320,7 +320,7 @@ LROsCustomHeader.prototype.put201CreatingSucceeded200 = function (options, callb
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -573,7 +573,7 @@ LROsCustomHeader.prototype.post202Retry200 = function (options, callback) {
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -777,7 +777,7 @@ LROsCustomHeader.prototype.postAsyncRetrySucceeded = function (options, callback
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPostOrDeleteOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
@@ -931,4 +931,4 @@ LROsCustomHeader.prototype.beginPostAsyncRetrySucceeded = function (options, cal
};
-module.exports = LROsCustomHeader;
\ No newline at end of file
+module.exports = LROsCustomHeader;
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/index.d.ts b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/index.d.ts
index b95c21cdbe..3f94c15e7a 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/index.d.ts
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/index.d.ts
@@ -56,7 +56,7 @@ export interface OperationResult {
* @class
* Initializes a new instance of the PagingGetMultiplePagesOptions class.
* @constructor
- * Additional parameters for the getMultiplePages operation.
+ * Additional parameters for one or more operations
* @member {number} [maxresults] Sets the maximum number of items to return in
* the response.
*
@@ -73,7 +73,7 @@ export interface PagingGetMultiplePagesOptions {
* @class
* Initializes a new instance of the PagingGetMultiplePagesWithOffsetOptions class.
* @constructor
- * Additional parameters for the getMultiplePagesWithOffset operation.
+ * Additional parameters for one or more operations
* @member {number} [maxresults] Sets the maximum number of items to return in
* the response.
*
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesOptions.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesOptions.js
index 017fd4372b..5c7103c374 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesOptions.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesOptions.js
@@ -14,7 +14,7 @@
* @class
* Initializes a new instance of the PagingGetMultiplePagesOptions class.
* @constructor
- * Additional parameters for the getMultiplePages operation.
+ * Additional parameters for one or more operations
* @member {number} [maxresults] Sets the maximum number of items to return in
* the response.
*
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesWithOffsetOptions.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesWithOffsetOptions.js
index 42631d194f..1398c4f710 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesWithOffsetOptions.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesWithOffsetOptions.js
@@ -14,7 +14,7 @@
* @class
* Initializes a new instance of the PagingGetMultiplePagesWithOffsetOptions class.
* @constructor
- * Additional parameters for the getMultiplePagesWithOffset operation.
+ * Additional parameters for one or more operations
* @member {number} [maxresults] Sets the maximum number of items to return in
* the response.
*
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/operations/storageAccounts.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/operations/storageAccounts.js
index 272319d4cc..bff7003860 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/operations/storageAccounts.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/operations/storageAccounts.js
@@ -253,7 +253,7 @@ StorageAccounts.prototype.create = function (resourceGroupName, accountName, par
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/flattenParameterGroup.js b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/flattenParameterGroup.js
index d548e2c6af..e034f91979 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/flattenParameterGroup.js
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/flattenParameterGroup.js
@@ -14,7 +14,7 @@
* @class
* Initializes a new instance of the FlattenParameterGroup class.
* @constructor
- * Additional parameters for the putSimpleProductWithGrouping operation.
+ * Additional parameters for one or more operations
* @member {string} name Product name with value 'groupproduct'
*
* @member {string} productId Unique identifier representing a specific
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/index.d.ts b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/index.d.ts
index a105800dea..ea95cb0f14 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/index.d.ts
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/index.d.ts
@@ -137,7 +137,7 @@ export interface SimpleProduct extends BaseProduct {
* @class
* Initializes a new instance of the FlattenParameterGroup class.
* @constructor
- * Additional parameters for the putSimpleProductWithGrouping operation.
+ * Additional parameters for one or more operations
* @member {string} name Product name with value 'groupproduct'
*
* @member {string} productId Unique identifier representing a specific
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/setup.py
index 251a4cda74..97aa1ecfa3 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/first_parameter_group.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/first_parameter_group.py
index 0a3174e49e..dec4f13600 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/first_parameter_group.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/first_parameter_group.py
@@ -14,7 +14,7 @@
class FirstParameterGroup(Model):
"""
- Additional parameters for the postMultiParamGroups operation.
+ Additional parameters for one or more operations
:param header_one:
:type header_one: str
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_multi_param_groups_second_param_group.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_multi_param_groups_second_param_group.py
index d178c74709..4d4af23835 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_multi_param_groups_second_param_group.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_multi_param_groups_second_param_group.py
@@ -14,7 +14,7 @@
class ParameterGroupingPostMultiParamGroupsSecondParamGroup(Model):
"""
- Additional parameters for the postMultiParamGroups operation.
+ Additional parameters for one or more operations
:param header_two:
:type header_two: str
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_optional_parameters.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_optional_parameters.py
index 7368af7d84..623b79fd0f 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_optional_parameters.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_optional_parameters.py
@@ -14,7 +14,7 @@
class ParameterGroupingPostOptionalParameters(Model):
"""
- Additional parameters for the postOptional operation.
+ Additional parameters for one or more operations
:param custom_header:
:type custom_header: str
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_required_parameters.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_required_parameters.py
index 33627d834b..109ebe5ad5 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_required_parameters.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_required_parameters.py
@@ -14,7 +14,7 @@
class ParameterGroupingPostRequiredParameters(Model):
"""
- Additional parameters for the postRequired operation.
+ Additional parameters for one or more operations
:param body:
:type body: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/setup.py
index 2e0910c9bc..4e3dc67a4f 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/setup.py
index 762429f51c..fee4d2a41a 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/setup.py
index d4003cb22d..095659cbb3 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/setup.py
index a23f56d191..cd93aa2dd6 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/setup.py
index b58762d14b..b60d7cd0eb 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Head/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Head/setup.py
index e11e2311eb..083369e096 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Head/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Head/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/HeadExceptions/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/HeadExceptions/setup.py
index eea7127ecb..d66fa596b1 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/HeadExceptions/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/HeadExceptions/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/setup.py
index 6efdcd0d3e..dab3d2e5e7 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_options.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_options.py
index c776b4da87..4fcaf367d5 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_options.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_options.py
@@ -14,7 +14,7 @@
class PagingGetMultiplePagesOptions(Model):
"""
- Additional parameters for the getMultiplePages operation.
+ Additional parameters for one or more operations
:param maxresults: Sets the maximum number of items to return in the
response.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_with_offset_options.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_with_offset_options.py
index 57650f8519..48ed388233 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_with_offset_options.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_with_offset_options.py
@@ -14,7 +14,7 @@
class PagingGetMultiplePagesWithOffsetOptions(Model):
"""
- Additional parameters for the getMultiplePagesWithOffset operation.
+ Additional parameters for one or more operations
:param maxresults: Sets the maximum number of items to return in the
response.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/setup.py
index b8c042a69e..063fc0d938 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/setup.py
index 7e7b4160e0..b204e8c8c2 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/setup.py
index a0eeb22b2b..270e110d8b 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/flatten_parameter_group.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/flatten_parameter_group.py
index ef30dd1f2d..3e66e6a883 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/flatten_parameter_group.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/flatten_parameter_group.py
@@ -14,7 +14,7 @@
class FlattenParameterGroup(Model):
"""
- Additional parameters for the putSimpleProductWithGrouping operation.
+ Additional parameters for one or more operations
:param name: Product name with value 'groupproduct'
:type name: str
diff --git a/Samples/azure-storage/Azure.CSharp/Models/CheckNameAvailabilityResult.cs b/Samples/azure-storage/Azure.CSharp/Models/CheckNameAvailabilityResult.cs
index c2a6c48489..086e8b5169 100644
--- a/Samples/azure-storage/Azure.CSharp/Models/CheckNameAvailabilityResult.cs
+++ b/Samples/azure-storage/Azure.CSharp/Models/CheckNameAvailabilityResult.cs
@@ -32,23 +32,26 @@ public CheckNameAvailabilityResult() { }
}
///
- /// 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 or sets 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.
///
[JsonProperty(PropertyName = "nameAvailable")]
public bool? NameAvailable { get; set; }
///
- /// 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 or sets 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'
///
[JsonProperty(PropertyName = "reason")]
public Reason? Reason { get; set; }
///
- /// Gets an error message explaining the Reason value in more detail.
+ /// Gets or sets gets an error message explaining the Reason value in
+ /// more detail.
///
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
diff --git a/Samples/azure-storage/Azure.CSharp/Models/CustomDomain.cs b/Samples/azure-storage/Azure.CSharp/Models/CustomDomain.cs
index d783381ad3..5ada788894 100644
--- a/Samples/azure-storage/Azure.CSharp/Models/CustomDomain.cs
+++ b/Samples/azure-storage/Azure.CSharp/Models/CustomDomain.cs
@@ -30,14 +30,16 @@ public CustomDomain() { }
}
///
- /// Gets or sets the custom domain name. Name is the CNAME source.
+ /// Gets or sets gets or sets the custom domain name. Name is the
+ /// CNAME source.
///
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
///
- /// Indicates whether indirect CName validation is enabled. Default
- /// value is false. This should only be set on updates
+ /// Gets or sets indicates whether indirect CName validation is
+ /// enabled. Default value is false. This should only be set on
+ /// updates
///
[JsonProperty(PropertyName = "useSubDomain")]
public bool? UseSubDomain { get; set; }
diff --git a/Samples/azure-storage/Azure.CSharp/Models/Endpoints.cs b/Samples/azure-storage/Azure.CSharp/Models/Endpoints.cs
index 892510076c..f9b8d67d12 100644
--- a/Samples/azure-storage/Azure.CSharp/Models/Endpoints.cs
+++ b/Samples/azure-storage/Azure.CSharp/Models/Endpoints.cs
@@ -32,25 +32,25 @@ public Endpoints() { }
}
///
- /// Gets the blob endpoint.
+ /// Gets or sets gets the blob endpoint.
///
[JsonProperty(PropertyName = "blob")]
public string Blob { get; set; }
///
- /// Gets the queue endpoint.
+ /// Gets or sets gets the queue endpoint.
///
[JsonProperty(PropertyName = "queue")]
public string Queue { get; set; }
///
- /// Gets the table endpoint.
+ /// Gets or sets gets the table endpoint.
///
[JsonProperty(PropertyName = "table")]
public string Table { get; set; }
///
- /// Gets the file endpoint.
+ /// Gets or sets gets the file endpoint.
///
[JsonProperty(PropertyName = "file")]
public string File { get; set; }
diff --git a/Samples/azure-storage/Azure.CSharp/Models/Resource.cs b/Samples/azure-storage/Azure.CSharp/Models/Resource.cs
index 4bdc397631..fbf994880b 100644
--- a/Samples/azure-storage/Azure.CSharp/Models/Resource.cs
+++ b/Samples/azure-storage/Azure.CSharp/Models/Resource.cs
@@ -29,31 +29,31 @@ public Resource() { }
}
///
- /// Resource Id
+ /// Gets resource Id
///
[JsonProperty(PropertyName = "id")]
public string Id { get; private set; }
///
- /// Resource name
+ /// Gets resource name
///
[JsonProperty(PropertyName = "name")]
public string Name { get; private set; }
///
- /// Resource type
+ /// Gets resource type
///
[JsonProperty(PropertyName = "type")]
public string Type { get; private set; }
///
- /// Resource location
+ /// Gets or sets resource location
///
[JsonProperty(PropertyName = "location")]
public string Location { get; set; }
///
- /// Resource tags
+ /// Gets or sets resource tags
///
[JsonProperty(PropertyName = "tags")]
public IDictionary Tags { get; set; }
diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountCreateParameters.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountCreateParameters.cs
index c9b194c878..1c23f83ac3 100644
--- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountCreateParameters.cs
+++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountCreateParameters.cs
@@ -32,13 +32,13 @@ public StorageAccountCreateParameters() { }
}
///
- /// Resource location
+ /// Gets or sets resource location
///
[JsonProperty(PropertyName = "location")]
public string Location { get; set; }
///
- /// Resource tags
+ /// Gets or sets resource tags
///
[JsonProperty(PropertyName = "tags")]
public IDictionary Tags { get; set; }
diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountKeys.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountKeys.cs
index ce80a21921..823fee3225 100644
--- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountKeys.cs
+++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountKeys.cs
@@ -29,13 +29,13 @@ public StorageAccountKeys() { }
}
///
- /// Gets the value of key 1.
+ /// Gets or sets gets the value of key 1.
///
[JsonProperty(PropertyName = "key1")]
public string Key1 { get; set; }
///
- /// Gets the value of key 2.
+ /// Gets or sets gets the value of key 2.
///
[JsonProperty(PropertyName = "key2")]
public string Key2 { get; set; }
diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountProperties.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountProperties.cs
index e5af974c69..8282d7cc49 100644
--- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountProperties.cs
+++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountProperties.cs
@@ -35,87 +35,89 @@ public StorageAccountProperties() { }
}
///
- /// Gets the status of the storage account at the time the operation
- /// was called. Possible values include: 'Creating', 'ResolvingDNS',
- /// 'Succeeded'
+ /// Gets or sets gets the status of the storage account at the time
+ /// the operation was called. Possible values include: 'Creating',
+ /// 'ResolvingDNS', 'Succeeded'
///
[JsonProperty(PropertyName = "provisioningState")]
public ProvisioningState? ProvisioningState { get; set; }
///
- /// Gets the type of the storage account. Possible values include:
- /// 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS', 'Standard_RAGRS',
- /// 'Premium_LRS'
+ /// Gets or sets gets the type of the storage account. Possible values
+ /// include: 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS',
+ /// 'Standard_RAGRS', 'Premium_LRS'
///
[JsonProperty(PropertyName = "accountType")]
public AccountType? AccountType { get; set; }
///
- /// 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 or sets 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.
///
[JsonProperty(PropertyName = "primaryEndpoints")]
public Endpoints PrimaryEndpoints { get; set; }
///
- /// Gets the location of the primary for the storage account.
+ /// Gets or sets gets the location of the primary for the storage
+ /// account.
///
[JsonProperty(PropertyName = "primaryLocation")]
public string PrimaryLocation { get; set; }
///
- /// Gets the status indicating whether the primary location of the
- /// storage account is available or unavailable. Possible values
- /// include: 'Available', 'Unavailable'
+ /// Gets or sets gets the status indicating whether the primary
+ /// location of the storage account is available or unavailable.
+ /// Possible values include: 'Available', 'Unavailable'
///
[JsonProperty(PropertyName = "statusOfPrimary")]
public AccountStatus? StatusOfPrimary { get; set; }
///
- /// 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 or sets 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.
///
[JsonProperty(PropertyName = "lastGeoFailoverTime")]
public DateTime? LastGeoFailoverTime { get; set; }
///
- /// Gets the location of the geo replicated secondary for the storage
- /// account. Only available if the accountType is StandardGRS or
- /// StandardRAGRS.
+ /// Gets or sets gets the location of the geo replicated secondary for
+ /// the storage account. Only available if the accountType is
+ /// StandardGRS or StandardRAGRS.
///
[JsonProperty(PropertyName = "secondaryLocation")]
public string SecondaryLocation { get; set; }
///
- /// 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 or sets 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'
///
[JsonProperty(PropertyName = "statusOfSecondary")]
public AccountStatus? StatusOfSecondary { get; set; }
///
- /// Gets the creation date and time of the storage account in UTC.
+ /// Gets or sets gets the creation date and time of the storage
+ /// account in UTC.
///
[JsonProperty(PropertyName = "creationTime")]
public DateTime? CreationTime { get; set; }
///
- /// Gets the user assigned custom domain assigned to this storage
- /// account.
+ /// Gets or sets gets the user assigned custom domain assigned to this
+ /// storage account.
///
[JsonProperty(PropertyName = "customDomain")]
public CustomDomain CustomDomain { get; set; }
///
- /// 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
+ /// Gets or sets 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.
///
[JsonProperty(PropertyName = "secondaryEndpoints")]
diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesCreateParameters.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesCreateParameters.cs
index bc0824cb9d..0c2a98e26f 100644
--- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesCreateParameters.cs
+++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesCreateParameters.cs
@@ -27,9 +27,9 @@ public StorageAccountPropertiesCreateParameters(AccountType accountType)
}
///
- /// Gets or sets the account type. Possible values include:
- /// 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS', 'Standard_RAGRS',
- /// 'Premium_LRS'
+ /// Gets or sets gets or sets the account type. Possible values
+ /// include: 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS',
+ /// 'Standard_RAGRS', 'Premium_LRS'
///
[JsonProperty(PropertyName = "accountType")]
public AccountType AccountType { get; set; }
diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesUpdateParameters.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesUpdateParameters.cs
index 4808f3439b..22ca07468f 100644
--- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesUpdateParameters.cs
+++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountPropertiesUpdateParameters.cs
@@ -28,9 +28,9 @@ public StorageAccountPropertiesUpdateParameters() { }
}
///
- /// 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
+ /// Gets or sets 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'
///
@@ -38,10 +38,10 @@ public StorageAccountPropertiesUpdateParameters() { }
public AccountType? AccountType { get; set; }
///
- /// 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.
+ /// Gets or sets 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.
///
[JsonProperty(PropertyName = "customDomain")]
public CustomDomain CustomDomain { get; set; }
diff --git a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountUpdateParameters.cs b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountUpdateParameters.cs
index 768e0fe7fb..3346aab6e2 100644
--- a/Samples/azure-storage/Azure.CSharp/Models/StorageAccountUpdateParameters.cs
+++ b/Samples/azure-storage/Azure.CSharp/Models/StorageAccountUpdateParameters.cs
@@ -31,7 +31,7 @@ public StorageAccountUpdateParameters() { }
}
///
- /// Resource tags
+ /// Gets or sets resource tags
///
[JsonProperty(PropertyName = "tags")]
public IDictionary Tags { get; set; }
diff --git a/Samples/azure-storage/Azure.CSharp/Models/Usage.cs b/Samples/azure-storage/Azure.CSharp/Models/Usage.cs
index 338a900b30..4499cc0487 100644
--- a/Samples/azure-storage/Azure.CSharp/Models/Usage.cs
+++ b/Samples/azure-storage/Azure.CSharp/Models/Usage.cs
@@ -31,28 +31,29 @@ public Usage(UsageUnit unit, int currentValue, int limit, UsageName name)
}
///
- /// Gets the unit of measurement. Possible values include: 'Count',
- /// 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond', 'BytesPerSecond'
+ /// Gets or sets gets the unit of measurement. Possible values
+ /// include: 'Count', 'Bytes', 'Seconds', 'Percent',
+ /// 'CountsPerSecond', 'BytesPerSecond'
///
[JsonProperty(PropertyName = "unit")]
public UsageUnit Unit { get; set; }
///
- /// Gets the current count of the allocated resources in the
- /// subscription.
+ /// Gets or sets gets the current count of the allocated resources in
+ /// the subscription.
///
[JsonProperty(PropertyName = "currentValue")]
public int CurrentValue { get; set; }
///
- /// Gets the maximum count of the resources that can be allocated in
- /// the subscription.
+ /// Gets or sets gets the maximum count of the resources that can be
+ /// allocated in the subscription.
///
[JsonProperty(PropertyName = "limit")]
public int Limit { get; set; }
///
- /// Gets the name of the type of usage.
+ /// Gets or sets gets the name of the type of usage.
///
[JsonProperty(PropertyName = "name")]
public UsageName Name { get; set; }
diff --git a/Samples/azure-storage/Azure.CSharp/Models/UsageName.cs b/Samples/azure-storage/Azure.CSharp/Models/UsageName.cs
index 694332c58b..9acc8b5e30 100644
--- a/Samples/azure-storage/Azure.CSharp/Models/UsageName.cs
+++ b/Samples/azure-storage/Azure.CSharp/Models/UsageName.cs
@@ -29,13 +29,13 @@ public UsageName() { }
}
///
- /// Gets a string describing the resource name.
+ /// Gets or sets gets a string describing the resource name.
///
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
///
- /// Gets a localized string describing the resource name.
+ /// Gets or sets gets a localized string describing the resource name.
///
[JsonProperty(PropertyName = "localizedValue")]
public string LocalizedValue { get; set; }
diff --git a/Samples/azure-storage/Azure.NodeJS/operations/storageAccounts.js b/Samples/azure-storage/Azure.NodeJS/operations/storageAccounts.js
index 1cd198259f..c1b4897711 100644
--- a/Samples/azure-storage/Azure.NodeJS/operations/storageAccounts.js
+++ b/Samples/azure-storage/Azure.NodeJS/operations/storageAccounts.js
@@ -248,7 +248,7 @@ StorageAccounts.prototype.create = function (resourceGroupName, accountName, par
initialResult.request = httpRequest;
initialResult.response = response;
initialResult.body = response.body;
- client.getPutOrPatchOperationResult(initialResult, options, function (err, pollingResult) {
+ client.getLongRunningOperationResult(initialResult, options, function (err, pollingResult) {
if (err) return callback(err);
// Create Result
diff --git a/Samples/azure-storage/Azure.Python/setup.py b/Samples/azure-storage/Azure.Python/setup.py
index b9fe5db7a8..3260175533 100644
--- a/Samples/azure-storage/Azure.Python/setup.py
+++ b/Samples/azure-storage/Azure.Python/setup.py
@@ -15,7 +15,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.2.0", "msrestazure>=0.2.1"]
+REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
setup(
name=NAME,
diff --git a/Samples/azure-storage/Azure.Ruby/azure_storage/storage_accounts.rb b/Samples/azure-storage/Azure.Ruby/azure_storage/storage_accounts.rb
index d81d3ec104..771307fb09 100644
--- a/Samples/azure-storage/Azure.Ruby/azure_storage/storage_accounts.rb
+++ b/Samples/azure-storage/Azure.Ruby/azure_storage/storage_accounts.rb
@@ -89,7 +89,10 @@ def check_name_availability_async(account_name, custom_headers = nil)
body: request_content,
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :post, options)
+
+ request_url = @base_url || @client.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
promise = request.run_promise do |req|
@client.credentials.sign_request(req) unless @client.credentials.nil?
end
@@ -161,7 +164,7 @@ def create(resource_group_name, account_name, parameters, custom_headers = nil)
end
# Waiting for response.
- @client.get_put_operation_result(response, deserialize_method)
+ @client.get_long_running_operation_result(response, deserialize_method)
end
promise
@@ -260,7 +263,10 @@ def begin_create_async(resource_group_name, account_name, parameters, custom_hea
body: request_content,
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :put, options)
+
+ request_url = @base_url || @client.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :put, options)
promise = request.run_promise do |req|
@client.credentials.sign_request(req) unless @client.credentials.nil?
end
@@ -359,7 +365,10 @@ def delete_async(resource_group_name, account_name, custom_headers = nil)
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :delete, options)
+
+ request_url = @base_url || @client.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :delete, options)
promise = request.run_promise do |req|
@client.credentials.sign_request(req) unless @client.credentials.nil?
end
@@ -453,7 +462,10 @@ def get_properties_async(resource_group_name, account_name, custom_headers = nil
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :get, options)
+
+ request_url = @base_url || @client.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
@client.credentials.sign_request(req) unless @client.credentials.nil?
end
@@ -605,7 +617,10 @@ def update_async(resource_group_name, account_name, parameters, custom_headers =
body: request_content,
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :patch, options)
+
+ request_url = @base_url || @client.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :patch, options)
promise = request.run_promise do |req|
@client.credentials.sign_request(req) unless @client.credentials.nil?
end
@@ -696,7 +711,10 @@ def list_keys_async(resource_group_name, account_name, custom_headers = nil)
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :post, options)
+
+ request_url = @base_url || @client.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
promise = request.run_promise do |req|
@client.credentials.sign_request(req) unless @client.credentials.nil?
end
@@ -782,7 +800,10 @@ def list_async(custom_headers = nil)
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :get, options)
+
+ request_url = @base_url || @client.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
@client.credentials.sign_request(req) unless @client.credentials.nil?
end
@@ -878,7 +899,10 @@ def list_by_resource_group_async(resource_group_name, custom_headers = nil)
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :get, options)
+
+ request_url = @base_url || @client.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
@client.credentials.sign_request(req) unless @client.credentials.nil?
end
@@ -994,7 +1018,10 @@ def regenerate_key_async(resource_group_name, account_name, regenerate_key, cust
body: request_content,
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :post, options)
+
+ request_url = @base_url || @client.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
promise = request.run_promise do |req|
@client.credentials.sign_request(req) unless @client.credentials.nil?
end
diff --git a/Samples/azure-storage/Azure.Ruby/azure_storage/usage_operations.rb b/Samples/azure-storage/Azure.Ruby/azure_storage/usage_operations.rb
index 54a4173ea2..7ac968267e 100644
--- a/Samples/azure-storage/Azure.Ruby/azure_storage/usage_operations.rb
+++ b/Samples/azure-storage/Azure.Ruby/azure_storage/usage_operations.rb
@@ -70,7 +70,10 @@ def list_async(custom_headers = nil)
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :get, options)
+
+ request_url = @base_url || @client.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
@client.credentials.sign_request(req) unless @client.credentials.nil?
end
diff --git a/Samples/petstore/CSharp/Models/Order.cs b/Samples/petstore/CSharp/Models/Order.cs
index b0c9e5ab6d..23e3155fa2 100644
--- a/Samples/petstore/CSharp/Models/Order.cs
+++ b/Samples/petstore/CSharp/Models/Order.cs
@@ -49,8 +49,8 @@ public Order() { }
public DateTime? ShipDate { get; set; }
///
- /// Order Status. Possible values include: 'placed', 'approved',
- /// 'delivered'
+ /// Gets or sets order Status. Possible values include: 'placed',
+ /// 'approved', 'delivered'
///
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
diff --git a/Samples/petstore/CSharp/Models/Pet.cs b/Samples/petstore/CSharp/Models/Pet.cs
index c4e0286deb..672c2aad64 100644
--- a/Samples/petstore/CSharp/Models/Pet.cs
+++ b/Samples/petstore/CSharp/Models/Pet.cs
@@ -54,8 +54,8 @@ public Pet() { }
public IList Tags { get; set; }
///
- /// pet status in the store. Possible values include: 'available',
- /// 'pending', 'sold'
+ /// Gets or sets pet status in the store. Possible values include:
+ /// 'available', 'pending', 'sold'
///
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
diff --git a/Samples/petstore/CSharp/Models/User.cs b/Samples/petstore/CSharp/Models/User.cs
index d30dd443ac..acdc7b1824 100644
--- a/Samples/petstore/CSharp/Models/User.cs
+++ b/Samples/petstore/CSharp/Models/User.cs
@@ -66,7 +66,7 @@ public User() { }
public string Phone { get; set; }
///
- /// User Status
+ /// Gets or sets user Status
///
[JsonProperty(PropertyName = "userStatus")]
public int? UserStatus { get; set; }
diff --git a/Samples/petstore/Ruby/petstore/swagger_petstore.rb b/Samples/petstore/Ruby/petstore/swagger_petstore.rb
index 9584898cad..d1ebfee575 100644
--- a/Samples/petstore/Ruby/petstore/swagger_petstore.rb
+++ b/Samples/petstore/Ruby/petstore/swagger_petstore.rb
@@ -75,7 +75,10 @@ def add_pet_using_byte_array_async(body = nil, custom_headers = nil)
body: request_content,
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :post, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -148,7 +151,10 @@ def add_pet_async(body = nil, custom_headers = nil)
body: request_content,
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :post, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -221,7 +227,10 @@ def update_pet_async(body = nil, custom_headers = nil)
body: request_content,
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :put, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :put, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -294,10 +303,13 @@ def find_pets_by_status_async(status = nil, custom_headers = nil)
path_template = '/pet/findByStatus'
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- query_params: {'status' => status},
+ query_params: {'status' => status.join(',')},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :get, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -389,10 +401,13 @@ def find_pets_by_tags_async(tags = nil, custom_headers = nil)
path_template = '/pet/findByTags'
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- query_params: {'tags' => tags},
+ query_params: {'tags' => tags.join(',')},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :get, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -484,10 +499,13 @@ def find_pets_with_byte_array_async(pet_id, custom_headers = nil)
path_template = '/pet/{petId}'
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'petId' => pet_id},
+ path_params: {'petId' => pet_id.to_s},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :get, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -569,10 +587,13 @@ def get_pet_by_id_async(pet_id, custom_headers = nil)
path_template = '/pet/{petId}'
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'petId' => pet_id},
+ path_params: {'petId' => pet_id.to_s},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :get, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -656,7 +677,10 @@ def update_pet_with_form_async(pet_id, name = nil, status = nil, custom_headers
path_params: {'petId' => pet_id},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :post, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -725,10 +749,13 @@ def delete_pet_async(pet_id, api_key = nil, custom_headers = nil)
path_template = '/pet/{petId}'
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'petId' => pet_id},
+ path_params: {'petId' => pet_id.to_s},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :delete, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :delete, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -797,10 +824,13 @@ def upload_file_async(pet_id, additional_metadata = nil, file = nil, custom_head
path_template = '/pet/{petId}/uploadImage'
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'petId' => pet_id},
+ path_params: {'petId' => pet_id.to_s},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :post, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -868,7 +898,10 @@ def get_inventory_async(custom_headers = nil)
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :get, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -957,7 +990,10 @@ def place_order_async(body = nil, custom_headers = nil)
body: request_content,
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :post, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -1045,7 +1081,10 @@ def get_order_by_id_async(order_id, custom_headers = nil)
path_params: {'orderId' => order_id},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :get, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -1132,7 +1171,10 @@ def delete_order_async(order_id, custom_headers = nil)
path_params: {'orderId' => order_id},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :delete, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :delete, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -1211,7 +1253,10 @@ def create_user_async(body = nil, custom_headers = nil)
body: request_content,
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :post, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -1291,7 +1336,10 @@ def create_users_with_array_input_async(body = nil, custom_headers = nil)
body: request_content,
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :post, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -1371,7 +1419,10 @@ def create_users_with_list_input_async(body = nil, custom_headers = nil)
body: request_content,
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :post, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -1440,7 +1491,10 @@ def login_user_async(username = nil, password = nil, custom_headers = nil)
query_params: {'username' => username,'password' => password},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :get, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -1510,7 +1564,10 @@ def logout_user_async(custom_headers = nil)
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :get, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -1580,7 +1637,10 @@ def get_user_by_name_async(username, custom_headers = nil)
path_params: {'username' => username},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :get, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -1676,7 +1736,10 @@ def update_user_async(username, body = nil, custom_headers = nil)
body: request_content,
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :put, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :put, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end
@@ -1748,7 +1811,10 @@ def delete_user_async(username, custom_headers = nil)
path_params: {'username' => username},
headers: request_headers.merge(custom_headers || {})
}
- request = MsRest::HttpOperationRequest.new(@base_url || self.base_url, path_template, :delete, options)
+
+ request_url = @base_url || self.base_url
+
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :delete, options)
promise = request.run_promise do |req|
self.credentials.sign_request(req) unless self.credentials.nil?
end