/// <summary> /// <para>Initializes a new instance of the <see cref="RemovePaperDocUser" /> /// class.</para> /// </summary> /// <param name="docId">The doc id</param> /// <param name="member">User which should be removed from the Paper doc. Specify only /// email or Dropbox account id.</param> public RemovePaperDocUser(string docId, global::Dropbox.Api.Sharing.MemberSelector member) : base(docId) { if (member == null) { throw new sys.ArgumentNullException("member"); } this.Member = member; }
/// <summary> /// <para>Initializes a new instance of the <see cref="AddMember" /> class.</para> /// </summary> /// <param name="member">User which should be added to the Paper doc. Specify only /// email address or Dropbox account ID.</param> /// <param name="permissionLevel">Permission for the user.</param> public AddMember(global::Dropbox.Api.Sharing.MemberSelector member, PaperDocPermissionLevel permissionLevel = null) { if (member == null) { throw new sys.ArgumentNullException("member"); } if (permissionLevel == null) { permissionLevel = global::Dropbox.Api.Paper.PaperDocPermissionLevel.Edit.Instance; } this.Member = member; this.PermissionLevel = permissionLevel; }
/// <summary> /// <para>Initializes a new instance of the <see cref="AddPaperDocUserMemberResult" /> /// class.</para> /// </summary> /// <param name="member">One of specified input members.</param> /// <param name="result">The outcome of the action on this member.</param> public AddPaperDocUserMemberResult(global::Dropbox.Api.Sharing.MemberSelector member, AddPaperDocUserResult result) { if (member == null) { throw new sys.ArgumentNullException("member"); } if (result == null) { throw new sys.ArgumentNullException("result"); } this.Member = member; this.Result = result; }