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

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

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