From 78356b5087ce70559da29d8a38381f4f94433ba1 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 12 May 2016 14:21:12 -0700 Subject: [PATCH 1/3] Updated comments for references --- .../CSharp/CSharp/ClientModelExtensions.cs | 30 +++++++++++++++++++ .../CSharp/Templates/ModelTemplate.cshtml | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/AutoRest/Generators/CSharp/CSharp/ClientModelExtensions.cs b/AutoRest/Generators/CSharp/CSharp/ClientModelExtensions.cs index ae4d9f11159d..ff5f11802278 100644 --- a/AutoRest/Generators/CSharp/CSharp/ClientModelExtensions.cs +++ b/AutoRest/Generators/CSharp/CSharp/ClientModelExtensions.cs @@ -131,6 +131,36 @@ 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 of the property documentation + public static string GetFormattedPropertyDocumentation(this Property 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]) + property.Documentation.Substring(1); + } + else + { + documentation += firstWord.ToUpper() == firstWord + ? property.Documentation + : char.ToLower(property.Documentation[0]) + 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 942e67ef809e..aeb27d92a457 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)) { From 374455aa8e30dcdd89b2b8027fe2315c0ac173af Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 12 May 2016 14:25:08 -0700 Subject: [PATCH 2/3] Regenerated expected files --- .../AzureCompositeModelClient/Models/Basic.cs | 3 +- .../Models/CatalogArray.cs | 2 +- .../Models/CatalogArrayOfDictionary.cs | 2 +- .../Models/CatalogDictionary.cs | 2 +- .../Models/CatalogDictionaryOfArray.cs | 2 +- .../Models/Product.cs | 15 ++- .../Models/FirstParameterGroup.cs | 4 +- ...ingPostMultiParamGroupsSecondParamGroup.cs | 4 +- ...ParameterGroupingPostOptionalParameters.cs | 4 +- ...ParameterGroupingPostRequiredParameters.cs | 6 +- .../AzureResource/Models/Resource.cs | 8 +- .../HeaderCustomNamedRequestIdHeaders.cs | 2 +- .../LRORetrysDelete202Retry200Headers.cs | 6 +- ...eleteAsyncRelativeRetrySucceededHeaders.cs | 8 +- ...visioning202Accepted200SucceededHeaders.cs | 6 +- .../Models/LRORetrysPost202Retry200Headers.cs | 6 +- ...sPostAsyncRelativeRetrySucceededHeaders.cs | 8 +- ...ysPutAsyncRelativeRetrySucceededHeaders.cs | 8 +- .../LROSADsDelete202NonRetry400Headers.cs | 6 +- ...OSADsDelete202RetryInvalidHeaderHeaders.cs | 7 +- ...OSADsDeleteAsyncRelativeRetry400Headers.cs | 8 +- ...eAsyncRelativeRetryInvalidHeaderHeaders.cs | 10 +- ...cRelativeRetryInvalidJsonPollingHeaders.cs | 8 +- ...DeleteAsyncRelativeRetryNoStatusHeaders.cs | 8 +- .../Models/LROSADsDeleteNonRetry400Headers.cs | 6 +- .../Models/LROSADsPost202NoLocationHeaders.cs | 6 +- .../LROSADsPost202NonRetry400Headers.cs | 6 +- ...LROSADsPost202RetryInvalidHeaderHeaders.cs | 7 +- ...LROSADsPostAsyncRelativeRetry400Headers.cs | 8 +- ...tAsyncRelativeRetryInvalidHeaderHeaders.cs | 8 +- ...cRelativeRetryInvalidJsonPollingHeaders.cs | 8 +- ...sPostAsyncRelativeRetryNoPayloadHeaders.cs | 8 +- .../Models/LROSADsPostNonRetry400Headers.cs | 6 +- .../LROSADsPutAsyncRelativeRetry400Headers.cs | 8 +- ...tAsyncRelativeRetryInvalidHeaderHeaders.cs | 8 +- ...cRelativeRetryInvalidJsonPollingHeaders.cs | 8 +- ...ADsPutAsyncRelativeRetryNoStatusHeaders.cs | 8 +- ...syncRelativeRetryNoStatusPayloadHeaders.cs | 8 +- .../LROsCustomHeaderPost202Retry200Headers.cs | 6 +- ...tomHeaderPostAsyncRetrySucceededHeaders.cs | 8 +- ...stomHeaderPutAsyncRetrySucceededHeaders.cs | 8 +- .../Models/LROsDelete202NoRetry204Headers.cs | 6 +- .../Models/LROsDelete202Retry200Headers.cs | 6 +- .../LROsDeleteAsyncNoHeaderInRetryHeaders.cs | 2 +- .../LROsDeleteAsyncNoRetrySucceededHeaders.cs | 8 +- .../LROsDeleteAsyncRetryFailedHeaders.cs | 8 +- .../LROsDeleteAsyncRetrySucceededHeaders.cs | 8 +- .../LROsDeleteAsyncRetrycanceledHeaders.cs | 8 +- .../LROsDeleteNoHeaderInRetryHeaders.cs | 2 +- ...visioning202Accepted200SucceededHeaders.cs | 6 +- ...Provisioning202DeletingFailed200Headers.cs | 6 +- ...ovisioning202Deletingcanceled200Headers.cs | 6 +- .../Models/LROsPost202NoRetry204Headers.cs | 6 +- .../Lro/Models/LROsPost202Retry200Headers.cs | 6 +- .../LROsPostAsyncNoRetrySucceededHeaders.cs | 8 +- .../Models/LROsPostAsyncRetryFailedHeaders.cs | 8 +- .../LROsPostAsyncRetrySucceededHeaders.cs | 8 +- .../LROsPostAsyncRetrycanceledHeaders.cs | 8 +- .../LROsPutAsyncNoRetrySucceededHeaders.cs | 4 +- .../LROsPutAsyncNoRetrycanceledHeaders.cs | 4 +- .../Models/LROsPutAsyncRetryFailedHeaders.cs | 8 +- .../LROsPutAsyncRetrySucceededHeaders.cs | 8 +- .../Models/LROsPutNoHeaderInRetryHeaders.cs | 2 +- .../Lro/Models/OperationResult.cs | 6 +- .../Lro/Models/OperationResultError.cs | 4 +- .../AcceptanceTests/Lro/Models/Product.cs | 2 +- .../AcceptanceTests/Lro/Models/Resource.cs | 8 +- .../AcceptanceTests/Lro/Models/SubProduct.cs | 2 +- .../AcceptanceTests/Lro/Models/SubResource.cs | 2 +- .../Paging/Models/OperationResult.cs | 6 +- .../Models/PagingGetMultiplePagesOptions.cs | 9 +- ...ngGetMultiplePagesWithOffsetNextOptions.cs | 7 +- ...PagingGetMultiplePagesWithOffsetOptions.cs | 11 +- .../Models/SampleResourceGroup.cs | 4 +- .../BodyComplex/Models/Basic.cs | 3 +- .../Models/HeaderResponseBoolHeaders.cs | 2 +- .../Models/HeaderResponseByteHeaders.cs | 2 +- .../Models/HeaderResponseDateHeaders.cs | 3 +- .../Models/HeaderResponseDatetimeHeaders.cs | 2 +- .../HeaderResponseDatetimeRfc1123Headers.cs | 4 +- .../Models/HeaderResponseDoubleHeaders.cs | 2 +- .../Models/HeaderResponseDurationHeaders.cs | 2 +- .../Models/HeaderResponseEnumHeaders.cs | 2 +- .../HeaderResponseExistingKeyHeaders.cs | 2 +- .../Models/HeaderResponseFloatHeaders.cs | 2 +- .../Models/HeaderResponseIntegerHeaders.cs | 2 +- .../Models/HeaderResponseLongHeaders.cs | 2 +- .../HeaderResponseProtectedKeyHeaders.cs | 2 +- .../Models/HeaderResponseStringHeaders.cs | 4 +- .../Models/HttpRedirectsDelete307Headers.cs | 2 +- .../Http/Models/HttpRedirectsGet300Headers.cs | 2 +- .../Http/Models/HttpRedirectsGet301Headers.cs | 2 +- .../Http/Models/HttpRedirectsGet302Headers.cs | 2 +- .../Http/Models/HttpRedirectsGet307Headers.cs | 2 +- .../Models/HttpRedirectsHead300Headers.cs | 2 +- .../Models/HttpRedirectsHead301Headers.cs | 2 +- .../Models/HttpRedirectsHead302Headers.cs | 2 +- .../Models/HttpRedirectsHead307Headers.cs | 2 +- .../Models/HttpRedirectsPatch302Headers.cs | 2 +- .../Models/HttpRedirectsPatch307Headers.cs | 2 +- .../Models/HttpRedirectsPost303Headers.cs | 2 +- .../Models/HttpRedirectsPost307Headers.cs | 2 +- .../Http/Models/HttpRedirectsPut301Headers.cs | 2 +- .../Http/Models/HttpRedirectsPut307Headers.cs | 2 +- .../ModelFlattening/Models/BaseProduct.cs | 9 +- .../Models/FlattenParameterGroup.cs | 19 +-- .../Models/FlattenedProduct.cs | 2 +- .../ModelFlattening/Models/GenericUrl.cs | 2 +- .../ModelFlattening/Models/Resource.cs | 8 +- .../ModelFlattening/Models/SimpleProduct.cs | 6 +- .../Validation/Models/ChildProduct.cs | 2 +- .../Validation/Models/Product.cs | 9 +- .../Mirror.Polymorphic/Models/Animal.cs | 4 +- .../Mirror.Polymorphic/Models/BaseCat.cs | 2 +- .../Mirror.Polymorphic/Models/BurmeseCat.cs | 2 +- .../Mirror.Polymorphic/Models/Doggy.cs | 2 +- .../Mirror.Polymorphic/Models/HimalayanCat.cs | 2 +- .../Mirror.Polymorphic/Models/Horsey.cs | 2 +- .../Mirror.Polymorphic/Models/PersianCat.cs | 2 +- .../Mirror.Polymorphic/Models/SiameseCat.cs | 2 +- .../Mirror.Primitives/Models/Product.cs | 2 +- .../Mirror.RecursiveTypes/Models/Product.cs | 7 +- .../PetstoreV2/Models/LoginUserHeaders.cs | 4 +- .../Expected/PetstoreV2/Models/Order.cs | 4 +- .../Expected/PetstoreV2/Models/Pet.cs | 4 +- .../Expected/PetstoreV2/Models/User.cs | 2 +- .../models/FirstParameterGroup.java | 2 +- ...gPostMultiParamGroupsSecondParamGroup.java | 2 +- ...rameterGroupingPostOptionalParameters.java | 2 +- ...rameterGroupingPostRequiredParameters.java | 2 +- .../models/PagingGetMultiplePagesOptions.java | 2 +- ...gingGetMultiplePagesWithOffsetOptions.java | 2 +- .../models/FlattenParameterGroup.java | 2 +- .../models/firstParameterGroup.js | 2 +- .../AzureParameterGrouping/models/index.d.ts | 8 +- ...ingPostMultiParamGroupsSecondParamGroup.js | 2 +- ...parameterGroupingPostOptionalParameters.js | 2 +- ...parameterGroupingPostRequiredParameters.js | 2 +- .../Lro/operations/lRORetrys.js | 16 +-- .../AcceptanceTests/Lro/operations/lROSADs.js | 52 ++++---- .../AcceptanceTests/Lro/operations/lROs.js | 74 +++++------ .../Lro/operations/lROsCustomHeader.js | 10 +- .../AcceptanceTests/Paging/models/index.d.ts | 4 +- .../models/pagingGetMultiplePagesOptions.js | 2 +- ...pagingGetMultiplePagesWithOffsetOptions.js | 2 +- .../operations/storageAccounts.js | 2 +- .../models/flattenParameterGroup.js | 2 +- .../ModelFlattening/models/index.d.ts | 2 +- .../AzureBodyDuration/setup.py | 2 +- .../models/first_parameter_group.py | 2 +- ...t_multi_param_groups_second_param_group.py | 2 +- ...meter_grouping_post_optional_parameters.py | 2 +- ...meter_grouping_post_required_parameters.py | 2 +- .../AzureParameterGrouping/setup.py | 2 +- .../AcceptanceTests/AzureReport/setup.py | 2 +- .../AcceptanceTests/AzureResource/setup.py | 2 +- .../AcceptanceTests/AzureSpecials/setup.py | 2 +- .../AcceptanceTests/CustomBaseUri/setup.py | 2 +- .../Expected/AcceptanceTests/Head/setup.py | 2 +- .../AcceptanceTests/HeadExceptions/setup.py | 2 +- .../Expected/AcceptanceTests/Lro/setup.py | 2 +- .../paging_get_multiple_pages_options.py | 2 +- ..._get_multiple_pages_with_offset_options.py | 2 +- .../Expected/AcceptanceTests/Paging/setup.py | 2 +- .../StorageManagementClient/setup.py | 2 +- .../SubscriptionIdApiVersion/setup.py | 2 +- .../models/flatten_parameter_group.py | 2 +- .../Models/CheckNameAvailabilityResult.cs | 17 ++- .../Azure.CSharp/Models/CustomDomain.cs | 8 +- .../Azure.CSharp/Models/Endpoints.cs | 8 +- .../Azure.CSharp/Models/Resource.cs | 10 +- .../Models/StorageAccountCreateParameters.cs | 4 +- .../Azure.CSharp/Models/StorageAccountKeys.cs | 4 +- .../Models/StorageAccountProperties.cs | 64 ++++----- ...torageAccountPropertiesCreateParameters.cs | 6 +- ...torageAccountPropertiesUpdateParameters.cs | 14 +- .../Models/StorageAccountUpdateParameters.cs | 2 +- .../Azure.CSharp/Models/Usage.cs | 15 ++- .../Azure.CSharp/Models/UsageName.cs | 4 +- .../operations/storageAccounts.js | 2 +- Samples/azure-storage/Azure.Python/setup.py | 2 +- .../azure_storage/storage_accounts.rb | 47 +++++-- .../azure_storage/usage_operations.rb | 5 +- Samples/petstore/CSharp/Models/Order.cs | 4 +- Samples/petstore/CSharp/Models/Pet.cs | 4 +- Samples/petstore/CSharp/Models/User.cs | 2 +- .../Ruby/petstore/swagger_petstore.rb | 122 ++++++++++++++---- 187 files changed, 663 insertions(+), 544 deletions(-) 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 e30aad46136d..a3f115e52773 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(int? id = default(int?), string name = default(string), string colo 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 66c81ff69df2..7d380e403bc7 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(IList productArray = default(IList)) } /// - /// 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 893eaa5620e0..5f64fd7d8be6 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(IList> productArray } /// - /// 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 fc5886801b62..f3b008a02d97 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(IDictionary productDictionary = defaul } /// - /// 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 08422bdccb50..1ce6d5bda505 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(IDictionary> productDicti } /// - /// 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 f09206d4572f..6490bfe15f7b 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(string productId = default(string), string description = default( } /// - /// 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 0b05e6b45209..64544e0994a3 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(string headerOne = default(string), int? queryOne = d 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 b62aab87f7c4..874e8e1d7992 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(string headerTwo = 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 ad34300acc32..7dce24800e0f 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(string customHeader = default(str 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 65b9f511989a..7f1bd8dfc24d 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(int body, string path, string cus 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 8e0914cc4e68..61d81a2722b2 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(string id = default(string), string type = default(string), IDic } /// - /// 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(string id = default(string), string type = default(string), IDic 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 d00b60f8390f..4328e58dfa0e 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(string fooRequestId = default(string)) } /// - /// 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 5a86816dc6a3..48c5638bc134 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(string location = default(string), int? } /// - /// 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 e368937f0d63..095ed23b916b 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(string azureAsyncOperat } /// - /// 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 6bf24c3d9a7c..3c239e13c506 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(string location } /// - /// 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 d8e377089a10..be801531b1e3 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(string location = default(string), int? r } /// - /// 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 0cf65de61068..694c6f60c604 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(string azureAsyncOperatio } /// - /// 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 eeb61fc755b1..02693514b311 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(string azureAsyncOperation } /// - /// 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 5178d27baa19..116d6a7e5db4 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(string location = default(string), int } /// - /// 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 74944259a2ca..727b01276234 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(string location = default(strin } /// - /// 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 fc54f97d8067..4c1ac5d129b8 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(string azureAsyncOperation = de } /// - /// 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 1c1262eb4bd1..bcb53a47e994 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(string azureAsyncOper } /// - /// 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 2ccbcaf1f68b..8c30a0a4f97c 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(string azureAsyn } /// - /// 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 a3b082bc4467..1a6afea5086b 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(string azureAsyncOperation } /// - /// 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 8388c132dbad..202e5b5d8b72 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(string location = default(string), int? r } /// - /// 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 d0ff72b0480a..275c476a5323 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(string location = default(string), int? r } /// - /// 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 4a631690e2b5..448c6f2ed5db 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(string location = default(string), int? } /// - /// 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 8d258cf72468..31373a1d5bc2 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(string location = default(string) } /// - /// 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 8b4d91544b02..0c8e775eb0b5 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(string azureAsyncOperation = defa } /// - /// 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 ff5102bac889..8b4a8487a684 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(string azureAsyncOperat } /// - /// 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 6b33dddde081..55f40ad33f05 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(string azureAsyncO } /// - /// 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 6b879e10ce3c..c5a6c9a6a4b8 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(string azureAsyncOperation } /// - /// 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 b84f0a4ab2da..a063b6ed3c2b 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(string location = default(string), int? ret } /// - /// 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 4517f177b7c4..a8fdaaf7b9fd 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(string azureAsyncOperation = defau } /// - /// 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 31f90b28d94d..730e2a89f794 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(string azureAsyncOperati } /// - /// 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 cca85263d8ad..0854ea59e12c 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(string azureAsyncOp } /// - /// 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 5a4aeef323fc..2d63d0682d5d 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(string azureAsyncOperation = } /// - /// 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 d027036126ad..5c75b72ec2e3 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(string azureAsyncOpera } /// - /// 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 462144eb416e..ab928a160295 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(string location = default(string), } /// - /// 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 5a4c1cc9000a..10a93dfb18dd 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(string azureAsyncOperation } /// - /// 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 40a58b667514..66cb66baec84 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(string azureAsyncOperation } /// - /// 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 74f325ecf891..9c1043c99e9c 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(string location = default(string), int? re } /// - /// 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 73fec76b069e..53c58b72c187 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(string location = default(string), int? retr } /// - /// 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 2be5bc4d0465..71283acb5686 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(string location = default(string)) } /// - /// 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 edbb8bacea89..177d0dbd3486 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(string azureAsyncOperation = defau } /// - /// 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 f23c19fe68bc..8f3aebdc781a 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(string azureAsyncOperation = default(st } /// - /// 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 be0fa3a4ea8f..acfd07ed5a1c 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(string azureAsyncOperation = default } /// - /// 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 ce2675bf5c3d..a5d86a7f1b95 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(string azureAsyncOperation = default( } /// - /// 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 039a86d9a9f1..7dc3e9b001a7 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(string location = default(string)) } /// - /// 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 af5c4ef25cfa..9902e42b88cd 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(string location = de } /// - /// 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 c7cd89096d21..aacc2cc6d51f 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(string location = defau } /// - /// 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 0ded45ed5163..929ce769234e 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(string location = def } /// - /// 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 5ee71af14e56..2b1b350499ac 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(string location = default(string), int? retr } /// - /// 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 15ec65630416..ac65636a94e0 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(string location = default(string), int? retryA } /// - /// 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 b42d705c2537..ecfca7fc2034 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(string azureAsyncOperation = default } /// - /// 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 c917433f206d..075c922deed8 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(string azureAsyncOperation = default(stri } /// - /// 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 54b3e15d511b..c5130f0ffe7d 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(string azureAsyncOperation = default(s } /// - /// 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 0b4068d4ec5e..a55f69e4730e 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(string azureAsyncOperation = default(st } /// - /// 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 517418b91e28..b33f4f7df5d1 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(string azureAsyncOperation = default( } /// - /// 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 d2d6debcc683..4c8bd617507b 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(string azureAsyncOperation = default(s } /// - /// 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 d4d12deacaf9..c840b00f06da 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(string azureAsyncOperation = default(strin } /// - /// 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 3b09b57d0c16..b6b88a22380c 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(string azureAsyncOperation = default(st } /// - /// 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 66cec5929444..e0bbd41f3003 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(string location = default(string)) } /// - /// 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 644400aec8ba..ac96c786203b 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(string status = default(string), OperationResultError err } /// - /// 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 e215156e349d..879bd79f188e 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(int? code = default(int?), string message = default( } /// - /// 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 989a0ca86de5..aa45a2ce75f4 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(string id = default(string), string type = default(string), IDict 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 f723039e2ea2..ccedfcfae70c 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(string id = default(string), string type = default(string), IDic } /// - /// 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(string id = default(string), string type = default(string), IDic 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 3e2dfb91369c..838d1be2a237 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(string id = default(string), string provisioningState = defaul 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 a41dc0dd848f..55a46212dfea 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(string id = default(string)) } /// - /// 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 584dc52c773b..69a370465247 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(string status = default(string)) } /// - /// 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 3b1227cd3b0f..cd420389a93e 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(int? maxresults = default(int?), int? timeo } /// - /// 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 78992ebfb834..13885d812984 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(int? maxresults = default(int } /// - /// 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 e4c74a8e57a6..91c7ecd834f4 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(int offset, int? maxresults = def } /// - /// 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 4b1187cae87d..6ce67ca345a8 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(string name = default(string), string location = defa } /// - /// 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 37a8fff6fc16..be0b4041263e 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(int? id = default(int?), string name = default(string), string colo 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 54bb390e7cb9..3461139acef8 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(bool? value = default(bool?)) } /// - /// 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 1119ed4d030a..742bece92143 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(byte[] value = default(byte[])) } /// - /// 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 0cb1bd745fb5..e00cbc09557f 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(DateTime? value = default(DateTime?)) } /// - /// 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 8215b0ae1c61..cffbd3421661 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(DateTime? value = default(DateTime?)) } /// - /// 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 124f599f9ba0..f188e986ab6b 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(DateTime? value = default(DateTime?) } /// - /// 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 104620a95090..e34f3b911d50 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(double? value = default(double?)) } /// - /// 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 71f279990a84..2795657f73e3 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(TimeSpan? value = default(TimeSpan?)) } /// - /// 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 06092074d54e..f955fca276f9 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(GreyscaleColors? value = default(GreyscaleColor } /// - /// 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 344136218eec..42a5c1aeda70 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(string userAgent = default(string)) } /// - /// 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 987718bad93b..6e5353a3fcae 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(double? value = default(double?)) } /// - /// 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 28d60394d0b7..3ce8bd066a79 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(int? value = default(int?)) } /// - /// 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 cf9efd1fe838..6e15f2eecc4a 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(long? value = default(long?)) } /// - /// 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 abb1464ad445..7adbdf29bebf 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(string contentType = default(string)) } /// - /// 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 7184a38f5c59..0744f2115b54 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(string value = default(string)) } /// - /// 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 cbf7865f2726..999dd9f16474 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(string location = default(string)) } /// - /// 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 d14c5fc870c9..ad0dacb9d1aa 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(string location = default(string)) } /// - /// 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 70432eae09b3..2a543db3975b 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(string location = default(string)) } /// - /// 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 22bc242974d1..59b857904134 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(string location = default(string)) } /// - /// 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 7eb98fab6bef..73111e08f259 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(string location = default(string)) } /// - /// 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 5f32659b21b5..3970436db87b 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(string location = default(string)) } /// - /// 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 af9b0310e5bc..aed6cb6c515d 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(string location = default(string)) } /// - /// 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 2f1ed670c469..797193619a8d 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(string location = default(string)) } /// - /// 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 b1ad99069c7c..dd01aa236677 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(string location = default(string)) } /// - /// 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 5dfe6e3e5290..8178b6f377ec 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(string location = default(string)) } /// - /// 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 19973f88ef89..d94f9c8ac778 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(string location = default(string)) } /// - /// 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 8036c76d9716..9f6ac7869584 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(string location = default(string)) } /// - /// 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 59c68c116bea..3f6ee41fd2e4 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(string location = default(string)) } /// - /// 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 e48732af63be..3eb3f2fe37f1 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(string location = default(string)) } /// - /// 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 f3148bff9a05..a4cbbc843f10 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(string location = default(string)) } /// - /// 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 40511ce7b447..3615d5892201 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(string productId, string description = default(string)) } /// - /// 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 db9785813c55..b80bf2fa6210 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(string name, string productId, string maxProductDis } /// - /// 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 9c7cb37c74d1..415f53a6e3df 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(string id = default(string), string type = default(strin 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 309028eb1266..2022f0d0a073 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(string genericValue = default(string)) } /// - /// 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 a43c4e5d5a21..5679632fe953 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(string id = default(string), string type = default(string), IDic } /// - /// 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(string id = default(string), string type = default(string), IDic 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 5ee2fa897a5e..4ae8f66017f6 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 07e06b7a22d1..be6803337118 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 09addd8369ff..e434110c5df7 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 f473ba11c0c7..ff20c9b53490 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(string id = default(string), string description = default(string)) } /// - /// 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 d789e963ce3e..1504a551144a 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(string id = default(string), string description = default(string) } /// - /// 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 9afcdd57e427..b815f2c67c76 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(string id = default(string), string description = default(stri } /// - /// 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 ef0ad5d1d7a7..0572ac24c447 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(string id = default(string), string description = default(string), } /// - /// 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 d8f3b45767b9..5d175e80804a 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(string id = default(string), string description = default(st } /// - /// 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 7bfdbd57709f..144bf308611f 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(string id = default(string), string description = default(string), } /// - /// 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 fc5c99d0eebb..26ff193a73af 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(string id = default(string), string description = default(stri } /// - /// 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 17ba85a1781b..fbaf9b7ecdae 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(string id = default(string), string description = default(stri } /// - /// 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 d2ea149e267a..fcb542d7165e 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(int? integer = default(int?), int? intProperty = default(int?), l 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 3757ada79d8f..5752acc51ef9 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(string productId = default(string), Product parentProduct = defau } /// - /// 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 1402f6a440cc..295f1137f2e9 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(int? xRateLimit = default(int?), DateTime? xExpiresAfter } /// - /// 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 c4823360b919..fab6f61cc6cc 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(long? id = default(long?), long? petId = default(long?), int? quant 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 5cf3bf826766..176ac348f759 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(string name, IList photoUrls, long? id = default(long?), Cate 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 9e770d05cc32..26aa7a291ee1 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(long? id = default(long?), string username = default(string), string 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/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 714247eeb796..11a3b1931422 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 c44445601ac6..62b198e1819b 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 641ac92c6ad0..ca1acfaa8094 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 c038b22f59d5..729b020e4dfb 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 6f61d486bb09..c00d7b13f037 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 5827dbdd2d3a..d2c8350978d6 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 342b622a71f0..557060fba52c 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 0ee0d72686ad..ba3b0d7727b9 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 b2155667f07a..9456f4830bfc 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 aa82d43c2905..372e9841d514 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 825d2f6436ab..c0f6f1b6635a 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 561fa05da6a7..ca7054de3292 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 91416004b938..bacca9fd614a 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 b82dd78f0914..240dd4e45fbd 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 7655fc4191aa..f403121e6dfe 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 0c25e2df3bb0..3d4d296e68aa 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 b95c21cdbef8..3f94c15e7a4b 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 017fd4372b9e..5c7103c37419 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 42631d194f11..1398c4f710fa 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 272319d4ccc3..bff700386045 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 d548e2c6afea..e034f91979bf 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 a105800deac0..ea95cb0f1494 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 251a4cda74c3..97aa1ecfa3dd 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 0a3174e49ea5..dec4f136004f 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 d178c7470903..4d4af238358b 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 7368af7d8495..623b79fd0fee 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 33627d834bda..109ebe5ad51e 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 2e0910c9bcde..4e3dc67a4f96 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 762429f51c29..fee4d2a41a3c 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 d4003cb22d3f..095659cbb3fa 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 a23f56d19161..cd93aa2dd66d 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 b58762d14bf1..b60d7cd0eb46 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 e11e2311eb41..083369e096dc 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 eea7127ecba3..d66fa596b1eb 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 6efdcd0d3ea4..dab3d2e5e77e 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 c776b4da879d..4fcaf367d51b 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 57650f851964..48ed388233da 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 b8c042a69efb..063fc0d9388e 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 7e7b4160e02e..b204e8c8c203 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 a0eeb22b2bed..270e110d8b34 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 ef30dd1f2d03..3e66e6a883e4 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 c2a6c4848934..086e8b5169ec 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(bool? nameAvailable = default(bool?), Reason? } /// - /// 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 d783381ad39d..5ada788894a5 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(string name, bool? useSubDomain = default(bool?)) } /// - /// 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 892510076c3e..f9b8d67d127d 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(string blob = default(string), string queue = default(string), } /// - /// 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 4bdc3976317e..fbf994880b94 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(string id = default(string), string name = default(string), stri } /// - /// 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 c9b194c878b0..1c23f83ac300 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(string location, IDictionary - /// 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 ce80a2192151..823fee32250f 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(string key1 = default(string), string key2 = default(s } /// - /// 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 e5af974c6934..8282d7cc49c8 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(ProvisioningState? provisioningState = default(P } /// - /// 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 bc0824cb9d80..0c2a98e26f0b 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 4808f3439b03..22ca07468f62 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(AccountType? accountType = defau } /// - /// 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(AccountType? accountType = defau 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 768e0fe7fbe4..3346aab6e2f1 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(IDictionary tags = default } /// - /// 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 338a900b30dd..4499cc048799 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 694332c58b21..9acc8b5e30d4 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(string value = default(string), string localizedValue = default } /// - /// 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 1cd198259f23..c1b489771166 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 b9fe5db7a8f3..326017553342 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 d81d3ec1045d..771307fb0945 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 54a4173ea263..7ac968267e69 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 b0c9e5ab6d14..23e3155fa2f5 100644 --- a/Samples/petstore/CSharp/Models/Order.cs +++ b/Samples/petstore/CSharp/Models/Order.cs @@ -49,8 +49,8 @@ public Order(long? id = default(long?), long? petId = default(long?), int? quant 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 c4e0286deb25..672c2aad6408 100644 --- a/Samples/petstore/CSharp/Models/Pet.cs +++ b/Samples/petstore/CSharp/Models/Pet.cs @@ -54,8 +54,8 @@ public Pet(string name, IList photoUrls, long? id = default(long?), Cate 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 d30dd443ac78..acdc7b182401 100644 --- a/Samples/petstore/CSharp/Models/User.cs +++ b/Samples/petstore/CSharp/Models/User.cs @@ -66,7 +66,7 @@ public User(long? id = default(long?), string username = default(string), string 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 9584898cad19..d1ebfee57593 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 From dcdca06144c0f40fcda7e3cbc7a983b17e805c57 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 12 May 2016 15:36:40 -0700 Subject: [PATCH 3/3] Added null check for property --- .../CSharp/CSharp/ClientModelExtensions.cs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/AutoRest/Generators/CSharp/CSharp/ClientModelExtensions.cs b/AutoRest/Generators/CSharp/CSharp/ClientModelExtensions.cs index ff5f11802278..028322670e58 100644 --- a/AutoRest/Generators/CSharp/CSharp/ClientModelExtensions.cs +++ b/AutoRest/Generators/CSharp/CSharp/ClientModelExtensions.cs @@ -136,9 +136,14 @@ private static bool ShouldValidate(this IType model) /// checks for special cases such as acronyms and article words. /// /// The given property documentation to format - /// A reference of the property documentation + /// 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(); @@ -149,13 +154,13 @@ public static string GetFormattedPropertyDocumentation(this Property property) string firstWord = property.Documentation.TrimStart().Split(' ').First(); if (firstWord.Length <= 1) { - documentation += char.ToLower(property.Documentation[0]) + property.Documentation.Substring(1); + documentation += char.ToLower(property.Documentation[0], CultureInfo.InvariantCulture) + property.Documentation.Substring(1); } else { - documentation += firstWord.ToUpper() == firstWord + documentation += firstWord.ToUpper(CultureInfo.InvariantCulture) == firstWord ? property.Documentation - : char.ToLower(property.Documentation[0]) + property.Documentation.Substring(1); + : char.ToLower(property.Documentation[0], CultureInfo.InvariantCulture) + property.Documentation.Substring(1); } return documentation.EscapeXmlComment();