-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathappsettings.go
More file actions
18 lines (17 loc) · 922 Bytes
/
appsettings.go
File metadata and controls
18 lines (17 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package api
// AppSettings is the structure of an app's settings.
type AppSettings struct {
// Owner is the app owner. It cannot be updated with AppSettings.Set(). See app.Transfer().
Owner string `json:"owner,omitempty"`
// App is the app name. It cannot be updated at all right now.
App string `json:"app,omitempty"`
// Created is the time that the application settings was created and cannot be updated.
Created string `json:"created,omitempty"`
// Updated is the last time the application settings was changed and cannot be updated.
Updated string `json:"updated,omitempty"`
// UUID is a unique string reflecting the application settings in its current state.
// It changes every time the application settings is changed and cannot be updated.
UUID string `json:"uuid,omitempty"`
// Maintenance determines if the application is taken down for maintenance or not.
Maintenance *bool `json:"maintenance"`
}