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

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