MCPcopy Create free account
hub / github.com/DataDog/jsonapi / Comment

Struct Comment

marshal_relationships_example_test.go:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14type Comment struct {
15 ID string `jsonapi:"primary,comments"`
16 Body string `jsonapi:"attribute" json:"comment"`
17 Author *Author `jsonapi:"relationship"`
18}
19
20func (c *Comment) LinkRelation(relation string) *jsonapi.Link {
21 return &jsonapi.Link{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected