traefik/vendor/gopkg.in/ns1/ns1-go.v2/rest/model/account/apikey.go

14 lines
378 B
Go
Raw Normal View History

2017-02-07 21:33:23 +00:00
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"`
}