/// <summary>
 /// Initializes a new instance of the <see cref="GroupDto" /> class.
 /// </summary>
 /// <param name="key">key.</param>
 /// <param name="name">name.</param>
 /// <param name="href">href.</param>
 /// <param name="description">description.</param>
 /// <param name="parentGroups">parentGroups.</param>
 /// <param name="childGroups">childGroups.</param>
 /// <param name="users">users.</param>
 /// <param name="roles">roles.</param>
 /// <param name="properties">properties.</param>
 public GroupDto(string key = default(string), string name = default(string), string href = default(string), string description = default(string), GroupsDto parentGroups = default(GroupsDto), GroupsDto childGroups = default(GroupsDto), UsersDto users = default(UsersDto), RolesDto roles = default(RolesDto), PropertiesDto properties = default(PropertiesDto))
 {
     this.Key          = key;
     this.Name         = name;
     this.Href         = href;
     this.Description  = description;
     this.ParentGroups = parentGroups;
     this.ChildGroups  = childGroups;
     this.Users        = users;
     this.Roles        = roles;
     this.Properties   = properties;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserDto" /> class.
 /// </summary>
 /// <param name="username">username.</param>
 /// <param name="name">name.</param>
 /// <param name="id">id.</param>
 /// <param name="email">email.</param>
 /// <param name="lastLogin">lastLogin.</param>
 /// <param name="password">password.</param>
 /// <param name="hasPassword">hasPassword.</param>
 /// <param name="realm">realm.</param>
 /// <param name="href">href.</param>
 /// <param name="properties">properties.</param>
 /// <param name="roles">roles.</param>
 /// <param name="groups">groups.</param>
 /// <param name="locator">locator.</param>
 public UserDto(string username = default(string), string name = default(string), long?id = default(long?), string email = default(string), string lastLogin = default(string), string password = default(string), bool?hasPassword = default(bool?), string realm = default(string), string href = default(string), PropertiesDto properties = default(PropertiesDto), RolesDto roles = default(RolesDto), GroupsDto groups = default(GroupsDto), string locator = default(string))
 {
     this.Username    = username;
     this.Name        = name;
     this.Id          = id;
     this.Email       = email;
     this.LastLogin   = lastLogin;
     this.Password    = password;
     this.HasPassword = hasPassword;
     this.Realm       = realm;
     this.Href        = href;
     this.Properties  = properties;
     this.Roles       = roles;
     this.Groups      = groups;
     this.Locator     = locator;
 }