6004e599ed
* feat: add dep configuration files. * chore: add vendor folder. * refactor: update Dockerfile. * review: remove git from Dockerfile. * review: remove RUN apk. * review: dep status. * feat: added .dockerignore
13 lines
378 B
Go
13 lines
378 B
Go
package account
|
|
|
|
// APIKey wraps an NS1 /account/apikeys resource
|
|
type APIKey struct {
|
|
// Read-only fields
|
|
ID string `json:"id,omitempty"`
|
|
Key string `json:"key,omitempty"`
|
|
LastAccess int `json:"last_access,omitempty"`
|
|
|
|
Name string `json:"name"`
|
|
TeamIDs []string `json:"teams"`
|
|
Permissions PermissionsMap `json:"permissions"`
|
|
}
|