# User

## Overview

Created by imedina on 11/09/14.

### Summary

| Field          |                                                                                                           create                                                                                                           |                                                                                                           update                                                                                                           |                                                                                                           unique                                                                                                           |                                                                                                          required                                                                                                          |
| -------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| id             | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) |
| name           | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) |
| email          | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) |
| organization   | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) |
| account        | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) |
| quota          | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) |
| projects       | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) |
| sharedProjects | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) |
| configs        | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) |
| filters        | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) |
| attributes     | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MUIJxAzWl_EP6qG2ieO%2F-MUINo9MnIFaaG1iqqOY%2Fimage.png?alt=media\&token=c9d3c9c2-573e-4f96-bfae-3a81506d07da) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) |
| internal       | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) | ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-MHDrUHq_ezb3NU4DSwA%2F-MfbZE39Donn34_d_VBp%2F-MfbZwelCGkwfxQfbxmv%2Ferror.png?alt=media\&token=5234ec5c-ae30-45b7-aa51-51469162a633) |

## Data Model

### User

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/user/User.java).

| Field                                                                                                                                                                                                        | Description                                                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
| <p><strong>id</strong><br> <em>String</em> <br></p>                                                                                                                                                          | User ID is a mandatory parameter when creating a new sample, this ID cannot be changed at the moment.*Tags*: *required, immutable, unique* |
| <p><strong>name</strong><br> <em>String</em> <br></p>                                                                                                                                                        |                                                                                                                                            |
| <p><strong>email</strong><br> <em>String</em> <br></p>                                                                                                                                                       |                                                                                                                                            |
| <p><strong>organization</strong><br> <em>String</em> <br></p>                                                                                                                                                |                                                                                                                                            |
| <p><strong>account</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#Account"><em>Account</em></a> <br></p>               |                                                                                                                                            |
| <p><strong>internal</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#UserInternal"><em>UserInternal</em></a> <br></p>    | An object describing the internal information of the User. This is managed by OpenCGA.*Tags*: *internal*                                   |
| <p><strong>quota</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#UserQuota"><em>UserQuota</em></a> <br></p>             |                                                                                                                                            |
| <p><strong>projects</strong><br> List<<a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#Project"><em>Project</em></a>> <br></p>       | A List with related projects.                                                                                                              |
| <p><strong>sharedProjects</strong><br> List<<a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#Project"><em>Project</em></a>> <br></p> |                                                                                                                                            |
| <p><strong>configs</strong><br> Map<<em>ObjectMap</em>,<em>String</em>> <br></p>                                                                                                                             |                                                                                                                                            |
| <p><strong>filters</strong><br> List<<a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#UserFilter"><em>UserFilter</em></a>> <br></p>  |                                                                                                                                            |
| <p><strong>attributes</strong><br> Map<<em>Object</em>,<em>String</em>> <br></p>                                                                                                                             | You can use this field to store any other information, keep in mind this is not indexed so you cannot search by attributes.                |

### UserQuota

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/user/UserQuota.java).

| Field                                                    | Description                                                  |
| -------------------------------------------------------- | ------------------------------------------------------------ |
| <p><strong>diskUsage</strong><br> <em>long</em> <br></p> | Current disk usage of user in bytes.                         |
| <p><strong>cpuUsage</strong><br> <em>int</em> <br></p>   | Current cpu usage in seconds.                                |
| <p><strong>maxDisk</strong><br> <em>long</em> <br></p>   | Maximum amount of disk in bytes allowed for the user to use. |
| <p><strong>maxCpu</strong><br> <em>int</em> <br></p>     | Maximum amount of seconds the user can use of CPU.           |

### Project

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/project/Project.java).

| Field                                                                                                                                                                                                           | Description                                                                                                                                                               |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>id</strong><br> <em>String</em> <br></p>                                                                                                                                                             | Project ID is a mandatory parameter when creating a new sample, this ID cannot be changed at the moment.*Tags*: *required, immutable, unique*                             |
| <p><strong>uuid</strong><br> <em>String</em> <br></p>                                                                                                                                                           | Global unique ID at the whole OpenCGA installation. This is automatically created during the Project creation and cannot be changed.*Tags*: *internal, unique, immutable* |
| <p><strong>name</strong><br> <em>String</em> <br></p>                                                                                                                                                           |                                                                                                                                                                           |
| <p><strong>fqn</strong><br> <em>String</em> <br></p>                                                                                                                                                            | Full Qualified Name (user\@projectId).                                                                                                                                    |
| <p><strong>creationDate</strong><br> <em>String</em> <br></p>                                                                                                                                                   | String representing when the sample was created, this is automatically set by OpenCGA.*Tags*: *internal*                                                                  |
| <p><strong>modificationDate</strong><br> <em>String</em> <br></p>                                                                                                                                               | String representing when was the last time the sample was modified, this is automatically set by OpenCGA.*Tags*: *internal*                                               |
| <p><strong>description</strong><br> <em>String</em> <br></p>                                                                                                                                                    | An string to describe the properties of the sample.                                                                                                                       |
| <p><strong>organism</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#ProjectOrganism"><em>ProjectOrganism</em></a> <br></p> |                                                                                                                                                                           |
| <p><strong>currentRelease</strong><br> <em>int</em> <br></p>                                                                                                                                                    |                                                                                                                                                                           |
| <p><strong>studies</strong><br> List<<a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#Study"><em>Study</em></a>> <br></p>               |                                                                                                                                                                           |
| <p><strong>internal</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#ProjectInternal"><em>ProjectInternal</em></a> <br></p> | An object describing the internal information of the Project. This is managed by OpenCGA.*Tags*: *internal*                                                               |
| <p><strong>attributes</strong><br> Map<<em>Object</em>,<em>String</em>> <br></p>                                                                                                                                | You can use this field to store any other information, keep in mind this is not indexed so you cannot search by attributes.                                               |

### Enum Account

*Enumeration class.* You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/user/Account.java).

| Field                                       | Description |
| ------------------------------------------- | ----------- |
| <p><strong>type</strong> <br></p>           |             |
| <p><strong>creationDate</strong> <br></p>   |             |
| <p><strong>expirationDate</strong> <br></p> |             |
| <p><strong>authentication</strong> <br></p> |             |

### UserFilter

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/user/UserFilter.java).

| Field                                                                                                                                                                                             | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| <p><strong>id</strong><br> <em>String</em> <br></p>                                                                                                                                               |             |
| <p><strong>description</strong><br> <em>String</em> <br></p>                                                                                                                                      |             |
| <p><strong>resource</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#Resource"><em>Resource</em></a> <br></p> |             |
| <p><strong>query</strong><br> <em>Query</em> <br></p>                                                                                                                                             |             |
| <p><strong>options</strong><br> <em>QueryOptions</em> <br></p>                                                                                                                                    |             |

### SampleInternal

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/sample/SampleInternal.java).

| Field                                                                                                                                                                                        | Description |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| <p><strong>status</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#Status"><em>Status</em></a> <br></p>  |             |
| <p><strong>rga</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#RgaIndex"><em>RgaIndex</em></a> <br></p> |             |

### IndividualInternal

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/individual/IndividualInternal.java).

| Field                                                                                                                                                                                       | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| <p><strong>status</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#Status"><em>Status</em></a> <br></p> |             |

### FamilyInternal

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/family/FamilyInternal.java).

| Field                                                                                                                                                                                                   | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| <p><strong>status</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#FamilyStatus"><em>FamilyStatus</em></a> <br></p> |             |

### FileInternal

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/file/FileInternal.java).

| Field                                                                                                                                                                                                               | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| <p><strong>status</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#FileStatus"><em>FileStatus</em></a> <br></p>                 |             |
| <p><strong>index</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#FileIndex"><em>FileIndex</em></a> <br></p>                    |             |
| <p><strong>sampleMap</strong><br> Map<<em>String</em>> <br></p>                                                                                                                                                     |             |
| <p><strong>missingSamples</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#MissingSamples"><em>MissingSamples</em></a> <br></p> |             |

### JobInternal

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/job/JobInternal.java).

| Field                                                                                                                                                                                                                | Description |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| <p><strong>status</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#ExecutionStatus"><em>ExecutionStatus</em></a> <br></p>        |             |
| <p><strong>webhook</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#JobInternalWebhook"><em>JobInternalWebhook</em></a> <br></p> |             |
| <p><strong>events</strong><br> List<<em>Event</em>> <br></p>                                                                                                                                                         |             |

### InterpretationInternal

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/clinical/InterpretationInternal.java).

| Field                                                                                                                                                                                                                   | Description |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| <p><strong>status</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#InterpretationStatus"><em>InterpretationStatus</em></a> <br></p> |             |

### ProjectInternal

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/project/ProjectInternal.java).

| Field                                                                                                                                                                                                                       | Description |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| <p><strong>datastores</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#Datastores"><em>Datastores</em></a> <br></p>                     |             |
| <p><strong>cellbase</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#CellBaseConfiguration"><em>CellBaseConfiguration</em></a> <br></p> |             |
| <p><strong>status</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#Status"><em>Status</em></a> <br></p>                                 |             |

### CohortInternal

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/cohort/CohortInternal.java).

| Field                                                                                                                                                                                                   | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| <p><strong>status</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#CohortStatus"><em>CohortStatus</em></a> <br></p> |             |

### ClinicalAnalysisInternal

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/clinical/ClinicalAnalysisInternal.java).

| Field                                                                                                                                                                                                                       | Description |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| <p><strong>status</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#ClinicalAnalysisStatus"><em>ClinicalAnalysisStatus</em></a> <br></p> |             |

### UserInternal

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/user/UserInternal.java).

| Field                                                                                                                                                                                               | Description |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| <p><strong>status</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#UserStatus"><em>UserStatus</em></a> <br></p> |             |

### StudyInternal

You can find the Java code [here](https://github.com/opencb/opencga/blob/master/opencga-core/src/main/java/org/opencb/opencga/core/models/study/StudyInternal.java).

| Field                                                                                                                                                                                                                      | Description |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| <p><strong>status</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#Status"><em>Status</em></a> <br></p>                                |             |
| <p><strong>configuration</strong><br><a href="https://github.com/opencb/opencga/tree/b5e7c1c4f74288c983705753ca17c79147b1f906/docs/manual/data-models/User.md#StudyConfiguration"><em>StudyConfiguration</em></a> <br></p> |             |
