/// <summary>
 /// Logs user into the system
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='username'>
 /// The user name for login
 /// </param>
 /// <param name='password'>
 /// The password for login in clear text
 /// </param>
 public static string LoginUser(this ISwaggerPetstoreV2 operations, string username, string password)
 {
     return(operations.LoginUserAsync(username, password).GetAwaiter().GetResult());
 }