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

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

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