Skip to content

Commit

Permalink
.NET SDK Resource Provider:'ContainerRegistry'
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5854'
REST Spec PR Author 'ankurkhemani'
REST Spec PR Last commit
  • Loading branch information
adxsdknet committed May 24, 2019
1 parent 6211c6c commit e28efc5
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ public RetentionPolicy()
/// <param name="lastUpdatedTime">The timestamp when the the policy was
/// last updated.</param>
/// <param name="status">The value that indicates whether the policy is
/// enabled or not.</param>
public RetentionPolicy(double? days = default(double?), System.DateTime? lastUpdatedTime = default(System.DateTime?), string status = default(string))
/// enabled or not. Possible values include: 'enabled',
/// 'disabled'</param>
public RetentionPolicy(int? days = default(int?), System.DateTime? lastUpdatedTime = default(System.DateTime?), string status = default(string))
{
Days = days;
LastUpdatedTime = lastUpdatedTime;
Expand All @@ -53,7 +54,7 @@ public RetentionPolicy()
/// expires.
/// </summary>
[JsonProperty(PropertyName = "days")]
public double? Days { get; set; }
public int? Days { get; set; }

/// <summary>
/// Gets the timestamp when the the policy was last updated.
Expand All @@ -63,7 +64,7 @@ public RetentionPolicy()

/// <summary>
/// Gets or sets the value that indicates whether the policy is enabled
/// or not.
/// or not. Possible values include: 'enabled', 'disabled'
/// </summary>
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
Expand Down

0 comments on commit e28efc5

Please sign in to comment.