class HaloModule implements Parcelable {

    @Api(1.0)
    @NonNull
    public static List<HaloModule> fromCursor(@Nullable Cursor cursor, boolean close) {
        List<HaloModule> instances = new ArrayList<>();
        if (cursor != null) {
            if (cursor.moveToFirst()) {
                do {
                    instances.add(create(cursor));
                } while (cursor.moveToNext());
            }
            if (close) {
                cursor.close();
            }
        }
        return instances;
    }

    public  HaloModule();
    @Api(1.2) public  HaloModule(@NonNull Integer customerId, @NonNull String id, @NonNull String name, boolean enabled, @NonNull Date creationDate, @Nullable Date lastUpdate, @NonNull String internalId, boolean isSingle, JSONArray fields);
    protected  HaloModule(Parcel in);

}