NewAppWithTokenAndName creates an application with a token and name and returns the app.
(id uint, token, name string)
| 124 | |
| 125 | // NewAppWithTokenAndName creates an application with a token and name and returns the app. |
| 126 | func (ab *AppClientBuilder) NewAppWithTokenAndName(id uint, token, name string) *model.Application { |
| 127 | return ab.newAppWithTokenAndName(id, token, name, false) |
| 128 | } |
| 129 | |
| 130 | // NewInternalAppWithTokenAndName creates an internal application with a token and name and returns the app. |
| 131 | func (ab *AppClientBuilder) NewInternalAppWithTokenAndName(id uint, token, name string) *model.Application { |