# Models

The model represents one object in YAML or database.

The model is updatable, savable, and deletable.

Every model must have a field that will be annotated Id or IdSection annotation

```java
Object save(); //Saves new model to database or file

boolean delete(); //Deletes model from file or table

Object update(); //Updates new model to database or file
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://timsixths-plugins.gitbook.io/minigameapi-docs/basic-features/models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
