From e28efc5109d27c0fdbb3f3ba88484d801f738c53 Mon Sep 17 00:00:00 2001 From: adxsdknet Date: Fri, 24 May 2019 00:44:04 +0000 Subject: [PATCH] .NET SDK Resource Provider:'ContainerRegistry' REST Spec PR 'https://github.com/Azure/azure-rest-api-specs/pull/5854' REST Spec PR Author 'ankurkhemani' REST Spec PR Last commit --- .../Generated/Models/RetentionPolicy.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/SDKs/ContainerRegistry/Management.ContainerRegistry/Generated/Models/RetentionPolicy.cs b/src/SDKs/ContainerRegistry/Management.ContainerRegistry/Generated/Models/RetentionPolicy.cs index 5cfc1570affa8..c758137bfda08 100644 --- a/src/SDKs/ContainerRegistry/Management.ContainerRegistry/Generated/Models/RetentionPolicy.cs +++ b/src/SDKs/ContainerRegistry/Management.ContainerRegistry/Generated/Models/RetentionPolicy.cs @@ -34,8 +34,9 @@ public RetentionPolicy() /// The timestamp when the the policy was /// last updated. /// The value that indicates whether the policy is - /// enabled or not. - public RetentionPolicy(double? days = default(double?), System.DateTime? lastUpdatedTime = default(System.DateTime?), string status = default(string)) + /// enabled or not. Possible values include: 'enabled', + /// 'disabled' + public RetentionPolicy(int? days = default(int?), System.DateTime? lastUpdatedTime = default(System.DateTime?), string status = default(string)) { Days = days; LastUpdatedTime = lastUpdatedTime; @@ -53,7 +54,7 @@ public RetentionPolicy() /// expires. /// [JsonProperty(PropertyName = "days")] - public double? Days { get; set; } + public int? Days { get; set; } /// /// Gets the timestamp when the the policy was last updated. @@ -63,7 +64,7 @@ public RetentionPolicy() /// /// Gets or sets the value that indicates whether the policy is enabled - /// or not. + /// or not. Possible values include: 'enabled', 'disabled' /// [JsonProperty(PropertyName = "status")] public string Status { get; set; }