-
Notifications
You must be signed in to change notification settings - Fork 1
/
team.go
48 lines (33 loc) · 1.02 KB
/
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package monta
import "time"
// Team of Monta users.
type Team struct {
// ID of the team.
ID int64 `json:"id"`
// Name of the team.
Name string `json:"name"`
// External Id of the team.
ExternalID *string `json:"externalId"`
// External Id of this entity, managed by you.
PartnerExternalID *string `json:"partnerExternalId"`
// Code to share with a user to join the team.
JoinCode string `json:"joinCode"`
// Company name for the given team.
CompanyName *string `json:"companyName"`
// Operator of the team.
Operator Operator `json:"operator"`
// Address of the team.
Address Address `json:"address"`
// Type of the team.
Type *string `json:"type"`
// Operator Id of the team.
OperatorID int64 `json:"operatorId"`
// When the team was blocked.
BlockedAt *time.Time `json:"blockedAt"`
// When the team was created.
CreatedAt time.Time `json:"createdAt"`
// When the team was last updated.
UpdatedAt time.Time `json:"updatedAt"`
// When the team was deleted.
DeletedAt *time.Time `json:"deletedAt"`
}