-
Notifications
You must be signed in to change notification settings - Fork 51
/
model_team.go
23 lines (21 loc) · 1.49 KB
/
model_team.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
* Teams API
*
* ## Overview An API for creating, retrieving, updating, and deleting teams ## Authentication To authenticate with SignalFx, the following operations require a session token associated with a SignalFx user that has administrative privileges:<br> * Create a team - **POST** `/team` * Update a team - **PUT** `/team/{id}` * Delete a team - **DELETE** `/team/{id}` * Update team members - **PUT** `/team/{id}/members` You can authenticate the following operations with either an org token or a session token. The session token doesn't need to be associated with a SignalFx user that has administrative privileges:<br> * Retrieve teams using a query - **GET** `/team` * Retrieve a team using its ID - **GET** `/team/{id}`
*
* API version: 3.1.0
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package team
// Object that specifies the properties of a SignalFx team.<br> **NOTE:** When you create a team, you need to specify the `name` property in the request body.
type Team struct {
// SignalFx-defined ID for the team. **This property is read-only**.
Id string `json:"id,omitempty"`
// Name or label for the team
Name string `json:"name,omitempty"`
// Text that provides extended information about the team
Description string `json:"description,omitempty"`
// List of organization members IDs that belong to this team
Members []string `json:"members,omitempty"`
NotificationLists NotificationLists `json:"notificationLists,omitempty"`
}