<commit_before>package me.nithanim.mensaapi;

import java.util.List;
import me.nithanim.mensaapi.util.Objects;

public class Menu {
    private final Type type;
    private final String subtype;
    private final List<Meal> meals;
    private final int price;
    private final int oehBonus;
    private final String date;
    private final boolean isVegetarian;
    
    public Menu(Type type, String subtype, List<Meal> meals, int price, int oehBonus, String date, boolean isVegetarian) {
        this.type = type;
        this.subtype = subtype;
        this.meals = meals;
        this.price = price;
        this.oehBonus = oehBonus;
        this.date = date;
        this.isVegetarian = isVegetarian;
    }

    /**
     * Gson and any other deserialization libraries may
     * use or need it to create a object.
     */
    private Menu() {
        this.type = null;
        this.subtype = null;
        this.meals = null;
        this.price = 0;
        this.oehBonus = 0;
        this.date = null;
        this.isVegetarian = false;
    }
    
    public Type getType() {
        return type;
    }

    /**
     * The subtype applies for Choice only for now and can conatin:
     * Grill/Snack/...
     * 
     * @return The subtype of the menu
     */
    public String getSubtype() {
        return subtype;
    }

    /**
     * Returns the meals in this menu.
     * For classic, it will contain the parts (soup, main, dessert).
     * For choice it will return the meals of every subtype.
     * 
     * @return 
     * @see #getSubtype()
     */
    public List<Meal> getMeals() {
        return meals;
    }
    
    /**
     * This gets the price of the complete menu for classic but will
     * be -1 for Choice, since there are individual meal prices only.
     * 
     * @return Price of the meal,
     * -1 if it has none on purpose or
     * -2 if not found or unable to parse
     * @see Meal
     */
    public int getPrice() {
        return price;
    }

    public int getOehBonus() {
        return oehBonus;
    }
<commit_msg>Added missing getter<commit_after>package me.nithanim.mensaapi;

import java.util.List;
import me.nithanim.mensaapi.util.Objects;

public class Menu {
    private final Type type;
    private final String subtype;
    private final List<Meal> meals;
    private final int price;
    private final int oehBonus;
    private final String date;
    private final boolean isVegetarian;
    
    public Menu(Type type, String subtype, List<Meal> meals, int price, int oehBonus, String date, boolean isVegetarian) {
        this.type = type;
        this.subtype = subtype;
        this.meals = meals;
        this.price = price;
        this.oehBonus = oehBonus;
        this.date = date;
        this.isVegetarian = isVegetarian;
    }

    /**
     * Gson and any other deserialization libraries may
     * use or need it to create a object.
     */
    private Menu() {
        this.type = null;
        this.subtype = null;
        this.meals = null;
        this.price = 0;
        this.oehBonus = 0;
        this.date = null;
        this.isVegetarian = false;
    }
    
    public Type getType() {
        return type;
    }

    /**
     * The subtype applies for Choice only for now and can conatin:
     * Grill/Snack/...
     * 
     * @return The subtype of the menu
     */
    public String getSubtype() {
        return subtype;
    }

    /**
     * Returns the meals in this menu.
     * For classic, it will contain the parts (soup, main, dessert).
     * For choice it will return the meals of every subtype.
     * 
     * @return 
     * @see #getSubtype()
     */
    public List<Meal> getMeals() {
        return meals;
    }
    
    /**
     * This gets the price of the complete menu for classic but will
     * be -1 for Choice, since there are individual meal prices only.
     * 
     * @return Price of the meal,
     * -1 if it has none on purpose or
     * -2 if not found or unable to parse
     * @see Meal
     */
    public int getPrice() {
        return price;
    }

    public int getOehBonus() {
        return oehBonus;
    }

    public String getDate() {
        return date;
    }

{'fraction_non_alphanumeric': 0.08590571907154822, 'fraction_numerical': 0.0023929169657812875, 'mean_word_length': 1.9047949965253648, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4929690', 'n_tokens_mistral': 1303, 'n_tokens_neox': 1251, 'n_words': 437}