From 8500d834ff0b63c18c1f1ca2c478a9c6d379df1f Mon Sep 17 00:00:00 2001 From: Conor Macpherson Date: Thu, 8 Dec 2022 14:10:47 -0500 Subject: [PATCH] Add basic model for true up review data requirements. --- model/true_up_review_profile.go | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 model/true_up_review_profile.go diff --git a/model/true_up_review_profile.go b/model/true_up_review_profile.go new file mode 100644 index 0000000000..ca4e537492 --- /dev/null +++ b/model/true_up_review_profile.go @@ -0,0 +1,25 @@ +// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. +// See LICENSE.txt for license information. + +package model + +type TrueUpReviewProfile struct { + ServerId string `json:"server_id"` + ServerVersion string `json:"server_version"` + CustomerName string `json:"customer_name"` + LicenseId string `json:"licnes_id"` + LicnesedSeats int `json:"license_seats"` + LicensePlan string `json:"license_plan"` + ActiveUsers int `json:"active_users"` + AuthenticationFeatures []string `json:"authentication_features"` + Plugins TrueUpReviewPlugins `json:"plugins"` + TotalWebhooks int `json:"webhooks_count"` + TotalPlaybooks int `json:"playbooks_count"` + TotalBoards int `json:"boards_count"` + TotalCalls int `json:"calls_count"` +} + +type TrueUpReviewPlugins struct { + TotalPlugins int `json:"total_plugins"` + PluginNames []string `json:"plugin_names"` +}