UploadFileInformation Class

Represents information about a file to be uploaded.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public class UploadFileInformation
Inheritance
Object    UploadFileInformation

Constructors

UploadFileInformationInitializes a new instance of the UploadFileInformation class

Properties

DisplayName Specifies the human-readable name to be associated with the file during the upload process. This name is optional and may be subject to validation or formatting requirements.
Name Represents the name of the file. This is used to uniquely identify the file within the context of the request or application.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also