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

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

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