# Class: Settings

## Settings

#### new Settings()

  Represents a set of application settings.

  Source:
    - app/model/entities/Settings.js, line 8

### Methods

#### getCookieExpiration() → {Number}

  Returns cookie expiration in days.

  Source:
    - app/model/entities/Settings.js, line 41

  ##### Returns:

  Type
    Number

#### getId() → {Number}

  Returns set's id.

  Source:
    - app/model/entities/Settings.js, line 21

  ##### Returns:

  Type
    Number

#### getOfflineMessage() → {String}

  Returns offline message.

  Source:
    - app/model/entities/Settings.js, line 31

  ##### Returns:

  Type
    String

#### getUrl() → {String}

  Returns URL of Aidbot installation.

  Source:
    - app/model/entities/Settings.js, line 51

  ##### Returns:

  Type
    String

#### setCookieExpiration(value) → {Message}

  Sets cookie expiration

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `value` | Number | Cookie expiration in days.

  Source:
    - app/model/entities/Settings.js, line 75

  ##### Returns:

  Type
    Message

#### setOfflineMessage(value) → {Message}

  Sets offline message.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `value` | String | Text of offline message.

  Source:
    - app/model/entities/Settings.js, line 63

  ##### Returns:

  Type
    Message

#### setUrl(value) → {Message}

  Sets URL.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `value` | String |

  Source:
    - app/model/entities/Settings.js, line 87

  ##### Returns:

  Type
    Message