Skip to content

Commit

Permalink
Add expires_at parameter to Collaboration request params (#445)
Browse files Browse the repository at this point in the history
Fixes #416
  • Loading branch information
Matt Willer authored Jan 31, 2018
1 parent e76400f commit b2a7070
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Box.V2/Models/Request/BoxCollaborationRequest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Newtonsoft.Json;
using System;

namespace Box.V2.Models
{
Expand Down Expand Up @@ -39,6 +40,13 @@ public class BoxCollaborationRequest : BoxRequestEntity
/// </summary>
[JsonProperty(PropertyName = "can_view_path")]
public bool? CanViewPath { get; set; }

/// <summary>
/// When the collaboration should expire and be automatically removed. This value can only be updated if
/// the collaboration is already set to expire and the user has permission to update the expiration time.
/// </summary>
[JsonProperty(PropertyName = "expires_at")]
public DateTime? ExpiresAt { get; set; }
}

public static class BoxCollaborationRoles
Expand Down

0 comments on commit b2a7070

Please sign in to comment.