Constructor
new CertificationWithoutRequiredConstraint(data)
Create a new certification-without-required-constraint instance
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | Initial data |
Classes
Members
amount :number
Type:
- number
amount :number
Type:
- number
case :any
The case associated with this certification process JSON dictionary representing the case instance or FK when creating / updating / not populated
Type:
- any
case :any
The case associated with this certification process JSON dictionary representing the case instance or FK when creating / updating / not populated
Type:
- any
categoryAssignments :Array.<certificationcategoryassignment>
Array of certificationcategoryassignment's or array of FK's when creating / updating / not populated
Type:
- Array.<certificationcategoryassignment>
categoryAssignments :Array.<certificationcategoryassignment>
Array of certificationcategoryassignment's or array of FK's when creating / updating / not populated
Type:
- Array.<certificationcategoryassignment>
company :any
The company this certification belongs to JSON dictionary representing the company instance or FK when creating / updating / not populated
Type:
- any
company :any
The company this certification belongs to JSON dictionary representing the company instance or FK when creating / updating / not populated
Type:
- any
createdAt :number
Type:
- number
createdAt :number
Type:
- number
createdBy :any
The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated
Type:
- any
createdBy :any
The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated
Type:
- any
description :string
Optional notes or description
Type:
- string
description :string
Optional notes or description
Type:
- string
expiryDate :number
Main expiration date for the certification (Unix milliseconds)
Type:
- number
expiryDate :number
Main expiration date for the certification (Unix milliseconds)
Type:
- number
id :integer
Note Sails special attributes: autoIncrement
Type:
- integer
id :integer
Note Sails special attributes: autoIncrement
Type:
- integer
issueDate :number
Date when the certificate was issued (Unix milliseconds)
Type:
- number
issueDate :number
Date when the certificate was issued (Unix milliseconds)
Type:
- number
metaFields :Array.<certificationmeta>
Array of certificationmeta's or array of FK's when creating / updating / not populated
Type:
- Array.<certificationmeta>
metaFields :Array.<certificationmeta>
Array of certificationmeta's or array of FK's when creating / updating / not populated
Type:
- Array.<certificationmeta>
number :string
Official certificate number (null until issued)
Type:
- string
number :string
Official certificate number (null until issued)
Type:
- string
provider :any
The provider/authority issuing this certification JSON dictionary representing the certificationprovider instance or FK when creating / updating / not populated
Type:
- any
provider :any
The provider/authority issuing this certification JSON dictionary representing the certificationprovider instance or FK when creating / updating / not populated
Type:
- any
renewals :Array.<certificationrenewal>
Array of certificationrenewal's or array of FK's when creating / updating / not populated
Type:
- Array.<certificationrenewal>
renewals :Array.<certificationrenewal>
Array of certificationrenewal's or array of FK's when creating / updating / not populated
Type:
- Array.<certificationrenewal>
status :string
Current status of the certification
Type:
- string
status :string
Current status of the certification
Type:
- string
type :any
The type of certification JSON dictionary representing the certificationtype instance or FK when creating / updating / not populated
Type:
- any
type :any
The type of certification JSON dictionary representing the certificationtype instance or FK when creating / updating / not populated
Type:
- any
updatedAt :number
Type:
- number
updatedAt :number
Type:
- number
Methods
toJSON() → {Object}
Convert the model to a plain object
Returns:
- Plain object representation
- Type
- Object
toJSON() → {Object}
Convert the model to a plain object
Returns:
- Plain object representation
- Type
- Object
validate() → {Object}
Validate the model
Returns:
- Validation result {valid: boolean, errors: Object}
- Type
- Object
validate() → {Object}
Validate the model
Returns:
- Validation result {valid: boolean, errors: Object}
- Type
- Object
(static) fromJSON(data)
Create a certification-without-required-constraint instance from JSON data
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | JSON data |
Returns:
CertificationWithoutRequiredConstraint - New model instance
(static) fromJSON(data)
Create a certification-without-required-constraint instance from JSON data
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | JSON data |
Returns:
CertificationWithoutRequiredConstraint - New model instance