Class: NotificationWithoutRequiredConstraint

NotificationWithoutRequiredConstraint(data)

notification-without-required-constraint model class

Constructor

new NotificationWithoutRequiredConstraint(data)

Create a new notification-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

NotificationWithoutRequiredConstraint
NotificationWithoutRequiredConstraint

Members

case :any

The specific case this notification is for (if applicable) JSON dictionary representing the case instance or FK when creating / updating / not populated

Type:
  • any
Source:

case :any

The specific case this notification is for (if applicable) JSON dictionary representing the case instance or FK when creating / updating / not populated

Type:
  • any
Source:

company :any

The company this notification belongs to JSON dictionary representing the company instance or FK when creating / updating / not populated

Type:
  • any
Source:

company :any

The company this notification belongs to JSON dictionary representing the company instance or FK when creating / updating / not populated

Type:
  • any
Source:

createdAt :number

Type:
  • number
Source:

createdAt :number

Type:
  • number
Source:

createdBy :any

The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

createdBy :any

The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

description :string

Type:
  • string
Source:

description :string

Type:
  • string
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

notify :boolean

Indicates if this notification should trigger an alert

Type:
  • boolean
Source:

notify :boolean

Indicates if this notification should trigger an alert

Type:
  • boolean
Source:

person :any

The specific user this notification is for (if applicable) JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

person :any

The specific user this notification is for (if applicable) JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

shouldRefresh :boolean

Indicates if the page should refresh after clicking the notification

Type:
  • boolean
Source:

shouldRefresh :boolean

Indicates if the page should refresh after clicking the notification

Type:
  • boolean
Source:

status :string

The delivery status of the notification

Type:
  • string
Source:

status :string

The delivery status of the notification

Type:
  • string
Source:

title :string

Type:
  • string
Source:

title :string

Type:
  • string
Source:

type :string

The type/severity of the notification

Type:
  • string
Source:

type :string

The type/severity of the notification

Type:
  • string
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

Type:
  • number
Source:

url :string

Optional URL to navigate to when the notification is clicked

Type:
  • string
Source:

url :string

Optional URL to navigate to when the notification is clicked

Type:
  • string
Source:

Methods

toJSON() → {Object}

Convert the model to a plain object

Source:
Returns:
  • Plain object representation
Type
Object

toJSON() → {Object}

Convert the model to a plain object

Source:
Returns:
  • Plain object representation
Type
Object

validate() → {Object}

Validate the model

Source:
Returns:
  • Validation result {valid: boolean, errors: Object}
Type
Object

validate() → {Object}

Validate the model

Source:
Returns:
  • Validation result {valid: boolean, errors: Object}
Type
Object

(static) fromJSON(data)

Create a notification-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

NotificationWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

Create a notification-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

NotificationWithoutRequiredConstraint - New model instance

NotificationWithoutRequiredConstraintNotificationWithoutRequiredConstraint(data)

notification-without-required-constraint model class

Constructor

new NotificationWithoutRequiredConstraint(data)

Create a new notification-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

NotificationWithoutRequiredConstraint
NotificationWithoutRequiredConstraint

Members

case :any

The specific case this notification is for (if applicable) JSON dictionary representing the case instance or FK when creating / updating / not populated

Type:
  • any
Source:

case :any

The specific case this notification is for (if applicable) JSON dictionary representing the case instance or FK when creating / updating / not populated

Type:
  • any
Source:

company :any

The company this notification belongs to JSON dictionary representing the company instance or FK when creating / updating / not populated

Type:
  • any
Source:

company :any

The company this notification belongs to JSON dictionary representing the company instance or FK when creating / updating / not populated

Type:
  • any
Source:

createdAt :number

Type:
  • number
Source:

createdAt :number

Type:
  • number
Source:

createdBy :any

The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

createdBy :any

The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

description :string

Type:
  • string
Source:

description :string

Type:
  • string
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

notify :boolean

Indicates if this notification should trigger an alert

Type:
  • boolean
Source:

notify :boolean

Indicates if this notification should trigger an alert

Type:
  • boolean
Source:

person :any

The specific user this notification is for (if applicable) JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

person :any

The specific user this notification is for (if applicable) JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

shouldRefresh :boolean

Indicates if the page should refresh after clicking the notification

Type:
  • boolean
Source:

shouldRefresh :boolean

Indicates if the page should refresh after clicking the notification

Type:
  • boolean
Source:

status :string

The delivery status of the notification

Type:
  • string
Source:

status :string

The delivery status of the notification

Type:
  • string
Source:

title :string

Type:
  • string
Source:

title :string

Type:
  • string
Source:

type :string

The type/severity of the notification

Type:
  • string
Source:

type :string

The type/severity of the notification

Type:
  • string
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

Type:
  • number
Source:

url :string

Optional URL to navigate to when the notification is clicked

Type:
  • string
Source:

url :string

Optional URL to navigate to when the notification is clicked

Type:
  • string
Source:

Methods

toJSON() → {Object}

Convert the model to a plain object

Source:
Returns:
  • Plain object representation
Type
Object

toJSON() → {Object}

Convert the model to a plain object

Source:
Returns:
  • Plain object representation
Type
Object

validate() → {Object}

Validate the model

Source:
Returns:
  • Validation result {valid: boolean, errors: Object}
Type
Object

validate() → {Object}

Validate the model

Source:
Returns:
  • Validation result {valid: boolean, errors: Object}
Type
Object

(static) fromJSON(data)

Create a notification-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

NotificationWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

Create a notification-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

NotificationWithoutRequiredConstraint - New model instance