-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support for modifiable retention policies & enable deleting retention policy assignment #856
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a few comments
...2.Test.Integration/Configuration/Commands/DisposableCommands/CreateRetentionPolicyCommand.cs
Show resolved
Hide resolved
Box.V2/Models/BoxRetentionPolicy.cs
Outdated
|
||
/// <summary> | ||
/// The type of retention policy. Value is one of modifiable or non-modifiable. | ||
/// </summary> | ||
[JsonProperty(PropertyName = FieldRetentionType)] | ||
public virtual string RetentionType { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that we can use enum there if we have only 2 possible values.
Box.V2.Test.Integration/BoxRetentionPolicyManagerIntegrationTest.cs
Outdated
Show resolved
Hide resolved
69eb9f7
to
afdecd8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Closes: SDK-2023