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

	out := NewCNSSuggestion()
	if o.NeedsOffsetUpdate != nil {
		out.NeedsOffsetUpdate = *o.NeedsOffsetUpdate
	}
	if o.Offset != nil {
		out.Offset = *o.Offset
	}
	if o.Query != nil {
		out.Query = *o.Query
	}
	if o.Suggestions != nil {
		out.Suggestions = *o.Suggestions
	}
	if o.Translate != nil {
		out.Translate = *o.Translate
	}
	if o.Valid != nil {
		out.Valid = *o.Valid
	}

	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 *SparseCNSSuggestion) ToPlain() elemental.PlainIdentifiable {
	out := NewCNSSuggestion()
	if o.NeedsOffsetUpdate != nil {
		out.NeedsOffsetUpdate = *o.NeedsOffsetUpdate
	}
	if o.Offset != nil {
		out.Offset = *o.Offset
	}
	if o.Query != nil {
		out.Query = *o.Query
	}
	if o.Suggestions != nil {
		out.Suggestions = *o.Suggestions
	}
	if o.Translate != nil {
		out.Translate = *o.Translate
	}
	if o.Valid != nil {
		out.Valid = *o.Valid
	}
	return out
}
func ( o * SparseCNSSuggestion ) ToPlain ( ) elemental . PlainIdentifiable { out := NewCNSSuggestion ( ) if o . NeedsOffsetUpdate != nil { out . NeedsOffsetUpdate = * o . NeedsOffsetUpdate } if o . Offset != nil { out . Offset = * o . Offset } if o . Query != nil { out . Query = * o . Query } if o . Suggestions != nil { out . Suggestions = * o . Suggestions } if o . Translate != nil { out . Translate = * o . Translate } if o . Valid != nil { out . Valid = * o . Valid } return out }
ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model .