@sourceloop/survey-service / Exports / Question
Class: Question¶
Hierarchy¶
-
UserModifiableEntity
<Question
>↳
Question
Table of contents¶
Constructors¶
Properties¶
- createdBy
- createdByName
- createdOn
- extId
- extMetadata
- followUpQuestions
- id
- isFollowupEnabled
- isScoreEnabled
- modifiedBy
- modifiedByName
- modifiedOn
- name
- options
- parentQuestionId
- questionType
- rootQuestionId
- status
- surveyId
- surveyResponseDetail
- uid
- validation
Constructors¶
constructor¶
• new Question(data?
)
Parameters¶
Name | Type |
---|---|
data? |
Partial <Question > |
Inherited from¶
UserModifiableEntity<Question>.constructor
Defined in¶
packages/core/dist/models/base-entity.model.d.ts:6
Properties¶
createdBy¶
• Optional
createdBy: string
Inherited from¶
UserModifiableEntity.createdBy
Defined in¶
packages/core/dist/models/user-modifiable-entity.model.d.ts:4
createdByName¶
• Optional
createdByName: string
Defined in¶
services/survey-service/src/models/questions.model.ts:118
createdOn¶
• Optional
createdOn: Date
Inherited from¶
UserModifiableEntity.createdOn
Defined in¶
packages/core/dist/models/base-entity.model.d.ts:4
extId¶
• Optional
extId: string
Defined in¶
services/survey-service/src/models/questions.model.ts:59
extMetadata¶
• Optional
extMetadata: AnyObject
Defined in¶
services/survey-service/src/models/questions.model.ts:65
followUpQuestions¶
• followUpQuestions: Question
[]
Defined in¶
services/survey-service/src/models/questions.model.ts:116
id¶
• Optional
id: string
Defined in¶
services/survey-service/src/models/questions.model.ts:22
isFollowupEnabled¶
• Optional
isFollowupEnabled: boolean
Defined in¶
services/survey-service/src/models/questions.model.ts:79
isScoreEnabled¶
• Optional
isScoreEnabled: boolean
Defined in¶
services/survey-service/src/models/questions.model.ts:72
modifiedBy¶
• Optional
modifiedBy: string
Inherited from¶
UserModifiableEntity.modifiedBy
Defined in¶
packages/core/dist/models/user-modifiable-entity.model.d.ts:5
modifiedByName¶
• Optional
modifiedByName: string
Defined in¶
services/survey-service/src/models/questions.model.ts:119
modifiedOn¶
• Optional
modifiedOn: Date
Inherited from¶
UserModifiableEntity.modifiedOn
Defined in¶
packages/core/dist/models/base-entity.model.d.ts:5
name¶
• Optional
name: string
Defined in¶
services/survey-service/src/models/questions.model.ts:37
options¶
• options: Options
[]
Defined in¶
services/survey-service/src/models/questions.model.ts:113
parentQuestionId¶
• Optional
parentQuestionId: string
Defined in¶
services/survey-service/src/models/questions.model.ts:110
questionType¶
• questionType: QuestionType
Defined in¶
services/survey-service/src/models/questions.model.ts:53
rootQuestionId¶
• Optional
rootQuestionId: string
Defined in¶
services/survey-service/src/models/questions.model.ts:96
status¶
• status: string
Defined in¶
services/survey-service/src/models/questions.model.ts:43
surveyId¶
• surveyId: string
Defined in¶
services/survey-service/src/models/questions.model.ts:134
surveyResponseDetail¶
• Optional
surveyResponseDetail: SurveyResponseDetail
Defined in¶
services/survey-service/src/models/questions.model.ts:121
uid¶
• uid: string
Defined in¶
services/survey-service/src/models/questions.model.ts:29
validation¶
• Optional
validation: object