/// <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="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; }