1
1
/*
2
- * (C) Copyright IBM Corp. 2019 .
2
+ * (C) Copyright IBM Corp. 2020 .
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
5
5
* the License. You may obtain a copy of the License at
23
23
public class MessageContextSkill extends GenericModel {
24
24
25
25
@ SerializedName ("user_defined" )
26
- private Map <String , Object > userDefined ;
26
+ protected Map <String , Object > userDefined ;
27
+ protected Map <String , Object > system ;
27
28
28
29
/**
29
30
* Builder.
30
31
*/
31
32
public static class Builder {
32
33
private Map <String , Object > userDefined ;
34
+ private Map <String , Object > system ;
33
35
34
36
private Builder (MessageContextSkill messageContextSkill ) {
35
37
this .userDefined = messageContextSkill .userDefined ;
38
+ this .system = messageContextSkill .system ;
36
39
}
37
40
38
41
/**
@@ -60,10 +63,22 @@ public Builder userDefined(Map<String, Object> userDefined) {
60
63
this .userDefined = userDefined ;
61
64
return this ;
62
65
}
66
+
67
+ /**
68
+ * Set the system.
69
+ *
70
+ * @param system the system
71
+ * @return the MessageContextSkill builder
72
+ */
73
+ public Builder system (Map <String , Object > system ) {
74
+ this .system = system ;
75
+ return this ;
76
+ }
63
77
}
64
78
65
- private MessageContextSkill (Builder builder ) {
79
+ protected MessageContextSkill (Builder builder ) {
66
80
userDefined = builder .userDefined ;
81
+ system = builder .system ;
67
82
}
68
83
69
84
/**
@@ -85,4 +100,15 @@ public Builder newBuilder() {
85
100
public Map <String , Object > userDefined () {
86
101
return userDefined ;
87
102
}
103
+
104
+ /**
105
+ * Gets the system.
106
+ *
107
+ * For internal use only.
108
+ *
109
+ * @return the system
110
+ */
111
+ public Map <String , Object > system () {
112
+ return system ;
113
+ }
88
114
}
0 commit comments