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

	so := sparse.(*SparseReport)
	if so.Fields != nil {
		o.Fields = *so.Fields
	}
	if so.Kind != nil {
		o.Kind = *so.Kind
	}
	if so.Tags != nil {
		o.Tags = *so.Tags
	}
	if so.Timestamp != nil {
		o.Timestamp = *so.Timestamp
	}
	if so.Value != nil {
		o.Value = *so.Value
	}
}
// Patch apply the non nil value of a *SparseReport to the object.
Patch apply the non nil value of a *SparseReport to the object.
// Patch apply the non nil value of a * SparseReport to the object .
func (o *Report) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseReport)
	if so.Fields != nil {
		o.Fields = *so.Fields
	}
	if so.Kind != nil {
		o.Kind = *so.Kind
	}
	if so.Tags != nil {
		o.Tags = *so.Tags
	}
	if so.Timestamp != nil {
		o.Timestamp = *so.Timestamp
	}
	if so.Value != nil {
		o.Value = *so.Value
	}
}
func ( o * Report ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseReport ) if so . Fields != nil { o . Fields = * so . Fields } if so . Kind != nil { o . Kind = * so . Kind } if so . Tags != nil { o . Tags = * so . Tags } if so . Timestamp != nil { o . Timestamp = * so . Timestamp } if so . Value != nil { o . Value = * so . Value } }
Patch apply the non nil value of a *SparseReport to the object.
Patch apply the non nil value of a * SparseReport to the object .