/// <summary>
 /// Updates a pet in the store with form data
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='petId'>
 /// Id of pet that needs to be updated
 /// </param>
 /// <param name='fileContent'>
 /// File to upload.
 /// </param>
 /// <param name='fileName'>
 /// Updated name of the pet
 /// </param>
 /// <param name='status'>
 /// Updated status of the pet
 /// </param>
 public static void UpdatePetWithForm(this ISwaggerPetstoreV2 operations, long petId, Stream fileContent, string fileName = default(string), string status = default(string))
 {
     operations.UpdatePetWithFormAsync(petId, fileContent, fileName, status).GetAwaiter().GetResult();
 }