samples/client/petstore/csharp/httpClient/SwaggerClient/src/IO.Swagger/Api/PetApi.cs
/// <summary>
/// Updates a pet in the store with form data 
/// </summary>
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="petId">ID of pet that needs to be updated</param>
/// <param name="name">Updated name of the pet (optional)</param>
/// <param name="status">Updated status of the pet (optional)</param>
/// <returns>Task of void</returns>
Updates a pet in the store with form data
Updates a pet in the store with form data
public async System.Threading.Tasks.Task UpdatePetWithFormAsync (long? petId, string name = null, string status = null)
        {
             await UpdatePetWithFormAsyncWithHttpInfo(petId, name, status);
        }
public async System . Threading . Tasks . Task UpdatePetWithFormAsync ( long ? petId , string name = null , string status = null ) { await UpdatePetWithFormAsyncWithHttpInfo ( petId , name , status ) ; }
Updates a pet in the store with form data
Updates a pet in the store with form data
Task of void
Task of void
Thrown when fails to make API call
Thrown when fails to make API call
petId
long?
ID of pet that needs to be updated
ID of pet that needs to be updated
name
string
Updated name of the pet (optional)
Updated name of the pet ( optional )
status
string
Updated status of the pet (optional)
Updated status of the pet ( optional )