Table of Contents

Class ApiFile

Namespace
Glitch9.AIDevKit
[Serializable]
public class ApiFile : IApiFileData
Inheritance
object
ApiFile
Implements

Properties

Api

public Api Api { get; }

Property Value

Api

ByteSize

public int ByteSize { get; }

Property Value

int

CreatedAt

public UnixTime CreatedAt { get; }

Property Value

UnixTime

ExpiresAt

public UnixTime ExpiresAt { get; }

Property Value

UnixTime

Id

Unique identifier for this data.

public string Id { get; }

Property Value

string

Metadata

public SerializableMetadata Metadata { get; }

Property Value

SerializableMetadata

MimeType

public MIMEType MimeType { get; }

Property Value

MIMEType

Name

Name of this data.

public string Name { get; }

Property Value

string

Uri

public string Uri { get; }

Property Value

string

Methods

BuildMetadata()

public SerializableMetadata BuildMetadata()

Returns

SerializableMetadata

Equals(ApiFile)

public bool Equals(ApiFile other)

Parameters

other ApiFile

Returns

bool

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.