openai-1.0.1 / src / OpenAI / V1 / VectorStores / Status.hs
-- | The `Status` typemodule OpenAI.V1.VectorStores.Status ( -- * Main types Status(..) ) whereimport OpenAI.Prelude-- | The status of the vector store filedata Status = In_Progress | Completed | Cancelled | Failed deriving stock (Generic, Show)instance FromJSON Status where parseJSON = genericParseJSON aesonOptionsinstance ToHttpApiData Status where toUrlPiece In_Progress = "in_progress" toUrlPiece Completed = "completed" toUrlPiece Cancelled = "cancelled" toUrlPiece Failed = "failed"