Class: CertificationcategoryWithoutRequiredConstraint

CertificationcategoryWithoutRequiredConstraint(data)

certificationcategory-without-required-constraint model class

Constructor

new CertificationcategoryWithoutRequiredConstraint(data)

Create a new certificationcategory-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

CertificationcategoryWithoutRequiredConstraint
CertificationcategoryWithoutRequiredConstraint

Members

assignments :Array.<certificationcategoryassignment>

Array of certificationcategoryassignment's or array of FK's when creating / updating / not populated

Type:
  • Array.<certificationcategoryassignment>
Source:

assignments :Array.<certificationcategoryassignment>

Array of certificationcategoryassignment's or array of FK's when creating / updating / not populated

Type:
  • Array.<certificationcategoryassignment>
Source:

code :string

Unique identifier for the category

Type:
  • string
Source:

code :string

Unique identifier for the category

Type:
  • string
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

Detailed description of the category

Type:
  • string
Source:

description :string

Detailed description of the category

Type:
  • string
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

name :string

Display name of the category

Type:
  • string
Source:

name :string

Display name of the category

Type:
  • string
Source:

parent :any

Parent category for hierarchical structuring JSON dictionary representing the certificationcategory instance or FK when creating / updating / not populated

Type:
  • any
Source:

parent :any

Parent category for hierarchical structuring JSON dictionary representing the certificationcategory instance or FK when creating / updating / not populated

Type:
  • any
Source:

type :any

The certification type this category belongs to (optional) JSON dictionary representing the certificationtype instance or FK when creating / updating / not populated

Type:
  • any
Source:

type :any

The certification type this category belongs to (optional) JSON dictionary representing the certificationtype instance or FK when creating / updating / not populated

Type:
  • any
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

Type:
  • number
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 certificationcategory-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CertificationcategoryWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CertificationcategoryWithoutRequiredConstraint - New model instance

CertificationcategoryWithoutRequiredConstraintCertificationcategoryWithoutRequiredConstraint(data)

certificationcategory-without-required-constraint model class

Constructor

new CertificationcategoryWithoutRequiredConstraint(data)

Create a new certificationcategory-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

CertificationcategoryWithoutRequiredConstraint
CertificationcategoryWithoutRequiredConstraint

Members

assignments :Array.<certificationcategoryassignment>

Array of certificationcategoryassignment's or array of FK's when creating / updating / not populated

Type:
  • Array.<certificationcategoryassignment>
Source:

assignments :Array.<certificationcategoryassignment>

Array of certificationcategoryassignment's or array of FK's when creating / updating / not populated

Type:
  • Array.<certificationcategoryassignment>
Source:

code :string

Unique identifier for the category

Type:
  • string
Source:

code :string

Unique identifier for the category

Type:
  • string
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

Detailed description of the category

Type:
  • string
Source:

description :string

Detailed description of the category

Type:
  • string
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

name :string

Display name of the category

Type:
  • string
Source:

name :string

Display name of the category

Type:
  • string
Source:

parent :any

Parent category for hierarchical structuring JSON dictionary representing the certificationcategory instance or FK when creating / updating / not populated

Type:
  • any
Source:

parent :any

Parent category for hierarchical structuring JSON dictionary representing the certificationcategory instance or FK when creating / updating / not populated

Type:
  • any
Source:

type :any

The certification type this category belongs to (optional) JSON dictionary representing the certificationtype instance or FK when creating / updating / not populated

Type:
  • any
Source:

type :any

The certification type this category belongs to (optional) JSON dictionary representing the certificationtype instance or FK when creating / updating / not populated

Type:
  • any
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

Type:
  • number
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 certificationcategory-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CertificationcategoryWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CertificationcategoryWithoutRequiredConstraint - New model instance