func (o *DefaultEnforcerVersion) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}

	so := sparse.(*SparseDefaultEnforcerVersion)
	if so.DefaultVersion != nil {
		o.DefaultVersion = *so.DefaultVersion
	}
}
// Patch apply the non nil value of a *SparseDefaultEnforcerVersion to the object.
Patch apply the non nil value of a *SparseDefaultEnforcerVersion to the object.
// Patch apply the non nil value of a * SparseDefaultEnforcerVersion to the object .
func (o *DefaultEnforcerVersion) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseDefaultEnforcerVersion)
	if so.DefaultVersion != nil {
		o.DefaultVersion = *so.DefaultVersion
	}
}
func ( o * DefaultEnforcerVersion ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseDefaultEnforcerVersion ) if so . DefaultVersion != nil { o . DefaultVersion = * so . DefaultVersion } }
Patch apply the non nil value of a *SparseDefaultEnforcerVersion to the object.
Patch apply the non nil value of a * SparseDefaultEnforcerVersion to the object .