MCPcopy
hub / github.com/mattermost/mattermost / GroupSyncable

Struct GroupSyncable

server/public/model/group_syncable.go:23–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23type GroupSyncable struct {
24 GroupId string `json:"group_id"`
25
26 // SyncableId represents the Id of the model that is being synced with the group, for example a ChannelId or
27 // TeamId.
28 SyncableId string `db:"-" json:"-"`
29
30 AutoAdd bool `json:"auto_add"`
31 SchemeAdmin bool `json:"scheme_admin"`
32 CreateAt int64 `json:"create_at"`
33 DeleteAt int64 `json:"delete_at"`
34 UpdateAt int64 `json:"update_at"`
35 Type GroupSyncableType `db:"-" json:"-"`
36
37 // Values joined in from the associated team and/or channel
38 ChannelDisplayName string `db:"-" json:"-"`
39 TeamDisplayName string `db:"-" json:"-"`
40 TeamType string `db:"-" json:"-"`
41 ChannelType string `db:"-" json:"-"`
42 TeamID string `db:"-" json:"-"`
43}
44
45func (syncable *GroupSyncable) Auditable() map[string]any {
46 return map[string]any{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected