Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Workspaces" /> class.
 /// </summary>
 /// <param name="BillableAccountId">.</param>
 /// <param name="Created">The UTC DateTime when the workspace user authorization was created..</param>
 /// <param name="CreatedByInformation">.</param>
 /// <param name="LastModified">Utc date and time the comment was last updated (can only be done by creator.).</param>
 /// <param name="LastModifiedByInformation">.</param>
 /// <param name="Status">Item status. &lt;!- - TODO - -&gt;.</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 Workspaces(string BillableAccountId = null, string Created = null, WorkspaceUser CreatedByInformation = null, string LastModified = null, WorkspaceUser LastModifiedByInformation = null, string Status = null, string WorkspaceBaseUrl = null, string WorkspaceDescription = null, string WorkspaceId = null, string WorkspaceName = null, string WorkspaceUri = null)
 {
     this.BillableAccountId         = BillableAccountId;
     this.Created                   = Created;
     this.CreatedByInformation      = CreatedByInformation;
     this.LastModified              = LastModified;
     this.LastModifiedByInformation = LastModifiedByInformation;
     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="WorkspaceItems" /> class.
 /// </summary>
 /// <param name="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">.</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">Utc date and time the comment was last updated (can only be done by creator.).</param>
 /// <param name="LastModifiedById">Utc date and time the comment was last updated (can only be done by creator).</param>
 /// <param name="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 &#39;root&#39; 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 WorkspaceItems(WorkspaceUserAuthorization CallerAuthorization = null, string ContentType = null, string Created = null, string CreatedById = null, WorkspaceUser CreatedByInformation = null, string Extension = null, string FileSize = null, string FileUri = null, string Id = null, string IsPublic = null, string LastModified = null, string LastModifiedById = null, WorkspaceUser LastModifiedByInformation = null, string Name = null, string PageCount = null, string ParentFolderId = null, string ParentFolderUri = null, string Type = null, string Uri = null)
 {
     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;
 }
 /// <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">.</param>
 /// <param name="Modified">.</param>
 /// <param name="ModifiedById">.</param>
 /// <param name="WorkspaceUserId">.</param>
 /// <param name="WorkspaceUserInformation">.</param>
 public WorkspaceUserAuthorization(string CanDelete = null, string CanMove = null, string CanTransact = null, string CanView = null, string Created = null, string CreatedById = null, ErrorDetails ErrorDetails = null, string Modified = null, string ModifiedById = null, string WorkspaceUserId = null, WorkspaceUser WorkspaceUserInformation = null)
 {
     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;
 }