From f880b770a511e8439ac9ae9e09feca58b51070f7 Mon Sep 17 00:00:00 2001 From: adxsdknet Date: Fri, 24 May 2019 20:42:27 +0000 Subject: [PATCH] .NET SDK Resource Provider:'Billing' REST Spec PR 'https://github.com/Azure/azure-rest-api-specs/pull/6054' REST Spec PR Author 'asarkar84' REST Spec PR Last commit --- .../Generated/Models/LineOfCredit.cs | 8 ++++--- .../Generated/Models/Status.cs | 22 +++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 src/SDKs/Billing/Management.Billing/Generated/Models/Status.cs diff --git a/src/SDKs/Billing/Management.Billing/Generated/Models/LineOfCredit.cs b/src/SDKs/Billing/Management.Billing/Generated/Models/LineOfCredit.cs index 63410fcf6cb0d..41a65c3dd9547 100644 --- a/src/SDKs/Billing/Management.Billing/Generated/Models/LineOfCredit.cs +++ b/src/SDKs/Billing/Management.Billing/Generated/Models/LineOfCredit.cs @@ -39,7 +39,8 @@ public LineOfCredit() /// The reason for the line of credit status when /// not approved. /// Remaining balance. - /// The line of credit status. + /// The line of credit status. Possible values + /// include: 'Approved', 'Rejected' public LineOfCredit(string id = default(string), string name = default(string), string type = default(string), Amount creditLimit = default(Amount), string reason = default(string), Amount remainingBalance = default(Amount), string status = default(string)) : base(id, name, type) { @@ -74,10 +75,11 @@ public LineOfCredit() public Amount RemainingBalance { get; private set; } /// - /// Gets the line of credit status. + /// Gets or sets the line of credit status. Possible values include: + /// 'Approved', 'Rejected' /// [JsonProperty(PropertyName = "properties.status")] - public string Status { get; private set; } + public string Status { get; set; } } } diff --git a/src/SDKs/Billing/Management.Billing/Generated/Models/Status.cs b/src/SDKs/Billing/Management.Billing/Generated/Models/Status.cs new file mode 100644 index 0000000000000..c0910b8037339 --- /dev/null +++ b/src/SDKs/Billing/Management.Billing/Generated/Models/Status.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Billing.Models +{ + + /// + /// Defines values for Status. + /// + public static class Status + { + public const string Approved = "Approved"; + public const string Rejected = "Rejected"; + } +}