Пример #1
0
 /// <summary>
 /// Initializes a new instance of the ObjsUser class.
 /// </summary>
 public ObjsUser(string color, bool deleted, string id, bool isAdmin, bool isAppUser, bool isBot, bool isOwner, bool isPrimaryOwner, bool isRestricted, bool isUltraRestricted, string name, ObjsUserProfile profile, string realName, string teamId, string tz, string tzLabel, int tzOffset, int updated, bool?has2fa = default(bool?), string locale = default(string), string presence = default(string))
 {
     Color             = color;
     Deleted           = deleted;
     Has2fa            = has2fa;
     Id                = id;
     IsAdmin           = isAdmin;
     IsAppUser         = isAppUser;
     IsBot             = isBot;
     IsOwner           = isOwner;
     IsPrimaryOwner    = isPrimaryOwner;
     IsRestricted      = isRestricted;
     IsUltraRestricted = isUltraRestricted;
     Locale            = locale;
     Name              = name;
     Presence          = presence;
     Profile           = profile;
     RealName          = realName;
     TeamId            = teamId;
     Tz                = tz;
     TzLabel           = tzLabel;
     TzOffset          = tzOffset;
     Updated           = updated;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the SetOKResponse class.
 /// </summary>
 public SetOKResponse(ObjsUserProfile profile, string username)
 {
     Profile  = profile;
     Username = username;
     CustomInit();
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the GetOKResponseModel class.
 /// </summary>
 public GetOKResponseModel(ObjsUserProfile profile)
 {
     Profile = profile;
     CustomInit();
 }