Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • User

Index

Constructors

constructor

  • new User(data?: any, token?: undefined | string): User
  • Parameters

    • Default value data: any = {}
    • Optional token: undefined | string

    Returns User

Properties

Optional avatarUrl

avatarUrl: undefined | string

creationDate

creationDate: Date

email

email: string

id

id: string

isStaff

isStaff: boolean = false

name

name: string

Private orgRoles

orgRoles: object

Type declaration

slug

slug: string = ""

tagline

tagline: string

token

token: string

username

username: string

Methods

canModifyDevice

  • canModifyDevice(orgSlug: string): boolean

canModifyStreamVariables

  • canModifyStreamVariables(orgSlug: string): boolean

canReadProperties

  • canReadProperties(orgSlug: string): boolean

getAvatar

  • getAvatar(): string

getFullName

  • getFullName(): string

getUsername

  • getUsername(): string

setOrgRoles

  • setOrgRoles(roles: object): void

toJson

  • toJson(): any

Static Unserialize

  • Unserialize(obj: object): object

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc