예제 #1
0
 /// <summary>
 /// Initializes a new instance of the SimpleRoleDto class.
 /// </summary>
 /// <param name="origin">Possible values include: 'Assigned',
 /// 'Inherited'</param>
 public SimpleRoleDto(string name = default(string), SimpleRoleDtoOrigin?origin = default(SimpleRoleDtoOrigin?), SimpleFolderDto inheritedFromFolder = default(SimpleFolderDto), int?id = default(int?))
 {
     Name   = name;
     Origin = origin;
     InheritedFromFolder = inheritedFromFolder;
     Id = id;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the FolderAssignmentsDto class.
 /// </summary>
 public FolderAssignmentsDto(SimpleFolderDto folder = default(SimpleFolderDto), IList <RoleUsersDto> roles = default(IList <RoleUsersDto>))
 {
     Folder = folder;
     Roles  = roles;
     CustomInit();
 }