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

	so := sparse.(*SparseEnforcerTraceReport)
	if so.EnforcerID != nil {
		o.EnforcerID = *so.EnforcerID
	}
	if so.EnforcerNamespace != nil {
		o.EnforcerNamespace = *so.EnforcerNamespace
	}
	if so.Namespace != nil {
		o.Namespace = *so.Namespace
	}
	if so.PuID != nil {
		o.PuID = *so.PuID
	}
	if so.Records != nil {
		o.Records = *so.Records
	}
}
// Patch apply the non nil value of a *SparseEnforcerTraceReport to the object.
Patch apply the non nil value of a *SparseEnforcerTraceReport to the object.
// Patch apply the non nil value of a * SparseEnforcerTraceReport to the object .
func (o *EnforcerTraceReport) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseEnforcerTraceReport)
	if so.EnforcerID != nil {
		o.EnforcerID = *so.EnforcerID
	}
	if so.EnforcerNamespace != nil {
		o.EnforcerNamespace = *so.EnforcerNamespace
	}
	if so.Namespace != nil {
		o.Namespace = *so.Namespace
	}
	if so.PuID != nil {
		o.PuID = *so.PuID
	}
	if so.Records != nil {
		o.Records = *so.Records
	}
}
func ( o * EnforcerTraceReport ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseEnforcerTraceReport ) if so . EnforcerID != nil { o . EnforcerID = * so . EnforcerID } if so . EnforcerNamespace != nil { o . EnforcerNamespace = * so . EnforcerNamespace } if so . Namespace != nil { o . Namespace = * so . Namespace } if so . PuID != nil { o . PuID = * so . PuID } if so . Records != nil { o . Records = * so . Records } }
Patch apply the non nil value of a *SparseEnforcerTraceReport to the object.
Patch apply the non nil value of a * SparseEnforcerTraceReport to the object .