func (policyData *PolicyData) SetGeneration(gen runtime.Generation) {
	policyData.Metadata.Generation = gen
}
SetGeneration sets PolicyData generation
package engine
import (
	"time"
	"github.com/Aptomi/aptomi/pkg/lang"
	"github.com/Aptomi/aptomi/pkg/runtime"
)
var TypePolicyData = &runtime.TypeInfo{
	Kind:        "policy",
	Storable:    true,
	Versioned:   true,
	Constructor: func() runtime.Object { return &PolicyData{} },
}
var PolicyDataKey = runtime.KeyFromParts(runtime.SystemNS, TypePolicyData.Kind, runtime.EmptyName)
type PolicyData struct {
	runtime.TypeKind `yaml:",inline"`
	Metadata         PolicyDataMetadata
	Objects map[string]map[string]map[string]runtime.Generation
}
type PolicyDataMetadata struct {
	Generation runtime.Generation
	UpdatedAt  time.Time
	UpdatedBy  string
}
func (policyData *PolicyData) GetName() string {
	return runtime.EmptyName
}
func (policyData *PolicyData) GetNamespace() string {
	return runtime.SystemNS
}
func (policyData *PolicyData) GetGeneration() runtime.Generation {
	return policyData.Metadata.Generation
}