XaiFileMetadata
Namespace: Vercel.AI.Xai
public sealed class XaiFileMetadataMetadata stored under providerMetadata.xai. A field is null when the response did not return it.
Inheritance: object
Constructors
Section titled “Constructors”XaiFileMetadata(string?, string?, long?, long?, string?, long?)
Section titled “XaiFileMetadata(string?, string?, long?, long?, string?, long?)”public XaiFileMetadata(string? fileName, string? purpose, long? bytes, long? createdAt, string? status, long? expiresAt)Creates metadata from the fields the response returned.
Parameters
| Name | Type | Description |
|---|---|---|
fileName |
string | |
purpose |
string | |
bytes |
long? | |
createdAt |
long? | |
status |
string | |
expiresAt |
long? |
Properties
Section titled “Properties”public long? Bytes { get; }bytes from the response.
Value: long?
CreatedAt
Section titled “CreatedAt”public long? CreatedAt { get; }created_at from the response, in unix seconds.
Value: long?
ExpiresAt
Section titled “ExpiresAt”public long? ExpiresAt { get; }expires_at from the response, in unix seconds.
Value: long?
FileName
Section titled “FileName”public string? FileName { get; }filename from the response.
Value: string
Purpose
Section titled “Purpose”public string? Purpose { get; }purpose from the response.
Value: string
Status
Section titled “Status”public string? Status { get; }status from the response.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product