/// <summary> /// <para>Initializes a new instance of the <see cref="SharedContentCopyDetails" /> /// class.</para> /// </summary> /// <param name="sharedContentLink">Shared content link.</param> /// <param name="sharedContentAccessLevel">Shared content access level.</param> /// <param name="destinationPath">The path where the member saved the content.</param> /// <param name="sharedContentOwner">The shared content owner.</param> public SharedContentCopyDetails(string sharedContentLink, global::Dropbox.Api.Sharing.AccessLevel sharedContentAccessLevel, string destinationPath, UserLogInfo sharedContentOwner = null) { if (sharedContentLink == null) { throw new sys.ArgumentNullException("sharedContentLink"); } if (sharedContentAccessLevel == null) { throw new sys.ArgumentNullException("sharedContentAccessLevel"); } if (destinationPath == null) { throw new sys.ArgumentNullException("destinationPath"); } this.SharedContentLink = sharedContentLink; this.SharedContentAccessLevel = sharedContentAccessLevel; this.DestinationPath = destinationPath; this.SharedContentOwner = sharedContentOwner; }
/// <summary> /// <para>Initializes a new instance of the <see cref="SharedLinkShareDetails" /> /// class.</para> /// </summary> /// <param name="sharedLinkOwner">Shared link owner details. Might be missing due to /// historical data gap.</param> /// <param name="externalUsers">Users without a Dropbox account that were added as /// shared link audience.</param> public SharedLinkShareDetails(UserLogInfo sharedLinkOwner = null, col.IEnumerable <ExternalUserLogInfo> externalUsers = null) { var externalUsersList = enc.Util.ToList(externalUsers); this.SharedLinkOwner = sharedLinkOwner; this.ExternalUsers = externalUsersList; }
/// <summary> /// <para>Initializes a new instance of the <see cref="SharedContentViewDetails" /> /// class.</para> /// </summary> /// <param name="sharedContentLink">Shared content link.</param> /// <param name="sharedContentAccessLevel">Shared content access level.</param> /// <param name="sharedContentOwner">The shared content owner.</param> public SharedContentViewDetails(string sharedContentLink, global::Dropbox.Api.Sharing.AccessLevel sharedContentAccessLevel, UserLogInfo sharedContentOwner = null) { if (sharedContentLink == null) { throw new sys.ArgumentNullException("sharedContentLink"); } if (sharedContentAccessLevel == null) { throw new sys.ArgumentNullException("sharedContentAccessLevel"); } this.SharedContentLink = sharedContentLink; this.SharedContentAccessLevel = sharedContentAccessLevel; this.SharedContentOwner = sharedContentOwner; }
/// <summary> /// <para>Initializes a new instance of the <see cref="SharedLinkCopyDetails" /> /// class.</para> /// </summary> /// <param name="sharedLinkOwner">Shared link owner details. Might be missing due to /// historical data gap.</param> public SharedLinkCopyDetails(UserLogInfo sharedLinkOwner = null) { this.SharedLinkOwner = sharedLinkOwner; }
/// <summary> /// <para>Initializes a new instance of the <see cref="Admin" /> class.</para> /// </summary> /// <param name="value">The value</param> public Admin(UserLogInfo value) { this.Value = value; }
/// <summary> /// <para>Initializes a new instance of the <see cref="User" /> class.</para> /// </summary> /// <param name="value">The value</param> public User(UserLogInfo value) { this.Value = value; }
/// <summary> /// <para>Initializes a new instance of the <see cref="ShmodelDisableDownloadsDetails" /// /> class.</para> /// </summary> /// <param name="sharedLinkOwner">Shared link owner details. Might be missing due to /// historical data gap.</param> public ShmodelDisableDownloadsDetails(UserLogInfo sharedLinkOwner = null) { this.SharedLinkOwner = sharedLinkOwner; }
/// <summary> /// <para>Initializes a new instance of the <see cref="SharedLinkDisableDetails" /> /// class.</para> /// </summary> /// <param name="sharedLinkOwner">Shared link owner details. Might be missing due to /// historical data gap.</param> public SharedLinkDisableDetails(UserLogInfo sharedLinkOwner = null) { this.SharedLinkOwner = sharedLinkOwner; }
/// <summary> /// <para>Initializes a new instance of the <see cref="SharedLinkDownloadDetails" /> /// class.</para> /// </summary> /// <param name="sharedLinkOwner">Shared link owner details. Might be missing due to /// historical data gap.</param> public SharedLinkDownloadDetails(UserLogInfo sharedLinkOwner = null) { this.SharedLinkOwner = sharedLinkOwner; }