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

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

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