// Generated by @typespec/http-server-csharp
// <auto-generated />
#nullable enable
        
        using System;using System.Net;using System.Text.Json;using System.Text.Json.Serialization;using System.Threading.Tasks;using Microsoft.AspNetCore.Mvc;using TypeSpec.Helpers.JsonConverters;using TypeSpec.Helpers;
        
      namespace PetStore {

      ///<summary>
/// Pet store operations
///</summary>
public interface IPets {
      ///<summary>
/// List all pets
///</summary>
Task<PetListResult> ListAsync( int? skip, int? top);
///<summary>
/// Get a pet by ID
///</summary>
Task<Pet> ReadAsync( long id);
///<summary>
/// Create a new pet
///</summary>
Task<Pet> CreateAsync( Pet body);
///<summary>
/// Update an existing pet
///</summary>
Task<Pet> UpdateAsync( long id, Pet body);
///<summary>
/// Delete a pet
///</summary>
Task DeleteAsync( long id);

    }
   } 
