Files
opencloud/pkg/jmap/jscontact_model_examples_test.go
2026-02-04 09:41:03 +01:00

29 lines
654 B
Go

//go:build groupware_examples
package jmap
import c "github.com/opencloud-eu/opencloud/pkg/jscontact"
func JSContactExample() {
SerializeExamples(JSContactExemplarInstance)
//Output:
}
type JSContactExemplar struct {
}
var JSContactExemplarInstance = JSContactExemplar{}
func (e JSContactExemplar) Name() c.Name {
return c.Name{
Type: c.NameType,
Components: []c.NameComponent{
{Type: c.NameComponentType, Value: "Drummer", Kind: c.NameComponentKindGiven},
{Type: c.NameComponentType, Value: "Camina", Kind: c.NameComponentKindGiven},
},
IsOrdered: true,
DefaultSeparator: ", ",
Full: "Camina Drummer",
}
}