Home Reference Source
public class | source

Relation

Relation

It describes a relationship of the current user with other users.

Static Member Summary

Static Public Members
public static

targets: *

Constructor Summary

Public Constructor
public

constructor(identifier: String, direction: String, targets: Record[])

Constructs a new Relation object.

Member Summary

Public Members
public
public

fails: *[]

public
public

targets: *

public get

targetsID: String[]

Target user ids

Static Public Members

public static targets: * source

Public Constructors

public constructor(identifier: String, direction: String, targets: Record[]) source

Constructs a new Relation object.

Params:

NameTypeAttributeDescription
identifier String

identifier of the relation

direction String

direction of the relation

targets Record[]

target users of the relation

Public Members

public direction: * source

public fails: *[] source

public identifier: * source

public targets: * source

public get targetsID: String[] source

Target user ids