Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConfigResource

A class representing resources that have configuration

Hierarchy

  • ConfigResource

Index

Constructors

constructor

  • Returns ConfigResource

  • Parameters

    Returns ConfigResource

Methods

getName

  • getName(): string
  • Set the resource name

    Returns string

getType

  • getType(): any
  • Set the resource type

    Returns any

isDefault

  • isDefault(): boolean
  • Set if this is the default resource of a resource type. Resource name is empty for the default resource.

    Returns boolean

setDefault

  • Set if this is the default resource of a resource type. Resource name is empty for the default resource.

    Parameters

    • __default: boolean

    Returns ConfigResource

setName

  • Set the resource name

    Parameters

    • name: string

    Returns ConfigResource

setType

  • Set the resource type

    Parameters

    • type: any

    Returns ConfigResource

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc