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

	out := NewSearch()
	if o.Object != nil {
		out.Object = *o.Object
	}
	if o.ObjectID != nil {
		out.ObjectID = *o.ObjectID
	}
	if o.ObjectIdentity != nil {
		out.ObjectIdentity = *o.ObjectIdentity
	}
	if o.ObjectNamespace != nil {
		out.ObjectNamespace = *o.ObjectNamespace
	}
	if o.Score != nil {
		out.Score = *o.Score
	}

	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 *SparseSearch) ToPlain() elemental.PlainIdentifiable {
	out := NewSearch()
	if o.Object != nil {
		out.Object = *o.Object
	}
	if o.ObjectID != nil {
		out.ObjectID = *o.ObjectID
	}
	if o.ObjectIdentity != nil {
		out.ObjectIdentity = *o.ObjectIdentity
	}
	if o.ObjectNamespace != nil {
		out.ObjectNamespace = *o.ObjectNamespace
	}
	if o.Score != nil {
		out.Score = *o.Score
	}
	return out
}
func ( o * SparseSearch ) ToPlain ( ) elemental . PlainIdentifiable { out := NewSearch ( ) if o . Object != nil { out . Object = * o . Object } if o . ObjectID != nil { out . ObjectID = * o . ObjectID } if o . ObjectIdentity != nil { out . ObjectIdentity = * o . ObjectIdentity } if o . ObjectNamespace != nil { out . ObjectNamespace = * o . ObjectNamespace } if o . Score != nil { out . Score = * o . Score } return out }
ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model .