Class ApiFile
Inheritance
object
ApiFile
Assembly: .dll
Syntax
[Serializable]
public class ApiFile : IApiFile, IData
Properties
Api
Declaration
Property Value
ByteSize
Declaration
public int ByteSize { get; }
Property Value
CreatedAt
Declaration
public UnixTime CreatedAt { get; }
Property Value
Type |
Description |
UnixTime |
|
ExpiresAt
Declaration
public UnixTime ExpiresAt { get; }
Property Value
Type |
Description |
UnixTime |
|
Id
Declaration
public string Id { get; }
Property Value
Declaration
public Metadata Metadata { get; }
Property Value
Type |
Description |
Metadata |
|
MimeType
Declaration
public MIMEType MimeType { get; }
Property Value
Type |
Description |
MIMEType |
|
Name
Declaration
public string Name { get; }
Property Value
Uri
Declaration
public string Uri { get; }
Property Value
Methods
Declaration
public Metadata BuildMetadata()
Returns
Type |
Description |
Metadata |
|
Equals(ApiFile)
Declaration
public bool Equals(ApiFile other)
Parameters
Type |
Name |
Description |
ApiFile |
other |
|
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current object.
|
Returns
Type |
Description |
bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
object.Equals(object)
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A hash code for the current object.
|
Overrides
object.GetHashCode()
Implements
IData