Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Optional allowanceResetAt

allowanceResetAt?: Date

Readonly contextType

contextType: string = ""

name

name: string

options

options: ResourceOptions = {}

Optional stepsTotal

stepsTotal?: number

Optional stepsUsed

stepsUsed?: number

Static Readonly childTypes

childTypes: readonly string[] = ...

Static Readonly resourceType

resourceType: string = "account"

Static Optional Readonly resourceTypeRun

resourceTypeRun?: string

Methods

delete

  • delete(): Promise<void>

getContextID

  • getContextID(): undefined | number

getContextType

  • getContextType(): string

getResourceID

  • getResourceID(): undefined | number

getSuites

  • getSuites(): Promise<readonly Suite[]>

insertSuite

  • insertSuite(suite: Suite, index?: number): Promise<void>

save

  • save(): Promise<void>

setContextID

  • setContextID(id: undefined | number): void

setOptions

  • setOptions(options: ResourceOptions, override?: boolean): void
  • Set options from the passed options object

    Parameters

    • options: ResourceOptions

      the object to set options from

    • Optional override: boolean

      whether to override the options object

    Returns void

setResourceID

  • setResourceID(id: undefined | number): void

toJSON

  • toJSON(): Promise<Record<string, any>>

toString

  • toString(): Promise<string>

Static fromID

  • fromID(id: number): Promise<Account>

Static fromJSON

  • fromJSON(obj: Record<string, any>, copy?: boolean): Account

Static getAccounts

Generated using TypeDoc