1interface Resource { 2 "Metadata contains the name, namespace, labels and annotations of the resource," 3 metadata: ObjectMeta! 4 5 """ 6 toJSON returns a REST API compatible representation of the resource. Handy for 7 sharing snippets that can then be imported with `sensuctl create`. 8 """ 9 toJSON: JSON! 10} 11