samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Api/AnimalApi.cs
/// <summary>
/// Find animal by ID Returns a single animal
/// </summary>
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="animalId">ID of pet to return</param>
/// <returns>Task of Animal</returns>
Find animal by ID Returns a single animal
Find animal by ID Returns a single animal
public async System.Threading.Tasks.Task<Animal> GetAnimalByIdAsync (long? animalId)
        {
             ApiResponse<Animal> localVarResponse = await GetAnimalByIdAsyncWithHttpInfo(animalId);
             return localVarResponse.Data;
        }
public async System . Threading . Tasks . Task < Animal > GetAnimalByIdAsync ( long ? animalId ) { ApiResponse < Animal > localVarResponse = await GetAnimalByIdAsyncWithHttpInfo ( animalId ) ; return localVarResponse . Data ; }
Find animal by ID Returns a single animal
Find animal by ID Returns a single animal
Task of Animal
Task of Animal
Thrown when fails to make API call
Thrown when fails to make API call
animalId
long?
ID of pet to return
ID of pet to return