-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclans.go
More file actions
21 lines (18 loc) · 782 Bytes
/
clans.go
File metadata and controls
21 lines (18 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// This file was auto-generated by Fern from our API Definition.
package api
// Subset of properties listed here
type ClanResponse struct {
Id *ObjectIdString `json:"_id,omitempty"`
Name *string `json:"name,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Members []ObjectIdString `json:"members,omitempty"`
OwnerId *ObjectIdString `json:"ownerID,omitempty"`
Description *string `json:"description,omitempty"`
Type *string `json:"type,omitempty"`
Kind *string `json:"kind,omitempty"`
Metadata map[string]any `json:"metadata,omitempty"`
}
type ClansUpsertMemberRequest struct {
// The `_id` or `slug` of the user to add to the clan.
UserId string `json:"userId"`
}