@acceleratxr/core_sdk / Organization
Class: Organization#
Describes a collection of users that all have the same role. Roles are used to grant permissions.
REQUIRES: Account Services
author Jean-Philippe Steinmetz info@acceleratxr.com
Hierarchy#
-
↳ Organization
Index#
Constructors#
Properties#
Accessors#
Constructors#
constructor#
+ new Organization(other?: any): Organization
Overrides EntityBase.constructor
Defined in src/models/Organization.ts:44
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: Organization
Properties#
dateCreated#
• dateCreated: Date = new Date()
Inherited from EntityBase.dateCreated
Defined in src/EntityBase.ts:18
The date and time that the object was created.
dateModified#
• dateModified: Date = new Date()
Inherited from EntityBase.dateModified
Defined in src/EntityBase.ts:23
The date and time that the object was last modified.
description#
• description: string | null = null
Defined in src/models/Organization.ts:29
A textual description of the purpose of the organization and its members.
members#
• members: Array<string> = new Array()
Defined in src/models/Organization.ts:34
The list of UUIDs for each user that is a member of the organization.
name#
• name: string = “”
Defined in src/models/Organization.ts:19
The unique name of the organization.
owners#
• owners: Array<string> = new Array()
Defined in src/models/Organization.ts:39
The list of UUIDs for each user that is an owner of the organization. Owners can add and remove other users to and from the organization.
parentUid#
• parentUid: string | null = null
Defined in src/models/Organization.ts:44
The unique identifier of the parent organization.
title#
• title: string | null = null
Defined in src/models/Organization.ts:24
A textual name of the organization.
uid#
• uid: string = uuid.v4()
Inherited from EntityBase.uid
Defined in src/EntityBase.ts:13
The universally unique identifier of the object.
version#
• version: number = 0
Inherited from EntityBase.version
Defined in src/EntityBase.ts:28
The optimistic locking version of the object.
Accessors#
ClassName#
• Staticget ClassName(): string
Defined in src/models/Organization.ts:14
Returns: string