func (r *Resource) RootProperty() Property {
	return r.data
}
RootProperty returns the root property
package prop
import "github.com/imulab/go-scim/pkg/v2/spec"
func NewResource(resourceType *spec.ResourceType) *Resource {
	r := Resource{
		resourceType: resourceType,
		data:         NewComplex(resourceType.SuperAttribute(true)).(*complexProperty),
	}
	return &r
}
type Resource struct {
	resourceType *spec.ResourceType
	data         *complexProperty
}
func (r *Resource) ResourceType() *spec.ResourceType {
	return r.resourceType
}
func (r *Resource) RootAttribute() *spec.Attribute {
	return r.data.Attribute()
}