MCPcopy
hub / github.com/ory/keto / RelationTuple

Struct RelationTuple

ketoapi/public_api_definitions.go:35–62  ·  view source on GitHub ↗

Relationship swagger:model relationship

Source from the content-addressed store, hash-verified

33//
34// swagger:model relationship
35type RelationTuple struct {
36 // Namespace of the Relation Tuple
37 //
38 // required: true
39 Namespace string `json:"namespace"`
40
41 // Object of the Relation Tuple
42 //
43 // required: true
44 Object string `json:"object"`
45
46 // Relation of the Relation Tuple
47 //
48 // required: true
49 Relation string `json:"relation"`
50
51 // SubjectID of the Relation Tuple
52 //
53 // Either SubjectSet or SubjectID can be provided.
54 SubjectID *string `json:"subject_id,omitempty"`
55
56 // SubjectSet of the Relation Tuple
57 //
58 // Either SubjectSet or SubjectID can be provided.
59 //
60 // swagger:allOf
61 SubjectSet *SubjectSet `json:"subject_set,omitempty"`
62}
63
64// swagger:model subjectSet
65type SubjectSet struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected