Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Account

Account class that is used for access control.

Hierarchy

  • any
    • Account

Index

Constructors

constructor

  • new Account(V: VasatConnection, args?: any): Account
  • Parameters

    • V: VasatConnection
    • Optional args: any

    Returns Account

Properties

accountGroups

accountGroups: ToManyList<AccessGroup>

canWrite

canWrite: boolean

demos

demos: any[]

parent

parent: Account

plan

tou

tou: any

uid

uid: string

Methods

enableDisableApi

  • enableDisableApi(apiType: string, enable: boolean): Observable<Account>
  • Enable/Disable API type

    Parameters

    • apiType: string

      The API type you want to manipulate

    • enable: boolean

      True = Enable, False = Disable

    Returns Observable<Account>

hasApiEnabled

  • hasApiEnabled(apiType: string): boolean
  • Checks if the account has the passed API type enabled.

    Parameters

    • apiType: string

    Returns boolean

set

  • set(a: any): any
  • Updates values of this object with parameter object values.

    Parameters

    • a: any

      The object that you want to copy values of.

    Returns any

toJSON

  • toJSON(): any
  • Parse this object to JSON format.

    Returns any

Generated using TypeDoc