The file model represents objects that will be saved in YAML file.
There are two types of file models:
Saving everything to one file (SingleFile annotation)
Saving one object to one file (ManyFiles annotation )
Every file model must have Id annotation on Id field.
The field which is annotated Id annotation is a unique key in YAML file, which represents one object. It is a primary section of an object in YAML file.
Saving, and updating YAML files system is based on Bukkit serialization.
ConfigurationSerialization.registerClass(UserCoins.class); //without alias
ConfigurationSerialization.registerClass(UserCoins.class, "UserCoins"); //with alias
ConfigurationFile getConfigurationFile(); //gets information about file