Application Params Model Params allowed to create or update Applications. swagger:model ApplicationParams
| 37 | // |
| 38 | // swagger:model ApplicationParams |
| 39 | type ApplicationParams struct { |
| 40 | // The application name. This is how the application should be displayed to the user. |
| 41 | // |
| 42 | // required: true |
| 43 | // example: Backup Server |
| 44 | Name string `form:"name" query:"name" json:"name" binding:"required"` |
| 45 | // The description of the application. |
| 46 | // |
| 47 | // example: Backup server for the interwebs |
| 48 | Description string `form:"description" query:"description" json:"description"` |
| 49 | // The default priority of messages sent by this application. Defaults to 0. |
| 50 | // |
| 51 | // example: 5 |
| 52 | DefaultPriority int `form:"defaultPriority" query:"defaultPriority" json:"defaultPriority"` |
| 53 | // The sortKey for the application. Uses fractional indexing. |
| 54 | // |
| 55 | // example: a1 |
| 56 | SortKey string `form:"sortKey" query:"sortKey" json:"sortKey"` |
| 57 | } |
| 58 | |
| 59 | // CreateApplication creates an application and returns the access token. |
| 60 | // swagger:operation POST /application application createApp |
nothing calls this directly
no outgoing calls
no test coverage detected