forked from MyPureCloud/platform-client-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
evaluationscoringset.go
45 lines (29 loc) · 1.28 KB
/
evaluationscoringset.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package platformclientv2
import (
"encoding/json"
"strconv"
"strings"
)
// Evaluationscoringset
type Evaluationscoringset struct {
// TotalScore - Score of all questions
TotalScore *float32 `json:"totalScore,omitempty"`
// TotalCriticalScore - Score of only the critical questions
TotalCriticalScore *float32 `json:"totalCriticalScore,omitempty"`
// TotalNonCriticalScore - Score of only the non-critical questions
TotalNonCriticalScore *float32 `json:"totalNonCriticalScore,omitempty"`
// QuestionGroupScores
QuestionGroupScores *[]Evaluationquestiongroupscore `json:"questionGroupScores,omitempty"`
// AnyFailedKillQuestions - Indicates that at least one fatal question was answered without having the highest score available for the question
AnyFailedKillQuestions *bool `json:"anyFailedKillQuestions,omitempty"`
// Comments - Overall comments from the evaluator
Comments *string `json:"comments,omitempty"`
// AgentComments - Comments from the agent while reviewing evaluation results
AgentComments *string `json:"agentComments,omitempty"`
}
// String returns a JSON representation of the model
func (o *Evaluationscoringset) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}