Class Attachment<P, Type>
Constructors
constructor
- new Attachment<P, Type>(options): Attachment<P, Type>
Type Parameters
P = object
Type extends string = string
Properties
Protected
$filled
$filled: boolean
Accessors
[toStringTag]
- get [toStringTag](): string
Returns string
accessKey
- get accessKey(): undefined | string
Returns undefined | string
canBeAttached
- get canBeAttached(): boolean
Returns boolean
id
- get id(): number
Returns number
isFilled
- get isFilled(): boolean
Returns boolean
ownerId
- get ownerId(): number
Returns number
Methods
[kSerializeData]
- [kSerializeData](): object
Returns object
equals
- equals(attachment): boolean
Returns boolean
toJSON
- toJSON(): object
Returns object
toString
- toString(): string
Returns string
Constructor