MistralClient.Models.FileUpload (mistralex_ai v0.1.0)

View Source

Represents a file upload response.

Summary

Functions

Create a file upload response from a map.

Types

t()

@type t() :: %MistralClient.Models.FileUpload{
  bytes: integer(),
  created_at: integer(),
  filename: String.t(),
  id: String.t(),
  object: String.t(),
  purpose: String.t()
}

Functions

from_map(data)

@spec from_map(map()) :: t()

Create a file upload response from a map.