Exemplo n.º 1
0
 public Item_FileFolder(string name           = null, string description = null, Parent parent = null,
                        SharedLink sharedLink = null, string[] tags      = null, BoxUser owner = null,
                        string syncState      = null)
 {
     m_name        = name;
     m_description = description;
     m_parent      = parent;
     m_sharedLink  = sharedLink;
     m_owned_by    = owned_by;
     m_tags        = tags;
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="accessibleBy">User who is invited to collaboration.
 /// Following parameters should be specified:
 /// type (user/group)
 /// id OR login (boxID or useremail)</param>
 /// <param name="item">The item object that is being shared.</param>
 /// <param name="role">Use BoxEnums.DecodeCollaboratorRole</param>
 public Collaboration(BoxUser accessibleBy, Item_FileFolder item, string role)
 {
     m_accessible_by = accessibleBy;
     m_item          = item;
     m_role          = role;
 }