Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Structure<T>

The base class for Structures

Type parameters

  • T

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly client

client: T

Readonly Abstract id

id: string

The id to be defined in Structures

Accessors

createdAt

  • get createdAt(): Date

createdTimestamp

  • get createdTimestamp(): number

Methods

Protected Abstract _patch

  • _patch(data: unknown): this

clone

  • clone(): this

toJSON

  • toJSON(): Record<string, any>

valueOf

  • valueOf(): string

Generated using TypeDoc