/// <summary> /// Initializes a new instance of the <see cref="GroupPermissionActionItem" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="instanceId">instanceId.</param> /// <param name="type">type.</param> /// <param name="taskId">taskId.</param> /// <param name="actionType">actionType.</param> /// <param name="displayName">displayName.</param> /// <param name="identityName">identityName.</param> /// <param name="permissionLevel">permissionLevel.</param> /// <param name="permissionIds">permissionIds.</param> /// <param name="memberId">memberId.</param> /// <param name="titleName">titleName.</param> /// <param name="path">path.</param> /// <param name="sharePointGroup">sharePointGroup.</param> /// <param name="parentId">parentId.</param> /// <param name="idInSharepoint">idInSharepoint.</param> /// <param name="level">level.</param> /// <param name="levelDescription">levelDescription.</param> /// <param name="accountType">accountType.</param> /// <param name="accountTypeDescription">accountTypeDescription.</param> /// <param name="accessType">accessType.</param> public GroupPermissionActionItem(Guid id = default(Guid), Guid instanceId = default(Guid), RecertificationActionType type = default(RecertificationActionType), Guid?taskId = default(Guid?), PermissionActionType actionType = default(PermissionActionType), string displayName = default(string), string identityName = default(string), string permissionLevel = default(string), List <int> permissionIds = default(List <int>), int memberId = default(int), string titleName = default(string), string path = default(string), string sharePointGroup = default(string), string parentId = default(string), string idInSharepoint = default(string), int level = default(int), string levelDescription = default(string), PrincipalType accountType = default(PrincipalType), string accountTypeDescription = default(string), UserAccessType accessType = default(UserAccessType)) { this.Id = id; this.InstanceId = instanceId; this.Type = type; this.TaskId = taskId; this.ActionType = actionType; this.DisplayName = displayName; this.IdentityName = identityName; this.PermissionLevel = permissionLevel; this.PermissionIds = permissionIds; this.MemberId = memberId; this.TitleName = titleName; this.Path = path; this.SharePointGroup = sharePointGroup; this.ParentId = parentId; this.IdInSharepoint = idInSharepoint; this.Level = level; this.LevelDescription = levelDescription; this.AccountType = accountType; this.AccountTypeDescription = accountTypeDescription; this.AccessType = accessType; }
/// <summary> /// Initializes a new instance of the <see cref="PermissionChangedActionItem" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="name">name.</param> /// <param name="groupChanges">groupChanges.</param> /// <param name="permissionChanges">permissionChanges.</param> /// <param name="accountType">accountType.</param> /// <param name="actionType">actionType.</param> /// <param name="changedBy">changedBy.</param> /// <param name="objectTitle">objectTitle.</param> /// <param name="objectUrl">objectUrl.</param> /// <param name="objectType">objectType.</param> public PermissionChangedActionItem(string id = default(string), string name = default(string), string groupChanges = default(string), string permissionChanges = default(string), PrincipalType accountType = default(PrincipalType), PermissionActionType actionType = default(PermissionActionType), ApiUser changedBy = default(ApiUser), string objectTitle = default(string), string objectUrl = default(string), string objectType = default(string)) { this.Id = id; this.Name = name; this.GroupChanges = groupChanges; this.PermissionChanges = permissionChanges; this.AccountType = accountType; this.ActionType = actionType; this.ChangedBy = changedBy; this.ObjectTitle = objectTitle; this.ObjectUrl = objectUrl; this.ObjectType = objectType; }
/// <summary> /// Initializes a new instance of the <see cref="PermissionActionItem" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="idInSharepoint">idInSharepoint.</param> /// <param name="accountType">accountType.</param> /// <param name="displayName">displayName.</param> /// <param name="level">level.</param> /// <param name="levelDescription">levelDescription.</param> /// <param name="memberOf">memberOf.</param> /// <param name="path">path.</param> /// <param name="permissionLevel">permissionLevel.</param> /// <param name="sharePointGroup">sharePointGroup.</param> /// <param name="titleName">titleName.</param> /// <param name="userOrGroup">userOrGroup.</param> /// <param name="memberId">memberId.</param> /// <param name="parentId">parentId.</param> /// <param name="parentAccountType">parentAccountType.</param> /// <param name="actionType">actionType.</param> /// <param name="accessType">accessType.</param> /// <param name="isSiteAdministrator">isSiteAdministrator.</param> public PermissionActionItem(string id = default(string), string idInSharepoint = default(string), PrincipalType accountType = default(PrincipalType), string displayName = default(string), string level = default(string), string levelDescription = default(string), string memberOf = default(string), string path = default(string), string permissionLevel = default(string), string sharePointGroup = default(string), string titleName = default(string), string userOrGroup = default(string), int memberId = default(int), string parentId = default(string), int parentAccountType = default(int), PermissionActionType actionType = default(PermissionActionType), UserAccessType accessType = default(UserAccessType), bool isSiteAdministrator = default(bool)) { this.Id = id; this.IdInSharepoint = idInSharepoint; this.DisplayName = displayName; this.Level = level; this.LevelDescription = levelDescription; this.MemberOf = memberOf; this.Path = path; this.PermissionLevel = permissionLevel; this.SharePointGroup = sharePointGroup; this.TitleName = titleName; this.UserOrGroup = userOrGroup; this.ParentId = parentId; this.Id = id; this.IdInSharepoint = idInSharepoint; this.AccountType = accountType; this.DisplayName = displayName; this.Level = level; this.LevelDescription = levelDescription; this.MemberOf = memberOf; this.Path = path; this.PermissionLevel = permissionLevel; this.SharePointGroup = sharePointGroup; this.TitleName = titleName; this.UserOrGroup = userOrGroup; this.MemberId = memberId; this.ParentId = parentId; this.ParentAccountType = parentAccountType; this.ActionType = actionType; this.AccessType = accessType; this.IsSiteAdministrator = isSiteAdministrator; }