Table of Contents

Class UploadFileResponse

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Represents the response containing details about a file uploaded through the File API.

public class UploadFileResponse
Inheritance
UploadFileResponse
Inherited Members
Extension Methods

Constructors

UploadFileResponse()

Initializes a new instance of the UploadFileResponse class for JSON deserialization.

public UploadFileResponse()

UploadFileResponse(RemoteFile)

Initializes a new instance of the UploadFileResponse class with the specified file metadata.

public UploadFileResponse(RemoteFile file)

Parameters

file RemoteFile

Metadata for the created file.

Properties

File

Metadata for the created file.

public RemoteFile File { get; set; }

Property Value

RemoteFile

See Also