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

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

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