Class

ProjectRole

ProjectRole(data)

ProjectRole Model
Constructor

# new ProjectRole(data)

Model constructor
Parameters:
Name Type Description
data ProjectRoleLike

View Source model/ProjectRole.js, line 7

Classes

ProjectRole

Members

String

# createdBy

The id of the user who created this entity.

View Source model/ProjectRole.js, line 84

String

# createdOn

The date this entity was created.

View Source model/ProjectRole.js, line 76

String

# defaultProjectRoleId

The id of the new default project role. Required if the updated project role is the current default role.

View Source model/ProjectRole.js, line 44

String

# id

The id of the project role. Required.

View Source model/ProjectRole.js, line 52

Boolean

# isDefault

Whether to use this role as default when adding new project members.

View Source model/ProjectRole.js, line 36

Number

# memberCount

The count of members which are linked to this role.

View Source model/ProjectRole.js, line 60

Array.<ProjectMember>

# members

The members which are linked to this role.

View Source model/ProjectRole.js, line 68

String

# name

The name of the project role. Required.

View Source model/ProjectRole.js, line 28

String

# updatedBy

The id of the user who last modified this entity.

View Source model/ProjectRole.js, line 100

String

# updatedOn

The date this entity was last modified.

View Source model/ProjectRole.js, line 92