Team Model
This is the definition of Teams.
The schema for Team objects is as follows:
Team Schema
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"orgId": {
"type": "integer"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"updatedAt": {
"type": "integer"
},
"members": {
"type": "array",
"items": {
"type": "integer"
}
},
"owner": {
"type": "integer"
},
"status": {
"type": "string",
"enum": ["ENABLED", "ARCHIVED"]
},
"main": {
"type": "boolean"
},
"autoOffline": {
"type": "boolean"
},
"teamAvailabilityMode": {
"type": "string",
"enum": ["ALWAYS_ONLINE", "ALWAYS_OFFLINE", "CUSTOM_HOURS"]
},
"responseTimerEnabled": {
"type": "boolean"
}
}
Top Level Team Field Explanation
These attributes will be present on the model or absent if the value has not been set.
Field Name | Type | Description |
---|---|---|
id | int | The unique identifier for the team. |
orgId | int | The organization's ID to which the team belongs. |
workspaceId | string | The workspace ID associated with the team. |
name | string | The name of the team. |
updatedAt | long | The timestamp representing the last update time of the team. |
members | array of integers | An array containing the user IDs of members who are part of the team. |
owner | int | The user ID of the team owner. |
status | string | The status of the team, which can have values like "ENABLED," or "ARCHIVED." |
main | boolean | A boolean flag that indicates whether the team is the main |
autoOffline | boolean | A boolean flag to determine if the team should automatically go offline or unavailable after a period of inactivity. |
teamAvailabilityMode | string | The team's availability mode, which can have values like "ALWAYS_ONLINE," "ALWAYS_OFFLINE," or "CUSTOM_HOURS." |
responseTimerEnabled | boolean | A boolean flag that specifies if the team has a response timer enabled. |
Updated over 1 year ago