Represents an Access Group.
import { AccessGroup } from "@simplesagar/vercel/models/accessgroup.js";
let value: AccessGroup = {
name: "my-access-group",
createdAt: "1588720733602",
teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50",
updatedAt: "1588720733602",
accessGroupId: "ag_123a6c5209bc3778245d011443644c8d27dc2c50",
membersCount: 5,
projectsCount: 2,
};
Field | Type | Required | Description | Example |
---|---|---|---|---|
name |
string | ✔️ | The name of this access group. | my-access-group |
createdAt |
string | ✔️ | Timestamp in milliseconds when the access group was created. | 1588720733602 |
teamId |
string | ✔️ | ID of the team that this access group belongs to. | team_123a6c5209bc3778245d011443644c8d27dc2c50 |
updatedAt |
string | ✔️ | Timestamp in milliseconds when the access group was last updated. | 1588720733602 |
accessGroupId |
string | ✔️ | ID of the access group. | ag_123a6c5209bc3778245d011443644c8d27dc2c50 |
membersCount |
number | ✔️ | Number of members in the access group. | 5 |
projectsCount |
number | ✔️ | Number of projects in the access group. | 2 |