summaryrefslogtreecommitdiffstats
path: root/model/channel.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/channel.go')
-rw-r--r--model/channel.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/model/channel.go b/model/channel.go
index 09e5e389c..529c49d35 100644
--- a/model/channel.go
+++ b/model/channel.go
@@ -57,6 +57,12 @@ type ChannelPatch struct {
Purpose *string `json:"purpose"`
}
+type ChannelForExport struct {
+ Channel
+ TeamName string
+ SchemeName *string
+}
+
func (o *Channel) DeepCopy() *Channel {
copy := *o
if copy.SchemeId != nil {