func (o PokesList) ToSparse(fields ...string) elemental.Identifiables {

	out := make(SparsePokesList, len(o))
	for i := 0; i < len(o); i++ {
		out[i] = o[i].ToSparse(fields...).(*SparsePoke)
	}

	return out
}
// ToSparse returns the PokesList converted to SparsePokesList.
// Objects in the list will only contain the given fields. No field means entire field set.
ToSparse returns the PokesList converted to SparsePokesList.
Objects in the list will only contain the given fields. No field means entire field set.
// ToSparse returns the PokesList converted to SparsePokesList . // Objects in the list will only contain the given fields . No field means entire field set .
func (o PokesList) ToSparse(fields ...string) elemental.Identifiables {
	out := make(SparsePokesList, len(o))
	for i := 0; i < len(o); i++ {
		out[i] = o[i].ToSparse(fields...).(*SparsePoke)
	}
	return out
}
func ( o PokesList ) ToSparse ( fields ... string ) elemental . Identifiables { out := make ( SparsePokesList , len ( o ) ) for i := 0 ; i < len ( o ) ; i ++ { out [ i ] = o [ i ] . ToSparse ( fields ... ) . ( * SparsePoke ) } return out }
ToSparse returns the PokesList converted to SparsePokesList.
ToSparse returns the PokesList converted to SparsePokesList .