Skip to content
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

Merged
merged 14 commits into from Sep 13, 2022

Conversation

congminh1254
Copy link
Member

Closes: SDK-2023

@congminh1254 congminh1254 marked this pull request as draft September 8, 2022 15:31
@congminh1254 congminh1254 marked this pull request as ready for review September 12, 2022 00:36
Copy link
Contributor

@mwwoda mwwoda left a 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

Comment on lines 91 to 96

/// <summary>
/// The type of retention policy. Value is one of modifiable or non-modifiable.
/// </summary>
[JsonProperty(PropertyName = FieldRetentionType)]
public virtual string RetentionType { get; set; }
Copy link
Contributor

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/Models/Request/BoxRetentionPolicyRequest.cs Outdated Show resolved Hide resolved
@congminh1254 congminh1254 force-pushed the sdk-2023-retention-policy-assignment branch from 69eb9f7 to afdecd8 Compare September 12, 2022 09:58
Copy link
Contributor

@mwwoda mwwoda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@congminh1254 congminh1254 merged commit 564904f into main Sep 13, 2022
@congminh1254 congminh1254 deleted the sdk-2023-retention-policy-assignment branch September 13, 2022 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants