Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the SimpleRoleDto class.
 /// </summary>
 /// <param name="origin">Possible values include: 'Assigned',
 /// 'Inherited'</param>
 public SimpleRoleDto(SimpleRoleDtoOrigin?origin = default(SimpleRoleDtoOrigin?), SimpleFolderDto inheritedFromFolder = default(SimpleFolderDto), string name = default(string), int?id = default(int?))
 {
     Origin = origin;
     InheritedFromFolder = inheritedFromFolder;
     Name = name;
     Id   = id;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <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();
 }