2021-01-14 01:56:01 +01:00
|
|
|
package model
|
|
|
|
|
2021-02-17 20:29:20 +01:00
|
|
|
// Workspace is information global to a workspace
|
|
|
|
// swagger:model
|
2021-01-14 01:56:01 +01:00
|
|
|
type Workspace struct {
|
2021-02-17 20:29:20 +01:00
|
|
|
// ID of the workspace
|
|
|
|
// required: true
|
|
|
|
ID string `json:"id"`
|
|
|
|
|
2021-03-31 00:25:16 +02:00
|
|
|
// Title of the workspace
|
|
|
|
// required: false
|
|
|
|
Title string `json:"title"`
|
|
|
|
|
2021-02-17 20:29:20 +01:00
|
|
|
// Token required to register new users
|
|
|
|
// required: true
|
|
|
|
SignupToken string `json:"signupToken"`
|
|
|
|
|
|
|
|
// Workspace settings
|
|
|
|
// required: false
|
|
|
|
Settings map[string]interface{} `json:"settings"`
|
|
|
|
|
|
|
|
// ID of user who last modified this
|
|
|
|
// required: true
|
|
|
|
ModifiedBy string `json:"modifiedBy"`
|
|
|
|
|
|
|
|
// Updated time
|
|
|
|
// required: true
|
|
|
|
UpdateAt int64 `json:"updateAt"`
|
2021-01-14 01:56:01 +01:00
|
|
|
}
|