Class: CertificationmetaWithoutRequiredConstraint

CertificationmetaWithoutRequiredConstraint(data)

certificationmeta-without-required-constraint model class

Constructor

new CertificationmetaWithoutRequiredConstraint(data)

Create a new certificationmeta-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

CertificationmetaWithoutRequiredConstraint
CertificationmetaWithoutRequiredConstraint

Members

certification :any

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

Type:
  • any
Source:

certification :any

The certification this metadata belongs to JSON dictionary representing the certification 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

Optional description of this metadata field

Type:
  • string
Source:

description :string

Optional description of this metadata field

Type:
  • string
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

key :string

Metadata key (e.g., "contractDate", "soaCode", "revisionExpiry")

Type:
  • string
Source:

key :string

Metadata key (e.g., "contractDate", "soaCode", "revisionExpiry")

Type:
  • string
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

Type:
  • number
Source:

value :string

Metadata value stored as text, can be parsed based on valueType

Type:
  • string
Source:

value :string

Metadata value stored as text, can be parsed based on valueType

Type:
  • string
Source:

valueType :string

The data type of the value for proper parsing and validation

Type:
  • string
Source:

valueType :string

The data type of the value for proper parsing and validation

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 certificationmeta-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CertificationmetaWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CertificationmetaWithoutRequiredConstraint - New model instance

CertificationmetaWithoutRequiredConstraintCertificationmetaWithoutRequiredConstraint(data)

certificationmeta-without-required-constraint model class

Constructor

new CertificationmetaWithoutRequiredConstraint(data)

Create a new certificationmeta-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

CertificationmetaWithoutRequiredConstraint
CertificationmetaWithoutRequiredConstraint

Members

certification :any

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

Type:
  • any
Source:

certification :any

The certification this metadata belongs to JSON dictionary representing the certification 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

Optional description of this metadata field

Type:
  • string
Source:

description :string

Optional description of this metadata field

Type:
  • string
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

key :string

Metadata key (e.g., "contractDate", "soaCode", "revisionExpiry")

Type:
  • string
Source:

key :string

Metadata key (e.g., "contractDate", "soaCode", "revisionExpiry")

Type:
  • string
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

Type:
  • number
Source:

value :string

Metadata value stored as text, can be parsed based on valueType

Type:
  • string
Source:

value :string

Metadata value stored as text, can be parsed based on valueType

Type:
  • string
Source:

valueType :string

The data type of the value for proper parsing and validation

Type:
  • string
Source:

valueType :string

The data type of the value for proper parsing and validation

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 certificationmeta-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CertificationmetaWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CertificationmetaWithoutRequiredConstraint - New model instance