21 lines
430 B
Go
21 lines
430 B
Go
// Code generated by "make api"; DO NOT EDIT.
|
|
package roles
|
|
|
|
import (
|
|
"github.com/hashicorp/watchtower/api"
|
|
)
|
|
|
|
type Principal struct {
|
|
Client *api.Client `json:"-"`
|
|
|
|
// The ID of the principal.
|
|
// Output only.
|
|
Id string `json:"id,omitempty"`
|
|
// The type of the principal.
|
|
// Output only.
|
|
Type string `json:"type,omitempty"`
|
|
// The scope ID of the principal.
|
|
// Output only.
|
|
ScopeId string `json:"scope_id,omitempty"`
|
|
}
|