Home Manual Reference Source
public class | source

Group

Group domain model. A User can be part of one or multiple groups

Constructor Summary

Public Constructor
public

constructor(id: string, name: string)

Create a group.

Member Summary

Public Members
public
public

Public Constructors

public constructor(id: string, name: string) source

Create a group.

Params:

NameTypeAttributeDescription
id string
  • nullable: true

The group identifier. If none is given, one is generated.

name string

The name of the group.

Throw:

Error

id parameter of type "string|null" is required

Error

name parameter of type "string" is required

Public Members

public id: string source

public name: string source