func (o *SparseHit) ToPlain() elemental.PlainIdentifiable {

	out := NewHit()
	if o.Name != nil {
		out.Name = *o.Name
	}
	if o.TargetID != nil {
		out.TargetID = *o.TargetID
	}
	if o.TargetIdentity != nil {
		out.TargetIdentity = *o.TargetIdentity
	}
	if o.Value != nil {
		out.Value = *o.Value
	}

	return out
}
// ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model.
// ToPlain returns the plain version of the sparse model .
func (o *SparseHit) ToPlain() elemental.PlainIdentifiable {
	out := NewHit()
	if o.Name != nil {
		out.Name = *o.Name
	}
	if o.TargetID != nil {
		out.TargetID = *o.TargetID
	}
	if o.TargetIdentity != nil {
		out.TargetIdentity = *o.TargetIdentity
	}
	if o.Value != nil {
		out.Value = *o.Value
	}
	return out
}
func ( o * SparseHit ) ToPlain ( ) elemental . PlainIdentifiable { out := NewHit ( ) if o . Name != nil { out . Name = * o . Name } if o . TargetID != nil { out . TargetID = * o . TargetID } if o . TargetIdentity != nil { out . TargetIdentity = * o . TargetIdentity } if o . Value != nil { out . Value = * o . Value } return out }
ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model .