pfSense-pkg-RESTAPI

RESTAPISettings.inc

Table of Contents

Classes

RESTAPISettings
Defines a Model that represents the REST API settings.

Constants

API_SETTINGS_BACKUP_FILE_PATH  = '/usr/local/share/pfSense-pkg-RESTAPI/backup.json'
API_SETTINGS_BACKUP_NOT_CONFIGURED  = -1
API_SETTINGS_BACKUP_SUCCESS  = 0
API_SETTINGS_RESTORE_NO_BACKUP  = 2
API_SETTINGS_RESTORE_NO_CHANGE  = 1
API_SETTINGS_RESTORE_SUCCESS  = 0

Constants

API_SETTINGS_BACKUP_FILE_PATH

public mixed API_SETTINGS_BACKUP_FILE_PATH = '/usr/local/share/pfSense-pkg-RESTAPI/backup.json'

API_SETTINGS_BACKUP_NOT_CONFIGURED

public mixed API_SETTINGS_BACKUP_NOT_CONFIGURED = -1

API_SETTINGS_BACKUP_SUCCESS

public mixed API_SETTINGS_BACKUP_SUCCESS = 0

API_SETTINGS_RESTORE_NO_BACKUP

public mixed API_SETTINGS_RESTORE_NO_BACKUP = 2

API_SETTINGS_RESTORE_NO_CHANGE

public mixed API_SETTINGS_RESTORE_NO_CHANGE = 1

API_SETTINGS_RESTORE_SUCCESS

public mixed API_SETTINGS_RESTORE_SUCCESS = 0

        
On this page

Search results