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

	out := NewCategory()
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.Description != nil {
		out.Description = *o.Description
	}
	if o.Name != nil {
		out.Name = *o.Name
	}

	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 *SparseCategory) ToPlain() elemental.PlainIdentifiable {
	out := NewCategory()
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.Description != nil {
		out.Description = *o.Description
	}
	if o.Name != nil {
		out.Name = *o.Name
	}
	return out
}
func ( o * SparseCategory ) ToPlain ( ) elemental . PlainIdentifiable { out := NewCategory ( ) if o . ID != nil { out . ID = * o . ID } if o . Description != nil { out . Description = * o . Description } if o . Name != nil { out . Name = * o . Name } return out }
ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model .