Skip to content

Commit

Permalink
.NET SDK Resource Provider:'Billing'
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#6054'
REST Spec PR Author 'asarkar84'
REST Spec PR Last commit
  • Loading branch information
adxsdknet committed May 24, 2019
1 parent 76f779e commit f880b77
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public LineOfCredit()
/// <param name="reason">The reason for the line of credit status when
/// not approved.</param>
/// <param name="remainingBalance">Remaining balance.</param>
/// <param name="status">The line of credit status.</param>
/// <param name="status">The line of credit status. Possible values
/// include: 'Approved', 'Rejected'</param>
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)
{
Expand Down Expand Up @@ -74,10 +75,11 @@ public LineOfCredit()
public Amount RemainingBalance { get; private set; }

/// <summary>
/// Gets the line of credit status.
/// Gets or sets the line of credit status. Possible values include:
/// 'Approved', 'Rejected'
/// </summary>
[JsonProperty(PropertyName = "properties.status")]
public string Status { get; private set; }
public string Status { get; set; }

}
}
22 changes: 22 additions & 0 deletions src/SDKs/Billing/Management.Billing/Generated/Models/Status.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// <auto-generated>
// 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.
// </auto-generated>

namespace Microsoft.Azure.Management.Billing.Models
{

/// <summary>
/// Defines values for Status.
/// </summary>
public static class Status
{
public const string Approved = "Approved";
public const string Rejected = "Rejected";
}
}

0 comments on commit f880b77

Please sign in to comment.