-
Notifications
You must be signed in to change notification settings - Fork 51
/
model_create_update_team_request.go
21 lines (19 loc) · 1.41 KB
/
model_create_update_team_request.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
* 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 CreateUpdateTeamRequest struct {
// 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"`
}