/// <summary> /// <para>Initializes a new instance of the <see cref="TeamFolderRenameDetails" /> /// class.</para> /// </summary> /// <param name="relocateActionDetails">Specifies the source and destination indices in /// the assets list.</param> public TeamFolderRenameDetails(RelocateAssetReferencesLogInfo relocateActionDetails) { if (relocateActionDetails == null) { throw new sys.ArgumentNullException("relocateActionDetails"); } this.RelocateActionDetails = relocateActionDetails; }
/// <summary> /// <para>Initializes a new instance of the <see cref="SharedContentCopyDetails" /> /// class.</para> /// </summary> /// <param name="sharedContentLink">Shared content link.</param> /// <param name="targetAssetIndex">Target asset position in the Assets list.</param> /// <param name="relocateActionDetails">Specifies the source and destination indices in /// the assets list.</param> /// <param name="sharingPermission">Sharing permission. Might be missing due to /// historical data gap.</param> public SharedContentCopyDetails(string sharedContentLink, ulong targetAssetIndex, RelocateAssetReferencesLogInfo relocateActionDetails, string sharingPermission = null) { if (sharedContentLink == null) { throw new sys.ArgumentNullException("sharedContentLink"); } if (relocateActionDetails == null) { throw new sys.ArgumentNullException("relocateActionDetails"); } this.SharedContentLink = sharedContentLink; this.TargetAssetIndex = targetAssetIndex; this.RelocateActionDetails = relocateActionDetails; this.SharingPermission = sharingPermission; }