/// <summary> /// Initializes a new instance of the <see cref="Workspace" /> class. /// </summary> /// <param name="BillableAccountId">BillableAccountId.</param> /// <param name="CallerInformation">CallerInformation.</param> /// <param name="Created">Created.</param> /// <param name="CreatedByInformation">CreatedByInformation.</param> /// <param name="LastModified">Utc date and time the comment was last updated (can only be done by creator.).</param> /// <param name="LastModifiedByInformation">LastModifiedByInformation.</param> /// <param name="Settings">Settings.</param> /// <param name="Status">Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later..</param> /// <param name="WorkspaceBaseUrl">The relative URL that may be used to access the workspace..</param> /// <param name="WorkspaceDescription">Text describing the purpose of the workspace..</param> /// <param name="WorkspaceId">The id of the workspace, always populated..</param> /// <param name="WorkspaceName">The name of the workspace..</param> /// <param name="WorkspaceUri">The relative URI that may be used to access the workspace..</param> public Workspace(string BillableAccountId = default(string), WorkspaceUser CallerInformation = default(WorkspaceUser), string Created = default(string), WorkspaceUser CreatedByInformation = default(WorkspaceUser), string LastModified = default(string), WorkspaceUser LastModifiedByInformation = default(WorkspaceUser), WorkspaceSettings Settings = default(WorkspaceSettings), string Status = default(string), string WorkspaceBaseUrl = default(string), string WorkspaceDescription = default(string), string WorkspaceId = default(string), string WorkspaceName = default(string), string WorkspaceUri = default(string)) { this.BillableAccountId = BillableAccountId; this.CallerInformation = CallerInformation; this.Created = Created; this.CreatedByInformation = CreatedByInformation; this.LastModified = LastModified; this.LastModifiedByInformation = LastModifiedByInformation; this.Settings = Settings; this.Status = Status; this.WorkspaceBaseUrl = WorkspaceBaseUrl; this.WorkspaceDescription = WorkspaceDescription; this.WorkspaceId = WorkspaceId; this.WorkspaceName = WorkspaceName; this.WorkspaceUri = WorkspaceUri; }
/// <summary> /// Initializes a new instance of the <see cref="WorkspaceItem" /> class. /// </summary> /// <param name="CallerAuthorization">CallerAuthorization.</param> /// <param name="ContentType">ContentType.</param> /// <param name="Created">The UTC DateTime when the workspace item was created..</param> /// <param name="CreatedById">CreatedById.</param> /// <param name="CreatedByInformation">CreatedByInformation.</param> /// <param name="Extension">Extension.</param> /// <param name="FileSize">FileSize.</param> /// <param name="FileUri">FileUri.</param> /// <param name="Id">Id.</param> /// <param name="IsPublic"> If true, this supersedes need for bit mask permission with workspaceUserAuthorization.</param> /// <param name="LastModified">LastModified.</param> /// <param name="LastModifiedById">Utc date and time the comment was last updated (can only be done by creator).</param> /// <param name="LastModifiedByInformation">LastModifiedByInformation.</param> /// <param name="Name">A simple string description of the item, such as a file name or a folder name..</param> /// <param name="PageCount">PageCount.</param> /// <param name="ParentFolderId">The ID of the parent folder. This is the GUID of the parent folder, or the special value 'root' for the root folder..</param> /// <param name="ParentFolderUri">ParentFolderUri.</param> /// <param name="Sha256">Sha256.</param> /// <param name="ThumbHeight">ThumbHeight.</param> /// <param name="Thumbnail">Thumbnail.</param> /// <param name="ThumbWidth">ThumbWidth.</param> /// <param name="Type">The type of the workspace item. Valid values are file, folder..</param> /// <param name="Uri">Uri.</param> /// <param name="UserAuthorization">UserAuthorization.</param> public WorkspaceItem(WorkspaceUserAuthorization CallerAuthorization = default(WorkspaceUserAuthorization), string ContentType = default(string), string Created = default(string), string CreatedById = default(string), WorkspaceUser CreatedByInformation = default(WorkspaceUser), string Extension = default(string), string FileSize = default(string), string FileUri = default(string), string Id = default(string), string IsPublic = default(string), string LastModified = default(string), string LastModifiedById = default(string), WorkspaceUser LastModifiedByInformation = default(WorkspaceUser), string Name = default(string), string PageCount = default(string), string ParentFolderId = default(string), string ParentFolderUri = default(string), string Sha256 = default(string), string ThumbHeight = default(string), Page Thumbnail = default(Page), string ThumbWidth = default(string), string Type = default(string), string Uri = default(string), WorkspaceUserAuthorization UserAuthorization = default(WorkspaceUserAuthorization)) { this.CallerAuthorization = CallerAuthorization; this.ContentType = ContentType; this.Created = Created; this.CreatedById = CreatedById; this.CreatedByInformation = CreatedByInformation; this.Extension = Extension; this.FileSize = FileSize; this.FileUri = FileUri; this.Id = Id; this.IsPublic = IsPublic; this.LastModified = LastModified; this.LastModifiedById = LastModifiedById; this.LastModifiedByInformation = LastModifiedByInformation; this.Name = Name; this.PageCount = PageCount; this.ParentFolderId = ParentFolderId; this.ParentFolderUri = ParentFolderUri; this.Sha256 = Sha256; this.ThumbHeight = ThumbHeight; this.Thumbnail = Thumbnail; this.ThumbWidth = ThumbWidth; this.Type = Type; this.Uri = Uri; this.UserAuthorization = UserAuthorization; }
/// <summary> /// Initializes a new instance of the <see cref="WorkspaceUserAuthorization" /> class. /// </summary> /// <param name="CanDelete">.</param> /// <param name="CanMove">.</param> /// <param name="CanTransact">.</param> /// <param name="CanView">.</param> /// <param name="Created">The UTC DateTime when the workspace user authorization was created..</param> /// <param name="CreatedById">.</param> /// <param name="ErrorDetails">ErrorDetails.</param> /// <param name="Modified">.</param> /// <param name="ModifiedById">.</param> /// <param name="WorkspaceUserId">.</param> /// <param name="WorkspaceUserInformation">WorkspaceUserInformation.</param> public WorkspaceUserAuthorization(string CanDelete = default(string), string CanMove = default(string), string CanTransact = default(string), string CanView = default(string), string Created = default(string), string CreatedById = default(string), ErrorDetails ErrorDetails = default(ErrorDetails), string Modified = default(string), string ModifiedById = default(string), string WorkspaceUserId = default(string), WorkspaceUser WorkspaceUserInformation = default(WorkspaceUser)) { this.CanDelete = CanDelete; this.CanMove = CanMove; this.CanTransact = CanTransact; this.CanView = CanView; this.Created = Created; this.CreatedById = CreatedById; this.ErrorDetails = ErrorDetails; this.Modified = Modified; this.ModifiedById = ModifiedById; this.WorkspaceUserId = WorkspaceUserId; this.WorkspaceUserInformation = WorkspaceUserInformation; }
/// <summary> /// Initializes a new instance of the <see cref="WorkspaceItem" /> class. /// </summary> /// <param name="CallerAuthorization">CallerAuthorization.</param> /// <param name="ContentType">.</param> /// <param name="Created">The UTC DateTime when the workspace item was created..</param> /// <param name="CreatedById">.</param> /// <param name="CreatedByInformation">CreatedByInformation.</param> /// <param name="Extension">.</param> /// <param name="FileSize">.</param> /// <param name="FileUri">.</param> /// <param name="Id">.</param> /// <param name="IsPublic"> If true, this supersedes need for bit mask permission with workspaceUserAuthorization.</param> /// <param name="LastModified">.</param> /// <param name="LastModifiedById">Utc date and time the comment was last updated (can only be done by creator).</param> /// <param name="LastModifiedByInformation">LastModifiedByInformation.</param> /// <param name="Name">A simple string description of the item, such as a file name or a folder name..</param> /// <param name="PageCount">.</param> /// <param name="ParentFolderId">The ID of the parent folder. This is the GUID of the parent folder, or the special value 'root' for the root folder..</param> /// <param name="ParentFolderUri">.</param> /// <param name="Type">The type of the workspace item. Valid values are file, folder..</param> /// <param name="Uri">.</param> public WorkspaceItem(WorkspaceUserAuthorization CallerAuthorization = default(WorkspaceUserAuthorization), string ContentType = default(string), string Created = default(string), string CreatedById = default(string), WorkspaceUser CreatedByInformation = default(WorkspaceUser), string Extension = default(string), string FileSize = default(string), string FileUri = default(string), string Id = default(string), string IsPublic = default(string), string LastModified = default(string), string LastModifiedById = default(string), WorkspaceUser LastModifiedByInformation = default(WorkspaceUser), string Name = default(string), string PageCount = default(string), string ParentFolderId = default(string), string ParentFolderUri = default(string), string Type = default(string), string Uri = default(string)) { this.CallerAuthorization = CallerAuthorization; this.ContentType = ContentType; this.Created = Created; this.CreatedById = CreatedById; this.CreatedByInformation = CreatedByInformation; this.Extension = Extension; this.FileSize = FileSize; this.FileUri = FileUri; this.Id = Id; this.IsPublic = IsPublic; this.LastModified = LastModified; this.LastModifiedById = LastModifiedById; this.LastModifiedByInformation = LastModifiedByInformation; this.Name = Name; this.PageCount = PageCount; this.ParentFolderId = ParentFolderId; this.ParentFolderUri = ParentFolderUri; this.Type = Type; this.Uri = Uri; }